spookvooper-api/typings/modules/Group.d.ts

14 lines
520 B
TypeScript
Raw Normal View History

2020-12-08 21:57:22 +00:00
import { AuthEntity, CreditAmount, GroupMember, PaymentEntity } from './types/Types'
declare class Group {
2020-12-14 00:33:21 +00:00
private readonly accountid
constructor (svid: string);
getGroup (): Promise<any>;
sendCredits (amount: CreditAmount, to: PaymentEntity, reason: string, auth: AuthEntity): Promise<any>;
doesGroupExist (): Promise<any>;
getGroupMembers (): Promise<any>;
hasGroupPermission (user: GroupMember, permission: string): Promise<any>;
get svid (): string;
set svid (svid: string);
2020-12-08 21:57:22 +00:00
}
export default Group