@gct-paas/api 0.1.6-dev.6 → 0.1.6-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.
Files changed (63) hide show
  1. package/dist/index.esm.min.js +1 -0
  2. package/es/apaas/service/api-config.mjs +452 -5
  3. package/es/apaas/service/apis/app-global-settings.service.d.ts +0 -4
  4. package/es/apaas/service/apis/app-org.service.d.ts +0 -4
  5. package/es/apaas/service/apis/approve.service.d.ts +54 -0
  6. package/es/apaas/service/apis/audit-log.service.d.ts +7 -0
  7. package/es/apaas/service/apis/category.service.d.ts +8 -0
  8. package/es/apaas/service/apis/data-source.service.d.ts +4 -0
  9. package/es/apaas/service/apis/detail-page.service.d.ts +96 -0
  10. package/es/apaas/service/apis/dhr.service.d.ts +2 -2
  11. package/es/apaas/service/apis/doc-control-started.service.d.ts +76 -1
  12. package/es/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
  13. package/es/apaas/service/apis/edhr-instance.service.d.ts +16 -0
  14. package/es/apaas/service/apis/edhr-tmpl.service.d.ts +18 -5
  15. package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
  16. package/es/apaas/service/apis/excel.service.d.ts +6 -2
  17. package/es/apaas/service/apis/field-meta.service.d.ts +21 -0
  18. package/es/apaas/service/apis/file.service.d.ts +4 -0
  19. package/es/apaas/service/apis/inspection-category.service.d.ts +84 -0
  20. package/es/apaas/service/apis/label.service.d.ts +11 -3
  21. package/es/apaas/service/apis/med-pro.service.d.ts +108 -0
  22. package/es/apaas/service/apis/medPro.service.d.ts +49 -21
  23. package/es/apaas/service/apis/model-meta.service.d.ts +15 -1
  24. package/es/apaas/service/apis/model-method.service.d.ts +19 -1
  25. package/es/apaas/service/apis/online-form-instance.service.d.ts +78 -0
  26. package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +29 -0
  27. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +77 -0
  28. package/es/apaas/service/apis/online-form.service.d.ts +8 -1
  29. package/es/apaas/service/apis/process-task-done.service.d.ts +28 -1
  30. package/es/apaas/service/apis/process-task-todo.service.d.ts +44 -1
  31. package/es/apaas/service/apis/product-release-category.service.d.ts +84 -0
  32. package/es/apaas/service/apis/ss.service.d.ts +8 -0
  33. package/es/apaas/service/apis/transaction.service.d.ts +157 -0
  34. package/es/apaas/service/apis/user.service.d.ts +31 -0
  35. package/es/apaas/service/entities.d.ts +3159 -76
  36. package/es/apaas/service/index.d.ts +14 -0
  37. package/es/ipaas/service/api-config.mjs +29 -5
  38. package/es/ipaas/service/apis/camel.service.d.ts +18 -5
  39. package/es/ipaas/service/apis/flow.service.d.ts +77 -1
  40. package/es/ipaas/service/apis/runtime.service.d.ts +13 -0
  41. package/es/ipaas/service/entities.d.ts +168 -0
  42. package/es/platform/service/api-config.mjs +48 -2
  43. package/es/platform/service/apis/api.service.d.ts +52 -1
  44. package/es/platform/service/apis/bi-app.service.d.ts +4 -3
  45. package/es/platform/service/apis/file-task.service.d.ts +13 -0
  46. package/es/platform/service/apis/invoke-log.service.d.ts +17 -1
  47. package/es/platform/service/apis/license.service.d.ts +18 -0
  48. package/es/platform/service/apis/login-log.service.d.ts +13 -0
  49. package/es/platform/service/apis/plat.service.d.ts +7 -0
  50. package/es/platform/service/entities.d.ts +529 -4
  51. package/es/service/api-manage.mjs +2 -2
  52. package/es/service/api-service.d.ts +13 -0
  53. package/es/service/api-service.interface.d.ts +6 -9
  54. package/es/service/api-service.mjs +42 -17
  55. package/es/service/http.util.d.ts +8 -1
  56. package/es/service/http.util.mjs +22 -4
  57. package/es/service/index.mjs +1 -3
  58. package/es/types/index.d.ts +27 -0
  59. package/es/utils/index.d.ts +7 -0
  60. package/es/utils/index.mjs +6 -0
  61. package/package.json +1 -1
  62. package/dist/gct-api.esm.min.js +0 -1
  63. package/dist/gct-api.system.min.js +0 -1
@@ -104,6 +104,10 @@ export interface getListCompleteQuery {
104
104
  *
105
105
  */
106
106
  modifyUserName?: string;
107
+ /**
108
+ * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
109
+ */
110
+ module?: string;
107
111
  /**
108
112
  *
109
113
  */
@@ -174,6 +178,10 @@ export interface getPageQuery {
174
178
  *
175
179
  */
176
180
  modifyUserName?: string;
181
+ /**
182
+ * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
183
+ */
184
+ module?: string;
177
185
  /**
178
186
  *
179
187
  */
@@ -2,6 +2,10 @@ import type { AxiosRequestConfig } from 'axios';
2
2
  import type { DataSourceDTO, DataSourceSelectRequest } from '../entities';
3
3
 
4
4
  export interface getPageListQuery {
5
+ /**
6
+ * enabled
7
+ */
8
+ enabled?: number;
5
9
  /**
6
10
  * name
7
11
  */
@@ -0,0 +1,96 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type { DetailPageRequest, DetailPageResponse } from '../entities';
3
+
4
+ export interface deleteQuery {
5
+ /**
6
+ * 删除的id,多个按','分割
7
+ */
8
+ ids: string;
9
+ }
10
+ export interface postCopyByIdIdPathParams {
11
+ id: string;
12
+ }
13
+ export interface getInfoQuery {
14
+ /**
15
+ * id
16
+ */
17
+ id: string;
18
+ }
19
+ export interface getPageListQuery {
20
+ /**
21
+ * 搜索条件
22
+ */
23
+ keyword?: string;
24
+ /**
25
+ * 页码
26
+ */
27
+ pageNo?: number;
28
+ /**
29
+ * 每页数据条数
30
+ */
31
+ pageSize?: number;
32
+ }
33
+ export interface putUpdateDesignerJsonIdPathParams {
34
+ id: string;
35
+ }
36
+ export interface putIdPathParams {
37
+ id: string;
38
+ }
39
+ export interface DetailPageService {
40
+ /**
41
+ * 保存
42
+ */
43
+ post(
44
+ data: DetailPageRequest,
45
+ config?: Partial<AxiosRequestConfig>,
46
+ ): Promise<string>;
47
+ /**
48
+ * 删除
49
+ */
50
+ delete(
51
+ query: deleteQuery,
52
+ config?: Partial<AxiosRequestConfig>,
53
+ ): Promise<string>;
54
+ /**
55
+ * 复制页面
56
+ */
57
+ postCopyByIdId(
58
+ path: postCopyByIdIdPathParams,
59
+ data: DetailPageRequest,
60
+ config?: Partial<AxiosRequestConfig>,
61
+ ): Promise<string>;
62
+ /**
63
+ * 详情
64
+ */
65
+ getInfo(
66
+ query: getInfoQuery,
67
+ config?: Partial<AxiosRequestConfig>,
68
+ ): Promise<DetailPageResponse>;
69
+ /**
70
+ * 列表
71
+ */
72
+ getList(config?: Partial<AxiosRequestConfig>): Promise<DetailPageResponse[]>;
73
+ /**
74
+ * 分页列表
75
+ */
76
+ getPageList(
77
+ query: getPageListQuery,
78
+ config?: Partial<AxiosRequestConfig>,
79
+ ): Promise<IPage<DetailPageResponse>>;
80
+ /**
81
+ * 修改webPage页面设计Json
82
+ */
83
+ putUpdateDesignerJsonId(
84
+ path: putUpdateDesignerJsonIdPathParams,
85
+ data: DetailPageRequest,
86
+ config?: Partial<AxiosRequestConfig>,
87
+ ): Promise<string>;
88
+ /**
89
+ * 修改
90
+ */
91
+ putId(
92
+ path: putIdPathParams,
93
+ data: DetailPageRequest,
94
+ config?: Partial<AxiosRequestConfig>,
95
+ ): Promise<string>;
96
+ }
@@ -1,6 +1,6 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
2
  import type {
3
- EdhrSummaryTraceDetail,
3
+ EdhrSummaryTraceEntity,
4
4
  EdhrLogEntity,
5
5
  DhrProcessApproveRequest,
6
6
  DhrProcessReassign4InterfereRequest,
@@ -30,7 +30,7 @@ export interface DhrService {
30
30
  getLogFindByTraceId(
31
31
  query: getLogFindByTraceIdQuery,
32
32
  config?: Partial<AxiosRequestConfig>,
33
- ): Promise<EdhrSummaryTraceDetail[]>;
33
+ ): Promise<EdhrSummaryTraceEntity>;
34
34
  /**
35
35
  * dhr操作日志列表
36
36
  */
@@ -1,6 +1,66 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
- import type { DocControlStartedResponse } from '../entities';
2
+ import type {
3
+ DocControlStartedResponse,
4
+ DocControlStartedRequest,
5
+ } from '../entities';
3
6
 
7
+ export interface getAllPageListQuery {
8
+ /**
9
+ * 分类ID
10
+ */
11
+ categoryId?: string;
12
+ /**
13
+ * 分类name
14
+ */
15
+ categoryName?: string;
16
+ /**
17
+ * 文件编码
18
+ */
19
+ code?: string;
20
+ /**
21
+ * 类型(EDHR,在线表单:FORM)
22
+ */
23
+ controlTmplType?: string;
24
+ /**
25
+ * 创建人id
26
+ */
27
+ createUserId?: string;
28
+ /**
29
+ * 创建时间 - 结束
30
+ */
31
+ endCreateTime?: string;
32
+ /**
33
+ * 文件名称
34
+ */
35
+ name?: string;
36
+ /**
37
+ * 页码
38
+ */
39
+ pageNo?: number;
40
+ /**
41
+ * 分页大小
42
+ */
43
+ pageSize?: number;
44
+ /**
45
+ * 排序字段
46
+ */
47
+ sortField?: string;
48
+ /**
49
+ * 排序方式:ASC/DESC, 不传默认 ASC
50
+ */
51
+ sortType?: string;
52
+ /**
53
+ * 创建时间 - 开始
54
+ */
55
+ startCreateTime?: string;
56
+ /**
57
+ * 状态(IN_AUDIT:审核中,ENDED:已退回,FINISHED:已审核)
58
+ */
59
+ status?: string;
60
+ }
61
+ export interface putEffectiveDateIdPathParams {
62
+ id: string;
63
+ }
4
64
  export interface getInfoQuery {
5
65
  /**
6
66
  * id
@@ -52,6 +112,21 @@ export interface getPageListQuery {
52
112
  pageSize?: number;
53
113
  }
54
114
  export interface DocControlStartedService {
115
+ /**
116
+ * 所有数据分页列表
117
+ */
118
+ getAllPageList(
119
+ query: getAllPageListQuery,
120
+ config?: Partial<AxiosRequestConfig>,
121
+ ): Promise<IPage<DocControlStartedResponse>>;
122
+ /**
123
+ * 修改生效日期
124
+ */
125
+ putEffectiveDateId(
126
+ path: putEffectiveDateIdPathParams,
127
+ data: DocControlStartedRequest,
128
+ config?: Partial<AxiosRequestConfig>,
129
+ ): Promise<string>;
55
130
  /**
56
131
  * 详情
57
132
  */
@@ -14,6 +14,14 @@ export interface getAllUserPageListQuery {
14
14
  * 类型(EDHR,在线表单:FORM)
15
15
  */
16
16
  controlTmplType?: string;
17
+ /**
18
+ * 创建人id
19
+ */
20
+ createUserId?: string;
21
+ /**
22
+ * 创建时间 - 结束
23
+ */
24
+ endCreateTime?: string;
17
25
  /**
18
26
  * 文件名称
19
27
  */
@@ -34,6 +42,10 @@ export interface getAllUserPageListQuery {
34
42
  * 排序方式:ASC/DESC, 不传默认 ASC
35
43
  */
36
44
  sortType?: string;
45
+ /**
46
+ * 创建时间 - 开始
47
+ */
48
+ startCreateTime?: string;
37
49
  }
38
50
  export interface getInfoQuery {
39
51
  /**
@@ -87,6 +87,10 @@ export interface getPageListQuery {
87
87
  * 更新人id
88
88
  */
89
89
  modifyUserId?: string;
90
+ /**
91
+ * 模块类型
92
+ */
93
+ module?: string;
90
94
  /**
91
95
  * 操作人
92
96
  */
@@ -137,6 +141,10 @@ export interface getReversePageListQuery {
137
141
  * 工单id
138
142
  */
139
143
  mfgOrderId?: string;
144
+ /**
145
+ * 模块类型
146
+ */
147
+ module?: string;
140
148
  /**
141
149
  * 操作人
142
150
  */
@@ -145,6 +153,10 @@ export interface getReversePageListQuery {
145
153
  * 操作人id
146
154
  */
147
155
  operatorId?: string;
156
+ /**
157
+ * 订单号
158
+ */
159
+ orderNo?: string;
148
160
  /**
149
161
  * 页码
150
162
  */
@@ -161,6 +173,10 @@ export interface getReversePageListQuery {
161
173
  * 记录单号
162
174
  */
163
175
  recordNo?: string;
176
+ /**
177
+ * 关联批次
178
+ */
179
+ relatedLotNo?: string;
164
180
  /**
165
181
  * 排序字段
166
182
  */
@@ -1,8 +1,10 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
2
  import type {
3
3
  OfProcessControlRequest,
4
- EdhrTmplRequest,
4
+ EdhrTmplCommonRequest,
5
5
  EdhrTmplResponse,
6
+ OperatingStateRequest,
7
+ EdhrTmplRequest,
6
8
  } from '../entities';
7
9
 
8
10
  export interface postCopyIdPathParams {
@@ -44,6 +46,9 @@ export interface deleteRemoveVersionByIdQuery {
44
46
  export interface putSetDefaultIdPathParams {
45
47
  id: string;
46
48
  }
49
+ export interface putUpdateOperatingStateIdPathParams {
50
+ id: string;
51
+ }
47
52
  export interface putUpdateVersionByIdIdPathParams {
48
53
  id: string;
49
54
  }
@@ -60,7 +65,7 @@ export interface EdhrTmplService {
60
65
  */
61
66
  postCopyId(
62
67
  path: postCopyIdPathParams,
63
- data: EdhrTmplRequest,
68
+ data: EdhrTmplCommonRequest,
64
69
  config?: Partial<AxiosRequestConfig>,
65
70
  ): Promise<string>;
66
71
  /**
@@ -68,7 +73,7 @@ export interface EdhrTmplService {
68
73
  */
69
74
  postCopyVersionId(
70
75
  path: postCopyVersionIdPathParams,
71
- data: EdhrTmplRequest,
76
+ data: EdhrTmplCommonRequest,
72
77
  config?: Partial<AxiosRequestConfig>,
73
78
  ): Promise<string>;
74
79
  /**
@@ -110,14 +115,14 @@ export interface EdhrTmplService {
110
115
  * 保存
111
116
  */
112
117
  postSave(
113
- data: EdhrTmplRequest,
118
+ data: EdhrTmplCommonRequest,
114
119
  config?: Partial<AxiosRequestConfig>,
115
120
  ): Promise<string>;
116
121
  /**
117
122
  * 保存版本
118
123
  */
119
124
  postSaveVersion(
120
- data: EdhrTmplRequest,
125
+ data: EdhrTmplCommonRequest,
121
126
  config?: Partial<AxiosRequestConfig>,
122
127
  ): Promise<string>;
123
128
  /**
@@ -127,6 +132,14 @@ export interface EdhrTmplService {
127
132
  path: putSetDefaultIdPathParams,
128
133
  config?: Partial<AxiosRequestConfig>,
129
134
  ): Promise<string>;
135
+ /**
136
+ * 修改状态
137
+ */
138
+ putUpdateOperatingStateId(
139
+ path: putUpdateOperatingStateIdPathParams,
140
+ data: OperatingStateRequest,
141
+ config?: Partial<AxiosRequestConfig>,
142
+ ): Promise<string>;
130
143
  /**
131
144
  * 修改版本
132
145
  */
@@ -3,6 +3,7 @@ import type {
3
3
  EnumModelFieldRequest,
4
4
  EnumModelFieldDragRequest,
5
5
  EnumModelFieldResponse,
6
+ EnumModelFieldSortReq,
6
7
  } from '../entities';
7
8
 
8
9
  export interface deleteQuery {
@@ -113,6 +114,13 @@ export interface EnumModelFieldService {
113
114
  query: getPageListQuery,
114
115
  config?: Partial<AxiosRequestConfig>,
115
116
  ): Promise<IPage<EnumModelFieldResponse>>;
117
+ /**
118
+ * 拖拽排序
119
+ */
120
+ postSort(
121
+ data: EnumModelFieldSortReq,
122
+ config?: Partial<AxiosRequestConfig>,
123
+ ): Promise<string>;
116
124
  /**
117
125
  * 修改
118
126
  */
@@ -1,6 +1,10 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import type { AxiosRequestConfig } from 'axios';
3
- import type { ImportModelData, ExcelValidateResponse } from '../entities';
3
+ import type {
4
+ ImportModelData,
5
+ ResponseEntity,
6
+ ExcelValidateResponse,
7
+ } from '../entities';
4
8
 
5
9
  export interface getDataDoImportQuery {
6
10
  /**
@@ -133,7 +137,7 @@ export interface ExcelService {
133
137
  getDataReport(
134
138
  query: getDataReportQuery,
135
139
  config?: Partial<AxiosRequestConfig>,
136
- ): Promise<any>;
140
+ ): Promise<ResponseEntity>;
137
141
  /**
138
142
  * excel数据导入数据校验
139
143
  */
@@ -71,6 +71,20 @@ export interface getPageGetRecycledListQuery {
71
71
  export interface putPageRecycledRestoreFieldIdPathParams {
72
72
  fieldId: string;
73
73
  }
74
+ export interface getRemoveDocumentQuery {
75
+ /**
76
+ * appId
77
+ */
78
+ appId?: string;
79
+ /**
80
+ * branchId
81
+ */
82
+ branchId?: string;
83
+ /**
84
+ * env
85
+ */
86
+ env?: string;
87
+ }
74
88
  export interface putUniqueConstraintAddModelKeyFieldKeyTypePathParams {
75
89
  modelKey: string;
76
90
  fieldKey: string;
@@ -156,6 +170,13 @@ export interface FieldMetaService {
156
170
  data: SequencePreviewRequest,
157
171
  config?: Partial<AxiosRequestConfig>,
158
172
  ): Promise<string[]>;
173
+ /**
174
+ * 移除单据模板字段元数据
175
+ */
176
+ getRemoveDocument(
177
+ query: getRemoveDocumentQuery,
178
+ config?: Partial<AxiosRequestConfig>,
179
+ ): Promise<string>;
159
180
  /**
160
181
  * 字段保存
161
182
  */
@@ -2,6 +2,10 @@ import type { AxiosRequestConfig } from 'axios';
2
2
  import type {} from '../entities';
3
3
 
4
4
  export interface postPdfEncodeQuery {
5
+ /**
6
+ * dpi(越高图片越清晰,转换越慢)
7
+ */
8
+ dpi?: string;
5
9
  /**
6
10
  * pdf相对地址
7
11
  */
@@ -0,0 +1,84 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type {
3
+ InspectionCategoryRequest,
4
+ CategoryDragDTO,
5
+ ResponseEntity,
6
+ InspectionCategoryResponse,
7
+ } from '../entities';
8
+
9
+ export interface deleteQuery {
10
+ /**
11
+ * 删除的分类id
12
+ */
13
+ id: string;
14
+ }
15
+ export interface getInfoQuery {
16
+ /**
17
+ * id
18
+ */
19
+ id: string;
20
+ }
21
+ export interface getPageListQuery {
22
+ /**
23
+ * 页码
24
+ */
25
+ pageNo?: number;
26
+ /**
27
+ * 每页数据条数
28
+ */
29
+ pageSize?: number;
30
+ }
31
+ export interface putIdPathParams {
32
+ id: string;
33
+ }
34
+ export interface InspectionCategoryService {
35
+ /**
36
+ * 保存
37
+ */
38
+ post(
39
+ data: InspectionCategoryRequest,
40
+ config?: Partial<AxiosRequestConfig>,
41
+ ): Promise<string>;
42
+ /**
43
+ * 分类删除
44
+ */
45
+ delete(
46
+ query: deleteQuery,
47
+ config?: Partial<AxiosRequestConfig>,
48
+ ): Promise<string>;
49
+ /**
50
+ * 拖拽
51
+ */
52
+ putDrag(
53
+ data: CategoryDragDTO,
54
+ config?: Partial<AxiosRequestConfig>,
55
+ ): Promise<ResponseEntity>;
56
+ /**
57
+ * 详情
58
+ */
59
+ getInfo(
60
+ query: getInfoQuery,
61
+ config?: Partial<AxiosRequestConfig>,
62
+ ): Promise<InspectionCategoryResponse>;
63
+ /**
64
+ * 列表
65
+ */
66
+ getList(
67
+ config?: Partial<AxiosRequestConfig>,
68
+ ): Promise<InspectionCategoryResponse[]>;
69
+ /**
70
+ * 分页列表
71
+ */
72
+ getPageList(
73
+ query: getPageListQuery,
74
+ config?: Partial<AxiosRequestConfig>,
75
+ ): Promise<IPage<InspectionCategoryResponse>>;
76
+ /**
77
+ * 修改
78
+ */
79
+ putId(
80
+ path: putIdPathParams,
81
+ data: InspectionCategoryRequest,
82
+ config?: Partial<AxiosRequestConfig>,
83
+ ): Promise<string>;
84
+ }
@@ -3,10 +3,11 @@ import type { AxiosRequestConfig } from 'axios';
3
3
  import type {
4
4
  LabelRequest,
5
5
  LabelResponse,
6
- LabelDesigner,
6
+ LabelBtwDesigner,
7
7
  CategoryRdoRelationResponse,
8
8
  LabelNameCheckRequest,
9
9
  FontConfig,
10
+ LabelDesigner,
10
11
  XmlSetting,
11
12
  } from '../entities';
12
13
 
@@ -181,6 +182,13 @@ export interface LabelService {
181
182
  data: LabelRequest,
182
183
  config?: Partial<AxiosRequestConfig>,
183
184
  ): Promise<string>;
185
+ /**
186
+ * btw复制
187
+ */
188
+ postBtwCopy(
189
+ data: LabelRequest,
190
+ config?: Partial<AxiosRequestConfig>,
191
+ ): Promise<string>;
184
192
  /**
185
193
  * btw模板分页列表
186
194
  */
@@ -198,8 +206,8 @@ export interface LabelService {
198
206
  /**
199
207
  * btw标签修改
200
208
  */
201
- putBtwUpdateDesigner(
202
- data: LabelDesigner,
209
+ putBtwUpdate(
210
+ data: LabelBtwDesigner,
203
211
  config?: Partial<AxiosRequestConfig>,
204
212
  ): Promise<string>;
205
213
  /**