@xfloor/floor-memory-sdk-js 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +79 -182
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/DefaultApi.js +64 -30
  4. package/dist/api/EditFloorApi.js +1 -1
  5. package/dist/api/EventApi.js +9 -3
  6. package/dist/api/GetFloorInformationApi.js +8 -4
  7. package/dist/api/GetRecentEventsApi.js +8 -4
  8. package/dist/api/QueryApi.js +1 -1
  9. package/dist/model/BlockDetails.js +1 -1
  10. package/dist/model/ChangePassword200Response.js +1 -1
  11. package/dist/model/ConversationThreads200Response.js +1 -1
  12. package/dist/model/ConversationThreads200ResponseThreadsInner.js +1 -1
  13. package/dist/model/EditFloor400Response.js +1 -1
  14. package/dist/model/EditFloor400ResponseError.js +1 -1
  15. package/dist/model/Event400Response.js +1 -1
  16. package/dist/model/Event400ResponseError.js +1 -1
  17. package/dist/model/EventResponse.js +1 -1
  18. package/dist/model/FloorInfo.js +1 -1
  19. package/dist/model/GetConversations200Response.js +1 -1
  20. package/dist/model/GetConversations200ResponseConversationInner.js +1 -1
  21. package/dist/model/GetConversations200ResponseConversationInnerAssistant.js +1 -1
  22. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInner.js +1 -1
  23. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.js +1 -1
  24. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js +1 -1
  25. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js +1 -1
  26. package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js +1 -1
  27. package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.js +1 -1
  28. package/dist/model/GetConversations200ResponseConversationInnerUser.js +1 -1
  29. package/dist/model/GetConversations200ResponseConversationInnerUserContext.js +1 -1
  30. package/dist/model/GetFloorInformation200Response.js +1 -1
  31. package/dist/model/GetRecentEvents200Response.js +1 -1
  32. package/dist/model/GetRecentEvents200ResponseItemsInner.js +1 -1
  33. package/dist/model/GetRecentEvents200ResponseItemsInnerAuthor.js +1 -1
  34. package/dist/model/GetRecentEvents400Response.js +1 -1
  35. package/dist/model/GetRecentEvents400ResponseError.js +1 -1
  36. package/dist/model/Media.js +1 -1
  37. package/dist/model/Model400ErrorCode.js +1 -1
  38. package/dist/model/PostAdd.js +1 -1
  39. package/dist/model/Query422Response.js +1 -1
  40. package/dist/model/Query422ResponseError.js +1 -1
  41. package/dist/model/QueryRequest.js +7 -5
  42. package/dist/model/QueryRequestFilters.js +1 -1
  43. package/dist/model/QueryResponse.js +1 -1
  44. package/dist/model/QueryResponseItemsInner.js +1 -1
  45. package/dist/model/ResetPassword200Response.js +1 -1
  46. package/dist/model/ResetPassword400Response.js +1 -1
  47. package/dist/model/SendSignInValidationCode200Response.js +1 -1
  48. package/dist/model/SendValidationCode200Response.js +1 -1
  49. package/dist/model/SendValidationCodeRequest.js +1 -1
  50. package/dist/model/SignInWithEmail200Response.js +1 -1
  51. package/dist/model/SignInWithEmail200ResponsePodInfo.js +1 -1
  52. package/dist/model/SignInWithEmail200ResponseProfile.js +1 -1
  53. package/dist/model/SignInWithEmail200ResponseProfileAvatar.js +1 -1
  54. package/dist/model/SignUp200Response.js +1 -1
  55. package/dist/model/SignUpResponse.js +1 -1
  56. package/dist/model/Threads.js +1 -1
  57. package/dist/model/UserDetails.js +1 -1
  58. package/dist/model/ValidateCode400Response.js +1 -1
  59. package/dist/model/ValidateCode400ResponseError.js +1 -1
  60. package/dist/model/ValidateCode412Response.js +1 -1
  61. package/dist/model/ValidateCodeRequest.js +1 -1
  62. 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.5
14
+ - Package version: 1.0.7
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/)
@@ -127,190 +127,87 @@ api.apiDeveloperCreateAppPost(inputInfo, opts, callback);
127
127
 
128
128
  ### Documentation for API Endpoints
129
129
 
130
- All URIs are relative to *https://appfloor.in*
131
-
132
- Class
133
-
134
- | Method | HTTP request |
135
-
136
- Description
137
- ------------
138
-
139
- | ------------- | ------------- |
140
-
141
- -------------
142
- *XfloorFloorMemorySdkJs.DefaultApi*
143
-
144
- | [**apiDeveloperCreateAppPost**](docs/DefaultApi.md#apiDeveloperCreateAppPost) | **POST** /api/developer/create/app |
145
-
146
- Create App
147
- *XfloorFloorMemorySdkJs.DefaultApi*
148
-
149
- | [**apiDeveloperModifyAppPost**](docs/DefaultApi.md#apiDeveloperModifyAppPost) | **POST** /api/developer/modify/app |
150
-
151
- Modify Floorpod App
152
- *XfloorFloorMemorySdkJs.DefaultApi*
153
-
154
- | [**changeEmail**](docs/DefaultApi.md#changeEmail) | **POST** /auth-service/change/email |
155
-
156
- Change email ID
157
- *XfloorFloorMemorySdkJs.DefaultApi*
158
-
159
- | [**changeMobileNumber**](docs/DefaultApi.md#changeMobileNumber) | **POST** /auth-service/change/mobile |
160
-
161
- Change Mobile number
162
- *XfloorFloorMemorySdkJs.DefaultApi*
163
-
164
- | [**changePassword**](docs/DefaultApi.md#changePassword) | **POST** /auth-service/password/change |
165
-
166
- Change Password
167
- *XfloorFloorMemorySdkJs.DefaultApi*
168
-
169
- | [**conversationThreads**](docs/DefaultApi.md#conversationThreads) | **GET** /agent/memory/threads |
170
-
171
- Get the conversational threads
172
- *XfloorFloorMemorySdkJs.DefaultApi*
173
-
174
- | [**getConversations**](docs/DefaultApi.md#getConversations) | **GET** /agent/memory/conversations |
175
-
176
- Conversations
177
- *XfloorFloorMemorySdkJs.DefaultApi*
178
-
179
- | [**makeFloorPrivate**](docs/DefaultApi.md#makeFloorPrivate) | **POST** /api/memory/make/floor/private |
180
-
181
- Make floor Private
182
- *XfloorFloorMemorySdkJs.DefaultApi*
183
-
184
- | [**makeFloorPublic**](docs/DefaultApi.md#makeFloorPublic) | **POST** /api/memory/make/floor/public |
185
-
186
- Make floor public
187
- *XfloorFloorMemorySdkJs.DefaultApi*
188
-
189
- | [**registerExternalUserIdentity**](docs/DefaultApi.md#registerExternalUserIdentity) | **POST** /memory/identity/external-user |
190
-
191
- External User Registration
192
- *XfloorFloorMemorySdkJs.DefaultApi*
193
-
194
- | [**renameFloor**](docs/DefaultApi.md#renameFloor) | **POST** /api/memory/change/floor/id |
195
-
196
- Rename floor
197
- *XfloorFloorMemorySdkJs.DefaultApi*
198
-
199
- | [**resetPassword**](docs/DefaultApi.md#resetPassword) | **POST** /auth-service/password/reset |
200
-
201
- Reset Password
202
- *XfloorFloorMemorySdkJs.DefaultApi*
203
-
204
- | [**sendSignInValidationCode**](docs/DefaultApi.md#sendSignInValidationCode) | **POST** /auth-service/send/sign/in/validation/code |
205
-
206
- Send Sign-In Validation Code (OTP)
207
- *XfloorFloorMemorySdkJs.DefaultApi*
208
-
209
- | [**sendValidationCode**](docs/DefaultApi.md#sendValidationCode) | **POST** /auth-service/send/validation/code |
210
-
211
- Send Validation code
212
- *XfloorFloorMemorySdkJs.DefaultApi*
213
-
214
- | [**signInWithEmail**](docs/DefaultApi.md#signInWithEmail) | **POST** /auth-service/sign/in/with/email |
215
-
216
- Sign In with email ID
217
- *XfloorFloorMemorySdkJs.DefaultApi*
218
-
219
- | [**signInWithMobileNumber**](docs/DefaultApi.md#signInWithMobileNumber) | **POST** /auth-service/sign/in/with/mobile/number |
220
-
221
- Sign In with Mobile number
222
- *XfloorFloorMemorySdkJs.DefaultApi*
223
-
224
- | [**signUp**](docs/DefaultApi.md#signUp) | **POST** /auth-service/sign/up |
225
-
226
- Sign Up
227
- *XfloorFloorMemorySdkJs.DefaultApi*
228
-
229
- | [**validateCode**](docs/DefaultApi.md#validateCode) | **POST** /auth-service/validate/activation/code |
230
-
231
- Validation
232
- *XfloorFloorMemorySdkJs.EditFloorApi*
233
-
234
- | [**editFloor**](docs/EditFloorApi.md#editFloor) | **POST** /api/memory/edit/floor/{floor_id} |
235
-
236
- Edit floor
237
- *XfloorFloorMemorySdkJs.EventApi*
238
-
239
- | [**event**](docs/EventApi.md#event) | **POST** /api/memory/events |
240
-
241
- Create Event (Post Content)
242
- *XfloorFloorMemorySdkJs.GetFloorInformationApi*
243
-
244
- | [**getFloorInformation**](docs/GetFloorInformationApi.md#getFloorInformation) | **GET** /api/memory/floor/info/{floor_id} |
245
-
246
- Basic information of a floor
247
- *XfloorFloorMemorySdkJs.GetRecentEventsApi*
248
-
249
- | [**getRecentEvents**](docs/GetRecentEventsApi.md#getRecentEvents) | **GET** /api/memory/recent/events |
250
-
251
- Recent Events
252
- *XfloorFloorMemorySdkJs.QueryApi*
253
-
254
- | [**query**](docs/QueryApi.md#query) | **POST** /agent/memory/query |
255
-
256
- Query (Primary API)
257
-
130
+ | Class | Method | HTTP request | Description |
131
+ | --- | --- | --- | --- |
132
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**apiDeveloperCreateAppPost**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#apiDeveloperCreateAppPost) | **POST** /api/developer/create/app | Create App |
133
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**apiDeveloperModifyAppPost**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#apiDeveloperModifyAppPost) | **POST** /api/developer/modify/app | Modify Floorpod App |
134
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**changeEmail**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#changeEmail) | **POST** /auth-service/change/email | Change email ID |
135
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**changeMobileNumber**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#changeMobileNumber) | **POST** /auth-service/change/mobile | Change Mobile number |
136
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**changePassword**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#changePassword) | **POST** /auth-service/password/change | Change Password |
137
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**conversationThreads**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#conversationThreads) | **GET** /agent/memory/threads | Get the conversational threads |
138
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**getConversations**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#getConversations) | **GET** /agent/memory/conversations | Conversations |
139
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**makeFloorPrivate**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#makeFloorPrivate) | **POST** /api/memory/make/floor/private | Make floor Private |
140
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**makeFloorPublic**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#makeFloorPublic) | **POST** /api/memory/make/floor/public | Make floor public |
141
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**registerExternalUserIdentity**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#registerExternalUserIdentity) | **POST** /memory/identity/external-user | External User Registration |
142
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**renameFloor**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#renameFloor) | **POST** /api/memory/change/floor/id | Rename floor |
143
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**resetPassword**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#resetPassword) | **POST** /auth-service/password/reset | Reset Password |
144
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**sendSignInValidationCode**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#sendSignInValidationCode) | **POST** /auth-service/send/sign/in/validation/code | Send Sign-In Validation Code (OTP) |
145
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**sendValidationCode**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#sendValidationCode) | **POST** /auth-service/send/validation/code | Send Validation code |
146
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**signInWithEmail**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#signInWithEmail) | **POST** /auth-service/sign/in/with/email | Sign In with email ID |
147
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**signInWithMobileNumber**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#signInWithMobileNumber) | **POST** /auth-service/sign/in/with/mobile/number | Sign In with Mobile number |
148
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**signUp**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#signUp) | **POST** /auth-service/sign/up | Sign Up |
149
+ | `XfloorFloorMemorySdkJs.DefaultApi` | [**validateCode**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#validateCode) | **POST** /auth-service/validate/activation/code | Validation |
150
+ | `XfloorFloorMemorySdkJs.EditFloorApi` | [**editFloor**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/EditFloorApi.md#editFloor) | **POST** /api/memory/edit/floor/{floor_id} | Edit floor |
151
+ | `XfloorFloorMemorySdkJs.EventApi` | [**event**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/EventApi.md#event) | **POST** /api/memory/events | Create Event (Post Content) |
152
+ | `XfloorFloorMemorySdkJs.GetFloorInformationApi` | [**getFloorInformation**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetFloorInformationApi.md#getFloorInformation) | **GET** /api/memory/floor/info/{floor_id} | Basic information of a floor |
153
+ | `XfloorFloorMemorySdkJs.GetRecentEventsApi` | [**getRecentEvents**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEventsApi.md#getRecentEvents) | **GET** /api/memory/recent/events | Recent Events |
154
+ | `XfloorFloorMemorySdkJs.QueryApi` | [**query**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryApi.md#query) | **POST** /agent/memory/query | Query (Primary API) |
258
155
 
259
156
  ### Documentation for Models
260
157
 
261
- - [XfloorFloorMemorySdkJs.BlockDetails](docs/BlockDetails.md)
262
- - [XfloorFloorMemorySdkJs.ChangePassword200Response](docs/ChangePassword200Response.md)
263
- - [XfloorFloorMemorySdkJs.ConversationThreads200Response](docs/ConversationThreads200Response.md)
264
- - [XfloorFloorMemorySdkJs.ConversationThreads200ResponseThreadsInner](docs/ConversationThreads200ResponseThreadsInner.md)
265
- - [XfloorFloorMemorySdkJs.EditFloor400Response](docs/EditFloor400Response.md)
266
- - [XfloorFloorMemorySdkJs.EditFloor400ResponseError](docs/EditFloor400ResponseError.md)
267
- - [XfloorFloorMemorySdkJs.Event400Response](docs/Event400Response.md)
268
- - [XfloorFloorMemorySdkJs.Event400ResponseError](docs/Event400ResponseError.md)
269
- - [XfloorFloorMemorySdkJs.EventResponse](docs/EventResponse.md)
270
- - [XfloorFloorMemorySdkJs.FloorInfo](docs/FloorInfo.md)
271
- - [XfloorFloorMemorySdkJs.GetConversations200Response](docs/GetConversations200Response.md)
272
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInner](docs/GetConversations200ResponseConversationInner.md)
273
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistant](docs/GetConversations200ResponseConversationInnerAssistant.md)
274
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantChoicesInner](docs/GetConversations200ResponseConversationInnerAssistantChoicesInner.md)
275
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails](docs/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.md)
276
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage](docs/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.md)
277
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails](docs/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.md)
278
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts](docs/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.md)
279
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner](docs/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.md)
280
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerUser](docs/GetConversations200ResponseConversationInnerUser.md)
281
- - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerUserContext](docs/GetConversations200ResponseConversationInnerUserContext.md)
282
- - [XfloorFloorMemorySdkJs.GetFloorInformation200Response](docs/GetFloorInformation200Response.md)
283
- - [XfloorFloorMemorySdkJs.GetRecentEvents200Response](docs/GetRecentEvents200Response.md)
284
- - [XfloorFloorMemorySdkJs.GetRecentEvents200ResponseItemsInner](docs/GetRecentEvents200ResponseItemsInner.md)
285
- - [XfloorFloorMemorySdkJs.GetRecentEvents200ResponseItemsInnerAuthor](docs/GetRecentEvents200ResponseItemsInnerAuthor.md)
286
- - [XfloorFloorMemorySdkJs.GetRecentEvents400Response](docs/GetRecentEvents400Response.md)
287
- - [XfloorFloorMemorySdkJs.GetRecentEvents400ResponseError](docs/GetRecentEvents400ResponseError.md)
288
- - [XfloorFloorMemorySdkJs.Media](docs/Media.md)
289
- - [XfloorFloorMemorySdkJs.Model400ErrorCode](docs/Model400ErrorCode.md)
290
- - [XfloorFloorMemorySdkJs.PostAdd](docs/PostAdd.md)
291
- - [XfloorFloorMemorySdkJs.Query422Response](docs/Query422Response.md)
292
- - [XfloorFloorMemorySdkJs.Query422ResponseError](docs/Query422ResponseError.md)
293
- - [XfloorFloorMemorySdkJs.QueryRequest](docs/QueryRequest.md)
294
- - [XfloorFloorMemorySdkJs.QueryRequestFilters](docs/QueryRequestFilters.md)
295
- - [XfloorFloorMemorySdkJs.QueryResponse](docs/QueryResponse.md)
296
- - [XfloorFloorMemorySdkJs.QueryResponseItemsInner](docs/QueryResponseItemsInner.md)
297
- - [XfloorFloorMemorySdkJs.ResetPassword200Response](docs/ResetPassword200Response.md)
298
- - [XfloorFloorMemorySdkJs.ResetPassword400Response](docs/ResetPassword400Response.md)
299
- - [XfloorFloorMemorySdkJs.SendSignInValidationCode200Response](docs/SendSignInValidationCode200Response.md)
300
- - [XfloorFloorMemorySdkJs.SendValidationCode200Response](docs/SendValidationCode200Response.md)
301
- - [XfloorFloorMemorySdkJs.SendValidationCodeRequest](docs/SendValidationCodeRequest.md)
302
- - [XfloorFloorMemorySdkJs.SignInWithEmail200Response](docs/SignInWithEmail200Response.md)
303
- - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponsePodInfo](docs/SignInWithEmail200ResponsePodInfo.md)
304
- - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponseProfile](docs/SignInWithEmail200ResponseProfile.md)
305
- - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponseProfileAvatar](docs/SignInWithEmail200ResponseProfileAvatar.md)
306
- - [XfloorFloorMemorySdkJs.SignUp200Response](docs/SignUp200Response.md)
307
- - [XfloorFloorMemorySdkJs.SignUpResponse](docs/SignUpResponse.md)
308
- - [XfloorFloorMemorySdkJs.Threads](docs/Threads.md)
309
- - [XfloorFloorMemorySdkJs.UserDetails](docs/UserDetails.md)
310
- - [XfloorFloorMemorySdkJs.ValidateCode400Response](docs/ValidateCode400Response.md)
311
- - [XfloorFloorMemorySdkJs.ValidateCode400ResponseError](docs/ValidateCode400ResponseError.md)
312
- - [XfloorFloorMemorySdkJs.ValidateCode412Response](docs/ValidateCode412Response.md)
313
- - [XfloorFloorMemorySdkJs.ValidateCodeRequest](docs/ValidateCodeRequest.md)
158
+ - [XfloorFloorMemorySdkJs.BlockDetails](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/BlockDetails.md)
159
+ - [XfloorFloorMemorySdkJs.ChangePassword200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ChangePassword200Response.md)
160
+ - [XfloorFloorMemorySdkJs.ConversationThreads200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ConversationThreads200Response.md)
161
+ - [XfloorFloorMemorySdkJs.ConversationThreads200ResponseThreadsInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ConversationThreads200ResponseThreadsInner.md)
162
+ - [XfloorFloorMemorySdkJs.EditFloor400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/EditFloor400Response.md)
163
+ - [XfloorFloorMemorySdkJs.EditFloor400ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/EditFloor400ResponseError.md)
164
+ - [XfloorFloorMemorySdkJs.Event400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Event400Response.md)
165
+ - [XfloorFloorMemorySdkJs.Event400ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Event400ResponseError.md)
166
+ - [XfloorFloorMemorySdkJs.EventResponse](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/EventResponse.md)
167
+ - [XfloorFloorMemorySdkJs.FloorInfo](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/FloorInfo.md)
168
+ - [XfloorFloorMemorySdkJs.GetConversations200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200Response.md)
169
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInner.md)
170
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistant](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerAssistant.md)
171
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantChoicesInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerAssistantChoicesInner.md)
172
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.md)
173
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.md)
174
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.md)
175
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.md)
176
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.md)
177
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerUser](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerUser.md)
178
+ - [XfloorFloorMemorySdkJs.GetConversations200ResponseConversationInnerUserContext](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetConversations200ResponseConversationInnerUserContext.md)
179
+ - [XfloorFloorMemorySdkJs.GetFloorInformation200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetFloorInformation200Response.md)
180
+ - [XfloorFloorMemorySdkJs.GetRecentEvents200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEvents200Response.md)
181
+ - [XfloorFloorMemorySdkJs.GetRecentEvents200ResponseItemsInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEvents200ResponseItemsInner.md)
182
+ - [XfloorFloorMemorySdkJs.GetRecentEvents200ResponseItemsInnerAuthor](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEvents200ResponseItemsInnerAuthor.md)
183
+ - [XfloorFloorMemorySdkJs.GetRecentEvents400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEvents400Response.md)
184
+ - [XfloorFloorMemorySdkJs.GetRecentEvents400ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEvents400ResponseError.md)
185
+ - [XfloorFloorMemorySdkJs.Media](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Media.md)
186
+ - [XfloorFloorMemorySdkJs.Model400ErrorCode](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Model400ErrorCode.md)
187
+ - [XfloorFloorMemorySdkJs.PostAdd](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/PostAdd.md)
188
+ - [XfloorFloorMemorySdkJs.Query422Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Query422Response.md)
189
+ - [XfloorFloorMemorySdkJs.Query422ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Query422ResponseError.md)
190
+ - [XfloorFloorMemorySdkJs.QueryRequest](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryRequest.md)
191
+ - [XfloorFloorMemorySdkJs.QueryRequestFilters](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryRequestFilters.md)
192
+ - [XfloorFloorMemorySdkJs.QueryResponse](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryResponse.md)
193
+ - [XfloorFloorMemorySdkJs.QueryResponseItemsInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryResponseItemsInner.md)
194
+ - [XfloorFloorMemorySdkJs.ResetPassword200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ResetPassword200Response.md)
195
+ - [XfloorFloorMemorySdkJs.ResetPassword400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ResetPassword400Response.md)
196
+ - [XfloorFloorMemorySdkJs.SendSignInValidationCode200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SendSignInValidationCode200Response.md)
197
+ - [XfloorFloorMemorySdkJs.SendValidationCode200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SendValidationCode200Response.md)
198
+ - [XfloorFloorMemorySdkJs.SendValidationCodeRequest](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SendValidationCodeRequest.md)
199
+ - [XfloorFloorMemorySdkJs.SignInWithEmail200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignInWithEmail200Response.md)
200
+ - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponsePodInfo](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignInWithEmail200ResponsePodInfo.md)
201
+ - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponseProfile](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignInWithEmail200ResponseProfile.md)
202
+ - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponseProfileAvatar](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignInWithEmail200ResponseProfileAvatar.md)
203
+ - [XfloorFloorMemorySdkJs.SignUp200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignUp200Response.md)
204
+ - [XfloorFloorMemorySdkJs.SignUpResponse](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignUpResponse.md)
205
+ - [XfloorFloorMemorySdkJs.Threads](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Threads.md)
206
+ - [XfloorFloorMemorySdkJs.UserDetails](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/UserDetails.md)
207
+ - [XfloorFloorMemorySdkJs.ValidateCode400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ValidateCode400Response.md)
208
+ - [XfloorFloorMemorySdkJs.ValidateCode400ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ValidateCode400ResponseError.md)
209
+ - [XfloorFloorMemorySdkJs.ValidateCode412Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ValidateCode412Response.md)
210
+ - [XfloorFloorMemorySdkJs.ValidateCodeRequest](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ValidateCodeRequest.md)
314
211
 
315
212
 
316
213
  ### Documentation for Authorization
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.5
30
+ * @version 1.0.7
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.5/Javascript'
71
+ 'User-Agent': 'OpenAPI-Generator/1.0.7/Javascript'
72
72
  };
73
73
 
74
74
  /**
@@ -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.5
48
+ * @version 1.0.7
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 {Object} opts Optional parameters
355
- * @param {String} [floorId] Floor ID
356
- * @param {String} [userId] User ID
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(opts, callback) {
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': opts['floorId'],
369
- 'user_id': opts['userId'],
370
- 'app_id': opts['appId']
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 {Object} opts Optional parameters
393
- * @param {String} [floorId] Floor ID
394
- * @param {String} [userId] User ID
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(opts, callback) {
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': opts['floorId'],
407
- 'user_id': opts['userId'],
408
- 'app_id': opts['appId']
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 {Object} opts Optional parameters
471
- * @param {String} [userId] User ID
472
- * @param {String} [appId] App ID
473
- * @param {String} [from] Old floor ID
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(opts, callback) {
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': opts['userId'],
486
- 'app_id': opts['appId'],
487
- 'from': opts['from'],
488
- 'to': opts['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 = {};
@@ -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.5
33
+ * @version 1.0.7
34
34
  */
35
35
  var EditFloorApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Event service.
32
32
  * @module api/EventApi
33
- * @version 1.0.5
33
+ * @version 1.0.7
34
34
  */
35
35
  var EventApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -57,6 +57,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
57
57
  * Create Event (Post Content)
58
58
  * ## 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
59
59
  * @param {String} inputInfo Input parameters, bid is optional
60
+ * @param {String} appId App ID created in developer console.
60
61
  * @param {Object} opts Optional parameters
61
62
  * @param {File} [files] Attach relevant media here, which includes, jpg, mp3, pdf, mp4 files. More than one media can be selected
62
63
  * @param {module:api/EventApi~eventCallback} callback The callback function, accepting three arguments: error, data, response
@@ -64,19 +65,24 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
64
65
  */
65
66
  return _createClass(EventApi, [{
66
67
  key: "event",
67
- value: function event(inputInfo, opts, callback) {
68
+ value: function event(inputInfo, appId, opts, callback) {
68
69
  opts = opts || {};
69
70
  var postBody = null;
70
71
  // verify the required parameter 'inputInfo' is set
71
72
  if (inputInfo === undefined || inputInfo === null) {
72
73
  throw new Error("Missing the required parameter 'inputInfo' when calling event");
73
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 event");
78
+ }
74
79
  var pathParams = {};
75
80
  var queryParams = {};
76
81
  var headerParams = {};
77
82
  var formParams = {
78
83
  'files': opts['files'],
79
- 'input_info': inputInfo
84
+ 'input_info': inputInfo,
85
+ 'app_id': appId
80
86
  };
81
87
  var authNames = ['bearer'];
82
88
  var contentTypes = ['multipart/form-data'];
@@ -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.5
33
+ * @version 1.0.7
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': opts['appId']
84
+ 'app_id': appId
81
85
  };
82
86
  var headerParams = {};
83
87
  var formParams = {};