120 lines
2.1 KiB
Plaintext

import { DrvexamType } from ".";
export interface RegistrationDeviceNoRsp {
registrationDeviceNoRsp: RegistrationDeviceNoRspDetails;
}
interface RegistrationDeviceNoRspDetails {
head: Head;
}
interface Head {
resultCode: string;
time: string;
resultMessage: string;
}
interface ImageCompareRsp {
head: Head;
body: ESObject
}
export interface GetExaminationStudentInfoResponse {
getExaminationStudentInfoRsp: ImageCompareRsp
}
export interface FaceCompareResp {
imageCompareRsp?: ImageCompareRsp
}
export interface ResponseDataType {
initializationRsp?: ImageCompareRsp
}
export interface ExaminerLoginInfo {
carId?: string;
examinationRoomId?: string;
examinerName?: string;
examinerPwd?: string;
username?: string;
kgxm?: string;
ksyh?: string;
plateNo?: string
isNeedCheck?: string
examSubject?: string
}
export interface SpzdType {
carId?: string;
examinationRoomId?: string;
examinerName?: string;
examinerPwd?: string;
username?: string;
kgxm?: string;
ksyh?: string;
}
export interface IdCard {
name?: string;
sex?: string;
nation?: string;
born?: string;
address?: string;
idCard?: string;
photo?: string;
}
export interface TimeInfo {
mode: string;
url: string;
paraKdid: string;
kdid: string;
carid: string;
ksdd: string;
}
export interface CarConfigurationInfoResponse {
body: CarConfigurationInfoResponseBody
}
interface CarConfigurationInfoResponseBody {
ES_CHECK_CAR_ITEM: Array<ES_CHECK_CAR_ITEMItem>;
}
interface ES_CHECK_CAR_ITEMItem {
ITEMS: string;
}
export interface ObtainCarExamInfoParams {
time: string
deviceNo: string
}
//监管接口参数
export interface RegulatoryInterfaceParams {
xtlb?: string;
jkxlh?: string;
jkid?: string;
drvexam?: DrvexamType
}
export interface BeginExamRequest {
keystr?: string;
message?: string | Resource;
code?: number
}
// { getExaminationItemRsp: { body: { ykxx: '' } } }
export interface GetExaminationItemRsp {
getExaminationItemRsp: GetExaminationItemRspDetails
}
interface GetExaminationItemRspDetails {
head?: Head;
body: GetExaminationItemRspBody;
}
interface GetExaminationItemRspBody {
ykxx: string;
}