/* 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: BranchService.GetBranchByKeyRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export enum BranchType { DebitFinance = 'DebitFinance', SmartDebit = 'SmartDebit', Standard = 'Standard', Root = 'Root', Reseller = 'Reseller', Referrer = 'Referrer', } // @Flags() export enum Module { Standard = 0, Bookings = 1, } export enum ApplicationType { Gym = 1, Golf = 2, Dance = 3, Soccer = 4, Vanilla = 5, Association = 6, MartialArts = 7, Gymnastics = 8, Swimming = 9, Nurseries = 10, Racquet = 11, SubscriptionBox = 12, Clinic = 13, Wellness = 14, HealthAndBeauty = 15, Climbing = 16, AfterSchoolClub = 17, PersonalTrainer = 18, } // @Flags() export enum Feature { None = 0, Standard = 1, Bookings = 2, Rota = 4, GoCardless = 8, HomeScreen = 16, EPos = 32, Attendance = 64, Sales = 128, PaymentCollections = 256, MailChimp = 512, MultiSite = 1024, AccountingDashboard = 2048, OtherDashboards = 4096, Reports = 8192, AdvancedAccounting = 16384, MemberLicenseDates = 32768, FaceRecognition = 65536, MemberAccountCreation = 131072, Automation = 262144, FacebookMarketing = 524288, Grades = 1048576, ZoomIntegration = 2097152, SalesTargetChart = 4194304, CustomApp = 8388608, CustomAttributesOnPortal = 16777216, NoExport = 33554432, EnterpriseClubPerformanceDashboards = 67108864, } export class Iso3166Country { public Name: string; public TwoLetterCode: string; public ThreeLetterCode: string; public NumericCode: number; public PhonePrefix: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum BranchMinimiser { None = 'None', CMGo = 'CMGo', BasicPortal = 'BasicPortal', } export enum ReportFormat { PDF = 1, Word = 2, Excel = 3, PNG = 4, XPS = 5, CSV = 6, Html5 = 7, } // @Flags() export enum AppFeature { None = 0, JoinOnline = 1, TodaysClasses = 2, RegistrationForm = 4, ForthcomingBookings = 8, WeeklyTimetable = 16, SessionTimetable = 32, FacilityTimetable = 64, TasterSessions = 128, HowToFindUs = 256, AttendanceLeaderboard = 512, MemberMessages = 1024, AchievementGallery = 2048, FreeText = 4096, QRCode = 8192, ShareAndInviteAFriend = 16384, RenewalPrompt = 32768, CurrentCapacity = 65536, JoinFriend = 131072, MemberPoints = 262144, PromoMembership = 524288, Shop = 1048576, ShowFacebook = 2097152, ShowTwitter = 4194304, ShowInstagram = 8388608, ShowYouTube = 16777216, ShowTikTok = 33554432, ShowShopify = 67108864, AttendanceStreak = 134217728, BookingCategories = 268435456, ShowSessionsRemaining = 536870912, } // @Flags() export enum SignInScreenFeature { None = 0, SignInNumPad = 1, } 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); } } // @Route("/api/Branch/GetBranchByKey", "POST,GET") export class GetBranchByKeyRequest implements IReturn { public BranchKey: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'BranchService.GetBranchByKeyRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new Branch(); } }