szpt-driver-api 1.0.88 → 1.0.90
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/auth.d.ts +131 -114
- package/auth.js +1 -1
- package/auth.js.map +1 -1
- package/authBpmn.d.ts +21 -3
- package/authBpmn.js +1 -1
- package/authBpmn.js.map +1 -1
- package/authBpmnQuery.d.ts +6 -6
- package/authBpmnQuery.js +1 -1
- package/authBpmnQuery.js.map +1 -1
- package/authDuty.d.ts +23 -3
- package/authDuty.js.map +1 -1
- package/common.d.ts +2 -2
- package/common.js +1 -1
- package/common.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/oss.d.ts +4 -4
- package/oss.js +1 -1
- package/oss.js.map +1 -1
- package/package.json +1 -1
- package/query.d.ts +19 -19
- package/query.js +1 -1
- package/query.js.map +1 -1
- package/statisticManage.d.ts +3 -3
- package/statisticManage.js.map +1 -1
- package/szAccident.d.ts +2 -2
- package/szAccident.js +1 -1
- package/szAccident.js.map +1 -1
- package/szTraffic.d.ts +4 -4
- package/szTraffic.js +1 -1
- package/szTraffic.js.map +1 -1
- package/videoService.d.ts +6 -6
- package/videoService.js +1 -1
- package/videoService.js.map +1 -1
package/auth.d.ts
CHANGED
|
@@ -659,11 +659,11 @@ export declare class IdCardLoginForm {
|
|
|
659
659
|
/** 手机号码 */
|
|
660
660
|
phone?: string;
|
|
661
661
|
}
|
|
662
|
-
export declare class
|
|
663
|
-
failDetails:
|
|
662
|
+
export declare class ImportUserProfileResult {
|
|
663
|
+
failDetails: UserProfileImportResultDetail[];
|
|
664
664
|
/** @format int32 */
|
|
665
665
|
failTotal: number;
|
|
666
|
-
successDetails:
|
|
666
|
+
successDetails: UserProfileImportResultDetail[];
|
|
667
667
|
/** @format int32 */
|
|
668
668
|
successTotal: number;
|
|
669
669
|
/** @format int32 */
|
|
@@ -1273,7 +1273,7 @@ export declare class PersonEarlyWarnOverAge {
|
|
|
1273
1273
|
*/
|
|
1274
1274
|
birthday: number;
|
|
1275
1275
|
departmentCode: string;
|
|
1276
|
-
/**
|
|
1276
|
+
/** 员工类型 */
|
|
1277
1277
|
employmentType: string;
|
|
1278
1278
|
/** 身份证号 */
|
|
1279
1279
|
idCardNumber: string;
|
|
@@ -1304,7 +1304,7 @@ export declare class PersonEarlyWarnYoungAge {
|
|
|
1304
1304
|
*/
|
|
1305
1305
|
birthday: number;
|
|
1306
1306
|
departmentCode: string;
|
|
1307
|
-
/**
|
|
1307
|
+
/** 员工类型 */
|
|
1308
1308
|
employmentType: string;
|
|
1309
1309
|
/** 身份证号 */
|
|
1310
1310
|
idCardNumber: string;
|
|
@@ -2251,12 +2251,26 @@ export declare class UserImportBean {
|
|
|
2251
2251
|
retiredRehire: string;
|
|
2252
2252
|
valid: boolean;
|
|
2253
2253
|
}
|
|
2254
|
-
export declare class
|
|
2255
|
-
|
|
2256
|
-
|
|
2254
|
+
export declare class UserImportDetails {
|
|
2255
|
+
errors: string[];
|
|
2256
|
+
insert: boolean;
|
|
2257
2257
|
/** @format int32 */
|
|
2258
2258
|
rowNumber: number;
|
|
2259
|
-
|
|
2259
|
+
sheetName: string;
|
|
2260
|
+
update: boolean;
|
|
2261
|
+
/** @format int64 */
|
|
2262
|
+
userId: number;
|
|
2263
|
+
username: string;
|
|
2264
|
+
valid: boolean;
|
|
2265
|
+
}
|
|
2266
|
+
export declare class UserImportResult {
|
|
2267
|
+
details: UserImportDetails[];
|
|
2268
|
+
/** @format int32 */
|
|
2269
|
+
failedRows: number;
|
|
2270
|
+
/** @format int32 */
|
|
2271
|
+
successRows: number;
|
|
2272
|
+
/** @format int32 */
|
|
2273
|
+
totalRows: number;
|
|
2260
2274
|
}
|
|
2261
2275
|
export declare class UserLocation {
|
|
2262
2276
|
/** @format double */
|
|
@@ -2487,7 +2501,7 @@ export declare class UserProfileAdditional {
|
|
|
2487
2501
|
emergencyContactPhone: string;
|
|
2488
2502
|
/** 员工编号 */
|
|
2489
2503
|
employeeNumber: string;
|
|
2490
|
-
/**
|
|
2504
|
+
/** 员工类型 */
|
|
2491
2505
|
employeeType: string;
|
|
2492
2506
|
/**
|
|
2493
2507
|
* 入伍时间
|
|
@@ -2615,6 +2629,13 @@ export declare class UserProfileExtraDetail {
|
|
|
2615
2629
|
/** 体检表 */
|
|
2616
2630
|
userProfilePhysicalExaminations: UserProfilePhysicalExamination[];
|
|
2617
2631
|
}
|
|
2632
|
+
export declare class UserProfileImportResultDetail {
|
|
2633
|
+
detail: UserImportBean;
|
|
2634
|
+
message: string;
|
|
2635
|
+
/** @format int32 */
|
|
2636
|
+
rowNumber: number;
|
|
2637
|
+
success: boolean;
|
|
2638
|
+
}
|
|
2618
2639
|
export declare class UserProfileLanguageAbility {
|
|
2619
2640
|
/** 语言能力描述 */
|
|
2620
2641
|
languageAbility: string;
|
|
@@ -2658,66 +2679,34 @@ export declare class UserProfileTrainingExperience {
|
|
|
2658
2679
|
export declare class UserProfileUpdateBean {
|
|
2659
2680
|
/** 头像 */
|
|
2660
2681
|
avatar?: string;
|
|
2661
|
-
/**
|
|
2662
|
-
* 出生日期
|
|
2663
|
-
* @format int64
|
|
2664
|
-
*/
|
|
2665
|
-
birthDate?: number;
|
|
2666
2682
|
/** 用户证书信息 */
|
|
2667
2683
|
certificates?: UserProfileCertificate[];
|
|
2668
2684
|
/** 用户合同信息 */
|
|
2669
2685
|
contracts?: UserProfileContracts[];
|
|
2670
|
-
/**
|
|
2671
|
-
|
|
2672
|
-
/** Email */
|
|
2673
|
-
email?: string;
|
|
2674
|
-
/** 用工类型 */
|
|
2675
|
-
employeeType?: string;
|
|
2686
|
+
/** 部门编号 */
|
|
2687
|
+
departmentCode?: string;
|
|
2676
2688
|
/**
|
|
2677
|
-
*
|
|
2678
|
-
* @format int64
|
|
2679
|
-
*/
|
|
2680
|
-
enlistmentTime?: number;
|
|
2681
|
-
/**
|
|
2682
|
-
* 入职日期
|
|
2689
|
+
* 部门ID
|
|
2683
2690
|
* @format int64
|
|
2684
2691
|
*/
|
|
2685
|
-
|
|
2692
|
+
departmentId?: number;
|
|
2693
|
+
/** Email */
|
|
2694
|
+
email?: string;
|
|
2686
2695
|
/** 性别 */
|
|
2687
2696
|
gender?: "Female" | "Male" | "Other" | "Unknown";
|
|
2688
|
-
/**
|
|
2689
|
-
* 身高(厘米)
|
|
2690
|
-
* @format int32
|
|
2691
|
-
*/
|
|
2692
|
-
height?: number;
|
|
2693
2697
|
/** @format int64 */
|
|
2694
2698
|
id?: number;
|
|
2695
2699
|
/** 身份证号 */
|
|
2696
2700
|
idCardNumber?: string;
|
|
2697
|
-
/** 人员职务 */
|
|
2698
|
-
jobTitle?: string;
|
|
2699
|
-
/**
|
|
2700
|
-
* 离职日期
|
|
2701
|
-
* @format int64
|
|
2702
|
-
*/
|
|
2703
|
-
leaveDate?: number;
|
|
2704
|
-
/**
|
|
2705
|
-
* 军龄
|
|
2706
|
-
* @format int32
|
|
2707
|
-
*/
|
|
2708
|
-
militaryAge?: number;
|
|
2709
|
-
/** 民族 */
|
|
2710
|
-
nation?: string;
|
|
2711
|
-
/** 人员状态 */
|
|
2712
|
-
personnelStatus?: string;
|
|
2713
2701
|
/** 手机号 */
|
|
2714
2702
|
phone?: string;
|
|
2715
|
-
/** 政治面貌 */
|
|
2716
|
-
politicalStatus?: string;
|
|
2717
2703
|
/** 姓名 */
|
|
2718
2704
|
realName?: string;
|
|
2719
|
-
/**
|
|
2720
|
-
|
|
2705
|
+
/**
|
|
2706
|
+
* 角色
|
|
2707
|
+
* @format int64
|
|
2708
|
+
*/
|
|
2709
|
+
roleId?: number;
|
|
2721
2710
|
/** 用户额外信息 */
|
|
2722
2711
|
userProfileAdditional?: UserProfileAdditional;
|
|
2723
2712
|
/** 用户工作经历以及技能 */
|
|
@@ -2726,8 +2715,7 @@ export declare class UserProfileUpdateBean {
|
|
|
2726
2715
|
userProfileNoCriminalRecords?: UserProfileNoCriminalRecord[];
|
|
2727
2716
|
/** 用户体检表 */
|
|
2728
2717
|
userProfilePhysicalExaminations?: UserProfilePhysicalExamination[];
|
|
2729
|
-
|
|
2730
|
-
veteransCertificateNumber?: string;
|
|
2718
|
+
username?: string;
|
|
2731
2719
|
}
|
|
2732
2720
|
export declare class UserProfileWorkExperience {
|
|
2733
2721
|
/** 工作经历描述 */
|
|
@@ -3094,77 +3082,35 @@ export declare class UserTrackQuery {
|
|
|
3094
3082
|
export declare class UserUpdateBean {
|
|
3095
3083
|
/** 头像 */
|
|
3096
3084
|
avatar?: string;
|
|
3097
|
-
/**
|
|
3098
|
-
* 出生日期
|
|
3099
|
-
* @format int64
|
|
3100
|
-
*/
|
|
3101
|
-
birthDate?: number;
|
|
3102
3085
|
/** 用户证书信息 */
|
|
3103
3086
|
certificates?: UserProfileCertificate[];
|
|
3104
3087
|
/** 用户合同信息 */
|
|
3105
3088
|
contracts?: UserProfileContracts[];
|
|
3089
|
+
/** 部门编号 */
|
|
3090
|
+
departmentCode?: string;
|
|
3106
3091
|
/** @format int64 */
|
|
3107
3092
|
departmentId?: number;
|
|
3108
|
-
/** 学历 */
|
|
3109
|
-
educationalBackground?: string;
|
|
3110
3093
|
/** Email */
|
|
3111
3094
|
email?: string;
|
|
3112
|
-
/** 用工类型 */
|
|
3113
|
-
employeeType?: string;
|
|
3114
|
-
/**
|
|
3115
|
-
* 入伍时间
|
|
3116
|
-
* @format int64
|
|
3117
|
-
*/
|
|
3118
|
-
enlistmentTime?: number;
|
|
3119
|
-
/**
|
|
3120
|
-
* 入职日期
|
|
3121
|
-
* @format int64
|
|
3122
|
-
*/
|
|
3123
|
-
entryDate?: number;
|
|
3124
3095
|
/** @format int64 */
|
|
3125
3096
|
expire?: number;
|
|
3126
3097
|
/** 性别 */
|
|
3127
3098
|
gender?: "Female" | "Male" | "Other" | "Unknown";
|
|
3128
|
-
/**
|
|
3129
|
-
* 身高(厘米)
|
|
3130
|
-
* @format int32
|
|
3131
|
-
*/
|
|
3132
|
-
height?: number;
|
|
3133
3099
|
/** @format int64 */
|
|
3134
3100
|
id?: number;
|
|
3135
3101
|
/** 身份证号 */
|
|
3136
3102
|
idCardNumber?: string;
|
|
3137
|
-
/** 人员职务 */
|
|
3138
|
-
jobTitle?: string;
|
|
3139
|
-
/**
|
|
3140
|
-
* 离职日期
|
|
3141
|
-
* @format int64
|
|
3142
|
-
*/
|
|
3143
|
-
leaveDate?: number;
|
|
3144
3103
|
loginName?: string;
|
|
3145
|
-
/**
|
|
3146
|
-
* 军龄
|
|
3147
|
-
* @format int32
|
|
3148
|
-
*/
|
|
3149
|
-
militaryAge?: number;
|
|
3150
|
-
/** 民族 */
|
|
3151
|
-
nation?: string;
|
|
3152
3104
|
/** @format int64 */
|
|
3153
3105
|
passwordExpire?: number;
|
|
3154
|
-
/** 人员状态 */
|
|
3155
|
-
personnelStatus?: string;
|
|
3156
3106
|
/** 手机号 */
|
|
3157
3107
|
phone?: string;
|
|
3158
3108
|
/** @format int64 */
|
|
3159
3109
|
policeId?: number;
|
|
3160
|
-
/** 政治面貌 */
|
|
3161
|
-
politicalStatus?: string;
|
|
3162
3110
|
/** 姓名 */
|
|
3163
3111
|
realName?: string;
|
|
3164
3112
|
/** @format int64 */
|
|
3165
3113
|
roleId?: number;
|
|
3166
|
-
/** 保安证等级 */
|
|
3167
|
-
securityGuardCertificateLevel?: string;
|
|
3168
3114
|
/** 用户额外信息 */
|
|
3169
3115
|
userProfileAdditional?: UserProfileAdditional;
|
|
3170
3116
|
/** 用户工作经历以及技能 */
|
|
@@ -3173,8 +3119,7 @@ export declare class UserUpdateBean {
|
|
|
3173
3119
|
userProfileNoCriminalRecords?: UserProfileNoCriminalRecord[];
|
|
3174
3120
|
/** 用户体检表 */
|
|
3175
3121
|
userProfilePhysicalExaminations?: UserProfilePhysicalExamination[];
|
|
3176
|
-
|
|
3177
|
-
veteransCertificateNumber?: string;
|
|
3122
|
+
username?: string;
|
|
3178
3123
|
}
|
|
3179
3124
|
export declare class UsernamePasswordLoginForm {
|
|
3180
3125
|
/** 用户登录名 */
|
|
@@ -4001,6 +3946,9 @@ export declare class PoliceFindByJybhParams {
|
|
|
4001
3946
|
/** type */
|
|
4002
3947
|
type: string;
|
|
4003
3948
|
}
|
|
3949
|
+
export declare class PoliceImportPayload {
|
|
3950
|
+
file?: File;
|
|
3951
|
+
}
|
|
4004
3952
|
export declare class PoliceImportParams {
|
|
4005
3953
|
autoCreateUser?: boolean;
|
|
4006
3954
|
defaultPassword?: string;
|
|
@@ -4109,7 +4057,7 @@ export declare class GetRoleParams {
|
|
|
4109
4057
|
scope?: string;
|
|
4110
4058
|
type?: "Auditing" | "Common" | "Security" | "System" | "Work";
|
|
4111
4059
|
}
|
|
4112
|
-
export declare class
|
|
4060
|
+
export declare class ExistParams6 {
|
|
4113
4061
|
/** @format int64 */
|
|
4114
4062
|
createUser?: number;
|
|
4115
4063
|
department?: string;
|
|
@@ -4305,7 +4253,7 @@ export declare class ToOssParams {
|
|
|
4305
4253
|
export declare class UploadPayload {
|
|
4306
4254
|
file?: File;
|
|
4307
4255
|
}
|
|
4308
|
-
export declare class
|
|
4256
|
+
export declare class ByIdParams6 {
|
|
4309
4257
|
/** format */
|
|
4310
4258
|
format?: string;
|
|
4311
4259
|
/** id */
|
|
@@ -4633,7 +4581,7 @@ export declare class CacheClearParams {
|
|
|
4633
4581
|
/** username */
|
|
4634
4582
|
username: string;
|
|
4635
4583
|
}
|
|
4636
|
-
export declare class
|
|
4584
|
+
export declare class ExistParams8 {
|
|
4637
4585
|
/** 根据可管理部门id查询。支持多选 */
|
|
4638
4586
|
adminDepartmentId?: number[];
|
|
4639
4587
|
/** 基于业务部门业务标识匹配 */
|
|
@@ -4734,6 +4682,28 @@ export declare class ExistParams4 {
|
|
|
4734
4682
|
/** 用户名模糊查询 */
|
|
4735
4683
|
usernameLike?: string;
|
|
4736
4684
|
}
|
|
4685
|
+
export declare class FindByUsernameByUsernameParams {
|
|
4686
|
+
/** noCache */
|
|
4687
|
+
noCache?: boolean;
|
|
4688
|
+
/** username */
|
|
4689
|
+
username: string;
|
|
4690
|
+
}
|
|
4691
|
+
export declare class FindByUsernameSimpleByUsernameParams {
|
|
4692
|
+
/** noCache */
|
|
4693
|
+
noCache?: boolean;
|
|
4694
|
+
/** username */
|
|
4695
|
+
username: string;
|
|
4696
|
+
}
|
|
4697
|
+
export declare class ImportPayload {
|
|
4698
|
+
file?: File;
|
|
4699
|
+
}
|
|
4700
|
+
export declare class ImportParams {
|
|
4701
|
+
defaultPassword?: string;
|
|
4702
|
+
department?: string;
|
|
4703
|
+
errorPolicy?: "override" | "rollback" | "skip";
|
|
4704
|
+
loginNamePrefix?: string;
|
|
4705
|
+
updateIfExist?: boolean;
|
|
4706
|
+
}
|
|
4737
4707
|
export declare class GetListParams {
|
|
4738
4708
|
/** 根据可管理部门id查询。支持多选 */
|
|
4739
4709
|
adminDepartmentId?: number[];
|
|
@@ -4836,6 +4806,9 @@ export declare class GetListParams {
|
|
|
4836
4806
|
usernameLike?: string;
|
|
4837
4807
|
}
|
|
4838
4808
|
export declare type ListSimpleByRealnamePayload = string[];
|
|
4809
|
+
export declare class ProfileImportPayload {
|
|
4810
|
+
file?: File;
|
|
4811
|
+
}
|
|
4839
4812
|
export declare type PutResetPasswordPayload = number[];
|
|
4840
4813
|
export declare type PutAdminDepartmentByIdPayload = number[];
|
|
4841
4814
|
export declare type PutPermissionsByIdPayload = string[];
|
|
@@ -6837,6 +6810,7 @@ declare class Api {
|
|
|
6837
6810
|
* @name GetPolice
|
|
6838
6811
|
* @summary 列出警员
|
|
6839
6812
|
* @request GET:/auth/organization/police
|
|
6813
|
+
* @deprecated
|
|
6840
6814
|
* @response `200` `DesensitizePageResultPolice` OK
|
|
6841
6815
|
* @response `401` `void` Unauthorized
|
|
6842
6816
|
* @response `403` `void` Forbidden
|
|
@@ -6850,6 +6824,7 @@ declare class Api {
|
|
|
6850
6824
|
* @name PostPolice
|
|
6851
6825
|
* @summary 创建警员
|
|
6852
6826
|
* @request POST:/auth/organization/police
|
|
6827
|
+
* @deprecated
|
|
6853
6828
|
* @response `200` `Police` OK
|
|
6854
6829
|
* @response `201` `void` Created
|
|
6855
6830
|
* @response `401` `void` Unauthorized
|
|
@@ -6864,6 +6839,7 @@ declare class Api {
|
|
|
6864
6839
|
* @name PoliceExist
|
|
6865
6840
|
* @summary 查询指定条件的警员是否存在
|
|
6866
6841
|
* @request GET:/auth/organization/police/exist
|
|
6842
|
+
* @deprecated
|
|
6867
6843
|
* @response `200` `boolean` OK
|
|
6868
6844
|
* @response `401` `void` Unauthorized
|
|
6869
6845
|
* @response `403` `void` Forbidden
|
|
@@ -6877,6 +6853,7 @@ declare class Api {
|
|
|
6877
6853
|
* @name PoliceFindByJybh
|
|
6878
6854
|
* @summary 根据警号和类型获取警员信息
|
|
6879
6855
|
* @request GET:/auth/organization/police/find-by-jybh
|
|
6856
|
+
* @deprecated
|
|
6880
6857
|
* @response `200` `Police` OK
|
|
6881
6858
|
* @response `401` `void` Unauthorized
|
|
6882
6859
|
* @response `403` `void` Forbidden
|
|
@@ -6890,13 +6867,14 @@ declare class Api {
|
|
|
6890
6867
|
* @name PoliceImport
|
|
6891
6868
|
* @summary 导入警员
|
|
6892
6869
|
* @request POST:/auth/organization/police/import
|
|
6870
|
+
* @deprecated
|
|
6893
6871
|
* @response `200` `ImportResultPoliceImportResultDetail` OK
|
|
6894
6872
|
* @response `201` `void` Created
|
|
6895
6873
|
* @response `401` `void` Unauthorized
|
|
6896
6874
|
* @response `403` `void` Forbidden
|
|
6897
6875
|
* @response `404` `void` Not Found
|
|
6898
6876
|
*/
|
|
6899
|
-
policeImport: (query: PoliceImportParams,
|
|
6877
|
+
policeImport: (query: PoliceImportParams, data: PoliceImportPayload, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<ImportResultPoliceImportResultDetail>;
|
|
6900
6878
|
/**
|
|
6901
6879
|
* @description 所需权限:police:list
|
|
6902
6880
|
*
|
|
@@ -6904,6 +6882,7 @@ declare class Api {
|
|
|
6904
6882
|
* @name PoliceList
|
|
6905
6883
|
* @summary 列出警员
|
|
6906
6884
|
* @request POST:/auth/organization/police/list
|
|
6885
|
+
* @deprecated
|
|
6907
6886
|
* @response `200` `DesensitizePageResultPolice` OK
|
|
6908
6887
|
* @response `201` `void` Created
|
|
6909
6888
|
* @response `401` `void` Unauthorized
|
|
@@ -6918,6 +6897,7 @@ declare class Api {
|
|
|
6918
6897
|
* @name PutPoliceSyncBatch
|
|
6919
6898
|
* @summary 批量同步指定警员信息
|
|
6920
6899
|
* @request PUT:/auth/organization/police/sync-batch
|
|
6900
|
+
* @deprecated
|
|
6921
6901
|
* @response `200` `void` OK
|
|
6922
6902
|
* @response `201` `void` Created
|
|
6923
6903
|
* @response `401` `void` Unauthorized
|
|
@@ -6932,6 +6912,7 @@ declare class Api {
|
|
|
6932
6912
|
* @name PutPoliceSyncCurrentUserPolice
|
|
6933
6913
|
* @summary 同步当前用户绑定的警员信息
|
|
6934
6914
|
* @request PUT:/auth/organization/police/sync-current-user-police
|
|
6915
|
+
* @deprecated
|
|
6935
6916
|
* @response `200` `Police` OK
|
|
6936
6917
|
* @response `201` `void` Created
|
|
6937
6918
|
* @response `401` `void` Unauthorized
|
|
@@ -6946,6 +6927,7 @@ declare class Api {
|
|
|
6946
6927
|
* @name GetPoliceById
|
|
6947
6928
|
* @summary 根据id获取警员信息
|
|
6948
6929
|
* @request GET:/auth/organization/police/{id}
|
|
6930
|
+
* @deprecated
|
|
6949
6931
|
* @response `200` `Police` OK
|
|
6950
6932
|
* @response `401` `void` Unauthorized
|
|
6951
6933
|
* @response `403` `void` Forbidden
|
|
@@ -6959,6 +6941,7 @@ declare class Api {
|
|
|
6959
6941
|
* @name PutPoliceById
|
|
6960
6942
|
* @summary 修改警员信息
|
|
6961
6943
|
* @request PUT:/auth/organization/police/{id}
|
|
6944
|
+
* @deprecated
|
|
6962
6945
|
* @response `200` `Police` OK
|
|
6963
6946
|
* @response `201` `void` Created
|
|
6964
6947
|
* @response `401` `void` Unauthorized
|
|
@@ -6973,6 +6956,7 @@ declare class Api {
|
|
|
6973
6956
|
* @name DeletePoliceById
|
|
6974
6957
|
* @summary 删除警员
|
|
6975
6958
|
* @request DELETE:/auth/organization/police/{id}
|
|
6959
|
+
* @deprecated
|
|
6976
6960
|
* @response `200` `void` OK
|
|
6977
6961
|
* @response `204` `void` No Content
|
|
6978
6962
|
* @response `401` `void` Unauthorized
|
|
@@ -6986,6 +6970,7 @@ declare class Api {
|
|
|
6986
6970
|
* @name PutPoliceSyncById
|
|
6987
6971
|
* @summary 同步指定警员信息
|
|
6988
6972
|
* @request PUT:/auth/organization/police/{id}/sync
|
|
6973
|
+
* @deprecated
|
|
6989
6974
|
* @response `200` `void` OK
|
|
6990
6975
|
* @response `201` `void` Created
|
|
6991
6976
|
* @response `401` `void` Unauthorized
|
|
@@ -7114,6 +7099,7 @@ declare class Api {
|
|
|
7114
7099
|
* @name PoliceUser
|
|
7115
7100
|
* @summary 创建警员用户
|
|
7116
7101
|
* @request POST:/auth/police-user
|
|
7102
|
+
* @deprecated
|
|
7117
7103
|
* @response `200` `User` OK
|
|
7118
7104
|
* @response `201` `void` Created
|
|
7119
7105
|
* @response `401` `void` Unauthorized
|
|
@@ -7128,6 +7114,7 @@ declare class Api {
|
|
|
7128
7114
|
* @name PutById
|
|
7129
7115
|
* @summary 修改警员用户信息
|
|
7130
7116
|
* @request PUT:/auth/police-user/{id}
|
|
7117
|
+
* @deprecated
|
|
7131
7118
|
* @response `200` `User` OK
|
|
7132
7119
|
* @response `201` `void` Created
|
|
7133
7120
|
* @response `401` `void` Unauthorized
|
|
@@ -7142,6 +7129,7 @@ declare class Api {
|
|
|
7142
7129
|
* @name PutDeleteById
|
|
7143
7130
|
* @summary 删除警员用户(软删除)
|
|
7144
7131
|
* @request PUT:/auth/police-user/{id}/delete
|
|
7132
|
+
* @deprecated
|
|
7145
7133
|
* @response `200` `void` OK
|
|
7146
7134
|
* @response `201` `void` Created
|
|
7147
7135
|
* @response `401` `void` Unauthorized
|
|
@@ -7156,6 +7144,7 @@ declare class Api {
|
|
|
7156
7144
|
* @name PutRestoreById
|
|
7157
7145
|
* @summary 恢复警员用户
|
|
7158
7146
|
* @request PUT:/auth/police-user/{id}/restore
|
|
7147
|
+
* @deprecated
|
|
7159
7148
|
* @response `200` `void` OK
|
|
7160
7149
|
* @response `201` `void` Created
|
|
7161
7150
|
* @response `401` `void` Unauthorized
|
|
@@ -7427,7 +7416,7 @@ declare class Api {
|
|
|
7427
7416
|
* @response `403` `void` Forbidden
|
|
7428
7417
|
* @response `404` `void` Not Found
|
|
7429
7418
|
*/
|
|
7430
|
-
exist: (query:
|
|
7419
|
+
exist: (query: ExistParams6, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<boolean>;
|
|
7431
7420
|
/**
|
|
7432
7421
|
* @description 所需权限:role:list
|
|
7433
7422
|
*
|
|
@@ -8040,7 +8029,7 @@ declare class Api {
|
|
|
8040
8029
|
* @response `403` `void` Forbidden
|
|
8041
8030
|
* @response `404` `void` Not Found
|
|
8042
8031
|
*/
|
|
8043
|
-
byId: ({ id, ...query }:
|
|
8032
|
+
byId: ({ id, ...query }: ByIdParams6, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Resource>;
|
|
8044
8033
|
/**
|
|
8045
8034
|
* No description
|
|
8046
8035
|
*
|
|
@@ -8780,7 +8769,7 @@ declare class Api {
|
|
|
8780
8769
|
*/
|
|
8781
8770
|
cacheClear: (query: CacheClearParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
|
|
8782
8771
|
/**
|
|
8783
|
-
*
|
|
8772
|
+
* @description 所需权限:supreme:all
|
|
8784
8773
|
*
|
|
8785
8774
|
* @tags user
|
|
8786
8775
|
* @name CacheStats
|
|
@@ -8804,7 +8793,7 @@ declare class Api {
|
|
|
8804
8793
|
* @response `403` `void` Forbidden
|
|
8805
8794
|
* @response `404` `void` Not Found
|
|
8806
8795
|
*/
|
|
8807
|
-
exist: (query:
|
|
8796
|
+
exist: (query: ExistParams8, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<boolean>;
|
|
8808
8797
|
/**
|
|
8809
8798
|
* @description 所需权限:user:admin
|
|
8810
8799
|
*
|
|
@@ -8845,7 +8834,7 @@ declare class Api {
|
|
|
8845
8834
|
* @response `403` `void` Forbidden
|
|
8846
8835
|
* @response `404` `void` Not Found
|
|
8847
8836
|
*/
|
|
8848
|
-
findByUsernameByUsername: (username:
|
|
8837
|
+
findByUsernameByUsername: ({ username, ...query }: FindByUsernameByUsernameParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<User>;
|
|
8849
8838
|
/**
|
|
8850
8839
|
* @description 所需权限:user:find
|
|
8851
8840
|
*
|
|
@@ -8871,7 +8860,21 @@ declare class Api {
|
|
|
8871
8860
|
* @response `403` `void` Forbidden
|
|
8872
8861
|
* @response `404` `void` Not Found
|
|
8873
8862
|
*/
|
|
8874
|
-
findByUsernameSimpleByUsername: (username:
|
|
8863
|
+
findByUsernameSimpleByUsername: ({ username, ...query }: FindByUsernameSimpleByUsernameParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<UserSimpleEx>;
|
|
8864
|
+
/**
|
|
8865
|
+
* @description 所需权限:user:admin
|
|
8866
|
+
*
|
|
8867
|
+
* @tags user
|
|
8868
|
+
* @name Import
|
|
8869
|
+
* @summary 导入用户[excel]
|
|
8870
|
+
* @request POST:/auth/user/import
|
|
8871
|
+
* @response `200` `UserImportResult` OK
|
|
8872
|
+
* @response `201` `void` Created
|
|
8873
|
+
* @response `401` `void` Unauthorized
|
|
8874
|
+
* @response `403` `void` Forbidden
|
|
8875
|
+
* @response `404` `void` Not Found
|
|
8876
|
+
*/
|
|
8877
|
+
import: (query: ImportParams, data: ImportPayload, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<UserImportResult>;
|
|
8875
8878
|
/**
|
|
8876
8879
|
* @description 所需权限:user:list
|
|
8877
8880
|
*
|
|
@@ -9020,13 +9023,13 @@ declare class Api {
|
|
|
9020
9023
|
* @name ProfileImport
|
|
9021
9024
|
* @summary 导入用户信息[excel]
|
|
9022
9025
|
* @request POST:/auth/user/profile-import
|
|
9023
|
-
* @response `200` `
|
|
9026
|
+
* @response `200` `ImportUserProfileResult` OK
|
|
9024
9027
|
* @response `201` `void` Created
|
|
9025
9028
|
* @response `401` `void` Unauthorized
|
|
9026
9029
|
* @response `403` `void` Forbidden
|
|
9027
9030
|
* @response `404` `void` Not Found
|
|
9028
9031
|
*/
|
|
9029
|
-
profileImport: (
|
|
9032
|
+
profileImport: (data: ProfileImportPayload, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<ImportUserProfileResult>;
|
|
9030
9033
|
/**
|
|
9031
9034
|
* @description 所需权限:user:profile-warning:find
|
|
9032
9035
|
*
|
|
@@ -9111,6 +9114,20 @@ declare class Api {
|
|
|
9111
9114
|
* @response `404` `void` Not Found
|
|
9112
9115
|
*/
|
|
9113
9116
|
putUnlockInBatch: (form: UserBatchLockBean, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
|
|
9117
|
+
/**
|
|
9118
|
+
* @description 所需权限:supreme:all
|
|
9119
|
+
*
|
|
9120
|
+
* @tags user
|
|
9121
|
+
* @name UpdateBatchUserDepartment
|
|
9122
|
+
* @summary 更新用户部门关联关系
|
|
9123
|
+
* @request POST:/auth/user/update-batch-user-department
|
|
9124
|
+
* @response `200` `void` OK
|
|
9125
|
+
* @response `201` `void` Created
|
|
9126
|
+
* @response `401` `void` Unauthorized
|
|
9127
|
+
* @response `403` `void` Forbidden
|
|
9128
|
+
* @response `404` `void` Not Found
|
|
9129
|
+
*/
|
|
9130
|
+
updateBatchUserDepartment: (axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
|
|
9114
9131
|
/**
|
|
9115
9132
|
* @description 仅修改非空字段<br>所需权限:user:update
|
|
9116
9133
|
*
|
|
@@ -9130,7 +9147,7 @@ declare class Api {
|
|
|
9130
9147
|
*
|
|
9131
9148
|
* @tags user
|
|
9132
9149
|
* @name GetById
|
|
9133
|
-
* @summary 根据id获取用户详情
|
|
9150
|
+
* @summary 根据id获取用户详情(无缓存)
|
|
9134
9151
|
* @request GET:/auth/user/{id}
|
|
9135
9152
|
* @response `200` `User` OK
|
|
9136
9153
|
* @response `401` `void` Unauthorized
|