import { SuperMarketplaceProduct } from '../models/SuperMarketplaceProduct'; import { RequiredDeep } from '../models/RequiredDeep'; export default class Files { private impersonating; /** * @ignore * not part of public api, don't include in generated docs */ constructor(); /** * @param marketplaceID ID of the marketplace. * @param productID ID of the product. * @param options.file File of the super marketplace product. * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ Post(marketplaceID: string, productID: string, file: any, accessToken?: string): Promise>; /** * @param marketplaceID ID of the marketplace. * @param productID ID of the product. * @param fileName File name of the super marketplace product. * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ Delete(marketplaceID: string, productID: string, fileName: string, accessToken?: string): Promise>; /** * @description * enables impersonation by calling the subsequent method with the stored impersonation token * * @example * Files.As().List() // lists Files using the impersonated users' token */ As(): this; }