@shipengine/connect-order-source-api
Version:
This is the typescript/javascript definitions for the order source api
23 lines (22 loc) • 695 B
TypeScript
import Joi from 'joi';
/**
* @description The unit of measurement of dimensions
*/
export declare enum DimensionsUnit {
Centimeter = "Centimeter",
Inch = "Inch"
}
/**
* @description The definition of dimensions for an item or package
*/
export declare class Dimensions {
/** @description The unit associated with these dimensions */
unit: DimensionsUnit;
/** @description The height of the item in dimension units */
height: number;
/** @description The width of the item in dimension units */
width: number;
/** @description The length of the item in dimension units */
length: number;
}
export declare const DimensionsSchema: Joi.ObjectSchema<any>;