@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;
|
|
@@ -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",
|
|
@@ -274,11 +275,16 @@ const apiConfig = exports.apiConfig = [{
|
|
|
274
275
|
mode: "post",
|
|
275
276
|
method: "postExport",
|
|
276
277
|
path: "export"
|
|
278
|
+
}, {
|
|
279
|
+
mode: "get",
|
|
280
|
+
method: "getFlowCategoryTree",
|
|
281
|
+
path: "flowCategoryTree"
|
|
277
282
|
}, {
|
|
278
283
|
mode: "post",
|
|
279
284
|
method: "postImport",
|
|
280
285
|
path: "import",
|
|
281
|
-
hasQuery: true
|
|
286
|
+
hasQuery: true,
|
|
287
|
+
hasData: true
|
|
282
288
|
}, {
|
|
283
289
|
mode: "get",
|
|
284
290
|
method: "getListCategoryOnline",
|
|
@@ -289,6 +295,16 @@ const apiConfig = exports.apiConfig = [{
|
|
|
289
295
|
method: "getListOnline",
|
|
290
296
|
path: "list/online",
|
|
291
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
|
|
292
308
|
}, {
|
|
293
309
|
mode: "get",
|
|
294
310
|
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
|
|
@@ -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,11 @@ 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
|
|
4478
4507
|
}, {
|
|
4479
4508
|
mode: "get",
|
|
4480
4509
|
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
|
}
|