@gct-paas/api 6.0.0-dev.6 → 6.0.0-dev.8

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 (30) hide show
  1. package/dist/index.esm.min.js +1 -1
  2. package/es/apaas/service/apis/api.service.d.ts +4 -0
  3. package/es/apaas/service/apis/app-global-settings.service.d.ts +2 -2
  4. package/es/apaas/service/apis/app-org.service.d.ts +0 -4
  5. package/es/apaas/service/apis/category.service.d.ts +8 -0
  6. package/es/apaas/service/apis/edhr-instance.service.d.ts +0 -8
  7. package/es/apaas/service/apis/excel.service.d.ts +0 -12
  8. package/es/apaas/service/apis/online-form-instance.service.d.ts +8 -0
  9. package/es/apaas/service/entities.d.ts +39 -9
  10. package/es/ipaas/service/api-config.mjs +381 -0
  11. package/es/ipaas/service/apis/app.service.d.ts +26 -0
  12. package/es/ipaas/service/apis/bff.service.d.ts +15 -0
  13. package/es/ipaas/service/apis/categories.service.d.ts +9 -0
  14. package/es/ipaas/service/apis/category.service.d.ts +33 -1
  15. package/es/ipaas/service/apis/file.service.d.ts +17 -0
  16. package/es/ipaas/service/apis/flow.service.d.ts +234 -1
  17. package/es/ipaas/service/apis/knowledge.service.d.ts +196 -0
  18. package/es/ipaas/service/apis/variable-def.service.d.ts +87 -0
  19. package/es/ipaas/service/apis/variable-inst.service.d.ts +63 -0
  20. package/es/ipaas/service/entities.d.ts +1386 -37
  21. package/es/ipaas/service/index.d.ts +14 -0
  22. package/es/platform/service/api-config.mjs +7 -2
  23. package/es/platform/service/apis/api.service.d.ts +1 -10
  24. package/es/platform/service/apis/dashboard.service.d.ts +4 -0
  25. package/es/platform/service/apis/license.service.d.ts +1 -1
  26. package/es/platform/service/apis/third-party-app.service.d.ts +38 -1
  27. package/es/platform/service/entities.d.ts +26 -0
  28. package/es/service/api-service.interface.d.ts +9 -0
  29. package/es/service/index.mjs +2 -0
  30. package/package.json +1 -1
@@ -1,23 +1,37 @@
1
+ import type { AppService } from './apis/app.service';
1
2
  import type { AuthService } from './apis/auth.service';
3
+ import type { BffService } from './apis/bff.service';
2
4
  import type { CamelService } from './apis/camel.service';
5
+ import type { CategoriesService } from './apis/categories.service';
3
6
  import type { CategoryService } from './apis/category.service';
4
7
  import type { ConnectorConfigService } from './apis/connector-config.service';
5
8
  import type { ConnectorLogService } from './apis/connector-log.service';
9
+ import type { FileService } from './apis/file.service';
6
10
  import type { FlowAppService } from './apis/flow-app.service';
7
11
  import type { FlowCategoryService } from './apis/flow-category.service';
8
12
  import type { FlowExtService } from './apis/flow-ext.service';
9
13
  import type { FlowService } from './apis/flow.service';
14
+ import type { KnowledgeService } from './apis/knowledge.service';
10
15
  import type { RuntimeService } from './apis/runtime.service';
16
+ import type { VariableDefService } from './apis/variable-def.service';
17
+ import type { VariableInstService } from './apis/variable-inst.service';
11
18
 
12
19
  export interface ApiManage {
20
+ readonly app: AppService;
13
21
  readonly auth: AuthService;
22
+ readonly bff: BffService;
14
23
  readonly camel: CamelService;
24
+ readonly categories: CategoriesService;
15
25
  readonly category: CategoryService;
16
26
  readonly connectorConfig: ConnectorConfigService;
17
27
  readonly connectorLog: ConnectorLogService;
28
+ readonly file: FileService;
18
29
  readonly flowApp: FlowAppService;
19
30
  readonly flowCategory: FlowCategoryService;
20
31
  readonly flowExt: FlowExtService;
21
32
  readonly flow: FlowService;
33
+ readonly knowledge: KnowledgeService;
22
34
  readonly runtime: RuntimeService;
35
+ readonly variableDef: VariableDefService;
36
+ readonly variableInst: VariableInstService;
23
37
  }
@@ -4283,6 +4283,12 @@ export const apiConfig = [
4283
4283
  path: "",
4284
4284
  hasData: true
4285
4285
  },
4286
+ {
4287
+ mode: "get",
4288
+ method: "getList",
4289
+ path: "list",
4290
+ hasQuery: true
4291
+ },
4286
4292
  {
4287
4293
  mode: "get",
4288
4294
  method: "getSecretGenerate",
@@ -5690,8 +5696,7 @@ export const apiConfig = [
5690
5696
  {
5691
5697
  mode: "get",
5692
5698
  method: "getLicenseModuleAuth",
5693
- path: "license/moduleAuth",
5694
- hasQuery: true
5699
+ path: "license/moduleAuth"
5695
5700
  },
5696
5701
  {
5697
5702
  mode: "post",
@@ -546,12 +546,6 @@ export interface getLicenseGetAppEffectiveLicenseQuery extends IObject {
546
546
  */
547
547
  env: string;
548
548
  }
549
- export interface getLicenseModuleAuthQuery extends IObject {
550
- /**
551
- * 授权模块
552
- */
553
- module?: string;
554
- }
555
549
  export interface getLoginSettingGetQuery extends IObject {
556
550
  /**
557
551
  * code
@@ -1371,10 +1365,7 @@ export interface ApiService {
1371
1365
  /**
1372
1366
  * 判断对应模块是否已进行授权
1373
1367
  */
1374
- getLicenseModuleAuth(
1375
- query: getLicenseModuleAuthQuery,
1376
- config?: Partial<AxiosRequestConfig>,
1377
- ): Promise<boolean>;
1368
+ getLicenseModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
1378
1369
  /**
1379
1370
  * 用户登录日志分页查询
1380
1371
  */
@@ -32,6 +32,10 @@ export interface getPageListQuery extends IObject {
32
32
  * 每页数据条数
33
33
  */
34
34
  pageSize?: number;
35
+ /**
36
+ * 仪表盘来源
37
+ */
38
+ source?: number;
35
39
  }
36
40
  export interface putIdPathParams {
37
41
  id: string;
@@ -102,7 +102,7 @@ export interface getModuleAuthQuery extends IObject {
102
102
  /**
103
103
  * 授权模块
104
104
  */
105
- module?: string;
105
+ moduleType?: string;
106
106
  }
107
107
  export interface getPageListQuery extends IObject {
108
108
  /**
@@ -1,6 +1,36 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
- import type { ThirdPartyAppRequest, ThirdPartyAppResp } from '../entities';
2
+ import type {
3
+ ThirdPartyAppRequest,
4
+ ThirdPartyAppResp,
5
+ ThirdPartyAppListResponse,
6
+ } from '../entities';
3
7
 
8
+ export interface getListQuery extends IObject {
9
+ /**
10
+ * 应用标识(模糊查询)
11
+ */
12
+ appId?: string;
13
+ /**
14
+ * 应用名称(模糊查询)
15
+ */
16
+ appName?: string;
17
+ /**
18
+ * 页码
19
+ */
20
+ pageNo?: number;
21
+ /**
22
+ * 分页大小
23
+ */
24
+ pageSize?: number;
25
+ /**
26
+ * 排序字段
27
+ */
28
+ sortField?: string;
29
+ /**
30
+ * 排序方式:ASC/DESC, 不传默认 ASC
31
+ */
32
+ sortType?: string;
33
+ }
4
34
  export interface getAppIdPathParams {
5
35
  appId: string;
6
36
  }
@@ -24,6 +54,13 @@ export interface ThirdPartyAppService {
24
54
  data: ThirdPartyAppRequest,
25
55
  config?: Partial<AxiosRequestConfig>,
26
56
  ): Promise<ThirdPartyAppResp>;
57
+ /**
58
+ * 获取第三方应用列表
59
+ */
60
+ getList(
61
+ query: getListQuery,
62
+ config?: Partial<AxiosRequestConfig>,
63
+ ): Promise<IPage<ThirdPartyAppListResponse>>;
27
64
  /**
28
65
  * 生成客户端密钥
29
66
  */
@@ -19428,6 +19428,32 @@ export interface ThirdAppConfigReq {
19428
19428
  */
19429
19429
  secret?: string;
19430
19430
  }
19431
+ export interface ThirdPartyAppListResponse {
19432
+ /**
19433
+ * 应用标识
19434
+ *
19435
+ * @type string
19436
+ */
19437
+ appId?: string;
19438
+ /**
19439
+ * 应用名称
19440
+ *
19441
+ * @type string
19442
+ */
19443
+ appName?: string;
19444
+ /**
19445
+ * 生产环境最近访问时间
19446
+ *
19447
+ * @type string
19448
+ */
19449
+ lastVisitTime?: string;
19450
+ /**
19451
+ * 验证环境最近访问时间
19452
+ *
19453
+ * @type string
19454
+ */
19455
+ testLastVisitTime?: string;
19456
+ }
19431
19457
  export interface ThirdPartyAppRequest {
19432
19458
  /**
19433
19459
  * 应用ID(必填)
@@ -1,4 +1,5 @@
1
1
  import { type ApiManage as APaasApiManage } from '../apaas';
2
+ import { type ApiManage as IpaasApiManage } from '../ipaas';
2
3
  import { type ApiManage as PlatformApiManage } from '../platform';
3
4
  /**
4
5
  * HTTP 响应接口
@@ -156,6 +157,14 @@ export interface ApiMap {
156
157
  * @type {APaasApiManage}
157
158
  */
158
159
  apaas: APaasApiManage;
160
+ /**
161
+ * IPaas 平台 API 管理
162
+ *
163
+ * @author chitanda
164
+ * @date 2025-08-21 17:08:53
165
+ * @type {IpaasApiManage}
166
+ */
167
+ ipaas: IpaasApiManage;
159
168
  /**
160
169
  * 平台 API 管理
161
170
  *
@@ -1,8 +1,10 @@
1
1
  import { apiConfig as aPaasConfig } from "../apaas/index.mjs";
2
+ import { apiConfig as ipaasConfig } from "../ipaas/index.mjs";
2
3
  import { apiConfig as platformConfig } from "../platform/index.mjs";
3
4
  import { ApiManage } from "./api-manage.mjs";
4
5
  export const api = {
5
6
  apaas: new ApiManage("/gct-apaas/api", aPaasConfig),
7
+ ipaas: new ApiManage("/gct-ipaas/api", ipaasConfig),
6
8
  platform: new ApiManage("/gct-platform/api", platformConfig)
7
9
  };
8
10
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "6.0.0-dev.6",
3
+ "version": "6.0.0-dev.8",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [