Nick: temp e-s-1

This commit is contained in:
Nicolas 2024-12-04 16:25:43 -03:00
parent 6b1f30e0fb
commit f7207f91b4
3 changed files with 7 additions and 0 deletions

View File

@ -340,6 +340,8 @@ function getPlanByPriceId(price_id: string | null): PlanType {
return "etier2c";
case process.env.STRIPE_PRICE_ID_ETIER1A_MONTHLY: //ocqh
return "etier1a";
case process.env.STRIPE_PRICE_ID_ETIER_SCALE_1_MONTHLY:
return "etierscale1";
default:
return "free";
}

View File

@ -18,6 +18,7 @@ const RATE_LIMITS = {
etier2c: 300,
etier1a: 1000,
etier2a: 300,
etierscale1: 150,
},
scrape: {
default: 20,
@ -34,6 +35,7 @@ const RATE_LIMITS = {
etier2c: 2500,
etier1a: 1000,
etier2a: 2500,
etierscale1: 1500,
},
search: {
default: 20,
@ -50,6 +52,7 @@ const RATE_LIMITS = {
etier2c: 2500,
etier1a: 1000,
etier2a: 2500,
etierscale1: 1500,
},
map:{
default: 20,
@ -66,6 +69,7 @@ const RATE_LIMITS = {
etier2c: 2500,
etier1a: 1000,
etier2a: 2500,
etierscale1: 1500,
},
preview: {
free: 5,

View File

@ -171,6 +171,7 @@ export type PlanType =
| "growthdouble"
| "etier2c"
| "etier1a"
| "etierscale1"
| "free"
| "";