@openfilz-sdk/typescript-ee 1.10.1 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +5 -2
- package/api/settings-api.ts +32 -18
- package/dist/api/settings-api.d.ts +20 -12
- package/dist/api/settings-api.js +32 -18
- package/dist/esm/api/settings-api.d.ts +20 -12
- package/dist/esm/api/settings-api.js +32 -18
- package/dist/esm/models/ai-taxonomy-category.d.ts +3 -1
- package/dist/esm/models/ai-taxonomy-view.d.ts +6 -0
- package/dist/esm/models/enriched-audit-log.d.ts +1 -0
- package/dist/esm/models/enriched-audit-log.js +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
- package/dist/esm/models/search-by-audit-log-request.js +1 -0
- package/dist/esm/models/settings.d.ts +3 -0
- package/dist/esm/models/vote.d.ts +17 -0
- package/dist/esm/models/vote.js +14 -0
- package/dist/esm/models/workflow-event-dto.d.ts +1 -0
- package/dist/esm/models/workflow-event-dto.js +1 -0
- package/dist/esm/models/workflow-review-progress-dto.d.ts +27 -0
- package/dist/esm/models/workflow-review-progress-dto.js +18 -0
- package/dist/esm/models/workflow-review.d.ts +22 -0
- package/dist/esm/models/workflow-review.js +18 -0
- package/dist/esm/models/workflow-state.d.ts +2 -0
- package/dist/esm/models/workflow-task-dto.d.ts +2 -0
- package/dist/models/ai-taxonomy-category.d.ts +3 -1
- package/dist/models/ai-taxonomy-view.d.ts +6 -0
- package/dist/models/enriched-audit-log.d.ts +1 -0
- package/dist/models/enriched-audit-log.js +1 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/search-by-audit-log-request.d.ts +1 -0
- package/dist/models/search-by-audit-log-request.js +1 -0
- package/dist/models/settings.d.ts +3 -0
- package/dist/models/vote.d.ts +17 -0
- package/dist/models/vote.js +15 -0
- package/dist/models/workflow-event-dto.d.ts +1 -0
- package/dist/models/workflow-event-dto.js +1 -0
- package/dist/models/workflow-review-progress-dto.d.ts +27 -0
- package/dist/models/workflow-review-progress-dto.js +21 -0
- package/dist/models/workflow-review.d.ts +22 -0
- package/dist/models/workflow-review.js +21 -0
- package/dist/models/workflow-state.d.ts +2 -0
- package/dist/models/workflow-task-dto.d.ts +2 -0
- package/docs/AiTaxonomyCategory.md +2 -2
- package/docs/AiTaxonomyView.md +4 -0
- package/docs/Settings.md +2 -0
- package/docs/SettingsApi.md +14 -4
- package/docs/Vote.md +26 -0
- package/docs/WorkflowReview.md +24 -0
- package/docs/WorkflowReviewProgressDTO.md +32 -0
- package/docs/WorkflowState.md +2 -0
- package/docs/WorkflowTaskDTO.md +2 -0
- package/models/ai-taxonomy-category.ts +1 -1
- package/models/ai-taxonomy-view.ts +2 -0
- package/models/enriched-audit-log.ts +1 -0
- package/models/index.ts +3 -0
- package/models/search-by-audit-log-request.ts +1 -0
- package/models/settings.ts +1 -0
- package/models/vote.ts +23 -0
- package/models/workflow-event-dto.ts +1 -0
- package/models/workflow-review-progress-dto.ts +38 -0
- package/models/workflow-review.ts +31 -0
- package/models/workflow-state.ts +4 -0
- package/models/workflow-task-dto.ts +4 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -277,6 +277,7 @@ docs/UserPrivacyApi.md
|
|
|
277
277
|
docs/UserPrivacyDTO.md
|
|
278
278
|
docs/UserRegistrationRequest.md
|
|
279
279
|
docs/VerifyOtpRequest.md
|
|
280
|
+
docs/Vote.md
|
|
280
281
|
docs/WebhookProxyControllerApi.md
|
|
281
282
|
docs/WorkflowAction.md
|
|
282
283
|
docs/WorkflowActionFailureAudit.md
|
|
@@ -288,6 +289,8 @@ docs/WorkflowInstanceDTO.md
|
|
|
288
289
|
docs/WorkflowInstanceDetailDTO.md
|
|
289
290
|
docs/WorkflowInstancePage.md
|
|
290
291
|
docs/WorkflowProblem.md
|
|
292
|
+
docs/WorkflowReview.md
|
|
293
|
+
docs/WorkflowReviewProgressDTO.md
|
|
291
294
|
docs/WorkflowSpec.md
|
|
292
295
|
docs/WorkflowState.md
|
|
293
296
|
docs/WorkflowSummaryDTO.md
|
|
@@ -483,6 +486,7 @@ models/user-preferences-request.ts
|
|
|
483
486
|
models/user-privacy-dto.ts
|
|
484
487
|
models/user-registration-request.ts
|
|
485
488
|
models/verify-otp-request.ts
|
|
489
|
+
models/vote.ts
|
|
486
490
|
models/workflow-action-failure-audit.ts
|
|
487
491
|
models/workflow-action.ts
|
|
488
492
|
models/workflow-assignment.ts
|
|
@@ -493,6 +497,8 @@ models/workflow-instance-detail-dto.ts
|
|
|
493
497
|
models/workflow-instance-dto.ts
|
|
494
498
|
models/workflow-instance-page.ts
|
|
495
499
|
models/workflow-problem.ts
|
|
500
|
+
models/workflow-review-progress-dto.ts
|
|
501
|
+
models/workflow-review.ts
|
|
496
502
|
models/workflow-spec.ts
|
|
497
503
|
models/workflow-state.ts
|
|
498
504
|
models/workflow-summary-dto.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
aaaac9fc3a735e9dc14c9ededaed4ffbba613180cc9d256dae1a1373508a8942
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.10.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.10.3
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.10.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.10.3 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -462,6 +462,7 @@ Class | Method | HTTP request | Description
|
|
|
462
462
|
- [UserPrivacyDTO](docs/UserPrivacyDTO.md)
|
|
463
463
|
- [UserRegistrationRequest](docs/UserRegistrationRequest.md)
|
|
464
464
|
- [VerifyOtpRequest](docs/VerifyOtpRequest.md)
|
|
465
|
+
- [Vote](docs/Vote.md)
|
|
465
466
|
- [WorkflowAction](docs/WorkflowAction.md)
|
|
466
467
|
- [WorkflowActionFailureAudit](docs/WorkflowActionFailureAudit.md)
|
|
467
468
|
- [WorkflowAssignment](docs/WorkflowAssignment.md)
|
|
@@ -472,6 +473,8 @@ Class | Method | HTTP request | Description
|
|
|
472
473
|
- [WorkflowInstanceDetailDTO](docs/WorkflowInstanceDetailDTO.md)
|
|
473
474
|
- [WorkflowInstancePage](docs/WorkflowInstancePage.md)
|
|
474
475
|
- [WorkflowProblem](docs/WorkflowProblem.md)
|
|
476
|
+
- [WorkflowReview](docs/WorkflowReview.md)
|
|
477
|
+
- [WorkflowReviewProgressDTO](docs/WorkflowReviewProgressDTO.md)
|
|
475
478
|
- [WorkflowSpec](docs/WorkflowSpec.md)
|
|
476
479
|
- [WorkflowState](docs/WorkflowState.md)
|
|
477
480
|
- [WorkflowSummaryDTO](docs/WorkflowSummaryDTO.md)
|
package/api/settings-api.ts
CHANGED
|
@@ -105,12 +105,13 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
105
105
|
};
|
|
106
106
|
},
|
|
107
107
|
/**
|
|
108
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
108
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
109
109
|
* @summary Get user\'s settings
|
|
110
|
+
* @param {string} [acceptLanguage]
|
|
110
111
|
* @param {*} [options] Override http request option.
|
|
111
112
|
* @throws {RequiredError}
|
|
112
113
|
*/
|
|
113
|
-
getSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
114
|
+
getSettings: async (acceptLanguage?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
114
115
|
const localVarPath = `/api/v1/settings`;
|
|
115
116
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
117
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -129,6 +130,9 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
129
130
|
|
|
130
131
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
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};
|
|
@@ -185,10 +189,11 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
185
189
|
* Save user\'s language and theme preferences
|
|
186
190
|
* @summary Save user preferences
|
|
187
191
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
192
|
+
* @param {string} [acceptLanguage]
|
|
188
193
|
* @param {*} [options] Override http request option.
|
|
189
194
|
* @throws {RequiredError}
|
|
190
195
|
*/
|
|
191
|
-
saveSettings: async (userPreferencesRequest: UserPreferencesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
196
|
+
saveSettings: async (userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
192
197
|
// verify required parameter 'userPreferencesRequest' is not null or undefined
|
|
193
198
|
assertParamExists('saveSettings', 'userPreferencesRequest', userPreferencesRequest)
|
|
194
199
|
const localVarPath = `/api/v1/settings`;
|
|
@@ -210,6 +215,9 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
210
215
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
211
216
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
212
217
|
|
|
218
|
+
if (acceptLanguage != null) {
|
|
219
|
+
localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
|
|
220
|
+
}
|
|
213
221
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
214
222
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
215
223
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -254,13 +262,14 @@ export const SettingsApiFp = function(configuration?: Configuration) {
|
|
|
254
262
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
255
263
|
},
|
|
256
264
|
/**
|
|
257
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
265
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
258
266
|
* @summary Get user\'s settings
|
|
267
|
+
* @param {string} [acceptLanguage]
|
|
259
268
|
* @param {*} [options] Override http request option.
|
|
260
269
|
* @throws {RequiredError}
|
|
261
270
|
*/
|
|
262
|
-
async getSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>> {
|
|
263
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettings(options);
|
|
271
|
+
async getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>> {
|
|
272
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettings(acceptLanguage, options);
|
|
264
273
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
265
274
|
const localVarOperationServerBasePath = operationServerMap['SettingsApi.getSettings']?.[localVarOperationServerIndex]?.url;
|
|
266
275
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -283,11 +292,12 @@ export const SettingsApiFp = function(configuration?: Configuration) {
|
|
|
283
292
|
* Save user\'s language and theme preferences
|
|
284
293
|
* @summary Save user preferences
|
|
285
294
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
295
|
+
* @param {string} [acceptLanguage]
|
|
286
296
|
* @param {*} [options] Override http request option.
|
|
287
297
|
* @throws {RequiredError}
|
|
288
298
|
*/
|
|
289
|
-
async saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>> {
|
|
290
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveSettings(userPreferencesRequest, options);
|
|
299
|
+
async saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>> {
|
|
300
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.saveSettings(userPreferencesRequest, acceptLanguage, options);
|
|
291
301
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
292
302
|
const localVarOperationServerBasePath = operationServerMap['SettingsApi.saveSettings']?.[localVarOperationServerIndex]?.url;
|
|
293
303
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -320,13 +330,14 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
320
330
|
return localVarFp.getLicenseInfo(options).then((request) => request(axios, basePath));
|
|
321
331
|
},
|
|
322
332
|
/**
|
|
323
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
333
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
324
334
|
* @summary Get user\'s settings
|
|
335
|
+
* @param {string} [acceptLanguage]
|
|
325
336
|
* @param {*} [options] Override http request option.
|
|
326
337
|
* @throws {RequiredError}
|
|
327
338
|
*/
|
|
328
|
-
getSettings(options?: RawAxiosRequestConfig): AxiosPromise<Settings> {
|
|
329
|
-
return localVarFp.getSettings(options).then((request) => request(axios, basePath));
|
|
339
|
+
getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings> {
|
|
340
|
+
return localVarFp.getSettings(acceptLanguage, options).then((request) => request(axios, basePath));
|
|
330
341
|
},
|
|
331
342
|
/**
|
|
332
343
|
* 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.
|
|
@@ -343,11 +354,12 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
343
354
|
* Save user\'s language and theme preferences
|
|
344
355
|
* @summary Save user preferences
|
|
345
356
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
357
|
+
* @param {string} [acceptLanguage]
|
|
346
358
|
* @param {*} [options] Override http request option.
|
|
347
359
|
* @throws {RequiredError}
|
|
348
360
|
*/
|
|
349
|
-
saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Settings> {
|
|
350
|
-
return localVarFp.saveSettings(userPreferencesRequest, options).then((request) => request(axios, basePath));
|
|
361
|
+
saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings> {
|
|
362
|
+
return localVarFp.saveSettings(userPreferencesRequest, acceptLanguage, options).then((request) => request(axios, basePath));
|
|
351
363
|
},
|
|
352
364
|
};
|
|
353
365
|
};
|
|
@@ -377,13 +389,14 @@ export class SettingsApi extends BaseAPI {
|
|
|
377
389
|
}
|
|
378
390
|
|
|
379
391
|
/**
|
|
380
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
392
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
381
393
|
* @summary Get user\'s settings
|
|
394
|
+
* @param {string} [acceptLanguage]
|
|
382
395
|
* @param {*} [options] Override http request option.
|
|
383
396
|
* @throws {RequiredError}
|
|
384
397
|
*/
|
|
385
|
-
public getSettings(options?: RawAxiosRequestConfig) {
|
|
386
|
-
return SettingsApiFp(this.configuration).getSettings(options).then((request) => request(this.axios, this.basePath));
|
|
398
|
+
public getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig) {
|
|
399
|
+
return SettingsApiFp(this.configuration).getSettings(acceptLanguage, options).then((request) => request(this.axios, this.basePath));
|
|
387
400
|
}
|
|
388
401
|
|
|
389
402
|
/**
|
|
@@ -402,11 +415,12 @@ export class SettingsApi extends BaseAPI {
|
|
|
402
415
|
* Save user\'s language and theme preferences
|
|
403
416
|
* @summary Save user preferences
|
|
404
417
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
418
|
+
* @param {string} [acceptLanguage]
|
|
405
419
|
* @param {*} [options] Override http request option.
|
|
406
420
|
* @throws {RequiredError}
|
|
407
421
|
*/
|
|
408
|
-
public saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig) {
|
|
409
|
-
return SettingsApiFp(this.configuration).saveSettings(userPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
422
|
+
public saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig) {
|
|
423
|
+
return SettingsApiFp(this.configuration).saveSettings(userPreferencesRequest, acceptLanguage, options).then((request) => request(this.axios, this.basePath));
|
|
410
424
|
}
|
|
411
425
|
}
|
|
412
426
|
|
|
@@ -36,12 +36,13 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36
36
|
*/
|
|
37
37
|
getLicenseInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
39
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
40
40
|
* @summary Get user\'s settings
|
|
41
|
+
* @param {string} [acceptLanguage]
|
|
41
42
|
* @param {*} [options] Override http request option.
|
|
42
43
|
* @throws {RequiredError}
|
|
43
44
|
*/
|
|
44
|
-
getSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
getSettings: (acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
46
|
/**
|
|
46
47
|
* 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.
|
|
47
48
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -55,10 +56,11 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
55
56
|
* Save user\'s language and theme preferences
|
|
56
57
|
* @summary Save user preferences
|
|
57
58
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
59
|
+
* @param {string} [acceptLanguage]
|
|
58
60
|
* @param {*} [options] Override http request option.
|
|
59
61
|
* @throws {RequiredError}
|
|
60
62
|
*/
|
|
61
|
-
saveSettings: (userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
|
+
saveSettings: (userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
64
|
};
|
|
63
65
|
/**
|
|
64
66
|
* SettingsApi - functional programming interface
|
|
@@ -79,12 +81,13 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
79
81
|
*/
|
|
80
82
|
getLicenseInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicenseInfo>>;
|
|
81
83
|
/**
|
|
82
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
84
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
83
85
|
* @summary Get user\'s settings
|
|
86
|
+
* @param {string} [acceptLanguage]
|
|
84
87
|
* @param {*} [options] Override http request option.
|
|
85
88
|
* @throws {RequiredError}
|
|
86
89
|
*/
|
|
87
|
-
getSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
90
|
+
getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
88
91
|
/**
|
|
89
92
|
* 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.
|
|
90
93
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -98,10 +101,11 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
98
101
|
* Save user\'s language and theme preferences
|
|
99
102
|
* @summary Save user preferences
|
|
100
103
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
104
|
+
* @param {string} [acceptLanguage]
|
|
101
105
|
* @param {*} [options] Override http request option.
|
|
102
106
|
* @throws {RequiredError}
|
|
103
107
|
*/
|
|
104
|
-
saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
108
|
+
saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
105
109
|
};
|
|
106
110
|
/**
|
|
107
111
|
* SettingsApi - factory interface
|
|
@@ -122,12 +126,13 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
122
126
|
*/
|
|
123
127
|
getLicenseInfo(options?: RawAxiosRequestConfig): AxiosPromise<LicenseInfo>;
|
|
124
128
|
/**
|
|
125
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
129
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
126
130
|
* @summary Get user\'s settings
|
|
131
|
+
* @param {string} [acceptLanguage]
|
|
127
132
|
* @param {*} [options] Override http request option.
|
|
128
133
|
* @throws {RequiredError}
|
|
129
134
|
*/
|
|
130
|
-
getSettings(options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
135
|
+
getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
131
136
|
/**
|
|
132
137
|
* 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.
|
|
133
138
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -141,10 +146,11 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
141
146
|
* Save user\'s language and theme preferences
|
|
142
147
|
* @summary Save user preferences
|
|
143
148
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
149
|
+
* @param {string} [acceptLanguage]
|
|
144
150
|
* @param {*} [options] Override http request option.
|
|
145
151
|
* @throws {RequiredError}
|
|
146
152
|
*/
|
|
147
|
-
saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
153
|
+
saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
148
154
|
};
|
|
149
155
|
/**
|
|
150
156
|
* SettingsApi - object-oriented interface
|
|
@@ -165,12 +171,13 @@ export declare class SettingsApi extends BaseAPI {
|
|
|
165
171
|
*/
|
|
166
172
|
getLicenseInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LicenseInfo, any, {}, any>>;
|
|
167
173
|
/**
|
|
168
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
174
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
169
175
|
* @summary Get user\'s settings
|
|
176
|
+
* @param {string} [acceptLanguage]
|
|
170
177
|
* @param {*} [options] Override http request option.
|
|
171
178
|
* @throws {RequiredError}
|
|
172
179
|
*/
|
|
173
|
-
getSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
180
|
+
getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
174
181
|
/**
|
|
175
182
|
* 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.
|
|
176
183
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -184,8 +191,9 @@ export declare class SettingsApi extends BaseAPI {
|
|
|
184
191
|
* Save user\'s language and theme preferences
|
|
185
192
|
* @summary Save user preferences
|
|
186
193
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
194
|
+
* @param {string} [acceptLanguage]
|
|
187
195
|
* @param {*} [options] Override http request option.
|
|
188
196
|
* @throws {RequiredError}
|
|
189
197
|
*/
|
|
190
|
-
saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
198
|
+
saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
191
199
|
}
|
package/dist/api/settings-api.js
CHANGED
|
@@ -93,12 +93,13 @@ const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
};
|
|
94
94
|
}),
|
|
95
95
|
/**
|
|
96
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
96
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
97
97
|
* @summary Get user\'s settings
|
|
98
|
+
* @param {string} [acceptLanguage]
|
|
98
99
|
* @param {*} [options] Override http request option.
|
|
99
100
|
* @throws {RequiredError}
|
|
100
101
|
*/
|
|
101
|
-
getSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
102
|
+
getSettings: (acceptLanguage_1, ...args_1) => __awaiter(this, [acceptLanguage_1, ...args_1], void 0, function* (acceptLanguage, options = {}) {
|
|
102
103
|
const localVarPath = `/api/v1/settings`;
|
|
103
104
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
105
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -113,6 +114,9 @@ const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
113
114
|
// http bearer authentication required
|
|
114
115
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
115
116
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
117
|
+
if (acceptLanguage != null) {
|
|
118
|
+
localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
|
|
119
|
+
}
|
|
116
120
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
117
121
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
122
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -163,10 +167,11 @@ const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
163
167
|
* Save user\'s language and theme preferences
|
|
164
168
|
* @summary Save user preferences
|
|
165
169
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
170
|
+
* @param {string} [acceptLanguage]
|
|
166
171
|
* @param {*} [options] Override http request option.
|
|
167
172
|
* @throws {RequiredError}
|
|
168
173
|
*/
|
|
169
|
-
saveSettings: (userPreferencesRequest_1, ...args_1) => __awaiter(this, [userPreferencesRequest_1, ...args_1], void 0, function* (userPreferencesRequest, options = {}) {
|
|
174
|
+
saveSettings: (userPreferencesRequest_1, acceptLanguage_1, ...args_1) => __awaiter(this, [userPreferencesRequest_1, acceptLanguage_1, ...args_1], void 0, function* (userPreferencesRequest, acceptLanguage, options = {}) {
|
|
170
175
|
// verify required parameter 'userPreferencesRequest' is not null or undefined
|
|
171
176
|
(0, common_1.assertParamExists)('saveSettings', 'userPreferencesRequest', userPreferencesRequest);
|
|
172
177
|
const localVarPath = `/api/v1/settings`;
|
|
@@ -184,6 +189,9 @@ const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
184
189
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
185
190
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
186
191
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
192
|
+
if (acceptLanguage != null) {
|
|
193
|
+
localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
|
|
194
|
+
}
|
|
187
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
188
196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
197
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -233,15 +241,16 @@ const SettingsApiFp = function (configuration) {
|
|
|
233
241
|
});
|
|
234
242
|
},
|
|
235
243
|
/**
|
|
236
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
244
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
237
245
|
* @summary Get user\'s settings
|
|
246
|
+
* @param {string} [acceptLanguage]
|
|
238
247
|
* @param {*} [options] Override http request option.
|
|
239
248
|
* @throws {RequiredError}
|
|
240
249
|
*/
|
|
241
|
-
getSettings(options) {
|
|
250
|
+
getSettings(acceptLanguage, options) {
|
|
242
251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
243
252
|
var _a, _b, _c;
|
|
244
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings(options);
|
|
253
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings(acceptLanguage, options);
|
|
245
254
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
246
255
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingsApi.getSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
247
256
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -268,13 +277,14 @@ const SettingsApiFp = function (configuration) {
|
|
|
268
277
|
* Save user\'s language and theme preferences
|
|
269
278
|
* @summary Save user preferences
|
|
270
279
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
280
|
+
* @param {string} [acceptLanguage]
|
|
271
281
|
* @param {*} [options] Override http request option.
|
|
272
282
|
* @throws {RequiredError}
|
|
273
283
|
*/
|
|
274
|
-
saveSettings(userPreferencesRequest, options) {
|
|
284
|
+
saveSettings(userPreferencesRequest, acceptLanguage, options) {
|
|
275
285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
276
286
|
var _a, _b, _c;
|
|
277
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveSettings(userPreferencesRequest, options);
|
|
287
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveSettings(userPreferencesRequest, acceptLanguage, options);
|
|
278
288
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
279
289
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingsApi.saveSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
280
290
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -308,13 +318,14 @@ const SettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
308
318
|
return localVarFp.getLicenseInfo(options).then((request) => request(axios, basePath));
|
|
309
319
|
},
|
|
310
320
|
/**
|
|
311
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
321
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
312
322
|
* @summary Get user\'s settings
|
|
323
|
+
* @param {string} [acceptLanguage]
|
|
313
324
|
* @param {*} [options] Override http request option.
|
|
314
325
|
* @throws {RequiredError}
|
|
315
326
|
*/
|
|
316
|
-
getSettings(options) {
|
|
317
|
-
return localVarFp.getSettings(options).then((request) => request(axios, basePath));
|
|
327
|
+
getSettings(acceptLanguage, options) {
|
|
328
|
+
return localVarFp.getSettings(acceptLanguage, options).then((request) => request(axios, basePath));
|
|
318
329
|
},
|
|
319
330
|
/**
|
|
320
331
|
* 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.
|
|
@@ -331,11 +342,12 @@ const SettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
331
342
|
* Save user\'s language and theme preferences
|
|
332
343
|
* @summary Save user preferences
|
|
333
344
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
345
|
+
* @param {string} [acceptLanguage]
|
|
334
346
|
* @param {*} [options] Override http request option.
|
|
335
347
|
* @throws {RequiredError}
|
|
336
348
|
*/
|
|
337
|
-
saveSettings(userPreferencesRequest, options) {
|
|
338
|
-
return localVarFp.saveSettings(userPreferencesRequest, options).then((request) => request(axios, basePath));
|
|
349
|
+
saveSettings(userPreferencesRequest, acceptLanguage, options) {
|
|
350
|
+
return localVarFp.saveSettings(userPreferencesRequest, acceptLanguage, options).then((request) => request(axios, basePath));
|
|
339
351
|
},
|
|
340
352
|
};
|
|
341
353
|
};
|
|
@@ -363,13 +375,14 @@ class SettingsApi extends base_1.BaseAPI {
|
|
|
363
375
|
return (0, exports.SettingsApiFp)(this.configuration).getLicenseInfo(options).then((request) => request(this.axios, this.basePath));
|
|
364
376
|
}
|
|
365
377
|
/**
|
|
366
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
378
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
367
379
|
* @summary Get user\'s settings
|
|
380
|
+
* @param {string} [acceptLanguage]
|
|
368
381
|
* @param {*} [options] Override http request option.
|
|
369
382
|
* @throws {RequiredError}
|
|
370
383
|
*/
|
|
371
|
-
getSettings(options) {
|
|
372
|
-
return (0, exports.SettingsApiFp)(this.configuration).getSettings(options).then((request) => request(this.axios, this.basePath));
|
|
384
|
+
getSettings(acceptLanguage, options) {
|
|
385
|
+
return (0, exports.SettingsApiFp)(this.configuration).getSettings(acceptLanguage, options).then((request) => request(this.axios, this.basePath));
|
|
373
386
|
}
|
|
374
387
|
/**
|
|
375
388
|
* 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.
|
|
@@ -386,11 +399,12 @@ class SettingsApi extends base_1.BaseAPI {
|
|
|
386
399
|
* Save user\'s language and theme preferences
|
|
387
400
|
* @summary Save user preferences
|
|
388
401
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
402
|
+
* @param {string} [acceptLanguage]
|
|
389
403
|
* @param {*} [options] Override http request option.
|
|
390
404
|
* @throws {RequiredError}
|
|
391
405
|
*/
|
|
392
|
-
saveSettings(userPreferencesRequest, options) {
|
|
393
|
-
return (0, exports.SettingsApiFp)(this.configuration).saveSettings(userPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
406
|
+
saveSettings(userPreferencesRequest, acceptLanguage, options) {
|
|
407
|
+
return (0, exports.SettingsApiFp)(this.configuration).saveSettings(userPreferencesRequest, acceptLanguage, options).then((request) => request(this.axios, this.basePath));
|
|
394
408
|
}
|
|
395
409
|
}
|
|
396
410
|
exports.SettingsApi = SettingsApi;
|
|
@@ -36,12 +36,13 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36
36
|
*/
|
|
37
37
|
getLicenseInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
39
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
40
40
|
* @summary Get user\'s settings
|
|
41
|
+
* @param {string} [acceptLanguage]
|
|
41
42
|
* @param {*} [options] Override http request option.
|
|
42
43
|
* @throws {RequiredError}
|
|
43
44
|
*/
|
|
44
|
-
getSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
getSettings: (acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
46
|
/**
|
|
46
47
|
* 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.
|
|
47
48
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -55,10 +56,11 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
55
56
|
* Save user\'s language and theme preferences
|
|
56
57
|
* @summary Save user preferences
|
|
57
58
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
59
|
+
* @param {string} [acceptLanguage]
|
|
58
60
|
* @param {*} [options] Override http request option.
|
|
59
61
|
* @throws {RequiredError}
|
|
60
62
|
*/
|
|
61
|
-
saveSettings: (userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
|
+
saveSettings: (userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
64
|
};
|
|
63
65
|
/**
|
|
64
66
|
* SettingsApi - functional programming interface
|
|
@@ -79,12 +81,13 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
79
81
|
*/
|
|
80
82
|
getLicenseInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicenseInfo>>;
|
|
81
83
|
/**
|
|
82
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
84
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
83
85
|
* @summary Get user\'s settings
|
|
86
|
+
* @param {string} [acceptLanguage]
|
|
84
87
|
* @param {*} [options] Override http request option.
|
|
85
88
|
* @throws {RequiredError}
|
|
86
89
|
*/
|
|
87
|
-
getSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
90
|
+
getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
88
91
|
/**
|
|
89
92
|
* 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.
|
|
90
93
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -98,10 +101,11 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
98
101
|
* Save user\'s language and theme preferences
|
|
99
102
|
* @summary Save user preferences
|
|
100
103
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
104
|
+
* @param {string} [acceptLanguage]
|
|
101
105
|
* @param {*} [options] Override http request option.
|
|
102
106
|
* @throws {RequiredError}
|
|
103
107
|
*/
|
|
104
|
-
saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
108
|
+
saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
105
109
|
};
|
|
106
110
|
/**
|
|
107
111
|
* SettingsApi - factory interface
|
|
@@ -122,12 +126,13 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
122
126
|
*/
|
|
123
127
|
getLicenseInfo(options?: RawAxiosRequestConfig): AxiosPromise<LicenseInfo>;
|
|
124
128
|
/**
|
|
125
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
129
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
126
130
|
* @summary Get user\'s settings
|
|
131
|
+
* @param {string} [acceptLanguage]
|
|
127
132
|
* @param {*} [options] Override http request option.
|
|
128
133
|
* @throws {RequiredError}
|
|
129
134
|
*/
|
|
130
|
-
getSettings(options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
135
|
+
getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
131
136
|
/**
|
|
132
137
|
* 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.
|
|
133
138
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -141,10 +146,11 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
141
146
|
* Save user\'s language and theme preferences
|
|
142
147
|
* @summary Save user preferences
|
|
143
148
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
149
|
+
* @param {string} [acceptLanguage]
|
|
144
150
|
* @param {*} [options] Override http request option.
|
|
145
151
|
* @throws {RequiredError}
|
|
146
152
|
*/
|
|
147
|
-
saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
153
|
+
saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
148
154
|
};
|
|
149
155
|
/**
|
|
150
156
|
* SettingsApi - object-oriented interface
|
|
@@ -165,12 +171,13 @@ export declare class SettingsApi extends BaseAPI {
|
|
|
165
171
|
*/
|
|
166
172
|
getLicenseInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LicenseInfo, any, {}, any>>;
|
|
167
173
|
/**
|
|
168
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
174
|
+
* Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported.
|
|
169
175
|
* @summary Get user\'s settings
|
|
176
|
+
* @param {string} [acceptLanguage]
|
|
170
177
|
* @param {*} [options] Override http request option.
|
|
171
178
|
* @throws {RequiredError}
|
|
172
179
|
*/
|
|
173
|
-
getSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
180
|
+
getSettings(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
174
181
|
/**
|
|
175
182
|
* 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.
|
|
176
183
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -184,8 +191,9 @@ export declare class SettingsApi extends BaseAPI {
|
|
|
184
191
|
* Save user\'s language and theme preferences
|
|
185
192
|
* @summary Save user preferences
|
|
186
193
|
* @param {UserPreferencesRequest} userPreferencesRequest
|
|
194
|
+
* @param {string} [acceptLanguage]
|
|
187
195
|
* @param {*} [options] Override http request option.
|
|
188
196
|
* @throws {RequiredError}
|
|
189
197
|
*/
|
|
190
|
-
saveSettings(userPreferencesRequest: UserPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
198
|
+
saveSettings(userPreferencesRequest: UserPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
|
|
191
199
|
}
|