import {http} from "../utils/http"; import {botsRepository} from "../repository/bots"; import { orderRepository } from "../repository/order"; export class LockeyStore { constructor(context) { this.context = context } createOrder(body) { return http.post(botsRepository.url.createOrder(), body); } createPayment(body) { return http.post(orderRepository.url.payment(), body); } }