@gct-paas/api 6.0.0-dev.2 → 6.0.0-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/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 +31 -4
- package/es/apaas/service/apis/app-global-settings.service.d.ts +4 -0
- package/es/apaas/service/apis/app-granted-user.service.d.ts +21 -0
- package/es/apaas/service/apis/app-org.service.d.ts +4 -0
- package/es/apaas/service/apis/category.service.d.ts +0 -8
- 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 +8 -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 +1292 -274
- package/es/apaas/service/index.d.ts +4 -4
- package/es/platform/service/api-config.mjs +90 -4
- package/es/platform/service/apis/api.service.d.ts +98 -1
- package/es/platform/service/apis/app.service.d.ts +26 -4
- package/es/platform/service/apis/license.service.d.ts +10 -1
- package/es/platform/service/apis/third-party-app.service.d.ts +73 -0
- package/es/platform/service/entities.d.ts +361 -1
- package/es/platform/service/index.d.ts +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
|
*
|
|
@@ -15759,6 +15973,12 @@ export interface PrintResourceMapping {
|
|
|
15759
15973
|
* @type string
|
|
15760
15974
|
*/
|
|
15761
15975
|
printName?: string;
|
|
15976
|
+
/**
|
|
15977
|
+
*
|
|
15978
|
+
*
|
|
15979
|
+
* @type number
|
|
15980
|
+
*/
|
|
15981
|
+
status?: number;
|
|
15762
15982
|
}
|
|
15763
15983
|
export interface PrintResourceRemarkRequest {
|
|
15764
15984
|
/**
|
|
@@ -17403,6 +17623,18 @@ export interface SelectItem {
|
|
|
17403
17623
|
* @type boolean
|
|
17404
17624
|
*/
|
|
17405
17625
|
includeNull?: boolean;
|
|
17626
|
+
/**
|
|
17627
|
+
* 交叉表-自定义排序
|
|
17628
|
+
*
|
|
17629
|
+
* @type string[]
|
|
17630
|
+
*/
|
|
17631
|
+
orderValues?: string[];
|
|
17632
|
+
/**
|
|
17633
|
+
* 交叉表-字段排序规则
|
|
17634
|
+
*
|
|
17635
|
+
* @type string
|
|
17636
|
+
*/
|
|
17637
|
+
sortType?: string;
|
|
17406
17638
|
/**
|
|
17407
17639
|
* 数据类型
|
|
17408
17640
|
*
|
|
@@ -19196,6 +19428,82 @@ export interface ThirdAppConfigReq {
|
|
|
19196
19428
|
*/
|
|
19197
19429
|
secret?: string;
|
|
19198
19430
|
}
|
|
19431
|
+
export interface ThirdPartyAppRequest {
|
|
19432
|
+
/**
|
|
19433
|
+
* 应用ID(必填)
|
|
19434
|
+
*
|
|
19435
|
+
* @type string
|
|
19436
|
+
*/
|
|
19437
|
+
appId?: string;
|
|
19438
|
+
/**
|
|
19439
|
+
* 客户端密钥(不传则自动生成)
|
|
19440
|
+
*
|
|
19441
|
+
* @type string
|
|
19442
|
+
*/
|
|
19443
|
+
clientSecret?: string;
|
|
19444
|
+
/**
|
|
19445
|
+
* 生产环境回调域名
|
|
19446
|
+
*
|
|
19447
|
+
* @type string
|
|
19448
|
+
*/
|
|
19449
|
+
redirectUri?: string;
|
|
19450
|
+
/**
|
|
19451
|
+
* 授权范围: basic(用户基本信息)/all(带组织部门得用户信息)
|
|
19452
|
+
*
|
|
19453
|
+
* @type string
|
|
19454
|
+
*/
|
|
19455
|
+
scope?: string;
|
|
19456
|
+
/**
|
|
19457
|
+
* 验证环境回调域名
|
|
19458
|
+
*
|
|
19459
|
+
* @type string
|
|
19460
|
+
*/
|
|
19461
|
+
testRedirectUri?: string;
|
|
19462
|
+
}
|
|
19463
|
+
export interface ThirdPartyAppResp {
|
|
19464
|
+
/**
|
|
19465
|
+
* 应用ID
|
|
19466
|
+
*
|
|
19467
|
+
* @type string
|
|
19468
|
+
*/
|
|
19469
|
+
appId?: string;
|
|
19470
|
+
/**
|
|
19471
|
+
* 客户端ID(即appId)
|
|
19472
|
+
*
|
|
19473
|
+
* @type string
|
|
19474
|
+
*/
|
|
19475
|
+
clientId?: string;
|
|
19476
|
+
/**
|
|
19477
|
+
* 客户端密钥(脱敏)
|
|
19478
|
+
*
|
|
19479
|
+
* @type string
|
|
19480
|
+
*/
|
|
19481
|
+
clientSecret?: string;
|
|
19482
|
+
/**
|
|
19483
|
+
* 是否启用
|
|
19484
|
+
*
|
|
19485
|
+
* @type boolean
|
|
19486
|
+
*/
|
|
19487
|
+
enabled?: boolean;
|
|
19488
|
+
/**
|
|
19489
|
+
* 生产环境回调域名
|
|
19490
|
+
*
|
|
19491
|
+
* @type string
|
|
19492
|
+
*/
|
|
19493
|
+
redirectUri?: string;
|
|
19494
|
+
/**
|
|
19495
|
+
* 授权范围
|
|
19496
|
+
*
|
|
19497
|
+
* @type string
|
|
19498
|
+
*/
|
|
19499
|
+
scope?: string;
|
|
19500
|
+
/**
|
|
19501
|
+
* 验证环境回调域名
|
|
19502
|
+
*
|
|
19503
|
+
* @type string
|
|
19504
|
+
*/
|
|
19505
|
+
testRedirectUri?: string;
|
|
19506
|
+
}
|
|
19199
19507
|
export interface ThirdPartyInvokeLogResponse {
|
|
19200
19508
|
/**
|
|
19201
19509
|
* 所属应用key
|
|
@@ -19460,6 +19768,20 @@ export interface ThirdPartyLoginConfig {
|
|
|
19460
19768
|
*/
|
|
19461
19769
|
secret?: string;
|
|
19462
19770
|
}
|
|
19771
|
+
export interface TokenResponse {
|
|
19772
|
+
/**
|
|
19773
|
+
*
|
|
19774
|
+
*
|
|
19775
|
+
* @type string
|
|
19776
|
+
*/
|
|
19777
|
+
accessToken?: string;
|
|
19778
|
+
/**
|
|
19779
|
+
*
|
|
19780
|
+
*
|
|
19781
|
+
* @type string
|
|
19782
|
+
*/
|
|
19783
|
+
scope?: string;
|
|
19784
|
+
}
|
|
19463
19785
|
export interface User {
|
|
19464
19786
|
/**
|
|
19465
19787
|
*
|
|
@@ -23332,6 +23654,44 @@ export interface 登录日志查询参数 {
|
|
|
23332
23654
|
*/
|
|
23333
23655
|
username?: string;
|
|
23334
23656
|
}
|
|
23657
|
+
export interface 管理员信息 {
|
|
23658
|
+
/**
|
|
23659
|
+
* 头像
|
|
23660
|
+
*
|
|
23661
|
+
* @type string
|
|
23662
|
+
*/
|
|
23663
|
+
avatar?: string;
|
|
23664
|
+
/**
|
|
23665
|
+
* 邮箱
|
|
23666
|
+
*
|
|
23667
|
+
* @type string
|
|
23668
|
+
*/
|
|
23669
|
+
email?: string;
|
|
23670
|
+
/**
|
|
23671
|
+
* 管理员姓名
|
|
23672
|
+
*
|
|
23673
|
+
* @type string
|
|
23674
|
+
*/
|
|
23675
|
+
fullname?: string;
|
|
23676
|
+
/**
|
|
23677
|
+
* 手机号
|
|
23678
|
+
*
|
|
23679
|
+
* @type string
|
|
23680
|
+
*/
|
|
23681
|
+
mobile?: string;
|
|
23682
|
+
/**
|
|
23683
|
+
* 管理员用户ID
|
|
23684
|
+
*
|
|
23685
|
+
* @type string
|
|
23686
|
+
*/
|
|
23687
|
+
userId?: string;
|
|
23688
|
+
/**
|
|
23689
|
+
* 管理员用户名
|
|
23690
|
+
*
|
|
23691
|
+
* @type string
|
|
23692
|
+
*/
|
|
23693
|
+
username?: string;
|
|
23694
|
+
}
|
|
23335
23695
|
export interface 组件信息查询参数 {
|
|
23336
23696
|
/**
|
|
23337
23697
|
*
|
|
@@ -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;
|
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.4",
|
|
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",
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type {
|
|
3
|
-
modelDataAssociationRequest,
|
|
4
|
-
ModelAssociationResponse,
|
|
5
|
-
OnlineFormInstance,
|
|
6
|
-
} from '../entities';
|
|
7
|
-
|
|
8
|
-
export interface getModelMetaGetSysConfigQuery {
|
|
9
|
-
/**
|
|
10
|
-
* key
|
|
11
|
-
*/
|
|
12
|
-
key: string;
|
|
13
|
-
}
|
|
14
|
-
export interface getModelMetaHasDataAssociationQuery {
|
|
15
|
-
/**
|
|
16
|
-
* id
|
|
17
|
-
*/
|
|
18
|
-
id: string;
|
|
19
|
-
/**
|
|
20
|
-
* modelKey
|
|
21
|
-
*/
|
|
22
|
-
modelKey: string;
|
|
23
|
-
}
|
|
24
|
-
export interface getModelMetaModelDataAssociationQuery {
|
|
25
|
-
/**
|
|
26
|
-
* id
|
|
27
|
-
*/
|
|
28
|
-
id: string;
|
|
29
|
-
/**
|
|
30
|
-
* modelKey
|
|
31
|
-
*/
|
|
32
|
-
modelKey: string;
|
|
33
|
-
}
|
|
34
|
-
export interface getEdhrAttachmentGetEdhrAttachmentQuery {
|
|
35
|
-
/**
|
|
36
|
-
* materialNo
|
|
37
|
-
*/
|
|
38
|
-
materialNo: string;
|
|
39
|
-
}
|
|
40
|
-
export interface MedProService {
|
|
41
|
-
/**
|
|
42
|
-
* 关联模型数据查询
|
|
43
|
-
*/
|
|
44
|
-
postModelMetaDataAssociation(
|
|
45
|
-
data: modelDataAssociationRequest,
|
|
46
|
-
config?: Partial<AxiosRequestConfig>,
|
|
47
|
-
): Promise<object>;
|
|
48
|
-
/**
|
|
49
|
-
* 获取系统配置
|
|
50
|
-
*/
|
|
51
|
-
getModelMetaGetSysConfig(
|
|
52
|
-
query: getModelMetaGetSysConfigQuery,
|
|
53
|
-
config?: Partial<AxiosRequestConfig>,
|
|
54
|
-
): Promise<boolean>;
|
|
55
|
-
/**
|
|
56
|
-
* 存在关联数据
|
|
57
|
-
*/
|
|
58
|
-
getModelMetaHasDataAssociation(
|
|
59
|
-
query: getModelMetaHasDataAssociationQuery,
|
|
60
|
-
config?: Partial<AxiosRequestConfig>,
|
|
61
|
-
): Promise<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* 关联数据信息列表
|
|
64
|
-
*/
|
|
65
|
-
getModelMetaModelDataAssociation(
|
|
66
|
-
query: getModelMetaModelDataAssociationQuery,
|
|
67
|
-
config?: Partial<AxiosRequestConfig>,
|
|
68
|
-
): Promise<ModelAssociationResponse[]>;
|
|
69
|
-
/**
|
|
70
|
-
* 获取Edhr附录接口
|
|
71
|
-
*/
|
|
72
|
-
getEdhrAttachmentGetEdhrAttachment(
|
|
73
|
-
query: getEdhrAttachmentGetEdhrAttachmentQuery,
|
|
74
|
-
config?: Partial<AxiosRequestConfig>,
|
|
75
|
-
): Promise<OnlineFormInstance[]>;
|
|
76
|
-
}
|