@openfilz-sdk/typescript 1.3.21 → 1.3.23
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 +18 -11
- package/dist/api/settings-api.d.ts +12 -8
- package/dist/api/settings-api.js +18 -11
- package/dist/esm/api/settings-api.d.ts +12 -8
- package/dist/esm/api/settings-api.js +18 -11
- package/dist/esm/models/audit-log.d.ts +1 -0
- package/dist/esm/models/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/audit-log.d.ts +1 -0
- package/dist/models/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/Settings.md +2 -0
- package/docs/SettingsApi.md +10 -3
- 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/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
|
@@ -166,6 +166,7 @@ docs/UpdateMetadataRequest.md
|
|
|
166
166
|
docs/UploadAudit.md
|
|
167
167
|
docs/UploadResponse.md
|
|
168
168
|
docs/VerifyOtpRequest.md
|
|
169
|
+
docs/Vote.md
|
|
169
170
|
docs/WorkflowAction.md
|
|
170
171
|
docs/WorkflowActionFailureAudit.md
|
|
171
172
|
docs/WorkflowAssignment.md
|
|
@@ -176,6 +177,8 @@ docs/WorkflowInstanceDTO.md
|
|
|
176
177
|
docs/WorkflowInstanceDetailDTO.md
|
|
177
178
|
docs/WorkflowInstancePage.md
|
|
178
179
|
docs/WorkflowProblem.md
|
|
180
|
+
docs/WorkflowReview.md
|
|
181
|
+
docs/WorkflowReviewProgressDTO.md
|
|
179
182
|
docs/WorkflowSpec.md
|
|
180
183
|
docs/WorkflowState.md
|
|
181
184
|
docs/WorkflowSummaryDTO.md
|
|
@@ -305,6 +308,7 @@ models/update-metadata-request.ts
|
|
|
305
308
|
models/upload-audit.ts
|
|
306
309
|
models/upload-response.ts
|
|
307
310
|
models/verify-otp-request.ts
|
|
311
|
+
models/vote.ts
|
|
308
312
|
models/workflow-action-failure-audit.ts
|
|
309
313
|
models/workflow-action.ts
|
|
310
314
|
models/workflow-assignment.ts
|
|
@@ -315,6 +319,8 @@ models/workflow-instance-detail-dto.ts
|
|
|
315
319
|
models/workflow-instance-dto.ts
|
|
316
320
|
models/workflow-instance-page.ts
|
|
317
321
|
models/workflow-problem.ts
|
|
322
|
+
models/workflow-review-progress-dto.ts
|
|
323
|
+
models/workflow-review.ts
|
|
318
324
|
models/workflow-spec.ts
|
|
319
325
|
models/workflow-state.ts
|
|
320
326
|
models/workflow-summary-dto.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b89a6b2f79b8b0f8622ce0aa1aebecb0d115fe3714c8d6e3141d1127f12a0af8
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript@1.3.
|
|
1
|
+
## @openfilz-sdk/typescript@1.3.23
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript@1.3.
|
|
39
|
+
npm install @openfilz-sdk/typescript@1.3.23 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -298,6 +298,7 @@ Class | Method | HTTP request | Description
|
|
|
298
298
|
- [UploadAudit](docs/UploadAudit.md)
|
|
299
299
|
- [UploadResponse](docs/UploadResponse.md)
|
|
300
300
|
- [VerifyOtpRequest](docs/VerifyOtpRequest.md)
|
|
301
|
+
- [Vote](docs/Vote.md)
|
|
301
302
|
- [WorkflowAction](docs/WorkflowAction.md)
|
|
302
303
|
- [WorkflowActionFailureAudit](docs/WorkflowActionFailureAudit.md)
|
|
303
304
|
- [WorkflowAssignment](docs/WorkflowAssignment.md)
|
|
@@ -308,6 +309,8 @@ Class | Method | HTTP request | Description
|
|
|
308
309
|
- [WorkflowInstanceDetailDTO](docs/WorkflowInstanceDetailDTO.md)
|
|
309
310
|
- [WorkflowInstancePage](docs/WorkflowInstancePage.md)
|
|
310
311
|
- [WorkflowProblem](docs/WorkflowProblem.md)
|
|
312
|
+
- [WorkflowReview](docs/WorkflowReview.md)
|
|
313
|
+
- [WorkflowReviewProgressDTO](docs/WorkflowReviewProgressDTO.md)
|
|
311
314
|
- [WorkflowSpec](docs/WorkflowSpec.md)
|
|
312
315
|
- [WorkflowState](docs/WorkflowState.md)
|
|
313
316
|
- [WorkflowSummaryDTO](docs/WorkflowSummaryDTO.md)
|
package/api/settings-api.ts
CHANGED
|
@@ -67,12 +67,13 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
67
67
|
};
|
|
68
68
|
},
|
|
69
69
|
/**
|
|
70
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
70
|
+
* 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.
|
|
71
71
|
* @summary Get user\'s settings
|
|
72
|
+
* @param {string} [acceptLanguage]
|
|
72
73
|
* @param {*} [options] Override http request option.
|
|
73
74
|
* @throws {RequiredError}
|
|
74
75
|
*/
|
|
75
|
-
getSettings1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
76
|
+
getSettings1: async (acceptLanguage?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
76
77
|
const localVarPath = `/api/v1/settings`;
|
|
77
78
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
78
79
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -91,6 +92,9 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
91
92
|
|
|
92
93
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
93
94
|
|
|
95
|
+
if (acceptLanguage != null) {
|
|
96
|
+
localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
|
|
97
|
+
}
|
|
94
98
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95
99
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
100
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -165,13 +169,14 @@ export const SettingsApiFp = function(configuration?: Configuration) {
|
|
|
165
169
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
166
170
|
},
|
|
167
171
|
/**
|
|
168
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
172
|
+
* 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
173
|
* @summary Get user\'s settings
|
|
174
|
+
* @param {string} [acceptLanguage]
|
|
170
175
|
* @param {*} [options] Override http request option.
|
|
171
176
|
* @throws {RequiredError}
|
|
172
177
|
*/
|
|
173
|
-
async getSettings1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>> {
|
|
174
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettings1(options);
|
|
178
|
+
async getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>> {
|
|
179
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettings1(acceptLanguage, options);
|
|
175
180
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
176
181
|
const localVarOperationServerBasePath = operationServerMap['SettingsApi.getSettings1']?.[localVarOperationServerIndex]?.url;
|
|
177
182
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -209,13 +214,14 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
209
214
|
return localVarFp.get1(options).then((request) => request(axios, basePath));
|
|
210
215
|
},
|
|
211
216
|
/**
|
|
212
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
217
|
+
* 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.
|
|
213
218
|
* @summary Get user\'s settings
|
|
219
|
+
* @param {string} [acceptLanguage]
|
|
214
220
|
* @param {*} [options] Override http request option.
|
|
215
221
|
* @throws {RequiredError}
|
|
216
222
|
*/
|
|
217
|
-
getSettings1(options?: RawAxiosRequestConfig): AxiosPromise<Settings> {
|
|
218
|
-
return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
|
|
223
|
+
getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings> {
|
|
224
|
+
return localVarFp.getSettings1(acceptLanguage, options).then((request) => request(axios, basePath));
|
|
219
225
|
},
|
|
220
226
|
/**
|
|
221
227
|
* 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.
|
|
@@ -246,13 +252,14 @@ export class SettingsApi extends BaseAPI {
|
|
|
246
252
|
}
|
|
247
253
|
|
|
248
254
|
/**
|
|
249
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
255
|
+
* 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.
|
|
250
256
|
* @summary Get user\'s settings
|
|
257
|
+
* @param {string} [acceptLanguage]
|
|
251
258
|
* @param {*} [options] Override http request option.
|
|
252
259
|
* @throws {RequiredError}
|
|
253
260
|
*/
|
|
254
|
-
public getSettings1(options?: RawAxiosRequestConfig) {
|
|
255
|
-
return SettingsApiFp(this.configuration).getSettings1(options).then((request) => request(this.axios, this.basePath));
|
|
261
|
+
public getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig) {
|
|
262
|
+
return SettingsApiFp(this.configuration).getSettings1(acceptLanguage, options).then((request) => request(this.axios, this.basePath));
|
|
256
263
|
}
|
|
257
264
|
|
|
258
265
|
/**
|
|
@@ -27,12 +27,13 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
27
27
|
*/
|
|
28
28
|
get1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
30
|
+
* 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.
|
|
31
31
|
* @summary Get user\'s settings
|
|
32
|
+
* @param {string} [acceptLanguage]
|
|
32
33
|
* @param {*} [options] Override http request option.
|
|
33
34
|
* @throws {RequiredError}
|
|
34
35
|
*/
|
|
35
|
-
getSettings1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
getSettings1: (acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
37
|
/**
|
|
37
38
|
* A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
|
|
38
39
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -55,12 +56,13 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
55
56
|
*/
|
|
56
57
|
get1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
|
|
57
58
|
/**
|
|
58
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
59
|
+
* 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.
|
|
59
60
|
* @summary Get user\'s settings
|
|
61
|
+
* @param {string} [acceptLanguage]
|
|
60
62
|
* @param {*} [options] Override http request option.
|
|
61
63
|
* @throws {RequiredError}
|
|
62
64
|
*/
|
|
63
|
-
getSettings1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
65
|
+
getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
64
66
|
/**
|
|
65
67
|
* 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.
|
|
66
68
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -83,12 +85,13 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
83
85
|
*/
|
|
84
86
|
get1(options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
|
|
85
87
|
/**
|
|
86
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
88
|
+
* 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.
|
|
87
89
|
* @summary Get user\'s settings
|
|
90
|
+
* @param {string} [acceptLanguage]
|
|
88
91
|
* @param {*} [options] Override http request option.
|
|
89
92
|
* @throws {RequiredError}
|
|
90
93
|
*/
|
|
91
|
-
getSettings1(options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
94
|
+
getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
92
95
|
/**
|
|
93
96
|
* A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
|
|
94
97
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -111,12 +114,13 @@ export declare class SettingsApi extends BaseAPI {
|
|
|
111
114
|
*/
|
|
112
115
|
get1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}>>;
|
|
113
116
|
/**
|
|
114
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
117
|
+
* 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.
|
|
115
118
|
* @summary Get user\'s settings
|
|
119
|
+
* @param {string} [acceptLanguage]
|
|
116
120
|
* @param {*} [options] Override http request option.
|
|
117
121
|
* @throws {RequiredError}
|
|
118
122
|
*/
|
|
119
|
-
getSettings1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}>>;
|
|
123
|
+
getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}>>;
|
|
120
124
|
/**
|
|
121
125
|
* 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.
|
|
122
126
|
* @summary Save the caller\'s smart-filing preferences
|
package/dist/api/settings-api.js
CHANGED
|
@@ -64,12 +64,13 @@ const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
64
64
|
};
|
|
65
65
|
}),
|
|
66
66
|
/**
|
|
67
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
67
|
+
* 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.
|
|
68
68
|
* @summary Get user\'s settings
|
|
69
|
+
* @param {string} [acceptLanguage]
|
|
69
70
|
* @param {*} [options] Override http request option.
|
|
70
71
|
* @throws {RequiredError}
|
|
71
72
|
*/
|
|
72
|
-
getSettings1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
73
|
+
getSettings1: (acceptLanguage_1, ...args_1) => __awaiter(this, [acceptLanguage_1, ...args_1], void 0, function* (acceptLanguage, options = {}) {
|
|
73
74
|
const localVarPath = `/api/v1/settings`;
|
|
74
75
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75
76
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -84,6 +85,9 @@ const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
84
85
|
// http bearer authentication required
|
|
85
86
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
86
87
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
88
|
+
if (acceptLanguage != null) {
|
|
89
|
+
localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
|
|
90
|
+
}
|
|
87
91
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
88
92
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
93
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -155,15 +159,16 @@ const SettingsApiFp = function (configuration) {
|
|
|
155
159
|
});
|
|
156
160
|
},
|
|
157
161
|
/**
|
|
158
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
162
|
+
* 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.
|
|
159
163
|
* @summary Get user\'s settings
|
|
164
|
+
* @param {string} [acceptLanguage]
|
|
160
165
|
* @param {*} [options] Override http request option.
|
|
161
166
|
* @throws {RequiredError}
|
|
162
167
|
*/
|
|
163
|
-
getSettings1(options) {
|
|
168
|
+
getSettings1(acceptLanguage, options) {
|
|
164
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
165
170
|
var _a, _b, _c;
|
|
166
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings1(options);
|
|
171
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings1(acceptLanguage, options);
|
|
167
172
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
168
173
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingsApi.getSettings1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
169
174
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -205,13 +210,14 @@ const SettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
205
210
|
return localVarFp.get1(options).then((request) => request(axios, basePath));
|
|
206
211
|
},
|
|
207
212
|
/**
|
|
208
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
213
|
+
* 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.
|
|
209
214
|
* @summary Get user\'s settings
|
|
215
|
+
* @param {string} [acceptLanguage]
|
|
210
216
|
* @param {*} [options] Override http request option.
|
|
211
217
|
* @throws {RequiredError}
|
|
212
218
|
*/
|
|
213
|
-
getSettings1(options) {
|
|
214
|
-
return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
|
|
219
|
+
getSettings1(acceptLanguage, options) {
|
|
220
|
+
return localVarFp.getSettings1(acceptLanguage, options).then((request) => request(axios, basePath));
|
|
215
221
|
},
|
|
216
222
|
/**
|
|
217
223
|
* 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.
|
|
@@ -241,13 +247,14 @@ class SettingsApi extends base_1.BaseAPI {
|
|
|
241
247
|
return (0, exports.SettingsApiFp)(this.configuration).get1(options).then((request) => request(this.axios, this.basePath));
|
|
242
248
|
}
|
|
243
249
|
/**
|
|
244
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
250
|
+
* 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.
|
|
245
251
|
* @summary Get user\'s settings
|
|
252
|
+
* @param {string} [acceptLanguage]
|
|
246
253
|
* @param {*} [options] Override http request option.
|
|
247
254
|
* @throws {RequiredError}
|
|
248
255
|
*/
|
|
249
|
-
getSettings1(options) {
|
|
250
|
-
return (0, exports.SettingsApiFp)(this.configuration).getSettings1(options).then((request) => request(this.axios, this.basePath));
|
|
256
|
+
getSettings1(acceptLanguage, options) {
|
|
257
|
+
return (0, exports.SettingsApiFp)(this.configuration).getSettings1(acceptLanguage, options).then((request) => request(this.axios, this.basePath));
|
|
251
258
|
}
|
|
252
259
|
/**
|
|
253
260
|
* 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.
|
|
@@ -27,12 +27,13 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
27
27
|
*/
|
|
28
28
|
get1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
30
|
+
* 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.
|
|
31
31
|
* @summary Get user\'s settings
|
|
32
|
+
* @param {string} [acceptLanguage]
|
|
32
33
|
* @param {*} [options] Override http request option.
|
|
33
34
|
* @throws {RequiredError}
|
|
34
35
|
*/
|
|
35
|
-
getSettings1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
getSettings1: (acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
37
|
/**
|
|
37
38
|
* A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
|
|
38
39
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -55,12 +56,13 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
55
56
|
*/
|
|
56
57
|
get1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
|
|
57
58
|
/**
|
|
58
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
59
|
+
* 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.
|
|
59
60
|
* @summary Get user\'s settings
|
|
61
|
+
* @param {string} [acceptLanguage]
|
|
60
62
|
* @param {*} [options] Override http request option.
|
|
61
63
|
* @throws {RequiredError}
|
|
62
64
|
*/
|
|
63
|
-
getSettings1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
65
|
+
getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
|
|
64
66
|
/**
|
|
65
67
|
* 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.
|
|
66
68
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -83,12 +85,13 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
83
85
|
*/
|
|
84
86
|
get1(options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
|
|
85
87
|
/**
|
|
86
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
88
|
+
* 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.
|
|
87
89
|
* @summary Get user\'s settings
|
|
90
|
+
* @param {string} [acceptLanguage]
|
|
88
91
|
* @param {*} [options] Override http request option.
|
|
89
92
|
* @throws {RequiredError}
|
|
90
93
|
*/
|
|
91
|
-
getSettings1(options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
94
|
+
getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
|
|
92
95
|
/**
|
|
93
96
|
* A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
|
|
94
97
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -111,12 +114,13 @@ export declare class SettingsApi extends BaseAPI {
|
|
|
111
114
|
*/
|
|
112
115
|
get1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}>>;
|
|
113
116
|
/**
|
|
114
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
117
|
+
* 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.
|
|
115
118
|
* @summary Get user\'s settings
|
|
119
|
+
* @param {string} [acceptLanguage]
|
|
116
120
|
* @param {*} [options] Override http request option.
|
|
117
121
|
* @throws {RequiredError}
|
|
118
122
|
*/
|
|
119
|
-
getSettings1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}>>;
|
|
123
|
+
getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}>>;
|
|
120
124
|
/**
|
|
121
125
|
* 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.
|
|
122
126
|
* @summary Save the caller\'s smart-filing preferences
|
|
@@ -61,12 +61,13 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
61
61
|
};
|
|
62
62
|
}),
|
|
63
63
|
/**
|
|
64
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
64
|
+
* 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.
|
|
65
65
|
* @summary Get user\'s settings
|
|
66
|
+
* @param {string} [acceptLanguage]
|
|
66
67
|
* @param {*} [options] Override http request option.
|
|
67
68
|
* @throws {RequiredError}
|
|
68
69
|
*/
|
|
69
|
-
getSettings1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
70
|
+
getSettings1: (acceptLanguage_1, ...args_1) => __awaiter(this, [acceptLanguage_1, ...args_1], void 0, function* (acceptLanguage, options = {}) {
|
|
70
71
|
const localVarPath = `/api/v1/settings`;
|
|
71
72
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72
73
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -81,6 +82,9 @@ export const SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
81
82
|
// http bearer authentication required
|
|
82
83
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
83
84
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
85
|
+
if (acceptLanguage != null) {
|
|
86
|
+
localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
|
|
87
|
+
}
|
|
84
88
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
89
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
90
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -151,15 +155,16 @@ export const SettingsApiFp = function (configuration) {
|
|
|
151
155
|
});
|
|
152
156
|
},
|
|
153
157
|
/**
|
|
154
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
158
|
+
* 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.
|
|
155
159
|
* @summary Get user\'s settings
|
|
160
|
+
* @param {string} [acceptLanguage]
|
|
156
161
|
* @param {*} [options] Override http request option.
|
|
157
162
|
* @throws {RequiredError}
|
|
158
163
|
*/
|
|
159
|
-
getSettings1(options) {
|
|
164
|
+
getSettings1(acceptLanguage, options) {
|
|
160
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
161
166
|
var _a, _b, _c;
|
|
162
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings1(options);
|
|
167
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings1(acceptLanguage, options);
|
|
163
168
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
164
169
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SettingsApi.getSettings1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
165
170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -200,13 +205,14 @@ export const SettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
200
205
|
return localVarFp.get1(options).then((request) => request(axios, basePath));
|
|
201
206
|
},
|
|
202
207
|
/**
|
|
203
|
-
* Retrieve user\'s settings : global settings and user\'s preferences
|
|
208
|
+
* 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.
|
|
204
209
|
* @summary Get user\'s settings
|
|
210
|
+
* @param {string} [acceptLanguage]
|
|
205
211
|
* @param {*} [options] Override http request option.
|
|
206
212
|
* @throws {RequiredError}
|
|
207
213
|
*/
|
|
208
|
-
getSettings1(options) {
|
|
209
|
-
return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
|
|
214
|
+
getSettings1(acceptLanguage, options) {
|
|
215
|
+
return localVarFp.getSettings1(acceptLanguage, options).then((request) => request(axios, basePath));
|
|
210
216
|
},
|
|
211
217
|
/**
|
|
212
218
|
* 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.
|
|
@@ -235,13 +241,14 @@ export class SettingsApi extends BaseAPI {
|
|
|
235
241
|
return SettingsApiFp(this.configuration).get1(options).then((request) => request(this.axios, this.basePath));
|
|
236
242
|
}
|
|
237
243
|
/**
|
|
238
|
-
* 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.
|
|
239
245
|
* @summary Get user\'s settings
|
|
246
|
+
* @param {string} [acceptLanguage]
|
|
240
247
|
* @param {*} [options] Override http request option.
|
|
241
248
|
* @throws {RequiredError}
|
|
242
249
|
*/
|
|
243
|
-
getSettings1(options) {
|
|
244
|
-
return SettingsApiFp(this.configuration).getSettings1(options).then((request) => request(this.axios, this.basePath));
|
|
250
|
+
getSettings1(acceptLanguage, options) {
|
|
251
|
+
return SettingsApiFp(this.configuration).getSettings1(acceptLanguage, options).then((request) => request(this.axios, this.basePath));
|
|
245
252
|
}
|
|
246
253
|
/**
|
|
247
254
|
* 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.
|
|
@@ -60,6 +60,7 @@ export declare const AuditLogActionEnum: {
|
|
|
60
60
|
readonly PdfTransform: "PDF_TRANSFORM";
|
|
61
61
|
readonly WorkflowStarted: "WORKFLOW_STARTED";
|
|
62
62
|
readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
|
|
63
|
+
readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
|
|
63
64
|
readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
|
|
64
65
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
65
66
|
readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
|
|
@@ -48,6 +48,7 @@ export const AuditLogActionEnum = {
|
|
|
48
48
|
PdfTransform: 'PDF_TRANSFORM',
|
|
49
49
|
WorkflowStarted: 'WORKFLOW_STARTED',
|
|
50
50
|
WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
|
|
51
|
+
WorkflowReviewed: 'WORKFLOW_REVIEWED',
|
|
51
52
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
52
53
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
53
54
|
WorkflowTaskReassigned: 'WORKFLOW_TASK_REASSIGNED',
|
|
@@ -117,6 +117,7 @@ export * from './update-metadata-request';
|
|
|
117
117
|
export * from './upload-audit';
|
|
118
118
|
export * from './upload-response';
|
|
119
119
|
export * from './verify-otp-request';
|
|
120
|
+
export * from './vote';
|
|
120
121
|
export * from './workflow-action';
|
|
121
122
|
export * from './workflow-action-failure-audit';
|
|
122
123
|
export * from './workflow-assignment';
|
|
@@ -127,6 +128,8 @@ export * from './workflow-instance-dto';
|
|
|
127
128
|
export * from './workflow-instance-detail-dto';
|
|
128
129
|
export * from './workflow-instance-page';
|
|
129
130
|
export * from './workflow-problem';
|
|
131
|
+
export * from './workflow-review';
|
|
132
|
+
export * from './workflow-review-progress-dto';
|
|
130
133
|
export * from './workflow-spec';
|
|
131
134
|
export * from './workflow-state';
|
|
132
135
|
export * from './workflow-summary-dto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -117,6 +117,7 @@ export * from './update-metadata-request';
|
|
|
117
117
|
export * from './upload-audit';
|
|
118
118
|
export * from './upload-response';
|
|
119
119
|
export * from './verify-otp-request';
|
|
120
|
+
export * from './vote';
|
|
120
121
|
export * from './workflow-action';
|
|
121
122
|
export * from './workflow-action-failure-audit';
|
|
122
123
|
export * from './workflow-assignment';
|
|
@@ -127,6 +128,8 @@ export * from './workflow-instance-dto';
|
|
|
127
128
|
export * from './workflow-instance-detail-dto';
|
|
128
129
|
export * from './workflow-instance-page';
|
|
129
130
|
export * from './workflow-problem';
|
|
131
|
+
export * from './workflow-review';
|
|
132
|
+
export * from './workflow-review-progress-dto';
|
|
130
133
|
export * from './workflow-spec';
|
|
131
134
|
export * from './workflow-state';
|
|
132
135
|
export * from './workflow-summary-dto';
|
|
@@ -78,6 +78,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
|
|
|
78
78
|
readonly PdfTransform: "PDF_TRANSFORM";
|
|
79
79
|
readonly WorkflowStarted: "WORKFLOW_STARTED";
|
|
80
80
|
readonly WorkflowTransitioned: "WORKFLOW_TRANSITIONED";
|
|
81
|
+
readonly WorkflowReviewed: "WORKFLOW_REVIEWED";
|
|
81
82
|
readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
|
|
82
83
|
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
83
84
|
readonly WorkflowTaskReassigned: "WORKFLOW_TASK_REASSIGNED";
|
|
@@ -52,6 +52,7 @@ export const SearchByAuditLogRequestActionEnum = {
|
|
|
52
52
|
PdfTransform: 'PDF_TRANSFORM',
|
|
53
53
|
WorkflowStarted: 'WORKFLOW_STARTED',
|
|
54
54
|
WorkflowTransitioned: 'WORKFLOW_TRANSITIONED',
|
|
55
|
+
WorkflowReviewed: 'WORKFLOW_REVIEWED',
|
|
55
56
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
56
57
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
57
58
|
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";
|
|
@@ -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
|
+
};
|