@abyss-project/main 45.12.0 → 45.13.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 (43) hide show
  1. package/dist/api/organization.admin.api.d.ts +1 -2
  2. package/dist/api/organization.admin.api.js +1 -5
  3. package/dist/api/organization.admin.api.js.map +1 -1
  4. package/dist/billing-metric-label/billing-metric-label.labels.d.ts +2 -6
  5. package/dist/billing-metric-label/billing-metric-label.labels.js +2 -6
  6. package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
  7. package/dist/constants/billing-catalog.constants.js +7 -27
  8. package/dist/constants/billing-catalog.constants.js.map +1 -1
  9. package/dist/constants/catalog-plan-quotas.constants.js +8 -9
  10. package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
  11. package/dist/constants/enforcement-registry.constants.js +6 -18
  12. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  13. package/dist/constants/metric-price-scale.constants.js +0 -3
  14. package/dist/constants/metric-price-scale.constants.js.map +1 -1
  15. package/dist/constants/module-catalog.constants.d.ts +0 -1
  16. package/dist/constants/module-catalog.constants.js +0 -12
  17. package/dist/constants/module-catalog.constants.js.map +1 -1
  18. package/dist/constants/overage-base-rates.constants.js +1 -0
  19. package/dist/constants/overage-base-rates.constants.js.map +1 -1
  20. package/dist/constants/public-plans.constants.js +104 -63
  21. package/dist/constants/public-plans.constants.js.map +1 -1
  22. package/dist/constants/quota-metric-kind.constants.js +1 -3
  23. package/dist/constants/quota-metric-kind.constants.js.map +1 -1
  24. package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js +0 -17
  25. package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js.map +1 -1
  26. package/dist/constants/tests/link-click-days-catalog.spec.d.ts +1 -0
  27. package/dist/constants/tests/link-click-days-catalog.spec.js +93 -0
  28. package/dist/constants/tests/link-click-days-catalog.spec.js.map +1 -0
  29. package/dist/constants/tests/metric-price-scale.constants.spec.js +0 -1
  30. package/dist/constants/tests/metric-price-scale.constants.spec.js.map +1 -1
  31. package/dist/constants/tests/module-catalog.constants.spec.js +1 -26
  32. package/dist/constants/tests/module-catalog.constants.spec.js.map +1 -1
  33. package/dist/index.d.ts +0 -1
  34. package/dist/index.js +0 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/types/enum/organization-billing.enum.d.ts +1 -3
  37. package/dist/types/enum/organization-billing.enum.js +1 -3
  38. package/dist/types/enum/organization-billing.enum.js.map +1 -1
  39. package/dist/types/interface/api/requests/organization.admin.request.d.ts +0 -3
  40. package/dist/types/interface/api/responses/organization.admin.response.d.ts +0 -4
  41. package/dist/utils/tests/module-lot-price.utils.spec.js +0 -8
  42. package/dist/utils/tests/module-lot-price.utils.spec.js.map +1 -1
  43. package/package.json +1 -1
@@ -143,6 +143,13 @@ exports.PUBLIC_PLANS = [
143
143
  sizePerUnit: null,
144
144
  unit: 'clicks',
145
145
  },
146
+ {
147
+ service: enum_1.BillingService.ABYSS_LINK,
148
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
149
+ limit: 0,
150
+ sizePerUnit: null,
151
+ unit: 'click-days',
152
+ },
146
153
  {
147
154
  service: enum_1.BillingService.ABYSS_BEAM,
148
155
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -381,6 +388,12 @@ exports.PUBLIC_PLANS = [
381
388
  nanocentsPerUnit: 11600000,
382
389
  unit: 'resolutions',
383
390
  },
391
+ {
392
+ service: enum_1.BillingService.ABYSS_LINK,
393
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
394
+ nanocentsPerUnit: 2000,
395
+ unit: 'click-days',
396
+ },
384
397
  {
385
398
  service: enum_1.BillingService.ABYSS_BEAM,
386
399
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -631,6 +644,13 @@ exports.PUBLIC_PLANS = [
631
644
  sizePerUnit: null,
632
645
  unit: 'clicks',
633
646
  },
647
+ {
648
+ service: enum_1.BillingService.ABYSS_LINK,
649
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
650
+ limit: 0,
651
+ sizePerUnit: null,
652
+ unit: 'click-days',
653
+ },
634
654
  {
635
655
  service: enum_1.BillingService.ABYSS_BEAM,
636
656
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -869,6 +889,12 @@ exports.PUBLIC_PLANS = [
869
889
  nanocentsPerUnit: 11600000,
870
890
  unit: 'resolutions',
871
891
  },
892
+ {
893
+ service: enum_1.BillingService.ABYSS_LINK,
894
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
895
+ nanocentsPerUnit: 2000,
896
+ unit: 'click-days',
897
+ },
872
898
  {
873
899
  service: enum_1.BillingService.ABYSS_BEAM,
874
900
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -1119,6 +1145,13 @@ exports.PUBLIC_PLANS = [
1119
1145
  sizePerUnit: null,
1120
1146
  unit: 'clicks',
1121
1147
  },
1148
+ {
1149
+ service: enum_1.BillingService.ABYSS_LINK,
1150
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
1151
+ limit: 0,
1152
+ sizePerUnit: null,
1153
+ unit: 'click-days',
1154
+ },
1122
1155
  {
1123
1156
  service: enum_1.BillingService.ABYSS_BEAM,
1124
1157
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -1357,6 +1390,12 @@ exports.PUBLIC_PLANS = [
1357
1390
  nanocentsPerUnit: 11600000,
1358
1391
  unit: 'resolutions',
1359
1392
  },
1393
+ {
1394
+ service: enum_1.BillingService.ABYSS_LINK,
1395
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
1396
+ nanocentsPerUnit: 2000,
1397
+ unit: 'click-days',
1398
+ },
1360
1399
  {
1361
1400
  service: enum_1.BillingService.ABYSS_BEAM,
1362
1401
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -1726,6 +1765,13 @@ exports.PUBLIC_PLANS = [
1726
1765
  sizePerUnit: null,
1727
1766
  unit: 'clicks',
1728
1767
  },
1768
+ {
1769
+ service: enum_1.BillingService.ABYSS_LINK,
1770
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
1771
+ limit: 0,
1772
+ sizePerUnit: null,
1773
+ unit: 'click-days',
1774
+ },
1729
1775
  {
1730
1776
  service: enum_1.BillingService.ABYSS_BEAM,
1731
1777
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -1936,27 +1982,6 @@ exports.PUBLIC_PLANS = [
1936
1982
  sizePerUnit: null,
1937
1983
  unit: 'credits',
1938
1984
  },
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
- },
1960
1985
  ],
1961
1986
  overagePricing: [
1962
1987
  {
@@ -2133,6 +2158,12 @@ exports.PUBLIC_PLANS = [
2133
2158
  nanocentsPerUnit: 11600000,
2134
2159
  unit: 'resolutions',
2135
2160
  },
2161
+ {
2162
+ service: enum_1.BillingService.ABYSS_LINK,
2163
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
2164
+ nanocentsPerUnit: 2000,
2165
+ unit: 'click-days',
2166
+ },
2136
2167
  {
2137
2168
  service: enum_1.BillingService.ABYSS_BEAM,
2138
2169
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -2526,6 +2557,13 @@ exports.PUBLIC_PLANS = [
2526
2557
  sizePerUnit: null,
2527
2558
  unit: 'clicks',
2528
2559
  },
2560
+ {
2561
+ service: enum_1.BillingService.ABYSS_LINK,
2562
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
2563
+ limit: 0,
2564
+ sizePerUnit: null,
2565
+ unit: 'click-days',
2566
+ },
2529
2567
  {
2530
2568
  service: enum_1.BillingService.ABYSS_BEAM,
2531
2569
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -2736,27 +2774,6 @@ exports.PUBLIC_PLANS = [
2736
2774
  sizePerUnit: null,
2737
2775
  unit: 'credits',
2738
2776
  },
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
- },
2760
2777
  ],
2761
2778
  overagePricing: [
2762
2779
  {
@@ -2933,6 +2950,12 @@ exports.PUBLIC_PLANS = [
2933
2950
  nanocentsPerUnit: 11600000,
2934
2951
  unit: 'resolutions',
2935
2952
  },
2953
+ {
2954
+ service: enum_1.BillingService.ABYSS_LINK,
2955
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
2956
+ nanocentsPerUnit: 2000,
2957
+ unit: 'click-days',
2958
+ },
2936
2959
  {
2937
2960
  service: enum_1.BillingService.ABYSS_BEAM,
2938
2961
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -3326,6 +3349,13 @@ exports.PUBLIC_PLANS = [
3326
3349
  sizePerUnit: null,
3327
3350
  unit: 'clicks',
3328
3351
  },
3352
+ {
3353
+ service: enum_1.BillingService.ABYSS_LINK,
3354
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
3355
+ limit: 0,
3356
+ sizePerUnit: null,
3357
+ unit: 'click-days',
3358
+ },
3329
3359
  {
3330
3360
  service: enum_1.BillingService.ABYSS_BEAM,
3331
3361
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -3536,27 +3566,6 @@ exports.PUBLIC_PLANS = [
3536
3566
  sizePerUnit: null,
3537
3567
  unit: 'credits',
3538
3568
  },
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
- },
3560
3569
  ],
3561
3570
  overagePricing: [
3562
3571
  {
@@ -3733,6 +3742,12 @@ exports.PUBLIC_PLANS = [
3733
3742
  nanocentsPerUnit: 11600000,
3734
3743
  unit: 'resolutions',
3735
3744
  },
3745
+ {
3746
+ service: enum_1.BillingService.ABYSS_LINK,
3747
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
3748
+ nanocentsPerUnit: 2000,
3749
+ unit: 'click-days',
3750
+ },
3736
3751
  {
3737
3752
  service: enum_1.BillingService.ABYSS_BEAM,
3738
3753
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -3972,6 +3987,13 @@ exports.PUBLIC_PLANS = [
3972
3987
  sizePerUnit: null,
3973
3988
  unit: 'clicks',
3974
3989
  },
3990
+ {
3991
+ service: enum_1.BillingService.ABYSS_LINK,
3992
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
3993
+ limit: 0,
3994
+ sizePerUnit: null,
3995
+ unit: 'click-days',
3996
+ },
3975
3997
  {
3976
3998
  service: enum_1.BillingService.ABYSS_BEAM,
3977
3999
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -4212,6 +4234,12 @@ exports.PUBLIC_PLANS = [
4212
4234
  nanocentsPerUnit: 11600000,
4213
4235
  unit: 'resolutions',
4214
4236
  },
4237
+ {
4238
+ service: enum_1.BillingService.ABYSS_LINK,
4239
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
4240
+ nanocentsPerUnit: 2000,
4241
+ unit: 'click-days',
4242
+ },
4215
4243
  {
4216
4244
  service: enum_1.BillingService.ABYSS_BEAM,
4217
4245
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -4427,6 +4455,13 @@ exports.PUBLIC_PLANS = [
4427
4455
  sizePerUnit: null,
4428
4456
  unit: 'clicks',
4429
4457
  },
4458
+ {
4459
+ service: enum_1.BillingService.ABYSS_LINK,
4460
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
4461
+ limit: 0,
4462
+ sizePerUnit: null,
4463
+ unit: 'click-days',
4464
+ },
4430
4465
  {
4431
4466
  service: enum_1.BillingService.ABYSS_BEAM,
4432
4467
  metric: enum_1.BillingMetric.BEAM_COUNT,
@@ -4667,6 +4702,12 @@ exports.PUBLIC_PLANS = [
4667
4702
  nanocentsPerUnit: 11600000,
4668
4703
  unit: 'resolutions',
4669
4704
  },
4705
+ {
4706
+ service: enum_1.BillingService.ABYSS_LINK,
4707
+ metric: enum_1.BillingMetric.LINK_CLICK_DAYS,
4708
+ nanocentsPerUnit: 2000,
4709
+ unit: 'click-days',
4710
+ },
4670
4711
  {
4671
4712
  service: enum_1.BillingService.ABYSS_BEAM,
4672
4713
  metric: enum_1.BillingMetric.BEAM_COUNT,