@gct-paas/api 6.0.0-dev.0 → 6.0.0-dev.10
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/api-config.mjs +99 -123
- package/es/apaas/service/apis/ai.service.d.ts +129 -0
- package/es/apaas/service/apis/alex-test.service.d.ts +16 -0
- package/es/apaas/service/apis/api.service.d.ts +35 -0
- package/es/apaas/service/apis/app-global-settings.service.d.ts +8 -0
- package/es/apaas/service/apis/app-granted-user.service.d.ts +21 -0
- package/es/apaas/service/apis/category.service.d.ts +8 -0
- package/es/apaas/service/apis/dhr.service.d.ts +4 -0
- package/es/apaas/service/apis/edhr-instance.service.d.ts +16 -0
- package/es/apaas/service/apis/field-meta.service.d.ts +8 -0
- package/es/apaas/service/apis/online-form-instance.service.d.ts +16 -45
- package/es/apaas/service/apis/online-form.service.d.ts +18 -0
- package/es/apaas/service/apis/page-designer-log.service.d.ts +1 -1
- package/es/apaas/service/entities.d.ts +1215 -131
- package/es/apaas/service/index.d.ts +4 -4
- 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 +96 -4
- package/es/platform/service/apis/api.service.d.ts +94 -1
- package/es/platform/service/apis/app.service.d.ts +30 -0
- package/es/platform/service/apis/license.service.d.ts +10 -1
- package/es/platform/service/apis/print-log.service.d.ts +4 -0
- package/es/platform/service/apis/third-party-app.service.d.ts +110 -0
- package/es/platform/service/entities.d.ts +393 -1
- package/es/platform/service/index.d.ts +2 -0
- package/es/service/api-service.interface.d.ts +9 -0
- package/es/service/http.error.mjs +3 -0
- package/es/service/index.mjs +2 -0
- package/package.json +5 -5
- package/es/apaas/service/apis/med-pro.service.d.ts +0 -76
- package/es/apaas/service/apis/medPro.service.d.ts +0 -184
- package/es/apaas/service/apis/ss.service.d.ts +0 -42
|
@@ -766,6 +766,12 @@ export interface App {
|
|
|
766
766
|
* @type number
|
|
767
767
|
*/
|
|
768
768
|
clear?: number;
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
*
|
|
772
|
+
* @type string
|
|
773
|
+
*/
|
|
774
|
+
clientSecret?: string;
|
|
769
775
|
/**
|
|
770
776
|
*
|
|
771
777
|
*
|
|
@@ -808,6 +814,12 @@ export interface App {
|
|
|
808
814
|
* @type string
|
|
809
815
|
*/
|
|
810
816
|
initFailReason?: string;
|
|
817
|
+
/**
|
|
818
|
+
*
|
|
819
|
+
*
|
|
820
|
+
* @type string
|
|
821
|
+
*/
|
|
822
|
+
lastVisitTime?: string;
|
|
811
823
|
/**
|
|
812
824
|
*
|
|
813
825
|
*
|
|
@@ -874,12 +886,30 @@ export interface App {
|
|
|
874
886
|
* @type string
|
|
875
887
|
*/
|
|
876
888
|
name?: string;
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
*
|
|
892
|
+
* @type string
|
|
893
|
+
*/
|
|
894
|
+
oauth2Scope?: string;
|
|
877
895
|
/**
|
|
878
896
|
*
|
|
879
897
|
*
|
|
880
898
|
* @type string
|
|
881
899
|
*/
|
|
882
900
|
pageIcon?: string;
|
|
901
|
+
/**
|
|
902
|
+
*
|
|
903
|
+
*
|
|
904
|
+
* @type boolean
|
|
905
|
+
*/
|
|
906
|
+
pubProd?: boolean;
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
*
|
|
910
|
+
* @type string
|
|
911
|
+
*/
|
|
912
|
+
redirectUri?: string;
|
|
883
913
|
/**
|
|
884
914
|
*
|
|
885
915
|
*
|
|
@@ -940,6 +970,18 @@ export interface App {
|
|
|
940
970
|
* @type string
|
|
941
971
|
*/
|
|
942
972
|
tenantId?: string;
|
|
973
|
+
/**
|
|
974
|
+
*
|
|
975
|
+
*
|
|
976
|
+
* @type string
|
|
977
|
+
*/
|
|
978
|
+
testLastVisitTime?: string;
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
*
|
|
982
|
+
* @type string
|
|
983
|
+
*/
|
|
984
|
+
testRedirectUri?: string;
|
|
943
985
|
/**
|
|
944
986
|
*
|
|
945
987
|
*
|
|
@@ -1161,6 +1203,20 @@ export interface AppGrantedStatisticDTO {
|
|
|
1161
1203
|
*/
|
|
1162
1204
|
used?: number;
|
|
1163
1205
|
}
|
|
1206
|
+
export interface AppGrantedUserBatchRemoveDetailRequest {
|
|
1207
|
+
/**
|
|
1208
|
+
* 源用户id
|
|
1209
|
+
*
|
|
1210
|
+
* @type string
|
|
1211
|
+
*/
|
|
1212
|
+
sourceUserId?: string;
|
|
1213
|
+
/**
|
|
1214
|
+
* 目标用户id
|
|
1215
|
+
*
|
|
1216
|
+
* @type string
|
|
1217
|
+
*/
|
|
1218
|
+
targetUserId?: string;
|
|
1219
|
+
}
|
|
1164
1220
|
export interface AppGrantedUserBatchRequest {
|
|
1165
1221
|
/**
|
|
1166
1222
|
* 用户id
|
|
@@ -2002,6 +2058,12 @@ export interface AppRequest {
|
|
|
2002
2058
|
* @type string
|
|
2003
2059
|
*/
|
|
2004
2060
|
appVersion?: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* 客户端密钥(不传则自动生成)
|
|
2063
|
+
*
|
|
2064
|
+
* @type string
|
|
2065
|
+
*/
|
|
2066
|
+
clientSecret?: string;
|
|
2005
2067
|
/**
|
|
2006
2068
|
* 应用描述
|
|
2007
2069
|
*
|
|
@@ -2062,12 +2124,24 @@ export interface AppRequest {
|
|
|
2062
2124
|
* @type string
|
|
2063
2125
|
*/
|
|
2064
2126
|
name?: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* 授权范围: basic(用户基本信息)/all(带组织信息的用户信息),默认basic
|
|
2129
|
+
*
|
|
2130
|
+
* @type string
|
|
2131
|
+
*/
|
|
2132
|
+
oauth2Scope?: string;
|
|
2065
2133
|
/**
|
|
2066
2134
|
* 浏览器icon
|
|
2067
2135
|
*
|
|
2068
2136
|
* @type string
|
|
2069
2137
|
*/
|
|
2070
2138
|
pageIcon?: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* 生产环境回调域名(第三方应用必填)
|
|
2141
|
+
*
|
|
2142
|
+
* @type string
|
|
2143
|
+
*/
|
|
2144
|
+
redirectUri?: string;
|
|
2071
2145
|
/**
|
|
2072
2146
|
* 应用来源类型:SELF_BUILT/IMPORT
|
|
2073
2147
|
*
|
|
@@ -2092,6 +2166,12 @@ export interface AppRequest {
|
|
|
2092
2166
|
* @type string
|
|
2093
2167
|
*/
|
|
2094
2168
|
tenantId?: string;
|
|
2169
|
+
/**
|
|
2170
|
+
* 验证环境回调域名
|
|
2171
|
+
*
|
|
2172
|
+
* @type string
|
|
2173
|
+
*/
|
|
2174
|
+
testRedirectUri?: string;
|
|
2095
2175
|
/**
|
|
2096
2176
|
* 应用类型
|
|
2097
2177
|
*
|
|
@@ -2124,6 +2204,12 @@ export interface AppResponse {
|
|
|
2124
2204
|
* @type number
|
|
2125
2205
|
*/
|
|
2126
2206
|
authState?: number;
|
|
2207
|
+
/**
|
|
2208
|
+
* 客户端密钥(第三方应用OAuth2配置)
|
|
2209
|
+
*
|
|
2210
|
+
* @type string
|
|
2211
|
+
*/
|
|
2212
|
+
clientSecret?: string;
|
|
2127
2213
|
/**
|
|
2128
2214
|
*
|
|
2129
2215
|
*
|
|
@@ -2172,6 +2258,12 @@ export interface AppResponse {
|
|
|
2172
2258
|
* @type string
|
|
2173
2259
|
*/
|
|
2174
2260
|
isRunning?: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* 生产环境最近访问时间(第三方应用)
|
|
2263
|
+
*
|
|
2264
|
+
* @type string
|
|
2265
|
+
*/
|
|
2266
|
+
lastVisitTime?: string;
|
|
2175
2267
|
/**
|
|
2176
2268
|
* 应用logo
|
|
2177
2269
|
*
|
|
@@ -2238,6 +2330,12 @@ export interface AppResponse {
|
|
|
2238
2330
|
* @type string
|
|
2239
2331
|
*/
|
|
2240
2332
|
name?: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* OAuth2授权范围: basic/all
|
|
2335
|
+
*
|
|
2336
|
+
* @type string
|
|
2337
|
+
*/
|
|
2338
|
+
oauth2Scope?: string;
|
|
2241
2339
|
/**
|
|
2242
2340
|
* 浏览器icon
|
|
2243
2341
|
*
|
|
@@ -2250,6 +2348,12 @@ export interface AppResponse {
|
|
|
2250
2348
|
* @type boolean
|
|
2251
2349
|
*/
|
|
2252
2350
|
pubProd?: boolean;
|
|
2351
|
+
/**
|
|
2352
|
+
* 生产环境回调域名(第三方应用OAuth2配置)
|
|
2353
|
+
*
|
|
2354
|
+
* @type string
|
|
2355
|
+
*/
|
|
2356
|
+
redirectUri?: string;
|
|
2253
2357
|
/**
|
|
2254
2358
|
*
|
|
2255
2359
|
*
|
|
@@ -2322,6 +2426,24 @@ export interface AppResponse {
|
|
|
2322
2426
|
* @type string
|
|
2323
2427
|
*/
|
|
2324
2428
|
tenantId?: string;
|
|
2429
|
+
/**
|
|
2430
|
+
* 验证环境最近访问时间(第三方应用)
|
|
2431
|
+
*
|
|
2432
|
+
* @type string
|
|
2433
|
+
*/
|
|
2434
|
+
testLastVisitTime?: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* 验证环境回调域名(第三方应用OAuth2配置)
|
|
2437
|
+
*
|
|
2438
|
+
* @type string
|
|
2439
|
+
*/
|
|
2440
|
+
testRedirectUri?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
* 第三方应用配置是否启用(0 禁用 1 启用)
|
|
2443
|
+
*
|
|
2444
|
+
* @type number
|
|
2445
|
+
*/
|
|
2446
|
+
thirdPartyEnabled?: number;
|
|
2325
2447
|
/**
|
|
2326
2448
|
* 应用类型
|
|
2327
2449
|
*
|
|
@@ -5608,6 +5730,12 @@ export interface DatasourceMoveDetailRequest {
|
|
|
5608
5730
|
* @type string
|
|
5609
5731
|
*/
|
|
5610
5732
|
name?: string;
|
|
5733
|
+
/**
|
|
5734
|
+
*
|
|
5735
|
+
*
|
|
5736
|
+
* @type IObject
|
|
5737
|
+
*/
|
|
5738
|
+
query?: IObject;
|
|
5611
5739
|
/**
|
|
5612
5740
|
* 源env
|
|
5613
5741
|
*
|
|
@@ -8889,11 +9017,17 @@ export interface ManagerBean {
|
|
|
8889
9017
|
}
|
|
8890
9018
|
export interface MergeConflictDTO {
|
|
8891
9019
|
/**
|
|
8892
|
-
* 最终选择: SOURCE/TARGET
|
|
9020
|
+
* 最终选择: SOURCE/TARGET/MERGED
|
|
8893
9021
|
*
|
|
8894
9022
|
* @type string
|
|
8895
9023
|
*/
|
|
8896
9024
|
choice?: string;
|
|
9025
|
+
/**
|
|
9026
|
+
* 合并内容json
|
|
9027
|
+
*
|
|
9028
|
+
* @type string
|
|
9029
|
+
*/
|
|
9030
|
+
mergeResult?: string;
|
|
8897
9031
|
/**
|
|
8898
9032
|
* 主键值
|
|
8899
9033
|
*
|
|
@@ -10126,6 +10260,68 @@ export interface NavPageResponse {
|
|
|
10126
10260
|
*/
|
|
10127
10261
|
tenantId?: string;
|
|
10128
10262
|
}
|
|
10263
|
+
export interface OAuth2用户信息响应 {
|
|
10264
|
+
/**
|
|
10265
|
+
* 应用管理员列表(scope=all 时返回)
|
|
10266
|
+
*
|
|
10267
|
+
* @type 管理员信息[]
|
|
10268
|
+
*/
|
|
10269
|
+
admins?: 管理员信息[];
|
|
10270
|
+
/**
|
|
10271
|
+
* 头像
|
|
10272
|
+
*
|
|
10273
|
+
* @type string
|
|
10274
|
+
*/
|
|
10275
|
+
avatar?: string;
|
|
10276
|
+
/**
|
|
10277
|
+
* 邮箱
|
|
10278
|
+
*
|
|
10279
|
+
* @type string
|
|
10280
|
+
*/
|
|
10281
|
+
email?: string;
|
|
10282
|
+
/**
|
|
10283
|
+
* 姓名
|
|
10284
|
+
*
|
|
10285
|
+
* @type string
|
|
10286
|
+
*/
|
|
10287
|
+
fullname?: string;
|
|
10288
|
+
/**
|
|
10289
|
+
* 手机号
|
|
10290
|
+
*
|
|
10291
|
+
* @type string
|
|
10292
|
+
*/
|
|
10293
|
+
mobile?: string;
|
|
10294
|
+
/**
|
|
10295
|
+
* 授权范围: basic / all
|
|
10296
|
+
*
|
|
10297
|
+
* @type string
|
|
10298
|
+
*/
|
|
10299
|
+
scope?: string;
|
|
10300
|
+
/**
|
|
10301
|
+
* 租户ID
|
|
10302
|
+
*
|
|
10303
|
+
* @type string
|
|
10304
|
+
*/
|
|
10305
|
+
tenantId?: string;
|
|
10306
|
+
/**
|
|
10307
|
+
* 租户列表(scope=all 时返回)
|
|
10308
|
+
*
|
|
10309
|
+
* @type UserTenantDTO[]
|
|
10310
|
+
*/
|
|
10311
|
+
tenantList?: UserTenantDTO[];
|
|
10312
|
+
/**
|
|
10313
|
+
* 用户ID
|
|
10314
|
+
*
|
|
10315
|
+
* @type string
|
|
10316
|
+
*/
|
|
10317
|
+
userId?: string;
|
|
10318
|
+
/**
|
|
10319
|
+
* 用户名
|
|
10320
|
+
*
|
|
10321
|
+
* @type string
|
|
10322
|
+
*/
|
|
10323
|
+
username?: string;
|
|
10324
|
+
}
|
|
10129
10325
|
export interface OpenapiAggregateByModelTreeResponse {
|
|
10130
10326
|
/**
|
|
10131
10327
|
* 模型key
|
|
@@ -15223,6 +15419,12 @@ export interface PrintAdapterDTO {
|
|
|
15223
15419
|
* @type string
|
|
15224
15420
|
*/
|
|
15225
15421
|
env?: string;
|
|
15422
|
+
/**
|
|
15423
|
+
* 打印控制参数
|
|
15424
|
+
*
|
|
15425
|
+
* @type IObject
|
|
15426
|
+
*/
|
|
15427
|
+
param?: IObject;
|
|
15226
15428
|
/**
|
|
15227
15429
|
* 触发打印的应用id
|
|
15228
15430
|
*
|
|
@@ -15317,6 +15519,12 @@ export interface PrintLogDto {
|
|
|
15317
15519
|
* @type string
|
|
15318
15520
|
*/
|
|
15319
15521
|
macAddress?: string;
|
|
15522
|
+
/**
|
|
15523
|
+
*
|
|
15524
|
+
*
|
|
15525
|
+
* @type IObject
|
|
15526
|
+
*/
|
|
15527
|
+
param?: IObject;
|
|
15320
15528
|
/**
|
|
15321
15529
|
*
|
|
15322
15530
|
*
|
|
@@ -15543,6 +15751,12 @@ export interface PrintLogResponse {
|
|
|
15543
15751
|
* @type string
|
|
15544
15752
|
*/
|
|
15545
15753
|
modifyUserName?: string;
|
|
15754
|
+
/**
|
|
15755
|
+
* 打印控制参数
|
|
15756
|
+
*
|
|
15757
|
+
* @type IObject
|
|
15758
|
+
*/
|
|
15759
|
+
param?: IObject;
|
|
15546
15760
|
/**
|
|
15547
15761
|
* 触发打印的应用id
|
|
15548
15762
|
*
|
|
@@ -15713,6 +15927,12 @@ export interface PrintLogSearchRequest {
|
|
|
15713
15927
|
* @type string
|
|
15714
15928
|
*/
|
|
15715
15929
|
startTime?: string;
|
|
15930
|
+
/**
|
|
15931
|
+
* 标签名称
|
|
15932
|
+
*
|
|
15933
|
+
* @type string
|
|
15934
|
+
*/
|
|
15935
|
+
tagName?: string;
|
|
15716
15936
|
}
|
|
15717
15937
|
export interface PrintResourceCount {
|
|
15718
15938
|
/**
|
|
@@ -15753,6 +15973,12 @@ export interface PrintResourceMapping {
|
|
|
15753
15973
|
* @type string
|
|
15754
15974
|
*/
|
|
15755
15975
|
printName?: string;
|
|
15976
|
+
/**
|
|
15977
|
+
*
|
|
15978
|
+
*
|
|
15979
|
+
* @type number
|
|
15980
|
+
*/
|
|
15981
|
+
status?: number;
|
|
15756
15982
|
}
|
|
15757
15983
|
export interface PrintResourceRemarkRequest {
|
|
15758
15984
|
/**
|
|
@@ -17397,6 +17623,18 @@ export interface SelectItem {
|
|
|
17397
17623
|
* @type boolean
|
|
17398
17624
|
*/
|
|
17399
17625
|
includeNull?: boolean;
|
|
17626
|
+
/**
|
|
17627
|
+
* 交叉表-自定义排序
|
|
17628
|
+
*
|
|
17629
|
+
* @type string[]
|
|
17630
|
+
*/
|
|
17631
|
+
orderValues?: string[];
|
|
17632
|
+
/**
|
|
17633
|
+
* 交叉表-字段排序规则
|
|
17634
|
+
*
|
|
17635
|
+
* @type string
|
|
17636
|
+
*/
|
|
17637
|
+
sortType?: string;
|
|
17400
17638
|
/**
|
|
17401
17639
|
* 数据类型
|
|
17402
17640
|
*
|
|
@@ -19190,6 +19428,108 @@ export interface ThirdAppConfigReq {
|
|
|
19190
19428
|
*/
|
|
19191
19429
|
secret?: string;
|
|
19192
19430
|
}
|
|
19431
|
+
export interface ThirdPartyAppListResponse {
|
|
19432
|
+
/**
|
|
19433
|
+
* 应用标识
|
|
19434
|
+
*
|
|
19435
|
+
* @type string
|
|
19436
|
+
*/
|
|
19437
|
+
appId?: string;
|
|
19438
|
+
/**
|
|
19439
|
+
* 应用名称
|
|
19440
|
+
*
|
|
19441
|
+
* @type string
|
|
19442
|
+
*/
|
|
19443
|
+
appName?: string;
|
|
19444
|
+
/**
|
|
19445
|
+
* 生产环境最近访问时间
|
|
19446
|
+
*
|
|
19447
|
+
* @type string
|
|
19448
|
+
*/
|
|
19449
|
+
lastVisitTime?: string;
|
|
19450
|
+
/**
|
|
19451
|
+
* 验证环境最近访问时间
|
|
19452
|
+
*
|
|
19453
|
+
* @type string
|
|
19454
|
+
*/
|
|
19455
|
+
testLastVisitTime?: string;
|
|
19456
|
+
}
|
|
19457
|
+
export interface ThirdPartyAppRequest {
|
|
19458
|
+
/**
|
|
19459
|
+
* 应用ID(必填)
|
|
19460
|
+
*
|
|
19461
|
+
* @type string
|
|
19462
|
+
*/
|
|
19463
|
+
appId?: string;
|
|
19464
|
+
/**
|
|
19465
|
+
* 客户端密钥(不传则自动生成)
|
|
19466
|
+
*
|
|
19467
|
+
* @type string
|
|
19468
|
+
*/
|
|
19469
|
+
clientSecret?: string;
|
|
19470
|
+
/**
|
|
19471
|
+
* 生产环境回调域名
|
|
19472
|
+
*
|
|
19473
|
+
* @type string
|
|
19474
|
+
*/
|
|
19475
|
+
redirectUri?: string;
|
|
19476
|
+
/**
|
|
19477
|
+
* 授权范围: basic(用户基本信息)/all(带组织部门得用户信息)
|
|
19478
|
+
*
|
|
19479
|
+
* @type string
|
|
19480
|
+
*/
|
|
19481
|
+
scope?: string;
|
|
19482
|
+
/**
|
|
19483
|
+
* 验证环境回调域名
|
|
19484
|
+
*
|
|
19485
|
+
* @type string
|
|
19486
|
+
*/
|
|
19487
|
+
testRedirectUri?: string;
|
|
19488
|
+
}
|
|
19489
|
+
export interface ThirdPartyAppResp {
|
|
19490
|
+
/**
|
|
19491
|
+
* 应用ID
|
|
19492
|
+
*
|
|
19493
|
+
* @type string
|
|
19494
|
+
*/
|
|
19495
|
+
appId?: string;
|
|
19496
|
+
/**
|
|
19497
|
+
* 客户端ID(即appId)
|
|
19498
|
+
*
|
|
19499
|
+
* @type string
|
|
19500
|
+
*/
|
|
19501
|
+
clientId?: string;
|
|
19502
|
+
/**
|
|
19503
|
+
* 客户端密钥(脱敏)
|
|
19504
|
+
*
|
|
19505
|
+
* @type string
|
|
19506
|
+
*/
|
|
19507
|
+
clientSecret?: string;
|
|
19508
|
+
/**
|
|
19509
|
+
* 是否启用
|
|
19510
|
+
*
|
|
19511
|
+
* @type boolean
|
|
19512
|
+
*/
|
|
19513
|
+
enabled?: boolean;
|
|
19514
|
+
/**
|
|
19515
|
+
* 生产环境回调域名
|
|
19516
|
+
*
|
|
19517
|
+
* @type string
|
|
19518
|
+
*/
|
|
19519
|
+
redirectUri?: string;
|
|
19520
|
+
/**
|
|
19521
|
+
* 授权范围
|
|
19522
|
+
*
|
|
19523
|
+
* @type string
|
|
19524
|
+
*/
|
|
19525
|
+
scope?: string;
|
|
19526
|
+
/**
|
|
19527
|
+
* 验证环境回调域名
|
|
19528
|
+
*
|
|
19529
|
+
* @type string
|
|
19530
|
+
*/
|
|
19531
|
+
testRedirectUri?: string;
|
|
19532
|
+
}
|
|
19193
19533
|
export interface ThirdPartyInvokeLogResponse {
|
|
19194
19534
|
/**
|
|
19195
19535
|
* 所属应用key
|
|
@@ -19454,6 +19794,20 @@ export interface ThirdPartyLoginConfig {
|
|
|
19454
19794
|
*/
|
|
19455
19795
|
secret?: string;
|
|
19456
19796
|
}
|
|
19797
|
+
export interface TokenResponse {
|
|
19798
|
+
/**
|
|
19799
|
+
*
|
|
19800
|
+
*
|
|
19801
|
+
* @type string
|
|
19802
|
+
*/
|
|
19803
|
+
accessToken?: string;
|
|
19804
|
+
/**
|
|
19805
|
+
*
|
|
19806
|
+
*
|
|
19807
|
+
* @type string
|
|
19808
|
+
*/
|
|
19809
|
+
scope?: string;
|
|
19810
|
+
}
|
|
19457
19811
|
export interface User {
|
|
19458
19812
|
/**
|
|
19459
19813
|
*
|
|
@@ -23326,6 +23680,44 @@ export interface 登录日志查询参数 {
|
|
|
23326
23680
|
*/
|
|
23327
23681
|
username?: string;
|
|
23328
23682
|
}
|
|
23683
|
+
export interface 管理员信息 {
|
|
23684
|
+
/**
|
|
23685
|
+
* 头像
|
|
23686
|
+
*
|
|
23687
|
+
* @type string
|
|
23688
|
+
*/
|
|
23689
|
+
avatar?: string;
|
|
23690
|
+
/**
|
|
23691
|
+
* 邮箱
|
|
23692
|
+
*
|
|
23693
|
+
* @type string
|
|
23694
|
+
*/
|
|
23695
|
+
email?: string;
|
|
23696
|
+
/**
|
|
23697
|
+
* 管理员姓名
|
|
23698
|
+
*
|
|
23699
|
+
* @type string
|
|
23700
|
+
*/
|
|
23701
|
+
fullname?: string;
|
|
23702
|
+
/**
|
|
23703
|
+
* 手机号
|
|
23704
|
+
*
|
|
23705
|
+
* @type string
|
|
23706
|
+
*/
|
|
23707
|
+
mobile?: string;
|
|
23708
|
+
/**
|
|
23709
|
+
* 管理员用户ID
|
|
23710
|
+
*
|
|
23711
|
+
* @type string
|
|
23712
|
+
*/
|
|
23713
|
+
userId?: string;
|
|
23714
|
+
/**
|
|
23715
|
+
* 管理员用户名
|
|
23716
|
+
*
|
|
23717
|
+
* @type string
|
|
23718
|
+
*/
|
|
23719
|
+
username?: string;
|
|
23720
|
+
}
|
|
23329
23721
|
export interface 组件信息查询参数 {
|
|
23330
23722
|
/**
|
|
23331
23723
|
*
|
|
@@ -80,6 +80,7 @@ import type { TaskDoneService } from './apis/task-done.service';
|
|
|
80
80
|
import type { TaskTodoService } from './apis/task-todo.service';
|
|
81
81
|
import type { TenantDeveloperService } from './apis/tenant-developer.service';
|
|
82
82
|
import type { TenantService } from './apis/tenant.service';
|
|
83
|
+
import type { ThirdPartyAppService } from './apis/third-party-app.service';
|
|
83
84
|
import type { UserService } from './apis/user.service';
|
|
84
85
|
import type { UserExtraService } from './apis/user-extra.service';
|
|
85
86
|
import type { UserInfoLogService } from './apis/user-info-log.service';
|
|
@@ -265,6 +266,7 @@ export interface ApiManage {
|
|
|
265
266
|
readonly taskTodo: TaskTodoService;
|
|
266
267
|
readonly tenantDeveloper: TenantDeveloperService;
|
|
267
268
|
readonly tenant: TenantService;
|
|
269
|
+
readonly thirdPartyApp: ThirdPartyAppService;
|
|
268
270
|
readonly user: UserService;
|
|
269
271
|
readonly userExtra: UserExtraService;
|
|
270
272
|
readonly userInfoLog: UserInfoLogService;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ApiManage as APaasApiManage } from '../apaas';
|
|
2
|
+
import { type ApiManage as IpaasApiManage } from '../ipaas';
|
|
2
3
|
import { type ApiManage as PlatformApiManage } from '../platform';
|
|
3
4
|
/**
|
|
4
5
|
* HTTP 响应接口
|
|
@@ -156,6 +157,14 @@ export interface ApiMap {
|
|
|
156
157
|
* @type {APaasApiManage}
|
|
157
158
|
*/
|
|
158
159
|
apaas: APaasApiManage;
|
|
160
|
+
/**
|
|
161
|
+
* IPaas 平台 API 管理
|
|
162
|
+
*
|
|
163
|
+
* @author chitanda
|
|
164
|
+
* @date 2025-08-21 17:08:53
|
|
165
|
+
* @type {IpaasApiManage}
|
|
166
|
+
*/
|
|
167
|
+
ipaas: IpaasApiManage;
|
|
159
168
|
/**
|
|
160
169
|
* 平台 API 管理
|
|
161
170
|
*
|
package/es/service/index.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { apiConfig as aPaasConfig } from "../apaas/index.mjs";
|
|
2
|
+
import { apiConfig as ipaasConfig } from "../ipaas/index.mjs";
|
|
2
3
|
import { apiConfig as platformConfig } from "../platform/index.mjs";
|
|
3
4
|
import { ApiManage } from "./api-manage.mjs";
|
|
4
5
|
export const api = {
|
|
5
6
|
apaas: new ApiManage("/gct-apaas/api", aPaasConfig),
|
|
7
|
+
ipaas: new ApiManage("/gct-ipaas/api", ipaasConfig),
|
|
6
8
|
platform: new ApiManage("/gct-platform/api", platformConfig)
|
|
7
9
|
};
|
|
8
10
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/api",
|
|
3
|
-
"version": "6.0.0-dev.
|
|
3
|
+
"version": "6.0.0-dev.10",
|
|
4
4
|
"description": "paas 平台底包",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"publish:beta": "npm publish --access public --tag=beta --registry=https://registry.npmjs.org/",
|
|
74
74
|
"publish:npm": "npm publish --access public --registry=https://registry.npmjs.org/",
|
|
75
75
|
"gen-api:alpha": "./script/gen-api.sh http://paas.alpha.gct-paas.com",
|
|
76
|
-
"gen-api:dev": "./script/gen-api.sh http://paas.
|
|
77
|
-
"gen-api:test": "./script/gen-api.sh"
|
|
76
|
+
"gen-api:dev": "./script/gen-api.sh http://paas.paasdevsix.gct-paas.com",
|
|
77
|
+
"gen-api:test": "./script/gen-api.sh http://paas.paastestsix.gct-paas.com"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"axios": "^1.16.0",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@babel/preset-env": "^7.29.5",
|
|
89
89
|
"@commitlint/cli": "^20.5.3",
|
|
90
|
-
"@gct-paas/build": "^0.1.
|
|
91
|
-
"@gct-paas/cli": "^0.
|
|
90
|
+
"@gct-paas/build": "^0.1.23",
|
|
91
|
+
"@gct-paas/cli": "^0.2.0",
|
|
92
92
|
"@types/fs-extra": "^11.0.4",
|
|
93
93
|
"@types/lodash-es": "^4.17.12",
|
|
94
94
|
"@types/node": "^25.6.2",
|