@gct-paas/api 6.0.0-dev.3 → 6.0.0-dev.5

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.
@@ -239,10 +239,6 @@ export interface getAppModelMetaListQuery extends IObject {
239
239
  * env
240
240
  */
241
241
  env: string;
242
- /**
243
- * module
244
- */
245
- module: string;
246
242
  }
247
243
  export interface getAppPublishLogInfoQuery extends IObject {
248
244
  /**
@@ -34,10 +34,6 @@ export interface getListQuery extends IObject {
34
34
  * 结束时间
35
35
  */
36
36
  endTime?: string;
37
- /**
38
- * 所属模块(实体、枚举、web页面)
39
- */
40
- module?: string;
41
37
  /**
42
38
  * 应用名称
43
39
  */
@@ -224,10 +220,6 @@ export interface getPageListQuery extends IObject {
224
220
  * 结束时间
225
221
  */
226
222
  endTime?: string;
227
- /**
228
- * 所属模块(实体、枚举、web页面)
229
- */
230
- module?: string;
231
223
  /**
232
224
  * 应用名称
233
225
  */
@@ -377,10 +377,6 @@ export interface getRelateFormPageListQuery extends IObject {
377
377
  * Lot/SN 编号
378
378
  */
379
379
  materialNo: string;
380
- /**
381
- * 模块类型
382
- */
383
- module?: string;
384
380
  /**
385
381
  * 页码
386
382
  */
@@ -42,7 +42,7 @@ export interface getPageListQuery extends IObject {
42
42
  */
43
43
  relationId?: string;
44
44
  /**
45
- * 类型(1 web、2 pda 、3 pad
45
+ * 类型(1 web、2 pda 、3 pad、4 详情页面)
46
46
  */
47
47
  relationType?: number;
48
48
  /**
@@ -5303,6 +5303,12 @@ export interface DetailPageRequest {
5303
5303
  * @type string
5304
5304
  */
5305
5305
  key?: string;
5306
+ /**
5307
+ * logId
5308
+ *
5309
+ * @type string
5310
+ */
5311
+ logId?: string;
5306
5312
  /**
5307
5313
  * 页面名称
5308
5314
  *
@@ -143,13 +143,15 @@ export const apiConfig = [
143
143
  mode: "put",
144
144
  method: "putDisableId",
145
145
  path: "disable/{id}",
146
- hasPathParams: true
146
+ hasPathParams: true,
147
+ hasQuery: true
147
148
  },
148
149
  {
149
150
  mode: "put",
150
151
  method: "putEnableId",
151
152
  path: "enable/{id}",
152
- hasPathParams: true
153
+ hasPathParams: true,
154
+ hasQuery: true
153
155
  },
154
156
  {
155
157
  mode: "get",
@@ -2023,7 +2025,8 @@ export const apiConfig = [
2023
2025
  {
2024
2026
  mode: "get",
2025
2027
  method: "getModuleAuth",
2026
- path: "moduleAuth"
2028
+ path: "moduleAuth",
2029
+ hasQuery: true
2027
2030
  },
2028
2031
  {
2029
2032
  mode: "get",
@@ -5687,7 +5690,8 @@ export const apiConfig = [
5687
5690
  {
5688
5691
  mode: "get",
5689
5692
  method: "getLicenseModuleAuth",
5690
- path: "license/moduleAuth"
5693
+ path: "license/moduleAuth",
5694
+ hasQuery: true
5691
5695
  },
5692
5696
  {
5693
5697
  mode: "post",
@@ -546,6 +546,12 @@ 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
+ }
549
555
  export interface getLoginSettingGetQuery extends IObject {
550
556
  /**
551
557
  * code
@@ -583,6 +589,10 @@ export interface getOauth2AuthorizeQuery extends IObject {
583
589
  * 环境参数:test/prod
584
590
  */
585
591
  env?: string;
592
+ /**
593
+ * 用户登录Token
594
+ */
595
+ token: string;
586
596
  }
587
597
  export interface postOauth2TokenQuery extends IObject {
588
598
  /**
@@ -1361,7 +1371,10 @@ export interface ApiService {
1361
1371
  /**
1362
1372
  * 判断对应模块是否已进行授权
1363
1373
  */
1364
- getLicenseModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
1374
+ getLicenseModuleAuth(
1375
+ query: getLicenseModuleAuthQuery,
1376
+ config?: Partial<AxiosRequestConfig>,
1377
+ ): Promise<boolean>;
1365
1378
  /**
1366
1379
  * 用户登录日志分页查询
1367
1380
  */
@@ -24,6 +24,10 @@ export interface deleteQuery extends IObject {
24
24
  * 删除的id,多个按','分割
25
25
  */
26
26
  ids: string;
27
+ /**
28
+ * type
29
+ */
30
+ type?: string;
27
31
  }
28
32
  export interface putAppCleanUpIdPathParams {
29
33
  id: string;
@@ -38,9 +42,21 @@ export interface getCheckAppMaintainerInTenantAppIdPathParams {
38
42
  export interface postCreateBranchAppIdPathParams {
39
43
  appId: string;
40
44
  }
45
+ export interface putDisableIdQuery extends IObject {
46
+ /**
47
+ * type
48
+ */
49
+ type?: string;
50
+ }
41
51
  export interface putDisableIdPathParams {
42
52
  id: string;
43
53
  }
54
+ export interface putEnableIdQuery extends IObject {
55
+ /**
56
+ * type
57
+ */
58
+ type?: string;
59
+ }
44
60
  export interface putEnableIdPathParams {
45
61
  id: string;
46
62
  }
@@ -203,10 +219,6 @@ export interface getModelMetaListQuery extends IObject {
203
219
  *
204
220
  */
205
221
  modifyUserName?: string;
206
- /**
207
- * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据)
208
- */
209
- module?: string;
210
222
  /**
211
223
  *
212
224
  */
@@ -407,6 +419,14 @@ export interface getTenantAppsQuery extends IObject {
407
419
  * deleted
408
420
  */
409
421
  deleted: number;
422
+ /**
423
+ * id
424
+ */
425
+ id?: string;
426
+ /**
427
+ * name
428
+ */
429
+ name?: string;
410
430
  /**
411
431
  * pageNo
412
432
  */
@@ -511,6 +531,7 @@ export interface AppService {
511
531
  */
512
532
  putDisableId(
513
533
  path: putDisableIdPathParams,
534
+ query: putDisableIdQuery,
514
535
  config?: Partial<AxiosRequestConfig>,
515
536
  ): Promise<string>;
516
537
  /**
@@ -518,6 +539,7 @@ export interface AppService {
518
539
  */
519
540
  putEnableId(
520
541
  path: putEnableIdPathParams,
542
+ query: putEnableIdQuery,
521
543
  config?: Partial<AxiosRequestConfig>,
522
544
  ): Promise<string>;
523
545
  /**
@@ -32,10 +32,6 @@ export interface getPageListQuery extends IObject {
32
32
  * 每页数据条数
33
33
  */
34
34
  pageSize?: number;
35
- /**
36
- * 仪表盘来源
37
- */
38
- source?: number;
39
35
  }
40
36
  export interface putIdPathParams {
41
37
  id: string;
@@ -98,6 +98,12 @@ 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
+ }
101
107
  export interface getPageListQuery extends IObject {
102
108
  /**
103
109
  * 应用id
@@ -218,7 +224,10 @@ export interface LicenseService {
218
224
  /**
219
225
  * 判断对应模块是否已进行授权
220
226
  */
221
- getModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
227
+ getModuleAuth(
228
+ query: getModuleAuthQuery,
229
+ config?: Partial<AxiosRequestConfig>,
230
+ ): Promise<boolean>;
222
231
  /**
223
232
  * 平台/应用,授权列表
224
233
  */
@@ -81,10 +81,6 @@ export interface getUserPageListQuery extends IObject {
81
81
  * 排序方式:ASC/DESC, 不传默认 ASC
82
82
  */
83
83
  sortType?: string;
84
- /**
85
- * 参数来源,0企业后台管理、1租户后台管理
86
- */
87
- source?: number;
88
84
  /**
89
85
  * 创建开始时间
90
86
  */
@@ -131,10 +131,6 @@ export interface getManagementOrgUserPageListQuery extends IObject {
131
131
  * 排序方式:ASC/DESC, 不传默认 ASC
132
132
  */
133
133
  sortType?: string;
134
- /**
135
- * 参数来源,0企业后台管理、1租户后台管理
136
- */
137
- source?: number;
138
134
  /**
139
135
  * 创建开始时间
140
136
  */
@@ -814,6 +814,12 @@ export interface App {
814
814
  * @type string
815
815
  */
816
816
  initFailReason?: string;
817
+ /**
818
+ *
819
+ *
820
+ * @type string
821
+ */
822
+ lastVisitTime?: string;
817
823
  /**
818
824
  *
819
825
  *
@@ -964,6 +970,12 @@ export interface App {
964
970
  * @type string
965
971
  */
966
972
  tenantId?: string;
973
+ /**
974
+ *
975
+ *
976
+ * @type string
977
+ */
978
+ testLastVisitTime?: string;
967
979
  /**
968
980
  *
969
981
  *
@@ -2246,6 +2258,12 @@ export interface AppResponse {
2246
2258
  * @type string
2247
2259
  */
2248
2260
  isRunning?: string;
2261
+ /**
2262
+ * 生产环境最近访问时间(第三方应用)
2263
+ *
2264
+ * @type string
2265
+ */
2266
+ lastVisitTime?: string;
2249
2267
  /**
2250
2268
  * 应用logo
2251
2269
  *
@@ -2408,6 +2426,12 @@ export interface AppResponse {
2408
2426
  * @type string
2409
2427
  */
2410
2428
  tenantId?: string;
2429
+ /**
2430
+ * 验证环境最近访问时间(第三方应用)
2431
+ *
2432
+ * @type string
2433
+ */
2434
+ testLastVisitTime?: string;
2411
2435
  /**
2412
2436
  * 验证环境回调域名(第三方应用OAuth2配置)
2413
2437
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "6.0.0-dev.3",
3
+ "version": "6.0.0-dev.5",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -1,76 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type {
3
- modelDataAssociationRequest,
4
- ModelAssociationResponse,
5
- OnlineFormInstance,
6
- } from '../entities';
7
-
8
- export interface getModelMetaGetSysConfigQuery {
9
- /**
10
- * key
11
- */
12
- key: string;
13
- }
14
- export interface getModelMetaHasDataAssociationQuery {
15
- /**
16
- * id
17
- */
18
- id: string;
19
- /**
20
- * modelKey
21
- */
22
- modelKey: string;
23
- }
24
- export interface getModelMetaModelDataAssociationQuery {
25
- /**
26
- * id
27
- */
28
- id: string;
29
- /**
30
- * modelKey
31
- */
32
- modelKey: string;
33
- }
34
- export interface getEdhrAttachmentGetEdhrAttachmentQuery {
35
- /**
36
- * materialNo
37
- */
38
- materialNo: string;
39
- }
40
- export interface MedProService {
41
- /**
42
- * 关联模型数据查询
43
- */
44
- postModelMetaDataAssociation(
45
- data: modelDataAssociationRequest,
46
- config?: Partial<AxiosRequestConfig>,
47
- ): Promise<object>;
48
- /**
49
- * 获取系统配置
50
- */
51
- getModelMetaGetSysConfig(
52
- query: getModelMetaGetSysConfigQuery,
53
- config?: Partial<AxiosRequestConfig>,
54
- ): Promise<boolean>;
55
- /**
56
- * 存在关联数据
57
- */
58
- getModelMetaHasDataAssociation(
59
- query: getModelMetaHasDataAssociationQuery,
60
- config?: Partial<AxiosRequestConfig>,
61
- ): Promise<boolean>;
62
- /**
63
- * 关联数据信息列表
64
- */
65
- getModelMetaModelDataAssociation(
66
- query: getModelMetaModelDataAssociationQuery,
67
- config?: Partial<AxiosRequestConfig>,
68
- ): Promise<ModelAssociationResponse[]>;
69
- /**
70
- * 获取Edhr附录接口
71
- */
72
- getEdhrAttachmentGetEdhrAttachment(
73
- query: getEdhrAttachmentGetEdhrAttachmentQuery,
74
- config?: Partial<AxiosRequestConfig>,
75
- ): Promise<OnlineFormInstance[]>;
76
- }
@@ -1,184 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type {
3
- modelDataAssociationRequest,
4
- ModelAssociationResponse,
5
- ProcessApproveRequest,
6
- ProcessReassign4InterfereRequest,
7
- ProcessReturn4InterfereRequest,
8
- DhrProcessJumpRequest,
9
- ProcessReassignRequest,
10
- ProcessReturnRequest,
11
- OnlineFormInstance,
12
- DhrProcessApproveRequest,
13
- DhrProcessReassign4InterfereRequest,
14
- DhrProcessReturn4InterfereRequest,
15
- DhrProcessReassignRequest,
16
- DhrProcessReturnRequest,
17
- } from '../entities';
18
-
19
- export interface getModelMetaGetSysConfigQuery extends IObject {
20
- /**
21
- * key
22
- */
23
- key: string;
24
- }
25
- export interface getModelMetaHasDataAssociationQuery extends IObject {
26
- /**
27
- * id
28
- */
29
- id: string;
30
- /**
31
- * modelKey
32
- */
33
- modelKey: string;
34
- }
35
- export interface getModelMetaModelDataAssociationQuery extends IObject {
36
- /**
37
- * id
38
- */
39
- id: string;
40
- /**
41
- * modelKey
42
- */
43
- modelKey: string;
44
- }
45
- export interface getEdhrAttachmentGetEdhrAttachmentQuery extends IObject {
46
- /**
47
- * materialNo
48
- */
49
- materialNo: string;
50
- }
51
- export interface postFileUnzipQuery extends IObject {
52
- /**
53
- * url
54
- */
55
- url: string;
56
- }
57
- export interface MedProService {
58
- /**
59
- * 关联模型数据查询
60
- */
61
- postModelMetaDataAssociation(
62
- data: modelDataAssociationRequest,
63
- config?: Partial<AxiosRequestConfig>,
64
- ): Promise<object>;
65
- /**
66
- * 获取系统配置
67
- */
68
- getModelMetaGetSysConfig(
69
- query: getModelMetaGetSysConfigQuery,
70
- config?: Partial<AxiosRequestConfig>,
71
- ): Promise<boolean>;
72
- /**
73
- * 存在关联数据
74
- */
75
- getModelMetaHasDataAssociation(
76
- query: getModelMetaHasDataAssociationQuery,
77
- config?: Partial<AxiosRequestConfig>,
78
- ): Promise<boolean>;
79
- /**
80
- * 关联数据信息列表
81
- */
82
- getModelMetaModelDataAssociation(
83
- query: getModelMetaModelDataAssociationQuery,
84
- config?: Partial<AxiosRequestConfig>,
85
- ): Promise<ModelAssociationResponse[]>;
86
- /**
87
- * 审核
88
- */
89
- postApproveProcessApprove(
90
- data: ProcessApproveRequest,
91
- config?: Partial<AxiosRequestConfig>,
92
- ): Promise<string>;
93
- /**
94
- * 流程干预转办
95
- */
96
- postApproveProcessInterfereReassign(
97
- data: ProcessReassign4InterfereRequest,
98
- config?: Partial<AxiosRequestConfig>,
99
- ): Promise<string>;
100
- /**
101
- * 流程干预退回
102
- */
103
- postApproveProcessInterfereReturn(
104
- data: ProcessReturn4InterfereRequest,
105
- config?: Partial<AxiosRequestConfig>,
106
- ): Promise<string>;
107
- /**
108
- * 根据按钮key跳转流程节点
109
- */
110
- postApproveProcessJump(
111
- data: DhrProcessJumpRequest,
112
- config?: Partial<AxiosRequestConfig>,
113
- ): Promise<string>;
114
- /**
115
- * 转办
116
- */
117
- postApproveProcessReassign(
118
- data: ProcessReassignRequest,
119
- config?: Partial<AxiosRequestConfig>,
120
- ): Promise<string>;
121
- /**
122
- * 退回
123
- */
124
- postApproveProcessReturn(
125
- data: ProcessReturnRequest,
126
- config?: Partial<AxiosRequestConfig>,
127
- ): Promise<string>;
128
- /**
129
- * 获取Edhr附录接口
130
- */
131
- getEdhrAttachmentGetEdhrAttachment(
132
- query: getEdhrAttachmentGetEdhrAttachmentQuery,
133
- config?: Partial<AxiosRequestConfig>,
134
- ): Promise<OnlineFormInstance[]>;
135
- /**
136
- * 解压出pdf
137
- */
138
- postFileUnzip(
139
- query: postFileUnzipQuery,
140
- config?: Partial<AxiosRequestConfig>,
141
- ): Promise<string>;
142
- /**
143
- * 审核
144
- */
145
- postFormChangeProcessApprove(
146
- data: DhrProcessApproveRequest,
147
- config?: Partial<AxiosRequestConfig>,
148
- ): Promise<string>;
149
- /**
150
- * 流程干预转办
151
- */
152
- postFormChangeProcessInterfereReassign(
153
- data: DhrProcessReassign4InterfereRequest,
154
- config?: Partial<AxiosRequestConfig>,
155
- ): Promise<string>;
156
- /**
157
- * 流程干预退回
158
- */
159
- postFormChangeProcessInterfereReturn(
160
- data: DhrProcessReturn4InterfereRequest,
161
- config?: Partial<AxiosRequestConfig>,
162
- ): Promise<string>;
163
- /**
164
- * 根据按钮key跳转流程节点
165
- */
166
- postFormChangeProcessJump(
167
- data: DhrProcessJumpRequest,
168
- config?: Partial<AxiosRequestConfig>,
169
- ): Promise<string>;
170
- /**
171
- * 转办
172
- */
173
- postFormChangeProcessReassign(
174
- data: DhrProcessReassignRequest,
175
- config?: Partial<AxiosRequestConfig>,
176
- ): Promise<string>;
177
- /**
178
- * 退回
179
- */
180
- postFormChangeProcessReturn(
181
- data: DhrProcessReturnRequest,
182
- config?: Partial<AxiosRequestConfig>,
183
- ): Promise<string>;
184
- }
@@ -1,42 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- import type { AxiosRequestConfig } from 'axios';
3
- import type { ExcelValidateResponse } from '../entities';
4
-
5
- export interface postUploadExcelQuery extends IObject {
6
- /**
7
- * headerRowIndex
8
- */
9
- headerRowIndex?: number;
10
- /**
11
- * saveAttachment
12
- */
13
- saveAttachment?: boolean;
14
- /**
15
- * startRowIndex
16
- */
17
- startRowIndex?: number;
18
- }
19
- export interface SsService {
20
- /**
21
- * excel上传解析
22
- */
23
- postUploadExcel(
24
- query: postUploadExcelQuery,
25
- data: UploadFileData,
26
- config?: Partial<AxiosRequestConfig>,
27
- ): Promise<any>;
28
- /**
29
- * 串行工作流导入
30
- */
31
- postUploadImportSerialWorkflow(
32
- data: UploadFileData,
33
- config?: Partial<AxiosRequestConfig>,
34
- ): Promise<IHttpResponse<object>>;
35
- /**
36
- * zip上传解析
37
- */
38
- postUploadZip(
39
- data: UploadFileData,
40
- config?: Partial<AxiosRequestConfig>,
41
- ): Promise<IHttpResponse<ExcelValidateResponse>>;
42
- }