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

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 (26) hide show
  1. package/dist/index.esm.min.js +1 -1
  2. package/es/apaas/service/api-config.mjs +296 -1
  3. package/es/apaas/service/apis/api.service.d.ts +0 -4
  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 +0 -16
  7. package/es/apaas/service/apis/custom-field.service.d.ts +166 -0
  8. package/es/apaas/service/apis/custom-object.service.d.ts +186 -0
  9. package/es/apaas/service/apis/edhr-category.service.d.ts +27 -1
  10. package/es/apaas/service/apis/edhr-instance-search-history.service.d.ts +21 -0
  11. package/es/apaas/service/apis/edhr-instance.service.d.ts +8 -0
  12. package/es/apaas/service/apis/mdm-category.service.d.ts +148 -0
  13. package/es/apaas/service/apis/message-tmpl.service.d.ts +4 -0
  14. package/es/apaas/service/apis/model-meta.service.d.ts +16 -0
  15. package/es/apaas/service/apis/ocr.service.d.ts +7 -1
  16. package/es/apaas/service/apis/online-form-category.service.d.ts +27 -1
  17. package/es/apaas/service/apis/online-form-instance.service.d.ts +12 -0
  18. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +49 -3
  19. package/es/apaas/service/entities.d.ts +1235 -197
  20. package/es/apaas/service/index.d.ts +6 -0
  21. package/es/platform/service/api-config.mjs +27 -0
  22. package/es/platform/service/apis/api.service.d.ts +16 -5
  23. package/es/platform/service/apis/ocr-model.service.d.ts +19 -0
  24. package/es/platform/service/apis/plat.service.d.ts +6 -0
  25. package/es/platform/service/entities.d.ts +38 -0
  26. package/package.json +6 -2
@@ -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';
@@ -75,6 +77,7 @@ import type { JsEngineService } from './apis/js-engine.service';
75
77
  import type { LabelService } from './apis/label.service';
76
78
  import type { LabelLogService } from './apis/label-log.service';
77
79
  import type { LoginLogService } from './apis/login-log.service';
80
+ import type { MdmCategoryService } from './apis/mdm-category.service';
78
81
  import type { MenuConfigService } from './apis/menu-config.service';
79
82
  import type { MergeLogService } from './apis/merge-log.service';
80
83
  import type { MessageRecordService } from './apis/message-record.service';
@@ -196,6 +199,8 @@ export interface ApiManage {
196
199
  readonly commitLog: CommitLogService;
197
200
  readonly commonInfoCard: CommonInfoCardService;
198
201
  readonly controlConfig: ControlConfigService;
202
+ readonly customField: CustomFieldService;
203
+ readonly customObject: CustomObjectService;
199
204
  readonly customerComplaint: CustomerComplaintService;
200
205
  readonly dashboard: DashboardService;
201
206
  readonly dataModel: DataModelService;
@@ -247,6 +252,7 @@ export interface ApiManage {
247
252
  readonly label: LabelService;
248
253
  readonly labelLog: LabelLogService;
249
254
  readonly loginLog: LoginLogService;
255
+ readonly mdmCategory: MdmCategoryService;
250
256
  readonly menuConfig: MenuConfigService;
251
257
  readonly mergeLog: MergeLogService;
252
258
  readonly messageRecord: MessageRecordService;
@@ -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",
@@ -5754,6 +5770,12 @@ export const apiConfig = [
5754
5770
  path: "login-log/userLoginLogPage",
5755
5771
  hasData: true
5756
5772
  },
5773
+ {
5774
+ mode: "post",
5775
+ method: "postLoginLoginConfirm",
5776
+ path: "login/login/confirm",
5777
+ hasData: true
5778
+ },
5757
5779
  {
5758
5780
  mode: "get",
5759
5781
  method: "getLoginSettingGet",
@@ -5936,6 +5958,11 @@ export const apiConfig = [
5936
5958
  path: "print-log/page/list",
5937
5959
  hasData: true
5938
5960
  },
5961
+ {
5962
+ mode: "post",
5963
+ method: "postPrintBatchSendPrintData",
5964
+ path: "print/batchSendPrintData"
5965
+ },
5939
5966
  {
5940
5967
  mode: "get",
5941
5968
  method: "getPrintBtwFileTree",
@@ -43,6 +43,7 @@ import type {
43
43
  AppEffectiveLicense,
44
44
  UserLoginLogPageRequest,
45
45
  UserLoginLogDTO,
46
+ UserLoginConfirmDTO,
46
47
  ThirdPartyLoginConfig,
47
48
  ModelDTO,
48
49
  消息设置VO,
@@ -63,6 +64,7 @@ import type {
63
64
  PrintLogSearchRequest,
64
65
  PrintLogResponse,
65
66
  PrintServiceBtwTreeVO,
67
+ BtwNodeVO,
66
68
  PrintResourceMapping,
67
69
  PrintAdapterDTO,
68
70
  RegexpResponse,
@@ -589,10 +591,6 @@ export interface getOauth2AuthorizeQuery extends IObject {
589
591
  * 环境参数:test/prod
590
592
  */
591
593
  env?: string;
592
- /**
593
- * 用户登录Token
594
- */
595
- token: string;
596
594
  }
597
595
  export interface postOauth2TokenQuery extends IObject {
598
596
  /**
@@ -1382,6 +1380,13 @@ export interface ApiService {
1382
1380
  data: UserLoginLogPageRequest,
1383
1381
  config?: Partial<AxiosRequestConfig>,
1384
1382
  ): Promise<IPage<UserLoginLogDTO>>;
1383
+ /**
1384
+ * 确认登录,并踢出其他端登录
1385
+ */
1386
+ postLoginLoginConfirm(
1387
+ data: UserLoginConfirmDTO,
1388
+ config?: Partial<AxiosRequestConfig>,
1389
+ ): Promise<string>;
1385
1390
  /**
1386
1391
  * 重定向到微软登录页
1387
1392
  */
@@ -1589,6 +1594,12 @@ export interface ApiService {
1589
1594
  data: PrintLogSearchRequest,
1590
1595
  config?: Partial<AxiosRequestConfig>,
1591
1596
  ): Promise<IPage<PrintLogResponse>>;
1597
+ /**
1598
+ * 执行打印
1599
+ */
1600
+ postPrintBatchSendPrintData(
1601
+ config?: Partial<AxiosRequestConfig>,
1602
+ ): Promise<boolean>;
1592
1603
  /**
1593
1604
  * 打印客户端关联bartender模板目录树下拉
1594
1605
  */
@@ -1601,7 +1612,7 @@ export interface ApiService {
1601
1612
  getPrintBtwTmplExist(
1602
1613
  query: getPrintBtwTmplExistQuery,
1603
1614
  config?: Partial<AxiosRequestConfig>,
1604
- ): Promise<boolean>;
1615
+ ): Promise<BtwNodeVO>;
1605
1616
  /**
1606
1617
  * 根据打印机唯一标识key兑换打印机名称
1607
1618
  */
@@ -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
  */
@@ -16121,6 +16121,12 @@ export interface PrintResourceMapping {
16121
16121
  * @type number
16122
16122
  */
16123
16123
  status?: number;
16124
+ /**
16125
+ *
16126
+ *
16127
+ * @type string
16128
+ */
16129
+ tmplSaveAddress?: string;
16124
16130
  }
16125
16131
  export interface PrintResourceRemarkRequest {
16126
16132
  /**
@@ -17661,12 +17667,30 @@ export interface SecurityConfig {
17661
17667
  * @type number
17662
17668
  */
17663
17669
  signExpiryDate?: number;
17670
+ /**
17671
+ * 刷卡签名关联字段(username_/账号,emp_no_/工号,mobile_/手机号码)
17672
+ *
17673
+ * @type string
17674
+ */
17675
+ signField?: string;
17676
+ /**
17677
+ * 刷卡签名关联字段名称,冗余前端显示用
17678
+ *
17679
+ * @type string
17680
+ */
17681
+ signFieldName?: string;
17664
17682
  /**
17665
17683
  * 签名密码-首次登录是否修改密码
17666
17684
  *
17667
17685
  * @type number
17668
17686
  */
17669
17687
  signFirstTimeChangePassword?: number;
17688
+ /**
17689
+ * 签名方式
17690
+ *
17691
+ * @type string
17692
+ */
17693
+ signMethod?: string;
17670
17694
  /**
17671
17695
  * 签名密码-密码最小长度
17672
17696
  *
@@ -21274,6 +21298,14 @@ export interface UserInfoLogResponse {
21274
21298
  */
21275
21299
  userId?: string;
21276
21300
  }
21301
+ export interface UserLoginConfirmDTO {
21302
+ /**
21303
+ * token
21304
+ *
21305
+ * @type string
21306
+ */
21307
+ token?: string;
21308
+ }
21277
21309
  export interface UserLoginLogDTO {
21278
21310
  /**
21279
21311
  *
@@ -21573,6 +21605,12 @@ export interface UserLoginResp {
21573
21605
  * @type string
21574
21606
  */
21575
21607
  ip?: string;
21608
+ /**
21609
+ * 登录互斥
21610
+ *
21611
+ * @type boolean
21612
+ */
21613
+ kickOut?: boolean;
21576
21614
  /**
21577
21615
  *
21578
21616
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "6.0.0-dev.11",
3
+ "version": "6.0.0-dev.13",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -15,7 +15,7 @@
15
15
  "author": "gct",
16
16
  "engines": {
17
17
  "node": ">=22.22.0",
18
- "pnpm": ">=10.32.0"
18
+ "pnpm": ">=11.24.0"
19
19
  },
20
20
  "types": "./es/index.d.ts",
21
21
  "main": "./es/index.mjs",
@@ -107,5 +107,9 @@
107
107
  "typescript": "^5.9.3",
108
108
  "unbuild": "^3.6.1",
109
109
  "vite": "^8.0.12"
110
+ },
111
+ "volta": {
112
+ "node": "24.19.0",
113
+ "pnpm": "11.24.0"
110
114
  }
111
115
  }