@experteam-mx/ngx-services
Version:
Angular common services for Experteam apps
46 lines (45 loc) • 1.39 kB
TypeScript
import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
export interface ExternalShipmentAddress extends ActiveLessSymfonyModel {
addressLine1: string;
addressLine2: string;
addressLine3: string;
cityName: string;
companyName: string;
countryId: number;
email: string;
externalShipmentId: number;
fullName: string;
identificationNumber: string;
identificationTypeId: number;
phoneCode: string;
phoneNumber: string;
postalCode: string;
roleType: string;
serviceAreaCode: string;
}
export interface ExternalShipmentStatus extends ActiveLessSymfonyModel {
name: string;
isActive: boolean;
}
export interface ExternalShipmentHistory extends ActiveLessSymfonyModel {
externalShipmentId: number;
externalShipmentStatus: ExternalShipmentStatus;
messages: string[];
}
export interface ExternalShipmentFile extends ActiveLessSymfonyModel {
companyCountryId: string;
name: string;
finished: false;
statusId: number;
externalShipmentFileHistories: ExternalShipmentFileHistory[];
externalShipmentId: number;
content: string;
}
export interface ExternalShipmentFileHistory extends ActiveLessSymfonyModel {
statusId: number;
messages: string[];
externalShipmentFileId: number;
}
export interface ExternalShipmentStatuses extends SymfonyModel {
name: string;
}