import { GlobalBooleanStringType, InventoryIterationType, InventorySortingModeType, SelectableInventoriesModeType } from '../types'; import { LinkedBOMAtumInterface } from './product-atum.interface'; export interface VariationAtumInterface { id?: number; slug?: string; product_id?: number; parent_id?: number; date_created?: string; date_created_gmt?: string; date_modified?: string; date_modified_gmt?: string; description?: string; permalink?: string; sku?: string; price?: string; regular_price?: string; sale_price?: string; date_on_sale_from?: string; date_on_sale_from_gmt?: string; date_on_sale_to?: string; date_on_sale_to_gmt?: string; on_sale?: boolean; status?: string; purchasable?: boolean; virtual?: boolean; downloadable?: boolean; downloads?: Partial[]; download_limit?: number; download_expiry?: number; tax_status?: string; tax_class?: string; manage_stock?: boolean; stock_quantity?: number; stock_status?: string; backorders?: string; backorders_allowed?: boolean; backordered?: boolean; weight?: string; dimensions?: VariationDimensionAtumInterface; shipping_class?: string; shipping_class_id?: string; image?: VariationImageAtumInterface; attributes?: VariationAttributeAtumInterface[]; menu_order?: number; meta_data?: VariationMetaDataAtumInterface[]; purchase_price?: string; supplier_id?: number; supplier_sku?: string; atum_controlled?: boolean; out_stock_date?: string; out_stock_threshold?: number; inbound_stock?: number; stock_on_hold?: number; sold_today?: number; sales_last_days?: number; reserved_stock?: number; customer_returns?: number; warehouse_damage?: number; lost_in_post?: number; other_logs?: number; out_stock_days?: number; lost_sales?: number; mi_inventories?: number[]; multi_inventory: GlobalBooleanStringType; inventory_sorting_mode?: InventorySortingModeType; inventory_iteration?: InventoryIterationType; expirable_inventories?: GlobalBooleanStringType; price_per_inventory?: GlobalBooleanStringType; low_stock_threshold?: number; calc_back_orders?: number; inventory_selection_mode?: SelectableInventoriesModeType; selectable_inventories?: GlobalBooleanStringType; linked_bom?: LinkedBOMAtumInterface[]; is_bom?: boolean; sync_purchase_price?: boolean; bom_sellable?: boolean; minimum_threshold?: number; available_to_purchase?: number; selling_priority?: number; calculated_stock?: number; barcode?: string; } export interface VariationDownloadAtumInterface { id?: number; name: string; file: string; } export interface VariationDimensionAtumInterface { length?: string; width?: string; height?: string; } export interface VariationImageAtumInterface { id: number; date_created?: string; date_created_gmt?: string; date_modified?: string; date_modified_gmt?: string; src?: string; name?: string; alt?: string; } export interface VariationAttributeAtumInterface { id?: number; name: string; option: string; } export interface VariationMetaDataAtumInterface { id?: number; key: string; value: string; }