' Options: 'Date: 2025-04-04 18:07:24 'Version: 5.140 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.clubmanagercentral.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: MemberService.GetMembersForAccessControlRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports ClubManager.Interfaces.Models.Member Imports ClubManager.Interfaces.Models.ResourceManagement Imports ClubManager.Interfaces.Models.Membership Imports ClubManager.Interfaces.Models.Branch Imports ClubManager.Api.Services Namespace Global Namespace ClubManager.Interfaces.Models.Branch Public Partial Class Branch Public Overridable Property BranchId As Integer Public Overridable Property BranchType As BranchType Public Overridable Property Name As String Public Overridable Property Prefix As String Public Overridable Property CompanyName As String Public Overridable Property CompanyAddress As String Public Overridable Property CompanyOfficialName As String Public Overridable Property DirectDebitReference As String Public Overridable Property FastDDReference As String Public Overridable Property FastDDPlatinumRef As String Public Overridable Property Style As String Public Overridable Property PublicKey As Guid Public Overridable Property PrivateKey As Guid Public Overridable Property TrialStart As Nullable(Of Date) Public Overridable Property TrialEnd As Nullable(Of Date) Public Overridable Property PaymentStartDate As Nullable(Of Date) Public Overridable Property InTrial As Boolean Public Overridable Property UseFreeText As Boolean Public Overridable Property FreeTextTitle As String Public Overridable Property UseMembershipTypes As Boolean Public Overridable Property DDUserName As String Public Overridable Property DDPassword As String Public Overridable Property DDServiceUser As String Public Overridable Property DfcUserName As String Public Overridable Property DfcPassword As String Public Overridable Property DfcClubNumber As String Public Overridable Property CompanyEmail As String Public Overridable Property SmsOriginator As String Public Overridable Property LanguageId As Nullable(Of Integer) Public Overridable Property VatRate As Decimal Public Overridable Property SwipeAction As Integer Public Overridable Property Modules As Module Public Overridable Property UseCreditBalance As Boolean Public Overridable Property AllowNegativeBalance As Boolean Public Overridable Property DefaultCreditLimit As Decimal Public Overridable Property ApplicationType As ApplicationType Public Overridable Property ExternalProviderWarning As String Public Overridable Property Domain As String Public Overridable Property MobileDomain As String Public Overridable Property OnlineBookingTimetableLimit As Integer Public Overridable Property OnlineBookingCancellationLimit As Integer Public Overridable Property OnlineBookingLimit As Nullable(Of Integer) Public Overridable Property Feature As Feature Public Overridable Property TimeZone As String Public Overridable Property Culture As String Public Overridable Property Country As String Public Overridable Property Iso3166Country As Iso3166Country Public Overridable Property CurrencyCulture As String Public Overridable Property ShowGoCardlessAd As Boolean Public Overridable Property GoCardlessSaving As Decimal Public Overridable Property SROAddress As String Public Overridable Property MCAClubNo As String Public Overridable Property MCAClubRef As String Public Overridable Property TwilioNumber As String Public Overridable Property Telephone As String Public Overridable Property Transferred As Boolean Public Overridable Property OnlineBookingAllowNonActives As Boolean Public Overridable Property MemberLimit As Integer Public Overridable Property SortCode As String Public Overridable Property AccountNumber As String Public Overridable Property Website As String Public Overridable Property SendSMSAppointmentRemindersDefault As Boolean Public Overridable Property SendSMSBookingReminders As Boolean Public Overridable Property GiftAid As Boolean Public Overridable Property GlobalBookingStartTime As TimeSpan Public Overridable Property GlobalBookingEndTime As TimeSpan Public Overridable Property BookingMinuteIncrements As Integer Public Overridable Property CancelReason As String Public Overridable Property CancelFurther As String Public Overridable Property CancelDate As Nullable(Of Date) Public Overridable Property DirectDebitFee As Decimal Public Overridable Property CreditCardFee As Decimal Public Overridable Property SMSPriceAdjustment As Decimal Public Overridable Property BookingsPayLinkOnTrack As Boolean Public Overridable Property AccessControlTimeLimit As Integer Public Overridable Property Minimiser As BranchMinimiser Public Overridable Property AutoGenerateLicenses As Boolean Public Overridable Property Terms As String Public Overridable Property FingerprintThreshold As Integer Public Overridable Property FingerprintMatcherThreshold As Integer Public Overridable Property AutoShutoff As Boolean Public Overridable Property PrimaryColors As String Public Overridable Property HasColors As Boolean Public Overridable Property PrimaryColor As String Public Overridable Property SecondaryColor As String Public Overridable Property BackgroundColor As String Public Overridable Property HeaderTopColor As String Public Overridable Property HeaderBottomColor As String Public Overridable Property SideLeftColor As String Public Overridable Property SideRightColor As String Public Overridable Property SideFontColor As String Public Overridable Property SideFontActiveColor As String Public Overridable Property ExtWebBackgroundColor As String Public Overridable Property ExtWebTextColor As String Public Overridable Property ExtWebTintBackColor As String Public Overridable Property ExtWebHighlightBackColor As String Public Overridable Property ExtWebTabBackColor As String Public Overridable Property HeadingColor As String Public Overridable Property ReportFormat As ReportFormat Public Overridable Property FixPayments As Boolean Public Overridable Property FixPaymentSchedle As String Public Overridable Property AppFeature As AppFeature Public Overridable Property SignInScreenFeature As SignInScreenFeature Public Overridable Property AppOptions As String Public Overridable Property CompanyDescription As String Public Overridable Property Capacity As Nullable(Of Integer) Public Overridable Property MonthlySalesTarget As Nullable(Of Integer) Public Overridable Property BookingAccessTimeLimit As Integer Public Overridable Property Facebook As String Public Overridable Property Twitter As String Public Overridable Property Instagram As String Public Overridable Property YouTube As String Public Overridable Property TikTok As String Public Overridable Property Shopify As String Public Overridable Property MinimumMemberAge As Integer Public Overridable Property TermsAndConditionsVersionDate As Nullable(Of Date) Public Overridable Property TermsAndConditionsAcceptedDate As Nullable(Of Date) Public Overridable Property TermsAndConditionsAccepted As Boolean Public Overridable Property SiteUrl As String Public Overridable Property IsUsingSmartDebit As Boolean Public Overridable Property IsUsingDfc As Boolean Public Overridable Property IsSouthAfrica As Boolean Public Overridable Property SmartDebitConfigured As Boolean Public Overridable Property DfcConfigured As Boolean Public Overridable Property UsingPaymentMethods As Boolean Public Overridable Property SmsPrefix As String Public Overridable Property Logo As String Public Overridable Property LogoThumbnail As String Public Overridable Property LogoHash As String Public Overridable Property SendMarketingInviteWhenMemberAdded As Boolean Public Overridable Property SendMarketingInviteWhenMemberJoinedOnline As Boolean Public Overridable Property MarketingComplianceManagedExternally As Boolean Public Overridable Property OnlineBookingAllowWaitingList As Boolean Public Overridable Property OnlineMultiSiteEnabled As Boolean Public Overridable Property CanBookOnline As Boolean Public Overridable Property PublicMembershipTypes As Integer Public Overridable Property TrustedBranches As Integer Public Overridable Property IsAddingProspects As Boolean Public Overridable Property IsSellingMemberships As Boolean Public Overridable Property IsCreatingTasks As Boolean Public Overridable Property IsCreatingAppointments As Boolean Public Overridable Property IsBookingClasses As Boolean Public Overridable Property IsRegisteringAttendance As Boolean Public Overridable Property IsSellingProducts As Boolean Public Overridable Property IsSendingEmails As Boolean Public Overridable Property IsSendingSMS As Boolean Public Overridable Property IsUsingAutomation As Boolean Public Overridable Property DeductSessionsOnBooking As Boolean Public Overridable Property ShowTrustedBranchBookings As Boolean Public Overridable Property Score As Integer Public Overridable Property ApplicationId As String Public Overridable Property iOSAppLink As String Public Overridable Property AndroidAppLink As String End Class End Namespace Namespace ClubManager.Interfaces.Models.Member Public Partial Class AccessControlMember Public Overridable Property MemberId As Integer Public Overridable Property EnrolmentId As Nullable(Of Integer) Public Overridable Property BranchId As Integer Public Overridable Property MembershipState As MembershipState Public Overridable Property MembershipNumber As String Public Overridable Property CardNumber As String Public Overridable Property Forenames As String Public Overridable Property Surname As String Public Overridable Property MultiSiteAccess As Boolean Public Overridable Property UseExternalStatus As Boolean Public Overridable Property ExternalStatus As ExternalStatus Public Overridable Property MembershipTypeName As String Public Overridable Property StartDate As Nullable(Of Date) Public Overridable Property EndDate As Nullable(Of Date) Public Overridable Property ScheduleId As Nullable(Of Integer) Public Overridable Property SessionsRemaining As Nullable(Of Integer) Public Overridable Property LastAttendance As Nullable(Of Date) Public Overridable Property MemberAccess As MemberAccess End Class Public Partial Class AccessControlMembers Public Sub New() Members = New List(Of AccessControlMember) Schedules = New List(Of Schedule) End Sub Public Overridable Property Members As List(Of AccessControlMember) Public Overridable Property Schedules As List(Of Schedule) Public Overridable Property Branch As Branch End Class Public Enum ExternalStatus Off Active Pending CancelledInsideContract CancelledOutsideContract WithDebtRecovery Suspended End Enum Public Enum MembershipState Prospect Active Expired Cancelled PaymentRequired Suspended End Enum End Namespace Namespace ClubManager.Interfaces.Models.Membership Public Enum MemberAccess AccessAllowed = 1 NoAccess = 2 NoMultiSiteAccess = 3 NoSessions = 4 NoScheduleAccess = 5 NoAccessTimeLimitExceeded = 6 Suspended = 7 End Enum End Namespace Namespace ClubManager.Interfaces.Models.ResourceManagement Public Partial Class Schedule Public Overridable Property ScheduleId As Integer Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property MondayFrom As Nullable(Of TimeSpan) Public Overridable Property MondayTo As Nullable(Of TimeSpan) Public Overridable Property TuesdayFrom As Nullable(Of TimeSpan) Public Overridable Property TuesdayTo As Nullable(Of TimeSpan) Public Overridable Property WednesdayFrom As Nullable(Of TimeSpan) Public Overridable Property WednesdayTo As Nullable(Of TimeSpan) Public Overridable Property ThursdayFrom As Nullable(Of TimeSpan) Public Overridable Property ThursdayTo As Nullable(Of TimeSpan) Public Overridable Property FridayFrom As Nullable(Of TimeSpan) Public Overridable Property FridayTo As Nullable(Of TimeSpan) Public Overridable Property SaturdayFrom As Nullable(Of TimeSpan) Public Overridable Property SaturdayTo As Nullable(Of TimeSpan) Public Overridable Property SundayFrom As Nullable(Of TimeSpan) Public Overridable Property SundayTo As Nullable(Of TimeSpan) Public Overridable Property ScheduleType As Integer Public Overridable Property BranchId As Integer Public Overridable Property Deleted As Boolean Public Overridable Property Demo As Boolean Public Overridable Property Monday As Boolean Public Overridable Property Tuesday As Boolean Public Overridable Property Wednesday As Boolean Public Overridable Property Thursday As Boolean Public Overridable Property Friday As Boolean Public Overridable Property Saturday As Boolean Public Overridable Property Sunday As Boolean Public Overridable Property MondayTotalTime As TimeSpan Public Overridable Property TuesdayTotalTime As TimeSpan Public Overridable Property WednesdayTotalTime As TimeSpan Public Overridable Property ThursdayTotalTime As TimeSpan Public Overridable Property FridayTotalTime As TimeSpan Public Overridable Property SaturdayTotalTime As TimeSpan Public Overridable Property SundayTotalTime As TimeSpan Public Overridable Property TotalTime As TimeSpan End Class End Namespace End Namespace