@routebot/constants 0.3.32 → 0.3.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,8 @@ const PLANS_META = {
18
18
  description: "plan.demo.description",
19
19
  features: ["features.routes.limited"],
20
20
  priceMonthly: 0,
21
- maxRoutes: 5,
21
+ maxRoutes: 10,
22
+ pricePerRoute: 0,
22
23
  dontShow: true,
23
24
  },
24
25
 
@@ -29,6 +30,7 @@ const PLANS_META = {
29
30
  features: ["features.routes.limited"],
30
31
  priceMonthly: 0,
31
32
  maxRoutes: 5,
33
+ pricePerRoute: 0,
32
34
  dontShow: true,
33
35
  },
34
36
 
@@ -37,8 +39,9 @@ const PLANS_META = {
37
39
  name: "Starter",
38
40
  description: "plan.starter.description",
39
41
  features: ["features.routes.limited"],
40
- priceMonthly: 249,
41
- maxRoutes: 25,
42
+ priceMonthly: 120,
43
+ maxRoutes: 40,
44
+ pricePerRoute: 3,
42
45
  },
43
46
 
44
47
  [PLANS.PRO]: {
@@ -46,8 +49,9 @@ const PLANS_META = {
46
49
  name: "Pro",
47
50
  description: "plan.pro.description",
48
51
  features: ["features.routes.limited"],
49
- priceMonthly: 499,
50
- maxRoutes: 100,
52
+ priceMonthly: 500,
53
+ maxRoutes: 200,
54
+ pricePerRoute: 2.5,
51
55
  recommended: true,
52
56
  },
53
57
 
@@ -56,8 +60,9 @@ const PLANS_META = {
56
60
  name: "Business",
57
61
  description: "plan.business.description",
58
62
  features: ["features.routes.limited"],
59
- priceMonthly: 1999,
60
- maxRoutes: 500,
63
+ priceMonthly: 1500,
64
+ maxRoutes: 750,
65
+ pricePerRoute: 2,
61
66
  },
62
67
 
63
68
  [PLANS.ENTERPRISE]: {
@@ -65,8 +70,9 @@ const PLANS_META = {
65
70
  name: "Enterprise",
66
71
  description: "plan.enterprise.description",
67
72
  features: ["features.routes.limited"],
68
- priceMonthly: 899,
69
- maxRoutes: 200,
73
+ priceMonthly: 5000,
74
+ maxRoutes: 5000,
75
+ pricePerRoute: 1,
70
76
  contactRequired: true,
71
77
  dontShow: true,
72
78
  },
@@ -87,10 +93,10 @@ const PLAN_QUOTAS = {
87
93
  [USAGE_TYPES.MAPS__DIRECTIONS_WITH_WAYPOINTS]: 100,
88
94
  },
89
95
  [PLANS.FREE]: {
90
- [USAGE_TYPES.MAPS__ADDRESS_TO_NEAREST_ROAD_LOCATION]: 100,
91
- [USAGE_TYPES.MAPS__LOCATION_TO_NEAREST_ROAD_ADDRESS]: 100,
92
- [USAGE_TYPES.MAPS__DIRECTIONS_SINGLE]: 100,
93
- [USAGE_TYPES.MAPS__DIRECTIONS_WITH_WAYPOINTS]: 100,
96
+ [USAGE_TYPES.MAPS__ADDRESS_TO_NEAREST_ROAD_LOCATION]: 500,
97
+ [USAGE_TYPES.MAPS__LOCATION_TO_NEAREST_ROAD_ADDRESS]: 500,
98
+ [USAGE_TYPES.MAPS__DIRECTIONS_SINGLE]: 500,
99
+ [USAGE_TYPES.MAPS__DIRECTIONS_WITH_WAYPOINTS]: 500,
94
100
  },
95
101
  [PLANS.STARTER]: {
96
102
  [USAGE_TYPES.MAPS__ADDRESS_TO_NEAREST_ROAD_LOCATION]: 5000,
@@ -99,17 +105,17 @@ const PLAN_QUOTAS = {
99
105
  [USAGE_TYPES.MAPS__DIRECTIONS_WITH_WAYPOINTS]: 5000,
100
106
  },
101
107
  [PLANS.PRO]: {
102
- [USAGE_TYPES.MAPS__ADDRESS_TO_NEAREST_ROAD_LOCATION]: 10000,
103
- [USAGE_TYPES.MAPS__LOCATION_TO_NEAREST_ROAD_ADDRESS]: 10000,
104
- [USAGE_TYPES.MAPS__DIRECTIONS_SINGLE]: 10000,
105
- [USAGE_TYPES.MAPS__DIRECTIONS_WITH_WAYPOINTS]: 10000,
106
- },
107
- [PLANS.BUSINESS]: {
108
108
  [USAGE_TYPES.MAPS__ADDRESS_TO_NEAREST_ROAD_LOCATION]: 20000,
109
109
  [USAGE_TYPES.MAPS__LOCATION_TO_NEAREST_ROAD_ADDRESS]: 20000,
110
110
  [USAGE_TYPES.MAPS__DIRECTIONS_SINGLE]: 20000,
111
111
  [USAGE_TYPES.MAPS__DIRECTIONS_WITH_WAYPOINTS]: 20000,
112
112
  },
113
+ [PLANS.BUSINESS]: {
114
+ [USAGE_TYPES.MAPS__ADDRESS_TO_NEAREST_ROAD_LOCATION]: 60000,
115
+ [USAGE_TYPES.MAPS__LOCATION_TO_NEAREST_ROAD_ADDRESS]: 60000,
116
+ [USAGE_TYPES.MAPS__DIRECTIONS_SINGLE]: 60000,
117
+ [USAGE_TYPES.MAPS__DIRECTIONS_WITH_WAYPOINTS]: 60000,
118
+ },
113
119
  [PLANS.ENTERPRISE]: {
114
120
  [USAGE_TYPES.MAPS__ADDRESS_TO_NEAREST_ROAD_LOCATION]: 100000,
115
121
  [USAGE_TYPES.MAPS__LOCATION_TO_NEAREST_ROAD_ADDRESS]: 100000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routebot/constants",
3
- "version": "0.3.32",
3
+ "version": "0.3.35",
4
4
  "description": "Shared constants for RouteBot FE/BE",
5
5
  "main": "index.js",
6
6
  "files": [