@abyss-project/main 3.3.0 → 3.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 (107) hide show
  1. package/dist/constants/catalog-plan-quotas.constants.js +16 -16
  2. package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
  3. package/dist/constants/enforcement-registry.constants.js +5 -7
  4. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  5. package/dist/constants/index.d.ts +1 -0
  6. package/dist/constants/index.js +1 -0
  7. package/dist/constants/index.js.map +1 -1
  8. package/dist/constants/metric-price-scale.constants.js +18 -0
  9. package/dist/constants/metric-price-scale.constants.js.map +1 -1
  10. package/dist/constants/module-catalog.constants.d.ts +5 -0
  11. package/dist/constants/module-catalog.constants.js +59 -0
  12. package/dist/constants/module-catalog.constants.js.map +1 -1
  13. package/dist/constants/pack-catalog.constants.d.ts +17 -0
  14. package/dist/constants/pack-catalog.constants.js +61 -0
  15. package/dist/constants/pack-catalog.constants.js.map +1 -0
  16. package/dist/constants/public-plans.constants.js +48 -48
  17. package/dist/constants/public-plans.constants.js.map +1 -1
  18. package/dist/types/enum/user-notification-content-type.enum.d.ts +19 -0
  19. package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
  20. package/dist/types/interface/api/index.d.ts +1 -0
  21. package/dist/types/interface/api/index.js +1 -0
  22. package/dist/types/interface/api/index.js.map +1 -1
  23. package/dist/types/interface/api/requests/organization-integration-webhook.request.d.ts +97 -0
  24. package/dist/types/interface/api/requests/organization-integration-webhook.request.js +21 -0
  25. package/dist/types/interface/api/requests/organization-integration-webhook.request.js.map +1 -1
  26. package/dist/types/interface/api/responses/index.d.ts +1 -0
  27. package/dist/types/interface/api/responses/index.js +1 -0
  28. package/dist/types/interface/api/responses/index.js.map +1 -1
  29. package/dist/types/interface/api/responses/organization-integration.admin.response.d.ts +5 -0
  30. package/dist/types/interface/api/responses/organization-integration.admin.response.js +3 -0
  31. package/dist/types/interface/api/responses/organization-integration.admin.response.js.map +1 -0
  32. package/dist/utils/pricing.utils.d.ts +2 -0
  33. package/dist/utils/pricing.utils.js +11 -1
  34. package/dist/utils/pricing.utils.js.map +1 -1
  35. package/package.json +15 -11
  36. package/dist/constants/tests/billing-catalog.constants.spec.d.ts +0 -1
  37. package/dist/constants/tests/billing-catalog.constants.spec.js +0 -330
  38. package/dist/constants/tests/billing-catalog.constants.spec.js.map +0 -1
  39. package/dist/constants/tests/catalog-plan-quotas.coherence.spec.d.ts +0 -1
  40. package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js +0 -101
  41. package/dist/constants/tests/catalog-plan-quotas.coherence.spec.js.map +0 -1
  42. package/dist/constants/tests/metric-price-scale.constants.spec.d.ts +0 -1
  43. package/dist/constants/tests/metric-price-scale.constants.spec.js +0 -83
  44. package/dist/constants/tests/metric-price-scale.constants.spec.js.map +0 -1
  45. package/dist/constants/tests/module-calibration.constants.spec.d.ts +0 -1
  46. package/dist/constants/tests/module-calibration.constants.spec.js +0 -75
  47. package/dist/constants/tests/module-calibration.constants.spec.js.map +0 -1
  48. package/dist/constants/tests/module-catalog.constants.spec.d.ts +0 -1
  49. package/dist/constants/tests/module-catalog.constants.spec.js +0 -196
  50. package/dist/constants/tests/module-catalog.constants.spec.js.map +0 -1
  51. package/dist/constants/tests/overage-pricing-single-source.spec.d.ts +0 -1
  52. package/dist/constants/tests/overage-pricing-single-source.spec.js +0 -23
  53. package/dist/constants/tests/overage-pricing-single-source.spec.js.map +0 -1
  54. package/dist/constants/tests/password-policy.constants.spec.d.ts +0 -1
  55. package/dist/constants/tests/password-policy.constants.spec.js +0 -67
  56. package/dist/constants/tests/password-policy.constants.spec.js.map +0 -1
  57. package/dist/server/tests/after-commit-emit.util.spec.d.ts +0 -1
  58. package/dist/server/tests/after-commit-emit.util.spec.js +0 -99
  59. package/dist/server/tests/after-commit-emit.util.spec.js.map +0 -1
  60. package/dist/server/tests/encrypt-secret.util.spec.d.ts +0 -6
  61. package/dist/server/tests/encrypt-secret.util.spec.js +0 -148
  62. package/dist/server/tests/encrypt-secret.util.spec.js.map +0 -1
  63. package/dist/types/enum/tests/billing-addon-status.enum.spec.d.ts +0 -1
  64. package/dist/types/enum/tests/billing-addon-status.enum.spec.js +0 -66
  65. package/dist/types/enum/tests/billing-addon-status.enum.spec.js.map +0 -1
  66. package/dist/types/enum/tests/report-notification-type.enum.spec.d.ts +0 -1
  67. package/dist/types/enum/tests/report-notification-type.enum.spec.js +0 -18
  68. package/dist/types/enum/tests/report-notification-type.enum.spec.js.map +0 -1
  69. package/dist/types/enum/tests/user-notification-content-type.enum.spec.d.ts +0 -1
  70. package/dist/types/enum/tests/user-notification-content-type.enum.spec.js +0 -13
  71. package/dist/types/enum/tests/user-notification-content-type.enum.spec.js.map +0 -1
  72. package/dist/utils/tests/billing-deep-link.utils.spec.d.ts +0 -1
  73. package/dist/utils/tests/billing-deep-link.utils.spec.js +0 -91
  74. package/dist/utils/tests/billing-deep-link.utils.spec.js.map +0 -1
  75. package/dist/utils/tests/billing.utils.spec.d.ts +0 -1
  76. package/dist/utils/tests/billing.utils.spec.js +0 -81
  77. package/dist/utils/tests/billing.utils.spec.js.map +0 -1
  78. package/dist/utils/tests/invoice-amounts.utils.spec.d.ts +0 -1
  79. package/dist/utils/tests/invoice-amounts.utils.spec.js +0 -97
  80. package/dist/utils/tests/invoice-amounts.utils.spec.js.map +0 -1
  81. package/dist/utils/tests/module-lot-price.utils.spec.d.ts +0 -1
  82. package/dist/utils/tests/module-lot-price.utils.spec.js +0 -56
  83. package/dist/utils/tests/module-lot-price.utils.spec.js.map +0 -1
  84. package/dist/utils/tests/module-price.utils.spec.d.ts +0 -1
  85. package/dist/utils/tests/module-price.utils.spec.js +0 -79
  86. package/dist/utils/tests/module-price.utils.spec.js.map +0 -1
  87. package/dist/utils/tests/overage-negotiated-rate.utils.spec.d.ts +0 -1
  88. package/dist/utils/tests/overage-negotiated-rate.utils.spec.js +0 -59
  89. package/dist/utils/tests/overage-negotiated-rate.utils.spec.js.map +0 -1
  90. package/dist/utils/tests/plan-capacity.utils.spec.d.ts +0 -1
  91. package/dist/utils/tests/plan-capacity.utils.spec.js +0 -81
  92. package/dist/utils/tests/plan-capacity.utils.spec.js.map +0 -1
  93. package/dist/utils/tests/pricing.utils.spec.d.ts +0 -1
  94. package/dist/utils/tests/pricing.utils.spec.js +0 -219
  95. package/dist/utils/tests/pricing.utils.spec.js.map +0 -1
  96. package/dist/utils/tests/quota-ceiling.utils.spec.d.ts +0 -1
  97. package/dist/utils/tests/quota-ceiling.utils.spec.js +0 -119
  98. package/dist/utils/tests/quota-ceiling.utils.spec.js.map +0 -1
  99. package/dist/utils/tests/quote-overage-rate.spec.d.ts +0 -1
  100. package/dist/utils/tests/quote-overage-rate.spec.js +0 -39
  101. package/dist/utils/tests/quote-overage-rate.spec.js.map +0 -1
  102. package/dist/utils/tests/resolve-user.utils.spec.d.ts +0 -1
  103. package/dist/utils/tests/resolve-user.utils.spec.js +0 -98
  104. package/dist/utils/tests/resolve-user.utils.spec.js.map +0 -1
  105. package/dist/utils/tests/shifted-tiers.utils.spec.d.ts +0 -1
  106. package/dist/utils/tests/shifted-tiers.utils.spec.js +0 -176
  107. package/dist/utils/tests/shifted-tiers.utils.spec.js.map +0 -1
@@ -0,0 +1,17 @@
1
+ import { PlanAccountType } from '../types/enum/organization-billing.enum';
2
+ import { BillingModuleId } from './module-catalog.constants';
3
+ export declare enum BillingPackId {
4
+ LENDER = "pack-lender",
5
+ MONITOR = "pack-monitor",
6
+ STORAGE = "pack-storage",
7
+ UNLOCKS = "pack-unlocks"
8
+ }
9
+ export interface BillingPack {
10
+ id: BillingPackId;
11
+ label: string;
12
+ scopes: ReadonlyArray<PlanAccountType>;
13
+ modules: ReadonlyArray<BillingModuleId>;
14
+ }
15
+ export declare const PACK_DISCOUNT_RATE = 0.2;
16
+ export declare const BILLING_PACKS: ReadonlyArray<BillingPack>;
17
+ export declare const packById: (id: BillingPackId) => BillingPack | undefined;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.packById = exports.BILLING_PACKS = exports.PACK_DISCOUNT_RATE = exports.BillingPackId = void 0;
4
+ const organization_billing_enum_1 = require("../types/enum/organization-billing.enum");
5
+ const module_catalog_constants_1 = require("./module-catalog.constants");
6
+ var BillingPackId;
7
+ (function (BillingPackId) {
8
+ BillingPackId["LENDER"] = "pack-lender";
9
+ BillingPackId["MONITOR"] = "pack-monitor";
10
+ BillingPackId["STORAGE"] = "pack-storage";
11
+ BillingPackId["UNLOCKS"] = "pack-unlocks";
12
+ })(BillingPackId || (exports.BillingPackId = BillingPackId = {}));
13
+ exports.PACK_DISCOUNT_RATE = 0.2;
14
+ const USER_FAMILY_ORG = [
15
+ organization_billing_enum_1.PlanAccountType.USER,
16
+ organization_billing_enum_1.PlanAccountType.FAMILY,
17
+ organization_billing_enum_1.PlanAccountType.ORGANIZATION,
18
+ ];
19
+ const ORG_ONLY = [organization_billing_enum_1.PlanAccountType.ORGANIZATION];
20
+ exports.BILLING_PACKS = [
21
+ {
22
+ id: BillingPackId.LENDER,
23
+ label: 'Pack prêteur',
24
+ scopes: USER_FAMILY_ORG,
25
+ modules: [
26
+ module_catalog_constants_1.BillingModuleId.BANKING_PORTFOLIOS,
27
+ module_catalog_constants_1.BillingModuleId.BANKING_LENDER_SHARES,
28
+ module_catalog_constants_1.BillingModuleId.BANKING_SIMULATION,
29
+ ],
30
+ },
31
+ {
32
+ id: BillingPackId.MONITOR,
33
+ label: 'Pack Monitor',
34
+ scopes: ORG_ONLY,
35
+ modules: [
36
+ module_catalog_constants_1.BillingModuleId.MONITOR_LOGS,
37
+ module_catalog_constants_1.BillingModuleId.MONITOR_WEBHOOKS,
38
+ module_catalog_constants_1.BillingModuleId.UNLOCK_MONITOR_RETENTION,
39
+ ],
40
+ },
41
+ {
42
+ id: BillingPackId.STORAGE,
43
+ label: 'Pack stockage',
44
+ scopes: ORG_ONLY,
45
+ modules: [module_catalog_constants_1.BillingModuleId.STORAGE_RAW, module_catalog_constants_1.BillingModuleId.BANDWIDTH],
46
+ },
47
+ {
48
+ id: BillingPackId.UNLOCKS,
49
+ label: 'Pack déblocages',
50
+ scopes: USER_FAMILY_ORG,
51
+ modules: [
52
+ module_catalog_constants_1.BillingModuleId.UNLOCK_CRYPT_FILE_SIZE,
53
+ module_catalog_constants_1.BillingModuleId.UNLOCK_FORM_DOCUMENTS,
54
+ module_catalog_constants_1.BillingModuleId.UNLOCK_EXTRACTION_TRACES,
55
+ module_catalog_constants_1.BillingModuleId.UNLOCK_BEAM_EXPIRY,
56
+ ],
57
+ },
58
+ ];
59
+ const packById = (id) => exports.BILLING_PACKS.find((pack) => pack.id === id);
60
+ exports.packById = packById;
61
+ //# sourceMappingURL=pack-catalog.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pack-catalog.constants.js","sourceRoot":"","sources":["../../src/constants/pack-catalog.constants.ts"],"names":[],"mappings":";;;AAAA,uFAA0E;AAC1E,yEAA6D;AAgC7D,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,uCAAsB,CAAA;IACtB,yCAAwB,CAAA;IACxB,yCAAwB,CAAA;IACxB,yCAAwB,CAAA;AAC1B,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAiBY,QAAA,kBAAkB,GAAG,GAAG,CAAC;AAEtC,MAAM,eAAe,GAAmC;IACtD,2CAAe,CAAC,IAAI;IACpB,2CAAe,CAAC,MAAM;IACtB,2CAAe,CAAC,YAAY;CAC7B,CAAC;AAEF,MAAM,QAAQ,GAAmC,CAAC,2CAAe,CAAC,YAAY,CAAC,CAAC;AAEnE,QAAA,aAAa,GAA+B;IACvD;QAIE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,cAAc;QACrB,MAAM,EAAE,eAAe;QACvB,OAAO,EAAE;YACP,0CAAe,CAAC,kBAAkB;YAClC,0CAAe,CAAC,qBAAqB;YACrC,0CAAe,CAAC,kBAAkB;SACnC;KACF;IACD;QAIE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,cAAc;QACrB,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE;YACP,0CAAe,CAAC,YAAY;YAC5B,0CAAe,CAAC,gBAAgB;YAChC,0CAAe,CAAC,wBAAwB;SACzC;KACF;IACD;QAIE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,eAAe;QAItB,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,CAAC,0CAAe,CAAC,WAAW,EAAE,0CAAe,CAAC,SAAS,CAAC;KAClE;IACD;QAIE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,eAAe;QACvB,OAAO,EAAE;YACP,0CAAe,CAAC,sBAAsB;YACtC,0CAAe,CAAC,qBAAqB;YACrC,0CAAe,CAAC,wBAAwB;YACxC,0CAAe,CAAC,kBAAkB;SACnC;KACF;CACF,CAAC;AAGK,MAAM,QAAQ,GAAG,CAAC,EAAiB,EAA2B,EAAE,CACrE,qBAAa,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AADlC,QAAA,QAAQ,YAC0B"}
@@ -131,7 +131,7 @@ exports.PUBLIC_PLANS = [
131
131
  {
132
132
  service: enum_1.BillingService.ABYSS_TOOLS,
133
133
  metric: enum_1.BillingMetric.TOOLS_EXTRACTION_TRACE_RETENTION_DAYS,
134
- limit: -1,
134
+ limit: 7,
135
135
  sizePerUnit: null,
136
136
  unit: 'days',
137
137
  },
@@ -194,7 +194,7 @@ exports.PUBLIC_PLANS = [
194
194
  {
195
195
  service: enum_1.BillingService.ABYSS_BANKING,
196
196
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
197
- limit: 0,
197
+ limit: 1,
198
198
  sizePerUnit: null,
199
199
  unit: 'shares',
200
200
  },
@@ -384,13 +384,13 @@ exports.PUBLIC_PLANS = [
384
384
  {
385
385
  service: enum_1.BillingService.ABYSS_BANKING,
386
386
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
387
- nanocentsPerUnit: 50000000000,
387
+ nanocentsPerUnit: 76000000000,
388
388
  unit: 'share',
389
389
  },
390
390
  {
391
391
  service: enum_1.BillingService.ABYSS_BANKING,
392
392
  metric: enum_1.BillingMetric.BANKING_PORTFOLIOS_COUNT,
393
- nanocentsPerUnit: 100000000000,
393
+ nanocentsPerUnit: 190000000000,
394
394
  unit: 'portfolio',
395
395
  },
396
396
  {
@@ -402,13 +402,13 @@ exports.PUBLIC_PLANS = [
402
402
  {
403
403
  service: enum_1.BillingService.ABYSS_BANKING,
404
404
  metric: enum_1.BillingMetric.BANKING_SCENARIO_RUNS_MONTH,
405
- nanocentsPerUnit: 5000000000,
405
+ nanocentsPerUnit: 5800000000,
406
406
  unit: 'run',
407
407
  },
408
408
  {
409
409
  service: enum_1.BillingService.ABYSS_BANKING,
410
410
  metric: enum_1.BillingMetric.BANKING_PREVIEW_RESCORES_MONTH,
411
- nanocentsPerUnit: 2000000000,
411
+ nanocentsPerUnit: 1160000000,
412
412
  unit: 'rescore',
413
413
  },
414
414
  {
@@ -553,7 +553,7 @@ exports.PUBLIC_PLANS = [
553
553
  {
554
554
  service: enum_1.BillingService.ABYSS_TOOLS,
555
555
  metric: enum_1.BillingMetric.TOOLS_EXTRACTION_TRACE_RETENTION_DAYS,
556
- limit: -1,
556
+ limit: 30,
557
557
  sizePerUnit: null,
558
558
  unit: 'days',
559
559
  },
@@ -616,7 +616,7 @@ exports.PUBLIC_PLANS = [
616
616
  {
617
617
  service: enum_1.BillingService.ABYSS_BANKING,
618
618
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
619
- limit: 5,
619
+ limit: 10,
620
620
  sizePerUnit: null,
621
621
  unit: 'shares',
622
622
  },
@@ -806,13 +806,13 @@ exports.PUBLIC_PLANS = [
806
806
  {
807
807
  service: enum_1.BillingService.ABYSS_BANKING,
808
808
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
809
- nanocentsPerUnit: 50000000000,
809
+ nanocentsPerUnit: 76000000000,
810
810
  unit: 'share',
811
811
  },
812
812
  {
813
813
  service: enum_1.BillingService.ABYSS_BANKING,
814
814
  metric: enum_1.BillingMetric.BANKING_PORTFOLIOS_COUNT,
815
- nanocentsPerUnit: 100000000000,
815
+ nanocentsPerUnit: 190000000000,
816
816
  unit: 'portfolio',
817
817
  },
818
818
  {
@@ -824,13 +824,13 @@ exports.PUBLIC_PLANS = [
824
824
  {
825
825
  service: enum_1.BillingService.ABYSS_BANKING,
826
826
  metric: enum_1.BillingMetric.BANKING_SCENARIO_RUNS_MONTH,
827
- nanocentsPerUnit: 5000000000,
827
+ nanocentsPerUnit: 5800000000,
828
828
  unit: 'run',
829
829
  },
830
830
  {
831
831
  service: enum_1.BillingService.ABYSS_BANKING,
832
832
  metric: enum_1.BillingMetric.BANKING_PREVIEW_RESCORES_MONTH,
833
- nanocentsPerUnit: 2000000000,
833
+ nanocentsPerUnit: 1160000000,
834
834
  unit: 'rescore',
835
835
  },
836
836
  {
@@ -975,7 +975,7 @@ exports.PUBLIC_PLANS = [
975
975
  {
976
976
  service: enum_1.BillingService.ABYSS_TOOLS,
977
977
  metric: enum_1.BillingMetric.TOOLS_EXTRACTION_TRACE_RETENTION_DAYS,
978
- limit: -1,
978
+ limit: 90,
979
979
  sizePerUnit: null,
980
980
  unit: 'days',
981
981
  },
@@ -1038,7 +1038,7 @@ exports.PUBLIC_PLANS = [
1038
1038
  {
1039
1039
  service: enum_1.BillingService.ABYSS_BANKING,
1040
1040
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
1041
- limit: 50,
1041
+ limit: 100,
1042
1042
  sizePerUnit: null,
1043
1043
  unit: 'shares',
1044
1044
  },
@@ -1228,13 +1228,13 @@ exports.PUBLIC_PLANS = [
1228
1228
  {
1229
1229
  service: enum_1.BillingService.ABYSS_BANKING,
1230
1230
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
1231
- nanocentsPerUnit: 50000000000,
1231
+ nanocentsPerUnit: 76000000000,
1232
1232
  unit: 'share',
1233
1233
  },
1234
1234
  {
1235
1235
  service: enum_1.BillingService.ABYSS_BANKING,
1236
1236
  metric: enum_1.BillingMetric.BANKING_PORTFOLIOS_COUNT,
1237
- nanocentsPerUnit: 100000000000,
1237
+ nanocentsPerUnit: 190000000000,
1238
1238
  unit: 'portfolio',
1239
1239
  },
1240
1240
  {
@@ -1246,13 +1246,13 @@ exports.PUBLIC_PLANS = [
1246
1246
  {
1247
1247
  service: enum_1.BillingService.ABYSS_BANKING,
1248
1248
  metric: enum_1.BillingMetric.BANKING_SCENARIO_RUNS_MONTH,
1249
- nanocentsPerUnit: 5000000000,
1249
+ nanocentsPerUnit: 5800000000,
1250
1250
  unit: 'run',
1251
1251
  },
1252
1252
  {
1253
1253
  service: enum_1.BillingService.ABYSS_BANKING,
1254
1254
  metric: enum_1.BillingMetric.BANKING_PREVIEW_RESCORES_MONTH,
1255
- nanocentsPerUnit: 2000000000,
1255
+ nanocentsPerUnit: 1160000000,
1256
1256
  unit: 'rescore',
1257
1257
  },
1258
1258
  {
@@ -1474,7 +1474,7 @@ exports.PUBLIC_PLANS = [
1474
1474
  {
1475
1475
  service: enum_1.BillingService.ABYSS_TOOLS,
1476
1476
  metric: enum_1.BillingMetric.TOOLS_EXTRACTION_TRACE_RETENTION_DAYS,
1477
- limit: -1,
1477
+ limit: 7,
1478
1478
  sizePerUnit: null,
1479
1479
  unit: 'days',
1480
1480
  },
@@ -1551,7 +1551,7 @@ exports.PUBLIC_PLANS = [
1551
1551
  {
1552
1552
  service: enum_1.BillingService.ABYSS_BANKING,
1553
1553
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
1554
- limit: 0,
1554
+ limit: 2,
1555
1555
  sizePerUnit: null,
1556
1556
  unit: 'shares',
1557
1557
  },
@@ -1813,13 +1813,13 @@ exports.PUBLIC_PLANS = [
1813
1813
  {
1814
1814
  service: enum_1.BillingService.ABYSS_BANKING,
1815
1815
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
1816
- nanocentsPerUnit: 50000000000,
1816
+ nanocentsPerUnit: 76000000000,
1817
1817
  unit: 'share',
1818
1818
  },
1819
1819
  {
1820
1820
  service: enum_1.BillingService.ABYSS_BANKING,
1821
1821
  metric: enum_1.BillingMetric.BANKING_PORTFOLIOS_COUNT,
1822
- nanocentsPerUnit: 100000000000,
1822
+ nanocentsPerUnit: 190000000000,
1823
1823
  unit: 'portfolio',
1824
1824
  },
1825
1825
  {
@@ -1831,13 +1831,13 @@ exports.PUBLIC_PLANS = [
1831
1831
  {
1832
1832
  service: enum_1.BillingService.ABYSS_BANKING,
1833
1833
  metric: enum_1.BillingMetric.BANKING_SCENARIO_RUNS_MONTH,
1834
- nanocentsPerUnit: 5000000000,
1834
+ nanocentsPerUnit: 5800000000,
1835
1835
  unit: 'run',
1836
1836
  },
1837
1837
  {
1838
1838
  service: enum_1.BillingService.ABYSS_BANKING,
1839
1839
  metric: enum_1.BillingMetric.BANKING_PREVIEW_RESCORES_MONTH,
1840
- nanocentsPerUnit: 2000000000,
1840
+ nanocentsPerUnit: 1160000000,
1841
1841
  unit: 'rescore',
1842
1842
  },
1843
1843
  {
@@ -2059,7 +2059,7 @@ exports.PUBLIC_PLANS = [
2059
2059
  {
2060
2060
  service: enum_1.BillingService.ABYSS_TOOLS,
2061
2061
  metric: enum_1.BillingMetric.TOOLS_EXTRACTION_TRACE_RETENTION_DAYS,
2062
- limit: -1,
2062
+ limit: 30,
2063
2063
  sizePerUnit: null,
2064
2064
  unit: 'days',
2065
2065
  },
@@ -2136,7 +2136,7 @@ exports.PUBLIC_PLANS = [
2136
2136
  {
2137
2137
  service: enum_1.BillingService.ABYSS_BANKING,
2138
2138
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
2139
- limit: 15,
2139
+ limit: 30,
2140
2140
  sizePerUnit: null,
2141
2141
  unit: 'shares',
2142
2142
  },
@@ -2398,13 +2398,13 @@ exports.PUBLIC_PLANS = [
2398
2398
  {
2399
2399
  service: enum_1.BillingService.ABYSS_BANKING,
2400
2400
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
2401
- nanocentsPerUnit: 50000000000,
2401
+ nanocentsPerUnit: 76000000000,
2402
2402
  unit: 'share',
2403
2403
  },
2404
2404
  {
2405
2405
  service: enum_1.BillingService.ABYSS_BANKING,
2406
2406
  metric: enum_1.BillingMetric.BANKING_PORTFOLIOS_COUNT,
2407
- nanocentsPerUnit: 100000000000,
2407
+ nanocentsPerUnit: 190000000000,
2408
2408
  unit: 'portfolio',
2409
2409
  },
2410
2410
  {
@@ -2416,13 +2416,13 @@ exports.PUBLIC_PLANS = [
2416
2416
  {
2417
2417
  service: enum_1.BillingService.ABYSS_BANKING,
2418
2418
  metric: enum_1.BillingMetric.BANKING_SCENARIO_RUNS_MONTH,
2419
- nanocentsPerUnit: 5000000000,
2419
+ nanocentsPerUnit: 5800000000,
2420
2420
  unit: 'run',
2421
2421
  },
2422
2422
  {
2423
2423
  service: enum_1.BillingService.ABYSS_BANKING,
2424
2424
  metric: enum_1.BillingMetric.BANKING_PREVIEW_RESCORES_MONTH,
2425
- nanocentsPerUnit: 2000000000,
2425
+ nanocentsPerUnit: 1160000000,
2426
2426
  unit: 'rescore',
2427
2427
  },
2428
2428
  {
@@ -2644,7 +2644,7 @@ exports.PUBLIC_PLANS = [
2644
2644
  {
2645
2645
  service: enum_1.BillingService.ABYSS_TOOLS,
2646
2646
  metric: enum_1.BillingMetric.TOOLS_EXTRACTION_TRACE_RETENTION_DAYS,
2647
- limit: -1,
2647
+ limit: 90,
2648
2648
  sizePerUnit: null,
2649
2649
  unit: 'days',
2650
2650
  },
@@ -2721,7 +2721,7 @@ exports.PUBLIC_PLANS = [
2721
2721
  {
2722
2722
  service: enum_1.BillingService.ABYSS_BANKING,
2723
2723
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
2724
- limit: 150,
2724
+ limit: 300,
2725
2725
  sizePerUnit: null,
2726
2726
  unit: 'shares',
2727
2727
  },
@@ -2983,13 +2983,13 @@ exports.PUBLIC_PLANS = [
2983
2983
  {
2984
2984
  service: enum_1.BillingService.ABYSS_BANKING,
2985
2985
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
2986
- nanocentsPerUnit: 50000000000,
2986
+ nanocentsPerUnit: 76000000000,
2987
2987
  unit: 'share',
2988
2988
  },
2989
2989
  {
2990
2990
  service: enum_1.BillingService.ABYSS_BANKING,
2991
2991
  metric: enum_1.BillingMetric.BANKING_PORTFOLIOS_COUNT,
2992
- nanocentsPerUnit: 100000000000,
2992
+ nanocentsPerUnit: 190000000000,
2993
2993
  unit: 'portfolio',
2994
2994
  },
2995
2995
  {
@@ -3001,13 +3001,13 @@ exports.PUBLIC_PLANS = [
3001
3001
  {
3002
3002
  service: enum_1.BillingService.ABYSS_BANKING,
3003
3003
  metric: enum_1.BillingMetric.BANKING_SCENARIO_RUNS_MONTH,
3004
- nanocentsPerUnit: 5000000000,
3004
+ nanocentsPerUnit: 5800000000,
3005
3005
  unit: 'run',
3006
3006
  },
3007
3007
  {
3008
3008
  service: enum_1.BillingService.ABYSS_BANKING,
3009
3009
  metric: enum_1.BillingMetric.BANKING_PREVIEW_RESCORES_MONTH,
3010
- nanocentsPerUnit: 2000000000,
3010
+ nanocentsPerUnit: 1160000000,
3011
3011
  unit: 'rescore',
3012
3012
  },
3013
3013
  {
@@ -3131,7 +3131,7 @@ exports.PUBLIC_PLANS = [
3131
3131
  {
3132
3132
  service: enum_1.BillingService.ABYSS_TOOLS,
3133
3133
  metric: enum_1.BillingMetric.TOOLS_EXTRACTION_TRACE_RETENTION_DAYS,
3134
- limit: -1,
3134
+ limit: 7,
3135
3135
  sizePerUnit: null,
3136
3136
  unit: 'days',
3137
3137
  },
@@ -3208,7 +3208,7 @@ exports.PUBLIC_PLANS = [
3208
3208
  {
3209
3209
  service: enum_1.BillingService.ABYSS_BANKING,
3210
3210
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
3211
- limit: 0,
3211
+ limit: 2,
3212
3212
  sizePerUnit: null,
3213
3213
  unit: 'shares',
3214
3214
  },
@@ -3398,13 +3398,13 @@ exports.PUBLIC_PLANS = [
3398
3398
  {
3399
3399
  service: enum_1.BillingService.ABYSS_BANKING,
3400
3400
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
3401
- nanocentsPerUnit: 50000000000,
3401
+ nanocentsPerUnit: 76000000000,
3402
3402
  unit: 'share',
3403
3403
  },
3404
3404
  {
3405
3405
  service: enum_1.BillingService.ABYSS_BANKING,
3406
3406
  metric: enum_1.BillingMetric.BANKING_PORTFOLIOS_COUNT,
3407
- nanocentsPerUnit: 100000000000,
3407
+ nanocentsPerUnit: 190000000000,
3408
3408
  unit: 'portfolio',
3409
3409
  },
3410
3410
  {
@@ -3416,13 +3416,13 @@ exports.PUBLIC_PLANS = [
3416
3416
  {
3417
3417
  service: enum_1.BillingService.ABYSS_BANKING,
3418
3418
  metric: enum_1.BillingMetric.BANKING_SCENARIO_RUNS_MONTH,
3419
- nanocentsPerUnit: 5000000000,
3419
+ nanocentsPerUnit: 5800000000,
3420
3420
  unit: 'run',
3421
3421
  },
3422
3422
  {
3423
3423
  service: enum_1.BillingService.ABYSS_BANKING,
3424
3424
  metric: enum_1.BillingMetric.BANKING_PREVIEW_RESCORES_MONTH,
3425
- nanocentsPerUnit: 2000000000,
3425
+ nanocentsPerUnit: 1160000000,
3426
3426
  unit: 'rescore',
3427
3427
  },
3428
3428
  {
@@ -3546,7 +3546,7 @@ exports.PUBLIC_PLANS = [
3546
3546
  {
3547
3547
  service: enum_1.BillingService.ABYSS_TOOLS,
3548
3548
  metric: enum_1.BillingMetric.TOOLS_EXTRACTION_TRACE_RETENTION_DAYS,
3549
- limit: -1,
3549
+ limit: 30,
3550
3550
  sizePerUnit: null,
3551
3551
  unit: 'days',
3552
3552
  },
@@ -3623,7 +3623,7 @@ exports.PUBLIC_PLANS = [
3623
3623
  {
3624
3624
  service: enum_1.BillingService.ABYSS_BANKING,
3625
3625
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
3626
- limit: 15,
3626
+ limit: 30,
3627
3627
  sizePerUnit: null,
3628
3628
  unit: 'shares',
3629
3629
  },
@@ -3813,13 +3813,13 @@ exports.PUBLIC_PLANS = [
3813
3813
  {
3814
3814
  service: enum_1.BillingService.ABYSS_BANKING,
3815
3815
  metric: enum_1.BillingMetric.BANKING_LENDER_SHARES_COUNT,
3816
- nanocentsPerUnit: 50000000000,
3816
+ nanocentsPerUnit: 76000000000,
3817
3817
  unit: 'share',
3818
3818
  },
3819
3819
  {
3820
3820
  service: enum_1.BillingService.ABYSS_BANKING,
3821
3821
  metric: enum_1.BillingMetric.BANKING_PORTFOLIOS_COUNT,
3822
- nanocentsPerUnit: 100000000000,
3822
+ nanocentsPerUnit: 190000000000,
3823
3823
  unit: 'portfolio',
3824
3824
  },
3825
3825
  {
@@ -3831,13 +3831,13 @@ exports.PUBLIC_PLANS = [
3831
3831
  {
3832
3832
  service: enum_1.BillingService.ABYSS_BANKING,
3833
3833
  metric: enum_1.BillingMetric.BANKING_SCENARIO_RUNS_MONTH,
3834
- nanocentsPerUnit: 5000000000,
3834
+ nanocentsPerUnit: 5800000000,
3835
3835
  unit: 'run',
3836
3836
  },
3837
3837
  {
3838
3838
  service: enum_1.BillingService.ABYSS_BANKING,
3839
3839
  metric: enum_1.BillingMetric.BANKING_PREVIEW_RESCORES_MONTH,
3840
- nanocentsPerUnit: 2000000000,
3840
+ nanocentsPerUnit: 1160000000,
3841
3841
  unit: 'rescore',
3842
3842
  },
3843
3843
  {