@gct-paas/api 0.1.0-word.3 → 0.1.0

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 (37) hide show
  1. package/dist/gct-api.esm.min.js +1 -1
  2. package/dist/gct-api.system.min.js +1 -1
  3. package/es/apaas/service/api-config.mjs +127 -2
  4. package/es/apaas/service/apis/app-global-settings.service.d.ts +0 -4
  5. package/es/apaas/service/apis/category.service.d.ts +16 -0
  6. package/es/apaas/service/apis/excel.service.d.ts +6 -2
  7. package/es/apaas/service/apis/field-meta.service.d.ts +21 -0
  8. package/es/apaas/service/apis/label.service.d.ts +11 -3
  9. package/es/apaas/service/apis/model-meta.service.d.ts +15 -1
  10. package/es/apaas/service/apis/online-form-instance.service.d.ts +45 -0
  11. package/es/apaas/service/apis/online-form.service.d.ts +8 -1
  12. package/es/apaas/service/entities.d.ts +347 -1
  13. package/es/apaas/service/index.d.ts +6 -0
  14. package/es/ipaas/service/api-config.mjs +5 -0
  15. package/es/ipaas/service/apis/flow.service.d.ts +12 -1
  16. package/es/ipaas/service/entities.d.ts +26 -0
  17. package/es/platform/service/api-config.mjs +0 -6
  18. package/es/platform/service/apis/api.service.d.ts +0 -13
  19. package/es/platform/service/apis/app.service.d.ts +4 -0
  20. package/lib/apaas/service/api-config.cjs +103 -2
  21. package/lib/apaas/service/apis/app-global-settings.service.d.ts +0 -4
  22. package/lib/apaas/service/apis/category.service.d.ts +16 -0
  23. package/lib/apaas/service/apis/excel.service.d.ts +6 -2
  24. package/lib/apaas/service/apis/field-meta.service.d.ts +21 -0
  25. package/lib/apaas/service/apis/label.service.d.ts +11 -3
  26. package/lib/apaas/service/apis/model-meta.service.d.ts +15 -1
  27. package/lib/apaas/service/apis/online-form-instance.service.d.ts +45 -0
  28. package/lib/apaas/service/apis/online-form.service.d.ts +8 -1
  29. package/lib/apaas/service/entities.d.ts +347 -1
  30. package/lib/apaas/service/index.d.ts +6 -0
  31. package/lib/ipaas/service/api-config.cjs +4 -0
  32. package/lib/ipaas/service/apis/flow.service.d.ts +12 -1
  33. package/lib/ipaas/service/entities.d.ts +26 -0
  34. package/lib/platform/service/api-config.cjs +0 -5
  35. package/lib/platform/service/apis/api.service.d.ts +0 -13
  36. package/lib/platform/service/apis/app.service.d.ts +4 -0
  37. package/package.json +11 -4
@@ -1,4 +1,40 @@
1
1
  export const apiConfig = [
2
+ {
3
+ name: "medPro",
4
+ entityName: "med-pro",
5
+ apis: [
6
+ {
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: "get",
32
+ method: "getEdhrAttachmentGetEdhrAttachment",
33
+ path: "edhrAttachment/getEdhrAttachment",
34
+ hasQuery: true
35
+ }
36
+ ]
37
+ },
2
38
  {
3
39
  name: "appBranch",
4
40
  entityName: "app-branch",
@@ -2518,6 +2554,12 @@ export const apiConfig = [
2518
2554
  path: "preview",
2519
2555
  hasData: true
2520
2556
  },
2557
+ {
2558
+ mode: "get",
2559
+ method: "getRemoveDocument",
2560
+ path: "remove/document",
2561
+ hasQuery: true
2562
+ },
2521
2563
  {
2522
2564
  mode: "post",
2523
2565
  method: "postSave",
@@ -2845,6 +2887,29 @@ export const apiConfig = [
2845
2887
  }
2846
2888
  ]
2847
2889
  },
2890
+ {
2891
+ name: "importReport",
2892
+ entityName: "import-report",
2893
+ apis: [
2894
+ {
2895
+ mode: "get",
2896
+ method: "getInfo",
2897
+ path: "info",
2898
+ hasQuery: true
2899
+ },
2900
+ {
2901
+ mode: "get",
2902
+ method: "getList",
2903
+ path: "list"
2904
+ },
2905
+ {
2906
+ mode: "get",
2907
+ method: "getPageList",
2908
+ path: "page/list",
2909
+ hasQuery: true
2910
+ }
2911
+ ]
2912
+ },
2848
2913
  {
2849
2914
  name: "instanceRelation",
2850
2915
  entityName: "instance-relation",
@@ -3031,6 +3096,12 @@ export const apiConfig = [
3031
3096
  path: "btw",
3032
3097
  hasData: true
3033
3098
  },
3099
+ {
3100
+ mode: "post",
3101
+ method: "postBtwCopy",
3102
+ path: "btw/copy",
3103
+ hasData: true
3104
+ },
3034
3105
  {
3035
3106
  mode: "get",
3036
3107
  method: "getBtwPageList",
@@ -3045,8 +3116,8 @@ export const apiConfig = [
3045
3116
  },
3046
3117
  {
3047
3118
  mode: "put",
3048
- method: "putBtwUpdateDesigner",
3049
- path: "btw/updateDesigner",
3119
+ method: "putBtwUpdate",
3120
+ path: "btw/update",
3050
3121
  hasData: true
3051
3122
  },
3052
3123
  {
@@ -3897,6 +3968,12 @@ export const apiConfig = [
3897
3968
  path: "permission-enabled/list",
3898
3969
  hasQuery: true
3899
3970
  },
3971
+ {
3972
+ mode: "get",
3973
+ method: "getPermissionRelation",
3974
+ path: "permission/relation",
3975
+ hasQuery: true
3976
+ },
3900
3977
  {
3901
3978
  mode: "post",
3902
3979
  method: "postSave",
@@ -4152,6 +4229,36 @@ export const apiConfig = [
4152
4229
  path: "appendix/form/list",
4153
4230
  hasQuery: true
4154
4231
  },
4232
+ {
4233
+ mode: "post",
4234
+ method: "postDataCollectionAbandon",
4235
+ path: "data-collection/abandon",
4236
+ hasData: true
4237
+ },
4238
+ {
4239
+ mode: "post",
4240
+ method: "postDataCollectionCreate",
4241
+ path: "data-collection/create",
4242
+ hasData: true
4243
+ },
4244
+ {
4245
+ mode: "get",
4246
+ method: "getDataCollectionListAll",
4247
+ path: "data-collection/listAll",
4248
+ hasQuery: true
4249
+ },
4250
+ {
4251
+ mode: "post",
4252
+ method: "postDataCollectionUpdateAlias",
4253
+ path: "data-collection/update-alias",
4254
+ hasData: true
4255
+ },
4256
+ {
4257
+ mode: "post",
4258
+ method: "postDataCollectionUpdateStatus",
4259
+ path: "data-collection/update-status",
4260
+ hasData: true
4261
+ },
4155
4262
  {
4156
4263
  mode: "get",
4157
4264
  method: "getDataIds",
@@ -4621,6 +4728,12 @@ export const apiConfig = [
4621
4728
  method: "getDataInitProtocolList",
4622
4729
  path: "data-init/protocol/list"
4623
4730
  },
4731
+ {
4732
+ mode: "post",
4733
+ method: "postPartialSubmit",
4734
+ path: "partialSubmit",
4735
+ hasData: true
4736
+ },
4624
4737
  {
4625
4738
  mode: "post",
4626
4739
  method: "postProcessAbandon",
@@ -6870,6 +6983,18 @@ export const apiConfig = [
6870
6983
  }
6871
6984
  ]
6872
6985
  },
6986
+ {
6987
+ name: "ss",
6988
+ entityName: "ss",
6989
+ apis: [
6990
+ {
6991
+ mode: "post",
6992
+ method: "postUploadExcel",
6993
+ path: "upload/excel",
6994
+ hasQuery: true
6995
+ }
6996
+ ]
6997
+ },
6873
6998
  {
6874
6999
  name: "stash",
6875
7000
  entityName: "stash",
@@ -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
  */
@@ -34,6 +34,10 @@ export interface getListQuery {
34
34
  * 结束时间
35
35
  */
36
36
  endTime?: string;
37
+ /**
38
+ * 所属模块(实体、枚举、web页面)
39
+ */
40
+ module?: string;
37
41
  /**
38
42
  * 应用名称
39
43
  */
@@ -104,6 +108,10 @@ export interface getListCompleteQuery {
104
108
  *
105
109
  */
106
110
  modifyUserName?: string;
111
+ /**
112
+ * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
113
+ */
114
+ module?: string;
107
115
  /**
108
116
  *
109
117
  */
@@ -174,6 +182,10 @@ export interface getPageQuery {
174
182
  *
175
183
  */
176
184
  modifyUserName?: string;
185
+ /**
186
+ * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
187
+ */
188
+ module?: string;
177
189
  /**
178
190
  *
179
191
  */
@@ -212,6 +224,10 @@ export interface getPageListQuery {
212
224
  * 结束时间
213
225
  */
214
226
  endTime?: string;
227
+ /**
228
+ * 所属模块(实体、枚举、web页面)
229
+ */
230
+ module?: string;
215
231
  /**
216
232
  * 应用名称
217
233
  */
@@ -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
  */
@@ -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
  /**
@@ -6,6 +6,7 @@ import type {
6
6
  ModelMetaDTO,
7
7
  TableMetaER,
8
8
  ModelField,
9
+ ModelBriefInfo,
9
10
  ModelMetaVO,
10
11
  } from '../entities';
11
12
 
@@ -129,6 +130,12 @@ export interface getPermissionEnabledListQuery {
129
130
  */
130
131
  type?: string;
131
132
  }
133
+ export interface getPermissionRelationQuery {
134
+ /**
135
+ * 搜索关键字
136
+ */
137
+ keyword?: string;
138
+ }
132
139
  export interface putSupportMessageModelKeyEnabledPathParams {
133
140
  modelKey: string;
134
141
  enabled: string;
@@ -290,6 +297,13 @@ export interface ModelMetaService {
290
297
  query: getPermissionEnabledListQuery,
291
298
  config?: Partial<AxiosRequestConfig>,
292
299
  ): Promise<ModelMetaResponse[]>;
300
+ /**
301
+ * 查询配置过数据权限的模型列表
302
+ */
303
+ getPermissionRelation(
304
+ query: getPermissionRelationQuery,
305
+ config?: Partial<AxiosRequestConfig>,
306
+ ): Promise<ModelBriefInfo[]>;
293
307
  /**
294
308
  * 实体模型保存
295
309
  */
@@ -323,7 +337,7 @@ export interface ModelMetaService {
323
337
  getUnrelatedList(
324
338
  query: getUnrelatedListQuery,
325
339
  config?: Partial<AxiosRequestConfig>,
326
- ): Promise<ModelMetaResponse[]>;
340
+ ): Promise<ModelBriefInfo[]>;
327
341
  /**
328
342
  * 实体模型编辑
329
343
  */
@@ -2,6 +2,10 @@ import type { AxiosRequestConfig } from 'axios';
2
2
  import type {
3
3
  OnlineFormInstanceRequest,
4
4
  OnlineFormInstanceResponse,
5
+ DataCollectionInstanceAbandonRequest,
6
+ DataCollectionOnlineFormInstanceRequest,
7
+ DataCollectionOnlineFormInstanceUpdateRequest,
8
+ DataCollectionTaskUpdateStatusRequest,
5
9
  OnlineFormInstanceTmplRelationResponse,
6
10
  OnlineFormInstance,
7
11
  OnlineFormInstanceRelationInfoResponse,
@@ -30,6 +34,12 @@ export interface getAppendixFormListQuery {
30
34
  */
31
35
  mfgOrderId?: string;
32
36
  }
37
+ export interface getDataCollectionListAllQuery {
38
+ /**
39
+ * dataCollectionTaskId
40
+ */
41
+ dataCollectionTaskId: string;
42
+ }
33
43
  export interface getDataIdsQuery {
34
44
  /**
35
45
  * 物料编号/或批次ID
@@ -547,6 +557,41 @@ export interface OnlineFormInstanceService {
547
557
  query: getAppendixFormListQuery,
548
558
  config?: Partial<AxiosRequestConfig>,
549
559
  ): Promise<OnlineFormInstanceResponse[]>;
560
+ /**
561
+ * 作废表单
562
+ */
563
+ postDataCollectionAbandon(
564
+ data: DataCollectionInstanceAbandonRequest,
565
+ config?: Partial<AxiosRequestConfig>,
566
+ ): Promise<boolean>;
567
+ /**
568
+ * 创建数据采集表单实例
569
+ */
570
+ postDataCollectionCreate(
571
+ data: DataCollectionOnlineFormInstanceRequest,
572
+ config?: Partial<AxiosRequestConfig>,
573
+ ): Promise<string>;
574
+ /**
575
+ * 根据数据采集任务id获取所有表单实例
576
+ */
577
+ getDataCollectionListAll(
578
+ query: getDataCollectionListAllQuery,
579
+ config?: Partial<AxiosRequestConfig>,
580
+ ): Promise<OnlineFormInstanceResponse[]>;
581
+ /**
582
+ * 更新表单实例别名
583
+ */
584
+ postDataCollectionUpdateAlias(
585
+ data: DataCollectionOnlineFormInstanceUpdateRequest,
586
+ config?: Partial<AxiosRequestConfig>,
587
+ ): Promise<string>;
588
+ /**
589
+ * 更新数据采集任务状态
590
+ */
591
+ postDataCollectionUpdateStatus(
592
+ data: DataCollectionTaskUpdateStatusRequest,
593
+ config?: Partial<AxiosRequestConfig>,
594
+ ): Promise<boolean>;
550
595
  /**
551
596
  * (EDHR 查询sheet数据Id) 根据在线表单id,业务标志ID(批次)查询填报数据ID 集合
552
597
  */
@@ -5,6 +5,7 @@ import type {
5
5
  ModelMultiRow,
6
6
  FieldMeta,
7
7
  OnlineFormDataInitProtocolDTO,
8
+ OnlineFormStashRequest,
8
9
  OfProcessAbandonRequest,
9
10
  OfProcessApproveRequest,
10
11
  OfProcessQualifiedRequest,
@@ -18,7 +19,6 @@ import type {
18
19
  OfProcessResubmitRequest,
19
20
  OfProcessReturnRequest,
20
21
  OfProcessSubmitRequest,
21
- OnlineFormStashRequest,
22
22
  } from '../entities';
23
23
 
24
24
  export interface getDataInitProtocolDataQuery {
@@ -72,6 +72,13 @@ export interface OnlineFormService {
72
72
  getDataInitProtocolList(
73
73
  config?: Partial<AxiosRequestConfig>,
74
74
  ): Promise<OnlineFormDataInitProtocolDTO[]>;
75
+ /**
76
+ * 部分提交(Medpro用)
77
+ */
78
+ postPartialSubmit(
79
+ data: OnlineFormStashRequest,
80
+ config?: Partial<AxiosRequestConfig>,
81
+ ): Promise<string>;
75
82
  /**
76
83
  * 表单作废
77
84
  */