@trinaryex/sdk 3.9.0 → 5.0.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 (47) hide show
  1. package/DESIGN.md +253 -71
  2. package/README.md +220 -16
  3. package/dist/ReadOnlyClient.d.ts +42 -8
  4. package/dist/TriexClient.d.ts +73 -8
  5. package/dist/armature/OrgClient.d.ts +372 -0
  6. package/dist/armature/OrgClientGroups.d.ts +186 -0
  7. package/dist/armature/OrgsApi.d.ts +69 -0
  8. package/dist/armature/actions.d.ts +75 -0
  9. package/dist/armature/create.d.ts +27 -0
  10. package/dist/armature/currency.d.ts +64 -0
  11. package/dist/armature/executors.d.ts +44 -0
  12. package/dist/armature/governance.d.ts +194 -0
  13. package/dist/armature/harness.d.ts +96 -0
  14. package/dist/armature/lifecycle.d.ts +84 -0
  15. package/dist/armature/plan.d.ts +39 -0
  16. package/dist/armature/proposals.d.ts +51 -0
  17. package/dist/armature/queries.d.ts +16 -0
  18. package/dist/armature/schemas.d.ts +559 -0
  19. package/dist/armature/trading.d.ts +114 -0
  20. package/dist/armature/transactions.d.ts +160 -0
  21. package/dist/armature/treasury.d.ts +41 -0
  22. package/dist/armature/tree.d.ts +13 -0
  23. package/dist/armature/types.d.ts +59 -0
  24. package/dist/armature/upgrade.d.ts +27 -0
  25. package/dist/armature/vault.d.ts +94 -0
  26. package/dist/coins/CoinsApi.d.ts +53 -0
  27. package/dist/coins/funding.d.ts +6 -0
  28. package/dist/coins/money.d.ts +36 -0
  29. package/dist/coins/onchain.d.ts +162 -0
  30. package/dist/coins/schemas.d.ts +456 -0
  31. package/dist/coins/transactions.d.ts +82 -0
  32. package/dist/coins/types.d.ts +115 -0
  33. package/dist/errors.d.ts +11 -1
  34. package/dist/funding.d.ts +2 -2
  35. package/dist/http.d.ts +3 -0
  36. package/dist/index.d.ts +63 -8
  37. package/dist/index.js +10620 -959
  38. package/dist/money.d.ts +15 -0
  39. package/dist/moveAbort.d.ts +28 -0
  40. package/dist/moveAbortCatalog.generated.d.ts +9 -0
  41. package/dist/onchain.d.ts +55 -3
  42. package/dist/paging.d.ts +9 -3
  43. package/dist/queries.d.ts +35 -7
  44. package/dist/schemas.d.ts +2257 -50
  45. package/dist/transactions.d.ts +63 -1
  46. package/dist/types.d.ts +118 -7
  47. package/package.json +3 -1
package/dist/schemas.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  export declare const bigintString: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3
+ export declare function openEnum<const T extends readonly [string, ...string[]]>(_known: T): z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | Awaited<T[number]>, string>>;
3
4
  export declare const DiscoveryOrderSchema: z.ZodPipe<z.ZodObject<{
4
5
  pool_id: z.ZodString;
5
6
  order_id: z.ZodString;
6
7
  price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
7
8
  is_bid: z.ZodBoolean;
8
- balance_manager_id: z.ZodString;
9
+ trading_account_id: z.ZodString;
9
10
  remaining_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
10
11
  filled_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
11
12
  expires_at: z.ZodNullable<z.ZodNumber>;
@@ -25,7 +26,7 @@ export declare const DiscoveryOrderSchema: z.ZodPipe<z.ZodObject<{
25
26
  orderId: string;
26
27
  price: bigint;
27
28
  isBid: boolean;
28
- balanceManagerId: string;
29
+ tradingAccountId: string;
29
30
  remainingQuantity: bigint;
30
31
  filledQuantity: bigint;
31
32
  expiresAt: number | null;
@@ -45,7 +46,7 @@ export declare const DiscoveryOrderSchema: z.ZodPipe<z.ZodObject<{
45
46
  order_id: string;
46
47
  price: bigint;
47
48
  is_bid: boolean;
48
- balance_manager_id: string;
49
+ trading_account_id: string;
49
50
  remaining_quantity: bigint;
50
51
  filled_quantity: bigint;
51
52
  expires_at: number | null;
@@ -67,7 +68,7 @@ export declare const DiscoveryResultSchema: z.ZodPipe<z.ZodObject<{
67
68
  order_id: z.ZodString;
68
69
  price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
69
70
  is_bid: z.ZodBoolean;
70
- balance_manager_id: z.ZodString;
71
+ trading_account_id: z.ZodString;
71
72
  remaining_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
72
73
  filled_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
73
74
  expires_at: z.ZodNullable<z.ZodNumber>;
@@ -87,7 +88,7 @@ export declare const DiscoveryResultSchema: z.ZodPipe<z.ZodObject<{
87
88
  orderId: string;
88
89
  price: bigint;
89
90
  isBid: boolean;
90
- balanceManagerId: string;
91
+ tradingAccountId: string;
91
92
  remainingQuantity: bigint;
92
93
  filledQuantity: bigint;
93
94
  expiresAt: number | null;
@@ -107,7 +108,7 @@ export declare const DiscoveryResultSchema: z.ZodPipe<z.ZodObject<{
107
108
  order_id: string;
108
109
  price: bigint;
109
110
  is_bid: boolean;
110
- balance_manager_id: string;
111
+ trading_account_id: string;
111
112
  remaining_quantity: bigint;
112
113
  filled_quantity: bigint;
113
114
  expires_at: number | null;
@@ -131,7 +132,7 @@ export declare const DiscoveryResultSchema: z.ZodPipe<z.ZodObject<{
131
132
  orderId: string;
132
133
  price: bigint;
133
134
  isBid: boolean;
134
- balanceManagerId: string;
135
+ tradingAccountId: string;
135
136
  remainingQuantity: bigint;
136
137
  filledQuantity: bigint;
137
138
  expiresAt: number | null;
@@ -155,7 +156,7 @@ export declare const DiscoveryResultSchema: z.ZodPipe<z.ZodObject<{
155
156
  orderId: string;
156
157
  price: bigint;
157
158
  isBid: boolean;
158
- balanceManagerId: string;
159
+ tradingAccountId: string;
159
160
  remainingQuantity: bigint;
160
161
  filledQuantity: bigint;
161
162
  expiresAt: number | null;
@@ -823,18 +824,18 @@ export declare const AssemblyEnrichedSchema: z.ZodPipe<z.ZodObject<{
823
824
  owner_character_id: string | null;
824
825
  assembly_name: string | null;
825
826
  }>>;
826
- export declare const BalanceManagerOwnerSchema: z.ZodPipe<z.ZodObject<{
827
- balance_manager_id: z.ZodString;
827
+ export declare const TradingAccountOwnerSchema: z.ZodPipe<z.ZodObject<{
828
+ trading_account_id: z.ZodString;
828
829
  owner: z.ZodNullable<z.ZodString>;
829
830
  owner_name: z.ZodNullable<z.ZodString>;
830
831
  root_ou_id: z.ZodNullable<z.ZodString>;
831
832
  }, z.core.$strip>, z.ZodTransform<{
832
- balanceManagerId: string;
833
+ tradingAccountId: string;
833
834
  owner: string | null;
834
835
  ownerName: string | null;
835
836
  rootOuId: string | null;
836
837
  }, {
837
- balance_manager_id: string;
838
+ trading_account_id: string;
838
839
  owner: string | null;
839
840
  owner_name: string | null;
840
841
  root_ou_id: string | null;
@@ -864,7 +865,7 @@ export declare const CoordinatesSchema: z.ZodPipe<z.ZodObject<{
864
865
  }>>;
865
866
  export declare const SolarSystemSchema: z.ZodPipe<z.ZodObject<{
866
867
  solar_system_id: z.ZodNumber;
867
- solar_system_name: z.ZodString;
868
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
868
869
  location: z.ZodPipe<z.ZodObject<{
869
870
  x: z.ZodString;
870
871
  y: z.ZodString;
@@ -882,7 +883,7 @@ export declare const SolarSystemSchema: z.ZodPipe<z.ZodObject<{
882
883
  region_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
883
884
  }, z.core.$strip>, z.ZodTransform<{
884
885
  solarSystemId: number;
885
- solarSystemName: string;
886
+ solarSystemName: string | null;
886
887
  location: {
887
888
  x: string;
888
889
  y: string;
@@ -892,12 +893,12 @@ export declare const SolarSystemSchema: z.ZodPipe<z.ZodObject<{
892
893
  regionId: number | null;
893
894
  }, {
894
895
  solar_system_id: number;
895
- solar_system_name: string;
896
896
  location: {
897
897
  x: string;
898
898
  y: string;
899
899
  z: string;
900
900
  };
901
+ solar_system_name?: string | null | undefined;
901
902
  constellation_id?: number | null | undefined;
902
903
  region_id?: number | null | undefined;
903
904
  }>>;
@@ -941,7 +942,7 @@ export declare const BatchSystemsSchema: z.ZodPipe<z.ZodObject<{
941
942
  count: z.ZodNumber;
942
943
  systems: z.ZodArray<z.ZodPipe<z.ZodObject<{
943
944
  solar_system_id: z.ZodNumber;
944
- solar_system_name: z.ZodString;
945
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
945
946
  location: z.ZodPipe<z.ZodObject<{
946
947
  x: z.ZodString;
947
948
  y: z.ZodString;
@@ -959,7 +960,7 @@ export declare const BatchSystemsSchema: z.ZodPipe<z.ZodObject<{
959
960
  region_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
960
961
  }, z.core.$strip>, z.ZodTransform<{
961
962
  solarSystemId: number;
962
- solarSystemName: string;
963
+ solarSystemName: string | null;
963
964
  location: {
964
965
  x: string;
965
966
  y: string;
@@ -969,12 +970,12 @@ export declare const BatchSystemsSchema: z.ZodPipe<z.ZodObject<{
969
970
  regionId: number | null;
970
971
  }, {
971
972
  solar_system_id: number;
972
- solar_system_name: string;
973
973
  location: {
974
974
  x: string;
975
975
  y: string;
976
976
  z: string;
977
977
  };
978
+ solar_system_name?: string | null | undefined;
978
979
  constellation_id?: number | null | undefined;
979
980
  region_id?: number | null | undefined;
980
981
  }>>>;
@@ -982,7 +983,7 @@ export declare const BatchSystemsSchema: z.ZodPipe<z.ZodObject<{
982
983
  count: number;
983
984
  systems: {
984
985
  solarSystemId: number;
985
- solarSystemName: string;
986
+ solarSystemName: string | null;
986
987
  location: {
987
988
  x: string;
988
989
  y: string;
@@ -995,7 +996,7 @@ export declare const BatchSystemsSchema: z.ZodPipe<z.ZodObject<{
995
996
  count: number;
996
997
  systems: {
997
998
  solarSystemId: number;
998
- solarSystemName: string;
999
+ solarSystemName: string | null;
999
1000
  location: {
1000
1001
  x: string;
1001
1002
  y: string;
@@ -1007,7 +1008,7 @@ export declare const BatchSystemsSchema: z.ZodPipe<z.ZodObject<{
1007
1008
  }>>;
1008
1009
  export declare const NearbySystemsSchema: z.ZodPipe<z.ZodObject<{
1009
1010
  solar_system_id: z.ZodNumber;
1010
- solar_system_name: z.ZodString;
1011
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1011
1012
  radius_ly: z.ZodString;
1012
1013
  count: z.ZodNumber;
1013
1014
  systems: z.ZodArray<z.ZodPipe<z.ZodObject<{
@@ -1048,7 +1049,7 @@ export declare const NearbySystemsSchema: z.ZodPipe<z.ZodObject<{
1048
1049
  }>>>;
1049
1050
  }, z.core.$strip>, z.ZodTransform<{
1050
1051
  originSolarSystemId: number;
1051
- originSolarSystemName: string;
1052
+ originSolarSystemName: string | null;
1052
1053
  radiusLy: string;
1053
1054
  count: number;
1054
1055
  systems: {
@@ -1063,7 +1064,6 @@ export declare const NearbySystemsSchema: z.ZodPipe<z.ZodObject<{
1063
1064
  }[];
1064
1065
  }, {
1065
1066
  solar_system_id: number;
1066
- solar_system_name: string;
1067
1067
  radius_ly: string;
1068
1068
  count: number;
1069
1069
  systems: {
@@ -1076,6 +1076,7 @@ export declare const NearbySystemsSchema: z.ZodPipe<z.ZodObject<{
1076
1076
  z: string;
1077
1077
  } | null;
1078
1078
  }[];
1079
+ solar_system_name?: string | null | undefined;
1079
1080
  }>>;
1080
1081
  export declare const CoordinateSearchSchema: z.ZodPipe<z.ZodObject<{
1081
1082
  location: z.ZodPipe<z.ZodObject<{
@@ -1203,13 +1204,16 @@ export declare const AutocompleteSystemsSchema: z.ZodPipe<z.ZodObject<{
1203
1204
  }>>;
1204
1205
  export declare const SpatialStatsSchema: z.ZodPipe<z.ZodObject<{
1205
1206
  total_systems: z.ZodNumber;
1207
+ known_solar_system_names: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1206
1208
  status: z.ZodString;
1207
1209
  }, z.core.$strip>, z.ZodTransform<{
1208
1210
  totalSystems: number;
1211
+ knownSolarSystemNames: number | null;
1209
1212
  status: string;
1210
1213
  }, {
1211
1214
  total_systems: number;
1212
1215
  status: string;
1216
+ known_solar_system_names?: number | null | undefined;
1213
1217
  }>>;
1214
1218
  export declare const ItemRecipeComponentSchema: z.ZodPipe<z.ZodObject<{
1215
1219
  asset_id: z.ZodString;
@@ -1611,7 +1615,7 @@ export declare const FillSchema: z.ZodPipe<z.ZodObject<{
1611
1615
  event_digest: z.ZodString;
1612
1616
  pool_id: z.ZodString;
1613
1617
  order_id: z.ZodString;
1614
- counterparty_balance_manager_id: z.ZodString;
1618
+ counterparty_trading_account_id: z.ZodString;
1615
1619
  price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1616
1620
  base_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1617
1621
  quote_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
@@ -1626,7 +1630,7 @@ export declare const FillSchema: z.ZodPipe<z.ZodObject<{
1626
1630
  eventDigest: string;
1627
1631
  poolId: string;
1628
1632
  orderId: string;
1629
- counterpartyBalanceManagerId: string;
1633
+ counterpartyTradingAccountId: string;
1630
1634
  price: bigint;
1631
1635
  baseQuantity: bigint;
1632
1636
  quoteQuantity: bigint;
@@ -1638,7 +1642,7 @@ export declare const FillSchema: z.ZodPipe<z.ZodObject<{
1638
1642
  event_digest: string;
1639
1643
  pool_id: string;
1640
1644
  order_id: string;
1641
- counterparty_balance_manager_id: string;
1645
+ counterparty_trading_account_id: string;
1642
1646
  price: bigint;
1643
1647
  base_quantity: bigint;
1644
1648
  quote_quantity: bigint;
@@ -1652,7 +1656,7 @@ export declare const FillsPageSchema: z.ZodPipe<z.ZodObject<{
1652
1656
  event_digest: z.ZodString;
1653
1657
  pool_id: z.ZodString;
1654
1658
  order_id: z.ZodString;
1655
- counterparty_balance_manager_id: z.ZodString;
1659
+ counterparty_trading_account_id: z.ZodString;
1656
1660
  price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1657
1661
  base_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1658
1662
  quote_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
@@ -1667,7 +1671,7 @@ export declare const FillsPageSchema: z.ZodPipe<z.ZodObject<{
1667
1671
  eventDigest: string;
1668
1672
  poolId: string;
1669
1673
  orderId: string;
1670
- counterpartyBalanceManagerId: string;
1674
+ counterpartyTradingAccountId: string;
1671
1675
  price: bigint;
1672
1676
  baseQuantity: bigint;
1673
1677
  quoteQuantity: bigint;
@@ -1679,7 +1683,7 @@ export declare const FillsPageSchema: z.ZodPipe<z.ZodObject<{
1679
1683
  event_digest: string;
1680
1684
  pool_id: string;
1681
1685
  order_id: string;
1682
- counterparty_balance_manager_id: string;
1686
+ counterparty_trading_account_id: string;
1683
1687
  price: bigint;
1684
1688
  base_quantity: bigint;
1685
1689
  quote_quantity: bigint;
@@ -1694,7 +1698,7 @@ export declare const FillsPageSchema: z.ZodPipe<z.ZodObject<{
1694
1698
  eventDigest: string;
1695
1699
  poolId: string;
1696
1700
  orderId: string;
1697
- counterpartyBalanceManagerId: string;
1701
+ counterpartyTradingAccountId: string;
1698
1702
  price: bigint;
1699
1703
  baseQuantity: bigint;
1700
1704
  quoteQuantity: bigint;
@@ -1709,7 +1713,7 @@ export declare const FillsPageSchema: z.ZodPipe<z.ZodObject<{
1709
1713
  eventDigest: string;
1710
1714
  poolId: string;
1711
1715
  orderId: string;
1712
- counterpartyBalanceManagerId: string;
1716
+ counterpartyTradingAccountId: string;
1713
1717
  price: bigint;
1714
1718
  baseQuantity: bigint;
1715
1719
  quoteQuantity: bigint;
@@ -1724,7 +1728,7 @@ export declare const TradeSchema: z.ZodPipe<z.ZodObject<{
1724
1728
  event_digest: z.ZodString;
1725
1729
  pool_id: z.ZodString;
1726
1730
  order_id: z.ZodString;
1727
- counterparty_balance_manager_id: z.ZodString;
1731
+ counterparty_trading_account_id: z.ZodString;
1728
1732
  price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1729
1733
  base_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1730
1734
  quote_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
@@ -1744,7 +1748,7 @@ export declare const TradeSchema: z.ZodPipe<z.ZodObject<{
1744
1748
  eventDigest: string;
1745
1749
  poolId: string;
1746
1750
  orderId: string;
1747
- counterpartyBalanceManagerId: string;
1751
+ counterpartyTradingAccountId: string;
1748
1752
  price: bigint;
1749
1753
  baseQuantity: bigint;
1750
1754
  quoteQuantity: bigint;
@@ -1758,7 +1762,7 @@ export declare const TradeSchema: z.ZodPipe<z.ZodObject<{
1758
1762
  event_digest: string;
1759
1763
  pool_id: string;
1760
1764
  order_id: string;
1761
- counterparty_balance_manager_id: string;
1765
+ counterparty_trading_account_id: string;
1762
1766
  price: bigint;
1763
1767
  base_quantity: bigint;
1764
1768
  quote_quantity: bigint;
@@ -1774,7 +1778,7 @@ export declare const TradesPageSchema: z.ZodPipe<z.ZodObject<{
1774
1778
  event_digest: z.ZodString;
1775
1779
  pool_id: z.ZodString;
1776
1780
  order_id: z.ZodString;
1777
- counterparty_balance_manager_id: z.ZodString;
1781
+ counterparty_trading_account_id: z.ZodString;
1778
1782
  price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1779
1783
  base_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1780
1784
  quote_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
@@ -1794,7 +1798,7 @@ export declare const TradesPageSchema: z.ZodPipe<z.ZodObject<{
1794
1798
  eventDigest: string;
1795
1799
  poolId: string;
1796
1800
  orderId: string;
1797
- counterpartyBalanceManagerId: string;
1801
+ counterpartyTradingAccountId: string;
1798
1802
  price: bigint;
1799
1803
  baseQuantity: bigint;
1800
1804
  quoteQuantity: bigint;
@@ -1808,7 +1812,7 @@ export declare const TradesPageSchema: z.ZodPipe<z.ZodObject<{
1808
1812
  event_digest: string;
1809
1813
  pool_id: string;
1810
1814
  order_id: string;
1811
- counterparty_balance_manager_id: string;
1815
+ counterparty_trading_account_id: string;
1812
1816
  price: bigint;
1813
1817
  base_quantity: bigint;
1814
1818
  quote_quantity: bigint;
@@ -1825,7 +1829,7 @@ export declare const TradesPageSchema: z.ZodPipe<z.ZodObject<{
1825
1829
  eventDigest: string;
1826
1830
  poolId: string;
1827
1831
  orderId: string;
1828
- counterpartyBalanceManagerId: string;
1832
+ counterpartyTradingAccountId: string;
1829
1833
  price: bigint;
1830
1834
  baseQuantity: bigint;
1831
1835
  quoteQuantity: bigint;
@@ -1842,7 +1846,7 @@ export declare const TradesPageSchema: z.ZodPipe<z.ZodObject<{
1842
1846
  eventDigest: string;
1843
1847
  poolId: string;
1844
1848
  orderId: string;
1845
- counterpartyBalanceManagerId: string;
1849
+ counterpartyTradingAccountId: string;
1846
1850
  price: bigint;
1847
1851
  baseQuantity: bigint;
1848
1852
  quoteQuantity: bigint;
@@ -1943,8 +1947,8 @@ export declare const SweepableItemSchema: z.ZodPipe<z.ZodObject<{
1943
1947
  collection_id: z.ZodString;
1944
1948
  asset_id: z.ZodString;
1945
1949
  amount: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
1946
- storage_unit_id: z.ZodString;
1947
- vault_config_id: z.ZodString;
1950
+ storage_unit_id: z.ZodNullable<z.ZodString>;
1951
+ vault_config_id: z.ZodNullable<z.ZodString>;
1948
1952
  }, z.core.$strip>, z.ZodTransform<{
1949
1953
  collectionId: string;
1950
1954
  assetId: string;
@@ -1955,11 +1959,11 @@ export declare const SweepableItemSchema: z.ZodPipe<z.ZodObject<{
1955
1959
  collection_id: string;
1956
1960
  asset_id: string;
1957
1961
  amount: bigint;
1958
- storage_unit_id: string;
1959
- vault_config_id: string;
1962
+ storage_unit_id: string | null;
1963
+ vault_config_id: string | null;
1960
1964
  }>>;
1961
1965
  export declare const SweepableSchema: z.ZodPipe<z.ZodObject<{
1962
- balance_manager_id: z.ZodString;
1966
+ trading_account_id: z.ZodString;
1963
1967
  as_of_checkpoint: z.ZodNullable<z.ZodString>;
1964
1968
  pools: z.ZodArray<z.ZodPipe<z.ZodObject<{
1965
1969
  pool_id: z.ZodString;
@@ -2036,8 +2040,8 @@ export declare const SweepableSchema: z.ZodPipe<z.ZodObject<{
2036
2040
  collection_id: z.ZodString;
2037
2041
  asset_id: z.ZodString;
2038
2042
  amount: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2039
- storage_unit_id: z.ZodString;
2040
- vault_config_id: z.ZodString;
2043
+ storage_unit_id: z.ZodNullable<z.ZodString>;
2044
+ vault_config_id: z.ZodNullable<z.ZodString>;
2041
2045
  }, z.core.$strip>, z.ZodTransform<{
2042
2046
  collectionId: string;
2043
2047
  assetId: string;
@@ -2048,11 +2052,11 @@ export declare const SweepableSchema: z.ZodPipe<z.ZodObject<{
2048
2052
  collection_id: string;
2049
2053
  asset_id: string;
2050
2054
  amount: bigint;
2051
- storage_unit_id: string;
2052
- vault_config_id: string;
2055
+ storage_unit_id: string | null;
2056
+ vault_config_id: string | null;
2053
2057
  }>>>;
2054
2058
  }, z.core.$strip>, z.ZodTransform<{
2055
- balanceManagerId: string;
2059
+ tradingAccountId: string;
2056
2060
  asOfCheckpoint: string | null;
2057
2061
  pools: {
2058
2062
  poolId: string;
@@ -2081,7 +2085,7 @@ export declare const SweepableSchema: z.ZodPipe<z.ZodObject<{
2081
2085
  vaultConfigId: string;
2082
2086
  }[];
2083
2087
  }, {
2084
- balance_manager_id: string;
2088
+ trading_account_id: string;
2085
2089
  as_of_checkpoint: string | null;
2086
2090
  pools: {
2087
2091
  poolId: string;
@@ -2110,4 +2114,2207 @@ export declare const SweepableSchema: z.ZodPipe<z.ZodObject<{
2110
2114
  vaultConfigId: string;
2111
2115
  }[];
2112
2116
  }>>;
2117
+ export declare const ORDER_STATUSES: readonly ["open", "filled", "cancelled"];
2118
+ export declare const ORDER_TYPES: readonly ["market_buy", "market_sell", "limit_buy", "limit_sell"];
2119
+ export declare const OrderCharacterSchema: z.ZodPipe<z.ZodObject<{
2120
+ character_id: z.ZodString;
2121
+ item_id: z.ZodString;
2122
+ tenant: z.ZodString;
2123
+ tribe_id: z.ZodNullable<z.ZodNumber>;
2124
+ character_address: z.ZodString;
2125
+ name: z.ZodString;
2126
+ description: z.ZodString;
2127
+ url: z.ZodString;
2128
+ }, z.core.$strip>, z.ZodTransform<{
2129
+ characterId: string;
2130
+ itemId: string;
2131
+ tenant: string;
2132
+ tribeId: number | null;
2133
+ characterAddress: string;
2134
+ name: string;
2135
+ description: string;
2136
+ url: string;
2137
+ }, {
2138
+ character_id: string;
2139
+ item_id: string;
2140
+ tenant: string;
2141
+ tribe_id: number | null;
2142
+ character_address: string;
2143
+ name: string;
2144
+ description: string;
2145
+ url: string;
2146
+ }>>;
2147
+ export declare const OrderPartySchema: z.ZodPipe<z.ZodObject<{
2148
+ id: z.ZodString;
2149
+ owner: z.ZodNullable<z.ZodString>;
2150
+ character: z.ZodNullable<z.ZodPipe<z.ZodObject<{
2151
+ character_id: z.ZodString;
2152
+ item_id: z.ZodString;
2153
+ tenant: z.ZodString;
2154
+ tribe_id: z.ZodNullable<z.ZodNumber>;
2155
+ character_address: z.ZodString;
2156
+ name: z.ZodString;
2157
+ description: z.ZodString;
2158
+ url: z.ZodString;
2159
+ }, z.core.$strip>, z.ZodTransform<{
2160
+ characterId: string;
2161
+ itemId: string;
2162
+ tenant: string;
2163
+ tribeId: number | null;
2164
+ characterAddress: string;
2165
+ name: string;
2166
+ description: string;
2167
+ url: string;
2168
+ }, {
2169
+ character_id: string;
2170
+ item_id: string;
2171
+ tenant: string;
2172
+ tribe_id: number | null;
2173
+ character_address: string;
2174
+ name: string;
2175
+ description: string;
2176
+ url: string;
2177
+ }>>>;
2178
+ }, z.core.$strip>, z.ZodTransform<{
2179
+ tradingAccountId: string;
2180
+ owner: string | null;
2181
+ character: {
2182
+ characterId: string;
2183
+ itemId: string;
2184
+ tenant: string;
2185
+ tribeId: number | null;
2186
+ characterAddress: string;
2187
+ name: string;
2188
+ description: string;
2189
+ url: string;
2190
+ } | null;
2191
+ }, {
2192
+ id: string;
2193
+ owner: string | null;
2194
+ character: {
2195
+ characterId: string;
2196
+ itemId: string;
2197
+ tenant: string;
2198
+ tribeId: number | null;
2199
+ characterAddress: string;
2200
+ name: string;
2201
+ description: string;
2202
+ url: string;
2203
+ } | null;
2204
+ }>>;
2205
+ export declare const OrderHubSchema: z.ZodPipe<z.ZodObject<{
2206
+ hub_id: z.ZodString;
2207
+ assembly_item_id: z.ZodString;
2208
+ assembly_tenant: z.ZodString;
2209
+ type_id: z.ZodString;
2210
+ owner_cap_id: z.ZodString;
2211
+ owner: z.ZodNullable<z.ZodString>;
2212
+ solarsystem: z.ZodString;
2213
+ x: z.ZodString;
2214
+ y: z.ZodString;
2215
+ z: z.ZodString;
2216
+ solar_system_id: z.ZodNullable<z.ZodNumber>;
2217
+ solar_system_name: z.ZodNullable<z.ZodString>;
2218
+ is_public: z.ZodBoolean;
2219
+ region_id: z.ZodNullable<z.ZodNumber>;
2220
+ }, z.core.$strip>, z.ZodTransform<{
2221
+ hubId: string;
2222
+ assemblyItemId: string;
2223
+ assemblyTenant: string;
2224
+ typeId: string;
2225
+ ownerCapId: string;
2226
+ owner: string | null;
2227
+ solarSystem: string;
2228
+ x: string;
2229
+ y: string;
2230
+ z: string;
2231
+ solarSystemId: number | null;
2232
+ solarSystemName: string | null;
2233
+ isPublic: boolean;
2234
+ regionId: number | null;
2235
+ }, {
2236
+ hub_id: string;
2237
+ assembly_item_id: string;
2238
+ assembly_tenant: string;
2239
+ type_id: string;
2240
+ owner_cap_id: string;
2241
+ owner: string | null;
2242
+ solarsystem: string;
2243
+ x: string;
2244
+ y: string;
2245
+ z: string;
2246
+ solar_system_id: number | null;
2247
+ solar_system_name: string | null;
2248
+ is_public: boolean;
2249
+ region_id: number | null;
2250
+ }>>;
2251
+ export declare const OrderCurrencySchema: z.ZodPipe<z.ZodObject<{
2252
+ type_string: z.ZodString;
2253
+ name: z.ZodNullable<z.ZodString>;
2254
+ decimals: z.ZodNumber;
2255
+ icon_url: z.ZodNullable<z.ZodString>;
2256
+ }, z.core.$strip>, z.ZodTransform<{
2257
+ coinType: string;
2258
+ name: string | null;
2259
+ decimals: number;
2260
+ iconUrl: string | null;
2261
+ }, {
2262
+ type_string: string;
2263
+ name: string | null;
2264
+ decimals: number;
2265
+ icon_url: string | null;
2266
+ }>>;
2267
+ export declare const OrderDetailFillSchema: z.ZodPipe<z.ZodObject<{
2268
+ event_digest: z.ZodString;
2269
+ price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2270
+ base_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2271
+ quote_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2272
+ fee: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2273
+ role: z.ZodEnum<{
2274
+ maker: "maker";
2275
+ taker: "taker";
2276
+ }>;
2277
+ counterparty_trading_account_id: z.ZodString;
2278
+ counterparty: z.ZodNullable<z.ZodPipe<z.ZodObject<{
2279
+ id: z.ZodString;
2280
+ owner: z.ZodNullable<z.ZodString>;
2281
+ character: z.ZodNullable<z.ZodPipe<z.ZodObject<{
2282
+ character_id: z.ZodString;
2283
+ item_id: z.ZodString;
2284
+ tenant: z.ZodString;
2285
+ tribe_id: z.ZodNullable<z.ZodNumber>;
2286
+ character_address: z.ZodString;
2287
+ name: z.ZodString;
2288
+ description: z.ZodString;
2289
+ url: z.ZodString;
2290
+ }, z.core.$strip>, z.ZodTransform<{
2291
+ characterId: string;
2292
+ itemId: string;
2293
+ tenant: string;
2294
+ tribeId: number | null;
2295
+ characterAddress: string;
2296
+ name: string;
2297
+ description: string;
2298
+ url: string;
2299
+ }, {
2300
+ character_id: string;
2301
+ item_id: string;
2302
+ tenant: string;
2303
+ tribe_id: number | null;
2304
+ character_address: string;
2305
+ name: string;
2306
+ description: string;
2307
+ url: string;
2308
+ }>>>;
2309
+ }, z.core.$strip>, z.ZodTransform<{
2310
+ tradingAccountId: string;
2311
+ owner: string | null;
2312
+ character: {
2313
+ characterId: string;
2314
+ itemId: string;
2315
+ tenant: string;
2316
+ tribeId: number | null;
2317
+ characterAddress: string;
2318
+ name: string;
2319
+ description: string;
2320
+ url: string;
2321
+ } | null;
2322
+ }, {
2323
+ id: string;
2324
+ owner: string | null;
2325
+ character: {
2326
+ characterId: string;
2327
+ itemId: string;
2328
+ tenant: string;
2329
+ tribeId: number | null;
2330
+ characterAddress: string;
2331
+ name: string;
2332
+ description: string;
2333
+ url: string;
2334
+ } | null;
2335
+ }>>>;
2336
+ traded_at: z.ZodNumber;
2337
+ }, z.core.$strip>, z.ZodTransform<{
2338
+ eventDigest: string;
2339
+ price: bigint;
2340
+ baseQuantity: bigint;
2341
+ quoteQuantity: bigint;
2342
+ fee: bigint;
2343
+ role: "maker" | "taker";
2344
+ counterpartyTradingAccountId: string;
2345
+ counterparty: {
2346
+ tradingAccountId: string;
2347
+ owner: string | null;
2348
+ character: {
2349
+ characterId: string;
2350
+ itemId: string;
2351
+ tenant: string;
2352
+ tribeId: number | null;
2353
+ characterAddress: string;
2354
+ name: string;
2355
+ description: string;
2356
+ url: string;
2357
+ } | null;
2358
+ } | null;
2359
+ tradedAt: number;
2360
+ }, {
2361
+ event_digest: string;
2362
+ price: bigint;
2363
+ base_quantity: bigint;
2364
+ quote_quantity: bigint;
2365
+ fee: bigint;
2366
+ role: "maker" | "taker";
2367
+ counterparty_trading_account_id: string;
2368
+ counterparty: {
2369
+ tradingAccountId: string;
2370
+ owner: string | null;
2371
+ character: {
2372
+ characterId: string;
2373
+ itemId: string;
2374
+ tenant: string;
2375
+ tribeId: number | null;
2376
+ characterAddress: string;
2377
+ name: string;
2378
+ description: string;
2379
+ url: string;
2380
+ } | null;
2381
+ } | null;
2382
+ traded_at: number;
2383
+ }>>;
2384
+ export declare const OrderDetailSchema: z.ZodPipe<z.ZodObject<{
2385
+ order_id: z.ZodString;
2386
+ pool_id: z.ZodString;
2387
+ side: z.ZodEnum<{
2388
+ buy: "buy";
2389
+ sell: "sell";
2390
+ }>;
2391
+ order_type: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell", string>>>;
2392
+ status: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "open" | "filled" | "cancelled", string>>;
2393
+ price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2394
+ quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2395
+ remaining_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2396
+ filled_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2397
+ expires_at: z.ZodNumber;
2398
+ updated_at: z.ZodNumber;
2399
+ asset_id: z.ZodString;
2400
+ asset_name: z.ZodNullable<z.ZodString>;
2401
+ trading_account: z.ZodPipe<z.ZodObject<{
2402
+ id: z.ZodString;
2403
+ owner: z.ZodNullable<z.ZodString>;
2404
+ character: z.ZodNullable<z.ZodPipe<z.ZodObject<{
2405
+ character_id: z.ZodString;
2406
+ item_id: z.ZodString;
2407
+ tenant: z.ZodString;
2408
+ tribe_id: z.ZodNullable<z.ZodNumber>;
2409
+ character_address: z.ZodString;
2410
+ name: z.ZodString;
2411
+ description: z.ZodString;
2412
+ url: z.ZodString;
2413
+ }, z.core.$strip>, z.ZodTransform<{
2414
+ characterId: string;
2415
+ itemId: string;
2416
+ tenant: string;
2417
+ tribeId: number | null;
2418
+ characterAddress: string;
2419
+ name: string;
2420
+ description: string;
2421
+ url: string;
2422
+ }, {
2423
+ character_id: string;
2424
+ item_id: string;
2425
+ tenant: string;
2426
+ tribe_id: number | null;
2427
+ character_address: string;
2428
+ name: string;
2429
+ description: string;
2430
+ url: string;
2431
+ }>>>;
2432
+ }, z.core.$strip>, z.ZodTransform<{
2433
+ tradingAccountId: string;
2434
+ owner: string | null;
2435
+ character: {
2436
+ characterId: string;
2437
+ itemId: string;
2438
+ tenant: string;
2439
+ tribeId: number | null;
2440
+ characterAddress: string;
2441
+ name: string;
2442
+ description: string;
2443
+ url: string;
2444
+ } | null;
2445
+ }, {
2446
+ id: string;
2447
+ owner: string | null;
2448
+ character: {
2449
+ characterId: string;
2450
+ itemId: string;
2451
+ tenant: string;
2452
+ tribeId: number | null;
2453
+ characterAddress: string;
2454
+ name: string;
2455
+ description: string;
2456
+ url: string;
2457
+ } | null;
2458
+ }>>;
2459
+ hub: z.ZodNullable<z.ZodPipe<z.ZodObject<{
2460
+ hub_id: z.ZodString;
2461
+ assembly_item_id: z.ZodString;
2462
+ assembly_tenant: z.ZodString;
2463
+ type_id: z.ZodString;
2464
+ owner_cap_id: z.ZodString;
2465
+ owner: z.ZodNullable<z.ZodString>;
2466
+ solarsystem: z.ZodString;
2467
+ x: z.ZodString;
2468
+ y: z.ZodString;
2469
+ z: z.ZodString;
2470
+ solar_system_id: z.ZodNullable<z.ZodNumber>;
2471
+ solar_system_name: z.ZodNullable<z.ZodString>;
2472
+ is_public: z.ZodBoolean;
2473
+ region_id: z.ZodNullable<z.ZodNumber>;
2474
+ }, z.core.$strip>, z.ZodTransform<{
2475
+ hubId: string;
2476
+ assemblyItemId: string;
2477
+ assemblyTenant: string;
2478
+ typeId: string;
2479
+ ownerCapId: string;
2480
+ owner: string | null;
2481
+ solarSystem: string;
2482
+ x: string;
2483
+ y: string;
2484
+ z: string;
2485
+ solarSystemId: number | null;
2486
+ solarSystemName: string | null;
2487
+ isPublic: boolean;
2488
+ regionId: number | null;
2489
+ }, {
2490
+ hub_id: string;
2491
+ assembly_item_id: string;
2492
+ assembly_tenant: string;
2493
+ type_id: string;
2494
+ owner_cap_id: string;
2495
+ owner: string | null;
2496
+ solarsystem: string;
2497
+ x: string;
2498
+ y: string;
2499
+ z: string;
2500
+ solar_system_id: number | null;
2501
+ solar_system_name: string | null;
2502
+ is_public: boolean;
2503
+ region_id: number | null;
2504
+ }>>>;
2505
+ currency: z.ZodNullable<z.ZodPipe<z.ZodObject<{
2506
+ type_string: z.ZodString;
2507
+ name: z.ZodNullable<z.ZodString>;
2508
+ decimals: z.ZodNumber;
2509
+ icon_url: z.ZodNullable<z.ZodString>;
2510
+ }, z.core.$strip>, z.ZodTransform<{
2511
+ coinType: string;
2512
+ name: string | null;
2513
+ decimals: number;
2514
+ iconUrl: string | null;
2515
+ }, {
2516
+ type_string: string;
2517
+ name: string | null;
2518
+ decimals: number;
2519
+ icon_url: string | null;
2520
+ }>>>;
2521
+ fills: z.ZodArray<z.ZodPipe<z.ZodObject<{
2522
+ event_digest: z.ZodString;
2523
+ price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2524
+ base_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2525
+ quote_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2526
+ fee: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2527
+ role: z.ZodEnum<{
2528
+ maker: "maker";
2529
+ taker: "taker";
2530
+ }>;
2531
+ counterparty_trading_account_id: z.ZodString;
2532
+ counterparty: z.ZodNullable<z.ZodPipe<z.ZodObject<{
2533
+ id: z.ZodString;
2534
+ owner: z.ZodNullable<z.ZodString>;
2535
+ character: z.ZodNullable<z.ZodPipe<z.ZodObject<{
2536
+ character_id: z.ZodString;
2537
+ item_id: z.ZodString;
2538
+ tenant: z.ZodString;
2539
+ tribe_id: z.ZodNullable<z.ZodNumber>;
2540
+ character_address: z.ZodString;
2541
+ name: z.ZodString;
2542
+ description: z.ZodString;
2543
+ url: z.ZodString;
2544
+ }, z.core.$strip>, z.ZodTransform<{
2545
+ characterId: string;
2546
+ itemId: string;
2547
+ tenant: string;
2548
+ tribeId: number | null;
2549
+ characterAddress: string;
2550
+ name: string;
2551
+ description: string;
2552
+ url: string;
2553
+ }, {
2554
+ character_id: string;
2555
+ item_id: string;
2556
+ tenant: string;
2557
+ tribe_id: number | null;
2558
+ character_address: string;
2559
+ name: string;
2560
+ description: string;
2561
+ url: string;
2562
+ }>>>;
2563
+ }, z.core.$strip>, z.ZodTransform<{
2564
+ tradingAccountId: string;
2565
+ owner: string | null;
2566
+ character: {
2567
+ characterId: string;
2568
+ itemId: string;
2569
+ tenant: string;
2570
+ tribeId: number | null;
2571
+ characterAddress: string;
2572
+ name: string;
2573
+ description: string;
2574
+ url: string;
2575
+ } | null;
2576
+ }, {
2577
+ id: string;
2578
+ owner: string | null;
2579
+ character: {
2580
+ characterId: string;
2581
+ itemId: string;
2582
+ tenant: string;
2583
+ tribeId: number | null;
2584
+ characterAddress: string;
2585
+ name: string;
2586
+ description: string;
2587
+ url: string;
2588
+ } | null;
2589
+ }>>>;
2590
+ traded_at: z.ZodNumber;
2591
+ }, z.core.$strip>, z.ZodTransform<{
2592
+ eventDigest: string;
2593
+ price: bigint;
2594
+ baseQuantity: bigint;
2595
+ quoteQuantity: bigint;
2596
+ fee: bigint;
2597
+ role: "maker" | "taker";
2598
+ counterpartyTradingAccountId: string;
2599
+ counterparty: {
2600
+ tradingAccountId: string;
2601
+ owner: string | null;
2602
+ character: {
2603
+ characterId: string;
2604
+ itemId: string;
2605
+ tenant: string;
2606
+ tribeId: number | null;
2607
+ characterAddress: string;
2608
+ name: string;
2609
+ description: string;
2610
+ url: string;
2611
+ } | null;
2612
+ } | null;
2613
+ tradedAt: number;
2614
+ }, {
2615
+ event_digest: string;
2616
+ price: bigint;
2617
+ base_quantity: bigint;
2618
+ quote_quantity: bigint;
2619
+ fee: bigint;
2620
+ role: "maker" | "taker";
2621
+ counterparty_trading_account_id: string;
2622
+ counterparty: {
2623
+ tradingAccountId: string;
2624
+ owner: string | null;
2625
+ character: {
2626
+ characterId: string;
2627
+ itemId: string;
2628
+ tenant: string;
2629
+ tribeId: number | null;
2630
+ characterAddress: string;
2631
+ name: string;
2632
+ description: string;
2633
+ url: string;
2634
+ } | null;
2635
+ } | null;
2636
+ traded_at: number;
2637
+ }>>>;
2638
+ }, z.core.$strip>, z.ZodTransform<{
2639
+ orderId: string;
2640
+ poolId: string;
2641
+ side: "buy" | "sell";
2642
+ orderType: (string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell" | null;
2643
+ status: (string & {}) | "open" | "filled" | "cancelled";
2644
+ price: bigint;
2645
+ quantity: bigint;
2646
+ remainingQuantity: bigint;
2647
+ filledQuantity: bigint;
2648
+ expiresAt: number;
2649
+ updatedAt: number;
2650
+ assetId: string;
2651
+ assetName: string | null;
2652
+ tradingAccount: {
2653
+ tradingAccountId: string;
2654
+ owner: string | null;
2655
+ character: {
2656
+ characterId: string;
2657
+ itemId: string;
2658
+ tenant: string;
2659
+ tribeId: number | null;
2660
+ characterAddress: string;
2661
+ name: string;
2662
+ description: string;
2663
+ url: string;
2664
+ } | null;
2665
+ };
2666
+ hub: {
2667
+ hubId: string;
2668
+ assemblyItemId: string;
2669
+ assemblyTenant: string;
2670
+ typeId: string;
2671
+ ownerCapId: string;
2672
+ owner: string | null;
2673
+ solarSystem: string;
2674
+ x: string;
2675
+ y: string;
2676
+ z: string;
2677
+ solarSystemId: number | null;
2678
+ solarSystemName: string | null;
2679
+ isPublic: boolean;
2680
+ regionId: number | null;
2681
+ } | null;
2682
+ currency: {
2683
+ coinType: string;
2684
+ name: string | null;
2685
+ decimals: number;
2686
+ iconUrl: string | null;
2687
+ } | null;
2688
+ fills: {
2689
+ eventDigest: string;
2690
+ price: bigint;
2691
+ baseQuantity: bigint;
2692
+ quoteQuantity: bigint;
2693
+ fee: bigint;
2694
+ role: "maker" | "taker";
2695
+ counterpartyTradingAccountId: string;
2696
+ counterparty: {
2697
+ tradingAccountId: string;
2698
+ owner: string | null;
2699
+ character: {
2700
+ characterId: string;
2701
+ itemId: string;
2702
+ tenant: string;
2703
+ tribeId: number | null;
2704
+ characterAddress: string;
2705
+ name: string;
2706
+ description: string;
2707
+ url: string;
2708
+ } | null;
2709
+ } | null;
2710
+ tradedAt: number;
2711
+ }[];
2712
+ }, {
2713
+ order_id: string;
2714
+ pool_id: string;
2715
+ side: "buy" | "sell";
2716
+ order_type: (string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell" | null;
2717
+ status: (string & {}) | "open" | "filled" | "cancelled";
2718
+ price: bigint;
2719
+ quantity: bigint;
2720
+ remaining_quantity: bigint;
2721
+ filled_quantity: bigint;
2722
+ expires_at: number;
2723
+ updated_at: number;
2724
+ asset_id: string;
2725
+ asset_name: string | null;
2726
+ trading_account: {
2727
+ tradingAccountId: string;
2728
+ owner: string | null;
2729
+ character: {
2730
+ characterId: string;
2731
+ itemId: string;
2732
+ tenant: string;
2733
+ tribeId: number | null;
2734
+ characterAddress: string;
2735
+ name: string;
2736
+ description: string;
2737
+ url: string;
2738
+ } | null;
2739
+ };
2740
+ hub: {
2741
+ hubId: string;
2742
+ assemblyItemId: string;
2743
+ assemblyTenant: string;
2744
+ typeId: string;
2745
+ ownerCapId: string;
2746
+ owner: string | null;
2747
+ solarSystem: string;
2748
+ x: string;
2749
+ y: string;
2750
+ z: string;
2751
+ solarSystemId: number | null;
2752
+ solarSystemName: string | null;
2753
+ isPublic: boolean;
2754
+ regionId: number | null;
2755
+ } | null;
2756
+ currency: {
2757
+ coinType: string;
2758
+ name: string | null;
2759
+ decimals: number;
2760
+ iconUrl: string | null;
2761
+ } | null;
2762
+ fills: {
2763
+ eventDigest: string;
2764
+ price: bigint;
2765
+ baseQuantity: bigint;
2766
+ quoteQuantity: bigint;
2767
+ fee: bigint;
2768
+ role: "maker" | "taker";
2769
+ counterpartyTradingAccountId: string;
2770
+ counterparty: {
2771
+ tradingAccountId: string;
2772
+ owner: string | null;
2773
+ character: {
2774
+ characterId: string;
2775
+ itemId: string;
2776
+ tenant: string;
2777
+ tribeId: number | null;
2778
+ characterAddress: string;
2779
+ name: string;
2780
+ description: string;
2781
+ url: string;
2782
+ } | null;
2783
+ } | null;
2784
+ tradedAt: number;
2785
+ }[];
2786
+ }>>;
2787
+ export declare const FillDetailSchema: z.ZodPipe<z.ZodObject<{
2788
+ event_digest: z.ZodString;
2789
+ pool_id: z.ZodString;
2790
+ asset_id: z.ZodNullable<z.ZodString>;
2791
+ storage_unit_id: z.ZodNullable<z.ZodString>;
2792
+ price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2793
+ base_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2794
+ quote_quantity: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2795
+ maker_fee: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2796
+ taker_fee: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
2797
+ taker_is_bid: z.ZodBoolean;
2798
+ maker_trading_account_id: z.ZodString;
2799
+ taker_trading_account_id: z.ZodString;
2800
+ filled_at: z.ZodNumber;
2801
+ }, z.core.$strip>, z.ZodTransform<{
2802
+ eventDigest: string;
2803
+ poolId: string;
2804
+ assetId: string | null;
2805
+ storageUnitId: string | null;
2806
+ price: bigint;
2807
+ baseQuantity: bigint;
2808
+ quoteQuantity: bigint;
2809
+ makerFee: bigint;
2810
+ takerFee: bigint;
2811
+ takerIsBid: boolean;
2812
+ makerTradingAccountId: string;
2813
+ takerTradingAccountId: string;
2814
+ filledAt: number;
2815
+ }, {
2816
+ event_digest: string;
2817
+ pool_id: string;
2818
+ asset_id: string | null;
2819
+ storage_unit_id: string | null;
2820
+ price: bigint;
2821
+ base_quantity: bigint;
2822
+ quote_quantity: bigint;
2823
+ maker_fee: bigint;
2824
+ taker_fee: bigint;
2825
+ taker_is_bid: boolean;
2826
+ maker_trading_account_id: string;
2827
+ taker_trading_account_id: string;
2828
+ filled_at: number;
2829
+ }>>;
2830
+ export declare const RecentTradeSchema: z.ZodPipe<z.ZodObject<{
2831
+ price: z.ZodString;
2832
+ quantity: z.ZodString;
2833
+ side: z.ZodEnum<{
2834
+ buy: "buy";
2835
+ sell: "sell";
2836
+ }>;
2837
+ order_type: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell", string>>>;
2838
+ traded_at: z.ZodNumber;
2839
+ tx_digest: z.ZodString;
2840
+ fee_rate_bps: z.ZodNumber;
2841
+ fee_amount: z.ZodString;
2842
+ asset_id: z.ZodString;
2843
+ hub_id: z.ZodString;
2844
+ quote_currency: z.ZodString;
2845
+ quote_currency_decimals: z.ZodNumber;
2846
+ region_id: z.ZodNullable<z.ZodNumber>;
2847
+ solar_system_id: z.ZodNullable<z.ZodNumber>;
2848
+ solar_system_name: z.ZodNullable<z.ZodString>;
2849
+ }, z.core.$strip>, z.ZodTransform<{
2850
+ price: string;
2851
+ quantity: string;
2852
+ side: "buy" | "sell";
2853
+ orderType: (string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell" | null;
2854
+ tradedAt: number;
2855
+ txDigest: string;
2856
+ feeRateBps: number;
2857
+ feeAmount: string;
2858
+ assetId: string;
2859
+ hubId: string;
2860
+ quoteCurrency: string;
2861
+ quoteCurrencyDecimals: number;
2862
+ regionId: number | null;
2863
+ solarSystemId: number | null;
2864
+ solarSystemName: string | null;
2865
+ }, {
2866
+ price: string;
2867
+ quantity: string;
2868
+ side: "buy" | "sell";
2869
+ order_type: (string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell" | null;
2870
+ traded_at: number;
2871
+ tx_digest: string;
2872
+ fee_rate_bps: number;
2873
+ fee_amount: string;
2874
+ asset_id: string;
2875
+ hub_id: string;
2876
+ quote_currency: string;
2877
+ quote_currency_decimals: number;
2878
+ region_id: number | null;
2879
+ solar_system_id: number | null;
2880
+ solar_system_name: string | null;
2881
+ }>>;
2882
+ export declare const RecentTradesPageSchema: z.ZodPipe<z.ZodObject<{
2883
+ data: z.ZodArray<z.ZodPipe<z.ZodObject<{
2884
+ price: z.ZodString;
2885
+ quantity: z.ZodString;
2886
+ side: z.ZodEnum<{
2887
+ buy: "buy";
2888
+ sell: "sell";
2889
+ }>;
2890
+ order_type: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell", string>>>;
2891
+ traded_at: z.ZodNumber;
2892
+ tx_digest: z.ZodString;
2893
+ fee_rate_bps: z.ZodNumber;
2894
+ fee_amount: z.ZodString;
2895
+ asset_id: z.ZodString;
2896
+ hub_id: z.ZodString;
2897
+ quote_currency: z.ZodString;
2898
+ quote_currency_decimals: z.ZodNumber;
2899
+ region_id: z.ZodNullable<z.ZodNumber>;
2900
+ solar_system_id: z.ZodNullable<z.ZodNumber>;
2901
+ solar_system_name: z.ZodNullable<z.ZodString>;
2902
+ }, z.core.$strip>, z.ZodTransform<{
2903
+ price: string;
2904
+ quantity: string;
2905
+ side: "buy" | "sell";
2906
+ orderType: (string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell" | null;
2907
+ tradedAt: number;
2908
+ txDigest: string;
2909
+ feeRateBps: number;
2910
+ feeAmount: string;
2911
+ assetId: string;
2912
+ hubId: string;
2913
+ quoteCurrency: string;
2914
+ quoteCurrencyDecimals: number;
2915
+ regionId: number | null;
2916
+ solarSystemId: number | null;
2917
+ solarSystemName: string | null;
2918
+ }, {
2919
+ price: string;
2920
+ quantity: string;
2921
+ side: "buy" | "sell";
2922
+ order_type: (string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell" | null;
2923
+ traded_at: number;
2924
+ tx_digest: string;
2925
+ fee_rate_bps: number;
2926
+ fee_amount: string;
2927
+ asset_id: string;
2928
+ hub_id: string;
2929
+ quote_currency: string;
2930
+ quote_currency_decimals: number;
2931
+ region_id: number | null;
2932
+ solar_system_id: number | null;
2933
+ solar_system_name: string | null;
2934
+ }>>>;
2935
+ next_cursor: z.ZodNullable<z.ZodString>;
2936
+ }, z.core.$strip>, z.ZodTransform<{
2937
+ trades: {
2938
+ price: string;
2939
+ quantity: string;
2940
+ side: "buy" | "sell";
2941
+ orderType: (string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell" | null;
2942
+ tradedAt: number;
2943
+ txDigest: string;
2944
+ feeRateBps: number;
2945
+ feeAmount: string;
2946
+ assetId: string;
2947
+ hubId: string;
2948
+ quoteCurrency: string;
2949
+ quoteCurrencyDecimals: number;
2950
+ regionId: number | null;
2951
+ solarSystemId: number | null;
2952
+ solarSystemName: string | null;
2953
+ }[];
2954
+ nextCursor: string | null;
2955
+ }, {
2956
+ data: {
2957
+ price: string;
2958
+ quantity: string;
2959
+ side: "buy" | "sell";
2960
+ orderType: (string & {}) | "market_buy" | "market_sell" | "limit_buy" | "limit_sell" | null;
2961
+ tradedAt: number;
2962
+ txDigest: string;
2963
+ feeRateBps: number;
2964
+ feeAmount: string;
2965
+ assetId: string;
2966
+ hubId: string;
2967
+ quoteCurrency: string;
2968
+ quoteCurrencyDecimals: number;
2969
+ regionId: number | null;
2970
+ solarSystemId: number | null;
2971
+ solarSystemName: string | null;
2972
+ }[];
2973
+ next_cursor: string | null;
2974
+ }>>;
2975
+ export declare const DISPLAY_PRICE_TIERS: readonly ["traded", "item", "book", "estimated", "unknown"];
2976
+ export declare const DisplayPriceSchema: z.ZodPipe<z.ZodObject<{
2977
+ item_id: z.ZodString;
2978
+ storage_unit_id: z.ZodNullable<z.ZodString>;
2979
+ collection_id: z.ZodNullable<z.ZodString>;
2980
+ pool_id: z.ZodNullable<z.ZodString>;
2981
+ quote_currency: z.ZodNullable<z.ZodString>;
2982
+ quote_decimals: z.ZodNullable<z.ZodNumber>;
2983
+ tier: z.ZodPipe<z.ZodString, z.ZodTransform<"book" | "unknown" | (string & {}) | "traded" | "item" | "estimated", string>>;
2984
+ price: z.ZodNullable<z.ZodString>;
2985
+ price_raw: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>>;
2986
+ best_bid: z.ZodNullable<z.ZodString>;
2987
+ best_ask: z.ZodNullable<z.ZodString>;
2988
+ fills_here: z.ZodNumber;
2989
+ fills_this_item: z.ZodNumber;
2990
+ }, z.core.$strip>, z.ZodTransform<{
2991
+ itemId: string;
2992
+ storageUnitId: string | null;
2993
+ collectionId: string | null;
2994
+ poolId: string | null;
2995
+ quoteCurrency: string | null;
2996
+ quoteDecimals: number | null;
2997
+ tier: "book" | "unknown" | (string & {}) | "traded" | "item" | "estimated";
2998
+ price: string | null;
2999
+ priceRaw: bigint | null;
3000
+ bestBid: string | null;
3001
+ bestAsk: string | null;
3002
+ fillsHere: number;
3003
+ fillsThisItem: number;
3004
+ }, {
3005
+ item_id: string;
3006
+ storage_unit_id: string | null;
3007
+ collection_id: string | null;
3008
+ pool_id: string | null;
3009
+ quote_currency: string | null;
3010
+ quote_decimals: number | null;
3011
+ tier: "book" | "unknown" | (string & {}) | "traded" | "item" | "estimated";
3012
+ price: string | null;
3013
+ price_raw: bigint | null;
3014
+ best_bid: string | null;
3015
+ best_ask: string | null;
3016
+ fills_here: number;
3017
+ fills_this_item: number;
3018
+ }>>;
3019
+ export declare const DisplayPricesSchema: z.ZodPipe<z.ZodObject<{
3020
+ prices: z.ZodArray<z.ZodPipe<z.ZodObject<{
3021
+ item_id: z.ZodString;
3022
+ storage_unit_id: z.ZodNullable<z.ZodString>;
3023
+ collection_id: z.ZodNullable<z.ZodString>;
3024
+ pool_id: z.ZodNullable<z.ZodString>;
3025
+ quote_currency: z.ZodNullable<z.ZodString>;
3026
+ quote_decimals: z.ZodNullable<z.ZodNumber>;
3027
+ tier: z.ZodPipe<z.ZodString, z.ZodTransform<"book" | "unknown" | (string & {}) | "traded" | "item" | "estimated", string>>;
3028
+ price: z.ZodNullable<z.ZodString>;
3029
+ price_raw: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>>;
3030
+ best_bid: z.ZodNullable<z.ZodString>;
3031
+ best_ask: z.ZodNullable<z.ZodString>;
3032
+ fills_here: z.ZodNumber;
3033
+ fills_this_item: z.ZodNumber;
3034
+ }, z.core.$strip>, z.ZodTransform<{
3035
+ itemId: string;
3036
+ storageUnitId: string | null;
3037
+ collectionId: string | null;
3038
+ poolId: string | null;
3039
+ quoteCurrency: string | null;
3040
+ quoteDecimals: number | null;
3041
+ tier: "book" | "unknown" | (string & {}) | "traded" | "item" | "estimated";
3042
+ price: string | null;
3043
+ priceRaw: bigint | null;
3044
+ bestBid: string | null;
3045
+ bestAsk: string | null;
3046
+ fillsHere: number;
3047
+ fillsThisItem: number;
3048
+ }, {
3049
+ item_id: string;
3050
+ storage_unit_id: string | null;
3051
+ collection_id: string | null;
3052
+ pool_id: string | null;
3053
+ quote_currency: string | null;
3054
+ quote_decimals: number | null;
3055
+ tier: "book" | "unknown" | (string & {}) | "traded" | "item" | "estimated";
3056
+ price: string | null;
3057
+ price_raw: bigint | null;
3058
+ best_bid: string | null;
3059
+ best_ask: string | null;
3060
+ fills_here: number;
3061
+ fills_this_item: number;
3062
+ }>>>;
3063
+ }, z.core.$strip>, z.ZodTransform<{
3064
+ itemId: string;
3065
+ storageUnitId: string | null;
3066
+ collectionId: string | null;
3067
+ poolId: string | null;
3068
+ quoteCurrency: string | null;
3069
+ quoteDecimals: number | null;
3070
+ tier: "book" | "unknown" | (string & {}) | "traded" | "item" | "estimated";
3071
+ price: string | null;
3072
+ priceRaw: bigint | null;
3073
+ bestBid: string | null;
3074
+ bestAsk: string | null;
3075
+ fillsHere: number;
3076
+ fillsThisItem: number;
3077
+ }[], {
3078
+ prices: {
3079
+ itemId: string;
3080
+ storageUnitId: string | null;
3081
+ collectionId: string | null;
3082
+ poolId: string | null;
3083
+ quoteCurrency: string | null;
3084
+ quoteDecimals: number | null;
3085
+ tier: "book" | "unknown" | (string & {}) | "traded" | "item" | "estimated";
3086
+ price: string | null;
3087
+ priceRaw: bigint | null;
3088
+ bestBid: string | null;
3089
+ bestAsk: string | null;
3090
+ fillsHere: number;
3091
+ fillsThisItem: number;
3092
+ }[];
3093
+ }>>;
3094
+ export declare const HubEconomicsSchema: z.ZodPipe<z.ZodObject<{
3095
+ hub_id: z.ZodString;
3096
+ fee_reserve: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3097
+ liquidity_depth: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3098
+ unique_items: z.ZodNumber;
3099
+ }, z.core.$strip>, z.ZodTransform<{
3100
+ hubId: string;
3101
+ feeReserve: bigint;
3102
+ liquidityDepth: bigint;
3103
+ uniqueItems: number;
3104
+ }, {
3105
+ hub_id: string;
3106
+ fee_reserve: bigint;
3107
+ liquidity_depth: bigint;
3108
+ unique_items: number;
3109
+ }>>;
3110
+ export declare const PoolFeesSchema: z.ZodPipe<z.ZodObject<{
3111
+ pool_id: z.ZodString;
3112
+ quote_type: z.ZodString;
3113
+ total_deposited: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3114
+ total_withdrawn: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3115
+ fees_available_to_claim: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3116
+ }, z.core.$strip>, z.ZodTransform<{
3117
+ poolId: string;
3118
+ quoteType: string;
3119
+ totalDeposited: bigint;
3120
+ totalWithdrawn: bigint;
3121
+ feesAvailableToClaim: bigint;
3122
+ }, {
3123
+ pool_id: string;
3124
+ quote_type: string;
3125
+ total_deposited: bigint;
3126
+ total_withdrawn: bigint;
3127
+ fees_available_to_claim: bigint;
3128
+ }>>;
3129
+ export declare const StatsQuoteVolumeSchema: z.ZodPipe<z.ZodObject<{
3130
+ quote_type: z.ZodString;
3131
+ symbol: z.ZodString;
3132
+ decimals: z.ZodNumber;
3133
+ raw: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3134
+ human: z.ZodString;
3135
+ trades: z.ZodNumber;
3136
+ }, z.core.$strip>, z.ZodTransform<{
3137
+ quoteType: string;
3138
+ symbol: string;
3139
+ decimals: number;
3140
+ raw: bigint;
3141
+ human: string;
3142
+ trades: number;
3143
+ }, {
3144
+ quote_type: string;
3145
+ symbol: string;
3146
+ decimals: number;
3147
+ raw: bigint;
3148
+ human: string;
3149
+ trades: number;
3150
+ }>>;
3151
+ export declare const StatsTopItemSchema: z.ZodPipe<z.ZodObject<{
3152
+ asset_id: z.ZodString;
3153
+ trades: z.ZodNumber;
3154
+ units: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3155
+ volume_raw: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3156
+ volume: z.ZodString;
3157
+ quote_symbol: z.ZodString;
3158
+ }, z.core.$strip>, z.ZodTransform<{
3159
+ assetId: string;
3160
+ trades: number;
3161
+ units: bigint;
3162
+ volumeRaw: bigint;
3163
+ volume: string;
3164
+ quoteSymbol: string;
3165
+ }, {
3166
+ asset_id: string;
3167
+ trades: number;
3168
+ units: bigint;
3169
+ volume_raw: bigint;
3170
+ volume: string;
3171
+ quote_symbol: string;
3172
+ }>>;
3173
+ export declare const StatsTopOrgSchema: z.ZodPipe<z.ZodObject<{
3174
+ org_id: z.ZodString;
3175
+ name: z.ZodString;
3176
+ member_count: z.ZodNumber;
3177
+ }, z.core.$strip>, z.ZodTransform<{
3178
+ orgId: string;
3179
+ name: string;
3180
+ memberCount: number;
3181
+ }, {
3182
+ org_id: string;
3183
+ name: string;
3184
+ member_count: number;
3185
+ }>>;
3186
+ export declare const PlatformStatsSchema: z.ZodPipe<z.ZodObject<{
3187
+ computed_at: z.ZodNumber;
3188
+ marketplace: z.ZodObject<{
3189
+ trades: z.ZodObject<{
3190
+ all_time: z.ZodNumber;
3191
+ h24: z.ZodNumber;
3192
+ d7: z.ZodNumber;
3193
+ }, z.core.$strip>;
3194
+ active_traders: z.ZodObject<{
3195
+ all_time: z.ZodNumber;
3196
+ d7: z.ZodNumber;
3197
+ }, z.core.$strip>;
3198
+ open_orders: z.ZodNumber;
3199
+ traders_with_open_orders: z.ZodNumber;
3200
+ items_with_markets: z.ZodNumber;
3201
+ trade_hubs: z.ZodNumber;
3202
+ volume_all_time: z.ZodArray<z.ZodPipe<z.ZodObject<{
3203
+ quote_type: z.ZodString;
3204
+ symbol: z.ZodString;
3205
+ decimals: z.ZodNumber;
3206
+ raw: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3207
+ human: z.ZodString;
3208
+ trades: z.ZodNumber;
3209
+ }, z.core.$strip>, z.ZodTransform<{
3210
+ quoteType: string;
3211
+ symbol: string;
3212
+ decimals: number;
3213
+ raw: bigint;
3214
+ human: string;
3215
+ trades: number;
3216
+ }, {
3217
+ quote_type: string;
3218
+ symbol: string;
3219
+ decimals: number;
3220
+ raw: bigint;
3221
+ human: string;
3222
+ trades: number;
3223
+ }>>>;
3224
+ volume_d7: z.ZodArray<z.ZodPipe<z.ZodObject<{
3225
+ quote_type: z.ZodString;
3226
+ symbol: z.ZodString;
3227
+ decimals: z.ZodNumber;
3228
+ raw: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3229
+ human: z.ZodString;
3230
+ trades: z.ZodNumber;
3231
+ }, z.core.$strip>, z.ZodTransform<{
3232
+ quoteType: string;
3233
+ symbol: string;
3234
+ decimals: number;
3235
+ raw: bigint;
3236
+ human: string;
3237
+ trades: number;
3238
+ }, {
3239
+ quote_type: string;
3240
+ symbol: string;
3241
+ decimals: number;
3242
+ raw: bigint;
3243
+ human: string;
3244
+ trades: number;
3245
+ }>>>;
3246
+ top_items_d7: z.ZodArray<z.ZodPipe<z.ZodObject<{
3247
+ asset_id: z.ZodString;
3248
+ trades: z.ZodNumber;
3249
+ units: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3250
+ volume_raw: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<bigint, string | number>>;
3251
+ volume: z.ZodString;
3252
+ quote_symbol: z.ZodString;
3253
+ }, z.core.$strip>, z.ZodTransform<{
3254
+ assetId: string;
3255
+ trades: number;
3256
+ units: bigint;
3257
+ volumeRaw: bigint;
3258
+ volume: string;
3259
+ quoteSymbol: string;
3260
+ }, {
3261
+ asset_id: string;
3262
+ trades: number;
3263
+ units: bigint;
3264
+ volume_raw: bigint;
3265
+ volume: string;
3266
+ quote_symbol: string;
3267
+ }>>>;
3268
+ }, z.core.$strip>;
3269
+ organizations: z.ZodObject<{
3270
+ total: z.ZodNumber;
3271
+ pilots_in_orgs: z.ZodNumber;
3272
+ org_units: z.ZodNumber;
3273
+ largest: z.ZodArray<z.ZodPipe<z.ZodObject<{
3274
+ org_id: z.ZodString;
3275
+ name: z.ZodString;
3276
+ member_count: z.ZodNumber;
3277
+ }, z.core.$strip>, z.ZodTransform<{
3278
+ orgId: string;
3279
+ name: string;
3280
+ memberCount: number;
3281
+ }, {
3282
+ org_id: string;
3283
+ name: string;
3284
+ member_count: number;
3285
+ }>>>;
3286
+ }, z.core.$strip>;
3287
+ storage: z.ZodObject<{
3288
+ org_vaults: z.ZodNumber;
3289
+ orgs_with_vaults: z.ZodNumber;
3290
+ hubs_with_storage: z.ZodNumber;
3291
+ pilots_with_access: z.ZodNumber;
3292
+ }, z.core.$strip>;
3293
+ pilots: z.ZodObject<{
3294
+ total: z.ZodNumber;
3295
+ new_d7: z.ZodNumber;
3296
+ }, z.core.$strip>;
3297
+ series: z.ZodObject<{
3298
+ trades_daily_30d: z.ZodArray<z.ZodObject<{
3299
+ day_at: z.ZodNumber;
3300
+ trades: z.ZodNumber;
3301
+ }, z.core.$strip>>;
3302
+ new_pilots_daily_30d: z.ZodArray<z.ZodObject<{
3303
+ day_at: z.ZodNumber;
3304
+ pilots: z.ZodNumber;
3305
+ }, z.core.$strip>>;
3306
+ }, z.core.$strip>;
3307
+ }, z.core.$strip>, z.ZodTransform<{
3308
+ computedAt: number;
3309
+ marketplace: {
3310
+ trades: {
3311
+ allTime: number;
3312
+ h24: number;
3313
+ d7: number;
3314
+ };
3315
+ activeTraders: {
3316
+ allTime: number;
3317
+ d7: number;
3318
+ };
3319
+ openOrders: number;
3320
+ tradersWithOpenOrders: number;
3321
+ itemsWithMarkets: number;
3322
+ tradeHubs: number;
3323
+ volumeAllTime: {
3324
+ quoteType: string;
3325
+ symbol: string;
3326
+ decimals: number;
3327
+ raw: bigint;
3328
+ human: string;
3329
+ trades: number;
3330
+ }[];
3331
+ volumeD7: {
3332
+ quoteType: string;
3333
+ symbol: string;
3334
+ decimals: number;
3335
+ raw: bigint;
3336
+ human: string;
3337
+ trades: number;
3338
+ }[];
3339
+ topItemsD7: {
3340
+ assetId: string;
3341
+ trades: number;
3342
+ units: bigint;
3343
+ volumeRaw: bigint;
3344
+ volume: string;
3345
+ quoteSymbol: string;
3346
+ }[];
3347
+ };
3348
+ organizations: {
3349
+ total: number;
3350
+ pilotsInOrgs: number;
3351
+ orgUnits: number;
3352
+ largest: {
3353
+ orgId: string;
3354
+ name: string;
3355
+ memberCount: number;
3356
+ }[];
3357
+ };
3358
+ storage: {
3359
+ orgVaults: number;
3360
+ orgsWithVaults: number;
3361
+ hubsWithStorage: number;
3362
+ pilotsWithAccess: number;
3363
+ };
3364
+ pilots: {
3365
+ total: number;
3366
+ newD7: number;
3367
+ };
3368
+ series: {
3369
+ tradesDaily30d: {
3370
+ dayAt: number;
3371
+ trades: number;
3372
+ }[];
3373
+ newPilotsDaily30d: {
3374
+ dayAt: number;
3375
+ pilots: number;
3376
+ }[];
3377
+ };
3378
+ }, {
3379
+ computed_at: number;
3380
+ marketplace: {
3381
+ trades: {
3382
+ all_time: number;
3383
+ h24: number;
3384
+ d7: number;
3385
+ };
3386
+ active_traders: {
3387
+ all_time: number;
3388
+ d7: number;
3389
+ };
3390
+ open_orders: number;
3391
+ traders_with_open_orders: number;
3392
+ items_with_markets: number;
3393
+ trade_hubs: number;
3394
+ volume_all_time: {
3395
+ quoteType: string;
3396
+ symbol: string;
3397
+ decimals: number;
3398
+ raw: bigint;
3399
+ human: string;
3400
+ trades: number;
3401
+ }[];
3402
+ volume_d7: {
3403
+ quoteType: string;
3404
+ symbol: string;
3405
+ decimals: number;
3406
+ raw: bigint;
3407
+ human: string;
3408
+ trades: number;
3409
+ }[];
3410
+ top_items_d7: {
3411
+ assetId: string;
3412
+ trades: number;
3413
+ units: bigint;
3414
+ volumeRaw: bigint;
3415
+ volume: string;
3416
+ quoteSymbol: string;
3417
+ }[];
3418
+ };
3419
+ organizations: {
3420
+ total: number;
3421
+ pilots_in_orgs: number;
3422
+ org_units: number;
3423
+ largest: {
3424
+ orgId: string;
3425
+ name: string;
3426
+ memberCount: number;
3427
+ }[];
3428
+ };
3429
+ storage: {
3430
+ org_vaults: number;
3431
+ orgs_with_vaults: number;
3432
+ hubs_with_storage: number;
3433
+ pilots_with_access: number;
3434
+ };
3435
+ pilots: {
3436
+ total: number;
3437
+ new_d7: number;
3438
+ };
3439
+ series: {
3440
+ trades_daily_30d: {
3441
+ day_at: number;
3442
+ trades: number;
3443
+ }[];
3444
+ new_pilots_daily_30d: {
3445
+ day_at: number;
3446
+ pilots: number;
3447
+ }[];
3448
+ };
3449
+ }>>;
3450
+ export declare const CharacterSchema: z.ZodPipe<z.ZodObject<{
3451
+ object_id: z.ZodString;
3452
+ item_id: z.ZodString;
3453
+ tenant: z.ZodString;
3454
+ tribe_id: z.ZodNullable<z.ZodNumber>;
3455
+ address: z.ZodString;
3456
+ name: z.ZodString;
3457
+ description: z.ZodString;
3458
+ url: z.ZodString;
3459
+ checkpoint_at: z.ZodNumber;
3460
+ owner_cap_id: z.ZodOptional<z.ZodString>;
3461
+ assembly_id: z.ZodOptional<z.ZodString>;
3462
+ }, z.core.$strip>, z.ZodTransform<{
3463
+ characterId: string;
3464
+ itemId: string;
3465
+ tenant: string;
3466
+ tribeId: number | null;
3467
+ address: string;
3468
+ name: string;
3469
+ description: string;
3470
+ url: string;
3471
+ checkpointAt: number;
3472
+ ownerCapId: string | null;
3473
+ assemblyId: string | null;
3474
+ }, {
3475
+ object_id: string;
3476
+ item_id: string;
3477
+ tenant: string;
3478
+ tribe_id: number | null;
3479
+ address: string;
3480
+ name: string;
3481
+ description: string;
3482
+ url: string;
3483
+ checkpoint_at: number;
3484
+ owner_cap_id?: string | undefined;
3485
+ assembly_id?: string | undefined;
3486
+ }>>;
3487
+ export declare const CharacterLookupSchema: z.ZodPipe<z.ZodObject<{
3488
+ address: z.ZodString;
3489
+ object_id: z.ZodNullable<z.ZodString>;
3490
+ character_address: z.ZodNullable<z.ZodString>;
3491
+ name: z.ZodNullable<z.ZodString>;
3492
+ tribe_id: z.ZodNullable<z.ZodNumber>;
3493
+ tribe_name: z.ZodNullable<z.ZodString>;
3494
+ }, z.core.$strip>, z.ZodTransform<{
3495
+ address: string;
3496
+ characterId: string | null;
3497
+ characterAddress: string | null;
3498
+ name: string | null;
3499
+ tribeId: number | null;
3500
+ tribeName: string | null;
3501
+ }, {
3502
+ address: string;
3503
+ object_id: string | null;
3504
+ character_address: string | null;
3505
+ name: string | null;
3506
+ tribe_id: number | null;
3507
+ tribe_name: string | null;
3508
+ }>>;
3509
+ export declare const TribeSchema: z.ZodPipe<z.ZodObject<{
3510
+ tribe_id: z.ZodNumber;
3511
+ name: z.ZodString;
3512
+ name_short: z.ZodString;
3513
+ description: z.ZodString;
3514
+ tax_rate: z.ZodNumber;
3515
+ tribe_url: z.ZodString;
3516
+ }, z.core.$strip>, z.ZodTransform<{
3517
+ tribeId: number;
3518
+ name: string;
3519
+ nameShort: string;
3520
+ description: string;
3521
+ taxRate: number;
3522
+ tribeUrl: string;
3523
+ }, {
3524
+ tribe_id: number;
3525
+ name: string;
3526
+ name_short: string;
3527
+ description: string;
3528
+ tax_rate: number;
3529
+ tribe_url: string;
3530
+ }>>;
3531
+ export declare const WorldItemSchema: z.ZodPipe<z.ZodObject<{
3532
+ id: z.ZodNumber;
3533
+ name: z.ZodString;
3534
+ description: z.ZodOptional<z.ZodString>;
3535
+ mass: z.ZodOptional<z.ZodNumber>;
3536
+ radius: z.ZodOptional<z.ZodNumber>;
3537
+ volume: z.ZodOptional<z.ZodNumber>;
3538
+ portionSize: z.ZodOptional<z.ZodNumber>;
3539
+ groupId: z.ZodNumber;
3540
+ groupName: z.ZodString;
3541
+ categoryId: z.ZodNumber;
3542
+ categoryName: z.ZodString;
3543
+ iconUrl: z.ZodOptional<z.ZodString>;
3544
+ }, z.core.$strip>, z.ZodTransform<{
3545
+ assetId: string;
3546
+ name: string;
3547
+ description: string;
3548
+ mass: number | null;
3549
+ radius: number | null;
3550
+ volume: number | null;
3551
+ portionSize: number | null;
3552
+ groupId: number;
3553
+ groupName: string;
3554
+ categoryId: number;
3555
+ categoryName: string;
3556
+ iconUrl: string | null;
3557
+ }, {
3558
+ id: number;
3559
+ name: string;
3560
+ groupId: number;
3561
+ groupName: string;
3562
+ categoryId: number;
3563
+ categoryName: string;
3564
+ description?: string | undefined;
3565
+ mass?: number | undefined;
3566
+ radius?: number | undefined;
3567
+ volume?: number | undefined;
3568
+ portionSize?: number | undefined;
3569
+ iconUrl?: string | undefined;
3570
+ }>>;
3571
+ export declare const ItemInfoSchema: z.ZodPipe<z.ZodObject<{
3572
+ asset_id: z.ZodString;
3573
+ name: z.ZodNullable<z.ZodString>;
3574
+ symbol: z.ZodNullable<z.ZodString>;
3575
+ }, z.core.$strip>, z.ZodTransform<{
3576
+ assetId: string;
3577
+ name: string | null;
3578
+ symbol: string | null;
3579
+ }, {
3580
+ asset_id: string;
3581
+ name: string | null;
3582
+ symbol: string | null;
3583
+ }>>;
3584
+ export declare const BLUEPRINT_KINDS: readonly ["manufacture", "refine", "construct", "reverse"];
3585
+ export declare const BlueprintItemSchema: z.ZodPipe<z.ZodObject<{
3586
+ id: z.ZodNumber;
3587
+ name: z.ZodOptional<z.ZodString>;
3588
+ quantity: z.ZodNumber;
3589
+ }, z.core.$strip>, z.ZodTransform<{
3590
+ assetId: string;
3591
+ name: string | null;
3592
+ quantity: number;
3593
+ }, {
3594
+ id: number;
3595
+ quantity: number;
3596
+ name?: string | undefined;
3597
+ }>>;
3598
+ export declare const BlueprintFacilitySchema: z.ZodPipe<z.ZodObject<{
3599
+ typeId: z.ZodNumber;
3600
+ name: z.ZodString;
3601
+ maxInputRuns: z.ZodNumber;
3602
+ maxOutputRuns: z.ZodNumber;
3603
+ }, z.core.$strip>, z.ZodTransform<{
3604
+ assetId: string;
3605
+ name: string | null;
3606
+ maxInputRuns: number;
3607
+ maxOutputRuns: number;
3608
+ }, {
3609
+ typeId: number;
3610
+ name: string;
3611
+ maxInputRuns: number;
3612
+ maxOutputRuns: number;
3613
+ }>>;
3614
+ export declare const BlueprintSchema: z.ZodPipe<z.ZodObject<{
3615
+ blueprintId: z.ZodNullable<z.ZodNumber>;
3616
+ primaryTypeId: z.ZodNumber;
3617
+ kind: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "manufacture" | "refine" | "construct" | "reverse", string>>;
3618
+ runTime: z.ZodNumber;
3619
+ inputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
3620
+ id: z.ZodNumber;
3621
+ name: z.ZodOptional<z.ZodString>;
3622
+ quantity: z.ZodNumber;
3623
+ }, z.core.$strip>, z.ZodTransform<{
3624
+ assetId: string;
3625
+ name: string | null;
3626
+ quantity: number;
3627
+ }, {
3628
+ id: number;
3629
+ quantity: number;
3630
+ name?: string | undefined;
3631
+ }>>>;
3632
+ outputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
3633
+ id: z.ZodNumber;
3634
+ name: z.ZodOptional<z.ZodString>;
3635
+ quantity: z.ZodNumber;
3636
+ }, z.core.$strip>, z.ZodTransform<{
3637
+ assetId: string;
3638
+ name: string | null;
3639
+ quantity: number;
3640
+ }, {
3641
+ id: number;
3642
+ quantity: number;
3643
+ name?: string | undefined;
3644
+ }>>>;
3645
+ facilities: z.ZodArray<z.ZodPipe<z.ZodObject<{
3646
+ typeId: z.ZodNumber;
3647
+ name: z.ZodString;
3648
+ maxInputRuns: z.ZodNumber;
3649
+ maxOutputRuns: z.ZodNumber;
3650
+ }, z.core.$strip>, z.ZodTransform<{
3651
+ assetId: string;
3652
+ name: string | null;
3653
+ maxInputRuns: number;
3654
+ maxOutputRuns: number;
3655
+ }, {
3656
+ typeId: number;
3657
+ name: string;
3658
+ maxInputRuns: number;
3659
+ maxOutputRuns: number;
3660
+ }>>>;
3661
+ }, z.core.$strip>, z.ZodTransform<{
3662
+ blueprintId: number | null;
3663
+ primaryAssetId: string;
3664
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3665
+ runTimeSeconds: number | null;
3666
+ inputs: {
3667
+ assetId: string;
3668
+ name: string | null;
3669
+ quantity: number;
3670
+ }[];
3671
+ outputs: {
3672
+ assetId: string;
3673
+ name: string | null;
3674
+ quantity: number;
3675
+ }[];
3676
+ facilities: {
3677
+ assetId: string;
3678
+ name: string | null;
3679
+ maxInputRuns: number;
3680
+ maxOutputRuns: number;
3681
+ }[];
3682
+ }, {
3683
+ blueprintId: number | null;
3684
+ primaryTypeId: number;
3685
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3686
+ runTime: number;
3687
+ inputs: {
3688
+ assetId: string;
3689
+ name: string | null;
3690
+ quantity: number;
3691
+ }[];
3692
+ outputs: {
3693
+ assetId: string;
3694
+ name: string | null;
3695
+ quantity: number;
3696
+ }[];
3697
+ facilities: {
3698
+ assetId: string;
3699
+ name: string | null;
3700
+ maxInputRuns: number;
3701
+ maxOutputRuns: number;
3702
+ }[];
3703
+ }>>;
3704
+ export declare const ItemBlueprintsSchema: z.ZodPipe<z.ZodObject<{
3705
+ typeId: z.ZodNumber;
3706
+ name: z.ZodString;
3707
+ producedBy: z.ZodArray<z.ZodPipe<z.ZodObject<{
3708
+ blueprintId: z.ZodNullable<z.ZodNumber>;
3709
+ primaryTypeId: z.ZodNumber;
3710
+ kind: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "manufacture" | "refine" | "construct" | "reverse", string>>;
3711
+ runTime: z.ZodNumber;
3712
+ inputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
3713
+ id: z.ZodNumber;
3714
+ name: z.ZodOptional<z.ZodString>;
3715
+ quantity: z.ZodNumber;
3716
+ }, z.core.$strip>, z.ZodTransform<{
3717
+ assetId: string;
3718
+ name: string | null;
3719
+ quantity: number;
3720
+ }, {
3721
+ id: number;
3722
+ quantity: number;
3723
+ name?: string | undefined;
3724
+ }>>>;
3725
+ outputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
3726
+ id: z.ZodNumber;
3727
+ name: z.ZodOptional<z.ZodString>;
3728
+ quantity: z.ZodNumber;
3729
+ }, z.core.$strip>, z.ZodTransform<{
3730
+ assetId: string;
3731
+ name: string | null;
3732
+ quantity: number;
3733
+ }, {
3734
+ id: number;
3735
+ quantity: number;
3736
+ name?: string | undefined;
3737
+ }>>>;
3738
+ facilities: z.ZodArray<z.ZodPipe<z.ZodObject<{
3739
+ typeId: z.ZodNumber;
3740
+ name: z.ZodString;
3741
+ maxInputRuns: z.ZodNumber;
3742
+ maxOutputRuns: z.ZodNumber;
3743
+ }, z.core.$strip>, z.ZodTransform<{
3744
+ assetId: string;
3745
+ name: string | null;
3746
+ maxInputRuns: number;
3747
+ maxOutputRuns: number;
3748
+ }, {
3749
+ typeId: number;
3750
+ name: string;
3751
+ maxInputRuns: number;
3752
+ maxOutputRuns: number;
3753
+ }>>>;
3754
+ }, z.core.$strip>, z.ZodTransform<{
3755
+ blueprintId: number | null;
3756
+ primaryAssetId: string;
3757
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3758
+ runTimeSeconds: number | null;
3759
+ inputs: {
3760
+ assetId: string;
3761
+ name: string | null;
3762
+ quantity: number;
3763
+ }[];
3764
+ outputs: {
3765
+ assetId: string;
3766
+ name: string | null;
3767
+ quantity: number;
3768
+ }[];
3769
+ facilities: {
3770
+ assetId: string;
3771
+ name: string | null;
3772
+ maxInputRuns: number;
3773
+ maxOutputRuns: number;
3774
+ }[];
3775
+ }, {
3776
+ blueprintId: number | null;
3777
+ primaryTypeId: number;
3778
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3779
+ runTime: number;
3780
+ inputs: {
3781
+ assetId: string;
3782
+ name: string | null;
3783
+ quantity: number;
3784
+ }[];
3785
+ outputs: {
3786
+ assetId: string;
3787
+ name: string | null;
3788
+ quantity: number;
3789
+ }[];
3790
+ facilities: {
3791
+ assetId: string;
3792
+ name: string | null;
3793
+ maxInputRuns: number;
3794
+ maxOutputRuns: number;
3795
+ }[];
3796
+ }>>>;
3797
+ usedIn: z.ZodArray<z.ZodPipe<z.ZodObject<{
3798
+ blueprintId: z.ZodNullable<z.ZodNumber>;
3799
+ primaryTypeId: z.ZodNumber;
3800
+ kind: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "manufacture" | "refine" | "construct" | "reverse", string>>;
3801
+ runTime: z.ZodNumber;
3802
+ inputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
3803
+ id: z.ZodNumber;
3804
+ name: z.ZodOptional<z.ZodString>;
3805
+ quantity: z.ZodNumber;
3806
+ }, z.core.$strip>, z.ZodTransform<{
3807
+ assetId: string;
3808
+ name: string | null;
3809
+ quantity: number;
3810
+ }, {
3811
+ id: number;
3812
+ quantity: number;
3813
+ name?: string | undefined;
3814
+ }>>>;
3815
+ outputs: z.ZodArray<z.ZodPipe<z.ZodObject<{
3816
+ id: z.ZodNumber;
3817
+ name: z.ZodOptional<z.ZodString>;
3818
+ quantity: z.ZodNumber;
3819
+ }, z.core.$strip>, z.ZodTransform<{
3820
+ assetId: string;
3821
+ name: string | null;
3822
+ quantity: number;
3823
+ }, {
3824
+ id: number;
3825
+ quantity: number;
3826
+ name?: string | undefined;
3827
+ }>>>;
3828
+ facilities: z.ZodArray<z.ZodPipe<z.ZodObject<{
3829
+ typeId: z.ZodNumber;
3830
+ name: z.ZodString;
3831
+ maxInputRuns: z.ZodNumber;
3832
+ maxOutputRuns: z.ZodNumber;
3833
+ }, z.core.$strip>, z.ZodTransform<{
3834
+ assetId: string;
3835
+ name: string | null;
3836
+ maxInputRuns: number;
3837
+ maxOutputRuns: number;
3838
+ }, {
3839
+ typeId: number;
3840
+ name: string;
3841
+ maxInputRuns: number;
3842
+ maxOutputRuns: number;
3843
+ }>>>;
3844
+ }, z.core.$strip>, z.ZodTransform<{
3845
+ blueprintId: number | null;
3846
+ primaryAssetId: string;
3847
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3848
+ runTimeSeconds: number | null;
3849
+ inputs: {
3850
+ assetId: string;
3851
+ name: string | null;
3852
+ quantity: number;
3853
+ }[];
3854
+ outputs: {
3855
+ assetId: string;
3856
+ name: string | null;
3857
+ quantity: number;
3858
+ }[];
3859
+ facilities: {
3860
+ assetId: string;
3861
+ name: string | null;
3862
+ maxInputRuns: number;
3863
+ maxOutputRuns: number;
3864
+ }[];
3865
+ }, {
3866
+ blueprintId: number | null;
3867
+ primaryTypeId: number;
3868
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3869
+ runTime: number;
3870
+ inputs: {
3871
+ assetId: string;
3872
+ name: string | null;
3873
+ quantity: number;
3874
+ }[];
3875
+ outputs: {
3876
+ assetId: string;
3877
+ name: string | null;
3878
+ quantity: number;
3879
+ }[];
3880
+ facilities: {
3881
+ assetId: string;
3882
+ name: string | null;
3883
+ maxInputRuns: number;
3884
+ maxOutputRuns: number;
3885
+ }[];
3886
+ }>>>;
3887
+ }, z.core.$strip>, z.ZodTransform<{
3888
+ assetId: string;
3889
+ name: string | null;
3890
+ producedBy: {
3891
+ blueprintId: number | null;
3892
+ primaryAssetId: string;
3893
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3894
+ runTimeSeconds: number | null;
3895
+ inputs: {
3896
+ assetId: string;
3897
+ name: string | null;
3898
+ quantity: number;
3899
+ }[];
3900
+ outputs: {
3901
+ assetId: string;
3902
+ name: string | null;
3903
+ quantity: number;
3904
+ }[];
3905
+ facilities: {
3906
+ assetId: string;
3907
+ name: string | null;
3908
+ maxInputRuns: number;
3909
+ maxOutputRuns: number;
3910
+ }[];
3911
+ }[];
3912
+ usedIn: {
3913
+ blueprintId: number | null;
3914
+ primaryAssetId: string;
3915
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3916
+ runTimeSeconds: number | null;
3917
+ inputs: {
3918
+ assetId: string;
3919
+ name: string | null;
3920
+ quantity: number;
3921
+ }[];
3922
+ outputs: {
3923
+ assetId: string;
3924
+ name: string | null;
3925
+ quantity: number;
3926
+ }[];
3927
+ facilities: {
3928
+ assetId: string;
3929
+ name: string | null;
3930
+ maxInputRuns: number;
3931
+ maxOutputRuns: number;
3932
+ }[];
3933
+ }[];
3934
+ }, {
3935
+ typeId: number;
3936
+ name: string;
3937
+ producedBy: {
3938
+ blueprintId: number | null;
3939
+ primaryAssetId: string;
3940
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3941
+ runTimeSeconds: number | null;
3942
+ inputs: {
3943
+ assetId: string;
3944
+ name: string | null;
3945
+ quantity: number;
3946
+ }[];
3947
+ outputs: {
3948
+ assetId: string;
3949
+ name: string | null;
3950
+ quantity: number;
3951
+ }[];
3952
+ facilities: {
3953
+ assetId: string;
3954
+ name: string | null;
3955
+ maxInputRuns: number;
3956
+ maxOutputRuns: number;
3957
+ }[];
3958
+ }[];
3959
+ usedIn: {
3960
+ blueprintId: number | null;
3961
+ primaryAssetId: string;
3962
+ kind: (string & {}) | "manufacture" | "refine" | "construct" | "reverse";
3963
+ runTimeSeconds: number | null;
3964
+ inputs: {
3965
+ assetId: string;
3966
+ name: string | null;
3967
+ quantity: number;
3968
+ }[];
3969
+ outputs: {
3970
+ assetId: string;
3971
+ name: string | null;
3972
+ quantity: number;
3973
+ }[];
3974
+ facilities: {
3975
+ assetId: string;
3976
+ name: string | null;
3977
+ maxInputRuns: number;
3978
+ maxOutputRuns: number;
3979
+ }[];
3980
+ }[];
3981
+ }>>;
3982
+ export declare const ROUTE_OPTIMIZATIONS: readonly ["fuel_efficient", "fastest", "balanced"];
3983
+ export declare const JUMP_TYPES: readonly ["start", "stargate", "jump_drive"];
3984
+ export declare const WaypointSchema: z.ZodPipe<z.ZodObject<{
3985
+ solar_system_id: z.ZodNumber;
3986
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3987
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
3988
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3989
+ }, z.core.$strip>, z.ZodTransform<{
3990
+ solarSystemId: number;
3991
+ solarSystemName: string | null;
3992
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3993
+ distanceLy: number | null;
3994
+ }, {
3995
+ solar_system_id: number;
3996
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
3997
+ solar_system_name?: string | null | undefined;
3998
+ distance_ly?: number | null | undefined;
3999
+ }>>;
4000
+ export declare const RouteSchema: z.ZodPipe<z.ZodObject<{
4001
+ optimization: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "fuel_efficient" | "fastest" | "balanced", string>>;
4002
+ total_cost: z.ZodObject<{
4003
+ drive_distance_ly: z.ZodNumber;
4004
+ total_distance_ly: z.ZodNumber;
4005
+ gate_jumps: z.ZodNumber;
4006
+ drive_jumps: z.ZodNumber;
4007
+ total_jumps: z.ZodNumber;
4008
+ }, z.core.$strip>;
4009
+ waypoints: z.ZodArray<z.ZodPipe<z.ZodObject<{
4010
+ solar_system_id: z.ZodNumber;
4011
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4012
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
4013
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4014
+ }, z.core.$strip>, z.ZodTransform<{
4015
+ solarSystemId: number;
4016
+ solarSystemName: string | null;
4017
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4018
+ distanceLy: number | null;
4019
+ }, {
4020
+ solar_system_id: number;
4021
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
4022
+ solar_system_name?: string | null | undefined;
4023
+ distance_ly?: number | null | undefined;
4024
+ }>>>;
4025
+ }, z.core.$strip>, z.ZodTransform<{
4026
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4027
+ totalJumps: number;
4028
+ gateJumps: number;
4029
+ driveJumps: number;
4030
+ totalDistanceLy: number;
4031
+ driveDistanceLy: number;
4032
+ waypoints: {
4033
+ solarSystemId: number;
4034
+ solarSystemName: string | null;
4035
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4036
+ distanceLy: number | null;
4037
+ }[];
4038
+ }, {
4039
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4040
+ total_cost: {
4041
+ drive_distance_ly: number;
4042
+ total_distance_ly: number;
4043
+ gate_jumps: number;
4044
+ drive_jumps: number;
4045
+ total_jumps: number;
4046
+ };
4047
+ waypoints: {
4048
+ solarSystemId: number;
4049
+ solarSystemName: string | null;
4050
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4051
+ distanceLy: number | null;
4052
+ }[];
4053
+ }>>;
4054
+ export declare const RouteComparisonSchema: z.ZodPipe<z.ZodObject<{
4055
+ fuel_efficient: z.ZodPipe<z.ZodObject<{
4056
+ optimization: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "fuel_efficient" | "fastest" | "balanced", string>>;
4057
+ total_cost: z.ZodObject<{
4058
+ drive_distance_ly: z.ZodNumber;
4059
+ total_distance_ly: z.ZodNumber;
4060
+ gate_jumps: z.ZodNumber;
4061
+ drive_jumps: z.ZodNumber;
4062
+ total_jumps: z.ZodNumber;
4063
+ }, z.core.$strip>;
4064
+ waypoints: z.ZodArray<z.ZodPipe<z.ZodObject<{
4065
+ solar_system_id: z.ZodNumber;
4066
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4067
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
4068
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4069
+ }, z.core.$strip>, z.ZodTransform<{
4070
+ solarSystemId: number;
4071
+ solarSystemName: string | null;
4072
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4073
+ distanceLy: number | null;
4074
+ }, {
4075
+ solar_system_id: number;
4076
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
4077
+ solar_system_name?: string | null | undefined;
4078
+ distance_ly?: number | null | undefined;
4079
+ }>>>;
4080
+ }, z.core.$strip>, z.ZodTransform<{
4081
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4082
+ totalJumps: number;
4083
+ gateJumps: number;
4084
+ driveJumps: number;
4085
+ totalDistanceLy: number;
4086
+ driveDistanceLy: number;
4087
+ waypoints: {
4088
+ solarSystemId: number;
4089
+ solarSystemName: string | null;
4090
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4091
+ distanceLy: number | null;
4092
+ }[];
4093
+ }, {
4094
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4095
+ total_cost: {
4096
+ drive_distance_ly: number;
4097
+ total_distance_ly: number;
4098
+ gate_jumps: number;
4099
+ drive_jumps: number;
4100
+ total_jumps: number;
4101
+ };
4102
+ waypoints: {
4103
+ solarSystemId: number;
4104
+ solarSystemName: string | null;
4105
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4106
+ distanceLy: number | null;
4107
+ }[];
4108
+ }>>;
4109
+ fastest: z.ZodPipe<z.ZodObject<{
4110
+ optimization: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "fuel_efficient" | "fastest" | "balanced", string>>;
4111
+ total_cost: z.ZodObject<{
4112
+ drive_distance_ly: z.ZodNumber;
4113
+ total_distance_ly: z.ZodNumber;
4114
+ gate_jumps: z.ZodNumber;
4115
+ drive_jumps: z.ZodNumber;
4116
+ total_jumps: z.ZodNumber;
4117
+ }, z.core.$strip>;
4118
+ waypoints: z.ZodArray<z.ZodPipe<z.ZodObject<{
4119
+ solar_system_id: z.ZodNumber;
4120
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4121
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
4122
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4123
+ }, z.core.$strip>, z.ZodTransform<{
4124
+ solarSystemId: number;
4125
+ solarSystemName: string | null;
4126
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4127
+ distanceLy: number | null;
4128
+ }, {
4129
+ solar_system_id: number;
4130
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
4131
+ solar_system_name?: string | null | undefined;
4132
+ distance_ly?: number | null | undefined;
4133
+ }>>>;
4134
+ }, z.core.$strip>, z.ZodTransform<{
4135
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4136
+ totalJumps: number;
4137
+ gateJumps: number;
4138
+ driveJumps: number;
4139
+ totalDistanceLy: number;
4140
+ driveDistanceLy: number;
4141
+ waypoints: {
4142
+ solarSystemId: number;
4143
+ solarSystemName: string | null;
4144
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4145
+ distanceLy: number | null;
4146
+ }[];
4147
+ }, {
4148
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4149
+ total_cost: {
4150
+ drive_distance_ly: number;
4151
+ total_distance_ly: number;
4152
+ gate_jumps: number;
4153
+ drive_jumps: number;
4154
+ total_jumps: number;
4155
+ };
4156
+ waypoints: {
4157
+ solarSystemId: number;
4158
+ solarSystemName: string | null;
4159
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4160
+ distanceLy: number | null;
4161
+ }[];
4162
+ }>>;
4163
+ balanced: z.ZodPipe<z.ZodObject<{
4164
+ optimization: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "fuel_efficient" | "fastest" | "balanced", string>>;
4165
+ total_cost: z.ZodObject<{
4166
+ drive_distance_ly: z.ZodNumber;
4167
+ total_distance_ly: z.ZodNumber;
4168
+ gate_jumps: z.ZodNumber;
4169
+ drive_jumps: z.ZodNumber;
4170
+ total_jumps: z.ZodNumber;
4171
+ }, z.core.$strip>;
4172
+ waypoints: z.ZodArray<z.ZodPipe<z.ZodObject<{
4173
+ solar_system_id: z.ZodNumber;
4174
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4175
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
4176
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4177
+ }, z.core.$strip>, z.ZodTransform<{
4178
+ solarSystemId: number;
4179
+ solarSystemName: string | null;
4180
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4181
+ distanceLy: number | null;
4182
+ }, {
4183
+ solar_system_id: number;
4184
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
4185
+ solar_system_name?: string | null | undefined;
4186
+ distance_ly?: number | null | undefined;
4187
+ }>>>;
4188
+ }, z.core.$strip>, z.ZodTransform<{
4189
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4190
+ totalJumps: number;
4191
+ gateJumps: number;
4192
+ driveJumps: number;
4193
+ totalDistanceLy: number;
4194
+ driveDistanceLy: number;
4195
+ waypoints: {
4196
+ solarSystemId: number;
4197
+ solarSystemName: string | null;
4198
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4199
+ distanceLy: number | null;
4200
+ }[];
4201
+ }, {
4202
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4203
+ total_cost: {
4204
+ drive_distance_ly: number;
4205
+ total_distance_ly: number;
4206
+ gate_jumps: number;
4207
+ drive_jumps: number;
4208
+ total_jumps: number;
4209
+ };
4210
+ waypoints: {
4211
+ solarSystemId: number;
4212
+ solarSystemName: string | null;
4213
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4214
+ distanceLy: number | null;
4215
+ }[];
4216
+ }>>;
4217
+ }, z.core.$strip>, z.ZodTransform<{
4218
+ fuelEfficient: {
4219
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4220
+ totalJumps: number;
4221
+ gateJumps: number;
4222
+ driveJumps: number;
4223
+ totalDistanceLy: number;
4224
+ driveDistanceLy: number;
4225
+ waypoints: {
4226
+ solarSystemId: number;
4227
+ solarSystemName: string | null;
4228
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4229
+ distanceLy: number | null;
4230
+ }[];
4231
+ };
4232
+ fastest: {
4233
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4234
+ totalJumps: number;
4235
+ gateJumps: number;
4236
+ driveJumps: number;
4237
+ totalDistanceLy: number;
4238
+ driveDistanceLy: number;
4239
+ waypoints: {
4240
+ solarSystemId: number;
4241
+ solarSystemName: string | null;
4242
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4243
+ distanceLy: number | null;
4244
+ }[];
4245
+ };
4246
+ balanced: {
4247
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4248
+ totalJumps: number;
4249
+ gateJumps: number;
4250
+ driveJumps: number;
4251
+ totalDistanceLy: number;
4252
+ driveDistanceLy: number;
4253
+ waypoints: {
4254
+ solarSystemId: number;
4255
+ solarSystemName: string | null;
4256
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4257
+ distanceLy: number | null;
4258
+ }[];
4259
+ };
4260
+ }, {
4261
+ fuel_efficient: {
4262
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4263
+ totalJumps: number;
4264
+ gateJumps: number;
4265
+ driveJumps: number;
4266
+ totalDistanceLy: number;
4267
+ driveDistanceLy: number;
4268
+ waypoints: {
4269
+ solarSystemId: number;
4270
+ solarSystemName: string | null;
4271
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4272
+ distanceLy: number | null;
4273
+ }[];
4274
+ };
4275
+ fastest: {
4276
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4277
+ totalJumps: number;
4278
+ gateJumps: number;
4279
+ driveJumps: number;
4280
+ totalDistanceLy: number;
4281
+ driveDistanceLy: number;
4282
+ waypoints: {
4283
+ solarSystemId: number;
4284
+ solarSystemName: string | null;
4285
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4286
+ distanceLy: number | null;
4287
+ }[];
4288
+ };
4289
+ balanced: {
4290
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
4291
+ totalJumps: number;
4292
+ gateJumps: number;
4293
+ driveJumps: number;
4294
+ totalDistanceLy: number;
4295
+ driveDistanceLy: number;
4296
+ waypoints: {
4297
+ solarSystemId: number;
4298
+ solarSystemName: string | null;
4299
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
4300
+ distanceLy: number | null;
4301
+ }[];
4302
+ };
4303
+ }>>;
4304
+ export declare const RoutingStatsSchema: z.ZodPipe<z.ZodObject<{
4305
+ connected_systems: z.ZodNumber;
4306
+ stargate_edges: z.ZodNumber;
4307
+ jump_drive_edges: z.ZodNumber;
4308
+ max_jump_range_ly: z.ZodNumber;
4309
+ }, z.core.$strip>, z.ZodTransform<{
4310
+ connectedSystems: number;
4311
+ stargateEdges: number;
4312
+ jumpDriveEdges: number;
4313
+ maxJumpRangeLy: number;
4314
+ }, {
4315
+ connected_systems: number;
4316
+ stargate_edges: number;
4317
+ jump_drive_edges: number;
4318
+ max_jump_range_ly: number;
4319
+ }>>;
2113
4320
  export declare function parseWith<Schema extends z.ZodType>(schema: Schema, data: unknown, what: string): z.output<Schema>;