TypeScript types and utilities for Bambu Lab 3D printers including error codes, commands, and API types