(* Options: Date: 2025-04-04 17:14:50 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: FindMembership.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubManager.Api.Services.Query open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type LossReasonInstance() = member val LossReasonId:Int32 = new Int32() with get,set member val Reason:String = null with get,set member val Deleted:Boolean = new Boolean() with get,set member val Demo:Boolean = new Boolean() with get,set member val Selectable:Boolean = new Boolean() with get,set [] type UserInstance() = member val UserId:Int32 = new Int32() with get,set member val UserName:String = null with get,set member val Name:String = null with get,set member val Email:String = null with get,set member val MobilePhone:String = null with get,set member val Enabled:Boolean = new Boolean() with get,set member val LastLogin:Nullable = new Nullable() with get,set member val Created:DateTime = new DateTime() with get,set member val Training:Boolean = new Boolean() with get,set member val Deleted:Boolean = new Boolean() with get,set member val CoursesCompleted:Int32 = new Int32() with get,set member val DisplayHomeNotification:Nullable = new Nullable() with get,set member val TwoFactorEnabled:Boolean = new Boolean() with get,set member val EmailConfirmed:Boolean = new Boolean() with get,set member val MobilePhoneConfirmed:Boolean = new Boolean() with get,set member val Notifications:Boolean = new Boolean() with get,set member val ChangePassword:Nullable = new Nullable() with get,set member val Activated:Nullable = new Nullable() with get,set [] type MemberInstance() = member val MemberId:Int32 = new Int32() with get,set member val MemberType:Int32 = new Int32() with get,set member val MembershipNumber:String = null with get,set member val CardNumber:String = null with get,set member val CompanyName:String = null with get,set member val Surname:String = null with get,set member val Forenames:String = null with get,set member val Title:String = null with get,set member val Gender:Int32 = new Int32() with get,set member val DateOfBirth:Nullable = new Nullable() with get,set member val Address1:String = null with get,set member val Address2:String = null with get,set member val City:String = null with get,set member val County:String = null with get,set member val Postcode: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 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 DirectDebitAccountHolder:String = null with get,set member val DirectDebitAccountNumber:String = null with get,set member val DirectDebitSortCode:String = null with get,set member val JoinedDate:Nullable = new Nullable() with get,set member val DirectDebitBankAddress:String = null with get,set member val FullName:String = null with get,set member val ExternalReference:String = null with get,set member val Photo:Byte[] = [||] with get,set member val PhotoModifiedDate:Nullable = new Nullable() with get,set member val Notes:String = null with get,set member val Deleted:Boolean = new Boolean() with get,set member val Demo:Boolean = new Boolean() with get,set member val UseExternalStatus:Boolean = new Boolean() with get,set member val ExternalStatus:Int32 = new Int32() with get,set member val FreeText:String = null with get,set member val MemberKey:Nullable = new Nullable() with get,set member val Balance:Decimal = new Decimal() with get,set member val CreditLimit:Decimal = new Decimal() with get,set member val CreatedDate:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val DeletedDate:Nullable = new Nullable() with get,set member val ExternalSource:Int32 = new Int32() with get,set member val RetentionMetric:Nullable = new Nullable() with get,set member val MonthlyAttendanceFrequency:Nullable = new Nullable() with get,set member val AssignedToUserId:Nullable = new Nullable() with get,set member val CreatedByUserId:Nullable = new Nullable() with get,set member val DeletedByUserId:Nullable = new Nullable() with get,set member val LossReason:LossReasonInstance = null with get,set [)>] member val LossReasonId:Nullable = new Nullable() with get,set member val WonOrLost:Nullable = new Nullable() with get,set member val WonOrLostDate:Nullable = new Nullable() with get,set member val GiftAidPermission:Boolean = new Boolean() with get,set member val PhotoPermission:Nullable = new Nullable() with get,set member val FirstAidPermission:Nullable = new Nullable() with get,set member val EmergencyContact:String = null with get,set member val WonOrLostByUser:UserInstance = null with get,set [)>] member val WonOrLostByUserId: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 Country:String = null with get,set member val FingerprintEnrolled:Nullable = new Nullable() with get,set member val LastPaymentAmount:Nullable = new Nullable() with get,set member val Pin: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 [] type ScheduleInstance() = member val ScheduleId:Int32 = new Int32() with get,set member val Name:String = null with get,set member val Description:String = null with get,set member val MondayFrom:Nullable = new Nullable() with get,set member val MondayTo:Nullable = new Nullable() with get,set member val TuesdayFrom:Nullable = new Nullable() with get,set member val TuesdayTo:Nullable = new Nullable() with get,set member val WednesdayFrom:Nullable = new Nullable() with get,set member val WednesdayTo:Nullable = new Nullable() with get,set member val ThursdayFrom:Nullable = new Nullable() with get,set member val ThursdayTo:Nullable = new Nullable() with get,set member val FridayFrom:Nullable = new Nullable() with get,set member val FridayTo:Nullable = new Nullable() with get,set member val SaturdayFrom:Nullable = new Nullable() with get,set member val SaturdayTo:Nullable = new Nullable() with get,set member val SundayFrom:Nullable = new Nullable() with get,set member val SundayTo:Nullable = new Nullable() with get,set member val ScheduleType:Int32 = new Int32() with get,set member val Deleted:Boolean = new Boolean() with get,set member val Demo:Boolean = new Boolean() with get,set [] type MembershipTypeInstance() = member val MembershipTypeId:Int32 = new Int32() with get,set member val Name:String = null with get,set member val Description:String = null with get,set member val Definition:String = null with get,set member val Schedule:ScheduleInstance = null with get,set [)>] member val ScheduleId:Int32 = new Int32() with get,set member val Deleted:Boolean = new Boolean() with get,set member val Demo:Boolean = new Boolean() with get,set member val Public:Boolean = new Boolean() with get,set member val SessionsRemaining:Nullable = new Nullable() with get,set member val ClassesRemaining:Nullable = new Nullable() with get,set member val SortOrder:Nullable = new Nullable() with get,set member val Special:Boolean = new Boolean() with get,set member val MultiSiteAccess:Boolean = new Boolean() with get,set member val MemberLimit:Int32 = new Int32() with get,set member val PromotionCode:String = null with get,set member val PromotionStart:Nullable = new Nullable() with get,set member val PromotionEnd:Nullable = new Nullable() with get,set member val LicensesRemaining:Nullable = new Nullable() with get,set member val BookingAccessOnly:Boolean = new Boolean() with get,set member val SessionsPeriod:Nullable = new Nullable() with get,set member val SessionsFrequency:Nullable = new Nullable() with get,set member val StartsOn:Nullable = new Nullable() with get,set member val AllowSelectionAfterStartsOn:Boolean = new Boolean() with get,set [] type MembershipInstance() = member val MembershipId:Int32 = new Int32() with get,set member val StartDate:DateTime = new DateTime() with get,set member val EndDate:DateTime = new DateTime() with get,set member val ContractEndDate:DateTime = new DateTime() with get,set member val Name:String = null with get,set member val EnrolmentFee:Decimal = new Decimal() with get,set member val InductionFee:Decimal = new Decimal() with get,set member val MembershipFee:Nullable = new Nullable() with get,set member val DirectDebitPayment:Nullable = new Nullable() with get,set member val DirectDebitDate:Nullable = new Nullable() with get,set member val Member:MemberInstance = null with get,set [)>] member val MemberId:Int32 = new Int32() with get,set member val RefererMemberId:Nullable = new Nullable() with get,set member val PromotionId:Nullable = new Nullable() with get,set member val Payment1Fee:Nullable = new Nullable() with get,set member val Payment1Date:Nullable = new Nullable() with get,set member val Payment2Fee:Nullable = new Nullable() with get,set member val Payment2Date:Nullable = new Nullable() with get,set member val Payment1Type:Int32 = new Int32() with get,set member val Payment1Method:Int32 = new Int32() with get,set member val Payment2Type:Int32 = new Int32() with get,set member val Payment2Method:Int32 = new Int32() with get,set member val Payment3Type:Int32 = new Int32() with get,set member val Payment3Method:Int32 = new Int32() with get,set member val Payment3Fee:Nullable = new Nullable() with get,set member val Payment3Date:Nullable = new Nullable() with get,set member val MembershipType:MembershipTypeInstance = null with get,set [)>] member val MembershipTypeId:Nullable = new Nullable() with get,set member val ProviderId:Nullable = new Nullable() with get,set member val Definition:String = null with get,set member val HasRecurringPayments:Boolean = new Boolean() with get,set member val Deleted:Boolean = new Boolean() with get,set member val Demo:Boolean = new Boolean() with get,set member val MembershipKey:Nullable = new Nullable() with get,set member val SessionsRemaining:Nullable = new Nullable() with get,set member val ClassesRemaining:Nullable = new Nullable() with get,set member val Cancelled:Nullable = new Nullable() with get,set member val APICreated:Nullable = new Nullable() with get,set member val SuspensionStart:Nullable = new Nullable() with get,set member val SuspensionEnd:Nullable = new Nullable() with get,set member val IpAddress:String = null with get,set [] [] [] type FindMembership() = inherit QueryDb() interface IReturn>