@gct-paas/api 6.0.0-dev.5 → 6.0.0-dev.7
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 -1
- package/es/apaas/service/apis/app-global-settings.service.d.ts +2 -2
- package/es/apaas/service/apis/app-org.service.d.ts +0 -4
- package/es/apaas/service/apis/category.service.d.ts +8 -8
- package/es/apaas/service/apis/edhr-instance.service.d.ts +0 -8
- package/es/apaas/service/apis/excel.service.d.ts +0 -12
- package/es/apaas/service/entities.d.ts +39 -9
- package/es/platform/service/api-config.mjs +8 -4
- package/es/platform/service/apis/api.service.d.ts +1 -10
- package/es/platform/service/apis/dashboard.service.d.ts +4 -0
- package/es/platform/service/apis/license.service.d.ts +1 -10
- package/es/platform/service/apis/org.service.d.ts +4 -0
- package/es/platform/service/apis/tenant.service.d.ts +4 -0
- package/es/platform/service/apis/third-party-app.service.d.ts +38 -1
- package/es/platform/service/entities.d.ts +26 -0
- package/es/service/api-service.interface.d.ts +9 -0
- package/es/service/index.mjs +2 -0
- package/package.json +1 -1
|
@@ -34,6 +34,10 @@ export interface getListQuery extends IObject {
|
|
|
34
34
|
* 结束时间
|
|
35
35
|
*/
|
|
36
36
|
endTime?: string;
|
|
37
|
+
/**
|
|
38
|
+
* 所属模块(实体、枚举、web页面)
|
|
39
|
+
*/
|
|
40
|
+
module?: string;
|
|
37
41
|
/**
|
|
38
42
|
* 应用名称
|
|
39
43
|
*/
|
|
@@ -104,10 +108,6 @@ export interface getListCompleteQuery extends IObject {
|
|
|
104
108
|
*
|
|
105
109
|
*/
|
|
106
110
|
modifyUserName?: string;
|
|
107
|
-
/**
|
|
108
|
-
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
|
|
109
|
-
*/
|
|
110
|
-
module?: string;
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
113
|
*/
|
|
@@ -178,10 +178,6 @@ export interface getPageQuery extends IObject {
|
|
|
178
178
|
*
|
|
179
179
|
*/
|
|
180
180
|
modifyUserName?: string;
|
|
181
|
-
/**
|
|
182
|
-
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
|
|
183
|
-
*/
|
|
184
|
-
module?: string;
|
|
185
181
|
/**
|
|
186
182
|
*
|
|
187
183
|
*/
|
|
@@ -220,6 +216,10 @@ export interface getPageListQuery extends IObject {
|
|
|
220
216
|
* 结束时间
|
|
221
217
|
*/
|
|
222
218
|
endTime?: string;
|
|
219
|
+
/**
|
|
220
|
+
* 所属模块(实体、枚举、web页面)
|
|
221
|
+
*/
|
|
222
|
+
module?: string;
|
|
223
223
|
/**
|
|
224
224
|
* 应用名称
|
|
225
225
|
*/
|
|
@@ -87,10 +87,6 @@ export interface getPageListQuery extends IObject {
|
|
|
87
87
|
* 更新人id
|
|
88
88
|
*/
|
|
89
89
|
modifyUserId?: string;
|
|
90
|
-
/**
|
|
91
|
-
* 模块类型
|
|
92
|
-
*/
|
|
93
|
-
module?: string;
|
|
94
90
|
/**
|
|
95
91
|
* 操作人
|
|
96
92
|
*/
|
|
@@ -145,10 +141,6 @@ export interface getReversePageListQuery extends IObject {
|
|
|
145
141
|
* 工单id
|
|
146
142
|
*/
|
|
147
143
|
mfgOrderId?: string;
|
|
148
|
-
/**
|
|
149
|
-
* 模块类型
|
|
150
|
-
*/
|
|
151
|
-
module?: string;
|
|
152
144
|
/**
|
|
153
145
|
* 操作人
|
|
154
146
|
*/
|
|
@@ -85,22 +85,10 @@ export interface postDataValidateQuery extends IObject {
|
|
|
85
85
|
* 标题行号
|
|
86
86
|
*/
|
|
87
87
|
headerRowNo?: number;
|
|
88
|
-
/**
|
|
89
|
-
* 导入类型 1:普通导入,2:主子同时导
|
|
90
|
-
*/
|
|
91
|
-
importType?: number;
|
|
92
88
|
/**
|
|
93
89
|
* 模型key
|
|
94
90
|
*/
|
|
95
91
|
modelKey: string;
|
|
96
|
-
/**
|
|
97
|
-
* 数据起始行号
|
|
98
|
-
*/
|
|
99
|
-
startRowNo?: number;
|
|
100
|
-
/**
|
|
101
|
-
* 模板key
|
|
102
|
-
*/
|
|
103
|
-
tmplKey: string;
|
|
104
92
|
}
|
|
105
93
|
export interface ExcelService {
|
|
106
94
|
/**
|
|
@@ -921,6 +921,12 @@ export interface AppGlobalSettingsRequest {
|
|
|
921
921
|
* @type string
|
|
922
922
|
*/
|
|
923
923
|
source?: string;
|
|
924
|
+
/**
|
|
925
|
+
* 所属模块(详情页:detail_page)
|
|
926
|
+
*
|
|
927
|
+
* @type string
|
|
928
|
+
*/
|
|
929
|
+
subjectType?: string;
|
|
924
930
|
/**
|
|
925
931
|
* 类型:模态框/变量/事件等
|
|
926
932
|
*
|
|
@@ -995,6 +1001,12 @@ export interface AppGlobalSettingsResponse {
|
|
|
995
1001
|
* @type string
|
|
996
1002
|
*/
|
|
997
1003
|
source?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* 所属模块
|
|
1006
|
+
*
|
|
1007
|
+
* @type string
|
|
1008
|
+
*/
|
|
1009
|
+
subjectType?: string;
|
|
998
1010
|
/**
|
|
999
1011
|
* 类型:模态框/变量/事件
|
|
1000
1012
|
*
|
|
@@ -5354,29 +5366,29 @@ export interface DetailPageResponse {
|
|
|
5354
5366
|
*/
|
|
5355
5367
|
designerJson?: string;
|
|
5356
5368
|
/**
|
|
5357
|
-
*
|
|
5369
|
+
* 主键
|
|
5358
5370
|
*
|
|
5359
|
-
* @type
|
|
5371
|
+
* @type string
|
|
5360
5372
|
*/
|
|
5361
|
-
|
|
5373
|
+
id?: string;
|
|
5362
5374
|
/**
|
|
5363
|
-
*
|
|
5375
|
+
* 页面key
|
|
5364
5376
|
*
|
|
5365
5377
|
* @type string
|
|
5366
5378
|
*/
|
|
5367
|
-
|
|
5379
|
+
key?: string;
|
|
5368
5380
|
/**
|
|
5369
|
-
*
|
|
5381
|
+
* 锁定页面人员id
|
|
5370
5382
|
*
|
|
5371
5383
|
* @type string
|
|
5372
5384
|
*/
|
|
5373
|
-
|
|
5385
|
+
lockUserId?: string;
|
|
5374
5386
|
/**
|
|
5375
|
-
*
|
|
5387
|
+
* 锁定页面人员名称
|
|
5376
5388
|
*
|
|
5377
5389
|
* @type string
|
|
5378
5390
|
*/
|
|
5379
|
-
|
|
5391
|
+
lockUserName?: string;
|
|
5380
5392
|
/**
|
|
5381
5393
|
*
|
|
5382
5394
|
*
|
|
@@ -5401,6 +5413,12 @@ export interface DetailPageResponse {
|
|
|
5401
5413
|
* @type string
|
|
5402
5414
|
*/
|
|
5403
5415
|
name?: string;
|
|
5416
|
+
/**
|
|
5417
|
+
* newLogId
|
|
5418
|
+
*
|
|
5419
|
+
* @type string
|
|
5420
|
+
*/
|
|
5421
|
+
newLogId?: string;
|
|
5404
5422
|
/**
|
|
5405
5423
|
* 运行时json
|
|
5406
5424
|
*
|
|
@@ -11317,12 +11335,24 @@ export interface FileResourceResponse {
|
|
|
11317
11335
|
url?: string;
|
|
11318
11336
|
}
|
|
11319
11337
|
export interface FileTaskDTO {
|
|
11338
|
+
/**
|
|
11339
|
+
* eDHR类型(可选,为空时不细分)
|
|
11340
|
+
*
|
|
11341
|
+
* @type string
|
|
11342
|
+
*/
|
|
11343
|
+
eDHRType?: string;
|
|
11320
11344
|
/**
|
|
11321
11345
|
* 是否包含半成品批次(当type为EDHR时使用,用于判断打印时是否需要打印半成品批次eDHR)
|
|
11322
11346
|
*
|
|
11323
11347
|
* @type boolean
|
|
11324
11348
|
*/
|
|
11325
11349
|
includeSemi?: boolean;
|
|
11350
|
+
/**
|
|
11351
|
+
* eDHR列表-灭菌批/物料收检 批次
|
|
11352
|
+
*
|
|
11353
|
+
* @type string
|
|
11354
|
+
*/
|
|
11355
|
+
materialNo?: string;
|
|
11326
11356
|
/**
|
|
11327
11357
|
* 模板实例id
|
|
11328
11358
|
*
|
|
@@ -2025,8 +2025,7 @@ export const apiConfig = [
|
|
|
2025
2025
|
{
|
|
2026
2026
|
mode: "get",
|
|
2027
2027
|
method: "getModuleAuth",
|
|
2028
|
-
path: "moduleAuth"
|
|
2029
|
-
hasQuery: true
|
|
2028
|
+
path: "moduleAuth"
|
|
2030
2029
|
},
|
|
2031
2030
|
{
|
|
2032
2031
|
mode: "get",
|
|
@@ -4283,6 +4282,12 @@ export const apiConfig = [
|
|
|
4283
4282
|
path: "",
|
|
4284
4283
|
hasData: true
|
|
4285
4284
|
},
|
|
4285
|
+
{
|
|
4286
|
+
mode: "get",
|
|
4287
|
+
method: "getList",
|
|
4288
|
+
path: "list",
|
|
4289
|
+
hasQuery: true
|
|
4290
|
+
},
|
|
4286
4291
|
{
|
|
4287
4292
|
mode: "get",
|
|
4288
4293
|
method: "getSecretGenerate",
|
|
@@ -5690,8 +5695,7 @@ export const apiConfig = [
|
|
|
5690
5695
|
{
|
|
5691
5696
|
mode: "get",
|
|
5692
5697
|
method: "getLicenseModuleAuth",
|
|
5693
|
-
path: "license/moduleAuth"
|
|
5694
|
-
hasQuery: true
|
|
5698
|
+
path: "license/moduleAuth"
|
|
5695
5699
|
},
|
|
5696
5700
|
{
|
|
5697
5701
|
mode: "post",
|
|
@@ -546,12 +546,6 @@ export interface getLicenseGetAppEffectiveLicenseQuery extends IObject {
|
|
|
546
546
|
*/
|
|
547
547
|
env: string;
|
|
548
548
|
}
|
|
549
|
-
export interface getLicenseModuleAuthQuery extends IObject {
|
|
550
|
-
/**
|
|
551
|
-
* 授权模块
|
|
552
|
-
*/
|
|
553
|
-
module?: string;
|
|
554
|
-
}
|
|
555
549
|
export interface getLoginSettingGetQuery extends IObject {
|
|
556
550
|
/**
|
|
557
551
|
* code
|
|
@@ -1371,10 +1365,7 @@ export interface ApiService {
|
|
|
1371
1365
|
/**
|
|
1372
1366
|
* 判断对应模块是否已进行授权
|
|
1373
1367
|
*/
|
|
1374
|
-
getLicenseModuleAuth(
|
|
1375
|
-
query: getLicenseModuleAuthQuery,
|
|
1376
|
-
config?: Partial<AxiosRequestConfig>,
|
|
1377
|
-
): Promise<boolean>;
|
|
1368
|
+
getLicenseModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
1378
1369
|
/**
|
|
1379
1370
|
* 用户登录日志分页查询
|
|
1380
1371
|
*/
|
|
@@ -98,12 +98,6 @@ export interface getInfoQuery extends IObject {
|
|
|
98
98
|
*/
|
|
99
99
|
licenseId: string;
|
|
100
100
|
}
|
|
101
|
-
export interface getModuleAuthQuery extends IObject {
|
|
102
|
-
/**
|
|
103
|
-
* 授权模块
|
|
104
|
-
*/
|
|
105
|
-
module?: string;
|
|
106
|
-
}
|
|
107
101
|
export interface getPageListQuery extends IObject {
|
|
108
102
|
/**
|
|
109
103
|
* 应用id
|
|
@@ -224,10 +218,7 @@ export interface LicenseService {
|
|
|
224
218
|
/**
|
|
225
219
|
* 判断对应模块是否已进行授权
|
|
226
220
|
*/
|
|
227
|
-
getModuleAuth(
|
|
228
|
-
query: getModuleAuthQuery,
|
|
229
|
-
config?: Partial<AxiosRequestConfig>,
|
|
230
|
-
): Promise<boolean>;
|
|
221
|
+
getModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
231
222
|
/**
|
|
232
223
|
* 平台/应用,授权列表
|
|
233
224
|
*/
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
ThirdPartyAppRequest,
|
|
4
|
+
ThirdPartyAppResp,
|
|
5
|
+
ThirdPartyAppListResponse,
|
|
6
|
+
} from '../entities';
|
|
3
7
|
|
|
8
|
+
export interface getListQuery extends IObject {
|
|
9
|
+
/**
|
|
10
|
+
* 应用标识(模糊查询)
|
|
11
|
+
*/
|
|
12
|
+
appId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 应用名称(模糊查询)
|
|
15
|
+
*/
|
|
16
|
+
appName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 页码
|
|
19
|
+
*/
|
|
20
|
+
pageNo?: number;
|
|
21
|
+
/**
|
|
22
|
+
* 分页大小
|
|
23
|
+
*/
|
|
24
|
+
pageSize?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 排序字段
|
|
27
|
+
*/
|
|
28
|
+
sortField?: string;
|
|
29
|
+
/**
|
|
30
|
+
* 排序方式:ASC/DESC, 不传默认 ASC
|
|
31
|
+
*/
|
|
32
|
+
sortType?: string;
|
|
33
|
+
}
|
|
4
34
|
export interface getAppIdPathParams {
|
|
5
35
|
appId: string;
|
|
6
36
|
}
|
|
@@ -24,6 +54,13 @@ export interface ThirdPartyAppService {
|
|
|
24
54
|
data: ThirdPartyAppRequest,
|
|
25
55
|
config?: Partial<AxiosRequestConfig>,
|
|
26
56
|
): Promise<ThirdPartyAppResp>;
|
|
57
|
+
/**
|
|
58
|
+
* 获取第三方应用列表
|
|
59
|
+
*/
|
|
60
|
+
getList(
|
|
61
|
+
query: getListQuery,
|
|
62
|
+
config?: Partial<AxiosRequestConfig>,
|
|
63
|
+
): Promise<IPage<ThirdPartyAppListResponse>>;
|
|
27
64
|
/**
|
|
28
65
|
* 生成客户端密钥
|
|
29
66
|
*/
|
|
@@ -19428,6 +19428,32 @@ export interface ThirdAppConfigReq {
|
|
|
19428
19428
|
*/
|
|
19429
19429
|
secret?: string;
|
|
19430
19430
|
}
|
|
19431
|
+
export interface ThirdPartyAppListResponse {
|
|
19432
|
+
/**
|
|
19433
|
+
* 应用标识
|
|
19434
|
+
*
|
|
19435
|
+
* @type string
|
|
19436
|
+
*/
|
|
19437
|
+
appId?: string;
|
|
19438
|
+
/**
|
|
19439
|
+
* 应用名称
|
|
19440
|
+
*
|
|
19441
|
+
* @type string
|
|
19442
|
+
*/
|
|
19443
|
+
appName?: string;
|
|
19444
|
+
/**
|
|
19445
|
+
* 生产环境最近访问时间
|
|
19446
|
+
*
|
|
19447
|
+
* @type string
|
|
19448
|
+
*/
|
|
19449
|
+
lastVisitTime?: string;
|
|
19450
|
+
/**
|
|
19451
|
+
* 验证环境最近访问时间
|
|
19452
|
+
*
|
|
19453
|
+
* @type string
|
|
19454
|
+
*/
|
|
19455
|
+
testLastVisitTime?: string;
|
|
19456
|
+
}
|
|
19431
19457
|
export interface ThirdPartyAppRequest {
|
|
19432
19458
|
/**
|
|
19433
19459
|
* 应用ID(必填)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ApiManage as APaasApiManage } from '../apaas';
|
|
2
|
+
import { type ApiManage as IpaasApiManage } from '../ipaas';
|
|
2
3
|
import { type ApiManage as PlatformApiManage } from '../platform';
|
|
3
4
|
/**
|
|
4
5
|
* HTTP 响应接口
|
|
@@ -156,6 +157,14 @@ export interface ApiMap {
|
|
|
156
157
|
* @type {APaasApiManage}
|
|
157
158
|
*/
|
|
158
159
|
apaas: APaasApiManage;
|
|
160
|
+
/**
|
|
161
|
+
* IPaas 平台 API 管理
|
|
162
|
+
*
|
|
163
|
+
* @author chitanda
|
|
164
|
+
* @date 2025-08-21 17:08:53
|
|
165
|
+
* @type {IpaasApiManage}
|
|
166
|
+
*/
|
|
167
|
+
ipaas: IpaasApiManage;
|
|
159
168
|
/**
|
|
160
169
|
* 平台 API 管理
|
|
161
170
|
*
|
package/es/service/index.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { apiConfig as aPaasConfig } from "../apaas/index.mjs";
|
|
2
|
+
import { apiConfig as ipaasConfig } from "../ipaas/index.mjs";
|
|
2
3
|
import { apiConfig as platformConfig } from "../platform/index.mjs";
|
|
3
4
|
import { ApiManage } from "./api-manage.mjs";
|
|
4
5
|
export const api = {
|
|
5
6
|
apaas: new ApiManage("/gct-apaas/api", aPaasConfig),
|
|
7
|
+
ipaas: new ApiManage("/gct-ipaas/api", ipaasConfig),
|
|
6
8
|
platform: new ApiManage("/gct-platform/api", platformConfig)
|
|
7
9
|
};
|
|
8
10
|
export {
|