/* Options: Date: 2025-04-04 18:10:38 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: MemberService.GetMembersForAccessControlRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export enum ExternalStatus { Off = 'Off', Active = 'Active', Pending = 'Pending', CancelledInsideContract = 'CancelledInsideContract', CancelledOutsideContract = 'CancelledOutsideContract', WithDebtRecovery = 'WithDebtRecovery', Suspended = 'Suspended', } export enum MembershipState { Prospect = 'Prospect', Active = 'Active', Expired = 'Expired', Cancelled = 'Cancelled', PaymentRequired = 'PaymentRequired', Suspended = 'Suspended', } export enum MemberAccess { AccessAllowed = 1, NoAccess = 2, NoMultiSiteAccess = 3, NoSessions = 4, NoScheduleAccess = 5, NoAccessTimeLimitExceeded = 6, Suspended = 7, } export class AccessControlMember { public MemberId: number; public EnrolmentId?: number; public BranchId: number; public MembershipState: MembershipState; public MembershipNumber: string; public CardNumber: string; public Forenames: string; public Surname: string; public MultiSiteAccess: boolean; public UseExternalStatus: boolean; public ExternalStatus: ExternalStatus; public MembershipTypeName: string; public StartDate?: string; public EndDate?: string; public ScheduleId?: number; public SessionsRemaining?: number; public LastAttendance?: string; public MemberAccess: MemberAccess; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Schedule { public ScheduleId: number; public Name: string; public Description: string; public MondayFrom?: string; public MondayTo?: string; public TuesdayFrom?: string; public TuesdayTo?: string; public WednesdayFrom?: string; public WednesdayTo?: string; public ThursdayFrom?: string; public ThursdayTo?: string; public FridayFrom?: string; public FridayTo?: string; public SaturdayFrom?: string; public SaturdayTo?: string; public SundayFrom?: string; public SundayTo?: string; public ScheduleType: number; public BranchId: number; public Deleted: boolean; public Demo: boolean; public Monday: boolean; public Tuesday: boolean; public Wednesday: boolean; public Thursday: boolean; public Friday: boolean; public Saturday: boolean; public Sunday: boolean; public MondayTotalTime: string; public TuesdayTotalTime: string; public WednesdayTotalTime: string; public ThursdayTotalTime: string; public FridayTotalTime: string; public SaturdayTotalTime: string; public SundayTotalTime: string; public TotalTime: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Branch { public BranchId: number; public BranchType: BranchType; public Name: string; public Prefix: string; public CompanyName: string; public CompanyAddress: string; public CompanyOfficialName: string; public DirectDebitReference: string; public FastDDReference: string; public FastDDPlatinumRef: string; public Style: string; public PublicKey: string; public PrivateKey: string; public TrialStart?: string; public TrialEnd?: string; public PaymentStartDate?: string; public InTrial: boolean; public UseFreeText: boolean; public FreeTextTitle: string; public UseMembershipTypes: boolean; public DDUserName: string; public DDPassword: string; public DDServiceUser: string; public DfcUserName: string; public DfcPassword: string; public DfcClubNumber: string; public CompanyEmail: string; public SmsOriginator: string; public LanguageId?: number; public VatRate: number; public SwipeAction: number; public Modules: Module; public UseCreditBalance: boolean; public AllowNegativeBalance: boolean; public DefaultCreditLimit: number; public ApplicationType: ApplicationType; public ExternalProviderWarning: string; public Domain: string; public MobileDomain: string; public OnlineBookingTimetableLimit: number; public OnlineBookingCancellationLimit: number; public OnlineBookingLimit?: number; public Feature: Feature; public TimeZone: string; public Culture: string; public Country: string; public Iso3166Country: Iso3166Country; public CurrencyCulture: string; public ShowGoCardlessAd: boolean; public GoCardlessSaving: number; public SROAddress: string; public MCAClubNo: string; public MCAClubRef: string; public TwilioNumber: string; public Telephone: string; public Transferred: boolean; public OnlineBookingAllowNonActives: boolean; public MemberLimit: number; public SortCode: string; public AccountNumber: string; public Website: string; public SendSMSAppointmentRemindersDefault: boolean; public SendSMSBookingReminders: boolean; public GiftAid: boolean; public GlobalBookingStartTime: string; public GlobalBookingEndTime: string; public BookingMinuteIncrements: number; public CancelReason: string; public CancelFurther: string; public CancelDate?: string; public DirectDebitFee: number; public CreditCardFee: number; public SMSPriceAdjustment: number; public BookingsPayLinkOnTrack: boolean; public AccessControlTimeLimit: number; public Minimiser: BranchMinimiser; public AutoGenerateLicenses: boolean; public Terms: string; public FingerprintThreshold: number; public FingerprintMatcherThreshold: number; public AutoShutoff: boolean; public PrimaryColors: string; public HasColors: boolean; public PrimaryColor: string; public SecondaryColor: string; public BackgroundColor: string; public HeaderTopColor: string; public HeaderBottomColor: string; public SideLeftColor: string; public SideRightColor: string; public SideFontColor: string; public SideFontActiveColor: string; public ExtWebBackgroundColor: string; public ExtWebTextColor: string; public ExtWebTintBackColor: string; public ExtWebHighlightBackColor: string; public ExtWebTabBackColor: string; public HeadingColor: string; public ReportFormat: ReportFormat; public FixPayments: boolean; public FixPaymentSchedle: string; public AppFeature: AppFeature; public SignInScreenFeature: SignInScreenFeature; public AppOptions: string; public CompanyDescription: string; public Capacity?: number; public MonthlySalesTarget?: number; public BookingAccessTimeLimit: number; public Facebook: string; public Twitter: string; public Instagram: string; public YouTube: string; public TikTok: string; public Shopify: string; public MinimumMemberAge: number; public TermsAndConditionsVersionDate?: string; public TermsAndConditionsAcceptedDate?: string; public TermsAndConditionsAccepted: boolean; public SiteUrl: string; public IsUsingSmartDebit: boolean; public IsUsingDfc: boolean; public IsSouthAfrica: boolean; public SmartDebitConfigured: boolean; public DfcConfigured: boolean; public UsingPaymentMethods: boolean; public SmsPrefix: string; public Logo: string; public LogoThumbnail: string; public LogoHash: string; public SendMarketingInviteWhenMemberAdded: boolean; public SendMarketingInviteWhenMemberJoinedOnline: boolean; public MarketingComplianceManagedExternally: boolean; public OnlineBookingAllowWaitingList: boolean; public OnlineMultiSiteEnabled: boolean; public CanBookOnline: boolean; public PublicMembershipTypes: number; public TrustedBranches: number; public IsAddingProspects: boolean; public IsSellingMemberships: boolean; public IsCreatingTasks: boolean; public IsCreatingAppointments: boolean; public IsBookingClasses: boolean; public IsRegisteringAttendance: boolean; public IsSellingProducts: boolean; public IsSendingEmails: boolean; public IsSendingSMS: boolean; public IsUsingAutomation: boolean; public DeductSessionsOnBooking: boolean; public ShowTrustedBranchBookings: boolean; public Score: number; public ApplicationId: string; public iOSAppLink: string; public AndroidAppLink: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AccessControlMembers { public Members: AccessControlMember[]; public Schedules: Schedule[]; public Branch: Branch; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/api/Member/GetMembersForAccessControl", "POST,GET") export class GetMembersForAccessControlRequest implements IReturn { public MemberId?: number; public Date?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'MemberService.GetMembersForAccessControlRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new AccessControlMembers(); } }