@gct-paas/api 0.1.4-test.0 → 0.1.5-dev.1

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 (58) hide show
  1. package/dist/index.esm.min.js +4 -1
  2. package/dist/index.system.min.js +4 -1
  3. package/es/apaas/service/api-config.mjs +111 -89
  4. package/es/apaas/service/apis/app-global-settings.service.d.ts +0 -4
  5. package/es/apaas/service/apis/audit-log.service.d.ts +1 -1
  6. package/es/apaas/service/apis/data-source.service.d.ts +4 -0
  7. package/es/apaas/service/apis/designer-common.service.d.ts +2 -2
  8. package/es/apaas/service/apis/edhr-instance.service.d.ts +12 -0
  9. package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
  10. package/es/apaas/service/apis/file-resource.service.d.ts +1 -1
  11. package/es/apaas/service/apis/file.service.d.ts +5 -1
  12. package/es/apaas/service/apis/i18n-info.service.d.ts +1 -1
  13. package/es/apaas/service/apis/label.service.d.ts +1 -1
  14. package/es/apaas/service/apis/medPro.service.d.ts +45 -17
  15. package/es/apaas/service/apis/model-method.service.d.ts +19 -1
  16. package/es/apaas/service/apis/office.service.d.ts +1 -1
  17. package/es/apaas/service/apis/online-form-instance.service.d.ts +28 -0
  18. package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +1 -1
  19. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +4 -0
  20. package/es/apaas/service/apis/process-task-done.service.d.ts +4 -0
  21. package/es/apaas/service/apis/process-task-todo.service.d.ts +8 -0
  22. package/es/apaas/service/entities.d.ts +189 -1
  23. package/es/apaas/service/index.d.ts +1 -1
  24. package/es/ipaas/service/api-config.mjs +6 -4
  25. package/es/ipaas/service/apis/connector-config.service.d.ts +1 -1
  26. package/es/ipaas/service/apis/flow.service.d.ts +1 -1
  27. package/es/platform/service/api-config.mjs +110 -59
  28. package/es/platform/service/apis/api.service.d.ts +32 -8
  29. package/es/platform/service/apis/apk.service.d.ts +1 -1
  30. package/es/platform/service/apis/app.service.d.ts +1 -1
  31. package/es/platform/service/apis/assets.service.d.ts +1 -1
  32. package/es/platform/service/apis/bi-file.service.d.ts +1 -1
  33. package/es/platform/service/apis/dashboard.service.d.ts +4 -0
  34. package/es/platform/service/apis/device-interconnection-param.service.d.ts +1 -1
  35. package/es/platform/service/apis/device-interconnection.service.d.ts +1 -1
  36. package/es/platform/service/apis/file-task.service.d.ts +13 -0
  37. package/es/platform/service/apis/file.service.d.ts +3 -3
  38. package/es/platform/service/apis/i18n-info.service.d.ts +1 -1
  39. package/es/platform/service/apis/ldap.service.d.ts +1 -1
  40. package/es/platform/service/apis/license.service.d.ts +1 -10
  41. package/es/platform/service/apis/login-log.service.d.ts +13 -0
  42. package/es/platform/service/apis/plat.service.d.ts +8 -1
  43. package/es/platform/service/apis/pn-project.service.d.ts +1 -1
  44. package/es/platform/service/apis/user.service.d.ts +6 -6
  45. package/es/platform/service/entities.d.ts +499 -62
  46. package/es/service/api-service.d.ts +13 -0
  47. package/es/service/api-service.interface.d.ts +6 -0
  48. package/es/service/api-service.mjs +26 -1
  49. package/es/service/http.util.d.ts +7 -0
  50. package/es/service/http.util.mjs +10 -2
  51. package/es/service/index.mjs +2 -0
  52. package/es/service/request.client.d.ts +6 -0
  53. package/es/service/request.client.mjs +35 -0
  54. package/es/utils/index.d.ts +1 -0
  55. package/es/utils/index.mjs +1 -0
  56. package/es/utils/native-http/native-http.d.ts +6 -0
  57. package/es/utils/native-http/native-http.mjs +63 -0
  58. package/package.json +4 -3
@@ -29,10 +29,6 @@ export interface getListQuery {
29
29
  * 查询全量信息时传 true,否则只查询简要信息
30
30
  */
31
31
  fullInfo?: boolean;
32
- /**
33
- * 来源
34
- */
35
- source?: string;
36
32
  /**
37
33
  * 类型
38
34
  */
@@ -17,7 +17,7 @@ export interface getOperateTypesQuery {
17
17
  /**
18
18
  * 功能模块
19
19
  */
20
- module: string;
20
+ moduleType: string;
21
21
  }
22
22
  export interface AuditLogService {
23
23
  /**
@@ -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
  */
@@ -435,14 +435,14 @@ export interface DesignerCommonService {
435
435
  query: postUploadFileQuery,
436
436
  data: UploadFileData,
437
437
  config?: Partial<AxiosRequestConfig>,
438
- ): Promise<string>;
438
+ ): Promise<IHttpResponse<string>>;
439
439
  /**
440
440
  * 上传标签图片
441
441
  */
442
442
  postUploadLabelImage(
443
443
  data: UploadFileData,
444
444
  config?: Partial<AxiosRequestConfig>,
445
- ): Promise<string>;
445
+ ): Promise<IHttpResponse<string>>;
446
446
  /**
447
447
  * 获取用户角色权限组
448
448
  */
@@ -27,6 +27,10 @@ export interface getFindMaterialNoQuery {
27
27
  * 批次号
28
28
  */
29
29
  materialNo?: string;
30
+ /**
31
+ * 模块类型
32
+ */
33
+ module?: string;
30
34
  /**
31
35
  * 页码
32
36
  */
@@ -145,6 +149,10 @@ export interface getReversePageListQuery {
145
149
  * 操作人id
146
150
  */
147
151
  operatorId?: string;
152
+ /**
153
+ * 订单号
154
+ */
155
+ orderNo?: string;
148
156
  /**
149
157
  * 页码
150
158
  */
@@ -183,6 +191,10 @@ export interface getRunningPageQuery {
183
191
  * 批次号
184
192
  */
185
193
  materialNo?: string;
194
+ /**
195
+ * 模块类型
196
+ */
197
+ module?: string;
186
198
  /**
187
199
  * 页码
188
200
  */
@@ -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
  */
@@ -37,5 +37,5 @@ export interface FileResourceService {
37
37
  query: postUploadQuery,
38
38
  data: UploadFileData,
39
39
  config?: Partial<AxiosRequestConfig>,
40
- ): Promise<string>;
40
+ ): Promise<IHttpResponse<string>>;
41
41
  }
@@ -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
  */
@@ -41,5 +45,5 @@ export interface FileService {
41
45
  query: postUploadImageQuery,
42
46
  data: UploadFileData,
43
47
  config?: Partial<AxiosRequestConfig>,
44
- ): Promise<string>;
48
+ ): Promise<IHttpResponse<string>>;
45
49
  }
@@ -66,7 +66,7 @@ export interface I18NInfoService {
66
66
  query: postLangUploadQuery,
67
67
  data: UploadFileData,
68
68
  config?: Partial<AxiosRequestConfig>,
69
- ): Promise<object>;
69
+ ): Promise<IHttpResponse<object>>;
70
70
  /**
71
71
  * 分页列表
72
72
  */
@@ -262,7 +262,7 @@ export interface LabelService {
262
262
  postImport(
263
263
  data: UploadFileData,
264
264
  config?: Partial<AxiosRequestConfig>,
265
- ): Promise<LabelResponse>;
265
+ ): Promise<IHttpResponse<LabelResponse>>;
266
266
  /**
267
267
  * 标签和分类树
268
268
  */
@@ -6,43 +6,71 @@ import type {
6
6
  } from '../entities';
7
7
 
8
8
  export interface getModelMetaGetSysConfigQuery {
9
- key: string; // key
9
+ /**
10
+ * key
11
+ */
12
+ key: string;
10
13
  }
11
14
  export interface getModelMetaHasDataAssociationQuery {
12
- id: string; // id
13
- modelKey: string; // modelKey
15
+ /**
16
+ * id
17
+ */
18
+ id: string;
19
+ /**
20
+ * modelKey
21
+ */
22
+ modelKey: string;
14
23
  }
15
24
  export interface getModelMetaModelDataAssociationQuery {
16
- id: string; // id
17
- modelKey: string; // modelKey
25
+ /**
26
+ * id
27
+ */
28
+ id: string;
29
+ /**
30
+ * modelKey
31
+ */
32
+ modelKey: string;
18
33
  }
19
34
  export interface getEdhrAttachmentGetEdhrAttachmentQuery {
20
- materialNo: string; // materialNo
35
+ /**
36
+ * materialNo
37
+ */
38
+ materialNo: string;
21
39
  }
22
- export interface MedproService {
23
- // 关联模型数据查询
40
+ export interface MedProService {
41
+ /**
42
+ * 关联模型数据查询
43
+ */
24
44
  postModelMetaDataAssociation(
25
45
  data: modelDataAssociationRequest,
26
46
  config?: Partial<AxiosRequestConfig>,
27
- ): Promise<IHttpResponse<object>>;
28
- // 获取系统配置
47
+ ): Promise<object>;
48
+ /**
49
+ * 获取系统配置
50
+ */
29
51
  getModelMetaGetSysConfig(
30
52
  query: getModelMetaGetSysConfigQuery,
31
53
  config?: Partial<AxiosRequestConfig>,
32
- ): Promise<IHttpResponse<boolean>>;
33
- // 存在关联数据
54
+ ): Promise<boolean>;
55
+ /**
56
+ * 存在关联数据
57
+ */
34
58
  getModelMetaHasDataAssociation(
35
59
  query: getModelMetaHasDataAssociationQuery,
36
60
  config?: Partial<AxiosRequestConfig>,
37
- ): Promise<IHttpResponse<boolean>>;
38
- // 关联数据信息列表
61
+ ): Promise<boolean>;
62
+ /**
63
+ * 关联数据信息列表
64
+ */
39
65
  getModelMetaModelDataAssociation(
40
66
  query: getModelMetaModelDataAssociationQuery,
41
67
  config?: Partial<AxiosRequestConfig>,
42
- ): Promise<IHttpResponse<ModelAssociationResponse[]>>;
43
- // 获取Edhr附录接口
68
+ ): Promise<ModelAssociationResponse[]>;
69
+ /**
70
+ * 获取Edhr附录接口
71
+ */
44
72
  getEdhrAttachmentGetEdhrAttachment(
45
73
  query: getEdhrAttachmentGetEdhrAttachmentQuery,
46
74
  config?: Partial<AxiosRequestConfig>,
47
- ): Promise<IHttpResponse<OnlineFormInstance[]>>;
75
+ ): Promise<OnlineFormInstance[]>;
48
76
  }
@@ -7,6 +7,12 @@ export interface deleteQuery {
7
7
  */
8
8
  ids: string;
9
9
  }
10
+ export interface getDataModelListQuery {
11
+ /**
12
+ * 搜索关键字
13
+ */
14
+ keyword?: string;
15
+ }
10
16
  export interface getInfoQuery {
11
17
  /**
12
18
  * id
@@ -15,7 +21,11 @@ export interface getInfoQuery {
15
21
  }
16
22
  export interface getListQuery {
17
23
  /**
18
- * modelKey
24
+ * 搜索关键字
25
+ */
26
+ keyword?: string;
27
+ /**
28
+ * 模型key
19
29
  */
20
30
  modelKey: string;
21
31
  }
@@ -29,6 +39,12 @@ export interface getPageListQuery {
29
39
  */
30
40
  pageSize?: number;
31
41
  }
42
+ export interface getViewModelListQuery {
43
+ /**
44
+ * 搜索关键字
45
+ */
46
+ keyword?: string;
47
+ }
32
48
  export interface putIdPathParams {
33
49
  id: string;
34
50
  }
@@ -51,6 +67,7 @@ export interface ModelMethodService {
51
67
  * 数据模型方法列表
52
68
  */
53
69
  getDataModelList(
70
+ query: getDataModelListQuery,
54
71
  config?: Partial<AxiosRequestConfig>,
55
72
  ): Promise<ModelMethodResponse[]>;
56
73
  /**
@@ -78,6 +95,7 @@ export interface ModelMethodService {
78
95
  * 视图模型方法列表
79
96
  */
80
97
  getViewModelList(
98
+ query: getViewModelListQuery,
81
99
  config?: Partial<AxiosRequestConfig>,
82
100
  ): Promise<ModelMethodResponse[]>;
83
101
  /**
@@ -6,5 +6,5 @@ export interface OfficeService {
6
6
  postDocxJson(
7
7
  data: UploadFileData,
8
8
  config?: Partial<AxiosRequestConfig>,
9
- ): Promise<string>;
9
+ ): Promise<IHttpResponse<string>>;
10
10
  }
@@ -33,6 +33,10 @@ export interface getAppendixFormListQuery {
33
33
  * 工单ID
34
34
  */
35
35
  mfgOrderId?: string;
36
+ /**
37
+ * 模块类型
38
+ */
39
+ module?: string;
36
40
  }
37
41
  export interface getDataCollectionListAllQuery {
38
42
  /**
@@ -59,6 +63,10 @@ export interface getDetailQuery {
59
63
  * id
60
64
  */
61
65
  id: string;
66
+ /**
67
+ * nodeKey
68
+ */
69
+ nodeKey?: string;
62
70
  /**
63
71
  * routingOperationId
64
72
  */
@@ -77,6 +85,10 @@ export interface getDhrFormListQuery {
77
85
  * 工单ID
78
86
  */
79
87
  mfgOrderId?: string;
88
+ /**
89
+ * 模块类型
90
+ */
91
+ module?: string;
80
92
  /**
81
93
  * 类型(production/rework)
82
94
  */
@@ -91,6 +103,10 @@ export interface getFindByMaterialNoQuery {
91
103
  * mfgOrderId
92
104
  */
93
105
  mfgOrderId?: string;
106
+ /**
107
+ * module
108
+ */
109
+ module?: string;
94
110
  }
95
111
  export interface getFindByMaterialNoAndDocOutlineIdQuery {
96
112
  /**
@@ -285,6 +301,10 @@ export interface getPageListQuery {
285
301
  * 状态
286
302
  */
287
303
  instanceStatus?: string;
304
+ /**
305
+ * 状态不等于
306
+ */
307
+ instanceStatusNe?: string;
288
308
  /**
289
309
  * 更新人id
290
310
  */
@@ -379,6 +399,10 @@ export interface getRelateFormPageListQuery {
379
399
  * Lot/SN 编号
380
400
  */
381
401
  materialNo: string;
402
+ /**
403
+ * 模块类型
404
+ */
405
+ module?: string;
382
406
  /**
383
407
  * 页码
384
408
  */
@@ -415,6 +439,10 @@ export interface getReverseTracePageListQuery {
415
439
  * 填报人
416
440
  */
417
441
  operatorId?: string;
442
+ /**
443
+ * 订单号
444
+ */
445
+ orderNo?: string;
418
446
  /**
419
447
  * 页码
420
448
  */
@@ -26,5 +26,5 @@ export interface OnlineFormTmplExportService {
26
26
  query: postImportJsonlQuery,
27
27
  data: UploadFileData,
28
28
  config?: Partial<AxiosRequestConfig>,
29
- ): Promise<ImportResponse>;
29
+ ): Promise<IHttpResponse<ImportResponse>>;
30
30
  }
@@ -203,6 +203,10 @@ export interface OnlineFormTmplService {
203
203
  data: DocumentInfo4Req,
204
204
  config?: Partial<AxiosRequestConfig>,
205
205
  ): Promise<OnlineFormTmplResponse[]>;
206
+ /**
207
+ * 是否包含OCR模块权限
208
+ */
209
+ getIsOcrGranted(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
206
210
  /**
207
211
  * 获取所有基础表单和流程表单
208
212
  */
@@ -118,6 +118,10 @@ export interface getPageListQuery {
118
118
  * 任务类型
119
119
  */
120
120
  taskType?: string;
121
+ /**
122
+ *
123
+ */
124
+ taskTypeList?: string[];
121
125
  /**
122
126
  * 表单任务名称
123
127
  */
@@ -118,6 +118,10 @@ export interface getAllUserPageListQuery {
118
118
  * 任务类型
119
119
  */
120
120
  taskType?: string;
121
+ /**
122
+ *
123
+ */
124
+ taskTypeList?: string[];
121
125
  /**
122
126
  * 表单任务名称
123
127
  */
@@ -236,6 +240,10 @@ export interface getPageListQuery {
236
240
  * 任务类型
237
241
  */
238
242
  taskType?: string;
243
+ /**
244
+ *
245
+ */
246
+ taskTypeList?: string[];
239
247
  /**
240
248
  * 表单任务名称
241
249
  */