@gct-paas/api 6.0.0-dev.11 → 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 +120 -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 +0 -8
- package/es/apaas/service/apis/model-meta.service.d.ts +16 -0
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +2 -2
- package/es/apaas/service/entities.d.ts +842 -190
- package/es/apaas/service/index.d.ts +4 -0
- package/es/platform/service/api-config.mjs +21 -0
- package/es/platform/service/apis/api.service.d.ts +6 -4
- package/es/platform/service/apis/app.service.d.ts +0 -4
- package/es/platform/service/apis/ocr-model.service.d.ts +19 -0
- package/es/platform/service/apis/plat.service.d.ts +6 -0
- package/es/platform/service/entities.d.ts +6 -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;
|
|
@@ -2423,12 +2423,23 @@ export const apiConfig = [
|
|
|
2423
2423
|
path: "",
|
|
2424
2424
|
hasData: true
|
|
2425
2425
|
},
|
|
2426
|
+
{
|
|
2427
|
+
mode: "get",
|
|
2428
|
+
method: "getExternalDefaultConfig",
|
|
2429
|
+
path: "external/default-config",
|
|
2430
|
+
hasQuery: true
|
|
2431
|
+
},
|
|
2426
2432
|
{
|
|
2427
2433
|
mode: "get",
|
|
2428
2434
|
method: "getExternalList",
|
|
2429
2435
|
path: "external/list",
|
|
2430
2436
|
hasQuery: true
|
|
2431
2437
|
},
|
|
2438
|
+
{
|
|
2439
|
+
mode: "get",
|
|
2440
|
+
method: "getLocalModelConfig",
|
|
2441
|
+
path: "local-model-config"
|
|
2442
|
+
},
|
|
2432
2443
|
{
|
|
2433
2444
|
mode: "get",
|
|
2434
2445
|
method: "getPage",
|
|
@@ -2781,6 +2792,11 @@ export const apiConfig = [
|
|
|
2781
2792
|
method: "getCardLoginCfg",
|
|
2782
2793
|
path: "card/login/cfg"
|
|
2783
2794
|
},
|
|
2795
|
+
{
|
|
2796
|
+
mode: "get",
|
|
2797
|
+
method: "getCardSignatureCfg",
|
|
2798
|
+
path: "card/signature/cfg"
|
|
2799
|
+
},
|
|
2784
2800
|
{
|
|
2785
2801
|
mode: "post",
|
|
2786
2802
|
method: "postDingtalk",
|
|
@@ -5936,6 +5952,11 @@ export const apiConfig = [
|
|
|
5936
5952
|
path: "print-log/page/list",
|
|
5937
5953
|
hasData: true
|
|
5938
5954
|
},
|
|
5955
|
+
{
|
|
5956
|
+
mode: "post",
|
|
5957
|
+
method: "postPrintBatchSendPrintData",
|
|
5958
|
+
path: "print/batchSendPrintData"
|
|
5959
|
+
},
|
|
5939
5960
|
{
|
|
5940
5961
|
mode: "get",
|
|
5941
5962
|
method: "getPrintBtwFileTree",
|
|
@@ -589,10 +589,6 @@ export interface getOauth2AuthorizeQuery extends IObject {
|
|
|
589
589
|
* 环境参数:test/prod
|
|
590
590
|
*/
|
|
591
591
|
env?: string;
|
|
592
|
-
/**
|
|
593
|
-
* 用户登录Token
|
|
594
|
-
*/
|
|
595
|
-
token: string;
|
|
596
592
|
}
|
|
597
593
|
export interface postOauth2TokenQuery extends IObject {
|
|
598
594
|
/**
|
|
@@ -1589,6 +1585,12 @@ export interface ApiService {
|
|
|
1589
1585
|
data: PrintLogSearchRequest,
|
|
1590
1586
|
config?: Partial<AxiosRequestConfig>,
|
|
1591
1587
|
): Promise<IPage<PrintLogResponse>>;
|
|
1588
|
+
/**
|
|
1589
|
+
* 执行打印
|
|
1590
|
+
*/
|
|
1591
|
+
postPrintBatchSendPrintData(
|
|
1592
|
+
config?: Partial<AxiosRequestConfig>,
|
|
1593
|
+
): Promise<boolean>;
|
|
1592
1594
|
/**
|
|
1593
1595
|
* 打印客户端关联bartender模板目录树下拉
|
|
1594
1596
|
*/
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import type { OcrModelRequest, OcrModelResponse } from '../entities';
|
|
3
3
|
|
|
4
|
+
export interface getExternalDefaultConfigQuery extends IObject {
|
|
5
|
+
/**
|
|
6
|
+
* tenantId
|
|
7
|
+
*/
|
|
8
|
+
tenantId: string;
|
|
9
|
+
}
|
|
4
10
|
export interface getExternalListQuery extends IObject {
|
|
5
11
|
/**
|
|
6
12
|
* tenantId
|
|
@@ -41,6 +47,13 @@ export interface OcrModelService {
|
|
|
41
47
|
data: OcrModelRequest,
|
|
42
48
|
config?: Partial<AxiosRequestConfig>,
|
|
43
49
|
): Promise<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 外部接口-获取默认OCR配置
|
|
52
|
+
*/
|
|
53
|
+
getExternalDefaultConfig(
|
|
54
|
+
query: getExternalDefaultConfigQuery,
|
|
55
|
+
config?: Partial<AxiosRequestConfig>,
|
|
56
|
+
): Promise<OcrModelResponse>;
|
|
44
57
|
/**
|
|
45
58
|
* 外部接口-根据租户ID查询列表
|
|
46
59
|
*/
|
|
@@ -48,6 +61,12 @@ export interface OcrModelService {
|
|
|
48
61
|
query: getExternalListQuery,
|
|
49
62
|
config?: Partial<AxiosRequestConfig>,
|
|
50
63
|
): Promise<OcrModelResponse[]>;
|
|
64
|
+
/**
|
|
65
|
+
* 获取本地模型配置信息
|
|
66
|
+
*/
|
|
67
|
+
getLocalModelConfig(
|
|
68
|
+
config?: Partial<AxiosRequestConfig>,
|
|
69
|
+
): Promise<OcrModelResponse>;
|
|
51
70
|
/**
|
|
52
71
|
* 分页列表
|
|
53
72
|
*/
|
|
@@ -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
|
*/
|
|
@@ -17667,6 +17667,12 @@ export interface SecurityConfig {
|
|
|
17667
17667
|
* @type number
|
|
17668
17668
|
*/
|
|
17669
17669
|
signFirstTimeChangePassword?: number;
|
|
17670
|
+
/**
|
|
17671
|
+
* 签名方式
|
|
17672
|
+
*
|
|
17673
|
+
* @type string
|
|
17674
|
+
*/
|
|
17675
|
+
signMethod?: string;
|
|
17670
17676
|
/**
|
|
17671
17677
|
* 签名密码-密码最小长度
|
|
17672
17678
|
*
|