"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const light_1 = require("protobufjs/light");
const __1 = require("..");
const protobuf_1 = require("../../protobuf");
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, __1.ClientTransaction);
    }
}
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, __1.ClientTransaction);
    }
}
exports.CheckAuthorizationResponse = CheckAuthorizationResponse;
CheckAuthorization.register();
CheckAuthorizationResponse.register();
