Rather than having a client pass use the URL to the API (or environment) they want to use, what if we exposed a production key in the Configuration which switch between int and prod:
// This
const apiConfig = new Configuration({
production: false
})
// Instead of this:
const apiConfig = new Configuration({
basePath: "https://int-api.mx.com",
})