package kyc type CNRidInfo struct { LegalName string `json:"legal_name"` ResidentId string `json:"resident_id"` } type PassportInfo struct { ID string `json:"id"` } type PassportResp struct { GivenNames string `json:"given_names"` Surname string `json:"surname"` Nationality string `json:"nationality"` DateOfBirth string `json:"date_of_birth"` DocumentType string `json:"document_type"` DocumentNumber string `json:"document_number"` ExpiryDate string `json:"expiry_date"` } type AliCloudAuth struct { ParamType string `json:"param_type"` IdentifyNum string `json:"identify_num"` UserName string `json:"user_name"` } type PassportReaderSessionResponse struct { ID int `json:"id"` Token string `json:"token"` } type PassportReaderGetSessionRequest struct { ID int `json:"id"` } type PassportReaderStateResponse struct { State string `json:"state"` } type PassportReaderSessionDetailResponse struct { State string `json:"state"` GivenNames string `json:"given_names"` Surname string `json:"surname"` Nationality string `json:"nationality"` DateOfBirth string `json:"date_of_birth"` DocumentType string `json:"document_type"` DocumentNumber string `json:"document_number"` ExpiryDate string `json:"expiry_date"` }