(* Options: Date: 2025-12-16 10:24:20 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: RegisterAccountTemplate.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace SanctionsSearch.Api2.ServiceModel.Operations.Account 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. Can be provided in the request body, or as a header parameter (X-Api-User) /// [] [] member val ApiUserId:String = null with get,set /// ///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) /// [] [] member val ApiUserKey:String = null with get,set /// ///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). /// [] [] member val UserId: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 RegisterAccountRequest() = /// ///The desired login username for the account /// [] member val Username:String = null with get,set /// ///The password for account login /// [] member val Password:String = null with get,set /// ///The contact email address for the account holder /// [] member val Email:String = null with get,set /// ///The full legal name of the account holder /// [] member val FullName:String = null with get,set /// ///The registered name of the company associated with this account /// [] member val CompanyName:String = null with get,set /// ///The primary contact phone number of the company /// [] member val CompanyPhone:String = null with get,set /// ///The first line of the company’s address (e.g., street name and number) /// [] member val Address1:String = null with get,set /// ///The second line of the company’s address (optional) /// [] member val Address2:String = null with get,set /// ///The third line of the company’s address (optional) /// [] member val Address3:String = null with get,set /// ///The city where the company is located (optional) /// [] member val City:String = null with get,set /// ///The postal or ZIP code of the company’s address /// [] member val Postcode:String = null with get,set /// ///The country where the company is registered /// [] member val Country:String = null with get,set /// ///The classification of the company (e.g., LLC, Corporation, Sole Proprietorship) /// [] member val CompanyType:String = null with get,set /// ///The industry sector the company operates in /// [] member val CompanyIndustry:String = null with get,set /// ///The trade body, network, or affiliation the company is a member of (if applicable) /// [] member val CompanyNetwork:String = null with get,set /// ///Indicates agreement to the terms and conditions (required) /// [] member val AgreeToTerms:Boolean = new Boolean() with get,set /// ///Indicates agreement to the data protection statement (required) /// [] member val AgreeToDataProtection:Boolean = new Boolean() with get,set /// ///Indicates consent to be contacted (optional) /// [] member val AgreeToContact:Boolean = new Boolean() with get,set /// ///Indicates agreement to the privacy policy (required) /// [] member val AgreeToPrivacy:Boolean = new Boolean() with get,set /// ///An optional voucher code for discounts or promotions /// [] member val VoucherCode:String = null with get,set /// ///An optional code that grants access to certain features or subscriptions /// [] member val AccountActivationCode:String = null with get,set /// ///The company's VAT registration number (if applicable) /// [] member val VATNumber:String = null with get,set /// ///The country where the company is VAT-registered /// [] member val VATCountry:String = 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 ArrayOfCountry() = inherit ResizeArray() [] type ArrayOfCompanyIndustry() = inherit ResizeArray() [] type ArrayOfCompanyType() = inherit ResizeArray() [] type ArrayOfVATCountry() = inherit ResizeArray() [] type ReferenceData() = /// ///A list of supported country values /// [] member val Countries:ArrayOfCountry = null with get,set /// ///A list of valid industry classifications for companies /// [] member val CompanyIndustries:ArrayOfCompanyIndustry = null with get,set /// ///A list of accepted company types /// [] member val CompanyTypes:ArrayOfCompanyType = null with get,set /// ///A list of countries where VAT registration is recognized /// [] member val VATCountries:ArrayOfVATCountry = null with get,set /// ///A URL linking to the terms and conditions document /// [] member val TermsAndConditionsLink:String = null with get,set /// ///A URL linking to the privacy policy /// [] member val PrivacyPolicyLink:String = null with get,set /// ///The statement regarding contact preferences /// [] member val ContactStatement:String = null with get,set /// ///The statement outlining data protection policies /// [] member val DataProtectionStatement:String = null with get,set [] type RegisterAccountTemplateData() = inherit BaseResponse() /// ///The request body of the RegisterAccount endpoint /// [] member val Request:RegisterAccountRequest = null with get,set /// ///Reference data to fill out the RegisterAccount body /// [] member val ReferenceData:ReferenceData = null with get,set [] type IBaseDataResponse = abstract ResponseStatus:ResponseStatus with get,set [] type IHasResponseStatus = abstract ResponseStatus:ResponseStatus with get,set [] [] type RegisterAccountTemplateResponse() = /// ///The response data /// [] [] member val Data:RegisterAccountTemplateData = null with get,set [] [] [] type RegisterAccountTemplate() = inherit BaseRequest() interface IReturn