@lorenstuff/amazon-selling-partner-api
Version:
A package for interacting with the Amazon Selling Partner API.
17 lines • 1.4 kB
TypeScript
import { AmazonSellingPartnerAPIClient } from "./AmazonSellingPartnerAPIClient.js";
import { CreateReportResponse, CreateReportScheduleResponse, CreateReportScheduleSpecification, CreateReportSpecification, GetReportsQuery, GetReportsResponse, GetReportSchedulesQuery, Report, ReportDocument, ReportSchedule, ReportScheduleList } from "../types/reports-api/v2021-06-30.js";
/** A client for v2021-06-30 of the Reports endpoints of the Amazon Selling Partner API. */
export declare class AmazonSellingPartnerReportsAPIClient {
amazonSellingPartnerApiClient: AmazonSellingPartnerAPIClient;
constructor(amazonSellingPartnerApiClient: AmazonSellingPartnerAPIClient);
cancelReport(reportId: string): Promise<void>;
cancelReportSchedule(reportScheduleId: string): Promise<void>;
createReport(body: CreateReportSpecification): Promise<CreateReportResponse>;
createReportSchedule(body: CreateReportScheduleSpecification): Promise<CreateReportScheduleResponse>;
getReport(reportId: string): Promise<Report>;
getReportDocument(reportDocumentId: string): Promise<ReportDocument>;
getReportSchedule(reportScheduleId: string): Promise<ReportSchedule>;
getReportSchedules(query: GetReportSchedulesQuery): Promise<ReportScheduleList>;
getReports(query: GetReportsQuery): Promise<GetReportsResponse>;
}
//# sourceMappingURL=AmazonSellingPartnerReportsAPIClient.d.ts.map