UNPKG

@ericblade/mws-simple

Version:

Modern, full featured nodejs Amazon MWS API in ~150 lines of code

10 lines (9 loc) 527 B
export interface ResultsObj { contentType: string; body: string; } declare const processXmlRequest: (body: string, callback: (err: Error | null, result: any) => void) => void; declare const processTextRequest: (body: string, callback: (err: Error | null, result: any) => void) => void; declare const processRequest: ({ contentType, body }: ResultsObj, callback: (err: Error | null, result: any) => void) => void; export { processRequest, processXmlRequest, processTextRequest }; export default processRequest;