@merkl/api 0.10.117 → 0.10.119

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 (46) hide show
  1. package/dist/database/engine/.generated/index.d.ts +1423 -189
  2. package/dist/database/engine/.generated/package.json +1 -1
  3. package/dist/database/engine/.generated/schema.prisma +9 -3
  4. package/dist/src/eden/index.d.ts +100 -15
  5. package/dist/src/index.d.ts +40 -5
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +4 -4
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AssetProcessor.d.ts +3 -3
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +3 -3
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerGaugeProcessor.d.ts +3 -3
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerPoolProcessor.d.ts +3 -3
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BeefyProcessor.d.ts +4 -4
  12. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/CompoundProcessor.d.ts +4 -4
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EnzymeProcessor.d.ts +5 -5
  14. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerBorrowProcessor.d.ts +5 -4
  15. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerLendProcessor.d.ts +4 -3
  16. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FluidProcessor.d.ts +4 -4
  17. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FraxProcessor.d.ts +4 -4
  18. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GearboxProcessor.d.ts +4 -4
  19. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.d.ts +3 -1
  20. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +4 -4
  21. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +12 -10
  22. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/RadiantProcessor.d.ts +4 -4
  23. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +3 -3
  24. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SturdySiloProcessor.d.ts +4 -4
  25. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TemplateProcessor.d.ts +3 -3
  26. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TorosProcessor.d.ts +4 -3
  27. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/UniswapProcessor.d.ts +4 -4
  28. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/curveProcessor.d.ts +4 -4
  29. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +4 -5
  30. package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +4 -5
  31. package/dist/src/modules/v4/router.d.ts +40 -5
  32. package/dist/src/modules/v4/user/user.controller.d.ts +36 -0
  33. package/dist/src/modules/v4/user/user.repository.d.ts +5 -0
  34. package/dist/src/modules/v4/user/user.service.d.ts +8 -2
  35. package/dist/src/routes/v3/ERC20Campaigns.d.ts +40 -5
  36. package/dist/src/routes/v3/blacklist.d.ts +40 -5
  37. package/dist/src/routes/v3/campaigns.d.ts +40 -5
  38. package/dist/src/routes/v3/campaignsInfo.d.ts +40 -5
  39. package/dist/src/routes/v3/multiChainPositions.d.ts +40 -5
  40. package/dist/src/routes/v3/opportunity.d.ts +40 -5
  41. package/dist/src/routes/v3/positions.d.ts +40 -5
  42. package/dist/src/routes/v3/rewards.d.ts +40 -5
  43. package/dist/src/routes/v3/updates.d.ts +40 -5
  44. package/dist/src/routes/v3/userRewards.d.ts +40 -5
  45. package/dist/tsconfig.package.tsbuildinfo +1 -1
  46. package/package.json +1 -1
@@ -1324,6 +1324,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1324
1324
  };
1325
1325
  };
1326
1326
  };
1327
+ } & {
1328
+ users: {
1329
+ tags: {
1330
+ get: {
1331
+ body: unknown;
1332
+ params: Record<never, string>;
1333
+ query: unknown;
1334
+ headers: {
1335
+ authorization: string;
1336
+ };
1337
+ response: {
1338
+ 200: {
1339
+ tags: string[];
1340
+ address: string;
1341
+ }[];
1342
+ };
1343
+ };
1344
+ };
1345
+ };
1327
1346
  } & {
1328
1347
  users: {
1329
1348
  ":address": {
@@ -1334,6 +1353,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1334
1353
  headers: unknown;
1335
1354
  response: {
1336
1355
  200: {
1356
+ tags: string[];
1337
1357
  address: string;
1338
1358
  } | null;
1339
1359
  };
@@ -1580,6 +1600,22 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1580
1600
  };
1581
1601
  };
1582
1602
  };
1603
+ } & {
1604
+ users: {
1605
+ sync: {
1606
+ post: {
1607
+ body: unknown;
1608
+ params: Record<never, string>;
1609
+ query: unknown;
1610
+ headers: {
1611
+ authorization: string;
1612
+ };
1613
+ response: {
1614
+ 200: void;
1615
+ };
1616
+ };
1617
+ };
1618
+ };
1583
1619
  } & {
1584
1620
  users: {
1585
1621
  ":address": {
@@ -1640,11 +1676,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1640
1676
  headers: unknown;
1641
1677
  response: {
1642
1678
  200: {
1643
- [chainId: number]: {
1644
- live: string;
1645
- lastTree: string;
1646
- };
1647
- };
1679
+ live: string;
1680
+ tree: string;
1681
+ lastTree: string;
1682
+ }[];
1648
1683
  };
1649
1684
  };
1650
1685
  };
@@ -1329,6 +1329,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1329
1329
  };
1330
1330
  };
1331
1331
  };
1332
+ } & {
1333
+ users: {
1334
+ tags: {
1335
+ get: {
1336
+ body: unknown;
1337
+ params: Record<never, string>;
1338
+ query: unknown;
1339
+ headers: {
1340
+ authorization: string;
1341
+ };
1342
+ response: {
1343
+ 200: {
1344
+ tags: string[];
1345
+ address: string;
1346
+ }[];
1347
+ };
1348
+ };
1349
+ };
1350
+ };
1332
1351
  } & {
1333
1352
  users: {
1334
1353
  ":address": {
@@ -1339,6 +1358,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1339
1358
  headers: unknown;
1340
1359
  response: {
1341
1360
  200: {
1361
+ tags: string[];
1342
1362
  address: string;
1343
1363
  } | null;
1344
1364
  };
@@ -1585,6 +1605,22 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1585
1605
  };
1586
1606
  };
1587
1607
  };
1608
+ } & {
1609
+ users: {
1610
+ sync: {
1611
+ post: {
1612
+ body: unknown;
1613
+ params: Record<never, string>;
1614
+ query: unknown;
1615
+ headers: {
1616
+ authorization: string;
1617
+ };
1618
+ response: {
1619
+ 200: void;
1620
+ };
1621
+ };
1622
+ };
1623
+ };
1588
1624
  } & {
1589
1625
  users: {
1590
1626
  ":address": {
@@ -1645,11 +1681,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1645
1681
  headers: unknown;
1646
1682
  response: {
1647
1683
  200: {
1648
- [chainId: number]: {
1649
- live: string;
1650
- lastTree: string;
1651
- };
1652
- };
1684
+ live: string;
1685
+ tree: string;
1686
+ lastTree: string;
1687
+ }[];
1653
1688
  };
1654
1689
  };
1655
1690
  };
@@ -1347,6 +1347,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1347
1347
  };
1348
1348
  };
1349
1349
  };
1350
+ } & {
1351
+ users: {
1352
+ tags: {
1353
+ get: {
1354
+ body: unknown;
1355
+ params: Record<never, string>;
1356
+ query: unknown;
1357
+ headers: {
1358
+ authorization: string;
1359
+ };
1360
+ response: {
1361
+ 200: {
1362
+ tags: string[];
1363
+ address: string;
1364
+ }[];
1365
+ };
1366
+ };
1367
+ };
1368
+ };
1350
1369
  } & {
1351
1370
  users: {
1352
1371
  ":address": {
@@ -1357,6 +1376,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1357
1376
  headers: unknown;
1358
1377
  response: {
1359
1378
  200: {
1379
+ tags: string[];
1360
1380
  address: string;
1361
1381
  } | null;
1362
1382
  };
@@ -1603,6 +1623,22 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1603
1623
  };
1604
1624
  };
1605
1625
  };
1626
+ } & {
1627
+ users: {
1628
+ sync: {
1629
+ post: {
1630
+ body: unknown;
1631
+ params: Record<never, string>;
1632
+ query: unknown;
1633
+ headers: {
1634
+ authorization: string;
1635
+ };
1636
+ response: {
1637
+ 200: void;
1638
+ };
1639
+ };
1640
+ };
1641
+ };
1606
1642
  } & {
1607
1643
  users: {
1608
1644
  ":address": {
@@ -1663,11 +1699,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1663
1699
  headers: unknown;
1664
1700
  response: {
1665
1701
  200: {
1666
- [chainId: number]: {
1667
- live: string;
1668
- lastTree: string;
1669
- };
1670
- };
1702
+ live: string;
1703
+ tree: string;
1704
+ lastTree: string;
1705
+ }[];
1671
1706
  };
1672
1707
  };
1673
1708
  };
@@ -1348,6 +1348,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1348
1348
  };
1349
1349
  };
1350
1350
  };
1351
+ } & {
1352
+ users: {
1353
+ tags: {
1354
+ get: {
1355
+ body: unknown;
1356
+ params: Record<never, string>;
1357
+ query: unknown;
1358
+ headers: {
1359
+ authorization: string;
1360
+ };
1361
+ response: {
1362
+ 200: {
1363
+ tags: string[];
1364
+ address: string;
1365
+ }[];
1366
+ };
1367
+ };
1368
+ };
1369
+ };
1351
1370
  } & {
1352
1371
  users: {
1353
1372
  ":address": {
@@ -1358,6 +1377,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1358
1377
  headers: unknown;
1359
1378
  response: {
1360
1379
  200: {
1380
+ tags: string[];
1361
1381
  address: string;
1362
1382
  } | null;
1363
1383
  };
@@ -1604,6 +1624,22 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1604
1624
  };
1605
1625
  };
1606
1626
  };
1627
+ } & {
1628
+ users: {
1629
+ sync: {
1630
+ post: {
1631
+ body: unknown;
1632
+ params: Record<never, string>;
1633
+ query: unknown;
1634
+ headers: {
1635
+ authorization: string;
1636
+ };
1637
+ response: {
1638
+ 200: void;
1639
+ };
1640
+ };
1641
+ };
1642
+ };
1607
1643
  } & {
1608
1644
  users: {
1609
1645
  ":address": {
@@ -1664,11 +1700,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1664
1700
  headers: unknown;
1665
1701
  response: {
1666
1702
  200: {
1667
- [chainId: number]: {
1668
- live: string;
1669
- lastTree: string;
1670
- };
1671
- };
1703
+ live: string;
1704
+ tree: string;
1705
+ lastTree: string;
1706
+ }[];
1672
1707
  };
1673
1708
  };
1674
1709
  };
@@ -1330,6 +1330,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1330
1330
  };
1331
1331
  };
1332
1332
  };
1333
+ } & {
1334
+ users: {
1335
+ tags: {
1336
+ get: {
1337
+ body: unknown;
1338
+ params: Record<never, string>;
1339
+ query: unknown;
1340
+ headers: {
1341
+ authorization: string;
1342
+ };
1343
+ response: {
1344
+ 200: {
1345
+ tags: string[];
1346
+ address: string;
1347
+ }[];
1348
+ };
1349
+ };
1350
+ };
1351
+ };
1333
1352
  } & {
1334
1353
  users: {
1335
1354
  ":address": {
@@ -1340,6 +1359,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1340
1359
  headers: unknown;
1341
1360
  response: {
1342
1361
  200: {
1362
+ tags: string[];
1343
1363
  address: string;
1344
1364
  } | null;
1345
1365
  };
@@ -1586,6 +1606,22 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1586
1606
  };
1587
1607
  };
1588
1608
  };
1609
+ } & {
1610
+ users: {
1611
+ sync: {
1612
+ post: {
1613
+ body: unknown;
1614
+ params: Record<never, string>;
1615
+ query: unknown;
1616
+ headers: {
1617
+ authorization: string;
1618
+ };
1619
+ response: {
1620
+ 200: void;
1621
+ };
1622
+ };
1623
+ };
1624
+ };
1589
1625
  } & {
1590
1626
  users: {
1591
1627
  ":address": {
@@ -1646,11 +1682,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1646
1682
  headers: unknown;
1647
1683
  response: {
1648
1684
  200: {
1649
- [chainId: number]: {
1650
- live: string;
1651
- lastTree: string;
1652
- };
1653
- };
1685
+ live: string;
1686
+ tree: string;
1687
+ lastTree: string;
1688
+ }[];
1654
1689
  };
1655
1690
  };
1656
1691
  };
@@ -1331,6 +1331,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1331
1331
  };
1332
1332
  };
1333
1333
  };
1334
+ } & {
1335
+ users: {
1336
+ tags: {
1337
+ get: {
1338
+ body: unknown;
1339
+ params: Record<never, string>;
1340
+ query: unknown;
1341
+ headers: {
1342
+ authorization: string;
1343
+ };
1344
+ response: {
1345
+ 200: {
1346
+ tags: string[];
1347
+ address: string;
1348
+ }[];
1349
+ };
1350
+ };
1351
+ };
1352
+ };
1334
1353
  } & {
1335
1354
  users: {
1336
1355
  ":address": {
@@ -1341,6 +1360,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1341
1360
  headers: unknown;
1342
1361
  response: {
1343
1362
  200: {
1363
+ tags: string[];
1344
1364
  address: string;
1345
1365
  } | null;
1346
1366
  };
@@ -1587,6 +1607,22 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1587
1607
  };
1588
1608
  };
1589
1609
  };
1610
+ } & {
1611
+ users: {
1612
+ sync: {
1613
+ post: {
1614
+ body: unknown;
1615
+ params: Record<never, string>;
1616
+ query: unknown;
1617
+ headers: {
1618
+ authorization: string;
1619
+ };
1620
+ response: {
1621
+ 200: void;
1622
+ };
1623
+ };
1624
+ };
1625
+ };
1590
1626
  } & {
1591
1627
  users: {
1592
1628
  ":address": {
@@ -1647,11 +1683,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1647
1683
  headers: unknown;
1648
1684
  response: {
1649
1685
  200: {
1650
- [chainId: number]: {
1651
- live: string;
1652
- lastTree: string;
1653
- };
1654
- };
1686
+ live: string;
1687
+ tree: string;
1688
+ lastTree: string;
1689
+ }[];
1655
1690
  };
1656
1691
  };
1657
1692
  };
@@ -1333,6 +1333,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1333
1333
  };
1334
1334
  };
1335
1335
  };
1336
+ } & {
1337
+ users: {
1338
+ tags: {
1339
+ get: {
1340
+ body: unknown;
1341
+ params: Record<never, string>;
1342
+ query: unknown;
1343
+ headers: {
1344
+ authorization: string;
1345
+ };
1346
+ response: {
1347
+ 200: {
1348
+ tags: string[];
1349
+ address: string;
1350
+ }[];
1351
+ };
1352
+ };
1353
+ };
1354
+ };
1336
1355
  } & {
1337
1356
  users: {
1338
1357
  ":address": {
@@ -1343,6 +1362,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1343
1362
  headers: unknown;
1344
1363
  response: {
1345
1364
  200: {
1365
+ tags: string[];
1346
1366
  address: string;
1347
1367
  } | null;
1348
1368
  };
@@ -1589,6 +1609,22 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1589
1609
  };
1590
1610
  };
1591
1611
  };
1612
+ } & {
1613
+ users: {
1614
+ sync: {
1615
+ post: {
1616
+ body: unknown;
1617
+ params: Record<never, string>;
1618
+ query: unknown;
1619
+ headers: {
1620
+ authorization: string;
1621
+ };
1622
+ response: {
1623
+ 200: void;
1624
+ };
1625
+ };
1626
+ };
1627
+ };
1592
1628
  } & {
1593
1629
  users: {
1594
1630
  ":address": {
@@ -1649,11 +1685,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1649
1685
  headers: unknown;
1650
1686
  response: {
1651
1687
  200: {
1652
- [chainId: number]: {
1653
- live: string;
1654
- lastTree: string;
1655
- };
1656
- };
1688
+ live: string;
1689
+ tree: string;
1690
+ lastTree: string;
1691
+ }[];
1657
1692
  };
1658
1693
  };
1659
1694
  };