@openfilz-sdk/typescript-ee 1.12.10 → 1.12.11

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.
@@ -176,6 +176,8 @@ docs/FilterInput.md
176
176
  docs/FolderControllerApi.md
177
177
  docs/FolderElementInfo.md
178
178
  docs/FolderResponse.md
179
+ docs/FolderSelectionByKindRequest.md
180
+ docs/FolderSelectionByKindResponse.md
179
181
  docs/ForeignItem.md
180
182
  docs/IngestionStatusDto.md
181
183
  docs/InsightBackfillRequest.md
@@ -422,6 +424,8 @@ models/filing.ts
422
424
  models/filter-input.ts
423
425
  models/folder-element-info.ts
424
426
  models/folder-response.ts
427
+ models/folder-selection-by-kind-request.ts
428
+ models/folder-selection-by-kind-response.ts
425
429
  models/foreign-item.ts
426
430
  models/index.ts
427
431
  models/ingestion-status-dto.ts
@@ -1 +1 @@
1
- d984fc602a0319de1edd48de431a42c08a6acf515cfb6947f9bfa308a62ff0ce
1
+ b4878af7154d9ba50f4fe2430decde7d407aace3178d1baa6c8889aecfdaf83e
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript-ee@1.12.10
1
+ ## @openfilz-sdk/typescript-ee@1.12.11
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.12.10 --save
39
+ npm install @openfilz-sdk/typescript-ee@1.12.11 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -58,7 +58,8 @@ Class | Method | HTTP request | Description
58
58
  *AIChatApi* | [**get9**](docs/AIChatApi.md#get9) | **GET** /api/v1/ai/reorganization/{planId} | Get a reorganisation plan proposed by the AI assistant
59
59
  *AIChatApi* | [**getConversationHistory**](docs/AIChatApi.md#getconversationhistory) | **GET** /api/v1/ai/conversations/{conversationId} | Get conversation history
60
60
  *AIChatApi* | [**listConversations**](docs/AIChatApi.md#listconversations) | **GET** /api/v1/ai/conversations | List conversations
61
- *AIChatApi* | [**proposeByKind**](docs/AIChatApi.md#proposebykind) | **POST** /api/v1/ai/reorganization/by-kind | Propose a reorganisation by kind of document — no model involved
61
+ *AIChatApi* | [**proposeByKind**](docs/AIChatApi.md#proposebykind) | **POST** /api/v1/ai/reorganization/folders/by-kind | Organise several folders by kind of document as one plan — no model involved
62
+ *AIChatApi* | [**proposeByKind1**](docs/AIChatApi.md#proposebykind1) | **POST** /api/v1/ai/reorganization/by-kind | Propose a reorganisation by kind of document — no model involved
62
63
  *AIDirectoryApi* | [**teams**](docs/AIDirectoryApi.md#teams) | **GET** /api/v1/admin/ai/directory/teams | The teams of the DMS database (the ids the AI features store)
63
64
  *AIEmbeddingsApi* | [**backfill1**](docs/AIEmbeddingsApi.md#backfill1) | **POST** /api/v1/ai/embeddings/backfill | Embed existing documents
64
65
  *AIEmbeddingsApi* | [**backfillStatus1**](docs/AIEmbeddingsApi.md#backfillstatus1) | **GET** /api/v1/ai/embeddings/backfill/{jobId} | Progress of an embedding backfill job
@@ -397,6 +398,8 @@ Class | Method | HTTP request | Description
397
398
  - [FilterInput](docs/FilterInput.md)
398
399
  - [FolderElementInfo](docs/FolderElementInfo.md)
399
400
  - [FolderResponse](docs/FolderResponse.md)
401
+ - [FolderSelectionByKindRequest](docs/FolderSelectionByKindRequest.md)
402
+ - [FolderSelectionByKindResponse](docs/FolderSelectionByKindResponse.md)
400
403
  - [ForeignItem](docs/ForeignItem.md)
401
404
  - [IngestionStatusDto](docs/IngestionStatusDto.md)
402
405
  - [InsightBackfillRequest](docs/InsightBackfillRequest.md)
package/api/aichat-api.ts CHANGED
@@ -28,6 +28,10 @@ import type { AiChatRequest } from '../models';
28
28
  // @ts-ignore
29
29
  import type { AiChatResponse } from '../models';
30
30
  // @ts-ignore
31
+ import type { FolderSelectionByKindRequest } from '../models';
32
+ // @ts-ignore
33
+ import type { FolderSelectionByKindResponse } from '../models';
34
+ // @ts-ignore
31
35
  import type { ReorganizationApplyRequest } from '../models';
32
36
  // @ts-ignore
33
37
  import type { ReorganizationApplyResult } from '../models';
@@ -305,6 +309,43 @@ export const AIChatApiAxiosParamCreator = function (configuration?: Configuratio
305
309
  options: localVarRequestOptions,
306
310
  };
307
311
  },
312
+ /**
313
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
314
+ * @summary Organise several folders by kind of document as one plan — no model involved
315
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ proposeByKind: async (folderSelectionByKindRequest?: FolderSelectionByKindRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
320
+ const localVarPath = `/api/v1/ai/reorganization/folders/by-kind`;
321
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
322
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
323
+ let baseOptions;
324
+ if (configuration) {
325
+ baseOptions = configuration.baseOptions;
326
+ }
327
+
328
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
329
+ const localVarHeaderParameter = {} as any;
330
+ const localVarQueryParameter = {} as any;
331
+
332
+ // authentication keycloak_auth required
333
+ // http bearer authentication required
334
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
335
+
336
+ localVarHeaderParameter['Content-Type'] = 'application/json';
337
+ localVarHeaderParameter['Accept'] = 'application/json';
338
+
339
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
340
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
341
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
342
+ localVarRequestOptions.data = serializeDataIfNeeded(folderSelectionByKindRequest, localVarRequestOptions, configuration)
343
+
344
+ return {
345
+ url: toPathString(localVarUrlObj),
346
+ options: localVarRequestOptions,
347
+ };
348
+ },
308
349
  /**
309
350
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
310
351
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -312,7 +353,7 @@ export const AIChatApiAxiosParamCreator = function (configuration?: Configuratio
312
353
  * @param {*} [options] Override http request option.
313
354
  * @throws {RequiredError}
314
355
  */
315
- proposeByKind: async (reorganizationByKindRequest?: ReorganizationByKindRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
356
+ proposeByKind1: async (reorganizationByKindRequest?: ReorganizationByKindRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
316
357
  const localVarPath = `/api/v1/ai/reorganization/by-kind`;
317
358
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
318
359
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -442,6 +483,19 @@ export const AIChatApiFp = function(configuration?: Configuration) {
442
483
  const localVarOperationServerBasePath = operationServerMap['AIChatApi.listConversations']?.[localVarOperationServerIndex]?.url;
443
484
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
444
485
  },
486
+ /**
487
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
488
+ * @summary Organise several folders by kind of document as one plan — no model involved
489
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ async proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FolderSelectionByKindResponse>> {
494
+ const localVarAxiosArgs = await localVarAxiosParamCreator.proposeByKind(folderSelectionByKindRequest, options);
495
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
496
+ const localVarOperationServerBasePath = operationServerMap['AIChatApi.proposeByKind']?.[localVarOperationServerIndex]?.url;
497
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
498
+ },
445
499
  /**
446
500
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
447
501
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -449,10 +503,10 @@ export const AIChatApiFp = function(configuration?: Configuration) {
449
503
  * @param {*} [options] Override http request option.
450
504
  * @throws {RequiredError}
451
505
  */
452
- async proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
453
- const localVarAxiosArgs = await localVarAxiosParamCreator.proposeByKind(reorganizationByKindRequest, options);
506
+ async proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>> {
507
+ const localVarAxiosArgs = await localVarAxiosParamCreator.proposeByKind1(reorganizationByKindRequest, options);
454
508
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
455
- const localVarOperationServerBasePath = operationServerMap['AIChatApi.proposeByKind']?.[localVarOperationServerIndex]?.url;
509
+ const localVarOperationServerBasePath = operationServerMap['AIChatApi.proposeByKind1']?.[localVarOperationServerIndex]?.url;
456
510
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
457
511
  },
458
512
  }
@@ -534,6 +588,16 @@ export const AIChatApiFactory = function (configuration?: Configuration, basePat
534
588
  listConversations(options?: RawAxiosRequestConfig): AxiosPromise<Array<AiChatConversation>> {
535
589
  return localVarFp.listConversations(options).then((request) => request(axios, basePath));
536
590
  },
591
+ /**
592
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
593
+ * @summary Organise several folders by kind of document as one plan — no model involved
594
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
595
+ * @param {*} [options] Override http request option.
596
+ * @throws {RequiredError}
597
+ */
598
+ proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<FolderSelectionByKindResponse> {
599
+ return localVarFp.proposeByKind(folderSelectionByKindRequest, options).then((request) => request(axios, basePath));
600
+ },
537
601
  /**
538
602
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
539
603
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -541,8 +605,8 @@ export const AIChatApiFactory = function (configuration?: Configuration, basePat
541
605
  * @param {*} [options] Override http request option.
542
606
  * @throws {RequiredError}
543
607
  */
544
- proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
545
- return localVarFp.proposeByKind(reorganizationByKindRequest, options).then((request) => request(axios, basePath));
608
+ proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView> {
609
+ return localVarFp.proposeByKind1(reorganizationByKindRequest, options).then((request) => request(axios, basePath));
546
610
  },
547
611
  };
548
612
  };
@@ -628,6 +692,17 @@ export class AIChatApi extends BaseAPI {
628
692
  return AIChatApiFp(this.configuration).listConversations(options).then((request) => request(this.axios, this.basePath));
629
693
  }
630
694
 
695
+ /**
696
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
697
+ * @summary Organise several folders by kind of document as one plan — no model involved
698
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ */
702
+ public proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig) {
703
+ return AIChatApiFp(this.configuration).proposeByKind(folderSelectionByKindRequest, options).then((request) => request(this.axios, this.basePath));
704
+ }
705
+
631
706
  /**
632
707
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
633
708
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -635,8 +710,8 @@ export class AIChatApi extends BaseAPI {
635
710
  * @param {*} [options] Override http request option.
636
711
  * @throws {RequiredError}
637
712
  */
638
- public proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig) {
639
- return AIChatApiFp(this.configuration).proposeByKind(reorganizationByKindRequest, options).then((request) => request(this.axios, this.basePath));
713
+ public proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig) {
714
+ return AIChatApiFp(this.configuration).proposeByKind1(reorganizationByKindRequest, options).then((request) => request(this.axios, this.basePath));
640
715
  }
641
716
  }
642
717
 
@@ -15,6 +15,8 @@ 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 { FolderSelectionByKindRequest } from '../models';
19
+ import type { FolderSelectionByKindResponse } from '../models';
18
20
  import type { ReorganizationApplyRequest } from '../models';
19
21
  import type { ReorganizationApplyResult } from '../models';
20
22
  import type { ReorganizationByKindRequest } from '../models';
@@ -79,6 +81,14 @@ export declare const AIChatApiAxiosParamCreator: (configuration?: Configuration)
79
81
  * @throws {RequiredError}
80
82
  */
81
83
  listConversations: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
84
+ /**
85
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
86
+ * @summary Organise several folders by kind of document as one plan — no model involved
87
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ proposeByKind: (folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
82
92
  /**
83
93
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
84
94
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -86,7 +96,7 @@ export declare const AIChatApiAxiosParamCreator: (configuration?: Configuration)
86
96
  * @param {*} [options] Override http request option.
87
97
  * @throws {RequiredError}
88
98
  */
89
- proposeByKind: (reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99
+ proposeByKind1: (reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
90
100
  };
91
101
  /**
92
102
  * AIChatApi - functional programming interface
@@ -148,6 +158,14 @@ export declare const AIChatApiFp: (configuration?: Configuration) => {
148
158
  * @throws {RequiredError}
149
159
  */
150
160
  listConversations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AiChatConversation>>>;
161
+ /**
162
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
163
+ * @summary Organise several folders by kind of document as one plan — no model involved
164
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FolderSelectionByKindResponse>>;
151
169
  /**
152
170
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
153
171
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -155,7 +173,7 @@ export declare const AIChatApiFp: (configuration?: Configuration) => {
155
173
  * @param {*} [options] Override http request option.
156
174
  * @throws {RequiredError}
157
175
  */
158
- proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>>;
176
+ proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>>;
159
177
  };
160
178
  /**
161
179
  * AIChatApi - factory interface
@@ -217,6 +235,14 @@ export declare const AIChatApiFactory: (configuration?: Configuration, basePath?
217
235
  * @throws {RequiredError}
218
236
  */
219
237
  listConversations(options?: RawAxiosRequestConfig): AxiosPromise<Array<AiChatConversation>>;
238
+ /**
239
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
240
+ * @summary Organise several folders by kind of document as one plan — no model involved
241
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
242
+ * @param {*} [options] Override http request option.
243
+ * @throws {RequiredError}
244
+ */
245
+ proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<FolderSelectionByKindResponse>;
220
246
  /**
221
247
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
222
248
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -224,7 +250,7 @@ export declare const AIChatApiFactory: (configuration?: Configuration, basePath?
224
250
  * @param {*} [options] Override http request option.
225
251
  * @throws {RequiredError}
226
252
  */
227
- proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView>;
253
+ proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView>;
228
254
  };
229
255
  /**
230
256
  * AIChatApi - object-oriented interface
@@ -286,6 +312,14 @@ export declare class AIChatApi extends BaseAPI {
286
312
  * @throws {RequiredError}
287
313
  */
288
314
  listConversations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiChatConversation[], any, {}, any>>;
315
+ /**
316
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
317
+ * @summary Organise several folders by kind of document as one plan — no model involved
318
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
319
+ * @param {*} [options] Override http request option.
320
+ * @throws {RequiredError}
321
+ */
322
+ proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FolderSelectionByKindResponse, any, {}, any>>;
289
323
  /**
290
324
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
291
325
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -293,5 +327,5 @@ export declare class AIChatApi extends BaseAPI {
293
327
  * @param {*} [options] Override http request option.
294
328
  * @throws {RequiredError}
295
329
  */
296
- proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReorganizationPlanView, any, {}, any>>;
330
+ proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReorganizationPlanView, any, {}, any>>;
297
331
  }
@@ -264,6 +264,38 @@ const AIChatApiAxiosParamCreator = function (configuration) {
264
264
  options: localVarRequestOptions,
265
265
  };
266
266
  }),
267
+ /**
268
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
269
+ * @summary Organise several folders by kind of document as one plan — no model involved
270
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ proposeByKind: (folderSelectionByKindRequest_1, ...args_1) => __awaiter(this, [folderSelectionByKindRequest_1, ...args_1], void 0, function* (folderSelectionByKindRequest, options = {}) {
275
+ const localVarPath = `/api/v1/ai/reorganization/folders/by-kind`;
276
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
277
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
278
+ let baseOptions;
279
+ if (configuration) {
280
+ baseOptions = configuration.baseOptions;
281
+ }
282
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
283
+ const localVarHeaderParameter = {};
284
+ const localVarQueryParameter = {};
285
+ // authentication keycloak_auth required
286
+ // http bearer authentication required
287
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
288
+ localVarHeaderParameter['Content-Type'] = 'application/json';
289
+ localVarHeaderParameter['Accept'] = 'application/json';
290
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
291
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
292
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
293
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(folderSelectionByKindRequest, localVarRequestOptions, configuration);
294
+ return {
295
+ url: (0, common_1.toPathString)(localVarUrlObj),
296
+ options: localVarRequestOptions,
297
+ };
298
+ }),
267
299
  /**
268
300
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
269
301
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -271,7 +303,7 @@ const AIChatApiAxiosParamCreator = function (configuration) {
271
303
  * @param {*} [options] Override http request option.
272
304
  * @throws {RequiredError}
273
305
  */
274
- proposeByKind: (reorganizationByKindRequest_1, ...args_1) => __awaiter(this, [reorganizationByKindRequest_1, ...args_1], void 0, function* (reorganizationByKindRequest, options = {}) {
306
+ proposeByKind1: (reorganizationByKindRequest_1, ...args_1) => __awaiter(this, [reorganizationByKindRequest_1, ...args_1], void 0, function* (reorganizationByKindRequest, options = {}) {
275
307
  const localVarPath = `/api/v1/ai/reorganization/by-kind`;
276
308
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
277
309
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -417,6 +449,22 @@ const AIChatApiFp = function (configuration) {
417
449
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
418
450
  });
419
451
  },
452
+ /**
453
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
454
+ * @summary Organise several folders by kind of document as one plan — no model involved
455
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
456
+ * @param {*} [options] Override http request option.
457
+ * @throws {RequiredError}
458
+ */
459
+ proposeByKind(folderSelectionByKindRequest, options) {
460
+ return __awaiter(this, void 0, void 0, function* () {
461
+ var _a, _b, _c;
462
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.proposeByKind(folderSelectionByKindRequest, options);
463
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
464
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIChatApi.proposeByKind']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
465
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
466
+ });
467
+ },
420
468
  /**
421
469
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
422
470
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -424,12 +472,12 @@ const AIChatApiFp = function (configuration) {
424
472
  * @param {*} [options] Override http request option.
425
473
  * @throws {RequiredError}
426
474
  */
427
- proposeByKind(reorganizationByKindRequest, options) {
475
+ proposeByKind1(reorganizationByKindRequest, options) {
428
476
  return __awaiter(this, void 0, void 0, function* () {
429
477
  var _a, _b, _c;
430
- const localVarAxiosArgs = yield localVarAxiosParamCreator.proposeByKind(reorganizationByKindRequest, options);
478
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.proposeByKind1(reorganizationByKindRequest, options);
431
479
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
432
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIChatApi.proposeByKind']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
480
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIChatApi.proposeByKind1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
433
481
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
434
482
  });
435
483
  },
@@ -512,6 +560,16 @@ const AIChatApiFactory = function (configuration, basePath, axios) {
512
560
  listConversations(options) {
513
561
  return localVarFp.listConversations(options).then((request) => request(axios, basePath));
514
562
  },
563
+ /**
564
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
565
+ * @summary Organise several folders by kind of document as one plan — no model involved
566
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
567
+ * @param {*} [options] Override http request option.
568
+ * @throws {RequiredError}
569
+ */
570
+ proposeByKind(folderSelectionByKindRequest, options) {
571
+ return localVarFp.proposeByKind(folderSelectionByKindRequest, options).then((request) => request(axios, basePath));
572
+ },
515
573
  /**
516
574
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
517
575
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -519,8 +577,8 @@ const AIChatApiFactory = function (configuration, basePath, axios) {
519
577
  * @param {*} [options] Override http request option.
520
578
  * @throws {RequiredError}
521
579
  */
522
- proposeByKind(reorganizationByKindRequest, options) {
523
- return localVarFp.proposeByKind(reorganizationByKindRequest, options).then((request) => request(axios, basePath));
580
+ proposeByKind1(reorganizationByKindRequest, options) {
581
+ return localVarFp.proposeByKind1(reorganizationByKindRequest, options).then((request) => request(axios, basePath));
524
582
  },
525
583
  };
526
584
  };
@@ -599,6 +657,16 @@ class AIChatApi extends base_1.BaseAPI {
599
657
  listConversations(options) {
600
658
  return (0, exports.AIChatApiFp)(this.configuration).listConversations(options).then((request) => request(this.axios, this.basePath));
601
659
  }
660
+ /**
661
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
662
+ * @summary Organise several folders by kind of document as one plan — no model involved
663
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ */
667
+ proposeByKind(folderSelectionByKindRequest, options) {
668
+ return (0, exports.AIChatApiFp)(this.configuration).proposeByKind(folderSelectionByKindRequest, options).then((request) => request(this.axios, this.basePath));
669
+ }
602
670
  /**
603
671
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
604
672
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -606,8 +674,8 @@ class AIChatApi extends base_1.BaseAPI {
606
674
  * @param {*} [options] Override http request option.
607
675
  * @throws {RequiredError}
608
676
  */
609
- proposeByKind(reorganizationByKindRequest, options) {
610
- return (0, exports.AIChatApiFp)(this.configuration).proposeByKind(reorganizationByKindRequest, options).then((request) => request(this.axios, this.basePath));
677
+ proposeByKind1(reorganizationByKindRequest, options) {
678
+ return (0, exports.AIChatApiFp)(this.configuration).proposeByKind1(reorganizationByKindRequest, options).then((request) => request(this.axios, this.basePath));
611
679
  }
612
680
  }
613
681
  exports.AIChatApi = AIChatApi;
@@ -15,6 +15,8 @@ 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 { FolderSelectionByKindRequest } from '../models';
19
+ import type { FolderSelectionByKindResponse } from '../models';
18
20
  import type { ReorganizationApplyRequest } from '../models';
19
21
  import type { ReorganizationApplyResult } from '../models';
20
22
  import type { ReorganizationByKindRequest } from '../models';
@@ -79,6 +81,14 @@ export declare const AIChatApiAxiosParamCreator: (configuration?: Configuration)
79
81
  * @throws {RequiredError}
80
82
  */
81
83
  listConversations: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
84
+ /**
85
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
86
+ * @summary Organise several folders by kind of document as one plan — no model involved
87
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ proposeByKind: (folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
82
92
  /**
83
93
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
84
94
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -86,7 +96,7 @@ export declare const AIChatApiAxiosParamCreator: (configuration?: Configuration)
86
96
  * @param {*} [options] Override http request option.
87
97
  * @throws {RequiredError}
88
98
  */
89
- proposeByKind: (reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99
+ proposeByKind1: (reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
90
100
  };
91
101
  /**
92
102
  * AIChatApi - functional programming interface
@@ -148,6 +158,14 @@ export declare const AIChatApiFp: (configuration?: Configuration) => {
148
158
  * @throws {RequiredError}
149
159
  */
150
160
  listConversations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AiChatConversation>>>;
161
+ /**
162
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
163
+ * @summary Organise several folders by kind of document as one plan — no model involved
164
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FolderSelectionByKindResponse>>;
151
169
  /**
152
170
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
153
171
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -155,7 +173,7 @@ export declare const AIChatApiFp: (configuration?: Configuration) => {
155
173
  * @param {*} [options] Override http request option.
156
174
  * @throws {RequiredError}
157
175
  */
158
- proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>>;
176
+ proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorganizationPlanView>>;
159
177
  };
160
178
  /**
161
179
  * AIChatApi - factory interface
@@ -217,6 +235,14 @@ export declare const AIChatApiFactory: (configuration?: Configuration, basePath?
217
235
  * @throws {RequiredError}
218
236
  */
219
237
  listConversations(options?: RawAxiosRequestConfig): AxiosPromise<Array<AiChatConversation>>;
238
+ /**
239
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
240
+ * @summary Organise several folders by kind of document as one plan — no model involved
241
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
242
+ * @param {*} [options] Override http request option.
243
+ * @throws {RequiredError}
244
+ */
245
+ proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<FolderSelectionByKindResponse>;
220
246
  /**
221
247
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
222
248
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -224,7 +250,7 @@ export declare const AIChatApiFactory: (configuration?: Configuration, basePath?
224
250
  * @param {*} [options] Override http request option.
225
251
  * @throws {RequiredError}
226
252
  */
227
- proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView>;
253
+ proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorganizationPlanView>;
228
254
  };
229
255
  /**
230
256
  * AIChatApi - object-oriented interface
@@ -286,6 +312,14 @@ export declare class AIChatApi extends BaseAPI {
286
312
  * @throws {RequiredError}
287
313
  */
288
314
  listConversations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiChatConversation[], any, {}, any>>;
315
+ /**
316
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
317
+ * @summary Organise several folders by kind of document as one plan — no model involved
318
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
319
+ * @param {*} [options] Override http request option.
320
+ * @throws {RequiredError}
321
+ */
322
+ proposeByKind(folderSelectionByKindRequest?: FolderSelectionByKindRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FolderSelectionByKindResponse, any, {}, any>>;
289
323
  /**
290
324
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
291
325
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -293,5 +327,5 @@ export declare class AIChatApi extends BaseAPI {
293
327
  * @param {*} [options] Override http request option.
294
328
  * @throws {RequiredError}
295
329
  */
296
- proposeByKind(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReorganizationPlanView, any, {}, any>>;
330
+ proposeByKind1(reorganizationByKindRequest?: ReorganizationByKindRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReorganizationPlanView, any, {}, any>>;
297
331
  }
@@ -261,6 +261,38 @@ export const AIChatApiAxiosParamCreator = function (configuration) {
261
261
  options: localVarRequestOptions,
262
262
  };
263
263
  }),
264
+ /**
265
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
266
+ * @summary Organise several folders by kind of document as one plan — no model involved
267
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ proposeByKind: (folderSelectionByKindRequest_1, ...args_1) => __awaiter(this, [folderSelectionByKindRequest_1, ...args_1], void 0, function* (folderSelectionByKindRequest, options = {}) {
272
+ const localVarPath = `/api/v1/ai/reorganization/folders/by-kind`;
273
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
274
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
275
+ let baseOptions;
276
+ if (configuration) {
277
+ baseOptions = configuration.baseOptions;
278
+ }
279
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
280
+ const localVarHeaderParameter = {};
281
+ const localVarQueryParameter = {};
282
+ // authentication keycloak_auth required
283
+ // http bearer authentication required
284
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
285
+ localVarHeaderParameter['Content-Type'] = 'application/json';
286
+ localVarHeaderParameter['Accept'] = 'application/json';
287
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
288
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
289
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
290
+ localVarRequestOptions.data = serializeDataIfNeeded(folderSelectionByKindRequest, localVarRequestOptions, configuration);
291
+ return {
292
+ url: toPathString(localVarUrlObj),
293
+ options: localVarRequestOptions,
294
+ };
295
+ }),
264
296
  /**
265
297
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
266
298
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -268,7 +300,7 @@ export const AIChatApiAxiosParamCreator = function (configuration) {
268
300
  * @param {*} [options] Override http request option.
269
301
  * @throws {RequiredError}
270
302
  */
271
- proposeByKind: (reorganizationByKindRequest_1, ...args_1) => __awaiter(this, [reorganizationByKindRequest_1, ...args_1], void 0, function* (reorganizationByKindRequest, options = {}) {
303
+ proposeByKind1: (reorganizationByKindRequest_1, ...args_1) => __awaiter(this, [reorganizationByKindRequest_1, ...args_1], void 0, function* (reorganizationByKindRequest, options = {}) {
272
304
  const localVarPath = `/api/v1/ai/reorganization/by-kind`;
273
305
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
274
306
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -413,6 +445,22 @@ export const AIChatApiFp = function (configuration) {
413
445
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
414
446
  });
415
447
  },
448
+ /**
449
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
450
+ * @summary Organise several folders by kind of document as one plan — no model involved
451
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
452
+ * @param {*} [options] Override http request option.
453
+ * @throws {RequiredError}
454
+ */
455
+ proposeByKind(folderSelectionByKindRequest, options) {
456
+ return __awaiter(this, void 0, void 0, function* () {
457
+ var _a, _b, _c;
458
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.proposeByKind(folderSelectionByKindRequest, options);
459
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
460
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIChatApi.proposeByKind']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
461
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
462
+ });
463
+ },
416
464
  /**
417
465
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
418
466
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -420,12 +468,12 @@ export const AIChatApiFp = function (configuration) {
420
468
  * @param {*} [options] Override http request option.
421
469
  * @throws {RequiredError}
422
470
  */
423
- proposeByKind(reorganizationByKindRequest, options) {
471
+ proposeByKind1(reorganizationByKindRequest, options) {
424
472
  return __awaiter(this, void 0, void 0, function* () {
425
473
  var _a, _b, _c;
426
- const localVarAxiosArgs = yield localVarAxiosParamCreator.proposeByKind(reorganizationByKindRequest, options);
474
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.proposeByKind1(reorganizationByKindRequest, options);
427
475
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
428
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIChatApi.proposeByKind']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
476
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIChatApi.proposeByKind1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
429
477
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
430
478
  });
431
479
  },
@@ -507,6 +555,16 @@ export const AIChatApiFactory = function (configuration, basePath, axios) {
507
555
  listConversations(options) {
508
556
  return localVarFp.listConversations(options).then((request) => request(axios, basePath));
509
557
  },
558
+ /**
559
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
560
+ * @summary Organise several folders by kind of document as one plan — no model involved
561
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
562
+ * @param {*} [options] Override http request option.
563
+ * @throws {RequiredError}
564
+ */
565
+ proposeByKind(folderSelectionByKindRequest, options) {
566
+ return localVarFp.proposeByKind(folderSelectionByKindRequest, options).then((request) => request(axios, basePath));
567
+ },
510
568
  /**
511
569
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
512
570
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -514,8 +572,8 @@ export const AIChatApiFactory = function (configuration, basePath, axios) {
514
572
  * @param {*} [options] Override http request option.
515
573
  * @throws {RequiredError}
516
574
  */
517
- proposeByKind(reorganizationByKindRequest, options) {
518
- return localVarFp.proposeByKind(reorganizationByKindRequest, options).then((request) => request(axios, basePath));
575
+ proposeByKind1(reorganizationByKindRequest, options) {
576
+ return localVarFp.proposeByKind1(reorganizationByKindRequest, options).then((request) => request(axios, basePath));
519
577
  },
520
578
  };
521
579
  };
@@ -593,6 +651,16 @@ export class AIChatApi extends BaseAPI {
593
651
  listConversations(options) {
594
652
  return AIChatApiFp(this.configuration).listConversations(options).then((request) => request(this.axios, this.basePath));
595
653
  }
654
+ /**
655
+ * Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
656
+ * @summary Organise several folders by kind of document as one plan — no model involved
657
+ * @param {FolderSelectionByKindRequest} [folderSelectionByKindRequest]
658
+ * @param {*} [options] Override http request option.
659
+ * @throws {RequiredError}
660
+ */
661
+ proposeByKind(folderSelectionByKindRequest, options) {
662
+ return AIChatApiFp(this.configuration).proposeByKind(folderSelectionByKindRequest, options).then((request) => request(this.axios, this.basePath));
663
+ }
596
664
  /**
597
665
  * Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
598
666
  * @summary Propose a reorganisation by kind of document — no model involved
@@ -600,7 +668,7 @@ export class AIChatApi extends BaseAPI {
600
668
  * @param {*} [options] Override http request option.
601
669
  * @throws {RequiredError}
602
670
  */
603
- proposeByKind(reorganizationByKindRequest, options) {
604
- return AIChatApiFp(this.configuration).proposeByKind(reorganizationByKindRequest, options).then((request) => request(this.axios, this.basePath));
671
+ proposeByKind1(reorganizationByKindRequest, options) {
672
+ return AIChatApiFp(this.configuration).proposeByKind1(reorganizationByKindRequest, options).then((request) => request(this.axios, this.basePath));
605
673
  }
606
674
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface FolderSelectionByKindRequest {
13
+ 'folderIds'?: Array<string>;
14
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,18 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ReorganizationPlanView } from './reorganization-plan-view';
13
+ export interface FolderSelectionByKindResponse {
14
+ 'plan'?: ReorganizationPlanView;
15
+ 'classifiedNow'?: number;
16
+ 'unclassified'?: number;
17
+ 'classifier'?: string;
18
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -84,6 +84,8 @@ export * from './filing-rule-view';
84
84
  export * from './filter-input';
85
85
  export * from './folder-element-info';
86
86
  export * from './folder-response';
87
+ export * from './folder-selection-by-kind-request';
88
+ export * from './folder-selection-by-kind-response';
87
89
  export * from './foreign-item';
88
90
  export * from './ingestion-status-dto';
89
91
  export * from './insight-backfill-request';
@@ -84,6 +84,8 @@ export * from './filing-rule-view';
84
84
  export * from './filter-input';
85
85
  export * from './folder-element-info';
86
86
  export * from './folder-response';
87
+ export * from './folder-selection-by-kind-request';
88
+ export * from './folder-selection-by-kind-response';
87
89
  export * from './foreign-item';
88
90
  export * from './ingestion-status-dto';
89
91
  export * from './insight-backfill-request';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface FolderSelectionByKindRequest {
13
+ 'folderIds'?: Array<string>;
14
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ReorganizationPlanView } from './reorganization-plan-view';
13
+ export interface FolderSelectionByKindResponse {
14
+ 'plan'?: ReorganizationPlanView;
15
+ 'classifiedNow'?: number;
16
+ 'unclassified'?: number;
17
+ 'classifier'?: string;
18
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -84,6 +84,8 @@ export * from './filing-rule-view';
84
84
  export * from './filter-input';
85
85
  export * from './folder-element-info';
86
86
  export * from './folder-response';
87
+ export * from './folder-selection-by-kind-request';
88
+ export * from './folder-selection-by-kind-response';
87
89
  export * from './foreign-item';
88
90
  export * from './ingestion-status-dto';
89
91
  export * from './insight-backfill-request';
@@ -100,6 +100,8 @@ __exportStar(require("./filing-rule-view"), exports);
100
100
  __exportStar(require("./filter-input"), exports);
101
101
  __exportStar(require("./folder-element-info"), exports);
102
102
  __exportStar(require("./folder-response"), exports);
103
+ __exportStar(require("./folder-selection-by-kind-request"), exports);
104
+ __exportStar(require("./folder-selection-by-kind-response"), exports);
103
105
  __exportStar(require("./foreign-item"), exports);
104
106
  __exportStar(require("./ingestion-status-dto"), exports);
105
107
  __exportStar(require("./insight-backfill-request"), exports);
package/docs/AIChatApi.md CHANGED
@@ -11,7 +11,8 @@ All URIs are relative to *http://localhost:8081*
11
11
  |[**get9**](#get9) | **GET** /api/v1/ai/reorganization/{planId} | Get a reorganisation plan proposed by the AI assistant|
12
12
  |[**getConversationHistory**](#getconversationhistory) | **GET** /api/v1/ai/conversations/{conversationId} | Get conversation history|
13
13
  |[**listConversations**](#listconversations) | **GET** /api/v1/ai/conversations | List conversations|
14
- |[**proposeByKind**](#proposebykind) | **POST** /api/v1/ai/reorganization/by-kind | Propose a reorganisation by kind of document — no model involved|
14
+ |[**proposeByKind**](#proposebykind) | **POST** /api/v1/ai/reorganization/folders/by-kind | Organise several folders by kind of document as one plan — no model involved|
15
+ |[**proposeByKind1**](#proposebykind1) | **POST** /api/v1/ai/reorganization/by-kind | Propose a reorganisation by kind of document — no model involved|
15
16
 
16
17
  # **apply**
17
18
  > ReorganizationApplyResult apply()
@@ -368,7 +369,59 @@ This endpoint does not have any parameters.
368
369
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
369
370
 
370
371
  # **proposeByKind**
371
- > ReorganizationPlanView proposeByKind()
372
+ > FolderSelectionByKindResponse proposeByKind()
373
+
374
+ Files of the selected folders that have no kind yet are first classified by the local classifier (at most 200 per request; never a chat model), then every folder of the selection holding documents of several kinds gets one sub-folder per kind. The answer carries ONE stored plan rooted at the selection\'s common parent (a plan without an id means nothing needs splitting) and the classification counts. folderIds absent or empty = the root level; at most 20; a folder nested in another selected one is covered by it. 404 for a folder you cannot open, 403 without the CONTRIBUTOR role.
375
+
376
+ ### Example
377
+
378
+ ```typescript
379
+ import {
380
+ AIChatApi,
381
+ Configuration,
382
+ FolderSelectionByKindRequest
383
+ } from '@openfilz-sdk/typescript-ee';
384
+
385
+ const configuration = new Configuration();
386
+ const apiInstance = new AIChatApi(configuration);
387
+
388
+ let folderSelectionByKindRequest: FolderSelectionByKindRequest; // (optional)
389
+
390
+ const { status, data } = await apiInstance.proposeByKind(
391
+ folderSelectionByKindRequest
392
+ );
393
+ ```
394
+
395
+ ### Parameters
396
+
397
+ |Name | Type | Description | Notes|
398
+ |------------- | ------------- | ------------- | -------------|
399
+ | **folderSelectionByKindRequest** | **FolderSelectionByKindRequest**| | |
400
+
401
+
402
+ ### Return type
403
+
404
+ **FolderSelectionByKindResponse**
405
+
406
+ ### Authorization
407
+
408
+ [keycloak_auth](../README.md#keycloak_auth)
409
+
410
+ ### HTTP request headers
411
+
412
+ - **Content-Type**: application/json
413
+ - **Accept**: application/json
414
+
415
+
416
+ ### HTTP response details
417
+ | Status code | Description | Response headers |
418
+ |-------------|-------------|------------------|
419
+ |**200** | OK | - |
420
+
421
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
422
+
423
+ # **proposeByKind1**
424
+ > ReorganizationPlanView proposeByKind1()
372
425
 
373
426
  Every folder of the scope holding documents of several kinds (their insight category) gets one sub-folder per kind, named like the existing folders (Invoices / Factures…), and the files move there. The answer is a stored plan to review and apply; a plan without an id means nothing needs splitting.
374
427
 
@@ -386,7 +439,7 @@ const apiInstance = new AIChatApi(configuration);
386
439
 
387
440
  let reorganizationByKindRequest: ReorganizationByKindRequest; // (optional)
388
441
 
389
- const { status, data } = await apiInstance.proposeByKind(
442
+ const { status, data } = await apiInstance.proposeByKind1(
390
443
  reorganizationByKindRequest
391
444
  );
392
445
  ```
@@ -0,0 +1,20 @@
1
+ # FolderSelectionByKindRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **folderIds** | **Array&lt;string&gt;** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { FolderSelectionByKindRequest } from '@openfilz-sdk/typescript-ee';
14
+
15
+ const instance: FolderSelectionByKindRequest = {
16
+ folderIds,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # FolderSelectionByKindResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **plan** | [**ReorganizationPlanView**](ReorganizationPlanView.md) | | [optional] [default to undefined]
9
+ **classifiedNow** | **number** | | [optional] [default to undefined]
10
+ **unclassified** | **number** | | [optional] [default to undefined]
11
+ **classifier** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { FolderSelectionByKindResponse } from '@openfilz-sdk/typescript-ee';
17
+
18
+ const instance: FolderSelectionByKindResponse = {
19
+ plan,
20
+ classifiedNow,
21
+ unclassified,
22
+ classifier,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface FolderSelectionByKindRequest {
18
+ 'folderIds'?: Array<string>;
19
+ }
20
+
@@ -0,0 +1,26 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { ReorganizationPlanView } from './reorganization-plan-view';
19
+
20
+ export interface FolderSelectionByKindResponse {
21
+ 'plan'?: ReorganizationPlanView;
22
+ 'classifiedNow'?: number;
23
+ 'unclassified'?: number;
24
+ 'classifier'?: string;
25
+ }
26
+
package/models/index.ts CHANGED
@@ -84,6 +84,8 @@ export * from './filing-rule-view';
84
84
  export * from './filter-input';
85
85
  export * from './folder-element-info';
86
86
  export * from './folder-response';
87
+ export * from './folder-selection-by-kind-request';
88
+ export * from './folder-selection-by-kind-response';
87
89
  export * from './foreign-item';
88
90
  export * from './ingestion-status-dto';
89
91
  export * from './insight-backfill-request';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfilz-sdk/typescript-ee",
3
- "version": "1.12.10",
3
+ "version": "1.12.11",
4
4
  "description": "OpenAPI client for @openfilz-sdk/typescript-ee",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {