@gct-paas/api 0.1.6-dev.11 → 0.1.6-dev.12

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 (27) hide show
  1. package/dist/index.esm.min.js +1 -1
  2. package/es/apaas/service/api-config.mjs +183 -103
  3. package/es/apaas/service/apis/api.service.d.ts +5 -2
  4. package/es/apaas/service/apis/app-global-settings.service.d.ts +0 -4
  5. package/es/apaas/service/apis/app-org.service.d.ts +0 -4
  6. package/es/apaas/service/apis/category.service.d.ts +16 -0
  7. package/es/apaas/service/apis/chat.service.d.ts +1 -2
  8. package/es/apaas/service/apis/excel-tmpl.service.d.ts +8 -0
  9. package/es/apaas/service/apis/excel.service.d.ts +2 -4
  10. package/es/apaas/service/apis/field-meta.service.d.ts +13 -0
  11. package/es/apaas/service/apis/medPro.service.d.ts +0 -108
  12. package/es/apaas/service/apis/model-meta.service.d.ts +17 -0
  13. package/es/apaas/service/apis/online-form-instance.service.d.ts +0 -4
  14. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +1 -18
  15. package/es/apaas/service/apis/print.service.d.ts +1 -1
  16. package/es/apaas/service/apis/ss.service.d.ts +0 -9
  17. package/es/apaas/service/apis/trace-log-details.service.d.ts +12 -0
  18. package/es/apaas/service/entities.d.ts +675 -1
  19. package/es/apaas/service/index.d.ts +6 -0
  20. package/es/platform/service/api-config.mjs +8 -6
  21. package/es/platform/service/apis/api.service.d.ts +17 -0
  22. package/es/platform/service/apis/license.service.d.ts +1 -2
  23. package/es/platform/service/apis/org.service.d.ts +4 -0
  24. package/es/platform/service/apis/plugin.service.d.ts +1 -2
  25. package/es/platform/service/apis/tenant.service.d.ts +4 -0
  26. package/es/platform/service/entities.d.ts +6 -12
  27. package/package.json +1 -1
@@ -27,89 +27,11 @@ export const apiConfig = [
27
27
  path: "modelMeta/modelDataAssociation",
28
28
  hasQuery: true
29
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",
40
- hasData: true
41
- },
42
- {
43
- mode: "post",
44
- method: "postApproveProcessInterfereReturn",
45
- path: "approve/process/interfere/return",
46
- hasData: true
47
- },
48
- {
49
- mode: "post",
50
- method: "postApproveProcessJump",
51
- path: "approve/process/jump",
52
- hasData: true
53
- },
54
- {
55
- mode: "post",
56
- method: "postApproveProcessReassign",
57
- path: "approve/process/reassign",
58
- hasData: true
59
- },
60
- {
61
- mode: "post",
62
- method: "postApproveProcessReturn",
63
- path: "approve/process/return",
64
- hasData: true
65
- },
66
30
  {
67
31
  mode: "get",
68
32
  method: "getEdhrAttachmentGetEdhrAttachment",
69
33
  path: "edhrAttachment/getEdhrAttachment",
70
34
  hasQuery: true
71
- },
72
- {
73
- mode: "post",
74
- method: "postFileUnzip",
75
- path: "file/unzip",
76
- hasQuery: true
77
- },
78
- {
79
- mode: "post",
80
- method: "postFormChangeProcessApprove",
81
- path: "form/change/process/approve",
82
- hasData: true
83
- },
84
- {
85
- mode: "post",
86
- method: "postFormChangeProcessInterfereReassign",
87
- path: "form/change/process/interfere/reassign",
88
- hasData: true
89
- },
90
- {
91
- mode: "post",
92
- method: "postFormChangeProcessInterfereReturn",
93
- path: "form/change/process/interfere/return",
94
- hasData: true
95
- },
96
- {
97
- mode: "post",
98
- method: "postFormChangeProcessJump",
99
- path: "form/change/process/jump",
100
- hasData: true
101
- },
102
- {
103
- mode: "post",
104
- method: "postFormChangeProcessReassign",
105
- path: "form/change/process/reassign",
106
- hasData: true
107
- },
108
- {
109
- mode: "post",
110
- method: "postFormChangeProcessReturn",
111
- path: "form/change/process/return",
112
- hasData: true
113
35
  }
114
36
  ]
115
37
  },
@@ -995,9 +917,7 @@ export const apiConfig = [
995
917
  mode: "post",
996
918
  method: "postImportExcel",
997
919
  path: "importExcel",
998
- hasUpload: true,
999
- hasQuery: true,
1000
- hasData: true
920
+ hasQuery: true
1001
921
  }
1002
922
  ]
1003
923
  },
@@ -1589,6 +1509,62 @@ export const apiConfig = [
1589
1509
  }
1590
1510
  ]
1591
1511
  },
1512
+ {
1513
+ name: "detailPage",
1514
+ entityName: "detail-page",
1515
+ apis: [
1516
+ {
1517
+ mode: "post",
1518
+ method: "post",
1519
+ path: "",
1520
+ hasData: true
1521
+ },
1522
+ {
1523
+ mode: "delete",
1524
+ method: "delete",
1525
+ path: "",
1526
+ hasQuery: true
1527
+ },
1528
+ {
1529
+ mode: "post",
1530
+ method: "postCopyByIdId",
1531
+ path: "copyById/{id}",
1532
+ hasPathParams: true,
1533
+ hasData: true
1534
+ },
1535
+ {
1536
+ mode: "get",
1537
+ method: "getInfo",
1538
+ path: "info",
1539
+ hasQuery: true
1540
+ },
1541
+ {
1542
+ mode: "get",
1543
+ method: "getList",
1544
+ path: "list"
1545
+ },
1546
+ {
1547
+ mode: "get",
1548
+ method: "getPageList",
1549
+ path: "page/list",
1550
+ hasQuery: true
1551
+ },
1552
+ {
1553
+ mode: "put",
1554
+ method: "putUpdateDesignerJsonId",
1555
+ path: "updateDesignerJson/{id}",
1556
+ hasPathParams: true,
1557
+ hasData: true
1558
+ },
1559
+ {
1560
+ mode: "put",
1561
+ method: "putId",
1562
+ path: "{id}",
1563
+ hasPathParams: true,
1564
+ hasData: true
1565
+ }
1566
+ ]
1567
+ },
1592
1568
  {
1593
1569
  name: "devops",
1594
1570
  entityName: "devops",
@@ -2550,6 +2526,12 @@ export const apiConfig = [
2550
2526
  path: "download/{id}",
2551
2527
  hasPathParams: true
2552
2528
  },
2529
+ {
2530
+ mode: "post",
2531
+ method: "postFrontSave",
2532
+ path: "front/save",
2533
+ hasData: true
2534
+ },
2553
2535
  {
2554
2536
  mode: "get",
2555
2537
  method: "getInfo",
@@ -2616,9 +2598,7 @@ export const apiConfig = [
2616
2598
  mode: "post",
2617
2599
  method: "postDataImport",
2618
2600
  path: "data/import",
2619
- hasUpload: true,
2620
- hasQuery: true,
2621
- hasData: true
2601
+ hasQuery: true
2622
2602
  },
2623
2603
  {
2624
2604
  mode: "get",
@@ -2636,9 +2616,7 @@ export const apiConfig = [
2636
2616
  mode: "post",
2637
2617
  method: "postDataValidate",
2638
2618
  path: "data/validate",
2639
- hasUpload: true,
2640
- hasQuery: true,
2641
- hasData: true
2619
+ hasQuery: true
2642
2620
  }
2643
2621
  ]
2644
2622
  },
@@ -2723,6 +2701,12 @@ export const apiConfig = [
2723
2701
  path: "save",
2724
2702
  hasData: true
2725
2703
  },
2704
+ {
2705
+ mode: "post",
2706
+ method: "postSync",
2707
+ path: "sync",
2708
+ hasQuery: true
2709
+ },
2726
2710
  {
2727
2711
  mode: "put",
2728
2712
  method: "putUniqueConstraintAddModelKeyFieldKeyType",
@@ -4210,6 +4194,13 @@ export const apiConfig = [
4210
4194
  path: "translateModelFieldExp",
4211
4195
  hasQuery: true
4212
4196
  },
4197
+ {
4198
+ mode: "put",
4199
+ method: "putUniqueKey",
4200
+ path: "unique/{key}",
4201
+ hasPathParams: true,
4202
+ hasQuery: true
4203
+ },
4213
4204
  {
4214
4205
  mode: "get",
4215
4206
  method: "getUnrelatedList",
@@ -4824,12 +4815,6 @@ export const apiConfig = [
4824
4815
  path: "getCommunicationConfig",
4825
4816
  hasQuery: true
4826
4817
  },
4827
- {
4828
- mode: "get",
4829
- method: "getGetFormTmplByInstIdAndTmplId",
4830
- path: "getFormTmplByInstIdAndTmplId",
4831
- hasQuery: true
4832
- },
4833
4818
  {
4834
4819
  mode: "get",
4835
4820
  method: "getGetFormTmplUsedFieldMeta",
@@ -7333,13 +7318,6 @@ export const apiConfig = [
7333
7318
  hasUpload: true,
7334
7319
  hasQuery: true,
7335
7320
  hasData: true
7336
- },
7337
- {
7338
- mode: "post",
7339
- method: "postUploadZip",
7340
- path: "upload/zip",
7341
- hasUpload: true,
7342
- hasData: true
7343
7321
  }
7344
7322
  ]
7345
7323
  },
@@ -7725,6 +7703,92 @@ export const apiConfig = [
7725
7703
  }
7726
7704
  ]
7727
7705
  },
7706
+ {
7707
+ name: "transaction",
7708
+ entityName: "transaction",
7709
+ apis: [
7710
+ {
7711
+ mode: "post",
7712
+ method: "post",
7713
+ path: "",
7714
+ hasData: true
7715
+ },
7716
+ {
7717
+ mode: "delete",
7718
+ method: "delete",
7719
+ path: "",
7720
+ hasQuery: true
7721
+ },
7722
+ {
7723
+ mode: "post",
7724
+ method: "postCopy",
7725
+ path: "copy",
7726
+ hasData: true
7727
+ },
7728
+ {
7729
+ mode: "post",
7730
+ method: "postCopyVersionId",
7731
+ path: "copyVersion/{id}",
7732
+ hasPathParams: true,
7733
+ hasData: true
7734
+ },
7735
+ {
7736
+ mode: "get",
7737
+ method: "getGetVersionById",
7738
+ path: "getVersionById",
7739
+ hasQuery: true
7740
+ },
7741
+ {
7742
+ mode: "get",
7743
+ method: "getInfo",
7744
+ path: "info",
7745
+ hasQuery: true
7746
+ },
7747
+ {
7748
+ mode: "get",
7749
+ method: "getList",
7750
+ path: "list"
7751
+ },
7752
+ {
7753
+ mode: "get",
7754
+ method: "getListVersionById",
7755
+ path: "listVersionById",
7756
+ hasQuery: true
7757
+ },
7758
+ {
7759
+ mode: "get",
7760
+ method: "getPageList",
7761
+ path: "page/list",
7762
+ hasQuery: true
7763
+ },
7764
+ {
7765
+ mode: "delete",
7766
+ method: "deleteRemoveVersionById",
7767
+ path: "removeVersionById",
7768
+ hasQuery: true
7769
+ },
7770
+ {
7771
+ mode: "post",
7772
+ method: "postSaveVersion",
7773
+ path: "saveVersion",
7774
+ hasData: true
7775
+ },
7776
+ {
7777
+ mode: "put",
7778
+ method: "putUpdateVersionByIdId",
7779
+ path: "updateVersionById/{id}",
7780
+ hasPathParams: true,
7781
+ hasData: true
7782
+ },
7783
+ {
7784
+ mode: "put",
7785
+ method: "putId",
7786
+ path: "{id}",
7787
+ hasPathParams: true,
7788
+ hasData: true
7789
+ }
7790
+ ]
7791
+ },
7728
7792
  {
7729
7793
  name: "userGroup",
7730
7794
  entityName: "user-group",
@@ -7809,6 +7873,24 @@ export const apiConfig = [
7809
7873
  }
7810
7874
  ]
7811
7875
  },
7876
+ {
7877
+ name: "user",
7878
+ entityName: "user",
7879
+ apis: [
7880
+ {
7881
+ mode: "get",
7882
+ method: "getInfo",
7883
+ path: "info",
7884
+ hasQuery: true
7885
+ },
7886
+ {
7887
+ mode: "get",
7888
+ method: "getInfos",
7889
+ path: "infos",
7890
+ hasQuery: true
7891
+ }
7892
+ ]
7893
+ },
7812
7894
  {
7813
7895
  name: "viewModel",
7814
7896
  entityName: "view-model",
@@ -8258,10 +8340,8 @@ export const apiConfig = [
8258
8340
  mode: "post",
8259
8341
  method: "postModelComprehensiveBizServiceModelCategoryModelKeyUpload",
8260
8342
  path: "model-comprehensive/biz-service/{modelCategory}/{modelKey}/upload",
8261
- hasUpload: true,
8262
8343
  hasPathParams: true,
8263
- hasQuery: true,
8264
- hasData: true
8344
+ hasQuery: true
8265
8345
  },
8266
8346
  {
8267
8347
  mode: "get",
@@ -236,6 +236,10 @@ export interface getAppModelMetaListQuery extends IObject {
236
236
  * env
237
237
  */
238
238
  env: string;
239
+ /**
240
+ * module
241
+ */
242
+ module: string;
239
243
  }
240
244
  export interface getAppPublishLogInfoQuery extends IObject {
241
245
  /**
@@ -678,9 +682,8 @@ export interface ApiService {
678
682
  postModelComprehensiveBizServiceModelCategoryModelKeyUpload(
679
683
  path: postModelComprehensiveBizServiceModelCategoryModelKeyUploadPathParams,
680
684
  query: postModelComprehensiveBizServiceModelCategoryModelKeyUploadQuery,
681
- data: UploadFileData,
682
685
  config?: Partial<AxiosRequestConfig>,
683
- ): Promise<IHttpResponse<object>>;
686
+ ): Promise<object>;
684
687
  /**
685
688
  * 业务服务get请求接口
686
689
  */
@@ -29,10 +29,6 @@ export interface getListQuery extends IObject {
29
29
  * 查询全量信息时传 true,否则只查询简要信息
30
30
  */
31
31
  fullInfo?: boolean;
32
- /**
33
- * 来源
34
- */
35
- source?: string;
36
32
  /**
37
33
  * 类型
38
34
  */
@@ -71,10 +71,6 @@ export interface getUserPageListQuery extends IObject {
71
71
  * 排序方式:ASC/DESC, 不传默认 ASC
72
72
  */
73
73
  sortType?: string;
74
- /**
75
- * 参数来源,0企业后台管理、1租户后台管理
76
- */
77
- source?: number;
78
74
  /**
79
75
  * 创建开始时间
80
76
  */
@@ -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
  */
@@ -104,6 +108,10 @@ export interface getListCompleteQuery extends IObject {
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 extends IObject {
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 extends IObject {
212
224
  * 结束时间
213
225
  */
214
226
  endTime?: string;
227
+ /**
228
+ * 所属模块(实体、枚举、web页面)
229
+ */
230
+ module?: string;
215
231
  /**
216
232
  * 应用名称
217
233
  */
@@ -15,7 +15,6 @@ export interface ChatService {
15
15
  */
16
16
  postImportExcel(
17
17
  query: postImportExcelQuery,
18
- data: UploadFileData,
19
18
  config?: Partial<AxiosRequestConfig>,
20
- ): Promise<IHttpResponse<object>>;
19
+ ): Promise<object>;
21
20
  }
@@ -4,6 +4,7 @@ import type {
4
4
  ExcelTmplRequest,
5
5
  ExcelTemplateConfigReq,
6
6
  ExcelTmplResponse,
7
+ ExcelTemplateAndConfigReq,
7
8
  ExcelTemplateConfigV1Req,
8
9
  } from '../entities';
9
10
 
@@ -137,6 +138,13 @@ export interface ExcelTmplService {
137
138
  path: getDownloadIdPathParams,
138
139
  config?: Partial<AxiosRequestConfig>,
139
140
  ): Promise<any>;
141
+ /**
142
+ * 前台模板保存
143
+ */
144
+ postFrontSave(
145
+ data: ExcelTemplateAndConfigReq,
146
+ config?: Partial<AxiosRequestConfig>,
147
+ ): Promise<string>;
140
148
  /**
141
149
  * 详情
142
150
  */
@@ -122,9 +122,8 @@ export interface ExcelService {
122
122
  */
123
123
  postDataImport(
124
124
  query: postDataImportQuery,
125
- data: UploadFileData,
126
125
  config?: Partial<AxiosRequestConfig>,
127
- ): Promise<IHttpResponse<object>>;
126
+ ): Promise<object>;
128
127
  /**
129
128
  * excel数据导入数据预览
130
129
  */
@@ -144,7 +143,6 @@ export interface ExcelService {
144
143
  */
145
144
  postDataValidate(
146
145
  query: postDataValidateQuery,
147
- data: UploadFileData,
148
146
  config?: Partial<AxiosRequestConfig>,
149
- ): Promise<IHttpResponse<ExcelValidateResponse>>;
147
+ ): Promise<ExcelValidateResponse>;
150
148
  }
@@ -85,6 +85,12 @@ export interface getRemoveDocumentQuery extends IObject {
85
85
  */
86
86
  env?: string;
87
87
  }
88
+ export interface postSyncQuery extends IObject {
89
+ /**
90
+ * 模型KEY
91
+ */
92
+ modelKey: string;
93
+ }
88
94
  export interface putUniqueConstraintAddModelKeyFieldKeyTypePathParams {
89
95
  modelKey: string;
90
96
  fieldKey: string;
@@ -184,6 +190,13 @@ export interface FieldMetaService {
184
190
  data: FieldMetaVO,
185
191
  config?: Partial<AxiosRequestConfig>,
186
192
  ): Promise<string>;
193
+ /**
194
+ * 同步主模型字段
195
+ */
196
+ postSync(
197
+ query: postSyncQuery,
198
+ config?: Partial<AxiosRequestConfig>,
199
+ ): Promise<string>;
187
200
  /**
188
201
  * 添加唯一约束(后门接口,谨慎使用!)
189
202
  */
@@ -2,18 +2,7 @@ import type { AxiosRequestConfig } from 'axios';
2
2
  import type {
3
3
  modelDataAssociationRequest,
4
4
  ModelAssociationResponse,
5
- ProcessApproveRequest,
6
- ProcessReassign4InterfereRequest,
7
- ProcessReturn4InterfereRequest,
8
- DhrProcessJumpRequest,
9
- ProcessReassignRequest,
10
- ProcessReturnRequest,
11
5
  OnlineFormInstance,
12
- DhrProcessApproveRequest,
13
- DhrProcessReassign4InterfereRequest,
14
- DhrProcessReturn4InterfereRequest,
15
- DhrProcessReassignRequest,
16
- DhrProcessReturnRequest,
17
6
  } from '../entities';
18
7
 
19
8
  export interface getModelMetaGetSysConfigQuery extends IObject {
@@ -48,12 +37,6 @@ export interface getEdhrAttachmentGetEdhrAttachmentQuery extends IObject {
48
37
  */
49
38
  materialNo: string;
50
39
  }
51
- export interface postFileUnzipQuery extends IObject {
52
- /**
53
- * url
54
- */
55
- url: string;
56
- }
57
40
  export interface MedProService {
58
41
  /**
59
42
  * 关联模型数据查询
@@ -83,48 +66,6 @@ export interface MedProService {
83
66
  query: getModelMetaModelDataAssociationQuery,
84
67
  config?: Partial<AxiosRequestConfig>,
85
68
  ): Promise<ModelAssociationResponse[]>;
86
- /**
87
- * 审核
88
- */
89
- postApproveProcessApprove(
90
- data: ProcessApproveRequest,
91
- config?: Partial<AxiosRequestConfig>,
92
- ): Promise<string>;
93
- /**
94
- * 流程干预转办
95
- */
96
- postApproveProcessInterfereReassign(
97
- data: ProcessReassign4InterfereRequest,
98
- config?: Partial<AxiosRequestConfig>,
99
- ): Promise<string>;
100
- /**
101
- * 流程干预退回
102
- */
103
- postApproveProcessInterfereReturn(
104
- data: ProcessReturn4InterfereRequest,
105
- config?: Partial<AxiosRequestConfig>,
106
- ): Promise<string>;
107
- /**
108
- * 根据按钮key跳转流程节点
109
- */
110
- postApproveProcessJump(
111
- data: DhrProcessJumpRequest,
112
- config?: Partial<AxiosRequestConfig>,
113
- ): Promise<string>;
114
- /**
115
- * 转办
116
- */
117
- postApproveProcessReassign(
118
- data: ProcessReassignRequest,
119
- config?: Partial<AxiosRequestConfig>,
120
- ): Promise<string>;
121
- /**
122
- * 退回
123
- */
124
- postApproveProcessReturn(
125
- data: ProcessReturnRequest,
126
- config?: Partial<AxiosRequestConfig>,
127
- ): Promise<string>;
128
69
  /**
129
70
  * 获取Edhr附录接口
130
71
  */
@@ -132,53 +73,4 @@ export interface MedProService {
132
73
  query: getEdhrAttachmentGetEdhrAttachmentQuery,
133
74
  config?: Partial<AxiosRequestConfig>,
134
75
  ): Promise<OnlineFormInstance[]>;
135
- /**
136
- * 解压出pdf
137
- */
138
- postFileUnzip(
139
- query: postFileUnzipQuery,
140
- config?: Partial<AxiosRequestConfig>,
141
- ): Promise<string>;
142
- /**
143
- * 审核
144
- */
145
- postFormChangeProcessApprove(
146
- data: DhrProcessApproveRequest,
147
- config?: Partial<AxiosRequestConfig>,
148
- ): Promise<string>;
149
- /**
150
- * 流程干预转办
151
- */
152
- postFormChangeProcessInterfereReassign(
153
- data: DhrProcessReassign4InterfereRequest,
154
- config?: Partial<AxiosRequestConfig>,
155
- ): Promise<string>;
156
- /**
157
- * 流程干预退回
158
- */
159
- postFormChangeProcessInterfereReturn(
160
- data: DhrProcessReturn4InterfereRequest,
161
- config?: Partial<AxiosRequestConfig>,
162
- ): Promise<string>;
163
- /**
164
- * 根据按钮key跳转流程节点
165
- */
166
- postFormChangeProcessJump(
167
- data: DhrProcessJumpRequest,
168
- config?: Partial<AxiosRequestConfig>,
169
- ): Promise<string>;
170
- /**
171
- * 转办
172
- */
173
- postFormChangeProcessReassign(
174
- data: DhrProcessReassignRequest,
175
- config?: Partial<AxiosRequestConfig>,
176
- ): Promise<string>;
177
- /**
178
- * 退回
179
- */
180
- postFormChangeProcessReturn(
181
- data: DhrProcessReturnRequest,
182
- config?: Partial<AxiosRequestConfig>,
183
- ): Promise<string>;
184
76
  }
@@ -146,6 +146,15 @@ export interface getTranslateModelFieldExpQuery extends IObject {
146
146
  */
147
147
  exp: string;
148
148
  }
149
+ export interface putUniqueKeyQuery extends IObject {
150
+ /**
151
+ * 模型key
152
+ */
153
+ modelKey: string;
154
+ }
155
+ export interface putUniqueKeyPathParams {
156
+ key: string;
157
+ }
149
158
  export interface getUnrelatedListQuery extends IObject {
150
159
  /**
151
160
  * 模型key
@@ -331,6 +340,14 @@ export interface ModelMetaService {
331
340
  query: getTranslateModelFieldExpQuery,
332
341
  config?: Partial<AxiosRequestConfig>,
333
342
  ): Promise<string>;
343
+ /**
344
+ * 设置模型主字段
345
+ */
346
+ putUniqueKey(
347
+ path: putUniqueKeyPathParams,
348
+ query: putUniqueKeyQuery,
349
+ config?: Partial<AxiosRequestConfig>,
350
+ ): Promise<string>;
334
351
  /**
335
352
  * 查询模型列表过滤已添加过数据权限的模型
336
353
  */