shipstation-client
Version:
ShipStation V2 SDK
132 lines (131 loc) • 4.49 kB
TypeScript
/**
* ShipStation API v2
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { GetInventoryLevels200ResponseInventoryInnerAverageCost } from './get-inventory-levels200-response-inventory-inner-average-cost';
import type { UpdateSKUStockLevelsRequestNewCost } from './update-skustock-levels-request-new-cost';
/**
*
* @export
* @interface UpdateSKUStockLevelsRequest
*/
export interface UpdateSKUStockLevelsRequest {
/**
* The type of update to perform: increment: Increase inventory quantity for specified location. decrement: Decreate inventory quantity for specified location given a set of filters. adjust: Adjust on hand quantity of inventory for specified location to the quantity indicated. This is done by either adding or removing inventory in the condition specified. modify: Modify attributes on specified inventory. The filters work the same as for decrement transaction type.
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'transaction_type': UpdateSKUStockLevelsRequestTransactionTypeEnum;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'inventory_location_id': string;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'sku': string;
/**
*
* @type {number}
* @memberof UpdateSKUStockLevelsRequest
*/
'quantity': number;
/**
*
* @type {GetInventoryLevels200ResponseInventoryInnerAverageCost}
* @memberof UpdateSKUStockLevelsRequest
*/
'cost'?: GetInventoryLevels200ResponseInventoryInnerAverageCost;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'condition'?: UpdateSKUStockLevelsRequestConditionEnum;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'lot'?: string;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'usable_start_date'?: string;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'usable_end_date'?: string;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'effective_at'?: string;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'reason'?: string;
/**
*
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'notes'?: string;
/**
* Used with the modify transaction type to move inventory to a new location
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'new_inventory_location_id'?: string;
/**
*
* @type {UpdateSKUStockLevelsRequestNewCost}
* @memberof UpdateSKUStockLevelsRequest
*/
'new_cost'?: UpdateSKUStockLevelsRequestNewCost;
/**
* Used with the modify transaction type to change the condition of existing inventory
* @type {string}
* @memberof UpdateSKUStockLevelsRequest
*/
'new_condition'?: UpdateSKUStockLevelsRequestNewConditionEnum;
}
export declare const UpdateSKUStockLevelsRequestTransactionTypeEnum: {
readonly Increment: "increment";
readonly Decrement: "decrement";
readonly Adjust: "adjust";
readonly Modify: "modify";
};
export type UpdateSKUStockLevelsRequestTransactionTypeEnum = typeof UpdateSKUStockLevelsRequestTransactionTypeEnum[keyof typeof UpdateSKUStockLevelsRequestTransactionTypeEnum];
export declare const UpdateSKUStockLevelsRequestConditionEnum: {
readonly Sellable: "sellable";
readonly Damaged: "damaged";
readonly Expired: "expired";
readonly QaHold: "qa_hold";
};
export type UpdateSKUStockLevelsRequestConditionEnum = typeof UpdateSKUStockLevelsRequestConditionEnum[keyof typeof UpdateSKUStockLevelsRequestConditionEnum];
export declare const UpdateSKUStockLevelsRequestNewConditionEnum: {
readonly Sellable: "sellable";
readonly Damaged: "damaged";
readonly Expired: "expired";
readonly QaHold: "qa_hold";
};
export type UpdateSKUStockLevelsRequestNewConditionEnum = typeof UpdateSKUStockLevelsRequestNewConditionEnum[keyof typeof UpdateSKUStockLevelsRequestNewConditionEnum];