UNPKG

@experteam-mx/ngx-services

Version:

Angular common services for Experteam apps

90 lines (89 loc) 2.33 kB
import { ShipmentEmployeeCustomers } from './api-shipments.interfaces'; import { Document } from './api-invoices.interfaces'; export type ValidateAccountIn = { accountValue: string; }; export type AccountResponse = { status: true; message: string; name: string; accountStatus: string; creditStatus: string; activityStatus: string; country: string; countryName: string; isCreditStop: boolean; isImportEnabled: boolean; accountType: string; isCash: boolean; contactInfo: string | null; registrationInfo: string | null; users: { id: string; name: string; valid: boolean; }[]; } | { status: false; message: string; users: []; }; export type ValidateAccountOut = { account: AccountResponse; transactionId: string; }; export type ManifestMultipleIn = { shipmentIds: number[]; customer: { companyName: string; fullName: string; email: string; phoneCode: string; phoneNumber: string; addressLine1: string; addressLine2?: string; addressLine3?: string; identificationNumber?: string; identificationTypeId?: number; countryCode: string; stateCode?: string; postalCode?: string; cityName?: string; countyName?: string; }; paymentDetails: { totalAmount: number; payments: { amount: number; received: number; countryReferenceCurrencyId: number; exchange: number; countryPaymentTypeId: number; dueDate: string; details: Record<string, string>; }[]; }; priceOverrideApproverId: number | null; priceOverrideReasonId: number | null; isPendingInvoice?: boolean; }; export type ManifestMultipleOut = { shipmentManifests: { documentId: number; }; transactionId: string; }; export type ShipmentEmployeeCustomer = { currentYear: number; currentMonth: number; message: string | null; shipmentEmployeeCustomers: ShipmentEmployeeCustomers[]; }; export type ShipmentCancellationIn = { shipmentId: number; reasonId: number; }; export type ShipmentCancellationOut = { emailList: string[]; creditNoteDocument: Document | null; };