@gct-paas/api 6.0.0-dev.7 → 6.0.0-dev.9
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/apis/api.service.d.ts +4 -0
- package/es/apaas/service/apis/app-global-settings.service.d.ts +4 -0
- package/es/apaas/service/apis/page-designer-log.service.d.ts +1 -1
- package/es/apaas/service/entities.d.ts +30 -0
- package/es/ipaas/service/api-config.mjs +381 -0
- package/es/ipaas/service/apis/app.service.d.ts +26 -0
- package/es/ipaas/service/apis/bff.service.d.ts +15 -0
- package/es/ipaas/service/apis/categories.service.d.ts +9 -0
- package/es/ipaas/service/apis/category.service.d.ts +33 -1
- package/es/ipaas/service/apis/file.service.d.ts +17 -0
- package/es/ipaas/service/apis/flow.service.d.ts +234 -1
- package/es/ipaas/service/apis/knowledge.service.d.ts +196 -0
- package/es/ipaas/service/apis/variable-def.service.d.ts +87 -0
- package/es/ipaas/service/apis/variable-inst.service.d.ts +63 -0
- package/es/ipaas/service/entities.d.ts +1386 -37
- package/es/ipaas/service/index.d.ts +14 -0
- package/es/platform/service/api-config.mjs +4 -2
- package/es/platform/service/apis/api.service.d.ts +10 -5
- package/es/platform/service/apis/app.service.d.ts +4 -0
- package/es/platform/service/apis/license.service.d.ts +10 -1
- 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
|
}
|
|
@@ -2025,7 +2025,8 @@ export const apiConfig = [
|
|
|
2025
2025
|
{
|
|
2026
2026
|
mode: "get",
|
|
2027
2027
|
method: "getModuleAuth",
|
|
2028
|
-
path: "moduleAuth"
|
|
2028
|
+
path: "moduleAuth",
|
|
2029
|
+
hasQuery: true
|
|
2029
2030
|
},
|
|
2030
2031
|
{
|
|
2031
2032
|
mode: "get",
|
|
@@ -5695,7 +5696,8 @@ export const apiConfig = [
|
|
|
5695
5696
|
{
|
|
5696
5697
|
mode: "get",
|
|
5697
5698
|
method: "getLicenseModuleAuth",
|
|
5698
|
-
path: "license/moduleAuth"
|
|
5699
|
+
path: "license/moduleAuth",
|
|
5700
|
+
hasQuery: true
|
|
5699
5701
|
},
|
|
5700
5702
|
{
|
|
5701
5703
|
mode: "post",
|
|
@@ -546,6 +546,12 @@ 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
|
+
}
|
|
549
555
|
export interface getLoginSettingGetQuery extends IObject {
|
|
550
556
|
/**
|
|
551
557
|
* code
|
|
@@ -583,10 +589,6 @@ export interface getOauth2AuthorizeQuery extends IObject {
|
|
|
583
589
|
* 环境参数:test/prod
|
|
584
590
|
*/
|
|
585
591
|
env?: string;
|
|
586
|
-
/**
|
|
587
|
-
* 用户登录Token
|
|
588
|
-
*/
|
|
589
|
-
token: string;
|
|
590
592
|
}
|
|
591
593
|
export interface postOauth2TokenQuery extends IObject {
|
|
592
594
|
/**
|
|
@@ -1365,7 +1367,10 @@ export interface ApiService {
|
|
|
1365
1367
|
/**
|
|
1366
1368
|
* 判断对应模块是否已进行授权
|
|
1367
1369
|
*/
|
|
1368
|
-
getLicenseModuleAuth(
|
|
1370
|
+
getLicenseModuleAuth(
|
|
1371
|
+
query: getLicenseModuleAuthQuery,
|
|
1372
|
+
config?: Partial<AxiosRequestConfig>,
|
|
1373
|
+
): Promise<boolean>;
|
|
1369
1374
|
/**
|
|
1370
1375
|
* 用户登录日志分页查询
|
|
1371
1376
|
*/
|
|
@@ -98,6 +98,12 @@ export interface getInfoQuery extends IObject {
|
|
|
98
98
|
*/
|
|
99
99
|
licenseId: string;
|
|
100
100
|
}
|
|
101
|
+
export interface getModuleAuthQuery extends IObject {
|
|
102
|
+
/**
|
|
103
|
+
* 授权模块
|
|
104
|
+
*/
|
|
105
|
+
moduleType?: string;
|
|
106
|
+
}
|
|
101
107
|
export interface getPageListQuery extends IObject {
|
|
102
108
|
/**
|
|
103
109
|
* 应用id
|
|
@@ -218,7 +224,10 @@ export interface LicenseService {
|
|
|
218
224
|
/**
|
|
219
225
|
* 判断对应模块是否已进行授权
|
|
220
226
|
*/
|
|
221
|
-
getModuleAuth(
|
|
227
|
+
getModuleAuth(
|
|
228
|
+
query: getModuleAuthQuery,
|
|
229
|
+
config?: Partial<AxiosRequestConfig>,
|
|
230
|
+
): Promise<boolean>;
|
|
222
231
|
/**
|
|
223
232
|
* 平台/应用,授权列表
|
|
224
233
|
*/
|