@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
@@ -40,10 +40,12 @@ docs/AiSettingsResponse.md
40
40
  docs/AncestorInfo.md
41
41
  docs/ApplySignatureRequest.md
42
42
  docs/AuditControllerApi.md
43
+ docs/AuditIntegrityStatusResponse.md
43
44
  docs/AuditLog.md
44
45
  docs/AuditLogDetails.md
45
46
  docs/AuditLogDetailsOneOf.md
46
47
  docs/AuditVerificationResult.md
48
+ docs/AutoFileInboxRequest.md
47
49
  docs/AutoFileJobView.md
48
50
  docs/AutoFileJobsRequest.md
49
51
  docs/AutoFileRequest.md
@@ -70,6 +72,7 @@ docs/DocumentControllerApi.md
70
72
  docs/DocumentInfo.md
71
73
  docs/DocumentInsightView.md
72
74
  docs/DocumentInsightsApi.md
75
+ docs/DocumentIntegrityRecord.md
73
76
  docs/DocumentPosition.md
74
77
  docs/DocumentSuggestionControllerApi.md
75
78
  docs/DocumentVersionControllerApi.md
@@ -80,6 +83,7 @@ docs/ESignTemplatesApi.md
80
83
  docs/ElementInfo.md
81
84
  docs/EmbeddingBackfillRequest.md
82
85
  docs/EmbeddingBackfillStatus.md
86
+ docs/Facet.md
83
87
  docs/FavoritesApi.md
84
88
  docs/FileControllerApi.md
85
89
  docs/FileTypeStats.md
@@ -91,6 +95,7 @@ docs/FolderResponse.md
91
95
  docs/InsightBackfillRequest.md
92
96
  docs/InsightBackfillStatus.md
93
97
  docs/InsightCategoryUpdate.md
98
+ docs/InsightFacets.md
94
99
  docs/InstantiateTemplateRequest.md
95
100
  docs/Item.md
96
101
  docs/ItemResult.md
@@ -189,10 +194,12 @@ models/ai-preferences-view.ts
189
194
  models/ai-settings-response.ts
190
195
  models/ancestor-info.ts
191
196
  models/apply-signature-request.ts
197
+ models/audit-integrity-status-response.ts
192
198
  models/audit-log-details-one-of.ts
193
199
  models/audit-log-details.ts
194
200
  models/audit-log.ts
195
201
  models/audit-verification-result.ts
202
+ models/auto-file-inbox-request.ts
196
203
  models/auto-file-job-view.ts
197
204
  models/auto-file-jobs-request.ts
198
205
  models/auto-file-request.ts
@@ -216,11 +223,13 @@ models/delete-metadata-request.ts
216
223
  models/delete-request.ts
217
224
  models/document-info.ts
218
225
  models/document-insight-view.ts
226
+ models/document-integrity-record.ts
219
227
  models/document-position.ts
220
228
  models/document-version-info.ts
221
229
  models/element-info.ts
222
230
  models/embedding-backfill-request.ts
223
231
  models/embedding-backfill-status.ts
232
+ models/facet.ts
224
233
  models/file-type-stats.ts
225
234
  models/filing-outcome.ts
226
235
  models/filter-input.ts
@@ -230,6 +239,7 @@ models/index.ts
230
239
  models/insight-backfill-request.ts
231
240
  models/insight-backfill-status.ts
232
241
  models/insight-category-update.ts
242
+ models/insight-facets.ts
233
243
  models/instantiate-template-request.ts
234
244
  models/item-result.ts
235
245
  models/item.ts
@@ -1 +1 @@
1
- 8672580c6c5002cb918a847b9f10e8dd17d4fb82174d95aee6d855cadfbb0aa8
1
+ 5028c2728c97b24a1e3d89f156885b27c70c2536b5c7aca4323fbfa321eb42c4
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript@1.3.19
1
+ ## @openfilz-sdk/typescript@1.3.21
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@1.3.19 --save
39
+ npm install @openfilz-sdk/typescript@1.3.21 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -66,6 +66,7 @@ Class | Method | HTTP request | Description
66
66
  *AISettingsApi* | [**listModels**](docs/AISettingsApi.md#listmodels) | **POST** /api/v1/settings/ai/models | List the provider\'s chat models
67
67
  *AISettingsApi* | [**saveSettings**](docs/AISettingsApi.md#savesettings) | **PUT** /api/v1/settings/ai | Save my AI settings
68
68
  *AISettingsApi* | [**testConnection**](docs/AISettingsApi.md#testconnection) | **POST** /api/v1/settings/ai/test | Test AI provider connection
69
+ *AuditControllerApi* | [**auditIntegrityStatus**](docs/AuditControllerApi.md#auditintegritystatus) | **GET** /api/v1/audit/verify/status | Last scheduled audit chain verification
69
70
  *AuditControllerApi* | [**getAuditTrail**](docs/AuditControllerApi.md#getaudittrail) | **GET** /api/v1/audit/{id} | Get audit trail for a resource
70
71
  *AuditControllerApi* | [**searchAuditTrail**](docs/AuditControllerApi.md#searchaudittrail) | **POST** /api/v1/audit/search | Search for audit trails
71
72
  *AuditControllerApi* | [**verifyChain**](docs/AuditControllerApi.md#verifychain) | **GET** /api/v1/audit/verify | Verify audit chain integrity
@@ -77,6 +78,7 @@ Class | Method | HTTP request | Description
77
78
  *DocumentControllerApi* | [**downloadMultipleDocumentsAsZip**](docs/DocumentControllerApi.md#downloadmultipledocumentsaszip) | **POST** /api/v1/documents/download-multiple | Download multiple documents as ZIP
78
79
  *DocumentControllerApi* | [**getDocumentAncestors**](docs/DocumentControllerApi.md#getdocumentancestors) | **GET** /api/v1/documents/{documentId}/ancestors | Get document ancestors
79
80
  *DocumentControllerApi* | [**getDocumentInfo**](docs/DocumentControllerApi.md#getdocumentinfo) | **GET** /api/v1/documents/{documentId}/info | Get information of a document
81
+ *DocumentControllerApi* | [**getDocumentIntegrity**](docs/DocumentControllerApi.md#getdocumentintegrity) | **GET** /api/v1/documents/{documentId}/integrity | Get a document\'s integrity ledger
80
82
  *DocumentControllerApi* | [**getDocumentMetadata**](docs/DocumentControllerApi.md#getdocumentmetadata) | **POST** /api/v1/documents/{documentId}/search/metadata | Search metadata of a document
81
83
  *DocumentControllerApi* | [**getDocumentPosition**](docs/DocumentControllerApi.md#getdocumentposition) | **GET** /api/v1/documents/{documentId}/position | Get document position in folder
82
84
  *DocumentControllerApi* | [**replaceDocumentContent**](docs/DocumentControllerApi.md#replacedocumentcontent) | **PUT** /api/v1/documents/{documentId}/replace-content | Replace document content
@@ -87,6 +89,7 @@ Class | Method | HTTP request | Description
87
89
  *DocumentControllerApi* | [**uploadDocument1**](docs/DocumentControllerApi.md#uploaddocument1) | **POST** /api/v1/documents/upload | Upload a single document
88
90
  *DocumentInsightsApi* | [**backfill**](docs/DocumentInsightsApi.md#backfill) | **POST** /api/v1/ai/insights/backfill | Enrich existing documents
89
91
  *DocumentInsightsApi* | [**backfillStatus**](docs/DocumentInsightsApi.md#backfillstatus) | **GET** /api/v1/ai/insights/backfill/{jobId} | Progress of a backfill job
92
+ *DocumentInsightsApi* | [**facets**](docs/DocumentInsightsApi.md#facets) | **GET** /api/v1/ai/insights/facets | The category and language facets of the library
90
93
  *DocumentInsightsApi* | [**getInsights**](docs/DocumentInsightsApi.md#getinsights) | **GET** /api/v1/documents/{documentId}/insights | Get the insights of a document
91
94
  *DocumentInsightsApi* | [**setCategory**](docs/DocumentInsightsApi.md#setcategory) | **PATCH** /api/v1/documents/{documentId}/insights | Correct the kind of a document
92
95
  *DocumentSuggestionControllerApi* | [**getSuggestions**](docs/DocumentSuggestionControllerApi.md#getsuggestions) | **GET** /api/v1/suggestions |
@@ -142,6 +145,7 @@ Class | Method | HTTP request | Description
142
145
  *SettingsApi* | [**getSettings1**](docs/SettingsApi.md#getsettings1) | **GET** /api/v1/settings | Get user\'s settings
143
146
  *SettingsApi* | [**save**](docs/SettingsApi.md#save) | **PUT** /api/v1/settings/ai/preferences | Save the caller\'s smart-filing preferences
144
147
  *SmartFilingApi* | [**file**](docs/SmartFilingApi.md#file) | **POST** /api/v1/ai/auto-file | File existing documents on demand
148
+ *SmartFilingApi* | [**fileInbox**](docs/SmartFilingApi.md#fileinbox) | **POST** /api/v1/ai/auto-file/inbox | File everything lying loose in the caller\'s Inbox
145
149
  *SmartFilingApi* | [**job**](docs/SmartFilingApi.md#job) | **GET** /api/v1/ai/auto-file/{jobId} | Progress and outcome of a filing job
146
150
  *SmartFilingApi* | [**jobs**](docs/SmartFilingApi.md#jobs) | **POST** /api/v1/ai/auto-file/jobs | Progress and outcome of several filing jobs
147
151
  *SmartFilingApi* | [**lastFiling**](docs/SmartFilingApi.md#lastfiling) | **GET** /api/v1/ai/auto-file/document/{documentId} | The latest filing record of a document (the \"Filed by OpenFilz\" chip)
@@ -184,10 +188,12 @@ Class | Method | HTTP request | Description
184
188
  - [AiSettingsResponse](docs/AiSettingsResponse.md)
185
189
  - [AncestorInfo](docs/AncestorInfo.md)
186
190
  - [ApplySignatureRequest](docs/ApplySignatureRequest.md)
191
+ - [AuditIntegrityStatusResponse](docs/AuditIntegrityStatusResponse.md)
187
192
  - [AuditLog](docs/AuditLog.md)
188
193
  - [AuditLogDetails](docs/AuditLogDetails.md)
189
194
  - [AuditLogDetailsOneOf](docs/AuditLogDetailsOneOf.md)
190
195
  - [AuditVerificationResult](docs/AuditVerificationResult.md)
196
+ - [AutoFileInboxRequest](docs/AutoFileInboxRequest.md)
191
197
  - [AutoFileJobView](docs/AutoFileJobView.md)
192
198
  - [AutoFileJobsRequest](docs/AutoFileJobsRequest.md)
193
199
  - [AutoFileRequest](docs/AutoFileRequest.md)
@@ -211,11 +217,13 @@ Class | Method | HTTP request | Description
211
217
  - [DeleteRequest](docs/DeleteRequest.md)
212
218
  - [DocumentInfo](docs/DocumentInfo.md)
213
219
  - [DocumentInsightView](docs/DocumentInsightView.md)
220
+ - [DocumentIntegrityRecord](docs/DocumentIntegrityRecord.md)
214
221
  - [DocumentPosition](docs/DocumentPosition.md)
215
222
  - [DocumentVersionInfo](docs/DocumentVersionInfo.md)
216
223
  - [ElementInfo](docs/ElementInfo.md)
217
224
  - [EmbeddingBackfillRequest](docs/EmbeddingBackfillRequest.md)
218
225
  - [EmbeddingBackfillStatus](docs/EmbeddingBackfillStatus.md)
226
+ - [Facet](docs/Facet.md)
219
227
  - [FileTypeStats](docs/FileTypeStats.md)
220
228
  - [FilingOutcome](docs/FilingOutcome.md)
221
229
  - [FilterInput](docs/FilterInput.md)
@@ -224,6 +232,7 @@ Class | Method | HTTP request | Description
224
232
  - [InsightBackfillRequest](docs/InsightBackfillRequest.md)
225
233
  - [InsightBackfillStatus](docs/InsightBackfillStatus.md)
226
234
  - [InsightCategoryUpdate](docs/InsightCategoryUpdate.md)
235
+ - [InsightFacets](docs/InsightFacets.md)
227
236
  - [InstantiateTemplateRequest](docs/InstantiateTemplateRequest.md)
228
237
  - [Item](docs/Item.md)
229
238
  - [ItemResult](docs/ItemResult.md)
@@ -22,6 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  // @ts-ignore
23
23
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
24
  // @ts-ignore
25
+ import type { AuditIntegrityStatusResponse } from '../models';
26
+ // @ts-ignore
25
27
  import type { AuditLog } from '../models';
26
28
  // @ts-ignore
27
29
  import type { AuditVerificationResult } from '../models';
@@ -32,6 +34,40 @@ import type { SearchByAuditLogRequest } from '../models';
32
34
  */
33
35
  export const AuditControllerApiAxiosParamCreator = function (configuration?: Configuration) {
34
36
  return {
37
+ /**
38
+ * Returns the cached verdict of the last scheduled verification on this instance, without re-walking the chain. Poll this for monitoring; call /verify for an authoritative, on-demand answer. `verified=false` means the chain has not been checked yet on this instance — it does not mean the chain is valid.
39
+ * @summary Last scheduled audit chain verification
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ auditIntegrityStatus: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44
+ const localVarPath = `/api/v1/audit/verify/status`;
45
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
47
+ let baseOptions;
48
+ if (configuration) {
49
+ baseOptions = configuration.baseOptions;
50
+ }
51
+
52
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
53
+ const localVarHeaderParameter = {} as any;
54
+ const localVarQueryParameter = {} as any;
55
+
56
+ // authentication keycloak_auth required
57
+ // http bearer authentication required
58
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
59
+
60
+ localVarHeaderParameter['Accept'] = '*/*';
61
+
62
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65
+
66
+ return {
67
+ url: toPathString(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ },
35
71
  /**
36
72
  * Retrieves the audit trail for a given resource.
37
73
  * @summary Get audit trail for a resource
@@ -157,6 +193,18 @@ export const AuditControllerApiAxiosParamCreator = function (configuration?: Con
157
193
  export const AuditControllerApiFp = function(configuration?: Configuration) {
158
194
  const localVarAxiosParamCreator = AuditControllerApiAxiosParamCreator(configuration)
159
195
  return {
196
+ /**
197
+ * Returns the cached verdict of the last scheduled verification on this instance, without re-walking the chain. Poll this for monitoring; call /verify for an authoritative, on-demand answer. `verified=false` means the chain has not been checked yet on this instance — it does not mean the chain is valid.
198
+ * @summary Last scheduled audit chain verification
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ async auditIntegrityStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuditIntegrityStatusResponse>> {
203
+ const localVarAxiosArgs = await localVarAxiosParamCreator.auditIntegrityStatus(options);
204
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
205
+ const localVarOperationServerBasePath = operationServerMap['AuditControllerApi.auditIntegrityStatus']?.[localVarOperationServerIndex]?.url;
206
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
207
+ },
160
208
  /**
161
209
  * Retrieves the audit trail for a given resource.
162
210
  * @summary Get audit trail for a resource
@@ -205,6 +253,15 @@ export const AuditControllerApiFp = function(configuration?: Configuration) {
205
253
  export const AuditControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
206
254
  const localVarFp = AuditControllerApiFp(configuration)
207
255
  return {
256
+ /**
257
+ * Returns the cached verdict of the last scheduled verification on this instance, without re-walking the chain. Poll this for monitoring; call /verify for an authoritative, on-demand answer. `verified=false` means the chain has not been checked yet on this instance — it does not mean the chain is valid.
258
+ * @summary Last scheduled audit chain verification
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ auditIntegrityStatus(options?: RawAxiosRequestConfig): AxiosPromise<AuditIntegrityStatusResponse> {
263
+ return localVarFp.auditIntegrityStatus(options).then((request) => request(axios, basePath));
264
+ },
208
265
  /**
209
266
  * Retrieves the audit trail for a given resource.
210
267
  * @summary Get audit trail for a resource
@@ -242,6 +299,16 @@ export const AuditControllerApiFactory = function (configuration?: Configuration
242
299
  * AuditControllerApi - object-oriented interface
243
300
  */
244
301
  export class AuditControllerApi extends BaseAPI {
302
+ /**
303
+ * Returns the cached verdict of the last scheduled verification on this instance, without re-walking the chain. Poll this for monitoring; call /verify for an authoritative, on-demand answer. `verified=false` means the chain has not been checked yet on this instance — it does not mean the chain is valid.
304
+ * @summary Last scheduled audit chain verification
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ public auditIntegrityStatus(options?: RawAxiosRequestConfig) {
309
+ return AuditControllerApiFp(this.configuration).auditIntegrityStatus(options).then((request) => request(this.axios, this.basePath));
310
+ }
311
+
245
312
  /**
246
313
  * Retrieves the audit trail for a given resource.
247
314
  * @summary Get audit trail for a resource
@@ -30,6 +30,8 @@ import type { DeleteMetadataRequest } from '../models';
30
30
  // @ts-ignore
31
31
  import type { DocumentInfo } from '../models';
32
32
  // @ts-ignore
33
+ import type { DocumentIntegrityRecord } from '../models';
34
+ // @ts-ignore
33
35
  import type { DocumentPosition } from '../models';
34
36
  // @ts-ignore
35
37
  import type { ElementInfo } from '../models';
@@ -335,6 +337,44 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration?:
335
337
  options: localVarRequestOptions,
336
338
  };
337
339
  },
340
+ /**
341
+ * 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.
342
+ * @summary Get a document\'s integrity ledger
343
+ * @param {string} documentId
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ */
347
+ getDocumentIntegrity: async (documentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
348
+ // verify required parameter 'documentId' is not null or undefined
349
+ assertParamExists('getDocumentIntegrity', 'documentId', documentId)
350
+ const localVarPath = `/api/v1/documents/{documentId}/integrity`
351
+ .replace('{documentId}', encodeURIComponent(String(documentId)));
352
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
353
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
354
+ let baseOptions;
355
+ if (configuration) {
356
+ baseOptions = configuration.baseOptions;
357
+ }
358
+
359
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
360
+ const localVarHeaderParameter = {} as any;
361
+ const localVarQueryParameter = {} as any;
362
+
363
+ // authentication keycloak_auth required
364
+ // http bearer authentication required
365
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
366
+
367
+ localVarHeaderParameter['Accept'] = '*/*';
368
+
369
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
370
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
371
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
372
+
373
+ return {
374
+ url: toPathString(localVarUrlObj),
375
+ options: localVarRequestOptions,
376
+ };
377
+ },
338
378
  /**
339
379
  * Retrieves metadata for a document. Can filter by keys.
340
380
  * @summary Search metadata of a document
@@ -826,6 +866,19 @@ export const DocumentControllerApiFp = function(configuration?: Configuration) {
826
866
  const localVarOperationServerBasePath = operationServerMap['DocumentControllerApi.getDocumentInfo']?.[localVarOperationServerIndex]?.url;
827
867
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
828
868
  },
869
+ /**
870
+ * 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.
871
+ * @summary Get a document\'s integrity ledger
872
+ * @param {string} documentId
873
+ * @param {*} [options] Override http request option.
874
+ * @throws {RequiredError}
875
+ */
876
+ async getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DocumentIntegrityRecord>>> {
877
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentIntegrity(documentId, options);
878
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
879
+ const localVarOperationServerBasePath = operationServerMap['DocumentControllerApi.getDocumentIntegrity']?.[localVarOperationServerIndex]?.url;
880
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
881
+ },
829
882
  /**
830
883
  * Retrieves metadata for a document. Can filter by keys.
831
884
  * @summary Search metadata of a document
@@ -1026,6 +1079,16 @@ export const DocumentControllerApiFactory = function (configuration?: Configurat
1026
1079
  getDocumentInfo(documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DocumentInfo> {
1027
1080
  return localVarFp.getDocumentInfo(documentId, withMetadata, options).then((request) => request(axios, basePath));
1028
1081
  },
1082
+ /**
1083
+ * 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.
1084
+ * @summary Get a document\'s integrity ledger
1085
+ * @param {string} documentId
1086
+ * @param {*} [options] Override http request option.
1087
+ * @throws {RequiredError}
1088
+ */
1089
+ getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DocumentIntegrityRecord>> {
1090
+ return localVarFp.getDocumentIntegrity(documentId, options).then((request) => request(axios, basePath));
1091
+ },
1029
1092
  /**
1030
1093
  * Retrieves metadata for a document. Can filter by keys.
1031
1094
  * @summary Search metadata of a document
@@ -1207,6 +1270,17 @@ export class DocumentControllerApi extends BaseAPI {
1207
1270
  return DocumentControllerApiFp(this.configuration).getDocumentInfo(documentId, withMetadata, options).then((request) => request(this.axios, this.basePath));
1208
1271
  }
1209
1272
 
1273
+ /**
1274
+ * 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.
1275
+ * @summary Get a document\'s integrity ledger
1276
+ * @param {string} documentId
1277
+ * @param {*} [options] Override http request option.
1278
+ * @throws {RequiredError}
1279
+ */
1280
+ public getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig) {
1281
+ return DocumentControllerApiFp(this.configuration).getDocumentIntegrity(documentId, options).then((request) => request(this.axios, this.basePath));
1282
+ }
1283
+
1210
1284
  /**
1211
1285
  * Retrieves metadata for a document. Can filter by keys.
1212
1286
  * @summary Search metadata of a document
@@ -29,6 +29,8 @@ import type { InsightBackfillRequest } from '../models';
29
29
  import type { InsightBackfillStatus } from '../models';
30
30
  // @ts-ignore
31
31
  import type { InsightCategoryUpdate } from '../models';
32
+ // @ts-ignore
33
+ import type { InsightFacets } from '../models';
32
34
  /**
33
35
  * DocumentInsightsApi - axios parameter creator
34
36
  */
@@ -109,6 +111,40 @@ export const DocumentInsightsApiAxiosParamCreator = function (configuration?: Co
109
111
  options: localVarRequestOptions,
110
112
  };
111
113
  },
114
+ /**
115
+ * 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.
116
+ * @summary The category and language facets of the library
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ facets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
121
+ const localVarPath = `/api/v1/ai/insights/facets`;
122
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
123
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
124
+ let baseOptions;
125
+ if (configuration) {
126
+ baseOptions = configuration.baseOptions;
127
+ }
128
+
129
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
130
+ const localVarHeaderParameter = {} as any;
131
+ const localVarQueryParameter = {} as any;
132
+
133
+ // authentication keycloak_auth required
134
+ // http bearer authentication required
135
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
136
+
137
+ localVarHeaderParameter['Accept'] = 'application/json';
138
+
139
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
140
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
141
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
142
+
143
+ return {
144
+ url: toPathString(localVarUrlObj),
145
+ options: localVarRequestOptions,
146
+ };
147
+ },
112
148
  /**
113
149
  * 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.
114
150
  * @summary Get the insights of a document
@@ -148,7 +184,7 @@ export const DocumentInsightsApiAxiosParamCreator = function (configuration?: Co
148
184
  };
149
185
  },
150
186
  /**
151
- * 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.
187
+ * 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.
152
188
  * @summary Correct the kind of a document
153
189
  * @param {string} documentId
154
190
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -225,6 +261,18 @@ export const DocumentInsightsApiFp = function(configuration?: Configuration) {
225
261
  const localVarOperationServerBasePath = operationServerMap['DocumentInsightsApi.backfillStatus']?.[localVarOperationServerIndex]?.url;
226
262
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
227
263
  },
264
+ /**
265
+ * 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.
266
+ * @summary The category and language facets of the library
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ async facets(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InsightFacets>> {
271
+ const localVarAxiosArgs = await localVarAxiosParamCreator.facets(options);
272
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
273
+ const localVarOperationServerBasePath = operationServerMap['DocumentInsightsApi.facets']?.[localVarOperationServerIndex]?.url;
274
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
275
+ },
228
276
  /**
229
277
  * 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.
230
278
  * @summary Get the insights of a document
@@ -239,7 +287,7 @@ export const DocumentInsightsApiFp = function(configuration?: Configuration) {
239
287
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
240
288
  },
241
289
  /**
242
- * 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.
290
+ * 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.
243
291
  * @summary Correct the kind of a document
244
292
  * @param {string} documentId
245
293
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -281,6 +329,15 @@ export const DocumentInsightsApiFactory = function (configuration?: Configuratio
281
329
  backfillStatus(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<InsightBackfillStatus> {
282
330
  return localVarFp.backfillStatus(jobId, options).then((request) => request(axios, basePath));
283
331
  },
332
+ /**
333
+ * 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.
334
+ * @summary The category and language facets of the library
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ facets(options?: RawAxiosRequestConfig): AxiosPromise<InsightFacets> {
339
+ return localVarFp.facets(options).then((request) => request(axios, basePath));
340
+ },
284
341
  /**
285
342
  * 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.
286
343
  * @summary Get the insights of a document
@@ -292,7 +349,7 @@ export const DocumentInsightsApiFactory = function (configuration?: Configuratio
292
349
  return localVarFp.getInsights(documentId, options).then((request) => request(axios, basePath));
293
350
  },
294
351
  /**
295
- * 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.
352
+ * 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.
296
353
  * @summary Correct the kind of a document
297
354
  * @param {string} documentId
298
355
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -331,6 +388,16 @@ export class DocumentInsightsApi extends BaseAPI {
331
388
  return DocumentInsightsApiFp(this.configuration).backfillStatus(jobId, options).then((request) => request(this.axios, this.basePath));
332
389
  }
333
390
 
391
+ /**
392
+ * 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.
393
+ * @summary The category and language facets of the library
394
+ * @param {*} [options] Override http request option.
395
+ * @throws {RequiredError}
396
+ */
397
+ public facets(options?: RawAxiosRequestConfig) {
398
+ return DocumentInsightsApiFp(this.configuration).facets(options).then((request) => request(this.axios, this.basePath));
399
+ }
400
+
334
401
  /**
335
402
  * 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.
336
403
  * @summary Get the insights of a document
@@ -343,7 +410,7 @@ export class DocumentInsightsApi extends BaseAPI {
343
410
  }
344
411
 
345
412
  /**
346
- * 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.
413
+ * 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.
347
414
  * @summary Correct the kind of a document
348
415
  * @param {string} documentId
349
416
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -101,13 +101,14 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
101
101
  };
102
102
  },
103
103
  /**
104
- * A null field leaves the current value unchanged.
104
+ * 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.
105
105
  * @summary Save the caller\'s smart-filing preferences
106
106
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
107
+ * @param {string} [acceptLanguage]
107
108
  * @param {*} [options] Override http request option.
108
109
  * @throws {RequiredError}
109
110
  */
110
- save: async (saveAiPreferencesRequest: SaveAiPreferencesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
111
+ save: async (saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
111
112
  // verify required parameter 'saveAiPreferencesRequest' is not null or undefined
112
113
  assertParamExists('save', 'saveAiPreferencesRequest', saveAiPreferencesRequest)
113
114
  const localVarPath = `/api/v1/settings/ai/preferences`;
@@ -129,6 +130,9 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
129
130
  localVarHeaderParameter['Content-Type'] = 'application/json';
130
131
  localVarHeaderParameter['Accept'] = 'application/json';
131
132
 
133
+ if (acceptLanguage != null) {
134
+ localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
135
+ }
132
136
  setSearchParams(localVarUrlObj, localVarQueryParameter);
133
137
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
138
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -173,14 +177,15 @@ export const SettingsApiFp = function(configuration?: Configuration) {
173
177
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
174
178
  },
175
179
  /**
176
- * A null field leaves the current value unchanged.
180
+ * 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.
177
181
  * @summary Save the caller\'s smart-filing preferences
178
182
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
183
+ * @param {string} [acceptLanguage]
179
184
  * @param {*} [options] Override http request option.
180
185
  * @throws {RequiredError}
181
186
  */
182
- async save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>> {
183
- const localVarAxiosArgs = await localVarAxiosParamCreator.save(saveAiPreferencesRequest, options);
187
+ async save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>> {
188
+ const localVarAxiosArgs = await localVarAxiosParamCreator.save(saveAiPreferencesRequest, acceptLanguage, options);
184
189
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
185
190
  const localVarOperationServerBasePath = operationServerMap['SettingsApi.save']?.[localVarOperationServerIndex]?.url;
186
191
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -213,14 +218,15 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
213
218
  return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
214
219
  },
215
220
  /**
216
- * A null field leaves the current value unchanged.
221
+ * 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.
217
222
  * @summary Save the caller\'s smart-filing preferences
218
223
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
224
+ * @param {string} [acceptLanguage]
219
225
  * @param {*} [options] Override http request option.
220
226
  * @throws {RequiredError}
221
227
  */
222
- save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView> {
223
- return localVarFp.save(saveAiPreferencesRequest, options).then((request) => request(axios, basePath));
228
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView> {
229
+ return localVarFp.save(saveAiPreferencesRequest, acceptLanguage, options).then((request) => request(axios, basePath));
224
230
  },
225
231
  };
226
232
  };
@@ -250,14 +256,15 @@ export class SettingsApi extends BaseAPI {
250
256
  }
251
257
 
252
258
  /**
253
- * A null field leaves the current value unchanged.
259
+ * 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.
254
260
  * @summary Save the caller\'s smart-filing preferences
255
261
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
262
+ * @param {string} [acceptLanguage]
256
263
  * @param {*} [options] Override http request option.
257
264
  * @throws {RequiredError}
258
265
  */
259
- public save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig) {
260
- return SettingsApiFp(this.configuration).save(saveAiPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
266
+ public save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig) {
267
+ return SettingsApiFp(this.configuration).save(saveAiPreferencesRequest, acceptLanguage, options).then((request) => request(this.axios, this.basePath));
261
268
  }
262
269
  }
263
270