szpt-driver-api 1.0.108 → 1.0.109

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 CHANGED
@@ -117,6 +117,64 @@ export declare class Alarm {
117
117
  /** @format int64 */
118
118
  time?: number;
119
119
  }
120
+ /**
121
+ * 通知公告
122
+ */
123
+ export declare class Announcement {
124
+ /** 正文 */
125
+ content: string;
126
+ /**
127
+ * 创建时间
128
+ * @format int64
129
+ */
130
+ createTime: number;
131
+ /** @format int64 */
132
+ id: number;
133
+ /** 发布部门代码 */
134
+ publishDepartmentBmdm: string;
135
+ /** 发布部门名称 */
136
+ publishDepartmentName: string;
137
+ /**
138
+ * 发布时间
139
+ * @format int64
140
+ */
141
+ publishTime: number;
142
+ /** 发布人姓名 */
143
+ publisherName: string;
144
+ /** 发送目标列表 */
145
+ targets: AnnouncementTarget[];
146
+ /** 标题 */
147
+ title: string;
148
+ }
149
+ /**
150
+ * 创建公告请求
151
+ */
152
+ export declare class AnnouncementCreateBean {
153
+ /** 正文 */
154
+ content: string;
155
+ /**
156
+ * 是否包含子部门
157
+ * @example false
158
+ */
159
+ includeSubDepartments?: boolean;
160
+ /** 目标部门代码 */
161
+ targetDepartmentBmdm: string;
162
+ /** 特定用户列表,为空表示部门下所有用户 */
163
+ targetUsernames?: string[];
164
+ /** 标题 */
165
+ title: string;
166
+ }
167
+ /**
168
+ * 公告发送目标
169
+ */
170
+ export declare class AnnouncementTarget {
171
+ /** 是否包含子部门 */
172
+ includeSubDepartments: boolean;
173
+ /** 目标部门代码 */
174
+ targetDepartmentBmdm: string;
175
+ /** 特定用户名,为空表示部门下所有用户 */
176
+ username: string;
177
+ }
120
178
  export declare class AppRestResponse {
121
179
  /**
122
180
  * 状态码
@@ -150,6 +208,10 @@ export declare class BaseHint {
150
208
  export declare class BindPhoneRequest {
151
209
  code?: string;
152
210
  }
211
+ export declare class BindUserRequest {
212
+ /** 用户名 */
213
+ username?: string;
214
+ }
153
215
  export declare class CacheSimpleStats {
154
216
  /** @format int64 */
155
217
  evictionCount: number;
@@ -218,6 +280,20 @@ export declare class ConfigWithTimestamp {
218
280
  /** @format int64 */
219
281
  time: number;
220
282
  }
283
+ /**
284
+ * 创建凭证请求
285
+ */
286
+ export declare class CreateCredentialRequest {
287
+ /**
288
+ * 过期时间
289
+ * @format int64
290
+ */
291
+ expireAt?: number;
292
+ /** 权限列表 */
293
+ permissions?: string[];
294
+ /** 凭证标题 */
295
+ title?: string;
296
+ }
221
297
  export declare class Department {
222
298
  /** 部门名称关键字 */
223
299
  aliasKeywords: string;
@@ -301,6 +377,17 @@ export declare class DepartmentCreateBean {
301
377
  trffbmdm?: string;
302
378
  xzqh?: string;
303
379
  }
380
+ /**
381
+ * 极简部门树结构
382
+ */
383
+ export declare class DepartmentExtremSimple {
384
+ /** 部门代码 */
385
+ bmdm: string;
386
+ /** 部门名称 */
387
+ bmmc: string;
388
+ /** 子部门 */
389
+ children: DepartmentExtremSimple[];
390
+ }
304
391
  export declare class DepartmentQueryBean {
305
392
  bmdm?: string[];
306
393
  business?: string;
@@ -448,6 +535,13 @@ export declare class DeptDictionaryWithItems {
448
535
  title: string;
449
536
  }
450
537
  export declare class DeviceDTO {
538
+ /**
539
+ * 设备电量
540
+ * @format int32
541
+ */
542
+ battery: number;
543
+ /** 绑定用户 */
544
+ bindUser: string;
451
545
  /** 设备品牌 */
452
546
  brand: string;
453
547
  /**
@@ -457,8 +551,10 @@ export declare class DeviceDTO {
457
551
  createTime: number;
458
552
  /** 部门 */
459
553
  department: string;
554
+ /** 设备标识 */
555
+ deviceCode: string;
460
556
  /** 设备类型 */
461
- deviceType: "BluetoothPrinter";
557
+ deviceType: string;
462
558
  /**
463
559
  * 修改时间
464
560
  * @format int64
@@ -471,15 +567,112 @@ export declare class DeviceDTO {
471
567
  id: number;
472
568
  /** MAC地址 */
473
569
  macAddress: string;
570
+ /** 厂商标识 */
571
+ manufacturerCode: string;
474
572
  /** 设备型号 */
475
573
  model: string;
476
574
  /** 设备序列号 */
477
575
  sn: string;
576
+ /** 当前工作状态 */
577
+ status: string;
578
+ /** 工作任务说明 */
579
+ task: string;
478
580
  }
479
581
  export declare class DeviceInfo {
480
582
  /** 设备编号 */
481
583
  deviceId?: string;
482
584
  }
585
+ /**
586
+ * 上报定位请求
587
+ */
588
+ export declare class DeviceLocationRequest {
589
+ /**
590
+ * 纬度
591
+ * @format double
592
+ */
593
+ latitude?: number;
594
+ /**
595
+ * 经度
596
+ * @format double
597
+ */
598
+ longitude?: number;
599
+ /** 设备编号(SN) */
600
+ sn?: string;
601
+ /**
602
+ * 定位时间
603
+ * @format int64
604
+ */
605
+ timestamp?: number;
606
+ }
607
+ /**
608
+ * 设备注册请求
609
+ */
610
+ export declare class DeviceRegisterRequest {
611
+ /** 所属部门编码 */
612
+ departmentCode?: string;
613
+ /** 设备类型 */
614
+ deviceType?: string;
615
+ /** 设备品牌 */
616
+ manufacturer?: string;
617
+ /** 设备型号 */
618
+ model?: string;
619
+ /** 设备唯一编号(SN) */
620
+ sn?: string;
621
+ /**
622
+ * 请求时间戳
623
+ * @format int64
624
+ */
625
+ timestamp?: number;
626
+ }
627
+ /**
628
+ * 设备注册响应
629
+ */
630
+ export declare class DeviceRegisterResponse {
631
+ /** 设备编号 */
632
+ deviceId: string;
633
+ /**
634
+ * 注册时间戳
635
+ * @format int64
636
+ */
637
+ registeredAt: number;
638
+ }
639
+ /**
640
+ * 上报状态请求
641
+ */
642
+ export declare class DeviceStatusRequest {
643
+ /**
644
+ * 电量(0-100)
645
+ * @format int32
646
+ */
647
+ battery?: number;
648
+ /** 设备编号(SN) */
649
+ sn?: string;
650
+ /** 当前工作状态 */
651
+ status?: string;
652
+ /** 工作任务说明 */
653
+ task?: string;
654
+ /**
655
+ * 状态时间
656
+ * @format int64
657
+ */
658
+ timestamp?: number;
659
+ }
660
+ /**
661
+ * 设备用户创建
662
+ */
663
+ export declare class DeviceUserCreateRequest {
664
+ /**
665
+ * 所属部门编码
666
+ * @format int64
667
+ */
668
+ departmentId?: number;
669
+ /** 用户登录名 */
670
+ loginName?: string;
671
+ /** 密码。不填则使用默认密码 */
672
+ password?: string;
673
+ /** 姓名 */
674
+ realName?: string;
675
+ }
483
676
  export declare class DictItem {
484
677
  /** 是否禁用 */
485
678
  disabled: boolean;
@@ -965,9 +1158,43 @@ export declare class LogoutResult {
965
1158
  /** 用户名 */
966
1159
  username: string;
967
1160
  }
1161
+ /**
1162
+ * 厂商信息
1163
+ */
1164
+ export declare class ManufacturerDTO {
1165
+ /** AccessKey */
1166
+ accessKey: string;
1167
+ /** 厂商标识(由系统自动生成,根据厂商标识判断是否存在) */
1168
+ code: string;
1169
+ /** 联系人 */
1170
+ contact: string;
1171
+ /**
1172
+ * 创建时间
1173
+ * @format int64
1174
+ */
1175
+ createTime: number;
1176
+ /** 部门 */
1177
+ department: string;
1178
+ /**
1179
+ * 修改时间
1180
+ * @format int64
1181
+ */
1182
+ editTime: number;
1183
+ /** 是否启用 */
1184
+ enabled: boolean;
1185
+ /**
1186
+ * ID
1187
+ * @format int64
1188
+ */
1189
+ id: number;
1190
+ /** 厂商名称 */
1191
+ name: string;
1192
+ /** 联系电话 */
1193
+ phone: string;
1194
+ }
968
1195
  export declare class MessageBody {
969
- action?: string;
970
- data?: any;
1196
+ action: string;
1197
+ data: any;
971
1198
  }
972
1199
  export declare class MessageSendRequest {
973
1200
  appKey?: string;
@@ -1025,6 +1252,11 @@ export declare class MultiUserTrackQuery {
1025
1252
  export declare class MultiUserTrackTimeRangeQuery {
1026
1253
  correction?: string;
1027
1254
  gap?: string;
1255
+ /**
1256
+ * 轨迹断点间隔时长(毫秒)
1257
+ * @format int64
1258
+ */
1259
+ gapDuration?: number;
1028
1260
  recoup?: string;
1029
1261
  /** @format int32 */
1030
1262
  size?: number;
@@ -1130,6 +1362,18 @@ export declare class NotifyUserRes {
1130
1362
  /** 用户名 */
1131
1363
  username: string;
1132
1364
  }
1365
+ export declare class OpenApiCredential {
1366
+ accessKey: string;
1367
+ /** @format int64 */
1368
+ createdAt: number;
1369
+ enabled: boolean;
1370
+ /** @format int64 */
1371
+ expireAt: number;
1372
+ permissions: string[];
1373
+ secretKey: string;
1374
+ title: string;
1375
+ valid: boolean;
1376
+ }
1133
1377
  export declare class PasswordForm {
1134
1378
  password?: string;
1135
1379
  }
@@ -1246,6 +1490,8 @@ export declare class PersonEarlyWarnContract {
1246
1490
  ifLongTerm: boolean;
1247
1491
  /** 是否预警 */
1248
1492
  ifNotify: boolean;
1493
+ /** 签订单位 */
1494
+ signingCompany: string;
1249
1495
  /**
1250
1496
  * 合同开始时间
1251
1497
  * @format int64
@@ -1533,6 +1779,10 @@ export declare class PoliceQueryBean {
1533
1779
  xm?: string;
1534
1780
  xmLike?: string;
1535
1781
  }
1782
+ export declare class PoliceSyncResult {
1783
+ police: Police;
1784
+ success: boolean;
1785
+ }
1536
1786
  export declare class PoliceUpdateBean {
1537
1787
  bgdh?: string;
1538
1788
  bzlx?: string;
@@ -1688,6 +1938,12 @@ export declare class PoliceUserUpdateBean {
1688
1938
  /** 用户额外信息 */
1689
1939
  userProfileAdditional?: UserProfileAdditional;
1690
1940
  }
1941
+ export declare class PollingMessageVO {
1942
+ payload: MessageBody;
1943
+ /** @format int64 */
1944
+ timestamp: number;
1945
+ topic: string;
1946
+ }
1691
1947
  export declare class ProcessStartBean {
1692
1948
  /** 流程业务编号 */
1693
1949
  businessKey?: string;
@@ -1859,6 +2115,8 @@ export declare class RoleSimple {
1859
2115
  sortIndex: number;
1860
2116
  }
1861
2117
  export declare class RoleTransDTO {
2118
+ /** 部门 */
2119
+ department?: string;
1862
2120
  /** 说明 */
1863
2121
  description?: string;
1864
2122
  /** 显示名称 */
@@ -1933,6 +2191,17 @@ export declare class SendResponse {
1933
2191
  sid: string;
1934
2192
  success: boolean;
1935
2193
  }
2194
+ export declare class SimulateSignatureRequest {
2195
+ accessKey?: string;
2196
+ secretKey?: string;
2197
+ /** @format int64 */
2198
+ timestamp?: number;
2199
+ }
2200
+ export declare class SimulateSignatureResult {
2201
+ signature: string;
2202
+ /** @format int64 */
2203
+ timestamp: number;
2204
+ }
1936
2205
  export declare class SmsVerifyCheckRequest {
1937
2206
  /** 动作标识 */
1938
2207
  action?: "Common" | "ExternalUserLogin" | "Login" | "ResetPassword";
@@ -1970,6 +2239,8 @@ export declare class StayPoint {
1970
2239
  latitude: number;
1971
2240
  /** @format double */
1972
2241
  longitude: number;
2242
+ /** @format int32 */
2243
+ pointCount: number;
1973
2244
  /** @format int64 */
1974
2245
  startTime: number;
1975
2246
  }
@@ -2045,7 +2316,7 @@ export declare class ThirdPlatformLoginRequest {
2045
2316
  appId: string;
2046
2317
  /** 区域编码 */
2047
2318
  areaCode?: string;
2048
- /** 票据(Ticket/Code) */
2319
+ /** 票据 */
2049
2320
  code: string;
2050
2321
  /** 是否为外部用户 */
2051
2322
  external?: boolean;
@@ -2224,6 +2495,8 @@ export declare class UserCreateBean {
2224
2495
  userProfileNoCriminalRecords?: UserProfileNoCriminalRecord[];
2225
2496
  /** 体检表信息 */
2226
2497
  userProfilePhysicalExaminations?: UserProfilePhysicalExamination[];
2498
+ /** 用户类型 */
2499
+ userType?: string;
2227
2500
  }
2228
2501
  export declare class UserImportBean {
2229
2502
  /** 银行卡号 */
@@ -2310,6 +2583,8 @@ export declare class UserImportBean {
2310
2583
  remark: string;
2311
2584
  /** 退休返聘 */
2312
2585
  retiredRehire: string;
2586
+ /** 签订单位 */
2587
+ signingCompany: string;
2313
2588
  valid: boolean;
2314
2589
  /** 退伍证编号 */
2315
2590
  veteransCertificateNumber: string;
@@ -2503,6 +2778,8 @@ export declare class UserLocationQueryBean {
2503
2778
  roleName?: string;
2504
2779
  /** 根据角色名称批量查询 */
2505
2780
  roleNameIn?: string[];
2781
+ /** 根据用户所属类型查询 */
2782
+ userType?: string;
2506
2783
  /** 根据用户名查询。支持多选 */
2507
2784
  username?: string[];
2508
2785
  /** 用户名模糊查询 */
@@ -2550,6 +2827,7 @@ export declare class UserPhoneLoginForm {
2550
2827
  phone?: string;
2551
2828
  }
2552
2829
  export declare class UserPoint {
2830
+ deviceCode?: string;
2553
2831
  hint?: LocationUploadHint;
2554
2832
  point?: Point;
2555
2833
  username?: string;
@@ -2668,6 +2946,8 @@ export declare class UserProfileAdditional {
2668
2946
  remark: string;
2669
2947
  /** 退休返聘 */
2670
2948
  retireRepeal: string;
2949
+ /** 法定退休日期 */
2950
+ retirementDate: string;
2671
2951
  /**
2672
2952
  * 签合同次数
2673
2953
  * @format int32
@@ -2735,6 +3015,8 @@ export declare class UserProfileContracts {
2735
3015
  ifLongTerm: boolean;
2736
3016
  /** 是否预警 */
2737
3017
  ifNotify: boolean;
3018
+ /** 签订单位 */
3019
+ signingCompany: string;
2738
3020
  /**
2739
3021
  * 合同开始时间
2740
3022
  * @format int64
@@ -2830,6 +3112,10 @@ export declare class UserProfileQueryBean {
2830
3112
  department?: string[];
2831
3113
  /** 根据部门id查询。支持多选 */
2832
3114
  departmentId?: number[];
3115
+ /** 是否根据法定退休日期查询超龄人员 */
3116
+ ifOverAgeByRetirementDate?: boolean;
3117
+ /** 是否包含返聘人员 */
3118
+ ifRetireRepeal?: boolean;
2833
3119
  /** 是否包含子部门(根据department参数,自动补充子部门) */
2834
3120
  includeSubDepartment?: boolean;
2835
3121
  /** 是否查询已删除用户 */
@@ -2851,6 +3137,8 @@ export declare class UserProfileQueryBean {
2851
3137
  pageSize?: number;
2852
3138
  /** 根据人员状态批量查询 */
2853
3139
  personnelStatusIn?: string[];
3140
+ /** 根据姓名查询 */
3141
+ realNameList?: string[];
2854
3142
  /**
2855
3143
  * 根据指定时间低龄预警
2856
3144
  * @format int64
@@ -3085,6 +3373,8 @@ export declare class UserQueryBean {
3085
3373
  roleName?: string;
3086
3374
  /** 根据角色名称批量查询 */
3087
3375
  roleNameIn?: string[];
3376
+ /** 根据用户所属类型查询 */
3377
+ userType?: string;
3088
3378
  /** 根据用户名查询。支持多选 */
3089
3379
  username?: string[];
3090
3380
  /** 用户名模糊查询 */
@@ -3481,11 +3771,47 @@ export declare class MessageBodyWithReceiverObject {
3481
3771
  data?: any;
3482
3772
  users?: string[];
3483
3773
  }
3774
+ export declare class OpenApiRestResponseDeviceRegisterResponse {
3775
+ /**
3776
+ * 状态码
3777
+ * @format int32
3778
+ */
3779
+ code: number;
3780
+ /** 数据 */
3781
+ data: DeviceRegisterResponse;
3782
+ /** 状态描述 */
3783
+ message: string;
3784
+ }
3785
+ export declare class OpenApiRestResponseVoid {
3786
+ /**
3787
+ * 状态码
3788
+ * @format int32
3789
+ */
3790
+ code: number;
3791
+ /** 状态描述 */
3792
+ message: string;
3793
+ }
3794
+ export declare class OpenApiRestResponseString {
3795
+ /**
3796
+ * 状态码
3797
+ * @format int32
3798
+ */
3799
+ code: number;
3800
+ /** 数据 */
3801
+ data: string;
3802
+ /** 状态描述 */
3803
+ message: string;
3804
+ }
3484
3805
  export declare class PageResultAccessoryDTO {
3485
3806
  list: AccessoryDTO[];
3486
3807
  /** @format int64 */
3487
3808
  total: number;
3488
3809
  }
3810
+ export declare class PageResultAnnouncement {
3811
+ list: Announcement[];
3812
+ /** @format int64 */
3813
+ total: number;
3814
+ }
3489
3815
  export declare class PageResultDeviceDTO {
3490
3816
  list: DeviceDTO[];
3491
3817
  /** @format int64 */
@@ -3516,11 +3842,21 @@ export declare class PageResultLedgerSimple {
3516
3842
  /** @format int64 */
3517
3843
  total: number;
3518
3844
  }
3845
+ export declare class PageResultManufacturerDTO {
3846
+ list: ManufacturerDTO[];
3847
+ /** @format int64 */
3848
+ total: number;
3849
+ }
3519
3850
  export declare class PageResultNotify {
3520
3851
  list: NotifyRes[];
3521
3852
  /** @format int64 */
3522
3853
  total: number;
3523
3854
  }
3855
+ export declare class PageResultOpenApiCredential {
3856
+ list: OpenApiCredential[];
3857
+ /** @format int64 */
3858
+ total: number;
3859
+ }
3524
3860
  export declare class PageResultThirdPlatformEntity {
3525
3861
  list: ThirdPlatformEntity[];
3526
3862
  /** @format int64 */
@@ -3560,6 +3896,48 @@ export declare class TtsBySnParams {
3560
3896
  /** sn */
3561
3897
  sn: string;
3562
3898
  }
3899
+ export declare class PageParams {
3900
+ /**
3901
+ * 结束时间
3902
+ * @format int64
3903
+ */
3904
+ endTime?: number;
3905
+ orderBy?: string[];
3906
+ /** @format int32 */
3907
+ pageIndex?: number;
3908
+ /** @format int32 */
3909
+ pageSize?: number;
3910
+ /** 发布部门代码 */
3911
+ publishDepartmentBmdm?: string;
3912
+ /**
3913
+ * 开始时间
3914
+ * @format int64
3915
+ */
3916
+ startTime?: number;
3917
+ /** 标题(模糊搜索) */
3918
+ title?: string;
3919
+ }
3920
+ export declare class PageViewParams {
3921
+ /**
3922
+ * 结束时间
3923
+ * @format int64
3924
+ */
3925
+ endTime?: number;
3926
+ orderBy?: string[];
3927
+ /** @format int32 */
3928
+ pageIndex?: number;
3929
+ /** @format int32 */
3930
+ pageSize?: number;
3931
+ /** 发布部门代码 */
3932
+ publishDepartmentBmdm?: string;
3933
+ /**
3934
+ * 开始时间
3935
+ * @format int64
3936
+ */
3937
+ startTime?: number;
3938
+ /** 标题(模糊搜索) */
3939
+ title?: string;
3940
+ }
3563
3941
  export declare class ThirdPlatformNotificationParams {
3564
3942
  /** authCode */
3565
3943
  authCode: string;
@@ -3592,14 +3970,20 @@ export declare class CheckParams {
3592
3970
  export declare class GetDeviceParams {
3593
3971
  /** 品牌 */
3594
3972
  brand?: string;
3973
+ /** 是否删除 */
3974
+ deleted?: boolean;
3595
3975
  /** 部门匹配 */
3596
3976
  department?: string;
3977
+ /** 设备标识 */
3978
+ deviceCode?: string;
3597
3979
  /** 设备类型 */
3598
- deviceType?: "BluetoothPrinter";
3980
+ deviceType?: string;
3599
3981
  /** 是否包含子部门(根据department参数,自动补充子部门) */
3600
3982
  includeSubDepartment?: boolean;
3601
3983
  /** MAC地址 */
3602
3984
  macAddress?: string;
3985
+ /** 厂商标识 */
3986
+ manufacturerCode?: string;
3603
3987
  /** 型号 */
3604
3988
  model?: string;
3605
3989
  orderBy?: string[];
@@ -3607,12 +3991,14 @@ export declare class GetDeviceParams {
3607
3991
  pageIndex?: number;
3608
3992
  /** @format int32 */
3609
3993
  pageSize?: number;
3994
+ /** 用户名列表(批量查询多个用户绑定的设备) */
3995
+ usernames?: string[];
3610
3996
  }
3611
3997
  export declare class AllDeviceMacAddressParams {
3612
3998
  /** department */
3613
3999
  department: string;
3614
4000
  /** deviceType */
3615
- deviceType: "BluetoothPrinter";
4001
+ deviceType: string;
3616
4002
  }
3617
4003
  export declare class UserDeviceChangeHistoryParams {
3618
4004
  /** 设备编号 */
@@ -3630,6 +4016,15 @@ export declare class UserDeviceChangeHistoryParams {
3630
4016
  /** 用户名 */
3631
4017
  username?: string;
3632
4018
  }
4019
+ export declare class DeleteUserByDeviceIdParams {
4020
+ /** username */
4021
+ username: string;
4022
+ /**
4023
+ * deviceId
4024
+ * @format int64
4025
+ */
4026
+ deviceId: number;
4027
+ }
3633
4028
  export declare class GetDictionaryParams {
3634
4029
  department?: string;
3635
4030
  includeAllParentDepartment?: boolean;
@@ -3910,6 +4305,15 @@ export declare class ByIdParams {
3910
4305
  export declare class GetMyTraceParams {
3911
4306
  /** day */
3912
4307
  day: string;
4308
+ /**
4309
+ * 轨迹断点间隔时长(毫秒)
4310
+ * @format int64
4311
+ */
4312
+ gapDuration?: number;
4313
+ }
4314
+ export declare class GetStayPointMultiUserParams {
4315
+ /** 是否使用缓存 */
4316
+ useCache?: boolean;
3913
4317
  }
3914
4318
  export declare class GetStayPointByUsernameParams {
3915
4319
  /** day */
@@ -3924,12 +4328,19 @@ export declare class GetStayPointByUsernameParams {
3924
4328
  * @format int64
3925
4329
  */
3926
4330
  stayTime?: number;
4331
+ /** 是否使用缓存 */
4332
+ useCache?: boolean;
3927
4333
  /** username */
3928
4334
  username: string;
3929
4335
  }
3930
4336
  export declare class GetTraceByUsernameParams {
3931
4337
  /** day */
3932
4338
  day: string;
4339
+ /**
4340
+ * 轨迹断点间隔时长(毫秒)
4341
+ * @format int64
4342
+ */
4343
+ gapDuration?: number;
3933
4344
  /** username */
3934
4345
  username: string;
3935
4346
  }
@@ -4019,6 +4430,11 @@ export declare type PointBatchPayload = UserPoint[];
4019
4430
  export declare class TraceOfMineParams {
4020
4431
  /** 日期,格式:YYYY-MM-DD */
4021
4432
  day: string;
4433
+ /**
4434
+ * 轨迹断点间隔时长(毫秒)
4435
+ * @format int64
4436
+ */
4437
+ gapDuration?: number;
4022
4438
  }
4023
4439
  export declare class UserLocationCheckParams {
4024
4440
  /**
@@ -4032,6 +4448,25 @@ export declare class UserLocationCheckParams {
4032
4448
  */
4033
4449
  longitude: number;
4034
4450
  }
4451
+ export declare class GetManufacturerParams {
4452
+ /** AccessKey */
4453
+ accessKey?: string;
4454
+ /** 厂商标识 */
4455
+ code?: string;
4456
+ /** 部门代码 */
4457
+ department?: string;
4458
+ /** 是否启用 */
4459
+ enabled?: boolean;
4460
+ /** 是否包含子部门(根据department参数,自动补充子部门) */
4461
+ includeSubDepartment?: boolean;
4462
+ /** 厂商名称(模糊匹配) */
4463
+ name?: string;
4464
+ orderBy?: string[];
4465
+ /** @format int32 */
4466
+ pageIndex?: number;
4467
+ /** @format int32 */
4468
+ pageSize?: number;
4469
+ }
4035
4470
  export declare class PutBindParams {
4036
4471
  /** accessorySn */
4037
4472
  accessorySn: string;
@@ -4047,6 +4482,20 @@ export declare class PutUnbindParams {
4047
4482
  /** accessorySn */
4048
4483
  accessorySn: string;
4049
4484
  }
4485
+ export declare class GetCredentialParams {
4486
+ /**
4487
+ * 页码
4488
+ * @format int32
4489
+ */
4490
+ pageIndex?: number;
4491
+ /**
4492
+ * 每页大小
4493
+ * @format int32
4494
+ */
4495
+ pageSize?: number;
4496
+ /** 标题 */
4497
+ title?: string;
4498
+ }
4050
4499
  export declare class GetDepartmentParams {
4051
4500
  bmdm?: string[];
4052
4501
  business?: string;
@@ -4092,6 +4541,16 @@ export declare class DepartmentChildrenByBmdmParams {
4092
4541
  /** bmdm */
4093
4542
  bmdm: string;
4094
4543
  }
4544
+ export declare class DepartmentSimpleTreeByBmdmParams {
4545
+ /** 业务过滤 */
4546
+ business?: string;
4547
+ /** 业务为空 */
4548
+ businessIsEmpty?: boolean;
4549
+ /** 是否禁用 */
4550
+ disabled?: boolean;
4551
+ /** bmdm */
4552
+ bmdm: string;
4553
+ }
4095
4554
  export declare class DepartmentTreeByBmdmParams {
4096
4555
  /** 业务过滤 */
4097
4556
  business?: string;
@@ -4121,6 +4580,14 @@ export declare class DepartmentExistParams {
4121
4580
  parentIsNull?: boolean;
4122
4581
  xzqh?: string;
4123
4582
  }
4583
+ export declare class DepartmentSimpleTreeParams {
4584
+ /** 业务过滤 */
4585
+ business?: string;
4586
+ /** 业务为空 */
4587
+ businessIsEmpty?: boolean;
4588
+ /** 是否禁用 */
4589
+ disabled?: boolean;
4590
+ }
4124
4591
  export declare class DepartmentTreeParams {
4125
4592
  /** 业务过滤 */
4126
4593
  business?: string;
@@ -4321,7 +4788,7 @@ export declare class GetRoleParams {
4321
4788
  scope?: string;
4322
4789
  type?: "Auditing" | "Common" | "Security" | "System" | "Work";
4323
4790
  }
4324
- export declare class ExistParams7 {
4791
+ export declare class ExistParams6 {
4325
4792
  /** @format int64 */
4326
4793
  createUser?: number;
4327
4794
  department?: string;
@@ -4500,6 +4967,10 @@ export declare class PostConfigUserParams {
4500
4967
  /** username */
4501
4968
  username: string;
4502
4969
  }
4970
+ export declare class PollingParams {
4971
+ /** topic */
4972
+ topic: string;
4973
+ }
4503
4974
  export declare class WsParams {
4504
4975
  /** _authorization */
4505
4976
  _authorization: string;
@@ -4523,7 +4994,7 @@ export declare class ToOssParams {
4523
4994
  export declare class UploadPayload {
4524
4995
  file?: File;
4525
4996
  }
4526
- export declare class ByIdParams7 {
4997
+ export declare class ByIdParams3 {
4527
4998
  /** format */
4528
4999
  format?: string;
4529
5000
  /** id */
@@ -4809,6 +5280,8 @@ export declare class GetUserParams {
4809
5280
  usernameLike?: string;
4810
5281
  /** 排除用户名。支持多选 */
4811
5282
  usernameNotIn?: string[];
5283
+ /** 根据用户所属类型查询 */
5284
+ userType?: string;
4812
5285
  }
4813
5286
  export declare class GetUserAccessoryParams {
4814
5287
  /** username */
@@ -4913,7 +5386,7 @@ export declare class CacheClearParams {
4913
5386
  /** username */
4914
5387
  username: string;
4915
5388
  }
4916
- export declare class ExistParams2 {
5389
+ export declare class ExistParams5 {
4917
5390
  /** 根据可管理部门id查询。支持多选 */
4918
5391
  adminDepartmentId?: number[];
4919
5392
  /**
@@ -5054,6 +5527,8 @@ export declare class ExistParams2 {
5054
5527
  usernameLike?: string;
5055
5528
  /** 排除用户名。支持多选 */
5056
5529
  usernameNotIn?: string[];
5530
+ /** 根据用户所属类型查询 */
5531
+ userType?: string;
5057
5532
  }
5058
5533
  export declare class FindByUsernameByUsernameParams {
5059
5534
  /** noCache */
@@ -5218,6 +5693,8 @@ export declare class GetListParams {
5218
5693
  usernameLike?: string;
5219
5694
  /** 排除用户名。支持多选 */
5220
5695
  usernameNotIn?: string[];
5696
+ /** 根据用户所属类型查询 */
5697
+ userType?: string;
5221
5698
  }
5222
5699
  export declare class ListWithExtraParams {
5223
5700
  /** 根据可管理部门id查询。支持多选 */
@@ -5360,6 +5837,8 @@ export declare class ListWithExtraParams {
5360
5837
  usernameLike?: string;
5361
5838
  /** 排除用户名。支持多选 */
5362
5839
  usernameNotIn?: string[];
5840
+ /** 根据用户所属类型查询 */
5841
+ userType?: string;
5363
5842
  }
5364
5843
  export declare type ListSimpleByRealnamePayload = string[];
5365
5844
  export declare class ProfileImportPayload {
@@ -5417,7 +5896,7 @@ interface HttpClient {
5417
5896
  }
5418
5897
  /**
5419
5898
  * @title 授权服务
5420
- * @version 1.2.63
5899
+ * @version 1.2.67
5421
5900
  * @baseUrl //192.168.200.12:5001
5422
5901
  *
5423
5902
  * 授权服务
@@ -5537,6 +6016,88 @@ declare class Api {
5537
6016
  */
5538
6017
  emit: (alarm: Alarm, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
5539
6018
  };
6019
+ announcement: {
6020
+ /**
6021
+ * @description 所需权限:auth:announcement:create
6022
+ *
6023
+ * @tags announcement
6024
+ * @name Announcement
6025
+ * @summary 创建公告
6026
+ * @request POST:/auth/announcement
6027
+ * @response `200` `Announcement` OK
6028
+ * @response `201` `void` Created
6029
+ * @response `401` `void` Unauthorized
6030
+ * @response `403` `void` Forbidden
6031
+ * @response `404` `void` Not Found
6032
+ */
6033
+ announcement: (bean: AnnouncementCreateBean, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Announcement>;
6034
+ /**
6035
+ * @description 所需权限:auth:announcement:manage
6036
+ *
6037
+ * @tags announcement
6038
+ * @name Page
6039
+ * @summary 分页查询公告
6040
+ * @request GET:/auth/announcement/page
6041
+ * @response `200` `PageResultAnnouncement` OK
6042
+ * @response `401` `void` Unauthorized
6043
+ * @response `403` `void` Forbidden
6044
+ * @response `404` `void` Not Found
6045
+ */
6046
+ page: (query: PageParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<PageResultAnnouncement>;
6047
+ /**
6048
+ * No description
6049
+ *
6050
+ * @tags announcement
6051
+ * @name PageView
6052
+ * @summary 获取当前用户收到的公告列表
6053
+ * @request GET:/auth/announcement/page-view
6054
+ * @response `200` `PageResultAnnouncement` OK
6055
+ * @response `401` `void` Unauthorized
6056
+ * @response `403` `void` Forbidden
6057
+ * @response `404` `void` Not Found
6058
+ */
6059
+ pageView: (query: PageViewParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<PageResultAnnouncement>;
6060
+ /**
6061
+ * No description
6062
+ *
6063
+ * @tags announcement
6064
+ * @name GetById
6065
+ * @summary 查看公告详情
6066
+ * @request GET:/auth/announcement/{id}
6067
+ * @response `200` `Announcement` OK
6068
+ * @response `401` `void` Unauthorized
6069
+ * @response `403` `void` Forbidden
6070
+ * @response `404` `void` Not Found
6071
+ */
6072
+ getById: (id: number, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Announcement>;
6073
+ /**
6074
+ * @description 所需权限:auth:announcement:update
6075
+ *
6076
+ * @tags announcement
6077
+ * @name PutById
6078
+ * @summary 修改公告
6079
+ * @request PUT:/auth/announcement/{id}
6080
+ * @response `200` `Announcement` OK
6081
+ * @response `201` `void` Created
6082
+ * @response `401` `void` Unauthorized
6083
+ * @response `403` `void` Forbidden
6084
+ * @response `404` `void` Not Found
6085
+ */
6086
+ putById: (id: number, bean: AnnouncementCreateBean, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Announcement>;
6087
+ /**
6088
+ * @description 所需权限:auth:announcement:delete
6089
+ *
6090
+ * @tags announcement
6091
+ * @name DeleteById
6092
+ * @summary 删除公告
6093
+ * @request DELETE:/auth/announcement/{id}
6094
+ * @response `200` `void` OK
6095
+ * @response `204` `void` No Content
6096
+ * @response `401` `void` Unauthorized
6097
+ * @response `403` `void` Forbidden
6098
+ */
6099
+ deleteById: (id: number, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
6100
+ };
5540
6101
  authCodeCapability: {
5541
6102
  /**
5542
6103
  * No description
@@ -5723,6 +6284,48 @@ declare class Api {
5723
6284
  * @response `404` `void` Not Found
5724
6285
  */
5725
6286
  putCurrent: (deviceInfo: DeviceInfo, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
6287
+ /**
6288
+ * @description 所需权限:open-api:device:location-upload
6289
+ *
6290
+ * @tags device
6291
+ * @name OpenapiV1Location
6292
+ * @summary 上报定位
6293
+ * @request POST:/auth/device/openapi/v1/location
6294
+ * @response `200` `OpenApiRestResponseVoid` OK
6295
+ * @response `201` `void` Created
6296
+ * @response `401` `void` Unauthorized
6297
+ * @response `403` `void` Forbidden
6298
+ * @response `404` `void` Not Found
6299
+ */
6300
+ openapiV1Location: (request: DeviceLocationRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<OpenApiRestResponseVoid>;
6301
+ /**
6302
+ * @description 所需权限:open-api:device:register
6303
+ *
6304
+ * @tags device
6305
+ * @name OpenapiV1Register
6306
+ * @summary 设备注册
6307
+ * @request POST:/auth/device/openapi/v1/register
6308
+ * @response `200` `OpenApiRestResponseDeviceRegisterResponse` OK
6309
+ * @response `201` `void` Created
6310
+ * @response `401` `void` Unauthorized
6311
+ * @response `403` `void` Forbidden
6312
+ * @response `404` `void` Not Found
6313
+ */
6314
+ openapiV1Register: (request: DeviceRegisterRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<OpenApiRestResponseDeviceRegisterResponse>;
6315
+ /**
6316
+ * @description 所需权限:open-api:device:status-upload
6317
+ *
6318
+ * @tags device
6319
+ * @name OpenapiV1Status
6320
+ * @summary 上报状态
6321
+ * @request POST:/auth/device/openapi/v1/status
6322
+ * @response `200` `OpenApiRestResponseVoid` OK
6323
+ * @response `201` `void` Created
6324
+ * @response `401` `void` Unauthorized
6325
+ * @response `403` `void` Forbidden
6326
+ * @response `404` `void` Not Found
6327
+ */
6328
+ openapiV1Status: (request: DeviceStatusRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<OpenApiRestResponseVoid>;
5726
6329
  /**
5727
6330
  * @description 所需权限:supreme:all
5728
6331
  *
@@ -5736,6 +6339,33 @@ declare class Api {
5736
6339
  * @response `404` `void` Not Found
5737
6340
  */
5738
6341
  userDeviceChangeHistory: (query: UserDeviceChangeHistoryParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<RedundantInfo[]>;
6342
+ /**
6343
+ * @description 所需权限:device:bind
6344
+ *
6345
+ * @tags device
6346
+ * @name PostUserByDeviceId
6347
+ * @summary 设备绑定用户
6348
+ * @request POST:/auth/device/{deviceId}/user
6349
+ * @response `200` `AppRestResponse` OK
6350
+ * @response `201` `void` Created
6351
+ * @response `401` `void` Unauthorized
6352
+ * @response `403` `void` Forbidden
6353
+ * @response `404` `void` Not Found
6354
+ */
6355
+ postUserByDeviceId: (deviceId: number, request: BindUserRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AppRestResponse>;
6356
+ /**
6357
+ * @description 所需权限:device:bind
6358
+ *
6359
+ * @tags device
6360
+ * @name DeleteUserByDeviceId
6361
+ * @summary 设备解绑用户
6362
+ * @request DELETE:/auth/device/{deviceId}/user
6363
+ * @response `200` `AppRestResponse` OK
6364
+ * @response `204` `void` No Content
6365
+ * @response `401` `void` Unauthorized
6366
+ * @response `403` `void` Forbidden
6367
+ */
6368
+ deleteUserByDeviceId: ({ deviceId, ...query }: DeleteUserByDeviceIdParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AppRestResponse>;
5739
6369
  /**
5740
6370
  * @description 所需权限:device:manage
5741
6371
  *
@@ -5749,6 +6379,20 @@ declare class Api {
5749
6379
  * @response `403` `void` Forbidden
5750
6380
  */
5751
6381
  deleteById: (id: number, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AppRestResponse>;
6382
+ /**
6383
+ * @description 所需权限:device:manage
6384
+ *
6385
+ * @tags device
6386
+ * @name PutRestoreById
6387
+ * @summary 恢复已删除的设备
6388
+ * @request PUT:/auth/device/{id}/restore
6389
+ * @response `200` `AppRestResponse` OK
6390
+ * @response `201` `void` Created
6391
+ * @response `401` `void` Unauthorized
6392
+ * @response `403` `void` Forbidden
6393
+ * @response `404` `void` Not Found
6394
+ */
6395
+ putRestoreById: (id: number, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AppRestResponse>;
5752
6396
  };
5753
6397
  dictionary: {
5754
6398
  /**
@@ -6335,7 +6979,7 @@ declare class Api {
6335
6979
  * @response `403` `void` Forbidden
6336
6980
  * @response `404` `void` Not Found
6337
6981
  */
6338
- getStayPointMultiUser: (query: MultiUserQuery, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<UserStayPoints[]>;
6982
+ getStayPointMultiUser: (query: GetStayPointMultiUserParams, data: MultiUserQuery, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<UserStayPoints[]>;
6339
6983
  /**
6340
6984
  * @description 所需权限:user:find、user:trajectory:list (AND)
6341
6985
  *
@@ -6832,6 +7476,61 @@ declare class Api {
6832
7476
  */
6833
7477
  logout: (axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<LogoutResult>;
6834
7478
  };
7479
+ manufacturer: {
7480
+ /**
7481
+ * @description 所需权限:manufacturer:find
7482
+ *
7483
+ * @tags manufacturer
7484
+ * @name GetManufacturer
7485
+ * @summary 分页查询厂商列表
7486
+ * @request GET:/auth/manufacturer
7487
+ * @response `200` `PageResultManufacturerDTO` OK
7488
+ * @response `401` `void` Unauthorized
7489
+ * @response `403` `void` Forbidden
7490
+ * @response `404` `void` Not Found
7491
+ */
7492
+ getManufacturer: (query: GetManufacturerParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<PageResultManufacturerDTO>;
7493
+ /**
7494
+ * @description 所需权限:manufacturer:manage
7495
+ *
7496
+ * @tags manufacturer
7497
+ * @name PostManufacturer
7498
+ * @summary 保存厂商
7499
+ * @request POST:/auth/manufacturer
7500
+ * @response `200` `AppRestResponse` OK
7501
+ * @response `201` `void` Created
7502
+ * @response `401` `void` Unauthorized
7503
+ * @response `403` `void` Forbidden
7504
+ * @response `404` `void` Not Found
7505
+ */
7506
+ postManufacturer: (request: ManufacturerDTO, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AppRestResponse>;
7507
+ /**
7508
+ * @description 所需权限:manufacturer:manage
7509
+ *
7510
+ * @tags manufacturer
7511
+ * @name DeleteByCode
7512
+ * @summary 删除厂商
7513
+ * @request DELETE:/auth/manufacturer/{code}
7514
+ * @response `200` `AppRestResponse` OK
7515
+ * @response `204` `void` No Content
7516
+ * @response `401` `void` Unauthorized
7517
+ * @response `403` `void` Forbidden
7518
+ */
7519
+ deleteByCode: (code: string, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AppRestResponse>;
7520
+ /**
7521
+ * @description 所需权限:manufacturer:find
7522
+ *
7523
+ * @tags manufacturer
7524
+ * @name DevicesByCode
7525
+ * @summary 查询厂商下所有设备
7526
+ * @request GET:/auth/manufacturer/{code}/devices
7527
+ * @response `200` `(DeviceDTO)[]` OK
7528
+ * @response `401` `void` Unauthorized
7529
+ * @response `403` `void` Forbidden
7530
+ * @response `404` `void` Not Found
7531
+ */
7532
+ devicesByCode: (code: string, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<DeviceDTO[]>;
7533
+ };
6835
7534
  me: {
6836
7535
  /**
6837
7536
  * No description
@@ -7042,6 +7741,76 @@ declare class Api {
7042
7741
  */
7043
7742
  putStatusById: (id: number, notify: NotifyUpdateStatus, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<void>;
7044
7743
  };
7744
+ openapi: {
7745
+ /**
7746
+ * @description 所需权限:supreme:all
7747
+ *
7748
+ * @tags openapi
7749
+ * @name GetCredential
7750
+ * @summary 获取凭证列表
7751
+ * @request GET:/auth/openapi/credential
7752
+ * @response `200` `PageResultOpenApiCredential` OK
7753
+ * @response `401` `void` Unauthorized
7754
+ * @response `403` `void` Forbidden
7755
+ * @response `404` `void` Not Found
7756
+ */
7757
+ getCredential: (query: GetCredentialParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<PageResultOpenApiCredential>;
7758
+ /**
7759
+ * @description 所需权限:supreme:all
7760
+ *
7761
+ * @tags openapi
7762
+ * @name PostCredential
7763
+ * @summary 创建凭证
7764
+ * @request POST:/auth/openapi/credential
7765
+ * @response `200` `OpenApiCredential` OK
7766
+ * @response `201` `void` Created
7767
+ * @response `401` `void` Unauthorized
7768
+ * @response `403` `void` Forbidden
7769
+ * @response `404` `void` Not Found
7770
+ */
7771
+ postCredential: (request: CreateCredentialRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<OpenApiCredential>;
7772
+ /**
7773
+ * @description 所需权限:test
7774
+ *
7775
+ * @tags openapi
7776
+ * @name CredentialSimulateExecute
7777
+ * @summary 测试OpenAPI签名调用
7778
+ * @request POST:/auth/openapi/credential/simulate-execute
7779
+ * @response `200` `OpenApiRestResponseString` OK
7780
+ * @response `201` `void` Created
7781
+ * @response `401` `void` Unauthorized
7782
+ * @response `403` `void` Forbidden
7783
+ * @response `404` `void` Not Found
7784
+ */
7785
+ credentialSimulateExecute: (axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<OpenApiRestResponseString>;
7786
+ /**
7787
+ * No description
7788
+ *
7789
+ * @tags openapi
7790
+ * @name CredentialSimulateSignature
7791
+ * @summary 生成签名
7792
+ * @request POST:/auth/openapi/credential/simulate-signature
7793
+ * @response `200` `SimulateSignatureResult` OK
7794
+ * @response `201` `void` Created
7795
+ * @response `401` `void` Unauthorized
7796
+ * @response `403` `void` Forbidden
7797
+ * @response `404` `void` Not Found
7798
+ */
7799
+ credentialSimulateSignature: (request: SimulateSignatureRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<SimulateSignatureResult>;
7800
+ /**
7801
+ * @description 所需权限:supreme:all
7802
+ *
7803
+ * @tags openapi
7804
+ * @name DeleteCredentialByAccessKey
7805
+ * @summary 删除凭证
7806
+ * @request DELETE:/auth/openapi/credential/{accessKey}
7807
+ * @response `200` `AppRestResponse` OK
7808
+ * @response `204` `void` No Content
7809
+ * @response `401` `void` Unauthorized
7810
+ * @response `403` `void` Forbidden
7811
+ */
7812
+ deleteCredentialByAccessKey: (accessKey: string, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<AppRestResponse>;
7813
+ };
7045
7814
  organization: {
7046
7815
  /**
7047
7816
  * @description 所需权限:department:list
@@ -7187,6 +7956,19 @@ declare class Api {
7187
7956
  * @response `404` `void` Not Found
7188
7957
  */
7189
7958
  departmentParentByBmdm: (bmdm: string, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Department>;
7959
+ /**
7960
+ * No description
7961
+ *
7962
+ * @tags organization
7963
+ * @name DepartmentSimpleTreeByBmdm
7964
+ * @summary [按部门代码]获取指定部门为根节点的极简部门树
7965
+ * @request GET:/auth/organization/department/by-bmdm/{bmdm}/simple-tree
7966
+ * @response `200` `DepartmentExtremSimple` OK
7967
+ * @response `401` `void` Unauthorized
7968
+ * @response `403` `void` Forbidden
7969
+ * @response `404` `void` Not Found
7970
+ */
7971
+ departmentSimpleTreeByBmdm: ({ bmdm, ...query }: DepartmentSimpleTreeByBmdmParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<DepartmentExtremSimple>;
7190
7972
  /**
7191
7973
  * No description
7192
7974
  *
@@ -7267,6 +8049,19 @@ declare class Api {
7267
8049
  * @response `404` `void` Not Found
7268
8050
  */
7269
8051
  departmentResetDigest: (axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<number>;
8052
+ /**
8053
+ * No description
8054
+ *
8055
+ * @tags organization
8056
+ * @name DepartmentSimpleTree
8057
+ * @summary 获取以当前用户部门为根节点的极简部门树
8058
+ * @request GET:/auth/organization/department/simple-tree
8059
+ * @response `200` `DepartmentExtremSimple` OK
8060
+ * @response `401` `void` Unauthorized
8061
+ * @response `403` `void` Forbidden
8062
+ * @response `404` `void` Not Found
8063
+ */
8064
+ departmentSimpleTree: (query: DepartmentSimpleTreeParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<DepartmentExtremSimple>;
7270
8065
  /**
7271
8066
  * No description
7272
8067
  *
@@ -7482,13 +8277,13 @@ declare class Api {
7482
8277
  * @summary 同步当前用户绑定的警员信息
7483
8278
  * @request PUT:/auth/organization/police/sync-current-user-police
7484
8279
  * @deprecated
7485
- * @response `200` `Police` OK
8280
+ * @response `200` `PoliceSyncResult` OK
7486
8281
  * @response `201` `void` Created
7487
8282
  * @response `401` `void` Unauthorized
7488
8283
  * @response `403` `void` Forbidden
7489
8284
  * @response `404` `void` Not Found
7490
8285
  */
7491
- putPoliceSyncCurrentUserPolice: (axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Police>;
8286
+ putPoliceSyncCurrentUserPolice: (axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<PoliceSyncResult>;
7492
8287
  /**
7493
8288
  * @description 所需权限:police:find
7494
8289
  *
@@ -7985,7 +8780,7 @@ declare class Api {
7985
8780
  * @response `403` `void` Forbidden
7986
8781
  * @response `404` `void` Not Found
7987
8782
  */
7988
- exist: (query: ExistParams7, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<boolean>;
8783
+ exist: (query: ExistParams6, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<boolean>;
7989
8784
  /**
7990
8785
  * @description 所需权限:role:list
7991
8786
  *
@@ -8511,6 +9306,19 @@ declare class Api {
8511
9306
  send: (request: MessageSendRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<SendResponse>;
8512
9307
  };
8513
9308
  sse: {
9309
+ /**
9310
+ * No description
9311
+ *
9312
+ * @tags sse
9313
+ * @name Polling
9314
+ * @summary 轮询获取消息
9315
+ * @request GET:/auth/sse/polling
9316
+ * @response `200` `(PollingMessageVO)[]` OK
9317
+ * @response `401` `void` Unauthorized
9318
+ * @response `403` `void` Forbidden
9319
+ * @response `404` `void` Not Found
9320
+ */
9321
+ polling: (query: PollingParams, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<PollingMessageVO[]>;
8514
9322
  /**
8515
9323
  * No description
8516
9324
  *
@@ -8624,7 +9432,7 @@ declare class Api {
8624
9432
  * @response `403` `void` Forbidden
8625
9433
  * @response `404` `void` Not Found
8626
9434
  */
8627
- byId: ({ id, ...query }: ByIdParams7, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Resource>;
9435
+ byId: ({ id, ...query }: ByIdParams3, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Resource>;
8628
9436
  /**
8629
9437
  * No description
8630
9438
  *
@@ -9430,6 +10238,20 @@ declare class Api {
9430
10238
  * @response `404` `void` Not Found
9431
10239
  */
9432
10240
  cacheStats: (axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<Record<string, CacheSimpleStats>>;
10241
+ /**
10242
+ * @description 所需权限:user:create
10243
+ *
10244
+ * @tags user
10245
+ * @name DeviceUser
10246
+ * @summary 创建设备用户
10247
+ * @request POST:/auth/user/device-user
10248
+ * @response `200` `User` OK
10249
+ * @response `201` `void` Created
10250
+ * @response `401` `void` Unauthorized
10251
+ * @response `403` `void` Forbidden
10252
+ * @response `404` `void` Not Found
10253
+ */
10254
+ deviceUser: (request: DeviceUserCreateRequest, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<User>;
9433
10255
  /**
9434
10256
  * @description 所需权限:user:find
9435
10257
  *
@@ -9442,7 +10264,7 @@ declare class Api {
9442
10264
  * @response `403` `void` Forbidden
9443
10265
  * @response `404` `void` Not Found
9444
10266
  */
9445
- exist: (query: ExistParams2, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<boolean>;
10267
+ exist: (query: ExistParams5, axiosConfig?: AxiosRequestConfig & Record<string, any>) => Promise<boolean>;
9446
10268
  /**
9447
10269
  * @description 所需权限:user:admin
9448
10270
  *