"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const BaseAPIService_1 = require("./BaseAPIService");
class XeroService extends BaseAPIService_1.default {
    constructor(baseURL, token) {
        super(baseURL, 'xero', token);
    }
    authoriseGlobal() {
        return super.getString('authorise');
    }
    authorise(organisationID) {
        return super.getString('authorise/' + organisationID);
    }
    isAuthorisedGlobal() {
        return super.getString('authorised');
    }
    isAuthorised(organisationID) {
        return super.getString('authorised/' + organisationID);
    }
}
exports.default = XeroService;
