@knowledge-stack/ksapi 1.103.1 → 1.103.3

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.103.1
1
+ # @knowledge-stack/ksapi@1.103.3
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -574,7 +574,7 @@ and is automatically generated by the
574
574
  [OpenAPI Generator](https://openapi-generator.tech) project:
575
575
 
576
576
  - API version: `0.1.0`
577
- - Package version: `1.103.1`
577
+ - Package version: `1.103.3`
578
578
  - Generator version: `7.21.0`
579
579
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
580
580
 
@@ -60,7 +60,7 @@ export interface ThreadsApiInterface {
60
60
  */
61
61
  createThreadRequestOpts(requestParameters: CreateThreadOperationRequest): Promise<runtime.RequestOpts>;
62
62
  /**
63
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
63
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
64
64
  * @summary Create Thread Handler
65
65
  * @param {CreateThreadRequest} createThreadRequest
66
66
  * @param {*} [options] Override http request option.
@@ -69,7 +69,7 @@ export interface ThreadsApiInterface {
69
69
  */
70
70
  createThreadRaw(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ThreadResponse>>;
71
71
  /**
72
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
72
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
73
73
  * Create Thread Handler
74
74
  */
75
75
  createThread(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ThreadResponse>;
@@ -235,12 +235,12 @@ export declare class ThreadsApi extends runtime.BaseAPI implements ThreadsApiInt
235
235
  */
236
236
  createThreadRequestOpts(requestParameters: CreateThreadOperationRequest): Promise<runtime.RequestOpts>;
237
237
  /**
238
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
238
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
239
239
  * Create Thread Handler
240
240
  */
241
241
  createThreadRaw(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ThreadResponse>>;
242
242
  /**
243
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
243
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
244
244
  * Create Thread Handler
245
245
  */
246
246
  createThread(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ThreadResponse>;
@@ -91,7 +91,7 @@ class ThreadsApi extends runtime.BaseAPI {
91
91
  });
92
92
  }
93
93
  /**
94
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
94
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
95
95
  * Create Thread Handler
96
96
  */
97
97
  createThreadRaw(requestParameters, initOverrides) {
@@ -102,7 +102,7 @@ class ThreadsApi extends runtime.BaseAPI {
102
102
  });
103
103
  }
104
104
  /**
105
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
105
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
106
106
  * Create Thread Handler
107
107
  */
108
108
  createThread(requestParameters, initOverrides) {
@@ -60,7 +60,7 @@ export interface ThreadsApiInterface {
60
60
  */
61
61
  createThreadRequestOpts(requestParameters: CreateThreadOperationRequest): Promise<runtime.RequestOpts>;
62
62
  /**
63
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
63
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
64
64
  * @summary Create Thread Handler
65
65
  * @param {CreateThreadRequest} createThreadRequest
66
66
  * @param {*} [options] Override http request option.
@@ -69,7 +69,7 @@ export interface ThreadsApiInterface {
69
69
  */
70
70
  createThreadRaw(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ThreadResponse>>;
71
71
  /**
72
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
72
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
73
73
  * Create Thread Handler
74
74
  */
75
75
  createThread(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ThreadResponse>;
@@ -235,12 +235,12 @@ export declare class ThreadsApi extends runtime.BaseAPI implements ThreadsApiInt
235
235
  */
236
236
  createThreadRequestOpts(requestParameters: CreateThreadOperationRequest): Promise<runtime.RequestOpts>;
237
237
  /**
238
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
238
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
239
239
  * Create Thread Handler
240
240
  */
241
241
  createThreadRaw(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ThreadResponse>>;
242
242
  /**
243
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
243
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
244
244
  * Create Thread Handler
245
245
  */
246
246
  createThread(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ThreadResponse>;
@@ -55,7 +55,7 @@ export class ThreadsApi extends runtime.BaseAPI {
55
55
  });
56
56
  }
57
57
  /**
58
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
58
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
59
59
  * Create Thread Handler
60
60
  */
61
61
  createThreadRaw(requestParameters, initOverrides) {
@@ -66,7 +66,7 @@ export class ThreadsApi extends runtime.BaseAPI {
66
66
  });
67
67
  }
68
68
  /**
69
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
69
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
70
70
  * Create Thread Handler
71
71
  */
72
72
  createThread(requestParameters, initOverrides) {
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:8000*
20
20
 
21
21
  Create Thread Handler
22
22
 
23
- Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\&#39;s /users/{user_id}/threads/ folder (auto-provisioned if needed).
23
+ Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\&#39;s /users/{user_id}/threads/ folder (auto-provisioned if needed). With &#x60;&#x60;message_for_title&#x60;&#x60;, the thread is created as \&quot;New Thread\&quot; and its title is summarized in a background task; the FE learns the final title via a &#x60;&#x60;THREAD_TITLE_CHANGED&#x60;&#x60; WebSocket event.
24
24
 
25
25
  ### Example
26
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.103.1",
3
+ "version": "1.103.3",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -106,7 +106,7 @@ export interface ThreadsApiInterface {
106
106
  createThreadRequestOpts(requestParameters: CreateThreadOperationRequest): Promise<runtime.RequestOpts>;
107
107
 
108
108
  /**
109
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
109
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
110
110
  * @summary Create Thread Handler
111
111
  * @param {CreateThreadRequest} createThreadRequest
112
112
  * @param {*} [options] Override http request option.
@@ -116,7 +116,7 @@ export interface ThreadsApiInterface {
116
116
  createThreadRaw(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ThreadResponse>>;
117
117
 
118
118
  /**
119
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
119
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
120
120
  * Create Thread Handler
121
121
  */
122
122
  createThread(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ThreadResponse>;
@@ -336,7 +336,7 @@ export class ThreadsApi extends runtime.BaseAPI implements ThreadsApiInterface {
336
336
  }
337
337
 
338
338
  /**
339
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
339
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
340
340
  * Create Thread Handler
341
341
  */
342
342
  async createThreadRaw(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ThreadResponse>> {
@@ -347,7 +347,7 @@ export class ThreadsApi extends runtime.BaseAPI implements ThreadsApiInterface {
347
347
  }
348
348
 
349
349
  /**
350
- * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed).
350
+ * Create a new thread. If parent_path_part_id is omitted, the thread is created under the user\'s /users/{user_id}/threads/ folder (auto-provisioned if needed). With ``message_for_title``, the thread is created as \"New Thread\" and its title is summarized in a background task; the FE learns the final title via a ``THREAD_TITLE_CHANGED`` WebSocket event.
351
351
  * Create Thread Handler
352
352
  */
353
353
  async createThread(requestParameters: CreateThreadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ThreadResponse> {