@trinaryex/sdk 3.9.0 → 4.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 +218 -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 +10587 -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 +1911 -50
  45. package/dist/transactions.d.ts +63 -1
  46. package/dist/types.d.ts +116 -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,1861 @@ 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 RecipeMaterialSchema: z.ZodPipe<z.ZodObject<{
3585
+ id: z.ZodNumber;
3586
+ name: z.ZodOptional<z.ZodString>;
3587
+ quantity: z.ZodNumber;
3588
+ }, z.core.$strip>, z.ZodTransform<{
3589
+ assetId: string;
3590
+ name: string | null;
3591
+ quantity: number;
3592
+ }, {
3593
+ id: number;
3594
+ quantity: number;
3595
+ name?: string | undefined;
3596
+ }>>;
3597
+ export declare const RecipeSchema: z.ZodPipe<z.ZodObject<{
3598
+ productId: z.ZodNumber;
3599
+ productName: z.ZodString;
3600
+ outputQuantity: z.ZodNumber;
3601
+ time: z.ZodNumber;
3602
+ materials: z.ZodArray<z.ZodPipe<z.ZodObject<{
3603
+ id: z.ZodNumber;
3604
+ name: z.ZodOptional<z.ZodString>;
3605
+ quantity: z.ZodNumber;
3606
+ }, z.core.$strip>, z.ZodTransform<{
3607
+ assetId: string;
3608
+ name: string | null;
3609
+ quantity: number;
3610
+ }, {
3611
+ id: number;
3612
+ quantity: number;
3613
+ name?: string | undefined;
3614
+ }>>>;
3615
+ }, z.core.$strip>, z.ZodTransform<{
3616
+ productAssetId: string;
3617
+ productName: string;
3618
+ outputQuantity: number;
3619
+ craftTimeSeconds: number | null;
3620
+ materials: {
3621
+ assetId: string;
3622
+ name: string | null;
3623
+ quantity: number;
3624
+ }[];
3625
+ }, {
3626
+ productId: number;
3627
+ productName: string;
3628
+ outputQuantity: number;
3629
+ time: number;
3630
+ materials: {
3631
+ assetId: string;
3632
+ name: string | null;
3633
+ quantity: number;
3634
+ }[];
3635
+ }>>;
3636
+ export declare const ROUTE_OPTIMIZATIONS: readonly ["fuel_efficient", "fastest", "balanced"];
3637
+ export declare const JUMP_TYPES: readonly ["start", "stargate", "jump_drive"];
3638
+ export declare const WaypointSchema: z.ZodPipe<z.ZodObject<{
3639
+ solar_system_id: z.ZodNumber;
3640
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3641
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
3642
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3643
+ }, z.core.$strip>, z.ZodTransform<{
3644
+ solarSystemId: number;
3645
+ solarSystemName: string | null;
3646
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3647
+ distanceLy: number | null;
3648
+ }, {
3649
+ solar_system_id: number;
3650
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
3651
+ solar_system_name?: string | null | undefined;
3652
+ distance_ly?: number | null | undefined;
3653
+ }>>;
3654
+ export declare const RouteSchema: z.ZodPipe<z.ZodObject<{
3655
+ optimization: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "fuel_efficient" | "fastest" | "balanced", string>>;
3656
+ total_cost: z.ZodObject<{
3657
+ drive_distance_ly: z.ZodNumber;
3658
+ total_distance_ly: z.ZodNumber;
3659
+ gate_jumps: z.ZodNumber;
3660
+ drive_jumps: z.ZodNumber;
3661
+ total_jumps: z.ZodNumber;
3662
+ }, z.core.$strip>;
3663
+ waypoints: z.ZodArray<z.ZodPipe<z.ZodObject<{
3664
+ solar_system_id: z.ZodNumber;
3665
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3666
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
3667
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3668
+ }, z.core.$strip>, z.ZodTransform<{
3669
+ solarSystemId: number;
3670
+ solarSystemName: string | null;
3671
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3672
+ distanceLy: number | null;
3673
+ }, {
3674
+ solar_system_id: number;
3675
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
3676
+ solar_system_name?: string | null | undefined;
3677
+ distance_ly?: number | null | undefined;
3678
+ }>>>;
3679
+ }, z.core.$strip>, z.ZodTransform<{
3680
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3681
+ totalJumps: number;
3682
+ gateJumps: number;
3683
+ driveJumps: number;
3684
+ totalDistanceLy: number;
3685
+ driveDistanceLy: number;
3686
+ waypoints: {
3687
+ solarSystemId: number;
3688
+ solarSystemName: string | null;
3689
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3690
+ distanceLy: number | null;
3691
+ }[];
3692
+ }, {
3693
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3694
+ total_cost: {
3695
+ drive_distance_ly: number;
3696
+ total_distance_ly: number;
3697
+ gate_jumps: number;
3698
+ drive_jumps: number;
3699
+ total_jumps: number;
3700
+ };
3701
+ waypoints: {
3702
+ solarSystemId: number;
3703
+ solarSystemName: string | null;
3704
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3705
+ distanceLy: number | null;
3706
+ }[];
3707
+ }>>;
3708
+ export declare const RouteComparisonSchema: z.ZodPipe<z.ZodObject<{
3709
+ fuel_efficient: z.ZodPipe<z.ZodObject<{
3710
+ optimization: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "fuel_efficient" | "fastest" | "balanced", string>>;
3711
+ total_cost: z.ZodObject<{
3712
+ drive_distance_ly: z.ZodNumber;
3713
+ total_distance_ly: z.ZodNumber;
3714
+ gate_jumps: z.ZodNumber;
3715
+ drive_jumps: z.ZodNumber;
3716
+ total_jumps: z.ZodNumber;
3717
+ }, z.core.$strip>;
3718
+ waypoints: z.ZodArray<z.ZodPipe<z.ZodObject<{
3719
+ solar_system_id: z.ZodNumber;
3720
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3721
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
3722
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3723
+ }, z.core.$strip>, z.ZodTransform<{
3724
+ solarSystemId: number;
3725
+ solarSystemName: string | null;
3726
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3727
+ distanceLy: number | null;
3728
+ }, {
3729
+ solar_system_id: number;
3730
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
3731
+ solar_system_name?: string | null | undefined;
3732
+ distance_ly?: number | null | undefined;
3733
+ }>>>;
3734
+ }, z.core.$strip>, z.ZodTransform<{
3735
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3736
+ totalJumps: number;
3737
+ gateJumps: number;
3738
+ driveJumps: number;
3739
+ totalDistanceLy: number;
3740
+ driveDistanceLy: number;
3741
+ waypoints: {
3742
+ solarSystemId: number;
3743
+ solarSystemName: string | null;
3744
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3745
+ distanceLy: number | null;
3746
+ }[];
3747
+ }, {
3748
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3749
+ total_cost: {
3750
+ drive_distance_ly: number;
3751
+ total_distance_ly: number;
3752
+ gate_jumps: number;
3753
+ drive_jumps: number;
3754
+ total_jumps: number;
3755
+ };
3756
+ waypoints: {
3757
+ solarSystemId: number;
3758
+ solarSystemName: string | null;
3759
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3760
+ distanceLy: number | null;
3761
+ }[];
3762
+ }>>;
3763
+ fastest: z.ZodPipe<z.ZodObject<{
3764
+ optimization: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "fuel_efficient" | "fastest" | "balanced", string>>;
3765
+ total_cost: z.ZodObject<{
3766
+ drive_distance_ly: z.ZodNumber;
3767
+ total_distance_ly: z.ZodNumber;
3768
+ gate_jumps: z.ZodNumber;
3769
+ drive_jumps: z.ZodNumber;
3770
+ total_jumps: z.ZodNumber;
3771
+ }, z.core.$strip>;
3772
+ waypoints: z.ZodArray<z.ZodPipe<z.ZodObject<{
3773
+ solar_system_id: z.ZodNumber;
3774
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3775
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
3776
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3777
+ }, z.core.$strip>, z.ZodTransform<{
3778
+ solarSystemId: number;
3779
+ solarSystemName: string | null;
3780
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3781
+ distanceLy: number | null;
3782
+ }, {
3783
+ solar_system_id: number;
3784
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
3785
+ solar_system_name?: string | null | undefined;
3786
+ distance_ly?: number | null | undefined;
3787
+ }>>>;
3788
+ }, z.core.$strip>, z.ZodTransform<{
3789
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3790
+ totalJumps: number;
3791
+ gateJumps: number;
3792
+ driveJumps: number;
3793
+ totalDistanceLy: number;
3794
+ driveDistanceLy: number;
3795
+ waypoints: {
3796
+ solarSystemId: number;
3797
+ solarSystemName: string | null;
3798
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3799
+ distanceLy: number | null;
3800
+ }[];
3801
+ }, {
3802
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3803
+ total_cost: {
3804
+ drive_distance_ly: number;
3805
+ total_distance_ly: number;
3806
+ gate_jumps: number;
3807
+ drive_jumps: number;
3808
+ total_jumps: number;
3809
+ };
3810
+ waypoints: {
3811
+ solarSystemId: number;
3812
+ solarSystemName: string | null;
3813
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3814
+ distanceLy: number | null;
3815
+ }[];
3816
+ }>>;
3817
+ balanced: z.ZodPipe<z.ZodObject<{
3818
+ optimization: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "fuel_efficient" | "fastest" | "balanced", string>>;
3819
+ total_cost: z.ZodObject<{
3820
+ drive_distance_ly: z.ZodNumber;
3821
+ total_distance_ly: z.ZodNumber;
3822
+ gate_jumps: z.ZodNumber;
3823
+ drive_jumps: z.ZodNumber;
3824
+ total_jumps: z.ZodNumber;
3825
+ }, z.core.$strip>;
3826
+ waypoints: z.ZodArray<z.ZodPipe<z.ZodObject<{
3827
+ solar_system_id: z.ZodNumber;
3828
+ solar_system_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3829
+ jump_type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | "start" | "stargate" | "jump_drive", string>>;
3830
+ distance_ly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3831
+ }, z.core.$strip>, z.ZodTransform<{
3832
+ solarSystemId: number;
3833
+ solarSystemName: string | null;
3834
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3835
+ distanceLy: number | null;
3836
+ }, {
3837
+ solar_system_id: number;
3838
+ jump_type: (string & {}) | "start" | "stargate" | "jump_drive";
3839
+ solar_system_name?: string | null | undefined;
3840
+ distance_ly?: number | null | undefined;
3841
+ }>>>;
3842
+ }, z.core.$strip>, z.ZodTransform<{
3843
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3844
+ totalJumps: number;
3845
+ gateJumps: number;
3846
+ driveJumps: number;
3847
+ totalDistanceLy: number;
3848
+ driveDistanceLy: number;
3849
+ waypoints: {
3850
+ solarSystemId: number;
3851
+ solarSystemName: string | null;
3852
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3853
+ distanceLy: number | null;
3854
+ }[];
3855
+ }, {
3856
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3857
+ total_cost: {
3858
+ drive_distance_ly: number;
3859
+ total_distance_ly: number;
3860
+ gate_jumps: number;
3861
+ drive_jumps: number;
3862
+ total_jumps: number;
3863
+ };
3864
+ waypoints: {
3865
+ solarSystemId: number;
3866
+ solarSystemName: string | null;
3867
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3868
+ distanceLy: number | null;
3869
+ }[];
3870
+ }>>;
3871
+ }, z.core.$strip>, z.ZodTransform<{
3872
+ fuelEfficient: {
3873
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3874
+ totalJumps: number;
3875
+ gateJumps: number;
3876
+ driveJumps: number;
3877
+ totalDistanceLy: number;
3878
+ driveDistanceLy: number;
3879
+ waypoints: {
3880
+ solarSystemId: number;
3881
+ solarSystemName: string | null;
3882
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3883
+ distanceLy: number | null;
3884
+ }[];
3885
+ };
3886
+ fastest: {
3887
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3888
+ totalJumps: number;
3889
+ gateJumps: number;
3890
+ driveJumps: number;
3891
+ totalDistanceLy: number;
3892
+ driveDistanceLy: number;
3893
+ waypoints: {
3894
+ solarSystemId: number;
3895
+ solarSystemName: string | null;
3896
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3897
+ distanceLy: number | null;
3898
+ }[];
3899
+ };
3900
+ balanced: {
3901
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3902
+ totalJumps: number;
3903
+ gateJumps: number;
3904
+ driveJumps: number;
3905
+ totalDistanceLy: number;
3906
+ driveDistanceLy: number;
3907
+ waypoints: {
3908
+ solarSystemId: number;
3909
+ solarSystemName: string | null;
3910
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3911
+ distanceLy: number | null;
3912
+ }[];
3913
+ };
3914
+ }, {
3915
+ fuel_efficient: {
3916
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3917
+ totalJumps: number;
3918
+ gateJumps: number;
3919
+ driveJumps: number;
3920
+ totalDistanceLy: number;
3921
+ driveDistanceLy: number;
3922
+ waypoints: {
3923
+ solarSystemId: number;
3924
+ solarSystemName: string | null;
3925
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3926
+ distanceLy: number | null;
3927
+ }[];
3928
+ };
3929
+ fastest: {
3930
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3931
+ totalJumps: number;
3932
+ gateJumps: number;
3933
+ driveJumps: number;
3934
+ totalDistanceLy: number;
3935
+ driveDistanceLy: number;
3936
+ waypoints: {
3937
+ solarSystemId: number;
3938
+ solarSystemName: string | null;
3939
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3940
+ distanceLy: number | null;
3941
+ }[];
3942
+ };
3943
+ balanced: {
3944
+ optimization: (string & {}) | "fuel_efficient" | "fastest" | "balanced";
3945
+ totalJumps: number;
3946
+ gateJumps: number;
3947
+ driveJumps: number;
3948
+ totalDistanceLy: number;
3949
+ driveDistanceLy: number;
3950
+ waypoints: {
3951
+ solarSystemId: number;
3952
+ solarSystemName: string | null;
3953
+ jumpType: (string & {}) | "start" | "stargate" | "jump_drive";
3954
+ distanceLy: number | null;
3955
+ }[];
3956
+ };
3957
+ }>>;
3958
+ export declare const RoutingStatsSchema: z.ZodPipe<z.ZodObject<{
3959
+ connected_systems: z.ZodNumber;
3960
+ stargate_edges: z.ZodNumber;
3961
+ jump_drive_edges: z.ZodNumber;
3962
+ max_jump_range_ly: z.ZodNumber;
3963
+ }, z.core.$strip>, z.ZodTransform<{
3964
+ connectedSystems: number;
3965
+ stargateEdges: number;
3966
+ jumpDriveEdges: number;
3967
+ maxJumpRangeLy: number;
3968
+ }, {
3969
+ connected_systems: number;
3970
+ stargate_edges: number;
3971
+ jump_drive_edges: number;
3972
+ max_jump_range_ly: number;
3973
+ }>>;
2113
3974
  export declare function parseWith<Schema extends z.ZodType>(schema: Schema, data: unknown, what: string): z.output<Schema>;