@abyss-project/main 45.5.0 → 45.8.0

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.
Files changed (58) hide show
  1. package/dist/billing-metric-label/billing-metric-label.labels.d.ts +6 -2
  2. package/dist/billing-metric-label/billing-metric-label.labels.js +6 -2
  3. package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
  4. package/dist/constants/billing-catalog.constants.js +28 -4
  5. package/dist/constants/billing-catalog.constants.js.map +1 -1
  6. package/dist/constants/catalog-plan-quotas.constants.js +24 -16
  7. package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
  8. package/dist/constants/enforcement-registry.constants.js +18 -5
  9. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  10. package/dist/constants/metric-price-scale.constants.js +3 -0
  11. package/dist/constants/metric-price-scale.constants.js.map +1 -1
  12. package/dist/constants/module-catalog.constants.d.ts +1 -0
  13. package/dist/constants/module-catalog.constants.js +12 -0
  14. package/dist/constants/module-catalog.constants.js.map +1 -1
  15. package/dist/constants/public-plans.constants.js +134 -62
  16. package/dist/constants/public-plans.constants.js.map +1 -1
  17. package/dist/constants/quota-metric-kind.constants.js +3 -1
  18. package/dist/constants/quota-metric-kind.constants.js.map +1 -1
  19. package/dist/constants/tests/billing-catalog.constants.spec.js +2 -0
  20. package/dist/constants/tests/billing-catalog.constants.spec.js.map +1 -1
  21. package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js +17 -0
  22. package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js.map +1 -1
  23. package/dist/constants/tests/metric-price-scale.constants.spec.js +1 -0
  24. package/dist/constants/tests/metric-price-scale.constants.spec.js.map +1 -1
  25. package/dist/constants/tests/module-catalog.constants.spec.js +26 -1
  26. package/dist/constants/tests/module-catalog.constants.spec.js.map +1 -1
  27. package/dist/constants/tests/monitor-ingestion-catalog.spec.js +18 -8
  28. package/dist/constants/tests/monitor-ingestion-catalog.spec.js.map +1 -1
  29. package/dist/translate/en.translate.js +5 -5
  30. package/dist/translate/en.translate.js.map +1 -1
  31. package/dist/translate/fr.translate.js +5 -5
  32. package/dist/translate/fr.translate.js.map +1 -1
  33. package/dist/translate/tests/service-storage-grace-notification.spec.js +43 -0
  34. package/dist/translate/tests/service-storage-grace-notification.spec.js.map +1 -1
  35. package/dist/types/enum/email-type.enum.d.ts +0 -2
  36. package/dist/types/enum/email-type.enum.js +0 -2
  37. package/dist/types/enum/email-type.enum.js.map +1 -1
  38. package/dist/types/enum/index.d.ts +0 -1
  39. package/dist/types/enum/index.js +0 -1
  40. package/dist/types/enum/index.js.map +1 -1
  41. package/dist/types/enum/organization-billing.enum.d.ts +3 -1
  42. package/dist/types/enum/organization-billing.enum.js +3 -1
  43. package/dist/types/enum/organization-billing.enum.js.map +1 -1
  44. package/dist/types/enum/service-storage-grace.enum.d.ts +2 -1
  45. package/dist/types/enum/service-storage-grace.enum.js +1 -0
  46. package/dist/types/enum/service-storage-grace.enum.js.map +1 -1
  47. package/dist/types/enum/user-notification-content-type.enum.d.ts +2 -1
  48. package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
  49. package/dist/types/interface/api/responses/service-storage-grace.response.d.ts +5 -1
  50. package/dist/utils/tests/module-lot-price.utils.spec.js +8 -0
  51. package/dist/utils/tests/module-lot-price.utils.spec.js.map +1 -1
  52. package/package.json +1 -1
  53. package/dist/constants/tests/beam-offer-figures.spec.d.ts +0 -1
  54. package/dist/constants/tests/beam-offer-figures.spec.js +0 -64
  55. package/dist/constants/tests/beam-offer-figures.spec.js.map +0 -1
  56. package/dist/types/enum/beam-transfer-alert.enum.d.ts +0 -5
  57. package/dist/types/enum/beam-transfer-alert.enum.js +0 -10
  58. package/dist/types/enum/beam-transfer-alert.enum.js.map +0 -1
@@ -52,6 +52,13 @@ exports.PUBLIC_PLANS = [
52
52
  sizePerUnit: null,
53
53
  unit: 'GB',
54
54
  },
55
+ {
56
+ service: enum_1.BillingService.ABYSS_PLATFORM,
57
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
58
+ limit: 1,
59
+ sizePerUnit: null,
60
+ unit: 'GB-days',
61
+ },
55
62
  {
56
63
  service: enum_1.BillingService.ABYSS_PLATFORM,
57
64
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -139,7 +146,7 @@ exports.PUBLIC_PLANS = [
139
146
  {
140
147
  service: enum_1.BillingService.ABYSS_BEAM,
141
148
  metric: enum_1.BillingMetric.BEAM_COUNT,
142
- limit: -1,
149
+ limit: 3,
143
150
  sizePerUnit: null,
144
151
  unit: 'transfers',
145
152
  },
@@ -153,7 +160,7 @@ exports.PUBLIC_PLANS = [
153
160
  {
154
161
  service: enum_1.BillingService.ABYSS_BEAM,
155
162
  metric: enum_1.BillingMetric.BEAM_BANDWIDTH_MONTH,
156
- limit: 100,
163
+ limit: 5,
157
164
  sizePerUnit: null,
158
165
  unit: 'GB',
159
166
  },
@@ -164,13 +171,6 @@ exports.PUBLIC_PLANS = [
164
171
  sizePerUnit: null,
165
172
  unit: 'days',
166
173
  },
167
- {
168
- service: enum_1.BillingService.ABYSS_BEAM,
169
- metric: enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB,
170
- limit: 25,
171
- sizePerUnit: null,
172
- unit: 'GB',
173
- },
174
174
  {
175
175
  service: enum_1.BillingService.ABYSS_EXTRACT,
176
176
  metric: enum_1.BillingMetric.EXTRACT_RUNS_MONTH,
@@ -321,6 +321,12 @@ exports.PUBLIC_PLANS = [
321
321
  nanocentsPerUnit: 800000000,
322
322
  unit: 'GB',
323
323
  },
324
+ {
325
+ service: enum_1.BillingService.ABYSS_PLATFORM,
326
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
327
+ nanocentsPerUnit: 1000000000,
328
+ unit: 'GB-days',
329
+ },
324
330
  {
325
331
  service: enum_1.BillingService.ABYSS_PLATFORM,
326
332
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -534,6 +540,13 @@ exports.PUBLIC_PLANS = [
534
540
  sizePerUnit: null,
535
541
  unit: 'GB',
536
542
  },
543
+ {
544
+ service: enum_1.BillingService.ABYSS_PLATFORM,
545
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
546
+ limit: 5,
547
+ sizePerUnit: null,
548
+ unit: 'GB-days',
549
+ },
537
550
  {
538
551
  service: enum_1.BillingService.ABYSS_PLATFORM,
539
552
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -646,13 +659,6 @@ exports.PUBLIC_PLANS = [
646
659
  sizePerUnit: null,
647
660
  unit: 'days',
648
661
  },
649
- {
650
- service: enum_1.BillingService.ABYSS_BEAM,
651
- metric: enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB,
652
- limit: 100,
653
- sizePerUnit: null,
654
- unit: 'GB',
655
- },
656
662
  {
657
663
  service: enum_1.BillingService.ABYSS_EXTRACT,
658
664
  metric: enum_1.BillingMetric.EXTRACT_RUNS_MONTH,
@@ -803,6 +809,12 @@ exports.PUBLIC_PLANS = [
803
809
  nanocentsPerUnit: 800000000,
804
810
  unit: 'GB',
805
811
  },
812
+ {
813
+ service: enum_1.BillingService.ABYSS_PLATFORM,
814
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
815
+ nanocentsPerUnit: 1000000000,
816
+ unit: 'GB-days',
817
+ },
806
818
  {
807
819
  service: enum_1.BillingService.ABYSS_PLATFORM,
808
820
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -1016,6 +1028,13 @@ exports.PUBLIC_PLANS = [
1016
1028
  sizePerUnit: null,
1017
1029
  unit: 'GB',
1018
1030
  },
1031
+ {
1032
+ service: enum_1.BillingService.ABYSS_PLATFORM,
1033
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
1034
+ limit: 50,
1035
+ sizePerUnit: null,
1036
+ unit: 'GB-days',
1037
+ },
1019
1038
  {
1020
1039
  service: enum_1.BillingService.ABYSS_PLATFORM,
1021
1040
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -1128,13 +1147,6 @@ exports.PUBLIC_PLANS = [
1128
1147
  sizePerUnit: null,
1129
1148
  unit: 'days',
1130
1149
  },
1131
- {
1132
- service: enum_1.BillingService.ABYSS_BEAM,
1133
- metric: enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB,
1134
- limit: 2000,
1135
- sizePerUnit: null,
1136
- unit: 'GB',
1137
- },
1138
1150
  {
1139
1151
  service: enum_1.BillingService.ABYSS_EXTRACT,
1140
1152
  metric: enum_1.BillingMetric.EXTRACT_RUNS_MONTH,
@@ -1285,6 +1297,12 @@ exports.PUBLIC_PLANS = [
1285
1297
  nanocentsPerUnit: 800000000,
1286
1298
  unit: 'GB',
1287
1299
  },
1300
+ {
1301
+ service: enum_1.BillingService.ABYSS_PLATFORM,
1302
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
1303
+ nanocentsPerUnit: 1000000000,
1304
+ unit: 'GB-days',
1305
+ },
1288
1306
  {
1289
1307
  service: enum_1.BillingService.ABYSS_PLATFORM,
1290
1308
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -1711,7 +1729,7 @@ exports.PUBLIC_PLANS = [
1711
1729
  {
1712
1730
  service: enum_1.BillingService.ABYSS_BEAM,
1713
1731
  metric: enum_1.BillingMetric.BEAM_COUNT,
1714
- limit: -1,
1732
+ limit: 5,
1715
1733
  sizePerUnit: null,
1716
1734
  unit: 'transfers',
1717
1735
  },
@@ -1725,7 +1743,7 @@ exports.PUBLIC_PLANS = [
1725
1743
  {
1726
1744
  service: enum_1.BillingService.ABYSS_BEAM,
1727
1745
  metric: enum_1.BillingMetric.BEAM_BANDWIDTH_MONTH,
1728
- limit: 100,
1746
+ limit: 10,
1729
1747
  sizePerUnit: null,
1730
1748
  unit: 'GB',
1731
1749
  },
@@ -1736,13 +1754,6 @@ exports.PUBLIC_PLANS = [
1736
1754
  sizePerUnit: null,
1737
1755
  unit: 'days',
1738
1756
  },
1739
- {
1740
- service: enum_1.BillingService.ABYSS_BEAM,
1741
- metric: enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB,
1742
- limit: 25,
1743
- sizePerUnit: null,
1744
- unit: 'GB',
1745
- },
1746
1757
  {
1747
1758
  service: enum_1.BillingService.ABYSS_EXTRACT,
1748
1759
  metric: enum_1.BillingMetric.EXTRACT_RUNS_MONTH,
@@ -1925,6 +1936,27 @@ exports.PUBLIC_PLANS = [
1925
1936
  sizePerUnit: null,
1926
1937
  unit: 'credits',
1927
1938
  },
1939
+ {
1940
+ service: enum_1.BillingService.ABYSS_REFLEX,
1941
+ metric: enum_1.BillingMetric.REFLEX_TEST_RUNS_MONTH,
1942
+ limit: 200,
1943
+ sizePerUnit: null,
1944
+ unit: 'test runs',
1945
+ },
1946
+ {
1947
+ service: enum_1.BillingService.ABYSS_REFLEX,
1948
+ metric: enum_1.BillingMetric.REFLEX_FUNCTIONS_COUNT,
1949
+ limit: 10,
1950
+ sizePerUnit: null,
1951
+ unit: 'functions',
1952
+ },
1953
+ {
1954
+ service: enum_1.BillingService.ABYSS_STORAGE,
1955
+ metric: enum_1.BillingMetric.STORE_ENTRIES_PER_ENVIRONMENT,
1956
+ limit: 1000,
1957
+ sizePerUnit: null,
1958
+ unit: 'entries',
1959
+ },
1928
1960
  ],
1929
1961
  overagePricing: [
1930
1962
  {
@@ -2522,13 +2554,6 @@ exports.PUBLIC_PLANS = [
2522
2554
  sizePerUnit: null,
2523
2555
  unit: 'days',
2524
2556
  },
2525
- {
2526
- service: enum_1.BillingService.ABYSS_BEAM,
2527
- metric: enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB,
2528
- limit: 500,
2529
- sizePerUnit: null,
2530
- unit: 'GB',
2531
- },
2532
2557
  {
2533
2558
  service: enum_1.BillingService.ABYSS_EXTRACT,
2534
2559
  metric: enum_1.BillingMetric.EXTRACT_RUNS_MONTH,
@@ -2711,6 +2736,27 @@ exports.PUBLIC_PLANS = [
2711
2736
  sizePerUnit: null,
2712
2737
  unit: 'credits',
2713
2738
  },
2739
+ {
2740
+ service: enum_1.BillingService.ABYSS_REFLEX,
2741
+ metric: enum_1.BillingMetric.REFLEX_TEST_RUNS_MONTH,
2742
+ limit: 2000,
2743
+ sizePerUnit: null,
2744
+ unit: 'test runs',
2745
+ },
2746
+ {
2747
+ service: enum_1.BillingService.ABYSS_REFLEX,
2748
+ metric: enum_1.BillingMetric.REFLEX_FUNCTIONS_COUNT,
2749
+ limit: 100,
2750
+ sizePerUnit: null,
2751
+ unit: 'functions',
2752
+ },
2753
+ {
2754
+ service: enum_1.BillingService.ABYSS_STORAGE,
2755
+ metric: enum_1.BillingMetric.STORE_ENTRIES_PER_ENVIRONMENT,
2756
+ limit: 5000,
2757
+ sizePerUnit: null,
2758
+ unit: 'entries',
2759
+ },
2714
2760
  ],
2715
2761
  overagePricing: [
2716
2762
  {
@@ -3308,13 +3354,6 @@ exports.PUBLIC_PLANS = [
3308
3354
  sizePerUnit: null,
3309
3355
  unit: 'days',
3310
3356
  },
3311
- {
3312
- service: enum_1.BillingService.ABYSS_BEAM,
3313
- metric: enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB,
3314
- limit: 5000,
3315
- sizePerUnit: null,
3316
- unit: 'GB',
3317
- },
3318
3357
  {
3319
3358
  service: enum_1.BillingService.ABYSS_EXTRACT,
3320
3359
  metric: enum_1.BillingMetric.EXTRACT_RUNS_MONTH,
@@ -3497,6 +3536,27 @@ exports.PUBLIC_PLANS = [
3497
3536
  sizePerUnit: null,
3498
3537
  unit: 'credits',
3499
3538
  },
3539
+ {
3540
+ service: enum_1.BillingService.ABYSS_REFLEX,
3541
+ metric: enum_1.BillingMetric.REFLEX_TEST_RUNS_MONTH,
3542
+ limit: 10000,
3543
+ sizePerUnit: null,
3544
+ unit: 'test runs',
3545
+ },
3546
+ {
3547
+ service: enum_1.BillingService.ABYSS_REFLEX,
3548
+ metric: enum_1.BillingMetric.REFLEX_FUNCTIONS_COUNT,
3549
+ limit: 500,
3550
+ sizePerUnit: null,
3551
+ unit: 'functions',
3552
+ },
3553
+ {
3554
+ service: enum_1.BillingService.ABYSS_STORAGE,
3555
+ metric: enum_1.BillingMetric.STORE_ENTRIES_PER_ENVIRONMENT,
3556
+ limit: 20000,
3557
+ sizePerUnit: null,
3558
+ unit: 'entries',
3559
+ },
3500
3560
  ],
3501
3561
  overagePricing: [
3502
3562
  {
@@ -3849,6 +3909,13 @@ exports.PUBLIC_PLANS = [
3849
3909
  sizePerUnit: null,
3850
3910
  unit: 'GB',
3851
3911
  },
3912
+ {
3913
+ service: enum_1.BillingService.ABYSS_PLATFORM,
3914
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
3915
+ limit: 0,
3916
+ sizePerUnit: null,
3917
+ unit: 'GB-days',
3918
+ },
3852
3919
  {
3853
3920
  service: enum_1.BillingService.ABYSS_PLATFORM,
3854
3921
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -3908,7 +3975,7 @@ exports.PUBLIC_PLANS = [
3908
3975
  {
3909
3976
  service: enum_1.BillingService.ABYSS_BEAM,
3910
3977
  metric: enum_1.BillingMetric.BEAM_COUNT,
3911
- limit: -1,
3978
+ limit: 3,
3912
3979
  sizePerUnit: null,
3913
3980
  unit: 'transfers',
3914
3981
  },
@@ -3922,7 +3989,7 @@ exports.PUBLIC_PLANS = [
3922
3989
  {
3923
3990
  service: enum_1.BillingService.ABYSS_BEAM,
3924
3991
  metric: enum_1.BillingMetric.BEAM_BANDWIDTH_MONTH,
3925
- limit: 100,
3992
+ limit: 5,
3926
3993
  sizePerUnit: null,
3927
3994
  unit: 'GB',
3928
3995
  },
@@ -3933,13 +4000,6 @@ exports.PUBLIC_PLANS = [
3933
4000
  sizePerUnit: null,
3934
4001
  unit: 'days',
3935
4002
  },
3936
- {
3937
- service: enum_1.BillingService.ABYSS_BEAM,
3938
- metric: enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB,
3939
- limit: 25,
3940
- sizePerUnit: null,
3941
- unit: 'GB',
3942
- },
3943
4003
  {
3944
4004
  service: enum_1.BillingService.ABYSS_EXTRACT,
3945
4005
  metric: enum_1.BillingMetric.EXTRACT_RUNS_MONTH,
@@ -4098,6 +4158,12 @@ exports.PUBLIC_PLANS = [
4098
4158
  nanocentsPerUnit: 800000000,
4099
4159
  unit: 'GB',
4100
4160
  },
4161
+ {
4162
+ service: enum_1.BillingService.ABYSS_PLATFORM,
4163
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
4164
+ nanocentsPerUnit: 1000000000,
4165
+ unit: 'GB-days',
4166
+ },
4101
4167
  {
4102
4168
  service: enum_1.BillingService.ABYSS_PLATFORM,
4103
4169
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -4298,6 +4364,13 @@ exports.PUBLIC_PLANS = [
4298
4364
  sizePerUnit: null,
4299
4365
  unit: 'GB',
4300
4366
  },
4367
+ {
4368
+ service: enum_1.BillingService.ABYSS_PLATFORM,
4369
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
4370
+ limit: 0,
4371
+ sizePerUnit: null,
4372
+ unit: 'GB-days',
4373
+ },
4301
4374
  {
4302
4375
  service: enum_1.BillingService.ABYSS_PLATFORM,
4303
4376
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -4382,13 +4455,6 @@ exports.PUBLIC_PLANS = [
4382
4455
  sizePerUnit: null,
4383
4456
  unit: 'days',
4384
4457
  },
4385
- {
4386
- service: enum_1.BillingService.ABYSS_BEAM,
4387
- metric: enum_1.BillingMetric.BEAM_TRANSFER_MAX_GB,
4388
- limit: 100,
4389
- sizePerUnit: null,
4390
- unit: 'GB',
4391
- },
4392
4458
  {
4393
4459
  service: enum_1.BillingService.ABYSS_EXTRACT,
4394
4460
  metric: enum_1.BillingMetric.EXTRACT_RUNS_MONTH,
@@ -4547,6 +4613,12 @@ exports.PUBLIC_PLANS = [
4547
4613
  nanocentsPerUnit: 800000000,
4548
4614
  unit: 'GB',
4549
4615
  },
4616
+ {
4617
+ service: enum_1.BillingService.ABYSS_PLATFORM,
4618
+ metric: enum_1.BillingMetric.HISTORY_RETENTION_GB_DAYS,
4619
+ nanocentsPerUnit: 1000000000,
4620
+ unit: 'GB-days',
4621
+ },
4550
4622
  {
4551
4623
  service: enum_1.BillingService.ABYSS_PLATFORM,
4552
4624
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,