Interface: TelecomParseOptions
Options controlling parseTelecom.
Properties
encoding?
readonlyoptionalencoding?: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?
readonlyoptionalprofile?: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.