@gct-paas/api 6.0.0-dev.10 → 6.0.0-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.
- package/dist/index.esm.min.js +1 -1
- package/es/apaas/service/api-config.mjs +127 -0
- package/es/apaas/service/apis/api.service.d.ts +0 -4
- package/es/apaas/service/apis/app-global-settings.service.d.ts +0 -4
- package/es/apaas/service/apis/category.service.d.ts +0 -8
- package/es/apaas/service/apis/custom-field.service.d.ts +125 -0
- package/es/apaas/service/apis/custom-object.service.d.ts +71 -0
- package/es/apaas/service/apis/edhr-instance.service.d.ts +4 -8
- package/es/apaas/service/apis/excel.service.d.ts +0 -12
- package/es/apaas/service/apis/model-meta.service.d.ts +16 -0
- package/es/apaas/service/apis/online-form-instance.service.d.ts +8 -8
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +2 -2
- package/es/apaas/service/apis/transaction.service.d.ts +11 -0
- package/es/apaas/service/entities.d.ts +933 -167
- package/es/apaas/service/index.d.ts +4 -0
- package/es/platform/service/api-config.mjs +70 -0
- package/es/platform/service/apis/api.service.d.ts +6 -0
- package/es/platform/service/apis/app.service.d.ts +0 -4
- package/es/platform/service/apis/dashboard.service.d.ts +0 -4
- package/es/platform/service/apis/ocr-model.service.d.ts +106 -0
- package/es/platform/service/apis/org.service.d.ts +0 -4
- package/es/platform/service/apis/plat.service.d.ts +6 -0
- package/es/platform/service/apis/tenant.service.d.ts +0 -4
- package/es/platform/service/entities.d.ts +148 -0
- package/es/platform/service/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -24,6 +24,8 @@ import type { CodeTsService } from './apis/code-ts.service';
|
|
|
24
24
|
import type { CommitLogService } from './apis/commit-log.service';
|
|
25
25
|
import type { CommonInfoCardService } from './apis/common-info-card.service';
|
|
26
26
|
import type { ControlConfigService } from './apis/control-config.service';
|
|
27
|
+
import type { CustomFieldService } from './apis/custom-field.service';
|
|
28
|
+
import type { CustomObjectService } from './apis/custom-object.service';
|
|
27
29
|
import type { CustomerComplaintService } from './apis/customer-complaint.service';
|
|
28
30
|
import type { DashboardService } from './apis/dashboard.service';
|
|
29
31
|
import type { DataModelService } from './apis/data-model.service';
|
|
@@ -196,6 +198,8 @@ export interface ApiManage {
|
|
|
196
198
|
readonly commitLog: CommitLogService;
|
|
197
199
|
readonly commonInfoCard: CommonInfoCardService;
|
|
198
200
|
readonly controlConfig: ControlConfigService;
|
|
201
|
+
readonly customField: CustomFieldService;
|
|
202
|
+
readonly customObject: CustomObjectService;
|
|
199
203
|
readonly customerComplaint: CustomerComplaintService;
|
|
200
204
|
readonly dashboard: DashboardService;
|
|
201
205
|
readonly dataModel: DataModelService;
|
|
@@ -2413,6 +2413,66 @@ 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: "getExternalDefaultConfig",
|
|
2429
|
+
path: "external/default-config",
|
|
2430
|
+
hasQuery: true
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
mode: "get",
|
|
2434
|
+
method: "getExternalList",
|
|
2435
|
+
path: "external/list",
|
|
2436
|
+
hasQuery: true
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
mode: "get",
|
|
2440
|
+
method: "getLocalModelConfig",
|
|
2441
|
+
path: "local-model-config"
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
mode: "get",
|
|
2445
|
+
method: "getPage",
|
|
2446
|
+
path: "page",
|
|
2447
|
+
hasQuery: true
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
mode: "get",
|
|
2451
|
+
method: "getId",
|
|
2452
|
+
path: "{id}",
|
|
2453
|
+
hasPathParams: true
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
mode: "put",
|
|
2457
|
+
method: "putId",
|
|
2458
|
+
path: "{id}",
|
|
2459
|
+
hasPathParams: true,
|
|
2460
|
+
hasData: true
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
mode: "delete",
|
|
2464
|
+
method: "deleteId",
|
|
2465
|
+
path: "{id}",
|
|
2466
|
+
hasPathParams: true
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
mode: "put",
|
|
2470
|
+
method: "putIdSetDefault",
|
|
2471
|
+
path: "{id}/set-default",
|
|
2472
|
+
hasPathParams: true
|
|
2473
|
+
}
|
|
2474
|
+
]
|
|
2475
|
+
},
|
|
2416
2476
|
{
|
|
2417
2477
|
name: "openapiGroup",
|
|
2418
2478
|
entityName: "openapi-group",
|
|
@@ -2732,6 +2792,11 @@ export const apiConfig = [
|
|
|
2732
2792
|
method: "getCardLoginCfg",
|
|
2733
2793
|
path: "card/login/cfg"
|
|
2734
2794
|
},
|
|
2795
|
+
{
|
|
2796
|
+
mode: "get",
|
|
2797
|
+
method: "getCardSignatureCfg",
|
|
2798
|
+
path: "card/signature/cfg"
|
|
2799
|
+
},
|
|
2735
2800
|
{
|
|
2736
2801
|
mode: "post",
|
|
2737
2802
|
method: "postDingtalk",
|
|
@@ -5887,6 +5952,11 @@ export const apiConfig = [
|
|
|
5887
5952
|
path: "print-log/page/list",
|
|
5888
5953
|
hasData: true
|
|
5889
5954
|
},
|
|
5955
|
+
{
|
|
5956
|
+
mode: "post",
|
|
5957
|
+
method: "postPrintBatchSendPrintData",
|
|
5958
|
+
path: "print/batchSendPrintData"
|
|
5959
|
+
},
|
|
5890
5960
|
{
|
|
5891
5961
|
mode: "get",
|
|
5892
5962
|
method: "getPrintBtwFileTree",
|
|
@@ -1585,6 +1585,12 @@ export interface ApiService {
|
|
|
1585
1585
|
data: PrintLogSearchRequest,
|
|
1586
1586
|
config?: Partial<AxiosRequestConfig>,
|
|
1587
1587
|
): Promise<IPage<PrintLogResponse>>;
|
|
1588
|
+
/**
|
|
1589
|
+
* 执行打印
|
|
1590
|
+
*/
|
|
1591
|
+
postPrintBatchSendPrintData(
|
|
1592
|
+
config?: Partial<AxiosRequestConfig>,
|
|
1593
|
+
): Promise<boolean>;
|
|
1588
1594
|
/**
|
|
1589
1595
|
* 打印客户端关联bartender模板目录树下拉
|
|
1590
1596
|
*/
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { OcrModelRequest, OcrModelResponse } from '../entities';
|
|
3
|
+
|
|
4
|
+
export interface getExternalDefaultConfigQuery extends IObject {
|
|
5
|
+
/**
|
|
6
|
+
* tenantId
|
|
7
|
+
*/
|
|
8
|
+
tenantId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface getExternalListQuery extends IObject {
|
|
11
|
+
/**
|
|
12
|
+
* tenantId
|
|
13
|
+
*/
|
|
14
|
+
tenantId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface getPageQuery extends IObject {
|
|
17
|
+
/**
|
|
18
|
+
* 关键词
|
|
19
|
+
*/
|
|
20
|
+
keyword?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 页码
|
|
23
|
+
*/
|
|
24
|
+
pageNo?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 每页数据条数
|
|
27
|
+
*/
|
|
28
|
+
pageSize?: number;
|
|
29
|
+
}
|
|
30
|
+
export interface getIdPathParams {
|
|
31
|
+
id: string;
|
|
32
|
+
}
|
|
33
|
+
export interface putIdPathParams {
|
|
34
|
+
id: string;
|
|
35
|
+
}
|
|
36
|
+
export interface deleteIdPathParams {
|
|
37
|
+
id: string;
|
|
38
|
+
}
|
|
39
|
+
export interface putIdSetDefaultPathParams {
|
|
40
|
+
id: string;
|
|
41
|
+
}
|
|
42
|
+
export interface OcrModelService {
|
|
43
|
+
/**
|
|
44
|
+
* 新建
|
|
45
|
+
*/
|
|
46
|
+
post(
|
|
47
|
+
data: OcrModelRequest,
|
|
48
|
+
config?: Partial<AxiosRequestConfig>,
|
|
49
|
+
): Promise<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 外部接口-获取默认OCR配置
|
|
52
|
+
*/
|
|
53
|
+
getExternalDefaultConfig(
|
|
54
|
+
query: getExternalDefaultConfigQuery,
|
|
55
|
+
config?: Partial<AxiosRequestConfig>,
|
|
56
|
+
): Promise<OcrModelResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* 外部接口-根据租户ID查询列表
|
|
59
|
+
*/
|
|
60
|
+
getExternalList(
|
|
61
|
+
query: getExternalListQuery,
|
|
62
|
+
config?: Partial<AxiosRequestConfig>,
|
|
63
|
+
): Promise<OcrModelResponse[]>;
|
|
64
|
+
/**
|
|
65
|
+
* 获取本地模型配置信息
|
|
66
|
+
*/
|
|
67
|
+
getLocalModelConfig(
|
|
68
|
+
config?: Partial<AxiosRequestConfig>,
|
|
69
|
+
): Promise<OcrModelResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 分页列表
|
|
72
|
+
*/
|
|
73
|
+
getPage(
|
|
74
|
+
query: getPageQuery,
|
|
75
|
+
config?: Partial<AxiosRequestConfig>,
|
|
76
|
+
): Promise<IPage<OcrModelResponse>>;
|
|
77
|
+
/**
|
|
78
|
+
* 详情
|
|
79
|
+
*/
|
|
80
|
+
getId(
|
|
81
|
+
path: getIdPathParams,
|
|
82
|
+
config?: Partial<AxiosRequestConfig>,
|
|
83
|
+
): Promise<OcrModelResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* 编辑
|
|
86
|
+
*/
|
|
87
|
+
putId(
|
|
88
|
+
path: putIdPathParams,
|
|
89
|
+
data: OcrModelRequest,
|
|
90
|
+
config?: Partial<AxiosRequestConfig>,
|
|
91
|
+
): Promise<string>;
|
|
92
|
+
/**
|
|
93
|
+
* 删除
|
|
94
|
+
*/
|
|
95
|
+
deleteId(
|
|
96
|
+
path: deleteIdPathParams,
|
|
97
|
+
config?: Partial<AxiosRequestConfig>,
|
|
98
|
+
): Promise<string>;
|
|
99
|
+
/**
|
|
100
|
+
* 设置默认
|
|
101
|
+
*/
|
|
102
|
+
putIdSetDefault(
|
|
103
|
+
path: putIdSetDefaultPathParams,
|
|
104
|
+
config?: Partial<AxiosRequestConfig>,
|
|
105
|
+
): Promise<string>;
|
|
106
|
+
}
|
|
@@ -70,6 +70,12 @@ export interface PlatService {
|
|
|
70
70
|
getCardLoginCfg(
|
|
71
71
|
config?: Partial<AxiosRequestConfig>,
|
|
72
72
|
): Promise<CardLoginConfig>;
|
|
73
|
+
/**
|
|
74
|
+
* 查询刷卡签名是否启用
|
|
75
|
+
*/
|
|
76
|
+
getCardSignatureCfg(
|
|
77
|
+
config?: Partial<AxiosRequestConfig>,
|
|
78
|
+
): Promise<CardLoginConfig>;
|
|
73
79
|
/**
|
|
74
80
|
* 钉钉设置 保存/更新
|
|
75
81
|
*/
|
|
@@ -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
|
|
@@ -17525,6 +17667,12 @@ export interface SecurityConfig {
|
|
|
17525
17667
|
* @type number
|
|
17526
17668
|
*/
|
|
17527
17669
|
signFirstTimeChangePassword?: number;
|
|
17670
|
+
/**
|
|
17671
|
+
* 签名方式
|
|
17672
|
+
*
|
|
17673
|
+
* @type string
|
|
17674
|
+
*/
|
|
17675
|
+
signMethod?: string;
|
|
17528
17676
|
/**
|
|
17529
17677
|
* 签名密码-密码最小长度
|
|
17530
17678
|
*
|
|
@@ -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;
|