ebay-api
Version:
eBay API for Node and Browser
16 lines (15 loc) • 484 B
TypeScript
import Restful from '../../index.js';
import { TranslateRequest } from '../../../../types/index.js';
/**
* This API allows 3rd party developers to translate item title, description, search query.
*/
export default class Translation extends Restful {
static id: string;
get basePath(): string;
/**
* Translates input text inot a given language.
*
* @param body TranslateRequest
*/
translate(body: TranslateRequest): Promise<any>;
}