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

14 lines
520 B
TypeScript

import { AuthEntity, CreditAmount, GroupMember, PaymentEntity } from './types/Types'
declare class Group {
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);
}
export default Group