UNPKG

@shipengine/connect-order-source-api

Version:

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

32 lines (31 loc) 980 B
import Joi from 'joi'; /** * @description The standardized type associated with a note */ export declare enum NoteType { BackOrderMessage = "BackOrderMessage", ConditionNote = "ConditionNote", GiftMessage = "GiftMessage", InternalNotes = "InternalNotes", InStockMessage = "InStockMessage", MPN = "MPN", NotesFromBuyer = "NotesFromBuyer", NotesToBuyer = "NotesToBuyer", Other = "Other", OutOfStockMessage = "OutOfStockMessage", Reason = "Reason", SpecialInstructions = "SpecialInstructions", WarningLabel = "WarningLabel", FeedbackMessage = "FeedbackMessage" } export declare const NoteTypeSchema: Joi.StringSchema; /** * @description This represents a note to the buyer, seller, or recipient */ export declare class Note { /** @description The type of note being sent */ type: NoteType; /** @description The contents of the note */ text: string; } export declare const NoteSchema: Joi.ObjectSchema<any>;