' Options: 'Date: 2025-03-15 03:46:57 'Version: 8.30 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.sanctionssearch.com/v2 ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: GetClient.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports SanctionsSearch.Api2.ServiceModel.Types Imports SanctionsSearch.Api2.ServiceModel.Operations.Base Imports SanctionsSearch.Api2.ServiceModel.Operations.Clients Namespace Global Namespace SanctionsSearch.Api2.ServiceModel.Operations.Base Public Partial Class ArrayOfResponseError Inherits List(Of ResponseError) End Class Public Partial Class BaseRequest Implements IBaseRequest ''' '''The authentication credentials ''' Public Overridable Property Authentication As Authentication End Class Public Partial Class BaseResponse Implements IBaseDataResponse Implements IHasResponseStatus ''' '''The status of the response ''' Public Overridable Property ResponseStatus As ResponseStatus End Class Public Interface IBaseDataResponse Property ResponseStatus As ResponseStatus End Interface Public Interface IBaseRequest Property Authentication As Authentication End Interface Public Interface IBaseSearchResponse Implements IBaseDataResponse Property LinkedTo As ArrayOfLinkedTo End Interface Public Interface IHasResponseStatus Property ResponseStatus As ResponseStatus End Interface Public Partial Class ResponseError Public Sub New() Meta = New Dictionary(Of String, String) End Sub Public Overridable Property ErrorCode As String Public Overridable Property FieldName As String Public Overridable Property Message As String Public Overridable Property Meta As Dictionary(Of String, String) End Class Public Partial Class ResponseStatus Public Sub New() Meta = New Dictionary(Of String, String) End Sub Public Overridable Property ErrorCode As String Public Overridable Property Message As String Public Overridable Property StackTrace As String Public Overridable Property Errors As ArrayOfResponseError Public Overridable Property Meta As Dictionary(Of String, String) End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Operations.Clients Public Partial Class GetClient Inherits BaseRequest Implements IReturn(Of GetClientResponse) Public Overridable Property Id As Integer End Class Public Partial Class GetClientData Inherits BaseResponse Implements IBaseSearchResponse Public Overridable Property LinkedTo As ArrayOfLinkedTo Public Overridable Property Client As Client End Class Public Partial Class GetClientResponse Public Overridable Property Data As GetClientData End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Types Public Partial Class ArrayOfDrivingLicences Inherits List(Of DrivingLicence) End Class Public Partial Class ArrayOfImages Inherits List(Of Image) End Class Public Partial Class ArrayOfLinkedTo Inherits List(Of LinkedTo) End Class Public Partial Class ArrayOfOtherDocuments Inherits List(Of OtherDocument) End Class Public Partial Class ArrayOfPassports Inherits List(Of Passport) End Class Public Partial Class ArrayOfProofOfDocumentCategories Inherits List(Of ProofOfDocumentCategory) End Class Public Partial Class ArrayOfProofOfDocuments Inherits List(Of ProofOfDocument) End Class Public Partial Class Authentication ''' '''The API User ID provided by us when you signed up to use our API ''' Public Overridable Property ApiUserId As String ''' '''The API User Key provided by us when you signed up to use our API ''' Public Overridable Property ApiUserKey As String End Class Public Partial Class Client Public Overridable Property Id As Integer Public Overridable Property DateCreated As Date Public Overridable Property Name As String Public Overridable Property Email As String Public Overridable Property Reference As String Public Overridable Property State As ClientState Public Overridable Property MobileInternational As String Public Overridable Property PostCode As String Public Overridable Property IsValidateMe As Boolean Public Overridable Property Face As Face Public Overridable Property Video As Video Public Overridable Property Location As Location Public Overridable Property NumOfDocuments As Integer Public Overridable Property Passports As ArrayOfPassports Public Overridable Property DrivingLicences As ArrayOfDrivingLicences Public Overridable Property OtherDocuments As ArrayOfOtherDocuments Public Overridable Property ProofOfDocumentCategories As ArrayOfProofOfDocumentCategories End Class Public Enum ClientState Undefined PendingCompletion PendingOcr PendingVerification Verified End Enum Public Partial Class DrivingLicence Public Overridable Property ClientFileId As Integer Public Overridable Property FirstName As String Public Overridable Property MiddleName As String Public Overridable Property LastName As String Public Overridable Property DateOfBirth As String Public Overridable Property Address As String Public Overridable Property DrivingLicenceNumber As String Public Overridable Property Images As ArrayOfImages Public Overridable Property IsVerified As Boolean Public Overridable Property IsFaceMatch As Nullable(Of Boolean) Public Overridable Property FaceMatchConfidence As Nullable(Of Decimal) Public Overridable Property HasDfaSearch As Boolean End Class Public Partial Class Face Public Overridable Property Age As Nullable(Of Double) Public Overridable Property Gender As String Public Overridable Property Emotion As String Public Overridable Property Smile As Nullable(Of Double) Public Overridable Property HairColour As String Public Overridable Property FacialHair As String Public Overridable Property Makeup As String Public Overridable Property Glasses As String Public Overridable Property Accessories As String End Class Public Partial Class Image Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property OcrId As Nullable(Of Integer) Public Overridable Property Url As String End Class Public Partial Class LinkedTo Public Overridable Property ClientId As Nullable(Of Integer) Public Overridable Property Id As Nullable(Of Long) Public Overridable Property Type As String Public Overridable Property Subtype As String Public Overridable Property Status As String Public Overridable Property Description As String Public Overridable Property IsArchived As Nullable(Of Boolean) Public Overridable Property Name As String Public Overridable Property [Date] As Nullable(Of Date) End Class Public Partial Class Location Public Overridable Property Latitude As Double Public Overridable Property Longitude As Double End Class Public Partial Class OtherDocument Public Overridable Property ClientFileId As Integer Public Overridable Property Type As String Public Overridable Property TypeOther As String Public Overridable Property Description As String Public Overridable Property OriginalImageUrl As String Public Overridable Property CroppedImageUrl As String Public Overridable Property IsVerified As Boolean End Class Public Partial Class Passport Public Overridable Property ClientFileId As Integer Public Overridable Property FirstName As String Public Overridable Property MiddleName As String Public Overridable Property LastName As String Public Overridable Property DateOfBirth As String Public Overridable Property Gender As String Public Overridable Property MrzLineOne As String Public Overridable Property MrzLineTwo1 As String Public Overridable Property MrzLineTwo2 As String Public Overridable Property MrzLineTwo3 As String Public Overridable Property MrzLineTwo4 As String Public Overridable Property MrzLineTwo5 As String Public Overridable Property MrzLineTwo6 As String Public Overridable Property MrzLineTwo7 As String Public Overridable Property MrzLineTwo8 As String Public Overridable Property Images As ArrayOfImages Public Overridable Property IsVerified As Boolean Public Overridable Property IsFaceMatch As Nullable(Of Boolean) Public Overridable Property FaceMatchConfidence As Nullable(Of Decimal) Public Overridable Property HasPcvSearch As Boolean Public Overridable Property HasDfaSearch As Boolean Public Overridable Property IsPassportChipVerified As Nullable(Of Boolean) Public Overridable Property PassportChipData As PassportChipData Public Overridable Property IsEligibleForPcv As Boolean Public Overridable Property IsEligibleForDfa As Boolean End Class Public Partial Class PassportChipData Public Sub New() DataGroupsVerified = New Integer(){} DataGroupsFailed = New Integer(){} End Sub Public Overridable Property IsIssuerVerified As Boolean Public Overridable Property IssuerCommonName As String Public Overridable Property IssuerOrganisationName As String Public Overridable Property IssuerCountry As String Public Overridable Property MRZLine1 As String Public Overridable Property MRZLine2 As String Public Overridable Property IsMrzLine1Verified As Boolean Public Overridable Property IsMrzLine2Verified As Boolean Public Overridable Property DataGroupsVerified As Integer() Public Overridable Property DataGroupsFailed As Integer() Public Overridable Property IsFaceMatch As Boolean Public Overridable Property FaceMatchConfidence As Nullable(Of Decimal) End Class Public Partial Class ProofOfDocument ''' '''The ID of the ProofOfDocument ''' Public Overridable Property Id As Integer ''' '''The name of the ProofOfDocument ''' Public Overridable Property Name As String End Class Public Partial Class ProofOfDocumentCategory ''' '''The ID of the ProofOfDocumentCategory ''' Public Overridable Property Id As Integer ''' '''The category or subject that requires proof (e.g., 'Name', 'Address', 'Right to work') ''' Public Overridable Property ProofOf As String ''' '''The documents that can be used to provide proof for the specified category. ''' Public Overridable Property ProofOfDocuments As ArrayOfProofOfDocuments End Class Public Partial Class Video Public Sub New() VideoTimestamps = New List(Of VideoTimestamp) End Sub Public Overridable Property Id As Integer Public Overridable Property VideoUrl As String Public Overridable Property ImageUrl As String Public Overridable Property VideoTimestamps As List(Of VideoTimestamp) End Class Public Partial Class VideoTimestamp Public Overridable Property TagName As String Public Overridable Property Milli As Nullable(Of Integer) Public Overridable Property ImageUrl As String End Class End Namespace End Namespace