
export interface Products {
    last_page: number;
    page: number;
    total: number;
    products: ProductInterface[];
}

export interface ProductInterface {
    created_at: string;
    description: string;
    id: number;
    item_id: number;
    name: string;
    online: number;
    price: string;
    updated_at: string;
    type_id: number;
    photos: Photo[];
    type: Type;
    exist_in_cart: boolean;
    quantity: number;
}

interface Photo {
    id: number;
    title: string;
    small_size_url: string;
}

interface Type { 
    id: number;
    name: string;
}