import { AppClient, InstanceOptions, IOContext } from '@vtex/api'; import { OrderDetailResponse } from '../typings'; /** * Used to perform calls on OMS API in the VTEX infrastructure, to which you must declare an outbound policy. * * Policy: * { * "name": "vtex.oms-api-proxy:oms-order-information" * }, * */ export declare class OMSProxy extends AppClient { constructor(context: IOContext, options?: InstanceOptions); orders(id: string): Promise; orderFormId(id: string): Promise; customData(id: string, body: CustomData): Promise; register(body: CustomDataRegistry): Promise; } interface CustomData { value: string; fieldName: string; } interface CustomDataRegistry { fields: string[]; major: number; } export {};