@spacemolt/lib 16.6.0 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -992,11 +992,33 @@ export type Base = {
992
992
  type?: string;
993
993
  };
994
994
  export type BaseCostResponse = {
995
+ /**
996
+ * 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.
997
+ */
995
998
  eligible_here: boolean;
999
+ /**
1000
+ * Credits charged to found a station with build_base, on top of the Station Core. Taken from the faction treasury first, then your wallet.
1001
+ */
996
1002
  founding_fee: number;
1003
+ /**
1004
+ * Most stations one faction can own at once. Outposts and the faction mobile base do not count toward it.
1005
+ */
997
1006
  max_per_faction: number;
1007
+ /**
1008
+ * 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.
1009
+ */
1010
+ outpost_founding_fee: number;
1011
+ /**
1012
+ * 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.
1013
+ */
998
1014
  reason?: string;
1015
+ /**
1016
+ * Fixed prose summary of every station founding rule. The same text for every caller and location.
1017
+ */
999
1018
  requirements: string;
1019
+ /**
1020
+ * Item ID of the Station Core that build_base consumes from your cargo to found a station. Always station_core.
1021
+ */
1000
1022
  station_core_item: string;
1001
1023
  };
1002
1024
  export type BattleCombatState = {
@@ -2065,7 +2087,6 @@ export type CarrierTierProgress = {
2065
2087
  export type CatalogAchievement = {
2066
2088
  after?: string;
2067
2089
  category: string;
2068
- credits?: number;
2069
2090
  criteria: string;
2070
2091
  description: string;
2071
2092
  emblem?: string;
@@ -2074,9 +2095,6 @@ export type CatalogAchievement = {
2074
2095
  name: string;
2075
2096
  points: number;
2076
2097
  series?: string;
2077
- skill_xp?: {
2078
- [key: string]: number;
2079
- };
2080
2098
  title?: string;
2081
2099
  };
2082
2100
  export type CatalogDump = {
@@ -2355,19 +2373,23 @@ export type ClientConnectionInfo = {
2355
2373
  };
2356
2374
  export type ClientPoiInfo = {
2357
2375
  /**
2358
- * ID of the station at this POI. Omitted when has_base is false.
2376
+ * ID of the base at this POI. Omitted when has_base is false.
2359
2377
  */
2360
2378
  base_id?: string;
2361
2379
  /**
2362
- * Name of the station at this POI. Omitted when has_base is false.
2380
+ * Name of the base at this POI. Omitted when has_base is false.
2363
2381
  */
2364
2382
  base_name?: string;
2383
+ /**
2384
+ * Kind of base at this POI. station is a full station (empire or player-built). outpost is a faction outpost: a members-only storage and fuel depot. mobile_base is a base that can move to another system: a faction mobile base or the Frontier mobile capital. Omitted when has_base is false.
2385
+ */
2386
+ base_type?: 'station' | 'outpost' | 'mobile_base';
2365
2387
  /**
2366
2388
  * Type-specific classification for rendering (star spectral class, planet type, belt composition). Omitted when the POI has none.
2367
2389
  */
2368
2390
  class?: string;
2369
2391
  /**
2370
- * True when a station is at this POI.
2392
+ * True when a base (a station, an outpost, or a mobile base) is at this POI.
2371
2393
  */
2372
2394
  has_base: boolean;
2373
2395
  /**
@@ -2664,6 +2686,10 @@ export type CompleteMissionResponse = {
2664
2686
  [key: string]: number;
2665
2687
  };
2666
2688
  title: string;
2689
+ /**
2690
+ * 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.
2691
+ */
2692
+ unlocks?: Array<MissionUnlock>;
2667
2693
  };
2668
2694
  export type CompletedMissionSummary = {
2669
2695
  completion_time: string;
@@ -4307,7 +4333,6 @@ export type FactionCreateBuyOrderResponse = {
4307
4333
  total_spent?: number;
4308
4334
  };
4309
4335
  export type FactionCreateRolePermissions = {
4310
- broadcast: boolean;
4311
4336
  invite: boolean;
4312
4337
  kick: boolean;
4313
4338
  manage_bases: boolean;
@@ -4518,32 +4543,97 @@ export type FactionGiftResponse = {
4518
4543
  message: string;
4519
4544
  };
4520
4545
  export type FactionInfoResponse = {
4546
+ /**
4547
+ * Pending alliance proposals other factions sent to this faction. Members only: omitted for non-members and when there are none.
4548
+ */
4521
4549
  alliance_proposals?: Array<FactionAllianceProposal>;
4550
+ /**
4551
+ * Factions allied with this faction. Visible to everyone. Omitted when there are none.
4552
+ */
4522
4553
  allies?: Array<FactionListItem>;
4554
+ /**
4555
+ * 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.
4556
+ */
4523
4557
  ally_battle_opt_out?: boolean;
4558
+ /**
4559
+ * 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.
4560
+ */
4524
4561
  ally_facility_access?: boolean;
4562
+ /**
4563
+ * 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.
4564
+ */
4525
4565
  ally_fuel_access?: boolean;
4566
+ /**
4567
+ * 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.
4568
+ */
4526
4569
  ally_intel_opt_out?: boolean;
4570
+ /**
4571
+ * 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.
4572
+ */
4527
4573
  ally_shipyard_access?: boolean;
4574
+ /**
4575
+ * True when your faction is at war with this faction. False when you are in no faction.
4576
+ */
4528
4577
  at_war: boolean;
4578
+ /**
4579
+ * Public faction charter set with faction_edit (max 4000 characters). Empty when none is set.
4580
+ */
4529
4581
  charter: string;
4582
+ /**
4583
+ * When the faction was founded (RFC 3339).
4584
+ */
4530
4585
  created_at: string;
4586
+ /**
4587
+ * Public faction tagline set with faction_edit (max 500 characters). Empty when none is set.
4588
+ */
4531
4589
  description: string;
4532
- emblem?: string;
4590
+ /**
4591
+ * 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.
4592
+ */
4533
4593
  enemies?: Array<FactionListItem>;
4594
+ /**
4595
+ * Faction-owned facilities across all stations, sorted by base ID then facility type. Members only: omitted for non-members and when there are none.
4596
+ */
4534
4597
  facilities?: Array<FactionFacilityPresence>;
4535
4598
  /**
4536
4599
  * 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.
4537
4600
  */
4538
4601
  faction_rent?: FacilityRentSummary;
4602
+ /**
4603
+ * 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.
4604
+ */
4539
4605
  fuel_bunkers?: Array<FactionFuelBunker>;
4606
+ /**
4607
+ * Faction ID.
4608
+ */
4540
4609
  id: string;
4610
+ /**
4611
+ * True when your faction is allied with this faction. False when you are in no faction.
4612
+ */
4541
4613
  is_ally: boolean;
4614
+ /**
4615
+ * True when your faction has marked this faction as an enemy. False when you are in no faction.
4616
+ */
4542
4617
  is_enemy: boolean;
4618
+ /**
4619
+ * True when you are a member of this faction. Members-only fields are present only when this is true.
4620
+ */
4543
4621
  is_member: boolean;
4622
+ /**
4623
+ * Player ID of the faction leader.
4624
+ */
4544
4625
  leader_id: string;
4626
+ /**
4627
+ * Username of the faction leader. Unknown when the leader account no longer exists.
4628
+ */
4545
4629
  leader_username: string;
4630
+ /**
4631
+ * Total number of members in the faction. Not the size of the members page.
4632
+ */
4546
4633
  member_count: number;
4634
+ /**
4635
+ * 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.
4636
+ */
4547
4637
  members?: Array<FactionMember>;
4548
4638
  /**
4549
4639
  * 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.
@@ -4565,17 +4655,57 @@ export type FactionInfoResponse = {
4565
4655
  * Pending mobile-base construction reservation. Present only for faction members during construction; mutually exclusive with mobile_base.
4566
4656
  */
4567
4657
  mobile_base_commission?: MobileBaseCommissionInfo;
4658
+ /**
4659
+ * Faction display name.
4660
+ */
4568
4661
  name: string;
4662
+ /**
4663
+ * Number of bases the faction owns: stations, outposts and its mobile base. Visible to everyone.
4664
+ */
4569
4665
  owned_bases: number;
4666
+ /**
4667
+ * Pending peace proposals other factions sent to this faction. Members only: omitted for non-members and when there are none.
4668
+ */
4570
4669
  peace_proposals?: Array<FactionPeaceProposal>;
4670
+ /**
4671
+ * Live faction-wide crew and marine employment. Members only: omitted for non-members.
4672
+ */
4571
4673
  personnel?: FactionPersonnelEmployment;
4674
+ /**
4675
+ * Faction primary color as a hex string such as #FF0000. Starts as the founder's color; set with faction_edit.
4676
+ */
4572
4677
  primary_color: string;
4678
+ /**
4679
+ * Faction roles with their permissions, highest priority first. Members only: omitted for non-members.
4680
+ */
4573
4681
  roles?: Array<FactionRoleInfo>;
4682
+ /**
4683
+ * Faction secondary color as a hex string such as #00FF00. Starts as the founder's color; set with faction_edit.
4684
+ */
4574
4685
  secondary_color: string;
4686
+ /**
4687
+ * 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.
4688
+ */
4689
+ ship_licenses?: Array<FactionShipLicense>;
4690
+ /**
4691
+ * Short faction tag shown in brackets next to member names.
4692
+ */
4575
4693
  tag: string;
4694
+ /**
4695
+ * Sum of fuel_capacity over fuel_bunkers, in fuel units. 0 for non-members.
4696
+ */
4576
4697
  total_fuel_capacity: number;
4698
+ /**
4699
+ * Sum of fuel_reserve over fuel_bunkers, in fuel units. 0 for non-members.
4700
+ */
4577
4701
  total_fuel_reserve: number;
4702
+ /**
4703
+ * Faction treasury balance in credits. Members only: omitted for non-members and when the balance is 0.
4704
+ */
4578
4705
  treasury?: number;
4706
+ /**
4707
+ * Active wars this faction is in. Members only: omitted for non-members and when there are none.
4708
+ */
4579
4709
  wars?: Array<FactionWarInfo>;
4580
4710
  };
4581
4711
  export type FactionIntelStatusResponse = {
@@ -4995,6 +5125,24 @@ export type FactionSetEnemyResponse = {
4995
5125
  target_faction_id: string;
4996
5126
  target_name: string;
4997
5127
  };
5128
+ export type FactionShipLicense = {
5129
+ /**
5130
+ * When the faction bought the license (RFC 3339 UTC).
5131
+ */
5132
+ acquired_at: string;
5133
+ /**
5134
+ * Empire that designs the hull and receives the royalty on each licensed build.
5135
+ */
5136
+ empire: string;
5137
+ /**
5138
+ * Ship class id the license covers. Pass it to commission_ship.
5139
+ */
5140
+ ship_class: string;
5141
+ /**
5142
+ * Display name of the ship class.
5143
+ */
5144
+ ship_name: string;
5145
+ };
4998
5146
  export type FactionStorageBucket = {
4999
5147
  cap_per_item: number;
5000
5148
  id: string;
@@ -5275,7 +5423,7 @@ export type FitPreviewStats = {
5275
5423
  */
5276
5424
  armor: number;
5277
5425
  /**
5278
- * Total cargo space: class base plus module cargo bonuses (negative for modules that shrink the hold)
5426
+ * 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
5279
5427
  */
5280
5428
  cargo_capacity: number;
5281
5429
  /**
@@ -5983,6 +6131,10 @@ export type GetMissionsResponse = {
5983
6131
  * Current shared fixer-network account in credits. Omission means this response has no account snapshot.
5984
6132
  */
5985
6133
  fixer?: FixerAccountInfo;
6134
+ /**
6135
+ * 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.
6136
+ */
6137
+ locked_missions?: Array<LockedMissionHint>;
5986
6138
  missions: Array<MissionInfo>;
5987
6139
  };
5988
6140
  export type GetNearbyResponse = {
@@ -6893,6 +7045,12 @@ export type LoadPassengersResponse = {
6893
7045
  skipped_unfunded?: number;
6894
7046
  total_fare: number;
6895
7047
  };
7048
+ export type LockedMissionHint = {
7049
+ /**
7050
+ * Prerequisite missions the player must still complete before the hidden mission appears on the board of this station. Never empty.
7051
+ */
7052
+ still_requires: Array<MissionPrerequisite>;
7053
+ };
6896
7054
  export type LoggedInPayload = {
6897
7055
  pending_trades?: Array<Trade>;
6898
7056
  player: Player;
@@ -7232,6 +7390,42 @@ export type MissionInfo = {
7232
7390
  type: string;
7233
7391
  warnings?: Array<string>;
7234
7392
  };
7393
+ export type MissionPointer = {
7394
+ /**
7395
+ * ID of the one station that offers this mission. Omitted when the mission is not tied to one station.
7396
+ */
7397
+ base_id?: string;
7398
+ /**
7399
+ * Name of the station base_id. Omitted when base_id is omitted.
7400
+ */
7401
+ base_name?: string;
7402
+ /**
7403
+ * Mission template ID. Pass it to accept_mission (template_id, or id on v2) while docked at base_id.
7404
+ */
7405
+ mission_id: string;
7406
+ /**
7407
+ * ID of the system that holds base_id. Omitted when base_id is omitted.
7408
+ */
7409
+ system_id?: string;
7410
+ /**
7411
+ * Name of the system system_id. Omitted when base_id is omitted.
7412
+ */
7413
+ system_name?: string;
7414
+ /**
7415
+ * Mission title.
7416
+ */
7417
+ title: string;
7418
+ };
7419
+ export type MissionPrerequisite = {
7420
+ /**
7421
+ * The prerequisite mission the player has not completed.
7422
+ */
7423
+ mission: MissionPointer;
7424
+ /**
7425
+ * 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.
7426
+ */
7427
+ next_step: MissionPointer;
7428
+ };
7235
7429
  export type MissionRewardsInfo = {
7236
7430
  credits: number;
7237
7431
  /**
@@ -7253,6 +7447,20 @@ export type MissionRewardsInfo = {
7253
7447
  [key: string]: number;
7254
7448
  };
7255
7449
  };
7450
+ export type MissionUnlock = {
7451
+ /**
7452
+ * 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.
7453
+ */
7454
+ available: boolean;
7455
+ /**
7456
+ * The follow-up mission and the station that offers it.
7457
+ */
7458
+ mission: MissionPointer;
7459
+ /**
7460
+ * Other prerequisite missions the player has not completed. All of them are required. Omitted when none remain.
7461
+ */
7462
+ still_requires?: Array<MissionPrerequisite>;
7463
+ };
7256
7464
  export type MobileBaseCatalog = {
7257
7465
  /**
7258
7466
  * Fixed service and infrastructure facilities delivered with the station
@@ -7758,7 +7966,7 @@ export type NotificationChannelInfo = {
7758
7966
  /**
7759
7967
  * 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.
7760
7968
  */
7761
- 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;
7969
+ 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 | 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;
7762
7970
  export type NotificationSettingsResponse = {
7763
7971
  action: string;
7764
7972
  channels: Array<NotificationChannelInfo>;
@@ -7825,7 +8033,7 @@ export type NotificationActionResult = {
7825
8033
  */
7826
8034
  auto_undocked?: boolean;
7827
8035
  /**
7828
- * 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.
8036
+ * 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.
7829
8037
  */
7830
8038
  command: string;
7831
8039
  /**
@@ -7918,15 +8126,6 @@ export type NotificationBaseDestroyed = {
7918
8126
  owner_id: string;
7919
8127
  system_id: string;
7920
8128
  };
7921
- export type NotificationBaseRaidUpdate = {
7922
- attacker_id: string;
7923
- attacker_name: string;
7924
- base_id: string;
7925
- base_name: string;
7926
- current_health: number;
7927
- damage: number;
7928
- max_health: number;
7929
- };
7930
8129
  export type NotificationBattleAlert = {
7931
8130
  battle_id: string;
7932
8131
  message: string;
@@ -8003,7 +8202,7 @@ export type NotificationBattleUpdate = {
8003
8202
  */
8004
8203
  export type NotificationChatMessage = {
8005
8204
  /**
8006
- * Channel: global, system, local, faction, private, admin.
8205
+ * 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.
8007
8206
  */
8008
8207
  channel?: string;
8009
8208
  content?: string;
@@ -8289,6 +8488,36 @@ export type NotificationFactionAllianceProposal = {
8289
8488
  from_faction_tag: string;
8290
8489
  message: string;
8291
8490
  };
8491
+ /**
8492
+ * Sent to a player when a faction invites them. Accept with join_faction or refuse with faction_decline_invite.
8493
+ */
8494
+ export type NotificationFactionInvite = {
8495
+ /**
8496
+ * Faction that sent the invite.
8497
+ */
8498
+ faction_id: string;
8499
+ /**
8500
+ * Display name of the faction that sent the invite.
8501
+ */
8502
+ faction_name: string;
8503
+ /**
8504
+ * Username of the member who sent the invite.
8505
+ */
8506
+ invited_by: string;
8507
+ };
8508
+ /**
8509
+ * Sent to a player when they are kicked from their faction. They are no longer a member.
8510
+ */
8511
+ export type NotificationFactionKick = {
8512
+ /**
8513
+ * Faction the player was removed from.
8514
+ */
8515
+ faction_name: string;
8516
+ /**
8517
+ * Username of the member who kicked them.
8518
+ */
8519
+ kicked_by: string;
8520
+ };
8292
8521
  /**
8293
8522
  * 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.
8294
8523
  */
@@ -8314,7 +8543,13 @@ export type NotificationFactionPeaceAccepted = {
8314
8543
  * Faction that accepted the proposal.
8315
8544
  */
8316
8545
  faction_id: string;
8546
+ /**
8547
+ * Display name of the faction that accepted the proposal.
8548
+ */
8317
8549
  faction_name: string;
8550
+ /**
8551
+ * Human-readable notice naming the accepting faction and its tag.
8552
+ */
8318
8553
  message: string;
8319
8554
  };
8320
8555
  export type NotificationFactionPeaceProposal = {
@@ -8323,6 +8558,27 @@ export type NotificationFactionPeaceProposal = {
8323
8558
  message: string;
8324
8559
  terms?: string;
8325
8560
  };
8561
+ /**
8562
+ * Sent to a faction member when their role changes, up or down.
8563
+ */
8564
+ export type NotificationFactionPromote = {
8565
+ /**
8566
+ * Display name of the faction the member belongs to.
8567
+ */
8568
+ faction_name: string;
8569
+ /**
8570
+ * Role ID the member holds now.
8571
+ */
8572
+ new_role: string;
8573
+ /**
8574
+ * Role ID the member held before the change.
8575
+ */
8576
+ old_role: string;
8577
+ /**
8578
+ * Username of the member who changed the role.
8579
+ */
8580
+ promoted_by: string;
8581
+ };
8326
8582
  export type NotificationFactionWarDeclared = {
8327
8583
  aggressor_faction_id: string;
8328
8584
  aggressor_faction_name: string;
@@ -8331,6 +8587,23 @@ export type NotificationFactionWarDeclared = {
8331
8587
  message: string;
8332
8588
  reason?: string;
8333
8589
  };
8590
+ /**
8591
+ * Sent to a player when a faction withdraws its pending invite to them. The invite can no longer be accepted.
8592
+ */
8593
+ export type NotificationFactionWithdrawInvite = {
8594
+ /**
8595
+ * Faction that withdrew the invite.
8596
+ */
8597
+ faction_id: string;
8598
+ /**
8599
+ * Display name of the faction that withdrew the invite.
8600
+ */
8601
+ faction_name: string;
8602
+ /**
8603
+ * Username of the member who withdrew the invite.
8604
+ */
8605
+ withdrawn_by: string;
8606
+ };
8334
8607
  /**
8335
8608
  * 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.
8336
8609
  */
@@ -8494,7 +8767,7 @@ export type NotificationObservationUpdate = {
8494
8767
  unknown_signature: boolean;
8495
8768
  };
8496
8769
  /**
8497
- * 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.
8770
+ * 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.
8498
8771
  */
8499
8772
  export type NotificationOk = {
8500
8773
  /**
@@ -8521,6 +8794,10 @@ export type NotificationOk = {
8521
8794
  * Destination POI ID for fleet_travel or system ID for fleet_jump; omitted for fleet_dock and fleet_undock.
8522
8795
  */
8523
8796
  destination?: string;
8797
+ /**
8798
+ * 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.
8799
+ */
8800
+ destination_name?: string;
8524
8801
  /**
8525
8802
  * Exploration skill XP for your first visit to this system: 5. Omitted on a revisit.
8526
8803
  */
@@ -12259,15 +12536,33 @@ export type SovereignMintStatus = {
12259
12536
  status: 'blocked_inputs' | 'blocked_internal' | 'price_limited';
12260
12537
  };
12261
12538
  export type StationConfigResponse = {
12539
+ /**
12540
+ * The station action that ran, lower-cased. An empty action and station_info both report info; station_set_name reports set_name.
12541
+ */
12262
12542
  action: string;
12263
12543
  /**
12264
12544
  * 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.
12265
12545
  */
12266
12546
  allow_outsider_facilities: boolean;
12547
+ /**
12548
+ * Faction IDs whose members may dock while public_access is false. Omitted when the list is empty.
12549
+ */
12267
12550
  allowed_factions?: Array<string>;
12551
+ /**
12552
+ * Player IDs that may dock while public_access is false. player_usernames gives their names. Omitted when the list is empty.
12553
+ */
12268
12554
  allowed_players?: Array<string>;
12555
+ /**
12556
+ * 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.
12557
+ */
12269
12558
  auto_buy_fuel: boolean;
12559
+ /**
12560
+ * 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.
12561
+ */
12270
12562
  banned_players?: Array<string>;
12563
+ /**
12564
+ * ID of the station or outpost you are docked at and administering.
12565
+ */
12271
12566
  base_id: string;
12272
12567
  /**
12273
12568
  * Custom banned item IDs in sorted order. Null means default rules; an empty array in custom mode permits all items.
@@ -12277,13 +12572,43 @@ export type StationConfigResponse = {
12277
12572
  * default uses the general contraband rules; custom replaces them with contraband_items at this player-owned station or mobile base. Empire customs remain unchanged.
12278
12573
  */
12279
12574
  contraband_mode: string;
12575
+ /**
12576
+ * Owner-set description, up to 500 characters. Omitted when none is set.
12577
+ */
12280
12578
  description?: string;
12579
+ /**
12580
+ * Market listing fee at this station in basis points (100 = 1%, max 1000). Omitted (0) when the station uses the default rate.
12581
+ */
12281
12582
  market_fee_bps?: number;
12583
+ /**
12584
+ * Human-readable result of the change. Omitted for info.
12585
+ */
12282
12586
  message?: string;
12587
+ /**
12588
+ * Current display name of the station or outpost.
12589
+ */
12283
12590
  name: string;
12591
+ /**
12592
+ * 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.
12593
+ */
12594
+ player_usernames?: {
12595
+ [key: string]: string;
12596
+ };
12597
+ /**
12598
+ * True when any pilot not in banned_players may dock. False means only the owning faction, allowed_factions and allowed_players may dock.
12599
+ */
12284
12600
  public_access: boolean;
12601
+ /**
12602
+ * Fixed refuel price in credits per fuel unit (max 1000). Omitted (0) when the station uses the default dynamic fuel price.
12603
+ */
12285
12604
  refuel_price_each?: number;
12605
+ /**
12606
+ * 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.
12607
+ */
12286
12608
  repair_price_per_hull?: number;
12609
+ /**
12610
+ * 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.
12611
+ */
12287
12612
  service_access?: {
12288
12613
  [key: string]: string;
12289
12614
  };
@@ -12682,6 +13007,10 @@ export type SystemInfo = {
12682
13007
  export type SystemPoi = {
12683
13008
  base_id?: string;
12684
13009
  base_name?: string;
13010
+ /**
13011
+ * Kind of base at this POI. station is a full station (empire or player-built). outpost is a faction outpost: a members-only storage and fuel depot. mobile_base is a base that can move to another system: a faction mobile base or the Frontier mobile capital. Omitted when has_base is false.
13012
+ */
13013
+ base_type?: 'station' | 'outpost' | 'mobile_base';
12685
13014
  /**
12686
13015
  * Type-specific classification for client rendering (e.g. star spectral class, planet type, belt composition)
12687
13016
  */
@@ -13911,7 +14240,7 @@ export type V2Response = {
13911
14240
  */
13912
14241
  message?: string;
13913
14242
  /**
13914
- * 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.
14243
+ * 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.
13915
14244
  */
13916
14245
  retry_after?: number;
13917
14246
  };
@@ -14135,19 +14464,67 @@ export type ViewCompletedMissionResponse = {
14135
14464
  template_id: string;
14136
14465
  title: string;
14137
14466
  type: string;
14467
+ /**
14468
+ * 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.
14469
+ */
14470
+ unlocks?: Array<MissionUnlock>;
14138
14471
  };
14139
14472
  export type ViewFactionStorageResponse = {
14473
+ /**
14474
+ * Always view_faction_storage. Tells this faction-storage shape apart from the personal-storage shape of view_storage.
14475
+ */
14140
14476
  action: 'view_faction_storage';
14477
+ /**
14478
+ * Station whose faction storage is shown: the station_id you passed, or your docked station.
14479
+ */
14141
14480
  base_id: string;
14481
+ /**
14482
+ * Storage Extension buckets (named sub-compartments) the faction has at this station, each with its contents. Omitted when there are none.
14483
+ */
14142
14484
  buckets?: Array<FactionStorageBucket>;
14485
+ /**
14486
+ * Faction treasury balance in credits. The treasury is faction-wide, not held at this station.
14487
+ */
14143
14488
  credits: number;
14489
+ /**
14490
+ * 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.
14491
+ */
14492
+ deposits_blocked?: boolean;
14493
+ /**
14494
+ * 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.
14495
+ */
14496
+ deposits_blocked_reason?: 'dismantling' | 'no_storage_facility';
14497
+ /**
14498
+ * 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.
14499
+ */
14144
14500
  faction_fuel_capacity?: number;
14501
+ /**
14502
+ * 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.
14503
+ */
14145
14504
  faction_fuel_reserve?: number;
14505
+ /**
14506
+ * ID of your faction, whose storage this is.
14507
+ */
14146
14508
  faction_id: string;
14509
+ /**
14510
+ * Display name of your faction.
14511
+ */
14147
14512
  faction_name: string;
14513
+ /**
14514
+ * Short tag of your faction.
14515
+ */
14148
14516
  faction_tag: string;
14517
+ /**
14518
+ * 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.
14519
+ */
14149
14520
  hint: string;
14521
+ /**
14522
+ * Items in the faction's main storage at this station. Storage Extension contents are listed under buckets instead. Empty array when there are none.
14523
+ */
14150
14524
  items: Array<CargoItem>;
14525
+ /**
14526
+ * 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.
14527
+ */
14151
14528
  recent_activity: Array<FactionActivityEntry>;
14152
14529
  };
14153
14530
  export type ViewMarketResponse = {
@@ -14307,52 +14684,6 @@ export type GetCatalogDumpResponses = {
14307
14684
  200: CatalogDump;
14308
14685
  };
14309
14686
  export type GetCatalogDumpResponse = GetCatalogDumpResponses[keyof GetCatalogDumpResponses];
14310
- export type AgentLogsV2Data = {
14311
- body: {
14312
- /**
14313
- * Free-form category string (e.g. 'combat', 'crew', 'economy'). Used to route the entry to the appropriate Discord channel.
14314
- */
14315
- category: string;
14316
- /**
14317
- * Optional machine-readable context. Not shown in Discord.
14318
- */
14319
- data?: {
14320
- [key: string]: unknown;
14321
- };
14322
- /**
14323
- * Human-readable log message. This is what appears in Discord.
14324
- */
14325
- message: string;
14326
- /**
14327
- * Severity level of the log entry.
14328
- */
14329
- severity: 'debug' | 'info' | 'warn' | 'error';
14330
- };
14331
- path?: never;
14332
- query?: never;
14333
- url: '/api/v2/agentlogs';
14334
- };
14335
- export type AgentLogsV2Errors = {
14336
- /**
14337
- * Invalid request — missing or invalid fields
14338
- */
14339
- 400: unknown;
14340
- /**
14341
- * Unauthorized — missing or invalid session
14342
- */
14343
- 401: unknown;
14344
- /**
14345
- * Rate limited — 30 submissions per minute per session
14346
- */
14347
- 429: unknown;
14348
- };
14349
- export type AgentLogsV2Responses = {
14350
- /**
14351
- * Log entry accepted
14352
- */
14353
- 200: V2Response;
14354
- };
14355
- export type AgentLogsV2Response = AgentLogsV2Responses[keyof AgentLogsV2Responses];
14356
14687
  export type GetNotificationsData = {
14357
14688
  body?: never;
14358
14689
  path?: never;
@@ -14627,7 +14958,7 @@ export type SpacemoltCompleteMissionErrors = {
14627
14958
  };
14628
14959
  export type SpacemoltCompleteMissionResponses = {
14629
14960
  /**
14630
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions/skills sections); the command result is under `details` (CompleteMissionResponse)
14961
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions/skills sections); the command result is under `details` (CompleteMissionResponse)
14631
14962
  */
14632
14963
  200: V2Response & {
14633
14964
  structuredContent?: V2GameState & {
@@ -17528,7 +17859,16 @@ export type SpacemoltBattleReloadData = {
17528
17859
  /**
17529
17860
  * 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.
17530
17861
  */
17531
- weapons?: Array<unknown>;
17862
+ weapons?: Array<{
17863
+ /**
17864
+ * Item ID of ammo to load from cargo. Omit for an ammo_from_cargo weapon to auto-select junk.
17865
+ */
17866
+ ammo_item_id?: string;
17867
+ /**
17868
+ * Instance ID of the fitted weapon or mining gun to reload. An entry without one fails alone with missing_weapon.
17869
+ */
17870
+ weapon_instance_id?: string;
17871
+ }>;
17532
17872
  };
17533
17873
  path?: never;
17534
17874
  query?: never;
@@ -18590,7 +18930,7 @@ export type SpacemoltFacilityBuildErrors = {
18590
18930
  };
18591
18931
  export type SpacemoltFacilityBuildResponses = {
18592
18932
  /**
18593
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityBuildResponse | FacilityFactionBuildResponse)
18933
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityBuildResponse | FacilityFactionBuildResponse)
18594
18934
  */
18595
18935
  200: V2Response & {
18596
18936
  structuredContent?: V2GameState & {
@@ -18630,7 +18970,7 @@ export type SpacemoltFacilityBuyListingErrors = {
18630
18970
  };
18631
18971
  export type SpacemoltFacilityBuyListingResponses = {
18632
18972
  /**
18633
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityBuyListingResponse)
18973
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityBuyListingResponse)
18634
18974
  */
18635
18975
  200: V2Response & {
18636
18976
  structuredContent?: V2GameState & {
@@ -18702,7 +19042,7 @@ export type SpacemoltFacilityCancelListingErrors = {
18702
19042
  };
18703
19043
  export type SpacemoltFacilityCancelListingResponses = {
18704
19044
  /**
18705
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityCancelListingResponse)
19045
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityCancelListingResponse)
18706
19046
  */
18707
19047
  200: V2Response & {
18708
19048
  structuredContent?: V2GameState & {
@@ -18738,7 +19078,7 @@ export type SpacemoltFacilityDeployOutpostErrors = {
18738
19078
  };
18739
19079
  export type SpacemoltFacilityDeployOutpostResponses = {
18740
19080
  /**
18741
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
19081
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
18742
19082
  */
18743
19083
  200: V2Response & {
18744
19084
  structuredContent?: V2GameState & {
@@ -18774,7 +19114,7 @@ export type SpacemoltFacilityDismantleErrors = {
18774
19114
  };
18775
19115
  export type SpacemoltFacilityDismantleResponses = {
18776
19116
  /**
18777
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
19117
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
18778
19118
  */
18779
19119
  200: V2Response & {
18780
19120
  structuredContent?: V2GameState & {
@@ -18807,7 +19147,7 @@ export type SpacemoltFacilityDismantleOutpostErrors = {
18807
19147
  };
18808
19148
  export type SpacemoltFacilityDismantleOutpostResponses = {
18809
19149
  /**
18810
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (DismantleOutpostResponse)
19150
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (DismantleOutpostResponse)
18811
19151
  */
18812
19152
  200: V2Response & {
18813
19153
  structuredContent?: V2GameState & {
@@ -18893,7 +19233,7 @@ export type SpacemoltFacilityFactionBuildErrors = {
18893
19233
  };
18894
19234
  export type SpacemoltFacilityFactionBuildResponses = {
18895
19235
  /**
18896
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityFactionBuildResponse)
19236
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityFactionBuildResponse)
18897
19237
  */
18898
19238
  200: V2Response & {
18899
19239
  structuredContent?: V2GameState & {
@@ -18929,7 +19269,7 @@ export type SpacemoltFacilityFactionDismantleErrors = {
18929
19269
  };
18930
19270
  export type SpacemoltFacilityFactionDismantleResponses = {
18931
19271
  /**
18932
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
19272
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
18933
19273
  */
18934
19274
  200: V2Response & {
18935
19275
  structuredContent?: V2GameState & {
@@ -19039,7 +19379,7 @@ export type SpacemoltFacilityFactionUpgradeErrors = {
19039
19379
  };
19040
19380
  export type SpacemoltFacilityFactionUpgradeResponses = {
19041
19381
  /**
19042
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityFactionUpgradeResponse)
19382
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityFactionUpgradeResponse)
19043
19383
  */
19044
19384
  200: V2Response & {
19045
19385
  structuredContent?: V2GameState & {
@@ -19079,7 +19419,7 @@ export type SpacemoltFacilityFoundStationErrors = {
19079
19419
  };
19080
19420
  export type SpacemoltFacilityFoundStationResponses = {
19081
19421
  /**
19082
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
19422
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
19083
19423
  */
19084
19424
  200: V2Response & {
19085
19425
  structuredContent?: V2GameState & {
@@ -19190,7 +19530,7 @@ export type SpacemoltFacilityJobAddErrors = {
19190
19530
  };
19191
19531
  export type SpacemoltFacilityJobAddResponses = {
19192
19532
  /**
19193
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (CraftJobResponse | PackageJobResponse)
19533
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (CraftJobResponse | PackageJobResponse)
19194
19534
  */
19195
19535
  200: V2Response & {
19196
19536
  structuredContent?: V2GameState & {
@@ -19234,7 +19574,7 @@ export type SpacemoltFacilityJobCancelErrors = {
19234
19574
  };
19235
19575
  export type SpacemoltFacilityJobCancelResponses = {
19236
19576
  /**
19237
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (JobCancelResponse | BulkJobCancelResponse)
19577
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (JobCancelResponse | BulkJobCancelResponse)
19238
19578
  */
19239
19579
  200: V2Response & {
19240
19580
  structuredContent?: V2GameState & {
@@ -19316,7 +19656,7 @@ export type SpacemoltFacilityJobReorderErrors = {
19316
19656
  };
19317
19657
  export type SpacemoltFacilityJobReorderResponses = {
19318
19658
  /**
19319
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (JobReorderResponse)
19659
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (JobReorderResponse)
19320
19660
  */
19321
19661
  200: V2Response & {
19322
19662
  structuredContent?: V2GameState & {
@@ -19391,7 +19731,7 @@ export type SpacemoltFacilityListForSaleErrors = {
19391
19731
  };
19392
19732
  export type SpacemoltFacilityListForSaleResponses = {
19393
19733
  /**
19394
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityListForSaleResponse)
19734
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityListForSaleResponse)
19395
19735
  */
19396
19736
  200: V2Response & {
19397
19737
  structuredContent?: V2GameState & {
@@ -19458,7 +19798,7 @@ export type SpacemoltFacilityPersonalBuildErrors = {
19458
19798
  };
19459
19799
  export type SpacemoltFacilityPersonalBuildResponses = {
19460
19800
  /**
19461
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalBuildResponse)
19801
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalBuildResponse)
19462
19802
  */
19463
19803
  200: V2Response & {
19464
19804
  structuredContent?: V2GameState & {
@@ -19498,7 +19838,7 @@ export type SpacemoltFacilityPersonalDecorateErrors = {
19498
19838
  };
19499
19839
  export type SpacemoltFacilityPersonalDecorateResponses = {
19500
19840
  /**
19501
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalDecorateResponse)
19841
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalDecorateResponse)
19502
19842
  */
19503
19843
  200: V2Response & {
19504
19844
  structuredContent?: V2GameState & {
@@ -19572,7 +19912,7 @@ export type SpacemoltFacilityRanchSetCullErrors = {
19572
19912
  };
19573
19913
  export type SpacemoltFacilityRanchSetCullResponses = {
19574
19914
  /**
19575
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (RanchSetCullResponse)
19915
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (RanchSetCullResponse)
19576
19916
  */
19577
19917
  200: V2Response & {
19578
19918
  structuredContent?: V2GameState & {
@@ -19714,7 +20054,7 @@ export type SpacemoltFacilityRepairErrors = {
19714
20054
  };
19715
20055
  export type SpacemoltFacilityRepairResponses = {
19716
20056
  /**
19717
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityRepairResponse)
20057
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityRepairResponse)
19718
20058
  */
19719
20059
  200: V2Response & {
19720
20060
  structuredContent?: V2GameState & {
@@ -19787,7 +20127,7 @@ export type SpacemoltFacilitySetAccessErrors = {
19787
20127
  };
19788
20128
  export type SpacemoltFacilitySetAccessResponses = {
19789
20129
  /**
19790
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetAccessResponse)
20130
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetAccessResponse)
19791
20131
  */
19792
20132
  200: V2Response & {
19793
20133
  structuredContent?: V2GameState & {
@@ -20007,7 +20347,7 @@ export type SpacemoltFacilitySetNameErrors = {
20007
20347
  };
20008
20348
  export type SpacemoltFacilitySetNameResponses = {
20009
20349
  /**
20010
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetFacilityNameResponse)
20350
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetFacilityNameResponse)
20011
20351
  */
20012
20352
  200: V2Response & {
20013
20353
  structuredContent?: V2GameState & {
@@ -20047,7 +20387,7 @@ export type SpacemoltFacilitySetOutputPriceErrors = {
20047
20387
  };
20048
20388
  export type SpacemoltFacilitySetOutputPriceResponses = {
20049
20389
  /**
20050
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetOutputPriceResponse)
20390
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetOutputPriceResponse)
20051
20391
  */
20052
20392
  200: V2Response & {
20053
20393
  structuredContent?: V2GameState & {
@@ -20304,7 +20644,7 @@ export type SpacemoltFacilityTransferErrors = {
20304
20644
  };
20305
20645
  export type SpacemoltFacilityTransferResponses = {
20306
20646
  /**
20307
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityTransferResponse)
20647
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityTransferResponse)
20308
20648
  */
20309
20649
  200: V2Response & {
20310
20650
  structuredContent?: V2GameState & {
@@ -20448,7 +20788,7 @@ export type SpacemoltFacilityUpgradeErrors = {
20448
20788
  };
20449
20789
  export type SpacemoltFacilityUpgradeResponses = {
20450
20790
  /**
20451
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityUpgradeResponse | FacilityFactionUpgradeResponse)
20791
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityUpgradeResponse | FacilityFactionUpgradeResponse)
20452
20792
  */
20453
20793
  200: V2Response & {
20454
20794
  structuredContent?: V2GameState & {
@@ -23026,7 +23366,7 @@ export type SpacemoltMarketCancelOrderErrors = {
23026
23366
  };
23027
23367
  export type SpacemoltMarketCancelOrderResponses = {
23028
23368
  /**
23029
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CancelOrderCommandResponse)
23369
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CancelOrderCommandResponse)
23030
23370
  */
23031
23371
  200: V2Response & {
23032
23372
  structuredContent?: V2GameState & {
@@ -23083,7 +23423,7 @@ export type SpacemoltMarketCreateBuyOrderErrors = {
23083
23423
  };
23084
23424
  export type SpacemoltMarketCreateBuyOrderResponses = {
23085
23425
  /**
23086
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CreateBuyOrderCommandResponse)
23426
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CreateBuyOrderCommandResponse)
23087
23427
  */
23088
23428
  200: V2Response & {
23089
23429
  structuredContent?: V2GameState & {
@@ -23135,7 +23475,7 @@ export type SpacemoltMarketCreateSellOrderErrors = {
23135
23475
  };
23136
23476
  export type SpacemoltMarketCreateSellOrderResponses = {
23137
23477
  /**
23138
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CreateSellOrderCommandResponse)
23478
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CreateSellOrderCommandResponse)
23139
23479
  */
23140
23480
  200: V2Response & {
23141
23481
  structuredContent?: V2GameState & {
@@ -27001,7 +27341,7 @@ export type SpacemoltTransferTradeAcceptErrors = {
27001
27341
  };
27002
27342
  export type SpacemoltTransferTradeAcceptResponses = {
27003
27343
  /**
27004
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions sections); the command result is under `details` (TradeAcceptResponse)
27344
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (TradeAcceptResponse)
27005
27345
  */
27006
27346
  200: V2Response & {
27007
27347
  structuredContent?: V2GameState & {
@@ -27143,7 +27483,7 @@ export type SpacemoltTransferTradeOfferErrors = {
27143
27483
  };
27144
27484
  export type SpacemoltTransferTradeOfferResponses = {
27145
27485
  /**
27146
- * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions sections); the command result is under `details` (TradeOfferResponse)
27486
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (TradeOfferResponse)
27147
27487
  */
27148
27488
  200: V2Response & {
27149
27489
  structuredContent?: V2GameState & {