@gct-paas/api 0.1.0 → 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 +41 -8
- package/es/apaas/service/apis/app-global-settings.service.d.ts +4 -0
- package/es/apaas/service/apis/category.service.d.ts +0 -16
- 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/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 +4 -1
- package/es/apaas/service/apis/office.service.d.ts +4 -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 +1665 -91
- package/es/ipaas/service/api-config.mjs +16 -2
- package/es/ipaas/service/apis/connector-config.service.d.ts +1 -0
- package/es/ipaas/service/apis/flow.service.d.ts +66 -0
- package/es/ipaas/service/entities.d.ts +136 -0
- package/es/platform/service/api-config.mjs +58 -21
- package/es/platform/service/apis/api.service.d.ts +31 -0
- package/es/platform/service/apis/apk.service.d.ts +4 -1
- package/es/platform/service/apis/app.service.d.ts +4 -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 +37 -8
- package/lib/apaas/service/apis/app-global-settings.service.d.ts +4 -0
- package/lib/apaas/service/apis/category.service.d.ts +0 -16
- 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/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 +4 -1
- package/lib/apaas/service/apis/office.service.d.ts +4 -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 +1665 -91
- package/lib/ipaas/service/api-config.cjs +14 -2
- package/lib/ipaas/service/apis/connector-config.service.d.ts +1 -0
- package/lib/ipaas/service/apis/flow.service.d.ts +66 -0
- package/lib/ipaas/service/entities.d.ts +136 -0
- package/lib/platform/service/api-config.cjs +55 -21
- package/lib/platform/service/apis/api.service.d.ts +31 -0
- package/lib/platform/service/apis/apk.service.d.ts +4 -1
- package/lib/platform/service/apis/app.service.d.ts +4 -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 +2 -2
|
@@ -99,7 +99,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
99
99
|
mode: "post",
|
|
100
100
|
method: "postImport",
|
|
101
101
|
path: "import",
|
|
102
|
-
hasQuery: true
|
|
102
|
+
hasQuery: true,
|
|
103
|
+
hasData: true
|
|
103
104
|
}, {
|
|
104
105
|
mode: "get",
|
|
105
106
|
method: "getInfo",
|
|
@@ -282,7 +283,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
282
283
|
mode: "post",
|
|
283
284
|
method: "postImport",
|
|
284
285
|
path: "import",
|
|
285
|
-
hasQuery: true
|
|
286
|
+
hasQuery: true,
|
|
287
|
+
hasData: true
|
|
286
288
|
}, {
|
|
287
289
|
mode: "get",
|
|
288
290
|
method: "getListCategoryOnline",
|
|
@@ -293,6 +295,16 @@ const apiConfig = exports.apiConfig = [{
|
|
|
293
295
|
method: "getListOnline",
|
|
294
296
|
path: "list/online",
|
|
295
297
|
hasQuery: true
|
|
298
|
+
}, {
|
|
299
|
+
mode: "get",
|
|
300
|
+
method: "getLogPageSearch",
|
|
301
|
+
path: "log/page/search",
|
|
302
|
+
hasQuery: true
|
|
303
|
+
}, {
|
|
304
|
+
mode: "get",
|
|
305
|
+
method: "getNodeLogReqId",
|
|
306
|
+
path: "node/log/{reqId}",
|
|
307
|
+
hasPathParams: true
|
|
296
308
|
}, {
|
|
297
309
|
mode: "get",
|
|
298
310
|
method: "getPageList",
|
|
@@ -3,6 +3,8 @@ import type {
|
|
|
3
3
|
ResponseEntity,
|
|
4
4
|
FlowCategoryTree,
|
|
5
5
|
FlowMainResp,
|
|
6
|
+
FlowLogResp,
|
|
7
|
+
FlowNodeLogResp,
|
|
6
8
|
FlowUpdateReq,
|
|
7
9
|
} from '../entities';
|
|
8
10
|
|
|
@@ -36,6 +38,55 @@ export interface getListOnlineQuery {
|
|
|
36
38
|
*/
|
|
37
39
|
name?: string;
|
|
38
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
|
+
}
|
|
39
90
|
export interface getPageListQuery {
|
|
40
91
|
/**
|
|
41
92
|
* 分类id
|
|
@@ -73,6 +124,7 @@ export interface FlowService {
|
|
|
73
124
|
*/
|
|
74
125
|
postImport(
|
|
75
126
|
query: postImportQuery,
|
|
127
|
+
data: FormData,
|
|
76
128
|
config?: Partial<AxiosRequestConfig>,
|
|
77
129
|
): Promise<boolean>;
|
|
78
130
|
/**
|
|
@@ -89,6 +141,20 @@ export interface FlowService {
|
|
|
89
141
|
query: getListOnlineQuery,
|
|
90
142
|
config?: Partial<AxiosRequestConfig>,
|
|
91
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[]>;
|
|
92
158
|
/**
|
|
93
159
|
* 分页列表
|
|
94
160
|
*/
|
|
@@ -1302,6 +1302,80 @@ export interface FlowExtResponse {
|
|
|
1302
1302
|
*/
|
|
1303
1303
|
version?: string;
|
|
1304
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
|
+
}
|
|
1305
1379
|
export interface FlowMainResp {
|
|
1306
1380
|
/**
|
|
1307
1381
|
*
|
|
@@ -1418,6 +1492,68 @@ export interface FlowMainResp {
|
|
|
1418
1492
|
*/
|
|
1419
1493
|
updateTime?: string;
|
|
1420
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
|
+
}
|
|
1421
1557
|
export interface FlowUpdateReq {
|
|
1422
1558
|
/**
|
|
1423
1559
|
* 分类id
|
|
@@ -71,7 +71,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
71
71
|
}, {
|
|
72
72
|
mode: "post",
|
|
73
73
|
method: "postUploadApk",
|
|
74
|
-
path: "upload/apk"
|
|
74
|
+
path: "upload/apk",
|
|
75
|
+
hasData: true
|
|
75
76
|
}, {
|
|
76
77
|
mode: "put",
|
|
77
78
|
method: "putId",
|
|
@@ -271,7 +272,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
271
272
|
}, {
|
|
272
273
|
mode: "post",
|
|
273
274
|
method: "postUploadAppPkg",
|
|
274
|
-
path: "upload/appPkg"
|
|
275
|
+
path: "upload/appPkg",
|
|
276
|
+
hasData: true
|
|
275
277
|
}, {
|
|
276
278
|
mode: "put",
|
|
277
279
|
method: "putId",
|
|
@@ -392,7 +394,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
392
394
|
mode: "post",
|
|
393
395
|
method: "postUploadCategoryId",
|
|
394
396
|
path: "upload/{categoryId}",
|
|
395
|
-
hasPathParams: true
|
|
397
|
+
hasPathParams: true,
|
|
398
|
+
hasData: true
|
|
396
399
|
}]
|
|
397
400
|
}, {
|
|
398
401
|
name: "auditLog",
|
|
@@ -430,8 +433,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
430
433
|
entityName: "bi-app",
|
|
431
434
|
apis: [{
|
|
432
435
|
mode: "get",
|
|
433
|
-
method: "
|
|
434
|
-
path: "export/{appid}",
|
|
436
|
+
method: "getExportAppidTenantId",
|
|
437
|
+
path: "export/{appid}/{tenantId}",
|
|
435
438
|
hasPathParams: true
|
|
436
439
|
}]
|
|
437
440
|
}, {
|
|
@@ -519,7 +522,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
519
522
|
mode: "post",
|
|
520
523
|
method: "postUpload",
|
|
521
524
|
path: "upload",
|
|
522
|
-
hasQuery: true
|
|
525
|
+
hasQuery: true,
|
|
526
|
+
hasData: true
|
|
523
527
|
}]
|
|
524
528
|
}, {
|
|
525
529
|
name: "biShare",
|
|
@@ -1146,7 +1150,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
1146
1150
|
}, {
|
|
1147
1151
|
mode: "post",
|
|
1148
1152
|
method: "postImport",
|
|
1149
|
-
path: "import"
|
|
1153
|
+
path: "import",
|
|
1154
|
+
hasData: true
|
|
1150
1155
|
}, {
|
|
1151
1156
|
mode: "get",
|
|
1152
1157
|
method: "getInfo",
|
|
@@ -1188,7 +1193,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
1188
1193
|
}, {
|
|
1189
1194
|
mode: "post",
|
|
1190
1195
|
method: "postImport",
|
|
1191
|
-
path: "import"
|
|
1196
|
+
path: "import",
|
|
1197
|
+
hasData: true
|
|
1192
1198
|
}, {
|
|
1193
1199
|
mode: "get",
|
|
1194
1200
|
method: "getInfo",
|
|
@@ -1314,16 +1320,19 @@ const apiConfig = exports.apiConfig = [{
|
|
|
1314
1320
|
mode: "post",
|
|
1315
1321
|
method: "postUploadCommon",
|
|
1316
1322
|
path: "upload-common",
|
|
1317
|
-
hasQuery: true
|
|
1323
|
+
hasQuery: true,
|
|
1324
|
+
hasData: true
|
|
1318
1325
|
}, {
|
|
1319
1326
|
mode: "post",
|
|
1320
1327
|
method: "postUploadDataset",
|
|
1321
|
-
path: "upload-dataset"
|
|
1328
|
+
path: "upload-dataset",
|
|
1329
|
+
hasData: true
|
|
1322
1330
|
}, {
|
|
1323
1331
|
mode: "post",
|
|
1324
1332
|
method: "postUploadImage",
|
|
1325
1333
|
path: "upload/image",
|
|
1326
|
-
hasQuery: true
|
|
1334
|
+
hasQuery: true,
|
|
1335
|
+
hasData: true
|
|
1327
1336
|
}]
|
|
1328
1337
|
}, {
|
|
1329
1338
|
name: "frontRelease",
|
|
@@ -1379,7 +1388,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
1379
1388
|
mode: "post",
|
|
1380
1389
|
method: "postLangUpload",
|
|
1381
1390
|
path: "lang/upload",
|
|
1382
|
-
hasQuery: true
|
|
1391
|
+
hasQuery: true,
|
|
1392
|
+
hasData: true
|
|
1383
1393
|
}, {
|
|
1384
1394
|
mode: "get",
|
|
1385
1395
|
method: "getPageList",
|
|
@@ -1556,7 +1566,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
1556
1566
|
apis: [{
|
|
1557
1567
|
mode: "post",
|
|
1558
1568
|
method: "postUploadCertificate",
|
|
1559
|
-
path: "upload/certificate"
|
|
1569
|
+
path: "upload/certificate",
|
|
1570
|
+
hasData: true
|
|
1560
1571
|
}]
|
|
1561
1572
|
}, {
|
|
1562
1573
|
name: "licenseUnbindLog",
|
|
@@ -1599,6 +1610,11 @@ const apiConfig = exports.apiConfig = [{
|
|
|
1599
1610
|
method: "getGetAppBasicInfo",
|
|
1600
1611
|
path: "getAppBasicInfo",
|
|
1601
1612
|
hasQuery: true
|
|
1613
|
+
}, {
|
|
1614
|
+
mode: "get",
|
|
1615
|
+
method: "getGetAppEffectiveLicense",
|
|
1616
|
+
path: "getAppEffectiveLicense",
|
|
1617
|
+
hasQuery: true
|
|
1602
1618
|
}, {
|
|
1603
1619
|
mode: "get",
|
|
1604
1620
|
method: "getGetExpireMsg",
|
|
@@ -2241,7 +2257,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
2241
2257
|
}, {
|
|
2242
2258
|
mode: "post",
|
|
2243
2259
|
method: "postUploadCertFile",
|
|
2244
|
-
path: "uploadCertFile"
|
|
2260
|
+
path: "uploadCertFile",
|
|
2261
|
+
hasData: true
|
|
2245
2262
|
}, {
|
|
2246
2263
|
mode: "post",
|
|
2247
2264
|
method: "postUserRole",
|
|
@@ -2618,7 +2635,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
2618
2635
|
mode: "post",
|
|
2619
2636
|
method: "postImport",
|
|
2620
2637
|
path: "import",
|
|
2621
|
-
hasQuery: true
|
|
2638
|
+
hasQuery: true,
|
|
2639
|
+
hasData: true
|
|
2622
2640
|
}, {
|
|
2623
2641
|
mode: "get",
|
|
2624
2642
|
method: "getInfo",
|
|
@@ -3475,7 +3493,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
3475
3493
|
mode: "post",
|
|
3476
3494
|
method: "postOrgPlatImport",
|
|
3477
3495
|
path: "org/plat/import",
|
|
3478
|
-
hasQuery: true
|
|
3496
|
+
hasQuery: true,
|
|
3497
|
+
hasData: true
|
|
3479
3498
|
}, {
|
|
3480
3499
|
mode: "post",
|
|
3481
3500
|
method: "postOrgPlatTmpl",
|
|
@@ -3485,12 +3504,14 @@ const apiConfig = exports.apiConfig = [{
|
|
|
3485
3504
|
mode: "post",
|
|
3486
3505
|
method: "postOrgTenantImport",
|
|
3487
3506
|
path: "org/tenant/import",
|
|
3488
|
-
hasQuery: true
|
|
3507
|
+
hasQuery: true,
|
|
3508
|
+
hasData: true
|
|
3489
3509
|
}, {
|
|
3490
3510
|
mode: "post",
|
|
3491
3511
|
method: "postOrgTenantImport4App",
|
|
3492
3512
|
path: "org/tenant/import4App",
|
|
3493
|
-
hasQuery: true
|
|
3513
|
+
hasQuery: true,
|
|
3514
|
+
hasData: true
|
|
3494
3515
|
}, {
|
|
3495
3516
|
mode: "post",
|
|
3496
3517
|
method: "postOrgTenantTmpl",
|
|
@@ -3509,7 +3530,8 @@ const apiConfig = exports.apiConfig = [{
|
|
|
3509
3530
|
}, {
|
|
3510
3531
|
mode: "post",
|
|
3511
3532
|
method: "postPlatImport",
|
|
3512
|
-
path: "plat/import"
|
|
3533
|
+
path: "plat/import",
|
|
3534
|
+
hasData: true
|
|
3513
3535
|
}, {
|
|
3514
3536
|
mode: "post",
|
|
3515
3537
|
method: "postPlatTmpl",
|
|
@@ -3543,11 +3565,13 @@ const apiConfig = exports.apiConfig = [{
|
|
|
3543
3565
|
}, {
|
|
3544
3566
|
mode: "post",
|
|
3545
3567
|
method: "postTenantImport",
|
|
3546
|
-
path: "tenant/import"
|
|
3568
|
+
path: "tenant/import",
|
|
3569
|
+
hasData: true
|
|
3547
3570
|
}, {
|
|
3548
3571
|
mode: "post",
|
|
3549
3572
|
method: "postTenantImport4App",
|
|
3550
|
-
path: "tenant/import4App"
|
|
3573
|
+
path: "tenant/import4App",
|
|
3574
|
+
hasData: true
|
|
3551
3575
|
}, {
|
|
3552
3576
|
mode: "post",
|
|
3553
3577
|
method: "postTenantTmpl",
|
|
@@ -4475,6 +4499,16 @@ const apiConfig = exports.apiConfig = [{
|
|
|
4475
4499
|
method: "getKnowledgeBaseFindByIds",
|
|
4476
4500
|
path: "knowledge-base/findByIds",
|
|
4477
4501
|
hasQuery: true
|
|
4502
|
+
}, {
|
|
4503
|
+
mode: "get",
|
|
4504
|
+
method: "getLicenseGetAppEffectiveLicense",
|
|
4505
|
+
path: "license/getAppEffectiveLicense",
|
|
4506
|
+
hasQuery: true
|
|
4507
|
+
}, {
|
|
4508
|
+
mode: "get",
|
|
4509
|
+
method: "getLicenseModuleAuth",
|
|
4510
|
+
path: "license/moduleAuth",
|
|
4511
|
+
hasQuery: true
|
|
4478
4512
|
}, {
|
|
4479
4513
|
mode: "post",
|
|
4480
4514
|
method: "postLoginLogUserLoginLogPage",
|
|
@@ -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,22 @@ 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
|
+
}
|
|
512
|
+
export interface getLicenseModuleAuthQuery {
|
|
513
|
+
/**
|
|
514
|
+
* 授权模块
|
|
515
|
+
*/
|
|
516
|
+
module?: string;
|
|
517
|
+
}
|
|
501
518
|
export interface getLoginSsoOauth2AuthorizeQuery {
|
|
502
519
|
/**
|
|
503
520
|
* 授权码
|
|
@@ -1221,6 +1238,20 @@ export interface ApiService {
|
|
|
1221
1238
|
query: getKnowledgeBaseFindByIdsQuery,
|
|
1222
1239
|
config?: Partial<AxiosRequestConfig>,
|
|
1223
1240
|
): Promise<KnowledgeBaseDTO[]>;
|
|
1241
|
+
/**
|
|
1242
|
+
* 获取应用有效授权
|
|
1243
|
+
*/
|
|
1244
|
+
getLicenseGetAppEffectiveLicense(
|
|
1245
|
+
query: getLicenseGetAppEffectiveLicenseQuery,
|
|
1246
|
+
config?: Partial<AxiosRequestConfig>,
|
|
1247
|
+
): Promise<AppEffectiveLicense>;
|
|
1248
|
+
/**
|
|
1249
|
+
* 判断对应模块是否已进行授权
|
|
1250
|
+
*/
|
|
1251
|
+
getLicenseModuleAuth(
|
|
1252
|
+
query: getLicenseModuleAuthQuery,
|
|
1253
|
+
config?: Partial<AxiosRequestConfig>,
|
|
1254
|
+
): Promise<boolean>;
|
|
1224
1255
|
/**
|
|
1225
1256
|
* 用户登录日志分页查询
|
|
1226
1257
|
*/
|
|
@@ -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
|
*/
|
|
@@ -715,7 +715,10 @@ export interface AppService {
|
|
|
715
715
|
/**
|
|
716
716
|
* 文件上传minio
|
|
717
717
|
*/
|
|
718
|
-
postUploadAppPkg(
|
|
718
|
+
postUploadAppPkg(
|
|
719
|
+
data: FormData,
|
|
720
|
+
config?: Partial<AxiosRequestConfig>,
|
|
721
|
+
): Promise<string>;
|
|
719
722
|
/**
|
|
720
723
|
* 修改
|
|
721
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
|
}
|
|
@@ -56,7 +56,10 @@ export interface DeviceInterconnectionParamService {
|
|
|
56
56
|
/**
|
|
57
57
|
* 导入
|
|
58
58
|
*/
|
|
59
|
-
postImport(
|
|
59
|
+
postImport(
|
|
60
|
+
data: FormData,
|
|
61
|
+
config?: Partial<AxiosRequestConfig>,
|
|
62
|
+
): Promise<string>;
|
|
60
63
|
/**
|
|
61
64
|
* 详情
|
|
62
65
|
*/
|
|
@@ -69,7 +69,10 @@ export interface DeviceInterconnectionService {
|
|
|
69
69
|
/**
|
|
70
70
|
* 导入
|
|
71
71
|
*/
|
|
72
|
-
postImport(
|
|
72
|
+
postImport(
|
|
73
|
+
data: FormData,
|
|
74
|
+
config?: Partial<AxiosRequestConfig>,
|
|
75
|
+
): Promise<string>;
|
|
73
76
|
/**
|
|
74
77
|
* 详情
|
|
75
78
|
*/
|
|
@@ -26,17 +26,22 @@ export interface FileService {
|
|
|
26
26
|
*/
|
|
27
27
|
postUploadCommon(
|
|
28
28
|
query: postUploadCommonQuery,
|
|
29
|
+
data: FormData,
|
|
29
30
|
config?: Partial<AxiosRequestConfig>,
|
|
30
31
|
): Promise<string>;
|
|
31
32
|
/**
|
|
32
33
|
* 文件上传minio用作数据集
|
|
33
34
|
*/
|
|
34
|
-
postUploadDataset(
|
|
35
|
+
postUploadDataset(
|
|
36
|
+
data: FormData,
|
|
37
|
+
config?: Partial<AxiosRequestConfig>,
|
|
38
|
+
): Promise<object>;
|
|
35
39
|
/**
|
|
36
40
|
* 文件上传minio
|
|
37
41
|
*/
|
|
38
42
|
postUploadImage(
|
|
39
43
|
query: postUploadImageQuery,
|
|
44
|
+
data: FormData,
|
|
40
45
|
config?: Partial<AxiosRequestConfig>,
|
|
41
46
|
): Promise<string>;
|
|
42
47
|
}
|