(* Options: Date: 2024-11-28 07:09:03 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: CreateProspectRequestV2.* //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 CreateProspectRequestV2Dto() = inherit ApiDtoBase() member val FirstName:String = null with get,set member val LastName:String = null with get,set member val Address: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 AddPackageId:Nullable = new Nullable() with get,set member val ProspectTypeId:Nullable = new Nullable() with get,set member val ReferralTypeId:Nullable = new Nullable() with get,set member val SendEmail:Boolean = new Boolean() with get,set member val Phone:String = null with get,set member val WorkPhone:String = null with get,set member val DateOfBirth:Nullable = new Nullable() with get,set member val CellPhone:String = null with get,set member val Coupon:String = null with get,set member val Note:String = null with get,set member val EmailTemplateId:Nullable = new Nullable() with get,set [] [] type CreateProspectRequestV2() = inherit CreateProspectRequestV2Dto() /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///ClubReady Club ID (StoreID internally) /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///First Name /// [] member val FirstName:String = null with get,set /// ///Last Name /// [] member val LastName:String = null with get,set /// ///Email Address /// [] member val Email:String = null with get,set /// ///Gender /// [] member val Gender:String = null with get,set /// ///Address /// [] member val Address:String = null with get,set /// ///City /// [] 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 Phone:String = null with get,set member val WorkPhone:String = null with get,set member val DateOfBirth:Nullable = new Nullable() with get,set member val CellPhone:String = null with get,set /// ///Specify a Package to apply to the new prospect /// [] member val AddPackageId:Nullable = new Nullable() with get,set /// ///Specify a specific Prospect Type for the new prospect /// [] member val ProspectTypeId:Nullable = new Nullable() with get,set /// ///Specify a specific Referral Type for the new prospect /// [] member val ReferralTypeId:Nullable = new Nullable() with get,set /// ///Send a Welcome email to the new prospect /// [] member val SendEmail:Boolean = new Boolean() with get,set /// ///Only used if SendEmail = True /// [] member val EmailTemplateId:Nullable = new Nullable() with get,set /// /// /// [] member val Coupon:String = null with get,set /// ///Add an internal note for the new prospect /// [] member val Note:String = null with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set