@openfilz-sdk/typescript 1.3.19 → 1.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +11 -2
  4. package/api/audit-controller-api.ts +67 -0
  5. package/api/document-controller-api.ts +74 -0
  6. package/api/document-insights-api.ts +71 -4
  7. package/api/settings-api.ts +18 -11
  8. package/api/smart-filing-api.ts +73 -0
  9. package/dist/api/audit-controller-api.d.ts +29 -0
  10. package/dist/api/audit-controller-api.js +62 -0
  11. package/dist/api/document-controller-api.d.ts +33 -0
  12. package/dist/api/document-controller-api.js +69 -0
  13. package/dist/api/document-insights-api.d.ts +33 -4
  14. package/dist/api/document-insights-api.js +66 -4
  15. package/dist/api/settings-api.d.ts +12 -8
  16. package/dist/api/settings-api.js +18 -11
  17. package/dist/api/smart-filing-api.d.ts +33 -0
  18. package/dist/api/smart-filing-api.js +68 -0
  19. package/dist/esm/api/audit-controller-api.d.ts +29 -0
  20. package/dist/esm/api/audit-controller-api.js +62 -0
  21. package/dist/esm/api/document-controller-api.d.ts +33 -0
  22. package/dist/esm/api/document-controller-api.js +69 -0
  23. package/dist/esm/api/document-insights-api.d.ts +33 -4
  24. package/dist/esm/api/document-insights-api.js +66 -4
  25. package/dist/esm/api/settings-api.d.ts +12 -8
  26. package/dist/esm/api/settings-api.js +18 -11
  27. package/dist/esm/api/smart-filing-api.d.ts +33 -0
  28. package/dist/esm/api/smart-filing-api.js +68 -0
  29. package/dist/esm/models/ai-preferences-view.d.ts +3 -0
  30. package/dist/esm/models/audit-integrity-status-response.d.ts +37 -0
  31. package/dist/esm/models/audit-integrity-status-response.js +14 -0
  32. package/dist/esm/models/auto-file-inbox-request.d.ts +14 -0
  33. package/dist/esm/models/auto-file-inbox-request.js +14 -0
  34. package/dist/esm/models/document-integrity-record.d.ts +23 -0
  35. package/dist/esm/models/document-integrity-record.js +14 -0
  36. package/dist/esm/models/facet.d.ts +15 -0
  37. package/dist/esm/models/facet.js +14 -0
  38. package/dist/esm/models/index.d.ts +5 -0
  39. package/dist/esm/models/index.js +5 -0
  40. package/dist/esm/models/insight-facets.d.ts +16 -0
  41. package/dist/esm/models/insight-facets.js +14 -0
  42. package/dist/esm/models/save-ai-preferences-request.d.ts +1 -0
  43. package/dist/esm/models/settings.d.ts +1 -0
  44. package/dist/models/ai-preferences-view.d.ts +3 -0
  45. package/dist/models/audit-integrity-status-response.d.ts +37 -0
  46. package/dist/models/audit-integrity-status-response.js +15 -0
  47. package/dist/models/auto-file-inbox-request.d.ts +14 -0
  48. package/dist/models/auto-file-inbox-request.js +15 -0
  49. package/dist/models/document-integrity-record.d.ts +23 -0
  50. package/dist/models/document-integrity-record.js +15 -0
  51. package/dist/models/facet.d.ts +15 -0
  52. package/dist/models/facet.js +15 -0
  53. package/dist/models/index.d.ts +5 -0
  54. package/dist/models/index.js +5 -0
  55. package/dist/models/insight-facets.d.ts +16 -0
  56. package/dist/models/insight-facets.js +15 -0
  57. package/dist/models/save-ai-preferences-request.d.ts +1 -0
  58. package/dist/models/settings.d.ts +1 -0
  59. package/docs/AiPreferencesView.md +6 -0
  60. package/docs/AuditControllerApi.md +45 -0
  61. package/docs/AuditIntegrityStatusResponse.md +29 -0
  62. package/docs/AutoFileInboxRequest.md +20 -0
  63. package/docs/DocumentControllerApi.md +52 -0
  64. package/docs/DocumentInsightsApi.md +46 -1
  65. package/docs/DocumentIntegrityRecord.md +33 -0
  66. package/docs/Facet.md +22 -0
  67. package/docs/InsightFacets.md +22 -0
  68. package/docs/SaveAiPreferencesRequest.md +2 -0
  69. package/docs/Settings.md +2 -0
  70. package/docs/SettingsApi.md +5 -2
  71. package/docs/SmartFilingApi.md +53 -0
  72. package/graphql/document-search.graphqls +4 -0
  73. package/graphql/document.graphqls +4 -0
  74. package/models/ai-preferences-view.ts +3 -0
  75. package/models/audit-integrity-status-response.ts +45 -0
  76. package/models/auto-file-inbox-request.ts +20 -0
  77. package/models/document-integrity-record.ts +29 -0
  78. package/models/facet.ts +21 -0
  79. package/models/index.ts +5 -0
  80. package/models/insight-facets.ts +24 -0
  81. package/models/save-ai-preferences-request.ts +1 -0
  82. package/models/settings.ts +1 -0
  83. package/package.json +1 -1
@@ -16,6 +16,7 @@ import type { AncestorInfo } from '../models';
16
16
  import type { CreateBlankDocumentRequest } from '../models';
17
17
  import type { DeleteMetadataRequest } from '../models';
18
18
  import type { DocumentInfo } from '../models';
19
+ import type { DocumentIntegrityRecord } from '../models';
19
20
  import type { DocumentPosition } from '../models';
20
21
  import type { ElementInfo } from '../models';
21
22
  import type { SearchByMetadataRequest } from '../models';
@@ -86,6 +87,14 @@ export declare const DocumentControllerApiAxiosParamCreator: (configuration?: Co
86
87
  * @throws {RequiredError}
87
88
  */
88
89
  getDocumentInfo: (documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
90
+ /**
91
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
92
+ * @summary Get a document\'s integrity ledger
93
+ * @param {string} documentId
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ getDocumentIntegrity: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
89
98
  /**
90
99
  * Retrieves metadata for a document. Can filter by keys.
91
100
  * @summary Search metadata of a document
@@ -230,6 +239,14 @@ export declare const DocumentControllerApiFp: (configuration?: Configuration) =>
230
239
  * @throws {RequiredError}
231
240
  */
232
241
  getDocumentInfo(documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentInfo>>;
242
+ /**
243
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
244
+ * @summary Get a document\'s integrity ledger
245
+ * @param {string} documentId
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DocumentIntegrityRecord>>>;
233
250
  /**
234
251
  * Retrieves metadata for a document. Can filter by keys.
235
252
  * @summary Search metadata of a document
@@ -376,6 +393,14 @@ export declare const DocumentControllerApiFactory: (configuration?: Configuratio
376
393
  * @throws {RequiredError}
377
394
  */
378
395
  getDocumentInfo(documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DocumentInfo>;
396
+ /**
397
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
398
+ * @summary Get a document\'s integrity ledger
399
+ * @param {string} documentId
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ */
403
+ getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DocumentIntegrityRecord>>;
379
404
  /**
380
405
  * Retrieves metadata for a document. Can filter by keys.
381
406
  * @summary Search metadata of a document
@@ -522,6 +547,14 @@ export declare class DocumentControllerApi extends BaseAPI {
522
547
  * @throws {RequiredError}
523
548
  */
524
549
  getDocumentInfo(documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentInfo, any, {}>>;
550
+ /**
551
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
552
+ * @summary Get a document\'s integrity ledger
553
+ * @param {string} documentId
554
+ * @param {*} [options] Override http request option.
555
+ * @throws {RequiredError}
556
+ */
557
+ getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentIntegrityRecord[], any, {}>>;
525
558
  /**
526
559
  * Retrieves metadata for a document. Can filter by keys.
527
560
  * @summary Search metadata of a document
@@ -282,6 +282,39 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration) {
282
282
  options: localVarRequestOptions,
283
283
  };
284
284
  }),
285
+ /**
286
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
287
+ * @summary Get a document\'s integrity ledger
288
+ * @param {string} documentId
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ getDocumentIntegrity: (documentId_1, ...args_1) => __awaiter(this, [documentId_1, ...args_1], void 0, function* (documentId, options = {}) {
293
+ // verify required parameter 'documentId' is not null or undefined
294
+ assertParamExists('getDocumentIntegrity', 'documentId', documentId);
295
+ const localVarPath = `/api/v1/documents/{documentId}/integrity`
296
+ .replace('{documentId}', encodeURIComponent(String(documentId)));
297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
298
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
299
+ let baseOptions;
300
+ if (configuration) {
301
+ baseOptions = configuration.baseOptions;
302
+ }
303
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
304
+ const localVarHeaderParameter = {};
305
+ const localVarQueryParameter = {};
306
+ // authentication keycloak_auth required
307
+ // http bearer authentication required
308
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
309
+ localVarHeaderParameter['Accept'] = '*/*';
310
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
312
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
313
+ return {
314
+ url: toPathString(localVarUrlObj),
315
+ options: localVarRequestOptions,
316
+ };
317
+ }),
285
318
  /**
286
319
  * Retrieves metadata for a document. Can filter by keys.
287
320
  * @summary Search metadata of a document
@@ -741,6 +774,22 @@ export const DocumentControllerApiFp = function (configuration) {
741
774
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
742
775
  });
743
776
  },
777
+ /**
778
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
779
+ * @summary Get a document\'s integrity ledger
780
+ * @param {string} documentId
781
+ * @param {*} [options] Override http request option.
782
+ * @throws {RequiredError}
783
+ */
784
+ getDocumentIntegrity(documentId, options) {
785
+ return __awaiter(this, void 0, void 0, function* () {
786
+ var _a, _b, _c;
787
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDocumentIntegrity(documentId, options);
788
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
789
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DocumentControllerApi.getDocumentIntegrity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
790
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
791
+ });
792
+ },
744
793
  /**
745
794
  * Retrieves metadata for a document. Can filter by keys.
746
795
  * @summary Search metadata of a document
@@ -964,6 +1013,16 @@ export const DocumentControllerApiFactory = function (configuration, basePath, a
964
1013
  getDocumentInfo(documentId, withMetadata, options) {
965
1014
  return localVarFp.getDocumentInfo(documentId, withMetadata, options).then((request) => request(axios, basePath));
966
1015
  },
1016
+ /**
1017
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
1018
+ * @summary Get a document\'s integrity ledger
1019
+ * @param {string} documentId
1020
+ * @param {*} [options] Override http request option.
1021
+ * @throws {RequiredError}
1022
+ */
1023
+ getDocumentIntegrity(documentId, options) {
1024
+ return localVarFp.getDocumentIntegrity(documentId, options).then((request) => request(axios, basePath));
1025
+ },
967
1026
  /**
968
1027
  * Retrieves metadata for a document. Can filter by keys.
969
1028
  * @summary Search metadata of a document
@@ -1137,6 +1196,16 @@ export class DocumentControllerApi extends BaseAPI {
1137
1196
  getDocumentInfo(documentId, withMetadata, options) {
1138
1197
  return DocumentControllerApiFp(this.configuration).getDocumentInfo(documentId, withMetadata, options).then((request) => request(this.axios, this.basePath));
1139
1198
  }
1199
+ /**
1200
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
1201
+ * @summary Get a document\'s integrity ledger
1202
+ * @param {string} documentId
1203
+ * @param {*} [options] Override http request option.
1204
+ * @throws {RequiredError}
1205
+ */
1206
+ getDocumentIntegrity(documentId, options) {
1207
+ return DocumentControllerApiFp(this.configuration).getDocumentIntegrity(documentId, options).then((request) => request(this.axios, this.basePath));
1208
+ }
1140
1209
  /**
1141
1210
  * Retrieves metadata for a document. Can filter by keys.
1142
1211
  * @summary Search metadata of a document
@@ -16,6 +16,7 @@ import type { DocumentInsightView } from '../models';
16
16
  import type { InsightBackfillRequest } from '../models';
17
17
  import type { InsightBackfillStatus } from '../models';
18
18
  import type { InsightCategoryUpdate } from '../models';
19
+ import type { InsightFacets } from '../models';
19
20
  /**
20
21
  * DocumentInsightsApi - axios parameter creator
21
22
  */
@@ -36,6 +37,13 @@ export declare const DocumentInsightsApiAxiosParamCreator: (configuration?: Conf
36
37
  * @throws {RequiredError}
37
38
  */
38
39
  backfillStatus: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ /**
41
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
42
+ * @summary The category and language facets of the library
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ facets: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
47
  /**
40
48
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
41
49
  * @summary Get the insights of a document
@@ -45,7 +53,7 @@ export declare const DocumentInsightsApiAxiosParamCreator: (configuration?: Conf
45
53
  */
46
54
  getInsights: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
55
  /**
48
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
56
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
49
57
  * @summary Correct the kind of a document
50
58
  * @param {string} documentId
51
59
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -74,6 +82,13 @@ export declare const DocumentInsightsApiFp: (configuration?: Configuration) => {
74
82
  * @throws {RequiredError}
75
83
  */
76
84
  backfillStatus(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InsightBackfillStatus>>;
85
+ /**
86
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
87
+ * @summary The category and language facets of the library
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ facets(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InsightFacets>>;
77
92
  /**
78
93
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
79
94
  * @summary Get the insights of a document
@@ -83,7 +98,7 @@ export declare const DocumentInsightsApiFp: (configuration?: Configuration) => {
83
98
  */
84
99
  getInsights(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentInsightView>>;
85
100
  /**
86
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
101
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
87
102
  * @summary Correct the kind of a document
88
103
  * @param {string} documentId
89
104
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -112,6 +127,13 @@ export declare const DocumentInsightsApiFactory: (configuration?: Configuration,
112
127
  * @throws {RequiredError}
113
128
  */
114
129
  backfillStatus(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<InsightBackfillStatus>;
130
+ /**
131
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
132
+ * @summary The category and language facets of the library
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ facets(options?: RawAxiosRequestConfig): AxiosPromise<InsightFacets>;
115
137
  /**
116
138
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
117
139
  * @summary Get the insights of a document
@@ -121,7 +143,7 @@ export declare const DocumentInsightsApiFactory: (configuration?: Configuration,
121
143
  */
122
144
  getInsights(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<DocumentInsightView>;
123
145
  /**
124
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
146
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
125
147
  * @summary Correct the kind of a document
126
148
  * @param {string} documentId
127
149
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -150,6 +172,13 @@ export declare class DocumentInsightsApi extends BaseAPI {
150
172
  * @throws {RequiredError}
151
173
  */
152
174
  backfillStatus(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InsightBackfillStatus, any, {}>>;
175
+ /**
176
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
177
+ * @summary The category and language facets of the library
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ facets(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InsightFacets, any, {}>>;
153
182
  /**
154
183
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
155
184
  * @summary Get the insights of a document
@@ -159,7 +188,7 @@ export declare class DocumentInsightsApi extends BaseAPI {
159
188
  */
160
189
  getInsights(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentInsightView, any, {}>>;
161
190
  /**
162
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
191
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
163
192
  * @summary Correct the kind of a document
164
193
  * @param {string} documentId
165
194
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -96,6 +96,35 @@ export const DocumentInsightsApiAxiosParamCreator = function (configuration) {
96
96
  options: localVarRequestOptions,
97
97
  };
98
98
  }),
99
+ /**
100
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
101
+ * @summary The category and language facets of the library
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ facets: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
106
+ const localVarPath = `/api/v1/ai/insights/facets`;
107
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109
+ let baseOptions;
110
+ if (configuration) {
111
+ baseOptions = configuration.baseOptions;
112
+ }
113
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
114
+ const localVarHeaderParameter = {};
115
+ const localVarQueryParameter = {};
116
+ // authentication keycloak_auth required
117
+ // http bearer authentication required
118
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
119
+ localVarHeaderParameter['Accept'] = 'application/json';
120
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
121
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
122
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
123
+ return {
124
+ url: toPathString(localVarUrlObj),
125
+ options: localVarRequestOptions,
126
+ };
127
+ }),
99
128
  /**
100
129
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
101
130
  * @summary Get the insights of a document
@@ -130,7 +159,7 @@ export const DocumentInsightsApiAxiosParamCreator = function (configuration) {
130
159
  };
131
160
  }),
132
161
  /**
133
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
162
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
134
163
  * @summary Correct the kind of a document
135
164
  * @param {string} documentId
136
165
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -207,6 +236,21 @@ export const DocumentInsightsApiFp = function (configuration) {
207
236
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
208
237
  });
209
238
  },
239
+ /**
240
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
241
+ * @summary The category and language facets of the library
242
+ * @param {*} [options] Override http request option.
243
+ * @throws {RequiredError}
244
+ */
245
+ facets(options) {
246
+ return __awaiter(this, void 0, void 0, function* () {
247
+ var _a, _b, _c;
248
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.facets(options);
249
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
250
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DocumentInsightsApi.facets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
251
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
252
+ });
253
+ },
210
254
  /**
211
255
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
212
256
  * @summary Get the insights of a document
@@ -224,7 +268,7 @@ export const DocumentInsightsApiFp = function (configuration) {
224
268
  });
225
269
  },
226
270
  /**
227
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
271
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
228
272
  * @summary Correct the kind of a document
229
273
  * @param {string} documentId
230
274
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -268,6 +312,15 @@ export const DocumentInsightsApiFactory = function (configuration, basePath, axi
268
312
  backfillStatus(jobId, options) {
269
313
  return localVarFp.backfillStatus(jobId, options).then((request) => request(axios, basePath));
270
314
  },
315
+ /**
316
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
317
+ * @summary The category and language facets of the library
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ */
321
+ facets(options) {
322
+ return localVarFp.facets(options).then((request) => request(axios, basePath));
323
+ },
271
324
  /**
272
325
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
273
326
  * @summary Get the insights of a document
@@ -279,7 +332,7 @@ export const DocumentInsightsApiFactory = function (configuration, basePath, axi
279
332
  return localVarFp.getInsights(documentId, options).then((request) => request(axios, basePath));
280
333
  },
281
334
  /**
282
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
335
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
283
336
  * @summary Correct the kind of a document
284
337
  * @param {string} documentId
285
338
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -315,6 +368,15 @@ export class DocumentInsightsApi extends BaseAPI {
315
368
  backfillStatus(jobId, options) {
316
369
  return DocumentInsightsApiFp(this.configuration).backfillStatus(jobId, options).then((request) => request(this.axios, this.basePath));
317
370
  }
371
+ /**
372
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
373
+ * @summary The category and language facets of the library
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ facets(options) {
378
+ return DocumentInsightsApiFp(this.configuration).facets(options).then((request) => request(this.axios, this.basePath));
379
+ }
318
380
  /**
319
381
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
320
382
  * @summary Get the insights of a document
@@ -326,7 +388,7 @@ export class DocumentInsightsApi extends BaseAPI {
326
388
  return DocumentInsightsApiFp(this.configuration).getInsights(documentId, options).then((request) => request(this.axios, this.basePath));
327
389
  }
328
390
  /**
329
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
391
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
330
392
  * @summary Correct the kind of a document
331
393
  * @param {string} documentId
332
394
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -34,13 +34,14 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
34
34
  */
35
35
  getSettings1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
36
  /**
37
- * A null field leaves the current value unchanged.
37
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
38
38
  * @summary Save the caller\'s smart-filing preferences
39
39
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
40
+ * @param {string} [acceptLanguage]
40
41
  * @param {*} [options] Override http request option.
41
42
  * @throws {RequiredError}
42
43
  */
43
- save: (saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44
+ save: (saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44
45
  };
45
46
  /**
46
47
  * SettingsApi - functional programming interface
@@ -61,13 +62,14 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
61
62
  */
62
63
  getSettings1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
63
64
  /**
64
- * A null field leaves the current value unchanged.
65
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
65
66
  * @summary Save the caller\'s smart-filing preferences
66
67
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
68
+ * @param {string} [acceptLanguage]
67
69
  * @param {*} [options] Override http request option.
68
70
  * @throws {RequiredError}
69
71
  */
70
- save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
72
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
71
73
  };
72
74
  /**
73
75
  * SettingsApi - factory interface
@@ -88,13 +90,14 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
88
90
  */
89
91
  getSettings1(options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
90
92
  /**
91
- * A null field leaves the current value unchanged.
93
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
92
94
  * @summary Save the caller\'s smart-filing preferences
93
95
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
96
+ * @param {string} [acceptLanguage]
94
97
  * @param {*} [options] Override http request option.
95
98
  * @throws {RequiredError}
96
99
  */
97
- save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
100
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
98
101
  };
99
102
  /**
100
103
  * SettingsApi - object-oriented interface
@@ -115,11 +118,12 @@ export declare class SettingsApi extends BaseAPI {
115
118
  */
116
119
  getSettings1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}>>;
117
120
  /**
118
- * A null field leaves the current value unchanged.
121
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
119
122
  * @summary Save the caller\'s smart-filing preferences
120
123
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
124
+ * @param {string} [acceptLanguage]
121
125
  * @param {*} [options] Override http request option.
122
126
  * @throws {RequiredError}
123
127
  */
124
- save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}>>;
128
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}>>;
125
129
  }
@@ -90,13 +90,14 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
90
90
  };
91
91
  }),
92
92
  /**
93
- * A null field leaves the current value unchanged.
93
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
94
94
  * @summary Save the caller\'s smart-filing preferences
95
95
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
96
+ * @param {string} [acceptLanguage]
96
97
  * @param {*} [options] Override http request option.
97
98
  * @throws {RequiredError}
98
99
  */
99
- save: (saveAiPreferencesRequest_1, ...args_1) => __awaiter(this, [saveAiPreferencesRequest_1, ...args_1], void 0, function* (saveAiPreferencesRequest, options = {}) {
100
+ save: (saveAiPreferencesRequest_1, acceptLanguage_1, ...args_1) => __awaiter(this, [saveAiPreferencesRequest_1, acceptLanguage_1, ...args_1], void 0, function* (saveAiPreferencesRequest, acceptLanguage, options = {}) {
100
101
  // verify required parameter 'saveAiPreferencesRequest' is not null or undefined
101
102
  assertParamExists('save', 'saveAiPreferencesRequest', saveAiPreferencesRequest);
102
103
  const localVarPath = `/api/v1/settings/ai/preferences`;
@@ -114,6 +115,9 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
114
115
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
115
116
  localVarHeaderParameter['Content-Type'] = 'application/json';
116
117
  localVarHeaderParameter['Accept'] = 'application/json';
118
+ if (acceptLanguage != null) {
119
+ localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
120
+ }
117
121
  setSearchParams(localVarUrlObj, localVarQueryParameter);
118
122
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
119
123
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -162,16 +166,17 @@ export const SettingsApiFp = function (configuration) {
162
166
  });
163
167
  },
164
168
  /**
165
- * A null field leaves the current value unchanged.
169
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
166
170
  * @summary Save the caller\'s smart-filing preferences
167
171
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
172
+ * @param {string} [acceptLanguage]
168
173
  * @param {*} [options] Override http request option.
169
174
  * @throws {RequiredError}
170
175
  */
171
- save(saveAiPreferencesRequest, options) {
176
+ save(saveAiPreferencesRequest, acceptLanguage, options) {
172
177
  return __awaiter(this, void 0, void 0, function* () {
173
178
  var _a, _b, _c;
174
- const localVarAxiosArgs = yield localVarAxiosParamCreator.save(saveAiPreferencesRequest, options);
179
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.save(saveAiPreferencesRequest, acceptLanguage, options);
175
180
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
176
181
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingsApi.save']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
177
182
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -204,14 +209,15 @@ export const SettingsApiFactory = function (configuration, basePath, axios) {
204
209
  return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
205
210
  },
206
211
  /**
207
- * A null field leaves the current value unchanged.
212
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
208
213
  * @summary Save the caller\'s smart-filing preferences
209
214
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
215
+ * @param {string} [acceptLanguage]
210
216
  * @param {*} [options] Override http request option.
211
217
  * @throws {RequiredError}
212
218
  */
213
- save(saveAiPreferencesRequest, options) {
214
- return localVarFp.save(saveAiPreferencesRequest, options).then((request) => request(axios, basePath));
219
+ save(saveAiPreferencesRequest, acceptLanguage, options) {
220
+ return localVarFp.save(saveAiPreferencesRequest, acceptLanguage, options).then((request) => request(axios, basePath));
215
221
  },
216
222
  };
217
223
  };
@@ -238,13 +244,14 @@ export class SettingsApi extends BaseAPI {
238
244
  return SettingsApiFp(this.configuration).getSettings1(options).then((request) => request(this.axios, this.basePath));
239
245
  }
240
246
  /**
241
- * A null field leaves the current value unchanged.
247
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
242
248
  * @summary Save the caller\'s smart-filing preferences
243
249
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
250
+ * @param {string} [acceptLanguage]
244
251
  * @param {*} [options] Override http request option.
245
252
  * @throws {RequiredError}
246
253
  */
247
- save(saveAiPreferencesRequest, options) {
248
- return SettingsApiFp(this.configuration).save(saveAiPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
254
+ save(saveAiPreferencesRequest, acceptLanguage, options) {
255
+ return SettingsApiFp(this.configuration).save(saveAiPreferencesRequest, acceptLanguage, options).then((request) => request(this.axios, this.basePath));
249
256
  }
250
257
  }
@@ -12,6 +12,7 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AutoFileInboxRequest } from '../models';
15
16
  import type { AutoFileJobView } from '../models';
16
17
  import type { AutoFileJobsRequest } from '../models';
17
18
  import type { AutoFileRequest } from '../models';
@@ -28,6 +29,14 @@ export declare const SmartFilingApiAxiosParamCreator: (configuration?: Configura
28
29
  * @throws {RequiredError}
29
30
  */
30
31
  file: (autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
34
+ * @summary File everything lying loose in the caller\'s Inbox
35
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ fileInbox: (autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
40
  /**
32
41
  *
33
42
  * @summary Progress and outcome of a filing job
@@ -81,6 +90,14 @@ export declare const SmartFilingApiFp: (configuration?: Configuration) => {
81
90
  * @throws {RequiredError}
82
91
  */
83
92
  file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
93
+ /**
94
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
95
+ * @summary File everything lying loose in the caller\'s Inbox
96
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
84
101
  /**
85
102
  *
86
103
  * @summary Progress and outcome of a filing job
@@ -134,6 +151,14 @@ export declare const SmartFilingApiFactory: (configuration?: Configuration, base
134
151
  * @throws {RequiredError}
135
152
  */
136
153
  file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
154
+ /**
155
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
156
+ * @summary File everything lying loose in the caller\'s Inbox
157
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
137
162
  /**
138
163
  *
139
164
  * @summary Progress and outcome of a filing job
@@ -187,6 +212,14 @@ export declare class SmartFilingApi extends BaseAPI {
187
212
  * @throws {RequiredError}
188
213
  */
189
214
  file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}>>;
215
+ /**
216
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
217
+ * @summary File everything lying loose in the caller\'s Inbox
218
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}>>;
190
223
  /**
191
224
  *
192
225
  * @summary Progress and outcome of a filing job