@gct-paas/api 6.0.0-dev.7 → 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.
@@ -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",
@@ -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(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
227
+ getModuleAuth(
228
+ query: getModuleAuthQuery,
229
+ config?: Partial<AxiosRequestConfig>,
230
+ ): Promise<boolean>;
222
231
  /**
223
232
  * 平台/应用,授权列表
224
233
  */
@@ -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
  */
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "6.0.0-dev.7",
3
+ "version": "6.0.0-dev.8",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [