UNPKG

@shipengine/connect-carrier-api

Version:

This is the typescript/javascript definitions for carrier api

14 lines (13 loc) 642 B
import Joi from 'joi'; import { AuthSpecification, Carrier } from '.'; export interface CarrierAppMetadata { /** @description The id for this integration (this GUID should not be changed after publishing) */ Id: string; /** @description The name of this integration, used for internal purposes, can be the same as the branded Carrier in Carriers[] */ Name: string; /** @description The specification for authorizing with this carrier */ AuthProcess?: AuthSpecification; /** @description A list of branded carriers */ Carriers: Carrier[]; } export declare const CarrierAppMetadataSchema: Joi.ObjectSchema<any>;