szpt-driver-api 1.0.21 → 1.0.23
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/accident.d.ts +59 -4
- package/accident.js +1 -1
- package/accident.js.map +1 -1
- package/auth.d.ts +476 -214
- package/auth.js +1 -1
- package/auth.js.map +1 -1
- package/authBpmn.d.ts +56 -2
- package/authBpmn.js +1 -1
- package/authBpmn.js.map +1 -1
- package/authBpmnQuery.d.ts +12 -4
- package/authBpmnQuery.js +1 -1
- package/authBpmnQuery.js.map +1 -1
- package/authDuty.d.ts +525 -66
- package/authDuty.js +1 -1
- package/authDuty.js.map +1 -1
- package/authV2.d.ts +14 -0
- package/authV2.js.map +1 -1
- package/common.d.ts +60 -10
- package/common.js +1 -1
- package/common.js.map +1 -1
- package/external.d.ts +125 -4
- package/external.js +1 -1
- package/external.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/oss.d.ts +208 -22
- package/oss.js +1 -1
- package/oss.js.map +1 -1
- package/package.json +1 -1
- package/query.d.ts +371 -129
- package/query.js +1 -1
- package/query.js.map +1 -1
- package/szAccident.d.ts +1029 -132
- package/szAccident.js +1 -1
- package/szAccident.js.map +1 -1
- package/szAccidentPublic.d.ts +1059 -0
- package/szAccidentPublic.js +2 -0
- package/szAccidentPublic.js.map +1 -0
- package/szStatistic.d.ts +9 -7
- package/szStatistic.js.map +1 -1
- package/szTraffic.d.ts +2155 -146
- package/szTraffic.js +1 -1
- package/szTraffic.js.map +1 -1
- package/violation.d.ts +522 -20
- package/violation.js +1 -1
- package/violation.js.map +1 -1
package/auth.d.ts
CHANGED
|
@@ -7,6 +7,28 @@ export declare class AccessToken {
|
|
|
7
7
|
/** Access Token */
|
|
8
8
|
token: string;
|
|
9
9
|
}
|
|
10
|
+
export declare class AddDictItem {
|
|
11
|
+
/** @format int32 */
|
|
12
|
+
index?: number;
|
|
13
|
+
value?: string;
|
|
14
|
+
"value2"?: string;
|
|
15
|
+
"value3"?: string;
|
|
16
|
+
"value4"?: string;
|
|
17
|
+
"value5"?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare class AddDictItemRequest {
|
|
20
|
+
department?: string;
|
|
21
|
+
items?: AddDictItem[];
|
|
22
|
+
name?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare class Alarm {
|
|
25
|
+
description?: string;
|
|
26
|
+
event?: string;
|
|
27
|
+
level?: "Error" | "Info" | "Warning";
|
|
28
|
+
serviceName?: string;
|
|
29
|
+
/** @format int64 */
|
|
30
|
+
time?: number;
|
|
31
|
+
}
|
|
10
32
|
export declare class BindPhoneRequest {
|
|
11
33
|
code?: string;
|
|
12
34
|
}
|
|
@@ -67,6 +89,10 @@ export declare class Department {
|
|
|
67
89
|
/** 行政区划 */
|
|
68
90
|
xzqh: string;
|
|
69
91
|
}
|
|
92
|
+
export declare class DepartmentArea {
|
|
93
|
+
area: Latlng[];
|
|
94
|
+
title: string;
|
|
95
|
+
}
|
|
70
96
|
export declare class DepartmentConfig {
|
|
71
97
|
inherit: boolean;
|
|
72
98
|
inheritFrom: string;
|
|
@@ -168,6 +194,33 @@ export declare class DepartmentUpdateBean {
|
|
|
168
194
|
szdz?: string;
|
|
169
195
|
xzqh?: string;
|
|
170
196
|
}
|
|
197
|
+
export declare class DeptDictItem {
|
|
198
|
+
department: string;
|
|
199
|
+
disabled: boolean;
|
|
200
|
+
/** @format int64 */
|
|
201
|
+
id: number;
|
|
202
|
+
/** @format int32 */
|
|
203
|
+
index: number;
|
|
204
|
+
key: string;
|
|
205
|
+
value: string;
|
|
206
|
+
"value2": string;
|
|
207
|
+
"value3": string;
|
|
208
|
+
"value4": string;
|
|
209
|
+
"value5": string;
|
|
210
|
+
}
|
|
211
|
+
export declare class DeptDictionaryWithItems {
|
|
212
|
+
department: string;
|
|
213
|
+
description: string;
|
|
214
|
+
digest: EntityDigest;
|
|
215
|
+
/** @format int64 */
|
|
216
|
+
id: number;
|
|
217
|
+
items: DeptDictItem[];
|
|
218
|
+
/** @format int64 */
|
|
219
|
+
lastUpdateTime: number;
|
|
220
|
+
name: string;
|
|
221
|
+
section: string;
|
|
222
|
+
title: string;
|
|
223
|
+
}
|
|
171
224
|
export declare class DeviceInfo {
|
|
172
225
|
/** 设备编号 */
|
|
173
226
|
deviceId?: string;
|
|
@@ -231,6 +284,15 @@ export declare class EntityDigest {
|
|
|
231
284
|
digest: string;
|
|
232
285
|
valid: boolean;
|
|
233
286
|
}
|
|
287
|
+
export declare class ExtendExpireRequest {
|
|
288
|
+
/**
|
|
289
|
+
* 天数
|
|
290
|
+
* @format int32
|
|
291
|
+
*/
|
|
292
|
+
days?: number;
|
|
293
|
+
/** 用户id列表 */
|
|
294
|
+
userIds?: number[];
|
|
295
|
+
}
|
|
234
296
|
export declare class FileObjectMeta {
|
|
235
297
|
contentType: string;
|
|
236
298
|
fileName: string;
|
|
@@ -261,6 +323,13 @@ export declare class IdCardLoginForm {
|
|
|
261
323
|
phone?: string;
|
|
262
324
|
}
|
|
263
325
|
export declare type InputStream = any;
|
|
326
|
+
export declare type JsonNode = any;
|
|
327
|
+
export declare class Latlng {
|
|
328
|
+
/** @format double */
|
|
329
|
+
latitude: number;
|
|
330
|
+
/** @format double */
|
|
331
|
+
longitude: number;
|
|
332
|
+
}
|
|
264
333
|
export declare class Ledger {
|
|
265
334
|
action: string;
|
|
266
335
|
app: string;
|
|
@@ -455,7 +524,6 @@ export declare class PasswordForm {
|
|
|
455
524
|
export declare class Permission {
|
|
456
525
|
code: string;
|
|
457
526
|
description: string;
|
|
458
|
-
digest: EntityDigest;
|
|
459
527
|
/** @format int64 */
|
|
460
528
|
id: number;
|
|
461
529
|
options: PermissionOptions;
|
|
@@ -656,52 +724,123 @@ export declare class PoliceUpdateBean {
|
|
|
656
724
|
zzmm?: string;
|
|
657
725
|
}
|
|
658
726
|
export declare class PoliceUserCreateBean {
|
|
727
|
+
/** 头像 */
|
|
659
728
|
avatar?: string;
|
|
660
|
-
/**
|
|
729
|
+
/** 编制类型 */
|
|
730
|
+
bzlx?: string;
|
|
731
|
+
/**
|
|
732
|
+
* 部门ID
|
|
733
|
+
* @format int64
|
|
734
|
+
*/
|
|
661
735
|
departmentId?: number;
|
|
736
|
+
/** 电子邮箱 */
|
|
662
737
|
email?: string;
|
|
663
|
-
/**
|
|
738
|
+
/**
|
|
739
|
+
* 用户有效期
|
|
740
|
+
* @format int64
|
|
741
|
+
*/
|
|
664
742
|
expire?: number;
|
|
743
|
+
/** 性别 */
|
|
665
744
|
gender?: "Female" | "Male" | "Other" | "Unknown";
|
|
745
|
+
/** 身份证号 */
|
|
666
746
|
idCardNumber?: string;
|
|
747
|
+
/** 密码 */
|
|
667
748
|
password?: string;
|
|
668
|
-
/**
|
|
749
|
+
/**
|
|
750
|
+
* 密码有效期
|
|
751
|
+
* @format int64
|
|
752
|
+
*/
|
|
669
753
|
passwordExpire?: number;
|
|
754
|
+
/** 手机号 */
|
|
670
755
|
phone?: string;
|
|
756
|
+
/** 警员编号 */
|
|
671
757
|
policeCode?: string;
|
|
758
|
+
/** 警员类型 */
|
|
672
759
|
policeType?: string;
|
|
760
|
+
/** 职位 */
|
|
673
761
|
position?: string;
|
|
762
|
+
/** 姓名 */
|
|
674
763
|
realName?: string;
|
|
675
|
-
/**
|
|
764
|
+
/**
|
|
765
|
+
* 角色ID
|
|
766
|
+
* @format int64
|
|
767
|
+
*/
|
|
676
768
|
roleId?: number;
|
|
677
|
-
/**
|
|
769
|
+
/**
|
|
770
|
+
* 排序
|
|
771
|
+
* @format int32
|
|
772
|
+
*/
|
|
678
773
|
sortIndex?: number;
|
|
774
|
+
/** 用户名 */
|
|
679
775
|
username?: string;
|
|
680
776
|
}
|
|
681
777
|
export declare class PoliceUserUpdateBean {
|
|
778
|
+
/** 头像 */
|
|
682
779
|
avatar?: string;
|
|
683
|
-
/**
|
|
780
|
+
/** 编制类型 */
|
|
781
|
+
bzlx?: string;
|
|
782
|
+
/**
|
|
783
|
+
* 部门ID
|
|
784
|
+
* @format int64
|
|
785
|
+
*/
|
|
684
786
|
departmentId?: number;
|
|
787
|
+
/** 邮箱 */
|
|
685
788
|
email?: string;
|
|
686
|
-
/**
|
|
789
|
+
/**
|
|
790
|
+
* 用户有效期
|
|
791
|
+
* @format int64
|
|
792
|
+
*/
|
|
687
793
|
expire?: number;
|
|
794
|
+
/** 性别 */
|
|
688
795
|
gender?: "Female" | "Male" | "Other" | "Unknown";
|
|
689
|
-
/**
|
|
796
|
+
/**
|
|
797
|
+
* ID
|
|
798
|
+
* @format int64
|
|
799
|
+
*/
|
|
690
800
|
id?: number;
|
|
801
|
+
/** 身份证号 */
|
|
691
802
|
idCardNumber?: string;
|
|
692
|
-
/**
|
|
803
|
+
/**
|
|
804
|
+
* 密码有效期
|
|
805
|
+
* @format int64
|
|
806
|
+
*/
|
|
693
807
|
passwordExpire?: number;
|
|
808
|
+
/** 手机号 */
|
|
694
809
|
phone?: string;
|
|
810
|
+
/** 警员编号 */
|
|
695
811
|
policeCode?: string;
|
|
812
|
+
/** 警员类型 */
|
|
696
813
|
policeType?: string;
|
|
814
|
+
/** 职位 */
|
|
697
815
|
position?: string;
|
|
816
|
+
/** 姓名 */
|
|
698
817
|
realName?: string;
|
|
699
|
-
/**
|
|
818
|
+
/**
|
|
819
|
+
* 角色ID
|
|
820
|
+
* @format int64
|
|
821
|
+
*/
|
|
700
822
|
roleId?: number;
|
|
701
|
-
/**
|
|
823
|
+
/**
|
|
824
|
+
* 排序
|
|
825
|
+
* @format int32
|
|
826
|
+
*/
|
|
702
827
|
sortIndex?: number;
|
|
828
|
+
/** 用户名 */
|
|
703
829
|
username?: string;
|
|
704
830
|
}
|
|
831
|
+
export declare class ProxyRequest {
|
|
832
|
+
data?: any;
|
|
833
|
+
headers?: Record<string, string>;
|
|
834
|
+
method?: string;
|
|
835
|
+
params?: Record<string, string>;
|
|
836
|
+
path?: string;
|
|
837
|
+
}
|
|
838
|
+
export declare class ProxyResponse {
|
|
839
|
+
body: JsonNode;
|
|
840
|
+
headers: Record<string, string[]>;
|
|
841
|
+
/** @format int32 */
|
|
842
|
+
status: number;
|
|
843
|
+
}
|
|
705
844
|
export declare class ReadUserConfigRequest {
|
|
706
845
|
keys?: string[];
|
|
707
846
|
usernames?: string[];
|
|
@@ -715,6 +854,11 @@ export declare class RedundantInfo {
|
|
|
715
854
|
time: number;
|
|
716
855
|
value: string;
|
|
717
856
|
}
|
|
857
|
+
export declare class RemoveDictItemRequest {
|
|
858
|
+
department?: string;
|
|
859
|
+
itemKeys?: string[];
|
|
860
|
+
name?: string;
|
|
861
|
+
}
|
|
718
862
|
export declare class Resource {
|
|
719
863
|
description: string;
|
|
720
864
|
/** @format binary */
|
|
@@ -731,6 +875,7 @@ export declare class Resource {
|
|
|
731
875
|
export declare class Role {
|
|
732
876
|
description: string;
|
|
733
877
|
digest: EntityDigest;
|
|
878
|
+
displayName: string;
|
|
734
879
|
/** @format int64 */
|
|
735
880
|
id: number;
|
|
736
881
|
name: string;
|
|
@@ -738,19 +883,27 @@ export declare class Role {
|
|
|
738
883
|
permissions: Permission[];
|
|
739
884
|
/** @format int32 */
|
|
740
885
|
priority: number;
|
|
886
|
+
/** 计算得出的角色显示名称 */
|
|
887
|
+
roleDisplayName: string;
|
|
741
888
|
roleType: "Auditing" | "Common" | "Security" | "System" | "Work";
|
|
889
|
+
/** @format int32 */
|
|
890
|
+
sortIndex: number;
|
|
742
891
|
}
|
|
743
892
|
export declare class RoleCreateBean {
|
|
744
893
|
description?: string;
|
|
894
|
+
displayName?: string;
|
|
745
895
|
name?: string;
|
|
746
896
|
parentRoleIds?: number[];
|
|
747
897
|
permissions?: string[];
|
|
748
898
|
/** @format int32 */
|
|
749
899
|
priority?: number;
|
|
750
900
|
roleType?: "Auditing" | "Common" | "Security" | "System" | "Work";
|
|
901
|
+
/** @format int32 */
|
|
902
|
+
sortIndex?: number;
|
|
751
903
|
}
|
|
752
904
|
export declare class RoleUpdateBean {
|
|
753
905
|
description?: string;
|
|
906
|
+
displayName?: string;
|
|
754
907
|
/** @format int64 */
|
|
755
908
|
id?: number;
|
|
756
909
|
name?: string;
|
|
@@ -759,6 +912,8 @@ export declare class RoleUpdateBean {
|
|
|
759
912
|
/** @format int32 */
|
|
760
913
|
priority?: number;
|
|
761
914
|
roleType?: "Auditing" | "Common" | "Security" | "System" | "Work";
|
|
915
|
+
/** @format int32 */
|
|
916
|
+
sortIndex?: number;
|
|
762
917
|
}
|
|
763
918
|
export declare class SendMessageRequest {
|
|
764
919
|
/** 内容 */
|
|
@@ -777,64 +932,6 @@ export declare class SendResponse {
|
|
|
777
932
|
message: string;
|
|
778
933
|
sid: string;
|
|
779
934
|
}
|
|
780
|
-
export declare class SimpleDeptDict {
|
|
781
|
-
department: string;
|
|
782
|
-
description: string;
|
|
783
|
-
digest: EntityDigest;
|
|
784
|
-
/** @format int64 */
|
|
785
|
-
id: number;
|
|
786
|
-
/** @format int64 */
|
|
787
|
-
lastUpdateTime: number;
|
|
788
|
-
name: string;
|
|
789
|
-
/** 是否可操作 */
|
|
790
|
-
operateAble: boolean;
|
|
791
|
-
section: string;
|
|
792
|
-
title: string;
|
|
793
|
-
}
|
|
794
|
-
export declare class SimpleDeptDictItem {
|
|
795
|
-
disabled: boolean;
|
|
796
|
-
/** @format int64 */
|
|
797
|
-
id: number;
|
|
798
|
-
/** @format int32 */
|
|
799
|
-
index: number;
|
|
800
|
-
key: string;
|
|
801
|
-
/** 是否可操作 */
|
|
802
|
-
operateAble: boolean;
|
|
803
|
-
value: string;
|
|
804
|
-
}
|
|
805
|
-
export declare class SimpleDeptDictItemSaveBean {
|
|
806
|
-
disabled?: boolean;
|
|
807
|
-
/** @format int64 */
|
|
808
|
-
id?: number;
|
|
809
|
-
/** @format int32 */
|
|
810
|
-
index?: number;
|
|
811
|
-
value?: string;
|
|
812
|
-
}
|
|
813
|
-
export declare class SimpleDeptDictSaveBean {
|
|
814
|
-
department?: string;
|
|
815
|
-
description?: string;
|
|
816
|
-
/** @format int64 */
|
|
817
|
-
id?: number;
|
|
818
|
-
items?: SimpleDeptDictItemSaveBean[];
|
|
819
|
-
name?: string;
|
|
820
|
-
section?: string;
|
|
821
|
-
title?: string;
|
|
822
|
-
}
|
|
823
|
-
export declare class SimpleDeptDictWithItems {
|
|
824
|
-
department: string;
|
|
825
|
-
description: string;
|
|
826
|
-
digest: EntityDigest;
|
|
827
|
-
/** @format int64 */
|
|
828
|
-
id: number;
|
|
829
|
-
items: SimpleDeptDictItem[];
|
|
830
|
-
/** @format int64 */
|
|
831
|
-
lastUpdateTime: number;
|
|
832
|
-
name: string;
|
|
833
|
-
/** 是否可操作 */
|
|
834
|
-
operateAble: boolean;
|
|
835
|
-
section: string;
|
|
836
|
-
title: string;
|
|
837
|
-
}
|
|
838
935
|
export declare class SmsVerifyCheckRequest {
|
|
839
936
|
code?: string;
|
|
840
937
|
phone?: string;
|
|
@@ -860,6 +957,19 @@ export declare class StayPoint {
|
|
|
860
957
|
/** @format int64 */
|
|
861
958
|
startTime: number;
|
|
862
959
|
}
|
|
960
|
+
export declare class SyncDepartmentHint {
|
|
961
|
+
includeSubDepartments?: boolean;
|
|
962
|
+
syncConfigs?: string[];
|
|
963
|
+
syncResourceConfigs?: string[];
|
|
964
|
+
syncUserHint?: SyncUserHint;
|
|
965
|
+
syncUsers?: boolean;
|
|
966
|
+
}
|
|
967
|
+
export declare class SyncUserHint {
|
|
968
|
+
departmentNotExistPolicy?: "Skip" | "Sync" | "Throw";
|
|
969
|
+
policeType?: string;
|
|
970
|
+
roleNotExistPolicy?: "Skip" | "Sync" | "Throw";
|
|
971
|
+
syncUserSignature?: boolean;
|
|
972
|
+
}
|
|
863
973
|
export declare class ThirdPlatformBinding {
|
|
864
974
|
appId: string;
|
|
865
975
|
appName: string;
|
|
@@ -1181,6 +1291,8 @@ export declare class UserSimpleEx {
|
|
|
1181
1291
|
departmentLevel: "DaDui" | "ZhiDui" | "ZhongDui" | "ZongDui";
|
|
1182
1292
|
/** 部门名称 */
|
|
1183
1293
|
departmentName: string;
|
|
1294
|
+
/** 部门行政区划 */
|
|
1295
|
+
departmentXzqh: string;
|
|
1184
1296
|
/**
|
|
1185
1297
|
* 用户ID
|
|
1186
1298
|
* @format int64
|
|
@@ -1194,10 +1306,14 @@ export declare class UserSimpleEx {
|
|
|
1194
1306
|
policeBzlx: string;
|
|
1195
1307
|
/** 警员编号 */
|
|
1196
1308
|
policeCode: string;
|
|
1309
|
+
/** 警员职位 */
|
|
1310
|
+
policePosition: string;
|
|
1197
1311
|
/** 警员类型 */
|
|
1198
1312
|
policeType: string;
|
|
1199
1313
|
/** 姓名 */
|
|
1200
1314
|
realName: string;
|
|
1315
|
+
/** 角色显示名称 */
|
|
1316
|
+
roleDisplayName: string;
|
|
1201
1317
|
/**
|
|
1202
1318
|
* 角色ID
|
|
1203
1319
|
* @format int64
|
|
@@ -1217,6 +1333,8 @@ export declare class UserSimpleWithAuth {
|
|
|
1217
1333
|
departmentLevel: "DaDui" | "ZhiDui" | "ZhongDui" | "ZongDui";
|
|
1218
1334
|
/** 部门名称 */
|
|
1219
1335
|
departmentName: string;
|
|
1336
|
+
/** 部门行政区划 */
|
|
1337
|
+
departmentXzqh: string;
|
|
1220
1338
|
/**
|
|
1221
1339
|
* 过期时间
|
|
1222
1340
|
* @format int64
|
|
@@ -1244,10 +1362,14 @@ export declare class UserSimpleWithAuth {
|
|
|
1244
1362
|
policeBzlx: string;
|
|
1245
1363
|
/** 警员编号 */
|
|
1246
1364
|
policeCode: string;
|
|
1365
|
+
/** 警员职位 */
|
|
1366
|
+
policePosition: string;
|
|
1247
1367
|
/** 警员类型 */
|
|
1248
1368
|
policeType: string;
|
|
1249
1369
|
/** 姓名 */
|
|
1250
1370
|
realName: string;
|
|
1371
|
+
/** 角色显示名称 */
|
|
1372
|
+
roleDisplayName: string;
|
|
1251
1373
|
/**
|
|
1252
1374
|
* 角色ID
|
|
1253
1375
|
* @format int64
|
|
@@ -1265,6 +1387,8 @@ export declare class UserSimpleWithLocation {
|
|
|
1265
1387
|
departmentLevel: "DaDui" | "ZhiDui" | "ZhongDui" | "ZongDui";
|
|
1266
1388
|
/** 部门名称 */
|
|
1267
1389
|
departmentName: string;
|
|
1390
|
+
/** 部门行政区划 */
|
|
1391
|
+
departmentXzqh: string;
|
|
1268
1392
|
/**
|
|
1269
1393
|
* 用户ID
|
|
1270
1394
|
* @format int64
|
|
@@ -1280,10 +1404,14 @@ export declare class UserSimpleWithLocation {
|
|
|
1280
1404
|
policeBzlx: string;
|
|
1281
1405
|
/** 警员编号 */
|
|
1282
1406
|
policeCode: string;
|
|
1407
|
+
/** 警员职位 */
|
|
1408
|
+
policePosition: string;
|
|
1283
1409
|
/** 警员类型 */
|
|
1284
1410
|
policeType: string;
|
|
1285
1411
|
/** 姓名 */
|
|
1286
1412
|
realName: string;
|
|
1413
|
+
/** 角色显示名称 */
|
|
1414
|
+
roleDisplayName: string;
|
|
1287
1415
|
/**
|
|
1288
1416
|
* 角色ID
|
|
1289
1417
|
* @format int64
|
|
@@ -1394,11 +1522,6 @@ export declare class PageResultLedgerSimple {
|
|
|
1394
1522
|
/** @format int64 */
|
|
1395
1523
|
total: number;
|
|
1396
1524
|
}
|
|
1397
|
-
export declare class PageResultSimpleDeptDict {
|
|
1398
|
-
list: SimpleDeptDict[];
|
|
1399
|
-
/** @format int64 */
|
|
1400
|
-
total: number;
|
|
1401
|
-
}
|
|
1402
1525
|
export declare class PageResultThirdPlatformEntity {
|
|
1403
1526
|
list: ThirdPlatformEntity[];
|
|
1404
1527
|
/** @format int64 */
|
|
@@ -1438,66 +1561,32 @@ export declare class GetDictionaryParams {
|
|
|
1438
1561
|
section?: string;
|
|
1439
1562
|
title?: string;
|
|
1440
1563
|
}
|
|
1441
|
-
export declare class
|
|
1564
|
+
export declare class FindParams {
|
|
1442
1565
|
/** department */
|
|
1443
|
-
department
|
|
1566
|
+
department: string;
|
|
1444
1567
|
/** name */
|
|
1445
1568
|
name: string;
|
|
1446
1569
|
}
|
|
1447
|
-
export declare class
|
|
1570
|
+
export declare class FindMergedParams {
|
|
1448
1571
|
/** department */
|
|
1449
|
-
department
|
|
1450
|
-
/** excludeDisabled */
|
|
1451
|
-
excludeDisabled?: boolean;
|
|
1572
|
+
department: string;
|
|
1452
1573
|
/** name */
|
|
1453
1574
|
name: string;
|
|
1454
1575
|
}
|
|
1455
|
-
export declare class
|
|
1456
|
-
department?: string;
|
|
1457
|
-
includeAllParentDepartment?: boolean;
|
|
1458
|
-
name?: string;
|
|
1459
|
-
orderBy?: string[];
|
|
1460
|
-
/** @format int32 */
|
|
1461
|
-
pageIndex?: number;
|
|
1462
|
-
/** @format int32 */
|
|
1463
|
-
pageSize?: number;
|
|
1464
|
-
section?: string;
|
|
1465
|
-
title?: string;
|
|
1466
|
-
}
|
|
1467
|
-
export declare class SimpleDeptItemsParams {
|
|
1576
|
+
export declare class FindByNameParams {
|
|
1468
1577
|
/** department */
|
|
1469
|
-
department
|
|
1470
|
-
/** excludeDisabled */
|
|
1471
|
-
excludeDisabled?: boolean;
|
|
1578
|
+
department?: string;
|
|
1472
1579
|
/** name */
|
|
1473
1580
|
name: string;
|
|
1474
1581
|
}
|
|
1475
|
-
export declare class
|
|
1582
|
+
export declare class ItemsParams {
|
|
1476
1583
|
/** department */
|
|
1477
|
-
department
|
|
1584
|
+
department?: string;
|
|
1478
1585
|
/** excludeDisabled */
|
|
1479
1586
|
excludeDisabled?: boolean;
|
|
1480
1587
|
/** name */
|
|
1481
1588
|
name: string;
|
|
1482
1589
|
}
|
|
1483
|
-
export declare class SimpleDeptItemsByDictionaryIdParams {
|
|
1484
|
-
/** excludeDisabled */
|
|
1485
|
-
excludeDisabled?: boolean;
|
|
1486
|
-
/**
|
|
1487
|
-
* dictionaryId
|
|
1488
|
-
* @format int64
|
|
1489
|
-
*/
|
|
1490
|
-
dictionaryId: number;
|
|
1491
|
-
}
|
|
1492
|
-
export declare class SimpleDeptWithItemsByDictionaryIdParams {
|
|
1493
|
-
/** excludeDisabled */
|
|
1494
|
-
excludeDisabled?: boolean;
|
|
1495
|
-
/**
|
|
1496
|
-
* dictionaryId
|
|
1497
|
-
* @format int64
|
|
1498
|
-
*/
|
|
1499
|
-
dictionaryId: number;
|
|
1500
|
-
}
|
|
1501
1590
|
export declare class WithItemsParams {
|
|
1502
1591
|
/** department */
|
|
1503
1592
|
department?: string;
|
|
@@ -2095,10 +2184,12 @@ export declare class PostConfigUserParams {
|
|
|
2095
2184
|
export declare class ToOssParams {
|
|
2096
2185
|
/** bucket */
|
|
2097
2186
|
bucket?: string;
|
|
2187
|
+
/** endpoint */
|
|
2188
|
+
endpoint?: string;
|
|
2098
2189
|
/** overwrite */
|
|
2099
2190
|
overwrite?: boolean;
|
|
2100
2191
|
}
|
|
2101
|
-
export declare class
|
|
2192
|
+
export declare class ByIdParams2 {
|
|
2102
2193
|
/** format */
|
|
2103
2194
|
format?: string;
|
|
2104
2195
|
/** id */
|
|
@@ -2123,6 +2214,15 @@ export declare class ThumbnailByIdParams {
|
|
|
2123
2214
|
/** id */
|
|
2124
2215
|
id: string;
|
|
2125
2216
|
}
|
|
2217
|
+
export declare class RoleParams {
|
|
2218
|
+
/**
|
|
2219
|
+
* roleId
|
|
2220
|
+
* @format int64
|
|
2221
|
+
*/
|
|
2222
|
+
roleId?: number;
|
|
2223
|
+
/** roleName */
|
|
2224
|
+
roleName?: string;
|
|
2225
|
+
}
|
|
2126
2226
|
export declare class GetThirdPlatformParams {
|
|
2127
2227
|
orderBy?: string[];
|
|
2128
2228
|
/** @format int32 */
|
|
@@ -2219,7 +2319,7 @@ export declare class GetUserParams {
|
|
|
2219
2319
|
/** 用户名模糊查询 */
|
|
2220
2320
|
usernameLike?: string;
|
|
2221
2321
|
}
|
|
2222
|
-
export declare class
|
|
2322
|
+
export declare class ExistParams8 {
|
|
2223
2323
|
/** 根据可管理部门id查询。支持多选 */
|
|
2224
2324
|
adminDepartmentId?: number[];
|
|
2225
2325
|
/** 根据部门代码查询。支持多选 */
|
|
@@ -2398,6 +2498,22 @@ interface HttpClient {
|
|
|
2398
2498
|
declare class Api {
|
|
2399
2499
|
private http;
|
|
2400
2500
|
constructor(http: HttpClient);
|
|
2501
|
+
alarm: {
|
|
2502
|
+
/**
|
|
2503
|
+
* @description 所需权限:supreme:assign-all-permission
|
|
2504
|
+
*
|
|
2505
|
+
* @tags alarm
|
|
2506
|
+
* @name Emit
|
|
2507
|
+
* @summary 发出告警内容
|
|
2508
|
+
* @request POST:/auth/alarm/emit
|
|
2509
|
+
* @response `200` `void` OK
|
|
2510
|
+
* @response `201` `void` Created
|
|
2511
|
+
* @response `401` `void` Unauthorized
|
|
2512
|
+
* @response `403` `void` Forbidden
|
|
2513
|
+
* @response `404` `void` Not Found
|
|
2514
|
+
*/
|
|
2515
|
+
emit: (alarm: Alarm, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
2516
|
+
};
|
|
2401
2517
|
captcha: {
|
|
2402
2518
|
/**
|
|
2403
2519
|
* No description
|
|
@@ -2527,98 +2643,6 @@ declare class Api {
|
|
|
2527
2643
|
* @response `404` `void` Not Found
|
|
2528
2644
|
*/
|
|
2529
2645
|
items: (query: ItemsParams, axiosConfig?: AxiosRequestConfig) => Promise<DictItem[]>;
|
|
2530
|
-
/**
|
|
2531
|
-
* @description 所需权限:dictionary:dept:list
|
|
2532
|
-
*
|
|
2533
|
-
* @tags dictionary
|
|
2534
|
-
* @name GetSimpleDept
|
|
2535
|
-
* @summary 根据字典信息分页列表
|
|
2536
|
-
* @request GET:/auth/dictionary/simple-dept
|
|
2537
|
-
* @response `200` `PageResultSimpleDeptDict` OK
|
|
2538
|
-
* @response `401` `void` Unauthorized
|
|
2539
|
-
* @response `403` `void` Forbidden
|
|
2540
|
-
* @response `404` `void` Not Found
|
|
2541
|
-
*/
|
|
2542
|
-
getSimpleDept: (query: GetSimpleDeptParams, axiosConfig?: AxiosRequestConfig) => Promise<PageResultSimpleDeptDict>;
|
|
2543
|
-
/**
|
|
2544
|
-
* @description 如果仅需更新字典而非项目,项目可传空或空数组<br>所需权限:dictionary:dept:save
|
|
2545
|
-
*
|
|
2546
|
-
* @tags dictionary
|
|
2547
|
-
* @name PostSimpleDept
|
|
2548
|
-
* @summary 新增/修改字典
|
|
2549
|
-
* @request POST:/auth/dictionary/simple-dept
|
|
2550
|
-
* @response `200` `SimpleDeptDictWithItems` OK
|
|
2551
|
-
* @response `201` `void` Created
|
|
2552
|
-
* @response `401` `void` Unauthorized
|
|
2553
|
-
* @response `403` `void` Forbidden
|
|
2554
|
-
* @response `404` `void` Not Found
|
|
2555
|
-
*/
|
|
2556
|
-
postSimpleDept: (bean: SimpleDeptDictSaveBean, axiosConfig?: AxiosRequestConfig) => Promise<SimpleDeptDictWithItems>;
|
|
2557
|
-
/**
|
|
2558
|
-
* @description 所需权限:dictionary:dept:find
|
|
2559
|
-
*
|
|
2560
|
-
* @tags dictionary
|
|
2561
|
-
* @name SimpleDeptItems
|
|
2562
|
-
* @summary 根据字典名称获取字典项目
|
|
2563
|
-
* @request GET:/auth/dictionary/simple-dept/items
|
|
2564
|
-
* @response `200` `(SimpleDeptDictItem)[]` OK
|
|
2565
|
-
* @response `401` `void` Unauthorized
|
|
2566
|
-
* @response `403` `void` Forbidden
|
|
2567
|
-
* @response `404` `void` Not Found
|
|
2568
|
-
*/
|
|
2569
|
-
simpleDeptItems: (query: SimpleDeptItemsParams, axiosConfig?: AxiosRequestConfig) => Promise<SimpleDeptDictItem[]>;
|
|
2570
|
-
/**
|
|
2571
|
-
* @description 所需权限:dictionary:dept:list
|
|
2572
|
-
*
|
|
2573
|
-
* @tags dictionary
|
|
2574
|
-
* @name SimpleDeptWithItems
|
|
2575
|
-
* @summary 根据字典名称获取字典详情
|
|
2576
|
-
* @request GET:/auth/dictionary/simple-dept/with-items
|
|
2577
|
-
* @response `200` `SimpleDeptDictWithItems` OK
|
|
2578
|
-
* @response `401` `void` Unauthorized
|
|
2579
|
-
* @response `403` `void` Forbidden
|
|
2580
|
-
* @response `404` `void` Not Found
|
|
2581
|
-
*/
|
|
2582
|
-
simpleDeptWithItems: (query: SimpleDeptWithItemsParams, axiosConfig?: AxiosRequestConfig) => Promise<SimpleDeptDictWithItems>;
|
|
2583
|
-
/**
|
|
2584
|
-
* @description 所需权限:dictionary:dept:list
|
|
2585
|
-
*
|
|
2586
|
-
* @tags dictionary
|
|
2587
|
-
* @name SimpleDeptItemsByDictionaryId
|
|
2588
|
-
* @summary 根据字典id获取字典项目
|
|
2589
|
-
* @request GET:/auth/dictionary/simple-dept/{dictionaryId}/items
|
|
2590
|
-
* @response `200` `(SimpleDeptDictItem)[]` OK
|
|
2591
|
-
* @response `401` `void` Unauthorized
|
|
2592
|
-
* @response `403` `void` Forbidden
|
|
2593
|
-
* @response `404` `void` Not Found
|
|
2594
|
-
*/
|
|
2595
|
-
simpleDeptItemsByDictionaryId: ({ dictionaryId, ...query }: SimpleDeptItemsByDictionaryIdParams, axiosConfig?: AxiosRequestConfig) => Promise<SimpleDeptDictItem[]>;
|
|
2596
|
-
/**
|
|
2597
|
-
* @description 所需权限:dictionary:dept:list
|
|
2598
|
-
*
|
|
2599
|
-
* @tags dictionary
|
|
2600
|
-
* @name SimpleDeptWithItemsByDictionaryId
|
|
2601
|
-
* @summary 根据字典id获取字典详情
|
|
2602
|
-
* @request GET:/auth/dictionary/simple-dept/{dictionaryId}/with-items
|
|
2603
|
-
* @response `200` `SimpleDeptDictWithItems` OK
|
|
2604
|
-
* @response `401` `void` Unauthorized
|
|
2605
|
-
* @response `403` `void` Forbidden
|
|
2606
|
-
* @response `404` `void` Not Found
|
|
2607
|
-
*/
|
|
2608
|
-
simpleDeptWithItemsByDictionaryId: ({ dictionaryId, ...query }: SimpleDeptWithItemsByDictionaryIdParams, axiosConfig?: AxiosRequestConfig) => Promise<SimpleDeptDictWithItems>;
|
|
2609
|
-
/**
|
|
2610
|
-
* @description 所需权限:dictionary:dept:find
|
|
2611
|
-
*
|
|
2612
|
-
* @tags dictionary
|
|
2613
|
-
* @name SimpleDeptById
|
|
2614
|
-
* @summary 根据id获取字典信息
|
|
2615
|
-
* @request GET:/auth/dictionary/simple-dept/{id}
|
|
2616
|
-
* @response `200` `SimpleDeptDict` OK
|
|
2617
|
-
* @response `401` `void` Unauthorized
|
|
2618
|
-
* @response `403` `void` Forbidden
|
|
2619
|
-
* @response `404` `void` Not Found
|
|
2620
|
-
*/
|
|
2621
|
-
simpleDeptById: (id: number, axiosConfig?: AxiosRequestConfig) => Promise<SimpleDeptDict>;
|
|
2622
2646
|
/**
|
|
2623
2647
|
* @description 所需权限:dictionary:find
|
|
2624
2648
|
*
|
|
@@ -2726,6 +2750,76 @@ declare class Api {
|
|
|
2726
2750
|
*/
|
|
2727
2751
|
deleteItemsByIdAndItemId: (id: number, itemId: number, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
2728
2752
|
};
|
|
2753
|
+
dictionaryForDept: {
|
|
2754
|
+
/**
|
|
2755
|
+
* @description 所需权限:dictionary:dept:save
|
|
2756
|
+
*
|
|
2757
|
+
* @tags dictionaryForDept
|
|
2758
|
+
* @name AddItems
|
|
2759
|
+
* @summary 添加字典项目
|
|
2760
|
+
* @request POST:/auth/dictionary-for-dept/add-items
|
|
2761
|
+
* @response `200` `void` OK
|
|
2762
|
+
* @response `201` `void` Created
|
|
2763
|
+
* @response `401` `void` Unauthorized
|
|
2764
|
+
* @response `403` `void` Forbidden
|
|
2765
|
+
* @response `404` `void` Not Found
|
|
2766
|
+
*/
|
|
2767
|
+
addItems: (request: AddDictItemRequest, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
2768
|
+
/**
|
|
2769
|
+
* @description 所需权限:dictionary:dept:save
|
|
2770
|
+
*
|
|
2771
|
+
* @tags dictionaryForDept
|
|
2772
|
+
* @name Create
|
|
2773
|
+
* @summary 创建字典
|
|
2774
|
+
* @request POST:/auth/dictionary-for-dept/create
|
|
2775
|
+
* @response `200` `Dictionary` OK
|
|
2776
|
+
* @response `201` `void` Created
|
|
2777
|
+
* @response `401` `void` Unauthorized
|
|
2778
|
+
* @response `403` `void` Forbidden
|
|
2779
|
+
* @response `404` `void` Not Found
|
|
2780
|
+
*/
|
|
2781
|
+
create: (request: DictionaryCreateBean, axiosConfig?: AxiosRequestConfig) => Promise<Dictionary>;
|
|
2782
|
+
/**
|
|
2783
|
+
* @description 所需权限:dictionary:dept:find
|
|
2784
|
+
*
|
|
2785
|
+
* @tags dictionaryForDept
|
|
2786
|
+
* @name Find
|
|
2787
|
+
* @summary 根据字典名称获取字典信息
|
|
2788
|
+
* @request GET:/auth/dictionary-for-dept/find
|
|
2789
|
+
* @response `200` `DictionaryWithItems` OK
|
|
2790
|
+
* @response `401` `void` Unauthorized
|
|
2791
|
+
* @response `403` `void` Forbidden
|
|
2792
|
+
* @response `404` `void` Not Found
|
|
2793
|
+
*/
|
|
2794
|
+
find: (query: FindParams, axiosConfig?: AxiosRequestConfig) => Promise<DictionaryWithItems>;
|
|
2795
|
+
/**
|
|
2796
|
+
* @description 所需权限:dictionary:dept:find
|
|
2797
|
+
*
|
|
2798
|
+
* @tags dictionaryForDept
|
|
2799
|
+
* @name FindMerged
|
|
2800
|
+
* @summary 根据字典名称获取字典信息
|
|
2801
|
+
* @request GET:/auth/dictionary-for-dept/find-merged
|
|
2802
|
+
* @response `200` `DeptDictionaryWithItems` OK
|
|
2803
|
+
* @response `401` `void` Unauthorized
|
|
2804
|
+
* @response `403` `void` Forbidden
|
|
2805
|
+
* @response `404` `void` Not Found
|
|
2806
|
+
*/
|
|
2807
|
+
findMerged: (query: FindMergedParams, axiosConfig?: AxiosRequestConfig) => Promise<DeptDictionaryWithItems>;
|
|
2808
|
+
/**
|
|
2809
|
+
* @description 所需权限:dictionary:dept:save
|
|
2810
|
+
*
|
|
2811
|
+
* @tags dictionaryForDept
|
|
2812
|
+
* @name RemoveItems
|
|
2813
|
+
* @summary 删除字典项目
|
|
2814
|
+
* @request POST:/auth/dictionary-for-dept/remove-items
|
|
2815
|
+
* @response `200` `void` OK
|
|
2816
|
+
* @response `201` `void` Created
|
|
2817
|
+
* @response `401` `void` Unauthorized
|
|
2818
|
+
* @response `403` `void` Forbidden
|
|
2819
|
+
* @response `404` `void` Not Found
|
|
2820
|
+
*/
|
|
2821
|
+
removeItems: (request: RemoveDictItemRequest, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
2822
|
+
};
|
|
2729
2823
|
ipBlock: {
|
|
2730
2824
|
/**
|
|
2731
2825
|
* @description 所需权限:ip:block:list
|
|
@@ -3395,6 +3489,19 @@ declare class Api {
|
|
|
3395
3489
|
* @response `404` `void` Not Found
|
|
3396
3490
|
*/
|
|
3397
3491
|
departmentAllParentBmdmByBmdm: (bmdm: string, axiosConfig?: AxiosRequestConfig) => Promise<string[]>;
|
|
3492
|
+
/**
|
|
3493
|
+
* @description 所需权限:department:list
|
|
3494
|
+
*
|
|
3495
|
+
* @tags organization
|
|
3496
|
+
* @name DepartmentAreasByBmdm
|
|
3497
|
+
* @summary 获取指定部门辖区区域
|
|
3498
|
+
* @request GET:/auth/organization/department/by-bmdm/{bmdm}/areas
|
|
3499
|
+
* @response `200` `(DepartmentArea)[]` OK
|
|
3500
|
+
* @response `401` `void` Unauthorized
|
|
3501
|
+
* @response `403` `void` Forbidden
|
|
3502
|
+
* @response `404` `void` Not Found
|
|
3503
|
+
*/
|
|
3504
|
+
departmentAreasByBmdm: (bmdm: string, axiosConfig?: AxiosRequestConfig) => Promise<DepartmentArea[]>;
|
|
3398
3505
|
/**
|
|
3399
3506
|
* @description 所需权限:department:list
|
|
3400
3507
|
*
|
|
@@ -4311,6 +4418,20 @@ declare class Api {
|
|
|
4311
4418
|
* @response `404` `void` Not Found
|
|
4312
4419
|
*/
|
|
4313
4420
|
check: (request: SmsVerifyCheckRequest, axiosConfig?: AxiosRequestConfig) => Promise<boolean>;
|
|
4421
|
+
/**
|
|
4422
|
+
* @description 所需权限:sms:reset-msg-send-rate-limit
|
|
4423
|
+
*
|
|
4424
|
+
* @tags smsVerify
|
|
4425
|
+
* @name ResetRateCheckByPhone
|
|
4426
|
+
* @summary 重置短信验证码发送量限制
|
|
4427
|
+
* @request POST:/auth/sms-verify/reset-rate-check/{phone}
|
|
4428
|
+
* @response `200` `void` OK
|
|
4429
|
+
* @response `201` `void` Created
|
|
4430
|
+
* @response `401` `void` Unauthorized
|
|
4431
|
+
* @response `403` `void` Forbidden
|
|
4432
|
+
* @response `404` `void` Not Found
|
|
4433
|
+
*/
|
|
4434
|
+
resetRateCheckByPhone: (phone: string, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
4314
4435
|
/**
|
|
4315
4436
|
* No description
|
|
4316
4437
|
*
|
|
@@ -4342,7 +4463,7 @@ declare class Api {
|
|
|
4342
4463
|
};
|
|
4343
4464
|
sms: {
|
|
4344
4465
|
/**
|
|
4345
|
-
*
|
|
4466
|
+
* @description 所需权限:sms:send-msg
|
|
4346
4467
|
*
|
|
4347
4468
|
* @tags sms
|
|
4348
4469
|
* @name Send
|
|
@@ -4416,7 +4537,7 @@ declare class Api {
|
|
|
4416
4537
|
* @response `403` `void` Forbidden
|
|
4417
4538
|
* @response `404` `void` Not Found
|
|
4418
4539
|
*/
|
|
4419
|
-
byId: ({ id, ...query }:
|
|
4540
|
+
byId: ({ id, ...query }: ByIdParams2, axiosConfig?: AxiosRequestConfig) => Promise<Resource>;
|
|
4420
4541
|
/**
|
|
4421
4542
|
* No description
|
|
4422
4543
|
*
|
|
@@ -4446,6 +4567,119 @@ declare class Api {
|
|
|
4446
4567
|
*/
|
|
4447
4568
|
thumbnailById: ({ id, ...query }: ThumbnailByIdParams, axiosConfig?: AxiosRequestConfig) => Promise<Resource>;
|
|
4448
4569
|
};
|
|
4570
|
+
sync: {
|
|
4571
|
+
/**
|
|
4572
|
+
* No description
|
|
4573
|
+
*
|
|
4574
|
+
* @tags sync
|
|
4575
|
+
* @name CommonDepartmentConfigKeys
|
|
4576
|
+
* @summary 常见的部门配置项
|
|
4577
|
+
* @request GET:/auth/sync/common-department-config-keys
|
|
4578
|
+
* @response `200` `(string)[]` OK
|
|
4579
|
+
* @response `401` `void` Unauthorized
|
|
4580
|
+
* @response `403` `void` Forbidden
|
|
4581
|
+
* @response `404` `void` Not Found
|
|
4582
|
+
*/
|
|
4583
|
+
commonDepartmentConfigKeys: (axiosConfig?: AxiosRequestConfig) => Promise<string[]>;
|
|
4584
|
+
/**
|
|
4585
|
+
* No description
|
|
4586
|
+
*
|
|
4587
|
+
* @tags sync
|
|
4588
|
+
* @name DepartmentByBmdm
|
|
4589
|
+
* @summary 同步部门信息
|
|
4590
|
+
* @request POST:/auth/sync/department/{bmdm}
|
|
4591
|
+
* @response `200` `void` OK
|
|
4592
|
+
* @response `201` `void` Created
|
|
4593
|
+
* @response `401` `void` Unauthorized
|
|
4594
|
+
* @response `403` `void` Forbidden
|
|
4595
|
+
* @response `404` `void` Not Found
|
|
4596
|
+
*/
|
|
4597
|
+
departmentByBmdm: (bmdm: string, hint: SyncDepartmentHint, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
4598
|
+
/**
|
|
4599
|
+
* No description
|
|
4600
|
+
*
|
|
4601
|
+
* @tags sync
|
|
4602
|
+
* @name Proxy
|
|
4603
|
+
* @summary 请求代理接口
|
|
4604
|
+
* @request POST:/auth/sync/proxy
|
|
4605
|
+
* @response `200` `ProxyResponse` OK
|
|
4606
|
+
* @response `201` `void` Created
|
|
4607
|
+
* @response `401` `void` Unauthorized
|
|
4608
|
+
* @response `403` `void` Forbidden
|
|
4609
|
+
* @response `404` `void` Not Found
|
|
4610
|
+
*/
|
|
4611
|
+
proxy: (request: ProxyRequest, axiosConfig?: AxiosRequestConfig) => Promise<ProxyResponse>;
|
|
4612
|
+
/**
|
|
4613
|
+
* No description
|
|
4614
|
+
*
|
|
4615
|
+
* @tags sync
|
|
4616
|
+
* @name ProxyByIsp
|
|
4617
|
+
* @summary 请求ISP代理接口
|
|
4618
|
+
* @request POST:/auth/sync/proxy-by-isp
|
|
4619
|
+
* @response `200` `ProxyResponse` OK
|
|
4620
|
+
* @response `201` `void` Created
|
|
4621
|
+
* @response `401` `void` Unauthorized
|
|
4622
|
+
* @response `403` `void` Forbidden
|
|
4623
|
+
* @response `404` `void` Not Found
|
|
4624
|
+
*/
|
|
4625
|
+
proxyByIsp: (request: ProxyRequest, axiosConfig?: AxiosRequestConfig) => Promise<ProxyResponse>;
|
|
4626
|
+
/**
|
|
4627
|
+
* No description
|
|
4628
|
+
*
|
|
4629
|
+
* @tags sync
|
|
4630
|
+
* @name ResourceByResourceId
|
|
4631
|
+
* @summary 同步指定资源
|
|
4632
|
+
* @request POST:/auth/sync/resource/{resourceId}
|
|
4633
|
+
* @response `200` `FileObjectMeta` OK
|
|
4634
|
+
* @response `201` `void` Created
|
|
4635
|
+
* @response `401` `void` Unauthorized
|
|
4636
|
+
* @response `403` `void` Forbidden
|
|
4637
|
+
* @response `404` `void` Not Found
|
|
4638
|
+
*/
|
|
4639
|
+
resourceByResourceId: (resourceId: string, axiosConfig?: AxiosRequestConfig) => Promise<FileObjectMeta>;
|
|
4640
|
+
/**
|
|
4641
|
+
* No description
|
|
4642
|
+
*
|
|
4643
|
+
* @tags sync
|
|
4644
|
+
* @name Role
|
|
4645
|
+
* @summary 同步角色信息
|
|
4646
|
+
* @request POST:/auth/sync/role
|
|
4647
|
+
* @response `200` `void` OK
|
|
4648
|
+
* @response `201` `void` Created
|
|
4649
|
+
* @response `401` `void` Unauthorized
|
|
4650
|
+
* @response `403` `void` Forbidden
|
|
4651
|
+
* @response `404` `void` Not Found
|
|
4652
|
+
*/
|
|
4653
|
+
role: (query: RoleParams, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
4654
|
+
/**
|
|
4655
|
+
* No description
|
|
4656
|
+
*
|
|
4657
|
+
* @tags sync
|
|
4658
|
+
* @name UserByUsername
|
|
4659
|
+
* @summary 同步用户信息
|
|
4660
|
+
* @request POST:/auth/sync/user/{username}
|
|
4661
|
+
* @response `200` `void` OK
|
|
4662
|
+
* @response `201` `void` Created
|
|
4663
|
+
* @response `401` `void` Unauthorized
|
|
4664
|
+
* @response `403` `void` Forbidden
|
|
4665
|
+
* @response `404` `void` Not Found
|
|
4666
|
+
*/
|
|
4667
|
+
userByUsername: (username: string, hint: SyncUserHint, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
4668
|
+
/**
|
|
4669
|
+
* No description
|
|
4670
|
+
*
|
|
4671
|
+
* @tags sync
|
|
4672
|
+
* @name UserSignatureByUsername
|
|
4673
|
+
* @summary 同步用户签名设置
|
|
4674
|
+
* @request POST:/auth/sync/user/{username}/signature
|
|
4675
|
+
* @response `200` `string` OK
|
|
4676
|
+
* @response `201` `void` Created
|
|
4677
|
+
* @response `401` `void` Unauthorized
|
|
4678
|
+
* @response `403` `void` Forbidden
|
|
4679
|
+
* @response `404` `void` Not Found
|
|
4680
|
+
*/
|
|
4681
|
+
userSignatureByUsername: (username: string, axiosConfig?: AxiosRequestConfig) => Promise<string>;
|
|
4682
|
+
};
|
|
4449
4683
|
thirdPlatform: {
|
|
4450
4684
|
/**
|
|
4451
4685
|
* @description 所需权限:third-platform:manage
|
|
@@ -4653,7 +4887,35 @@ declare class Api {
|
|
|
4653
4887
|
* @response `403` `void` Forbidden
|
|
4654
4888
|
* @response `404` `void` Not Found
|
|
4655
4889
|
*/
|
|
4656
|
-
exist: (query:
|
|
4890
|
+
exist: (query: ExistParams8, axiosConfig?: AxiosRequestConfig) => Promise<boolean>;
|
|
4891
|
+
/**
|
|
4892
|
+
* @description 所需权限:user:admin
|
|
4893
|
+
*
|
|
4894
|
+
* @tags user
|
|
4895
|
+
* @name ExtendUserExpire
|
|
4896
|
+
* @summary 延长用户有效期
|
|
4897
|
+
* @request POST:/auth/user/extend-user-expire
|
|
4898
|
+
* @response `200` `void` OK
|
|
4899
|
+
* @response `201` `void` Created
|
|
4900
|
+
* @response `401` `void` Unauthorized
|
|
4901
|
+
* @response `403` `void` Forbidden
|
|
4902
|
+
* @response `404` `void` Not Found
|
|
4903
|
+
*/
|
|
4904
|
+
extendUserExpire: (request: ExtendExpireRequest, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
4905
|
+
/**
|
|
4906
|
+
* @description 所需权限:user:admin
|
|
4907
|
+
*
|
|
4908
|
+
* @tags user
|
|
4909
|
+
* @name ExtendUserPasswordExpire
|
|
4910
|
+
* @summary 延长用户密码有效期
|
|
4911
|
+
* @request POST:/auth/user/extend-user-password-expire
|
|
4912
|
+
* @response `200` `void` OK
|
|
4913
|
+
* @response `201` `void` Created
|
|
4914
|
+
* @response `401` `void` Unauthorized
|
|
4915
|
+
* @response `403` `void` Forbidden
|
|
4916
|
+
* @response `404` `void` Not Found
|
|
4917
|
+
*/
|
|
4918
|
+
extendUserPasswordExpire: (request: ExtendExpireRequest, axiosConfig?: AxiosRequestConfig) => Promise<void>;
|
|
4657
4919
|
/**
|
|
4658
4920
|
* @description 所需权限:user:find
|
|
4659
4921
|
*
|