@gct-paas/api 0.1.0 → 0.1.2-dev.0
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/index.esm.min.js +1 -0
- package/dist/index.system.min.js +1 -0
- 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 +4 -4
- package/dist/gct-api.esm.min.js +0 -1
- package/dist/gct-api.system.min.js +0 -1
|
@@ -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",
|
|
@@ -343,7 +344,8 @@ export const apiConfig = [
|
|
|
343
344
|
mode: "post",
|
|
344
345
|
method: "postImport",
|
|
345
346
|
path: "import",
|
|
346
|
-
hasQuery: true
|
|
347
|
+
hasQuery: true,
|
|
348
|
+
hasData: true
|
|
347
349
|
},
|
|
348
350
|
{
|
|
349
351
|
mode: "get",
|
|
@@ -357,6 +359,18 @@ export const apiConfig = [
|
|
|
357
359
|
path: "list/online",
|
|
358
360
|
hasQuery: true
|
|
359
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
|
+
},
|
|
360
374
|
{
|
|
361
375
|
mode: "get",
|
|
362
376
|
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
|
|
@@ -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,18 @@ 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
|
+
},
|
|
5560
|
+
{
|
|
5561
|
+
mode: "get",
|
|
5562
|
+
method: "getLicenseModuleAuth",
|
|
5563
|
+
path: "license/moduleAuth",
|
|
5564
|
+
hasQuery: true
|
|
5565
|
+
},
|
|
5529
5566
|
{
|
|
5530
5567
|
mode: "post",
|
|
5531
5568
|
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
|
}
|