|
@@ -569,6 +569,57 @@ class DownloadFileResult {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+class QueryExamListItemResult {
|
|
|
+ String? examCode;
|
|
|
+ String? patientName;
|
|
|
+ String? age;
|
|
|
+ List<DataItemDTO >? ageInfo;
|
|
|
+ String? sex;
|
|
|
+ List<String >? associatedExamCodes;
|
|
|
+ DateTime? createTime;
|
|
|
+
|
|
|
+ QueryExamListItemResult({
|
|
|
+ this.examCode,
|
|
|
+ this.patientName,
|
|
|
+ this.age,
|
|
|
+ this.ageInfo,
|
|
|
+ this.sex,
|
|
|
+ this.associatedExamCodes,
|
|
|
+ this.createTime,
|
|
|
+ });
|
|
|
+
|
|
|
+ factory QueryExamListItemResult.fromJson(Map<String, dynamic> map) {
|
|
|
+ return QueryExamListItemResult(
|
|
|
+ examCode: map['ExamCode'],
|
|
|
+ patientName: map['PatientName'],
|
|
|
+ age: map['Age'],
|
|
|
+ ageInfo: map['AgeInfo'] != null ? (map['AgeInfo'] as List).map((e)=>DataItemDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
|
|
|
+ sex: map['Sex'],
|
|
|
+ associatedExamCodes: map['AssociatedExamCodes'] != null ? map['AssociatedExamCodes'].cast<String>().toList() : null,
|
|
|
+ createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = Map<String, dynamic>();
|
|
|
+ if(examCode != null)
|
|
|
+ map['ExamCode'] = examCode;
|
|
|
+ if(patientName != null)
|
|
|
+ map['PatientName'] = patientName;
|
|
|
+ if(age != null)
|
|
|
+ map['Age'] = age;
|
|
|
+ if(ageInfo != null)
|
|
|
+ map['AgeInfo'] = ageInfo;
|
|
|
+ if(sex != null)
|
|
|
+ map['Sex'] = sex;
|
|
|
+ if(associatedExamCodes != null)
|
|
|
+ map['AssociatedExamCodes'] = associatedExamCodes;
|
|
|
+ if(createTime != null)
|
|
|
+ map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
class BaseLiveResult {
|
|
|
String? roomCode;
|
|
|
int integerRoomId;
|
|
@@ -1710,6 +1761,32 @@ class CleanDeviceCacheRequest {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+class CreateShareCodeRequest {
|
|
|
+ String? reportCode;
|
|
|
+ String? languageCode;
|
|
|
+
|
|
|
+ CreateShareCodeRequest({
|
|
|
+ this.reportCode,
|
|
|
+ this.languageCode,
|
|
|
+ });
|
|
|
+
|
|
|
+ factory CreateShareCodeRequest.fromJson(Map<String, dynamic> map) {
|
|
|
+ return CreateShareCodeRequest(
|
|
|
+ reportCode: map['ReportCode'],
|
|
|
+ languageCode: map['LanguageCode'],
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = Map<String, dynamic>();
|
|
|
+ if(reportCode != null)
|
|
|
+ map['ReportCode'] = reportCode;
|
|
|
+ if(languageCode != null)
|
|
|
+ map['LanguageCode'] = languageCode;
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
class DeviceDiagnosisChangedNotification extends TokenRequest{
|
|
|
String? diagnosisModule;
|
|
|
String? organizationCode;
|
|
@@ -1984,6 +2061,7 @@ class SignUpRequest extends UserDTO{
|
|
|
String? rootOrganizationName,
|
|
|
List<String >? authorityGroups,
|
|
|
List<String >? bindDevices,
|
|
|
+ List<String >? bindDeviceOrganizations,
|
|
|
String? lastIP,
|
|
|
int logintimes = 0,
|
|
|
UserInfoStateEnum userState = UserInfoStateEnum.Nonactivated,
|
|
@@ -2025,6 +2103,7 @@ class SignUpRequest extends UserDTO{
|
|
|
rootOrganizationName: rootOrganizationName,
|
|
|
authorityGroups: authorityGroups,
|
|
|
bindDevices: bindDevices,
|
|
|
+ bindDeviceOrganizations: bindDeviceOrganizations,
|
|
|
lastIP: lastIP,
|
|
|
logintimes: logintimes,
|
|
|
userState: userState,
|
|
@@ -2069,6 +2148,7 @@ class SignUpRequest extends UserDTO{
|
|
|
rootOrganizationName: map['RootOrganizationName'],
|
|
|
authorityGroups: map['AuthorityGroups'] != null ? map['AuthorityGroups'].cast<String>().toList() : null,
|
|
|
bindDevices: map['BindDevices'] != null ? map['BindDevices'].cast<String>().toList() : null,
|
|
|
+ bindDeviceOrganizations: map['BindDeviceOrganizations'] != null ? map['BindDeviceOrganizations'].cast<String>().toList() : null,
|
|
|
lastIP: map['LastIP'],
|
|
|
logintimes: map['Logintimes'],
|
|
|
userState: UserInfoStateEnum.values.firstWhere((e) => e.index == map['UserState']),
|
|
@@ -3673,6 +3753,7 @@ class DeviceMigratoryInfo extends DeviceInfoDTO{
|
|
|
List<VideoDeviceDTO >? videoDeviceInfos,
|
|
|
DownloadModeSettingEnum downloadModeSetting = DownloadModeSettingEnum.Auto,
|
|
|
bool liveOpened = false,
|
|
|
+ bool supportRtc = false,
|
|
|
String? displayName,
|
|
|
DateTime? createTime,
|
|
|
DateTime? updateTime,
|
|
@@ -3704,6 +3785,7 @@ class DeviceMigratoryInfo extends DeviceInfoDTO{
|
|
|
videoDeviceInfos: videoDeviceInfos,
|
|
|
downloadModeSetting: downloadModeSetting,
|
|
|
liveOpened: liveOpened,
|
|
|
+ supportRtc: supportRtc,
|
|
|
displayName: displayName,
|
|
|
createTime: createTime,
|
|
|
updateTime: updateTime,
|
|
@@ -3740,6 +3822,7 @@ class DeviceMigratoryInfo extends DeviceInfoDTO{
|
|
|
videoDeviceInfos: map['VideoDeviceInfos'] != null ? (map['VideoDeviceInfos'] as List).map((e)=>VideoDeviceDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
|
|
|
downloadModeSetting: DownloadModeSettingEnum.values.firstWhere((e) => e.index == map['DownloadModeSetting']),
|
|
|
liveOpened: map['LiveOpened'],
|
|
|
+ supportRtc: map['SupportRtc'],
|
|
|
displayName: map['DisplayName'],
|
|
|
createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
|
|
|
updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
|
|
@@ -4372,6 +4455,41 @@ class BatchInsertUserGroupRequest extends TokenRequest{
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+class BindUserDevicesRequest extends TokenRequest{
|
|
|
+ String? userCode;
|
|
|
+ List<String >? bindDeviceCodes;
|
|
|
+ List<String >? removeDeviceCodes;
|
|
|
+
|
|
|
+ BindUserDevicesRequest({
|
|
|
+ this.userCode,
|
|
|
+ this.bindDeviceCodes,
|
|
|
+ this.removeDeviceCodes,
|
|
|
+ String? token,
|
|
|
+ }) : super(
|
|
|
+ token: token,
|
|
|
+ );
|
|
|
+
|
|
|
+ factory BindUserDevicesRequest.fromJson(Map<String, dynamic> map) {
|
|
|
+ return BindUserDevicesRequest(
|
|
|
+ userCode: map['UserCode'],
|
|
|
+ bindDeviceCodes: map['BindDeviceCodes'] != null ? map['BindDeviceCodes'].cast<String>().toList() : null,
|
|
|
+ removeDeviceCodes: map['RemoveDeviceCodes'] != null ? map['RemoveDeviceCodes'].cast<String>().toList() : null,
|
|
|
+ token: map['Token'],
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = super.toJson();
|
|
|
+ if(userCode != null)
|
|
|
+ map['UserCode'] = userCode;
|
|
|
+ if(bindDeviceCodes != null)
|
|
|
+ map['BindDeviceCodes'] = bindDeviceCodes;
|
|
|
+ if(removeDeviceCodes != null)
|
|
|
+ map['RemoveDeviceCodes'] = removeDeviceCodes;
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
class ConfirmIdentityApplyRequest extends TokenRequest{
|
|
|
String? identityApplyCode;
|
|
|
|
|
@@ -6451,6 +6569,78 @@ class GetThirdPartyInfoPagesRequest extends PageRequest{
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+class GetUserDevicesPagesRequest extends PageRequest{
|
|
|
+ String? userCode;
|
|
|
+ String? keyword;
|
|
|
+
|
|
|
+ GetUserDevicesPagesRequest({
|
|
|
+ this.userCode,
|
|
|
+ this.keyword,
|
|
|
+ int pageIndex = 0,
|
|
|
+ int pageSize = 0,
|
|
|
+ String? token,
|
|
|
+ }) : super(
|
|
|
+ pageIndex: pageIndex,
|
|
|
+ pageSize: pageSize,
|
|
|
+ token: token,
|
|
|
+ );
|
|
|
+
|
|
|
+ factory GetUserDevicesPagesRequest.fromJson(Map<String, dynamic> map) {
|
|
|
+ return GetUserDevicesPagesRequest(
|
|
|
+ userCode: map['UserCode'],
|
|
|
+ keyword: map['Keyword'],
|
|
|
+ pageIndex: map['PageIndex'],
|
|
|
+ pageSize: map['PageSize'],
|
|
|
+ token: map['Token'],
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = super.toJson();
|
|
|
+ if(userCode != null)
|
|
|
+ map['UserCode'] = userCode;
|
|
|
+ if(keyword != null)
|
|
|
+ map['Keyword'] = keyword;
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+class GetOrganizationDevicesPagesRequest extends PageRequest{
|
|
|
+ String? organizationCode;
|
|
|
+ String? keyword;
|
|
|
+
|
|
|
+ GetOrganizationDevicesPagesRequest({
|
|
|
+ this.organizationCode,
|
|
|
+ this.keyword,
|
|
|
+ int pageIndex = 0,
|
|
|
+ int pageSize = 0,
|
|
|
+ String? token,
|
|
|
+ }) : super(
|
|
|
+ pageIndex: pageIndex,
|
|
|
+ pageSize: pageSize,
|
|
|
+ token: token,
|
|
|
+ );
|
|
|
+
|
|
|
+ factory GetOrganizationDevicesPagesRequest.fromJson(Map<String, dynamic> map) {
|
|
|
+ return GetOrganizationDevicesPagesRequest(
|
|
|
+ organizationCode: map['OrganizationCode'],
|
|
|
+ keyword: map['Keyword'],
|
|
|
+ pageIndex: map['PageIndex'],
|
|
|
+ pageSize: map['PageSize'],
|
|
|
+ token: map['Token'],
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = super.toJson();
|
|
|
+ if(organizationCode != null)
|
|
|
+ map['OrganizationCode'] = organizationCode;
|
|
|
+ if(keyword != null)
|
|
|
+ map['Keyword'] = keyword;
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
class ImitateLoginRequest {
|
|
|
String? account;
|
|
|
String? password;
|
|
@@ -7148,6 +7338,7 @@ class ModifyDeviceRequest2 extends DeviceInfoDTO{
|
|
|
List<VideoDeviceDTO >? videoDeviceInfos,
|
|
|
DownloadModeSettingEnum downloadModeSetting = DownloadModeSettingEnum.Auto,
|
|
|
bool liveOpened = false,
|
|
|
+ bool supportRtc = false,
|
|
|
String? displayName,
|
|
|
DateTime? createTime,
|
|
|
DateTime? updateTime,
|
|
@@ -7179,6 +7370,7 @@ class ModifyDeviceRequest2 extends DeviceInfoDTO{
|
|
|
videoDeviceInfos: videoDeviceInfos,
|
|
|
downloadModeSetting: downloadModeSetting,
|
|
|
liveOpened: liveOpened,
|
|
|
+ supportRtc: supportRtc,
|
|
|
displayName: displayName,
|
|
|
createTime: createTime,
|
|
|
updateTime: updateTime,
|
|
@@ -7214,6 +7406,7 @@ class ModifyDeviceRequest2 extends DeviceInfoDTO{
|
|
|
videoDeviceInfos: map['VideoDeviceInfos'] != null ? (map['VideoDeviceInfos'] as List).map((e)=>VideoDeviceDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
|
|
|
downloadModeSetting: DownloadModeSettingEnum.values.firstWhere((e) => e.index == map['DownloadModeSetting']),
|
|
|
liveOpened: map['LiveOpened'],
|
|
|
+ supportRtc: map['SupportRtc'],
|
|
|
displayName: map['DisplayName'],
|
|
|
createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
|
|
|
updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
|
|
@@ -8002,6 +8195,71 @@ class ModifyThirdPartyInfoRequest extends ThirdPartyInfoDTO{
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+class ModifyUserBindDeviceOrganizationRequest extends TokenRequest{
|
|
|
+ List<String >? userCodes;
|
|
|
+ List<String >? organizationCodes;
|
|
|
+
|
|
|
+ ModifyUserBindDeviceOrganizationRequest({
|
|
|
+ this.userCodes,
|
|
|
+ this.organizationCodes,
|
|
|
+ String? token,
|
|
|
+ }) : super(
|
|
|
+ token: token,
|
|
|
+ );
|
|
|
+
|
|
|
+ factory ModifyUserBindDeviceOrganizationRequest.fromJson(Map<String, dynamic> map) {
|
|
|
+ return ModifyUserBindDeviceOrganizationRequest(
|
|
|
+ userCodes: map['UserCodes'] != null ? map['UserCodes'].cast<String>().toList() : null,
|
|
|
+ organizationCodes: map['OrganizationCodes'] != null ? map['OrganizationCodes'].cast<String>().toList() : null,
|
|
|
+ token: map['Token'],
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = super.toJson();
|
|
|
+ if(userCodes != null)
|
|
|
+ map['UserCodes'] = userCodes;
|
|
|
+ if(organizationCodes != null)
|
|
|
+ map['OrganizationCodes'] = organizationCodes;
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+class ModifyUserSpecialOrganizationRequest extends TokenRequest{
|
|
|
+ List<String >? userCodes;
|
|
|
+ String? originOrganizationCode;
|
|
|
+ String? targetOrganizationCode;
|
|
|
+
|
|
|
+ ModifyUserSpecialOrganizationRequest({
|
|
|
+ this.userCodes,
|
|
|
+ this.originOrganizationCode,
|
|
|
+ this.targetOrganizationCode,
|
|
|
+ String? token,
|
|
|
+ }) : super(
|
|
|
+ token: token,
|
|
|
+ );
|
|
|
+
|
|
|
+ factory ModifyUserSpecialOrganizationRequest.fromJson(Map<String, dynamic> map) {
|
|
|
+ return ModifyUserSpecialOrganizationRequest(
|
|
|
+ userCodes: map['UserCodes'] != null ? map['UserCodes'].cast<String>().toList() : null,
|
|
|
+ originOrganizationCode: map['OriginOrganizationCode'],
|
|
|
+ targetOrganizationCode: map['TargetOrganizationCode'],
|
|
|
+ token: map['Token'],
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = super.toJson();
|
|
|
+ if(userCodes != null)
|
|
|
+ map['UserCodes'] = userCodes;
|
|
|
+ if(originOrganizationCode != null)
|
|
|
+ map['OriginOrganizationCode'] = originOrganizationCode;
|
|
|
+ if(targetOrganizationCode != null)
|
|
|
+ map['TargetOrganizationCode'] = targetOrganizationCode;
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
class UserFeatureInfoDTO extends BaseFeatureInfoDTO{
|
|
|
|
|
|
UserFeatureInfoDTO({
|
|
@@ -8113,6 +8371,7 @@ class ManageUserInfoDTO extends UserDTO{
|
|
|
String? rootOrganizationName,
|
|
|
List<String >? authorityGroups,
|
|
|
List<String >? bindDevices,
|
|
|
+ List<String >? bindDeviceOrganizations,
|
|
|
String? lastIP,
|
|
|
int logintimes = 0,
|
|
|
UserInfoStateEnum userState = UserInfoStateEnum.Nonactivated,
|
|
@@ -8152,6 +8411,7 @@ class ManageUserInfoDTO extends UserDTO{
|
|
|
rootOrganizationName: rootOrganizationName,
|
|
|
authorityGroups: authorityGroups,
|
|
|
bindDevices: bindDevices,
|
|
|
+ bindDeviceOrganizations: bindDeviceOrganizations,
|
|
|
lastIP: lastIP,
|
|
|
logintimes: logintimes,
|
|
|
userState: userState,
|
|
@@ -8207,6 +8467,7 @@ class ManageUserInfoDTO extends UserDTO{
|
|
|
rootOrganizationName: map['RootOrganizationName'],
|
|
|
authorityGroups: map['AuthorityGroups'] != null ? map['AuthorityGroups'].cast<String>().toList() : null,
|
|
|
bindDevices: map['BindDevices'] != null ? map['BindDevices'].cast<String>().toList() : null,
|
|
|
+ bindDeviceOrganizations: map['BindDeviceOrganizations'] != null ? map['BindDeviceOrganizations'].cast<String>().toList() : null,
|
|
|
lastIP: map['LastIP'],
|
|
|
logintimes: map['Logintimes'],
|
|
|
userState: UserInfoStateEnum.values.firstWhere((e) => e.index == map['UserState']),
|
|
@@ -8287,6 +8548,7 @@ class ModifyUserRequest extends ManageUserInfoDTO{
|
|
|
String? rootOrganizationName,
|
|
|
List<String >? authorityGroups,
|
|
|
List<String >? bindDevices,
|
|
|
+ List<String >? bindDeviceOrganizations,
|
|
|
String? lastIP,
|
|
|
int logintimes = 0,
|
|
|
UserInfoStateEnum userState = UserInfoStateEnum.Nonactivated,
|
|
@@ -8337,6 +8599,7 @@ class ModifyUserRequest extends ManageUserInfoDTO{
|
|
|
rootOrganizationName: rootOrganizationName,
|
|
|
authorityGroups: authorityGroups,
|
|
|
bindDevices: bindDevices,
|
|
|
+ bindDeviceOrganizations: bindDeviceOrganizations,
|
|
|
lastIP: lastIP,
|
|
|
logintimes: logintimes,
|
|
|
userState: userState,
|
|
@@ -8391,6 +8654,7 @@ class ModifyUserRequest extends ManageUserInfoDTO{
|
|
|
rootOrganizationName: map['RootOrganizationName'],
|
|
|
authorityGroups: map['AuthorityGroups'] != null ? map['AuthorityGroups'].cast<String>().toList() : null,
|
|
|
bindDevices: map['BindDevices'] != null ? map['BindDevices'].cast<String>().toList() : null,
|
|
|
+ bindDeviceOrganizations: map['BindDeviceOrganizations'] != null ? map['BindDeviceOrganizations'].cast<String>().toList() : null,
|
|
|
lastIP: map['LastIP'],
|
|
|
logintimes: map['Logintimes'],
|
|
|
userState: UserInfoStateEnum.values.firstWhere((e) => e.index == map['UserState']),
|
|
@@ -9592,6 +9856,39 @@ class OperationLogDTO {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+class SyncDataCheckResult {
|
|
|
+ Map<String,String>? serverUrlMap;
|
|
|
+ int workerCount;
|
|
|
+ bool executingStatus;
|
|
|
+ bool isClosed;
|
|
|
+
|
|
|
+ SyncDataCheckResult({
|
|
|
+ this.serverUrlMap,
|
|
|
+ this.workerCount = 0,
|
|
|
+ this.executingStatus = false,
|
|
|
+ this.isClosed = false,
|
|
|
+ });
|
|
|
+
|
|
|
+ factory SyncDataCheckResult.fromJson(Map<String, dynamic> map) {
|
|
|
+ return SyncDataCheckResult(
|
|
|
+ serverUrlMap: map['ServerUrlMap'] != null ? map['ServerUrlMap'].cast<String,String>() : null,
|
|
|
+ workerCount: map['WorkerCount'],
|
|
|
+ executingStatus: map['ExecutingStatus'],
|
|
|
+ isClosed: map['IsClosed'],
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = Map<String, dynamic>();
|
|
|
+ if(serverUrlMap != null)
|
|
|
+ map['ServerUrlMap'] = serverUrlMap;
|
|
|
+ map['WorkerCount'] = workerCount;
|
|
|
+ map['ExecutingStatus'] = executingStatus;
|
|
|
+ map['IsClosed'] = isClosed;
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
class SyncCompleteOpLogsRequest {
|
|
|
List<OperationLogDTO >? oplogs;
|
|
|
|
|
@@ -11873,6 +12170,7 @@ class UserPasswordDTO extends BaseDTO{
|
|
|
String? rootOrganizationCode;
|
|
|
List<String >? authorityGroups;
|
|
|
List<String >? bindDevices;
|
|
|
+ List<String >? bindDeviceOrganizations;
|
|
|
String? lastIP;
|
|
|
int logintimes;
|
|
|
UserInfoStateEnum userState;
|
|
@@ -11890,6 +12188,8 @@ class UserPasswordDTO extends BaseDTO{
|
|
|
String? signature;
|
|
|
String? language;
|
|
|
bool enableReportLabel;
|
|
|
+ String? bindEmergencyDeviceCode;
|
|
|
+ String? bindEmergencyExpertCode;
|
|
|
|
|
|
UserPasswordDTO({
|
|
|
this.userCode,
|
|
@@ -11904,6 +12204,7 @@ class UserPasswordDTO extends BaseDTO{
|
|
|
this.rootOrganizationCode,
|
|
|
this.authorityGroups,
|
|
|
this.bindDevices,
|
|
|
+ this.bindDeviceOrganizations,
|
|
|
this.lastIP,
|
|
|
this.logintimes = 0,
|
|
|
this.userState = UserInfoStateEnum.Nonactivated,
|
|
@@ -11921,6 +12222,8 @@ class UserPasswordDTO extends BaseDTO{
|
|
|
this.signature,
|
|
|
this.language,
|
|
|
this.enableReportLabel = false,
|
|
|
+ this.bindEmergencyDeviceCode,
|
|
|
+ this.bindEmergencyExpertCode,
|
|
|
DateTime? createTime,
|
|
|
DateTime? updateTime,
|
|
|
}) : super(
|
|
@@ -11942,6 +12245,7 @@ class UserPasswordDTO extends BaseDTO{
|
|
|
rootOrganizationCode: map['RootOrganizationCode'],
|
|
|
authorityGroups: map['AuthorityGroups'] != null ? map['AuthorityGroups'].cast<String>().toList() : null,
|
|
|
bindDevices: map['BindDevices'] != null ? map['BindDevices'].cast<String>().toList() : null,
|
|
|
+ bindDeviceOrganizations: map['BindDeviceOrganizations'] != null ? map['BindDeviceOrganizations'].cast<String>().toList() : null,
|
|
|
lastIP: map['LastIP'],
|
|
|
logintimes: map['Logintimes'],
|
|
|
userState: UserInfoStateEnum.values.firstWhere((e) => e.index == map['UserState']),
|
|
@@ -11959,6 +12263,8 @@ class UserPasswordDTO extends BaseDTO{
|
|
|
signature: map['Signature'],
|
|
|
language: map['Language'],
|
|
|
enableReportLabel: map['EnableReportLabel'],
|
|
|
+ bindEmergencyDeviceCode: map['BindEmergencyDeviceCode'],
|
|
|
+ bindEmergencyExpertCode: map['BindEmergencyExpertCode'],
|
|
|
createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
|
|
|
updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
|
|
|
);
|
|
@@ -11990,6 +12296,8 @@ class UserPasswordDTO extends BaseDTO{
|
|
|
map['AuthorityGroups'] = authorityGroups;
|
|
|
if(bindDevices != null)
|
|
|
map['BindDevices'] = bindDevices;
|
|
|
+ if(bindDeviceOrganizations != null)
|
|
|
+ map['BindDeviceOrganizations'] = bindDeviceOrganizations;
|
|
|
if(lastIP != null)
|
|
|
map['LastIP'] = lastIP;
|
|
|
map['Logintimes'] = logintimes;
|
|
@@ -12019,6 +12327,10 @@ class UserPasswordDTO extends BaseDTO{
|
|
|
if(language != null)
|
|
|
map['Language'] = language;
|
|
|
map['EnableReportLabel'] = enableReportLabel;
|
|
|
+ if(bindEmergencyDeviceCode != null)
|
|
|
+ map['BindEmergencyDeviceCode'] = bindEmergencyDeviceCode;
|
|
|
+ if(bindEmergencyExpertCode != null)
|
|
|
+ map['BindEmergencyExpertCode'] = bindEmergencyExpertCode;
|
|
|
return map;
|
|
|
}
|
|
|
}
|
|
@@ -12462,6 +12774,7 @@ class LiveMemberDTO {
|
|
|
LoginSource loginSource;
|
|
|
String? inviterCode;
|
|
|
bool backgroundRole;
|
|
|
+ bool isOldPlatform;
|
|
|
|
|
|
LiveMemberDTO({
|
|
|
this.code,
|
|
@@ -12479,6 +12792,7 @@ class LiveMemberDTO {
|
|
|
this.loginSource = LoginSource.PC,
|
|
|
this.inviterCode,
|
|
|
this.backgroundRole = false,
|
|
|
+ this.isOldPlatform = false,
|
|
|
});
|
|
|
|
|
|
factory LiveMemberDTO.fromJson(Map<String, dynamic> map) {
|
|
@@ -12498,6 +12812,7 @@ class LiveMemberDTO {
|
|
|
loginSource: LoginSource.values.firstWhere((e) => e.index == map['LoginSource']),
|
|
|
inviterCode: map['InviterCode'],
|
|
|
backgroundRole: map['BackgroundRole'],
|
|
|
+ isOldPlatform: map['IsOldPlatform'],
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -12525,6 +12840,7 @@ class LiveMemberDTO {
|
|
|
if(inviterCode != null)
|
|
|
map['InviterCode'] = inviterCode;
|
|
|
map['BackgroundRole'] = backgroundRole;
|
|
|
+ map['IsOldPlatform'] = isOldPlatform;
|
|
|
return map;
|
|
|
}
|
|
|
}
|
|
@@ -15996,6 +16312,7 @@ class ManageDeviceInfoDTO extends DeviceInfoDTO{
|
|
|
List<VideoDeviceDTO >? videoDeviceInfos,
|
|
|
DownloadModeSettingEnum downloadModeSetting = DownloadModeSettingEnum.Auto,
|
|
|
bool liveOpened = false,
|
|
|
+ bool supportRtc = false,
|
|
|
String? displayName,
|
|
|
DateTime? createTime,
|
|
|
DateTime? updateTime,
|
|
@@ -16027,6 +16344,7 @@ class ManageDeviceInfoDTO extends DeviceInfoDTO{
|
|
|
videoDeviceInfos: videoDeviceInfos,
|
|
|
downloadModeSetting: downloadModeSetting,
|
|
|
liveOpened: liveOpened,
|
|
|
+ supportRtc: supportRtc,
|
|
|
displayName: displayName,
|
|
|
createTime: createTime,
|
|
|
updateTime: updateTime,
|
|
@@ -16068,6 +16386,7 @@ class ManageDeviceInfoDTO extends DeviceInfoDTO{
|
|
|
videoDeviceInfos: map['VideoDeviceInfos'] != null ? (map['VideoDeviceInfos'] as List).map((e)=>VideoDeviceDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
|
|
|
downloadModeSetting: DownloadModeSettingEnum.values.firstWhere((e) => e.index == map['DownloadModeSetting']),
|
|
|
liveOpened: map['LiveOpened'],
|
|
|
+ supportRtc: map['SupportRtc'],
|
|
|
displayName: map['DisplayName'],
|
|
|
createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
|
|
|
updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
|