CountBot API Types Install the interfaces and types used across CountBot with npm i -D @countbot/countbot-api-types. Generics The generic interfaces should take a string or a mongoose Types.ObjectId.