mm1Plans.ts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. import type {Plan} from 'getsentry/types';
  2. const MM1_CATEGORY_DISPLAY_NAMES = {
  3. errors: {singular: 'error', plural: 'errors'},
  4. };
  5. const MM1_PLANS: Record<string, Plan> = {
  6. e1_ac: {
  7. availableCategories: [],
  8. basePrice: 0,
  9. description: '',
  10. id: 'e1_ac',
  11. name: 'Enterprise',
  12. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  13. categories: ['errors'],
  14. checkoutCategories: ['errors'],
  15. onDemandCategories: ['errors'],
  16. hasOnDemandModes: false,
  17. trialPlan: 'mm2_a',
  18. maxMembers: null,
  19. planCategories: {
  20. errors: [],
  21. },
  22. totalPrice: 0,
  23. reservedMinimum: 0,
  24. price: 0,
  25. userSelectable: false,
  26. allowAdditionalReservedEvents: true,
  27. contractInterval: 'annual',
  28. billingInterval: 'monthly',
  29. allowOnDemand: true,
  30. onDemandEventPrice: 0.019,
  31. retentionDays: 90,
  32. features: [
  33. 'sso-basic',
  34. 'sso-saml2',
  35. 'weekly-reports',
  36. 'data-forwarding',
  37. 'rate-limits',
  38. 'custom-inbound-filters',
  39. 'invoices',
  40. 'discard-groups',
  41. 'integrations-issue-basic',
  42. 'integrations-issue-sync',
  43. 'custom-symbol-sources',
  44. 'relay',
  45. 'extended-data-retention',
  46. ],
  47. },
  48. e1_auf: {
  49. availableCategories: [],
  50. basePrice: 0,
  51. description: '',
  52. id: 'e1_auf',
  53. name: 'Enterprise',
  54. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  55. categories: ['errors'],
  56. checkoutCategories: ['errors'],
  57. onDemandCategories: ['errors'],
  58. hasOnDemandModes: false,
  59. trialPlan: 'mm2_a',
  60. maxMembers: null,
  61. planCategories: {
  62. errors: [],
  63. },
  64. totalPrice: 0,
  65. reservedMinimum: 0,
  66. price: 0,
  67. userSelectable: false,
  68. allowAdditionalReservedEvents: true,
  69. contractInterval: 'annual',
  70. billingInterval: 'annual',
  71. allowOnDemand: true,
  72. onDemandEventPrice: 0.019,
  73. retentionDays: 90,
  74. features: [
  75. 'sso-basic',
  76. 'sso-saml2',
  77. 'weekly-reports',
  78. 'data-forwarding',
  79. 'rate-limits',
  80. 'custom-inbound-filters',
  81. 'invoices',
  82. 'discard-groups',
  83. 'integrations-issue-basic',
  84. 'integrations-issue-sync',
  85. 'relay',
  86. 'extended-data-retention',
  87. ],
  88. },
  89. f1: {
  90. availableCategories: [],
  91. basePrice: 0,
  92. description: '',
  93. id: 'f1',
  94. name: 'Free',
  95. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  96. categories: ['errors'],
  97. checkoutCategories: ['errors'],
  98. onDemandCategories: ['errors'],
  99. hasOnDemandModes: false,
  100. trialPlan: 'am1_t',
  101. maxMembers: 1,
  102. planCategories: {
  103. errors: [
  104. {
  105. price: 0,
  106. events: 10000,
  107. },
  108. ],
  109. },
  110. totalPrice: 0,
  111. reservedMinimum: 10000,
  112. price: 0,
  113. userSelectable: true,
  114. allowAdditionalReservedEvents: false,
  115. contractInterval: 'monthly',
  116. billingInterval: 'monthly',
  117. allowOnDemand: false,
  118. onDemandEventPrice: 0,
  119. retentionDays: 30,
  120. features: [],
  121. },
  122. l1: {
  123. availableCategories: [],
  124. basePrice: 0,
  125. description: '',
  126. id: 'l1',
  127. name: 'Large',
  128. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  129. categories: ['errors'],
  130. checkoutCategories: ['errors'],
  131. onDemandCategories: ['errors'],
  132. hasOnDemandModes: false,
  133. trialPlan: 'mm2_a',
  134. maxMembers: null,
  135. planCategories: {
  136. errors: [
  137. {
  138. price: 49900,
  139. events: 4000000,
  140. },
  141. ],
  142. },
  143. totalPrice: 49900,
  144. reservedMinimum: 4000000,
  145. price: 49900,
  146. userSelectable: true,
  147. allowAdditionalReservedEvents: false,
  148. contractInterval: 'monthly',
  149. billingInterval: 'monthly',
  150. allowOnDemand: true,
  151. onDemandEventPrice: 0.024,
  152. retentionDays: 90,
  153. features: [
  154. 'sso-basic',
  155. 'weekly-reports',
  156. 'data-forwarding',
  157. 'rate-limits',
  158. 'custom-inbound-filters',
  159. 'discard-groups',
  160. 'integrations-issue-basic',
  161. 'integrations-issue-sync',
  162. 'extended-data-retention',
  163. ],
  164. },
  165. l1_ac: {
  166. availableCategories: [],
  167. basePrice: 0,
  168. description: '',
  169. id: 'l1_ac',
  170. name: 'Large',
  171. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  172. categories: ['errors'],
  173. checkoutCategories: ['errors'],
  174. onDemandCategories: ['errors'],
  175. hasOnDemandModes: false,
  176. trialPlan: 'mm2_a',
  177. maxMembers: null,
  178. planCategories: {
  179. errors: [
  180. {
  181. price: 44900,
  182. events: 4000000,
  183. },
  184. ],
  185. },
  186. totalPrice: 538800,
  187. reservedMinimum: 4000000,
  188. price: 44900,
  189. userSelectable: true,
  190. allowAdditionalReservedEvents: false,
  191. contractInterval: 'annual',
  192. billingInterval: 'monthly',
  193. allowOnDemand: true,
  194. onDemandEventPrice: 0.019,
  195. retentionDays: 90,
  196. features: [
  197. 'sso-basic',
  198. 'weekly-reports',
  199. 'data-forwarding',
  200. 'rate-limits',
  201. 'custom-inbound-filters',
  202. 'discard-groups',
  203. 'integrations-issue-basic',
  204. 'integrations-issue-sync',
  205. 'extended-data-retention',
  206. ],
  207. },
  208. l1_auf: {
  209. availableCategories: [],
  210. basePrice: 0,
  211. description: '',
  212. id: 'l1_auf',
  213. name: 'Large',
  214. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  215. categories: ['errors'],
  216. checkoutCategories: ['errors'],
  217. onDemandCategories: ['errors'],
  218. hasOnDemandModes: false,
  219. trialPlan: 'mm2_a',
  220. maxMembers: null,
  221. planCategories: {
  222. errors: [
  223. {
  224. price: 538800,
  225. events: 4000000,
  226. },
  227. ],
  228. },
  229. totalPrice: 538800,
  230. reservedMinimum: 4000000,
  231. price: 538800,
  232. userSelectable: true,
  233. allowAdditionalReservedEvents: false,
  234. contractInterval: 'annual',
  235. billingInterval: 'annual',
  236. allowOnDemand: true,
  237. onDemandEventPrice: 0.019,
  238. retentionDays: 90,
  239. features: [
  240. 'sso-basic',
  241. 'weekly-reports',
  242. 'data-forwarding',
  243. 'rate-limits',
  244. 'custom-inbound-filters',
  245. 'discard-groups',
  246. 'integrations-issue-basic',
  247. 'integrations-issue-sync',
  248. 'extended-data-retention',
  249. ],
  250. },
  251. m1: {
  252. availableCategories: [],
  253. basePrice: 0,
  254. description: '',
  255. id: 'm1',
  256. name: 'Medium',
  257. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  258. categories: ['errors'],
  259. checkoutCategories: ['errors'],
  260. onDemandCategories: ['errors'],
  261. hasOnDemandModes: false,
  262. trialPlan: 'mm2_a',
  263. maxMembers: null,
  264. planCategories: {
  265. errors: [
  266. {
  267. price: 19900,
  268. events: 1000000,
  269. },
  270. ],
  271. },
  272. totalPrice: 19900,
  273. reservedMinimum: 1000000,
  274. price: 19900,
  275. userSelectable: true,
  276. allowAdditionalReservedEvents: false,
  277. contractInterval: 'monthly',
  278. billingInterval: 'monthly',
  279. allowOnDemand: true,
  280. onDemandEventPrice: 0.024,
  281. retentionDays: 90,
  282. features: [
  283. 'sso-basic',
  284. 'weekly-reports',
  285. 'discard-groups',
  286. 'integrations-issue-basic',
  287. 'integrations-issue-sync',
  288. 'extended-data-retention',
  289. ],
  290. },
  291. m1_ac: {
  292. availableCategories: [],
  293. basePrice: 0,
  294. description: '',
  295. id: 'm1_ac',
  296. name: 'Medium',
  297. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  298. categories: ['errors'],
  299. checkoutCategories: ['errors'],
  300. onDemandCategories: ['errors'],
  301. hasOnDemandModes: false,
  302. trialPlan: 'mm2_a',
  303. maxMembers: null,
  304. planCategories: {
  305. errors: [
  306. {
  307. price: 17900,
  308. events: 1000000,
  309. },
  310. ],
  311. },
  312. totalPrice: 214800,
  313. reservedMinimum: 1000000,
  314. price: 17900,
  315. userSelectable: true,
  316. allowAdditionalReservedEvents: false,
  317. contractInterval: 'annual',
  318. billingInterval: 'monthly',
  319. allowOnDemand: true,
  320. onDemandEventPrice: 0.019,
  321. retentionDays: 90,
  322. features: [
  323. 'sso-basic',
  324. 'weekly-reports',
  325. 'discard-groups',
  326. 'integrations-issue-basic',
  327. 'integrations-issue-sync',
  328. 'extended-data-retention',
  329. ],
  330. },
  331. m1_auf: {
  332. availableCategories: [],
  333. basePrice: 0,
  334. description: '',
  335. id: 'm1_auf',
  336. name: 'Medium',
  337. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  338. categories: ['errors'],
  339. checkoutCategories: ['errors'],
  340. onDemandCategories: ['errors'],
  341. hasOnDemandModes: false,
  342. trialPlan: 'mm2_a',
  343. maxMembers: null,
  344. planCategories: {
  345. errors: [
  346. {
  347. price: 214800,
  348. events: 1000000,
  349. },
  350. ],
  351. },
  352. totalPrice: 214800,
  353. reservedMinimum: 1000000,
  354. price: 214800,
  355. userSelectable: true,
  356. allowAdditionalReservedEvents: false,
  357. contractInterval: 'annual',
  358. billingInterval: 'annual',
  359. allowOnDemand: true,
  360. onDemandEventPrice: 0.019,
  361. retentionDays: 90,
  362. features: [
  363. 'sso-basic',
  364. 'weekly-reports',
  365. 'discard-groups',
  366. 'integrations-issue-basic',
  367. 'integrations-issue-sync',
  368. 'extended-data-retention',
  369. ],
  370. },
  371. s1: {
  372. availableCategories: [],
  373. basePrice: 0,
  374. description: '',
  375. id: 's1',
  376. name: 'Small',
  377. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  378. categories: ['errors'],
  379. checkoutCategories: ['errors'],
  380. onDemandCategories: ['errors'],
  381. hasOnDemandModes: false,
  382. trialPlan: 'mm2_a',
  383. maxMembers: null,
  384. planCategories: {
  385. errors: [
  386. {
  387. price: 2900,
  388. events: 100000,
  389. },
  390. ],
  391. },
  392. totalPrice: 2900,
  393. reservedMinimum: 100000,
  394. price: 2900,
  395. userSelectable: true,
  396. allowAdditionalReservedEvents: false,
  397. contractInterval: 'monthly',
  398. billingInterval: 'monthly',
  399. allowOnDemand: true,
  400. onDemandEventPrice: 0.024,
  401. retentionDays: 90,
  402. features: [
  403. 'sso-basic',
  404. 'weekly-reports',
  405. 'integrations-issue-basic',
  406. 'extended-data-retention',
  407. ],
  408. },
  409. s1_ac: {
  410. availableCategories: [],
  411. basePrice: 0,
  412. description: '',
  413. id: 's1_ac',
  414. name: 'Small',
  415. categoryDisplayNames: MM1_CATEGORY_DISPLAY_NAMES,
  416. categories: ['errors'],
  417. checkoutCategories: ['errors'],
  418. onDemandCategories: ['errors'],
  419. hasOnDemandModes: false,
  420. trialPlan: 'mm2_a',
  421. maxMembers: null,
  422. planCategories: {
  423. errors: [
  424. {
  425. price: 2600,
  426. events: 100000,
  427. },
  428. ],
  429. },
  430. totalPrice: 31200,
  431. reservedMinimum: 100000,
  432. price: 2600,
  433. userSelectable: true,
  434. allowAdditionalReservedEvents: false,
  435. contractInterval: 'annual',
  436. billingInterval: 'monthly',
  437. allowOnDemand: true,
  438. onDemandEventPrice: 0.019,
  439. retentionDays: 90,
  440. features: [
  441. 'sso-basic',
  442. 'weekly-reports',
  443. 'integrations-issue-basic',
  444. 'extended-data-retention',
  445. ],
  446. },
  447. };
  448. export default MM1_PLANS;