@gct-paas/api 6.0.0-dev.10 → 6.0.0-dev.11

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.
@@ -7859,6 +7859,13 @@ export const apiConfig = [
7859
7859
  path: "saveVersion",
7860
7860
  hasData: true
7861
7861
  },
7862
+ {
7863
+ mode: "put",
7864
+ method: "putUpdateDesignerJsonId",
7865
+ path: "updateDesignerJson/{id}",
7866
+ hasPathParams: true,
7867
+ hasData: true
7868
+ },
7862
7869
  {
7863
7870
  mode: "put",
7864
7871
  method: "putUpdateVersionByIdId",
@@ -125,6 +125,10 @@ export interface getPageListQuery extends IObject {
125
125
  startTime?: string;
126
126
  }
127
127
  export interface getReversePageListQuery extends IObject {
128
+ /**
129
+ * 自定义字段查询条件
130
+ */
131
+ customFieldQuery?: IObject;
128
132
  /**
129
133
  * 设备
130
134
  */
@@ -85,22 +85,10 @@ export interface postDataValidateQuery extends IObject {
85
85
  * 标题行号
86
86
  */
87
87
  headerRowNo?: number;
88
- /**
89
- * 导入类型 1:普通导入,2:主子同时导
90
- */
91
- importType?: number;
92
88
  /**
93
89
  * 模型key
94
90
  */
95
91
  modelKey: string;
96
- /**
97
- * 数据起始行号
98
- */
99
- startRowNo?: number;
100
- /**
101
- * 模板key
102
- */
103
- tmplKey: string;
104
92
  }
105
93
  export interface ExcelService {
106
94
  /**
@@ -71,10 +71,6 @@ export interface getDhrFormListQuery extends IObject {
71
71
  * 工单ID
72
72
  */
73
73
  mfgOrderId?: string;
74
- /**
75
- * 模块类型
76
- */
77
- module?: string;
78
74
  /**
79
75
  * 类型(production/rework)
80
76
  */
@@ -381,10 +377,6 @@ export interface getRelateFormPageListQuery extends IObject {
381
377
  * Lot/SN 编号
382
378
  */
383
379
  materialNo: string;
384
- /**
385
- * 模块类型
386
- */
387
- module?: string;
388
380
  /**
389
381
  * 页码
390
382
  */
@@ -401,6 +393,14 @@ export interface deleteRelatedInstRemoveQuery extends IObject {
401
393
  instId: string;
402
394
  }
403
395
  export interface getReverseTracePageListQuery extends IObject {
396
+ /**
397
+ * 所有批次,包含关联批次
398
+ */
399
+ allMaterialNo?: string;
400
+ /**
401
+ * 自定义字段查询条件
402
+ */
403
+ customFieldQuery?: IObject;
404
404
  /**
405
405
  * 设备名称
406
406
  */
@@ -56,6 +56,9 @@ export interface deleteRemoveVersionByIdQuery extends IObject {
56
56
  */
57
57
  id: string;
58
58
  }
59
+ export interface putUpdateDesignerJsonIdPathParams {
60
+ id: string;
61
+ }
59
62
  export interface putUpdateVersionByIdIdPathParams {
60
63
  id: string;
61
64
  }
@@ -138,6 +141,14 @@ export interface TransactionService {
138
141
  data: TransactionRequest,
139
142
  config?: Partial<AxiosRequestConfig>,
140
143
  ): Promise<string>;
144
+ /**
145
+ * 修改页面设计Json
146
+ */
147
+ putUpdateDesignerJsonId(
148
+ path: putUpdateDesignerJsonIdPathParams,
149
+ data: TransactionRequest,
150
+ config?: Partial<AxiosRequestConfig>,
151
+ ): Promise<string>;
141
152
  /**
142
153
  * 修改版本
143
154
  */
@@ -10385,6 +10385,12 @@ export interface FieldMeta {
10385
10385
  * @type number
10386
10386
  */
10387
10387
  backendOnly?: number;
10388
+ /**
10389
+ * 所属字段
10390
+ *
10391
+ * @type string
10392
+ */
10393
+ belongingField?: string;
10388
10394
  /**
10389
10395
  * 所属对象
10390
10396
  *
@@ -10565,6 +10571,12 @@ export interface FieldMeta {
10565
10571
  * @type number
10566
10572
  */
10567
10573
  sysBuiltin?: number;
10574
+ /**
10575
+ * 字段建模是否启用追溯
10576
+ *
10577
+ * @type number
10578
+ */
10579
+ traceEnabled?: number;
10568
10580
  /**
10569
10581
  * 数据类型
10570
10582
  *
@@ -10619,6 +10631,12 @@ export interface FieldMetaDTO {
10619
10631
  * @type number
10620
10632
  */
10621
10633
  backendOnly?: number;
10634
+ /**
10635
+ * 所属字段
10636
+ *
10637
+ * @type string
10638
+ */
10639
+ belongingField?: string;
10622
10640
  /**
10623
10641
  * 所属对象
10624
10642
  *
@@ -10865,6 +10883,12 @@ export interface FieldMetaDTO {
10865
10883
  * @type number
10866
10884
  */
10867
10885
  sysBuiltin?: number;
10886
+ /**
10887
+ * 字段建模是否启用追溯
10888
+ *
10889
+ * @type number
10890
+ */
10891
+ traceEnabled?: number;
10868
10892
  /**
10869
10893
  * 数据类型
10870
10894
  *
@@ -11147,6 +11171,12 @@ export interface FieldMetaResponse {
11147
11171
  type?: string;
11148
11172
  }
11149
11173
  export interface FieldMetaVO {
11174
+ /**
11175
+ * 所属字段
11176
+ *
11177
+ * @type string
11178
+ */
11179
+ belongingField?: string;
11150
11180
  /**
11151
11181
  * 所属对象
11152
11182
  *
@@ -11237,6 +11267,12 @@ export interface FieldMetaVO {
11237
11267
  * @type IObject
11238
11268
  */
11239
11269
  specificConfig?: IObject;
11270
+ /**
11271
+ * 字段建模是否启用追溯
11272
+ *
11273
+ * @type number
11274
+ */
11275
+ traceEnabled?: number;
11240
11276
  /**
11241
11277
  * 数据类型 (primary_key/主键,tenant/租户关联,ref_master_id/关联主键,text/短文本,long_text/长文本,integer/整数,long/长整数,decimal/精度小数,boolean/布尔,binary/二进制流,date/日期,time/时间,date_time/日期时间,user_multi/人员多选,org_multi/部门多选,image/图片,attachment/附件enum/枚举,serial/序列号,ref/引用关联,master_slave/主子关联,enum_multi/枚举多选,ref_multi/模型多选,expression/公式,agg/汇总,esop/E-SOP,expression_condition/公式条件)
11242
11278
  *
@@ -11353,6 +11389,12 @@ export interface FileTaskDTO {
11353
11389
  * @type string
11354
11390
  */
11355
11391
  materialNo?: string;
11392
+ /**
11393
+ * 是否填报内容区底色
11394
+ *
11395
+ * @type boolean
11396
+ */
11397
+ showPrintFieldBg?: boolean;
11356
11398
  /**
11357
11399
  * 模板实例id
11358
11400
  *
@@ -11623,6 +11665,12 @@ export interface FormRelateDTO {
11623
11665
  * @type string
11624
11666
  */
11625
11667
  officeType?: string;
11668
+ /**
11669
+ * 线下编码
11670
+ *
11671
+ * @type string
11672
+ */
11673
+ offlineCode?: string;
11626
11674
  /**
11627
11675
  * 线下版本号
11628
11676
  *
@@ -18397,6 +18445,12 @@ export interface OnlineFormDesignDTO {
18397
18445
  width?: number;
18398
18446
  }
18399
18447
  export interface OnlineFormFieldMetaVO {
18448
+ /**
18449
+ * 所属字段
18450
+ *
18451
+ * @type string
18452
+ */
18453
+ belongingField?: string;
18400
18454
  /**
18401
18455
  * 所属对象
18402
18456
  *
@@ -18421,6 +18475,18 @@ export interface OnlineFormFieldMetaVO {
18421
18475
  * @type string
18422
18476
  */
18423
18477
  bizType?: string;
18478
+ /**
18479
+ * 自定义字段ID
18480
+ *
18481
+ * @type string
18482
+ */
18483
+ customFieldId?: string;
18484
+ /**
18485
+ * 自定义对象ID
18486
+ *
18487
+ * @type string
18488
+ */
18489
+ customObjectId?: string;
18424
18490
  /**
18425
18491
  * 默认值
18426
18492
  *
@@ -18493,6 +18559,12 @@ export interface OnlineFormFieldMetaVO {
18493
18559
  * @type string
18494
18560
  */
18495
18561
  subModelKey?: string;
18562
+ /**
18563
+ * 字段建模是否启用追溯
18564
+ *
18565
+ * @type number
18566
+ */
18567
+ traceEnabled?: number;
18496
18568
  /**
18497
18569
  * 数据类型 (primary_key/主键,tenant/租户关联,ref_master_id/关联主键,text/短文本,long_text/长文本,integer/整数,long/长整数,decimal/精度小数,boolean/布尔,binary/二进制流,date/日期,time/时间,date_time/日期时间,user_multi/人员多选,org_multi/部门多选,image/图片,attachment/附件enum/枚举,serial/序列号,ref/引用关联,master_slave/主子关联,enum_multi/枚举多选,ref_multi/模型多选,expression/公式,agg/汇总,esop/E-SOP,expression_condition/公式条件)
18498
18570
  *
@@ -20419,6 +20491,12 @@ export interface OnlineFormTmplModelResponse {
20419
20491
  * @type string
20420
20492
  */
20421
20493
  officeType?: string;
20494
+ /**
20495
+ * 线下编码
20496
+ *
20497
+ * @type string
20498
+ */
20499
+ offlineCode?: string;
20422
20500
  /**
20423
20501
  * 线下版本号
20424
20502
  *
@@ -20633,6 +20711,12 @@ export interface OnlineFormTmplRequest {
20633
20711
  * @type string
20634
20712
  */
20635
20713
  officeType?: string;
20714
+ /**
20715
+ * 线下编码
20716
+ *
20717
+ * @type string
20718
+ */
20719
+ offlineCode?: string;
20636
20720
  /**
20637
20721
  * 电子记录-线下版本号
20638
20722
  *
@@ -20881,6 +20965,12 @@ export interface OnlineFormTmplResponse {
20881
20965
  * @type string
20882
20966
  */
20883
20967
  officeType?: string;
20968
+ /**
20969
+ * 线下编码
20970
+ *
20971
+ * @type string
20972
+ */
20973
+ offlineCode?: string;
20884
20974
  /**
20885
20975
  * 线下版本号
20886
20976
  *
@@ -22634,7 +22724,7 @@ export interface PageLockRequest {
22634
22724
  */
22635
22725
  id?: string;
22636
22726
  /**
22637
- * 页面类型 (web app avaScript ...)
22727
+ * 页面类型 (web app avaScript ...) transaction_module 事务
22638
22728
  *
22639
22729
  * @type string
22640
22730
  */
@@ -27173,6 +27263,12 @@ export interface ProcessPathResponse {
27173
27263
  * @type string
27174
27264
  */
27175
27265
  childTxnInstStatus?: string;
27266
+ /**
27267
+ * 配置
27268
+ *
27269
+ * @type string
27270
+ */
27271
+ config?: string;
27176
27272
  /**
27177
27273
  *
27178
27274
  *
@@ -36287,6 +36383,18 @@ export interface TransactionResponse {
36287
36383
  * @type string
36288
36384
  */
36289
36385
  key?: string;
36386
+ /**
36387
+ * 锁定页面人员id
36388
+ *
36389
+ * @type string
36390
+ */
36391
+ lockUserId?: string;
36392
+ /**
36393
+ * 锁定页面人员名称
36394
+ *
36395
+ * @type string
36396
+ */
36397
+ lockUserName?: string;
36290
36398
  /**
36291
36399
  * 绑定模型key
36292
36400
  *
@@ -36323,6 +36431,12 @@ export interface TransactionResponse {
36323
36431
  * @type string
36324
36432
  */
36325
36433
  name?: string;
36434
+ /**
36435
+ * newLogId
36436
+ *
36437
+ * @type string
36438
+ */
36439
+ newLogId?: string;
36326
36440
  /**
36327
36441
  * 流程定义id
36328
36442
  *
@@ -2413,6 +2413,55 @@ export const apiConfig = [
2413
2413
  }
2414
2414
  ]
2415
2415
  },
2416
+ {
2417
+ name: "ocrModel",
2418
+ entityName: "ocr-model",
2419
+ apis: [
2420
+ {
2421
+ mode: "post",
2422
+ method: "post",
2423
+ path: "",
2424
+ hasData: true
2425
+ },
2426
+ {
2427
+ mode: "get",
2428
+ method: "getExternalList",
2429
+ path: "external/list",
2430
+ hasQuery: true
2431
+ },
2432
+ {
2433
+ mode: "get",
2434
+ method: "getPage",
2435
+ path: "page",
2436
+ hasQuery: true
2437
+ },
2438
+ {
2439
+ mode: "get",
2440
+ method: "getId",
2441
+ path: "{id}",
2442
+ hasPathParams: true
2443
+ },
2444
+ {
2445
+ mode: "put",
2446
+ method: "putId",
2447
+ path: "{id}",
2448
+ hasPathParams: true,
2449
+ hasData: true
2450
+ },
2451
+ {
2452
+ mode: "delete",
2453
+ method: "deleteId",
2454
+ path: "{id}",
2455
+ hasPathParams: true
2456
+ },
2457
+ {
2458
+ mode: "put",
2459
+ method: "putIdSetDefault",
2460
+ path: "{id}/set-default",
2461
+ hasPathParams: true
2462
+ }
2463
+ ]
2464
+ },
2416
2465
  {
2417
2466
  name: "openapiGroup",
2418
2467
  entityName: "openapi-group",
@@ -589,6 +589,10 @@ export interface getOauth2AuthorizeQuery extends IObject {
589
589
  * 环境参数:test/prod
590
590
  */
591
591
  env?: string;
592
+ /**
593
+ * 用户登录Token
594
+ */
595
+ token: string;
592
596
  }
593
597
  export interface postOauth2TokenQuery extends IObject {
594
598
  /**
@@ -32,10 +32,6 @@ export interface getPageListQuery extends IObject {
32
32
  * 每页数据条数
33
33
  */
34
34
  pageSize?: number;
35
- /**
36
- * 仪表盘来源
37
- */
38
- source?: number;
39
35
  }
40
36
  export interface putIdPathParams {
41
37
  id: string;
@@ -0,0 +1,87 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type { OcrModelRequest, OcrModelResponse } from '../entities';
3
+
4
+ export interface getExternalListQuery extends IObject {
5
+ /**
6
+ * tenantId
7
+ */
8
+ tenantId: string;
9
+ }
10
+ export interface getPageQuery extends IObject {
11
+ /**
12
+ * 关键词
13
+ */
14
+ keyword?: string;
15
+ /**
16
+ * 页码
17
+ */
18
+ pageNo?: number;
19
+ /**
20
+ * 每页数据条数
21
+ */
22
+ pageSize?: number;
23
+ }
24
+ export interface getIdPathParams {
25
+ id: string;
26
+ }
27
+ export interface putIdPathParams {
28
+ id: string;
29
+ }
30
+ export interface deleteIdPathParams {
31
+ id: string;
32
+ }
33
+ export interface putIdSetDefaultPathParams {
34
+ id: string;
35
+ }
36
+ export interface OcrModelService {
37
+ /**
38
+ * 新建
39
+ */
40
+ post(
41
+ data: OcrModelRequest,
42
+ config?: Partial<AxiosRequestConfig>,
43
+ ): Promise<string>;
44
+ /**
45
+ * 外部接口-根据租户ID查询列表
46
+ */
47
+ getExternalList(
48
+ query: getExternalListQuery,
49
+ config?: Partial<AxiosRequestConfig>,
50
+ ): Promise<OcrModelResponse[]>;
51
+ /**
52
+ * 分页列表
53
+ */
54
+ getPage(
55
+ query: getPageQuery,
56
+ config?: Partial<AxiosRequestConfig>,
57
+ ): Promise<IPage<OcrModelResponse>>;
58
+ /**
59
+ * 详情
60
+ */
61
+ getId(
62
+ path: getIdPathParams,
63
+ config?: Partial<AxiosRequestConfig>,
64
+ ): Promise<OcrModelResponse>;
65
+ /**
66
+ * 编辑
67
+ */
68
+ putId(
69
+ path: putIdPathParams,
70
+ data: OcrModelRequest,
71
+ config?: Partial<AxiosRequestConfig>,
72
+ ): Promise<string>;
73
+ /**
74
+ * 删除
75
+ */
76
+ deleteId(
77
+ path: deleteIdPathParams,
78
+ config?: Partial<AxiosRequestConfig>,
79
+ ): Promise<string>;
80
+ /**
81
+ * 设置默认
82
+ */
83
+ putIdSetDefault(
84
+ path: putIdSetDefaultPathParams,
85
+ config?: Partial<AxiosRequestConfig>,
86
+ ): Promise<string>;
87
+ }
@@ -81,10 +81,6 @@ export interface getUserPageListQuery extends IObject {
81
81
  * 排序方式:ASC/DESC, 不传默认 ASC
82
82
  */
83
83
  sortType?: string;
84
- /**
85
- * 参数来源,0企业后台管理、1租户后台管理
86
- */
87
- source?: number;
88
84
  /**
89
85
  * 创建开始时间
90
86
  */
@@ -131,10 +131,6 @@ export interface getManagementOrgUserPageListQuery extends IObject {
131
131
  * 排序方式:ASC/DESC, 不传默认 ASC
132
132
  */
133
133
  sortType?: string;
134
- /**
135
- * 参数来源,0企业后台管理、1租户后台管理
136
- */
137
- source?: number;
138
134
  /**
139
135
  * 创建开始时间
140
136
  */
@@ -10322,6 +10322,148 @@ export interface OAuth2用户信息响应 {
10322
10322
  */
10323
10323
  username?: string;
10324
10324
  }
10325
+ export interface OcrModelRequest {
10326
+ /**
10327
+ * API密钥
10328
+ *
10329
+ * @type string
10330
+ */
10331
+ apiKey?: string;
10332
+ /**
10333
+ * API基础地址
10334
+ *
10335
+ * @type string
10336
+ */
10337
+ baseUrl?: string;
10338
+ /**
10339
+ * 高精模型ID
10340
+ *
10341
+ * @type string
10342
+ */
10343
+ highPrecisionModelId?: string;
10344
+ /**
10345
+ * 模型名称
10346
+ *
10347
+ * @type string
10348
+ */
10349
+ name?: string;
10350
+ /**
10351
+ * 普通模型ID
10352
+ *
10353
+ * @type string
10354
+ */
10355
+ normalModelId?: string;
10356
+ /**
10357
+ * 供应商名称
10358
+ *
10359
+ * @type string
10360
+ */
10361
+ provider?: string;
10362
+ /**
10363
+ * 模型来源
10364
+ *
10365
+ * @type string
10366
+ */
10367
+ source?: string;
10368
+ }
10369
+ export interface OcrModelResponse {
10370
+ /**
10371
+ * API密钥
10372
+ *
10373
+ * @type string
10374
+ */
10375
+ apiKey?: string;
10376
+ /**
10377
+ * API基础地址
10378
+ *
10379
+ * @type string
10380
+ */
10381
+ baseUrl?: string;
10382
+ /**
10383
+ *
10384
+ *
10385
+ * @type string
10386
+ */
10387
+ createTime?: string;
10388
+ /**
10389
+ *
10390
+ *
10391
+ * @type string
10392
+ */
10393
+ createUserId?: string;
10394
+ /**
10395
+ *
10396
+ *
10397
+ * @type string
10398
+ */
10399
+ createUserName?: string;
10400
+ /**
10401
+ * 高精模型ID
10402
+ *
10403
+ * @type string
10404
+ */
10405
+ highPrecisionModelId?: string;
10406
+ /**
10407
+ * 主键
10408
+ *
10409
+ * @type string
10410
+ */
10411
+ id?: string;
10412
+ /**
10413
+ * 是否默认
10414
+ *
10415
+ * @type number
10416
+ */
10417
+ isDefault?: number;
10418
+ /**
10419
+ *
10420
+ *
10421
+ * @type string
10422
+ */
10423
+ modifyTime?: string;
10424
+ /**
10425
+ *
10426
+ *
10427
+ * @type string
10428
+ */
10429
+ modifyUserId?: string;
10430
+ /**
10431
+ *
10432
+ *
10433
+ * @type string
10434
+ */
10435
+ modifyUserName?: string;
10436
+ /**
10437
+ * 模型名称
10438
+ *
10439
+ * @type string
10440
+ */
10441
+ name?: string;
10442
+ /**
10443
+ * 普通模型ID
10444
+ *
10445
+ * @type string
10446
+ */
10447
+ normalModelId?: string;
10448
+ /**
10449
+ * 供应商名称
10450
+ *
10451
+ * @type string
10452
+ */
10453
+ provider?: string;
10454
+ /**
10455
+ * 模型来源
10456
+ *
10457
+ * @type string
10458
+ */
10459
+ source?: string;
10460
+ /**
10461
+ * 模型来源名称
10462
+ *
10463
+ * @type string
10464
+ */
10465
+ sourceName?: string;
10466
+ }
10325
10467
  export interface OpenapiAggregateByModelTreeResponse {
10326
10468
  /**
10327
10469
  * 模型key
@@ -47,6 +47,7 @@ import type { ModelService } from './apis/model.service';
47
47
  import type { ModelProviderService } from './apis/model-provider.service';
48
48
  import type { NavMenuService } from './apis/nav-menu.service';
49
49
  import type { NavPageService } from './apis/nav-page.service';
50
+ import type { OcrModelService } from './apis/ocr-model.service';
50
51
  import type { OpenapiGroupService } from './apis/openapi-group.service';
51
52
  import type { OpenapiKeyGrantService } from './apis/openapi-key-grant.service';
52
53
  import type { OrgService } from './apis/org.service';
@@ -233,6 +234,7 @@ export interface ApiManage {
233
234
  readonly modelProvider: ModelProviderService;
234
235
  readonly navMenu: NavMenuService;
235
236
  readonly navPage: NavPageService;
237
+ readonly ocrModel: OcrModelService;
236
238
  readonly openapiGroup: OpenapiGroupService;
237
239
  readonly openapiKeyGrant: OpenapiKeyGrantService;
238
240
  readonly org: OrgService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "6.0.0-dev.10",
3
+ "version": "6.0.0-dev.11",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [