@experteam-mx/ngx-services
Version:
Angular common services for Experteam apps
26 lines (25 loc) • 713 B
TypeScript
import { CollectionPayment, PromotionCodeDiscount, ReportExternalShipment, Shipment } from './api-reports.interfaces';
export type CollectionPaymentsOut = {
collection_payments: CollectionPayment[];
total: number;
};
export type ShipmentsReportOut = {
shipments: Shipment[];
total: number;
};
export type ExistPendingPaymentsIn = {
installation_id: number;
};
export type ExistPendingInvoicesIn = {
installation_id: number;
};
export type ExternalShipmentsOut = {
external_shipments: ReportExternalShipment[];
total: number;
};
export type PromotionCodeDiscountsOut = {
total: number;
promotion_code_discounts: PromotionCodeDiscount[];
} | {
transaction_id: string;
};