' Options: 'Date: 2025-03-15 05:48:01 '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: AddClientTemplate.* '''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 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 AddClientRequest ''' '''The full name of the client ''' Public Overridable Property Name As String ''' '''The email address of the client ''' Public Overridable Property Email As String ''' '''The client's mobile phone number in international format (e.g. '+447123456789') ''' Public Overridable Property MobileInternational As String ''' '''The postal code of the client's address. Used in emails sent to the client to help them recognize the communication as genuine ''' Public Overridable Property PostCode As String ''' '''Specifies the type of ValidateMe preset. Possible values are 'ValidateMe' for configuring RequiredDocuments, or 'PassportChipVerification' for setting the Passport as Proof of Name ''' Public Overridable Property ProofOfPreset As CreateMobileClientType ''' '''The categories of proof and selected documents that the client can use to provide proof. Required if ClientType is set to 'ValidateMe' ''' Public Overridable Property ProofOfDocumentCategories As ArrayOfProofOfDocumentCategories ''' '''If the client should be linked to other searches, specify the them here ''' Public Overridable Property LinkedTo As ArrayOfLinkedTo End Class Public Partial Class AddClientTemplate Inherits BaseRequest Implements IReturn(Of AddClientTemplateResponse) End Class Public Partial Class AddClientTemplateData Inherits BaseResponse Public Overridable Property Request As AddClientRequest End Class Public Partial Class AddClientTemplateResponse Public Overridable Property Data As AddClientTemplateData End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Types Public Partial Class ArrayOfLinkedTo Inherits List(Of LinkedTo) 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 Enum CreateMobileClientType Undefined ValidateMe PassportChipVerification End Enum 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 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 End Namespace End Namespace