@whitebox-co/walmart-marketplace-api
Version:
A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API
78 lines (77 loc) • 1.85 kB
TypeScript
/**
* The root schema comprises the entire JSON document.
*/
export interface WfsInventory {
/**
* An explanation about the purpose of this instance.
*/
headers: TheHeadersSchema;
/**
* An explanation about the purpose of this instance.
*/
payload: ThePayloadSchema;
}
/**
* An explanation about the purpose of this instance.
*/
export interface TheHeadersSchema {
/**
* An explanation about the purpose of this instance.
*/
limit: number;
/**
* An explanation about the purpose of this instance.
*/
offset: number;
/**
* An explanation about the purpose of this instance.
*/
totalCount: number;
}
/**
* An explanation about the purpose of this instance.
*/
export interface ThePayloadSchema {
/**
* An explanation about the purpose of this instance.
*/
inventory: InventoryElement[];
}
/**
* An explanation about the purpose of this instance.
*/
export interface InventoryElement {
/**
* An explanation about the purpose of this instance.
*/
shipNodes: ShipNodeElement[];
/**
* An explanation about the purpose of this instance.
*/
sku: string;
}
/**
* An explanation about the purpose of this instance.
*/
export interface ShipNodeElement {
/**
* An explanation about the purpose of this instance.
*/
availToSellQty: number;
/**
* An explanation about the purpose of this instance.
*/
modifiedDate: string;
/**
* An explanation about the purpose of this instance.
*/
onHandQty: number;
/**
* An explanation about the purpose of this instance.
*/
shipNodeType: string;
}
export declare class Convert {
static toWfsInventory(json: string): WfsInventory;
static wfsInventoryToJson(value: WfsInventory): string;
}