UNPKG

moip-sdk-node-ts

Version:
16 lines (15 loc) 568 B
import * as types from './order-types'; export declare type RefundMethod = 'CREDIT_CARD' | 'MOIP_ACCOUNT' | 'BANK_ACCOUNT'; declare const _default: { getOne: (_id: string) => Promise<any>; getAll: () => Promise<any>; create: (order: types.Order.Create.Payload) => Promise<types.Order.Create.Response>; query: (_query: { filters: Record<string, any>; }) => Promise<any>; refunds: { refund: (_id: string, method: RefundMethod) => Promise<any>; getRefunds: (_id: string) => Promise<any>; }; }; export default _default;