import * as IShared from '../../../shared/interface'; import { Payment } from '../../../shared/entities/stock'; export type Entity = Payment; export declare const Route = "payment"; export declare const UpperName = "Payment"; export declare const LowerName: string; export interface IPaymentsNotExportedRequest { whiteList?: string[]; } export interface IPaymentsNotExportedResponse { iban: string; payment_ids: string[]; npf_dh: { id: string; name: string; pdf_link: string | null; total: number; }[]; provider: string; value: number; } export interface IExportPaymentsRequest { provider: string; value: number; npf_ids?: string[]; } export type IBatchType = 'national' | 'international' | 'null'; export interface IPaymentsBatchNpfDh { id: string; name: string; sent: string | null; owner_id: string; owner_number: number; owner_name: string; external_document_header_id: string | null; pdf_link: string | null; total: number; } export interface IPaymentsBatchResponse { batch_id: string; batch_value: number; batch_type: IBatchType | null; multimedia_id: string | null; times_downloaded: number; npf_dh: IPaymentsBatchNpfDh[]; updated_at: Date; updated_by: string; created_at: Date; } export interface IRepository { findPending(params: IPaymentsNotExportedRequest): Promise; create(params: IExportPaymentsRequest[]): Promise; findCreated(): Promise; updateDownloadNumber(id: IShared.IFindByIdRequest): Promise; deleteOne(data: IShared.IFindByIdRequest): Promise; } export type IController = IShared.IEntityWithUserToken;