@spacemolt/lib 16.7.0 → 17.1.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.
@@ -17,6 +17,10 @@ export type AcceptMissionResponse = {
17
17
  fixer?: FixerAccountInfo;
18
18
  message: string;
19
19
  mission_id: string;
20
+ /**
21
+ * True for missions with no deadline. Then expires_at is empty. Omitted means the mission uses its expires_at deadline.
22
+ */
23
+ no_expiry?: boolean;
20
24
  replacement_cost?: number;
21
25
  template_id?: string;
22
26
  title: string;
@@ -109,6 +113,10 @@ export type ActiveMissionInfo = {
109
113
  issuing_system_id?: string;
110
114
  issuing_system_name?: string;
111
115
  mission_id: string;
116
+ /**
117
+ * True for missions with no deadline. Then expires_in_ticks is zero. Omitted means expires_in_ticks is the remaining deadline.
118
+ */
119
+ no_expiry?: boolean;
112
120
  objectives?: Array<ObjectiveProgressInfo>;
113
121
  percent_complete: number;
114
122
  /**
@@ -853,7 +861,7 @@ export type AttackNpcResponse = {
853
861
  */
854
862
  target_name: string;
855
863
  /**
856
- * Target combatant type: pirate/empire_npc/creature/station/prize
864
+ * Target combatant type: pirate/empire_npc/creature/station/prize/repeater
857
865
  */
858
866
  target_type: string;
859
867
  /**
@@ -949,6 +957,43 @@ export type Base = {
949
957
  * Current fuel reserves in the station's fuel tank
950
958
  */
951
959
  fuel?: number;
960
+ /**
961
+ * Present only when this outpost is one end of a player-built jump gate; omitted otherwise. The owning faction's station info action describes it in full.
962
+ */
963
+ gate?: {
964
+ /**
965
+ * True when only the owning faction may cross; omitted when public
966
+ */
967
+ faction_only?: boolean;
968
+ /**
969
+ * System the other end of the gate stands in
970
+ */
971
+ far_system_id?: string;
972
+ /**
973
+ * True once the owners were warned that this end holds fewer than 3 cycles of upkeep, or while building that it stalled; omitted otherwise
974
+ */
975
+ low_supply_warned?: boolean;
976
+ /**
977
+ * True while the gate is open for jump; omitted when closed
978
+ */
979
+ online?: boolean;
980
+ /**
981
+ * Base id of the other end; omitted until that end is founded
982
+ */
983
+ partner_base_id?: string;
984
+ /**
985
+ * Construction phases this end has completed (0-4); 4 means built
986
+ */
987
+ phase?: number;
988
+ /**
989
+ * While building: facility cycles of the current phase done. Once built: upkeep cycles paid so far
990
+ */
991
+ phase_cycles?: number;
992
+ /**
993
+ * Credits per ship charged to pilots outside the owning faction; omitted when free
994
+ */
995
+ toll?: number;
996
+ };
952
997
  id: string;
953
998
  /**
954
999
  * Owner-set market listing fee in basis points (player station); 0 = default
@@ -992,11 +1037,33 @@ export type Base = {
992
1037
  type?: string;
993
1038
  };
994
1039
  export type BaseCostResponse = {
1040
+ /**
1041
+ * True when your current location passes these checks: you are in a faction, undocked at a point of interest in a system with no empire and zero police, the POI and the system host no station, and a Station Core is in your cargo. It does not check the ManageBases permission, the fee, the station cap or the POI type; build_base checks those.
1042
+ */
995
1043
  eligible_here: boolean;
1044
+ /**
1045
+ * Credits charged to found a station with build_base, on top of the Station Core. Taken from the faction treasury first, then your wallet.
1046
+ */
996
1047
  founding_fee: number;
1048
+ /**
1049
+ * Most stations one faction can own at once. Outposts and the faction mobile base do not count toward it.
1050
+ */
997
1051
  max_per_faction: number;
1052
+ /**
1053
+ * Credits charged to found an outpost with build_outpost, on top of the Outpost Kit. Taken from the faction treasury first, then your wallet, and not refunded when the outpost is dismantled. founding_fee is the station fee; the other fields of this response cover stations only.
1054
+ */
1055
+ outpost_founding_fee: number;
1056
+ /**
1057
+ * Human-readable result of the eligible_here check: the first failed check when eligible_here is false, or a confirmation with the fee when it is true. Present on every response.
1058
+ */
998
1059
  reason?: string;
1060
+ /**
1061
+ * Fixed prose summary of every station founding rule. The same text for every caller and location.
1062
+ */
999
1063
  requirements: string;
1064
+ /**
1065
+ * Item ID of the Station Core that build_base consumes from your cargo to found a station. Always station_core.
1066
+ */
1000
1067
  station_core_item: string;
1001
1068
  };
1002
1069
  export type BattleCombatState = {
@@ -1119,6 +1186,10 @@ export type BattleLogEntry = {
1119
1186
  joins?: Array<JoinLogEntry>;
1120
1187
  kills?: Array<KillLogEntry>;
1121
1188
  personnel_casualties?: Array<PersonnelCasualtyLogEntry>;
1189
+ /**
1190
+ * True for a battle in a frontier system. It stays off the public battle list; its own pilots still read its log. Omitted for every other battle.
1191
+ */
1192
+ private?: boolean;
1122
1193
  recovered_summary?: RecoveredBattleSummary;
1123
1194
  regen?: Array<RegenLogEntry>;
1124
1195
  snapshots: Array<ParticipantSnapshot>;
@@ -2065,7 +2136,6 @@ export type CarrierTierProgress = {
2065
2136
  export type CatalogAchievement = {
2066
2137
  after?: string;
2067
2138
  category: string;
2068
- credits?: number;
2069
2139
  criteria: string;
2070
2140
  description: string;
2071
2141
  emblem?: string;
@@ -2074,9 +2144,6 @@ export type CatalogAchievement = {
2074
2144
  name: string;
2075
2145
  points: number;
2076
2146
  series?: string;
2077
- skill_xp?: {
2078
- [key: string]: number;
2079
- };
2080
2147
  title?: string;
2081
2148
  };
2082
2149
  export type CatalogDump = {
@@ -2152,6 +2219,10 @@ export type CatalogRecipe = {
2152
2219
  * Ids of the facility definitions that can run this recipe forward, each matching an entry in this dump's facilities list. Sorted by facility level then name. Always present, never omitted: an empty list means no facility definition runs it, which for a hand_craftable recipe is normal (the Station Workshop is then the only venue) and for a recipe with hand_craftable false means it has no player-reachable venue at all. Owning or renting one of these facilities is what craft auto-routes to.
2153
2220
  */
2154
2221
  produced_by_facility_ids: Array<string>;
2222
+ /**
2223
+ * True when a pilot must first earn this recipe from a quest: crafting it fails with recipe_locked until a completed mission's unlock_recipes reward grants it. Absent on every recipe anyone can craft.
2224
+ */
2225
+ requires_unlock?: boolean;
2155
2226
  };
2156
2227
  export type CatalogResponse = {
2157
2228
  analysis?: RecipeAnalysis;
@@ -2374,6 +2445,10 @@ export type ClientPoiInfo = {
2374
2445
  * True when a base (a station, an outpost, or a mobile base) is at this POI.
2375
2446
  */
2376
2447
  has_base: boolean;
2448
+ /**
2449
+ * Environmental hazard at this POI (type and severity). Omitted when there is none. Shields absorb a dose first and resistance to its damage type reduces it; an emptied hull is a lost ship.
2450
+ */
2451
+ hazard?: PoiHazard;
2377
2452
  /**
2378
2453
  * POI ID. Pass it to travel or find_route.
2379
2454
  */
@@ -2399,6 +2474,10 @@ export type ClientSystemInfo = {
2399
2474
  connections: Array<ClientConnectionInfo>;
2400
2475
  description?: string;
2401
2476
  empire?: string;
2477
+ /**
2478
+ * Frontier depth tier: 1 for near frontier or 2 for deep frontier. Omitted for known space. Revealed only after entry or receipt of charted faction intel.
2479
+ */
2480
+ frontier_tier?: number;
2402
2481
  id: string;
2403
2482
  is_stronghold: boolean;
2404
2483
  name: string;
@@ -2661,6 +2740,10 @@ export type CompleteMissionResponse = {
2661
2740
  };
2662
2741
  message: string;
2663
2742
  mission_id: string;
2743
+ /**
2744
+ * Recipe IDs this completion taught you. You can craft them from now on. Omitted when the mission teaches none or you already knew them.
2745
+ */
2746
+ recipes_unlocked?: Array<string>;
2664
2747
  reputation_changes?: {
2665
2748
  [key: string]: number;
2666
2749
  };
@@ -2668,6 +2751,10 @@ export type CompleteMissionResponse = {
2668
2751
  [key: string]: number;
2669
2752
  };
2670
2753
  title: string;
2754
+ /**
2755
+ * Every mission that names the completed mission as a prerequisite and that the player can still take, sorted by mission ID. Missions for another empire and one-time missions already completed are left out. chain_next names at most one of them. Omitted when the completed mission unlocks nothing.
2756
+ */
2757
+ unlocks?: Array<MissionUnlock>;
2671
2758
  };
2672
2759
  export type CompletedMissionSummary = {
2673
2760
  completion_time: string;
@@ -4311,7 +4398,6 @@ export type FactionCreateBuyOrderResponse = {
4311
4398
  total_spent?: number;
4312
4399
  };
4313
4400
  export type FactionCreateRolePermissions = {
4314
- broadcast: boolean;
4315
4401
  invite: boolean;
4316
4402
  kick: boolean;
4317
4403
  manage_bases: boolean;
@@ -4522,32 +4608,97 @@ export type FactionGiftResponse = {
4522
4608
  message: string;
4523
4609
  };
4524
4610
  export type FactionInfoResponse = {
4611
+ /**
4612
+ * Pending alliance proposals other factions sent to this faction. Members only: omitted for non-members and when there are none.
4613
+ */
4525
4614
  alliance_proposals?: Array<FactionAllianceProposal>;
4615
+ /**
4616
+ * Factions allied with this faction. Visible to everyone. Omitted when there are none.
4617
+ */
4526
4618
  allies?: Array<FactionListItem>;
4619
+ /**
4620
+ * True when this faction's members are never auto-joined to a battle on an ally's behalf. Own-faction and war pulls still apply. Default false. Set with faction_edit. Members only: omitted for non-members.
4621
+ */
4527
4622
  ally_battle_opt_out?: boolean;
4623
+ /**
4624
+ * True when members of allied factions may use this faction's facilities without the rental fee; their jobs still queue behind this faction's own. Default false: allies get the same access and price as any outsider. Set with faction_edit. Members only: omitted for non-members.
4625
+ */
4528
4626
  ally_facility_access?: boolean;
4627
+ /**
4628
+ * True when members of allied factions may refuel from this faction's fuel bunker reserves. Default false. Set with faction_edit. Members only: omitted for non-members.
4629
+ */
4529
4630
  ally_fuel_access?: boolean;
4631
+ /**
4632
+ * True when allied factions cannot read this faction's intel pools (system and trade intel). Default false: allies can read them. Set with faction_edit. Members only: omitted for non-members.
4633
+ */
4530
4634
  ally_intel_opt_out?: boolean;
4635
+ /**
4636
+ * True when members of allied factions may commission ships at this faction's station shipyards under its ship licenses, with their own materials and treasury. Default false. Set with faction_edit. Members only: omitted for non-members.
4637
+ */
4531
4638
  ally_shipyard_access?: boolean;
4639
+ /**
4640
+ * True when your faction is at war with this faction. False when you are in no faction.
4641
+ */
4532
4642
  at_war: boolean;
4643
+ /**
4644
+ * Public faction charter set with faction_edit (max 4000 characters). Empty when none is set.
4645
+ */
4533
4646
  charter: string;
4647
+ /**
4648
+ * When the faction was founded (RFC 3339).
4649
+ */
4534
4650
  created_at: string;
4651
+ /**
4652
+ * Public faction tagline set with faction_edit (max 500 characters). Empty when none is set.
4653
+ */
4535
4654
  description: string;
4536
- emblem?: string;
4655
+ /**
4656
+ * Factions this faction has marked as enemies with faction_set_enemy. Visible to everyone. Omitted when there are none. Active wars are listed under wars.
4657
+ */
4537
4658
  enemies?: Array<FactionListItem>;
4659
+ /**
4660
+ * Faction-owned facilities across all stations, sorted by base ID then facility type. Members only: omitted for non-members and when there are none.
4661
+ */
4538
4662
  facilities?: Array<FactionFacilityPresence>;
4539
4663
  /**
4540
4664
  * Rent and arrears for the faction's facilities across all stations; billed to the treasury each cycle. Facilities at the faction's own station or outpost pay no rent and count at 0, so a faction that owns facilities only there gets a summary with zero rent. Omitted for non-members and for a faction that owns no facilities. Use facility action=faction_owned for the per-facility breakdown.
4541
4665
  */
4542
4666
  faction_rent?: FacilityRentSummary;
4667
+ /**
4668
+ * One row per station where the faction has an active fuel bunker, sorted by base ID. At the faction's own station the row shows the shared station tank. Members only: omitted for non-members and when there are none.
4669
+ */
4543
4670
  fuel_bunkers?: Array<FactionFuelBunker>;
4671
+ /**
4672
+ * Faction ID.
4673
+ */
4544
4674
  id: string;
4675
+ /**
4676
+ * True when your faction is allied with this faction. False when you are in no faction.
4677
+ */
4545
4678
  is_ally: boolean;
4679
+ /**
4680
+ * True when your faction has marked this faction as an enemy. False when you are in no faction.
4681
+ */
4546
4682
  is_enemy: boolean;
4683
+ /**
4684
+ * True when you are a member of this faction. Members-only fields are present only when this is true.
4685
+ */
4547
4686
  is_member: boolean;
4687
+ /**
4688
+ * Player ID of the faction leader.
4689
+ */
4548
4690
  leader_id: string;
4691
+ /**
4692
+ * Username of the faction leader. Unknown when the leader account no longer exists.
4693
+ */
4549
4694
  leader_username: string;
4695
+ /**
4696
+ * Total number of members in the faction. Not the size of the members page.
4697
+ */
4550
4698
  member_count: number;
4699
+ /**
4700
+ * One page of the member list (see members_offset and members_limit). Members only: omitted for non-members and for a page past the end of the list.
4701
+ */
4551
4702
  members?: Array<FactionMember>;
4552
4703
  /**
4553
4704
  * Member-list pagination: page size used for this response (the limit you passed if 1-100, else 50). This is NOT the faction member cap. Joining a full faction fails with a faction_full error that states the cap.
@@ -4569,21 +4720,64 @@ export type FactionInfoResponse = {
4569
4720
  * Pending mobile-base construction reservation. Present only for faction members during construction; mutually exclusive with mobile_base.
4570
4721
  */
4571
4722
  mobile_base_commission?: MobileBaseCommissionInfo;
4723
+ /**
4724
+ * Faction display name.
4725
+ */
4572
4726
  name: string;
4727
+ /**
4728
+ * Number of bases the faction owns: stations, outposts and its mobile base. Visible to everyone.
4729
+ */
4573
4730
  owned_bases: number;
4731
+ /**
4732
+ * Pending peace proposals other factions sent to this faction. Members only: omitted for non-members and when there are none.
4733
+ */
4574
4734
  peace_proposals?: Array<FactionPeaceProposal>;
4735
+ /**
4736
+ * Live faction-wide crew and marine employment. Members only: omitted for non-members.
4737
+ */
4575
4738
  personnel?: FactionPersonnelEmployment;
4739
+ /**
4740
+ * Faction primary color as a hex string such as #FF0000. Starts as the founder's color; set with faction_edit.
4741
+ */
4576
4742
  primary_color: string;
4743
+ /**
4744
+ * Faction roles with their permissions, highest priority first. Members only: omitted for non-members.
4745
+ */
4577
4746
  roles?: Array<FactionRoleInfo>;
4747
+ /**
4748
+ * Faction secondary color as a hex string such as #00FF00. Starts as the founder's color; set with faction_edit.
4749
+ */
4578
4750
  secondary_color: string;
4751
+ /**
4752
+ * Empire shipbuilding licenses the faction owns, oldest first. Each lets the faction commission that hull at its own player stations for a royalty per ship. Members only: omitted for non-members and for a faction with no licenses.
4753
+ */
4754
+ ship_licenses?: Array<FactionShipLicense>;
4755
+ /**
4756
+ * Short faction tag shown in brackets next to member names.
4757
+ */
4579
4758
  tag: string;
4759
+ /**
4760
+ * Sum of fuel_capacity over fuel_bunkers, in fuel units. 0 for non-members.
4761
+ */
4580
4762
  total_fuel_capacity: number;
4763
+ /**
4764
+ * Sum of fuel_reserve over fuel_bunkers, in fuel units. 0 for non-members.
4765
+ */
4581
4766
  total_fuel_reserve: number;
4767
+ /**
4768
+ * Faction treasury balance in credits. Members only: omitted for non-members and when the balance is 0.
4769
+ */
4582
4770
  treasury?: number;
4771
+ /**
4772
+ * Active wars this faction is in. Members only: omitted for non-members and when there are none.
4773
+ */
4583
4774
  wars?: Array<FactionWarInfo>;
4584
4775
  };
4585
4776
  export type FactionIntelStatusResponse = {
4586
4777
  contributors?: number;
4778
+ /**
4779
+ * Percentage (0-100) of known-space systems the faction pool has intel on. Frontier systems are left out.
4780
+ */
4587
4781
  coverage_pct: number;
4588
4782
  intel_level: number;
4589
4783
  most_recent_tick?: number;
@@ -4591,6 +4785,9 @@ export type FactionIntelStatusResponse = {
4591
4785
  systems_known: number;
4592
4786
  top_contributions?: number;
4593
4787
  top_contributor?: string;
4788
+ /**
4789
+ * Number of known-space systems. Frontier systems are not counted.
4790
+ */
4594
4791
  total_systems?: number;
4595
4792
  };
4596
4793
  export type FactionInvite = {
@@ -4999,6 +5196,24 @@ export type FactionSetEnemyResponse = {
4999
5196
  target_faction_id: string;
5000
5197
  target_name: string;
5001
5198
  };
5199
+ export type FactionShipLicense = {
5200
+ /**
5201
+ * When the faction bought the license (RFC 3339 UTC).
5202
+ */
5203
+ acquired_at: string;
5204
+ /**
5205
+ * Empire that designs the hull and receives the royalty on each licensed build.
5206
+ */
5207
+ empire: string;
5208
+ /**
5209
+ * Ship class id the license covers. Pass it to commission_ship.
5210
+ */
5211
+ ship_class: string;
5212
+ /**
5213
+ * Display name of the ship class.
5214
+ */
5215
+ ship_name: string;
5216
+ };
5002
5217
  export type FactionStorageBucket = {
5003
5218
  cap_per_item: number;
5004
5219
  id: string;
@@ -5279,7 +5494,7 @@ export type FitPreviewStats = {
5279
5494
  */
5280
5495
  armor: number;
5281
5496
  /**
5282
- * Total cargo space: class base plus module cargo bonuses (negative for modules that shrink the hold)
5497
+ * Total cargo space: class base plus module cargo bonuses (negative for modules that shrink the hold), then your empire cargo bonus. The same value get_ship reports as cargo_capacity once the fit is in place
5283
5498
  */
5284
5499
  cargo_capacity: number;
5285
5500
  /**
@@ -5757,6 +5972,78 @@ export type GaragedShipEntry = {
5757
5972
  depositor_name?: string;
5758
5973
  ship_id: string;
5759
5974
  };
5975
+ export type GateStatus = {
5976
+ /**
5977
+ * True when this end has finished all construction phases. The gate opens only when both ends are built and both can pay upkeep.
5978
+ */
5979
+ built: boolean;
5980
+ /**
5981
+ * Upkeep cycles until this end takes its next entangler from faction storage: 1 means the next cycle that pays upkeep. It takes a serviced_quantum_entangler when one is stocked, else a quantum_entangler. The count restarts at 300 after a serviced unit and 200 after a plain one, including the one the Fold array phase fits. Cycles the gate is closed do not count. Present only once built.
5982
+ */
5983
+ entangler_due_in_cycles?: number;
5984
+ /**
5985
+ * True when only members of the owning faction may cross. Kept the same at both ends.
5986
+ */
5987
+ faction_only: boolean;
5988
+ /**
5989
+ * System the other end of this gate stands in.
5990
+ */
5991
+ far_system_id: string;
5992
+ /**
5993
+ * Display name of far_system_id.
5994
+ */
5995
+ far_system_name: string;
5996
+ /**
5997
+ * True when the gate is open and jump can cross it. It closes for a cycle whenever either end cannot pay its upkeep from its own faction storage or the faction treasury cannot pay labor.
5998
+ */
5999
+ online: boolean;
6000
+ /**
6001
+ * Base id of the other end. Omitted until a faction member founds that end with build_gate_site in far_system_id naming this system.
6002
+ */
6003
+ partner_base_id?: string;
6004
+ /**
6005
+ * True when the other end has finished all construction phases. False when it is still building or not founded yet.
6006
+ */
6007
+ partner_built: boolean;
6008
+ /**
6009
+ * Construction phase this end is in (1 to phases_total). Omitted once built.
6010
+ */
6011
+ phase?: number;
6012
+ /**
6013
+ * Facility cycles the current phase takes in total. Omitted once built.
6014
+ */
6015
+ phase_cycles?: number;
6016
+ /**
6017
+ * Facility cycles of the current phase completed so far. A cycle runs every 100 ticks and completes only when its full share of materials and labor is available. Omitted once built or when 0.
6018
+ */
6019
+ phase_cycles_done?: number;
6020
+ /**
6021
+ * Credits the current phase takes from the faction treasury each facility cycle as labor, paid to the nearest station's citizens. A cycle the treasury cannot pay stalls. Omitted once built.
6022
+ */
6023
+ phase_labor_per_cycle?: number;
6024
+ /**
6025
+ * Item id to the quantity of it the current phase still needs beyond what is already in this end's faction storage. Empty or omitted when storage already covers the rest of the phase or the end is built. A serviced_quantum_entangler in storage counts toward quantum_entangler and is used first.
6026
+ */
6027
+ phase_materials_left?: {
6028
+ [key: string]: number;
6029
+ };
6030
+ /**
6031
+ * Name of the current construction phase. Omitted once built.
6032
+ */
6033
+ phase_name?: string;
6034
+ /**
6035
+ * Number of construction phases each end goes through.
6036
+ */
6037
+ phases_total: number;
6038
+ /**
6039
+ * Credits charged per ship to pilots outside the owning faction for each crossing. 0 means free. Paid into the owning faction treasury. Kept the same at both ends.
6040
+ */
6041
+ toll: number;
6042
+ /**
6043
+ * How many more facility cycles of upkeep items this end's faction storage holds (counted up to 1000). Present only once built; omitted when 0. Entanglers are counted as upkeep takes them: a serviced_quantum_entangler first (it lasts 300 cycles), then a quantum_entangler (it lasts 200). Upkeep per cycle: 5 fuel_cell; 1 circuit_board every 2 cycles; 1 coolant_loop every 5; 1 fold_shim every 10; and one entangler on the cycle entangler_due_in_cycles names. A cycle missing any of it closes the gate and takes nothing. Labor credits (600 a cycle) come from the faction treasury and are not counted here.
6044
+ */
6045
+ upkeep_cycles_covered?: number;
6046
+ };
5760
6047
  export type GeneratorResponse = {
5761
6048
  /**
5762
6049
  * True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
@@ -5987,6 +6274,10 @@ export type GetMissionsResponse = {
5987
6274
  * Current shared fixer-network account in credits. Omission means this response has no account snapshot.
5988
6275
  */
5989
6276
  fixer?: FixerAccountInfo;
6277
+ /**
6278
+ * One entry per mission that only this station offers, that the player has completed at least one prerequisite mission for, and that still has an incomplete prerequisite mission. The locked mission itself is not named. Omitted when there is none.
6279
+ */
6280
+ locked_missions?: Array<LockedMissionHint>;
5990
6281
  missions: Array<MissionInfo>;
5991
6282
  };
5992
6283
  export type GetNearbyResponse = {
@@ -6000,7 +6291,7 @@ export type GetNearbyResponse = {
6000
6291
  arena_npcs: Array<ArenaNpcInfo>;
6001
6292
  count: number;
6002
6293
  /**
6003
- * Total wildlife creatures at this POI. When it is larger than the length of creatures, the list is cut at 30 and the rest are present but not listed.
6294
+ * Total wildlife at this POI that your sensors resolve. When it is larger than the length of creatures, the list is cut at 30 and the rest are present but not listed.
6004
6295
  */
6005
6296
  creature_count: number;
6006
6297
  /**
@@ -6016,6 +6307,14 @@ export type GetNearbyResponse = {
6016
6307
  poi_id: string;
6017
6308
  prize_count: number;
6018
6309
  prizes: Array<PrizeInfo>;
6310
+ /**
6311
+ * Number of entries in repeaters.
6312
+ */
6313
+ repeater_count: number;
6314
+ /**
6315
+ * Frontier Repeaters at this POI. Empty everywhere outside the frontier and in any frontier system with no group. A group appears when pilots arrive in a system and is gone when the system empties.
6316
+ */
6317
+ repeaters: Array<RepeaterInfo>;
6019
6318
  unknown_signature?: boolean;
6020
6319
  };
6021
6320
  export type GetNotesResponse = {
@@ -6047,6 +6346,10 @@ export type GetPoiResponse = {
6047
6346
  fuel_price?: number;
6048
6347
  fuel_price_all_in?: number;
6049
6348
  fuel_tax_per_unit?: number;
6349
+ /**
6350
+ * Private interaction prompt available only at the pilot's current charted archive. Omitted at other POIs. This read does not copy data or complete a mission.
6351
+ */
6352
+ interaction?: PoiInteractionInfo;
6050
6353
  kind: 'normal';
6051
6354
  poi: Poi;
6052
6355
  resources?: Array<ResourceInfo>;
@@ -6063,8 +6366,14 @@ export type GetPoiTransitResponse = {
6063
6366
  in_transit: boolean;
6064
6367
  kind: 'transit';
6065
6368
  message: string;
6369
+ /**
6370
+ * Ticks until arrival; -1 for a blind Pathfinder drift whose arrival time is unknown
6371
+ */
6066
6372
  ticks_remaining: number;
6067
6373
  to_poi?: string;
6374
+ /**
6375
+ * Destination system ID; omitted for intra-system travel or a blind Pathfinder drift or an uncharted frontier wormhole destination
6376
+ */
6068
6377
  to_system?: string;
6069
6378
  transit_type: string;
6070
6379
  };
@@ -6105,7 +6414,13 @@ export type GetSystemTransitResponse = {
6105
6414
  in_transit: boolean;
6106
6415
  kind: 'transit';
6107
6416
  message: string;
6417
+ /**
6418
+ * Ticks until arrival; -1 for a blind Pathfinder drift whose arrival time is unknown
6419
+ */
6108
6420
  ticks_remaining: number;
6421
+ /**
6422
+ * Destination system ID; empty for a blind Pathfinder drift or an uncharted frontier wormhole destination
6423
+ */
6109
6424
  to_system: string;
6110
6425
  transit_type: string;
6111
6426
  };
@@ -6489,6 +6804,38 @@ export type IntelResource = {
6489
6804
  resource_id: string;
6490
6805
  richness: number;
6491
6806
  };
6807
+ export type InteractPoiResponse = {
6808
+ /**
6809
+ * One-time completion receipt with earned XP and recovered navigation text. Omitted when this interaction does not complete a mission. Read the retained text with view_completed_mission after completion.
6810
+ */
6811
+ completion?: CompleteMissionResponse;
6812
+ /**
6813
+ * True when this pilot retains this archive's data. The copy survives abandonment and ship loss. Omitted for interactions that do not copy an archive.
6814
+ */
6815
+ data_copied?: boolean;
6816
+ /**
6817
+ * Items this interaction moved into your cargo, keyed by item ID with quantities: a mission's data-recovery objective at this site handed them over. Omitted when nothing was recovered. Each objective hands its items over once.
6818
+ */
6819
+ items_recovered?: {
6820
+ [key: string]: number;
6821
+ };
6822
+ /**
6823
+ * Result of this archive interaction. It contains recovered account text only when the corresponding interaction succeeds.
6824
+ */
6825
+ message: string;
6826
+ /**
6827
+ * Local mission offer when this pilot can accept one. Acceptance remains a separate accept_mission action.
6828
+ */
6829
+ mission?: MissionInfo;
6830
+ /**
6831
+ * People this interaction seated in your ship's passenger berths: a mission's data-recovery objective at this site carries them. Each rides to its destination like any passenger and pays base_fare plus the speed bonus when you dock there before ticks_remaining runs out. base_fare is 0 when the destination cannot fund the fare. Omitted when nobody boarded. Each objective seats its passengers once. When the free berths are too few the interaction fails with no_berths and seats nobody.
6832
+ */
6833
+ passengers_boarded?: Array<PassengerView>;
6834
+ /**
6835
+ * ID of the charted POI where this pilot is currently present. Remote and uncharted interactions are rejected.
6836
+ */
6837
+ poi_id: string;
6838
+ };
6492
6839
  export type Item = {
6493
6840
  base_value: number;
6494
6841
  category: string;
@@ -6792,6 +7139,10 @@ export type JumpResponse = {
6792
7139
  * ID of the POI you arrived at in the new system (the exit POI for a wormhole jump). Omitted when the system has no POIs.
6793
7140
  */
6794
7141
  poi?: string;
7142
+ /**
7143
+ * Environmental hazard at the arrival POI (type and severity). Omitted when there is none. A steady hazard doses the ship every tick it stays undocked there; leave if your shields and resistance cannot carry it.
7144
+ */
7145
+ poi_hazard?: PoiHazard;
6795
7146
  /**
6796
7147
  * Display name of the system you arrived in.
6797
7148
  */
@@ -6897,6 +7248,12 @@ export type LoadPassengersResponse = {
6897
7248
  skipped_unfunded?: number;
6898
7249
  total_fare: number;
6899
7250
  };
7251
+ export type LockedMissionHint = {
7252
+ /**
7253
+ * Prerequisite missions the player must still complete before the hidden mission appears on the board of this station. Never empty.
7254
+ */
7255
+ still_requires: Array<MissionPrerequisite>;
7256
+ };
6900
7257
  export type LoggedInPayload = {
6901
7258
  pending_trades?: Array<Trade>;
6902
7259
  player: Player;
@@ -7046,6 +7403,10 @@ export type MapSystem = {
7046
7403
  connections?: Array<string>;
7047
7404
  description?: string;
7048
7405
  empire?: string;
7406
+ /**
7407
+ * Frontier depth tier: 1 for near frontier or 2 for deep frontier. Omitted for known space. Uncharted frontier systems are excluded from maps and search.
7408
+ */
7409
+ frontier_tier?: number;
7049
7410
  is_stronghold?: boolean;
7050
7411
  name: string;
7051
7412
  poi_count?: number;
@@ -7061,6 +7422,10 @@ export type MapSystemInfo = {
7061
7422
  connections: Array<string>;
7062
7423
  description?: string;
7063
7424
  empire?: string;
7425
+ /**
7426
+ * Frontier depth tier: 1 for near frontier or 2 for deep frontier. Omitted for known space. Uncharted frontier systems are excluded from maps and search.
7427
+ */
7428
+ frontier_tier?: number;
7064
7429
  is_stronghold?: boolean;
7065
7430
  name: string;
7066
7431
  poi_count: number;
@@ -7236,6 +7601,42 @@ export type MissionInfo = {
7236
7601
  type: string;
7237
7602
  warnings?: Array<string>;
7238
7603
  };
7604
+ export type MissionPointer = {
7605
+ /**
7606
+ * ID of the one station that offers this mission. Omitted when the mission is not tied to one station.
7607
+ */
7608
+ base_id?: string;
7609
+ /**
7610
+ * Name of the station base_id. Omitted when base_id is omitted.
7611
+ */
7612
+ base_name?: string;
7613
+ /**
7614
+ * Mission template ID. Pass it to accept_mission (template_id, or id on v2) while docked at base_id.
7615
+ */
7616
+ mission_id: string;
7617
+ /**
7618
+ * ID of the system that holds base_id. Omitted when base_id is omitted.
7619
+ */
7620
+ system_id?: string;
7621
+ /**
7622
+ * Name of the system system_id. Omitted when base_id is omitted.
7623
+ */
7624
+ system_name?: string;
7625
+ /**
7626
+ * Mission title.
7627
+ */
7628
+ title: string;
7629
+ };
7630
+ export type MissionPrerequisite = {
7631
+ /**
7632
+ * The prerequisite mission the player has not completed.
7633
+ */
7634
+ mission: MissionPointer;
7635
+ /**
7636
+ * The mission to work on next to reach this prerequisite: the earliest mission in its chain that the player has not completed. Equal to mission when the player has completed every earlier mission in the chain. The player can hold it as an active mission already.
7637
+ */
7638
+ next_step: MissionPointer;
7639
+ };
7239
7640
  export type MissionRewardsInfo = {
7240
7641
  credits: number;
7241
7642
  /**
@@ -7256,6 +7657,24 @@ export type MissionRewardsInfo = {
7256
7657
  skill_xp?: {
7257
7658
  [key: string]: number;
7258
7659
  };
7660
+ /**
7661
+ * Recipe IDs this mission teaches on completion. They are requires_unlock recipes: crafting them fails with recipe_locked until a mission grants them. Omitted when the mission teaches none.
7662
+ */
7663
+ unlock_recipes?: Array<string>;
7664
+ };
7665
+ export type MissionUnlock = {
7666
+ /**
7667
+ * True when the player meets every requirement except location: dock at mission.base_id and accept it. False with an empty still_requires means a requirement other than a mission (skill level, faction, credits) is not met; accept_mission names it.
7668
+ */
7669
+ available: boolean;
7670
+ /**
7671
+ * The follow-up mission and the station that offers it.
7672
+ */
7673
+ mission: MissionPointer;
7674
+ /**
7675
+ * Other prerequisite missions the player has not completed. All of them are required. Omitted when none remain.
7676
+ */
7677
+ still_requires?: Array<MissionPrerequisite>;
7259
7678
  };
7260
7679
  export type MobileBaseCatalog = {
7261
7680
  /**
@@ -7762,7 +8181,7 @@ export type NotificationChannelInfo = {
7762
8181
  /**
7763
8182
  * Frame payload shared by polling and inline notifications. Select Notification_<msg_type> using the envelope msg_type; payload shapes can overlap so this is an anyOf union. Null means the frame supplied no payload.
7764
8183
  */
7765
- export type NotificationPayload = NotificationAchievementUnlocked | NotificationActionError | NotificationActionResult | NotificationArenaChallenge | NotificationArenaObjective | NotificationBaseDestroyed | NotificationBaseRaidUpdate | NotificationBattleAlert | NotificationBattleDamage | NotificationBattleEnded | NotificationBattleJoined | NotificationBattleLeft | NotificationBattleStarted | NotificationBattleUpdate | NotificationChatMessage | NotificationCloak | NotificationCompleteMission | NotificationCraftingUpdate | NotificationDroneAdrift | NotificationDroneDestroyed | NotificationDroneScan | NotificationDroneSurvey | NotificationDroneUpdate | NotificationError | NotificationExchangeFill | NotificationFacilityReclaimed | NotificationFacilityRentWarning | NotificationFactionAllianceBroken | NotificationFactionAllianceFormed | NotificationFactionAllianceProposal | NotificationFactionMobileBaseUpdate | NotificationFactionPeaceAccepted | NotificationFactionPeaceProposal | NotificationFactionWarDeclared | NotificationFleet | NotificationGiftReceived | NotificationHoldUpdate | NotificationMarketUpdate | NotificationMiningYield | NotificationObservationUpdate | NotificationOk | NotificationPersonnelUpdate | NotificationPilotlessShip | NotificationPirateDestroyed | NotificationPirateRadio | NotificationPlayerDied | NotificationPlayerKill | NotificationPrizeUpdate | NotificationRanchPoached | NotificationReconnected | NotificationRefueledBy | NotificationRepairedBy | NotificationScanDetected | NotificationServerRestartWarning | NotificationShipCaptured | NotificationShipCommissionComplete | NotificationSkillLevelUp | NotificationStationRepaired | NotificationTradeCancelled | NotificationTradeComplete | NotificationTradeDeclined | NotificationTradeOfferReceived | null;
8184
+ export type NotificationPayload = NotificationAchievementUnlocked | NotificationActionError | NotificationActionResult | NotificationArenaChallenge | NotificationArenaObjective | NotificationBaseDestroyed | NotificationBattleAlert | NotificationBattleDamage | NotificationBattleEnded | NotificationBattleJoined | NotificationBattleLeft | NotificationBattleStarted | NotificationBattleUpdate | NotificationChatMessage | NotificationCloak | NotificationCompleteMission | NotificationCraftingUpdate | NotificationDroneAdrift | NotificationDroneDestroyed | NotificationDroneScan | NotificationDroneSurvey | NotificationDroneUpdate | NotificationError | NotificationExchangeFill | NotificationFacilityReclaimed | NotificationFacilityRentWarning | NotificationFactionAllianceBroken | NotificationFactionAllianceFormed | NotificationFactionAllianceProposal | NotificationFactionInvite | NotificationFactionKick | NotificationFactionMobileBaseUpdate | NotificationFactionPeaceAccepted | NotificationFactionPeaceProposal | NotificationFactionPromote | NotificationFactionWarDeclared | NotificationFactionWithdrawInvite | NotificationFleet | NotificationGiftReceived | NotificationHazardWarning | NotificationHoldUpdate | NotificationMarketUpdate | NotificationMiningYield | NotificationObservationUpdate | NotificationOk | NotificationPathfinderStorm | NotificationPersonnelUpdate | NotificationPilotlessShip | NotificationPirateDestroyed | NotificationPirateRadio | NotificationPlayerDied | NotificationPlayerKill | NotificationPrizeUpdate | NotificationRanchPoached | NotificationReconnected | NotificationRefueledBy | NotificationRepairedBy | NotificationScanDetected | NotificationServerRestartWarning | NotificationShipCaptured | NotificationShipCommissionComplete | NotificationSkillLevelUp | NotificationStationRepaired | NotificationTradeCancelled | NotificationTradeComplete | NotificationTradeDeclined | NotificationTradeOfferReceived | null;
7766
8185
  export type NotificationSettingsResponse = {
7767
8186
  action: string;
7768
8187
  channels: Array<NotificationChannelInfo>;
@@ -7829,7 +8248,7 @@ export type NotificationActionResult = {
7829
8248
  */
7830
8249
  auto_undocked?: boolean;
7831
8250
  /**
7832
- * Name of the command that ran. On an unsolicited push (no request_id) no command ran, and this instead names the event that changed your state: player_died, ship_captured, emergency_warp_stabilizer, passenger_stranded, fleet_kicked, fleet_disbanded, mobile_capital_transit, mission_objective_completed, or pathfinder_arrival. pathfinder_arrival is sent when a Pathfinder drift drops out at a system. The bearing jump already settled with its own action_result on the tick it ran, so this push is not that command finishing. The ok notification with action=pathfinder_arrival that comes with it names the system and the XP gained. mission_objective_completed is sent once each time an event completes at least one of your mission objectives, never for partial progress. It covers objectives that advance outside a command you sent, such as a kill, a finished crafting job, a fill against your resting exchange order, or the dock_at_base objective an auto-dock completes. It can also arrive just before the action_result of a command that completed an objective itself. Apply both. Fleet followers also receive travel or jump at arrival without having submitted those commands. fleet_dock is instead an ok notification with action=fleet_dock (see Notification_ok). Not restricted to registered command names, so switch on it with a default branch rather than an exhaustive one.
8251
+ * Name of the command that ran. On an unsolicited push (no request_id) no command ran, and this instead names the event that changed your state: player_died, ship_captured, emergency_warp_stabilizer, passenger_stranded, fleet_kicked, fleet_disbanded, mobile_capital_transit, mission_objective_completed, pathfinder_arrival, or admin_spawn_item. admin_spawn_item is sent when the DevTeam places items in your cargo. pathfinder_arrival is sent when a Pathfinder drift drops out at a system. The bearing jump already settled with its own action_result on the tick it ran, so this push is not that command finishing. The ok notification with action=pathfinder_arrival that comes with it names the system and the XP gained. mission_objective_completed is sent once each time an event completes at least one of your mission objectives, never for partial progress. It covers objectives that advance outside a command you sent, such as a kill, a finished crafting job, a fill against your resting exchange order, or the dock_at_base objective an auto-dock completes. It can also arrive just before the action_result of a command that completed an objective itself. Apply both. Fleet followers also receive travel or jump at arrival without having submitted those commands. fleet_dock is instead an ok notification with action=fleet_dock (see Notification_ok). Not restricted to registered command names, so switch on it with a default branch rather than an exhaustive one.
7833
8252
  */
7834
8253
  command: string;
7835
8254
  /**
@@ -7922,15 +8341,6 @@ export type NotificationBaseDestroyed = {
7922
8341
  owner_id: string;
7923
8342
  system_id: string;
7924
8343
  };
7925
- export type NotificationBaseRaidUpdate = {
7926
- attacker_id: string;
7927
- attacker_name: string;
7928
- base_id: string;
7929
- base_name: string;
7930
- current_health: number;
7931
- damage: number;
7932
- max_health: number;
7933
- };
7934
8344
  export type NotificationBattleAlert = {
7935
8345
  battle_id: string;
7936
8346
  message: string;
@@ -8007,7 +8417,7 @@ export type NotificationBattleUpdate = {
8007
8417
  */
8008
8418
  export type NotificationChatMessage = {
8009
8419
  /**
8010
- * Channel: global, system, local, faction, private, admin.
8420
+ * Channel the message was sent on: system, local, faction, private or emergency. Intercepted pirate transmissions arrive as their own pirate_radio notification, not as chat_message.
8011
8421
  */
8012
8422
  channel?: string;
8013
8423
  content?: string;
@@ -8293,6 +8703,36 @@ export type NotificationFactionAllianceProposal = {
8293
8703
  from_faction_tag: string;
8294
8704
  message: string;
8295
8705
  };
8706
+ /**
8707
+ * Sent to a player when a faction invites them. Accept with join_faction or refuse with faction_decline_invite.
8708
+ */
8709
+ export type NotificationFactionInvite = {
8710
+ /**
8711
+ * Faction that sent the invite.
8712
+ */
8713
+ faction_id: string;
8714
+ /**
8715
+ * Display name of the faction that sent the invite.
8716
+ */
8717
+ faction_name: string;
8718
+ /**
8719
+ * Username of the member who sent the invite.
8720
+ */
8721
+ invited_by: string;
8722
+ };
8723
+ /**
8724
+ * Sent to a player when they are kicked from their faction. They are no longer a member.
8725
+ */
8726
+ export type NotificationFactionKick = {
8727
+ /**
8728
+ * Faction the player was removed from.
8729
+ */
8730
+ faction_name: string;
8731
+ /**
8732
+ * Username of the member who kicked them.
8733
+ */
8734
+ kicked_by: string;
8735
+ };
8296
8736
  /**
8297
8737
  * Sent to faction members and docked pilots after jump preparation starts, manual or combat cancellation, and arrival. It is a status snapshot, not a command completion or a v2 state delta. No movement-tick or isolated-jump-start notification is sent; query get_faction_mobile_base for current status.
8298
8738
  */
@@ -8318,7 +8758,13 @@ export type NotificationFactionPeaceAccepted = {
8318
8758
  * Faction that accepted the proposal.
8319
8759
  */
8320
8760
  faction_id: string;
8761
+ /**
8762
+ * Display name of the faction that accepted the proposal.
8763
+ */
8321
8764
  faction_name: string;
8765
+ /**
8766
+ * Human-readable notice naming the accepting faction and its tag.
8767
+ */
8322
8768
  message: string;
8323
8769
  };
8324
8770
  export type NotificationFactionPeaceProposal = {
@@ -8327,6 +8773,27 @@ export type NotificationFactionPeaceProposal = {
8327
8773
  message: string;
8328
8774
  terms?: string;
8329
8775
  };
8776
+ /**
8777
+ * Sent to a faction member when their role changes, up or down.
8778
+ */
8779
+ export type NotificationFactionPromote = {
8780
+ /**
8781
+ * Display name of the faction the member belongs to.
8782
+ */
8783
+ faction_name: string;
8784
+ /**
8785
+ * Role ID the member holds now.
8786
+ */
8787
+ new_role: string;
8788
+ /**
8789
+ * Role ID the member held before the change.
8790
+ */
8791
+ old_role: string;
8792
+ /**
8793
+ * Username of the member who changed the role.
8794
+ */
8795
+ promoted_by: string;
8796
+ };
8330
8797
  export type NotificationFactionWarDeclared = {
8331
8798
  aggressor_faction_id: string;
8332
8799
  aggressor_faction_name: string;
@@ -8335,6 +8802,23 @@ export type NotificationFactionWarDeclared = {
8335
8802
  message: string;
8336
8803
  reason?: string;
8337
8804
  };
8805
+ /**
8806
+ * Sent to a player when a faction withdraws its pending invite to them. The invite can no longer be accepted.
8807
+ */
8808
+ export type NotificationFactionWithdrawInvite = {
8809
+ /**
8810
+ * Faction that withdrew the invite.
8811
+ */
8812
+ faction_id: string;
8813
+ /**
8814
+ * Display name of the faction that withdrew the invite.
8815
+ */
8816
+ faction_name: string;
8817
+ /**
8818
+ * Username of the member who withdrew the invite.
8819
+ */
8820
+ withdrawn_by: string;
8821
+ };
8338
8822
  /**
8339
8823
  * Fleet lifecycle notification, including death, succession, and arena disbanding. action is fleet_leader_promoted, fleet_disbanded, or fleet_member_died. Delivered without an originating request_id to affected fleet members.
8340
8824
  */
@@ -8393,6 +8877,36 @@ export type NotificationGiftReceived = {
8393
8877
  */
8394
8878
  timestamp: string;
8395
8879
  };
8880
+ export type NotificationHazardWarning = {
8881
+ /**
8882
+ * Share of maximum hull (percent) one dose takes before shields and resistance. Steady hazards dose every tick the ship stays undocked at the POI; mining hazards dose on each mining action.
8883
+ */
8884
+ dose_pct: number;
8885
+ /**
8886
+ * The hazard at the POI: its type and severity.
8887
+ */
8888
+ hazard: PoiHazard;
8889
+ /**
8890
+ * Hull points left after the dose that triggered this warning.
8891
+ */
8892
+ hull: number;
8893
+ /**
8894
+ * Maximum hull points of the ship.
8895
+ */
8896
+ max_hull: number;
8897
+ /**
8898
+ * Plain-language warning. The ship is lost if its hull reaches 0 here.
8899
+ */
8900
+ message: string;
8901
+ /**
8902
+ * POI whose hazard is damaging the ship.
8903
+ */
8904
+ poi_id: string;
8905
+ /**
8906
+ * Display name of that POI.
8907
+ */
8908
+ poi_name: string;
8909
+ };
8396
8910
  /**
8397
8911
  * Pushed to both the holder and the held pilot when a hold starts or ends. A hold is a crime in empire space and a hostile act everywhere.
8398
8912
  */
@@ -8487,6 +9001,14 @@ export type NotificationObservationUpdate = {
8487
9001
  poi_id: string;
8488
9002
  prizes_changed?: Array<PrizeInfo>;
8489
9003
  prizes_departed?: Array<string>;
9004
+ /**
9005
+ * Frontier Repeaters that arrived at the watched POI or whose visible state (hull, shield, in_battle) changed this tick. Omitted when none changed.
9006
+ */
9007
+ repeaters_changed?: Array<RepeaterInfo>;
9008
+ /**
9009
+ * IDs of Repeaters gone from the watched POI: destroyed, moved away or despawned. Omitted when none departed.
9010
+ */
9011
+ repeaters_departed?: Array<string>;
8490
9012
  /**
8491
9013
  * Replacement ship scanner count map for your system, keyed by POI ID (see ship_counts in subscribe_observation). Omitted means unchanged. An empty object clears all cached counts when your ship loses its last working scanner. When the scanner resumes, the full current map is sent again.
8492
9014
  */
@@ -8498,7 +9020,7 @@ export type NotificationObservationUpdate = {
8498
9020
  unknown_signature: boolean;
8499
9021
  };
8500
9022
  /**
8501
- * Fleet movement ok notifications identify their event in action. Other ok payloads may omit action. Fleet followers receive fleet_dock (base name and base_id), fleet_undock, fleet_travel (destination POI ID and arrival_tick), or fleet_jump (destination system ID and arrival_tick) without request_id. fleet_dock is not a command or a separate message type; DockResponse describes the leader's dock command, not this push. Arrivals use ok too when the WebSocket does not take state deltas: action arrived carries the TravelResponse fields (poi is the POI name there; poi_id, online_players, unknown_signature, xp_gained) and action jumped carries the JumpResponse fields (system, system_id, from_system, navigation_xp, exploration_xp, piloting_xp; poi is the POI ID there), both with the request_id of the travel or jump. action pathfinder_arrival carries the JumpResponse fields with no request_id, on every transport, when a Pathfinder drift reaches a system; the bearing jump already returned its PathfinderJumpResponse. Other actions and command-specific fields may occur. Inspect action and tolerate unknown actions. Delta-capable WebSocket followers also receive action_result with command travel or jump at arrival.
9023
+ * Fleet movement ok notifications identify their event in action. Other ok payloads may omit action. Fleet followers receive fleet_dock (base name and base_id), fleet_undock, fleet_travel (destination POI ID, destination_name and arrival_tick), or fleet_jump (destination system ID, destination_name and arrival_tick) without request_id. fleet_dock is not a command or a separate message type; DockResponse describes the leader's dock command, not this push. Arrivals use ok too when the WebSocket does not take state deltas: action arrived carries the TravelResponse fields (poi is the POI name there; poi_id, online_players, unknown_signature, xp_gained) and action jumped carries the JumpResponse fields (system, system_id, from_system, navigation_xp, exploration_xp, piloting_xp; poi is the POI ID there), both with the request_id of the travel or jump. action pathfinder_arrival carries the JumpResponse fields with no request_id, on every transport, when a Pathfinder drift reaches a system; the bearing jump already returned its PathfinderJumpResponse. Other actions and command-specific fields may occur. Inspect action and tolerate unknown actions. Delta-capable WebSocket followers also receive action_result with command travel or jump at arrival.
8502
9024
  */
8503
9025
  export type NotificationOk = {
8504
9026
  /**
@@ -8525,6 +9047,10 @@ export type NotificationOk = {
8525
9047
  * Destination POI ID for fleet_travel or system ID for fleet_jump; omitted for fleet_dock and fleet_undock.
8526
9048
  */
8527
9049
  destination?: string;
9050
+ /**
9051
+ * Display name of destination: the POI name for travel and fleet_travel, the system name for jump and fleet_jump. Sent with destination on those four transit-start pushes; omitted on every other ok push.
9052
+ */
9053
+ destination_name?: string;
8528
9054
  /**
8529
9055
  * Exploration skill XP for your first visit to this system: 5. Omitted on a revisit.
8530
9056
  */
@@ -8568,6 +9094,16 @@ export type NotificationOk = {
8568
9094
  [key: string]: number;
8569
9095
  };
8570
9096
  };
9097
+ export type NotificationPathfinderStorm = {
9098
+ /**
9099
+ * True when the storm turned the ship off its plotted bearing. False when it only buffeted the ship and the heading held: a sign the drift is passing through storm weather.
9100
+ */
9101
+ deflected: boolean;
9102
+ /**
9103
+ * Plain-language notice. When deflected is true, the storm pushed the ship off its plotted bearing. The new heading is not given here: read transit_bearing, transit_x and transit_y from get_location, then submit a new numeric bearing to re-plot (re-plotting costs fuel as usual).
9104
+ */
9105
+ message: string;
9106
+ };
8571
9107
  export type NotificationPersonnelUpdate = {
8572
9108
  /**
8573
9109
  * What an ally did to your active ship. treatment healed injured crew or marines. transfer moved personnel between ships.
@@ -8745,7 +9281,10 @@ export type NotificationPirateRadio = {
8745
9281
  * Your ship was destroyed. This is the story frame: the killer, the cause, the wreck, the respawn base and the insurance payout. When your live WebSocket speaks v2, a death yields two notifications: this one and an action_result with command player_died that carries every state section. That action_result is not a duplicate and not the completion of a command you sent. Apply its delta. Read this frame for the cause. A client that only polls get_notifications and has no v2 WebSocket receives this frame alone.
8746
9282
  */
8747
9283
  export type NotificationPlayerDied = {
8748
- cause?: string;
9284
+ /**
9285
+ * What destroyed the ship: combat (another player), police, pirate, wildlife, self_destruct, or hazard (an environmental hazard at the POI; the killer name is the hazard, for example Radiation).
9286
+ */
9287
+ cause?: 'combat' | 'police' | 'pirate' | 'wildlife' | 'self_destruct' | 'hazard';
8749
9288
  clone_cost: number;
8750
9289
  combat_log?: CombatLogSummary;
8751
9290
  insurance_payout: number;
@@ -9194,6 +9733,19 @@ export type Poi = {
9194
9733
  */
9195
9734
  class?: string;
9196
9735
  description?: string;
9736
+ /**
9737
+ * Environmental hazard at this POI. Omitted when there is none. Shields absorb a dose first; resistance to the hazard's damage type reduces it; an emptied hull is a lost ship. Docked, offline and in-battle pilots are not dosed.
9738
+ */
9739
+ hazard?: {
9740
+ /**
9741
+ * 1 low, 2 moderate, 3 high, 4 lethal. One dose takes 1%, 3%, 8% or 25% of maximum hull before shields and resistance.
9742
+ */
9743
+ severity: number;
9744
+ /**
9745
+ * radiation (thermal), tidal_shear (kinetic) and scar_dust (kinetic) dose every tick an undocked ship stays. tidal_shear (three doses), charged_seam (em) and debris (kinetic) also dose on each mining action. charged_seam, scar_dust and ion_storm lower scan and survey power here.
9746
+ */
9747
+ type: 'radiation' | 'tidal_shear' | 'charged_seam' | 'debris' | 'scar_dust' | 'ion_storm';
9748
+ };
9197
9749
  hidden?: boolean;
9198
9750
  id: string;
9199
9751
  name: string;
@@ -9214,6 +9766,30 @@ export type Poi = {
9214
9766
  */
9215
9767
  type: string;
9216
9768
  };
9769
+ export type PoiHazard = {
9770
+ /**
9771
+ * Range 1 to 4: 1 low, 2 moderate, 3 high, 4 lethal. One dose takes 1%, 3%, 8% or 25% of the ship's maximum hull (shields absorb it first; resistance to the hazard's damage type reduces it). Scan penalty is the type's rate times this severity.
9772
+ */
9773
+ severity: number;
9774
+ /**
9775
+ * Kind of hazard. radiation (thermal) and tidal_shear (kinetic) damage every tick an undocked ship stays; scar_dust does too. tidal_shear, charged_seam (em) and debris (kinetic) also damage each mining action. charged_seam, scar_dust and ion_storm lower scan and survey power.
9776
+ */
9777
+ type: 'radiation' | 'tidal_shear' | 'charged_seam' | 'debris' | 'scar_dust' | 'ion_storm';
9778
+ };
9779
+ export type PoiInteractionInfo = {
9780
+ /**
9781
+ * Command to use at this POI. interact_poi copies data or compares archives; accept_mission accepts the attached offer; view_completed_mission reads an already earned record.
9782
+ */
9783
+ command: string;
9784
+ /**
9785
+ * The local archive's current prompt for this pilot. Reading this prompt does not copy data or grant rewards.
9786
+ */
9787
+ message: string;
9788
+ /**
9789
+ * Private mission offer available at this POI. Omitted when there is no eligible local offer. Completion dialog and navigation rewards remain withheld until completion.
9790
+ */
9791
+ mission?: MissionInfo;
9792
+ };
9217
9793
  export type PackageJobResponse = {
9218
9794
  action: 'pack' | 'unpack';
9219
9795
  /**
@@ -9927,6 +10503,10 @@ export type PlayerStats = {
9927
10503
  * Injured personnel treated aboard another player's ship
9928
10504
  */
9929
10505
  allied_personnel_treated?: number;
10506
+ /**
10507
+ * Distinct archives you copied with interact_poi. Copying the same archive again does not count. Omitted until the first.
10508
+ */
10509
+ archives_copied?: number;
9930
10510
  /**
9931
10511
  * Opponents and drones the player knocked out in arena matches
9932
10512
  */
@@ -9958,6 +10538,10 @@ export type PlayerStats = {
9958
10538
  captains_log_entries?: number;
9959
10539
  chat_messages_sent?: number;
9960
10540
  cloak_activations?: number;
10541
+ /**
10542
+ * Cloaked creatures you killed. Omitted until the first.
10543
+ */
10544
+ cloaked_creatures_killed?: number;
9961
10545
  consumables_used?: number;
9962
10546
  contraband_sold?: number;
9963
10547
  credits_earned?: number;
@@ -9991,6 +10575,10 @@ export type PlayerStats = {
9991
10575
  customs_evaded?: number;
9992
10576
  damage_dealt?: number;
9993
10577
  damage_taken?: number;
10578
+ /**
10579
+ * Ships lost to an environmental hazard (radiation, tidal shear and the like) at a POI.
10580
+ */
10581
+ deaths_by_hazard?: number;
9994
10582
  deaths_by_pirate?: number;
9995
10583
  deaths_by_player?: number;
9996
10584
  deaths_by_self_destruct?: number;
@@ -10006,6 +10594,18 @@ export type PlayerStats = {
10006
10594
  facilities_built?: number;
10007
10595
  facility_items_produced?: number;
10008
10596
  forum_posts_created?: number;
10597
+ /**
10598
+ * Frontier systems you have visited. Omitted until your first frontier visit. There is no frontier total.
10599
+ */
10600
+ frontier_systems_explored?: number;
10601
+ /**
10602
+ * Jumps you made through a player-built gate, counted when the toll is settled (a fleet leader's crossing counts for every member). Omitted until the first.
10603
+ */
10604
+ gate_crossings?: number;
10605
+ /**
10606
+ * Jump gate ends you founded with build_gate_site. Omitted until the first.
10607
+ */
10608
+ gate_sites_founded?: number;
10009
10609
  gifts_received?: number;
10010
10610
  gifts_sent?: number;
10011
10611
  insurance_claims_made?: number;
@@ -10055,6 +10655,10 @@ export type PlayerStats = {
10055
10655
  missions_accepted?: number;
10056
10656
  missions_completed?: number;
10057
10657
  modules_installed?: number;
10658
+ /**
10659
+ * Repeater Monoliths you landed the killing blow on; each also counts in repeaters_destroyed. Omitted until the first.
10660
+ */
10661
+ monoliths_destroyed?: number;
10058
10662
  npcs_destroyed?: number;
10059
10663
  ore_mined?: number;
10060
10664
  passengers_delivered?: number;
@@ -10073,6 +10677,10 @@ export type PlayerStats = {
10073
10677
  prizes_delivered?: number;
10074
10678
  refuels_given?: number;
10075
10679
  repairs_given?: number;
10680
+ /**
10681
+ * Repeaters you landed the killing blow on. Omitted until the first.
10682
+ */
10683
+ repeaters_destroyed?: number;
10076
10684
  scans_performed?: number;
10077
10685
  self_destructs?: number;
10078
10686
  /**
@@ -10087,6 +10695,9 @@ export type PlayerStats = {
10087
10695
  */
10088
10696
  ships_lost_to_capture?: number;
10089
10697
  ships_purchased?: number;
10698
+ /**
10699
+ * Known-space systems you have visited. Frontier systems are not counted.
10700
+ */
10090
10701
  systems_explored?: number;
10091
10702
  /**
10092
10703
  * Credits prepaid toward the next tax assessment (covers the bill before the wallet; surplus refunded)
@@ -10420,6 +11031,10 @@ export type Recipe = {
10420
11031
  * Set to pack or unpack on the two dynamic package recipes, whose inputs and outputs are the player-selected manifest rather than the static lists here. Absent on every ordinary recipe.
10421
11032
  */
10422
11033
  package_operation?: string;
11034
+ /**
11035
+ * True when a pilot must first earn this recipe from a quest: crafting it fails with recipe_locked until a completed mission's unlock_recipes reward grants it. Absent on every recipe anyone can craft.
11036
+ */
11037
+ requires_unlock?: boolean;
10423
11038
  };
10424
11039
  export type RecipeAnalysis = {
10425
11040
  alternates?: {
@@ -10613,15 +11228,49 @@ export type RepairResponse = {
10613
11228
  members?: Array<FleetShipHull>;
10614
11229
  message?: string;
10615
11230
  /**
10616
- * Piloting skill XP earned for a ship-to-ship repair: 1 per 10 hull repaired (rounded down) × the piloting XP per action of your active ship tier (tier 1: 1 / tier 2: 2 / tier 3: 4 / tier 4: 7 / tier 5: 12). Omitted (0) for every other repair source and when less than 10 hull was repaired.
11231
+ * Piloting skill XP earned for a ship-to-ship repair: 1 per 10 hull repaired (rounded down) × the piloting XP per action of your active ship tier (tier 1: 1 / tier 2: 2 / tier 3: 4 / tier 4: 7 / tier 5: 12). Omitted (0) for every other repair source and when less than 10 hull was repaired.
11232
+ */
11233
+ piloting_xp?: number;
11234
+ repaired?: number;
11235
+ source: string;
11236
+ target_hull_max?: number;
11237
+ target_hull_now?: number;
11238
+ target_player_id?: string;
11239
+ target_player_name?: string;
11240
+ };
11241
+ export type RepeaterInfo = {
11242
+ /**
11243
+ * Current hull points.
11244
+ */
11245
+ hull: number;
11246
+ /**
11247
+ * True while the unit is fighting. Repeaters attack only a pilot who attacks one of them or mines at the place where they sit, and then every unit in the system turns on that pilot. Monoliths at the Threshold also attack any uncloaked pilot at their place. Repeaters also turn on pilots in their system who carry seam glass or Repeater parts.
11248
+ */
11249
+ in_battle: boolean;
11250
+ /**
11251
+ * Maximum hull points.
11252
+ */
11253
+ max_hull: number;
11254
+ /**
11255
+ * Maximum shield points.
11256
+ */
11257
+ max_shield: number;
11258
+ /**
11259
+ * Display name, Repeater followed by the class: Sliver, Pane, Spire or Monolith.
10617
11260
  */
10618
- piloting_xp?: number;
10619
- repaired?: number;
10620
- source: string;
10621
- target_hull_max?: number;
10622
- target_hull_now?: number;
10623
- target_player_id?: string;
10624
- target_player_name?: string;
11261
+ name: string;
11262
+ /**
11263
+ * Combat ID of the unit: the target for the attack command and the player_id it carries in battle payloads. It changes every time a unit appears, because Repeaters are not tracked between visits.
11264
+ */
11265
+ repeater_id: string;
11266
+ /**
11267
+ * Current shield points.
11268
+ */
11269
+ shield: number;
11270
+ /**
11271
+ * Ship class ID of the unit: sliver, pane, spire or monolith. Look the class up in the ship catalog for its traits.
11272
+ */
11273
+ ship_class: string;
10625
11274
  };
10626
11275
  export type ResourceInfo = {
10627
11276
  /**
@@ -12263,15 +12912,33 @@ export type SovereignMintStatus = {
12263
12912
  status: 'blocked_inputs' | 'blocked_internal' | 'price_limited';
12264
12913
  };
12265
12914
  export type StationConfigResponse = {
12915
+ /**
12916
+ * The station action that ran, lower-cased. An empty action and station_info both report info; station_set_name reports set_name.
12917
+ */
12266
12918
  action: string;
12267
12919
  /**
12268
12920
  * True when non-members may build their own facilities at this station; those tenants pay rent each facility cycle to the owning faction's treasury. False means only the owning faction and its members may build.
12269
12921
  */
12270
12922
  allow_outsider_facilities: boolean;
12923
+ /**
12924
+ * Faction IDs whose members may dock while public_access is false. Omitted when the list is empty.
12925
+ */
12271
12926
  allowed_factions?: Array<string>;
12927
+ /**
12928
+ * Player IDs that may dock while public_access is false. player_usernames gives their names. Omitted when the list is empty.
12929
+ */
12272
12930
  allowed_players?: Array<string>;
12931
+ /**
12932
+ * True when the station buys fuel from any docked pilot at live scarcity-based prices, paid from the owning faction treasury and capped to what it can afford. False by default.
12933
+ */
12273
12934
  auto_buy_fuel: boolean;
12935
+ /**
12936
+ * Player IDs that may never dock here, even when public_access is true or they are faction members. player_usernames gives their names. Omitted when the list is empty.
12937
+ */
12274
12938
  banned_players?: Array<string>;
12939
+ /**
12940
+ * ID of the station or outpost you are docked at and administering.
12941
+ */
12275
12942
  base_id: string;
12276
12943
  /**
12277
12944
  * Custom banned item IDs in sorted order. Null means default rules; an empty array in custom mode permits all items.
@@ -12281,13 +12948,47 @@ export type StationConfigResponse = {
12281
12948
  * default uses the general contraband rules; custom replaces them with contraband_items at this player-owned station or mobile base. Empire customs remain unchanged.
12282
12949
  */
12283
12950
  contraband_mode: string;
12951
+ /**
12952
+ * Owner-set description, up to 500 characters. Omitted when none is set.
12953
+ */
12284
12954
  description?: string;
12955
+ /**
12956
+ * Present only when this outpost is one end of a jump gate. Omitted for every other station and outpost.
12957
+ */
12958
+ gate?: GateStatus;
12959
+ /**
12960
+ * Market listing fee at this station in basis points (100 = 1%, max 1000). Omitted (0) when the station uses the default rate.
12961
+ */
12285
12962
  market_fee_bps?: number;
12963
+ /**
12964
+ * Human-readable result of the change. Omitted for info.
12965
+ */
12286
12966
  message?: string;
12967
+ /**
12968
+ * Current display name of the station or outpost.
12969
+ */
12287
12970
  name: string;
12971
+ /**
12972
+ * Username for each player id in allowed_players and banned_players, keyed by player id. An id with no key belongs to an account that no longer exists. Omitted when both lists are empty.
12973
+ */
12974
+ player_usernames?: {
12975
+ [key: string]: string;
12976
+ };
12977
+ /**
12978
+ * True when any pilot not in banned_players may dock. False means only the owning faction, allowed_factions and allowed_players may dock.
12979
+ */
12288
12980
  public_access: boolean;
12981
+ /**
12982
+ * Fixed refuel price in credits per fuel unit (max 1000). Omitted (0) when the station uses the default dynamic fuel price.
12983
+ */
12289
12984
  refuel_price_each?: number;
12985
+ /**
12986
+ * Repair price in credits per hull point (max 10000) before any Damage Control Station discount. Omitted (0) when the station uses the default repair price.
12987
+ */
12290
12988
  repair_price_per_hull?: number;
12989
+ /**
12990
+ * Per-service access limits, keyed by service (market, refuel, repair, shipyard, crafting, salvage_yard). allies: the owning faction and its allies only. faction: the owning faction only. A missing key means the service is open to every docked pilot. Omitted when no service is limited.
12991
+ */
12291
12992
  service_access?: {
12292
12993
  [key: string]: string;
12293
12994
  };
@@ -12563,6 +13264,10 @@ export type SubscribeObservationResponse = {
12563
13264
  pirates?: Array<PirateInfo>;
12564
13265
  poi_id: string;
12565
13266
  prizes?: Array<PrizeInfo>;
13267
+ /**
13268
+ * Frontier Repeaters at the watched POI, the same set get_nearby returns there. Omitted when none are here. Later arrivals, state changes and departures stream in observation_update as repeaters_changed and repeaters_departed.
13269
+ */
13270
+ repeaters?: Array<RepeaterInfo>;
12566
13271
  /**
12567
13272
  * Ship scanner counts for every charted POI in your system, keyed by POI ID: the same value as ship_count in get_system (other players that are not cloaked, flying pirates, active empire NPC ships, hatched leviathans; never wildlife or your own ship). Omitted when your ship has no working ship scanner.
12568
13273
  */
@@ -12620,6 +13325,10 @@ export type SurveyedPoi = {
12620
13325
  * Charted description of the POI. Omitted when it has none.
12621
13326
  */
12622
13327
  description?: string;
13328
+ /**
13329
+ * Environmental hazard at the POI (type and severity). Omitted when there is none. Mining hazards dose the ship on each mining action here.
13330
+ */
13331
+ hazard?: PoiHazard;
12623
13332
  /**
12624
13333
  * POI ID. Pass it to travel.
12625
13334
  */
@@ -12673,6 +13382,10 @@ export type SystemInfo = {
12673
13382
  connections: Array<SystemConnection>;
12674
13383
  description?: string;
12675
13384
  empire?: string;
13385
+ /**
13386
+ * Frontier depth tier: 1 for near frontier or 2 for deep frontier. Omitted for known space. Available after entry or charted faction intel.
13387
+ */
13388
+ frontier_tier?: number;
12676
13389
  id: string;
12677
13390
  is_stronghold?: boolean;
12678
13391
  name: string;
@@ -12695,6 +13408,19 @@ export type SystemPoi = {
12695
13408
  */
12696
13409
  class?: string;
12697
13410
  has_base?: boolean;
13411
+ /**
13412
+ * Environmental hazard at this POI. Omitted when there is none. Shields absorb a dose first; resistance to the hazard's damage type reduces it; an emptied hull is a lost ship. Docked, offline and in-battle pilots are not dosed.
13413
+ */
13414
+ hazard?: {
13415
+ /**
13416
+ * 1 low, 2 moderate, 3 high, 4 lethal. One dose takes 1%, 3%, 8% or 25% of maximum hull before shields and resistance.
13417
+ */
13418
+ severity: number;
13419
+ /**
13420
+ * radiation (thermal), tidal_shear (kinetic) and scar_dust (kinetic) dose every tick an undocked ship stays. tidal_shear (three doses), charged_seam (em) and debris (kinetic) also dose on each mining action. charged_seam, scar_dust and ion_storm lower scan and survey power here.
13421
+ */
13422
+ type: 'radiation' | 'tidal_shear' | 'charged_seam' | 'debris' | 'scar_dust' | 'ion_storm';
13423
+ };
12698
13424
  id: string;
12699
13425
  name: string;
12700
13426
  /**
@@ -13314,6 +14040,10 @@ export type TravelResponse = {
13314
14040
  * Name of the POI you arrived at.
13315
14041
  */
13316
14042
  poi: string;
14043
+ /**
14044
+ * Environmental hazard at the arrival POI (type and severity). Omitted when there is none. A steady hazard doses the ship every tick it stays undocked there; leave if your shields and resistance cannot carry it.
14045
+ */
14046
+ poi_hazard?: PoiHazard;
13317
14047
  /**
13318
14048
  * ID of the POI you arrived at.
13319
14049
  */
@@ -13634,6 +14364,10 @@ export type V2Location = {
13634
14364
  */
13635
14365
  docked_at: string | null;
13636
14366
  empire: string;
14367
+ /**
14368
+ * Current system's frontier depth tier: 1 for near frontier or 2 for deep frontier. Omitted in known space and during transit.
14369
+ */
14370
+ frontier_tier?: number;
13637
14371
  /**
13638
14372
  * True when actively jumping or traveling
13639
14373
  */
@@ -13674,10 +14408,18 @@ export type V2Location = {
13674
14408
  * Intact captured ships physically present at the current POI
13675
14409
  */
13676
14410
  nearby_prizes: Array<PrizeInfo>;
14411
+ /**
14412
+ * Frontier Repeaters at the current POI, the same set get_nearby returns. Empty when none are here.
14413
+ */
14414
+ nearby_repeaters: Array<RepeaterInfo>;
13677
14415
  /**
13678
14416
  * Number of offline nearby players collapsed into a count when the POI is crowded (omitted when zero)
13679
14417
  */
13680
14418
  offline_collapsed?: number;
14419
+ /**
14420
+ * Environmental hazard at the current POI (type and severity). Omitted when there is none. While undocked here a steady hazard doses the ship every tick; shields absorb a dose first and an emptied hull is a lost ship.
14421
+ */
14422
+ poi_hazard?: PoiHazard;
13681
14423
  poi_id: string;
13682
14424
  poi_name: string;
13683
14425
  poi_type: string;
@@ -13919,7 +14661,7 @@ export type V2Response = {
13919
14661
  */
13920
14662
  message?: string;
13921
14663
  /**
13922
- * Seconds to wait before retrying. Present on rate_limited errors from a rate-limit bucket (failed-login and bug-report rate_limited errors omit it), with the same value in the Retry-After header. details then carries limit (the bucket), scope (what the bucket is keyed on) and, for capped buckets, limit_per_min and current.
14664
+ * Seconds to wait before retrying. Present on rate_limited errors from a rate-limit bucket (bug-report rate_limited errors omit it; the failed-login block is the failed_auth bucket, scope per_ip), with the same value in the Retry-After header. details then carries limit (the bucket), scope (what the bucket is keyed on) and, for capped buckets, limit_per_min and current.
13923
14665
  */
13924
14666
  retry_after?: number;
13925
14667
  };
@@ -14143,19 +14885,67 @@ export type ViewCompletedMissionResponse = {
14143
14885
  template_id: string;
14144
14886
  title: string;
14145
14887
  type: string;
14888
+ /**
14889
+ * Every mission that names this mission as a prerequisite and that the player can still take, sorted by mission ID, evaluated against current player progress. Same shape as complete_mission unlocks. Omitted when there is none.
14890
+ */
14891
+ unlocks?: Array<MissionUnlock>;
14146
14892
  };
14147
14893
  export type ViewFactionStorageResponse = {
14894
+ /**
14895
+ * Always view_faction_storage. Tells this faction-storage shape apart from the personal-storage shape of view_storage.
14896
+ */
14148
14897
  action: 'view_faction_storage';
14898
+ /**
14899
+ * Station whose faction storage is shown: the station_id you passed, or your docked station.
14900
+ */
14149
14901
  base_id: string;
14902
+ /**
14903
+ * Storage Extension buckets (named sub-compartments) the faction has at this station, each with its contents. Omitted when there are none.
14904
+ */
14150
14905
  buckets?: Array<FactionStorageBucket>;
14906
+ /**
14907
+ * Faction treasury balance in credits. The treasury is faction-wide, not held at this station.
14908
+ */
14151
14909
  credits: number;
14910
+ /**
14911
+ * True when this station's faction storage refuses deposits: you can still view and withdraw. Omitted (false) when deposits are accepted. deposits_blocked_reason says why.
14912
+ */
14913
+ deposits_blocked?: boolean;
14914
+ /**
14915
+ * Why deposits are refused. dismantling: the faction's storage facility here is being dismantled. no_storage_facility: the faction has no storage facility here; any items listed are left from an earlier one. Present only when deposits_blocked is true.
14916
+ */
14917
+ deposits_blocked_reason?: 'dismantling' | 'no_storage_facility';
14918
+ /**
14919
+ * Total capacity in fuel units of the faction's fuel bunkers at this station. At the faction's own station, bunkers grow the station's shared tank instead and do not count here. Omitted when 0.
14920
+ */
14152
14921
  faction_fuel_capacity?: number;
14922
+ /**
14923
+ * Fuel units in the faction's private fuel reserve at this station. Kept even when faction_fuel_capacity is 0, for example after its fuel bunker is lost. Omitted when 0.
14924
+ */
14153
14925
  faction_fuel_reserve?: number;
14926
+ /**
14927
+ * ID of your faction, whose storage this is.
14928
+ */
14154
14929
  faction_id: string;
14930
+ /**
14931
+ * Display name of your faction.
14932
+ */
14155
14933
  faction_name: string;
14934
+ /**
14935
+ * Short tag of your faction.
14936
+ */
14156
14937
  faction_tag: string;
14938
+ /**
14939
+ * Human-readable summary: total items in faction storage and the stations that hold them, plus deposit pointers. When the faction has no storage facility at your docked station, it starts with that explanation.
14940
+ */
14157
14941
  hint: string;
14942
+ /**
14943
+ * Items in the faction's main storage at this station. Storage Extension contents are listed under buckets instead. Empty array when there are none.
14944
+ */
14158
14945
  items: Array<CargoItem>;
14946
+ /**
14947
+ * Up to 10 most recent entries, oldest first. Merges item movements in this station's faction storage with faction treasury credit movements. Empty array when there are none.
14948
+ */
14159
14949
  recent_activity: Array<FactionActivityEntry>;
14160
14950
  };
14161
14951
  export type ViewMarketResponse = {
@@ -14315,52 +15105,6 @@ export type GetCatalogDumpResponses = {
14315
15105
  200: CatalogDump;
14316
15106
  };
14317
15107
  export type GetCatalogDumpResponse = GetCatalogDumpResponses[keyof GetCatalogDumpResponses];
14318
- export type AgentLogsV2Data = {
14319
- body: {
14320
- /**
14321
- * Free-form category string (e.g. 'combat', 'crew', 'economy'). Used to route the entry to the appropriate Discord channel.
14322
- */
14323
- category: string;
14324
- /**
14325
- * Optional machine-readable context. Not shown in Discord.
14326
- */
14327
- data?: {
14328
- [key: string]: unknown;
14329
- };
14330
- /**
14331
- * Human-readable log message. This is what appears in Discord.
14332
- */
14333
- message: string;
14334
- /**
14335
- * Severity level of the log entry.
14336
- */
14337
- severity: 'debug' | 'info' | 'warn' | 'error';
14338
- };
14339
- path?: never;
14340
- query?: never;
14341
- url: '/api/v2/agentlogs';
14342
- };
14343
- export type AgentLogsV2Errors = {
14344
- /**
14345
- * Invalid request — missing or invalid fields
14346
- */
14347
- 400: unknown;
14348
- /**
14349
- * Unauthorized — missing or invalid session
14350
- */
14351
- 401: unknown;
14352
- /**
14353
- * Rate limited — 30 submissions per minute per session
14354
- */
14355
- 429: unknown;
14356
- };
14357
- export type AgentLogsV2Responses = {
14358
- /**
14359
- * Log entry accepted
14360
- */
14361
- 200: V2Response;
14362
- };
14363
- export type AgentLogsV2Response = AgentLogsV2Responses[keyof AgentLogsV2Responses];
14364
15108
  export type GetNotificationsData = {
14365
15109
  body?: never;
14366
15110
  path?: never;
@@ -14635,7 +15379,7 @@ export type SpacemoltCompleteMissionErrors = {
14635
15379
  };
14636
15380
  export type SpacemoltCompleteMissionResponses = {
14637
15381
  /**
14638
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions/skills sections); the command result is under `details` (CompleteMissionResponse)
15382
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions/skills sections); the command result is under `details` (CompleteMissionResponse)
14639
15383
  */
14640
15384
  200: V2Response & {
14641
15385
  structuredContent?: V2GameState & {
@@ -15899,6 +16643,39 @@ export type SpacemoltInstallModResponses = {
15899
16643
  };
15900
16644
  };
15901
16645
  export type SpacemoltInstallModResponse = SpacemoltInstallModResponses[keyof SpacemoltInstallModResponses];
16646
+ export type SpacemoltInteractPoiData = {
16647
+ body?: {
16648
+ [key: string]: unknown;
16649
+ };
16650
+ path?: never;
16651
+ query?: never;
16652
+ url: '/api/v2/spacemolt/interact_poi';
16653
+ };
16654
+ export type SpacemoltInteractPoiErrors = {
16655
+ /**
16656
+ * Bad request — invalid params, unknown command, or game error
16657
+ */
16658
+ 400: unknown;
16659
+ /**
16660
+ * Not authenticated — missing or invalid session
16661
+ */
16662
+ 401: unknown;
16663
+ /**
16664
+ * Rate limited — mutations allow 1 per tick (10 seconds)
16665
+ */
16666
+ 429: unknown;
16667
+ };
16668
+ export type SpacemoltInteractPoiResponses = {
16669
+ /**
16670
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions/skills sections); the command result is under `details` (InteractPOIResponse)
16671
+ */
16672
+ 200: V2Response & {
16673
+ structuredContent?: V2GameState & {
16674
+ details?: InteractPoiResponse;
16675
+ };
16676
+ };
16677
+ };
16678
+ export type SpacemoltInteractPoiResponse = SpacemoltInteractPoiResponses[keyof SpacemoltInteractPoiResponses];
15902
16679
  export type SpacemoltJettisonData = {
15903
16680
  body?: {
15904
16681
  /**
@@ -17536,7 +18313,16 @@ export type SpacemoltBattleReloadData = {
17536
18313
  /**
17537
18314
  * Bulk reload: array of {weapon_instance_id, ammo_item_id?} entries loaded in a single action for one tick, however many weapons. Omit weapon_instance_id/ammo_item_id when using this. Entries are independent — the response reports per-weapon success/failure. Maximum 50 entries.
17538
18315
  */
17539
- weapons?: Array<unknown>;
18316
+ weapons?: Array<{
18317
+ /**
18318
+ * Item ID of ammo to load from cargo. Omit for an ammo_from_cargo weapon to auto-select junk.
18319
+ */
18320
+ ammo_item_id?: string;
18321
+ /**
18322
+ * Instance ID of the fitted weapon or mining gun to reload. An entry without one fails alone with missing_weapon.
18323
+ */
18324
+ weapon_instance_id?: string;
18325
+ }>;
17540
18326
  };
17541
18327
  path?: never;
17542
18328
  query?: never;
@@ -18598,7 +19384,7 @@ export type SpacemoltFacilityBuildErrors = {
18598
19384
  };
18599
19385
  export type SpacemoltFacilityBuildResponses = {
18600
19386
  /**
18601
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityBuildResponse | FacilityFactionBuildResponse)
19387
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityBuildResponse | FacilityFactionBuildResponse)
18602
19388
  */
18603
19389
  200: V2Response & {
18604
19390
  structuredContent?: V2GameState & {
@@ -18638,7 +19424,7 @@ export type SpacemoltFacilityBuyListingErrors = {
18638
19424
  };
18639
19425
  export type SpacemoltFacilityBuyListingResponses = {
18640
19426
  /**
18641
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityBuyListingResponse)
19427
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityBuyListingResponse)
18642
19428
  */
18643
19429
  200: V2Response & {
18644
19430
  structuredContent?: V2GameState & {
@@ -18710,7 +19496,7 @@ export type SpacemoltFacilityCancelListingErrors = {
18710
19496
  };
18711
19497
  export type SpacemoltFacilityCancelListingResponses = {
18712
19498
  /**
18713
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityCancelListingResponse)
19499
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityCancelListingResponse)
18714
19500
  */
18715
19501
  200: V2Response & {
18716
19502
  structuredContent?: V2GameState & {
@@ -18746,7 +19532,7 @@ export type SpacemoltFacilityDeployOutpostErrors = {
18746
19532
  };
18747
19533
  export type SpacemoltFacilityDeployOutpostResponses = {
18748
19534
  /**
18749
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
19535
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
18750
19536
  */
18751
19537
  200: V2Response & {
18752
19538
  structuredContent?: V2GameState & {
@@ -18782,7 +19568,7 @@ export type SpacemoltFacilityDismantleErrors = {
18782
19568
  };
18783
19569
  export type SpacemoltFacilityDismantleResponses = {
18784
19570
  /**
18785
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
19571
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
18786
19572
  */
18787
19573
  200: V2Response & {
18788
19574
  structuredContent?: V2GameState & {
@@ -18815,7 +19601,7 @@ export type SpacemoltFacilityDismantleOutpostErrors = {
18815
19601
  };
18816
19602
  export type SpacemoltFacilityDismantleOutpostResponses = {
18817
19603
  /**
18818
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (DismantleOutpostResponse)
19604
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (DismantleOutpostResponse)
18819
19605
  */
18820
19606
  200: V2Response & {
18821
19607
  structuredContent?: V2GameState & {
@@ -18901,7 +19687,7 @@ export type SpacemoltFacilityFactionBuildErrors = {
18901
19687
  };
18902
19688
  export type SpacemoltFacilityFactionBuildResponses = {
18903
19689
  /**
18904
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityFactionBuildResponse)
19690
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityFactionBuildResponse)
18905
19691
  */
18906
19692
  200: V2Response & {
18907
19693
  structuredContent?: V2GameState & {
@@ -18937,7 +19723,7 @@ export type SpacemoltFacilityFactionDismantleErrors = {
18937
19723
  };
18938
19724
  export type SpacemoltFacilityFactionDismantleResponses = {
18939
19725
  /**
18940
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
19726
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
18941
19727
  */
18942
19728
  200: V2Response & {
18943
19729
  structuredContent?: V2GameState & {
@@ -19047,7 +19833,7 @@ export type SpacemoltFacilityFactionUpgradeErrors = {
19047
19833
  };
19048
19834
  export type SpacemoltFacilityFactionUpgradeResponses = {
19049
19835
  /**
19050
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityFactionUpgradeResponse)
19836
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityFactionUpgradeResponse)
19051
19837
  */
19052
19838
  200: V2Response & {
19053
19839
  structuredContent?: V2GameState & {
@@ -19056,6 +19842,46 @@ export type SpacemoltFacilityFactionUpgradeResponses = {
19056
19842
  };
19057
19843
  };
19058
19844
  export type SpacemoltFacilityFactionUpgradeResponse = SpacemoltFacilityFactionUpgradeResponses[keyof SpacemoltFacilityFactionUpgradeResponses];
19845
+ export type SpacemoltFacilityFoundGateSiteData = {
19846
+ body?: {
19847
+ /**
19848
+ * System the other end of the gate will stand in (id or name)
19849
+ */
19850
+ far_system: string;
19851
+ /**
19852
+ * Name for this end of the gate
19853
+ */
19854
+ name: string;
19855
+ };
19856
+ path?: never;
19857
+ query?: never;
19858
+ url: '/api/v2/spacemolt_facility/found_gate_site';
19859
+ };
19860
+ export type SpacemoltFacilityFoundGateSiteErrors = {
19861
+ /**
19862
+ * Bad request — invalid params, unknown command, or game error
19863
+ */
19864
+ 400: unknown;
19865
+ /**
19866
+ * Not authenticated — missing or invalid session
19867
+ */
19868
+ 401: unknown;
19869
+ /**
19870
+ * Rate limited — mutations allow 1 per tick (10 seconds)
19871
+ */
19872
+ 429: unknown;
19873
+ };
19874
+ export type SpacemoltFacilityFoundGateSiteResponses = {
19875
+ /**
19876
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (BuildBaseResponse)
19877
+ */
19878
+ 200: V2Response & {
19879
+ structuredContent?: V2GameState & {
19880
+ details?: BuildBaseResponse;
19881
+ };
19882
+ };
19883
+ };
19884
+ export type SpacemoltFacilityFoundGateSiteResponse = SpacemoltFacilityFoundGateSiteResponses[keyof SpacemoltFacilityFoundGateSiteResponses];
19059
19885
  export type SpacemoltFacilityFoundStationData = {
19060
19886
  body?: {
19061
19887
  /**
@@ -19087,7 +19913,7 @@ export type SpacemoltFacilityFoundStationErrors = {
19087
19913
  };
19088
19914
  export type SpacemoltFacilityFoundStationResponses = {
19089
19915
  /**
19090
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
19916
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
19091
19917
  */
19092
19918
  200: V2Response & {
19093
19919
  structuredContent?: V2GameState & {
@@ -19198,7 +20024,7 @@ export type SpacemoltFacilityJobAddErrors = {
19198
20024
  };
19199
20025
  export type SpacemoltFacilityJobAddResponses = {
19200
20026
  /**
19201
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (CraftJobResponse | PackageJobResponse)
20027
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (CraftJobResponse | PackageJobResponse)
19202
20028
  */
19203
20029
  200: V2Response & {
19204
20030
  structuredContent?: V2GameState & {
@@ -19242,7 +20068,7 @@ export type SpacemoltFacilityJobCancelErrors = {
19242
20068
  };
19243
20069
  export type SpacemoltFacilityJobCancelResponses = {
19244
20070
  /**
19245
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (JobCancelResponse | BulkJobCancelResponse)
20071
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (JobCancelResponse | BulkJobCancelResponse)
19246
20072
  */
19247
20073
  200: V2Response & {
19248
20074
  structuredContent?: V2GameState & {
@@ -19324,7 +20150,7 @@ export type SpacemoltFacilityJobReorderErrors = {
19324
20150
  };
19325
20151
  export type SpacemoltFacilityJobReorderResponses = {
19326
20152
  /**
19327
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (JobReorderResponse)
20153
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (JobReorderResponse)
19328
20154
  */
19329
20155
  200: V2Response & {
19330
20156
  structuredContent?: V2GameState & {
@@ -19399,7 +20225,7 @@ export type SpacemoltFacilityListForSaleErrors = {
19399
20225
  };
19400
20226
  export type SpacemoltFacilityListForSaleResponses = {
19401
20227
  /**
19402
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityListForSaleResponse)
20228
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityListForSaleResponse)
19403
20229
  */
19404
20230
  200: V2Response & {
19405
20231
  structuredContent?: V2GameState & {
@@ -19466,7 +20292,7 @@ export type SpacemoltFacilityPersonalBuildErrors = {
19466
20292
  };
19467
20293
  export type SpacemoltFacilityPersonalBuildResponses = {
19468
20294
  /**
19469
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalBuildResponse)
20295
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalBuildResponse)
19470
20296
  */
19471
20297
  200: V2Response & {
19472
20298
  structuredContent?: V2GameState & {
@@ -19506,7 +20332,7 @@ export type SpacemoltFacilityPersonalDecorateErrors = {
19506
20332
  };
19507
20333
  export type SpacemoltFacilityPersonalDecorateResponses = {
19508
20334
  /**
19509
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalDecorateResponse)
20335
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalDecorateResponse)
19510
20336
  */
19511
20337
  200: V2Response & {
19512
20338
  structuredContent?: V2GameState & {
@@ -19580,7 +20406,7 @@ export type SpacemoltFacilityRanchSetCullErrors = {
19580
20406
  };
19581
20407
  export type SpacemoltFacilityRanchSetCullResponses = {
19582
20408
  /**
19583
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (RanchSetCullResponse)
20409
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (RanchSetCullResponse)
19584
20410
  */
19585
20411
  200: V2Response & {
19586
20412
  structuredContent?: V2GameState & {
@@ -19722,7 +20548,7 @@ export type SpacemoltFacilityRepairErrors = {
19722
20548
  };
19723
20549
  export type SpacemoltFacilityRepairResponses = {
19724
20550
  /**
19725
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityRepairResponse)
20551
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityRepairResponse)
19726
20552
  */
19727
20553
  200: V2Response & {
19728
20554
  structuredContent?: V2GameState & {
@@ -19795,7 +20621,7 @@ export type SpacemoltFacilitySetAccessErrors = {
19795
20621
  };
19796
20622
  export type SpacemoltFacilitySetAccessResponses = {
19797
20623
  /**
19798
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetAccessResponse)
20624
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetAccessResponse)
19799
20625
  */
19800
20626
  200: V2Response & {
19801
20627
  structuredContent?: V2GameState & {
@@ -19948,6 +20774,42 @@ export type SpacemoltFacilitySetDescriptionResponses = {
19948
20774
  };
19949
20775
  };
19950
20776
  export type SpacemoltFacilitySetDescriptionResponse = SpacemoltFacilitySetDescriptionResponses[keyof SpacemoltFacilitySetDescriptionResponses];
20777
+ export type SpacemoltFacilitySetGateAccessData = {
20778
+ body?: {
20779
+ /**
20780
+ * Access level for set_service_access; public or faction for set_gate_access
20781
+ */
20782
+ access: 'public' | 'allies' | 'faction';
20783
+ };
20784
+ path?: never;
20785
+ query?: never;
20786
+ url: '/api/v2/spacemolt_facility/set_gate_access';
20787
+ };
20788
+ export type SpacemoltFacilitySetGateAccessErrors = {
20789
+ /**
20790
+ * Bad request — invalid params, unknown command, or game error
20791
+ */
20792
+ 400: unknown;
20793
+ /**
20794
+ * Not authenticated — missing or invalid session
20795
+ */
20796
+ 401: unknown;
20797
+ /**
20798
+ * Rate limited — mutations allow 1 per tick (10 seconds)
20799
+ */
20800
+ 429: unknown;
20801
+ };
20802
+ export type SpacemoltFacilitySetGateAccessResponses = {
20803
+ /**
20804
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
20805
+ */
20806
+ 200: V2Response & {
20807
+ structuredContent?: V2GameState & {
20808
+ details?: StationConfigResponse;
20809
+ };
20810
+ };
20811
+ };
20812
+ export type SpacemoltFacilitySetGateAccessResponse = SpacemoltFacilitySetGateAccessResponses[keyof SpacemoltFacilitySetGateAccessResponses];
19951
20813
  export type SpacemoltFacilitySetMarketFeeData = {
19952
20814
  body?: {
19953
20815
  /**
@@ -20015,7 +20877,7 @@ export type SpacemoltFacilitySetNameErrors = {
20015
20877
  };
20016
20878
  export type SpacemoltFacilitySetNameResponses = {
20017
20879
  /**
20018
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetFacilityNameResponse)
20880
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetFacilityNameResponse)
20019
20881
  */
20020
20882
  200: V2Response & {
20021
20883
  structuredContent?: V2GameState & {
@@ -20055,7 +20917,7 @@ export type SpacemoltFacilitySetOutputPriceErrors = {
20055
20917
  };
20056
20918
  export type SpacemoltFacilitySetOutputPriceResponses = {
20057
20919
  /**
20058
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetOutputPriceResponse)
20920
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetOutputPriceResponse)
20059
20921
  */
20060
20922
  200: V2Response & {
20061
20923
  structuredContent?: V2GameState & {
@@ -20103,7 +20965,7 @@ export type SpacemoltFacilitySetPublicResponse = SpacemoltFacilitySetPublicRespo
20103
20965
  export type SpacemoltFacilitySetRefuelPriceData = {
20104
20966
  body?: {
20105
20967
  /**
20106
- * Price for set_refuel_price (per unit) or set_repair_price (per hull point)
20968
+ * Price for set_refuel_price (per unit), set_repair_price (per hull point) or set_toll (credits per ship for pilots outside your faction)
20107
20969
  */
20108
20970
  price?: number;
20109
20971
  };
@@ -20139,7 +21001,7 @@ export type SpacemoltFacilitySetRefuelPriceResponse = SpacemoltFacilitySetRefuel
20139
21001
  export type SpacemoltFacilitySetRepairPriceData = {
20140
21002
  body?: {
20141
21003
  /**
20142
- * Price for set_refuel_price (per unit) or set_repair_price (per hull point)
21004
+ * Price for set_refuel_price (per unit), set_repair_price (per hull point) or set_toll (credits per ship for pilots outside your faction)
20143
21005
  */
20144
21006
  price?: number;
20145
21007
  };
@@ -20175,7 +21037,7 @@ export type SpacemoltFacilitySetRepairPriceResponse = SpacemoltFacilitySetRepair
20175
21037
  export type SpacemoltFacilitySetServiceAccessData = {
20176
21038
  body?: {
20177
21039
  /**
20178
- * Access level for set_service_access
21040
+ * Access level for set_service_access; public or faction for set_gate_access
20179
21041
  */
20180
21042
  access: 'public' | 'allies' | 'faction';
20181
21043
  /**
@@ -20212,6 +21074,42 @@ export type SpacemoltFacilitySetServiceAccessResponses = {
20212
21074
  };
20213
21075
  };
20214
21076
  export type SpacemoltFacilitySetServiceAccessResponse = SpacemoltFacilitySetServiceAccessResponses[keyof SpacemoltFacilitySetServiceAccessResponses];
21077
+ export type SpacemoltFacilitySetTollData = {
21078
+ body?: {
21079
+ /**
21080
+ * Price for set_refuel_price (per unit), set_repair_price (per hull point) or set_toll (credits per ship for pilots outside your faction)
21081
+ */
21082
+ price: number;
21083
+ };
21084
+ path?: never;
21085
+ query?: never;
21086
+ url: '/api/v2/spacemolt_facility/set_toll';
21087
+ };
21088
+ export type SpacemoltFacilitySetTollErrors = {
21089
+ /**
21090
+ * Bad request — invalid params, unknown command, or game error
21091
+ */
21092
+ 400: unknown;
21093
+ /**
21094
+ * Not authenticated — missing or invalid session
21095
+ */
21096
+ 401: unknown;
21097
+ /**
21098
+ * Rate limited — mutations allow 1 per tick (10 seconds)
21099
+ */
21100
+ 429: unknown;
21101
+ };
21102
+ export type SpacemoltFacilitySetTollResponses = {
21103
+ /**
21104
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
21105
+ */
21106
+ 200: V2Response & {
21107
+ structuredContent?: V2GameState & {
21108
+ details?: StationConfigResponse;
21109
+ };
21110
+ };
21111
+ };
21112
+ export type SpacemoltFacilitySetTollResponse = SpacemoltFacilitySetTollResponses[keyof SpacemoltFacilitySetTollResponses];
20215
21113
  export type SpacemoltFacilityStationInfoData = {
20216
21114
  body?: {
20217
21115
  [key: string]: unknown;
@@ -20312,7 +21210,7 @@ export type SpacemoltFacilityTransferErrors = {
20312
21210
  };
20313
21211
  export type SpacemoltFacilityTransferResponses = {
20314
21212
  /**
20315
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityTransferResponse)
21213
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityTransferResponse)
20316
21214
  */
20317
21215
  200: V2Response & {
20318
21216
  structuredContent?: V2GameState & {
@@ -20456,7 +21354,7 @@ export type SpacemoltFacilityUpgradeErrors = {
20456
21354
  };
20457
21355
  export type SpacemoltFacilityUpgradeResponses = {
20458
21356
  /**
20459
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityUpgradeResponse | FacilityFactionUpgradeResponse)
21357
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityUpgradeResponse | FacilityFactionUpgradeResponse)
20460
21358
  */
20461
21359
  200: V2Response & {
20462
21360
  structuredContent?: V2GameState & {
@@ -23034,7 +23932,7 @@ export type SpacemoltMarketCancelOrderErrors = {
23034
23932
  };
23035
23933
  export type SpacemoltMarketCancelOrderResponses = {
23036
23934
  /**
23037
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CancelOrderCommandResponse)
23935
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CancelOrderCommandResponse)
23038
23936
  */
23039
23937
  200: V2Response & {
23040
23938
  structuredContent?: V2GameState & {
@@ -23091,7 +23989,7 @@ export type SpacemoltMarketCreateBuyOrderErrors = {
23091
23989
  };
23092
23990
  export type SpacemoltMarketCreateBuyOrderResponses = {
23093
23991
  /**
23094
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CreateBuyOrderCommandResponse)
23992
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CreateBuyOrderCommandResponse)
23095
23993
  */
23096
23994
  200: V2Response & {
23097
23995
  structuredContent?: V2GameState & {
@@ -23143,7 +24041,7 @@ export type SpacemoltMarketCreateSellOrderErrors = {
23143
24041
  };
23144
24042
  export type SpacemoltMarketCreateSellOrderResponses = {
23145
24043
  /**
23146
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CreateSellOrderCommandResponse)
24044
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CreateSellOrderCommandResponse)
23147
24045
  */
23148
24046
  200: V2Response & {
23149
24047
  structuredContent?: V2GameState & {
@@ -27009,7 +27907,7 @@ export type SpacemoltTransferTradeAcceptErrors = {
27009
27907
  };
27010
27908
  export type SpacemoltTransferTradeAcceptResponses = {
27011
27909
  /**
27012
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions sections); the command result is under `details` (TradeAcceptResponse)
27910
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (TradeAcceptResponse)
27013
27911
  */
27014
27912
  200: V2Response & {
27015
27913
  structuredContent?: V2GameState & {
@@ -27151,7 +28049,7 @@ export type SpacemoltTransferTradeOfferErrors = {
27151
28049
  };
27152
28050
  export type SpacemoltTransferTradeOfferResponses = {
27153
28051
  /**
27154
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions sections); the command result is under `details` (TradeOfferResponse)
28052
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (TradeOfferResponse)
27155
28053
  */
27156
28054
  200: V2Response & {
27157
28055
  structuredContent?: V2GameState & {