/* Options: Date: 2025-04-04 18:03:51 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.GetMemberByKeyRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export enum Gender { Unknown = 'Unknown', Male = 'Male', Female = 'Female', Other = 'Other', PreferNotToSay = 'PreferNotToSay', } export enum ExternalStatus { Off = 'Off', Active = 'Active', Pending = 'Pending', CancelledInsideContract = 'CancelledInsideContract', CancelledOutsideContract = 'CancelledOutsideContract', WithDebtRecovery = 'WithDebtRecovery', Suspended = 'Suspended', } export enum MemberType { Prospect = 'Prospect', Active = 'Active', Cancelled = 'Cancelled', Expired = 'Expired', Suspended = 'Suspended', ClubCancelled = 'ClubCancelled', DropOut = 'DropOut', } export enum MembershipState { Prospect = 'Prospect', Active = 'Active', Expired = 'Expired', Cancelled = 'Cancelled', PaymentRequired = 'PaymentRequired', Suspended = 'Suspended', } // @Flags() export enum MessageTemplateContentType { Transactional = 1, Marketing = 2, None = 1048576, } // @Flags() export enum MessageTemplateType { SMS = 1, Email = 2, Telephone = 4, DirectMail = 8, Notification = 16, Page = 32, None = 1048576, NoConsent = 2097152, } export class Member { public MemberId: number; public BranchId: number; public MembershipNumber: string; public JoinedDate?: string; public CardNumber: string; public CompanyName: string; public Gender: Gender; public GenderName: string; public FullName: string; public Title: string; public Forenames: string; public Surname: string; public Address1: string; public Address2: string; public County: string; public City: string; public HomePhone: string; public MobilePhone: string; public EmailAddress: string; public ExternalReference: string; public Country: string; public EmailOptOut: boolean; public SmsOptOut: boolean; public PhoneOptOut: boolean; public LetterOptOut: boolean; public UseExternalStatus: boolean; public ExternalStatus: ExternalStatus; public DateOfBirth?: string; public Postcode: string; public Notes: string; public StartDate?: string; public Expires?: string; public SessionsRemaining?: number; public ContractEndDate?: string; public DaysRemaining: number; public MembershipType: string; public LastAttendance?: string; public Attendance: number; public MemberType: MemberType; public RecurringPayments: number; public OverduePayments: number; public AttendanceThisWeek: number; public retentionMetric: number; public MonthlyAttendanceFrequency: number; public TotalProductSpend: number; public JournalEntry: string; public Balance: number; public CreditLimit: number; public guid: string; public MembershipState: MembershipState; public BookingsAttended: number; public DateOfLastBooking?: string; public PhotoModifiedDate?: string; public CreatedDate?: string; public ModifiedDate?: string; public DeletedDate?: string; public MemberKey: string; public CreatedByUserId: number; public AssignedToUserId: number; public DeletedByUserId: number; public GiftAidPermission: boolean; public FirstAidPermission: boolean; public PhotoPermission: boolean; public EmergencyContact: string; public WonOrLost?: number; public WonOrLostDate?: string; public WonOrLostByUserId?: number; public LicenseReference: string; public LicenseStartDate?: string; public LicenseRenewalDate?: string; public AgreedToTerms?: string; public OnlineBookingBanned: boolean; public ChildBranchId?: number; public ChildBranch: string; public ProspectingPoints: number; public AchievementPoints: number; public ParentForenames: string; public ParentSurname: string; public GradingReadiness: number; public DirectDebitAccountHolder: string; public DirectDebitAccountNumber: string; public DirectDebitSortCode: string; public DirectDebitBankAddress: string; public InvitedDate?: string; public Grade: string; public ColourLeft: string; public ColourRight: string; public SessionsToComplete: number; public UniqueId: string; public PreferenceLink: string; public MarketingAllLink: string; public MarketingNoneLink: string; public AppRegistrationId: string; public AppRegistrationLink: string; public AppQrImageLink: string; public CardNumberQrImageLink: string; public PhotoThumbnailLink: string; public ContentTypesOptIn: MessageTemplateContentType; public TemplateTypesOptIn: MessageTemplateType; public CanEmail: boolean; public CanDirectMail: boolean; public CanSMS: boolean; public CanTelephone: boolean; public NoMarketingConsent: boolean; public CanSendInvite: boolean; public BranchKey: string; public SageLink: string; public SageLastPaymentDate?: string; public SageFirstPaymentDate?: string; public SageLastPaymentAmount?: number; public SageFirstPaymentAmount?: number; public SageTotalPaid?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/api/Member/GetMemberByKey", "POST,GET") export class GetMemberByKeyRequest implements IReturn { public MemberKey: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'MemberService.GetMemberByKeyRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new Member(); } }