"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports._processInvite = _processInvite;
const get_prop_1 = require("../../../objects/get-prop");
const inviteUsers_1 = require("../../inviteUsers");
/**
 * @private
 */
function _processInvite(context) {
    return (0, inviteUsers_1.inviteUsers)((0, get_prop_1.getProp)(context, "groupId"), (0, get_prop_1.getProp)(context, "usersToInvite"), (0, get_prop_1.getProp)(context, "primaryRO.authentication")).then((result) => {
        context.inviteResult = result;
        return context;
    });
}
//# sourceMappingURL=_process-invite.js.map