@whitebox-co/walmart-marketplace-api
Version:
A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API
16 lines (15 loc) • 321 B
TypeScript
export interface Inventory {
quantity: Quantity;
sku: string;
}
export interface Quantity {
amount: number;
unit: Unit;
}
export declare enum Unit {
Each = "EACH"
}
export declare class Convert {
static toInventory(json: string): Inventory;
static inventoryToJson(value: Inventory): string;
}