Skip to main content
Version: v0.0.3

Interface: TelecomParseOptions

Options controlling parseTelecom.

Properties

encoding?

readonly optional encoding?: BufferEncoding

When the input is a Buffer, the encoding used to decode it to text. The Telecommunication standard is single-byte ASCII; defaults to "latin1" so every byte maps to a code point without loss.


profile?

readonly optional profile?: NcpdpProfile | null

Trading-partner profile to attach to the result for attribution (and partitionWarnings). An explicit profile ALWAYS wins over any process-scoped default; pass null to opt out of the default for this one call; omit (or undefined) to consult getDefaultProfile(). v1 profiles are DESCRIPTIVE: the profile is surfaced as tx.profile but does NOT alter the lenient parse.