private void Connect() { OrganisationEndpoint = new OrganisationEndpoint(Client); Accounts = new AccountsEndpoint(Client); Allocations = new AllocationsEndpoint(Client); Attachments = new AttachmentsEndpoint(Client); BankTransactions = new BankTransactionsEndpoint(Client); BankTransfers = new BankTransfersEndpoint(Client); BrandingThemes = new BrandingThemesEndpoint(Client); Contacts = new ContactsEndpoint(Client); ContactGroups = new ContactGroupsEndpoint(Client); CreditNotes = new CreditNotesEndpoint(Client); Currencies = new CurrenciesEndpoint(Client); Employees = new EmployeesEndpoint(Client); ExpenseClaims = new ExpenseClaimsEndpoint(Client); Invoices = new InvoicesEndpoint(Client); Items = new ItemsEndpoint(Client); Journals = new JournalsEndpoint(Client); ManualJournals = new ManualJournalsEndpoint(Client); Payments = new PaymentsEndpoint(Client); PdfFiles = new PdfEndpoint(Client); Receipts = new ReceiptsEndpoint(Client); RepeatingInvoices = new RepeatingInvoicesEndpoint(Client); Reports = new ReportsEndpoint(Client); Setup = new SetupEndpoint(Client); TaxRates = new TaxRatesEndpoint(Client); TrackingCategories = new TrackingCategoriesEndpoint(Client); Users = new UsersEndpoint(Client); }
private void Connect() { OrganisationEndpoint = new OrganisationEndpoint(Client); Accounts = new AccountsEndpoint(Client); Allocations = new AllocationsEndpoint(Client); Attachments = new AttachmentsEndpoint(Client); BankTransactions = new BankTransactionsEndpoint(Client); BankTransfers = new BankTransfersEndpoint(Client); BrandingThemes = new BrandingThemesEndpoint(Client); Contacts = new ContactsEndpoint(Client); CreditNotes = new CreditNotesEndpoint(Client); Currencies = new CurrenciesEndpoint(Client); Employees = new EmployeesEndpoint(Client); ExpenseClaims = new ExpenseClaimsEndpoint(Client); Invoices = new InvoicesEndpoint(Client); Items = new ItemsEndpoint(Client); Journals = new JournalsEndpoint(Client); ManualJournals = new ManualJournalsEndpoint(Client); Payments = new PaymentsEndpoint(Client); PdfFiles = new PdfEndpoint(Client); Receipts = new ReceiptsEndpoint(Client); RepeatingInvoices = new RepeatingInvoicesEndpoint(Client); Reports = new ReportsEndpoint(Client); Setup = new SetupEndpoint(Client); TaxRates = new TaxRatesEndpoint(Client); TrackingCategories = new TrackingCategoriesEndpoint(Client); Users = new UsersEndpoint(Client); }
private void Connect() { OrganisationEndpoint = new OrganisationEndpoint(Client); Accounts = new AccountsEndpoint(Client); BankTransactions = new BankTransactionsEndpoint(Client); BankTransfers = new BankTransfersEndpoint(Client); BrandingThemes = new BrandingThemesEndpoint(Client); Contacts = new ContactsEndpoint(Client); CreditNotes = new CreditNotesEndpoint(Client); Currencies = new CurrenciesEndpoint(Client); Employees = new EmployeesEndpoint(Client); ExpenseClaims = new ExpenseClaimsEndpoint(Client); Invoices = new InvoicesEndpoint(Client); Journals = new JournalsEndpoint(Client); ManualJournals = new ManualJournalsEndpoint(Client); Overpayments = new OverpaymentsEndpoint(Client); Payments = new PaymentsEndpoint(Client); PdfFiles = new PdfEndpoint(Client); Prepayments = new PrepaymentsEndpoint(Client); PurchaseOrders = new PurchaseOrdersEndpoint(Client); Receipts = new ReceiptsEndpoint(Client); RepeatingInvoices = new RepeatingInvoicesEndpoint(Client); TaxRates = new TaxRatesEndpoint(Client); Users = new UsersEndpoint(Client); }
private void Connect() { Organisations = new OrganisationEndpoint(Client); Accounts = new AccountsEndpoint(Client); Allocations = new AllocationsEndpoint(Client); Attachments = new AttachmentsEndpoint(Client); BankTransactions = new BankTransactionsEndpoint(Client); BankTransfers = new BankTransfersEndpoint(Client); BatchPayments = new BatchPaymentsEndpoint(Client); BrandingThemes = new BrandingThemesEndpoint(Client); Contacts = new ContactsEndpoint(Client); ContactGroups = new ContactGroupsEndpoint(Client); CreditNotes = new CreditNotesEndpoint(Client); Currencies = new CurrenciesEndpoint(Client); Employees = new EmployeesEndpoint(Client); ExpenseClaims = new ExpenseClaimsEndpoint(Client); Files = new FilesEndpoint(Client); Folders = new FoldersEndpoint(Client); HistoryAndNotes = new HistoryAndNotesEndpoint(Client); Inbox = new InboxEndpoint(Client); Associations = new AssociationsEndpoint(Client); Invoices = new InvoicesEndpoint(Client); Items = new ItemsEndpoint(Client); Journals = new JournalsEndpoint(Client); LinkedTransactions = new LinkedTransactionsEndpoint(Client); ManualJournals = new ManualJournalsEndpoint(Client); Overpayments = new OverpaymentsEndpoint(Client); Payments = new PaymentsEndpoint(Client); PdfFiles = new PdfEndpoint(Client); Prepayments = new PrepaymentsEndpoint(Client); PurchaseOrders = new PurchaseOrdersEndpoint(Client); Receipts = new ReceiptsEndpoint(Client); RepeatingInvoices = new RepeatingInvoicesEndpoint(Client); Reports = new ReportsEndpoint(Client); Setup = new SetupEndpoint(Client); TaxRates = new TaxRatesEndpoint(Client); TrackingCategories = new TrackingCategoriesEndpoint(Client); Users = new UsersEndpoint(Client); }
public async Task <Organisation> FindOrganisationAsync() { return((await OrganisationEndpoint.FindAsync()).FirstOrDefault()); }