mm1Plans.ts 11 KB

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