18 lines
574 B
TypeScript
18 lines
574 B
TypeScript
/**
|
|
* User bonus account operations: balances and transfer to main when allowed.
|
|
*/
|
|
export declare class BonusError extends Error {
|
|
constructor(message: string);
|
|
}
|
|
export declare function getUserBonusBalances(userId: string): Promise<Array<{
|
|
walletTypeId: number;
|
|
walletCode: string;
|
|
available: string;
|
|
}>>;
|
|
export declare function transferBonusToMain(input: {
|
|
userId: string;
|
|
walletTypeId: number;
|
|
amountRaw: string;
|
|
}): Promise<void>;
|
|
export declare function isBonusWithdrawable(): Promise<boolean>;
|
|
//# sourceMappingURL=bonusService.d.ts.map
|