UNPKG

@shipengine/connect-order-source-api

Version:

This is the typescript/javascript definitions for the order source api

17 lines (16 loc) 507 B
import Joi from 'joi'; /** @description The unit describing the weight of an item */ export declare enum WeightUnit { Gram = "Gram", Ounce = "Ounce", Kilogram = "Kilogram", Pound = "Pound" } /** @description A measurement of weight */ export declare class Weight { /** @description The unit this weight was measured in */ unit: WeightUnit; /** @description The value of the weight in weight units */ value: number; } export declare const WeightSchema: Joi.ObjectSchema<any>;