@gct-paas/api 0.1.6-dev.9 → 6.0.0-dev.1

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 (33) hide show
  1. package/dist/index.esm.min.js +1 -1
  2. package/es/apaas/service/api-config.mjs +283 -0
  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/category.service.d.ts +0 -8
  6. package/es/apaas/service/apis/designer-common.service.d.ts +16 -0
  7. package/es/apaas/service/apis/edhr-instance.service.d.ts +4 -8
  8. package/es/apaas/service/apis/excel-tmpl.service.d.ts +8 -0
  9. package/es/apaas/service/apis/excel.service.d.ts +2 -2
  10. package/es/apaas/service/apis/field-meta.service.d.ts +13 -0
  11. package/es/apaas/service/apis/medPro.service.d.ts +108 -0
  12. package/es/apaas/service/apis/message-tmpl.service.d.ts +4 -0
  13. package/es/apaas/service/apis/model-meta.service.d.ts +17 -0
  14. package/es/apaas/service/apis/online-form-instance.service.d.ts +4 -16
  15. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +18 -1
  16. package/es/apaas/service/apis/print.service.d.ts +10 -1
  17. package/es/apaas/service/apis/process-approval-log.service.d.ts +1 -1
  18. package/es/apaas/service/apis/script.service.d.ts +26 -1
  19. package/es/apaas/service/apis/ss.service.d.ts +16 -0
  20. package/es/apaas/service/apis/trace-log-details.service.d.ts +12 -0
  21. package/es/apaas/service/entities.d.ts +860 -16
  22. package/es/apaas/service/index.d.ts +4 -0
  23. package/es/empty.d.ts +2 -0
  24. package/es/empty.mjs +1 -0
  25. package/es/platform/service/api-config.mjs +14 -4
  26. package/es/platform/service/apis/api.service.d.ts +35 -10
  27. package/es/platform/service/apis/dashboard.service.d.ts +0 -4
  28. package/es/platform/service/apis/license.service.d.ts +1 -10
  29. package/es/platform/service/apis/org.service.d.ts +0 -4
  30. package/es/platform/service/apis/print-log.service.d.ts +4 -0
  31. package/es/platform/service/apis/tenant.service.d.ts +0 -4
  32. package/es/platform/service/entities.d.ts +18 -0
  33. package/package.json +18 -10
@@ -31,6 +31,7 @@ import type { DataTraceService } from './apis/data-trace.service';
31
31
  import type { DesignerCommonService } from './apis/designer-common.service';
32
32
  import type { DesignerLockService } from './apis/designer-lock.service';
33
33
  import type { DesignerOperateLogService } from './apis/designer-operate-log.service';
34
+ import type { DetailPageService } from './apis/detail-page.service';
34
35
  import type { DevopsService } from './apis/devops.service';
35
36
  import type { DhrService } from './apis/dhr.service';
36
37
  import type { DifyChatService } from './apis/dify-chat.service';
@@ -159,6 +160,7 @@ import type { TraceLogDetailsService } from './apis/trace-log-details.service';
159
160
  import type { TraceMainlineService } from './apis/trace-mainline.service';
160
161
  import type { TraceMainlineExtService } from './apis/trace-mainline-ext.service';
161
162
  import type { TraceSettingService } from './apis/trace-setting.service';
163
+ import type { TransactionService } from './apis/transaction.service';
162
164
  import type { UserGroupService } from './apis/user-group.service';
163
165
  import type { UserGroupRelationService } from './apis/user-group-relation.service';
164
166
  import type { UserService } from './apis/user.service';
@@ -201,6 +203,7 @@ export interface ApiManage {
201
203
  readonly designerCommon: DesignerCommonService;
202
204
  readonly designerLock: DesignerLockService;
203
205
  readonly designerOperateLog: DesignerOperateLogService;
206
+ readonly detailPage: DetailPageService;
204
207
  readonly devops: DevopsService;
205
208
  readonly dhr: DhrService;
206
209
  readonly difyChat: DifyChatService;
@@ -329,6 +332,7 @@ export interface ApiManage {
329
332
  readonly traceMainline: TraceMainlineService;
330
333
  readonly traceMainlineExt: TraceMainlineExtService;
331
334
  readonly traceSetting: TraceSettingService;
335
+ readonly transaction: TransactionService;
332
336
  readonly userGroup: UserGroupService;
333
337
  readonly userGroupRelation: UserGroupRelationService;
334
338
  readonly user: UserService;
package/es/empty.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
package/es/empty.mjs ADDED
@@ -0,0 +1 @@
1
+ export default {};
@@ -2023,8 +2023,7 @@ export const apiConfig = [
2023
2023
  {
2024
2024
  mode: "get",
2025
2025
  method: "getModuleAuth",
2026
- path: "moduleAuth",
2027
- hasQuery: true
2026
+ path: "moduleAuth"
2028
2027
  },
2029
2028
  {
2030
2029
  mode: "get",
@@ -5310,6 +5309,12 @@ export const apiConfig = [
5310
5309
  path: "app-setting/infoByAppId",
5311
5310
  hasQuery: true
5312
5311
  },
5312
+ {
5313
+ mode: "get",
5314
+ method: "getAppCheckSecret",
5315
+ path: "app/checkSecret",
5316
+ hasQuery: true
5317
+ },
5313
5318
  {
5314
5319
  mode: "get",
5315
5320
  method: "getAppFindAllByTenantId",
@@ -5439,6 +5444,12 @@ export const apiConfig = [
5439
5444
  method: "getAppPublished",
5440
5445
  path: "app/published"
5441
5446
  },
5447
+ {
5448
+ mode: "get",
5449
+ method: "getAppSuite",
5450
+ path: "app/suite",
5451
+ hasQuery: true
5452
+ },
5442
5453
  {
5443
5454
  mode: "get",
5444
5455
  method: "getAppTestPublished",
@@ -5617,8 +5628,7 @@ export const apiConfig = [
5617
5628
  {
5618
5629
  mode: "get",
5619
5630
  method: "getLicenseModuleAuth",
5620
- path: "license/moduleAuth",
5621
- hasQuery: true
5631
+ path: "license/moduleAuth"
5622
5632
  },
5623
5633
  {
5624
5634
  mode: "post",
@@ -326,6 +326,16 @@ export interface getAppSettingInfoByAppIdQuery extends IObject {
326
326
  */
327
327
  appId: string;
328
328
  }
329
+ export interface getAppCheckSecretQuery extends IObject {
330
+ /**
331
+ * appId
332
+ */
333
+ appId: string;
334
+ /**
335
+ * env
336
+ */
337
+ env: string;
338
+ }
329
339
  export interface getAppGetDestBySourceQuery extends IObject {
330
340
  /**
331
341
  * appId
@@ -380,6 +390,16 @@ export interface getAppOrgUserInfoQuery extends IObject {
380
390
  export interface putAppOrgIdPathParams {
381
391
  id: string;
382
392
  }
393
+ export interface getAppSuiteQuery extends IObject {
394
+ /**
395
+ * suiteKey
396
+ */
397
+ suiteKey: string;
398
+ /**
399
+ * tenantId
400
+ */
401
+ tenantId: string;
402
+ }
383
403
  export interface postAppUserQuery extends IObject {
384
404
  /**
385
405
  * appId
@@ -514,12 +534,6 @@ export interface getLicenseGetAppEffectiveLicenseQuery extends IObject {
514
534
  */
515
535
  env: string;
516
536
  }
517
- export interface getLicenseModuleAuthQuery extends IObject {
518
- /**
519
- * 授权模块
520
- */
521
- module?: string;
522
- }
523
537
  export interface getLoginSettingGetQuery extends IObject {
524
538
  /**
525
539
  * code
@@ -934,6 +948,13 @@ export interface ApiService {
934
948
  query: getAppSettingInfoByAppIdQuery,
935
949
  config?: Partial<AxiosRequestConfig>,
936
950
  ): Promise<AppSettingDtoResponse>;
951
+ /**
952
+ * 校验
953
+ */
954
+ getAppCheckSecret(
955
+ query: getAppCheckSecretQuery,
956
+ config?: Partial<AxiosRequestConfig>,
957
+ ): Promise<boolean>;
937
958
  /**
938
959
  * 查询租户下所有的app
939
960
  */
@@ -1075,6 +1096,13 @@ export interface ApiService {
1075
1096
  * 查询已发布应用
1076
1097
  */
1077
1098
  getAppPublished(config?: Partial<AxiosRequestConfig>): Promise<string>;
1099
+ /**
1100
+ * 查询MDM应用信息
1101
+ */
1102
+ getAppSuite(
1103
+ query: getAppSuiteQuery,
1104
+ config?: Partial<AxiosRequestConfig>,
1105
+ ): Promise<App>;
1078
1106
  /**
1079
1107
  * 查询已发布验证环境的应用
1080
1108
  */
@@ -1276,10 +1304,7 @@ export interface ApiService {
1276
1304
  /**
1277
1305
  * 判断对应模块是否已进行授权
1278
1306
  */
1279
- getLicenseModuleAuth(
1280
- query: getLicenseModuleAuthQuery,
1281
- config?: Partial<AxiosRequestConfig>,
1282
- ): Promise<boolean>;
1307
+ getLicenseModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
1283
1308
  /**
1284
1309
  * 用户登录日志分页查询
1285
1310
  */
@@ -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;
@@ -98,12 +98,6 @@ export interface getInfoQuery extends IObject {
98
98
  */
99
99
  licenseId: string;
100
100
  }
101
- export interface getModuleAuthQuery extends IObject {
102
- /**
103
- * 授权模块
104
- */
105
- module?: string;
106
- }
107
101
  export interface getPageListQuery extends IObject {
108
102
  /**
109
103
  * 应用id
@@ -224,10 +218,7 @@ export interface LicenseService {
224
218
  /**
225
219
  * 判断对应模块是否已进行授权
226
220
  */
227
- getModuleAuth(
228
- query: getModuleAuthQuery,
229
- config?: Partial<AxiosRequestConfig>,
230
- ): Promise<boolean>;
221
+ getModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
231
222
  /**
232
223
  * 平台/应用,授权列表
233
224
  */
@@ -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
  */
@@ -74,6 +74,10 @@ export interface getPageListQuery extends IObject {
74
74
  * 开始时间
75
75
  */
76
76
  startTime?: string;
77
+ /**
78
+ * 标签名称
79
+ */
80
+ tagName?: string;
77
81
  }
78
82
  export interface PrintLogService {
79
83
  /**
@@ -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
  */
@@ -2244,6 +2244,12 @@ export interface AppResponse {
2244
2244
  * @type string
2245
2245
  */
2246
2246
  pageIcon?: string;
2247
+ /**
2248
+ * 应用是否发布生产环境
2249
+ *
2250
+ * @type boolean
2251
+ */
2252
+ pubProd?: boolean;
2247
2253
  /**
2248
2254
  *
2249
2255
  *
@@ -15707,6 +15713,12 @@ export interface PrintLogSearchRequest {
15707
15713
  * @type string
15708
15714
  */
15709
15715
  startTime?: string;
15716
+ /**
15717
+ * 标签名称
15718
+ *
15719
+ * @type string
15720
+ */
15721
+ tagName?: string;
15710
15722
  }
15711
15723
  export interface PrintResourceCount {
15712
15724
  /**
@@ -19435,6 +19447,12 @@ export interface ThirdPartyLoginConfig {
19435
19447
  * @type string
19436
19448
  */
19437
19449
  redirectURL?: string;
19450
+ /**
19451
+ * 账号关联字段(username_/账号,emp_no_/工号,mobile_/手机号码)
19452
+ *
19453
+ * @type string
19454
+ */
19455
+ relationField?: string;
19438
19456
  /**
19439
19457
  * 应用secret
19440
19458
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "0.1.6-dev.9",
3
+ "version": "6.0.0-dev.1",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -27,25 +27,32 @@
27
27
  "import": "./es/index.mjs"
28
28
  },
29
29
  "./apaas": {
30
- "types": "./es/apaas/index.d.ts"
30
+ "types": "./es/apaas/index.d.ts",
31
+ "import": "./es/empty.mjs"
31
32
  },
32
33
  "./ipaas": {
33
- "types": "./es/ipaas/index.d.ts"
34
+ "types": "./es/ipaas/index.d.ts",
35
+ "import": "./es/empty.mjs"
34
36
  },
35
37
  "./platform": {
36
- "types": "./es/platform/index.d.ts"
38
+ "types": "./es/platform/index.d.ts",
39
+ "import": "./es/empty.mjs"
37
40
  },
38
41
  "./apaas/apis/*": {
39
- "types": "./es/apaas/service/apis/*.d.ts"
42
+ "types": "./es/apaas/service/apis/*.d.ts",
43
+ "import": "./es/empty.mjs"
40
44
  },
41
45
  "./ipaas/apis/*": {
42
- "types": "./es/ipaas/service/apis/*.d.ts"
46
+ "types": "./es/ipaas/service/apis/*.d.ts",
47
+ "import": "./es/empty.mjs"
43
48
  },
44
49
  "./platform/apis/*": {
45
- "types": "./es/platform/service/apis/*.d.ts"
50
+ "types": "./es/platform/service/apis/*.d.ts",
51
+ "import": "./es/empty.mjs"
46
52
  },
47
53
  "./global-type": {
48
- "types": "./es/types/index.d.ts"
54
+ "types": "./es/types/index.d.ts",
55
+ "import": "./es/empty.mjs"
49
56
  }
50
57
  },
51
58
  "files": [
@@ -65,6 +72,7 @@
65
72
  "publish:test": "npm publish --access public --tag=test --registry=https://registry.npmjs.org/",
66
73
  "publish:beta": "npm publish --access public --tag=beta --registry=https://registry.npmjs.org/",
67
74
  "publish:npm": "npm publish --access public --registry=https://registry.npmjs.org/",
75
+ "gen-api:alpha": "./script/gen-api.sh http://paas.alpha.gct-paas.com",
68
76
  "gen-api:dev": "./script/gen-api.sh http://paas.paasdev.gct-paas.com",
69
77
  "gen-api:test": "./script/gen-api.sh"
70
78
  },
@@ -79,8 +87,8 @@
79
87
  "devDependencies": {
80
88
  "@babel/preset-env": "^7.29.5",
81
89
  "@commitlint/cli": "^20.5.3",
82
- "@gct-paas/build": "^0.1.14",
83
- "@gct-paas/cli": "^0.1.21",
90
+ "@gct-paas/build": "^0.1.17",
91
+ "@gct-paas/cli": "^0.1.23",
84
92
  "@types/fs-extra": "^11.0.4",
85
93
  "@types/lodash-es": "^4.17.12",
86
94
  "@types/node": "^25.6.2",