import { AbstractRestfulClient, Parameters } from '../abstractRestfulClient'; import { GetResult } from '../getResult'; import { DataListReports } from './entities/dataListReports'; import { ReportReferenceLink } from './entities/reportReferenceLink'; import { ReferenceType } from './entities/reference'; import { ReportValidationReference } from './entities/reportValidationReference'; export declare enum CreateReportInputFields { COLUMN_PRODUCTS = "products", COLUMN_SUBSCRIPTION = "subscription", COLUMN_MONTH = "month" } export declare enum CreateReportProductFields { COLUMN_SKU = "sku", COLUMN_QUANTITY = "quantity", COLUMN_CUSTOMER = "customer" } export declare type CreateReportInputType = { [CreateReportInputFields.COLUMN_PRODUCTS]: Array; [CreateReportInputFields.COLUMN_SUBSCRIPTION]: ReferenceType; [CreateReportInputFields.COLUMN_MONTH]: string; }; export declare type CreateReportProductType = { [CreateReportProductFields.COLUMN_SKU]: string; [CreateReportProductFields.COLUMN_QUANTITY]: number; [CreateReportProductFields.COLUMN_CUSTOMER]: ReferenceType; }; export declare class ReportsClient extends AbstractRestfulClient { /** * The base path of the API */ protected basePath: string; create(postData: CreateReportInputType, parameters?: Parameters): Promise>; getListReports(perPage?: number, page?: number, month?: string, parameters?: Parameters): Promise>; getReport(reportReference: string, parameters?: Parameters): Promise>; validateReport(reportReference: string, parameters?: Parameters): Promise>; deleteReport(reportReference: string, parameters?: Parameters): Promise; }