(* Options: Date: 2025-04-04 17:59:42 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: MemberService.GetMemberByKeyRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubManager.Api.Services open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type Gender = | Unknown = 0 | Male = 1 | Female = 2 | Other = 3 | PreferNotToSay = 4 type ExternalStatus = | Off = 0 | Active = 1 | Pending = 2 | CancelledInsideContract = 3 | CancelledOutsideContract = 4 | WithDebtRecovery = 5 | Suspended = 6 type MemberType = | Prospect = 0 | Active = 1 | Cancelled = 2 | Expired = 3 | Suspended = 4 | ClubCancelled = 5 | DropOut = 6 type MembershipState = | Prospect = 0 | Active = 1 | Expired = 2 | Cancelled = 3 | PaymentRequired = 4 | Suspended = 5 [] type MessageTemplateContentType = | Transactional = 1 | Marketing = 2 | None = 1048576 [] type MessageTemplateType = | SMS = 1 | Email = 2 | Telephone = 4 | DirectMail = 8 | Notification = 16 | Page = 32 | None = 1048576 | NoConsent = 2097152 [] type Member() = member val MemberId:Int32 = new Int32() with get,set member val BranchId:Int32 = new Int32() with get,set member val MembershipNumber:String = null with get,set member val JoinedDate:Nullable = new Nullable() with get,set member val CardNumber:String = null with get,set member val CompanyName:String = null with get,set member val Gender:Gender = new Gender() with get,set member val GenderName:String = null with get,set member val FullName:String = null with get,set member val Title:String = null with get,set member val Forenames:String = null with get,set member val Surname:String = null with get,set member val Address1:String = null with get,set member val Address2:String = null with get,set member val County:String = null with get,set member val City:String = null with get,set member val HomePhone:String = null with get,set member val MobilePhone:String = null with get,set member val EmailAddress:String = null with get,set member val ExternalReference:String = null with get,set member val Country:String = null with get,set member val EmailOptOut:Boolean = new Boolean() with get,set member val SmsOptOut:Boolean = new Boolean() with get,set member val PhoneOptOut:Boolean = new Boolean() with get,set member val LetterOptOut:Boolean = new Boolean() with get,set member val UseExternalStatus:Boolean = new Boolean() with get,set member val ExternalStatus:ExternalStatus = new ExternalStatus() with get,set member val DateOfBirth:Nullable = new Nullable() with get,set member val Postcode:String = null with get,set member val Notes:String = null with get,set member val StartDate:Nullable = new Nullable() with get,set member val Expires:Nullable = new Nullable() with get,set member val SessionsRemaining:Nullable = new Nullable() with get,set member val ContractEndDate:Nullable = new Nullable() with get,set member val DaysRemaining:Int32 = new Int32() with get,set member val MembershipType:String = null with get,set member val LastAttendance:Nullable = new Nullable() with get,set member val Attendance:Int32 = new Int32() with get,set member val MemberType:MemberType = new MemberType() with get,set member val RecurringPayments:Int32 = new Int32() with get,set member val OverduePayments:Int32 = new Int32() with get,set member val AttendanceThisWeek:Int32 = new Int32() with get,set member val retentionMetric:Decimal = new Decimal() with get,set member val MonthlyAttendanceFrequency:Decimal = new Decimal() with get,set member val TotalProductSpend:Decimal = new Decimal() with get,set member val JournalEntry:String = null with get,set member val Balance:Decimal = new Decimal() with get,set member val CreditLimit:Decimal = new Decimal() with get,set member val guid:Guid = new Guid() with get,set member val MembershipState:MembershipState = new MembershipState() with get,set member val BookingsAttended:Int32 = new Int32() with get,set member val DateOfLastBooking:Nullable = new Nullable() with get,set member val PhotoModifiedDate:Nullable = new Nullable() with get,set member val CreatedDate:Nullable = new Nullable() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val DeletedDate:Nullable = new Nullable() with get,set member val MemberKey:Guid = new Guid() with get,set member val CreatedByUserId:Int32 = new Int32() with get,set member val AssignedToUserId:Int32 = new Int32() with get,set member val DeletedByUserId:Int32 = new Int32() with get,set member val GiftAidPermission:Boolean = new Boolean() with get,set member val FirstAidPermission:Boolean = new Boolean() with get,set member val PhotoPermission:Boolean = new Boolean() with get,set member val EmergencyContact:String = null with get,set member val WonOrLost:Nullable = new Nullable() with get,set member val WonOrLostDate:Nullable = new Nullable() with get,set member val WonOrLostByUserId:Nullable = new Nullable() with get,set member val LicenseReference:String = null with get,set member val LicenseStartDate:Nullable = new Nullable() with get,set member val LicenseRenewalDate:Nullable = new Nullable() with get,set member val AgreedToTerms:Nullable = new Nullable() with get,set member val OnlineBookingBanned:Boolean = new Boolean() with get,set member val ChildBranchId:Nullable = new Nullable() with get,set member val ChildBranch:String = null with get,set member val ProspectingPoints:Int32 = new Int32() with get,set member val AchievementPoints:Int32 = new Int32() with get,set member val ParentForenames:String = null with get,set member val ParentSurname:String = null with get,set member val GradingReadiness:Int32 = new Int32() with get,set member val DirectDebitAccountHolder:String = null with get,set member val DirectDebitAccountNumber:String = null with get,set member val DirectDebitSortCode:String = null with get,set member val DirectDebitBankAddress:String = null with get,set member val InvitedDate:Nullable = new Nullable() with get,set member val Grade:String = null with get,set member val ColourLeft:String = null with get,set member val ColourRight:String = null with get,set member val SessionsToComplete:Int32 = new Int32() with get,set member val UniqueId:String = null with get,set member val PreferenceLink:String = null with get,set member val MarketingAllLink:String = null with get,set member val MarketingNoneLink:String = null with get,set member val AppRegistrationId:String = null with get,set member val AppRegistrationLink:String = null with get,set member val AppQrImageLink:String = null with get,set member val CardNumberQrImageLink:String = null with get,set member val PhotoThumbnailLink:String = null with get,set member val ContentTypesOptIn:MessageTemplateContentType = new MessageTemplateContentType() with get,set member val TemplateTypesOptIn:MessageTemplateType = new MessageTemplateType() with get,set member val CanEmail:Boolean = new Boolean() with get,set member val CanDirectMail:Boolean = new Boolean() with get,set member val CanSMS:Boolean = new Boolean() with get,set member val CanTelephone:Boolean = new Boolean() with get,set member val NoMarketingConsent:Boolean = new Boolean() with get,set member val CanSendInvite:Boolean = new Boolean() with get,set member val BranchKey:Guid = new Guid() with get,set member val SageLink:String = null with get,set member val SageLastPaymentDate:Nullable = new Nullable() with get,set member val SageFirstPaymentDate:Nullable = new Nullable() with get,set member val SageLastPaymentAmount:Nullable = new Nullable() with get,set member val SageFirstPaymentAmount:Nullable = new Nullable() with get,set member val SageTotalPaid:Nullable = new Nullable() with get,set [] [] type GetMemberByKeyRequest() = interface IReturn member val MemberKey:Guid = new Guid() with get,set