POST | /validid/add | Add a ValidID Search |
---|
"use strict";
export class Authentication {
/** @param {{apiUserId?:string,apiUserKey?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description The API User ID provided by us when you signed up to use our API */
apiUserId;
/**
* @type {string}
* @description The API User Key provided by us when you signed up to use our API */
apiUserKey;
}
export class BaseRequest {
/** @param {{authentication?:Authentication}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {Authentication}
* @description The authentication credentials */
authentication;
}
export class ResponseError {
/** @param {{errorCode?:string,fieldName?:string,message?:string,meta?:{ [index: string]: string; }}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
errorCode;
/** @type {string} */
fieldName;
/** @type {string} */
message;
/** @type {{ [index: string]: string; }} */
meta;
}
export class ArrayOfResponseError extends Array {
constructor(init) { super(init); Object.assign(this, init) }
}
export class ResponseStatus {
/** @param {{errorCode?:string,message?:string,stackTrace?:string,errors?:ArrayOfResponseError,meta?:{ [index: string]: string; }}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
errorCode;
/** @type {string} */
message;
/** @type {string} */
stackTrace;
/** @type {ArrayOfResponseError} */
errors;
/** @type {{ [index: string]: string; }} */
meta;
}
export class BaseResponse {
/** @param {{responseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {ResponseStatus}
* @description The status of the response */
responseStatus;
}
export class LinkedTo {
/** @param {{clientId?:number,id?:number,type?:string,subtype?:string,status?:string,description?:string,isArchived?:boolean,name?:string,date?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
clientId;
/** @type {?number} */
id;
/** @type {?string} */
type;
/** @type {?string} */
subtype;
/** @type {?string} */
status;
/** @type {?string} */
description;
/** @type {?boolean} */
isArchived;
/** @type {?string} */
name;
/** @type {?string} */
date;
}
export class ArrayOfLinkedTo extends Array {
constructor(init) { super(init); Object.assign(this, init) }
}
export class ValidIdBasicRequest {
/** @param {{name1?:string,name2?:string,name3?:string,dateOfBirth?:string,gender?:string,address1?:string,address2?:string,address3?:string,address4?:string,address5?:string,postCode?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
name1;
/** @type {string} */
name2;
/** @type {string} */
name3;
/** @type {?string} */
dateOfBirth;
/** @type {string} */
gender;
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
address4;
/** @type {string} */
address5;
/** @type {string} */
postCode;
}
export class ValidIdPassportRequest {
/** @param {{passport1?:string,passport2?:string,passport3?:string,passport4?:string,passport5?:string,passport6?:string,passport7?:string,passport8?:string,passportMrzLineOne1?:string,passportMrzLineOne2?:string,passportMrzLineOne3?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
passport1;
/** @type {string} */
passport2;
/** @type {string} */
passport3;
/** @type {string} */
passport4;
/** @type {string} */
passport5;
/** @type {string} */
passport6;
/** @type {string} */
passport7;
/** @type {string} */
passport8;
/** @type {string} */
passportMrzLineOne1;
/** @type {string} */
passportMrzLineOne2;
/** @type {string} */
passportMrzLineOne3;
}
export class ValidIdDrivingRequest {
/** @param {{driving1?:string,driving2?:string,driving3?:string,drivingPostcode?:string,drivingMailSort?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
driving1;
/** @type {string} */
driving2;
/** @type {string} */
driving3;
/** @type {string} */
drivingPostcode;
/** @type {string} */
drivingMailSort;
}
export class ValidIdBirthRequest {
/** @param {{birthForeName?:string,birthMiddleName?:string,birthSurname?:string,birthMaidenName?:string,birthDistrict?:string,birthCertIssueNum?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
birthForeName;
/** @type {string} */
birthMiddleName;
/** @type {string} */
birthSurname;
/** @type {string} */
birthMaidenName;
/** @type {string} */
birthDistrict;
/** @type {string} */
birthCertIssueNum;
}
export class ValidIdNIRequest {
/** @param {{niNumber?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
niNumber;
}
export class ValidIdNHSRequest {
/** @param {{nhsNumber?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
nhsNumber;
}
export class ValidIdElectricityRequest {
/** @param {{mpanNumber1?:string,mpanNumber2?:string,mpanNumber3?:string,mpanNumber4?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
mpanNumber1;
/** @type {string} */
mpanNumber2;
/** @type {string} */
mpanNumber3;
/** @type {string} */
mpanNumber4;
}
export class ValidIdBankRequest {
/** @param {{bankSortCode?:string,bankAccountNumber?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
bankSortCode;
/** @type {string} */
bankAccountNumber;
}
export class ValidIdCardNumberRequest {
/** @param {{cardNumber?:string,cardType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
cardNumber;
/** @type {string} */
cardType;
}
export class ValidIdTravelVisaRequest {
/** @param {{travelVisa1?:string,travelVisa2?:string,travelVisa3?:string,travelVisa4?:string,travelVisa5?:string,travelVisa6?:string,travelVisa7?:string,travelVisa8?:string,travelVisa9?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
travelVisa1;
/** @type {string} */
travelVisa2;
/** @type {string} */
travelVisa3;
/** @type {string} */
travelVisa4;
/** @type {string} */
travelVisa5;
/** @type {string} */
travelVisa6;
/** @type {string} */
travelVisa7;
/** @type {string} */
travelVisa8;
/** @type {string} */
travelVisa9;
}
export class ValidIdIdCardRequest {
/** @param {{idCard1?:string,idCard2?:string,idCard3?:string,idCard4?:string,idCard5?:string,idCard6?:string,idCard7?:string,idCard8?:string,idCard9?:string,idCard10?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
idCard1;
/** @type {string} */
idCard2;
/** @type {string} */
idCard3;
/** @type {string} */
idCard4;
/** @type {string} */
idCard5;
/** @type {string} */
idCard6;
/** @type {string} */
idCard7;
/** @type {string} */
idCard8;
/** @type {string} */
idCard9;
/** @type {string} */
idCard10;
}
export class ValidIdPollNumberRequest {
/** @param {{pollNumber?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
pollNumber;
}
export class ValidIdMarriageRequest {
/** @param {{forename?:string,surname?:string,partnerForename?:string,partnerSurname?:string,date?:string,district?:string,certIssueNum?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
forename;
/** @type {string} */
surname;
/** @type {string} */
partnerForename;
/** @type {string} */
partnerSurname;
/** @type {string} */
date;
/** @type {string} */
district;
/** @type {string} */
certIssueNum;
}
export class ValidIdResultSummary {
/** @param {{summaryStatus?:boolean,summaryId?:number,summaryReference?:string,summarySmartscore?:number,summaryResultText?:string,noticeOfCorrection?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
summaryStatus;
/** @type {?number} */
summaryId;
/** @type {string} */
summaryReference;
/** @type {?number} */
summarySmartscore;
/** @type {string} */
summaryResultText;
/** @type {string} */
noticeOfCorrection;
}
export class ValidIdResultErrors {
/** @param {{service?:string,details?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
service;
/** @type {string} */
details;
}
export class ValidIdDrivingResult {
/** @param {{drivingLicenseResultFlag?:boolean,drivingLicenseMailSortFlag?:boolean,drivingLicenseMiddleNameWarning?:boolean,drivingLicenceErrors?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
drivingLicenseResultFlag;
/** @type {boolean} */
drivingLicenseMailSortFlag;
/** @type {boolean} */
drivingLicenseMiddleNameWarning;
/** @type {string} */
drivingLicenceErrors;
}
export class ValidIdDOBResult {
/** @param {{dobTracesmartCount?:number,dobExperianCount?:number,dobEquifaxCount?:number,dobEquifaxSpecified?:boolean,dobEquifaxStatus?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
dobTracesmartCount;
/** @type {number} */
dobExperianCount;
/** @type {number} */
dobEquifaxCount;
/** @type {boolean} */
dobEquifaxSpecified;
/** @type {string} */
dobEquifaxStatus;
}
export class ValidIdNHSResult {
/** @param {{nhsResultFlag?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
nhsResultFlag;
}
export class ValidIdNIResult {
/** @param {{niResultFlag?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
niResultFlag;
}
export class ValidIdPassportResult {
/** @param {{passportMRZLine1Valid?:boolean,passportMRZValid?:boolean,passportDOBValid?:boolean,passportGenderValid?:boolean,passportExpiryValid?:boolean,passportNameValid?:boolean,passportErrors?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?boolean} */
passportMRZLine1Valid;
/** @type {boolean} */
passportMRZValid;
/** @type {boolean} */
passportDOBValid;
/** @type {boolean} */
passportGenderValid;
/** @type {?boolean} */
passportExpiryValid;
/** @type {?boolean} */
passportNameValid;
/** @type {string} */
passportErrors;
}
export class ValidIdPassportChipResult {
/** @param {{contentAuthenticity?:boolean,chipAuthenticity?:boolean,chipDataToImageDataMatch?:boolean,chipPhotoToImagePhotoMatch?:boolean,passportChipMrzLineOne?:string,passportChipMrzLineTwo?:string,passportChipMrzLineOneValid?:boolean,passportChipMrzLineTwoValid?:boolean,passportChipDOBValid?:boolean,passportChipGenderValid?:boolean,passportChipExpiryValid?:boolean,passportChipNameValid?:boolean,passportChipErrors?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
contentAuthenticity;
/** @type {boolean} */
chipAuthenticity;
/** @type {boolean} */
chipDataToImageDataMatch;
/** @type {boolean} */
chipPhotoToImagePhotoMatch;
/** @type {string} */
passportChipMrzLineOne;
/** @type {string} */
passportChipMrzLineTwo;
/** @type {?boolean} */
passportChipMrzLineOneValid;
/** @type {?boolean} */
passportChipMrzLineTwoValid;
/** @type {?boolean} */
passportChipDOBValid;
/** @type {?boolean} */
passportChipGenderValid;
/** @type {?boolean} */
passportChipExpiryValid;
/** @type {?boolean} */
passportChipNameValid;
/** @type {string} */
passportChipErrors;
}
export class ValidIdBirthResult {
/** @param {{birthResultFlag?:string,birthName?:string,birthMaidenName?:string,birthRegDate?:string,birthRegDistrict?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
birthResultFlag;
/** @type {string} */
birthName;
/** @type {string} */
birthMaidenName;
/** @type {string} */
birthRegDate;
/** @type {string} */
birthRegDistrict;
}
export class ValidIdElectricityResult {
/** @param {{mpanResultFlag?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
mpanResultFlag;
}
export class ValidIdBankResult {
/** @param {{bankAccountResultFlag?:boolean,bankAccountName?:string,bankAccountBranch?:string,bankAccountBACSPayments?:boolean,bankAccountCHAPSPayments?:boolean,bankAccountFasterPayments?:boolean,bankAccountDirectDebits?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
bankAccountResultFlag;
/** @type {string} */
bankAccountName;
/** @type {string} */
bankAccountBranch;
/** @type {boolean} */
bankAccountBACSPayments;
/** @type {boolean} */
bankAccountCHAPSPayments;
/** @type {boolean} */
bankAccountFasterPayments;
/** @type {boolean} */
bankAccountDirectDebits;
}
export class ValidIdCardNumberResult {
/** @param {{cardNumberValid?:boolean,cardTypeValid?:boolean,cardTypeConfirm?:string,cardFraudCheck?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
cardNumberValid;
/** @type {boolean} */
cardTypeValid;
/** @type {string} */
cardTypeConfirm;
/** @type {string} */
cardFraudCheck;
}
export class ValidIdCreditActiveResult {
/** @param {{creditActiveAccounts?:number,creditActiveLenders?:number,creditActiveCIFAS?:string,creditActiveCAIS?:number,creditActiveInsightAccounts?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
creditActiveAccounts;
/** @type {number} */
creditActiveLenders;
/** @type {string} */
creditActiveCIFAS;
/** @type {number} */
creditActiveCAIS;
/** @type {number} */
creditActiveInsightAccounts;
}
export class ValidIdAddressOccupantsResult {
/** @param {{name?:string,dob?:string,recency?:string,residency?:string,telephone?:string,telephoneName?:string,source?:string,residencyScore?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
name;
/** @type {?string} */
dob;
/** @type {?string} */
recency;
/** @type {string} */
residency;
/** @type {string} */
telephone;
/** @type {string} */
telephoneName;
/** @type {string} */
source;
/** @type {string} */
residencyScore;
}
export class ValidIdAddressSaleResult {
/** @param {{type?:string,tenure?:string,date?:string,price?:string,silhouette?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
type;
/** @type {string} */
tenure;
/** @type {?string} */
date;
/** @type {string} */
price;
/** @type {string} */
silhouette;
}
export class ValidIdAddressResult {
/** @param {{addressForename?:string,addressMiddleName?:string,addressSurname?:string,addressMatchType?:string,addressDOB?:string,addressForenameAppended?:boolean,addressMiddleNameAppended?:boolean,addressDOBAppended?:boolean,addressTelephone?:string,addressTelephoneName?:string,addressGoneAway?:string,addressSource?:string,credivaFullER?:boolean,addressValidated?:boolean,addressRecency?:string,occupants?:ValidIdAddressOccupantsResult[],sales?:ValidIdAddressSaleResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
addressForename;
/** @type {string} */
addressMiddleName;
/** @type {string} */
addressSurname;
/** @type {string} */
addressMatchType;
/** @type {?string} */
addressDOB;
/** @type {boolean} */
addressForenameAppended;
/** @type {boolean} */
addressMiddleNameAppended;
/** @type {boolean} */
addressDOBAppended;
/** @type {string} */
addressTelephone;
/** @type {string} */
addressTelephoneName;
/** @type {string} */
addressGoneAway;
/** @type {string} */
addressSource;
/** @type {boolean} */
credivaFullER;
/** @type {?boolean} */
addressValidated;
/** @type {?string} */
addressRecency;
/** @type {ValidIdAddressOccupantsResult[]} */
occupants;
/** @type {ValidIdAddressSaleResult[]} */
sales;
}
export class ValidIdSmartlinkAddressResult {
/** @param {{title?:string,forename?:string,middleName?:string,surname?:string,dob?:string,address1?:string,address2?:string,address3?:string,address4?:string,address5?:string,postCode?:string,deliveryPointSuffix?:string,recency?:string,residency?:string,linkSource?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
title;
/** @type {string} */
forename;
/** @type {string} */
middleName;
/** @type {string} */
surname;
/** @type {?string} */
dob;
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
address4;
/** @type {string} */
address5;
/** @type {string} */
postCode;
/** @type {string} */
deliveryPointSuffix;
/** @type {?string} */
recency;
/** @type {string} */
residency;
/** @type {string} */
linkSource;
}
export class ValidIdSmartlinkResult {
/** @param {{addresses?:ValidIdSmartlinkAddressResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ValidIdSmartlinkAddressResult[]} */
addresses;
}
export class ValidIdDeathscreenDeathResult {
/** @param {{forename?:string,secondName?:string,thirdName?:string,fourthName?:string,surname?:string,district?:string,dob?:string,dod?:string,dor?:string,volumeNo?:string,distNo?:string,pageNo?:string,regNo?:string,entryNo?:string,placeOfBirth?:string,maidenName?:string,groReference?:string,address1?:string,address2?:string,address3?:string,address4?:string,address5?:string,postCode?:string,matchType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
forename;
/** @type {string} */
secondName;
/** @type {string} */
thirdName;
/** @type {string} */
fourthName;
/** @type {string} */
surname;
/** @type {string} */
district;
/** @type {?string} */
dob;
/** @type {?string} */
dod;
/** @type {string} */
dor;
/** @type {string} */
volumeNo;
/** @type {string} */
distNo;
/** @type {string} */
pageNo;
/** @type {string} */
regNo;
/** @type {string} */
entryNo;
/** @type {string} */
placeOfBirth;
/** @type {string} */
maidenName;
/** @type {string} */
groReference;
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
address4;
/** @type {string} */
address5;
/** @type {string} */
postCode;
/** @type {string} */
matchType;
}
export class ValidIdDeathscreenResult {
/** @param {{deaths?:ValidIdDeathscreenDeathResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ValidIdDeathscreenDeathResult[]} */
deaths;
}
export class ValidIdPEPPersonAddressResult {
/** @param {{address1?:string,address2?:string,address3?:string,address4?:string,address5?:string,postCode?:string,deliveryPointSuffix?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
address4;
/** @type {string} */
address5;
/** @type {string} */
postCode;
/** @type {string} */
deliveryPointSuffix;
}
export class ValidIdPEPPersonAliasResult {
/** @param {{name?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
name;
}
export class ValidIdPEPPersonPositionResult {
/** @param {{position?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
position;
}
export class ValidIdPEPPersonResult {
/** @param {{name?:string,recency?:string,dob?:string,addresses?:ValidIdPEPPersonAddressResult[],aliases?:ValidIdPEPPersonAliasResult[],positions?:ValidIdPEPPersonPositionResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
name;
/** @type {?string} */
recency;
/** @type {string} */
dob;
/** @type {ValidIdPEPPersonAddressResult[]} */
addresses;
/** @type {ValidIdPEPPersonAliasResult[]} */
aliases;
/** @type {ValidIdPEPPersonPositionResult[]} */
positions;
}
export class ValidIdPEPResult {
/** @param {{pepPersons?:ValidIdPEPPersonResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ValidIdPEPPersonResult[]} */
pepPersons;
}
export class ValidIdCCJCaseResult {
/** @param {{name?:string,dob?:string,address1?:string,address2?:string,address3?:string,address4?:string,address5?:string,postCode?:string,judgementDate?:string,judgementType?:string,amount?:string,caseNo?:string,courtName?:string,dateEnd?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
name;
/** @type {?string} */
dob;
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
address4;
/** @type {string} */
address5;
/** @type {string} */
postCode;
/** @type {?string} */
judgementDate;
/** @type {string} */
judgementType;
/** @type {string} */
amount;
/** @type {string} */
caseNo;
/** @type {string} */
courtName;
/** @type {?string} */
dateEnd;
}
export class ValidIdCCJResult {
/** @param {{ccJs?:ValidIdCCJCaseResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ValidIdCCJCaseResult[]} */
ccJs;
}
export class ValidIdInsolvencyCaseResult {
/** @param {{type?:string,caseType?:string,name?:string,caseNo?:string,address1?:string,address2?:string,address3?:string,address4?:string,address5?:string,postCode?:string,deliveryPointSuffix?:string,dob?:string,court?:string,startDate?:string,status?:string,occupation?:string,aliases?:string,description?:string,serviceOffice?:string,telephoneNumber?:string,tradingNames?:string,debtTotal?:string,assetTotal?:string,previousAddress1?:string,previousAddress2?:string,previousAddress3?:string,previousAddress4?:string,previousAddress5?:string,previousPostCode?:string,previousDeliveryPointSuffix?:string,presentationDate?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
type;
/** @type {string} */
caseType;
/** @type {string} */
name;
/** @type {string} */
caseNo;
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
address4;
/** @type {string} */
address5;
/** @type {string} */
postCode;
/** @type {string} */
deliveryPointSuffix;
/** @type {?string} */
dob;
/** @type {string} */
court;
/** @type {?string} */
startDate;
/** @type {string} */
status;
/** @type {string} */
occupation;
/** @type {string} */
aliases;
/** @type {string} */
description;
/** @type {string} */
serviceOffice;
/** @type {string} */
telephoneNumber;
/** @type {string} */
tradingNames;
/** @type {string} */
debtTotal;
/** @type {string} */
assetTotal;
/** @type {string} */
previousAddress1;
/** @type {string} */
previousAddress2;
/** @type {string} */
previousAddress3;
/** @type {string} */
previousAddress4;
/** @type {string} */
previousAddress5;
/** @type {string} */
previousPostCode;
/** @type {string} */
previousDeliveryPointSuffix;
/** @type {?string} */
presentationDate;
}
export class ValidIdInsolvencyResult {
/** @param {{insolvencies?:ValidIdInsolvencyCaseResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ValidIdInsolvencyCaseResult[]} */
insolvencies;
}
export class ValidIdTravelVisaResult {
/** @param {{visaMRZValid?:boolean,visaInDate?:boolean,visaUKResidenceValid?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
visaMRZValid;
/** @type {boolean} */
visaInDate;
/** @type {boolean} */
visaUKResidenceValid;
}
export class ValidIdIdCardResult {
/** @param {{idCardMRZValid?:boolean,idCardDOBValid?:boolean,idCardGenderValid?:boolean,idCardExpiryValid?:boolean,idCardCountryValid?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
idCardMRZValid;
/** @type {boolean} */
idCardDOBValid;
/** @type {boolean} */
idCardGenderValid;
/** @type {boolean} */
idCardExpiryValid;
/** @type {boolean} */
idCardCountryValid;
}
export class ValidIdBankLiveResult {
/** @param {{bankLiveSortcode?:string,bankLiveNumber?:string,bankLiveName?:string,bankLiveAddress?:string,bankLiveStatus?:string,bankLiveError?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
bankLiveSortcode;
/** @type {string} */
bankLiveNumber;
/** @type {string} */
bankLiveName;
/** @type {string} */
bankLiveAddress;
/** @type {string} */
bankLiveStatus;
/** @type {string} */
bankLiveError;
}
export class ValidIdCompanyAppointmentResult {
/** @param {{title?:string,name?:string,address?:string,dob?:string,occupation?:string,nationality?:string,appointmentDate?:string,appointmentType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
title;
/** @type {string} */
name;
/** @type {string} */
address;
/** @type {?string} */
dob;
/** @type {string} */
occupation;
/** @type {string} */
nationality;
/** @type {?string} */
appointmentDate;
/** @type {string} */
appointmentType;
}
export class ValidIdCompanyDirectorshipResult {
/** @param {{matchType?:string,dateAppointed?:string,companyRegNo?:string,companyName?:string,registeredOffice?:string,appointments?:ValidIdCompanyAppointmentResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
matchType;
/** @type {?string} */
dateAppointed;
/** @type {string} */
companyRegNo;
/** @type {string} */
companyName;
/** @type {string} */
registeredOffice;
/** @type {ValidIdCompanyAppointmentResult[]} */
appointments;
}
export class ValidIdCompanyDirectorResult {
/** @param {{directorships?:ValidIdCompanyDirectorshipResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ValidIdCompanyDirectorshipResult[]} */
directorships;
}
export class ValidIdSearchActivityHistoryResult {
/** @param {{businesActivity?:string,date?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
businesActivity;
/** @type {?string} */
date;
}
export class ValidIdSearchActivityItemResult {
/** @param {{profileType?:string,oneMonth?:number,threeMonth?:number,sixMonth?:number,history?:ValidIdSearchActivityHistoryResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
profileType;
/** @type {?number} */
oneMonth;
/** @type {?number} */
threeMonth;
/** @type {?number} */
sixMonth;
/** @type {ValidIdSearchActivityHistoryResult[]} */
history;
}
export class ValidIdSearchActivityResult {
/** @param {{activity?:ValidIdSearchActivityItemResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ValidIdSearchActivityItemResult[]} */
activity;
}
export class ValidIdPRSResult {
/** @param {{matchResult?:string,propertyOwnership?:string,titleNumber?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
matchResult;
/** @type {string} */
propertyOwnership;
/** @type {string} */
titleNumber;
}
export class ValidIdPollNumberResult {
/** @param {{pollNumberMatch?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
pollNumberMatch;
}
export class ValidIdOnlineProfileResult {
/** @param {{onlineProfileStatus?:number,onlineTwitterUsername?:string,onlineTwitterActivityMonth1?:number,onlineTwitterActivityMonth2?:number,onlineTwitterActivityMonth3?:number,onlineTwitterActivityMonth4?:number,onlineTwitterActivityMonth5?:number,onlineTwitterActivityMonth6?:number,onlineTwitterActivityMonth7?:number,onlineTwitterActivityMonth8?:number,onlineTwitterActivityMonth9?:number,onlineTwitterActivityMonth10?:number,onlineTwitterActivityMonth11?:number,onlineTwitterActivityMonth12?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
onlineProfileStatus;
/** @type {string} */
onlineTwitterUsername;
/** @type {?number} */
onlineTwitterActivityMonth1;
/** @type {?number} */
onlineTwitterActivityMonth2;
/** @type {?number} */
onlineTwitterActivityMonth3;
/** @type {?number} */
onlineTwitterActivityMonth4;
/** @type {?number} */
onlineTwitterActivityMonth5;
/** @type {?number} */
onlineTwitterActivityMonth6;
/** @type {?number} */
onlineTwitterActivityMonth7;
/** @type {?number} */
onlineTwitterActivityMonth8;
/** @type {?number} */
onlineTwitterActivityMonth9;
/** @type {?number} */
onlineTwitterActivityMonth10;
/** @type {?number} */
onlineTwitterActivityMonth11;
/** @type {?number} */
onlineTwitterActivityMonth12;
}
export class ValidIdMarriageResult {
/** @param {{marriageCertFlag?:number,marriageResultFlag?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
marriageCertFlag;
/** @type {?number} */
marriageResultFlag;
}
export class ValidIdAgeResult {
/** @param {{ageIsAboveLower?:boolean,ageIsBelowUpper?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?boolean} */
ageIsAboveLower;
/** @type {?boolean} */
ageIsBelowUpper;
}
export class ValidIdResult {
/** @param {{summaryResult?:ValidIdResultSummary,errors?:ValidIdResultErrors[],drivingResult?:ValidIdDrivingResult,dobResult?:ValidIdDOBResult,nhsResult?:ValidIdNHSResult,niResult?:ValidIdNIResult,passportResult?:ValidIdPassportResult,passportChipResult?:ValidIdPassportChipResult,birthResult?:ValidIdBirthResult,electricityResult?:ValidIdElectricityResult,bankResult?:ValidIdBankResult,cardNumberResult?:ValidIdCardNumberResult,creditActiveResult?:ValidIdCreditActiveResult,addressResult?:ValidIdAddressResult,smartlinkResult?:ValidIdSmartlinkResult,deathscreenResult?:ValidIdDeathscreenResult,pepResult?:ValidIdPEPResult,ccjResult?:ValidIdCCJResult,insolvencyResult?:ValidIdInsolvencyResult,travelVisaResult?:ValidIdTravelVisaResult,idCardResult?:ValidIdIdCardResult,bankLiveResult?:ValidIdBankLiveResult,companyDirectorResult?:ValidIdCompanyDirectorResult,searchActivityResult?:ValidIdSearchActivityResult,prsResult?:ValidIdPRSResult,pollNumberResult?:ValidIdPollNumberResult,onlineProfileResult?:ValidIdOnlineProfileResult,marriageResult?:ValidIdMarriageResult,ageResult?:ValidIdAgeResult}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ValidIdResultSummary} */
summaryResult;
/** @type {ValidIdResultErrors[]} */
errors;
/** @type {ValidIdDrivingResult} */
drivingResult;
/** @type {ValidIdDOBResult} */
dobResult;
/** @type {ValidIdNHSResult} */
nhsResult;
/** @type {ValidIdNIResult} */
niResult;
/** @type {ValidIdPassportResult} */
passportResult;
/** @type {ValidIdPassportChipResult} */
passportChipResult;
/** @type {ValidIdBirthResult} */
birthResult;
/** @type {ValidIdElectricityResult} */
electricityResult;
/** @type {ValidIdBankResult} */
bankResult;
/** @type {ValidIdCardNumberResult} */
cardNumberResult;
/** @type {ValidIdCreditActiveResult} */
creditActiveResult;
/** @type {ValidIdAddressResult} */
addressResult;
/** @type {ValidIdSmartlinkResult} */
smartlinkResult;
/** @type {ValidIdDeathscreenResult} */
deathscreenResult;
/** @type {ValidIdPEPResult} */
pepResult;
/** @type {ValidIdCCJResult} */
ccjResult;
/** @type {ValidIdInsolvencyResult} */
insolvencyResult;
/** @type {ValidIdTravelVisaResult} */
travelVisaResult;
/** @type {ValidIdIdCardResult} */
idCardResult;
/** @type {ValidIdBankLiveResult} */
bankLiveResult;
/** @type {ValidIdCompanyDirectorResult} */
companyDirectorResult;
/** @type {ValidIdSearchActivityResult} */
searchActivityResult;
/** @type {ValidIdPRSResult} */
prsResult;
/** @type {ValidIdPollNumberResult} */
pollNumberResult;
/** @type {ValidIdOnlineProfileResult} */
onlineProfileResult;
/** @type {ValidIdMarriageResult} */
marriageResult;
/** @type {ValidIdAgeResult} */
ageResult;
}
export class SearchCriteria {
/** @param {{name?:string,address?:string,country?:string,dateOfBirth?:string,nationality?:string,reference?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
name;
/** @type {string} */
address;
/** @type {string} */
country;
/** @type {string} */
dateOfBirth;
/** @type {string} */
nationality;
/** @type {string} */
reference;
}
export class SearchResultEuAddress {
/** @param {{street?:string,city?:string,country?:string,postCode?:string,other?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
street;
/** @type {string} */
city;
/** @type {string} */
country;
/** @type {string} */
postCode;
/** @type {string} */
other;
}
export class SearchResultEuBirth {
/** @param {{date?:string,place?:string,country?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
date;
/** @type {string} */
place;
/** @type {string} */
country;
}
export class SearchResultOfacEuCitizenship {
/** @param {{country?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
country;
}
export class SearchResultEuName {
/** @param {{fullName?:string,gender?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
fullName;
/** @type {string} */
gender;
}
export class SearchResultEuPassport {
/** @param {{number?:string,country?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
number;
/** @type {string} */
country;
}
export class SearchResultEu {
/** @param {{resultStrength?:number,resultSimilarity?:number,resultResolved?:boolean,resultType?:string,dateUpdated?:string,addresses?:SearchResultEuAddress[],births?:SearchResultEuBirth[],citizenships?:SearchResultOfacEuCitizenship[],names?:SearchResultEuName[],passports?:SearchResultEuPassport[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
resultStrength;
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
resultType;
/** @type {string} */
dateUpdated;
/** @type {SearchResultEuAddress[]} */
addresses;
/** @type {SearchResultEuBirth[]} */
births;
/** @type {SearchResultOfacEuCitizenship[]} */
citizenships;
/** @type {SearchResultEuName[]} */
names;
/** @type {SearchResultEuPassport[]} */
passports;
}
export class SearchResultHmTreasury {
/** @param {{resultStrength?:number,resultSimilarity?:number,resultResolved?:boolean,resultType?:string,dateListed?:string,dateUpdated?:string,name1?:string,name2?:string,name3?:string,name4?:string,name5?:string,name6?:string,dateOfBirth?:string,countryOfBirth?:string,nationality?:string,address1?:string,address2?:string,address3?:string,address4?:string,address5?:string,address6?:string,postCode?:string,country?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
resultStrength;
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
resultType;
/** @type {string} */
dateListed;
/** @type {string} */
dateUpdated;
/** @type {string} */
name1;
/** @type {string} */
name2;
/** @type {string} */
name3;
/** @type {string} */
name4;
/** @type {string} */
name5;
/** @type {string} */
name6;
/** @type {string} */
dateOfBirth;
/** @type {string} */
countryOfBirth;
/** @type {string} */
nationality;
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
address4;
/** @type {string} */
address5;
/** @type {string} */
address6;
/** @type {string} */
postCode;
/** @type {string} */
country;
}
export class SearchResultOfacAddress {
/** @param {{address1?:string,address2?:string,address3?:string,city?:string,state?:string,postCode?:string,country?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
city;
/** @type {string} */
state;
/** @type {string} */
postCode;
/** @type {string} */
country;
}
export class SearchResultOfacAka {
/** @param {{firstName?:string,lastName?:string,type?:string,strength?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
firstName;
/** @type {string} */
lastName;
/** @type {string} */
type;
/** @type {string} */
strength;
}
export class SearchResultOfacDateOfBirth {
/** @param {{dateOfBirth?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
dateOfBirth;
}
export class SearchResultOfacNationality {
/** @param {{country?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
country;
}
export class SearchResultOfacPlaceOfBirth {
/** @param {{placeOfBirth?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
placeOfBirth;
}
export class SearchResultOfac {
/** @param {{resultStrength?:number,resultSimilarity?:number,resultResolved?:boolean,resultType?:string,dateUpdated?:string,firstName?:string,lastName?:string,addresses?:SearchResultOfacAddress[],akas?:SearchResultOfacAka[],dateOfBirths?:SearchResultOfacDateOfBirth[],nationalities?:SearchResultOfacNationality[],placeOfBirths?:SearchResultOfacPlaceOfBirth[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
resultStrength;
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
resultType;
/** @type {string} */
dateUpdated;
/** @type {string} */
firstName;
/** @type {string} */
lastName;
/** @type {SearchResultOfacAddress[]} */
addresses;
/** @type {SearchResultOfacAka[]} */
akas;
/** @type {SearchResultOfacDateOfBirth[]} */
dateOfBirths;
/** @type {SearchResultOfacNationality[]} */
nationalities;
/** @type {SearchResultOfacPlaceOfBirth[]} */
placeOfBirths;
}
export class SearchResultDfat {
/** @param {{resultStrength?:number,resultSimilarity?:number,resultResolved?:boolean,resultType?:string,dateUpdated?:string,fullName?:string,address?:string,dateOfBirth?:string,placeOfBirth?:string,nationality?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
resultStrength;
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
resultType;
/** @type {string} */
dateUpdated;
/** @type {string} */
fullName;
/** @type {string} */
address;
/** @type {string} */
dateOfBirth;
/** @type {string} */
placeOfBirth;
/** @type {string} */
nationality;
}
export class SearchResultOsfi {
/** @param {{resultStrength?:number,resultSimilarity?:number,resultResolved?:boolean,resultType?:string,dateUpdated?:string,fullName?:string,address?:string,dateOfBirth?:string,placeOfBirth?:string,nationality?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
resultStrength;
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
resultType;
/** @type {string} */
dateUpdated;
/** @type {string} */
fullName;
/** @type {string} */
address;
/** @type {string} */
dateOfBirth;
/** @type {string} */
placeOfBirth;
/** @type {string} */
nationality;
}
export class SearchResultCanadianJustice {
/** @param {{resultStrength?:number,resultSimilarity?:number,resultResolved?:boolean,resultType?:string,dateUpdated?:string,name?:string,dateOfBirth?:string,country?:string,refId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
resultStrength;
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
resultType;
/** @type {string} */
dateUpdated;
/** @type {string} */
name;
/** @type {string} */
dateOfBirth;
/** @type {string} */
country;
/** @type {number} */
refId;
}
export class SearchResultCanadianSema {
/** @param {{resultStrength?:number,resultSimilarity?:number,resultResolved?:boolean,resultType?:string,dateUpdated?:string,name?:string,dateOfBirth?:string,country?:string,schedule?:string,item?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
resultStrength;
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
resultType;
/** @type {string} */
dateUpdated;
/** @type {string} */
name;
/** @type {string} */
dateOfBirth;
/** @type {string} */
country;
/** @type {string} */
schedule;
/** @type {string} */
item;
}
export class SearchResultAddress {
/** @param {{searchResultAddressId?:number,type?:string,address1?:string,address2?:string,address3?:string,city?:string,county?:string,postCode?:string,country?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
searchResultAddressId;
/** @type {string} */
type;
/** @type {string} */
address1;
/** @type {string} */
address2;
/** @type {string} */
address3;
/** @type {string} */
city;
/** @type {string} */
county;
/** @type {string} */
postCode;
/** @type {string} */
country;
}
export class SearchResultDateOfBirth {
/** @param {{searchResultDateOfBirthId?:number,dateOfBirth?:string,year?:number,month?:number,day?:number,type?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
searchResultDateOfBirthId;
/** @type {string} */
dateOfBirth;
/** @type {?number} */
year;
/** @type {?number} */
month;
/** @type {?number} */
day;
/** @type {string} */
type;
}
export class SearchResultName {
/** @param {{searchResultNameId?:number,type?:string,title?:string,fullName?:string,resultSimilarity?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
searchResultNameId;
/** @type {string} */
type;
/** @type {string} */
title;
/** @type {string} */
fullName;
/** @type {number} */
resultSimilarity;
}
export class SearchResultNationality {
/** @param {{searchResultNationalityId?:number,nationality?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
searchResultNationalityId;
/** @type {string} */
nationality;
}
export class SearchResultPlaceOfBirth {
/** @param {{searchResultPlaceOfBirthId?:number,placeOfBirth?:string,countryOfBirth?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
searchResultPlaceOfBirthId;
/** @type {string} */
placeOfBirth;
/** @type {string} */
countryOfBirth;
}
export class SearchResultRemark {
/** @param {{searchResultRemarkId?:number,name?:string,description?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
searchResultRemarkId;
/** @type {string} */
name;
/** @type {string} */
description;
}
export class SearchResultEntry {
/** @param {{searchResultId?:number,resultStrength?:number,resultSimilarity?:number,resultResolved?:boolean,resultType?:string,dateUpdated?:string,sanctionsListId?:string,sanctionsListName?:string,addresses?:SearchResultAddress[],datesOfBirth?:SearchResultDateOfBirth[],names?:SearchResultName[],nationalities?:SearchResultNationality[],placesOfBirth?:SearchResultPlaceOfBirth[],remarks?:SearchResultRemark[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
searchResultId;
/** @type {number} */
resultStrength;
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
resultType;
/** @type {?string} */
dateUpdated;
/** @type {string} */
sanctionsListId;
/** @type {string} */
sanctionsListName;
/** @type {SearchResultAddress[]} */
addresses;
/** @type {SearchResultDateOfBirth[]} */
datesOfBirth;
/** @type {SearchResultName[]} */
names;
/** @type {SearchResultNationality[]} */
nationalities;
/** @type {SearchResultPlaceOfBirth[]} */
placesOfBirth;
/** @type {SearchResultRemark[]} */
remarks;
}
export class SearchResults {
/** @param {{euResults?:SearchResultEu[],hmtResults?:SearchResultHmTreasury[],hmtUkraineResults?:SearchResultHmTreasury[],ofacResults?:SearchResultOfac[],ofacConsolidatedResults?:SearchResultOfac[],dfatResults?:SearchResultDfat[],osfiResults?:SearchResultOsfi[],canadianJusticeResults?:SearchResultCanadianJustice[],canadianSemaResults?:SearchResultCanadianSema[],swissSecoResults?:SearchResultEntry[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {SearchResultEu[]} */
euResults;
/** @type {SearchResultHmTreasury[]} */
hmtResults;
/** @type {SearchResultHmTreasury[]} */
hmtUkraineResults;
/** @type {SearchResultOfac[]} */
ofacResults;
/** @type {SearchResultOfac[]} */
ofacConsolidatedResults;
/** @type {SearchResultDfat[]} */
dfatResults;
/** @type {SearchResultOsfi[]} */
osfiResults;
/** @type {SearchResultCanadianJustice[]} */
canadianJusticeResults;
/** @type {SearchResultCanadianSema[]} */
canadianSemaResults;
/** @type {SearchResultEntry[]} */
swissSecoResults;
}
export class SearchSource {
/** @param {{listId?:string,listName?:string,listShortName?:string,isAffectedByListUpdate?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
listId;
/** @type {string} */
listName;
/** @type {string} */
listShortName;
/** @type {?boolean} */
isAffectedByListUpdate;
}
export class ArrayOfSearchResultEntries extends Array {
constructor(init) { super(init); Object.assign(this, init) }
}
export class SearchRecord {
/** @param {{id?:number,searchType?:string,dateSearched?:string,dateUpdated?:string,dateArchived?:string,isArchived?:boolean,numOfResults?:number,clientInResults?:boolean,clientNotInResults?:boolean,affectedByUpdate?:boolean,searchCriteria?:SearchCriteria,searchResults?:SearchResults,searchSources?:SearchSource[],listSearchResults?:ArrayOfSearchResultEntries}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
id;
/** @type {string} */
searchType;
/** @type {string} */
dateSearched;
/** @type {string} */
dateUpdated;
/** @type {?string} */
dateArchived;
/** @type {boolean} */
isArchived;
/** @type {number} */
numOfResults;
/** @type {boolean} */
clientInResults;
/** @type {boolean} */
clientNotInResults;
/** @type {boolean} */
affectedByUpdate;
/** @type {SearchCriteria} */
searchCriteria;
/** @type {SearchResults} */
searchResults;
/** @type {SearchSource[]} */
searchSources;
/** @type {ArrayOfSearchResultEntries} */
listSearchResults;
}
export class PepSearchResultAddress {
/** @param {{addressLine1?:string,addressLine2?:string,addressLine3?:string,addressLine4?:string,town?:string,county?:string,postCode?:string,country?:string,isoCountry?:string,softDelete?:boolean,dateLastUpdated?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
addressLine1;
/** @type {string} */
addressLine2;
/** @type {string} */
addressLine3;
/** @type {string} */
addressLine4;
/** @type {string} */
town;
/** @type {string} */
county;
/** @type {string} */
postCode;
/** @type {string} */
country;
/** @type {string} */
isoCountry;
/** @type {?boolean} */
softDelete;
/** @type {string} */
dateLastUpdated;
}
export class PepSearchResultAlias {
/** @param {{forename?:string,middleName?:string,surname?:string,softDelete?:boolean,dateOfSoftDelete?:string,dateLastUpdated?:string,title?:string,alternateTitle?:string,businessName?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
forename;
/** @type {string} */
middleName;
/** @type {string} */
surname;
/** @type {?boolean} */
softDelete;
/** @type {?string} */
dateOfSoftDelete;
/** @type {string} */
dateLastUpdated;
/** @type {string} */
title;
/** @type {string} */
alternateTitle;
/** @type {string} */
businessName;
}
export class PepSearchResultArticleSnippet {
/** @param {{title?:string,text?:string,adverseTerms?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
title;
/** @type {string} */
text;
/** @type {string} */
adverseTerms;
}
export class PepSearchResultArticle {
/** @param {{url?:string,originalUrl?:string,source?:string,dateOfCapture?:string,dateLastUpdated?:string,snippets?:PepSearchResultArticleSnippet[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
url;
/** @type {string} */
originalUrl;
/** @type {string} */
source;
/** @type {?string} */
dateOfCapture;
/** @type {string} */
dateLastUpdated;
/** @type {PepSearchResultArticleSnippet[]} */
snippets;
}
export class PepSearchResultIndividualAssociation {
/** @param {{linkDescription?:string,softDelete?:boolean,dateLastUpdated?:string,fullName?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
linkDescription;
/** @type {?boolean} */
softDelete;
/** @type {string} */
dateLastUpdated;
/** @type {string} */
fullName;
}
export class PepSearchResultBusinessAssociation {
/** @param {{linkDescription?:string,softDelete?:boolean,dateLastUpdated?:string,businessName?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
linkDescription;
/** @type {?boolean} */
softDelete;
/** @type {string} */
dateLastUpdated;
/** @type {string} */
businessName;
}
export class PepSearchResultNote {
/** @param {{source?:string,notes?:string,softDelete?:boolean,dateLastUpdated?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
source;
/** @type {string} */
notes;
/** @type {?boolean} */
softDelete;
/** @type {string} */
dateLastUpdated;
}
export class PepSearchResultPoliticalPosition {
/** @param {{description?:string,from?:string,to?:string,country?:string,softDelete?:boolean,dateLastUpdated?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
description;
/** @type {string} */
from;
/** @type {string} */
to;
/** @type {string} */
country;
/** @type {?boolean} */
softDelete;
/** @type {string} */
dateLastUpdated;
}
export class PepSearchResult {
/** @param {{resultSimilarity?:number,resultResolved?:boolean,dateLastUpdated?:string,resultIsClient?:boolean,id?:number,type?:string,title?:string,forename?:string,middlename?:string,surname?:string,softDelete?:boolean,dateOfSoftDelete?:string,dateOfCapture?:string,dateOfBirth?:string,dateOfDeath?:string,yearOfBirth?:number,yearOfDeath?:number,gender?:string,homeTelephone?:string,businessTelephone?:string,mobileTelephone?:string,fax?:string,email?:string,nationality?:string,source?:string,category?:string,picture?:string,alternateTitle?:string,businessName?:string,description?:string,telephone?:string,website?:string,pepTier?:number,addresses?:PepSearchResultAddress[],aliases?:PepSearchResultAlias[],articles?:PepSearchResultArticle[],associations?:PepSearchResultIndividualAssociation[],businessAssociations?:PepSearchResultBusinessAssociation[],notes?:PepSearchResultNote[],politicalPositions?:PepSearchResultPoliticalPosition[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
resultSimilarity;
/** @type {boolean} */
resultResolved;
/** @type {string} */
dateLastUpdated;
/** @type {boolean} */
resultIsClient;
/** @type {number} */
id;
/** @type {string} */
type;
/** @type {string} */
title;
/** @type {string} */
forename;
/** @type {string} */
middlename;
/** @type {string} */
surname;
/** @type {?boolean} */
softDelete;
/** @type {?string} */
dateOfSoftDelete;
/** @type {?string} */
dateOfCapture;
/** @type {?string} */
dateOfBirth;
/** @type {?string} */
dateOfDeath;
/** @type {?number} */
yearOfBirth;
/** @type {?number} */
yearOfDeath;
/** @type {string} */
gender;
/** @type {string} */
homeTelephone;
/** @type {string} */
businessTelephone;
/** @type {string} */
mobileTelephone;
/** @type {string} */
fax;
/** @type {string} */
email;
/** @type {string} */
nationality;
/** @type {string} */
source;
/** @type {string} */
category;
/** @type {string} */
picture;
/** @type {string} */
alternateTitle;
/** @type {string} */
businessName;
/** @type {string} */
description;
/** @type {string} */
telephone;
/** @type {string} */
website;
/** @type {?number} */
pepTier;
/** @type {PepSearchResultAddress[]} */
addresses;
/** @type {PepSearchResultAlias[]} */
aliases;
/** @type {PepSearchResultArticle[]} */
articles;
/** @type {PepSearchResultIndividualAssociation[]} */
associations;
/** @type {PepSearchResultBusinessAssociation[]} */
businessAssociations;
/** @type {PepSearchResultNote[]} */
notes;
/** @type {PepSearchResultPoliticalPosition[]} */
politicalPositions;
}
export class PepSearchResults {
/** @param {{results?:PepSearchResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {PepSearchResult[]} */
results;
}
export class PepSearchRecord {
/** @param {{id?:number,searchType?:string,dateSearched?:string,dateUpdated?:string,dateRenewal?:string,dateArchived?:string,isArchived?:boolean,numOfResults?:number,clientInResults?:boolean,clientNotInResults?:boolean,affectedByUpdate?:boolean,isDayOneSearch?:boolean,searchCriteria?:SearchCriteria,searchResults?:PepSearchResults}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
id;
/** @type {string} */
searchType;
/** @type {string} */
dateSearched;
/** @type {string} */
dateUpdated;
/** @type {?string} */
dateRenewal;
/** @type {?string} */
dateArchived;
/** @type {boolean} */
isArchived;
/** @type {number} */
numOfResults;
/** @type {boolean} */
clientInResults;
/** @type {boolean} */
clientNotInResults;
/** @type {boolean} */
affectedByUpdate;
/** @type {boolean} */
isDayOneSearch;
/** @type {SearchCriteria} */
searchCriteria;
/** @type {PepSearchResults} */
searchResults;
}
export class ValidIdRecord {
/** @param {{id?:number,sanctionsSearchId?:number,pepSearchId?:number,validIdPassportId?:number,validIdPassportChipId?:number,date?:string,searchListIds?:string,pepError?:boolean,replaced?:boolean,replacementSearchId?:number,hasError?:boolean,hasCompletedRequest?:boolean,hasCompletedSearch?:boolean,hasExtendedOptions?:boolean,type?:number,reference?:string,passportChipEnabled?:boolean,passportEnabled?:boolean,drivingEnabled?:boolean,birthEnabled?:boolean,smartlinkEnabled?:boolean,niEnabled?:boolean,nhsEnabled?:boolean,electricityEnabled?:boolean,bankEnabled?:boolean,creditActiveEnabled?:boolean,cardNumberEnabled?:boolean,travelVisaEnabled?:boolean,idCardEnabled?:boolean,bankLiveEnabled?:boolean,companyDirectorEnabled?:boolean,searchActivityEnabled?:boolean,prsEnabled?:boolean,onlineProfileEnabled?:boolean,pollNumberEnabled?:boolean,marriageEnabled?:boolean,ageEnabled?:boolean,basicRequest?:ValidIdBasicRequest,passportRequest?:ValidIdPassportRequest,drivingRequest?:ValidIdDrivingRequest,birthRequest?:ValidIdBirthRequest,niRequest?:ValidIdNIRequest,nhsRequest?:ValidIdNHSRequest,electricityRequest?:ValidIdElectricityRequest,bankRequest?:ValidIdBankRequest,cardNumberRequest?:ValidIdCardNumberRequest,travelVisaRequest?:ValidIdTravelVisaRequest,idCardRequest?:ValidIdIdCardRequest,pollNumberRequest?:ValidIdPollNumberRequest,marriageRequest?:ValidIdMarriageRequest,result?:ValidIdResult,sanctionsResult?:SearchRecord,pepSearchRecord?:PepSearchRecord}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
id;
/** @type {?number} */
sanctionsSearchId;
/** @type {?number} */
pepSearchId;
/** @type {?number} */
validIdPassportId;
/** @type {?number} */
validIdPassportChipId;
/** @type {string} */
date;
/** @type {string} */
searchListIds;
/** @type {boolean} */
pepError;
/** @type {boolean} */
replaced;
/** @type {?number} */
replacementSearchId;
/** @type {boolean} */
hasError;
/** @type {boolean} */
hasCompletedRequest;
/** @type {boolean} */
hasCompletedSearch;
/** @type {?boolean} */
hasExtendedOptions;
/** @type {number} */
type;
/** @type {string} */
reference;
/** @type {boolean} */
passportChipEnabled;
/** @type {boolean} */
passportEnabled;
/** @type {boolean} */
drivingEnabled;
/** @type {boolean} */
birthEnabled;
/** @type {boolean} */
smartlinkEnabled;
/** @type {boolean} */
niEnabled;
/** @type {boolean} */
nhsEnabled;
/** @type {boolean} */
electricityEnabled;
/** @type {boolean} */
bankEnabled;
/** @type {boolean} */
creditActiveEnabled;
/** @type {boolean} */
cardNumberEnabled;
/** @type {boolean} */
travelVisaEnabled;
/** @type {boolean} */
idCardEnabled;
/** @type {boolean} */
bankLiveEnabled;
/** @type {boolean} */
companyDirectorEnabled;
/** @type {boolean} */
searchActivityEnabled;
/** @type {boolean} */
prsEnabled;
/** @type {boolean} */
onlineProfileEnabled;
/** @type {boolean} */
pollNumberEnabled;
/** @type {boolean} */
marriageEnabled;
/** @type {boolean} */
ageEnabled;
/** @type {ValidIdBasicRequest} */
basicRequest;
/** @type {ValidIdPassportRequest} */
passportRequest;
/** @type {ValidIdDrivingRequest} */
drivingRequest;
/** @type {ValidIdBirthRequest} */
birthRequest;
/** @type {ValidIdNIRequest} */
niRequest;
/** @type {ValidIdNHSRequest} */
nhsRequest;
/** @type {ValidIdElectricityRequest} */
electricityRequest;
/** @type {ValidIdBankRequest} */
bankRequest;
/** @type {ValidIdCardNumberRequest} */
cardNumberRequest;
/** @type {ValidIdTravelVisaRequest} */
travelVisaRequest;
/** @type {ValidIdIdCardRequest} */
idCardRequest;
/** @type {ValidIdPollNumberRequest} */
pollNumberRequest;
/** @type {ValidIdMarriageRequest} */
marriageRequest;
/** @type {ValidIdResult} */
result;
/** @type {SearchRecord} */
sanctionsResult;
/** @type {PepSearchRecord} */
pepSearchRecord;
}
export class AddValidIdData extends BaseResponse {
/** @param {{linkedTo?:ArrayOfLinkedTo,resolveSanctionsResults?:boolean,searchRecord?:ValidIdRecord,sanctionsSearchId?:number,pepSearchId?:number,validIdSearchId?:number,responseStatus?:ResponseStatus}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {ArrayOfLinkedTo} */
linkedTo;
/** @type {boolean} */
resolveSanctionsResults;
/** @type {ValidIdRecord} */
searchRecord;
/** @type {?number} */
sanctionsSearchId;
/** @type {?number} */
pepSearchId;
/** @type {number} */
validIdSearchId;
}
export class AddValidIdResponse {
/** @param {{data?:AddValidIdData}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {AddValidIdData} */
data;
}
export class ArrayOfLists extends Array {
constructor(init) { super(init); Object.assign(this, init) }
}
export class AddValidIdRequest {
/** @param {{subUserName?:string,type?:string,addPepSearch?:boolean,pepSearchType?:string,addSanctionsSearch?:boolean,selectedLists?:ArrayOfLists,reference?:string,linkedTo?:ArrayOfLinkedTo,basicRequest?:ValidIdBasicRequest,passportRequest?:ValidIdPassportRequest,drivingRequest?:ValidIdDrivingRequest,birthRequest?:ValidIdBirthRequest,niRequest?:ValidIdNIRequest,nhsRequest?:ValidIdNHSRequest,electricityRequest?:ValidIdElectricityRequest,bankRequest?:ValidIdBankRequest,cardNumberRequest?:ValidIdCardNumberRequest,travelVisaRequest?:ValidIdTravelVisaRequest,idCardRequest?:ValidIdIdCardRequest,pollNumberRequest?:ValidIdPollNumberRequest,marriageRequest?:ValidIdMarriageRequest,passportEnabled?:boolean,passportChipEnabled?:boolean,drivingEnabled?:boolean,smartlinkEnabled?:boolean,niEnabled?:boolean,nhsEnabled?:boolean,electricityEnabled?:boolean,bankEnabled?:boolean,creditActiveEnabled?:boolean,idCardEnabled?:boolean,bankLiveEnabled?:boolean,companyDirectorEnabled?:boolean,searchActivityEnabled?:boolean,prsEnabled?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description If the search should be saved against a single Sub User account, specify their username here */
subUserName;
/** @type {string} */
type;
/** @type {boolean} */
addPepSearch;
/** @type {string} */
pepSearchType;
/** @type {boolean} */
addSanctionsSearch;
/** @type {ArrayOfLists} */
selectedLists;
/** @type {string} */
reference;
/**
* @type {ArrayOfLinkedTo}
* @description If the search should be linked to other searches, specify the them here */
linkedTo;
/** @type {ValidIdBasicRequest} */
basicRequest;
/** @type {ValidIdPassportRequest} */
passportRequest;
/** @type {ValidIdDrivingRequest} */
drivingRequest;
/** @type {ValidIdBirthRequest} */
birthRequest;
/** @type {ValidIdNIRequest} */
niRequest;
/** @type {ValidIdNHSRequest} */
nhsRequest;
/** @type {ValidIdElectricityRequest} */
electricityRequest;
/** @type {ValidIdBankRequest} */
bankRequest;
/** @type {ValidIdCardNumberRequest} */
cardNumberRequest;
/** @type {ValidIdTravelVisaRequest} */
travelVisaRequest;
/** @type {ValidIdIdCardRequest} */
idCardRequest;
/** @type {ValidIdPollNumberRequest} */
pollNumberRequest;
/** @type {ValidIdMarriageRequest} */
marriageRequest;
/** @type {boolean} */
passportEnabled;
/** @type {boolean} */
passportChipEnabled;
/** @type {boolean} */
drivingEnabled;
/** @type {boolean} */
smartlinkEnabled;
/** @type {boolean} */
niEnabled;
/** @type {boolean} */
nhsEnabled;
/** @type {boolean} */
electricityEnabled;
/** @type {boolean} */
bankEnabled;
/** @type {boolean} */
creditActiveEnabled;
/** @type {boolean} */
idCardEnabled;
/** @type {boolean} */
bankLiveEnabled;
/** @type {boolean} */
companyDirectorEnabled;
/** @type {boolean} */
searchActivityEnabled;
/** @type {boolean} */
prsEnabled;
}
export class AddValidId extends BaseRequest {
/** @param {{request?:AddValidIdRequest,authentication?:Authentication}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {AddValidIdRequest} */
request;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /validid/add HTTP/1.1
Host: api.sanctionssearch.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"request":{"subUserName":"String","type":"String","addPepSearch":false,"pepSearchType":"String","addSanctionsSearch":false,"selectedLists":["String"],"reference":"String","linkedTo":[{"clientId":0,"id":0,"type":"String","subtype":"String","status":"String","description":"String","isArchived":false,"name":"String","date":"\/Date(-62135596800000-0000)\/"}],"basicRequest":{"name1":"String","name2":"String","name3":"String","dateOfBirth":"\/Date(-62135596800000-0000)\/","gender":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","postCode":"String"},"passportRequest":{"passport1":"String","passport2":"String","passport3":"String","passport4":"String","passport5":"String","passport6":"String","passport7":"String","passport8":"String","passportMrzLineOne1":"String","passportMrzLineOne2":"String","passportMrzLineOne3":"String"},"drivingRequest":{"driving1":"String","driving2":"String","driving3":"String","drivingPostcode":"String","drivingMailSort":"String"},"birthRequest":{"birthForeName":"String","birthMiddleName":"String","birthSurname":"String","birthMaidenName":"String","birthDistrict":"String","birthCertIssueNum":"String"},"niRequest":{"niNumber":"String"},"nhsRequest":{"nhsNumber":"String"},"electricityRequest":{"mpanNumber1":"String","mpanNumber2":"String","mpanNumber3":"String","mpanNumber4":"String"},"bankRequest":{"bankSortCode":"String","bankAccountNumber":"String"},"cardNumberRequest":{"cardNumber":"String","cardType":"String"},"travelVisaRequest":{"travelVisa1":"String","travelVisa2":"String","travelVisa3":"String","travelVisa4":"String","travelVisa5":"String","travelVisa6":"String","travelVisa7":"String","travelVisa8":"String","travelVisa9":"String"},"idCardRequest":{"idCard1":"String","idCard2":"String","idCard3":"String","idCard4":"String","idCard5":"String","idCard6":"String","idCard7":"String","idCard8":"String","idCard9":"String","idCard10":"String"},"pollNumberRequest":{"pollNumber":"String"},"marriageRequest":{"forename":"String","surname":"String","partnerForename":"String","partnerSurname":"String","date":"String","district":"String","certIssueNum":"String"},"passportEnabled":false,"passportChipEnabled":false,"drivingEnabled":false,"smartlinkEnabled":false,"niEnabled":false,"nhsEnabled":false,"electricityEnabled":false,"bankEnabled":false,"creditActiveEnabled":false,"idCardEnabled":false,"bankLiveEnabled":false,"companyDirectorEnabled":false,"searchActivityEnabled":false,"prsEnabled":false},"authentication":{"apiUserId":"String","apiUserKey":"String"}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"data":{"linkedTo":[{"clientId":0,"id":0,"type":"String","subtype":"String","status":"String","description":"String","isArchived":false,"name":"String","date":"\/Date(-62135596800000-0000)\/"}],"resolveSanctionsResults":false,"searchRecord":{"id":0,"sanctionsSearchId":0,"pepSearchId":0,"validIdPassportId":0,"validIdPassportChipId":0,"date":"\/Date(-62135596800000-0000)\/","searchListIds":"String","pepError":false,"replaced":false,"replacementSearchId":0,"hasError":false,"hasCompletedRequest":false,"hasCompletedSearch":false,"hasExtendedOptions":false,"type":0,"reference":"String","passportChipEnabled":false,"passportEnabled":false,"drivingEnabled":false,"birthEnabled":false,"smartlinkEnabled":false,"niEnabled":false,"nhsEnabled":false,"electricityEnabled":false,"bankEnabled":false,"creditActiveEnabled":false,"cardNumberEnabled":false,"travelVisaEnabled":false,"idCardEnabled":false,"bankLiveEnabled":false,"companyDirectorEnabled":false,"searchActivityEnabled":false,"prsEnabled":false,"onlineProfileEnabled":false,"pollNumberEnabled":false,"marriageEnabled":false,"ageEnabled":false,"basicRequest":{"name1":"String","name2":"String","name3":"String","dateOfBirth":"\/Date(-62135596800000-0000)\/","gender":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","postCode":"String"},"passportRequest":{"passport1":"String","passport2":"String","passport3":"String","passport4":"String","passport5":"String","passport6":"String","passport7":"String","passport8":"String","passportMrzLineOne1":"String","passportMrzLineOne2":"String","passportMrzLineOne3":"String"},"drivingRequest":{"driving1":"String","driving2":"String","driving3":"String","drivingPostcode":"String","drivingMailSort":"String"},"birthRequest":{"birthForeName":"String","birthMiddleName":"String","birthSurname":"String","birthMaidenName":"String","birthDistrict":"String","birthCertIssueNum":"String"},"niRequest":{"niNumber":"String"},"nhsRequest":{"nhsNumber":"String"},"electricityRequest":{"mpanNumber1":"String","mpanNumber2":"String","mpanNumber3":"String","mpanNumber4":"String"},"bankRequest":{"bankSortCode":"String","bankAccountNumber":"String"},"cardNumberRequest":{"cardNumber":"String","cardType":"String"},"travelVisaRequest":{"travelVisa1":"String","travelVisa2":"String","travelVisa3":"String","travelVisa4":"String","travelVisa5":"String","travelVisa6":"String","travelVisa7":"String","travelVisa8":"String","travelVisa9":"String"},"idCardRequest":{"idCard1":"String","idCard2":"String","idCard3":"String","idCard4":"String","idCard5":"String","idCard6":"String","idCard7":"String","idCard8":"String","idCard9":"String","idCard10":"String"},"pollNumberRequest":{"pollNumber":"String"},"marriageRequest":{"forename":"String","surname":"String","partnerForename":"String","partnerSurname":"String","date":"String","district":"String","certIssueNum":"String"},"result":{"summaryResult":{"summaryStatus":false,"summaryId":0,"summaryReference":"String","summarySmartscore":0,"summaryResultText":"String","noticeOfCorrection":"String"},"errors":[{"service":"String","details":"String"}],"drivingResult":{"drivingLicenseResultFlag":false,"drivingLicenseMailSortFlag":false,"drivingLicenseMiddleNameWarning":false,"drivingLicenceErrors":"String"},"dobResult":{"dobTracesmartCount":0,"dobExperianCount":0,"dobEquifaxCount":0,"dobEquifaxSpecified":false,"dobEquifaxStatus":"String"},"nhsResult":{"nhsResultFlag":false},"niResult":{"niResultFlag":false},"passportResult":{"passportMRZLine1Valid":false,"passportMRZValid":false,"passportDOBValid":false,"passportGenderValid":false,"passportExpiryValid":false,"passportNameValid":false,"passportErrors":"String"},"passportChipResult":{"contentAuthenticity":false,"chipAuthenticity":false,"chipDataToImageDataMatch":false,"chipPhotoToImagePhotoMatch":false,"passportChipMrzLineOne":"String","passportChipMrzLineTwo":"String","passportChipMrzLineOneValid":false,"passportChipMrzLineTwoValid":false,"passportChipDOBValid":false,"passportChipGenderValid":false,"passportChipExpiryValid":false,"passportChipNameValid":false,"passportChipErrors":"String"},"birthResult":{"birthResultFlag":"String","birthName":"String","birthMaidenName":"String","birthRegDate":"String","birthRegDistrict":"String"},"electricityResult":{"mpanResultFlag":false},"bankResult":{"bankAccountResultFlag":false,"bankAccountName":"String","bankAccountBranch":"String","bankAccountBACSPayments":false,"bankAccountCHAPSPayments":false,"bankAccountFasterPayments":false,"bankAccountDirectDebits":false},"cardNumberResult":{"cardNumberValid":false,"cardTypeValid":false,"cardTypeConfirm":"String","cardFraudCheck":"String"},"creditActiveResult":{"creditActiveAccounts":0,"creditActiveLenders":0,"creditActiveCIFAS":"String","creditActiveCAIS":0,"creditActiveInsightAccounts":0},"addressResult":{"addressForename":"String","addressMiddleName":"String","addressSurname":"String","addressMatchType":"String","addressDOB":"\/Date(-62135596800000-0000)\/","addressForenameAppended":false,"addressMiddleNameAppended":false,"addressDOBAppended":false,"addressTelephone":"String","addressTelephoneName":"String","addressGoneAway":"String","addressSource":"String","credivaFullER":false,"addressValidated":false,"addressRecency":"\/Date(-62135596800000-0000)\/","occupants":[{"name":"String","dob":"\/Date(-62135596800000-0000)\/","recency":"\/Date(-62135596800000-0000)\/","residency":"String","telephone":"String","telephoneName":"String","source":"String","residencyScore":"String"}],"sales":[{"type":"String","tenure":"String","date":"\/Date(-62135596800000-0000)\/","price":"String","silhouette":"String"}]},"smartlinkResult":{"addresses":[{"title":"String","forename":"String","middleName":"String","surname":"String","dob":"\/Date(-62135596800000-0000)\/","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","postCode":"String","deliveryPointSuffix":"String","recency":"\/Date(-62135596800000-0000)\/","residency":"String","linkSource":"String"}]},"deathscreenResult":{"deaths":[{"forename":"String","secondName":"String","thirdName":"String","fourthName":"String","surname":"String","district":"String","dob":"\/Date(-62135596800000-0000)\/","dod":"\/Date(-62135596800000-0000)\/","dor":"String","volumeNo":"String","distNo":"String","pageNo":"String","regNo":"String","entryNo":"String","placeOfBirth":"String","maidenName":"String","groReference":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","postCode":"String","matchType":"String"}]},"pepResult":{"pepPersons":[{"name":"String","recency":"\/Date(-62135596800000-0000)\/","dob":"String","addresses":[{"address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","postCode":"String","deliveryPointSuffix":"String"}],"aliases":[{"name":"String"}],"positions":[{"position":"String"}]}]},"ccjResult":{"ccJs":[{"name":"String","dob":"\/Date(-62135596800000-0000)\/","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","postCode":"String","judgementDate":"\/Date(-62135596800000-0000)\/","judgementType":"String","amount":"String","caseNo":"String","courtName":"String","dateEnd":"\/Date(-62135596800000-0000)\/"}]},"insolvencyResult":{"insolvencies":[{"type":"String","caseType":"String","name":"String","caseNo":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","postCode":"String","deliveryPointSuffix":"String","dob":"\/Date(-62135596800000-0000)\/","court":"String","startDate":"\/Date(-62135596800000-0000)\/","status":"String","occupation":"String","aliases":"String","description":"String","serviceOffice":"String","telephoneNumber":"String","tradingNames":"String","debtTotal":"String","assetTotal":"String","previousAddress1":"String","previousAddress2":"String","previousAddress3":"String","previousAddress4":"String","previousAddress5":"String","previousPostCode":"String","previousDeliveryPointSuffix":"String","presentationDate":"\/Date(-62135596800000-0000)\/"}]},"travelVisaResult":{"visaMRZValid":false,"visaInDate":false,"visaUKResidenceValid":false},"idCardResult":{"idCardMRZValid":false,"idCardDOBValid":false,"idCardGenderValid":false,"idCardExpiryValid":false,"idCardCountryValid":false},"bankLiveResult":{"bankLiveSortcode":"String","bankLiveNumber":"String","bankLiveName":"String","bankLiveAddress":"String","bankLiveStatus":"String","bankLiveError":"String"},"companyDirectorResult":{"directorships":[{"matchType":"String","dateAppointed":"\/Date(-62135596800000-0000)\/","companyRegNo":"String","companyName":"String","registeredOffice":"String","appointments":[{"title":"String","name":"String","address":"String","dob":"\/Date(-62135596800000-0000)\/","occupation":"String","nationality":"String","appointmentDate":"\/Date(-62135596800000-0000)\/","appointmentType":"String"}]}]},"searchActivityResult":{"activity":[{"profileType":"String","oneMonth":0,"threeMonth":0,"sixMonth":0,"history":[{"businesActivity":"String","date":"\/Date(-62135596800000-0000)\/"}]}]},"prsResult":{"matchResult":"String","propertyOwnership":"String","titleNumber":"String"},"pollNumberResult":{"pollNumberMatch":0},"onlineProfileResult":{"onlineProfileStatus":0,"onlineTwitterUsername":"String","onlineTwitterActivityMonth1":0,"onlineTwitterActivityMonth2":0,"onlineTwitterActivityMonth3":0,"onlineTwitterActivityMonth4":0,"onlineTwitterActivityMonth5":0,"onlineTwitterActivityMonth6":0,"onlineTwitterActivityMonth7":0,"onlineTwitterActivityMonth8":0,"onlineTwitterActivityMonth9":0,"onlineTwitterActivityMonth10":0,"onlineTwitterActivityMonth11":0,"onlineTwitterActivityMonth12":0},"marriageResult":{"marriageCertFlag":0,"marriageResultFlag":0},"ageResult":{"ageIsAboveLower":false,"ageIsBelowUpper":false}},"sanctionsResult":{"id":0,"searchType":"String","dateSearched":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","dateArchived":"\/Date(-62135596800000-0000)\/","isArchived":false,"numOfResults":0,"clientInResults":false,"clientNotInResults":false,"affectedByUpdate":false,"searchCriteria":{"name":"String","address":"String","country":"String","dateOfBirth":"String","nationality":"String","reference":"String"},"searchResults":{"euResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","addresses":[{"street":"String","city":"String","country":"String","postCode":"String","other":"String"}],"births":[{"date":"String","place":"String","country":"String"}],"citizenships":[{"country":"String"}],"names":[{"fullName":"String","gender":"String"}],"passports":[{"number":"String","country":"String"}]}],"hmtResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateListed":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","name1":"String","name2":"String","name3":"String","name4":"String","name5":"String","name6":"String","dateOfBirth":"String","countryOfBirth":"String","nationality":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","address6":"String","postCode":"String","country":"String"}],"hmtUkraineResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateListed":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","name1":"String","name2":"String","name3":"String","name4":"String","name5":"String","name6":"String","dateOfBirth":"String","countryOfBirth":"String","nationality":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","address6":"String","postCode":"String","country":"String"}],"ofacResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","firstName":"String","lastName":"String","addresses":[{"address1":"String","address2":"String","address3":"String","city":"String","state":"String","postCode":"String","country":"String"}],"akas":[{"firstName":"String","lastName":"String","type":"String","strength":"String"}],"dateOfBirths":[{"dateOfBirth":"String"}],"nationalities":[{"country":"String"}],"placeOfBirths":[{"placeOfBirth":"String"}]}],"ofacConsolidatedResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","firstName":"String","lastName":"String","addresses":[{"address1":"String","address2":"String","address3":"String","city":"String","state":"String","postCode":"String","country":"String"}],"akas":[{"firstName":"String","lastName":"String","type":"String","strength":"String"}],"dateOfBirths":[{"dateOfBirth":"String"}],"nationalities":[{"country":"String"}],"placeOfBirths":[{"placeOfBirth":"String"}]}],"dfatResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","fullName":"String","address":"String","dateOfBirth":"String","placeOfBirth":"String","nationality":"String"}],"osfiResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","fullName":"String","address":"String","dateOfBirth":"String","placeOfBirth":"String","nationality":"String"}],"canadianJusticeResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","name":"String","dateOfBirth":"String","country":"String","refId":0}],"canadianSemaResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","name":"String","dateOfBirth":"String","country":"String","schedule":"String","item":"String"}],"swissSecoResults":[{"searchResultId":0,"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","sanctionsListId":"String","sanctionsListName":"String","addresses":[{"searchResultAddressId":0,"type":"String","address1":"String","address2":"String","address3":"String","city":"String","county":"String","postCode":"String","country":"String"}],"datesOfBirth":[{"searchResultDateOfBirthId":0,"dateOfBirth":"String","year":0,"month":0,"day":0,"type":"String"}],"names":[{"searchResultNameId":0,"type":"String","title":"String","fullName":"String","resultSimilarity":0}],"nationalities":[{"searchResultNationalityId":0,"nationality":"String"}],"placesOfBirth":[{"searchResultPlaceOfBirthId":0,"placeOfBirth":"String","countryOfBirth":"String"}],"remarks":[{"searchResultRemarkId":0,"name":"String","description":"String"}]}]},"searchSources":[{"listId":"String","listName":"String","listShortName":"String","isAffectedByListUpdate":false}],"listSearchResults":[{"searchResultId":0,"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","sanctionsListId":"String","sanctionsListName":"String","addresses":[{"searchResultAddressId":0,"type":"String","address1":"String","address2":"String","address3":"String","city":"String","county":"String","postCode":"String","country":"String"}],"datesOfBirth":[{"searchResultDateOfBirthId":0,"dateOfBirth":"String","year":0,"month":0,"day":0,"type":"String"}],"names":[{"searchResultNameId":0,"type":"String","title":"String","fullName":"String","resultSimilarity":0}],"nationalities":[{"searchResultNationalityId":0,"nationality":"String"}],"placesOfBirth":[{"searchResultPlaceOfBirthId":0,"placeOfBirth":"String","countryOfBirth":"String"}],"remarks":[{"searchResultRemarkId":0,"name":"String","description":"String"}]}]},"pepSearchRecord":{"id":0,"searchType":"String","dateSearched":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","dateRenewal":"\/Date(-62135596800000-0000)\/","dateArchived":"\/Date(-62135596800000-0000)\/","isArchived":false,"numOfResults":0,"clientInResults":false,"clientNotInResults":false,"affectedByUpdate":false,"isDayOneSearch":false,"searchCriteria":{"name":"String","address":"String","country":"String","dateOfBirth":"String","nationality":"String","reference":"String"},"searchResults":{"results":[{"resultSimilarity":0,"resultResolved":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/","resultIsClient":false,"id":0,"type":"String","title":"String","forename":"String","middlename":"String","surname":"String","softDelete":false,"dateOfSoftDelete":"\/Date(-62135596800000-0000)\/","dateOfCapture":"\/Date(-62135596800000-0000)\/","dateOfBirth":"\/Date(-62135596800000-0000)\/","dateOfDeath":"\/Date(-62135596800000-0000)\/","yearOfBirth":0,"yearOfDeath":0,"gender":"String","homeTelephone":"String","businessTelephone":"String","mobileTelephone":"String","fax":"String","email":"String","nationality":"String","source":"String","category":"String","picture":"String","alternateTitle":"String","businessName":"String","description":"String","telephone":"String","website":"String","pepTier":0,"addresses":[{"addressLine1":"String","addressLine2":"String","addressLine3":"String","addressLine4":"String","town":"String","county":"String","postCode":"String","country":"String","isoCountry":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/"}],"aliases":[{"forename":"String","middleName":"String","surname":"String","softDelete":false,"dateOfSoftDelete":"\/Date(-62135596800000-0000)\/","dateLastUpdated":"\/Date(-62135596800000-0000)\/","title":"String","alternateTitle":"String","businessName":"String"}],"articles":[{"url":"String","originalUrl":"String","source":"String","dateOfCapture":"\/Date(-62135596800000-0000)\/","dateLastUpdated":"\/Date(-62135596800000-0000)\/","snippets":[{"title":"String","text":"String","adverseTerms":"String"}]}],"associations":[{"linkDescription":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/","fullName":"String"}],"businessAssociations":[{"linkDescription":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/","businessName":"String"}],"notes":[{"source":"String","notes":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/"}],"politicalPositions":[{"description":"String","from":"String","to":"String","country":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/"}]}]}}},"sanctionsSearchId":0,"pepSearchId":0,"validIdSearchId":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}}