@gct-paas/api 0.1.0-word.3 → 0.1.1
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/dist/gct-api.esm.min.js +1 -1
- package/dist/gct-api.system.min.js +1 -1
- package/es/apaas/service/api-config.mjs +167 -9
- package/es/apaas/service/apis/designer-common.service.d.ts +5 -1
- package/es/apaas/service/apis/doc-control-started.service.d.ts +76 -1
- package/es/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
- package/es/apaas/service/apis/excel.service.d.ts +6 -2
- package/es/apaas/service/apis/field-meta.service.d.ts +21 -0
- package/es/apaas/service/apis/file-resource.service.d.ts +1 -0
- package/es/apaas/service/apis/file.service.d.ts +1 -0
- package/es/apaas/service/apis/i18n-info.service.d.ts +1 -0
- package/es/apaas/service/apis/label.service.d.ts +15 -4
- package/es/apaas/service/apis/model-meta.service.d.ts +15 -1
- package/es/apaas/service/apis/office.service.d.ts +4 -1
- package/es/apaas/service/apis/online-form-instance.service.d.ts +45 -0
- package/es/apaas/service/apis/online-form.service.d.ts +8 -1
- package/es/apaas/service/apis/process-task-done.service.d.ts +24 -1
- package/es/apaas/service/apis/process-task-todo.service.d.ts +36 -1
- package/es/apaas/service/apis/ss.service.d.ts +1 -0
- package/es/apaas/service/entities.d.ts +2264 -344
- package/es/apaas/service/index.d.ts +6 -0
- package/es/ipaas/service/api-config.mjs +21 -2
- package/es/ipaas/service/apis/connector-config.service.d.ts +1 -0
- package/es/ipaas/service/apis/flow.service.d.ts +78 -1
- package/es/ipaas/service/entities.d.ts +162 -0
- package/es/platform/service/api-config.mjs +52 -21
- package/es/platform/service/apis/api.service.d.ts +18 -0
- package/es/platform/service/apis/apk.service.d.ts +4 -1
- package/es/platform/service/apis/app.service.d.ts +8 -1
- package/es/platform/service/apis/assets.service.d.ts +1 -0
- package/es/platform/service/apis/bi-app.service.d.ts +4 -3
- package/es/platform/service/apis/bi-file.service.d.ts +1 -0
- package/es/platform/service/apis/device-interconnection-param.service.d.ts +4 -1
- package/es/platform/service/apis/device-interconnection.service.d.ts +4 -1
- package/es/platform/service/apis/file.service.d.ts +6 -1
- package/es/platform/service/apis/i18n-info.service.d.ts +1 -0
- package/es/platform/service/apis/invoke-log.service.d.ts +17 -1
- package/es/platform/service/apis/ldap.service.d.ts +4 -1
- package/es/platform/service/apis/license.service.d.ts +18 -0
- package/es/platform/service/apis/org.service.d.ts +0 -4
- package/es/platform/service/apis/plat.service.d.ts +4 -1
- package/es/platform/service/apis/pn-project.service.d.ts +1 -0
- package/es/platform/service/apis/tenant.service.d.ts +0 -4
- package/es/platform/service/apis/user.service.d.ts +15 -3
- package/es/platform/service/entities.d.ts +94 -0
- package/lib/apaas/service/api-config.cjs +139 -9
- package/lib/apaas/service/apis/designer-common.service.d.ts +5 -1
- package/lib/apaas/service/apis/doc-control-started.service.d.ts +76 -1
- package/lib/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
- package/lib/apaas/service/apis/excel.service.d.ts +6 -2
- package/lib/apaas/service/apis/field-meta.service.d.ts +21 -0
- package/lib/apaas/service/apis/file-resource.service.d.ts +1 -0
- package/lib/apaas/service/apis/file.service.d.ts +1 -0
- package/lib/apaas/service/apis/i18n-info.service.d.ts +1 -0
- package/lib/apaas/service/apis/label.service.d.ts +15 -4
- package/lib/apaas/service/apis/model-meta.service.d.ts +15 -1
- package/lib/apaas/service/apis/office.service.d.ts +4 -1
- package/lib/apaas/service/apis/online-form-instance.service.d.ts +45 -0
- package/lib/apaas/service/apis/online-form.service.d.ts +8 -1
- package/lib/apaas/service/apis/process-task-done.service.d.ts +24 -1
- package/lib/apaas/service/apis/process-task-todo.service.d.ts +36 -1
- package/lib/apaas/service/apis/ss.service.d.ts +1 -0
- package/lib/apaas/service/entities.d.ts +2264 -344
- package/lib/apaas/service/index.d.ts +6 -0
- package/lib/ipaas/service/api-config.cjs +18 -2
- package/lib/ipaas/service/apis/connector-config.service.d.ts +1 -0
- package/lib/ipaas/service/apis/flow.service.d.ts +78 -1
- package/lib/ipaas/service/entities.d.ts +162 -0
- package/lib/platform/service/api-config.cjs +50 -21
- package/lib/platform/service/apis/api.service.d.ts +18 -0
- package/lib/platform/service/apis/apk.service.d.ts +4 -1
- package/lib/platform/service/apis/app.service.d.ts +8 -1
- package/lib/platform/service/apis/assets.service.d.ts +1 -0
- package/lib/platform/service/apis/bi-app.service.d.ts +4 -3
- package/lib/platform/service/apis/bi-file.service.d.ts +1 -0
- package/lib/platform/service/apis/device-interconnection-param.service.d.ts +4 -1
- package/lib/platform/service/apis/device-interconnection.service.d.ts +4 -1
- package/lib/platform/service/apis/file.service.d.ts +6 -1
- package/lib/platform/service/apis/i18n-info.service.d.ts +1 -0
- package/lib/platform/service/apis/invoke-log.service.d.ts +17 -1
- package/lib/platform/service/apis/ldap.service.d.ts +4 -1
- package/lib/platform/service/apis/license.service.d.ts +18 -0
- package/lib/platform/service/apis/org.service.d.ts +0 -4
- package/lib/platform/service/apis/plat.service.d.ts +4 -1
- package/lib/platform/service/apis/pn-project.service.d.ts +1 -0
- package/lib/platform/service/apis/tenant.service.d.ts +0 -4
- package/lib/platform/service/apis/user.service.d.ts +15 -3
- package/lib/platform/service/entities.d.ts +94 -0
- package/package.json +12 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MedProService } from './apis/med-pro.service';
|
|
1
2
|
import type { AppBranchService } from './apis/app-branch.service';
|
|
2
3
|
import type { AppGlobalSettingsService } from './apis/app-global-settings.service';
|
|
3
4
|
import type { AppGrantedUserService } from './apis/app-granted-user.service';
|
|
@@ -61,6 +62,7 @@ import type { FormRelateService } from './apis/formRelate.service';
|
|
|
61
62
|
import type { FrontOperateLogService } from './apis/front-operate-log.service';
|
|
62
63
|
import type { GlobalMethodService } from './apis/global-method.service';
|
|
63
64
|
import type { I18NInfoService } from './apis/i18n-info.service';
|
|
65
|
+
import type { ImportReportService } from './apis/import-report.service';
|
|
64
66
|
import type { InstanceRelationService } from './apis/instance-relation.service';
|
|
65
67
|
import type { IpaasService } from './apis/ipaas.service';
|
|
66
68
|
import type { JobService } from './apis/job.service';
|
|
@@ -143,6 +145,7 @@ import type { SignLogService } from './apis/sign-log.service';
|
|
|
143
145
|
import type { SignatureService } from './apis/signature.service';
|
|
144
146
|
import type { SqlViewModelService } from './apis/sql-view-model.service';
|
|
145
147
|
import type { SqlViewService } from './apis/sql-view.service';
|
|
148
|
+
import type { SsService } from './apis/ss.service';
|
|
146
149
|
import type { StashService } from './apis/stash.service';
|
|
147
150
|
import type { SubModelProcessService } from './apis/sub-model-process.service';
|
|
148
151
|
import type { SysConfigService } from './apis/sys-config.service';
|
|
@@ -160,6 +163,7 @@ import type { WebpageService } from './apis/webpage.service';
|
|
|
160
163
|
import type { ApiService } from './apis/api.service';
|
|
161
164
|
|
|
162
165
|
export interface ApiManage {
|
|
166
|
+
readonly medPro: MedProService;
|
|
163
167
|
readonly appBranch: AppBranchService;
|
|
164
168
|
readonly appGlobalSettings: AppGlobalSettingsService;
|
|
165
169
|
readonly appGrantedUser: AppGrantedUserService;
|
|
@@ -223,6 +227,7 @@ export interface ApiManage {
|
|
|
223
227
|
readonly frontOperateLog: FrontOperateLogService;
|
|
224
228
|
readonly globalMethod: GlobalMethodService;
|
|
225
229
|
readonly i18NInfo: I18NInfoService;
|
|
230
|
+
readonly importReport: ImportReportService;
|
|
226
231
|
readonly instanceRelation: InstanceRelationService;
|
|
227
232
|
readonly ipaas: IpaasService;
|
|
228
233
|
readonly job: JobService;
|
|
@@ -305,6 +310,7 @@ export interface ApiManage {
|
|
|
305
310
|
readonly signature: SignatureService;
|
|
306
311
|
readonly sqlViewModel: SqlViewModelService;
|
|
307
312
|
readonly sqlView: SqlViewService;
|
|
313
|
+
readonly ss: SsService;
|
|
308
314
|
readonly stash: StashService;
|
|
309
315
|
readonly subModelProcess: SubModelProcessService;
|
|
310
316
|
readonly sysConfig: SysConfigService;
|
|
@@ -117,7 +117,8 @@ export const apiConfig = [
|
|
|
117
117
|
mode: "post",
|
|
118
118
|
method: "postImport",
|
|
119
119
|
path: "import",
|
|
120
|
-
hasQuery: true
|
|
120
|
+
hasQuery: true,
|
|
121
|
+
hasData: true
|
|
121
122
|
},
|
|
122
123
|
{
|
|
123
124
|
mode: "get",
|
|
@@ -334,11 +335,17 @@ export const apiConfig = [
|
|
|
334
335
|
method: "postExport",
|
|
335
336
|
path: "export"
|
|
336
337
|
},
|
|
338
|
+
{
|
|
339
|
+
mode: "get",
|
|
340
|
+
method: "getFlowCategoryTree",
|
|
341
|
+
path: "flowCategoryTree"
|
|
342
|
+
},
|
|
337
343
|
{
|
|
338
344
|
mode: "post",
|
|
339
345
|
method: "postImport",
|
|
340
346
|
path: "import",
|
|
341
|
-
hasQuery: true
|
|
347
|
+
hasQuery: true,
|
|
348
|
+
hasData: true
|
|
342
349
|
},
|
|
343
350
|
{
|
|
344
351
|
mode: "get",
|
|
@@ -352,6 +359,18 @@ export const apiConfig = [
|
|
|
352
359
|
path: "list/online",
|
|
353
360
|
hasQuery: true
|
|
354
361
|
},
|
|
362
|
+
{
|
|
363
|
+
mode: "get",
|
|
364
|
+
method: "getLogPageSearch",
|
|
365
|
+
path: "log/page/search",
|
|
366
|
+
hasQuery: true
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
mode: "get",
|
|
370
|
+
method: "getNodeLogReqId",
|
|
371
|
+
path: "node/log/{reqId}",
|
|
372
|
+
hasPathParams: true
|
|
373
|
+
},
|
|
355
374
|
{
|
|
356
375
|
mode: "get",
|
|
357
376
|
method: "getPageList",
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
ResponseEntity,
|
|
4
|
+
FlowCategoryTree,
|
|
5
|
+
FlowMainResp,
|
|
6
|
+
FlowLogResp,
|
|
7
|
+
FlowNodeLogResp,
|
|
8
|
+
FlowUpdateReq,
|
|
9
|
+
} from '../entities';
|
|
3
10
|
|
|
4
11
|
export interface postImportQuery {
|
|
5
12
|
/**
|
|
@@ -31,6 +38,55 @@ export interface getListOnlineQuery {
|
|
|
31
38
|
*/
|
|
32
39
|
name?: string;
|
|
33
40
|
}
|
|
41
|
+
export interface getLogPageSearchQuery {
|
|
42
|
+
/**
|
|
43
|
+
* 所属应用
|
|
44
|
+
*/
|
|
45
|
+
appId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* 输入报文-payload
|
|
48
|
+
*/
|
|
49
|
+
inputPayload?: string;
|
|
50
|
+
/**
|
|
51
|
+
* 连接流key
|
|
52
|
+
*/
|
|
53
|
+
key?: string;
|
|
54
|
+
/**
|
|
55
|
+
* 连接流名称
|
|
56
|
+
*/
|
|
57
|
+
name?: string;
|
|
58
|
+
/**
|
|
59
|
+
* 输出报文-payload
|
|
60
|
+
*/
|
|
61
|
+
outputPayload?: string;
|
|
62
|
+
/**
|
|
63
|
+
* 页码
|
|
64
|
+
*/
|
|
65
|
+
pageNo?: number;
|
|
66
|
+
/**
|
|
67
|
+
* 分页大小
|
|
68
|
+
*/
|
|
69
|
+
pageSize?: number;
|
|
70
|
+
/**
|
|
71
|
+
* 排序字段
|
|
72
|
+
*/
|
|
73
|
+
sortField?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 排序方式:ASC/DESC, 不传默认 ASC
|
|
76
|
+
*/
|
|
77
|
+
sortType?: string;
|
|
78
|
+
/**
|
|
79
|
+
* 调用结果
|
|
80
|
+
*/
|
|
81
|
+
status?: number;
|
|
82
|
+
/**
|
|
83
|
+
* 调用方式
|
|
84
|
+
*/
|
|
85
|
+
triggerType?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface getNodeLogReqIdPathParams {
|
|
88
|
+
reqId: string;
|
|
89
|
+
}
|
|
34
90
|
export interface getPageListQuery {
|
|
35
91
|
/**
|
|
36
92
|
* 分类id
|
|
@@ -57,11 +113,18 @@ export interface FlowService {
|
|
|
57
113
|
* 导出
|
|
58
114
|
*/
|
|
59
115
|
postExport(config?: Partial<AxiosRequestConfig>): Promise<ResponseEntity>;
|
|
116
|
+
/**
|
|
117
|
+
* 流程和分类关联树
|
|
118
|
+
*/
|
|
119
|
+
getFlowCategoryTree(
|
|
120
|
+
config?: Partial<AxiosRequestConfig>,
|
|
121
|
+
): Promise<FlowCategoryTree[]>;
|
|
60
122
|
/**
|
|
61
123
|
* 导入
|
|
62
124
|
*/
|
|
63
125
|
postImport(
|
|
64
126
|
query: postImportQuery,
|
|
127
|
+
data: FormData,
|
|
65
128
|
config?: Partial<AxiosRequestConfig>,
|
|
66
129
|
): Promise<boolean>;
|
|
67
130
|
/**
|
|
@@ -78,6 +141,20 @@ export interface FlowService {
|
|
|
78
141
|
query: getListOnlineQuery,
|
|
79
142
|
config?: Partial<AxiosRequestConfig>,
|
|
80
143
|
): Promise<FlowMainResp[]>;
|
|
144
|
+
/**
|
|
145
|
+
* 流程日志列表
|
|
146
|
+
*/
|
|
147
|
+
getLogPageSearch(
|
|
148
|
+
query: getLogPageSearchQuery,
|
|
149
|
+
config?: Partial<AxiosRequestConfig>,
|
|
150
|
+
): Promise<IPage<FlowLogResp>>;
|
|
151
|
+
/**
|
|
152
|
+
* 节点日志列表
|
|
153
|
+
*/
|
|
154
|
+
getNodeLogReqId(
|
|
155
|
+
path: getNodeLogReqIdPathParams,
|
|
156
|
+
config?: Partial<AxiosRequestConfig>,
|
|
157
|
+
): Promise<FlowNodeLogResp[]>;
|
|
81
158
|
/**
|
|
82
159
|
* 分页列表
|
|
83
160
|
*/
|
|
@@ -1100,6 +1100,32 @@ export interface FlowCategoryResponse {
|
|
|
1100
1100
|
*/
|
|
1101
1101
|
sysBuiltin?: number;
|
|
1102
1102
|
}
|
|
1103
|
+
export interface FlowCategoryTree {
|
|
1104
|
+
/**
|
|
1105
|
+
* 子节点
|
|
1106
|
+
*
|
|
1107
|
+
* @type FlowCategoryTree[]
|
|
1108
|
+
*/
|
|
1109
|
+
child?: FlowCategoryTree[];
|
|
1110
|
+
/**
|
|
1111
|
+
* 数据id
|
|
1112
|
+
*
|
|
1113
|
+
* @type string
|
|
1114
|
+
*/
|
|
1115
|
+
id?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* 名称
|
|
1118
|
+
*
|
|
1119
|
+
* @type string
|
|
1120
|
+
*/
|
|
1121
|
+
name?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* 类型:flow 流程、category 分类
|
|
1124
|
+
*
|
|
1125
|
+
* @type string
|
|
1126
|
+
*/
|
|
1127
|
+
type?: string;
|
|
1128
|
+
}
|
|
1103
1129
|
export interface FlowCreateWithCategoryReq {
|
|
1104
1130
|
/**
|
|
1105
1131
|
* 分类id
|
|
@@ -1276,6 +1302,80 @@ export interface FlowExtResponse {
|
|
|
1276
1302
|
*/
|
|
1277
1303
|
version?: string;
|
|
1278
1304
|
}
|
|
1305
|
+
export interface FlowLogResp {
|
|
1306
|
+
/**
|
|
1307
|
+
*
|
|
1308
|
+
*
|
|
1309
|
+
* @type string
|
|
1310
|
+
*/
|
|
1311
|
+
fkey?: string;
|
|
1312
|
+
/**
|
|
1313
|
+
*
|
|
1314
|
+
*
|
|
1315
|
+
* @type string
|
|
1316
|
+
*/
|
|
1317
|
+
fuuid?: string;
|
|
1318
|
+
/**
|
|
1319
|
+
*
|
|
1320
|
+
*
|
|
1321
|
+
* @type string
|
|
1322
|
+
*/
|
|
1323
|
+
id?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
*
|
|
1326
|
+
*
|
|
1327
|
+
* @type string
|
|
1328
|
+
*/
|
|
1329
|
+
modelKey?: string;
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
*
|
|
1333
|
+
* @type string
|
|
1334
|
+
*/
|
|
1335
|
+
name?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
*
|
|
1339
|
+
* @type number
|
|
1340
|
+
*/
|
|
1341
|
+
processTime?: number;
|
|
1342
|
+
/**
|
|
1343
|
+
*
|
|
1344
|
+
*
|
|
1345
|
+
* @type string
|
|
1346
|
+
*/
|
|
1347
|
+
reqId?: string;
|
|
1348
|
+
/**
|
|
1349
|
+
*
|
|
1350
|
+
*
|
|
1351
|
+
* @type string
|
|
1352
|
+
*/
|
|
1353
|
+
status?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
*
|
|
1356
|
+
*
|
|
1357
|
+
* @type string
|
|
1358
|
+
*/
|
|
1359
|
+
statusStr?: string;
|
|
1360
|
+
/**
|
|
1361
|
+
*
|
|
1362
|
+
*
|
|
1363
|
+
* @type string
|
|
1364
|
+
*/
|
|
1365
|
+
triggerTime?: string;
|
|
1366
|
+
/**
|
|
1367
|
+
*
|
|
1368
|
+
*
|
|
1369
|
+
* @type string
|
|
1370
|
+
*/
|
|
1371
|
+
triggerType?: string;
|
|
1372
|
+
/**
|
|
1373
|
+
*
|
|
1374
|
+
*
|
|
1375
|
+
* @type string
|
|
1376
|
+
*/
|
|
1377
|
+
version?: string;
|
|
1378
|
+
}
|
|
1279
1379
|
export interface FlowMainResp {
|
|
1280
1380
|
/**
|
|
1281
1381
|
*
|
|
@@ -1392,6 +1492,68 @@ export interface FlowMainResp {
|
|
|
1392
1492
|
*/
|
|
1393
1493
|
updateTime?: string;
|
|
1394
1494
|
}
|
|
1495
|
+
export interface FlowNodeLogResp {
|
|
1496
|
+
/**
|
|
1497
|
+
* 端点类型
|
|
1498
|
+
*
|
|
1499
|
+
* @type string
|
|
1500
|
+
*/
|
|
1501
|
+
endpointType?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
*
|
|
1504
|
+
*
|
|
1505
|
+
* @type string
|
|
1506
|
+
*/
|
|
1507
|
+
fuuid?: string;
|
|
1508
|
+
/**
|
|
1509
|
+
*
|
|
1510
|
+
*
|
|
1511
|
+
* @type string
|
|
1512
|
+
*/
|
|
1513
|
+
nodeDesc?: string;
|
|
1514
|
+
/**
|
|
1515
|
+
*
|
|
1516
|
+
*
|
|
1517
|
+
* @type string
|
|
1518
|
+
*/
|
|
1519
|
+
nodeId?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
*
|
|
1522
|
+
*
|
|
1523
|
+
* @type string
|
|
1524
|
+
*/
|
|
1525
|
+
nodeName?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
*
|
|
1528
|
+
*
|
|
1529
|
+
* @type number
|
|
1530
|
+
*/
|
|
1531
|
+
processTime?: number;
|
|
1532
|
+
/**
|
|
1533
|
+
* 执行结束时间
|
|
1534
|
+
*
|
|
1535
|
+
* @type string
|
|
1536
|
+
*/
|
|
1537
|
+
processTimeEnd?: string;
|
|
1538
|
+
/**
|
|
1539
|
+
* 执行开始时间
|
|
1540
|
+
*
|
|
1541
|
+
* @type string
|
|
1542
|
+
*/
|
|
1543
|
+
processTimeStart?: string;
|
|
1544
|
+
/**
|
|
1545
|
+
*
|
|
1546
|
+
*
|
|
1547
|
+
* @type string
|
|
1548
|
+
*/
|
|
1549
|
+
reqId?: string;
|
|
1550
|
+
/**
|
|
1551
|
+
*
|
|
1552
|
+
*
|
|
1553
|
+
* @type string
|
|
1554
|
+
*/
|
|
1555
|
+
status?: string;
|
|
1556
|
+
}
|
|
1395
1557
|
export interface FlowUpdateReq {
|
|
1396
1558
|
/**
|
|
1397
1559
|
* 分类id
|
|
@@ -81,7 +81,8 @@ export const apiConfig = [
|
|
|
81
81
|
{
|
|
82
82
|
mode: "post",
|
|
83
83
|
method: "postUploadApk",
|
|
84
|
-
path: "upload/apk"
|
|
84
|
+
path: "upload/apk",
|
|
85
|
+
hasData: true
|
|
85
86
|
},
|
|
86
87
|
{
|
|
87
88
|
mode: "put",
|
|
@@ -320,7 +321,8 @@ export const apiConfig = [
|
|
|
320
321
|
{
|
|
321
322
|
mode: "post",
|
|
322
323
|
method: "postUploadAppPkg",
|
|
323
|
-
path: "upload/appPkg"
|
|
324
|
+
path: "upload/appPkg",
|
|
325
|
+
hasData: true
|
|
324
326
|
},
|
|
325
327
|
{
|
|
326
328
|
mode: "put",
|
|
@@ -469,7 +471,8 @@ export const apiConfig = [
|
|
|
469
471
|
mode: "post",
|
|
470
472
|
method: "postUploadCategoryId",
|
|
471
473
|
path: "upload/{categoryId}",
|
|
472
|
-
hasPathParams: true
|
|
474
|
+
hasPathParams: true,
|
|
475
|
+
hasData: true
|
|
473
476
|
}
|
|
474
477
|
]
|
|
475
478
|
},
|
|
@@ -518,8 +521,8 @@ export const apiConfig = [
|
|
|
518
521
|
apis: [
|
|
519
522
|
{
|
|
520
523
|
mode: "get",
|
|
521
|
-
method: "
|
|
522
|
-
path: "export/{appid}",
|
|
524
|
+
method: "getExportAppidTenantId",
|
|
525
|
+
path: "export/{appid}/{tenantId}",
|
|
523
526
|
hasPathParams: true
|
|
524
527
|
}
|
|
525
528
|
]
|
|
@@ -628,7 +631,8 @@ export const apiConfig = [
|
|
|
628
631
|
mode: "post",
|
|
629
632
|
method: "postUpload",
|
|
630
633
|
path: "upload",
|
|
631
|
-
hasQuery: true
|
|
634
|
+
hasQuery: true,
|
|
635
|
+
hasData: true
|
|
632
636
|
}
|
|
633
637
|
]
|
|
634
638
|
},
|
|
@@ -1395,7 +1399,8 @@ export const apiConfig = [
|
|
|
1395
1399
|
{
|
|
1396
1400
|
mode: "post",
|
|
1397
1401
|
method: "postImport",
|
|
1398
|
-
path: "import"
|
|
1402
|
+
path: "import",
|
|
1403
|
+
hasData: true
|
|
1399
1404
|
},
|
|
1400
1405
|
{
|
|
1401
1406
|
mode: "get",
|
|
@@ -1447,7 +1452,8 @@ export const apiConfig = [
|
|
|
1447
1452
|
{
|
|
1448
1453
|
mode: "post",
|
|
1449
1454
|
method: "postImport",
|
|
1450
|
-
path: "import"
|
|
1455
|
+
path: "import",
|
|
1456
|
+
hasData: true
|
|
1451
1457
|
},
|
|
1452
1458
|
{
|
|
1453
1459
|
mode: "get",
|
|
@@ -1603,18 +1609,21 @@ export const apiConfig = [
|
|
|
1603
1609
|
mode: "post",
|
|
1604
1610
|
method: "postUploadCommon",
|
|
1605
1611
|
path: "upload-common",
|
|
1606
|
-
hasQuery: true
|
|
1612
|
+
hasQuery: true,
|
|
1613
|
+
hasData: true
|
|
1607
1614
|
},
|
|
1608
1615
|
{
|
|
1609
1616
|
mode: "post",
|
|
1610
1617
|
method: "postUploadDataset",
|
|
1611
|
-
path: "upload-dataset"
|
|
1618
|
+
path: "upload-dataset",
|
|
1619
|
+
hasData: true
|
|
1612
1620
|
},
|
|
1613
1621
|
{
|
|
1614
1622
|
mode: "post",
|
|
1615
1623
|
method: "postUploadImage",
|
|
1616
1624
|
path: "upload/image",
|
|
1617
|
-
hasQuery: true
|
|
1625
|
+
hasQuery: true,
|
|
1626
|
+
hasData: true
|
|
1618
1627
|
}
|
|
1619
1628
|
]
|
|
1620
1629
|
},
|
|
@@ -1685,7 +1694,8 @@ export const apiConfig = [
|
|
|
1685
1694
|
mode: "post",
|
|
1686
1695
|
method: "postLangUpload",
|
|
1687
1696
|
path: "lang/upload",
|
|
1688
|
-
hasQuery: true
|
|
1697
|
+
hasQuery: true,
|
|
1698
|
+
hasData: true
|
|
1689
1699
|
},
|
|
1690
1700
|
{
|
|
1691
1701
|
mode: "get",
|
|
@@ -1905,7 +1915,8 @@ export const apiConfig = [
|
|
|
1905
1915
|
{
|
|
1906
1916
|
mode: "post",
|
|
1907
1917
|
method: "postUploadCertificate",
|
|
1908
|
-
path: "upload/certificate"
|
|
1918
|
+
path: "upload/certificate",
|
|
1919
|
+
hasData: true
|
|
1909
1920
|
}
|
|
1910
1921
|
]
|
|
1911
1922
|
},
|
|
@@ -1960,6 +1971,12 @@ export const apiConfig = [
|
|
|
1960
1971
|
path: "getAppBasicInfo",
|
|
1961
1972
|
hasQuery: true
|
|
1962
1973
|
},
|
|
1974
|
+
{
|
|
1975
|
+
mode: "get",
|
|
1976
|
+
method: "getGetAppEffectiveLicense",
|
|
1977
|
+
path: "getAppEffectiveLicense",
|
|
1978
|
+
hasQuery: true
|
|
1979
|
+
},
|
|
1963
1980
|
{
|
|
1964
1981
|
mode: "get",
|
|
1965
1982
|
method: "getGetExpireMsg",
|
|
@@ -2749,7 +2766,8 @@ export const apiConfig = [
|
|
|
2749
2766
|
{
|
|
2750
2767
|
mode: "post",
|
|
2751
2768
|
method: "postUploadCertFile",
|
|
2752
|
-
path: "uploadCertFile"
|
|
2769
|
+
path: "uploadCertFile",
|
|
2770
|
+
hasData: true
|
|
2753
2771
|
},
|
|
2754
2772
|
{
|
|
2755
2773
|
mode: "post",
|
|
@@ -3213,7 +3231,8 @@ export const apiConfig = [
|
|
|
3213
3231
|
mode: "post",
|
|
3214
3232
|
method: "postImport",
|
|
3215
3233
|
path: "import",
|
|
3216
|
-
hasQuery: true
|
|
3234
|
+
hasQuery: true,
|
|
3235
|
+
hasData: true
|
|
3217
3236
|
},
|
|
3218
3237
|
{
|
|
3219
3238
|
mode: "get",
|
|
@@ -4266,7 +4285,8 @@ export const apiConfig = [
|
|
|
4266
4285
|
mode: "post",
|
|
4267
4286
|
method: "postOrgPlatImport",
|
|
4268
4287
|
path: "org/plat/import",
|
|
4269
|
-
hasQuery: true
|
|
4288
|
+
hasQuery: true,
|
|
4289
|
+
hasData: true
|
|
4270
4290
|
},
|
|
4271
4291
|
{
|
|
4272
4292
|
mode: "post",
|
|
@@ -4278,13 +4298,15 @@ export const apiConfig = [
|
|
|
4278
4298
|
mode: "post",
|
|
4279
4299
|
method: "postOrgTenantImport",
|
|
4280
4300
|
path: "org/tenant/import",
|
|
4281
|
-
hasQuery: true
|
|
4301
|
+
hasQuery: true,
|
|
4302
|
+
hasData: true
|
|
4282
4303
|
},
|
|
4283
4304
|
{
|
|
4284
4305
|
mode: "post",
|
|
4285
4306
|
method: "postOrgTenantImport4App",
|
|
4286
4307
|
path: "org/tenant/import4App",
|
|
4287
|
-
hasQuery: true
|
|
4308
|
+
hasQuery: true,
|
|
4309
|
+
hasData: true
|
|
4288
4310
|
},
|
|
4289
4311
|
{
|
|
4290
4312
|
mode: "post",
|
|
@@ -4307,7 +4329,8 @@ export const apiConfig = [
|
|
|
4307
4329
|
{
|
|
4308
4330
|
mode: "post",
|
|
4309
4331
|
method: "postPlatImport",
|
|
4310
|
-
path: "plat/import"
|
|
4332
|
+
path: "plat/import",
|
|
4333
|
+
hasData: true
|
|
4311
4334
|
},
|
|
4312
4335
|
{
|
|
4313
4336
|
mode: "post",
|
|
@@ -4348,12 +4371,14 @@ export const apiConfig = [
|
|
|
4348
4371
|
{
|
|
4349
4372
|
mode: "post",
|
|
4350
4373
|
method: "postTenantImport",
|
|
4351
|
-
path: "tenant/import"
|
|
4374
|
+
path: "tenant/import",
|
|
4375
|
+
hasData: true
|
|
4352
4376
|
},
|
|
4353
4377
|
{
|
|
4354
4378
|
mode: "post",
|
|
4355
4379
|
method: "postTenantImport4App",
|
|
4356
|
-
path: "tenant/import4App"
|
|
4380
|
+
path: "tenant/import4App",
|
|
4381
|
+
hasData: true
|
|
4357
4382
|
},
|
|
4358
4383
|
{
|
|
4359
4384
|
mode: "post",
|
|
@@ -5526,6 +5551,12 @@ export const apiConfig = [
|
|
|
5526
5551
|
path: "knowledge-base/findByIds",
|
|
5527
5552
|
hasQuery: true
|
|
5528
5553
|
},
|
|
5554
|
+
{
|
|
5555
|
+
mode: "get",
|
|
5556
|
+
method: "getLicenseGetAppEffectiveLicense",
|
|
5557
|
+
path: "license/getAppEffectiveLicense",
|
|
5558
|
+
hasQuery: true
|
|
5559
|
+
},
|
|
5529
5560
|
{
|
|
5530
5561
|
mode: "get",
|
|
5531
5562
|
method: "getLicenseModuleAuth",
|
|
@@ -36,6 +36,7 @@ import type {
|
|
|
36
36
|
FileTaskStatus,
|
|
37
37
|
FileTaskInfo,
|
|
38
38
|
KnowledgeBaseDTO,
|
|
39
|
+
AppEffectiveLicense,
|
|
39
40
|
UserLoginLogPageRequest,
|
|
40
41
|
UserLoginLogDTO,
|
|
41
42
|
ModelDTO,
|
|
@@ -498,6 +499,16 @@ export interface getKnowledgeBaseFindByIdsQuery {
|
|
|
498
499
|
*/
|
|
499
500
|
ids: string;
|
|
500
501
|
}
|
|
502
|
+
export interface getLicenseGetAppEffectiveLicenseQuery {
|
|
503
|
+
/**
|
|
504
|
+
* 应用id
|
|
505
|
+
*/
|
|
506
|
+
appId: string;
|
|
507
|
+
/**
|
|
508
|
+
* 环境
|
|
509
|
+
*/
|
|
510
|
+
env: string;
|
|
511
|
+
}
|
|
501
512
|
export interface getLicenseModuleAuthQuery {
|
|
502
513
|
/**
|
|
503
514
|
* 授权模块
|
|
@@ -1227,6 +1238,13 @@ export interface ApiService {
|
|
|
1227
1238
|
query: getKnowledgeBaseFindByIdsQuery,
|
|
1228
1239
|
config?: Partial<AxiosRequestConfig>,
|
|
1229
1240
|
): Promise<KnowledgeBaseDTO[]>;
|
|
1241
|
+
/**
|
|
1242
|
+
* 获取应用有效授权
|
|
1243
|
+
*/
|
|
1244
|
+
getLicenseGetAppEffectiveLicense(
|
|
1245
|
+
query: getLicenseGetAppEffectiveLicenseQuery,
|
|
1246
|
+
config?: Partial<AxiosRequestConfig>,
|
|
1247
|
+
): Promise<AppEffectiveLicense>;
|
|
1230
1248
|
/**
|
|
1231
1249
|
* 判断对应模块是否已进行授权
|
|
1232
1250
|
*/
|
|
@@ -50,7 +50,10 @@ export interface ApkService {
|
|
|
50
50
|
/**
|
|
51
51
|
* 文件上传minio
|
|
52
52
|
*/
|
|
53
|
-
postUploadApk(
|
|
53
|
+
postUploadApk(
|
|
54
|
+
data: FormData,
|
|
55
|
+
config?: Partial<AxiosRequestConfig>,
|
|
56
|
+
): Promise<string>;
|
|
54
57
|
/**
|
|
55
58
|
* 激活版本
|
|
56
59
|
*/
|
|
@@ -203,6 +203,10 @@ export interface getModelMetaListQuery {
|
|
|
203
203
|
*
|
|
204
204
|
*/
|
|
205
205
|
modifyUserName?: string;
|
|
206
|
+
/**
|
|
207
|
+
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据)
|
|
208
|
+
*/
|
|
209
|
+
module?: string;
|
|
206
210
|
/**
|
|
207
211
|
*
|
|
208
212
|
*/
|
|
@@ -711,7 +715,10 @@ export interface AppService {
|
|
|
711
715
|
/**
|
|
712
716
|
* 文件上传minio
|
|
713
717
|
*/
|
|
714
|
-
postUploadAppPkg(
|
|
718
|
+
postUploadAppPkg(
|
|
719
|
+
data: FormData,
|
|
720
|
+
config?: Partial<AxiosRequestConfig>,
|
|
721
|
+
): Promise<string>;
|
|
715
722
|
/**
|
|
716
723
|
* 修改
|
|
717
724
|
*/
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
2
|
import type { AxiosRequestConfig } from 'axios';
|
|
3
|
-
export interface
|
|
3
|
+
export interface getExportAppidTenantIdPathParams {
|
|
4
4
|
appid: string;
|
|
5
|
+
tenantId: string;
|
|
5
6
|
}
|
|
6
7
|
export interface BiAppService {
|
|
7
8
|
/**
|
|
8
9
|
* 导出
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
|
-
path:
|
|
11
|
+
getExportAppidTenantId(
|
|
12
|
+
path: getExportAppidTenantIdPathParams,
|
|
12
13
|
config?: Partial<AxiosRequestConfig>,
|
|
13
14
|
): Promise<any>;
|
|
14
15
|
}
|