@gct-paas/api 0.1.4-dev.3 → 0.1.4-dev.4
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/dist/index.system.min.js +1 -1
- package/es/apaas/service/api-config.mjs +15 -2
- package/es/apaas/service/apis/designer-common.service.d.ts +2 -2
- package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
- package/es/apaas/service/apis/file-resource.service.d.ts +1 -1
- package/es/apaas/service/apis/file.service.d.ts +1 -1
- package/es/apaas/service/apis/i18n-info.service.d.ts +1 -1
- package/es/apaas/service/apis/label.service.d.ts +1 -1
- package/es/apaas/service/apis/model-method.service.d.ts +19 -1
- package/es/apaas/service/apis/office.service.d.ts +1 -1
- package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +1 -1
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +4 -0
- package/es/apaas/service/apis/process-task-done.service.d.ts +4 -0
- package/es/apaas/service/apis/process-task-todo.service.d.ts +8 -0
- package/es/apaas/service/entities.d.ts +14 -0
- package/es/ipaas/service/apis/connector-config.service.d.ts +1 -1
- package/es/ipaas/service/apis/flow.service.d.ts +1 -1
- package/es/platform/service/api-config.mjs +16 -0
- package/es/platform/service/apis/api.service.d.ts +5 -0
- package/es/platform/service/apis/apk.service.d.ts +1 -1
- package/es/platform/service/apis/app.service.d.ts +5 -1
- package/es/platform/service/apis/assets.service.d.ts +1 -1
- package/es/platform/service/apis/bi-file.service.d.ts +1 -1
- package/es/platform/service/apis/dashboard.service.d.ts +4 -0
- package/es/platform/service/apis/device-interconnection-param.service.d.ts +1 -1
- package/es/platform/service/apis/device-interconnection.service.d.ts +1 -1
- package/es/platform/service/apis/file.service.d.ts +3 -3
- package/es/platform/service/apis/i18n-info.service.d.ts +1 -1
- package/es/platform/service/apis/ldap.service.d.ts +1 -1
- package/es/platform/service/apis/login-log.service.d.ts +13 -0
- package/es/platform/service/apis/org.service.d.ts +4 -0
- package/es/platform/service/apis/plat.service.d.ts +8 -1
- package/es/platform/service/apis/pn-project.service.d.ts +1 -1
- package/es/platform/service/apis/tenant.service.d.ts +4 -0
- package/es/platform/service/apis/user.service.d.ts +6 -6
- package/es/platform/service/entities.d.ts +357 -4
- package/package.json +3 -3
|
@@ -2343,6 +2343,12 @@ export const apiConfig = [
|
|
|
2343
2343
|
path: "page/list",
|
|
2344
2344
|
hasQuery: true
|
|
2345
2345
|
},
|
|
2346
|
+
{
|
|
2347
|
+
mode: "post",
|
|
2348
|
+
method: "postSort",
|
|
2349
|
+
path: "sort",
|
|
2350
|
+
hasData: true
|
|
2351
|
+
},
|
|
2346
2352
|
{
|
|
2347
2353
|
mode: "put",
|
|
2348
2354
|
method: "putId",
|
|
@@ -4160,7 +4166,8 @@ export const apiConfig = [
|
|
|
4160
4166
|
{
|
|
4161
4167
|
mode: "get",
|
|
4162
4168
|
method: "getDataModelList",
|
|
4163
|
-
path: "data-model/list"
|
|
4169
|
+
path: "data-model/list",
|
|
4170
|
+
hasQuery: true
|
|
4164
4171
|
},
|
|
4165
4172
|
{
|
|
4166
4173
|
mode: "get",
|
|
@@ -4183,7 +4190,8 @@ export const apiConfig = [
|
|
|
4183
4190
|
{
|
|
4184
4191
|
mode: "get",
|
|
4185
4192
|
method: "getViewModelList",
|
|
4186
|
-
path: "view-model/list"
|
|
4193
|
+
path: "view-model/list",
|
|
4194
|
+
hasQuery: true
|
|
4187
4195
|
},
|
|
4188
4196
|
{
|
|
4189
4197
|
mode: "put",
|
|
@@ -4750,6 +4758,11 @@ export const apiConfig = [
|
|
|
4750
4758
|
path: "infos",
|
|
4751
4759
|
hasData: true
|
|
4752
4760
|
},
|
|
4761
|
+
{
|
|
4762
|
+
mode: "get",
|
|
4763
|
+
method: "getIsOcrGranted",
|
|
4764
|
+
path: "isOcrGranted"
|
|
4765
|
+
},
|
|
4753
4766
|
{
|
|
4754
4767
|
mode: "get",
|
|
4755
4768
|
method: "getListBaseAndProcessForm",
|
|
@@ -435,14 +435,14 @@ export interface DesignerCommonService {
|
|
|
435
435
|
query: postUploadFileQuery,
|
|
436
436
|
data: UploadFileData,
|
|
437
437
|
config?: Partial<AxiosRequestConfig>,
|
|
438
|
-
): Promise<string
|
|
438
|
+
): Promise<IHttpResponse<string>>;
|
|
439
439
|
/**
|
|
440
440
|
* 上传标签图片
|
|
441
441
|
*/
|
|
442
442
|
postUploadLabelImage(
|
|
443
443
|
data: UploadFileData,
|
|
444
444
|
config?: Partial<AxiosRequestConfig>,
|
|
445
|
-
): Promise<string
|
|
445
|
+
): Promise<IHttpResponse<string>>;
|
|
446
446
|
/**
|
|
447
447
|
* 获取用户角色权限组
|
|
448
448
|
*/
|
|
@@ -3,6 +3,7 @@ import type {
|
|
|
3
3
|
EnumModelFieldRequest,
|
|
4
4
|
EnumModelFieldDragRequest,
|
|
5
5
|
EnumModelFieldResponse,
|
|
6
|
+
EnumModelFieldSortReq,
|
|
6
7
|
} from '../entities';
|
|
7
8
|
|
|
8
9
|
export interface deleteQuery {
|
|
@@ -113,6 +114,13 @@ export interface EnumModelFieldService {
|
|
|
113
114
|
query: getPageListQuery,
|
|
114
115
|
config?: Partial<AxiosRequestConfig>,
|
|
115
116
|
): Promise<IPage<EnumModelFieldResponse>>;
|
|
117
|
+
/**
|
|
118
|
+
* 拖拽排序
|
|
119
|
+
*/
|
|
120
|
+
postSort(
|
|
121
|
+
data: EnumModelFieldSortReq,
|
|
122
|
+
config?: Partial<AxiosRequestConfig>,
|
|
123
|
+
): Promise<string>;
|
|
116
124
|
/**
|
|
117
125
|
* 修改
|
|
118
126
|
*/
|
|
@@ -7,6 +7,12 @@ export interface deleteQuery {
|
|
|
7
7
|
*/
|
|
8
8
|
ids: string;
|
|
9
9
|
}
|
|
10
|
+
export interface getDataModelListQuery {
|
|
11
|
+
/**
|
|
12
|
+
* 搜索关键字
|
|
13
|
+
*/
|
|
14
|
+
keyword?: string;
|
|
15
|
+
}
|
|
10
16
|
export interface getInfoQuery {
|
|
11
17
|
/**
|
|
12
18
|
* id
|
|
@@ -15,7 +21,11 @@ export interface getInfoQuery {
|
|
|
15
21
|
}
|
|
16
22
|
export interface getListQuery {
|
|
17
23
|
/**
|
|
18
|
-
*
|
|
24
|
+
* 搜索关键字
|
|
25
|
+
*/
|
|
26
|
+
keyword?: string;
|
|
27
|
+
/**
|
|
28
|
+
* 模型key
|
|
19
29
|
*/
|
|
20
30
|
modelKey: string;
|
|
21
31
|
}
|
|
@@ -29,6 +39,12 @@ export interface getPageListQuery {
|
|
|
29
39
|
*/
|
|
30
40
|
pageSize?: number;
|
|
31
41
|
}
|
|
42
|
+
export interface getViewModelListQuery {
|
|
43
|
+
/**
|
|
44
|
+
* 搜索关键字
|
|
45
|
+
*/
|
|
46
|
+
keyword?: string;
|
|
47
|
+
}
|
|
32
48
|
export interface putIdPathParams {
|
|
33
49
|
id: string;
|
|
34
50
|
}
|
|
@@ -51,6 +67,7 @@ export interface ModelMethodService {
|
|
|
51
67
|
* 数据模型方法列表
|
|
52
68
|
*/
|
|
53
69
|
getDataModelList(
|
|
70
|
+
query: getDataModelListQuery,
|
|
54
71
|
config?: Partial<AxiosRequestConfig>,
|
|
55
72
|
): Promise<ModelMethodResponse[]>;
|
|
56
73
|
/**
|
|
@@ -78,6 +95,7 @@ export interface ModelMethodService {
|
|
|
78
95
|
* 视图模型方法列表
|
|
79
96
|
*/
|
|
80
97
|
getViewModelList(
|
|
98
|
+
query: getViewModelListQuery,
|
|
81
99
|
config?: Partial<AxiosRequestConfig>,
|
|
82
100
|
): Promise<ModelMethodResponse[]>;
|
|
83
101
|
/**
|
|
@@ -203,6 +203,10 @@ export interface OnlineFormTmplService {
|
|
|
203
203
|
data: DocumentInfo4Req,
|
|
204
204
|
config?: Partial<AxiosRequestConfig>,
|
|
205
205
|
): Promise<OnlineFormTmplResponse[]>;
|
|
206
|
+
/**
|
|
207
|
+
* 是否包含OCR模块权限
|
|
208
|
+
*/
|
|
209
|
+
getIsOcrGranted(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
206
210
|
/**
|
|
207
211
|
* 获取所有基础表单和流程表单
|
|
208
212
|
*/
|
|
@@ -118,6 +118,10 @@ export interface getAllUserPageListQuery {
|
|
|
118
118
|
* 任务类型
|
|
119
119
|
*/
|
|
120
120
|
taskType?: string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
taskTypeList?: string[];
|
|
121
125
|
/**
|
|
122
126
|
* 表单任务名称
|
|
123
127
|
*/
|
|
@@ -236,6 +240,10 @@ export interface getPageListQuery {
|
|
|
236
240
|
* 任务类型
|
|
237
241
|
*/
|
|
238
242
|
taskType?: string;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
*/
|
|
246
|
+
taskTypeList?: string[];
|
|
239
247
|
/**
|
|
240
248
|
* 表单任务名称
|
|
241
249
|
*/
|
|
@@ -8069,6 +8069,20 @@ export interface EnumModelFieldResponse {
|
|
|
8069
8069
|
*/
|
|
8070
8070
|
value?: string;
|
|
8071
8071
|
}
|
|
8072
|
+
export interface EnumModelFieldSortReq {
|
|
8073
|
+
/**
|
|
8074
|
+
* 枚举模型id
|
|
8075
|
+
*
|
|
8076
|
+
* @type string
|
|
8077
|
+
*/
|
|
8078
|
+
enumModelId?: string;
|
|
8079
|
+
/**
|
|
8080
|
+
*
|
|
8081
|
+
*
|
|
8082
|
+
* @type string[]
|
|
8083
|
+
*/
|
|
8084
|
+
ids?: string[];
|
|
8085
|
+
}
|
|
8072
8086
|
export interface EnumModelRequest {
|
|
8073
8087
|
/**
|
|
8074
8088
|
* 分类id
|
|
@@ -2062,6 +2062,12 @@ export const apiConfig = [
|
|
|
2062
2062
|
method: "getPageList",
|
|
2063
2063
|
path: "page/list",
|
|
2064
2064
|
hasQuery: true
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
mode: "get",
|
|
2068
|
+
method: "getTenantLog",
|
|
2069
|
+
path: "tenant/log",
|
|
2070
|
+
hasQuery: true
|
|
2065
2071
|
}
|
|
2066
2072
|
]
|
|
2067
2073
|
},
|
|
@@ -2710,6 +2716,11 @@ export const apiConfig = [
|
|
|
2710
2716
|
path: "base",
|
|
2711
2717
|
hasData: true
|
|
2712
2718
|
},
|
|
2719
|
+
{
|
|
2720
|
+
mode: "get",
|
|
2721
|
+
method: "getCardLoginCfg",
|
|
2722
|
+
path: "card/login/cfg"
|
|
2723
|
+
},
|
|
2713
2724
|
{
|
|
2714
2725
|
mode: "post",
|
|
2715
2726
|
method: "postDingtalk",
|
|
@@ -5497,6 +5508,11 @@ export const apiConfig = [
|
|
|
5497
5508
|
hasPathParams: true,
|
|
5498
5509
|
hasData: true
|
|
5499
5510
|
},
|
|
5511
|
+
{
|
|
5512
|
+
mode: "get",
|
|
5513
|
+
method: "getCallbackLogin",
|
|
5514
|
+
path: "callback/login"
|
|
5515
|
+
},
|
|
5500
5516
|
{
|
|
5501
5517
|
mode: "get",
|
|
5502
5518
|
method: "getDataSourceExecuteSelect",
|
|
@@ -28,6 +28,7 @@ import type {
|
|
|
28
28
|
TenantUserSearchRequest,
|
|
29
29
|
UserWithUserExtraDTO,
|
|
30
30
|
UserIdsDTO,
|
|
31
|
+
RedirectView,
|
|
31
32
|
DataSourceUpdateRequest,
|
|
32
33
|
DatasourceExtDTO,
|
|
33
34
|
DataSourcePageRequest,
|
|
@@ -1149,6 +1150,10 @@ export interface ApiService {
|
|
|
1149
1150
|
data: UserSaveRequest,
|
|
1150
1151
|
config?: Partial<AxiosRequestConfig>,
|
|
1151
1152
|
): Promise<string>;
|
|
1153
|
+
/**
|
|
1154
|
+
* 重定向到微软登录页
|
|
1155
|
+
*/
|
|
1156
|
+
getCallbackLogin(config?: Partial<AxiosRequestConfig>): Promise<RedirectView>;
|
|
1152
1157
|
/**
|
|
1153
1158
|
* 查询数据-iPaaS
|
|
1154
1159
|
*/
|
|
@@ -203,6 +203,10 @@ export interface getModelMetaListQuery {
|
|
|
203
203
|
*
|
|
204
204
|
*/
|
|
205
205
|
modifyUserName?: string;
|
|
206
|
+
/**
|
|
207
|
+
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据)
|
|
208
|
+
*/
|
|
209
|
+
module?: string;
|
|
206
210
|
/**
|
|
207
211
|
*
|
|
208
212
|
*/
|
|
@@ -714,7 +718,7 @@ export interface AppService {
|
|
|
714
718
|
postUploadAppPkg(
|
|
715
719
|
data: UploadFileData,
|
|
716
720
|
config?: Partial<AxiosRequestConfig>,
|
|
717
|
-
): Promise<string
|
|
721
|
+
): Promise<IHttpResponse<string>>;
|
|
718
722
|
/**
|
|
719
723
|
* 修改
|
|
720
724
|
*/
|
|
@@ -28,14 +28,14 @@ export interface FileService {
|
|
|
28
28
|
query: postUploadCommonQuery,
|
|
29
29
|
data: UploadFileData,
|
|
30
30
|
config?: Partial<AxiosRequestConfig>,
|
|
31
|
-
): Promise<string
|
|
31
|
+
): Promise<IHttpResponse<string>>;
|
|
32
32
|
/**
|
|
33
33
|
* 文件上传minio用作数据集
|
|
34
34
|
*/
|
|
35
35
|
postUploadDataset(
|
|
36
36
|
data: UploadFileData,
|
|
37
37
|
config?: Partial<AxiosRequestConfig>,
|
|
38
|
-
): Promise<object
|
|
38
|
+
): Promise<IHttpResponse<object>>;
|
|
39
39
|
/**
|
|
40
40
|
* 文件上传minio
|
|
41
41
|
*/
|
|
@@ -43,5 +43,5 @@ export interface FileService {
|
|
|
43
43
|
query: postUploadImageQuery,
|
|
44
44
|
data: UploadFileData,
|
|
45
45
|
config?: Partial<AxiosRequestConfig>,
|
|
46
|
-
): Promise<string
|
|
46
|
+
): Promise<IHttpResponse<string>>;
|
|
47
47
|
}
|
|
@@ -27,6 +27,12 @@ export interface getPageListQuery {
|
|
|
27
27
|
*/
|
|
28
28
|
startTime?: string;
|
|
29
29
|
}
|
|
30
|
+
export interface getTenantLogQuery {
|
|
31
|
+
/**
|
|
32
|
+
* 租户ID
|
|
33
|
+
*/
|
|
34
|
+
tenantId: string;
|
|
35
|
+
}
|
|
30
36
|
export interface LoginLogService {
|
|
31
37
|
/**
|
|
32
38
|
* 登录足迹分页列表
|
|
@@ -35,4 +41,11 @@ export interface LoginLogService {
|
|
|
35
41
|
query: getPageListQuery,
|
|
36
42
|
config?: Partial<AxiosRequestConfig>,
|
|
37
43
|
): Promise<IPage<LoginLogResponse>>;
|
|
44
|
+
/**
|
|
45
|
+
* 最近登录租户
|
|
46
|
+
*/
|
|
47
|
+
getTenantLog(
|
|
48
|
+
query: getTenantLogQuery,
|
|
49
|
+
config?: Partial<AxiosRequestConfig>,
|
|
50
|
+
): Promise<string>;
|
|
38
51
|
}
|
|
@@ -3,6 +3,7 @@ import type {
|
|
|
3
3
|
SysConfigResponse,
|
|
4
4
|
SysConfigRequest,
|
|
5
5
|
PlatformBaseConfig,
|
|
6
|
+
CardLoginConfig,
|
|
6
7
|
DingTalkConfig,
|
|
7
8
|
MailConfig,
|
|
8
9
|
FeiShuConfig,
|
|
@@ -63,6 +64,12 @@ export interface PlatService {
|
|
|
63
64
|
data: PlatformBaseConfig,
|
|
64
65
|
config?: Partial<AxiosRequestConfig>,
|
|
65
66
|
): Promise<string>;
|
|
67
|
+
/**
|
|
68
|
+
* 查询刷卡登录是否启用
|
|
69
|
+
*/
|
|
70
|
+
getCardLoginCfg(
|
|
71
|
+
config?: Partial<AxiosRequestConfig>,
|
|
72
|
+
): Promise<CardLoginConfig>;
|
|
66
73
|
/**
|
|
67
74
|
* 钉钉设置 保存/更新
|
|
68
75
|
*/
|
|
@@ -146,7 +153,7 @@ export interface PlatService {
|
|
|
146
153
|
postUploadCertFile(
|
|
147
154
|
data: UploadFileData,
|
|
148
155
|
config?: Partial<AxiosRequestConfig>,
|
|
149
|
-
): Promise<string
|
|
156
|
+
): Promise<IHttpResponse<string>>;
|
|
150
157
|
/**
|
|
151
158
|
* (平台管理)添加管理员 保存
|
|
152
159
|
*/
|
|
@@ -160,7 +160,7 @@ export interface UserService {
|
|
|
160
160
|
query: postOrgPlatImportQuery,
|
|
161
161
|
data: UploadFileData,
|
|
162
162
|
config?: Partial<AxiosRequestConfig>,
|
|
163
|
-
): Promise<object
|
|
163
|
+
): Promise<IHttpResponse<object>>;
|
|
164
164
|
/**
|
|
165
165
|
* (平台管理)组织成员 导出部门人员
|
|
166
166
|
*/
|
|
@@ -175,7 +175,7 @@ export interface UserService {
|
|
|
175
175
|
query: postOrgTenantImportQuery,
|
|
176
176
|
data: UploadFileData,
|
|
177
177
|
config?: Partial<AxiosRequestConfig>,
|
|
178
|
-
): Promise<object
|
|
178
|
+
): Promise<IHttpResponse<object>>;
|
|
179
179
|
/**
|
|
180
180
|
* (租户管理后台)组织成员 导入人员
|
|
181
181
|
*/
|
|
@@ -183,7 +183,7 @@ export interface UserService {
|
|
|
183
183
|
query: postOrgTenantImport4AppQuery,
|
|
184
184
|
data: UploadFileData,
|
|
185
185
|
config?: Partial<AxiosRequestConfig>,
|
|
186
|
-
): Promise<object
|
|
186
|
+
): Promise<IHttpResponse<object>>;
|
|
187
187
|
/**
|
|
188
188
|
* (租户管理后台)组织成员 导出部门人员
|
|
189
189
|
*/
|
|
@@ -211,7 +211,7 @@ export interface UserService {
|
|
|
211
211
|
postPlatImport(
|
|
212
212
|
data: UploadFileData,
|
|
213
213
|
config?: Partial<AxiosRequestConfig>,
|
|
214
|
-
): Promise<object
|
|
214
|
+
): Promise<IHttpResponse<object>>;
|
|
215
215
|
/**
|
|
216
216
|
* (平台管理)用户管理 导出人员
|
|
217
217
|
*/
|
|
@@ -260,14 +260,14 @@ export interface UserService {
|
|
|
260
260
|
postTenantImport(
|
|
261
261
|
data: UploadFileData,
|
|
262
262
|
config?: Partial<AxiosRequestConfig>,
|
|
263
|
-
): Promise<object
|
|
263
|
+
): Promise<IHttpResponse<object>>;
|
|
264
264
|
/**
|
|
265
265
|
* (租户管理后台)用户管理 导入(平台/公司)人员
|
|
266
266
|
*/
|
|
267
267
|
postTenantImport4App(
|
|
268
268
|
data: UploadFileData,
|
|
269
269
|
config?: Partial<AxiosRequestConfig>,
|
|
270
|
-
): Promise<object
|
|
270
|
+
): Promise<IHttpResponse<object>>;
|
|
271
271
|
/**
|
|
272
272
|
* (租户管理后台)用户管理 导出人员
|
|
273
273
|
*/
|