import Restful from '../../'; import { BuyFeedParams } from '../../../../types'; /** * The Feed API provides the ability to download TSV_GZIP feed files containing eBay items and an hourly snapshot file * of the items that have changed within an hour for a specific category, date and marketplace. */ export default class Feed extends Restful { static id: string; get basePath(): string; /** * This method lets you download a TSV_GZIP (tab separated value gzip) Item feed file. * * @param {BuyFeedParams} params * @param range his header specifies the range in bytes of the chunks of the gzip file being returned. * Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file. */ getItemFeed(params: BuyFeedParams, range: string): Promise; /** * This method lets you download a TSV_GZIP (tab separated value gzip) Item Group feed file. * @param {BuyFeedParams} params * @param range his header specifies the range in bytes of the chunks of the gzip file being returned. * Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file. */ getItemGroupFeed(params: BuyFeedParams, range: string): Promise; /** * The Hourly Snapshot feed file is generated each hour every day for all categories. * * @param {BuyFeedParams} params * @param {String} snapshotDate * @param range his header specifies the range in bytes of the chunks of the gzip file being returned. * Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file. */ getItemSnapshotFeed(params: BuyFeedParams, snapshotDate: string, range: string): Promise; /** * The Hourly Snapshot feed file is generated each hour every day for all categories. * * @param {BuyFeedParams} params * @param {String} snapshotDate * @param range his header specifies the range in bytes of the chunks of the gzip file being returned. * Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file. */ getProductFeed(params: BuyFeedParams, snapshotDate: string, range: string): Promise; }