UNPKG

@experteam-mx/ngx-services

Version:

Angular common services for Experteam apps

51 lines (50 loc) 1.42 kB
import { CollectionPayment, Invoice, PartialWithdrawal, PromotionCodeDiscount, ReportExternalShipment, ShipmentReports } from './api-reports.interfaces'; import { QueryParams } from './api.models'; import { Session } from './api-security.interfaces'; export type CollectionPaymentsOut = { collection_payments: CollectionPayment[]; total: number; }; export type ShipmentsReportOut = { shipments: ShipmentReports[]; total: number; }; export type ExternalShipmentsOut = { external_shipments: ReportExternalShipment[]; total: number; }; export type PromotionCodeDiscountsOut = { total: number; promotion_code_discounts: PromotionCodeDiscount[]; } | { transaction_id: string; }; export type FileCheckOut = { report_file: { user_id: number; role_type_level: number; type: string; status: number; progress: number; file_size: number; file_name: string | null; report_request: QueryParams; transaction_id: string; headers: { [key: string]: string; }; user_session: Session; role_company_country_id: number; updated_at: string; created_at: string; id: string; }; }; export type PartialWithdrawalsOut = { partial_withdrawals: PartialWithdrawal[]; total: number; }; export type InvoicesOut = { invoices: Invoice[]; total: number; };