| | |
| | | PhoneMesssageCodeLoginInput, |
| | | RequestConfig, |
| | | } from './lifeRechargeServices'; |
| | | import { IRequest, BlLifeRechargeOptions } from './types'; |
| | | import { BlLifeRechargeOptions } from './types'; |
| | | import { LifeRechargeConstants } from './lifeRechargeConstants'; |
| | | import { BlLifeRechargeAccountModel } from './lifeRechargeAccountModel'; |
| | | |
| | | export class BlLifeRecharge<T extends IRequest = IRequest> { |
| | | services: BlLifeRechargeServices<T>; |
| | | export class BlLifeRecharge<TResponse = any, TRequestOptions = any> { |
| | | services: BlLifeRechargeServices<TResponse, TRequestOptions>; |
| | | accountModel: BlLifeRechargeAccountModel; |
| | | |
| | | static constants = LifeRechargeConstants; |
| | | constants = LifeRechargeConstants; |
| | | |
| | | constructor(options: BlLifeRechargeOptions<T>) { |
| | | constructor(options: BlLifeRechargeOptions<TResponse, TRequestOptions>) { |
| | | this.services = new BlLifeRechargeServices(options); |
| | | this.accountModel = new BlLifeRechargeAccountModel({ |
| | | userId: options.userId, |