@openfilz-sdk/typescript-ee 1.9.5 → 1.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +10 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +10 -2
- package/api/aichat-api.ts +228 -0
- package/dist/api/aichat-api.d.ts +103 -0
- package/dist/api/aichat-api.js +213 -0
- package/dist/esm/api/aichat-api.d.ts +103 -0
- package/dist/esm/api/aichat-api.js +213 -0
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/models/item-result.d.ts +16 -0
- package/dist/esm/models/item-result.js +14 -0
- package/dist/esm/models/item.d.ts +21 -0
- package/dist/esm/models/item.js +14 -0
- package/dist/esm/models/reorganization-apply-request.d.ts +14 -0
- package/dist/esm/models/reorganization-apply-request.js +14 -0
- package/dist/esm/models/reorganization-apply-result.d.ts +22 -0
- package/dist/esm/models/reorganization-apply-result.js +14 -0
- package/dist/esm/models/reorganization-plan-view.d.ts +28 -0
- package/dist/esm/models/reorganization-plan-view.js +14 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/item-result.d.ts +16 -0
- package/dist/models/item-result.js +15 -0
- package/dist/models/item.d.ts +21 -0
- package/dist/models/item.js +15 -0
- package/dist/models/reorganization-apply-request.d.ts +14 -0
- package/dist/models/reorganization-apply-request.js +15 -0
- package/dist/models/reorganization-apply-result.d.ts +22 -0
- package/dist/models/reorganization-apply-result.js +15 -0
- package/dist/models/reorganization-plan-view.d.ts +28 -0
- package/dist/models/reorganization-plan-view.js +15 -0
- package/docs/AIChatApi.md +159 -0
- package/docs/Item.md +34 -0
- package/docs/ItemResult.md +24 -0
- package/docs/ReorganizationApplyRequest.md +20 -0
- package/docs/ReorganizationApplyResult.md +34 -0
- package/docs/ReorganizationPlanView.md +44 -0
- package/models/index.ts +5 -0
- package/models/item-result.ts +22 -0
- package/models/item.ts +27 -0
- package/models/reorganization-apply-request.ts +20 -0
- package/models/reorganization-apply-result.ts +30 -0
- package/models/reorganization-plan-view.ts +38 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -107,6 +107,8 @@ docs/FolderElementInfo.md
|
|
|
107
107
|
docs/FolderResponse.md
|
|
108
108
|
docs/IngestionStatusDto.md
|
|
109
109
|
docs/InstantiateTemplateRequest.md
|
|
110
|
+
docs/Item.md
|
|
111
|
+
docs/ItemResult.md
|
|
110
112
|
docs/LicenseInfo.md
|
|
111
113
|
docs/ListAiModelsRequest.md
|
|
112
114
|
docs/McpAgentTokenInfo.md
|
|
@@ -134,6 +136,9 @@ docs/PdfTransformAudit.md
|
|
|
134
136
|
docs/PublicSignatureView.md
|
|
135
137
|
docs/RenameAudit.md
|
|
136
138
|
docs/RenameRequest.md
|
|
139
|
+
docs/ReorganizationApplyRequest.md
|
|
140
|
+
docs/ReorganizationApplyResult.md
|
|
141
|
+
docs/ReorganizationPlanView.md
|
|
137
142
|
docs/ReplaceAudit.md
|
|
138
143
|
docs/Response.md
|
|
139
144
|
docs/RestoreVersionAudit.md
|
|
@@ -249,6 +254,8 @@ models/folder-response.ts
|
|
|
249
254
|
models/index.ts
|
|
250
255
|
models/ingestion-status-dto.ts
|
|
251
256
|
models/instantiate-template-request.ts
|
|
257
|
+
models/item-result.ts
|
|
258
|
+
models/item.ts
|
|
252
259
|
models/license-info.ts
|
|
253
260
|
models/list-ai-models-request.ts
|
|
254
261
|
models/mcp-agent-token-info.ts
|
|
@@ -272,6 +279,9 @@ models/pdf-transform-audit.ts
|
|
|
272
279
|
models/public-signature-view.ts
|
|
273
280
|
models/rename-audit.ts
|
|
274
281
|
models/rename-request.ts
|
|
282
|
+
models/reorganization-apply-request.ts
|
|
283
|
+
models/reorganization-apply-result.ts
|
|
284
|
+
models/reorganization-plan-view.ts
|
|
275
285
|
models/replace-audit.ts
|
|
276
286
|
models/response.ts
|
|
277
287
|
models/restore-version-audit.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0536626c44a21a36df15d905e46d9a87cae5cd1f9ba1f6b8f3180f7bb9ab6c94
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.9.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.9.6
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.9.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.9.6 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -51,8 +51,11 @@ All URIs are relative to *http://localhost:8081*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*AIChatApi* | [**apply**](docs/AIChatApi.md#apply) | **POST** /api/v1/ai/reorganization/{planId}/apply | Apply a proposed reorganisation plan
|
|
54
55
|
*AIChatApi* | [**chat**](docs/AIChatApi.md#chat) | **POST** /api/v1/ai/chat | Chat with AI assistant
|
|
55
56
|
*AIChatApi* | [**deleteConversation**](docs/AIChatApi.md#deleteconversation) | **DELETE** /api/v1/ai/conversations/{conversationId} | Delete conversation
|
|
57
|
+
*AIChatApi* | [**discard**](docs/AIChatApi.md#discard) | **POST** /api/v1/ai/reorganization/{planId}/discard | Discard a proposed reorganisation plan
|
|
58
|
+
*AIChatApi* | [**get3**](docs/AIChatApi.md#get3) | **GET** /api/v1/ai/reorganization/{planId} | Get a reorganisation plan proposed by the AI assistant
|
|
56
59
|
*AIChatApi* | [**getConversationHistory**](docs/AIChatApi.md#getconversationhistory) | **GET** /api/v1/ai/conversations/{conversationId} | Get conversation history
|
|
57
60
|
*AIChatApi* | [**listConversations**](docs/AIChatApi.md#listconversations) | **GET** /api/v1/ai/conversations | List conversations
|
|
58
61
|
*AISettingsApi* | [**deleteSettings**](docs/AISettingsApi.md#deletesettings) | **DELETE** /api/v1/settings/ai | Reset my AI settings
|
|
@@ -257,6 +260,8 @@ Class | Method | HTTP request | Description
|
|
|
257
260
|
- [FolderResponse](docs/FolderResponse.md)
|
|
258
261
|
- [IngestionStatusDto](docs/IngestionStatusDto.md)
|
|
259
262
|
- [InstantiateTemplateRequest](docs/InstantiateTemplateRequest.md)
|
|
263
|
+
- [Item](docs/Item.md)
|
|
264
|
+
- [ItemResult](docs/ItemResult.md)
|
|
260
265
|
- [LicenseInfo](docs/LicenseInfo.md)
|
|
261
266
|
- [ListAiModelsRequest](docs/ListAiModelsRequest.md)
|
|
262
267
|
- [McpAgentTokenInfo](docs/McpAgentTokenInfo.md)
|
|
@@ -280,6 +285,9 @@ Class | Method | HTTP request | Description
|
|
|
280
285
|
- [PublicSignatureView](docs/PublicSignatureView.md)
|
|
281
286
|
- [RenameAudit](docs/RenameAudit.md)
|
|
282
287
|
- [RenameRequest](docs/RenameRequest.md)
|
|
288
|
+
- [ReorganizationApplyRequest](docs/ReorganizationApplyRequest.md)
|
|
289
|
+
- [ReorganizationApplyResult](docs/ReorganizationApplyResult.md)
|
|
290
|
+
- [ReorganizationPlanView](docs/ReorganizationPlanView.md)
|
|
283
291
|
- [ReplaceAudit](docs/ReplaceAudit.md)
|
|
284
292
|
- [Response](docs/Response.md)
|
|
285
293
|
- [RestoreVersionAudit](docs/RestoreVersionAudit.md)
|
package/api/aichat-api.ts
CHANGED
|
@@ -27,11 +27,58 @@ import type { AiChatConversation } from '../models';
|
|
|
27
27
|
import type { AiChatRequest } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import type { AiChatResponse } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { ReorganizationApplyRequest } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { ReorganizationApplyResult } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { ReorganizationPlanView } from '../models';
|
|
30
36
|
/**
|
|
31
37
|
* AIChatApi - axios parameter creator
|
|
32
38
|
*/
|
|
33
39
|
export const AIChatApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
40
|
return {
|
|
41
|
+
/**
|
|
42
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
43
|
+
* @summary Apply a proposed reorganisation plan
|
|
44
|
+
* @param {string} planId
|
|
45
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
apply: async (planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'planId' is not null or undefined
|
|
51
|
+
assertParamExists('apply', 'planId', planId)
|
|
52
|
+
const localVarPath = `/api/v1/ai/reorganization/{planId}/apply`
|
|
53
|
+
.replace('{planId}', encodeURIComponent(String(planId)));
|
|
54
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56
|
+
let baseOptions;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
62
|
+
const localVarHeaderParameter = {} as any;
|
|
63
|
+
const localVarQueryParameter = {} as any;
|
|
64
|
+
|
|
65
|
+
// authentication keycloak_auth required
|
|
66
|
+
// http bearer authentication required
|
|
67
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
|
+
|
|
69
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
71
|
+
|
|
72
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
73
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
74
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
75
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reorganizationApplyRequest, localVarRequestOptions, configuration)
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
url: toPathString(localVarUrlObj),
|
|
79
|
+
options: localVarRequestOptions,
|
|
80
|
+
};
|
|
81
|
+
},
|
|
35
82
|
/**
|
|
36
83
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
37
84
|
* @summary Chat with AI assistant
|
|
@@ -99,6 +146,82 @@ export const AIChatApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
99
146
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
100
147
|
|
|
101
148
|
|
|
149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
152
|
+
|
|
153
|
+
return {
|
|
154
|
+
url: toPathString(localVarUrlObj),
|
|
155
|
+
options: localVarRequestOptions,
|
|
156
|
+
};
|
|
157
|
+
},
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @summary Discard a proposed reorganisation plan
|
|
161
|
+
* @param {string} planId
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
discard: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
166
|
+
// verify required parameter 'planId' is not null or undefined
|
|
167
|
+
assertParamExists('discard', 'planId', planId)
|
|
168
|
+
const localVarPath = `/api/v1/ai/reorganization/{planId}/discard`
|
|
169
|
+
.replace('{planId}', encodeURIComponent(String(planId)));
|
|
170
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
171
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
172
|
+
let baseOptions;
|
|
173
|
+
if (configuration) {
|
|
174
|
+
baseOptions = configuration.baseOptions;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
178
|
+
const localVarHeaderParameter = {} as any;
|
|
179
|
+
const localVarQueryParameter = {} as any;
|
|
180
|
+
|
|
181
|
+
// authentication keycloak_auth required
|
|
182
|
+
// http bearer authentication required
|
|
183
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
184
|
+
|
|
185
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
186
|
+
|
|
187
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
190
|
+
|
|
191
|
+
return {
|
|
192
|
+
url: toPathString(localVarUrlObj),
|
|
193
|
+
options: localVarRequestOptions,
|
|
194
|
+
};
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
198
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
199
|
+
* @param {string} planId
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
get3: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
|
+
// verify required parameter 'planId' is not null or undefined
|
|
205
|
+
assertParamExists('get3', 'planId', planId)
|
|
206
|
+
const localVarPath = `/api/v1/ai/reorganization/{planId}`
|
|
207
|
+
.replace('{planId}', encodeURIComponent(String(planId)));
|
|
208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
209
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
210
|
+
let baseOptions;
|
|
211
|
+
if (configuration) {
|
|
212
|
+
baseOptions = configuration.baseOptions;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
216
|
+
const localVarHeaderParameter = {} as any;
|
|
217
|
+
const localVarQueryParameter = {} as any;
|
|
218
|
+
|
|
219
|
+
// authentication keycloak_auth required
|
|
220
|
+
// http bearer authentication required
|
|
221
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
222
|
+
|
|
223
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
224
|
+
|
|
102
225
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103
226
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
227
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -189,6 +312,20 @@ export const AIChatApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
189
312
|
export const AIChatApiFp = function(configuration?: Configuration) {
|
|
190
313
|
const localVarAxiosParamCreator = AIChatApiAxiosParamCreator(configuration)
|
|
191
314
|
return {
|
|
315
|
+
/**
|
|
316
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
317
|
+
* @summary Apply a proposed reorganisation plan
|
|
318
|
+
* @param {string} planId
|
|
319
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
async apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationApplyResult>> {
|
|
324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apply(planId, reorganizationApplyRequest, options);
|
|
325
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
326
|
+
const localVarOperationServerBasePath = operationServerMap['AIChatApi.apply']?.[localVarOperationServerIndex]?.url;
|
|
327
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
|
+
},
|
|
192
329
|
/**
|
|
193
330
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
194
331
|
* @summary Chat with AI assistant
|
|
@@ -215,6 +352,32 @@ export const AIChatApiFp = function(configuration?: Configuration) {
|
|
|
215
352
|
const localVarOperationServerBasePath = operationServerMap['AIChatApi.deleteConversation']?.[localVarOperationServerIndex]?.url;
|
|
216
353
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
217
354
|
},
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary Discard a proposed reorganisation plan
|
|
358
|
+
* @param {string} planId
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
async discard(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
|
|
363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discard(planId, options);
|
|
364
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
365
|
+
const localVarOperationServerBasePath = operationServerMap['AIChatApi.discard']?.[localVarOperationServerIndex]?.url;
|
|
366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
367
|
+
},
|
|
368
|
+
/**
|
|
369
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
370
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
371
|
+
* @param {string} planId
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
async get3(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
|
|
376
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get3(planId, options);
|
|
377
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
378
|
+
const localVarOperationServerBasePath = operationServerMap['AIChatApi.get3']?.[localVarOperationServerIndex]?.url;
|
|
379
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
380
|
+
},
|
|
218
381
|
/**
|
|
219
382
|
* Get all messages in a conversation
|
|
220
383
|
* @summary Get conversation history
|
|
@@ -249,6 +412,17 @@ export const AIChatApiFp = function(configuration?: Configuration) {
|
|
|
249
412
|
export const AIChatApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
250
413
|
const localVarFp = AIChatApiFp(configuration)
|
|
251
414
|
return {
|
|
415
|
+
/**
|
|
416
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
417
|
+
* @summary Apply a proposed reorganisation plan
|
|
418
|
+
* @param {string} planId
|
|
419
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationApplyResult> {
|
|
424
|
+
return localVarFp.apply(planId, reorganizationApplyRequest, options).then((request) => request(axios, basePath));
|
|
425
|
+
},
|
|
252
426
|
/**
|
|
253
427
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
254
428
|
* @summary Chat with AI assistant
|
|
@@ -269,6 +443,26 @@ export const AIChatApiFactory = function (configuration?: Configuration, basePat
|
|
|
269
443
|
deleteConversation(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
270
444
|
return localVarFp.deleteConversation(conversationId, options).then((request) => request(axios, basePath));
|
|
271
445
|
},
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @summary Discard a proposed reorganisation plan
|
|
449
|
+
* @param {string} planId
|
|
450
|
+
* @param {*} [options] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
*/
|
|
453
|
+
discard(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
|
|
454
|
+
return localVarFp.discard(planId, options).then((request) => request(axios, basePath));
|
|
455
|
+
},
|
|
456
|
+
/**
|
|
457
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
458
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
459
|
+
* @param {string} planId
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
*/
|
|
463
|
+
get3(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
|
|
464
|
+
return localVarFp.get3(planId, options).then((request) => request(axios, basePath));
|
|
465
|
+
},
|
|
272
466
|
/**
|
|
273
467
|
* Get all messages in a conversation
|
|
274
468
|
* @summary Get conversation history
|
|
@@ -295,6 +489,18 @@ export const AIChatApiFactory = function (configuration?: Configuration, basePat
|
|
|
295
489
|
* AIChatApi - object-oriented interface
|
|
296
490
|
*/
|
|
297
491
|
export class AIChatApi extends BaseAPI {
|
|
492
|
+
/**
|
|
493
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
494
|
+
* @summary Apply a proposed reorganisation plan
|
|
495
|
+
* @param {string} planId
|
|
496
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
public apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig) {
|
|
501
|
+
return AIChatApiFp(this.configuration).apply(planId, reorganizationApplyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
502
|
+
}
|
|
503
|
+
|
|
298
504
|
/**
|
|
299
505
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
300
506
|
* @summary Chat with AI assistant
|
|
@@ -317,6 +523,28 @@ export class AIChatApi extends BaseAPI {
|
|
|
317
523
|
return AIChatApiFp(this.configuration).deleteConversation(conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
318
524
|
}
|
|
319
525
|
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @summary Discard a proposed reorganisation plan
|
|
529
|
+
* @param {string} planId
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
public discard(planId: string, options?: RawAxiosRequestConfig) {
|
|
534
|
+
return AIChatApiFp(this.configuration).discard(planId, options).then((request) => request(this.axios, this.basePath));
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
539
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
540
|
+
* @param {string} planId
|
|
541
|
+
* @param {*} [options] Override http request option.
|
|
542
|
+
* @throws {RequiredError}
|
|
543
|
+
*/
|
|
544
|
+
public get3(planId: string, options?: RawAxiosRequestConfig) {
|
|
545
|
+
return AIChatApiFp(this.configuration).get3(planId, options).then((request) => request(this.axios, this.basePath));
|
|
546
|
+
}
|
|
547
|
+
|
|
320
548
|
/**
|
|
321
549
|
* Get all messages in a conversation
|
|
322
550
|
* @summary Get conversation history
|
package/dist/api/aichat-api.d.ts
CHANGED
|
@@ -15,10 +15,22 @@ import { type RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import type { AiChatConversation } from '../models';
|
|
16
16
|
import type { AiChatRequest } from '../models';
|
|
17
17
|
import type { AiChatResponse } from '../models';
|
|
18
|
+
import type { ReorganizationApplyRequest } from '../models';
|
|
19
|
+
import type { ReorganizationApplyResult } from '../models';
|
|
20
|
+
import type { ReorganizationPlanView } from '../models';
|
|
18
21
|
/**
|
|
19
22
|
* AIChatApi - axios parameter creator
|
|
20
23
|
*/
|
|
21
24
|
export declare const AIChatApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
27
|
+
* @summary Apply a proposed reorganisation plan
|
|
28
|
+
* @param {string} planId
|
|
29
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
apply: (planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
34
|
/**
|
|
23
35
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
24
36
|
* @summary Chat with AI assistant
|
|
@@ -35,6 +47,22 @@ export declare const AIChatApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
35
47
|
* @throws {RequiredError}
|
|
36
48
|
*/
|
|
37
49
|
deleteConversation: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Discard a proposed reorganisation plan
|
|
53
|
+
* @param {string} planId
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
discard: (planId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
60
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
61
|
+
* @param {string} planId
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
get3: (planId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
66
|
/**
|
|
39
67
|
* Get all messages in a conversation
|
|
40
68
|
* @summary Get conversation history
|
|
@@ -55,6 +83,15 @@ export declare const AIChatApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
55
83
|
* AIChatApi - functional programming interface
|
|
56
84
|
*/
|
|
57
85
|
export declare const AIChatApiFp: (configuration?: Configuration) => {
|
|
86
|
+
/**
|
|
87
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
88
|
+
* @summary Apply a proposed reorganisation plan
|
|
89
|
+
* @param {string} planId
|
|
90
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationApplyResult>>;
|
|
58
95
|
/**
|
|
59
96
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
60
97
|
* @summary Chat with AI assistant
|
|
@@ -71,6 +108,22 @@ export declare const AIChatApiFp: (configuration?: Configuration) => {
|
|
|
71
108
|
* @throws {RequiredError}
|
|
72
109
|
*/
|
|
73
110
|
deleteConversation(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Discard a proposed reorganisation plan
|
|
114
|
+
* @param {string} planId
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
discard(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>>;
|
|
119
|
+
/**
|
|
120
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
121
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
122
|
+
* @param {string} planId
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
get3(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>>;
|
|
74
127
|
/**
|
|
75
128
|
* Get all messages in a conversation
|
|
76
129
|
* @summary Get conversation history
|
|
@@ -91,6 +144,15 @@ export declare const AIChatApiFp: (configuration?: Configuration) => {
|
|
|
91
144
|
* AIChatApi - factory interface
|
|
92
145
|
*/
|
|
93
146
|
export declare const AIChatApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
147
|
+
/**
|
|
148
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
149
|
+
* @summary Apply a proposed reorganisation plan
|
|
150
|
+
* @param {string} planId
|
|
151
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationApplyResult>;
|
|
94
156
|
/**
|
|
95
157
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
96
158
|
* @summary Chat with AI assistant
|
|
@@ -107,6 +169,22 @@ export declare const AIChatApiFactory: (configuration?: Configuration, basePath?
|
|
|
107
169
|
* @throws {RequiredError}
|
|
108
170
|
*/
|
|
109
171
|
deleteConversation(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Discard a proposed reorganisation plan
|
|
175
|
+
* @param {string} planId
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
discard(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView>;
|
|
180
|
+
/**
|
|
181
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
182
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
183
|
+
* @param {string} planId
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
get3(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView>;
|
|
110
188
|
/**
|
|
111
189
|
* Get all messages in a conversation
|
|
112
190
|
* @summary Get conversation history
|
|
@@ -127,6 +205,15 @@ export declare const AIChatApiFactory: (configuration?: Configuration, basePath?
|
|
|
127
205
|
* AIChatApi - object-oriented interface
|
|
128
206
|
*/
|
|
129
207
|
export declare class AIChatApi extends BaseAPI {
|
|
208
|
+
/**
|
|
209
|
+
* Creates the missing folders and moves the selected items (all applicable items when none is given).
|
|
210
|
+
* @summary Apply a proposed reorganisation plan
|
|
211
|
+
* @param {string} planId
|
|
212
|
+
* @param {ReorganizationApplyRequest} [reorganizationApplyRequest]
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
apply(planId: string, reorganizationApplyRequest?: ReorganizationApplyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReorganizationApplyResult, any, {}, any>>;
|
|
130
217
|
/**
|
|
131
218
|
* Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
|
|
132
219
|
* @summary Chat with AI assistant
|
|
@@ -143,6 +230,22 @@ export declare class AIChatApi extends BaseAPI {
|
|
|
143
230
|
* @throws {RequiredError}
|
|
144
231
|
*/
|
|
145
232
|
deleteConversation(conversationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @summary Discard a proposed reorganisation plan
|
|
236
|
+
* @param {string} planId
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
*/
|
|
240
|
+
discard(planId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReorganizationPlanView, any, {}, any>>;
|
|
241
|
+
/**
|
|
242
|
+
* The plan\'s items (what moves where), which are applicable, and its status.
|
|
243
|
+
* @summary Get a reorganisation plan proposed by the AI assistant
|
|
244
|
+
* @param {string} planId
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
get3(planId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReorganizationPlanView, any, {}, any>>;
|
|
146
249
|
/**
|
|
147
250
|
* Get all messages in a conversation
|
|
148
251
|
* @summary Get conversation history
|