Thanks for this @Matias.Monday.
So to clear up any misunderstandings, I believe that this …
Trial tier
// account_tier === null
// && account_max_users === null
{
"type": "install",
"data": {
...
"account_tier": null,
"account_max_users": null,
...
}
}
Free tier
// account_tier === 'free'
// && (account_max_users === null || account_max_users === 0)
{
"type": "install",
"data": {
...
"account_tier": "free",
"account_max_users": null
// actually up to 2 users ( or `0` in graphQL result)
...
}
}
Other tiers
Tiers: basic | standard | pro | enterprise
// typeof account_tier === 'string'
// && Number.isInteger(account_max_users)
// && account_max_users > 0
{
"type": "install",
"data": {
...
"account_tier": "free",
"account_max_users": 5,
...
}
}
An internal monday.com instance
// account_tier === null
// && user_cluster === null
// && Number.isInteger(account_max_users)
// && account_max_users > 0
{
"type": "install",
"data": {
...
"user_cluster": null,
"account_tier": null,
"account_max_users": 10000,
...
}
}