Type Alias TeamsFunctionsInput
TeamsFunctionsInput: {
createTeam: {
auth: string;
teamName: string;
};
createTeamInvite: {
auth: string;
bitfieldToSet: string;
expiresAt: number;
maxUses: number;
teamId: string;
};
deleteTeam: {
auth: string;
teamId: string;
};
getAllUserTeams: {
auth: string;
};
joinOrLeaveTeam: {
action: "join" | "leave";
auth: string;
teamOrCode: string;
};
kickTeamMember: {
auth: string;
teamId: string;
userId: string;
};
updateMemberPermissions: {
auth: string;
bitfieldToSet: string;
teamId: string;
userId: string;
};
updateTeamName: {
auth: string;
teamId: string;
teamName: string;
};
}