"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const BaseAPIService_1 = require("./BaseAPIService");
class RoleService extends BaseAPIService_1.default {
    constructor(baseURL, token) {
        super(baseURL, 'role', token);
    }
    addPermission(roleId, permissionId) {
        return super.post(roleId + '/permission/' + permissionId, undefined);
    }
    removePermission(roleId, permissionId) {
        return super.deleteWithReturn(roleId + '/permission/' + permissionId);
    }
}
exports.default = RoleService;
