Constructors
Methods
createTeam
- createTeam(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
teamName: string;
}auth: string
teamName: string
Returns Promise<WebResponse<string>>
createTeamInvite
- createTeamInvite(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
bitfieldToSet: string;
expiresAt: number;
maxUses: number;
teamId: string;
}auth: string
bitfieldToSet: string
expiresAt: number
maxUses: number
teamId: string
Returns Promise<WebResponse<string>>
deleteTeam
- deleteTeam(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
teamId: string;
teamName: string;
}auth: string
teamId: string
teamName: string
Returns Promise<WebResponse<string>>
getAllUserTeams
- getAllUserTeams(__namedParameters): Promise<WebResponse<TeamsGetType>>
Parameters
- __namedParameters: {
auth: string;
}
joinOrLeaveTeam
- joinOrLeaveTeam(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
action: "join" | "leave";
auth: string;
teamOrCode: string;
}action: "join" | "leave"
auth: string
teamOrCode: string
Returns Promise<WebResponse<string>>
kickTeamMember
- kickTeamMember(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
teamId: string;
userId: string;
}auth: string
teamId: string
userId: string
Returns Promise<WebResponse<string>>
updateMemberPermissions
- updateMemberPermissions(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
bitfieldToSet: string;
teamId: string;
userId: string;
}auth: string
bitfieldToSet: string
teamId: string
userId: string
Returns Promise<WebResponse<string>>
updateTeamName
- updateTeamName(__namedParameters): Promise<WebResponse<string>>
Parameters
- __namedParameters: {
auth: string;
teamId: string;
teamName: string;
}auth: string
teamId: string
teamName: string
Returns Promise<WebResponse<string>>