@abyss-project/main 40.3.0 → 40.4.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 (60) hide show
  1. package/dist/api/organization-billing.api.d.ts +4 -2
  2. package/dist/api/organization-billing.api.js +10 -2
  3. package/dist/api/organization-billing.api.js.map +1 -1
  4. package/dist/api/user-billing.api.d.ts +4 -2
  5. package/dist/api/user-billing.api.js +12 -2
  6. package/dist/api/user-billing.api.js.map +1 -1
  7. package/dist/billing-metric-label/billing-metric-label.labels.d.ts +2 -0
  8. package/dist/billing-metric-label/billing-metric-label.labels.js +2 -0
  9. package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
  10. package/dist/constants/billing-catalog.constants.js +6 -0
  11. package/dist/constants/billing-catalog.constants.js.map +1 -1
  12. package/dist/constants/catalog-plan-quotas.constants.js +9 -0
  13. package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
  14. package/dist/constants/enforcement-registry.constants.js +6 -0
  15. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  16. package/dist/constants/metric-price-scale.constants.js +6 -0
  17. package/dist/constants/metric-price-scale.constants.js.map +1 -1
  18. package/dist/constants/module-catalog.constants.d.ts +1 -0
  19. package/dist/constants/module-catalog.constants.js +12 -0
  20. package/dist/constants/module-catalog.constants.js.map +1 -1
  21. package/dist/constants/overage-base-rates.constants.js +1 -0
  22. package/dist/constants/overage-base-rates.constants.js.map +1 -1
  23. package/dist/constants/public-plans.constants.js +104 -0
  24. package/dist/constants/public-plans.constants.js.map +1 -1
  25. package/dist/constants/quota-metric-kind.constants.js +1 -0
  26. package/dist/constants/quota-metric-kind.constants.js.map +1 -1
  27. package/dist/constants/tests/archive-storage-catalog.spec.d.ts +1 -0
  28. package/dist/constants/tests/archive-storage-catalog.spec.js +79 -0
  29. package/dist/constants/tests/archive-storage-catalog.spec.js.map +1 -0
  30. package/dist/constants/tests/billing-catalog.constants.spec.js +6 -1
  31. package/dist/constants/tests/billing-catalog.constants.spec.js.map +1 -1
  32. package/dist/constants/tests/demo-quotas.spec.js +1 -0
  33. package/dist/constants/tests/demo-quotas.spec.js.map +1 -1
  34. package/dist/constants/tests/metric-price-scale.constants.spec.js +15 -0
  35. package/dist/constants/tests/metric-price-scale.constants.spec.js.map +1 -1
  36. package/dist/constants/tests/module-catalog.constants.spec.js +2 -2
  37. package/dist/constants/tests/module-catalog.constants.spec.js.map +1 -1
  38. package/dist/index.d.ts +4 -0
  39. package/dist/index.js +4 -0
  40. package/dist/index.js.map +1 -1
  41. package/dist/translate/en.translate.js +2 -2
  42. package/dist/translate/en.translate.js.map +1 -1
  43. package/dist/translate/fr.translate.js +2 -2
  44. package/dist/translate/fr.translate.js.map +1 -1
  45. package/dist/translate/tests/storage-over-limit-notification.spec.d.ts +1 -0
  46. package/dist/translate/tests/storage-over-limit-notification.spec.js +18 -0
  47. package/dist/translate/tests/storage-over-limit-notification.spec.js.map +1 -0
  48. package/dist/types/enum/organization-billing.enum.d.ts +7 -1
  49. package/dist/types/enum/organization-billing.enum.js +8 -1
  50. package/dist/types/enum/organization-billing.enum.js.map +1 -1
  51. package/dist/types/enum/user-notification-content-type.enum.d.ts +1 -0
  52. package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
  53. package/dist/types/interface/api/requests/organization-billing.request.d.ts +11 -1
  54. package/dist/types/interface/api/requests/user-billing.request.d.ts +11 -1
  55. package/dist/types/interface/api/responses/organization-billing.response.d.ts +7 -0
  56. package/dist/types/interface/api/responses/user-billing.response.d.ts +7 -0
  57. package/dist/types/interface/models/storage-subtotal.model.d.ts +2 -1
  58. package/dist/utils/tests/module-lot-price.utils.spec.js +7 -1
  59. package/dist/utils/tests/module-lot-price.utils.spec.js.map +1 -1
  60. package/package.json +1 -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.ARCHIVE_STORAGE_GB,
58
+ limit: 30,
59
+ sizePerUnit: null,
60
+ unit: 'GB',
61
+ },
55
62
  {
56
63
  service: enum_1.BillingService.ABYSS_PLATFORM,
57
64
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -303,6 +310,12 @@ exports.PUBLIC_PLANS = [
303
310
  nanocentsPerUnit: 3000000000,
304
311
  unit: 'GB',
305
312
  },
313
+ {
314
+ service: enum_1.BillingService.ABYSS_PLATFORM,
315
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
316
+ nanocentsPerUnit: 800000000,
317
+ unit: 'GB',
318
+ },
306
319
  {
307
320
  service: enum_1.BillingService.ABYSS_PLATFORM,
308
321
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -522,6 +535,13 @@ exports.PUBLIC_PLANS = [
522
535
  sizePerUnit: null,
523
536
  unit: 'GB',
524
537
  },
538
+ {
539
+ service: enum_1.BillingService.ABYSS_PLATFORM,
540
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
541
+ limit: 200,
542
+ sizePerUnit: null,
543
+ unit: 'GB',
544
+ },
525
545
  {
526
546
  service: enum_1.BillingService.ABYSS_PLATFORM,
527
547
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -773,6 +793,12 @@ exports.PUBLIC_PLANS = [
773
793
  nanocentsPerUnit: 3000000000,
774
794
  unit: 'GB',
775
795
  },
796
+ {
797
+ service: enum_1.BillingService.ABYSS_PLATFORM,
798
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
799
+ nanocentsPerUnit: 800000000,
800
+ unit: 'GB',
801
+ },
776
802
  {
777
803
  service: enum_1.BillingService.ABYSS_PLATFORM,
778
804
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -992,6 +1018,13 @@ exports.PUBLIC_PLANS = [
992
1018
  sizePerUnit: null,
993
1019
  unit: 'GB',
994
1020
  },
1021
+ {
1022
+ service: enum_1.BillingService.ABYSS_PLATFORM,
1023
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
1024
+ limit: 4000,
1025
+ sizePerUnit: null,
1026
+ unit: 'GB',
1027
+ },
995
1028
  {
996
1029
  service: enum_1.BillingService.ABYSS_PLATFORM,
997
1030
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -1243,6 +1276,12 @@ exports.PUBLIC_PLANS = [
1243
1276
  nanocentsPerUnit: 3000000000,
1244
1277
  unit: 'GB',
1245
1278
  },
1279
+ {
1280
+ service: enum_1.BillingService.ABYSS_PLATFORM,
1281
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
1282
+ nanocentsPerUnit: 800000000,
1283
+ unit: 'GB',
1284
+ },
1246
1285
  {
1247
1286
  service: enum_1.BillingService.ABYSS_PLATFORM,
1248
1287
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -1469,6 +1508,13 @@ exports.PUBLIC_PLANS = [
1469
1508
  sizePerUnit: null,
1470
1509
  unit: 'GB',
1471
1510
  },
1511
+ {
1512
+ service: enum_1.BillingService.ABYSS_PLATFORM,
1513
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
1514
+ limit: 30,
1515
+ sizePerUnit: null,
1516
+ unit: 'GB',
1517
+ },
1472
1518
  {
1473
1519
  service: enum_1.BillingService.ABYSS_PLATFORM,
1474
1520
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -1934,6 +1980,12 @@ exports.PUBLIC_PLANS = [
1934
1980
  nanocentsPerUnit: 3000000000,
1935
1981
  unit: 'GB',
1936
1982
  },
1983
+ {
1984
+ service: enum_1.BillingService.ABYSS_PLATFORM,
1985
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
1986
+ nanocentsPerUnit: 800000000,
1987
+ unit: 'GB',
1988
+ },
1937
1989
  {
1938
1990
  service: enum_1.BillingService.ABYSS_PLATFORM,
1939
1991
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -2238,6 +2290,13 @@ exports.PUBLIC_PLANS = [
2238
2290
  sizePerUnit: null,
2239
2291
  unit: 'GB',
2240
2292
  },
2293
+ {
2294
+ service: enum_1.BillingService.ABYSS_PLATFORM,
2295
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
2296
+ limit: 1000,
2297
+ sizePerUnit: null,
2298
+ unit: 'GB',
2299
+ },
2241
2300
  {
2242
2301
  service: enum_1.BillingService.ABYSS_PLATFORM,
2243
2302
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -2703,6 +2762,12 @@ exports.PUBLIC_PLANS = [
2703
2762
  nanocentsPerUnit: 3000000000,
2704
2763
  unit: 'GB',
2705
2764
  },
2765
+ {
2766
+ service: enum_1.BillingService.ABYSS_PLATFORM,
2767
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
2768
+ nanocentsPerUnit: 800000000,
2769
+ unit: 'GB',
2770
+ },
2706
2771
  {
2707
2772
  service: enum_1.BillingService.ABYSS_PLATFORM,
2708
2773
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -3007,6 +3072,13 @@ exports.PUBLIC_PLANS = [
3007
3072
  sizePerUnit: null,
3008
3073
  unit: 'GB',
3009
3074
  },
3075
+ {
3076
+ service: enum_1.BillingService.ABYSS_PLATFORM,
3077
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
3078
+ limit: 10000,
3079
+ sizePerUnit: null,
3080
+ unit: 'GB',
3081
+ },
3010
3082
  {
3011
3083
  service: enum_1.BillingService.ABYSS_PLATFORM,
3012
3084
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -3472,6 +3544,12 @@ exports.PUBLIC_PLANS = [
3472
3544
  nanocentsPerUnit: 3000000000,
3473
3545
  unit: 'GB',
3474
3546
  },
3547
+ {
3548
+ service: enum_1.BillingService.ABYSS_PLATFORM,
3549
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
3550
+ nanocentsPerUnit: 800000000,
3551
+ unit: 'GB',
3552
+ },
3475
3553
  {
3476
3554
  service: enum_1.BillingService.ABYSS_PLATFORM,
3477
3555
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -3741,6 +3819,13 @@ exports.PUBLIC_PLANS = [
3741
3819
  sizePerUnit: null,
3742
3820
  unit: 'GB',
3743
3821
  },
3822
+ {
3823
+ service: enum_1.BillingService.ABYSS_PLATFORM,
3824
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
3825
+ limit: 30,
3826
+ sizePerUnit: null,
3827
+ unit: 'GB',
3828
+ },
3744
3829
  {
3745
3830
  service: enum_1.BillingService.ABYSS_PLATFORM,
3746
3831
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -3972,6 +4057,12 @@ exports.PUBLIC_PLANS = [
3972
4057
  nanocentsPerUnit: 3000000000,
3973
4058
  unit: 'GB',
3974
4059
  },
4060
+ {
4061
+ service: enum_1.BillingService.ABYSS_PLATFORM,
4062
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
4063
+ nanocentsPerUnit: 800000000,
4064
+ unit: 'GB',
4065
+ },
3975
4066
  {
3976
4067
  service: enum_1.BillingService.ABYSS_PLATFORM,
3977
4068
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -4157,6 +4248,13 @@ exports.PUBLIC_PLANS = [
4157
4248
  sizePerUnit: null,
4158
4249
  unit: 'GB',
4159
4250
  },
4251
+ {
4252
+ service: enum_1.BillingService.ABYSS_PLATFORM,
4253
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
4254
+ limit: 200,
4255
+ sizePerUnit: null,
4256
+ unit: 'GB',
4257
+ },
4160
4258
  {
4161
4259
  service: enum_1.BillingService.ABYSS_PLATFORM,
4162
4260
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,
@@ -4388,6 +4486,12 @@ exports.PUBLIC_PLANS = [
4388
4486
  nanocentsPerUnit: 3000000000,
4389
4487
  unit: 'GB',
4390
4488
  },
4489
+ {
4490
+ service: enum_1.BillingService.ABYSS_PLATFORM,
4491
+ metric: enum_1.BillingMetric.ARCHIVE_STORAGE_GB,
4492
+ nanocentsPerUnit: 800000000,
4493
+ unit: 'GB',
4494
+ },
4391
4495
  {
4392
4496
  service: enum_1.BillingService.ABYSS_PLATFORM,
4393
4497
  metric: enum_1.BillingMetric.ACCOUNT_AV_SCAN_UNITS,