(* Options: Date: 2024-11-24 14:02:41 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: CreateProspectRequest.* //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 CreateProspectRequestDto() = 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 member val ExternalId:String = null with get,set member val ReferredBy:Nullable = new Nullable() with get,set member val AssignToId:Nullable = new Nullable() with get,set member val AssignToMethod:Int32 = new Int32() with get,set member val ContactedHow:Nullable = new Nullable() with get,set member val Username: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 EmailOptOut:Boolean = new Boolean() with get,set member val NonPromotionalSmsOptedIn:Nullable = new Nullable() with get,set member val PromotionalSmsOptedIn:Nullable = new Nullable() with get,set [] [] type CreateProspectRequest() = inherit CreateProspectRequestDto() /// ///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 (Format:'M'|'F') /// [] 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 /// ///Home phone /// [] member val Phone:String = null with get,set /// ///Work phone /// [] member val WorkPhone:String = null with get,set /// ///Date of Birth (Format:YYYY-MM-DD) /// [] member val DateOfBirth:Nullable = new Nullable() with get,set /// ///Cell phone /// [] 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 (Format:true|false) /// [] 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 /// ///Unique ID for the user from your system. We store internally as ExternalUserId /// [] member val ExternalId:String = null with get,set /// ///User ID of existing user who referred them. /// [] member val ReferredBy:Nullable = new Nullable() with get,set /// ///ClubReady UserId of staff to assign new member to. /// [] member val AssignToId:Nullable = new Nullable() with get,set /// ///Who should be assigned to this lead? 0 = Default lead assignments, 1 = When passing in a ReferredBy user, assign the new Lead to that referring user's Staff assignment. /// [] member val AssignToMethod:Int32 = new Int32() with get,set /// ///Username needs to be between 4 and 255 characters /// [] member val Username: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 /// ///Set a prospect's email opt out status (Format:true|false) /// [] member val EmailOptOut:Boolean = new Boolean() with get,set /// ///Set a prospect's NonPromotionalSmsOptedIn status (Format:true|false) /// [] member val NonPromotionalSmsOptedIn:Nullable = new Nullable() with get,set /// ///Set a prospect's NonPromotionalSmsOptedIn status (Format:true|false) /// [] member val PromotionalSmsOptedIn:Nullable = new Nullable() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set