@experteam-mx/ngx-services
Version:
Angular common services for Experteam apps
27 lines (26 loc) • 568 B
TypeScript
import { Supply, SupplyType } from './api-supplies.interfaces';
export type SuppliesOut = {
supplies: Supply[];
total: number;
};
export type SupplyIn = {
supplyTypeId: number;
name: string;
description: string;
countryId: number;
enabledForDropoff: boolean;
supplyPacking: {
value: number;
weight: number;
height: number;
depth: number;
width: number;
};
};
export type SupplyOut = {
supply: Supply;
};
export type SupplyTypesOut = {
supplyTypes: SupplyType[];
total: number;
};