// Copyright © 2022-2026 Partium, Inc. DBA Partium import { APIObject } from '../../core/models/api-object'; import { PartWithNullable } from '../../user-data/models/part-with-nullable'; export declare enum SHOPPING_CART_STATUS { OFFER_REQUESTED = "offer_requested", OPEN = "open" } export interface IShoppingCartDto { organization_id: string; parts: Array; } export interface IShoppingItemDto { item_id: string; quantity: number; bom_context?: string[]; } export interface IShoppingPartDto extends IShoppingItemDto { } export interface IShoppingCartEcrDto extends IShoppingItemDto { isECR?: boolean; } export interface IShoppingPart extends PartWithNullable { created?: Date; quantity?: number; bomContext?: string[]; } export interface IShoppingOffer { timestamp: Date | string; status: SHOPPING_CART_STATUS; } export declare class ShoppingCart extends APIObject { created: Date | string; statusTimestamp: Date | string; organizationId: string; organizationName: string; owner: string; status: SHOPPING_CART_STATUS; userId: string; partiumId: string; constructor(init?: Partial); static fromAPIResponse(cart: ShoppingCart): ShoppingCart; static fromPartAPIResponse(part: IShoppingPart): IShoppingPart; }