@gct-paas/api 0.1.6-dev.13 → 0.1.6-dev.15

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.
@@ -1511,6 +1511,62 @@ export const apiConfig = [
1511
1511
  }
1512
1512
  ]
1513
1513
  },
1514
+ {
1515
+ name: "detailPage",
1516
+ entityName: "detail-page",
1517
+ apis: [
1518
+ {
1519
+ mode: "post",
1520
+ method: "post",
1521
+ path: "",
1522
+ hasData: true
1523
+ },
1524
+ {
1525
+ mode: "delete",
1526
+ method: "delete",
1527
+ path: "",
1528
+ hasQuery: true
1529
+ },
1530
+ {
1531
+ mode: "post",
1532
+ method: "postCopyByIdId",
1533
+ path: "copyById/{id}",
1534
+ hasPathParams: true,
1535
+ hasData: true
1536
+ },
1537
+ {
1538
+ mode: "get",
1539
+ method: "getInfo",
1540
+ path: "info",
1541
+ hasQuery: true
1542
+ },
1543
+ {
1544
+ mode: "get",
1545
+ method: "getList",
1546
+ path: "list"
1547
+ },
1548
+ {
1549
+ mode: "get",
1550
+ method: "getPageList",
1551
+ path: "page/list",
1552
+ hasQuery: true
1553
+ },
1554
+ {
1555
+ mode: "put",
1556
+ method: "putUpdateDesignerJsonId",
1557
+ path: "updateDesignerJson/{id}",
1558
+ hasPathParams: true,
1559
+ hasData: true
1560
+ },
1561
+ {
1562
+ mode: "put",
1563
+ method: "putId",
1564
+ path: "{id}",
1565
+ hasPathParams: true,
1566
+ hasData: true
1567
+ }
1568
+ ]
1569
+ },
1514
1570
  {
1515
1571
  name: "devops",
1516
1572
  entityName: "devops",
@@ -2345,6 +2401,12 @@ export const apiConfig = [
2345
2401
  path: "page/list",
2346
2402
  hasQuery: true
2347
2403
  },
2404
+ {
2405
+ mode: "post",
2406
+ method: "postSort",
2407
+ path: "sort",
2408
+ hasData: true
2409
+ },
2348
2410
  {
2349
2411
  mode: "put",
2350
2412
  method: "putId",
@@ -2466,6 +2528,12 @@ export const apiConfig = [
2466
2528
  path: "download/{id}",
2467
2529
  hasPathParams: true
2468
2530
  },
2531
+ {
2532
+ mode: "post",
2533
+ method: "postFrontSave",
2534
+ path: "front/save",
2535
+ hasData: true
2536
+ },
2469
2537
  {
2470
2538
  mode: "get",
2471
2539
  method: "getInfo",
@@ -2639,6 +2707,12 @@ export const apiConfig = [
2639
2707
  path: "save",
2640
2708
  hasData: true
2641
2709
  },
2710
+ {
2711
+ mode: "post",
2712
+ method: "postSync",
2713
+ path: "sync",
2714
+ hasQuery: true
2715
+ },
2642
2716
  {
2643
2717
  mode: "put",
2644
2718
  method: "putUniqueConstraintAddModelKeyFieldKeyType",
@@ -4126,6 +4200,13 @@ export const apiConfig = [
4126
4200
  path: "translateModelFieldExp",
4127
4201
  hasQuery: true
4128
4202
  },
4203
+ {
4204
+ mode: "put",
4205
+ method: "putUniqueKey",
4206
+ path: "unique/{key}",
4207
+ hasPathParams: true,
4208
+ hasQuery: true
4209
+ },
4129
4210
  {
4130
4211
  mode: "get",
4131
4212
  method: "getUnrelatedList",
@@ -4166,7 +4247,8 @@ export const apiConfig = [
4166
4247
  {
4167
4248
  mode: "get",
4168
4249
  method: "getDataModelList",
4169
- path: "data-model/list"
4250
+ path: "data-model/list",
4251
+ hasQuery: true
4170
4252
  },
4171
4253
  {
4172
4254
  mode: "get",
@@ -4189,7 +4271,8 @@ export const apiConfig = [
4189
4271
  {
4190
4272
  mode: "get",
4191
4273
  method: "getViewModelList",
4192
- path: "view-model/list"
4274
+ path: "view-model/list",
4275
+ hasQuery: true
4193
4276
  },
4194
4277
  {
4195
4278
  mode: "put",
@@ -7626,6 +7709,92 @@ export const apiConfig = [
7626
7709
  }
7627
7710
  ]
7628
7711
  },
7712
+ {
7713
+ name: "transaction",
7714
+ entityName: "transaction",
7715
+ apis: [
7716
+ {
7717
+ mode: "post",
7718
+ method: "post",
7719
+ path: "",
7720
+ hasData: true
7721
+ },
7722
+ {
7723
+ mode: "delete",
7724
+ method: "delete",
7725
+ path: "",
7726
+ hasQuery: true
7727
+ },
7728
+ {
7729
+ mode: "post",
7730
+ method: "postCopy",
7731
+ path: "copy",
7732
+ hasData: true
7733
+ },
7734
+ {
7735
+ mode: "post",
7736
+ method: "postCopyVersionId",
7737
+ path: "copyVersion/{id}",
7738
+ hasPathParams: true,
7739
+ hasData: true
7740
+ },
7741
+ {
7742
+ mode: "get",
7743
+ method: "getGetVersionById",
7744
+ path: "getVersionById",
7745
+ hasQuery: true
7746
+ },
7747
+ {
7748
+ mode: "get",
7749
+ method: "getInfo",
7750
+ path: "info",
7751
+ hasQuery: true
7752
+ },
7753
+ {
7754
+ mode: "get",
7755
+ method: "getList",
7756
+ path: "list"
7757
+ },
7758
+ {
7759
+ mode: "get",
7760
+ method: "getListVersionById",
7761
+ path: "listVersionById",
7762
+ hasQuery: true
7763
+ },
7764
+ {
7765
+ mode: "get",
7766
+ method: "getPageList",
7767
+ path: "page/list",
7768
+ hasQuery: true
7769
+ },
7770
+ {
7771
+ mode: "delete",
7772
+ method: "deleteRemoveVersionById",
7773
+ path: "removeVersionById",
7774
+ hasQuery: true
7775
+ },
7776
+ {
7777
+ mode: "post",
7778
+ method: "postSaveVersion",
7779
+ path: "saveVersion",
7780
+ hasData: true
7781
+ },
7782
+ {
7783
+ mode: "put",
7784
+ method: "putUpdateVersionByIdId",
7785
+ path: "updateVersionById/{id}",
7786
+ hasPathParams: true,
7787
+ hasData: true
7788
+ },
7789
+ {
7790
+ mode: "put",
7791
+ method: "putId",
7792
+ path: "{id}",
7793
+ hasPathParams: true,
7794
+ hasData: true
7795
+ }
7796
+ ]
7797
+ },
7629
7798
  {
7630
7799
  name: "userGroup",
7631
7800
  entityName: "user-group",
@@ -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
  */
@@ -153,6 +153,10 @@ export interface getReversePageListQuery extends IObject {
153
153
  * 操作人id
154
154
  */
155
155
  operatorId?: string;
156
+ /**
157
+ * 订单号
158
+ */
159
+ orderNo?: string;
156
160
  /**
157
161
  * 页码
158
162
  */
@@ -169,6 +173,10 @@ export interface getReversePageListQuery extends IObject {
169
173
  * 记录单号
170
174
  */
171
175
  recordNo?: string;
176
+ /**
177
+ * 关联批次
178
+ */
179
+ relatedLotNo?: string;
172
180
  /**
173
181
  * 排序字段
174
182
  */
@@ -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 extends IObject {
@@ -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
  */
@@ -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
  */
@@ -22,11 +22,11 @@ export interface getDataDoImportQuery extends IObject {
22
22
  /**
23
23
  * 引用主模型数据的字段KEY(仅子表导入需要传)
24
24
  */
25
- refFieldKey?: string;
25
+ refFieldKey_?: string;
26
26
  /**
27
27
  * 引用主模型数据的id_(仅子表导入需要传)
28
28
  */
29
- refMasterId?: string;
29
+ refMasterId_?: string;
30
30
  /**
31
31
  * 空值是否更新
32
32
  */
@@ -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
  */
@@ -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
  */
@@ -7,6 +7,12 @@ export interface deleteQuery extends IObject {
7
7
  */
8
8
  ids: string;
9
9
  }
10
+ export interface getDataModelListQuery extends IObject {
11
+ /**
12
+ * 搜索关键字
13
+ */
14
+ keyword?: string;
15
+ }
10
16
  export interface getInfoQuery extends IObject {
11
17
  /**
12
18
  * id
@@ -15,7 +21,11 @@ export interface getInfoQuery extends IObject {
15
21
  }
16
22
  export interface getListQuery extends IObject {
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 extends IObject {
29
39
  */
30
40
  pageSize?: number;
31
41
  }
42
+ export interface getViewModelListQuery extends IObject {
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
  /**
@@ -297,6 +297,10 @@ export interface getPageListQuery extends IObject {
297
297
  * 状态
298
298
  */
299
299
  instanceStatus?: string;
300
+ /**
301
+ * 状态不等于
302
+ */
303
+ instanceStatusNe?: string;
300
304
  /**
301
305
  * 更新人id
302
306
  */
@@ -391,10 +395,6 @@ export interface getRelateFormPageListQuery extends IObject {
391
395
  * Lot/SN 编号
392
396
  */
393
397
  materialNo: string;
394
- /**
395
- * 模块类型
396
- */
397
- module?: string;
398
398
  /**
399
399
  * 页码
400
400
  */
@@ -431,6 +431,10 @@ export interface getReverseTracePageListQuery extends IObject {
431
431
  * 填报人
432
432
  */
433
433
  operatorId?: string;
434
+ /**
435
+ * 订单号
436
+ */
437
+ orderNo?: string;
434
438
  /**
435
439
  * 页码
436
440
  */
@@ -451,6 +455,10 @@ export interface getReverseTracePageListQuery extends IObject {
451
455
  * 记录单号
452
456
  */
453
457
  recordNo?: string;
458
+ /**
459
+ * 关联批次
460
+ */
461
+ relatedLotNo?: string;
454
462
  /**
455
463
  * 排序字段
456
464
  */
@@ -10,7 +10,7 @@ import type {
10
10
 
11
11
  export interface PrintService {
12
12
  /**
13
- * 打印客户端关联bartender模板目录树下拉
13
+ * btw模板树
14
14
  */
15
15
  getBtwFileTree(
16
16
  config?: Partial<AxiosRequestConfig>,
@@ -15,7 +15,7 @@ export interface getApproveHistoryQuery extends IObject {
15
15
  /**
16
16
  * id_
17
17
  */
18
- id: string;
18
+ id_: string;
19
19
  }
20
20
  export interface getInfoQuery extends IObject {
21
21
  /**
@@ -18,6 +18,10 @@ export interface getInfoQuery extends IObject {
18
18
  id: string;
19
19
  }
20
20
  export interface getInfoTreeQuery extends IObject {
21
+ /**
22
+ * 模型KEY
23
+ */
24
+ modelKey: string;
21
25
  /**
22
26
  * traceLogId
23
27
  */
@@ -28,6 +32,10 @@ export interface getInfoTreeByIdQuery extends IObject {
28
32
  * id
29
33
  */
30
34
  id: string;
35
+ /**
36
+ * 模型KEY
37
+ */
38
+ modelKey: string;
31
39
  }
32
40
  export interface getPageListQuery extends IObject {
33
41
  /**
@@ -40,6 +48,10 @@ export interface getPageListQuery extends IObject {
40
48
  pageSize?: number;
41
49
  }
42
50
  export interface getPageListByRecodeIdQuery extends IObject {
51
+ /**
52
+ * 模型KEY
53
+ */
54
+ modelKey: string;
43
55
  /**
44
56
  * 页码
45
57
  */