@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
@@ -5,6 +5,35 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.apiConfig = void 0;
7
7
  const apiConfig = exports.apiConfig = [{
8
+ name: "medPro",
9
+ entityName: "med-pro",
10
+ apis: [{
11
+ mode: "post",
12
+ method: "postModelMetaDataAssociation",
13
+ path: "modelMeta/dataAssociation",
14
+ hasData: true
15
+ }, {
16
+ mode: "get",
17
+ method: "getModelMetaGetSysConfig",
18
+ path: "modelMeta/getSysConfig",
19
+ hasQuery: true
20
+ }, {
21
+ mode: "get",
22
+ method: "getModelMetaHasDataAssociation",
23
+ path: "modelMeta/hasDataAssociation",
24
+ hasQuery: true
25
+ }, {
26
+ mode: "get",
27
+ method: "getModelMetaModelDataAssociation",
28
+ path: "modelMeta/modelDataAssociation",
29
+ hasQuery: true
30
+ }, {
31
+ mode: "get",
32
+ method: "getEdhrAttachmentGetEdhrAttachment",
33
+ path: "edhrAttachment/getEdhrAttachment",
34
+ hasQuery: true
35
+ }]
36
+ }, {
8
37
  name: "appBranch",
9
38
  entityName: "app-branch",
10
39
  apis: [{
@@ -2051,6 +2080,11 @@ const apiConfig = exports.apiConfig = [{
2051
2080
  method: "postPreview",
2052
2081
  path: "preview",
2053
2082
  hasData: true
2083
+ }, {
2084
+ mode: "get",
2085
+ method: "getRemoveDocument",
2086
+ path: "remove/document",
2087
+ hasQuery: true
2054
2088
  }, {
2055
2089
  mode: "post",
2056
2090
  method: "postSave",
@@ -2314,6 +2348,24 @@ const apiConfig = exports.apiConfig = [{
2314
2348
  hasPathParams: true,
2315
2349
  hasData: true
2316
2350
  }]
2351
+ }, {
2352
+ name: "importReport",
2353
+ entityName: "import-report",
2354
+ apis: [{
2355
+ mode: "get",
2356
+ method: "getInfo",
2357
+ path: "info",
2358
+ hasQuery: true
2359
+ }, {
2360
+ mode: "get",
2361
+ method: "getList",
2362
+ path: "list"
2363
+ }, {
2364
+ mode: "get",
2365
+ method: "getPageList",
2366
+ path: "page/list",
2367
+ hasQuery: true
2368
+ }]
2317
2369
  }, {
2318
2370
  name: "instanceRelation",
2319
2371
  entityName: "instance-relation",
@@ -2464,6 +2516,11 @@ const apiConfig = exports.apiConfig = [{
2464
2516
  method: "postBtw",
2465
2517
  path: "btw",
2466
2518
  hasData: true
2519
+ }, {
2520
+ mode: "post",
2521
+ method: "postBtwCopy",
2522
+ path: "btw/copy",
2523
+ hasData: true
2467
2524
  }, {
2468
2525
  mode: "get",
2469
2526
  method: "getBtwPageList",
@@ -2476,8 +2533,8 @@ const apiConfig = exports.apiConfig = [{
2476
2533
  hasQuery: true
2477
2534
  }, {
2478
2535
  mode: "put",
2479
- method: "putBtwUpdateDesigner",
2480
- path: "btw/updateDesigner",
2536
+ method: "putBtwUpdate",
2537
+ path: "btw/update",
2481
2538
  hasData: true
2482
2539
  }, {
2483
2540
  mode: "post",
@@ -3177,6 +3234,11 @@ const apiConfig = exports.apiConfig = [{
3177
3234
  method: "getPermissionEnabledList",
3178
3235
  path: "permission-enabled/list",
3179
3236
  hasQuery: true
3237
+ }, {
3238
+ mode: "get",
3239
+ method: "getPermissionRelation",
3240
+ path: "permission/relation",
3241
+ hasQuery: true
3180
3242
  }, {
3181
3243
  mode: "post",
3182
3244
  method: "postSave",
@@ -3381,6 +3443,31 @@ const apiConfig = exports.apiConfig = [{
3381
3443
  method: "getAppendixFormList",
3382
3444
  path: "appendix/form/list",
3383
3445
  hasQuery: true
3446
+ }, {
3447
+ mode: "post",
3448
+ method: "postDataCollectionAbandon",
3449
+ path: "data-collection/abandon",
3450
+ hasData: true
3451
+ }, {
3452
+ mode: "post",
3453
+ method: "postDataCollectionCreate",
3454
+ path: "data-collection/create",
3455
+ hasData: true
3456
+ }, {
3457
+ mode: "get",
3458
+ method: "getDataCollectionListAll",
3459
+ path: "data-collection/listAll",
3460
+ hasQuery: true
3461
+ }, {
3462
+ mode: "post",
3463
+ method: "postDataCollectionUpdateAlias",
3464
+ path: "data-collection/update-alias",
3465
+ hasData: true
3466
+ }, {
3467
+ mode: "post",
3468
+ method: "postDataCollectionUpdateStatus",
3469
+ path: "data-collection/update-status",
3470
+ hasData: true
3384
3471
  }, {
3385
3472
  mode: "get",
3386
3473
  method: "getDataIds",
@@ -3769,6 +3856,11 @@ const apiConfig = exports.apiConfig = [{
3769
3856
  mode: "get",
3770
3857
  method: "getDataInitProtocolList",
3771
3858
  path: "data-init/protocol/list"
3859
+ }, {
3860
+ mode: "post",
3861
+ method: "postPartialSubmit",
3862
+ path: "partialSubmit",
3863
+ hasData: true
3772
3864
  }, {
3773
3865
  mode: "post",
3774
3866
  method: "postProcessAbandon",
@@ -5590,6 +5682,15 @@ const apiConfig = exports.apiConfig = [{
5590
5682
  hasQuery: true,
5591
5683
  hasData: true
5592
5684
  }]
5685
+ }, {
5686
+ name: "ss",
5687
+ entityName: "ss",
5688
+ apis: [{
5689
+ mode: "post",
5690
+ method: "postUploadExcel",
5691
+ path: "upload/excel",
5692
+ hasQuery: true
5693
+ }]
5593
5694
  }, {
5594
5695
  name: "stash",
5595
5696
  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
  */