"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const light_1 = require("protobufjs/light");
const protobuf_1 = require("../../protobuf");
const client_transaction_1 = tslib_1.__importDefault(require("../client-transaction"));
class CheckAuthorization extends light_1.Message {
    constructor(props) {
        super(props);
        /* Protobuf aliases */
        Object.defineProperty(this, "byzcoinid", {
            get() {
                return this.byzcoinID;
            },
            set(value) {
                this.byzcoinID = value;
            },
        });
        Object.defineProperty(this, "darcid", {
            get() {
                return this.darcID;
            },
            set(value) {
                this.darcID = value;
            },
        });
    }
    /**
     * @see README#Message classes
     */
    static register() {
        protobuf_1.registerMessage("byzcoin.CheckAuthorization", CheckAuthorization, client_transaction_1.default);
    }
}
exports.default = CheckAuthorization;
class CheckAuthorizationResponse extends light_1.Message {
    constructor(props) {
        super(props);
    }
    /**
     * @see README#Message classes
     */
    static register() {
        protobuf_1.registerMessage("byzcoin.CheckAuthorizationResponse", CheckAuthorizationResponse, client_transaction_1.default);
    }
}
exports.CheckAuthorizationResponse = CheckAuthorizationResponse;
CheckAuthorization.register();
CheckAuthorizationResponse.register();
