@openfilz-sdk/typescript-ee 1.10.1 → 1.10.2

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.
@@ -1 +1 @@
1
- de5660e76ce093f4c5ab85eaf4aff9e94010e322cb7a56f3a08cf03cfd6f9078
1
+ bf133f217b04ffec8198f31eeb5f4d6f3b76f5beea9634f630c1822ce2957585
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript-ee@1.10.1
1
+ ## @openfilz-sdk/typescript-ee@1.10.2
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.1 --save
39
+ npm install @openfilz-sdk/typescript-ee@1.10.2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -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
  }
@@ -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
  }
@@ -90,12 +90,13 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
90
90
  };
91
91
  }),
92
92
  /**
93
- * Retrieve user\'s settings : global settings and user\'s preferences
93
+ * 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.
94
94
  * @summary Get user\'s settings
95
+ * @param {string} [acceptLanguage]
95
96
  * @param {*} [options] Override http request option.
96
97
  * @throws {RequiredError}
97
98
  */
98
- getSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
99
+ getSettings: (acceptLanguage_1, ...args_1) => __awaiter(this, [acceptLanguage_1, ...args_1], void 0, function* (acceptLanguage, options = {}) {
99
100
  const localVarPath = `/api/v1/settings`;
100
101
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
101
102
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -110,6 +111,9 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
110
111
  // http bearer authentication required
111
112
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
112
113
  localVarHeaderParameter['Accept'] = '*/*';
114
+ if (acceptLanguage != null) {
115
+ localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
116
+ }
113
117
  setSearchParams(localVarUrlObj, localVarQueryParameter);
114
118
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
115
119
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -160,10 +164,11 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
160
164
  * Save user\'s language and theme preferences
161
165
  * @summary Save user preferences
162
166
  * @param {UserPreferencesRequest} userPreferencesRequest
167
+ * @param {string} [acceptLanguage]
163
168
  * @param {*} [options] Override http request option.
164
169
  * @throws {RequiredError}
165
170
  */
166
- saveSettings: (userPreferencesRequest_1, ...args_1) => __awaiter(this, [userPreferencesRequest_1, ...args_1], void 0, function* (userPreferencesRequest, options = {}) {
171
+ saveSettings: (userPreferencesRequest_1, acceptLanguage_1, ...args_1) => __awaiter(this, [userPreferencesRequest_1, acceptLanguage_1, ...args_1], void 0, function* (userPreferencesRequest, acceptLanguage, options = {}) {
167
172
  // verify required parameter 'userPreferencesRequest' is not null or undefined
168
173
  assertParamExists('saveSettings', 'userPreferencesRequest', userPreferencesRequest);
169
174
  const localVarPath = `/api/v1/settings`;
@@ -181,6 +186,9 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
181
186
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
182
187
  localVarHeaderParameter['Content-Type'] = 'application/json';
183
188
  localVarHeaderParameter['Accept'] = '*/*';
189
+ if (acceptLanguage != null) {
190
+ localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
191
+ }
184
192
  setSearchParams(localVarUrlObj, localVarQueryParameter);
185
193
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
186
194
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -229,15 +237,16 @@ export const SettingsApiFp = function (configuration) {
229
237
  });
230
238
  },
231
239
  /**
232
- * Retrieve user\'s settings : global settings and user\'s preferences
240
+ * 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.
233
241
  * @summary Get user\'s settings
242
+ * @param {string} [acceptLanguage]
234
243
  * @param {*} [options] Override http request option.
235
244
  * @throws {RequiredError}
236
245
  */
237
- getSettings(options) {
246
+ getSettings(acceptLanguage, options) {
238
247
  return __awaiter(this, void 0, void 0, function* () {
239
248
  var _a, _b, _c;
240
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings(options);
249
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings(acceptLanguage, options);
241
250
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
242
251
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingsApi.getSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
243
252
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -264,13 +273,14 @@ export const SettingsApiFp = function (configuration) {
264
273
  * Save user\'s language and theme preferences
265
274
  * @summary Save user preferences
266
275
  * @param {UserPreferencesRequest} userPreferencesRequest
276
+ * @param {string} [acceptLanguage]
267
277
  * @param {*} [options] Override http request option.
268
278
  * @throws {RequiredError}
269
279
  */
270
- saveSettings(userPreferencesRequest, options) {
280
+ saveSettings(userPreferencesRequest, acceptLanguage, options) {
271
281
  return __awaiter(this, void 0, void 0, function* () {
272
282
  var _a, _b, _c;
273
- const localVarAxiosArgs = yield localVarAxiosParamCreator.saveSettings(userPreferencesRequest, options);
283
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.saveSettings(userPreferencesRequest, acceptLanguage, options);
274
284
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
275
285
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingsApi.saveSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
276
286
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -303,13 +313,14 @@ export const SettingsApiFactory = function (configuration, basePath, axios) {
303
313
  return localVarFp.getLicenseInfo(options).then((request) => request(axios, basePath));
304
314
  },
305
315
  /**
306
- * Retrieve user\'s settings : global settings and user\'s preferences
316
+ * 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.
307
317
  * @summary Get user\'s settings
318
+ * @param {string} [acceptLanguage]
308
319
  * @param {*} [options] Override http request option.
309
320
  * @throws {RequiredError}
310
321
  */
311
- getSettings(options) {
312
- return localVarFp.getSettings(options).then((request) => request(axios, basePath));
322
+ getSettings(acceptLanguage, options) {
323
+ return localVarFp.getSettings(acceptLanguage, options).then((request) => request(axios, basePath));
313
324
  },
314
325
  /**
315
326
  * 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.
@@ -326,11 +337,12 @@ export const SettingsApiFactory = function (configuration, basePath, axios) {
326
337
  * Save user\'s language and theme preferences
327
338
  * @summary Save user preferences
328
339
  * @param {UserPreferencesRequest} userPreferencesRequest
340
+ * @param {string} [acceptLanguage]
329
341
  * @param {*} [options] Override http request option.
330
342
  * @throws {RequiredError}
331
343
  */
332
- saveSettings(userPreferencesRequest, options) {
333
- return localVarFp.saveSettings(userPreferencesRequest, options).then((request) => request(axios, basePath));
344
+ saveSettings(userPreferencesRequest, acceptLanguage, options) {
345
+ return localVarFp.saveSettings(userPreferencesRequest, acceptLanguage, options).then((request) => request(axios, basePath));
334
346
  },
335
347
  };
336
348
  };
@@ -357,13 +369,14 @@ export class SettingsApi extends BaseAPI {
357
369
  return SettingsApiFp(this.configuration).getLicenseInfo(options).then((request) => request(this.axios, this.basePath));
358
370
  }
359
371
  /**
360
- * Retrieve user\'s settings : global settings and user\'s preferences
372
+ * 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.
361
373
  * @summary Get user\'s settings
374
+ * @param {string} [acceptLanguage]
362
375
  * @param {*} [options] Override http request option.
363
376
  * @throws {RequiredError}
364
377
  */
365
- getSettings(options) {
366
- return SettingsApiFp(this.configuration).getSettings(options).then((request) => request(this.axios, this.basePath));
378
+ getSettings(acceptLanguage, options) {
379
+ return SettingsApiFp(this.configuration).getSettings(acceptLanguage, options).then((request) => request(this.axios, this.basePath));
367
380
  }
368
381
  /**
369
382
  * 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.
@@ -380,10 +393,11 @@ export class SettingsApi extends BaseAPI {
380
393
  * Save user\'s language and theme preferences
381
394
  * @summary Save user preferences
382
395
  * @param {UserPreferencesRequest} userPreferencesRequest
396
+ * @param {string} [acceptLanguage]
383
397
  * @param {*} [options] Override http request option.
384
398
  * @throws {RequiredError}
385
399
  */
386
- saveSettings(userPreferencesRequest, options) {
387
- return SettingsApiFp(this.configuration).saveSettings(userPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
400
+ saveSettings(userPreferencesRequest, acceptLanguage, options) {
401
+ return SettingsApiFp(this.configuration).saveSettings(userPreferencesRequest, acceptLanguage, options).then((request) => request(this.axios, this.basePath));
388
402
  }
389
403
  }
@@ -11,7 +11,9 @@
11
11
  */
12
12
  export interface AiTaxonomyCategory {
13
13
  'key'?: string;
14
- 'label'?: string;
14
+ 'labels'?: {
15
+ [key: string]: string;
16
+ };
15
17
  'description'?: string;
16
18
  'examples'?: Array<string>;
17
19
  'position'?: number;
@@ -13,4 +13,10 @@ import type { AiTaxonomyCategory } from './ai-taxonomy-category';
13
13
  export interface AiTaxonomyView {
14
14
  'source'?: string;
15
15
  'categories'?: Array<AiTaxonomyCategory>;
16
+ 'languages'?: Array<string>;
17
+ 'builtInLabels'?: {
18
+ [key: string]: {
19
+ [key: string]: string;
20
+ };
21
+ };
16
22
  }
@@ -22,6 +22,9 @@ export interface Settings {
22
22
  'aiUserSettingsEnabled'?: boolean;
23
23
  'aiInsightsActive'?: boolean;
24
24
  'aiInsightsCategories'?: Array<string>;
25
+ 'aiInsightsCategoryLabels'?: {
26
+ [key: string]: string;
27
+ };
25
28
  'aiAutoFileActive'?: boolean;
26
29
  'signatureActive'?: boolean;
27
30
  'pdfToolsActive'?: boolean;
@@ -11,7 +11,9 @@
11
11
  */
12
12
  export interface AiTaxonomyCategory {
13
13
  'key'?: string;
14
- 'label'?: string;
14
+ 'labels'?: {
15
+ [key: string]: string;
16
+ };
15
17
  'description'?: string;
16
18
  'examples'?: Array<string>;
17
19
  'position'?: number;
@@ -13,4 +13,10 @@ import type { AiTaxonomyCategory } from './ai-taxonomy-category';
13
13
  export interface AiTaxonomyView {
14
14
  'source'?: string;
15
15
  'categories'?: Array<AiTaxonomyCategory>;
16
+ 'languages'?: Array<string>;
17
+ 'builtInLabels'?: {
18
+ [key: string]: {
19
+ [key: string]: string;
20
+ };
21
+ };
16
22
  }
@@ -22,6 +22,9 @@ export interface Settings {
22
22
  'aiUserSettingsEnabled'?: boolean;
23
23
  'aiInsightsActive'?: boolean;
24
24
  'aiInsightsCategories'?: Array<string>;
25
+ 'aiInsightsCategoryLabels'?: {
26
+ [key: string]: string;
27
+ };
25
28
  'aiAutoFileActive'?: boolean;
26
29
  'signatureActive'?: boolean;
27
30
  'pdfToolsActive'?: boolean;
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **key** | **string** | | [optional] [default to undefined]
9
- **label** | **string** | | [optional] [default to undefined]
9
+ **labels** | **{ [key: string]: string; }** | | [optional] [default to undefined]
10
10
  **description** | **string** | | [optional] [default to undefined]
11
11
  **examples** | **Array&lt;string&gt;** | | [optional] [default to undefined]
12
12
  **position** | **number** | | [optional] [default to undefined]
@@ -19,7 +19,7 @@ import { AiTaxonomyCategory } from '@openfilz-sdk/typescript-ee';
19
19
 
20
20
  const instance: AiTaxonomyCategory = {
21
21
  key,
22
- label,
22
+ labels,
23
23
  description,
24
24
  examples,
25
25
  position,
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **source** | **string** | | [optional] [default to undefined]
9
9
  **categories** | [**Array&lt;AiTaxonomyCategory&gt;**](AiTaxonomyCategory.md) | | [optional] [default to undefined]
10
+ **languages** | **Array&lt;string&gt;** | | [optional] [default to undefined]
11
+ **builtInLabels** | **{ [key: string]: { [key: string]: string; }; }** | | [optional] [default to undefined]
10
12
 
11
13
  ## Example
12
14
 
@@ -16,6 +18,8 @@ import { AiTaxonomyView } from '@openfilz-sdk/typescript-ee';
16
18
  const instance: AiTaxonomyView = {
17
19
  source,
18
20
  categories,
21
+ languages,
22
+ builtInLabels,
19
23
  };
20
24
  ```
21
25
 
package/docs/Settings.md CHANGED
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
17
17
  **aiUserSettingsEnabled** | **boolean** | | [optional] [default to undefined]
18
18
  **aiInsightsActive** | **boolean** | | [optional] [default to undefined]
19
19
  **aiInsightsCategories** | **Array&lt;string&gt;** | | [optional] [default to undefined]
20
+ **aiInsightsCategoryLabels** | **{ [key: string]: string; }** | | [optional] [default to undefined]
20
21
  **aiAutoFileActive** | **boolean** | | [optional] [default to undefined]
21
22
  **signatureActive** | **boolean** | | [optional] [default to undefined]
22
23
  **pdfToolsActive** | **boolean** | | [optional] [default to undefined]
@@ -52,6 +53,7 @@ const instance: Settings = {
52
53
  aiUserSettingsEnabled,
53
54
  aiInsightsActive,
54
55
  aiInsightsCategories,
56
+ aiInsightsCategoryLabels,
55
57
  aiAutoFileActive,
56
58
  signatureActive,
57
59
  pdfToolsActive,
@@ -100,7 +100,7 @@ This endpoint does not have any parameters.
100
100
  # **getSettings**
101
101
  > Settings getSettings()
102
102
 
103
- Retrieve user\'s settings : global settings and user\'s preferences
103
+ 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.
104
104
 
105
105
  ### Example
106
106
 
@@ -113,11 +113,18 @@ import {
113
113
  const configuration = new Configuration();
114
114
  const apiInstance = new SettingsApi(configuration);
115
115
 
116
- const { status, data } = await apiInstance.getSettings();
116
+ let acceptLanguage: string; // (optional) (default to undefined)
117
+
118
+ const { status, data } = await apiInstance.getSettings(
119
+ acceptLanguage
120
+ );
117
121
  ```
118
122
 
119
123
  ### Parameters
120
- This endpoint does not have any parameters.
124
+
125
+ |Name | Type | Description | Notes|
126
+ |------------- | ------------- | ------------- | -------------|
127
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
121
128
 
122
129
 
123
130
  ### Return type
@@ -214,9 +221,11 @@ const configuration = new Configuration();
214
221
  const apiInstance = new SettingsApi(configuration);
215
222
 
216
223
  let userPreferencesRequest: UserPreferencesRequest; //
224
+ let acceptLanguage: string; // (optional) (default to undefined)
217
225
 
218
226
  const { status, data } = await apiInstance.saveSettings(
219
- userPreferencesRequest
227
+ userPreferencesRequest,
228
+ acceptLanguage
220
229
  );
221
230
  ```
222
231
 
@@ -225,6 +234,7 @@ const { status, data } = await apiInstance.saveSettings(
225
234
  |Name | Type | Description | Notes|
226
235
  |------------- | ------------- | ------------- | -------------|
227
236
  | **userPreferencesRequest** | **UserPreferencesRequest**| | |
237
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
228
238
 
229
239
 
230
240
  ### Return type
@@ -16,7 +16,7 @@
16
16
 
17
17
  export interface AiTaxonomyCategory {
18
18
  'key'?: string;
19
- 'label'?: string;
19
+ 'labels'?: { [key: string]: string; };
20
20
  'description'?: string;
21
21
  'examples'?: Array<string>;
22
22
  'position'?: number;
@@ -20,5 +20,7 @@ import type { AiTaxonomyCategory } from './ai-taxonomy-category';
20
20
  export interface AiTaxonomyView {
21
21
  'source'?: string;
22
22
  'categories'?: Array<AiTaxonomyCategory>;
23
+ 'languages'?: Array<string>;
24
+ 'builtInLabels'?: { [key: string]: { [key: string]: string; }; };
23
25
  }
24
26
 
@@ -27,6 +27,7 @@ export interface Settings {
27
27
  'aiUserSettingsEnabled'?: boolean;
28
28
  'aiInsightsActive'?: boolean;
29
29
  'aiInsightsCategories'?: Array<string>;
30
+ 'aiInsightsCategoryLabels'?: { [key: string]: string; };
30
31
  'aiAutoFileActive'?: boolean;
31
32
  'signatureActive'?: boolean;
32
33
  'pdfToolsActive'?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfilz-sdk/typescript-ee",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "OpenAPI client for @openfilz-sdk/typescript-ee",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {