(* Options: Date: 2025-03-15 05:58:34 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sanctionssearch.com/v2 //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: AddClientTemplate.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace SanctionsSearch.Api2.ServiceModel.Operations.Base open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] [] type Authentication() = /// ///The API User ID provided by us when you signed up to use our API /// [] [] member val ApiUserId:String = null with get,set /// ///The API User Key provided by us when you signed up to use our API /// [] [] member val ApiUserKey:String = null with get,set [] [] type BaseRequest() = /// ///The authentication credentials /// [] [] member val Authentication:Authentication = null with get,set [] type IBaseRequest = abstract Authentication:Authentication with get,set [] type CreateMobileClientType = | Undefined = 0 | ValidateMe = 1 | PassportChipVerification = 2 [] type ProofOfDocument() = /// ///The ID of the ProofOfDocument /// [] member val Id:Int32 = new Int32() with get,set /// ///The name of the ProofOfDocument /// [] member val Name:String = null with get,set [] type ArrayOfProofOfDocuments() = inherit ResizeArray() [] type ProofOfDocumentCategory() = /// ///The ID of the ProofOfDocumentCategory /// [] member val Id:Int32 = new Int32() with get,set /// ///The category or subject that requires proof (e.g., 'Name', 'Address', 'Right to work') /// [] member val ProofOf:String = null with get,set /// ///The documents that can be used to provide proof for the specified category. /// [] member val ProofOfDocuments:ArrayOfProofOfDocuments = null with get,set [] type ArrayOfProofOfDocumentCategories() = inherit ResizeArray() [] type LinkedTo() = member val ClientId:Nullable = new Nullable() with get,set member val Id:Nullable = new Nullable() with get,set member val Type:String = null with get,set member val Subtype:String = null with get,set member val Status:String = null with get,set member val Description:String = null with get,set member val IsArchived:Nullable = new Nullable() with get,set member val Name:String = null with get,set member val Date:Nullable = new Nullable() with get,set [] type ArrayOfLinkedTo() = inherit ResizeArray() [] type AddClientRequest() = /// ///The full name of the client /// [] member val Name:String = null with get,set /// ///The email address of the client /// [] member val Email:String = null with get,set /// ///The client's mobile phone number in international format (e.g. '+447123456789') /// [] member val MobileInternational:String = null with get,set /// ///The postal code of the client's address. Used in emails sent to the client to help them recognize the communication as genuine /// [] member val PostCode:String = null with get,set /// ///Specifies the type of ValidateMe preset. Possible values are 'ValidateMe' for configuring RequiredDocuments, or 'PassportChipVerification' for setting the Passport as Proof of Name /// [] member val ProofOfPreset:CreateMobileClientType = new CreateMobileClientType() with get,set /// ///The categories of proof and selected documents that the client can use to provide proof. Required if ClientType is set to 'ValidateMe' /// [] member val ProofOfDocumentCategories:ArrayOfProofOfDocumentCategories = null with get,set /// ///If the client should be linked to other searches, specify the them here /// [] member val LinkedTo:ArrayOfLinkedTo = null with get,set [] [] type ResponseError() = [] member val ErrorCode:String = null with get,set [] member val FieldName:String = null with get,set [] member val Message:String = null with get,set [] member val Meta:Dictionary = new Dictionary() with get,set [] type ArrayOfResponseError() = inherit ResizeArray() [] [] type ResponseStatus() = [] member val ErrorCode:String = null with get,set [] member val Message:String = null with get,set [] member val StackTrace:String = null with get,set [] member val Errors:ArrayOfResponseError = null with get,set [] member val Meta:Dictionary = new Dictionary() with get,set [] type BaseResponse() = /// ///The status of the response /// [] member val ResponseStatus:ResponseStatus = null with get,set [] type AddClientTemplateData() = inherit BaseResponse() member val Request:AddClientRequest = null with get,set [] type IBaseDataResponse = abstract ResponseStatus:ResponseStatus with get,set [] type IHasResponseStatus = abstract ResponseStatus:ResponseStatus with get,set [] [] type AddClientTemplateResponse() = [] member val Data:AddClientTemplateData = null with get,set [] [] [] type AddClientTemplate() = inherit BaseRequest() interface IReturn