(* Options: Date: 2024-11-24 13:51:58 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: UserAccountRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubReady.Core.Api.Models open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type RestrictedResourceType = | Store = 0 | Chain = 1 | User = 2 | Undefined = 3 [] type IRestrictedApiRequest = abstract RestrictedId:Nullable with get,set abstract RestrictedResourceType:RestrictedResourceType with get,set [] type IApiKeyEndpoint = abstract ApiKey:String with get,set [] type ApiDtoBase() = member val ApiKey:String = null with get,set member val StoreId:Nullable = new Nullable() with get,set member val ChainId:Nullable = new Nullable() with get,set [] type UserAccountRequestDto() = inherit ApiDtoBase() member val UserId:Int32 = new Int32() with get,set member val FirstName:String = null with get,set member val LastName:String = null with get,set member val HomePhone:String = null with get,set member val CellPhone:String = null with get,set member val Address1:String = null with get,set member val City:String = null with get,set member val State:String = null with get,set member val Zip:String = null with get,set member val Email:String = null with get,set member val Gender:String = null with get,set member val DateOfBirth:Nullable = new Nullable() with get,set member val Username:String = null with get,set member val ExternalId:String = null with get,set member val EmergencyContactName:String = null with get,set member val EmergencyContactPhone:String = null with get,set member val EmergencyContactType:String = null with get,set member val ProspectTypeId:Nullable = new Nullable() with get,set [] [] type UserAccountRequest() = inherit UserAccountRequestDto() /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// /// /// [] member val UserId:Int32 = new Int32() with get,set /// ///StoreId OR ChainId is required /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///StoreId OR ChainId is required /// [] member val ChainId:Nullable = new Nullable() with get,set /// /// /// [] member val FirstName:String = null with get,set /// /// /// [] member val LastName:String = null with get,set /// /// /// [] member val HomePhone:String = null with get,set /// /// /// [] member val CellPhone:String = null with get,set /// /// /// [] member val Address1:String = null with get,set /// /// /// [] member val City:String = null with get,set /// ///(Format:2 characters; Example:'MO') /// [] member val State:String = null with get,set /// /// /// [] member val Zip:String = null with get,set /// /// /// [] member val Email:String = null with get,set /// ///Gender (Format:'M'|'F') /// [] member val Gender:String = null with get,set /// ///Date of Birth (Format:YYYY-MM-DD) /// [] member val DateOfBirth:Nullable = new Nullable() with get,set /// ///Username should be between 4 and 255 characters long /// [] member val Username:String = null with get,set /// ///Unique ID for the user from your system. We store internally as ExternalUserId /// [] member val ExternalId:String = null with get,set /// ///Emergency contact name /// [] member val EmergencyContactName:String = null with get,set /// ///Emergency contact phone number /// [] member val EmergencyContactPhone:String = null with get,set /// ///Emergency contact relationship /// [] member val EmergencyContactType:String = null with get,set /// ///Prospect Type Id /// [] member val ProspectTypeId:Nullable = new Nullable() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set