/**
 *   Generated file. Do not edit
 */
import "./converter-stream-extension";
import { TapStreamReader } from "@iotize/tap/client/impl";
import { TapStreamWriter } from "@iotize/tap/client/impl";
var ScramLoginParamsConverter = /** @class */ (function () {
    function ScramLoginParamsConverter() {
    }
    ScramLoginParamsConverter.prototype.encode = function (model, stream) {
        if (stream === void 0) { stream = new TapStreamWriter(); }
        stream.writeScramLoginParams(model);
        return stream.toBytes;
    };
    ScramLoginParamsConverter.prototype.decode = function (data) {
        var stream = data instanceof TapStreamReader ? data : TapStreamReader.create(data);
        return stream.readScramLoginParams();
    };
    return ScramLoginParamsConverter;
}());
export { ScramLoginParamsConverter };
var ScramLoginResponseBodyConverter = /** @class */ (function () {
    function ScramLoginResponseBodyConverter() {
    }
    ScramLoginResponseBodyConverter.prototype.encode = function (model, stream) {
        if (stream === void 0) { stream = new TapStreamWriter(); }
        stream.writeScramLoginResponseBody(model);
        return stream.toBytes;
    };
    ScramLoginResponseBodyConverter.prototype.decode = function (data) {
        var stream = data instanceof TapStreamReader ? data : TapStreamReader.create(data);
        return stream.readScramLoginResponseBody();
    };
    return ScramLoginResponseBodyConverter;
}());
export { ScramLoginResponseBodyConverter };
var EncryptedIVRequestConverter = /** @class */ (function () {
    function EncryptedIVRequestConverter() {
    }
    EncryptedIVRequestConverter.prototype.encode = function (model, stream) {
        if (stream === void 0) { stream = new TapStreamWriter(); }
        stream.writeEncryptedIVRequest(model);
        return stream.toBytes;
    };
    EncryptedIVRequestConverter.prototype.decode = function (data) {
        var stream = data instanceof TapStreamReader ? data : TapStreamReader.create(data);
        return stream.readEncryptedIVRequest();
    };
    return EncryptedIVRequestConverter;
}());
export { EncryptedIVRequestConverter };
var EncryptedIVResponseConverter = /** @class */ (function () {
    function EncryptedIVResponseConverter() {
    }
    EncryptedIVResponseConverter.prototype.encode = function (model, stream) {
        if (stream === void 0) { stream = new TapStreamWriter(); }
        stream.writeEncryptedIVResponse(model);
        return stream.toBytes;
    };
    EncryptedIVResponseConverter.prototype.decode = function (data) {
        var stream = data instanceof TapStreamReader ? data : TapStreamReader.create(data);
        return stream.readEncryptedIVResponse();
    };
    return EncryptedIVResponseConverter;
}());
export { EncryptedIVResponseConverter };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydGVycy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvdGFwL3NlcnZpY2UvaW1wbC9zY3JhbS8iLCJzb3VyY2VzIjpbImxpYi9nZW5lcmF0ZWQvY29udmVydGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE9BQU8sOEJBQThCLENBQUM7QUFRdEMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzFELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUkxRDtJQUFBO0lBZUEsQ0FBQztJQWJRLDBDQUFNLEdBQWIsVUFDRSxLQUF1QixFQUN2QixNQUErQztRQUEvQyx1QkFBQSxFQUFBLGFBQThCLGVBQWUsRUFBRTtRQUUvQyxNQUFNLENBQUMscUJBQXFCLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDcEMsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDO0lBQ3hCLENBQUM7SUFFTSwwQ0FBTSxHQUFiLFVBQWMsSUFBa0M7UUFDOUMsSUFBTSxNQUFNLEdBQ1YsSUFBSSxZQUFZLGVBQWUsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxlQUFlLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ3hFLE9BQU8sTUFBTSxDQUFDLG9CQUFvQixFQUFFLENBQUM7SUFDdkMsQ0FBQztJQUNILGdDQUFDO0FBQUQsQ0FBQyxBQWZELElBZUM7O0FBRUQ7SUFBQTtJQWVBLENBQUM7SUFiUSxnREFBTSxHQUFiLFVBQ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