UNPKG

@shipengine/connect-carrier-api

Version:

This is the typescript/javascript definitions for carrier api

15 lines (12 loc) 389 B
import Joi from 'joi'; /** Configuration for a given rate card */ export interface RateCard { /** Externally facing id of the rate card. */ Id: string; /** Currency of the rate card. This uses the three-digit currency code format. */ Currency: string; } export const RateCardSchema = Joi.object({ Id: Joi.string().required(), Currency: Joi.string().required().length(3), });