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

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.
@@ -1,115 +1,102 @@
1
1
  export const apiConfig = [
2
2
  {
3
- name: "medPro",
4
- entityName: "medPro",
3
+ name: "ai",
4
+ entityName: "ai",
5
5
  apis: [
6
6
  {
7
7
  mode: "post",
8
- method: "postModelMetaDataAssociation",
9
- path: "modelMeta/dataAssociation",
10
- hasData: true
11
- },
12
- {
13
- mode: "get",
14
- method: "getModelMetaGetSysConfig",
15
- path: "modelMeta/getSysConfig",
16
- hasQuery: true
17
- },
18
- {
19
- mode: "get",
20
- method: "getModelMetaHasDataAssociation",
21
- path: "modelMeta/hasDataAssociation",
22
- hasQuery: true
23
- },
24
- {
25
- mode: "get",
26
- method: "getModelMetaModelDataAssociation",
27
- path: "modelMeta/modelDataAssociation",
28
- hasQuery: true
29
- },
30
- {
31
- mode: "post",
32
- method: "postApproveProcessApprove",
33
- path: "approve/process/approve",
34
- hasData: true
35
- },
36
- {
37
- mode: "post",
38
- method: "postApproveProcessInterfereReassign",
39
- path: "approve/process/interfere/reassign",
8
+ method: "postFormConvertAddFormTmpl",
9
+ path: "form-convert/add-form-tmpl",
40
10
  hasData: true
41
11
  },
42
12
  {
43
13
  mode: "post",
44
- method: "postApproveProcessInterfereReturn",
45
- path: "approve/process/interfere/return",
14
+ method: "postFormConvertBatchAddFormTmpl",
15
+ path: "form-convert/batch-add-form-tmpl",
46
16
  hasData: true
47
17
  },
48
18
  {
49
19
  mode: "post",
50
- method: "postApproveProcessJump",
51
- path: "approve/process/jump",
20
+ method: "postFormConvertBatchFailReasons",
21
+ path: "form-convert/batch/fail-reasons",
52
22
  hasData: true
53
23
  },
54
24
  {
55
25
  mode: "post",
56
- method: "postApproveProcessReassign",
57
- path: "approve/process/reassign",
26
+ method: "postFormConvertBatchList",
27
+ path: "form-convert/batch/list",
58
28
  hasData: true
59
29
  },
60
30
  {
61
31
  mode: "post",
62
- method: "postApproveProcessReturn",
63
- path: "approve/process/return",
32
+ method: "postFormConvertBatchUpload",
33
+ path: "form-convert/batch/upload",
64
34
  hasData: true
65
35
  },
66
36
  {
67
37
  mode: "get",
68
- method: "getEdhrAttachmentGetEdhrAttachment",
69
- path: "edhrAttachment/getEdhrAttachment",
70
- hasQuery: true
38
+ method: "getFormConvertBatchId",
39
+ path: "form-convert/batch/{id}",
40
+ hasPathParams: true
71
41
  },
72
42
  {
73
- mode: "post",
74
- method: "postFileUnzip",
75
- path: "file/unzip",
76
- hasQuery: true
43
+ mode: "delete",
44
+ method: "deleteFormConvertBatchId",
45
+ path: "form-convert/batch/{id}",
46
+ hasPathParams: true
77
47
  },
78
48
  {
79
49
  mode: "post",
80
- method: "postFormChangeProcessApprove",
81
- path: "form/change/process/approve",
50
+ method: "postFormConvertFailReasons",
51
+ path: "form-convert/fail-reasons",
82
52
  hasData: true
83
53
  },
84
54
  {
85
55
  mode: "post",
86
- method: "postFormChangeProcessInterfereReassign",
87
- path: "form/change/process/interfere/reassign",
56
+ method: "postFormConvertList",
57
+ path: "form-convert/list",
88
58
  hasData: true
89
59
  },
90
60
  {
91
61
  mode: "post",
92
- method: "postFormChangeProcessInterfereReturn",
93
- path: "form/change/process/interfere/return",
94
- hasData: true
62
+ method: "postFormConvertRefresh",
63
+ path: "form-convert/refresh"
95
64
  },
96
65
  {
97
66
  mode: "post",
98
- method: "postFormChangeProcessJump",
99
- path: "form/change/process/jump",
67
+ method: "postFormConvertSave",
68
+ path: "form-convert/save",
100
69
  hasData: true
101
70
  },
102
71
  {
103
- mode: "post",
104
- method: "postFormChangeProcessReassign",
105
- path: "form/change/process/reassign",
72
+ mode: "put",
73
+ method: "putFormConvertUpdate",
74
+ path: "form-convert/update",
106
75
  hasData: true
107
76
  },
108
77
  {
109
- mode: "post",
110
- method: "postFormChangeProcessReturn",
111
- path: "form/change/process/return",
112
- hasData: true
78
+ mode: "get",
79
+ method: "getFormConvertId",
80
+ path: "form-convert/{id}",
81
+ hasPathParams: true
82
+ },
83
+ {
84
+ mode: "delete",
85
+ method: "deleteFormConvertId",
86
+ path: "form-convert/{id}",
87
+ hasPathParams: true
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ name: "alexTest",
93
+ entityName: "alex-test",
94
+ apis: [
95
+ {
96
+ mode: "get",
97
+ method: "getGetProductReleaseInstByMaterialNo",
98
+ path: "getProductReleaseInstByMaterialNo",
99
+ hasQuery: true
113
100
  }
114
101
  ]
115
102
  },
@@ -208,6 +195,18 @@ export const apiConfig = [
208
195
  path: "batch",
209
196
  hasData: true
210
197
  },
198
+ {
199
+ mode: "post",
200
+ method: "postBatchRemoveAndTransfer",
201
+ path: "batchRemoveAndTransfer",
202
+ hasData: true
203
+ },
204
+ {
205
+ mode: "get",
206
+ method: "getCheckUserNeedTransfer",
207
+ path: "checkUserNeedTransfer",
208
+ hasQuery: true
209
+ },
211
210
  {
212
211
  mode: "get",
213
212
  method: "getGrantedStatistic",
@@ -1666,6 +1665,11 @@ export const apiConfig = [
1666
1665
  name: "dhr",
1667
1666
  entityName: "dhr",
1668
1667
  apis: [
1668
+ {
1669
+ mode: "get",
1670
+ method: "getLicenseList",
1671
+ path: "license/list"
1672
+ },
1669
1673
  {
1670
1674
  mode: "get",
1671
1675
  method: "getLogFindByTraceId",
@@ -4521,36 +4525,6 @@ export const apiConfig = [
4521
4525
  path: "appendix/form/list",
4522
4526
  hasQuery: true
4523
4527
  },
4524
- {
4525
- mode: "post",
4526
- method: "postDataCollectionAbandon",
4527
- path: "data-collection/abandon",
4528
- hasData: true
4529
- },
4530
- {
4531
- mode: "post",
4532
- method: "postDataCollectionCreate",
4533
- path: "data-collection/create",
4534
- hasData: true
4535
- },
4536
- {
4537
- mode: "get",
4538
- method: "getDataCollectionListAll",
4539
- path: "data-collection/listAll",
4540
- hasQuery: true
4541
- },
4542
- {
4543
- mode: "post",
4544
- method: "postDataCollectionUpdateAlias",
4545
- path: "data-collection/update-alias",
4546
- hasData: true
4547
- },
4548
- {
4549
- mode: "post",
4550
- method: "postDataCollectionUpdateStatus",
4551
- path: "data-collection/update-status",
4552
- hasData: true
4553
- },
4554
4528
  {
4555
4529
  mode: "get",
4556
4530
  method: "getDataIds",
@@ -5106,6 +5080,12 @@ export const apiConfig = [
5106
5080
  path: "process/approveQualification",
5107
5081
  hasData: true
5108
5082
  },
5083
+ {
5084
+ mode: "get",
5085
+ method: "getProcessApproveUsersById",
5086
+ path: "process/approveUsersById",
5087
+ hasQuery: true
5088
+ },
5109
5089
  {
5110
5090
  mode: "post",
5111
5091
  method: "postProcessChange",
@@ -7427,34 +7407,6 @@ export const apiConfig = [
7427
7407
  }
7428
7408
  ]
7429
7409
  },
7430
- {
7431
- name: "ss",
7432
- entityName: "ss",
7433
- apis: [
7434
- {
7435
- mode: "post",
7436
- method: "postUploadExcel",
7437
- path: "upload/excel",
7438
- hasUpload: true,
7439
- hasQuery: true,
7440
- hasData: true
7441
- },
7442
- {
7443
- mode: "post",
7444
- method: "postUploadImportSerialWorkflow",
7445
- path: "upload/importSerialWorkflow",
7446
- hasUpload: true,
7447
- hasData: true
7448
- },
7449
- {
7450
- mode: "post",
7451
- method: "postUploadZip",
7452
- path: "upload/zip",
7453
- hasUpload: true,
7454
- hasData: true
7455
- }
7456
- ]
7457
- },
7458
7410
  {
7459
7411
  name: "stash",
7460
7412
  entityName: "stash",
@@ -8221,6 +8173,18 @@ export const apiConfig = [
8221
8173
  name: "api",
8222
8174
  entityName: "api",
8223
8175
  apis: [
8176
+ {
8177
+ mode: "post",
8178
+ method: "postAiFormConvertCallbackRestore",
8179
+ path: "ai/form-convert/callback/restore",
8180
+ hasData: true
8181
+ },
8182
+ {
8183
+ mode: "post",
8184
+ method: "postAiFormConvertCallbackStatus",
8185
+ path: "ai/form-convert/callback/status",
8186
+ hasData: true
8187
+ },
8224
8188
  {
8225
8189
  mode: "post",
8226
8190
  method: "postAppCreateBranch",
@@ -8444,12 +8408,24 @@ export const apiConfig = [
8444
8408
  method: "getDatasourceInfo",
8445
8409
  path: "datasource/info"
8446
8410
  },
8411
+ {
8412
+ mode: "post",
8413
+ method: "postEdhrProdBatchTransferAllWorkItem",
8414
+ path: "edhr/prod/batchTransferAllWorkItem",
8415
+ hasData: true
8416
+ },
8447
8417
  {
8448
8418
  mode: "post",
8449
8419
  method: "postEdhrProdTransferAllWorkItem",
8450
8420
  path: "edhr/prod/transferAllWorkItem",
8451
8421
  hasData: true
8452
8422
  },
8423
+ {
8424
+ mode: "post",
8425
+ method: "postEdhrTestBatchTransferAllWorkItem",
8426
+ path: "edhr/test/batchTransferAllWorkItem",
8427
+ hasData: true
8428
+ },
8453
8429
  {
8454
8430
  mode: "post",
8455
8431
  method: "postEdhrTestTransferAllWorkItem",
@@ -0,0 +1,129 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type {
3
+ 添加表单模板请求,
4
+ 批量添加表单模板请求,
5
+ 查询解压失败原因请求,
6
+ 解压失败原因响应,
7
+ AI表单解压任务查询请求,
8
+ AI表单解压任务响应,
9
+ AI表单转换批量上传请求,
10
+ AI表单转换批量上传响应,
11
+ 查询转换失败原因请求,
12
+ 转换失败原因响应,
13
+ AI表单转换查询请求,
14
+ AiFormConvertResponse,
15
+ AI表单转换请求,
16
+ AI表单转换更新请求,
17
+ } from '../entities';
18
+
19
+ export interface getFormConvertBatchIdPathParams {
20
+ id: string;
21
+ }
22
+ export interface deleteFormConvertBatchIdPathParams {
23
+ id: string;
24
+ }
25
+ export interface getFormConvertIdPathParams {
26
+ id: string;
27
+ }
28
+ export interface deleteFormConvertIdPathParams {
29
+ id: string;
30
+ }
31
+ export interface AiService {
32
+ /**
33
+ * 添加表单模板
34
+ */
35
+ postFormConvertAddFormTmpl(
36
+ data: 添加表单模板请求,
37
+ config?: Partial<AxiosRequestConfig>,
38
+ ): Promise<string>;
39
+ /**
40
+ * 批量添加表单模板
41
+ */
42
+ postFormConvertBatchAddFormTmpl(
43
+ data: 批量添加表单模板请求,
44
+ config?: Partial<AxiosRequestConfig>,
45
+ ): Promise<string>;
46
+ /**
47
+ * 查询解压失败原因
48
+ */
49
+ postFormConvertBatchFailReasons(
50
+ data: 查询解压失败原因请求,
51
+ config?: Partial<AxiosRequestConfig>,
52
+ ): Promise<解压失败原因响应[]>;
53
+ /**
54
+ * 查询解压任务列表
55
+ */
56
+ postFormConvertBatchList(
57
+ data: AI表单解压任务查询请求,
58
+ config?: Partial<AxiosRequestConfig>,
59
+ ): Promise<IPage<AI表单解压任务响应>>;
60
+ /**
61
+ * 批量上传文件
62
+ */
63
+ postFormConvertBatchUpload(
64
+ data: AI表单转换批量上传请求,
65
+ config?: Partial<AxiosRequestConfig>,
66
+ ): Promise<AI表单转换批量上传响应>;
67
+ /**
68
+ * 查询解压任务详情
69
+ */
70
+ getFormConvertBatchId(
71
+ path: getFormConvertBatchIdPathParams,
72
+ config?: Partial<AxiosRequestConfig>,
73
+ ): Promise<AI表单解压任务响应>;
74
+ /**
75
+ * 删除解压任务
76
+ */
77
+ deleteFormConvertBatchId(
78
+ path: deleteFormConvertBatchIdPathParams,
79
+ config?: Partial<AxiosRequestConfig>,
80
+ ): Promise<void>;
81
+ /**
82
+ * 查询转换失败原因
83
+ */
84
+ postFormConvertFailReasons(
85
+ data: 查询转换失败原因请求,
86
+ config?: Partial<AxiosRequestConfig>,
87
+ ): Promise<转换失败原因响应[]>;
88
+ /**
89
+ * 查询转换任务列表
90
+ */
91
+ postFormConvertList(
92
+ data: AI表单转换查询请求,
93
+ config?: Partial<AxiosRequestConfig>,
94
+ ): Promise<IPage<AiFormConvertResponse>>;
95
+ /**
96
+ * 刷新任务状态
97
+ */
98
+ postFormConvertRefresh(
99
+ config?: Partial<AxiosRequestConfig>,
100
+ ): Promise<IObject>;
101
+ /**
102
+ * 保存转换任务
103
+ */
104
+ postFormConvertSave(
105
+ data: AI表单转换请求,
106
+ config?: Partial<AxiosRequestConfig>,
107
+ ): Promise<string>;
108
+ /**
109
+ * 编辑转换任务
110
+ */
111
+ putFormConvertUpdate(
112
+ data: AI表单转换更新请求,
113
+ config?: Partial<AxiosRequestConfig>,
114
+ ): Promise<string>;
115
+ /**
116
+ * 查询转换任务详情
117
+ */
118
+ getFormConvertId(
119
+ path: getFormConvertIdPathParams,
120
+ config?: Partial<AxiosRequestConfig>,
121
+ ): Promise<AiFormConvertResponse>;
122
+ /**
123
+ * 删除转换任务
124
+ */
125
+ deleteFormConvertId(
126
+ path: deleteFormConvertIdPathParams,
127
+ config?: Partial<AxiosRequestConfig>,
128
+ ): Promise<string>;
129
+ }
@@ -0,0 +1,16 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ export interface getGetProductReleaseInstByMaterialNoQuery extends IObject {
3
+ /**
4
+ * materialNo
5
+ */
6
+ materialNo: string;
7
+ }
8
+ export interface AlexTestService {
9
+ /**
10
+ * 根据批次号/表单流水号查询放行单实例列表
11
+ */
12
+ getGetProductReleaseInstByMaterialNo(
13
+ query: getGetProductReleaseInstByMaterialNoQuery,
14
+ config?: Partial<AxiosRequestConfig>,
15
+ ): Promise<string>;
16
+ }
@@ -1,6 +1,8 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import type { AxiosRequestConfig } from 'axios';
3
3
  import type {
4
+ AI还原服务回调请求,
5
+ AI回调请求,
4
6
  CreateBranchRequest,
5
7
  CreateAppRequest,
6
8
  CreateImportAppResponse,
@@ -25,6 +27,7 @@ import type {
25
27
  DatasourceMove,
26
28
  SelectItem,
27
29
  DataSourceProperties,
30
+ BatchTransferAllWorkItemRequest,
28
31
  TransferAllWorkItemRequest,
29
32
  ProcessDefinitionFeignResponse,
30
33
  } from '../entities';
@@ -236,6 +239,10 @@ export interface getAppModelMetaListQuery extends IObject {
236
239
  * env
237
240
  */
238
241
  env: string;
242
+ /**
243
+ * module
244
+ */
245
+ module: string;
239
246
  }
240
247
  export interface getAppPublishLogInfoQuery extends IObject {
241
248
  /**
@@ -382,6 +389,20 @@ export interface deleteModelComprehensiveBizServiceModelCategoryModelKeyBsKeyPat
382
389
  bsKey: string;
383
390
  }
384
391
  export interface ApiService {
392
+ /**
393
+ * AI还原服务回调
394
+ */
395
+ postAiFormConvertCallbackRestore(
396
+ data: AI还原服务回调请求,
397
+ config?: Partial<AxiosRequestConfig>,
398
+ ): Promise<string>;
399
+ /**
400
+ * AI回调更新状态
401
+ */
402
+ postAiFormConvertCallbackStatus(
403
+ data: AI回调请求,
404
+ config?: Partial<AxiosRequestConfig>,
405
+ ): Promise<string>;
385
406
  /**
386
407
  * 创建版本/分支
387
408
  */
@@ -642,6 +663,13 @@ export interface ApiService {
642
663
  getDatasourceInfo(
643
664
  config?: Partial<AxiosRequestConfig>,
644
665
  ): Promise<DataSourceProperties>;
666
+ /**
667
+ * 生产环境批量转移所有工作项(待填报、待审核等)
668
+ */
669
+ postEdhrProdBatchTransferAllWorkItem(
670
+ data: BatchTransferAllWorkItemRequest,
671
+ config?: Partial<AxiosRequestConfig>,
672
+ ): Promise<any>;
645
673
  /**
646
674
  * 生产环境转移所有工作项(待填报、待审核等)
647
675
  */
@@ -649,6 +677,13 @@ export interface ApiService {
649
677
  data: TransferAllWorkItemRequest,
650
678
  config?: Partial<AxiosRequestConfig>,
651
679
  ): Promise<any>;
680
+ /**
681
+ * 测试环境批量转移所有工作项(待填报、待审核等)
682
+ */
683
+ postEdhrTestBatchTransferAllWorkItem(
684
+ data: BatchTransferAllWorkItemRequest,
685
+ config?: Partial<AxiosRequestConfig>,
686
+ ): Promise<any>;
652
687
  /**
653
688
  * 测试环境转移所有工作项(待填报、待审核等)
654
689
  */
@@ -29,6 +29,10 @@ export interface getListQuery extends IObject {
29
29
  * 查询全量信息时传 true,否则只查询简要信息
30
30
  */
31
31
  fullInfo?: boolean;
32
+ /**
33
+ * 来源
34
+ */
35
+ source?: string;
32
36
  /**
33
37
  * 类型
34
38
  */
@@ -2,10 +2,17 @@ import type { AxiosRequestConfig } from 'axios';
2
2
  import type {
3
3
  AppGrantedUserRequest,
4
4
  AppGrantedUserBatchRequest,
5
+ AppGrantedUserBatchRemoveRequest,
5
6
  AppGrantedStatisticDTO,
6
7
  UserResponse,
7
8
  } from '../entities';
8
9
 
10
+ export interface getCheckUserNeedTransferQuery extends IObject {
11
+ /**
12
+ * 源用户id
13
+ */
14
+ sUserId: string;
15
+ }
9
16
  export interface getPageListQuery extends IObject {
10
17
  /**
11
18
  * 姓名
@@ -53,6 +60,20 @@ export interface AppGrantedUserService {
53
60
  data: AppGrantedUserBatchRequest,
54
61
  config?: Partial<AxiosRequestConfig>,
55
62
  ): Promise<string>;
63
+ /**
64
+ * 批量席位移除和转移
65
+ */
66
+ postBatchRemoveAndTransfer(
67
+ data: AppGrantedUserBatchRemoveRequest,
68
+ config?: Partial<AxiosRequestConfig>,
69
+ ): Promise<string>;
70
+ /**
71
+ * 源用户是否需要交接
72
+ */
73
+ getCheckUserNeedTransfer(
74
+ query: getCheckUserNeedTransferQuery,
75
+ config?: Partial<AxiosRequestConfig>,
76
+ ): Promise<IObject>;
56
77
  /**
57
78
  * 获取应用授权统计信息
58
79
  */
@@ -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
  */
@@ -220,6 +224,10 @@ export interface getPageListQuery extends IObject {
220
224
  * 结束时间
221
225
  */
222
226
  endTime?: string;
227
+ /**
228
+ * 所属模块(实体、枚举、web页面)
229
+ */
230
+ module?: string;
223
231
  /**
224
232
  * 应用名称
225
233
  */
@@ -24,6 +24,10 @@ export interface getLogListIsntanceIdPathParams {
24
24
  isntanceId: string;
25
25
  }
26
26
  export interface DhrService {
27
+ /**
28
+ * 获取授权业务
29
+ */
30
+ getLicenseList(config?: Partial<AxiosRequestConfig>): Promise<string>;
27
31
  /**
28
32
  * dhr操作日志列表详情
29
33
  */
@@ -181,6 +181,10 @@ export interface getReversePageListQuery extends IObject {
181
181
  * 关联批次
182
182
  */
183
183
  relatedLotNo?: string;
184
+ /**
185
+ * 车间
186
+ */
187
+ shopfloorId?: string;
184
188
  /**
185
189
  * 排序字段
186
190
  */
@@ -193,6 +197,10 @@ export interface getReversePageListQuery extends IObject {
193
197
  * 日期开始
194
198
  */
195
199
  startTraceDate?: string;
200
+ /**
201
+ * 灭菌批号
202
+ */
203
+ sterilizationLot?: string;
196
204
  }
197
205
  export interface getRunningPageQuery extends IObject {
198
206
  /**
@@ -23,10 +23,18 @@ export interface getInfoQuery extends IObject {
23
23
  id: string;
24
24
  }
25
25
  export interface getListQuery extends IObject {
26
+ /**
27
+ * 所属对象key
28
+ */
29
+ belongingObject?: string;
26
30
  /**
27
31
  * 是否包含内置字段
28
32
  */
29
33
  includeBuiltin?: boolean;
34
+ /**
35
+ * 是否包含对象内字段
36
+ */
37
+ includeObjectChildField?: boolean;
30
38
  /**
31
39
  * 是否包含流程字段字段
32
40
  */