@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.
Files changed (68) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +5 -2
  4. package/api/settings-api.ts +32 -18
  5. package/dist/api/settings-api.d.ts +20 -12
  6. package/dist/api/settings-api.js +32 -18
  7. package/dist/esm/api/settings-api.d.ts +20 -12
  8. package/dist/esm/api/settings-api.js +32 -18
  9. package/dist/esm/models/ai-taxonomy-category.d.ts +3 -1
  10. package/dist/esm/models/ai-taxonomy-view.d.ts +6 -0
  11. package/dist/esm/models/enriched-audit-log.d.ts +1 -0
  12. package/dist/esm/models/enriched-audit-log.js +1 -0
  13. package/dist/esm/models/index.d.ts +3 -0
  14. package/dist/esm/models/index.js +3 -0
  15. package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
  16. package/dist/esm/models/search-by-audit-log-request.js +1 -0
  17. package/dist/esm/models/settings.d.ts +3 -0
  18. package/dist/esm/models/vote.d.ts +17 -0
  19. package/dist/esm/models/vote.js +14 -0
  20. package/dist/esm/models/workflow-event-dto.d.ts +1 -0
  21. package/dist/esm/models/workflow-event-dto.js +1 -0
  22. package/dist/esm/models/workflow-review-progress-dto.d.ts +27 -0
  23. package/dist/esm/models/workflow-review-progress-dto.js +18 -0
  24. package/dist/esm/models/workflow-review.d.ts +22 -0
  25. package/dist/esm/models/workflow-review.js +18 -0
  26. package/dist/esm/models/workflow-state.d.ts +2 -0
  27. package/dist/esm/models/workflow-task-dto.d.ts +2 -0
  28. package/dist/models/ai-taxonomy-category.d.ts +3 -1
  29. package/dist/models/ai-taxonomy-view.d.ts +6 -0
  30. package/dist/models/enriched-audit-log.d.ts +1 -0
  31. package/dist/models/enriched-audit-log.js +1 -0
  32. package/dist/models/index.d.ts +3 -0
  33. package/dist/models/index.js +3 -0
  34. package/dist/models/search-by-audit-log-request.d.ts +1 -0
  35. package/dist/models/search-by-audit-log-request.js +1 -0
  36. package/dist/models/settings.d.ts +3 -0
  37. package/dist/models/vote.d.ts +17 -0
  38. package/dist/models/vote.js +15 -0
  39. package/dist/models/workflow-event-dto.d.ts +1 -0
  40. package/dist/models/workflow-event-dto.js +1 -0
  41. package/dist/models/workflow-review-progress-dto.d.ts +27 -0
  42. package/dist/models/workflow-review-progress-dto.js +21 -0
  43. package/dist/models/workflow-review.d.ts +22 -0
  44. package/dist/models/workflow-review.js +21 -0
  45. package/dist/models/workflow-state.d.ts +2 -0
  46. package/dist/models/workflow-task-dto.d.ts +2 -0
  47. package/docs/AiTaxonomyCategory.md +2 -2
  48. package/docs/AiTaxonomyView.md +4 -0
  49. package/docs/Settings.md +2 -0
  50. package/docs/SettingsApi.md +14 -4
  51. package/docs/Vote.md +26 -0
  52. package/docs/WorkflowReview.md +24 -0
  53. package/docs/WorkflowReviewProgressDTO.md +32 -0
  54. package/docs/WorkflowState.md +2 -0
  55. package/docs/WorkflowTaskDTO.md +2 -0
  56. package/models/ai-taxonomy-category.ts +1 -1
  57. package/models/ai-taxonomy-view.ts +2 -0
  58. package/models/enriched-audit-log.ts +1 -0
  59. package/models/index.ts +3 -0
  60. package/models/search-by-audit-log-request.ts +1 -0
  61. package/models/settings.ts +1 -0
  62. package/models/vote.ts +23 -0
  63. package/models/workflow-event-dto.ts +1 -0
  64. package/models/workflow-review-progress-dto.ts +38 -0
  65. package/models/workflow-review.ts +31 -0
  66. package/models/workflow-state.ts +4 -0
  67. package/models/workflow-task-dto.ts +4 -0
  68. package/package.json +1 -1
@@ -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
  }
@@ -52,6 +52,7 @@ export declare const EnrichedAuditLogActionEnum: {
52
52
  readonly PdfTransform: "PDF_TRANSFORM";
53
53
  readonly WorkflowStarted: "WORKFLOW_STARTED";
54
54
  readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
55
+ readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
55
56
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
56
57
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
57
58
  readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
@@ -38,6 +38,7 @@ export const EnrichedAuditLogActionEnum = {
38
38
  PdfTransform: 'PDF_TRANSFORM',
39
39
  WorkflowStarted: 'WORKFLOW_STARTED',
40
40
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
41
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
41
42
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
42
43
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
43
44
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
@@ -183,6 +183,7 @@ export * from './user-preferences-request';
183
183
  export * from './user-privacy-dto';
184
184
  export * from './user-registration-request';
185
185
  export * from './verify-otp-request';
186
+ export * from './vote';
186
187
  export * from './workflow-action';
187
188
  export * from './workflow-action-failure-audit';
188
189
  export * from './workflow-assignment';
@@ -193,6 +194,8 @@ export * from './workflow-instance-dto';
193
194
  export * from './workflow-instance-detail-dto';
194
195
  export * from './workflow-instance-page';
195
196
  export * from './workflow-problem';
197
+ export * from './workflow-review';
198
+ export * from './workflow-review-progress-dto';
196
199
  export * from './workflow-spec';
197
200
  export * from './workflow-state';
198
201
  export * from './workflow-summary-dto';
@@ -183,6 +183,7 @@ export * from './user-preferences-request';
183
183
  export * from './user-privacy-dto';
184
184
  export * from './user-registration-request';
185
185
  export * from './verify-otp-request';
186
+ export * from './vote';
186
187
  export * from './workflow-action';
187
188
  export * from './workflow-action-failure-audit';
188
189
  export * from './workflow-assignment';
@@ -193,6 +194,8 @@ export * from './workflow-instance-dto';
193
194
  export * from './workflow-instance-detail-dto';
194
195
  export * from './workflow-instance-page';
195
196
  export * from './workflow-problem';
197
+ export * from './workflow-review';
198
+ export * from './workflow-review-progress-dto';
196
199
  export * from './workflow-spec';
197
200
  export * from './workflow-state';
198
201
  export * from './workflow-summary-dto';
@@ -68,6 +68,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
68
68
  readonly PdfTransform: "PDF_TRANSFORM";
69
69
  readonly WorkflowStarted: "WORKFLOW_STARTED";
70
70
  readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
71
+ readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
71
72
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
72
73
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
73
74
  readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
@@ -42,6 +42,7 @@ export const SearchByAuditLogRequestActionEnum = {
42
42
  PdfTransform: 'PDF_TRANSFORM',
43
43
  WorkflowStarted: 'WORKFLOW_STARTED',
44
44
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
45
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
45
46
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
46
47
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
47
48
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
@@ -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;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface Vote {
13
+ 'reviewer'?: string;
14
+ 'transitionKey'?: string;
15
+ 'comment'?: string;
16
+ 'at'?: string;
17
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -25,6 +25,7 @@ export interface WorkflowEventDTO {
25
25
  export declare const WorkflowEventDTOTypeEnum: {
26
26
  readonly Started: "STARTED";
27
27
  readonly Transitioned: "TRANSITIONED";
28
+ readonly Reviewed: "REVIEWED";
28
29
  readonly ActionApplied: "ACTION_APPLIED";
29
30
  readonly ActionFailed: "ACTION_FAILED";
30
31
  readonly Reassigned: "REASSIGNED";
@@ -14,6 +14,7 @@
14
14
  export const WorkflowEventDTOTypeEnum = {
15
15
  Started: 'STARTED',
16
16
  Transitioned: 'TRANSITIONED',
17
+ Reviewed: 'REVIEWED',
17
18
  ActionApplied: 'ACTION_APPLIED',
18
19
  ActionFailed: 'ACTION_FAILED',
19
20
  Reassigned: 'REASSIGNED',
@@ -0,0 +1,27 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Vote } from './vote';
13
+ export interface WorkflowReviewProgressDTO {
14
+ 'rule'?: WorkflowReviewProgressDTORuleEnum;
15
+ 'quorum'?: number;
16
+ 'approveTransition'?: string;
17
+ 'total'?: number;
18
+ 'approvals'?: number;
19
+ 'votes'?: Array<Vote>;
20
+ 'pending'?: Array<string>;
21
+ }
22
+ export declare const WorkflowReviewProgressDTORuleEnum: {
23
+ readonly All: "ALL";
24
+ readonly FirstRejection: "FIRST_REJECTION";
25
+ readonly Quorum: "QUORUM";
26
+ };
27
+ export type WorkflowReviewProgressDTORuleEnum = typeof WorkflowReviewProgressDTORuleEnum[keyof typeof WorkflowReviewProgressDTORuleEnum];
@@ -0,0 +1,18 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const WorkflowReviewProgressDTORuleEnum = {
15
+ All: 'ALL',
16
+ FirstRejection: 'FIRST_REJECTION',
17
+ Quorum: 'QUORUM',
18
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface WorkflowReview {
13
+ 'rule'?: WorkflowReviewRuleEnum;
14
+ 'quorum'?: number;
15
+ 'approveTransition'?: string;
16
+ }
17
+ export declare const WorkflowReviewRuleEnum: {
18
+ readonly All: "ALL";
19
+ readonly FirstRejection: "FIRST_REJECTION";
20
+ readonly Quorum: "QUORUM";
21
+ };
22
+ export type WorkflowReviewRuleEnum = typeof WorkflowReviewRuleEnum[keyof typeof WorkflowReviewRuleEnum];
@@ -0,0 +1,18 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const WorkflowReviewRuleEnum = {
15
+ All: 'ALL',
16
+ FirstRejection: 'FIRST_REJECTION',
17
+ Quorum: 'QUORUM',
18
+ };
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { WorkflowAction } from './workflow-action';
13
13
  import type { WorkflowAssignment } from './workflow-assignment';
14
+ import type { WorkflowReview } from './workflow-review';
14
15
  import type { WorkflowTransition } from './workflow-transition';
15
16
  export interface WorkflowState {
16
17
  'key'?: string;
@@ -21,6 +22,7 @@ export interface WorkflowState {
21
22
  'dueInDays'?: number;
22
23
  'transitions'?: Array<WorkflowTransition>;
23
24
  'onEnter'?: Array<WorkflowAction>;
25
+ 'review'?: WorkflowReview;
24
26
  'end'?: boolean;
25
27
  }
26
28
  export declare const WorkflowStateKindEnum: {
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { WorkflowReviewProgressDTO } from './workflow-review-progress-dto';
12
13
  import type { WorkflowTransition } from './workflow-transition';
13
14
  export interface WorkflowTaskDTO {
14
15
  'id'?: string;
@@ -35,6 +36,7 @@ export interface WorkflowTaskDTO {
35
36
  'previousComment'?: string;
36
37
  'previousActor'?: string;
37
38
  'mine'?: boolean;
39
+ 'review'?: WorkflowReviewProgressDTO;
38
40
  }
39
41
  export declare const WorkflowTaskDTOStatusEnum: {
40
42
  readonly Open: "OPEN";
@@ -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
  }
@@ -52,6 +52,7 @@ export declare const EnrichedAuditLogActionEnum: {
52
52
  readonly PdfTransform: "PDF_TRANSFORM";
53
53
  readonly WorkflowStarted: "WORKFLOW_STARTED";
54
54
  readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
55
+ readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
55
56
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
56
57
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
57
58
  readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
@@ -41,6 +41,7 @@ exports.EnrichedAuditLogActionEnum = {
41
41
  PdfTransform: 'PDF_TRANSFORM',
42
42
  WorkflowStarted: 'WORKFLOW_STARTED',
43
43
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
44
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
44
45
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
45
46
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
46
47
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
@@ -183,6 +183,7 @@ export * from './user-preferences-request';
183
183
  export * from './user-privacy-dto';
184
184
  export * from './user-registration-request';
185
185
  export * from './verify-otp-request';
186
+ export * from './vote';
186
187
  export * from './workflow-action';
187
188
  export * from './workflow-action-failure-audit';
188
189
  export * from './workflow-assignment';
@@ -193,6 +194,8 @@ export * from './workflow-instance-dto';
193
194
  export * from './workflow-instance-detail-dto';
194
195
  export * from './workflow-instance-page';
195
196
  export * from './workflow-problem';
197
+ export * from './workflow-review';
198
+ export * from './workflow-review-progress-dto';
196
199
  export * from './workflow-spec';
197
200
  export * from './workflow-state';
198
201
  export * from './workflow-summary-dto';
@@ -199,6 +199,7 @@ __exportStar(require("./user-preferences-request"), exports);
199
199
  __exportStar(require("./user-privacy-dto"), exports);
200
200
  __exportStar(require("./user-registration-request"), exports);
201
201
  __exportStar(require("./verify-otp-request"), exports);
202
+ __exportStar(require("./vote"), exports);
202
203
  __exportStar(require("./workflow-action"), exports);
203
204
  __exportStar(require("./workflow-action-failure-audit"), exports);
204
205
  __exportStar(require("./workflow-assignment"), exports);
@@ -209,6 +210,8 @@ __exportStar(require("./workflow-instance-dto"), exports);
209
210
  __exportStar(require("./workflow-instance-detail-dto"), exports);
210
211
  __exportStar(require("./workflow-instance-page"), exports);
211
212
  __exportStar(require("./workflow-problem"), exports);
213
+ __exportStar(require("./workflow-review"), exports);
214
+ __exportStar(require("./workflow-review-progress-dto"), exports);
212
215
  __exportStar(require("./workflow-spec"), exports);
213
216
  __exportStar(require("./workflow-state"), exports);
214
217
  __exportStar(require("./workflow-summary-dto"), exports);
@@ -68,6 +68,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
68
68
  readonly PdfTransform: "PDF_TRANSFORM";
69
69
  readonly WorkflowStarted: "WORKFLOW_STARTED";
70
70
  readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
71
+ readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
71
72
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
72
73
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
73
74
  readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
@@ -45,6 +45,7 @@ exports.SearchByAuditLogRequestActionEnum = {
45
45
  PdfTransform: 'PDF_TRANSFORM',
46
46
  WorkflowStarted: 'WORKFLOW_STARTED',
47
47
  WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
48
+ WorkflowReviewed: 'WORKFLOW_REVIEWED',
48
49
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
49
50
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
50
51
  WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
@@ -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;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface Vote {
13
+ 'reviewer'?: string;
14
+ 'transitionKey'?: string;
15
+ 'comment'?: string;
16
+ 'at'?: string;
17
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -25,6 +25,7 @@ export interface WorkflowEventDTO {
25
25
  export declare const WorkflowEventDTOTypeEnum: {
26
26
  readonly Started: "STARTED";
27
27
  readonly Transitioned: "TRANSITIONED";
28
+ readonly Reviewed: "REVIEWED";
28
29
  readonly ActionApplied: "ACTION_APPLIED";
29
30
  readonly ActionFailed: "ACTION_FAILED";
30
31
  readonly Reassigned: "REASSIGNED";
@@ -17,6 +17,7 @@ exports.WorkflowEventDTOTypeEnum = void 0;
17
17
  exports.WorkflowEventDTOTypeEnum = {
18
18
  Started: 'STARTED',
19
19
  Transitioned: 'TRANSITIONED',
20
+ Reviewed: 'REVIEWED',
20
21
  ActionApplied: 'ACTION_APPLIED',
21
22
  ActionFailed: 'ACTION_FAILED',
22
23
  Reassigned: 'REASSIGNED',
@@ -0,0 +1,27 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Vote } from './vote';
13
+ export interface WorkflowReviewProgressDTO {
14
+ 'rule'?: WorkflowReviewProgressDTORuleEnum;
15
+ 'quorum'?: number;
16
+ 'approveTransition'?: string;
17
+ 'total'?: number;
18
+ 'approvals'?: number;
19
+ 'votes'?: Array<Vote>;
20
+ 'pending'?: Array<string>;
21
+ }
22
+ export declare const WorkflowReviewProgressDTORuleEnum: {
23
+ readonly All: "ALL";
24
+ readonly FirstRejection: "FIRST_REJECTION";
25
+ readonly Quorum: "QUORUM";
26
+ };
27
+ export type WorkflowReviewProgressDTORuleEnum = typeof WorkflowReviewProgressDTORuleEnum[keyof typeof WorkflowReviewProgressDTORuleEnum];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WorkflowReviewProgressDTORuleEnum = void 0;
17
+ exports.WorkflowReviewProgressDTORuleEnum = {
18
+ All: 'ALL',
19
+ FirstRejection: 'FIRST_REJECTION',
20
+ Quorum: 'QUORUM',
21
+ };