@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.
@@ -30,9 +30,9 @@ export interface getListQuery extends IObject {
30
30
  */
31
31
  fullInfo?: boolean;
32
32
  /**
33
- * 来源
33
+ * 所属模块
34
34
  */
35
- source?: string;
35
+ subjectType?: string;
36
36
  /**
37
37
  * 类型
38
38
  */
@@ -71,10 +71,6 @@ export interface getUserPageListQuery extends IObject {
71
71
  * 排序方式:ASC/DESC, 不传默认 ASC
72
72
  */
73
73
  sortType?: string;
74
- /**
75
- * 参数来源,0企业后台管理、1租户后台管理
76
- */
77
- source?: number;
78
74
  /**
79
75
  * 创建开始时间
80
76
  */
@@ -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
- * 是否为草稿 0: 非草稿 1: 草稿
5369
+ * 主键
5358
5370
  *
5359
- * @type number
5371
+ * @type string
5360
5372
  */
5361
- draft?: number;
5373
+ id?: string;
5362
5374
  /**
5363
- * 主键
5375
+ * 页面key
5364
5376
  *
5365
5377
  * @type string
5366
5378
  */
5367
- id?: string;
5379
+ key?: string;
5368
5380
  /**
5369
- * 初始提交 id
5381
+ * 锁定页面人员id
5370
5382
  *
5371
5383
  * @type string
5372
5384
  */
5373
- initCommitId?: string;
5385
+ lockUserId?: string;
5374
5386
  /**
5375
- * 页面key
5387
+ * 锁定页面人员名称
5376
5388
  *
5377
5389
  * @type string
5378
5390
  */
5379
- key?: string;
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
  */
@@ -32,6 +32,10 @@ export interface getPageListQuery extends IObject {
32
32
  * 每页数据条数
33
33
  */
34
34
  pageSize?: number;
35
+ /**
36
+ * 仪表盘来源
37
+ */
38
+ source?: number;
35
39
  }
36
40
  export interface putIdPathParams {
37
41
  id: string;
@@ -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
  */
@@ -81,6 +81,10 @@ export interface getUserPageListQuery extends IObject {
81
81
  * 排序方式:ASC/DESC, 不传默认 ASC
82
82
  */
83
83
  sortType?: string;
84
+ /**
85
+ * 参数来源,0企业后台管理、1租户后台管理
86
+ */
87
+ source?: number;
84
88
  /**
85
89
  * 创建开始时间
86
90
  */
@@ -131,6 +131,10 @@ export interface getManagementOrgUserPageListQuery extends IObject {
131
131
  * 排序方式:ASC/DESC, 不传默认 ASC
132
132
  */
133
133
  sortType?: string;
134
+ /**
135
+ * 参数来源,0企业后台管理、1租户后台管理
136
+ */
137
+ source?: number;
134
138
  /**
135
139
  * 创建开始时间
136
140
  */
@@ -1,6 +1,36 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
- import type { ThirdPartyAppRequest, ThirdPartyAppResp } from '../entities';
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
  *
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "6.0.0-dev.5",
3
+ "version": "6.0.0-dev.7",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [