@xfloor/floor-memory-sdk-js 1.0.16 → 1.0.18

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 +8 -29
  2. package/dist/ApiClient.js +6 -6
  3. package/dist/api/DefaultApi.js +66 -278
  4. package/dist/api/EditFloorApi.js +1 -1
  5. package/dist/api/EventApi.js +1 -1
  6. package/dist/api/GetFloorInformationApi.js +1 -1
  7. package/dist/api/GetRecentEventsApi.js +1 -1
  8. package/dist/api/QueryApi.js +1 -1
  9. package/dist/index.js +0 -119
  10. package/dist/model/BlockDetails.js +1 -1
  11. package/dist/model/ChangePassword200Response.js +1 -1
  12. package/dist/model/EditFloor400Response.js +1 -1
  13. package/dist/model/EditFloor400ResponseError.js +1 -1
  14. package/dist/model/Event400Response.js +1 -1
  15. package/dist/model/Event400ResponseError.js +1 -1
  16. package/dist/model/EventResponse.js +1 -1
  17. package/dist/model/FloorInfo.js +1 -1
  18. package/dist/model/GetFloorInformation200Response.js +1 -1
  19. package/dist/model/GetRecentEvents200Response.js +1 -1
  20. package/dist/model/GetRecentEvents200ResponseItemsInner.js +1 -1
  21. package/dist/model/GetRecentEvents200ResponseItemsInnerAuthor.js +1 -1
  22. package/dist/model/GetRecentEvents400Response.js +1 -1
  23. package/dist/model/GetRecentEvents400ResponseError.js +1 -1
  24. package/dist/model/Media.js +1 -1
  25. package/dist/model/Model400ErrorCode.js +1 -1
  26. package/dist/model/Query422Response.js +1 -1
  27. package/dist/model/Query422ResponseError.js +1 -1
  28. package/dist/model/QueryRequest.js +1 -1
  29. package/dist/model/QueryRequestFilters.js +1 -1
  30. package/dist/model/QueryResponse.js +1 -1
  31. package/dist/model/QueryResponseItemsInner.js +1 -1
  32. package/dist/model/ResetPassword200Response.js +1 -1
  33. package/dist/model/ResetPassword400Response.js +1 -1
  34. package/dist/model/SendValidationCode200Response.js +1 -1
  35. package/dist/model/SignInWithEmail200Response.js +1 -1
  36. package/dist/model/SignInWithEmail200ResponsePodInfo.js +1 -1
  37. package/dist/model/SignInWithEmail200ResponseProfile.js +1 -1
  38. package/dist/model/SignInWithEmail200ResponseProfileAvatar.js +1 -1
  39. package/dist/model/SignUp200Response.js +1 -1
  40. package/dist/model/SignUpResponse.js +1 -1
  41. package/dist/model/UserDetails.js +1 -1
  42. package/dist/model/ValidateCode400Response.js +1 -1
  43. package/dist/model/ValidateCode400ResponseError.js +1 -1
  44. package/dist/model/ValidateCode412Response.js +1 -1
  45. package/package.json +1 -1
  46. package/dist/model/ConversationThreads200Response.js +0 -146
  47. package/dist/model/ConversationThreads200ResponseThreadsInner.js +0 -142
  48. package/dist/model/GetConversations200Response.js +0 -160
  49. package/dist/model/GetConversations200ResponseConversationInner.js +0 -107
  50. package/dist/model/GetConversations200ResponseConversationInnerAssistant.js +0 -228
  51. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInner.js +0 -141
  52. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.js +0 -212
  53. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js +0 -128
  54. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js +0 -128
  55. package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js +0 -188
  56. package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.js +0 -218
  57. package/dist/model/GetConversations200ResponseConversationInnerUser.js +0 -172
  58. package/dist/model/GetConversations200ResponseConversationInnerUserContext.js +0 -170
  59. package/dist/model/PostAdd.js +0 -175
  60. package/dist/model/SendSignInValidationCode200Response.js +0 -143
  61. package/dist/model/Threads.js +0 -142
  62. package/dist/model/ValidateCodeRequest.js +0 -160
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.16
14
+ - Package version: 1.0.18
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/)
@@ -108,12 +108,14 @@ Please follow the [installation](#installation) instruction and execute the foll
108
108
  ```javascript
109
109
  var XfloorFloorMemorySdkJs = require('@xfloor/floor-memory-sdk-js');
110
110
 
111
+ var defaultClient = XfloorFloorMemorySdkJs.ApiClient.instance;
112
+ // Configure Bearer access token for authorization: bearer
113
+ var bearer = defaultClient.authentications['bearer'];
114
+ bearer.accessToken = "YOUR ACCESS TOKEN"
111
115
 
112
116
  var api = new XfloorFloorMemorySdkJs.DefaultApi()
113
- var inputInfo = "inputInfo_example"; // {String}
114
- var opts = {
115
- 'icon': "/path/to/file" // {File}
116
- };
117
+ var newEmailId = "newEmailId_example"; // {String} New Email ID
118
+ var activationCode = "activationCode_example"; // {String} Validation code
117
119
  var callback = function(error, data, response) {
118
120
  if (error) {
119
121
  console.error(error);
@@ -121,7 +123,7 @@ var callback = function(error, data, response) {
121
123
  console.log('API called successfully. Returned data: ' + data);
122
124
  }
123
125
  };
124
- api.apiDeveloperCreateAppPost(inputInfo, opts, callback);
126
+ api.changeEmail(newEmailId, activationCode, callback);
125
127
 
126
128
  ```
127
129
 
@@ -129,19 +131,13 @@ api.apiDeveloperCreateAppPost(inputInfo, opts, callback);
129
131
 
130
132
  | Class | Method | HTTP request | Description |
131
133
  | --- | --- | --- | --- |
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
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
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
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
137
  | `XfloorFloorMemorySdkJs.DefaultApi` | [**makeFloorPrivate**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#makeFloorPrivate) | **POST** /api/memory/make/floor/private/{floor_id} | Make floor Private |
140
138
  | `XfloorFloorMemorySdkJs.DefaultApi` | [**makeFloorPublic**](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/DefaultApi.md#makeFloorPublic) | **POST** /api/memory/make/floor/public/{floor_id} | 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
139
  | `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
140
  | `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
141
  | `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
142
  | `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
143
  | `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 |
@@ -157,25 +153,12 @@ api.apiDeveloperCreateAppPost(inputInfo, opts, callback);
157
153
 
158
154
  - [XfloorFloorMemorySdkJs.BlockDetails](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/BlockDetails.md)
159
155
  - [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
156
  - [XfloorFloorMemorySdkJs.EditFloor400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/EditFloor400Response.md)
163
157
  - [XfloorFloorMemorySdkJs.EditFloor400ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/EditFloor400ResponseError.md)
164
158
  - [XfloorFloorMemorySdkJs.Event400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Event400Response.md)
165
159
  - [XfloorFloorMemorySdkJs.Event400ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Event400ResponseError.md)
166
160
  - [XfloorFloorMemorySdkJs.EventResponse](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/EventResponse.md)
167
161
  - [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
162
  - [XfloorFloorMemorySdkJs.GetFloorInformation200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetFloorInformation200Response.md)
180
163
  - [XfloorFloorMemorySdkJs.GetRecentEvents200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEvents200Response.md)
181
164
  - [XfloorFloorMemorySdkJs.GetRecentEvents200ResponseItemsInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEvents200ResponseItemsInner.md)
@@ -184,7 +167,6 @@ api.apiDeveloperCreateAppPost(inputInfo, opts, callback);
184
167
  - [XfloorFloorMemorySdkJs.GetRecentEvents400ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/GetRecentEvents400ResponseError.md)
185
168
  - [XfloorFloorMemorySdkJs.Media](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Media.md)
186
169
  - [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
170
  - [XfloorFloorMemorySdkJs.Query422Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Query422Response.md)
189
171
  - [XfloorFloorMemorySdkJs.Query422ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Query422ResponseError.md)
190
172
  - [XfloorFloorMemorySdkJs.QueryRequest](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryRequest.md)
@@ -193,7 +175,6 @@ api.apiDeveloperCreateAppPost(inputInfo, opts, callback);
193
175
  - [XfloorFloorMemorySdkJs.QueryResponseItemsInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryResponseItemsInner.md)
194
176
  - [XfloorFloorMemorySdkJs.ResetPassword200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ResetPassword200Response.md)
195
177
  - [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
178
  - [XfloorFloorMemorySdkJs.SendValidationCode200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SendValidationCode200Response.md)
198
179
  - [XfloorFloorMemorySdkJs.SignInWithEmail200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignInWithEmail200Response.md)
199
180
  - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponsePodInfo](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignInWithEmail200ResponsePodInfo.md)
@@ -201,12 +182,10 @@ api.apiDeveloperCreateAppPost(inputInfo, opts, callback);
201
182
  - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponseProfileAvatar](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignInWithEmail200ResponseProfileAvatar.md)
202
183
  - [XfloorFloorMemorySdkJs.SignUp200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignUp200Response.md)
203
184
  - [XfloorFloorMemorySdkJs.SignUpResponse](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SignUpResponse.md)
204
- - [XfloorFloorMemorySdkJs.Threads](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Threads.md)
205
185
  - [XfloorFloorMemorySdkJs.UserDetails](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/UserDetails.md)
206
186
  - [XfloorFloorMemorySdkJs.ValidateCode400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ValidateCode400Response.md)
207
187
  - [XfloorFloorMemorySdkJs.ValidateCode400ResponseError](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ValidateCode400ResponseError.md)
208
188
  - [XfloorFloorMemorySdkJs.ValidateCode412Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ValidateCode412Response.md)
209
- - [XfloorFloorMemorySdkJs.ValidateCodeRequest](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ValidateCodeRequest.md)
210
189
 
211
190
 
212
191
  ### 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.16
30
+ * @version 1.0.18
31
31
  */
32
32
  /**
33
33
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -43,12 +43,12 @@ var ApiClient = /*#__PURE__*/function () {
43
43
  * @param {String} basePath
44
44
  */
45
45
  function ApiClient() {
46
- var basePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'https://appfloor.in';
46
+ var basePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'https://floortv.in';
47
47
  _classCallCheck(this, ApiClient);
48
48
  /**
49
49
  * The base URL against which to resolve every API call's (relative) path.
50
50
  * @type {String}
51
- * @default https://appfloor.in
51
+ * @default https://floortv.in
52
52
  */
53
53
  this.basePath = basePath.replace(/\/+$/, '');
54
54
 
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
68
68
  * @default {}
69
69
  */
70
70
  this.defaultHeaders = {
71
- 'User-Agent': 'OpenAPI-Generator/1.0.16/Javascript'
71
+ 'User-Agent': 'OpenAPI-Generator/1.0.18/Javascript'
72
72
  };
73
73
 
74
74
  /**
@@ -524,8 +524,8 @@ var ApiClient = /*#__PURE__*/function () {
524
524
  */
525
525
  function hostSettings() {
526
526
  return [{
527
- 'url': "https://appfloor.in",
528
- 'description': "Prod Env"
527
+ 'url': "https://floortv.in",
528
+ 'description': "Testing Env"
529
529
  }];
530
530
  }
531
531
  }, {