' Options: 'Date: 2025-05-06 13:33:09 '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: CountIncompleteClients.* '''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 CountIncompleteClients Inherits BaseRequest Implements IReturn(Of CountIncompleteClientsResponse) ''' '''How many days should have elapsed before counting a Client as incomplete (defaults to 7 days).Set to zero to count all incomplete clients ''' Public Overridable Property DaysIncomplete As Integer ''' '''Count clients that match the state specified (only PendingCompletion, or PendingVerification). ''' Public Overridable Property State As ClientState ''' '''Count clients that match the IsValidateMe flag specified (defaults to true). ''' Public Overridable Property IsValidateMe As Boolean End Class Public Partial Class CountIncompleteClientsData Inherits BaseResponse Public Overridable Property NumberOfIncompleteClients As Long End Class Public Partial Class CountIncompleteClientsResponse Public Overridable Property Data As CountIncompleteClientsData End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Types Public Partial Class Authentication ''' '''The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User) ''' Public Overridable Property ApiUserId As String ''' '''The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key) ''' Public Overridable Property ApiUserKey As String ''' '''The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id). ''' Public Overridable Property UserId As String End Class Public Enum ClientState Undefined PendingCompletion PendingOcr PendingVerification Verified End Enum End Namespace End Namespace