import { Action, Message } from "../../types/primitives"; import Order from "@webresto/core/models/Order"; type CheckResponse = { order?: Order; message: Message; action?: Action; }; import Address from "@webresto/core/interfaces/Address"; import Customer from "@webresto/core/interfaces/Customer"; import { SpendBonus } from "@webresto/core/interfaces/SpendBonus"; interface InputOrderCheckout { orderId: string; paymentMethodId: string; selfService?: boolean; pickupPointId?: string; address?: Address; locationId: string; customer: Customer; date?: string; personsCount?: number; comment: string; spendBonus: SpendBonus; customData: { [key: string]: string | number; }; } declare const _default: { Mutation: { checkOrder: { def: string; fn: (parent: any, args: { orderCheckout: InputOrderCheckout; }, context: any) => Promise; }; sendOrder: { def: string; fn: (parent: any, args: any, context: any) => Promise<{ order: Order; action: { deviceId: any; type: string; data: { link: string; }; }; message?: undefined; } | { order: Order; message: { type: string; title: any; message: any; }; action?: undefined; }>; }; }; }; export default _default;