@gizone/rrs-client 4.2.9-alpha.711 → 4.2.9-alpha.712
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 +10 -0
- package/api.ts +1 -0
- package/apis/evaluation-api.ts +279 -0
- package/apis/flow-record-api.ts +258 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/evaluation-api.d.ts +148 -0
- package/dist/apis/evaluation-api.js +213 -0
- package/dist/apis/flow-record-api.d.ts +143 -0
- package/dist/apis/flow-record-api.js +216 -0
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/evaluation-api.d.ts +148 -0
- package/dist/esm/apis/evaluation-api.js +213 -0
- package/dist/esm/apis/flow-record-api.d.ts +143 -0
- package/dist/esm/apis/flow-record-api.js +209 -0
- package/dist/esm/models/business-type-enum.d.ts +20 -0
- package/dist/esm/models/business-type-enum.js +21 -0
- package/dist/esm/models/evaluation-approval-record-entity.d.ts +97 -0
- package/dist/esm/models/evaluation-approval-record-entity.js +14 -0
- package/dist/esm/models/evaluation-approval-status-enum.d.ts +22 -0
- package/dist/esm/models/evaluation-approval-status-enum.js +23 -0
- package/dist/esm/models/evaluation-approval-vo.d.ts +30 -0
- package/dist/esm/models/evaluation-approval-vo.js +14 -0
- package/dist/esm/models/evaluation-details-vo.d.ts +30 -0
- package/dist/esm/models/evaluation-draft-dto.d.ts +30 -0
- package/dist/esm/models/evaluation-status-enum.d.ts +1 -0
- package/dist/esm/models/evaluation-status-enum.js +1 -0
- package/dist/esm/models/evaluation-submit-dto.d.ts +30 -0
- package/dist/esm/models/flow-action-type-enum.d.ts +26 -0
- package/dist/esm/models/flow-action-type-enum.js +27 -0
- package/dist/esm/models/flow-record-vo.d.ts +98 -0
- package/dist/esm/models/flow-record-vo.js +14 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/esm/models/json-result-evaluation-approval-record-entity.d.ts +62 -0
- package/dist/esm/models/json-result-evaluation-approval-record-entity.js +14 -0
- package/dist/esm/models/json-result-flow-record-vo.d.ts +62 -0
- package/dist/esm/models/json-result-flow-record-vo.js +14 -0
- package/dist/esm/models/json-result-list-flow-record-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-flow-record-vo.js +14 -0
- package/dist/models/business-type-enum.d.ts +20 -0
- package/dist/models/business-type-enum.js +24 -0
- package/dist/models/evaluation-approval-record-entity.d.ts +97 -0
- package/dist/models/evaluation-approval-record-entity.js +15 -0
- package/dist/models/evaluation-approval-status-enum.d.ts +22 -0
- package/dist/models/evaluation-approval-status-enum.js +26 -0
- package/dist/models/evaluation-approval-vo.d.ts +30 -0
- package/dist/models/evaluation-approval-vo.js +15 -0
- package/dist/models/evaluation-details-vo.d.ts +30 -0
- package/dist/models/evaluation-draft-dto.d.ts +30 -0
- package/dist/models/evaluation-status-enum.d.ts +1 -0
- package/dist/models/evaluation-status-enum.js +1 -0
- package/dist/models/evaluation-submit-dto.d.ts +30 -0
- package/dist/models/flow-action-type-enum.d.ts +26 -0
- package/dist/models/flow-action-type-enum.js +30 -0
- package/dist/models/flow-record-vo.d.ts +98 -0
- package/dist/models/flow-record-vo.js +15 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/models/json-result-evaluation-approval-record-entity.d.ts +62 -0
- package/dist/models/json-result-evaluation-approval-record-entity.js +15 -0
- package/dist/models/json-result-flow-record-vo.d.ts +62 -0
- package/dist/models/json-result-flow-record-vo.js +15 -0
- package/dist/models/json-result-list-flow-record-vo.d.ts +62 -0
- package/dist/models/json-result-list-flow-record-vo.js +15 -0
- package/models/business-type-enum.ts +30 -0
- package/models/evaluation-approval-record-entity.ts +107 -0
- package/models/evaluation-approval-status-enum.ts +32 -0
- package/models/evaluation-approval-vo.ts +36 -0
- package/models/evaluation-details-vo.ts +30 -0
- package/models/evaluation-draft-dto.ts +30 -0
- package/models/evaluation-status-enum.ts +1 -0
- package/models/evaluation-submit-dto.ts +30 -0
- package/models/flow-action-type-enum.ts +36 -0
- package/models/flow-record-vo.ts +110 -0
- package/models/index.ts +9 -0
- package/models/ipage-energy-cost-record-info-vo.ts +6 -6
- package/models/json-result-evaluation-approval-record-entity.ts +72 -0
- package/models/json-result-flow-record-vo.ts +72 -0
- package/models/json-result-list-flow-record-vo.ts +72 -0
- package/ossutil.log +1221 -1221
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -20,6 +20,7 @@ apis/equipment-api.ts
|
|
|
20
20
|
apis/evaluation-api.ts
|
|
21
21
|
apis/evaluation-config-api.ts
|
|
22
22
|
apis/excel-language-controller-api.ts
|
|
23
|
+
apis/flow-record-api.ts
|
|
23
24
|
apis/hwork-api.ts
|
|
24
25
|
apis/inspection-standard-api.ts
|
|
25
26
|
apis/internal-api.ts
|
|
@@ -125,6 +126,7 @@ models/budget-balance-query-dto.ts
|
|
|
125
126
|
models/budget-interaction-result-detail-dto.ts
|
|
126
127
|
models/budget-object.ts
|
|
127
128
|
models/business-contacts-vo.ts
|
|
129
|
+
models/business-type-enum.ts
|
|
128
130
|
models/calendar-entity.ts
|
|
129
131
|
models/calendar-export-dto.ts
|
|
130
132
|
models/calendar-save-update-dto.ts
|
|
@@ -225,6 +227,9 @@ models/equipment-work-order-statistics.ts
|
|
|
225
227
|
models/equipment.ts
|
|
226
228
|
models/evaluation-approval-process-dto.ts
|
|
227
229
|
models/evaluation-approval-process-vo.ts
|
|
230
|
+
models/evaluation-approval-record-entity.ts
|
|
231
|
+
models/evaluation-approval-status-enum.ts
|
|
232
|
+
models/evaluation-approval-vo.ts
|
|
228
233
|
models/evaluation-config-add-dto.ts
|
|
229
234
|
models/evaluation-config-details-vo.ts
|
|
230
235
|
models/evaluation-config-import-dto.ts
|
|
@@ -260,6 +265,8 @@ models/exploration-work-order-info.ts
|
|
|
260
265
|
models/exploration-work-order-submit-vo.ts
|
|
261
266
|
models/exploration-work-order-type-enum.ts
|
|
262
267
|
models/file-dto.ts
|
|
268
|
+
models/flow-action-type-enum.ts
|
|
269
|
+
models/flow-record-vo.ts
|
|
263
270
|
models/followup-work-order-dto.ts
|
|
264
271
|
models/functional-area-enum.ts
|
|
265
272
|
models/fusion-role-request-dto.ts
|
|
@@ -317,6 +324,7 @@ models/json-result-equipment-add-redis-list-dto.ts
|
|
|
317
324
|
models/json-result-equipment-detail-dto.ts
|
|
318
325
|
models/json-result-equipment-search-system-dto.ts
|
|
319
326
|
models/json-result-evaluation-approval-process-vo.ts
|
|
327
|
+
models/json-result-evaluation-approval-record-entity.ts
|
|
320
328
|
models/json-result-evaluation-config-details-vo.ts
|
|
321
329
|
models/json-result-evaluation-details-vo.ts
|
|
322
330
|
models/json-result-excel-import-result-dtoaccess-whitelist-application-batch-import-template-dto.ts
|
|
@@ -331,6 +339,7 @@ models/json-result-excel-import-result-dtosurveillance-settings-export-dto.ts
|
|
|
331
339
|
models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.ts
|
|
332
340
|
models/json-result-exploration-work-order-details-dto.ts
|
|
333
341
|
models/json-result-file-dto.ts
|
|
342
|
+
models/json-result-flow-record-vo.ts
|
|
334
343
|
models/json-result-group-dept-vo.ts
|
|
335
344
|
models/json-result-hwork-user-list-result-vo.ts
|
|
336
345
|
models/json-result-inspection-standard-entity.ts
|
|
@@ -368,6 +377,7 @@ models/json-result-list-equipment-qr-code-dto.ts
|
|
|
368
377
|
models/json-result-list-equipment-system-tree-dto.ts
|
|
369
378
|
models/json-result-list-equipment-tree-dto.ts
|
|
370
379
|
models/json-result-list-evaluation-module-category-vo.ts
|
|
380
|
+
models/json-result-list-flow-record-vo.ts
|
|
371
381
|
models/json-result-list-inspection-point.ts
|
|
372
382
|
models/json-result-list-inspection-standard-entity.ts
|
|
373
383
|
models/json-result-list-maintenance-order-process-record-list-vo.ts
|
package/api.ts
CHANGED
|
@@ -31,6 +31,7 @@ export * from './apis/equipment-api';
|
|
|
31
31
|
export * from './apis/evaluation-api';
|
|
32
32
|
export * from './apis/evaluation-config-api';
|
|
33
33
|
export * from './apis/excel-language-controller-api';
|
|
34
|
+
export * from './apis/flow-record-api';
|
|
34
35
|
export * from './apis/hwork-api';
|
|
35
36
|
export * from './apis/inspection-standard-api';
|
|
36
37
|
export * from './apis/internal-api';
|
package/apis/evaluation-api.ts
CHANGED
|
@@ -22,6 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
+
import type { EvaluationApprovalVo } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
25
27
|
import type { EvaluationDraftDto } from '../models';
|
|
26
28
|
// @ts-ignore
|
|
27
29
|
import type { EvaluationStatusEnum } from '../models';
|
|
@@ -32,6 +34,8 @@ import type { EvaluationTypeEnum } from '../models';
|
|
|
32
34
|
// @ts-ignore
|
|
33
35
|
import type { JsonResultBoolean } from '../models';
|
|
34
36
|
// @ts-ignore
|
|
37
|
+
import type { JsonResultEvaluationApprovalRecordEntity } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
35
39
|
import type { JsonResultEvaluationDetailsVo } from '../models';
|
|
36
40
|
// @ts-ignore
|
|
37
41
|
import type { JsonResultInteger } from '../models';
|
|
@@ -43,6 +47,88 @@ import type { JsonResultPageDtoEvaluationListVo } from '../models';
|
|
|
43
47
|
*/
|
|
44
48
|
export const EvaluationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
45
49
|
return {
|
|
50
|
+
/**
|
|
51
|
+
* 审批评价,可以同意或拒绝
|
|
52
|
+
* @summary 审批评价
|
|
53
|
+
* @param {number} id
|
|
54
|
+
* @param {EvaluationApprovalVo} evaluationApprovalVo
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
evaluationApproval: async (id: number, evaluationApprovalVo: EvaluationApprovalVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59
|
+
// verify required parameter 'id' is not null or undefined
|
|
60
|
+
assertParamExists('evaluationApproval', 'id', id)
|
|
61
|
+
// verify required parameter 'evaluationApprovalVo' is not null or undefined
|
|
62
|
+
assertParamExists('evaluationApproval', 'evaluationApprovalVo', evaluationApprovalVo)
|
|
63
|
+
const localVarPath = `/gizone/evaluation/{id}/approval`
|
|
64
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
65
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
67
|
+
let baseOptions;
|
|
68
|
+
if (configuration) {
|
|
69
|
+
baseOptions = configuration.baseOptions;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
73
|
+
const localVarHeaderParameter = {} as any;
|
|
74
|
+
const localVarQueryParameter = {} as any;
|
|
75
|
+
|
|
76
|
+
// authentication tokenScheme required
|
|
77
|
+
// http bearer authentication required
|
|
78
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
83
|
+
|
|
84
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87
|
+
localVarRequestOptions.data = serializeDataIfNeeded(evaluationApprovalVo, localVarRequestOptions, configuration)
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
url: toPathString(localVarUrlObj),
|
|
91
|
+
options: localVarRequestOptions,
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @summary 获取当前审批人
|
|
97
|
+
* @param {number} id
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
evaluationCurrentApprover: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
|
+
// verify required parameter 'id' is not null or undefined
|
|
103
|
+
assertParamExists('evaluationCurrentApprover', 'id', id)
|
|
104
|
+
const localVarPath = `/gizone/evaluation/{id}/current-approver`
|
|
105
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
106
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108
|
+
let baseOptions;
|
|
109
|
+
if (configuration) {
|
|
110
|
+
baseOptions = configuration.baseOptions;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
114
|
+
const localVarHeaderParameter = {} as any;
|
|
115
|
+
const localVarQueryParameter = {} as any;
|
|
116
|
+
|
|
117
|
+
// authentication tokenScheme required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
124
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
125
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
126
|
+
|
|
127
|
+
return {
|
|
128
|
+
url: toPathString(localVarUrlObj),
|
|
129
|
+
options: localVarRequestOptions,
|
|
130
|
+
};
|
|
131
|
+
},
|
|
46
132
|
/**
|
|
47
133
|
* 删除评价信息
|
|
48
134
|
* @summary 删除评价
|
|
@@ -272,6 +358,44 @@ export const EvaluationApiAxiosParamCreator = function (configuration?: Configur
|
|
|
272
358
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
273
359
|
localVarRequestOptions.data = serializeDataIfNeeded(evaluationSubmitDto, localVarRequestOptions, configuration)
|
|
274
360
|
|
|
361
|
+
return {
|
|
362
|
+
url: toPathString(localVarUrlObj),
|
|
363
|
+
options: localVarRequestOptions,
|
|
364
|
+
};
|
|
365
|
+
},
|
|
366
|
+
/**
|
|
367
|
+
* 撤回待审批状态的评价,撤回后状态变为草稿
|
|
368
|
+
* @summary 撤回评价
|
|
369
|
+
* @param {number} id
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
evaluationWithdraw: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
374
|
+
// verify required parameter 'id' is not null or undefined
|
|
375
|
+
assertParamExists('evaluationWithdraw', 'id', id)
|
|
376
|
+
const localVarPath = `/gizone/evaluation/{id}/withdraw`
|
|
377
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
378
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
379
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
380
|
+
let baseOptions;
|
|
381
|
+
if (configuration) {
|
|
382
|
+
baseOptions = configuration.baseOptions;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
386
|
+
const localVarHeaderParameter = {} as any;
|
|
387
|
+
const localVarQueryParameter = {} as any;
|
|
388
|
+
|
|
389
|
+
// authentication tokenScheme required
|
|
390
|
+
// http bearer authentication required
|
|
391
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
396
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
397
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
398
|
+
|
|
275
399
|
return {
|
|
276
400
|
url: toPathString(localVarUrlObj),
|
|
277
401
|
options: localVarRequestOptions,
|
|
@@ -287,6 +411,33 @@ export const EvaluationApiAxiosParamCreator = function (configuration?: Configur
|
|
|
287
411
|
export const EvaluationApiFp = function(configuration?: Configuration) {
|
|
288
412
|
const localVarAxiosParamCreator = EvaluationApiAxiosParamCreator(configuration)
|
|
289
413
|
return {
|
|
414
|
+
/**
|
|
415
|
+
* 审批评价,可以同意或拒绝
|
|
416
|
+
* @summary 审批评价
|
|
417
|
+
* @param {number} id
|
|
418
|
+
* @param {EvaluationApprovalVo} evaluationApprovalVo
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
async evaluationApproval(id: number, evaluationApprovalVo: EvaluationApprovalVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
423
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluationApproval(id, evaluationApprovalVo, options);
|
|
424
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
425
|
+
const localVarOperationServerBasePath = operationServerMap['EvaluationApi.evaluationApproval']?.[localVarOperationServerIndex]?.url;
|
|
426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
427
|
+
},
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @summary 获取当前审批人
|
|
431
|
+
* @param {number} id
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
async evaluationCurrentApprover(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEvaluationApprovalRecordEntity>> {
|
|
436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluationCurrentApprover(id, options);
|
|
437
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
438
|
+
const localVarOperationServerBasePath = operationServerMap['EvaluationApi.evaluationCurrentApprover']?.[localVarOperationServerIndex]?.url;
|
|
439
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
440
|
+
},
|
|
290
441
|
/**
|
|
291
442
|
* 删除评价信息
|
|
292
443
|
* @summary 删除评价
|
|
@@ -359,6 +510,19 @@ export const EvaluationApiFp = function(configuration?: Configuration) {
|
|
|
359
510
|
const localVarOperationServerBasePath = operationServerMap['EvaluationApi.evaluationSubmit']?.[localVarOperationServerIndex]?.url;
|
|
360
511
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
361
512
|
},
|
|
513
|
+
/**
|
|
514
|
+
* 撤回待审批状态的评价,撤回后状态变为草稿
|
|
515
|
+
* @summary 撤回评价
|
|
516
|
+
* @param {number} id
|
|
517
|
+
* @param {*} [options] Override http request option.
|
|
518
|
+
* @throws {RequiredError}
|
|
519
|
+
*/
|
|
520
|
+
async evaluationWithdraw(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
521
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluationWithdraw(id, options);
|
|
522
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
523
|
+
const localVarOperationServerBasePath = operationServerMap['EvaluationApi.evaluationWithdraw']?.[localVarOperationServerIndex]?.url;
|
|
524
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
525
|
+
},
|
|
362
526
|
}
|
|
363
527
|
};
|
|
364
528
|
|
|
@@ -369,6 +533,26 @@ export const EvaluationApiFp = function(configuration?: Configuration) {
|
|
|
369
533
|
export const EvaluationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
370
534
|
const localVarFp = EvaluationApiFp(configuration)
|
|
371
535
|
return {
|
|
536
|
+
/**
|
|
537
|
+
* 审批评价,可以同意或拒绝
|
|
538
|
+
* @summary 审批评价
|
|
539
|
+
* @param {EvaluationApiEvaluationApprovalRequest} requestParameters Request parameters.
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
*/
|
|
543
|
+
evaluationApproval(requestParameters: EvaluationApiEvaluationApprovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
544
|
+
return localVarFp.evaluationApproval(requestParameters.id, requestParameters.evaluationApprovalVo, options).then((request) => request(axios, basePath));
|
|
545
|
+
},
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @summary 获取当前审批人
|
|
549
|
+
* @param {EvaluationApiEvaluationCurrentApproverRequest} requestParameters Request parameters.
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
evaluationCurrentApprover(requestParameters: EvaluationApiEvaluationCurrentApproverRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEvaluationApprovalRecordEntity> {
|
|
554
|
+
return localVarFp.evaluationCurrentApprover(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
555
|
+
},
|
|
372
556
|
/**
|
|
373
557
|
* 删除评价信息
|
|
374
558
|
* @summary 删除评价
|
|
@@ -419,9 +603,54 @@ export const EvaluationApiFactory = function (configuration?: Configuration, bas
|
|
|
419
603
|
evaluationSubmit(requestParameters: EvaluationApiEvaluationSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger> {
|
|
420
604
|
return localVarFp.evaluationSubmit(requestParameters.evaluationSubmitDto, options).then((request) => request(axios, basePath));
|
|
421
605
|
},
|
|
606
|
+
/**
|
|
607
|
+
* 撤回待审批状态的评价,撤回后状态变为草稿
|
|
608
|
+
* @summary 撤回评价
|
|
609
|
+
* @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
|
|
610
|
+
* @param {*} [options] Override http request option.
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
*/
|
|
613
|
+
evaluationWithdraw(requestParameters: EvaluationApiEvaluationWithdrawRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
614
|
+
return localVarFp.evaluationWithdraw(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
615
|
+
},
|
|
422
616
|
};
|
|
423
617
|
};
|
|
424
618
|
|
|
619
|
+
/**
|
|
620
|
+
* Request parameters for evaluationApproval operation in EvaluationApi.
|
|
621
|
+
* @export
|
|
622
|
+
* @interface EvaluationApiEvaluationApprovalRequest
|
|
623
|
+
*/
|
|
624
|
+
export interface EvaluationApiEvaluationApprovalRequest {
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @type {number}
|
|
628
|
+
* @memberof EvaluationApiEvaluationApproval
|
|
629
|
+
*/
|
|
630
|
+
readonly id: number
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @type {EvaluationApprovalVo}
|
|
635
|
+
* @memberof EvaluationApiEvaluationApproval
|
|
636
|
+
*/
|
|
637
|
+
readonly evaluationApprovalVo: EvaluationApprovalVo
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Request parameters for evaluationCurrentApprover operation in EvaluationApi.
|
|
642
|
+
* @export
|
|
643
|
+
* @interface EvaluationApiEvaluationCurrentApproverRequest
|
|
644
|
+
*/
|
|
645
|
+
export interface EvaluationApiEvaluationCurrentApproverRequest {
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @type {number}
|
|
649
|
+
* @memberof EvaluationApiEvaluationCurrentApprover
|
|
650
|
+
*/
|
|
651
|
+
readonly id: number
|
|
652
|
+
}
|
|
653
|
+
|
|
425
654
|
/**
|
|
426
655
|
* Request parameters for evaluationDelete operation in EvaluationApi.
|
|
427
656
|
* @export
|
|
@@ -541,6 +770,20 @@ export interface EvaluationApiEvaluationSubmitRequest {
|
|
|
541
770
|
readonly evaluationSubmitDto: EvaluationSubmitDto
|
|
542
771
|
}
|
|
543
772
|
|
|
773
|
+
/**
|
|
774
|
+
* Request parameters for evaluationWithdraw operation in EvaluationApi.
|
|
775
|
+
* @export
|
|
776
|
+
* @interface EvaluationApiEvaluationWithdrawRequest
|
|
777
|
+
*/
|
|
778
|
+
export interface EvaluationApiEvaluationWithdrawRequest {
|
|
779
|
+
/**
|
|
780
|
+
*
|
|
781
|
+
* @type {number}
|
|
782
|
+
* @memberof EvaluationApiEvaluationWithdraw
|
|
783
|
+
*/
|
|
784
|
+
readonly id: number
|
|
785
|
+
}
|
|
786
|
+
|
|
544
787
|
/**
|
|
545
788
|
* EvaluationApi - object-oriented interface
|
|
546
789
|
* @export
|
|
@@ -548,6 +791,30 @@ export interface EvaluationApiEvaluationSubmitRequest {
|
|
|
548
791
|
* @extends {BaseAPI}
|
|
549
792
|
*/
|
|
550
793
|
export class EvaluationApi extends BaseAPI {
|
|
794
|
+
/**
|
|
795
|
+
* 审批评价,可以同意或拒绝
|
|
796
|
+
* @summary 审批评价
|
|
797
|
+
* @param {EvaluationApiEvaluationApprovalRequest} requestParameters Request parameters.
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
* @memberof EvaluationApi
|
|
801
|
+
*/
|
|
802
|
+
public evaluationApproval(requestParameters: EvaluationApiEvaluationApprovalRequest, options?: RawAxiosRequestConfig) {
|
|
803
|
+
return EvaluationApiFp(this.configuration).evaluationApproval(requestParameters.id, requestParameters.evaluationApprovalVo, options).then((request) => request(this.axios, this.basePath));
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
*
|
|
808
|
+
* @summary 获取当前审批人
|
|
809
|
+
* @param {EvaluationApiEvaluationCurrentApproverRequest} requestParameters Request parameters.
|
|
810
|
+
* @param {*} [options] Override http request option.
|
|
811
|
+
* @throws {RequiredError}
|
|
812
|
+
* @memberof EvaluationApi
|
|
813
|
+
*/
|
|
814
|
+
public evaluationCurrentApprover(requestParameters: EvaluationApiEvaluationCurrentApproverRequest, options?: RawAxiosRequestConfig) {
|
|
815
|
+
return EvaluationApiFp(this.configuration).evaluationCurrentApprover(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
816
|
+
}
|
|
817
|
+
|
|
551
818
|
/**
|
|
552
819
|
* 删除评价信息
|
|
553
820
|
* @summary 删除评价
|
|
@@ -607,5 +874,17 @@ export class EvaluationApi extends BaseAPI {
|
|
|
607
874
|
public evaluationSubmit(requestParameters: EvaluationApiEvaluationSubmitRequest, options?: RawAxiosRequestConfig) {
|
|
608
875
|
return EvaluationApiFp(this.configuration).evaluationSubmit(requestParameters.evaluationSubmitDto, options).then((request) => request(this.axios, this.basePath));
|
|
609
876
|
}
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* 撤回待审批状态的评价,撤回后状态变为草稿
|
|
880
|
+
* @summary 撤回评价
|
|
881
|
+
* @param {EvaluationApiEvaluationWithdrawRequest} requestParameters Request parameters.
|
|
882
|
+
* @param {*} [options] Override http request option.
|
|
883
|
+
* @throws {RequiredError}
|
|
884
|
+
* @memberof EvaluationApi
|
|
885
|
+
*/
|
|
886
|
+
public evaluationWithdraw(requestParameters: EvaluationApiEvaluationWithdrawRequest, options?: RawAxiosRequestConfig) {
|
|
887
|
+
return EvaluationApiFp(this.configuration).evaluationWithdraw(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
888
|
+
}
|
|
610
889
|
}
|
|
611
890
|
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { BusinessTypeEnum } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { JsonResultFlowRecordVo } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { JsonResultListFlowRecordVo } from '../models';
|
|
30
|
+
/**
|
|
31
|
+
* FlowRecordApi - axios parameter creator
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const FlowRecordApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35
|
+
return {
|
|
36
|
+
/**
|
|
37
|
+
* 根据业务类型和业务ID查询流转记录列表
|
|
38
|
+
* @summary 根据业务查询流转记录
|
|
39
|
+
* @param {BusinessTypeEnum} businessType 业务类型
|
|
40
|
+
* @param {number} businessId 业务ID
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
flowRecordByBusiness: async (businessType: BusinessTypeEnum, businessId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
|
+
// verify required parameter 'businessType' is not null or undefined
|
|
46
|
+
assertParamExists('flowRecordByBusiness', 'businessType', businessType)
|
|
47
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
48
|
+
assertParamExists('flowRecordByBusiness', 'businessId', businessId)
|
|
49
|
+
const localVarPath = `/gizone/flow-record/business`;
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
58
|
+
const localVarHeaderParameter = {} as any;
|
|
59
|
+
const localVarQueryParameter = {} as any;
|
|
60
|
+
|
|
61
|
+
// authentication tokenScheme required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
64
|
+
|
|
65
|
+
if (businessType !== undefined) {
|
|
66
|
+
localVarQueryParameter['businessType'] = businessType;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (businessId !== undefined) {
|
|
70
|
+
localVarQueryParameter['businessId'] = businessId;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
url: toPathString(localVarUrlObj),
|
|
81
|
+
options: localVarRequestOptions,
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* 获取指定ID的流转记录详情
|
|
86
|
+
* @summary 获取流转记录详情
|
|
87
|
+
* @param {number} id 记录ID
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
flowRecordDetails: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
92
|
+
// verify required parameter 'id' is not null or undefined
|
|
93
|
+
assertParamExists('flowRecordDetails', 'id', id)
|
|
94
|
+
const localVarPath = `/gizone/flow-record/{id}`
|
|
95
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
96
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
97
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
98
|
+
let baseOptions;
|
|
99
|
+
if (configuration) {
|
|
100
|
+
baseOptions = configuration.baseOptions;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
104
|
+
const localVarHeaderParameter = {} as any;
|
|
105
|
+
const localVarQueryParameter = {} as any;
|
|
106
|
+
|
|
107
|
+
// authentication tokenScheme required
|
|
108
|
+
// http bearer authentication required
|
|
109
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
114
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
115
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
url: toPathString(localVarUrlObj),
|
|
119
|
+
options: localVarRequestOptions,
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* FlowRecordApi - functional programming interface
|
|
127
|
+
* @export
|
|
128
|
+
*/
|
|
129
|
+
export const FlowRecordApiFp = function(configuration?: Configuration) {
|
|
130
|
+
const localVarAxiosParamCreator = FlowRecordApiAxiosParamCreator(configuration)
|
|
131
|
+
return {
|
|
132
|
+
/**
|
|
133
|
+
* 根据业务类型和业务ID查询流转记录列表
|
|
134
|
+
* @summary 根据业务查询流转记录
|
|
135
|
+
* @param {BusinessTypeEnum} businessType 业务类型
|
|
136
|
+
* @param {number} businessId 业务ID
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
async flowRecordByBusiness(businessType: BusinessTypeEnum, businessId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListFlowRecordVo>> {
|
|
141
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.flowRecordByBusiness(businessType, businessId, options);
|
|
142
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
143
|
+
const localVarOperationServerBasePath = operationServerMap['FlowRecordApi.flowRecordByBusiness']?.[localVarOperationServerIndex]?.url;
|
|
144
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
145
|
+
},
|
|
146
|
+
/**
|
|
147
|
+
* 获取指定ID的流转记录详情
|
|
148
|
+
* @summary 获取流转记录详情
|
|
149
|
+
* @param {number} id 记录ID
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
async flowRecordDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultFlowRecordVo>> {
|
|
154
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.flowRecordDetails(id, options);
|
|
155
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
156
|
+
const localVarOperationServerBasePath = operationServerMap['FlowRecordApi.flowRecordDetails']?.[localVarOperationServerIndex]?.url;
|
|
157
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
158
|
+
},
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* FlowRecordApi - factory interface
|
|
164
|
+
* @export
|
|
165
|
+
*/
|
|
166
|
+
export const FlowRecordApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
167
|
+
const localVarFp = FlowRecordApiFp(configuration)
|
|
168
|
+
return {
|
|
169
|
+
/**
|
|
170
|
+
* 根据业务类型和业务ID查询流转记录列表
|
|
171
|
+
* @summary 根据业务查询流转记录
|
|
172
|
+
* @param {FlowRecordApiFlowRecordByBusinessRequest} requestParameters Request parameters.
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
flowRecordByBusiness(requestParameters: FlowRecordApiFlowRecordByBusinessRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListFlowRecordVo> {
|
|
177
|
+
return localVarFp.flowRecordByBusiness(requestParameters.businessType, requestParameters.businessId, options).then((request) => request(axios, basePath));
|
|
178
|
+
},
|
|
179
|
+
/**
|
|
180
|
+
* 获取指定ID的流转记录详情
|
|
181
|
+
* @summary 获取流转记录详情
|
|
182
|
+
* @param {FlowRecordApiFlowRecordDetailsRequest} requestParameters Request parameters.
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
flowRecordDetails(requestParameters: FlowRecordApiFlowRecordDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultFlowRecordVo> {
|
|
187
|
+
return localVarFp.flowRecordDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
188
|
+
},
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Request parameters for flowRecordByBusiness operation in FlowRecordApi.
|
|
194
|
+
* @export
|
|
195
|
+
* @interface FlowRecordApiFlowRecordByBusinessRequest
|
|
196
|
+
*/
|
|
197
|
+
export interface FlowRecordApiFlowRecordByBusinessRequest {
|
|
198
|
+
/**
|
|
199
|
+
* 业务类型
|
|
200
|
+
* @type {BusinessTypeEnum}
|
|
201
|
+
* @memberof FlowRecordApiFlowRecordByBusiness
|
|
202
|
+
*/
|
|
203
|
+
readonly businessType: BusinessTypeEnum
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* 业务ID
|
|
207
|
+
* @type {number}
|
|
208
|
+
* @memberof FlowRecordApiFlowRecordByBusiness
|
|
209
|
+
*/
|
|
210
|
+
readonly businessId: number
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Request parameters for flowRecordDetails operation in FlowRecordApi.
|
|
215
|
+
* @export
|
|
216
|
+
* @interface FlowRecordApiFlowRecordDetailsRequest
|
|
217
|
+
*/
|
|
218
|
+
export interface FlowRecordApiFlowRecordDetailsRequest {
|
|
219
|
+
/**
|
|
220
|
+
* 记录ID
|
|
221
|
+
* @type {number}
|
|
222
|
+
* @memberof FlowRecordApiFlowRecordDetails
|
|
223
|
+
*/
|
|
224
|
+
readonly id: number
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* FlowRecordApi - object-oriented interface
|
|
229
|
+
* @export
|
|
230
|
+
* @class FlowRecordApi
|
|
231
|
+
* @extends {BaseAPI}
|
|
232
|
+
*/
|
|
233
|
+
export class FlowRecordApi extends BaseAPI {
|
|
234
|
+
/**
|
|
235
|
+
* 根据业务类型和业务ID查询流转记录列表
|
|
236
|
+
* @summary 根据业务查询流转记录
|
|
237
|
+
* @param {FlowRecordApiFlowRecordByBusinessRequest} requestParameters Request parameters.
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
* @memberof FlowRecordApi
|
|
241
|
+
*/
|
|
242
|
+
public flowRecordByBusiness(requestParameters: FlowRecordApiFlowRecordByBusinessRequest, options?: RawAxiosRequestConfig) {
|
|
243
|
+
return FlowRecordApiFp(this.configuration).flowRecordByBusiness(requestParameters.businessType, requestParameters.businessId, options).then((request) => request(this.axios, this.basePath));
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* 获取指定ID的流转记录详情
|
|
248
|
+
* @summary 获取流转记录详情
|
|
249
|
+
* @param {FlowRecordApiFlowRecordDetailsRequest} requestParameters Request parameters.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
* @memberof FlowRecordApi
|
|
253
|
+
*/
|
|
254
|
+
public flowRecordDetails(requestParameters: FlowRecordApiFlowRecordDetailsRequest, options?: RawAxiosRequestConfig) {
|
|
255
|
+
return FlowRecordApiFp(this.configuration).flowRecordDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|