import Api from '../Api' import AuthApi from './Auth' import CategoryApi from './Category' import MenuApi from './Menu' import MerchantApi from './Merchant' import OrderApi from './Order' import PromoCodeApi from './PromoCode' export default class OrderappClientApi extends Api { auth: AuthApi category: CategoryApi menu: MenuApi merchant: MerchantApi order: OrderApi promoCode: PromoCodeApi constructor (baseUrlGo: string, baseUrlNode: string) { super(baseUrlGo, baseUrlNode) this.auth = new AuthApi(this) this.category = new CategoryApi(this) this.menu = new MenuApi(this) this.merchant = new MerchantApi(this) this.order = new OrderApi(this) this.promoCode = new PromoCodeApi(this) } }