@gct-paas/api 0.1.0-dev.2 → 0.1.0-dev.3
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/gct-api.esm.min.js +25 -0
- package/dist/gct-api.system.min.js +25 -0
- package/es/apaas/service/api-config.mjs +676 -20
- package/es/apaas/service/apis/api.service.d.ts +10 -0
- package/es/apaas/service/apis/app-granted-user.service.d.ts +1 -0
- package/es/apaas/service/apis/audit-log.service.d.ts +2 -5
- package/es/apaas/service/apis/category.service.d.ts +0 -2
- package/es/apaas/service/apis/control-config.service.d.ts +4 -0
- package/es/apaas/service/apis/designer-common.service.d.ts +4 -0
- package/es/apaas/service/apis/dhr.service.d.ts +46 -0
- package/es/apaas/service/apis/doc-outline.service.d.ts +1 -1
- package/es/apaas/service/apis/document.service.d.ts +4 -0
- package/es/apaas/service/apis/edhr-category.service.d.ts +57 -0
- package/es/apaas/service/apis/edhr-circulationFormRelateModel.service.d.ts +60 -0
- package/es/apaas/service/apis/edhr-instance.service.d.ts +7 -0
- package/es/apaas/service/apis/edhr-tmpl.service.d.ts +5 -2
- package/es/apaas/service/apis/file-resource.service.d.ts +1 -0
- package/es/apaas/service/apis/file.service.d.ts +10 -0
- package/es/apaas/service/apis/form.service.d.ts +41 -0
- package/es/apaas/service/apis/label.service.d.ts +41 -1
- package/es/apaas/service/apis/message-record.service.d.ts +2 -0
- package/es/apaas/service/apis/model-meta.service.d.ts +25 -0
- package/es/apaas/service/apis/model-permission-relation.service.d.ts +50 -0
- package/es/apaas/service/apis/online-form-category.service.d.ts +57 -0
- package/es/apaas/service/apis/online-form-instance.service.d.ts +75 -6
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +6 -1
- package/es/apaas/service/apis/online-form.service.d.ts +0 -5
- package/es/apaas/service/apis/online-user-summary.service.d.ts +50 -0
- package/es/apaas/service/apis/online.service.d.ts +15 -1
- package/es/apaas/service/apis/pad-page.service.d.ts +70 -0
- package/es/apaas/service/apis/page-designer-log.service.d.ts +1 -1
- package/es/apaas/service/apis/pm-process-definition.service.d.ts +1 -0
- package/es/apaas/service/apis/print.service.d.ts +5 -0
- package/es/apaas/service/apis/process-definition-version.service.d.ts +8 -0
- package/es/apaas/service/apis/process-path.service.d.ts +8 -0
- package/es/apaas/service/apis/process-task-done.service.d.ts +10 -0
- package/es/apaas/service/apis/process-task-todo.service.d.ts +20 -0
- package/es/apaas/service/apis/product-release.service.d.ts +9 -0
- package/es/apaas/service/apis/report-data-set.service.d.ts +10 -0
- package/es/apaas/service/apis/sandbox-config.service.d.ts +74 -0
- package/es/apaas/service/apis/ss.service.d.ts +12 -0
- package/es/apaas/service/apis/trace-log.service.d.ts +1 -0
- package/es/apaas/service/entities.d.ts +9796 -6316
- package/es/apaas/service/index.d.ts +18 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/ipaas/service/api-config.mjs +21 -0
- package/es/ipaas/service/apis/camel.service.d.ts +8 -0
- package/es/ipaas/service/apis/flow.service.d.ts +10 -1
- package/es/ipaas/service/entities.d.ts +27 -1
- package/es/platform/service/api-config.mjs +320 -16
- package/es/platform/service/apis/api.service.d.ts +63 -30
- package/es/platform/service/apis/app-member.service.d.ts +0 -4
- package/es/platform/service/apis/bi-app.service.d.ts +6 -0
- package/es/platform/service/apis/database.service.d.ts +24 -0
- package/es/platform/service/apis/dataset.service.d.ts +19 -0
- package/es/platform/service/apis/device-interconnection-param.service.d.ts +58 -0
- package/es/platform/service/apis/device-interconnection.service.d.ts +63 -0
- package/es/platform/service/apis/device-param-ref.service.d.ts +25 -0
- package/es/platform/service/apis/file-task.service.d.ts +1 -0
- package/es/platform/service/apis/file.service.d.ts +4 -0
- package/es/platform/service/apis/license.service.d.ts +8 -0
- package/es/platform/service/apis/login.service.d.ts +1 -0
- package/es/platform/service/apis/org.service.d.ts +1 -0
- package/es/platform/service/apis/plat.service.d.ts +17 -0
- package/es/platform/service/apis/seal-management.service.d.ts +1 -1
- package/es/platform/service/apis/tenant.service.d.ts +1 -0
- package/es/platform/service/entities.d.ts +768 -72
- package/es/platform/service/index.d.ts +8 -0
- package/es/service/api-manage.d.ts +26 -0
- package/es/service/api-manage.mjs +29 -0
- package/es/service/api-service.d.ts +96 -0
- package/es/service/api-service.interface.d.ts +159 -0
- package/es/service/api-service.interface.mjs +0 -0
- package/es/service/api-service.mjs +169 -0
- package/es/service/http.enum.d.ts +76 -0
- package/es/service/http.enum.mjs +60 -0
- package/es/service/http.util.d.ts +113 -0
- package/es/service/http.util.mjs +155 -0
- package/es/service/index.d.ts +8 -0
- package/es/service/index.mjs +14 -0
- package/es/types/index.d.ts +2 -0
- package/es/utils/index.d.ts +10 -0
- package/es/utils/index.mjs +14 -0
- package/lib/apaas/service/api-config.cjs +566 -14
- package/lib/apaas/service/apis/api.service.d.ts +10 -0
- package/lib/apaas/service/apis/app-granted-user.service.d.ts +1 -0
- package/lib/apaas/service/apis/audit-log.service.d.ts +2 -5
- package/lib/apaas/service/apis/category.service.d.ts +0 -2
- package/lib/apaas/service/apis/control-config.service.d.ts +4 -0
- package/lib/apaas/service/apis/designer-common.service.d.ts +4 -0
- package/lib/apaas/service/apis/dhr.service.d.ts +46 -0
- package/lib/apaas/service/apis/doc-outline.service.d.ts +1 -1
- package/lib/apaas/service/apis/document.service.d.ts +4 -0
- package/lib/apaas/service/apis/edhr-category.service.d.ts +57 -0
- package/lib/apaas/service/apis/edhr-circulationFormRelateModel.service.d.ts +60 -0
- package/lib/apaas/service/apis/edhr-instance.service.d.ts +7 -0
- package/lib/apaas/service/apis/edhr-tmpl.service.d.ts +5 -2
- package/lib/apaas/service/apis/file-resource.service.d.ts +1 -0
- package/lib/apaas/service/apis/file.service.d.ts +10 -0
- package/lib/apaas/service/apis/form.service.d.ts +41 -0
- package/lib/apaas/service/apis/label.service.d.ts +41 -1
- package/lib/apaas/service/apis/message-record.service.d.ts +2 -0
- package/lib/apaas/service/apis/model-meta.service.d.ts +25 -0
- package/lib/apaas/service/apis/model-permission-relation.service.d.ts +50 -0
- package/lib/apaas/service/apis/online-form-category.service.d.ts +57 -0
- package/lib/apaas/service/apis/online-form-instance.service.d.ts +75 -6
- package/lib/apaas/service/apis/online-form-tmpl.service.d.ts +6 -1
- package/lib/apaas/service/apis/online-form.service.d.ts +0 -5
- package/lib/apaas/service/apis/online-user-summary.service.d.ts +50 -0
- package/lib/apaas/service/apis/online.service.d.ts +15 -1
- package/lib/apaas/service/apis/pad-page.service.d.ts +70 -0
- package/lib/apaas/service/apis/page-designer-log.service.d.ts +1 -1
- package/lib/apaas/service/apis/pm-process-definition.service.d.ts +1 -0
- package/lib/apaas/service/apis/print.service.d.ts +5 -0
- package/lib/apaas/service/apis/process-definition-version.service.d.ts +8 -0
- package/lib/apaas/service/apis/process-path.service.d.ts +8 -0
- package/lib/apaas/service/apis/process-task-done.service.d.ts +10 -0
- package/lib/apaas/service/apis/process-task-todo.service.d.ts +20 -0
- package/lib/apaas/service/apis/product-release.service.d.ts +9 -0
- package/lib/apaas/service/apis/report-data-set.service.d.ts +10 -0
- package/lib/apaas/service/apis/sandbox-config.service.d.ts +74 -0
- package/lib/apaas/service/apis/ss.service.d.ts +12 -0
- package/lib/apaas/service/apis/trace-log.service.d.ts +1 -0
- package/lib/apaas/service/entities.d.ts +9796 -6316
- package/lib/apaas/service/index.d.ts +18 -0
- package/lib/index.cjs +16 -0
- package/lib/ipaas/service/api-config.cjs +18 -0
- package/lib/ipaas/service/apis/camel.service.d.ts +8 -0
- package/lib/ipaas/service/apis/flow.service.d.ts +10 -1
- package/lib/ipaas/service/entities.d.ts +27 -1
- package/lib/platform/service/api-config.cjs +271 -15
- package/lib/platform/service/apis/api.service.d.ts +63 -30
- package/lib/platform/service/apis/app-member.service.d.ts +0 -4
- package/lib/platform/service/apis/bi-app.service.d.ts +6 -0
- package/lib/platform/service/apis/database.service.d.ts +24 -0
- package/lib/platform/service/apis/dataset.service.d.ts +19 -0
- package/lib/platform/service/apis/device-interconnection-param.service.d.ts +58 -0
- package/lib/platform/service/apis/device-interconnection.service.d.ts +63 -0
- package/lib/platform/service/apis/device-param-ref.service.d.ts +25 -0
- package/lib/platform/service/apis/file-task.service.d.ts +1 -0
- package/lib/platform/service/apis/file.service.d.ts +4 -0
- package/lib/platform/service/apis/license.service.d.ts +8 -0
- package/lib/platform/service/apis/login.service.d.ts +1 -0
- package/lib/platform/service/apis/org.service.d.ts +1 -0
- package/lib/platform/service/apis/plat.service.d.ts +17 -0
- package/lib/platform/service/apis/seal-management.service.d.ts +1 -1
- package/lib/platform/service/apis/tenant.service.d.ts +1 -0
- package/lib/platform/service/entities.d.ts +768 -72
- package/lib/platform/service/index.d.ts +8 -0
- package/lib/service/api-manage.cjs +34 -0
- package/lib/service/api-service.cjs +142 -0
- package/lib/service/api-service.interface.cjs +1 -0
- package/lib/service/http.enum.cjs +66 -0
- package/lib/service/http.util.cjs +181 -0
- package/lib/service/index.cjs +45 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/utils/index.cjs +16 -0
- package/package.json +38 -38
- package/dist/api-apaas.esm.js +0 -1
- package/dist/api-apaas.system.js +0 -1
- package/dist/api-ipaas.esm.js +0 -1
- package/dist/api-ipaas.system.js +0 -1
- package/dist/api-platform.esm.js +0 -1
- package/dist/api-platform.system.js +0 -1
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
UserResponse,
|
|
9
9
|
AppGrantedStatisticDTO,
|
|
10
10
|
AppSettingDtoResponse,
|
|
11
|
+
App,
|
|
11
12
|
AppLockRequest,
|
|
12
13
|
OrgRequest,
|
|
13
14
|
OrgDragRequest,
|
|
@@ -17,10 +18,12 @@ import type {
|
|
|
17
18
|
OrgCreateAndAddUserRequest,
|
|
18
19
|
OrgUserResponse,
|
|
19
20
|
OrgMoveUserRequest,
|
|
21
|
+
OrgUserSearchRequest,
|
|
20
22
|
OrgRemoveUserRequest,
|
|
21
23
|
AppDataRequest,
|
|
22
24
|
UserSaveRequest,
|
|
23
25
|
TenantUserRemoveRequest,
|
|
26
|
+
TenantUserSearchRequest,
|
|
24
27
|
UserWithUserExtraDTO,
|
|
25
28
|
UserIdsDTO,
|
|
26
29
|
DataSourceUpdateRequest,
|
|
@@ -49,6 +52,7 @@ import type {
|
|
|
49
52
|
SecurityConfig,
|
|
50
53
|
PrintLogSearchRequest,
|
|
51
54
|
PrintLogResponse,
|
|
55
|
+
PrintServiceBtwTreeVO,
|
|
52
56
|
PrintAdapterDTO,
|
|
53
57
|
RegexpResponse,
|
|
54
58
|
RegexpRequest,
|
|
@@ -141,6 +145,7 @@ export interface getAppGrantedUserPageListQuery {
|
|
|
141
145
|
fullname?: string; // fullname
|
|
142
146
|
pageNo?: number; // pageNo
|
|
143
147
|
pageSize?: number; // pageSize
|
|
148
|
+
searchTag: number; // searchTag
|
|
144
149
|
tenantId: string; // tenantId
|
|
145
150
|
username?: string; // username
|
|
146
151
|
}
|
|
@@ -180,20 +185,6 @@ export interface getAppOrgUserInfoQuery {
|
|
|
180
185
|
orgId: string; // 组织id
|
|
181
186
|
userId: string; // 用户id
|
|
182
187
|
}
|
|
183
|
-
export interface getAppOrgUserPageListQuery {
|
|
184
|
-
allUserOption?: number; // 是否显示下级
|
|
185
|
-
enabled?: number; // 是否启用
|
|
186
|
-
endTime?: string; // 创建结束时间
|
|
187
|
-
fullname?: string; // 姓名
|
|
188
|
-
mobile?: string; // 手机号码
|
|
189
|
-
orgId: string; // 部门id
|
|
190
|
-
pageNo?: number; // 页码
|
|
191
|
-
pageSize?: number; // 分页大小
|
|
192
|
-
sortField?: string; // 排序字段
|
|
193
|
-
sortType?: string; // 排序方式:ASC/DESC, 不传默认 ASC
|
|
194
|
-
startTime?: string; // 创建开始时间
|
|
195
|
-
username?: string; // 账号
|
|
196
|
-
}
|
|
197
188
|
export interface postAppUserQuery {
|
|
198
189
|
appId: string; // appId
|
|
199
190
|
env: string; // env
|
|
@@ -208,18 +199,6 @@ export interface putAppUserDisableQuery {
|
|
|
208
199
|
export interface putAppUserEnableQuery {
|
|
209
200
|
ids: string; // ids
|
|
210
201
|
}
|
|
211
|
-
export interface getAppUserPageListQuery {
|
|
212
|
-
enabled?: number; // 是否启用
|
|
213
|
-
endTime?: string; // 创建结束时间
|
|
214
|
-
fullname?: string; // 姓名
|
|
215
|
-
mobile?: string; // 手机号码
|
|
216
|
-
pageNo?: number; // 页码
|
|
217
|
-
pageSize?: number; // 分页大小
|
|
218
|
-
sortField?: string; // 排序字段
|
|
219
|
-
sortType?: string; // 排序方式:ASC/DESC, 不传默认 ASC
|
|
220
|
-
startTime?: string; // 创建开始时间
|
|
221
|
-
username?: string; // 账号
|
|
222
|
-
}
|
|
223
202
|
export interface postAppUserSaveListQuery {
|
|
224
203
|
defaultOrgId?: string; // defaultOrgId
|
|
225
204
|
tenantId: string; // tenantId
|
|
@@ -246,9 +225,18 @@ export interface getDataSourceTypeQuery {
|
|
|
246
225
|
env: string; // env
|
|
247
226
|
key: string; // key
|
|
248
227
|
}
|
|
228
|
+
export interface deleteDevopsSbxQuery {
|
|
229
|
+
appId: string; // appId
|
|
230
|
+
}
|
|
231
|
+
export interface getDevopsSbxRedoDataQuery {
|
|
232
|
+
appId: string; // appId
|
|
233
|
+
}
|
|
249
234
|
export interface getKnowledgeBaseFindByIdsQuery {
|
|
250
235
|
ids: string; // ids
|
|
251
236
|
}
|
|
237
|
+
export interface getLoginSsoOauth2AuthorizeQuery {
|
|
238
|
+
code?: string; // 授权码
|
|
239
|
+
}
|
|
252
240
|
export interface getModelInfoQuery {
|
|
253
241
|
modelName: string; // 模型名称
|
|
254
242
|
providerId: string; // 服务提供商
|
|
@@ -292,6 +280,9 @@ export interface getOrgUserPickerAppListUserByIdsQuery {
|
|
|
292
280
|
export interface postOrgListQuery {
|
|
293
281
|
tenantId: string; // tenantId
|
|
294
282
|
}
|
|
283
|
+
export interface getPrintBtwTmplExistQuery {
|
|
284
|
+
printKey: string; // printKey
|
|
285
|
+
}
|
|
295
286
|
export interface getPrintExchangePrinterNameQuery {
|
|
296
287
|
printKeys: string; // printKeys
|
|
297
288
|
}
|
|
@@ -448,6 +439,10 @@ export interface ApiService {
|
|
|
448
439
|
query: getAppSettingInfoByAppIdQuery,
|
|
449
440
|
config?: Record<string, string>,
|
|
450
441
|
): Promise<IHttpResponse<AppSettingDtoResponse>>;
|
|
442
|
+
// 查询租户下所有的app
|
|
443
|
+
getAppFindAllByTenantId(
|
|
444
|
+
config?: Record<string, string>,
|
|
445
|
+
): Promise<IHttpResponse<App[]>>;
|
|
451
446
|
// 获取 app的被共享应用
|
|
452
447
|
getAppGetDestBySource(
|
|
453
448
|
query: getAppGetDestBySourceQuery,
|
|
@@ -522,8 +517,8 @@ export interface ApiService {
|
|
|
522
517
|
config?: Record<string, string>,
|
|
523
518
|
): Promise<IHttpResponse<string>>;
|
|
524
519
|
// 组织用户分页查询
|
|
525
|
-
|
|
526
|
-
|
|
520
|
+
postAppOrgUserPageList(
|
|
521
|
+
data: OrgUserSearchRequest,
|
|
527
522
|
config?: Record<string, string>,
|
|
528
523
|
): Promise<IHttpResponse<IPage<OrgUserResponse>>>;
|
|
529
524
|
// 移除用户
|
|
@@ -541,10 +536,18 @@ export interface ApiService {
|
|
|
541
536
|
data: OrgRequest,
|
|
542
537
|
config?: Record<string, string>,
|
|
543
538
|
): Promise<IHttpResponse<string>>;
|
|
539
|
+
// 查询已发布生产环境的应用
|
|
540
|
+
getAppProdPublished(
|
|
541
|
+
config?: Record<string, string>,
|
|
542
|
+
): Promise<IHttpResponse<string>>;
|
|
544
543
|
// 查询已发布应用
|
|
545
544
|
getAppPublished(
|
|
546
545
|
config?: Record<string, string>,
|
|
547
546
|
): Promise<IHttpResponse<string>>;
|
|
547
|
+
// 查询已发布验证环境的应用
|
|
548
|
+
getAppTestPublished(
|
|
549
|
+
config?: Record<string, string>,
|
|
550
|
+
): Promise<IHttpResponse<string>>;
|
|
548
551
|
// 更改apaas内的应用时同步更改平台的app应用配置信息
|
|
549
552
|
postAppUpdateApaasAppSetting(
|
|
550
553
|
data: AppDataRequest,
|
|
@@ -577,8 +580,8 @@ export interface ApiService {
|
|
|
577
580
|
config?: Record<string, string>,
|
|
578
581
|
): Promise<IHttpResponse<OrgUserResponse>>;
|
|
579
582
|
// 分页列表
|
|
580
|
-
|
|
581
|
-
|
|
583
|
+
postAppUserPageList(
|
|
584
|
+
data: TenantUserSearchRequest,
|
|
582
585
|
config?: Record<string, string>,
|
|
583
586
|
): Promise<IHttpResponse<IPage<UserWithUserExtraDTO>>>;
|
|
584
587
|
// 移除
|
|
@@ -642,6 +645,16 @@ export interface ApiService {
|
|
|
642
645
|
query: getDataSourceTypeQuery,
|
|
643
646
|
config?: Record<string, string>,
|
|
644
647
|
): Promise<IHttpResponse<string>>;
|
|
648
|
+
// 移除沙箱环境数据
|
|
649
|
+
deleteDevopsSbx(
|
|
650
|
+
query: deleteDevopsSbxQuery,
|
|
651
|
+
config?: Record<string, string>,
|
|
652
|
+
): Promise<IHttpResponse<string>>;
|
|
653
|
+
// 移除并生成沙箱数据
|
|
654
|
+
getDevopsSbxRedoData(
|
|
655
|
+
query: getDevopsSbxRedoDataQuery,
|
|
656
|
+
config?: Record<string, string>,
|
|
657
|
+
): Promise<IHttpResponse<string>>;
|
|
645
658
|
// 根据文件ID查询文件信息
|
|
646
659
|
postFileTaskList(
|
|
647
660
|
config?: Record<string, string>,
|
|
@@ -666,6 +679,15 @@ export interface ApiService {
|
|
|
666
679
|
data: UserLoginLogPageRequest,
|
|
667
680
|
config?: Record<string, string>,
|
|
668
681
|
): Promise<IHttpResponse<IPage<UserLoginLogDTO>>>;
|
|
682
|
+
// 泛微OA认证地址
|
|
683
|
+
getLoginSsoOauth2Authorize(
|
|
684
|
+
query: getLoginSsoOauth2AuthorizeQuery,
|
|
685
|
+
config?: Record<string, string>,
|
|
686
|
+
): Promise<IHttpResponse<unknown>>;
|
|
687
|
+
// 调试用重定向地址
|
|
688
|
+
getLoginSsoOauth2Debug(
|
|
689
|
+
config?: Record<string, string>,
|
|
690
|
+
): Promise<IHttpResponse<unknown>>;
|
|
669
691
|
// 获取LLM
|
|
670
692
|
getModelInfo(
|
|
671
693
|
query: getModelInfoQuery,
|
|
@@ -740,6 +762,8 @@ export interface ApiService {
|
|
|
740
762
|
postOrgFindAllByIdIn(
|
|
741
763
|
config?: Record<string, string>,
|
|
742
764
|
): Promise<IHttpResponse<OrgBaseInfo[]>>;
|
|
765
|
+
// 详情
|
|
766
|
+
getOrgInfoId(config?: Record<string, string>): Promise<IHttpResponse<Org>>;
|
|
743
767
|
// 根据机构名称全路径查询
|
|
744
768
|
postOrgList(
|
|
745
769
|
query: postOrgListQuery,
|
|
@@ -782,6 +806,15 @@ export interface ApiService {
|
|
|
782
806
|
data: PrintLogSearchRequest,
|
|
783
807
|
config?: Record<string, string>,
|
|
784
808
|
): Promise<IHttpResponse<IPage<PrintLogResponse>>>;
|
|
809
|
+
// 打印客户端关联bartender模板目录树下拉
|
|
810
|
+
getPrintBtwFileTree(
|
|
811
|
+
config?: Record<string, string>,
|
|
812
|
+
): Promise<IHttpResponse<PrintServiceBtwTreeVO[]>>;
|
|
813
|
+
// 根据printKey解析出这个btw模板文件是否还在原本的btw tree结构中(原来的磁盘路径中)
|
|
814
|
+
getPrintBtwTmplExist(
|
|
815
|
+
query: getPrintBtwTmplExistQuery,
|
|
816
|
+
config?: Record<string, string>,
|
|
817
|
+
): Promise<IHttpResponse<boolean>>;
|
|
785
818
|
// 根据打印机唯一标识key兑换打印机名称
|
|
786
819
|
getPrintExchangePrinterName(
|
|
787
820
|
query: getPrintExchangePrinterNameQuery,
|
|
@@ -37,10 +37,6 @@ export interface AppMemberService {
|
|
|
37
37
|
query: getListQuery,
|
|
38
38
|
config?: Record<string, string>,
|
|
39
39
|
): Promise<IHttpResponse<AppMemberResponse[]>>;
|
|
40
|
-
// 列表
|
|
41
|
-
postListMulti(
|
|
42
|
-
config?: Record<string, string>,
|
|
43
|
-
): Promise<IHttpResponse<IObject>>;
|
|
44
40
|
// 分页列表
|
|
45
41
|
getPageList(
|
|
46
42
|
query: getPageListQuery,
|
|
@@ -5,6 +5,7 @@ import type {
|
|
|
5
5
|
数据库数据源查询参数,
|
|
6
6
|
RunSqlForm,
|
|
7
7
|
TableInformationSchema,
|
|
8
|
+
JSONObject,
|
|
8
9
|
TestDatabaseConnForm,
|
|
9
10
|
} from '../entities';
|
|
10
11
|
|
|
@@ -39,12 +40,24 @@ export interface getTableInformationQuery {
|
|
|
39
40
|
export interface getViewInformationQuery {
|
|
40
41
|
id: string; // 数据源id
|
|
41
42
|
}
|
|
43
|
+
export interface putIdQuery {
|
|
44
|
+
id: string; // 数据主键
|
|
45
|
+
}
|
|
42
46
|
export interface DatabaseService {
|
|
47
|
+
// 保存
|
|
48
|
+
post(
|
|
49
|
+
data: AddDatabaseForm,
|
|
50
|
+
config?: Record<string, string>,
|
|
51
|
+
): Promise<IHttpResponse<string>>;
|
|
43
52
|
// 创建数据库数据源
|
|
44
53
|
postAddDatabase(
|
|
45
54
|
data: AddDatabaseForm,
|
|
46
55
|
config?: Record<string, string>,
|
|
47
56
|
): Promise<IHttpResponse<string>>;
|
|
57
|
+
// api数据打平
|
|
58
|
+
postApiDataFlatten(
|
|
59
|
+
config?: Record<string, string>,
|
|
60
|
+
): Promise<IHttpResponse<IObject[]>>;
|
|
48
61
|
// 查询表字段信息
|
|
49
62
|
getColumnInformation(
|
|
50
63
|
query: getColumnInformationQuery,
|
|
@@ -90,6 +103,11 @@ export interface DatabaseService {
|
|
|
90
103
|
query: getTableInformationQuery,
|
|
91
104
|
config?: Record<string, string>,
|
|
92
105
|
): Promise<IHttpResponse<TableInformationSchema[]>>;
|
|
106
|
+
// 测试api数据源
|
|
107
|
+
postTestApi(
|
|
108
|
+
data: AddDatabaseForm,
|
|
109
|
+
config?: Record<string, string>,
|
|
110
|
+
): Promise<IHttpResponse<JSONObject>>;
|
|
93
111
|
// 测试数据库连接
|
|
94
112
|
postTestDatabaseConn(
|
|
95
113
|
data: TestDatabaseConnForm,
|
|
@@ -105,4 +123,10 @@ export interface DatabaseService {
|
|
|
105
123
|
query: getViewInformationQuery,
|
|
106
124
|
config?: Record<string, string>,
|
|
107
125
|
): Promise<IHttpResponse<TableInformationSchema[]>>;
|
|
126
|
+
// 修改
|
|
127
|
+
putId(
|
|
128
|
+
query: putIdQuery,
|
|
129
|
+
data: AddDatabaseForm,
|
|
130
|
+
config?: Record<string, string>,
|
|
131
|
+
): Promise<IHttpResponse<string>>;
|
|
108
132
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
PnDatasetRequest,
|
|
3
3
|
SqlResult,
|
|
4
|
+
APIDatasetConfigDTO,
|
|
4
5
|
ExprDTO,
|
|
5
6
|
PnDatasetResponse,
|
|
6
7
|
PnDataset,
|
|
@@ -17,11 +18,18 @@ export interface getColumnValueQuery {
|
|
|
17
18
|
column: string; // column
|
|
18
19
|
datasetId: string; // datasetId
|
|
19
20
|
}
|
|
21
|
+
export interface postCreateRequestQuery {
|
|
22
|
+
datasourceId: string; // 数据源id
|
|
23
|
+
}
|
|
24
|
+
export interface postEditRequestQuery {
|
|
25
|
+
datasetId: string; // 数据集id
|
|
26
|
+
}
|
|
20
27
|
export interface putEncodeQuery {
|
|
21
28
|
sql: string; // encode的id,多个按','分割
|
|
22
29
|
}
|
|
23
30
|
export interface postGenColumnQuery {
|
|
24
31
|
dbType: string; // 数据集对应的数据库类型(postgres/sqlserver/mysql/oracle),本地上传填postgres
|
|
32
|
+
fileUpload?: boolean; // 数据集是否是本地上传
|
|
25
33
|
}
|
|
26
34
|
export interface getInfoQuery {
|
|
27
35
|
id?: string; // id
|
|
@@ -69,6 +77,17 @@ export interface DatasetService {
|
|
|
69
77
|
query: getColumnValueQuery,
|
|
70
78
|
config?: Record<string, string>,
|
|
71
79
|
): Promise<IHttpResponse<SqlResult>>;
|
|
80
|
+
// 新建数据集时手动调用api
|
|
81
|
+
postCreateRequest(
|
|
82
|
+
query: postCreateRequestQuery,
|
|
83
|
+
config?: Record<string, string>,
|
|
84
|
+
): Promise<IHttpResponse<IObject[]>>;
|
|
85
|
+
// 编辑/浏览数据集时调用api
|
|
86
|
+
postEditRequest(
|
|
87
|
+
query: postEditRequestQuery,
|
|
88
|
+
data: APIDatasetConfigDTO,
|
|
89
|
+
config?: Record<string, string>,
|
|
90
|
+
): Promise<IHttpResponse<string>>;
|
|
72
91
|
// 历史数据encode
|
|
73
92
|
putEncode(
|
|
74
93
|
query: putEncodeQuery,
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
DeviceInterconnectionParamRequest,
|
|
3
|
+
ResponseEntity,
|
|
4
|
+
DeviceInterconnectionParamResponse,
|
|
5
|
+
} from '../entities';
|
|
6
|
+
|
|
7
|
+
export interface deleteQuery {
|
|
8
|
+
id: string; // id
|
|
9
|
+
}
|
|
10
|
+
export interface getInfoQuery {
|
|
11
|
+
id: string; // id
|
|
12
|
+
}
|
|
13
|
+
export interface getPageListQuery {
|
|
14
|
+
keyword?: string; // 搜索关键字
|
|
15
|
+
pageNo: number; // 页码
|
|
16
|
+
pageSize: number; // 每页数据条数
|
|
17
|
+
}
|
|
18
|
+
export interface putIdQuery {
|
|
19
|
+
id: string; // 数据主键
|
|
20
|
+
}
|
|
21
|
+
export interface DeviceInterconnectionParamService {
|
|
22
|
+
// 新建
|
|
23
|
+
post(
|
|
24
|
+
data: DeviceInterconnectionParamRequest,
|
|
25
|
+
config?: Record<string, string>,
|
|
26
|
+
): Promise<IHttpResponse<string>>;
|
|
27
|
+
// 删除
|
|
28
|
+
delete(
|
|
29
|
+
query: deleteQuery,
|
|
30
|
+
config?: Record<string, string>,
|
|
31
|
+
): Promise<IHttpResponse<string>>;
|
|
32
|
+
// 导出
|
|
33
|
+
postExport(
|
|
34
|
+
config?: Record<string, string>,
|
|
35
|
+
): Promise<IHttpResponse<ResponseEntity>>;
|
|
36
|
+
// 导入
|
|
37
|
+
postImport(config?: Record<string, string>): Promise<IHttpResponse<string>>;
|
|
38
|
+
// 详情
|
|
39
|
+
getInfo(
|
|
40
|
+
query: getInfoQuery,
|
|
41
|
+
config?: Record<string, string>,
|
|
42
|
+
): Promise<IHttpResponse<DeviceInterconnectionParamResponse>>;
|
|
43
|
+
// 列表
|
|
44
|
+
getList(
|
|
45
|
+
config?: Record<string, string>,
|
|
46
|
+
): Promise<IHttpResponse<DeviceInterconnectionParamResponse[]>>;
|
|
47
|
+
// 分页列表
|
|
48
|
+
getPageList(
|
|
49
|
+
query: getPageListQuery,
|
|
50
|
+
config?: Record<string, string>,
|
|
51
|
+
): Promise<IHttpResponse<IPage<DeviceInterconnectionParamResponse>>>;
|
|
52
|
+
// 编辑
|
|
53
|
+
putId(
|
|
54
|
+
query: putIdQuery,
|
|
55
|
+
data: DeviceInterconnectionParamRequest,
|
|
56
|
+
config?: Record<string, string>,
|
|
57
|
+
): Promise<IHttpResponse<string>>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
DeviceInterconnectionRequest,
|
|
3
|
+
DeviceInterconnectionResponse,
|
|
4
|
+
} from '../entities';
|
|
5
|
+
|
|
6
|
+
export interface deleteQuery {
|
|
7
|
+
id: string; // 删除的id
|
|
8
|
+
}
|
|
9
|
+
export interface getDataQuery {
|
|
10
|
+
deviceId: string; // 设备的id
|
|
11
|
+
}
|
|
12
|
+
export interface getInfoQuery {
|
|
13
|
+
id: string; // id
|
|
14
|
+
}
|
|
15
|
+
export interface getPageListQuery {
|
|
16
|
+
keyword?: string; // 设备编号或名称
|
|
17
|
+
pageNo: number; // 页码
|
|
18
|
+
pageSize: number; // 每页数据条数
|
|
19
|
+
}
|
|
20
|
+
export interface putIdQuery {
|
|
21
|
+
id: string; // 数据主键
|
|
22
|
+
}
|
|
23
|
+
export interface DeviceInterconnectionService {
|
|
24
|
+
// 新建
|
|
25
|
+
post(
|
|
26
|
+
data: DeviceInterconnectionRequest,
|
|
27
|
+
config?: Record<string, string>,
|
|
28
|
+
): Promise<IHttpResponse<string>>;
|
|
29
|
+
// 删除
|
|
30
|
+
delete(
|
|
31
|
+
query: deleteQuery,
|
|
32
|
+
config?: Record<string, string>,
|
|
33
|
+
): Promise<IHttpResponse<boolean>>;
|
|
34
|
+
// 获取设备数据(仅仅支持连接流)
|
|
35
|
+
getData(
|
|
36
|
+
query: getDataQuery,
|
|
37
|
+
config?: Record<string, string>,
|
|
38
|
+
): Promise<IHttpResponse<string>>;
|
|
39
|
+
// 批量导出
|
|
40
|
+
postExport(config?: Record<string, string>): Promise<IHttpResponse<unknown>>;
|
|
41
|
+
// 导入
|
|
42
|
+
postImport(config?: Record<string, string>): Promise<IHttpResponse<string>>;
|
|
43
|
+
// 详情
|
|
44
|
+
getInfo(
|
|
45
|
+
query: getInfoQuery,
|
|
46
|
+
config?: Record<string, string>,
|
|
47
|
+
): Promise<IHttpResponse<DeviceInterconnectionResponse>>;
|
|
48
|
+
// 列表
|
|
49
|
+
getList(
|
|
50
|
+
config?: Record<string, string>,
|
|
51
|
+
): Promise<IHttpResponse<DeviceInterconnectionResponse[]>>;
|
|
52
|
+
// 分页列表
|
|
53
|
+
getPageList(
|
|
54
|
+
query: getPageListQuery,
|
|
55
|
+
config?: Record<string, string>,
|
|
56
|
+
): Promise<IHttpResponse<IPage<DeviceInterconnectionResponse>>>;
|
|
57
|
+
// 编辑
|
|
58
|
+
putId(
|
|
59
|
+
query: putIdQuery,
|
|
60
|
+
data: DeviceInterconnectionRequest,
|
|
61
|
+
config?: Record<string, string>,
|
|
62
|
+
): Promise<IHttpResponse<string>>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { DeviceParamRefResponse } from '../entities';
|
|
2
|
+
|
|
3
|
+
export interface getInfoQuery {
|
|
4
|
+
id: string; // id
|
|
5
|
+
}
|
|
6
|
+
export interface getPageListQuery {
|
|
7
|
+
pageNo?: number; // 页码
|
|
8
|
+
pageSize?: number; // 每页数据条数
|
|
9
|
+
}
|
|
10
|
+
export interface DeviceParamRefService {
|
|
11
|
+
// 详情
|
|
12
|
+
getInfo(
|
|
13
|
+
query: getInfoQuery,
|
|
14
|
+
config?: Record<string, string>,
|
|
15
|
+
): Promise<IHttpResponse<DeviceParamRefResponse>>;
|
|
16
|
+
// 列表
|
|
17
|
+
getList(
|
|
18
|
+
config?: Record<string, string>,
|
|
19
|
+
): Promise<IHttpResponse<DeviceParamRefResponse[]>>;
|
|
20
|
+
// 分页列表
|
|
21
|
+
getPageList(
|
|
22
|
+
query: getPageListQuery,
|
|
23
|
+
config?: Record<string, string>,
|
|
24
|
+
): Promise<IHttpResponse<IPage<DeviceParamRefResponse>>>;
|
|
25
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { FilePreviewDTO } from '../entities';
|
|
2
2
|
|
|
3
|
+
export interface postUploadCommonQuery {
|
|
4
|
+
appId?: string; // appId
|
|
5
|
+
}
|
|
3
6
|
export interface postUploadImageQuery {
|
|
4
7
|
bucket: string; // 桶枚举值,(IMAGE 图片桶,ICON 图标桶)
|
|
5
8
|
}
|
|
@@ -11,6 +14,7 @@ export interface FileService {
|
|
|
11
14
|
): Promise<IHttpResponse<IObject[]>>;
|
|
12
15
|
// 文件上传minio
|
|
13
16
|
postUploadCommon(
|
|
17
|
+
query: postUploadCommonQuery,
|
|
14
18
|
config?: Record<string, string>,
|
|
15
19
|
): Promise<IHttpResponse<string>>;
|
|
16
20
|
// 文件上传minio用作数据集
|
|
@@ -38,6 +38,9 @@ export interface getGetUsersQuery {
|
|
|
38
38
|
export interface getInfoQuery {
|
|
39
39
|
licenseId: string; // licenseId授权信息id
|
|
40
40
|
}
|
|
41
|
+
export interface getModuleAuthQuery {
|
|
42
|
+
module?: string; // 授权模块
|
|
43
|
+
}
|
|
41
44
|
export interface getPageListQuery {
|
|
42
45
|
appId?: string; // 应用id
|
|
43
46
|
env?: string; // 授权环境
|
|
@@ -101,6 +104,11 @@ export interface LicenseService {
|
|
|
101
104
|
query: getInfoQuery,
|
|
102
105
|
config?: Record<string, string>,
|
|
103
106
|
): Promise<IHttpResponse<LicenseLimitResponse[]>>;
|
|
107
|
+
// 判断对应模块是否已进行授权
|
|
108
|
+
getModuleAuth(
|
|
109
|
+
query: getModuleAuthQuery,
|
|
110
|
+
config?: Record<string, string>,
|
|
111
|
+
): Promise<IHttpResponse<boolean>>;
|
|
104
112
|
// 平台/应用,授权列表
|
|
105
113
|
getPageList(
|
|
106
114
|
query: getPageListQuery,
|
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
AuthConfig,
|
|
9
9
|
OrgConfig,
|
|
10
10
|
SecurityConfig,
|
|
11
|
+
TenantConfig,
|
|
11
12
|
UserRoleRequest,
|
|
12
13
|
UserRoles4Update,
|
|
13
14
|
UserFieldMeta,
|
|
@@ -17,6 +18,9 @@ import type {
|
|
|
17
18
|
export interface getInfoQuery {
|
|
18
19
|
configEnum: string; // 配置枚举(BASE_CFG/基础设置,THEME_CFG/主题设置,LOGIN_CFG/登录设置,MARK_CFG/水印设置,SECURITY_CFG/安全设置,ORG_CFG/组织设置)
|
|
19
20
|
}
|
|
21
|
+
export interface getTenantDisabledDevelopQuery {
|
|
22
|
+
tenantId: string; // 租户ID
|
|
23
|
+
}
|
|
20
24
|
export interface deleteUserRoleQuery {
|
|
21
25
|
userId: string; // 删除的userId
|
|
22
26
|
}
|
|
@@ -50,6 +54,10 @@ export interface PlatService {
|
|
|
50
54
|
data: FeiShuConfig,
|
|
51
55
|
config?: Record<string, string>,
|
|
52
56
|
): Promise<IHttpResponse<string>>;
|
|
57
|
+
// 全局禁用设计器
|
|
58
|
+
getGlobalDisabledDevelop(
|
|
59
|
+
config?: Record<string, string>,
|
|
60
|
+
): Promise<IHttpResponse<string>>;
|
|
53
61
|
// 详情
|
|
54
62
|
getInfo(
|
|
55
63
|
query: getInfoQuery,
|
|
@@ -74,6 +82,15 @@ export interface PlatService {
|
|
|
74
82
|
data: SecurityConfig,
|
|
75
83
|
config?: Record<string, string>,
|
|
76
84
|
): Promise<IHttpResponse<string>>;
|
|
85
|
+
// 查询租户配置
|
|
86
|
+
getTenantCfg(
|
|
87
|
+
config?: Record<string, string>,
|
|
88
|
+
): Promise<IHttpResponse<TenantConfig>>;
|
|
89
|
+
// 禁用设计器
|
|
90
|
+
getTenantDisabledDevelop(
|
|
91
|
+
query: getTenantDisabledDevelopQuery,
|
|
92
|
+
config?: Record<string, string>,
|
|
93
|
+
): Promise<IHttpResponse<string>>;
|
|
77
94
|
// 主题设置 保存/更新
|
|
78
95
|
postTheme(
|
|
79
96
|
data: SysConfigRequest,
|
|
@@ -55,6 +55,7 @@ export interface getManagementOrgUserPageListQuery {
|
|
|
55
55
|
pageSize?: number; // 分页大小
|
|
56
56
|
sortField?: string; // 排序字段
|
|
57
57
|
sortType?: string; // 排序方式:ASC/DESC, 不传默认 ASC
|
|
58
|
+
source?: number; // 参数来源,0企业后台管理、1租户后台管理
|
|
58
59
|
startTime?: string; // 创建开始时间
|
|
59
60
|
username?: string; // 账号
|
|
60
61
|
}
|