mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 11:10:46 +00:00
* msteams: add group management actions (addParticipant, removeParticipant, renameGroup) * fix(msteams): restore group-management plugin contracts * fix(msteams): satisfy plugin guardrails * msteams: restore doctor adapter lost in main merge * fix(msteams): restore message tool schema imports * msteams: fix graph action routing and member paging --------- Co-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
63 lines
3.0 KiB
TypeScript
63 lines
3.0 KiB
TypeScript
import {
|
|
listMSTeamsDirectoryGroupsLive as listMSTeamsDirectoryGroupsLiveImpl,
|
|
listMSTeamsDirectoryPeersLive as listMSTeamsDirectoryPeersLiveImpl,
|
|
} from "./directory-live.js";
|
|
import {
|
|
addParticipantMSTeams as addParticipantMSTeamsImpl,
|
|
removeParticipantMSTeams as removeParticipantMSTeamsImpl,
|
|
renameGroupMSTeams as renameGroupMSTeamsImpl,
|
|
} from "./graph-group-management.js";
|
|
import { getMemberInfoMSTeams as getMemberInfoMSTeamsImpl } from "./graph-members.js";
|
|
import {
|
|
getMessageMSTeams as getMessageMSTeamsImpl,
|
|
listPinsMSTeams as listPinsMSTeamsImpl,
|
|
listReactionsMSTeams as listReactionsMSTeamsImpl,
|
|
pinMessageMSTeams as pinMessageMSTeamsImpl,
|
|
reactMessageMSTeams as reactMessageMSTeamsImpl,
|
|
searchMessagesMSTeams as searchMessagesMSTeamsImpl,
|
|
unpinMessageMSTeams as unpinMessageMSTeamsImpl,
|
|
unreactMessageMSTeams as unreactMessageMSTeamsImpl,
|
|
} from "./graph-messages.js";
|
|
import {
|
|
listChannelsMSTeams as listChannelsMSTeamsImpl,
|
|
getChannelInfoMSTeams as getChannelInfoMSTeamsImpl,
|
|
} from "./graph-teams.js";
|
|
import { msteamsOutbound as msteamsOutboundImpl } from "./outbound.js";
|
|
import { probeMSTeams as probeMSTeamsImpl } from "./probe.js";
|
|
import {
|
|
deleteMessageMSTeams as deleteMessageMSTeamsImpl,
|
|
editMessageMSTeams as editMessageMSTeamsImpl,
|
|
sendAdaptiveCardMSTeams as sendAdaptiveCardMSTeamsImpl,
|
|
sendMessageMSTeams as sendMessageMSTeamsImpl,
|
|
} from "./send.js";
|
|
// NOTE: reactMessageMSTeams / listReactionsMSTeams / unreactMessageMSTeams are
|
|
// imported from ./graph-messages.js above. The channel dispatcher in channel.ts
|
|
// calls those signatures (messageId + reactionType), not the send.reactions.ts
|
|
// variants. send.reactions.ts remains as a delegated-auth implementation that
|
|
// is currently wired through its own test surface; do not re-import it here
|
|
// until channel.ts is migrated to that signature, otherwise identifiers collide.
|
|
export const msTeamsChannelRuntime = {
|
|
addParticipantMSTeams: addParticipantMSTeamsImpl,
|
|
deleteMessageMSTeams: deleteMessageMSTeamsImpl,
|
|
editMessageMSTeams: editMessageMSTeamsImpl,
|
|
getChannelInfoMSTeams: getChannelInfoMSTeamsImpl,
|
|
getMemberInfoMSTeams: getMemberInfoMSTeamsImpl,
|
|
getMessageMSTeams: getMessageMSTeamsImpl,
|
|
listChannelsMSTeams: listChannelsMSTeamsImpl,
|
|
listPinsMSTeams: listPinsMSTeamsImpl,
|
|
listReactionsMSTeams: listReactionsMSTeamsImpl,
|
|
pinMessageMSTeams: pinMessageMSTeamsImpl,
|
|
reactMessageMSTeams: reactMessageMSTeamsImpl,
|
|
removeParticipantMSTeams: removeParticipantMSTeamsImpl,
|
|
renameGroupMSTeams: renameGroupMSTeamsImpl,
|
|
searchMessagesMSTeams: searchMessagesMSTeamsImpl,
|
|
unpinMessageMSTeams: unpinMessageMSTeamsImpl,
|
|
unreactMessageMSTeams: unreactMessageMSTeamsImpl,
|
|
listMSTeamsDirectoryGroupsLive: listMSTeamsDirectoryGroupsLiveImpl,
|
|
listMSTeamsDirectoryPeersLive: listMSTeamsDirectoryPeersLiveImpl,
|
|
msteamsOutbound: { ...msteamsOutboundImpl },
|
|
probeMSTeams: probeMSTeamsImpl,
|
|
sendAdaptiveCardMSTeams: sendAdaptiveCardMSTeamsImpl,
|
|
sendMessageMSTeams: sendMessageMSTeamsImpl,
|
|
};
|