@xfloor/floor-memory-sdk-js 1.0.5 → 1.0.6
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 +1 -1
- package/dist/ApiClient.js +2 -2
- package/dist/api/DefaultApi.js +64 -30
- package/dist/api/EditFloorApi.js +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/GetFloorInformationApi.js +8 -4
- package/dist/api/GetRecentEventsApi.js +8 -4
- package/dist/api/QueryApi.js +1 -1
- package/dist/model/BlockDetails.js +1 -1
- package/dist/model/ChangePassword200Response.js +1 -1
- package/dist/model/ConversationThreads200Response.js +1 -1
- package/dist/model/ConversationThreads200ResponseThreadsInner.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/GetConversations200Response.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInner.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistant.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInner.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerUser.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerUserContext.js +1 -1
- package/dist/model/GetFloorInformation200Response.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/PostAdd.js +1 -1
- package/dist/model/Query422Response.js +1 -1
- package/dist/model/Query422ResponseError.js +1 -1
- package/dist/model/QueryRequest.js +7 -5
- package/dist/model/QueryRequestFilters.js +1 -1
- package/dist/model/QueryResponse.js +1 -1
- package/dist/model/QueryResponseItemsInner.js +1 -1
- package/dist/model/ResetPassword200Response.js +1 -1
- package/dist/model/ResetPassword400Response.js +1 -1
- package/dist/model/SendSignInValidationCode200Response.js +1 -1
- package/dist/model/SendValidationCode200Response.js +1 -1
- package/dist/model/SendValidationCodeRequest.js +1 -1
- package/dist/model/SignInWithEmail200Response.js +1 -1
- package/dist/model/SignInWithEmail200ResponsePodInfo.js +1 -1
- package/dist/model/SignInWithEmail200ResponseProfile.js +1 -1
- package/dist/model/SignInWithEmail200ResponseProfileAvatar.js +1 -1
- package/dist/model/SignUp200Response.js +1 -1
- package/dist/model/SignUpResponse.js +1 -1
- package/dist/model/Threads.js +1 -1
- package/dist/model/UserDetails.js +1 -1
- package/dist/model/ValidateCode400Response.js +1 -1
- package/dist/model/ValidateCode400ResponseError.js +1 -1
- package/dist/model/ValidateCode412Response.js +1 -1
- package/dist/model/ValidateCodeRequest.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ The developer has two ways of using the APIs for the app development. Developer
|
|
|
11
11
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
12
12
|
|
|
13
13
|
- API version: 1.0.0
|
|
14
|
-
- Package version: 1.0.
|
|
14
|
+
- Package version: 1.0.6
|
|
15
15
|
- Generator version: 7.18.0
|
|
16
16
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
17
17
|
For more information, please visit [https://xfloor.ai/ipomo/blog1551084548304/](https://xfloor.ai/ipomo/blog1551084548304/)
|
package/dist/ApiClient.js
CHANGED
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
*/
|
|
28
28
|
/**
|
|
29
29
|
* @module ApiClient
|
|
30
|
-
* @version 1.0.
|
|
30
|
+
* @version 1.0.6
|
|
31
31
|
*/
|
|
32
32
|
/**
|
|
33
33
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
68
68
|
* @default {}
|
|
69
69
|
*/
|
|
70
70
|
this.defaultHeaders = {
|
|
71
|
-
'User-Agent': 'OpenAPI-Generator/1.0.
|
|
71
|
+
'User-Agent': 'OpenAPI-Generator/1.0.6/Javascript'
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
/**
|
package/dist/api/DefaultApi.js
CHANGED
|
@@ -45,7 +45,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
45
45
|
/**
|
|
46
46
|
* Default service.
|
|
47
47
|
* @module api/DefaultApi
|
|
48
|
-
* @version 1.0.
|
|
48
|
+
* @version 1.0.6
|
|
49
49
|
*/
|
|
50
50
|
var DefaultApi = exports["default"] = /*#__PURE__*/function () {
|
|
51
51
|
/**
|
|
@@ -351,23 +351,33 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
351
351
|
/**
|
|
352
352
|
* Make floor Private
|
|
353
353
|
* 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).
|
|
354
|
-
* @param {
|
|
355
|
-
* @param {String}
|
|
356
|
-
* @param {String}
|
|
357
|
-
* @param {String} [appId] App ID
|
|
354
|
+
* @param {String} floorId Floor ID
|
|
355
|
+
* @param {String} userId User ID
|
|
356
|
+
* @param {String} appId App ID
|
|
358
357
|
* @param {module:api/DefaultApi~makeFloorPrivateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
359
358
|
* data is of type: {@link module:model/GetFloorInformation200Response}
|
|
360
359
|
*/
|
|
361
360
|
}, {
|
|
362
361
|
key: "makeFloorPrivate",
|
|
363
|
-
value: function makeFloorPrivate(
|
|
364
|
-
opts = opts || {};
|
|
362
|
+
value: function makeFloorPrivate(floorId, userId, appId, callback) {
|
|
365
363
|
var postBody = null;
|
|
364
|
+
// verify the required parameter 'floorId' is set
|
|
365
|
+
if (floorId === undefined || floorId === null) {
|
|
366
|
+
throw new Error("Missing the required parameter 'floorId' when calling makeFloorPrivate");
|
|
367
|
+
}
|
|
368
|
+
// verify the required parameter 'userId' is set
|
|
369
|
+
if (userId === undefined || userId === null) {
|
|
370
|
+
throw new Error("Missing the required parameter 'userId' when calling makeFloorPrivate");
|
|
371
|
+
}
|
|
372
|
+
// verify the required parameter 'appId' is set
|
|
373
|
+
if (appId === undefined || appId === null) {
|
|
374
|
+
throw new Error("Missing the required parameter 'appId' when calling makeFloorPrivate");
|
|
375
|
+
}
|
|
366
376
|
var pathParams = {};
|
|
367
377
|
var queryParams = {
|
|
368
|
-
'floor_id':
|
|
369
|
-
'user_id':
|
|
370
|
-
'app_id':
|
|
378
|
+
'floor_id': floorId,
|
|
379
|
+
'user_id': userId,
|
|
380
|
+
'app_id': appId
|
|
371
381
|
};
|
|
372
382
|
var headerParams = {};
|
|
373
383
|
var formParams = {};
|
|
@@ -389,23 +399,33 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
389
399
|
/**
|
|
390
400
|
* Make floor public
|
|
391
401
|
* 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.”**
|
|
392
|
-
* @param {
|
|
393
|
-
* @param {String}
|
|
394
|
-
* @param {String}
|
|
395
|
-
* @param {String} [appId] App ID
|
|
402
|
+
* @param {String} floorId Floor ID
|
|
403
|
+
* @param {String} userId User ID
|
|
404
|
+
* @param {String} appId App ID
|
|
396
405
|
* @param {module:api/DefaultApi~makeFloorPublicCallback} callback The callback function, accepting three arguments: error, data, response
|
|
397
406
|
* data is of type: {@link module:model/GetFloorInformation200Response}
|
|
398
407
|
*/
|
|
399
408
|
}, {
|
|
400
409
|
key: "makeFloorPublic",
|
|
401
|
-
value: function makeFloorPublic(
|
|
402
|
-
opts = opts || {};
|
|
410
|
+
value: function makeFloorPublic(floorId, userId, appId, callback) {
|
|
403
411
|
var postBody = null;
|
|
412
|
+
// verify the required parameter 'floorId' is set
|
|
413
|
+
if (floorId === undefined || floorId === null) {
|
|
414
|
+
throw new Error("Missing the required parameter 'floorId' when calling makeFloorPublic");
|
|
415
|
+
}
|
|
416
|
+
// verify the required parameter 'userId' is set
|
|
417
|
+
if (userId === undefined || userId === null) {
|
|
418
|
+
throw new Error("Missing the required parameter 'userId' when calling makeFloorPublic");
|
|
419
|
+
}
|
|
420
|
+
// verify the required parameter 'appId' is set
|
|
421
|
+
if (appId === undefined || appId === null) {
|
|
422
|
+
throw new Error("Missing the required parameter 'appId' when calling makeFloorPublic");
|
|
423
|
+
}
|
|
404
424
|
var pathParams = {};
|
|
405
425
|
var queryParams = {
|
|
406
|
-
'floor_id':
|
|
407
|
-
'user_id':
|
|
408
|
-
'app_id':
|
|
426
|
+
'floor_id': floorId,
|
|
427
|
+
'user_id': userId,
|
|
428
|
+
'app_id': appId
|
|
409
429
|
};
|
|
410
430
|
var headerParams = {};
|
|
411
431
|
var formParams = {};
|
|
@@ -467,25 +487,39 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
467
487
|
/**
|
|
468
488
|
* Rename floor
|
|
469
489
|
* 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.”**
|
|
470
|
-
* @param {
|
|
471
|
-
* @param {String}
|
|
472
|
-
* @param {String}
|
|
473
|
-
* @param {String}
|
|
474
|
-
* @param {String} [to] New floor ID
|
|
490
|
+
* @param {String} userId User ID
|
|
491
|
+
* @param {String} appId App ID
|
|
492
|
+
* @param {String} from Old floor ID
|
|
493
|
+
* @param {String} to New floor ID
|
|
475
494
|
* @param {module:api/DefaultApi~renameFloorCallback} callback The callback function, accepting three arguments: error, data, response
|
|
476
495
|
* data is of type: {@link module:model/GetFloorInformation200Response}
|
|
477
496
|
*/
|
|
478
497
|
}, {
|
|
479
498
|
key: "renameFloor",
|
|
480
|
-
value: function renameFloor(
|
|
481
|
-
opts = opts || {};
|
|
499
|
+
value: function renameFloor(userId, appId, from, to, callback) {
|
|
482
500
|
var postBody = null;
|
|
501
|
+
// verify the required parameter 'userId' is set
|
|
502
|
+
if (userId === undefined || userId === null) {
|
|
503
|
+
throw new Error("Missing the required parameter 'userId' when calling renameFloor");
|
|
504
|
+
}
|
|
505
|
+
// verify the required parameter 'appId' is set
|
|
506
|
+
if (appId === undefined || appId === null) {
|
|
507
|
+
throw new Error("Missing the required parameter 'appId' when calling renameFloor");
|
|
508
|
+
}
|
|
509
|
+
// verify the required parameter 'from' is set
|
|
510
|
+
if (from === undefined || from === null) {
|
|
511
|
+
throw new Error("Missing the required parameter 'from' when calling renameFloor");
|
|
512
|
+
}
|
|
513
|
+
// verify the required parameter 'to' is set
|
|
514
|
+
if (to === undefined || to === null) {
|
|
515
|
+
throw new Error("Missing the required parameter 'to' when calling renameFloor");
|
|
516
|
+
}
|
|
483
517
|
var pathParams = {};
|
|
484
518
|
var queryParams = {
|
|
485
|
-
'user_id':
|
|
486
|
-
'app_id':
|
|
487
|
-
'from':
|
|
488
|
-
'to':
|
|
519
|
+
'user_id': userId,
|
|
520
|
+
'app_id': appId,
|
|
521
|
+
'from': from,
|
|
522
|
+
'to': to
|
|
489
523
|
};
|
|
490
524
|
var headerParams = {};
|
|
491
525
|
var formParams = {};
|
package/dist/api/EditFloorApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* EditFloor service.
|
|
32
32
|
* @module api/EditFloorApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.6
|
|
34
34
|
*/
|
|
35
35
|
var EditFloorApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/EventApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* GetFloorInformation service.
|
|
32
32
|
* @module api/GetFloorInformationApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.6
|
|
34
34
|
*/
|
|
35
35
|
var GetFloorInformationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -57,27 +57,31 @@ var GetFloorInformationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
57
57
|
* Basic information of a floor
|
|
58
58
|
* 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?”**
|
|
59
59
|
* @param {String} floorId
|
|
60
|
+
* @param {String} appId App ID - 13 digit numeric identity
|
|
60
61
|
* @param {Object} opts Optional parameters
|
|
61
62
|
* @param {String} [userId] User ID - 13 digit numeric identity
|
|
62
|
-
* @param {String} [appId] App ID - 13 digit numeric identity
|
|
63
63
|
* @param {module:api/GetFloorInformationApi~getFloorInformationCallback} callback The callback function, accepting three arguments: error, data, response
|
|
64
64
|
* data is of type: {@link module:model/GetFloorInformation200Response}
|
|
65
65
|
*/
|
|
66
66
|
return _createClass(GetFloorInformationApi, [{
|
|
67
67
|
key: "getFloorInformation",
|
|
68
|
-
value: function getFloorInformation(floorId, opts, callback) {
|
|
68
|
+
value: function getFloorInformation(floorId, appId, opts, callback) {
|
|
69
69
|
opts = opts || {};
|
|
70
70
|
var postBody = null;
|
|
71
71
|
// verify the required parameter 'floorId' is set
|
|
72
72
|
if (floorId === undefined || floorId === null) {
|
|
73
73
|
throw new Error("Missing the required parameter 'floorId' when calling getFloorInformation");
|
|
74
74
|
}
|
|
75
|
+
// verify the required parameter 'appId' is set
|
|
76
|
+
if (appId === undefined || appId === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'appId' when calling getFloorInformation");
|
|
78
|
+
}
|
|
75
79
|
var pathParams = {
|
|
76
80
|
'floor_id': floorId
|
|
77
81
|
};
|
|
78
82
|
var queryParams = {
|
|
79
83
|
'user_id': opts['userId'],
|
|
80
|
-
'app_id':
|
|
84
|
+
'app_id': appId
|
|
81
85
|
};
|
|
82
86
|
var headerParams = {};
|
|
83
87
|
var formParams = {};
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* GetRecentEvents service.
|
|
32
32
|
* @module api/GetRecentEventsApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.6
|
|
34
34
|
*/
|
|
35
35
|
var GetRecentEventsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -57,26 +57,30 @@ var GetRecentEventsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
57
57
|
* Recent Events
|
|
58
58
|
* 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`
|
|
59
59
|
* @param {String} floorId
|
|
60
|
+
* @param {String} appId
|
|
60
61
|
* @param {Object} opts Optional parameters
|
|
61
62
|
* @param {String} [userId]
|
|
62
|
-
* @param {String} [appId]
|
|
63
63
|
* @param {module:api/GetRecentEventsApi~getRecentEventsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
64
64
|
* data is of type: {@link module:model/GetRecentEvents200Response}
|
|
65
65
|
*/
|
|
66
66
|
return _createClass(GetRecentEventsApi, [{
|
|
67
67
|
key: "getRecentEvents",
|
|
68
|
-
value: function getRecentEvents(floorId, opts, callback) {
|
|
68
|
+
value: function getRecentEvents(floorId, appId, opts, callback) {
|
|
69
69
|
opts = opts || {};
|
|
70
70
|
var postBody = null;
|
|
71
71
|
// verify the required parameter 'floorId' is set
|
|
72
72
|
if (floorId === undefined || floorId === null) {
|
|
73
73
|
throw new Error("Missing the required parameter 'floorId' when calling getRecentEvents");
|
|
74
74
|
}
|
|
75
|
+
// verify the required parameter 'appId' is set
|
|
76
|
+
if (appId === undefined || appId === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'appId' when calling getRecentEvents");
|
|
78
|
+
}
|
|
75
79
|
var pathParams = {};
|
|
76
80
|
var queryParams = {
|
|
77
81
|
'user_id': opts['userId'],
|
|
78
82
|
'floor_id': floorId,
|
|
79
|
-
'app_id':
|
|
83
|
+
'app_id': appId
|
|
80
84
|
};
|
|
81
85
|
var headerParams = {};
|
|
82
86
|
var formParams = {};
|
package/dist/api/QueryApi.js
CHANGED
|
@@ -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.6
|
|
35
35
|
*/
|
|
36
36
|
var ChangePassword200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The ConversationThreads200Response model module.
|
|
34
34
|
* @module model/ConversationThreads200Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var ConversationThreads200Response = /*#__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 ConversationThreads200ResponseThreadsInner model module.
|
|
33
33
|
* @module model/ConversationThreads200ResponseThreadsInner
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var ConversationThreads200ResponseThreadsInner = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The EditFloor400Response model module.
|
|
34
34
|
* @module model/EditFloor400Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var EditFloor400Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The EditFloor400ResponseError model module.
|
|
33
33
|
* @module model/EditFloor400ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var EditFloor400ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The Event400Response model module.
|
|
34
34
|
* @module model/Event400Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var Event400Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The Event400ResponseError model module.
|
|
33
33
|
* @module model/Event400ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var Event400ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/FloorInfo.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetConversations200Response model module.
|
|
34
34
|
* @module model/GetConversations200Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var GetConversations200Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetConversations200ResponseConversationInner model module.
|
|
32
32
|
* @module model/GetConversations200ResponseConversationInner
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.6
|
|
34
34
|
*/
|
|
35
35
|
var GetConversations200ResponseConversationInner = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The GetConversations200ResponseConversationInnerAssistant model module.
|
|
35
35
|
* @module model/GetConversations200ResponseConversationInnerAssistant
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.6
|
|
37
37
|
*/
|
|
38
38
|
var GetConversations200ResponseConversationInnerAssistant = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerAssistantChoicesInner model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantChoicesInner
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantChoicesInner = /*#__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 GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts model module.
|
|
34
34
|
* @module model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts = /*#__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 GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetConversations200ResponseConversationInnerUser model module.
|
|
34
34
|
* @module model/GetConversations200ResponseConversationInnerUser
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var GetConversations200ResponseConversationInnerUser = /*#__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 GetConversations200ResponseConversationInnerUserContext model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerUserContext
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerUserContext = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The GetFloorInformation200Response model module.
|
|
35
35
|
* @module model/GetFloorInformation200Response
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.6
|
|
37
37
|
*/
|
|
38
38
|
var GetFloorInformation200Response = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetRecentEvents200Response model module.
|
|
34
34
|
* @module model/GetRecentEvents200Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var GetRecentEvents200Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The GetRecentEvents200ResponseItemsInner model module.
|
|
35
35
|
* @module model/GetRecentEvents200ResponseItemsInner
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.6
|
|
37
37
|
*/
|
|
38
38
|
var GetRecentEvents200ResponseItemsInner = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetRecentEvents200ResponseItemsInnerAuthor model module.
|
|
31
31
|
* @module model/GetRecentEvents200ResponseItemsInnerAuthor
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.6
|
|
33
33
|
*/
|
|
34
34
|
var GetRecentEvents200ResponseItemsInnerAuthor = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetRecentEvents400Response model module.
|
|
34
34
|
* @module model/GetRecentEvents400Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var GetRecentEvents400Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetRecentEvents400ResponseError model module.
|
|
33
33
|
* @module model/GetRecentEvents400ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var GetRecentEvents400ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/Media.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The Model400ErrorCode model module.
|
|
33
33
|
* @module model/Model400ErrorCode
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var Model400ErrorCode = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/PostAdd.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The Query422Response model module.
|
|
34
34
|
* @module model/Query422Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var Query422Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The Query422ResponseError model module.
|
|
33
33
|
* @module model/Query422ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var Query422ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The QueryRequest model module.
|
|
34
34
|
* @module model/QueryRequest
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.6
|
|
36
36
|
*/
|
|
37
37
|
var QueryRequest = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -41,10 +41,11 @@ var QueryRequest = /*#__PURE__*/function () {
|
|
|
41
41
|
* @param userId {String} User ID
|
|
42
42
|
* @param query {String} Query text for conversations
|
|
43
43
|
* @param floorIds {Array.<String>} List of floor IDs
|
|
44
|
+
* @param appId {String} App ID
|
|
44
45
|
*/
|
|
45
|
-
function QueryRequest(userId, query, floorIds) {
|
|
46
|
+
function QueryRequest(userId, query, floorIds, appId) {
|
|
46
47
|
_classCallCheck(this, QueryRequest);
|
|
47
|
-
QueryRequest.initialize(this, userId, query, floorIds);
|
|
48
|
+
QueryRequest.initialize(this, userId, query, floorIds, appId);
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
/**
|
|
@@ -54,10 +55,11 @@ var QueryRequest = /*#__PURE__*/function () {
|
|
|
54
55
|
*/
|
|
55
56
|
return _createClass(QueryRequest, null, [{
|
|
56
57
|
key: "initialize",
|
|
57
|
-
value: function initialize(obj, userId, query, floorIds) {
|
|
58
|
+
value: function initialize(obj, userId, query, floorIds, appId) {
|
|
58
59
|
obj['user_id'] = userId;
|
|
59
60
|
obj['query'] = query;
|
|
60
61
|
obj['floor_ids'] = floorIds;
|
|
62
|
+
obj['app_id'] = appId;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
/**
|
|
@@ -153,7 +155,7 @@ var QueryRequest = /*#__PURE__*/function () {
|
|
|
153
155
|
}
|
|
154
156
|
}]);
|
|
155
157
|
}();
|
|
156
|
-
QueryRequest.RequiredProperties = ["user_id", "query", "floor_ids"];
|
|
158
|
+
QueryRequest.RequiredProperties = ["user_id", "query", "floor_ids", "app_id"];
|
|
157
159
|
|
|
158
160
|
/**
|
|
159
161
|
* User ID
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The QueryRequestFilters model module.
|
|
33
33
|
* @module model/QueryRequestFilters
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var QueryRequestFilters = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The QueryResponseItemsInner model module.
|
|
30
30
|
* @module model/QueryResponseItemsInner
|
|
31
|
-
* @version 1.0.
|
|
31
|
+
* @version 1.0.6
|
|
32
32
|
*/
|
|
33
33
|
var QueryResponseItemsInner = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ResetPassword200Response model module.
|
|
33
33
|
* @module model/ResetPassword200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var ResetPassword200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ResetPassword400Response model module.
|
|
33
33
|
* @module model/ResetPassword400Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var ResetPassword400Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SendSignInValidationCode200Response model module.
|
|
33
33
|
* @module model/SendSignInValidationCode200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var SendSignInValidationCode200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SendValidationCode200Response model module.
|
|
33
33
|
* @module model/SendValidationCode200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var SendValidationCode200Response = /*#__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 SendValidationCodeRequest model module.
|
|
33
33
|
* @module model/SendValidationCodeRequest
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var SendValidationCodeRequest = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The SignInWithEmail200Response model module.
|
|
35
35
|
* @module model/SignInWithEmail200Response
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.6
|
|
37
37
|
*/
|
|
38
38
|
var SignInWithEmail200Response = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The SignInWithEmail200ResponsePodInfo model module.
|
|
35
35
|
* @module model/SignInWithEmail200ResponsePodInfo
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.6
|
|
37
37
|
*/
|
|
38
38
|
var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The SignInWithEmail200ResponseProfile model module.
|
|
35
35
|
* @module model/SignInWithEmail200ResponseProfile
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.6
|
|
37
37
|
*/
|
|
38
38
|
var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SignInWithEmail200ResponseProfileAvatar model module.
|
|
33
33
|
* @module model/SignInWithEmail200ResponseProfileAvatar
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var SignInWithEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SignUp200Response model module.
|
|
33
33
|
* @module model/SignUp200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var SignUp200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SignUpResponse model module.
|
|
33
33
|
* @module model/SignUpResponse
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var SignUpResponse = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/Threads.js
CHANGED
|
@@ -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.6
|
|
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.6
|
|
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.6
|
|
35
35
|
*/
|
|
36
36
|
var ValidateCode412Response = /*#__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 ValidateCodeRequest model module.
|
|
33
33
|
* @module model/ValidateCodeRequest
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.6
|
|
35
35
|
*/
|
|
36
36
|
var ValidateCodeRequest = /*#__PURE__*/function () {
|
|
37
37
|
/**
|