@xfloor/floor-memory-sdk-ts 1.0.3 → 1.0.5
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 +153 -39
- package/dist/apis/DefaultApi.d.ts +77 -4
- package/dist/apis/DefaultApi.js +344 -3
- package/dist/apis/EditFloorApi.d.ts +3 -1
- package/dist/apis/EditFloorApi.js +3 -1
- package/dist/apis/EventApi.d.ts +5 -3
- package/dist/apis/EventApi.js +5 -3
- package/dist/apis/GetFloorInformationApi.d.ts +5 -3
- package/dist/apis/GetFloorInformationApi.js +5 -3
- package/dist/apis/GetRecentEventsApi.d.ts +3 -1
- package/dist/apis/GetRecentEventsApi.js +3 -1
- package/dist/apis/QueryApi.d.ts +3 -1
- package/dist/apis/QueryApi.js +3 -1
- package/dist/models/BlockDetails.d.ts +4 -2
- package/dist/models/BlockDetails.js +6 -4
- package/dist/models/ChangePassword200Response.d.ts +3 -1
- package/dist/models/ChangePassword200Response.js +3 -1
- package/dist/models/ConversationThreads200Response.d.ts +41 -0
- package/dist/models/ConversationThreads200Response.js +58 -0
- package/dist/models/ConversationThreads200ResponseThreadsInner.d.ts +46 -0
- package/dist/models/ConversationThreads200ResponseThreadsInner.js +61 -0
- package/dist/models/EditFloor400Response.d.ts +3 -1
- package/dist/models/EditFloor400Response.js +3 -1
- package/dist/models/EditFloor400ResponseError.d.ts +3 -1
- package/dist/models/EditFloor400ResponseError.js +3 -1
- package/dist/models/Event400Response.d.ts +3 -1
- package/dist/models/Event400Response.js +3 -1
- package/dist/models/Event400ResponseError.d.ts +3 -1
- package/dist/models/Event400ResponseError.js +3 -1
- package/dist/models/EventResponse.d.ts +3 -1
- package/dist/models/EventResponse.js +3 -1
- package/dist/models/FloorInfo.d.ts +3 -1
- package/dist/models/FloorInfo.js +3 -1
- package/dist/models/GetConversations200Response.d.ts +47 -0
- package/dist/models/GetConversations200Response.js +62 -0
- package/dist/models/GetConversations200ResponseConversationInner.d.ts +42 -0
- package/dist/models/GetConversations200ResponseConversationInner.js +55 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistant.d.ts +78 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistant.js +83 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInner.d.ts +61 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInner.js +62 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.d.ts +76 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.js +81 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.d.ts +40 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js +57 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.d.ts +40 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js +57 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.d.ts +59 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js +70 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.d.ts +82 -0
- package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.js +85 -0
- package/dist/models/GetConversations200ResponseConversationInnerUser.d.ts +59 -0
- package/dist/models/GetConversations200ResponseConversationInnerUser.js +70 -0
- package/dist/models/GetConversations200ResponseConversationInnerUserContext.d.ts +58 -0
- package/dist/models/GetConversations200ResponseConversationInnerUserContext.js +69 -0
- package/dist/models/GetFloorInformation200Response.d.ts +3 -1
- package/dist/models/GetFloorInformation200Response.js +3 -1
- package/dist/models/GetRecentEvents200Response.d.ts +3 -1
- package/dist/models/GetRecentEvents200Response.js +3 -1
- package/dist/models/GetRecentEvents200ResponseItemsInner.d.ts +3 -1
- package/dist/models/GetRecentEvents200ResponseItemsInner.js +3 -1
- package/dist/models/GetRecentEvents200ResponseItemsInnerAuthor.d.ts +3 -1
- package/dist/models/GetRecentEvents200ResponseItemsInnerAuthor.js +3 -1
- package/dist/models/GetRecentEvents400Response.d.ts +3 -1
- package/dist/models/GetRecentEvents400Response.js +3 -1
- package/dist/models/GetRecentEvents400ResponseError.d.ts +3 -1
- package/dist/models/GetRecentEvents400ResponseError.js +3 -1
- package/dist/models/Media.d.ts +3 -1
- package/dist/models/Media.js +3 -1
- package/dist/models/Model400ErrorCode.d.ts +3 -1
- package/dist/models/Model400ErrorCode.js +3 -1
- package/dist/models/PostAdd.d.ts +58 -0
- package/dist/models/PostAdd.js +69 -0
- package/dist/models/Query422Response.d.ts +3 -1
- package/dist/models/Query422Response.js +3 -1
- package/dist/models/Query422ResponseError.d.ts +3 -1
- package/dist/models/Query422ResponseError.js +3 -1
- package/dist/models/QueryRequest.d.ts +3 -1
- package/dist/models/QueryRequest.js +3 -1
- package/dist/models/QueryRequestFilters.d.ts +3 -1
- package/dist/models/QueryRequestFilters.js +3 -1
- package/dist/models/QueryResponse.d.ts +3 -1
- package/dist/models/QueryResponse.js +3 -1
- package/dist/models/QueryResponseItemsInner.d.ts +3 -1
- package/dist/models/QueryResponseItemsInner.js +3 -1
- package/dist/models/ResetPassword200Response.d.ts +3 -1
- package/dist/models/ResetPassword200Response.js +3 -1
- package/dist/models/ResetPassword400Response.d.ts +3 -1
- package/dist/models/ResetPassword400Response.js +3 -1
- package/dist/models/SendSignInValidationCode200Response.d.ts +46 -0
- package/dist/models/SendSignInValidationCode200Response.js +59 -0
- package/dist/models/SendValidationCode200Response.d.ts +3 -1
- package/dist/models/SendValidationCode200Response.js +3 -1
- package/dist/models/SendValidationCodeRequest.d.ts +3 -1
- package/dist/models/SendValidationCodeRequest.js +3 -1
- package/dist/models/SignInWithEmail200Response.d.ts +9 -7
- package/dist/models/SignInWithEmail200Response.js +8 -8
- package/dist/models/SignInWithEmail200ResponsePodInfo.d.ts +66 -0
- package/dist/models/SignInWithEmail200ResponsePodInfo.js +71 -0
- package/dist/models/SignInWithEmail200ResponseProfile.d.ts +4 -2
- package/dist/models/SignInWithEmail200ResponseProfile.js +5 -5
- package/dist/models/SignInWithEmail200ResponseProfileAvatar.d.ts +3 -1
- package/dist/models/SignInWithEmail200ResponseProfileAvatar.js +3 -1
- package/dist/models/SignUp200Response.d.ts +3 -1
- package/dist/models/SignUp200Response.js +3 -1
- package/dist/models/SignUpResponse.d.ts +3 -1
- package/dist/models/SignUpResponse.js +3 -1
- package/dist/models/Threads.d.ts +46 -0
- package/dist/models/Threads.js +61 -0
- package/dist/models/UserDetails.d.ts +9 -7
- package/dist/models/UserDetails.js +8 -8
- package/dist/models/ValidateCode400Response.d.ts +3 -1
- package/dist/models/ValidateCode400Response.js +3 -1
- package/dist/models/ValidateCode400ResponseError.d.ts +3 -1
- package/dist/models/ValidateCode400ResponseError.js +3 -1
- package/dist/models/ValidateCode412Response.d.ts +3 -1
- package/dist/models/ValidateCode412Response.js +3 -1
- package/dist/models/ValidateCodeRequest.d.ts +3 -1
- package/dist/models/ValidateCodeRequest.js +3 -1
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +3 -1
- package/package.json +1 -1
package/dist/apis/EventApi.js
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Floor Memory
|
|
6
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
6
|
+
* 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.
|
|
7
|
+
* - Memory and
|
|
8
|
+
* - 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.
|
|
7
9
|
*
|
|
8
10
|
* The version of the OpenAPI document: 1.0.0
|
|
9
11
|
* Contact: contact@ipomo.in
|
|
@@ -76,7 +78,7 @@ var EventApi = /** @class */ (function (_super) {
|
|
|
76
78
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
79
|
}
|
|
78
80
|
/**
|
|
79
|
-
* Posts into the
|
|
81
|
+
* ## Create Event (Content Ingestion) Posts content into the specified `floor_id`. This API performs **asynchronous ingestion** — a `200 OK` response means the content has been **accepted and queued**, not immediately retrievable. This API allows a user to **post personal content into their POD (Personal Object Database)**. The posted content is stored under a specified **floor**, embedded by the platform, and made available for **semantic querying, conversational retrieval, and memory-based interactions** once processing completes. It is primarily used to: * Save reminders, notes, write-ups, or personal knowledge * Upload content the user wants the system to remember * Add information that should later be discoverable via conversational queries The content may consist of **text only** or **text combined with one or more media files**. --- ## Key Capabilities * Stores user-generated content inside a specific floor * Supports **multi-modal inputs** (text + media) * Automatically embeds content for semantic search * Makes content available to: * `/agent/memory/query` * conversational agents * future recall and analytics * Associates content with **user**, **block**, and **application** context (when provided) --- ## Authentication * Requires a valid, authenticated `user_id` * The calling application is responsible for user authentication * `app_id` identifies the application context --- ## Request Type **Content-Type:** `multipart/form-data` --- ## Request Parameters ### 1. Files (Optional) | Field | Type | Required | Description | | ------- | -------- | -------- | --------------------------------------------------------------------- | | `files` | `file[]` | Optional | Media files to attach to the content. Multiple files may be uploaded. | **Supported formats include (but are not limited to):** * Images: `jpg`, `png` * Audio: `mp3` * Documents: `pdf` * Video: `mp4` These files are processed and embedded along with the textual content where applicable. --- ### 2. Input Information (Required) | Field | Type | Required | Description | | ------------ | --------------- | -------- | ----------------------------------------------------------------- | | `input_info` | `string (JSON)` | Yes | JSON string containing metadata and textual content for the post. | --- ## `input_info` Structure ```json { \"floor_id\": \"my_floor\", \"block_id\": \"17845683456\", \"block_type\": \"post\", \"user_id\": \"145623907625\", \"title\": \"My note\", \"description\": \"Things I should remember\", \"app_id\": \"165434879028\" } ``` --- ## Field Descriptions | Field | Type | Required | Description | | ------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------- | | `floor_id` | `string` | Yes | Identifier of the user’s floor (POD) where the content will be stored. | | `block_id` | `string` | Optional | Identifier of the block within the floor used to group or categorize content. | | `block_type` | `string` | Optional | Logical category of the content (e.g., `post`, `note`, `reminder`). Used for routing and UI organization. | | `user_id` | `string` | Yes | Unique identifier of the user posting the content. | | `title` | `string` | Optional | Short title or heading for the content. | | `description` | `string` | Yes | Main textual content to be stored and embedded. | | `app_id` | `string` | Optional | Identifier of the calling application context. | --- ## Behavior 1. The API validates the user and floor context. 2. Textual content (`title` and `description`) is ingested. 3. Attached media files (if any) are processed and linked to the content. 4. Embeddings are generated for: * text * supported media (where applicable) 5. The content becomes part of the user’s **personal memory store (POD)**. 6. Once background processing completes, the content becomes available for: * semantic search * conversational retrieval * memory-based interactions --- ## Successful Response On success, the API confirms that: * The content has been **accepted** * Processing has been **queued** * Reference identifiers are returned > A successful response indicates **acceptance**, not immediate availability. --- ## Error Handling The API may return errors if: * Required fields are missing (`floor_id`, `user_id`, `description`) * Uploaded files use unsupported formats * The user does not have access to the specified floor * The request payload is malformed * Internal embedding or storage operations fail --- ## Typical Use Cases * Saving personal reminders * Posting notes or observations * Uploading documents for later recall * Building a personal knowledge base * Feeding content into conversational agents --- ## ⚠️ Asynchronous Ingestion Notice Content ingestion is **asynchronous**. A `200 OK` response means the request was **successfully queued**. Newly ingested content may take time to become searchable via the Query API. Use **Recent Events** or retry queries after a short delay to confirm availability. --- ## One-Line Summary > Stores user-generated text and media into a personal POD, embeds it asynchronously, and makes it available for semantic and conversational querying. If you want, next I can: * align this **exactly** with the OpenAPI schema fields * generate **JS / TS / Python / Java snippets** using this definition * add **state diagrams** (queued → processing → searchable) for docs
|
|
80
82
|
* Create Event (Post Content)
|
|
81
83
|
*/
|
|
82
84
|
EventApi.prototype.eventRaw = function (requestParameters, initOverrides) {
|
|
@@ -135,7 +137,7 @@ var EventApi = /** @class */ (function (_super) {
|
|
|
135
137
|
});
|
|
136
138
|
};
|
|
137
139
|
/**
|
|
138
|
-
* Posts into the
|
|
140
|
+
* ## Create Event (Content Ingestion) Posts content into the specified `floor_id`. This API performs **asynchronous ingestion** — a `200 OK` response means the content has been **accepted and queued**, not immediately retrievable. This API allows a user to **post personal content into their POD (Personal Object Database)**. The posted content is stored under a specified **floor**, embedded by the platform, and made available for **semantic querying, conversational retrieval, and memory-based interactions** once processing completes. It is primarily used to: * Save reminders, notes, write-ups, or personal knowledge * Upload content the user wants the system to remember * Add information that should later be discoverable via conversational queries The content may consist of **text only** or **text combined with one or more media files**. --- ## Key Capabilities * Stores user-generated content inside a specific floor * Supports **multi-modal inputs** (text + media) * Automatically embeds content for semantic search * Makes content available to: * `/agent/memory/query` * conversational agents * future recall and analytics * Associates content with **user**, **block**, and **application** context (when provided) --- ## Authentication * Requires a valid, authenticated `user_id` * The calling application is responsible for user authentication * `app_id` identifies the application context --- ## Request Type **Content-Type:** `multipart/form-data` --- ## Request Parameters ### 1. Files (Optional) | Field | Type | Required | Description | | ------- | -------- | -------- | --------------------------------------------------------------------- | | `files` | `file[]` | Optional | Media files to attach to the content. Multiple files may be uploaded. | **Supported formats include (but are not limited to):** * Images: `jpg`, `png` * Audio: `mp3` * Documents: `pdf` * Video: `mp4` These files are processed and embedded along with the textual content where applicable. --- ### 2. Input Information (Required) | Field | Type | Required | Description | | ------------ | --------------- | -------- | ----------------------------------------------------------------- | | `input_info` | `string (JSON)` | Yes | JSON string containing metadata and textual content for the post. | --- ## `input_info` Structure ```json { \"floor_id\": \"my_floor\", \"block_id\": \"17845683456\", \"block_type\": \"post\", \"user_id\": \"145623907625\", \"title\": \"My note\", \"description\": \"Things I should remember\", \"app_id\": \"165434879028\" } ``` --- ## Field Descriptions | Field | Type | Required | Description | | ------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------- | | `floor_id` | `string` | Yes | Identifier of the user’s floor (POD) where the content will be stored. | | `block_id` | `string` | Optional | Identifier of the block within the floor used to group or categorize content. | | `block_type` | `string` | Optional | Logical category of the content (e.g., `post`, `note`, `reminder`). Used for routing and UI organization. | | `user_id` | `string` | Yes | Unique identifier of the user posting the content. | | `title` | `string` | Optional | Short title or heading for the content. | | `description` | `string` | Yes | Main textual content to be stored and embedded. | | `app_id` | `string` | Optional | Identifier of the calling application context. | --- ## Behavior 1. The API validates the user and floor context. 2. Textual content (`title` and `description`) is ingested. 3. Attached media files (if any) are processed and linked to the content. 4. Embeddings are generated for: * text * supported media (where applicable) 5. The content becomes part of the user’s **personal memory store (POD)**. 6. Once background processing completes, the content becomes available for: * semantic search * conversational retrieval * memory-based interactions --- ## Successful Response On success, the API confirms that: * The content has been **accepted** * Processing has been **queued** * Reference identifiers are returned > A successful response indicates **acceptance**, not immediate availability. --- ## Error Handling The API may return errors if: * Required fields are missing (`floor_id`, `user_id`, `description`) * Uploaded files use unsupported formats * The user does not have access to the specified floor * The request payload is malformed * Internal embedding or storage operations fail --- ## Typical Use Cases * Saving personal reminders * Posting notes or observations * Uploading documents for later recall * Building a personal knowledge base * Feeding content into conversational agents --- ## ⚠️ Asynchronous Ingestion Notice Content ingestion is **asynchronous**. A `200 OK` response means the request was **successfully queued**. Newly ingested content may take time to become searchable via the Query API. Use **Recent Events** or retry queries after a short delay to confirm availability. --- ## One-Line Summary > Stores user-generated text and media into a personal POD, embeds it asynchronously, and makes it available for semantic and conversational querying. If you want, next I can: * align this **exactly** with the OpenAPI schema fields * generate **JS / TS / Python / Java snippets** using this definition * add **state diagrams** (queued → processing → searchable) for docs
|
|
139
141
|
* Create Event (Post Content)
|
|
140
142
|
*/
|
|
141
143
|
EventApi.prototype.event = function (requestParameters, initOverrides) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Floor Memory
|
|
3
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
3
|
+
* 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.
|
|
4
|
+
* - Memory and
|
|
5
|
+
* - 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.
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: 1.0.0
|
|
6
8
|
* Contact: contact@ipomo.in
|
|
@@ -21,12 +23,12 @@ export interface GetFloorInformationRequest {
|
|
|
21
23
|
*/
|
|
22
24
|
export declare class GetFloorInformationApi extends runtime.BaseAPI {
|
|
23
25
|
/**
|
|
24
|
-
* 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\": [ { \"
|
|
26
|
+
* 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?”**
|
|
25
27
|
* Basic information of a floor
|
|
26
28
|
*/
|
|
27
29
|
getFloorInformationRaw(requestParameters: GetFloorInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetFloorInformation200Response>>;
|
|
28
30
|
/**
|
|
29
|
-
* 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\": [ { \"
|
|
31
|
+
* 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?”**
|
|
30
32
|
* Basic information of a floor
|
|
31
33
|
*/
|
|
32
34
|
getFloorInformation(requestParameters: GetFloorInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetFloorInformation200Response>;
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Floor Memory
|
|
6
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
6
|
+
* 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.
|
|
7
|
+
* - Memory and
|
|
8
|
+
* - 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.
|
|
7
9
|
*
|
|
8
10
|
* The version of the OpenAPI document: 1.0.0
|
|
9
11
|
* Contact: contact@ipomo.in
|
|
@@ -76,7 +78,7 @@ var GetFloorInformationApi = /** @class */ (function (_super) {
|
|
|
76
78
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
79
|
}
|
|
78
80
|
/**
|
|
79
|
-
* 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\": [ { \"
|
|
81
|
+
* 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?”**
|
|
80
82
|
* Basic information of a floor
|
|
81
83
|
*/
|
|
82
84
|
GetFloorInformationApi.prototype.getFloorInformationRaw = function (requestParameters, initOverrides) {
|
|
@@ -122,7 +124,7 @@ var GetFloorInformationApi = /** @class */ (function (_super) {
|
|
|
122
124
|
});
|
|
123
125
|
};
|
|
124
126
|
/**
|
|
125
|
-
* 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\": [ { \"
|
|
127
|
+
* 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?”**
|
|
126
128
|
* Basic information of a floor
|
|
127
129
|
*/
|
|
128
130
|
GetFloorInformationApi.prototype.getFloorInformation = function (requestParameters, initOverrides) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Floor Memory
|
|
3
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
3
|
+
* 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.
|
|
4
|
+
* - Memory and
|
|
5
|
+
* - 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.
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: 1.0.0
|
|
6
8
|
* Contact: contact@ipomo.in
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Floor Memory
|
|
6
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
6
|
+
* 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.
|
|
7
|
+
* - Memory and
|
|
8
|
+
* - 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.
|
|
7
9
|
*
|
|
8
10
|
* The version of the OpenAPI document: 1.0.0
|
|
9
11
|
* Contact: contact@ipomo.in
|
package/dist/apis/QueryApi.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Floor Memory
|
|
3
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
3
|
+
* 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.
|
|
4
|
+
* - Memory and
|
|
5
|
+
* - 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.
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: 1.0.0
|
|
6
8
|
* Contact: contact@ipomo.in
|
package/dist/apis/QueryApi.js
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Floor Memory
|
|
6
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
6
|
+
* 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.
|
|
7
|
+
* - Memory and
|
|
8
|
+
* - 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.
|
|
7
9
|
*
|
|
8
10
|
* The version of the OpenAPI document: 1.0.0
|
|
9
11
|
* Contact: contact@ipomo.in
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Floor Memory
|
|
3
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
3
|
+
* 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.
|
|
4
|
+
* - Memory and
|
|
5
|
+
* - 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.
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: 1.0.0
|
|
6
8
|
* Contact: contact@ipomo.in
|
|
@@ -20,7 +22,7 @@ export interface BlockDetails {
|
|
|
20
22
|
* @type {string}
|
|
21
23
|
* @memberof BlockDetails
|
|
22
24
|
*/
|
|
23
|
-
|
|
25
|
+
blockId: string;
|
|
24
26
|
/**
|
|
25
27
|
* Block Type
|
|
26
28
|
* @type {string}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Floor Memory
|
|
6
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
6
|
+
* 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.
|
|
7
|
+
* - Memory and
|
|
8
|
+
* - 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.
|
|
7
9
|
*
|
|
8
10
|
* The version of the OpenAPI document: 1.0.0
|
|
9
11
|
* Contact: contact@ipomo.in
|
|
@@ -22,7 +24,7 @@ exports.BlockDetailsToJSONTyped = BlockDetailsToJSONTyped;
|
|
|
22
24
|
* Check if a given object implements the BlockDetails interface.
|
|
23
25
|
*/
|
|
24
26
|
function instanceOfBlockDetails(value) {
|
|
25
|
-
if (!('
|
|
27
|
+
if (!('blockId' in value) || value['blockId'] === undefined)
|
|
26
28
|
return false;
|
|
27
29
|
if (!('type' in value) || value['type'] === undefined)
|
|
28
30
|
return false;
|
|
@@ -38,7 +40,7 @@ function BlockDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
return json;
|
|
39
41
|
}
|
|
40
42
|
return {
|
|
41
|
-
'
|
|
43
|
+
'blockId': json['block_id'],
|
|
42
44
|
'type': json['type'],
|
|
43
45
|
'title': json['title'],
|
|
44
46
|
};
|
|
@@ -52,7 +54,7 @@ function BlockDetailsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
54
|
return value;
|
|
53
55
|
}
|
|
54
56
|
return {
|
|
55
|
-
'
|
|
57
|
+
'block_id': value['blockId'],
|
|
56
58
|
'type': value['type'],
|
|
57
59
|
'title': value['title'],
|
|
58
60
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Floor Memory
|
|
3
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
3
|
+
* 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.
|
|
4
|
+
* - Memory and
|
|
5
|
+
* - 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.
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: 1.0.0
|
|
6
8
|
* Contact: contact@ipomo.in
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Floor Memory
|
|
6
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
6
|
+
* 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.
|
|
7
|
+
* - Memory and
|
|
8
|
+
* - 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.
|
|
7
9
|
*
|
|
8
10
|
* The version of the OpenAPI document: 1.0.0
|
|
9
11
|
* Contact: contact@ipomo.in
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Floor Memory
|
|
3
|
+
* 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.
|
|
4
|
+
* - Memory and
|
|
5
|
+
* - 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: contact@ipomo.in
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import type { ConversationThreads200ResponseThreadsInner } from './ConversationThreads200ResponseThreadsInner';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ConversationThreads200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface ConversationThreads200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ConversationThreads200Response
|
|
25
|
+
*/
|
|
26
|
+
userId: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<ConversationThreads200ResponseThreadsInner>}
|
|
30
|
+
* @memberof ConversationThreads200Response
|
|
31
|
+
*/
|
|
32
|
+
threads: Array<ConversationThreads200ResponseThreadsInner>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the ConversationThreads200Response interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfConversationThreads200Response(value: object): value is ConversationThreads200Response;
|
|
38
|
+
export declare function ConversationThreads200ResponseFromJSON(json: any): ConversationThreads200Response;
|
|
39
|
+
export declare function ConversationThreads200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationThreads200Response;
|
|
40
|
+
export declare function ConversationThreads200ResponseToJSON(json: any): ConversationThreads200Response;
|
|
41
|
+
export declare function ConversationThreads200ResponseToJSONTyped(value?: ConversationThreads200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Floor Memory
|
|
6
|
+
* 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.
|
|
7
|
+
* - Memory and
|
|
8
|
+
* - 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.
|
|
9
|
+
*
|
|
10
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11
|
+
* Contact: contact@ipomo.in
|
|
12
|
+
*
|
|
13
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14
|
+
* https://openapi-generator.tech
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.instanceOfConversationThreads200Response = instanceOfConversationThreads200Response;
|
|
19
|
+
exports.ConversationThreads200ResponseFromJSON = ConversationThreads200ResponseFromJSON;
|
|
20
|
+
exports.ConversationThreads200ResponseFromJSONTyped = ConversationThreads200ResponseFromJSONTyped;
|
|
21
|
+
exports.ConversationThreads200ResponseToJSON = ConversationThreads200ResponseToJSON;
|
|
22
|
+
exports.ConversationThreads200ResponseToJSONTyped = ConversationThreads200ResponseToJSONTyped;
|
|
23
|
+
var ConversationThreads200ResponseThreadsInner_1 = require("./ConversationThreads200ResponseThreadsInner");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ConversationThreads200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfConversationThreads200Response(value) {
|
|
28
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('threads' in value) || value['threads'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ConversationThreads200ResponseFromJSON(json) {
|
|
35
|
+
return ConversationThreads200ResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ConversationThreads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'userId': json['user_id'],
|
|
43
|
+
'threads': (json['threads'].map(ConversationThreads200ResponseThreadsInner_1.ConversationThreads200ResponseThreadsInnerFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ConversationThreads200ResponseToJSON(json) {
|
|
47
|
+
return ConversationThreads200ResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ConversationThreads200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'user_id': value['userId'],
|
|
56
|
+
'threads': (value['threads'].map(ConversationThreads200ResponseThreadsInner_1.ConversationThreads200ResponseThreadsInnerToJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Floor Memory
|
|
3
|
+
* 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.
|
|
4
|
+
* - Memory and
|
|
5
|
+
* - 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: contact@ipomo.in
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ConversationThreads200ResponseThreadsInner
|
|
18
|
+
*/
|
|
19
|
+
export interface ConversationThreads200ResponseThreadsInner {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ConversationThreads200ResponseThreadsInner
|
|
24
|
+
*/
|
|
25
|
+
threadId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ConversationThreads200ResponseThreadsInner
|
|
30
|
+
*/
|
|
31
|
+
title: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ConversationThreads200ResponseThreadsInner
|
|
36
|
+
*/
|
|
37
|
+
lastUpdated: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ConversationThreads200ResponseThreadsInner interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfConversationThreads200ResponseThreadsInner(value: object): value is ConversationThreads200ResponseThreadsInner;
|
|
43
|
+
export declare function ConversationThreads200ResponseThreadsInnerFromJSON(json: any): ConversationThreads200ResponseThreadsInner;
|
|
44
|
+
export declare function ConversationThreads200ResponseThreadsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationThreads200ResponseThreadsInner;
|
|
45
|
+
export declare function ConversationThreads200ResponseThreadsInnerToJSON(json: any): ConversationThreads200ResponseThreadsInner;
|
|
46
|
+
export declare function ConversationThreads200ResponseThreadsInnerToJSONTyped(value?: ConversationThreads200ResponseThreadsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Floor Memory
|
|
6
|
+
* 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.
|
|
7
|
+
* - Memory and
|
|
8
|
+
* - 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.
|
|
9
|
+
*
|
|
10
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11
|
+
* Contact: contact@ipomo.in
|
|
12
|
+
*
|
|
13
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14
|
+
* https://openapi-generator.tech
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.instanceOfConversationThreads200ResponseThreadsInner = instanceOfConversationThreads200ResponseThreadsInner;
|
|
19
|
+
exports.ConversationThreads200ResponseThreadsInnerFromJSON = ConversationThreads200ResponseThreadsInnerFromJSON;
|
|
20
|
+
exports.ConversationThreads200ResponseThreadsInnerFromJSONTyped = ConversationThreads200ResponseThreadsInnerFromJSONTyped;
|
|
21
|
+
exports.ConversationThreads200ResponseThreadsInnerToJSON = ConversationThreads200ResponseThreadsInnerToJSON;
|
|
22
|
+
exports.ConversationThreads200ResponseThreadsInnerToJSONTyped = ConversationThreads200ResponseThreadsInnerToJSONTyped;
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ConversationThreads200ResponseThreadsInner interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfConversationThreads200ResponseThreadsInner(value) {
|
|
27
|
+
if (!('threadId' in value) || value['threadId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ConversationThreads200ResponseThreadsInnerFromJSON(json) {
|
|
36
|
+
return ConversationThreads200ResponseThreadsInnerFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ConversationThreads200ResponseThreadsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'threadId': json['thread_id'],
|
|
44
|
+
'title': json['title'],
|
|
45
|
+
'lastUpdated': json['last_updated'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ConversationThreads200ResponseThreadsInnerToJSON(json) {
|
|
49
|
+
return ConversationThreads200ResponseThreadsInnerToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ConversationThreads200ResponseThreadsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'thread_id': value['threadId'],
|
|
58
|
+
'title': value['title'],
|
|
59
|
+
'last_updated': value['lastUpdated'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Floor Memory
|
|
3
|
-
* The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
3
|
+
* 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.
|
|
4
|
+
* - Memory and
|
|
5
|
+
* - 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.
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: 1.0.0
|
|
6
8
|
* Contact: contact@ipomo.in
|