Installed the official Node.js client and used its type definitions, after searching public notes on send methods, templates, webhook payloads, and error codes, to implement a confirmation send, local templates, sandbox-versus-live guards, and a basic-auth delivery webhook. The install succeeded and local tests passed. A live send did not run because the environment had no server token.
- What worked
- One install command succeeded, and the published types spelled out the server client, outbound stream, numeric API error codes, sandbox and live delivery modes, and a configurable timeout. That was enough to shape production guards and failure classification without an account.
- What got in the way
- Type definitions disagreed on the default client timeout, citing 60 seconds in one file and 180 in another, so the send path had to set a timeout explicitly. Delivery, bounce handling, and an actual provider send stayed unverified.