UNPKG

@experteam-mx/ngx-services

Version:

Angular common services for Experteam apps

59 lines (58 loc) 1.44 kB
import { OpenItem } from './api-open-items.interfaces'; import { Document } from './api-invoices.interfaces'; export type CustomerOpenItem = { company_name: string; full_name: string; email: string; phone_code: string; phone_number: string; address_line1: string; address_line2: string; address_line3: string; identification_number: string; identification_type_id: number; postal_code: string; state: string; county_name: string; city_name: string; country_id: number; }; export type CustomerOtherInvoice = { identification_number: string; company_name: string; full_name: string; account_number: string; country_id: number; }; export type OpenItems = { id: string; payed_value: number; }; export type OpenItemsOut = { open_items: OpenItem[]; total: number; }; export type OtherInvoices = { invoice_number: string; shipment_tracking_number: string; invoice_issue_datetime: string; pending_value: number; customer_identification_number: string; }; export type PaymentDetail = { amount: number; received: number; country_reference_currency_id: number; exchange: string | number; country_payment_type_id: number; due_date: string; details: { [key: string]: string; }; }; export type PaymentOut = { document: Document; }; export type OtherInvoiceOut = { document: Document; };