@gct-paas/api 0.1.0 → 0.1.2-dev.0
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 -0
- package/dist/index.system.min.js +1 -0
- package/es/apaas/service/api-config.mjs +41 -8
- package/es/apaas/service/apis/app-global-settings.service.d.ts +4 -0
- package/es/apaas/service/apis/category.service.d.ts +0 -16
- package/es/apaas/service/apis/designer-common.service.d.ts +5 -1
- package/es/apaas/service/apis/doc-control-started.service.d.ts +76 -1
- package/es/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
- package/es/apaas/service/apis/file-resource.service.d.ts +1 -0
- package/es/apaas/service/apis/file.service.d.ts +1 -0
- package/es/apaas/service/apis/i18n-info.service.d.ts +1 -0
- package/es/apaas/service/apis/label.service.d.ts +4 -1
- package/es/apaas/service/apis/office.service.d.ts +4 -1
- package/es/apaas/service/apis/process-task-done.service.d.ts +24 -1
- package/es/apaas/service/apis/process-task-todo.service.d.ts +36 -1
- package/es/apaas/service/apis/ss.service.d.ts +1 -0
- package/es/apaas/service/entities.d.ts +1665 -91
- package/es/ipaas/service/api-config.mjs +16 -2
- package/es/ipaas/service/apis/connector-config.service.d.ts +1 -0
- package/es/ipaas/service/apis/flow.service.d.ts +66 -0
- package/es/ipaas/service/entities.d.ts +136 -0
- package/es/platform/service/api-config.mjs +58 -21
- package/es/platform/service/apis/api.service.d.ts +31 -0
- package/es/platform/service/apis/apk.service.d.ts +4 -1
- package/es/platform/service/apis/app.service.d.ts +4 -1
- package/es/platform/service/apis/assets.service.d.ts +1 -0
- package/es/platform/service/apis/bi-app.service.d.ts +4 -3
- package/es/platform/service/apis/bi-file.service.d.ts +1 -0
- package/es/platform/service/apis/device-interconnection-param.service.d.ts +4 -1
- package/es/platform/service/apis/device-interconnection.service.d.ts +4 -1
- package/es/platform/service/apis/file.service.d.ts +6 -1
- package/es/platform/service/apis/i18n-info.service.d.ts +1 -0
- package/es/platform/service/apis/invoke-log.service.d.ts +17 -1
- package/es/platform/service/apis/ldap.service.d.ts +4 -1
- package/es/platform/service/apis/license.service.d.ts +18 -0
- package/es/platform/service/apis/org.service.d.ts +0 -4
- package/es/platform/service/apis/plat.service.d.ts +4 -1
- package/es/platform/service/apis/pn-project.service.d.ts +1 -0
- package/es/platform/service/apis/tenant.service.d.ts +0 -4
- package/es/platform/service/apis/user.service.d.ts +15 -3
- package/es/platform/service/entities.d.ts +94 -0
- package/lib/apaas/service/api-config.cjs +37 -8
- package/lib/apaas/service/apis/app-global-settings.service.d.ts +4 -0
- package/lib/apaas/service/apis/category.service.d.ts +0 -16
- package/lib/apaas/service/apis/designer-common.service.d.ts +5 -1
- package/lib/apaas/service/apis/doc-control-started.service.d.ts +76 -1
- package/lib/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
- package/lib/apaas/service/apis/file-resource.service.d.ts +1 -0
- package/lib/apaas/service/apis/file.service.d.ts +1 -0
- package/lib/apaas/service/apis/i18n-info.service.d.ts +1 -0
- package/lib/apaas/service/apis/label.service.d.ts +4 -1
- package/lib/apaas/service/apis/office.service.d.ts +4 -1
- package/lib/apaas/service/apis/process-task-done.service.d.ts +24 -1
- package/lib/apaas/service/apis/process-task-todo.service.d.ts +36 -1
- package/lib/apaas/service/apis/ss.service.d.ts +1 -0
- package/lib/apaas/service/entities.d.ts +1665 -91
- package/lib/ipaas/service/api-config.cjs +14 -2
- package/lib/ipaas/service/apis/connector-config.service.d.ts +1 -0
- package/lib/ipaas/service/apis/flow.service.d.ts +66 -0
- package/lib/ipaas/service/entities.d.ts +136 -0
- package/lib/platform/service/api-config.cjs +55 -21
- package/lib/platform/service/apis/api.service.d.ts +31 -0
- package/lib/platform/service/apis/apk.service.d.ts +4 -1
- package/lib/platform/service/apis/app.service.d.ts +4 -1
- package/lib/platform/service/apis/assets.service.d.ts +1 -0
- package/lib/platform/service/apis/bi-app.service.d.ts +4 -3
- package/lib/platform/service/apis/bi-file.service.d.ts +1 -0
- package/lib/platform/service/apis/device-interconnection-param.service.d.ts +4 -1
- package/lib/platform/service/apis/device-interconnection.service.d.ts +4 -1
- package/lib/platform/service/apis/file.service.d.ts +6 -1
- package/lib/platform/service/apis/i18n-info.service.d.ts +1 -0
- package/lib/platform/service/apis/invoke-log.service.d.ts +17 -1
- package/lib/platform/service/apis/ldap.service.d.ts +4 -1
- package/lib/platform/service/apis/license.service.d.ts +18 -0
- package/lib/platform/service/apis/org.service.d.ts +0 -4
- package/lib/platform/service/apis/plat.service.d.ts +4 -1
- package/lib/platform/service/apis/pn-project.service.d.ts +1 -0
- package/lib/platform/service/apis/tenant.service.d.ts +0 -4
- package/lib/platform/service/apis/user.service.d.ts +15 -3
- package/lib/platform/service/entities.d.ts +94 -0
- package/package.json +4 -4
- package/dist/gct-api.esm.min.js +0 -1
- package/dist/gct-api.system.min.js +0 -1
|
@@ -19,6 +19,10 @@ export interface getPageListQuery {
|
|
|
19
19
|
* 调用时间起
|
|
20
20
|
*/
|
|
21
21
|
beginTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 请求体
|
|
24
|
+
*/
|
|
25
|
+
body?: string;
|
|
22
26
|
/**
|
|
23
27
|
* 调用时间止
|
|
24
28
|
*/
|
|
@@ -40,13 +44,25 @@ export interface getPageListQuery {
|
|
|
40
44
|
*/
|
|
41
45
|
pageNo?: number;
|
|
42
46
|
/**
|
|
43
|
-
*
|
|
47
|
+
* 分页大小
|
|
44
48
|
*/
|
|
45
49
|
pageSize?: number;
|
|
50
|
+
/**
|
|
51
|
+
* 响应体
|
|
52
|
+
*/
|
|
53
|
+
response?: string;
|
|
46
54
|
/**
|
|
47
55
|
* 调用结果
|
|
48
56
|
*/
|
|
49
57
|
result?: number;
|
|
58
|
+
/**
|
|
59
|
+
* 排序字段
|
|
60
|
+
*/
|
|
61
|
+
sortField?: string;
|
|
62
|
+
/**
|
|
63
|
+
* 排序方式:ASC/DESC, 不传默认 ASC
|
|
64
|
+
*/
|
|
65
|
+
sortType?: string;
|
|
50
66
|
}
|
|
51
67
|
export interface InvokeLogService {
|
|
52
68
|
/**
|
|
@@ -2,6 +2,7 @@ import type { AxiosRequestConfig } from 'axios';
|
|
|
2
2
|
import type {
|
|
3
3
|
ClientsDto,
|
|
4
4
|
AuthBasicInfo,
|
|
5
|
+
AppEffectiveLicense,
|
|
5
6
|
LicenseExpireMsg,
|
|
6
7
|
LicenseLimitResponse,
|
|
7
8
|
AcLicenseResponse,
|
|
@@ -57,6 +58,16 @@ export interface getGetAppBasicInfoQuery {
|
|
|
57
58
|
*/
|
|
58
59
|
appId?: string;
|
|
59
60
|
}
|
|
61
|
+
export interface getGetAppEffectiveLicenseQuery {
|
|
62
|
+
/**
|
|
63
|
+
* 应用id
|
|
64
|
+
*/
|
|
65
|
+
appId: string;
|
|
66
|
+
/**
|
|
67
|
+
* 环境
|
|
68
|
+
*/
|
|
69
|
+
env: string;
|
|
70
|
+
}
|
|
60
71
|
export interface getGetExpireMsgQuery {
|
|
61
72
|
/**
|
|
62
73
|
* 应用id
|
|
@@ -181,6 +192,13 @@ export interface LicenseService {
|
|
|
181
192
|
query: getGetAppBasicInfoQuery,
|
|
182
193
|
config?: Partial<AxiosRequestConfig>,
|
|
183
194
|
): Promise<AuthBasicInfo>;
|
|
195
|
+
/**
|
|
196
|
+
* 获取应用有效授权
|
|
197
|
+
*/
|
|
198
|
+
getGetAppEffectiveLicense(
|
|
199
|
+
query: getGetAppEffectiveLicenseQuery,
|
|
200
|
+
config?: Partial<AxiosRequestConfig>,
|
|
201
|
+
): Promise<AppEffectiveLicense>;
|
|
184
202
|
/**
|
|
185
203
|
* 获取过期提醒
|
|
186
204
|
*/
|
|
@@ -143,7 +143,10 @@ export interface PlatService {
|
|
|
143
143
|
/**
|
|
144
144
|
* 企微证书文件上传
|
|
145
145
|
*/
|
|
146
|
-
postUploadCertFile(
|
|
146
|
+
postUploadCertFile(
|
|
147
|
+
data: FormData,
|
|
148
|
+
config?: Partial<AxiosRequestConfig>,
|
|
149
|
+
): Promise<string>;
|
|
147
150
|
/**
|
|
148
151
|
* (平台管理)添加管理员 保存
|
|
149
152
|
*/
|
|
@@ -158,6 +158,7 @@ export interface UserService {
|
|
|
158
158
|
*/
|
|
159
159
|
postOrgPlatImport(
|
|
160
160
|
query: postOrgPlatImportQuery,
|
|
161
|
+
data: FormData,
|
|
161
162
|
config?: Partial<AxiosRequestConfig>,
|
|
162
163
|
): Promise<object>;
|
|
163
164
|
/**
|
|
@@ -172,6 +173,7 @@ export interface UserService {
|
|
|
172
173
|
*/
|
|
173
174
|
postOrgTenantImport(
|
|
174
175
|
query: postOrgTenantImportQuery,
|
|
176
|
+
data: FormData,
|
|
175
177
|
config?: Partial<AxiosRequestConfig>,
|
|
176
178
|
): Promise<object>;
|
|
177
179
|
/**
|
|
@@ -179,6 +181,7 @@ export interface UserService {
|
|
|
179
181
|
*/
|
|
180
182
|
postOrgTenantImport4App(
|
|
181
183
|
query: postOrgTenantImport4AppQuery,
|
|
184
|
+
data: FormData,
|
|
182
185
|
config?: Partial<AxiosRequestConfig>,
|
|
183
186
|
): Promise<object>;
|
|
184
187
|
/**
|
|
@@ -205,7 +208,10 @@ export interface UserService {
|
|
|
205
208
|
/**
|
|
206
209
|
* (平台管理)用户管理 导入(平台/公司)人员
|
|
207
210
|
*/
|
|
208
|
-
postPlatImport(
|
|
211
|
+
postPlatImport(
|
|
212
|
+
data: FormData,
|
|
213
|
+
config?: Partial<AxiosRequestConfig>,
|
|
214
|
+
): Promise<object>;
|
|
209
215
|
/**
|
|
210
216
|
* (平台管理)用户管理 导出人员
|
|
211
217
|
*/
|
|
@@ -251,11 +257,17 @@ export interface UserService {
|
|
|
251
257
|
/**
|
|
252
258
|
* (租户管理后台)用户管理 导入(平台/公司)人员
|
|
253
259
|
*/
|
|
254
|
-
postTenantImport(
|
|
260
|
+
postTenantImport(
|
|
261
|
+
data: FormData,
|
|
262
|
+
config?: Partial<AxiosRequestConfig>,
|
|
263
|
+
): Promise<object>;
|
|
255
264
|
/**
|
|
256
265
|
* (租户管理后台)用户管理 导入(平台/公司)人员
|
|
257
266
|
*/
|
|
258
|
-
postTenantImport4App(
|
|
267
|
+
postTenantImport4App(
|
|
268
|
+
data: FormData,
|
|
269
|
+
config?: Partial<AxiosRequestConfig>,
|
|
270
|
+
): Promise<object>;
|
|
259
271
|
/**
|
|
260
272
|
* (租户管理后台)用户管理 导出人员
|
|
261
273
|
*/
|
|
@@ -36,6 +36,62 @@ export interface APIDatasetConfigDTO {
|
|
|
36
36
|
*/
|
|
37
37
|
taskFreqValue?: number;
|
|
38
38
|
}
|
|
39
|
+
export interface AcLicense {
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*
|
|
43
|
+
* @type string
|
|
44
|
+
*/
|
|
45
|
+
appId?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @type string
|
|
50
|
+
*/
|
|
51
|
+
category?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* @type string
|
|
56
|
+
*/
|
|
57
|
+
customerName?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @type string
|
|
62
|
+
*/
|
|
63
|
+
effectiveDate?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* @type string
|
|
68
|
+
*/
|
|
69
|
+
env?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @type string
|
|
74
|
+
*/
|
|
75
|
+
expirationDate?: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @type string
|
|
80
|
+
*/
|
|
81
|
+
id?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @type string
|
|
86
|
+
*/
|
|
87
|
+
productName?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @type number
|
|
92
|
+
*/
|
|
93
|
+
state?: number;
|
|
94
|
+
}
|
|
39
95
|
export interface AcLicenseResponse {
|
|
40
96
|
/**
|
|
41
97
|
* 授权类别 系统授权:system 增购:additional
|
|
@@ -1118,6 +1174,20 @@ export interface AppDataRequest {
|
|
|
1118
1174
|
*/
|
|
1119
1175
|
type?: string;
|
|
1120
1176
|
}
|
|
1177
|
+
export interface AppEffectiveLicense {
|
|
1178
|
+
/**
|
|
1179
|
+
* 是否校验license
|
|
1180
|
+
*
|
|
1181
|
+
* @type boolean
|
|
1182
|
+
*/
|
|
1183
|
+
licenseCheck?: boolean;
|
|
1184
|
+
/**
|
|
1185
|
+
* license列表
|
|
1186
|
+
*
|
|
1187
|
+
* @type AcLicense[]
|
|
1188
|
+
*/
|
|
1189
|
+
licenseList?: AcLicense[];
|
|
1190
|
+
}
|
|
1121
1191
|
export interface AppGrantedStatisticDTO {
|
|
1122
1192
|
/**
|
|
1123
1193
|
* 剩余
|
|
@@ -3587,6 +3657,12 @@ export interface BtwNodeVO {
|
|
|
3587
3657
|
* @type string
|
|
3588
3658
|
*/
|
|
3589
3659
|
name?: string;
|
|
3660
|
+
/**
|
|
3661
|
+
* btw模板路径类型:local本地选择、common网络共享
|
|
3662
|
+
*
|
|
3663
|
+
* @type string
|
|
3664
|
+
*/
|
|
3665
|
+
pathType?: string;
|
|
3590
3666
|
/**
|
|
3591
3667
|
*
|
|
3592
3668
|
*
|
|
@@ -6305,6 +6381,12 @@ export interface ExprDTO {
|
|
|
6305
6381
|
value?: IObject;
|
|
6306
6382
|
}
|
|
6307
6383
|
export interface ExtFieldConfig {
|
|
6384
|
+
/**
|
|
6385
|
+
* 启用密文展示(密文:1 ,明文:0)
|
|
6386
|
+
*
|
|
6387
|
+
* @type number
|
|
6388
|
+
*/
|
|
6389
|
+
encrypted?: number;
|
|
6308
6390
|
/**
|
|
6309
6391
|
* 字段名称
|
|
6310
6392
|
*
|
|
@@ -15421,6 +15503,12 @@ export interface PrintResourceResponse {
|
|
|
15421
15503
|
* @type string
|
|
15422
15504
|
*/
|
|
15423
15505
|
name?: string;
|
|
15506
|
+
/**
|
|
15507
|
+
* btw模板路径类型:local本地选择、common网络共享
|
|
15508
|
+
*
|
|
15509
|
+
* @type string
|
|
15510
|
+
*/
|
|
15511
|
+
pathType?: string;
|
|
15424
15512
|
/**
|
|
15425
15513
|
* 打印机IP
|
|
15426
15514
|
*
|
|
@@ -16823,6 +16911,12 @@ export interface SelectItem {
|
|
|
16823
16911
|
* @type string
|
|
16824
16912
|
*/
|
|
16825
16913
|
alias?: string;
|
|
16914
|
+
/**
|
|
16915
|
+
* 保留小数位
|
|
16916
|
+
*
|
|
16917
|
+
* @type number
|
|
16918
|
+
*/
|
|
16919
|
+
digit?: number;
|
|
16826
16920
|
/**
|
|
16827
16921
|
* 去重
|
|
16828
16922
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/api",
|
|
3
|
-
"version": "0.1.0",
|
|
3
|
+
"version": "0.1.2-dev.0",
|
|
4
4
|
"description": "paas 平台底包",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": "gct",
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
18
|
-
"pnpm": ">=10.
|
|
17
|
+
"node": ">=22.22.0",
|
|
18
|
+
"pnpm": ">=10.32.0"
|
|
19
19
|
},
|
|
20
20
|
"types": "./es/index.d.ts",
|
|
21
21
|
"main": "./lib/index.cjs",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@babel/preset-env": "^7.28.6",
|
|
82
82
|
"@commitlint/cli": "^20.3.1",
|
|
83
83
|
"@gct-paas/build": "^0.1.5-dev.6",
|
|
84
|
-
"@gct-paas/cli": "0.1.5-dev.
|
|
84
|
+
"@gct-paas/cli": "0.1.5-dev.9",
|
|
85
85
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
86
86
|
"@rollup/plugin-json": "^6.1.0",
|
|
87
87
|
"@rollup/plugin-node-resolve": "^16.0.3",
|