"use strict";
// TODO: V2 use IUpdateChannel as param type when hoisted to hub.js from service
Object.defineProperty(exports, "__esModule", { value: true });
exports.dtoToChannel = dtoToChannel;
const tslib_1 = require("tslib");
/**
 * @hidden
 * @internal
 */
function dtoToChannel(dto) {
    const { channelAclDefinition } = dto, rest = tslib_1.__rest(dto, ["channelAclDefinition"]);
    return Object.assign(Object.assign({}, rest), { channelAcl: channelAclDefinition });
}
//# sourceMappingURL=channel-to-dto-map.js.map