import type { OrderForm as BaseOrderForm } from '@vtex/order-manager' export interface AssemblyOptionInput { id?: Maybe quantity?: Maybe assemblyId: string seller?: Maybe inputValues?: Maybe> options?: Maybe } export interface SKUSpecification { fieldName: string fieldValues: string[] } export interface CatalogItem { additionalInfo: ItemAdditionalInfo availability: string detailUrl: string id: string imageUrl: string index?: number listPrice: number measurementUnit: string name: string price: number productId: string quantity: number sellingPrice: number seller: string skuName: string unitMultiplier?: number skuSpecifications: SKUSpecification[] options?: AssemblyOptionInput[] uniqueId?: string } export interface ItemAdditionalInfo { brandName: Maybe } export interface Item { availability?: Maybe id: string options?: Maybe>> price?: Maybe quantity: number seller?: Maybe sellingPrice?: Maybe unitMultiplier?: Maybe uniqueId: string index?: number isGift: boolean } export interface MarketingData { coupon?: Maybe } type Maybe = null | undefined | T export interface FullItem extends Item { additionalInfo?: Maybe attachmentOfferings: Maybe<[]> attachments: Maybe<[]> bundleItems: Maybe<[]> offerings: Maybe<[]> priceTags: Maybe<[]> availability: Maybe detailUrl?: Maybe id: string imageUrls?: Maybe listPrice: number measurementUnit?: Maybe name?: Maybe parentAssemblyBinding?: Maybe price: number productCategories?: Maybe productCategoryIds?: Maybe productId: string productRefId?: Maybe quantity: number sellingPrice: number sellingPriceWithAssemblies?: Maybe skuName?: Maybe skuSpecifications: SkuSpecification[] uniqueId: string unitMultiplier: Maybe } export type SkuSpecification = { fieldName?: Maybe fieldValues: Array> } export type ImageUrls = { at1x: string at2x: string at3x: string } export interface OrderForm extends BaseOrderForm { id: string items: Item[] canEditData: boolean marketingData?: MarketingData totalizers: Array<{ id: string name?: string | null value: number }> value: number } export interface OrderFormItemInput { id: number index?: number quantity?: number seller: string uniqueId?: string options?: AssemblyOptionInput[] } type TotalizersType = 'Items' | 'Discounts' export interface Totalizer { id: TotalizersType name: string value: number } export type UpdateQuantityInput = | { index: number; quantity: number } | { uniqueId: string; quantity: number } export interface UpdateQuantityMutationVariables { orderItems: UpdateQuantityInput[] allowedOutdatedData?: string[] splitItem?: boolean } export interface FakeUniqueIdMap { [fakeUniqueId: string]: string }