@spacemolt/lib 16.3.0 → 16.5.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.
@@ -1386,7 +1386,7 @@ export type BoardingStateLogEntry = {
1386
1386
  */
1387
1387
  phase: 'latching' | 'assault' | 'withdrawing' | 'resolved' | 'self_destruct';
1388
1388
  /**
1389
- * Why the event fired, when the event alone is ambiguous. boarding_rejected carries either a validation reason or contested_same_tick when deterministic boarding initiative selected another eligible request sharing either hull. self_destruct_canceled may carry battle_ended when combat ending cleared the countdown. Omitted otherwise.
1389
+ * Why the event fired, when the event alone is ambiguous. boarding_rejected carries either a validation reason or contested_same_tick when deterministic boarding initiative selected another eligible request sharing either hull. self_destruct_canceled may carry battle_ended when combat ending cleared the countdown. plundered carries surrendered when the target's crew gave up because no fit marine was left aboard, at latch or when its last marine fell; that ship keeps its surviving crew. Captures never surrender. Omitted otherwise.
1390
1390
  */
1391
1391
  reason?: string;
1392
1392
  /**
@@ -1694,7 +1694,7 @@ export type BulkSellOrderResult = {
1694
1694
  total_earned?: number;
1695
1695
  };
1696
1696
  /**
1697
- * The single-item storage response for this entry (deposit, withdraw, gift, or faction/empire variant). Successful station gifts use action=send_gift and canonical recipient=station:<base ID>; remaining source inventory reflects the completed bulk batch, including zero.
1697
+ * The single-item storage response for this entry (deposit, withdraw, gift, or faction/empire variant). Successful station gifts use action=send_gift and canonical recipient=station:<base ID>; remaining source inventory reflects the completed bulk batch, including zero. An entry never carries goodwill: a bulk station gift reports it once on the parent response.
1698
1698
  */
1699
1699
  export type BulkStorageItemData = {
1700
1700
  [key: string]: unknown;
@@ -1722,6 +1722,10 @@ export type BulkStorageResponse = {
1722
1722
  dest_bucket?: string;
1723
1723
  dest_bucket_id?: string;
1724
1724
  failed: number;
1725
+ /**
1726
+ * How the empire or pirate crew received a bulk station:<base ID> gift: one result for all items delivered in the batch. Omitted when no item was delivered and for every other bulk target. Per-item results never carry goodwill.
1727
+ */
1728
+ goodwill?: GiftGoodwill;
1725
1729
  requested: number;
1726
1730
  results: Array<BulkStorageItemResult>;
1727
1731
  succeeded: number;
@@ -2666,23 +2670,71 @@ export type CraftQuoteResponse = {
2666
2670
  venue_type: string;
2667
2671
  };
2668
2672
  export type CraftingDeposit = {
2673
+ /**
2674
+ * Item ID of the deposited item. A sealed package has a package item ID.
2675
+ */
2669
2676
  item_id: string;
2677
+ /**
2678
+ * Display name of the deposited item.
2679
+ */
2670
2680
  item_name: string;
2681
+ /**
2682
+ * Units of this item deposited this tick.
2683
+ */
2671
2684
  quantity: number;
2672
2685
  };
2673
2686
  export type CraftingJobUpdate = {
2687
+ /**
2688
+ * True when this tick finished the job's last run. No more updates follow for this job.
2689
+ */
2674
2690
  completed: boolean;
2691
+ /**
2692
+ * Items this job deposited this tick. Sorted by item_name.
2693
+ */
2675
2694
  deposited: Array<CraftingDeposit>;
2695
+ /**
2696
+ * Credits still prepaid on the job: labor plus the rental fee for an external job.
2697
+ */
2676
2698
  escrowed_credits: number;
2699
+ /**
2700
+ * True when this job rents a facility you do not own. Omitted when false.
2701
+ */
2677
2702
  external?: boolean;
2703
+ /**
2704
+ * Job ID. The same ID that the job queue listing shows.
2705
+ */
2678
2706
  job_id: string;
2679
- mode: string;
2707
+ /**
2708
+ * craft or recycle for a recipe job. pack or unpack for a package job.
2709
+ */
2710
+ mode: 'craft' | 'recycle' | 'pack' | 'unpack';
2711
+ /**
2712
+ * ID of the output package a packaged craft sealed on completion. Set only then.
2713
+ */
2680
2714
  output_package_id?: string;
2715
+ /**
2716
+ * Label of the output package a packaged craft sealed on completion. Set only then.
2717
+ */
2681
2718
  output_package_label?: string;
2719
+ /**
2720
+ * Display name of the job's recipe, not the recipe ID you passed to craft. For a package pack or unpack job it is the package label, or Package when the package has no label.
2721
+ */
2682
2722
  recipe: string;
2723
+ /**
2724
+ * Runs completed this tick (not the job total).
2725
+ */
2683
2726
  runs_done: number;
2727
+ /**
2728
+ * Runs still queued on the job. 0 when the job is completed.
2729
+ */
2684
2730
  runs_remaining: number;
2731
+ /**
2732
+ * Where the output landed: station or faction or cargo. A package job can report cargo+station when its cargo overflowed into station storage.
2733
+ */
2685
2734
  storage: string;
2735
+ /**
2736
+ * Display name of the venue: Station Workshop or the facility type name.
2737
+ */
2686
2738
  venue: string;
2687
2739
  };
2688
2740
  export type CreateBuyOrderCommandResponse = ({
@@ -3040,6 +3092,9 @@ export type DroneInfo = {
3040
3092
  type: string;
3041
3093
  };
3042
3094
  export type EmpireGiftResponse = {
3095
+ /**
3096
+ * Donation to an empire named by an empire alias target: empire_gift_credits (credits wired to the treasury from anywhere), empire_gift_items (cargo given to the quartermaster at one of its stations with storage service) or empire_gift_ship (a ship parked at the empire station where you are docked, seated in the empire's Reserve fleet, scrapped if it is a starter ship, or destroyed for flagship_bounty if it is a pirate boss's flagship). A station:<base ID> donation returns SendGiftResponse instead, even at an empire station.
3097
+ */
3043
3098
  action: 'empire_gift_credits' | 'empire_gift_items' | 'empire_gift_ship';
3044
3099
  /**
3045
3100
  * True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
@@ -3049,24 +3104,89 @@ export type EmpireGiftResponse = {
3049
3104
  * True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
3050
3105
  */
3051
3106
  auto_undocked?: boolean;
3052
- base_id: string;
3053
- base_name: string;
3107
+ /**
3108
+ * Station where the donation was made. Omitted for a credit wire sent from anywhere other than one of the empire's own stations.
3109
+ */
3110
+ base_id?: string;
3111
+ /**
3112
+ * Name of base_id. Omitted with it for a remote credit wire.
3113
+ */
3114
+ base_name?: string;
3115
+ /**
3116
+ * Units of item_id left in your cargo after the donation. Set on empire_gift_items only; omitted when zero.
3117
+ */
3054
3118
  cargo_remaining?: number;
3119
+ /**
3120
+ * Ship class of the donated ship. Set on empire_gift_ship only.
3121
+ */
3055
3122
  class_id?: string;
3123
+ /**
3124
+ * Display name of class_id. Set on empire_gift_ship only.
3125
+ */
3056
3126
  class_name?: string;
3127
+ /**
3128
+ * Credits moved from your wallet to the empire treasury. Set on empire_gift_credits only.
3129
+ */
3057
3130
  credits_sent?: number;
3131
+ /**
3132
+ * Empire that received the donation (e.g. solarian).
3133
+ */
3058
3134
  empire_id: string;
3135
+ /**
3136
+ * Display name of empire_id.
3137
+ */
3059
3138
  empire_name: string;
3139
+ /**
3140
+ * Credits the empire paid you for a pirate boss's stolen flagship (a flat 1000000), added to your wallet on top of the normal donation goodwill and counted as taxable ship_sale income. The empire destroys the hull. Set on empire_gift_ship only when the donated ship was a boss flagship; omitted otherwise. Less than the flat amount only if your wallet hit the credit cap.
3141
+ */
3142
+ flagship_bounty?: number;
3143
+ /**
3144
+ * The empire's shared Reserve fleet that the ship joined. Every ship donated to one empire reports the same fleet_id. Omitted when a starter ship is scrapped or a boss flagship is destroyed instead.
3145
+ */
3060
3146
  fleet_id?: string;
3147
+ /**
3148
+ * Display name of fleet_id. Omitted with it.
3149
+ */
3061
3150
  fleet_name?: string;
3151
+ /**
3152
+ * How the empire received this donation: value to them, bounty paid, reputation change and their reply. Present on every empire donation except a starter ship, which is scrapped and earns nothing.
3153
+ */
3154
+ goodwill?: GiftGoodwill;
3155
+ /**
3156
+ * Designation the empire gave the hull in its Reserve roster. Omitted when a starter ship is scrapped or a boss flagship is destroyed instead.
3157
+ */
3062
3158
  hull_designator?: string;
3159
+ /**
3160
+ * Donated item ID. Set on empire_gift_items only.
3161
+ */
3063
3162
  item_id?: string;
3163
+ /**
3164
+ * Your donation note; omitted when empty. When a donated starter ship is scrapped or a boss flagship is destroyed it is the empire's reply instead.
3165
+ */
3064
3166
  message?: string;
3167
+ /**
3168
+ * Empire NPC pilot seated on the donated ship, unique to this donation. Omitted when a starter ship is scrapped or a boss flagship is destroyed instead.
3169
+ */
3065
3170
  npc_id?: string;
3171
+ /**
3172
+ * ID of the automated donation notice filed with the empire's leadership. Omitted when a starter ship is scrapped or a boss flagship is destroyed.
3173
+ */
3066
3174
  petition_id?: string;
3175
+ /**
3176
+ * Full text of that donation notice. Omitted with petition_id.
3177
+ */
3067
3178
  petition_notice?: string;
3179
+ /**
3180
+ * Units of item_id donated. Set on empire_gift_items only.
3181
+ */
3068
3182
  quantity?: number;
3183
+ /**
3184
+ * ID of the donated ship. Set on empire_gift_ship only.
3185
+ */
3069
3186
  ship_id?: string;
3187
+ /**
3188
+ * Your wallet after the credit donation. Set on empire_gift_credits only; omitted when zero.
3189
+ */
3070
3190
  wallet_remaining?: number;
3071
3191
  };
3072
3192
  export type EmpireNpcInfo = {
@@ -3087,7 +3207,9 @@ export type EmpireNpcInfo = {
3087
3207
  };
3088
3208
  export type EmpirePolicySnapshot = {
3089
3209
  bounty_attack: number;
3210
+ bounty_hold: number;
3090
3211
  bounty_kill: number;
3212
+ bounty_plunder: number;
3091
3213
  bounty_rep_restoration_bps: number;
3092
3214
  bounty_rep_restoration_cap: number;
3093
3215
  citizenship_auto_approve: boolean;
@@ -3118,7 +3240,9 @@ export type EmpirePolicySnapshot = {
3118
3240
  rep_baseline_outsider: number;
3119
3241
  rep_decay_amount: number;
3120
3242
  rep_penalty_attack: number;
3243
+ rep_penalty_hold: number;
3121
3244
  rep_penalty_kill: number;
3245
+ rep_penalty_plunder: number;
3122
3246
  rep_trade_fill_cap: number;
3123
3247
  rep_trade_fill_divisor: number;
3124
3248
  repair_cost_per_hull: number;
@@ -3285,6 +3409,9 @@ export type FacilityDefSummary = {
3285
3409
  faction_service?: string;
3286
3410
  labor_cost: number;
3287
3411
  level: number;
3412
+ /**
3413
+ * Item stock this facility type must hold each facility cycle (100 ticks) to count as fully supplied, plus fuel drawn from the station tank as a fuel line. Omitted when the type has no upkeep. For a market that uses trade_authenticator (such as trade_concourse), the trade_authenticator quantity adds a charge that grows with the docked station's recent market trade volume and burns in full each cycle.
3414
+ */
3288
3415
  maintenance_per_cycle?: Array<ItemQuantity>;
3289
3416
  name: string;
3290
3417
  recipe_id?: string;
@@ -3415,7 +3542,7 @@ export type FacilityEntry = {
3415
3542
  */
3416
3543
  damaged?: boolean;
3417
3544
  /**
3418
- * Flavor text. For a facility with upkeep it adds a satisfied or degraded line that matches maintenance_satisfied. An owner-written description replaces the text, and a disguised facility seen from outside shows its cover description. Can be an empty string.
3545
+ * Flavor text. For a facility with upkeep it adds a satisfied or degraded line that matches maintenance_satisfied. A per-facility description replaces the text, and a disguised facility seen from outside shows its cover description. Can be an empty string.
3419
3546
  */
3420
3547
  description: string;
3421
3548
  /**
@@ -3479,7 +3606,7 @@ export type FacilityEntry = {
3479
3606
  */
3480
3607
  maintenance_level?: number;
3481
3608
  /**
3482
- * Item stock this station-run facility must hold each facility cycle (100 ticks) to count as fully supplied. Present only for fleet depots and dining/leisure venues (tourism_upkeep); omitted otherwise. A tourism venue's figure scales with recent paying footfall and never drops below 15 percent of its declared menu (at least one of each item); it burns its paying guests' share of its declared menu — about the whole listed stock in a busy cycle and nothing in a cycle no guest paid for.
3609
+ * Item stock this facility must hold each facility cycle (100 ticks) to count as fully supplied. Present only for fleet depots, dining/leisure venues (tourism_upkeep) and markets that use trade_authenticator (such as trade_concourse); omitted otherwise. A market's trade_authenticator quantity is its declared stock plus a charge that grows with this station's recent market trade volume; the market burns that charge in full each cycle, and on a player station it goes offline when faction storage cannot cover the whole quantity. A tourism venue's figure scales with recent paying footfall and never drops below 15 percent of its declared menu (at least one of each item); it burns its paying guests' share of its declared menu — about the whole listed stock in a busy cycle and nothing in a cycle no guest paid for.
3483
3610
  */
3484
3611
  maintenance_per_cycle?: Array<ItemQuantity>;
3485
3612
  /**
@@ -3916,6 +4043,9 @@ export type FacilityTypeDetailResponse = {
3916
4043
  labor_cost: number;
3917
4044
  level: number;
3918
4045
  lore?: string;
4046
+ /**
4047
+ * Item stock this facility type must hold each facility cycle (100 ticks) to count as fully supplied, plus fuel drawn from the station tank as a fuel line. Omitted when the type has no upkeep. For a market that uses trade_authenticator (such as trade_concourse), the trade_authenticator quantity adds a charge that grows with the docked station's recent market trade volume and burns in full each cycle.
4048
+ */
3919
4049
  maintenance_per_cycle?: Array<ItemQuantity>;
3920
4050
  name: string;
3921
4051
  personal_service?: string;
@@ -4208,9 +4338,11 @@ export type FactionEditRoleUpdates = {
4208
4338
  permissions?: FactionCreateRolePermissions;
4209
4339
  };
4210
4340
  export type FactionEditUpdates = {
4341
+ ally_battle_opt_out?: boolean;
4211
4342
  ally_facility_access?: boolean;
4212
4343
  ally_fuel_access?: boolean;
4213
4344
  ally_intel_opt_out?: boolean;
4345
+ ally_shipyard_access?: boolean;
4214
4346
  charter?: string;
4215
4347
  description?: string;
4216
4348
  primary_color?: string;
@@ -4228,7 +4360,13 @@ export type FactionFacilityPresence = {
4228
4360
  export type FactionFuelBunker = {
4229
4361
  base_id: string;
4230
4362
  base_name?: string;
4363
+ /**
4364
+ * Fuel capacity. At the faction's own station this is the shared station tank capacity.
4365
+ */
4231
4366
  fuel_capacity: number;
4367
+ /**
4368
+ * Fuel held. At the faction's own station this is the shared station tank.
4369
+ */
4232
4370
  fuel_reserve: number;
4233
4371
  };
4234
4372
  export type FactionGarageStationEntry = {
@@ -4283,9 +4421,11 @@ export type FactionGiftResponse = {
4283
4421
  export type FactionInfoResponse = {
4284
4422
  alliance_proposals?: Array<FactionAllianceProposal>;
4285
4423
  allies?: Array<FactionListItem>;
4424
+ ally_battle_opt_out?: boolean;
4286
4425
  ally_facility_access?: boolean;
4287
4426
  ally_fuel_access?: boolean;
4288
4427
  ally_intel_opt_out?: boolean;
4428
+ ally_shipyard_access?: boolean;
4289
4429
  at_war: boolean;
4290
4430
  charter: string;
4291
4431
  created_at: string;
@@ -4306,8 +4446,17 @@ export type FactionInfoResponse = {
4306
4446
  leader_username: string;
4307
4447
  member_count: number;
4308
4448
  members?: Array<FactionMember>;
4449
+ /**
4450
+ * 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.
4451
+ */
4309
4452
  members_limit?: number;
4453
+ /**
4454
+ * Member-list pagination: index of the first member on this page (the offset you passed). Omitted on the first page.
4455
+ */
4310
4456
  members_offset?: number;
4457
+ /**
4458
+ * Member-list pagination: true when more members exist after this page. Request the next page with offset = members_offset + members_limit.
4459
+ */
4311
4460
  members_truncated?: boolean;
4312
4461
  /**
4313
4462
  * Current mobile-base location and movement state. Present only for faction members with a completed mobile base; omitted during construction or after decommissioning.
@@ -4715,7 +4864,7 @@ export type FactionScanPoiResponse = {
4715
4864
  poi_name?: string;
4716
4865
  scan_power: number;
4717
4866
  /**
4718
- * True when a cloaked ship is within one sensor level (10 power) below detection: sensed but not resolved. Omitted when false.
4867
+ * True when a cloaked ship or cloaked creature is within one sensor level (10 power) below detection: sensed but not resolved. Omitted when false.
4719
4868
  */
4720
4869
  signature_detected?: boolean;
4721
4870
  system_id?: string;
@@ -4901,7 +5050,7 @@ export type FindRouteResponse = {
4901
5050
  */
4902
5051
  fleet_fuel?: Array<FleetMemberFuel>;
4903
5052
  /**
4904
- * True when a route exists, including when you are already in the target system. False means no path was found; route is then null and the fuel fields are 0.
5053
+ * True when a route exists, including when you are already in the target system. False means no path was found; route is then empty and the fuel fields are 0.
4905
5054
  */
4906
5055
  found: boolean;
4907
5056
  /**
@@ -4917,7 +5066,7 @@ export type FindRouteResponse = {
4917
5066
  */
4918
5067
  message: string;
4919
5068
  /**
4920
- * Systems in order from your current system to target_system, both included; see RouteStep. It holds a single step when you are already there. Normal connections and wormholes you know count as one jump each. Null when found is false.
5069
+ * Systems in order from your current system to target_system, both included; see RouteStep. It holds a single step when you are already there. Normal connections and wormholes you know count as one jump each. Empty when found is false.
4921
5070
  */
4922
5071
  route: Array<RouteStep>;
4923
5072
  /**
@@ -5246,6 +5395,52 @@ export type GaragedShipEntry = {
5246
5395
  depositor_name?: string;
5247
5396
  ship_id: string;
5248
5397
  };
5398
+ export type GeneratorResponse = {
5399
+ /**
5400
+ * True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
5401
+ */
5402
+ auto_docked?: boolean;
5403
+ /**
5404
+ * True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
5405
+ */
5406
+ auto_undocked?: boolean;
5407
+ /**
5408
+ * Station the generator feeds. After disconnect: the station it fed.
5409
+ */
5410
+ base_id: string;
5411
+ /**
5412
+ * True when the link is active after this command. False after disconnect.
5413
+ */
5414
+ connected: boolean;
5415
+ /**
5416
+ * Tick when the link times out. Present only while connected. Connect again to restart the timer.
5417
+ */
5418
+ end_tick?: number;
5419
+ /**
5420
+ * Fuel burned over the whole link so far. After disconnect: the total for the link.
5421
+ */
5422
+ fuel_burned: number;
5423
+ /**
5424
+ * Ship fuel burned per tick while connected: 1 per operational field generator. 0 after disconnect.
5425
+ */
5426
+ fuel_per_tick: number;
5427
+ /**
5428
+ * Fuel the generator never burns (10% of max fuel). The link ends when the next tick would take the tank below it.
5429
+ */
5430
+ fuel_reserve: number;
5431
+ /**
5432
+ * Human-readable summary.
5433
+ */
5434
+ message: string;
5435
+ /**
5436
+ * Power the generator supplies per tick after the hull bonus and Engineering and crew staffing scale it. The station counts generator power only up to the larger of its installed plant capacity and 20.
5437
+ */
5438
+ output: number;
5439
+ /**
5440
+ * Sum of the per-tick output over the ticks the link ran.
5441
+ */
5442
+ power_delivered: number;
5443
+ };
5249
5444
  /**
5250
5445
  * Command-specific result object. See individual command documentation for field details.
5251
5446
  */
@@ -5275,12 +5470,24 @@ export type GetBaseResponse = {
5275
5470
  base: TrimmedBase;
5276
5471
  condition: StationHealth;
5277
5472
  construction?: StationConstructionResponse;
5473
+ /**
5474
+ * This station's current dining appeal: the sum of its dining venues' points, each scaled by how well its upkeep is supplied. Vacationing citizens who weigh dining pick stations with more of it. Omitted (0) when the station has no working dining venue.
5475
+ */
5476
+ dining_points?: number;
5278
5477
  faction_fuel_capacity?: number;
5279
5478
  faction_fuel_reserve?: number;
5280
5479
  fuel_price?: number;
5281
5480
  fuel_price_all_in?: number;
5282
5481
  fuel_tax_per_unit?: number;
5482
+ /**
5483
+ * This station's current leisure appeal: the sum of its leisure venues' points, each scaled by how well its upkeep is supplied. Vacationing citizens who weigh leisure pick stations with more of it. Omitted (0) when the station has no working leisure venue.
5484
+ */
5485
+ leisure_points?: number;
5283
5486
  life_support?: StationLifeSupportStatus;
5487
+ /**
5488
+ * Public material request or build status for the next pirate replacement hull at the docked stronghold. Omitted outside pirate strongholds or when no replacement is needed and no replacement build exists.
5489
+ */
5490
+ pirate_recovery?: PirateRecoveryNeeds;
5284
5491
  power?: StationPowerStatus;
5285
5492
  repairs?: StationRepairResponse;
5286
5493
  services: Array<string>;
@@ -5288,6 +5495,10 @@ export type GetBaseResponse = {
5288
5495
  * Explains an input shortage or internal production-stage blockage or public input-price gap that limits replenishment at this station's empire-backed trade-authenticator mint. Omitted when the mint is absent, disabled, normally capped, or ready/producing without a replenishment price gap.
5289
5496
  */
5290
5497
  sovereign_mint?: SovereignMintStatus;
5498
+ /**
5499
+ * Lifetime credits visitors, connecting passengers and residents have spent at this station's dining and leisure venues. Omitted (0) when nothing has been spent here.
5500
+ */
5501
+ tourism_revenue?: number;
5291
5502
  };
5292
5503
  export type GetBattleLogResponse = {
5293
5504
  battle_id: string;
@@ -5537,14 +5748,74 @@ export type GetSystemTransitResponse = {
5537
5748
  transit_type: string;
5538
5749
  };
5539
5750
  export type GetTradeEntry = {
5751
+ /**
5752
+ * Faction that receives the station and pays request_credits to the seller faction. Present only for faction station sales.
5753
+ */
5754
+ buyer_faction_id?: string;
5755
+ /**
5756
+ * UTC time when the pending offer expires. Tolls expire by expires_tick instead.
5757
+ */
5540
5758
  expires_at: string;
5759
+ /**
5760
+ * Tick at which the toll offer expires unpaid. Present only for tolls.
5761
+ */
5762
+ expires_tick?: number;
5763
+ /**
5764
+ * True while the offerer holds the target with a warp scrambler for this toll. Omitted when no hold stands.
5765
+ */
5766
+ hold?: boolean;
5767
+ /**
5768
+ * Seller faction labor fee in credits paid to local station citizens on acceptance; outposts use the nearest reachable station pool. Currently 1000000. Omitted for ordinary trades.
5769
+ */
5770
+ labor_cost?: number;
5771
+ /**
5772
+ * Optional note the offerer attached to the trade_offer (sanitized, up to 500 characters). Empty string when the offerer sent no note.
5773
+ */
5774
+ note: string;
5775
+ /**
5776
+ * Personal credits offered. Zero or omitted for station sales.
5777
+ */
5541
5778
  offer_credits?: number;
5779
+ /**
5780
+ * Items offered by the seller. Empty for station sales.
5781
+ */
5542
5782
  offer_items: Array<PendingTradeItemView>;
5783
+ /**
5784
+ * True when the offer is a toll: request_credits buys the target a grant of safe passage from the offerer's faction (or the offerer alone if factionless) for 2160 ticks. Accepting pays what the target has, up to request_credits. Omitted for ordinary trades.
5785
+ */
5786
+ offer_safe_passage?: boolean;
5787
+ /**
5788
+ * Seller player name. Present for incoming offers only.
5789
+ */
5543
5790
  offerer_name?: string;
5791
+ /**
5792
+ * Requested payment in credits. For station sales the buyer faction treasury pays the seller faction treasury. Zero or omission means no price.
5793
+ */
5544
5794
  request_credits?: number;
5795
+ /**
5796
+ * Items requested from the buyer. Empty for station sales.
5797
+ */
5545
5798
  request_items: Array<PendingTradeItemView>;
5799
+ /**
5800
+ * Faction that sells the station and pays the labor cost and transfer tax. Present only for faction station sales.
5801
+ */
5802
+ seller_faction_id?: string;
5803
+ /**
5804
+ * Exact Base ID of the assembled station or outpost. Includes seller-faction facilities and storage contents at acceptance. Present only for faction station sales.
5805
+ */
5806
+ station_id?: string;
5807
+ /**
5808
+ * Buyer player name. Present for outgoing offers only.
5809
+ */
5546
5810
  target_name?: string;
5811
+ /**
5812
+ * Trade offer ID used by accept and cancel commands.
5813
+ */
5547
5814
  trade_id: string;
5815
+ /**
5816
+ * Seller faction transfer tax in credits paid to its primary taxable empire on acceptance. Currently 3000000. Omitted for ordinary trades.
5817
+ */
5818
+ transfer_tax?: number;
5548
5819
  };
5549
5820
  export type GetTradesResponse = {
5550
5821
  incoming: Array<GetTradeEntry>;
@@ -5566,7 +5837,52 @@ export type GetWrecksResponse = {
5566
5837
  count: number;
5567
5838
  wrecks: Array<EnrichedWreck>;
5568
5839
  };
5840
+ export type GiftGoodwill = {
5841
+ /**
5842
+ * Credits of value applied to the donor's outstanding bounty with this empire before any goodwill. Credits pay at face value; goods and ships pay at need_value. Omitted when no bounty was owed.
5843
+ */
5844
+ bounty_paid?: number;
5845
+ /**
5846
+ * Bounty still owed to this empire after this gift. Omitted when none is left. While any bounty remains a gift earns no reputation.
5847
+ */
5848
+ bounty_remaining?: number;
5849
+ /**
5850
+ * Empire ID (e.g. solarian) or pirate crew ID (e.g. pirate_voss) whose standing the gift affected.
5851
+ */
5852
+ counterparty: string;
5853
+ /**
5854
+ * What the gift was worth to the recipient in credits after weighing how much they need it: more than face value for cash they are short of, goods that fill a real shortage, a hull their fleets need or a ship a pirate boss takes to fly in person; less for cash they do not need, goods beyond their needs, cheap hulls and ships a pirate crew breaks for parts (a rival boss's flagship excepted). Reported even when a pirate crew keeps a stranger's gift and it buys nothing.
5855
+ */
5856
+ need_value: number;
5857
+ /**
5858
+ * The recipient's in-character reply. The same text arrives as a private chat message from reply_from.
5859
+ */
5860
+ reply: string;
5861
+ /**
5862
+ * Who replied and signed the private message. Rank follows the outcome: a minion for hostile, cooling, bounty, stranger, unwanted and token gifts; an officer for appreciated and generous ones; the empire leader or pirate boss in person for lavish gifts, for donors they already treat as devoted friends, for expensive ships and whenever a pirate boss gets involved. A pirate crew answers a cheap ship with a minion and a mid-priced one with an officer.
5863
+ */
5864
+ reply_from: string;
5865
+ /**
5866
+ * Donor's reputation with the counterparty after the gift (-100 to 100). Includes any restoration from clearing a bounty.
5867
+ */
5868
+ reputation_after: number;
5869
+ /**
5870
+ * Donor's reputation with the counterparty before the gift (-100 to 100).
5871
+ */
5872
+ reputation_before: number;
5873
+ /**
5874
+ * reputation_after minus reputation_before. Each point above your baseline costs more than the last. Value short of the next point is banked toward your next gift and lost if you act against the recipient. Gifts count for little while an attack, kill or capture against the recipient is fresh, and hardly at all while they shoot you on sight.
5875
+ */
5876
+ reputation_change: number;
5877
+ /**
5878
+ * Outcome class that picked the reply: stranger (a pirate crew kept the gift but owes nothing to a pilot never introduced to the pirate network), bounty_partial, bounty_cleared, hostile, cooling, unwanted_items, unwanted_ship, or token/appreciated/generous/lavish/devoted followed by _credits, _items or _ship. A ship given to a pirate crew instead reports what the crew did with it: ship_scrap (no pirate design for that hull), ship_refit (rebuilt to a pirate design) or ship_pirate (a pirate-built hull) followed by _cheap, _mid or _expensive by its fitted value; or, when the boss gets involved, boss_upgrade (the boss switches to your ship because it out-fights the boss's current one), boss_hunt (the boss's flagship is in a player's hands and the boss takes your stronger ship to hunt them), boss_flagship_returned, boss_rival_flown (the boss flies another boss's flagship until the stolen one comes back) or boss_rival_scrapped, each with _cold appended when the crew does not like you. stranger, hostile and cooling still apply to ordinary pirate ship gifts.
5879
+ */
5880
+ situation: 'stranger' | 'bounty_partial' | 'bounty_cleared' | 'hostile' | 'cooling' | 'unwanted_items' | 'unwanted_ship' | 'token_credits' | 'token_items' | 'token_ship' | 'appreciated_credits' | 'appreciated_items' | 'appreciated_ship' | 'generous_credits' | 'generous_items' | 'generous_ship' | 'lavish_credits' | 'lavish_items' | 'lavish_ship' | 'devoted_credits' | 'devoted_items' | 'devoted_ship' | 'ship_scrap_cheap' | 'ship_scrap_mid' | 'ship_scrap_expensive' | 'ship_refit_cheap' | 'ship_refit_mid' | 'ship_refit_expensive' | 'ship_pirate_cheap' | 'ship_pirate_mid' | 'ship_pirate_expensive' | 'boss_upgrade' | 'boss_upgrade_cold' | 'boss_hunt' | 'boss_hunt_cold' | 'boss_flagship_returned' | 'boss_flagship_returned_cold' | 'boss_rival_flown' | 'boss_rival_flown_cold' | 'boss_rival_scrapped' | 'boss_rival_scrapped_cold';
5881
+ };
5569
5882
  export type GiftShipResponse = {
5883
+ /**
5884
+ * Completed ship gift to another player or to a pirate stronghold.
5885
+ */
5570
5886
  action: 'gift_ship';
5571
5887
  /**
5572
5888
  * True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
@@ -5576,11 +5892,37 @@ export type GiftShipResponse = {
5576
5892
  * True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
5577
5893
  */
5578
5894
  auto_undocked?: boolean;
5895
+ /**
5896
+ * Base ID where the ship was parked when it changed hands.
5897
+ */
5579
5898
  base_id: string;
5899
+ /**
5900
+ * Ship class the ship had when you gave it. A pirate crew may refit it to its own design afterwards.
5901
+ */
5580
5902
  class_id: string;
5903
+ /**
5904
+ * Display name of class_id; omitted when the class is unknown.
5905
+ */
5581
5906
  class_name?: string;
5907
+ /**
5908
+ * What a pirate crew did with the ship: scrapped (broken down for parts), refitted (rebuilt to the crew's own design and added to its fleet), joined_fleet (a pirate-built hull added to its fleet as it is) or boss_ship (the boss flies it in person now or as soon as the boss is free). Omitted for gifts to players.
5909
+ */
5910
+ disposition?: 'scrapped' | 'refitted' | 'joined_fleet' | 'boss_ship';
5911
+ /**
5912
+ * How the pirate crew received the ship: value to them, reputation change and their reply. Omitted for gifts to players.
5913
+ */
5914
+ goodwill?: GiftGoodwill;
5915
+ /**
5916
+ * Gift note; omitted when empty.
5917
+ */
5582
5918
  message?: string;
5919
+ /**
5920
+ * Recipient player name, or station:<base ID> for a ship given to a pirate stronghold.
5921
+ */
5583
5922
  recipient: string;
5923
+ /**
5924
+ * ID of the ship given away.
5925
+ */
5584
5926
  ship_id: string;
5585
5927
  };
5586
5928
  export type GuideEntry = {
@@ -5843,6 +6185,9 @@ export type JettisonBulkResponse = {
5843
6185
  action: 'bulk_jettison';
5844
6186
  auto_docked?: boolean;
5845
6187
  auto_undocked?: boolean;
6188
+ /**
6189
+ * Container holding recoverable cargo at the current POI. Omitted mid-flight or when the entire action dissipates; an existing unrelated container is not returned.
6190
+ */
5846
6191
  container_id?: string;
5847
6192
  failed: number;
5848
6193
  message: string;
@@ -5855,7 +6200,21 @@ export type JettisonCommandResponse = ({
5855
6200
  } & JettisonResponse) | ({
5856
6201
  action: 'bulk_jettison';
5857
6202
  } & JettisonBulkResponse);
6203
+ export type JettisonConversion = {
6204
+ /**
6205
+ * Existing item ID placed into the jettison container; identifies the potential output even when output_quantity is zero.
6206
+ */
6207
+ output_item_id: string;
6208
+ /**
6209
+ * Recoverable output units: floor(removed input quantity / input batch size) * output batch yield. Water/nitrogen/ammonia/methane use 4 to 3; oxygen uses 4 to 2; coolant uses 3 to 1 water ice. Always present including zero when less than one batch is removed. All input is consumed; losses and incomplete batches dissipate. An action with no recoverable cargo creates no container.
6210
+ */
6211
+ output_quantity: number;
6212
+ };
5858
6213
  export type JettisonItemResult = {
6214
+ /**
6215
+ * Present only for a successful converted input at a POI. Each bulk entry converts independently using its removed quantity. Omitted for unchanged cargo and failures and mid-flight losses.
6216
+ */
6217
+ conversion?: JettisonConversion;
5859
6218
  error?: string;
5860
6219
  item_id: string;
5861
6220
  item_name?: string;
@@ -5864,13 +6223,35 @@ export type JettisonItemResult = {
5864
6223
  success: boolean;
5865
6224
  };
5866
6225
  export type JettisonResponse = {
6226
+ /**
6227
+ * Single-item jettison outcome.
6228
+ */
5867
6229
  action: 'jettison';
5868
6230
  auto_docked?: boolean;
5869
6231
  auto_undocked?: boolean;
6232
+ /**
6233
+ * Container holding recoverable cargo at the current POI. Omitted mid-flight or when the entire action dissipates; an existing unrelated container is not returned.
6234
+ */
5870
6235
  container_id?: string;
6236
+ /**
6237
+ * Present only for a converted input jettisoned at a POI. Quantity is all input removed; no input remainder survives. Omitted for unchanged cargo and mid-flight losses.
6238
+ */
6239
+ conversion?: JettisonConversion;
6240
+ /**
6241
+ * Input item removed from the ship.
6242
+ */
5871
6243
  item_id: string;
6244
+ /**
6245
+ * Display name of the removed input item.
6246
+ */
5872
6247
  item_name: string;
6248
+ /**
6249
+ * Human-readable jettison outcome including conversion or mid-flight loss when applicable.
6250
+ */
5873
6251
  message: string;
6252
+ /**
6253
+ * Input units removed from cargo after clamping to the amount held; includes material lost during conversion.
6254
+ */
5874
6255
  quantity: number;
5875
6256
  };
5876
6257
  export type JobCancelResponse = {
@@ -5920,25 +6301,85 @@ export type JobRetargetResponse = {
5920
6301
  runs_remaining: number;
5921
6302
  };
5922
6303
  export type JobView = {
6304
+ /**
6305
+ * ID of the station where the job runs. Omitted when the base cannot be resolved.
6306
+ */
5923
6307
  base_id?: string;
6308
+ /**
6309
+ * Display name of the station where the job runs. Omitted when the base cannot be resolved.
6310
+ */
5924
6311
  base_name?: string;
6312
+ /**
6313
+ * Where the remaining output lands: storage or faction or faction:<bucket id> or cargo. Same values as craft deliver_to. Shown only to the player who placed the job.
6314
+ */
5925
6315
  deliver_to?: string;
6316
+ /**
6317
+ * Estimated ticks until this job finishes. Counts the work queued ahead of it at the venue. 0 when the recipe is missing or the venue has no speed.
6318
+ */
5926
6319
  eta_ticks: number;
6320
+ /**
6321
+ * True when the job rents a facility its orderer does not own. Omitted when false.
6322
+ */
5927
6323
  external?: boolean;
6324
+ /**
6325
+ * Opaque ID of the facility instance or the synthetic Station Workshop ID.
6326
+ */
5928
6327
  facility_id: string;
6328
+ /**
6329
+ * Job ID. Pass it to job_cancel or to craft job_id=<id> deliver_to=<...>.
6330
+ */
5929
6331
  job_id: string;
6332
+ /**
6333
+ * Label of the package this job packs or unpacks. Set only on package jobs that have a label.
6334
+ */
5930
6335
  label?: string;
5931
- mode: string;
6336
+ /**
6337
+ * craft builds the recipe output. recycle breaks the recipe output back into a part of its inputs.
6338
+ */
6339
+ mode: 'craft' | 'recycle';
6340
+ /**
6341
+ * Who placed the job: self when you placed it or it is not external. Otherwise the renter's username, or external when that player no longer exists.
6342
+ */
5932
6343
  orderer: string;
6344
+ /**
6345
+ * ID of the package this job packs or unpacks. Set only on package jobs.
6346
+ */
5933
6347
  package_id?: string;
6348
+ /**
6349
+ * Queue order within the venue. A lower position runs first.
6350
+ */
5934
6351
  position: number;
6352
+ /**
6353
+ * Output items per run. Set only in craft mode. Omitted for recycle jobs because their yield varies.
6354
+ */
5935
6355
  produces?: Array<ItemQuantity>;
6356
+ /**
6357
+ * Fraction of the current run that is done. 0 or more and less than 1.
6358
+ */
5936
6359
  progress: number;
6360
+ /**
6361
+ * Display name of the job's recipe, not the recipe ID you passed to craft. Falls back to the raw recipe ID only when the recipe is no longer in the catalog.
6362
+ */
5937
6363
  recipe: string;
6364
+ /**
6365
+ * Runs finished so far: runs_total minus runs_remaining.
6366
+ */
5938
6367
  runs_done: number;
6368
+ /**
6369
+ * Runs still to produce.
6370
+ */
5939
6371
  runs_remaining: number;
6372
+ /**
6373
+ * Runs originally ordered.
6374
+ */
5940
6375
  runs_total: number;
5941
- status: string;
6376
+ /**
6377
+ * queued waits for the venue. active is running now. Finished and cancelled jobs are not listed.
6378
+ */
6379
+ status: 'queued' | 'active';
6380
+ /**
6381
+ * Display name of the venue: Station Workshop or the facility type name. Falls back to the facility ID when the facility is unknown.
6382
+ */
5942
6383
  venue?: string;
5943
6384
  };
5944
6385
  export type JoinFactionResponse = {
@@ -5957,6 +6398,9 @@ export type JumpCommandResponse = ({
5957
6398
  action: 'pathfinder_jump' | 'pathfinder_redirect';
5958
6399
  } & PathfinderJumpResponse);
5959
6400
  export type JumpResponse = {
6401
+ /**
6402
+ * jumped for a jump command result. pathfinder_arrival only on the unsolicited ok push sent when a Pathfinder drift reaches a system.
6403
+ */
5960
6404
  action: 'jumped' | 'pathfinder_arrival';
5961
6405
  /**
5962
6406
  * True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
@@ -5966,12 +6410,33 @@ export type JumpResponse = {
5966
6410
  * True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
5967
6411
  */
5968
6412
  auto_undocked?: boolean;
6413
+ /**
6414
+ * Exploration skill XP for your first visit to this system: 5. Omitted on a revisit.
6415
+ */
5969
6416
  exploration_xp?: number;
6417
+ /**
6418
+ * Display name of the system you left.
6419
+ */
5970
6420
  from_system: string;
6421
+ /**
6422
+ * Navigation skill XP for the jump: 3 for every system-to-system jump.
6423
+ */
5971
6424
  navigation_xp: number;
6425
+ /**
6426
+ * Piloting skill XP the jump awarded: three times the per-trip rate of your ship's tier. Omitted when none was awarded.
6427
+ */
5972
6428
  piloting_xp?: number;
6429
+ /**
6430
+ * 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.
6431
+ */
5973
6432
  poi?: string;
6433
+ /**
6434
+ * Display name of the system you arrived in.
6435
+ */
5974
6436
  system: string;
6437
+ /**
6438
+ * ID of the system you arrived in.
6439
+ */
5975
6440
  system_id: string;
5976
6441
  };
5977
6442
  export type KillLogEntry = {
@@ -6177,7 +6642,7 @@ export type McpNotification = {
6177
6642
  data: NotificationPayload;
6178
6643
  id: string;
6179
6644
  /**
6180
- * Specific frame subtype. Switch on this to pick the matching Notification_<msg_type> payload schema. Routing to the coarse type field: chat_message -> chat. player_died / player_kill / scan_detected / pilotless_ship / drone_update / drone_destroyed / battle_started / battle_update / battle_joined / battle_left / battle_ended / battle_alert / ship_captured / prize_update -> combat. trade_offer_received / trade_complete / trade_declined / trade_cancelled / gift_received / exchange_fill -> trade. market_update -> market. crafting_update -> crafting. observation_update -> observation. personnel_update -> system. Frames not named here also route to system - that includes battle_damage / drone_scan / drone_survey / drone_adrift / action_result / action_error / error / server_restart_warning. A types=combat filter does not carry them.
6645
+ * Specific frame subtype. Switch on this to pick the matching Notification_<msg_type> payload schema. Routing to the coarse type field: chat_message -> chat. player_died / player_kill / scan_detected / hold_update / pilotless_ship / drone_update / drone_destroyed / battle_started / battle_update / battle_joined / battle_left / battle_ended / battle_alert / ship_captured / prize_update -> combat. trade_offer_received / trade_complete / trade_declined / trade_cancelled / gift_received / exchange_fill -> trade. market_update -> market. crafting_update -> crafting. observation_update -> observation. personnel_update -> system. Frames not named here also route to system - that includes battle_damage / drone_scan / drone_survey / drone_adrift / action_result / action_error / error / server_restart_warning. A types=combat filter does not carry them.
6181
6646
  */
6182
6647
  msg_type: string;
6183
6648
  timestamp: string;
@@ -6779,6 +7244,10 @@ export type Module = {
6779
7244
  drone_capacity?: number;
6780
7245
  fleet_triage_pct?: number;
6781
7246
  fuel_efficiency?: number;
7247
+ /**
7248
+ * Station power this module adds to the station it is docked at while connected with the generator command. Each connected generator burns 1 ship fuel per tick. Hull bonuses, Engineering and crew staffing scale the delivered output.
7249
+ */
7250
+ generator_output?: number;
6782
7251
  hidden?: boolean;
6783
7252
  hull_bonus?: number;
6784
7253
  hull_penalty?: number;
@@ -6931,7 +7400,7 @@ export type NotificationChannelInfo = {
6931
7400
  /**
6932
7401
  * 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.
6933
7402
  */
6934
- 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 | 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;
7403
+ 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;
6935
7404
  export type NotificationSettingsResponse = {
6936
7405
  action: string;
6937
7406
  channels: Array<NotificationChannelInfo>;
@@ -6998,7 +7467,7 @@ export type NotificationActionResult = {
6998
7467
  */
6999
7468
  auto_undocked?: boolean;
7000
7469
  /**
7001
- * 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, or mission_objective_completed. 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.
7470
+ * 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.
7002
7471
  */
7003
7472
  command: string;
7004
7473
  /**
@@ -7257,8 +7726,17 @@ export type NotificationCompleteMission = {
7257
7726
  */
7258
7727
  rewards: MissionAutoCompleteRewards;
7259
7728
  };
7729
+ /**
7730
+ * Pushed once per tick in which any of your facility or Station Workshop jobs deposited output. It is the completion signal for asynchronous crafting, so you do not need to poll the job queue. All of your jobs that deposited in the tick are in one message.
7731
+ */
7260
7732
  export type NotificationCraftingUpdate = {
7733
+ /**
7734
+ * One entry per job that deposited output this tick. Sorted by job_id.
7735
+ */
7261
7736
  jobs: Array<CraftingJobUpdate>;
7737
+ /**
7738
+ * Game tick in which the jobs deposited their output.
7739
+ */
7262
7740
  tick: number;
7263
7741
  };
7264
7742
  export type NotificationDroneAdrift = {
@@ -7335,8 +7813,23 @@ export type NotificationDroneUpdate = {
7335
7813
  tick: number;
7336
7814
  };
7337
7815
  export type NotificationError = {
7816
+ /**
7817
+ * Machine-readable error code. Switch on this rather than on message.
7818
+ */
7338
7819
  code: string;
7820
+ /**
7821
+ * Optional extra context. Shape depends on code. Omitted when the error carries none.
7822
+ */
7823
+ details?: {
7824
+ [key: string]: unknown;
7825
+ };
7826
+ /**
7827
+ * Human-readable explanation of the error.
7828
+ */
7339
7829
  message: string;
7830
+ /**
7831
+ * Name of the already-queued command. Present only on action_pending errors.
7832
+ */
7340
7833
  pending_command?: string;
7341
7834
  };
7342
7835
  /**
@@ -7538,6 +8031,51 @@ export type NotificationGiftReceived = {
7538
8031
  */
7539
8032
  timestamp: string;
7540
8033
  };
8034
+ /**
8035
+ * 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.
8036
+ */
8037
+ export type NotificationHoldUpdate = {
8038
+ /**
8039
+ * started when the hold begins; ended when it ends.
8040
+ */
8041
+ event: 'started' | 'ended';
8042
+ /**
8043
+ * Player whose warp scrambler holds the target.
8044
+ */
8045
+ holder_id: string;
8046
+ /**
8047
+ * Holder username.
8048
+ */
8049
+ holder_name: string;
8050
+ /**
8051
+ * Human-readable summary.
8052
+ */
8053
+ message: string;
8054
+ /**
8055
+ * Why the hold ended. Present only on ended. paid: the target accepted the toll. offer_closed: the toll was declined, cancelled or expired and the 2-tick grace ran out. holder_acted: the holder queued a command other than scan, trade_offer, attack or reload. holder_left: the holder or target left the POI, docked, jumped or died. battle: the two pilots are now in the same battle, and combat tackle applies. scan_over: a scan hold ran its 5 ticks with no toll offer.
8056
+ */
8057
+ reason?: 'paid' | 'offer_closed' | 'holder_acted' | 'holder_left' | 'battle' | 'scan_over';
8058
+ /**
8059
+ * What holds the target: toll is a trade_offer with hold=true; scan is a cargo scan from a ship with a warp scrambler. A toll offer sent during a scan hold turns it into a toll hold.
8060
+ */
8061
+ source: 'toll' | 'scan';
8062
+ /**
8063
+ * Tick the hold started.
8064
+ */
8065
+ start_tick: number;
8066
+ /**
8067
+ * Held player.
8068
+ */
8069
+ target_id: string;
8070
+ /**
8071
+ * Held player username.
8072
+ */
8073
+ target_name: string;
8074
+ /**
8075
+ * The toll offer that keeps the hold. Present for toll holds.
8076
+ */
8077
+ trade_id?: string;
8078
+ };
7541
8079
  export type NotificationMarketUpdate = {
7542
8080
  base_id: string;
7543
8081
  base_name?: string;
@@ -7598,11 +8136,11 @@ export type NotificationObservationUpdate = {
7598
8136
  unknown_signature: boolean;
7599
8137
  };
7600
8138
  /**
7601
- * 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. 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.
8139
+ * 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.
7602
8140
  */
7603
8141
  export type NotificationOk = {
7604
8142
  /**
7605
- * Event or completed command name. For coordinated docking this is fleet_dock.
8143
+ * Event or completed command name. For coordinated docking this is fleet_dock. For an arrival it is arrived, jumped or pathfinder_arrival.
7606
8144
  */
7607
8145
  action?: string;
7608
8146
  /**
@@ -7625,10 +8163,48 @@ export type NotificationOk = {
7625
8163
  * Destination POI ID for fleet_travel or system ID for fleet_jump; omitted for fleet_dock and fleet_undock.
7626
8164
  */
7627
8165
  destination?: string;
8166
+ /**
8167
+ * Exploration skill XP for your first visit to this system: 5. Omitted on a revisit.
8168
+ */
8169
+ exploration_xp?: number;
8170
+ /**
8171
+ * Display name of the system you left.
8172
+ */
8173
+ from_system?: string;
7628
8174
  /**
7629
8175
  * Human-readable event explanation.
7630
8176
  */
7631
- message?: string;
8177
+ message?: string;
8178
+ /**
8179
+ * Navigation skill XP for the jump: 3 for every system-to-system jump.
8180
+ */
8181
+ navigation_xp?: number;
8182
+ /**
8183
+ * Piloting skill XP the jump awarded: three times the per-trip rate of your ship's tier. Omitted when none was awarded.
8184
+ */
8185
+ piloting_xp?: number;
8186
+ /**
8187
+ * ID of the POI you arrived at.
8188
+ */
8189
+ poi_id?: string;
8190
+ /**
8191
+ * Display name of the system you arrived in.
8192
+ */
8193
+ system?: string;
8194
+ /**
8195
+ * ID of the system you arrived in.
8196
+ */
8197
+ system_id?: string;
8198
+ /**
8199
+ * True when a cloaked ship or cloaked creature at the arrival POI is within one sensor level of your scanner: presence only. Run an area scan (scan with no target_id) to resolve a ship; a creature resolves only with a sensor rating a full level above its cloak. Omitted when false.
8200
+ */
8201
+ unknown_signature?: boolean;
8202
+ /**
8203
+ * Skill XP the trip awarded, keyed by skill ID. Omitted when the trip awarded none.
8204
+ */
8205
+ xp_gained?: {
8206
+ [key: string]: number;
8207
+ };
7632
8208
  };
7633
8209
  export type NotificationPersonnelUpdate = {
7634
8210
  /**
@@ -7742,10 +8318,6 @@ export type NotificationPirateRadio = {
7742
8318
  * Backward-compatible alias of editorial_class. Both fields always carry the same bounded editorial class.
7743
8319
  */
7744
8320
  category: 'ambient' | 'tactical' | 'strategic' | 'outcome';
7745
- /**
7746
- * Bounded editorial delivery policy for the public pirate-radio Discord feed; it does not affect in-game delivery.
7747
- */
7748
- discord_policy: 'never' | 'batched' | 'immediate';
7749
8321
  /**
7750
8322
  * Canonical cross-channel editorial class and alias of category. Both fields always carry the same value.
7751
8323
  */
@@ -8013,12 +8585,48 @@ export type NotificationTradeCancelled = {
8013
8585
  * Pushed to the offerer when the trade recipient accepts.
8014
8586
  */
8015
8587
  export type NotificationTradeComplete = {
8588
+ /**
8589
+ * Buyer faction ID. Present only for station sales.
8590
+ */
8591
+ buyer_faction_id?: string;
8592
+ /**
8593
+ * Station sale price in credits paid by the buyer faction treasury to the seller faction treasury. Present including zero only for station sales.
8594
+ */
8595
+ credits?: number;
8596
+ /**
8597
+ * Seller faction fee in credits paid to the nearest eligible station citizen pool. Currently 1000000. Present only for station sales.
8598
+ */
8599
+ labor_cost?: number;
8016
8600
  message: string;
8601
+ /**
8602
+ * Credits the target paid for your toll: request_credits, or their whole wallet when they had less. Present including zero only for tolls.
8603
+ */
8604
+ paid_credits?: number;
8605
+ /**
8606
+ * Tick at which the grant of safe passage the target bought ends. Present only for tolls.
8607
+ */
8608
+ pass_until_tick?: number;
8609
+ /**
8610
+ * Seller faction ID. Present only for station sales.
8611
+ */
8612
+ seller_faction_id?: string;
8613
+ /**
8614
+ * Station or outpost sold with its facilities and faction storage. Present only for station sales.
8615
+ */
8616
+ station_id?: string;
8017
8617
  trade_id: string;
8618
+ /**
8619
+ * Seller faction tax in credits paid to its primary taxable empire. Currently 3000000. Present only for station sales.
8620
+ */
8621
+ transfer_tax?: number;
8018
8622
  /**
8019
8623
  * Offerer's credit balance after the trade settled.
8020
8624
  */
8021
8625
  your_credits?: number;
8626
+ /**
8627
+ * Seller faction treasury balance in credits after the price and seller fees settle. Present including zero only for station sales.
8628
+ */
8629
+ your_faction_credits?: number;
8022
8630
  };
8023
8631
  /**
8024
8632
  * Pushed to the offerer when the trade recipient declines.
@@ -8031,7 +8639,30 @@ export type NotificationTradeDeclined = {
8031
8639
  * Direct player-to-player trade offer received.
8032
8640
  */
8033
8641
  export type NotificationTradeOfferReceived = {
8642
+ /**
8643
+ * Buyer faction ID. Present only for station sales.
8644
+ */
8645
+ buyer_faction_id?: string;
8646
+ /**
8647
+ * Wall-clock expiry of an ordinary offer. Tolls expire by expires_tick instead.
8648
+ */
8034
8649
  expires_at?: string;
8650
+ /**
8651
+ * Tick at which the toll offer expires unpaid. Present only for tolls.
8652
+ */
8653
+ expires_tick?: number;
8654
+ /**
8655
+ * True when the offerer's warp scrambler holds you while the toll stands: your jump and travel wait, and dock, emergency warps, self-destruct, fleet moves and other fights are refused. Attacking the offerer is lawful defense. False otherwise.
8656
+ */
8657
+ hold?: boolean;
8658
+ /**
8659
+ * Seller faction fee in credits paid to the nearest eligible station citizen pool. Currently 1000000. Present only for station sales.
8660
+ */
8661
+ labor_cost?: number;
8662
+ /**
8663
+ * Optional note the offerer attached to the offer (sanitized, up to 500 characters). Empty string when the offerer sent no note.
8664
+ */
8665
+ note?: string;
8035
8666
  offer_credits?: number;
8036
8667
  /**
8037
8668
  * Items the offerer is giving.
@@ -8039,8 +8670,16 @@ export type NotificationTradeOfferReceived = {
8039
8670
  offer_items?: Array<{
8040
8671
  [key: string]: unknown;
8041
8672
  }>;
8673
+ /**
8674
+ * True when the offer is a toll: request_credits buys you a grant of safe passage from the offerer's faction (or the offerer alone if factionless). Accepting pays what you have, up to request_credits. False for ordinary trades.
8675
+ */
8676
+ offer_safe_passage?: boolean;
8042
8677
  offerer_id: string;
8043
8678
  offerer_name?: string;
8679
+ /**
8680
+ * Length in ticks of the grant of safe passage the toll buys, counted from acceptance. Currently 2160. Present only for tolls.
8681
+ */
8682
+ pass_until_ticks?: number;
8044
8683
  request_credits?: number;
8045
8684
  /**
8046
8685
  * Items the offerer wants in return.
@@ -8048,7 +8687,19 @@ export type NotificationTradeOfferReceived = {
8048
8687
  request_items?: Array<{
8049
8688
  [key: string]: unknown;
8050
8689
  }>;
8690
+ /**
8691
+ * Seller faction ID. Present only for station sales.
8692
+ */
8693
+ seller_faction_id?: string;
8694
+ /**
8695
+ * Station or outpost sold with its facilities and faction storage. Present only for station sales.
8696
+ */
8697
+ station_id?: string;
8051
8698
  trade_id: string;
8699
+ /**
8700
+ * Seller faction tax in credits paid to its primary taxable empire. Currently 3000000. Present only for station sales.
8701
+ */
8702
+ transfer_tax?: number;
8052
8703
  };
8053
8704
  export type ObjectiveInfo = {
8054
8705
  description: string;
@@ -8349,6 +9000,9 @@ export type PassengerView = {
8349
9000
  ticks_remaining: number;
8350
9001
  };
8351
9002
  export type PathfinderJumpResponse = {
9003
+ /**
9004
+ * pathfinder_jump when the drive launched you from a system; pathfinder_redirect when you replotted while already drifting. Either way the command is finished: when the drift reaches a system you get an unsolicited ok notification with action pathfinder_arrival.
9005
+ */
8352
9006
  action: 'pathfinder_jump' | 'pathfinder_redirect';
8353
9007
  /**
8354
9008
  * True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
@@ -8358,9 +9012,21 @@ export type PathfinderJumpResponse = {
8358
9012
  * True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
8359
9013
  */
8360
9014
  auto_undocked?: boolean;
9015
+ /**
9016
+ * The heading you are now drifting on, in degrees normalized to 0 up to (not including) 360. 0 points along galactic +X and the angle increases counter-clockwise: 90 points along +Y.
9017
+ */
8361
9018
  bearing: number;
9019
+ /**
9020
+ * Human-readable confirmation with the next steps: poll get_location to track the drift, or send another numeric bearing to replot.
9021
+ */
8362
9022
  message: string;
9023
+ /**
9024
+ * Galactic X coordinate (GU) the new heading starts from: your drifting position when you replotted. Present only on pathfinder_redirect; a pathfinder_jump starts from the system you launched from.
9025
+ */
8363
9026
  origin_x?: number;
9027
+ /**
9028
+ * Galactic Y coordinate (GU) the new heading starts from. Present exactly when origin_x is present.
9029
+ */
8364
9030
  origin_y?: number;
8365
9031
  };
8366
9032
  export type PayBountyOutstandingRow = {
@@ -8448,6 +9114,62 @@ export type PirateInfo = {
8448
9114
  status: string;
8449
9115
  tier: string;
8450
9116
  };
9117
+ export type PirateRecoveryMaterial = {
9118
+ /**
9119
+ * Best current public station bid in credits per unit. Zero means no bid.
9120
+ */
9121
+ bid_price: number;
9122
+ /**
9123
+ * Remaining public station bid quantity at bid_price. This can differ from the construction shortage.
9124
+ */
9125
+ bid_quantity: number;
9126
+ /**
9127
+ * Material item identifier.
9128
+ */
9129
+ item_id: string;
9130
+ /**
9131
+ * Material display name.
9132
+ */
9133
+ name: string;
9134
+ /**
9135
+ * Physical manager warehouse stock in item units. Zero means none on hand.
9136
+ */
9137
+ quantity_in_storage: number;
9138
+ /**
9139
+ * Supply already committed through station freight in item units. Zero means none inbound.
9140
+ */
9141
+ quantity_incoming: number;
9142
+ /**
9143
+ * max(quantity_required - quantity_in_storage, 0) in item units. Zero means physically stocked.
9144
+ */
9145
+ quantity_missing: number;
9146
+ /**
9147
+ * One hull recipe plus the next station upkeep cycle.
9148
+ */
9149
+ quantity_required: number;
9150
+ /**
9151
+ * max(quantity_missing - quantity_incoming, 0) in item units. Zero means no additional delivery is needed.
9152
+ */
9153
+ quantity_to_supply: number;
9154
+ };
9155
+ export type PirateRecoveryNeeds = {
9156
+ /**
9157
+ * Material bill for one hull plus its protected next upkeep cycle. Omitted after a build is commissioned. Bids are current public orders rather than promised payment.
9158
+ */
9159
+ materials?: Array<PirateRecoveryMaterial>;
9160
+ /**
9161
+ * Replacement hull class requested by this station.
9162
+ */
9163
+ ship_class_id: string;
9164
+ /**
9165
+ * Display name of the requested hull.
9166
+ */
9167
+ ship_name: string;
9168
+ /**
9169
+ * awaiting_materials or awaiting_delivery or materials_ready or queued or building or ready. materials_ready confirms physical inputs only; shipyard scheduling can still delay construction.
9170
+ */
9171
+ status: string;
9172
+ };
8451
9173
  export type PlaceShipBuyOrderResponse = {
8452
9174
  /**
8453
9175
  * True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
@@ -8535,6 +9257,12 @@ export type Player = {
8535
9257
  * Fleet ID if the player is in a fleet
8536
9258
  */
8537
9259
  fleet_id?: string;
9260
+ /**
9261
+ * Gift value (credits of need) banked per empire or pirate crew ID toward the next reputation point, always less than that point costs. A hostile act against the counterparty wipes it. A missing key means zero.
9262
+ */
9263
+ gift_goodwill?: {
9264
+ [key: string]: number;
9265
+ };
8538
9266
  home_base?: string;
8539
9267
  id: string;
8540
9268
  is_cloaked?: boolean;
@@ -8559,6 +9287,12 @@ export type Player = {
8559
9287
  * Last player-initiated command (login, queued mutation, trade). Used to determine online status; not bumped by tick-driven mutations.
8560
9288
  */
8561
9289
  last_command_at?: string;
9290
+ /**
9291
+ * When you last attacked, killed or captured against each empire or pirate crew ID. Gifts to that counterparty count for little while the act is fresh and recover as it ages. A missing key means never.
9292
+ */
9293
+ last_hostile_act?: {
9294
+ [key: string]: string;
9295
+ };
8562
9296
  last_login_at?: string;
8563
9297
  /**
8564
9298
  * Hex color
@@ -8580,6 +9314,36 @@ export type Player = {
8580
9314
  * Ship ID the player is riding aboard as a passenger (empty if piloting their own ship)
8581
9315
  */
8582
9316
  riding_ship_id?: string;
9317
+ /**
9318
+ * Grants of safe passage you hold, longest-running first, at most 16. Until until_tick, members of grantor_faction_id (or grantor_player_id alone when the grantor has no faction) cannot attack, target or board you; attacking a bound pilot yourself ends the grant. Expired grants may remain until the list next changes. Omitted when you hold none.
9319
+ */
9320
+ safe_passages?: Array<{
9321
+ granted_tick?: number;
9322
+ /**
9323
+ * Faction bound by the grant. Omitted when the grantor had no faction.
9324
+ */
9325
+ grantor_faction_id?: string;
9326
+ /**
9327
+ * Player who granted the pass.
9328
+ */
9329
+ grantor_player_id?: string;
9330
+ /**
9331
+ * The toll's trade ID, when the grant came from a toll.
9332
+ */
9333
+ ref_id?: string;
9334
+ /**
9335
+ * toll: bought with a trade_offer toll. robbery: left by a robbery.
9336
+ */
9337
+ source?: 'toll' | 'robbery';
9338
+ /**
9339
+ * System where the grant was made.
9340
+ */
9341
+ system_id?: string;
9342
+ /**
9343
+ * First tick at which the grant no longer binds.
9344
+ */
9345
+ until_tick?: number;
9346
+ }>;
8583
9347
  /**
8584
9348
  * Hex color
8585
9349
  */
@@ -8741,6 +9505,10 @@ export type PlayerProfileStats = {
8741
9505
  * Lifetime ore mined, in units.
8742
9506
  */
8743
9507
  ore_mined: number;
9508
+ /**
9509
+ * Lifetime passengers delivered to their destination.
9510
+ */
9511
+ passengers_delivered: number;
8744
9512
  /**
8745
9513
  * Lifetime pirate ships destroyed.
8746
9514
  */
@@ -8912,6 +9680,7 @@ export type PlayerStats = {
8912
9680
  modules_installed?: number;
8913
9681
  npcs_destroyed?: number;
8914
9682
  ore_mined?: number;
9683
+ passengers_delivered?: number;
8915
9684
  pirate_boss_prizes_delivered?: number;
8916
9685
  pirate_prizes_delivered?: number;
8917
9686
  pirates_destroyed?: number;
@@ -9542,6 +10311,15 @@ export type RouteStep = {
9542
10311
  */
9543
10312
  via_wormhole?: boolean;
9544
10313
  };
10314
+ export type SafePassage = {
10315
+ granted_tick: number;
10316
+ grantor_faction_id?: string;
10317
+ grantor_player_id: string;
10318
+ ref_id?: string;
10319
+ source: string;
10320
+ system_id: string;
10321
+ until_tick: number;
10322
+ };
9545
10323
  export type SalvageMaterial = {
9546
10324
  item: string;
9547
10325
  name: string;
@@ -9574,7 +10352,18 @@ export type ScanResponse = {
9574
10352
  * True when the scanned creature is branded livestock of a player faction's wildlife ranch. Killing it is legal. It draws down the owners' herd, the owners are told who killed it, and it gives no hunt mission credit. Omitted for wild animals and for scans of anything else.
9575
10353
  */
9576
10354
  branded?: boolean;
9577
- cargo_types?: Array<string>;
10355
+ /**
10356
+ * The target's ship cargo in the get_cargo item shape (item_id, name, quantity, size). Present when a cargo scan succeeds and the hold is not empty. A successful cargo scan without cargo means an empty hold. A cargo scan never reveals credits.
10357
+ */
10358
+ cargo?: Array<ShipCargoItem>;
10359
+ /**
10360
+ * The target ship's cargo capacity. Present when a cargo scan succeeds.
10361
+ */
10362
+ cargo_capacity?: number;
10363
+ /**
10364
+ * Cargo space the target uses. Present when a cargo scan succeeds and the hold is not empty.
10365
+ */
10366
+ cargo_used?: number;
9578
10367
  cloaked?: boolean;
9579
10368
  /**
9580
10369
  * Players the scan resolved, each with the tiered reveal its contest margin allows (10 username, 20 ship class, 30 hull and shield, 40 cloaked flag, 50 faction). A cloaked player is listed only from margin 10. Omitted when none.
@@ -9582,12 +10371,24 @@ export type ScanResponse = {
9582
10371
  contacts?: Array<ScanContact>;
9583
10372
  description?: string;
9584
10373
  faction_id?: string;
10374
+ /**
10375
+ * True when your warp scrambler held the target for the cargo scan: 5 ticks from the scan start. Omitted when false.
10376
+ */
10377
+ hold?: boolean;
10378
+ /**
10379
+ * True when you carry a warp scrambler but the target's warp stabilizer cancelled the hold. The scan still ran. Omitted when false.
10380
+ */
10381
+ hold_cancelled?: boolean;
9585
10382
  hull?: number;
9586
10383
  /**
9587
10384
  * Leviathans at the POI. Omitted when none are there.
9588
10385
  */
9589
10386
  leviathans?: Array<LeviathanContact>;
9590
10387
  message?: string;
10388
+ /**
10389
+ * cargo when this result is a cargo scan (scan with mode=cargo). success is true when the scan read the cargo. Omitted for other scans.
10390
+ */
10391
+ mode?: 'cargo';
9591
10392
  /**
9592
10393
  * Empire NPC ships that passed the contest (listed from margin 10, ship class from 20). Omitted when none. Area sweeps never fill it.
9593
10394
  */
@@ -9600,9 +10401,13 @@ export type ScanResponse = {
9600
10401
  * The POI a remote POI scan read. Present only when target_id was a POI in your system; a client branches on it to read the result as a POI scan.
9601
10402
  */
9602
10403
  poi_id?: string;
10404
+ /**
10405
+ * Why a cargo scan failed. evaded: scan power was 0 against the target's stealth and scan evasion. target_left: the target left your POI, docked or boarded a carrier. target_lost: the target cloaked beyond your sensors. scanner_left: you left the POI, docked or boarded a carrier. Omitted when the scan succeeded and for other scans.
10406
+ */
10407
+ reason?: 'evaded' | 'target_left' | 'target_lost' | 'scanner_left';
9603
10408
  revealed_info: Array<string>;
9604
10409
  /**
9605
- * Scan power of a remote POI scan: your sensor rating at your own POI, or your sensor rating minus 10 at another POI in your system. Each ship there is contested at this power minus its stealth rating. Omitted for other scans and when the power is 0.
10410
+ * Scan power of a remote POI scan: your sensor rating at your own POI, or your sensor rating minus 10 at another POI in your system. Each ship there is contested at this power minus its stealth rating. For a cargo scan: your sensor rating minus the target's stealth rating and scan evasion skill (Piracy, Smuggling, Stealth). Omitted for other scans and when the power is 0.
9606
10411
  */
9607
10412
  scan_power?: number;
9608
10413
  shield?: number;
@@ -9612,7 +10417,7 @@ export type ScanResponse = {
9612
10417
  */
9613
10418
  ship_name?: string;
9614
10419
  /**
9615
- * True when a cloaked ship is within one sensor level (10 power) below detection: sensed but not resolved. Omitted when false.
10420
+ * True when a cloaked ship or cloaked creature is within one sensor level (10 power) below detection: sensed but not resolved. Omitted when false.
9616
10421
  */
9617
10422
  signature_detected?: boolean;
9618
10423
  success: boolean;
@@ -9639,6 +10444,10 @@ export type ScrapWreckResponse = {
9639
10444
  * True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
9640
10445
  */
9641
10446
  auto_undocked?: boolean;
10447
+ /**
10448
+ * scrap_wreck mode=field only: recovered items that did not fit in your cargo hold and were destroyed with the wreck. Omitted when everything fit. Materials lists what went into the hold; total_value covers only that.
10449
+ */
10450
+ lost?: Array<SalvageMaterial>;
9642
10451
  materials: Array<SalvageMaterial>;
9643
10452
  message: string;
9644
10453
  ship_class?: string;
@@ -9694,6 +10503,14 @@ export type SellResponse = {
9694
10503
  */
9695
10504
  auto_undocked?: boolean;
9696
10505
  fills: Array<Fill>;
10506
+ /**
10507
+ * Units of this sale drawn from your ship cargo. Sell draws from cargo first, then from your station storage at the docked station. Omitted when zero (including sells with no fills).
10508
+ */
10509
+ from_cargo?: number;
10510
+ /**
10511
+ * Units of this sale drawn from your station storage at the docked station after cargo ran out. Omitted when zero (including sells with no fills).
10512
+ */
10513
+ from_storage?: number;
9697
10514
  item: string;
9698
10515
  item_id: string;
9699
10516
  level_up: boolean;
@@ -9748,7 +10565,7 @@ export type SellWreckResponse = {
9748
10565
  };
9749
10566
  export type SendGiftResponse = {
9750
10567
  /**
9751
- * Completed gift operation including station material donations or fixer debt repayment.
10568
+ * Completed gift of items or credits: to a player, a station:<base ID> donation (NPC empire station or pirate stronghold), a pirate:<crew> credit wire, or fixer:tab debt repayment. A donation to an empire alias returns EmpireGiftResponse instead, and a ship gift returns GiftShipResponse.
9752
10569
  */
9753
10570
  action: 'send_gift';
9754
10571
  /**
@@ -9760,7 +10577,7 @@ export type SendGiftResponse = {
9760
10577
  */
9761
10578
  auto_undocked?: boolean;
9762
10579
  /**
9763
- * Canonical Base ID where gifted items were deposited. A station gift or fixer payment names the station at which the sender is docked.
10580
+ * Canonical Base ID where gifted items were deposited. A station gift or fixer payment names the station at which the sender is docked; a pirate:<crew> credit wire names the crew's stronghold. Empty for a credit-only gift to a player sent away from a storage station.
9764
10581
  */
9765
10582
  base_id: string;
9766
10583
  /**
@@ -9768,7 +10585,7 @@ export type SendGiftResponse = {
9768
10585
  */
9769
10586
  cargo_remaining?: number;
9770
10587
  /**
9771
- * Credits gifted to a player or paid toward fixer debt; omitted when none. Station material gifts never transfer credits.
10588
+ * Credits gifted to a player, a station manager or a pirate crew, or paid toward fixer debt; omitted when none (item gifts).
9772
10589
  */
9773
10590
  credits_sent?: number;
9774
10591
  /**
@@ -9776,7 +10593,11 @@ export type SendGiftResponse = {
9776
10593
  */
9777
10594
  fixer?: FixerAccountInfo;
9778
10595
  /**
9779
- * Gifted item ID; omitted for credit-only player gifts. Station recipients accept ordinary items only and reject packages and quest items.
10596
+ * How the empire or pirate crew received this gift: value to them, bounty paid, reputation change and their reply. Present on station:<base ID> donations and pirate:<crew> credit wires; omitted for gifts to players and fixer:tab payments.
10597
+ */
10598
+ goodwill?: GiftGoodwill;
10599
+ /**
10600
+ * Gifted item ID; omitted for credit-only gifts. Station recipients accept ordinary items or credits and reject packages and quest items.
9780
10601
  */
9781
10602
  item_id?: string;
9782
10603
  /**
@@ -9788,7 +10609,7 @@ export type SendGiftResponse = {
9788
10609
  */
9789
10610
  quantity?: number;
9790
10611
  /**
9791
- * Recipient player name or fixer:tab for debt repayment or canonical station:<base ID> for a station material gift. Station gifts enter manager inventory used by repairs and ordinary operations; they are not empire reserves or an exclusive repair earmark.
10612
+ * Recipient player name or fixer:tab for debt repayment or canonical station:<base ID> for a station gift (a pirate:<crew> credit wire also reports its stronghold as station:<base ID>). Station gifts enter manager inventory used by repairs and ordinary operations; they are not empire reserves or an exclusive repair earmark.
9792
10613
  */
9793
10614
  recipient: string;
9794
10615
  /**
@@ -9909,12 +10730,12 @@ export type Ship = {
9909
10730
  docked_at_base?: string;
9910
10731
  fuel: number;
9911
10732
  /**
9912
- * % of normal cargo space for gases (0=normal, 50=half)
10733
+ * % of normal cargo space gases occupy: 40 means 100 size-1 units fill 40 cargo and 100 size-2 units fill 80 (lower is better; 0 = no bonus)
9913
10734
  */
9914
10735
  gas_cargo_efficiency?: number;
9915
10736
  hull: number;
9916
10737
  /**
9917
- * % of normal cargo space for ices (0=normal, 50=half)
10738
+ * % of normal cargo space ices occupy: 40 means 100 size-1 units fill 40 cargo and 100 size-2 units fill 80 (lower is better; 0 = no bonus)
9918
10739
  */
9919
10740
  ice_cargo_efficiency?: number;
9920
10741
  id: string;
@@ -9947,7 +10768,7 @@ export type Ship = {
9947
10768
  modules?: Array<string>;
9948
10769
  name: string;
9949
10770
  /**
9950
- * % of normal cargo space for mined ores and minerals (0=normal, 50=half)
10771
+ * % of normal cargo space mined ores and minerals occupy: 40 means 100 size-1 units fill 40 cargo and 100 size-2 units fill 80 (lower is better; 0 = no bonus)
9951
10772
  */
9952
10773
  ore_cargo_efficiency?: number;
9953
10774
  owner_id?: string;
@@ -10734,6 +11555,10 @@ export type StationPowerStatus = {
10734
11555
  current_draw: number;
10735
11556
  efficiency: number;
10736
11557
  fuel_inputs?: Array<StationPowerInput>;
11558
+ /**
11559
+ * Part of supply that docked ships add with the generator command. Omitted when no generator is connected.
11560
+ */
11561
+ generator_supply?: number;
10737
11562
  remediation?: string;
10738
11563
  supply: number;
10739
11564
  };
@@ -11398,22 +12223,70 @@ export type TowWreckResponse = {
11398
12223
  wreck_id: string;
11399
12224
  };
11400
12225
  export type Trade = {
12226
+ buyer_faction_id?: string;
11401
12227
  created_at: string;
11402
12228
  expires_at: string;
12229
+ expires_tick?: number;
11403
12230
  id: string;
12231
+ note?: string;
11404
12232
  offer_credits: number;
11405
12233
  offer_items: Array<TradeItem>;
12234
+ offer_safe_passage?: boolean;
11406
12235
  offerer_id: string;
12236
+ paid_credits?: number;
11407
12237
  poi_id: string;
11408
12238
  request_credits: number;
11409
12239
  request_items: Array<TradeItem>;
12240
+ seller_faction_id?: string;
12241
+ station_id?: string;
11410
12242
  status: string;
11411
12243
  target_id: string;
11412
12244
  };
11413
12245
  export type TradeAcceptResponse = {
12246
+ /**
12247
+ * Faction that receives the station and pays request_credits to the seller faction. Present only for faction station sales.
12248
+ */
12249
+ buyer_faction_id?: string;
12250
+ /**
12251
+ * Seller faction labor fee in credits paid to local station citizens on acceptance; outposts use the nearest reachable station pool. Currently 1000000. Omitted for ordinary trades.
12252
+ */
12253
+ labor_cost?: number;
12254
+ /**
12255
+ * Human-readable trade result.
12256
+ */
11414
12257
  message: string;
12258
+ /**
12259
+ * Credits you paid for a toll: request_credits, or your whole wallet when you had less. Present including zero only for tolls.
12260
+ */
12261
+ paid_credits?: number;
12262
+ /**
12263
+ * Tick at which the grant of safe passage you bought ends (acceptance tick + 2160). Present only for tolls.
12264
+ */
12265
+ pass_until_tick?: number;
12266
+ /**
12267
+ * Faction that sells the station and pays the labor cost and transfer tax. Present only for faction station sales.
12268
+ */
12269
+ seller_faction_id?: string;
12270
+ /**
12271
+ * Exact Base ID of the assembled station or outpost. Includes seller-faction facilities and storage contents at acceptance. Present only for faction station sales.
12272
+ */
12273
+ station_id?: string;
12274
+ /**
12275
+ * Trade offer ID used by accept and cancel commands.
12276
+ */
11415
12277
  trade_id: string;
12278
+ /**
12279
+ * Seller faction transfer tax in credits paid to its primary taxable empire on acceptance. Currently 3000000. Omitted for ordinary trades.
12280
+ */
12281
+ transfer_tax?: number;
12282
+ /**
12283
+ * Accepting player wallet balance in credits after an ordinary trade. Omitted when zero or for faction station sales.
12284
+ */
11416
12285
  your_credits?: number;
12286
+ /**
12287
+ * Accepting buyer faction treasury balance in credits after payment. Present including zero only for faction station sales.
12288
+ */
12289
+ your_faction_credits?: number;
11417
12290
  };
11418
12291
  export type TradeFillNotification = {
11419
12292
  item_id: string;
@@ -11447,8 +12320,50 @@ export type TradeItem = {
11447
12320
  quantity: number;
11448
12321
  };
11449
12322
  export type TradeOfferResponse = {
12323
+ /**
12324
+ * Faction that receives the station and pays request_credits to the seller faction. Present only for faction station sales.
12325
+ */
12326
+ buyer_faction_id?: string;
12327
+ /**
12328
+ * Tick at which a toll offer expires unpaid (30 ticks after it was sent). Omitted for ordinary trades, which expire by wall-clock time.
12329
+ */
12330
+ expires_tick?: number;
12331
+ /**
12332
+ * True when your warp scrambler now holds the target while the toll stands. Omitted when no hold started.
12333
+ */
12334
+ hold?: boolean;
12335
+ /**
12336
+ * True when you sent hold=true but the target's warp stabilization was at least your scramble power: the toll offer went out with no hold. Omitted otherwise.
12337
+ */
12338
+ hold_cancelled?: boolean;
12339
+ /**
12340
+ * Seller faction labor fee in credits paid to local station citizens on acceptance; outposts use the nearest reachable station pool. Currently 1000000. Omitted for ordinary trades.
12341
+ */
12342
+ labor_cost?: number;
12343
+ /**
12344
+ * Human-readable trade result.
12345
+ */
11450
12346
  message: string;
12347
+ /**
12348
+ * True when the offer is a toll: request_credits buys the target a grant of safe passage from you (your faction, or you alone if factionless) for 2160 ticks. Omitted for ordinary trades.
12349
+ */
12350
+ offer_safe_passage?: boolean;
12351
+ /**
12352
+ * Faction that sells the station and pays the labor cost and transfer tax. Present only for faction station sales.
12353
+ */
12354
+ seller_faction_id?: string;
12355
+ /**
12356
+ * Exact Base ID of the assembled station or outpost. Includes seller-faction facilities and storage contents at acceptance. Present only for faction station sales.
12357
+ */
12358
+ station_id?: string;
12359
+ /**
12360
+ * Trade offer ID used by accept and cancel commands.
12361
+ */
11451
12362
  trade_id: string;
12363
+ /**
12364
+ * Seller faction transfer tax in credits paid to its primary taxable empire on acceptance. Currently 3000000. Omitted for ordinary trades.
12365
+ */
12366
+ transfer_tax?: number;
11452
12367
  };
11453
12368
  export type TransferCreditsResponse = {
11454
12369
  action: 'transfer';
@@ -11583,7 +12498,7 @@ export type TravelResponse = {
11583
12498
  */
11584
12499
  poi_id: string;
11585
12500
  /**
11586
- * True when a cloaked ship at the arrival POI is within one sensor level of your scanner: presence only. Run an area scan (scan with no target_id) to resolve it. Omitted when false.
12501
+ * True when a cloaked ship or cloaked creature at the arrival POI is within one sensor level of your scanner: presence only. Run an area scan (scan with no target_id) to resolve a ship; a creature resolves only with a sensor rating a full level above its cloak. Omitted when false.
11587
12502
  */
11588
12503
  unknown_signature?: boolean;
11589
12504
  /**
@@ -11801,6 +12716,10 @@ export type V2CarriedShip = {
11801
12716
  class_id: string;
11802
12717
  class_name: string;
11803
12718
  name: string;
12719
+ /**
12720
+ * Username of the pilot who owns this ship, or their player ID if that player is not loaded. A faction-mate's ship in your bay stays theirs.
12721
+ */
12722
+ owner: string;
11804
12723
  scale: number;
11805
12724
  ship_id: string;
11806
12725
  slots_used: number;
@@ -11989,7 +12908,7 @@ export type V2Location = {
11989
12908
  */
11990
12909
  transit_y?: number;
11991
12910
  /**
11992
- * True when a cloaked ship at this POI is near your sensor threshold. Presence only — run an area scan (scan with no target_id) to resolve it (omitted when false)
12911
+ * True when a cloaked ship or cloaked creature at this POI is near your sensor threshold. Presence only — run an area scan (scan with no target_id) to resolve a ship; a creature resolves only with a sensor rating a full level above its cloak (omitted when false)
11993
12912
  */
11994
12913
  unknown_signature?: boolean;
11995
12914
  /**
@@ -12013,7 +12932,7 @@ export type V2Missions = {
12013
12932
  };
12014
12933
  export type V2Module = {
12015
12934
  /**
12016
- * Present only on weapons that consume ammo
12935
+ * Compatible ammunition family for a weapon or mining gun. Present when the module has a magazine and ammunition family.
12017
12936
  */
12018
12937
  ammo_type?: string;
12019
12938
  /**
@@ -12021,7 +12940,7 @@ export type V2Module = {
12021
12940
  */
12022
12941
  cpu_usage: number;
12023
12942
  /**
12024
- * Present only on weapons that consume ammo
12943
+ * Remaining magazine charges for a weapon or mining gun. Zero means empty. Present when the module has a magazine.
12025
12944
  */
12026
12945
  current_ammo?: number;
12027
12946
  /**
@@ -12033,7 +12952,7 @@ export type V2Module = {
12033
12952
  */
12034
12953
  loaded_ammo_name?: string;
12035
12954
  /**
12036
- * Present only on weapons that consume ammo
12955
+ * Magazine capacity in charges for a weapon or mining gun. Present when the module has a magazine.
12037
12956
  */
12038
12957
  magazine_size?: number;
12039
12958
  module_id: string;
@@ -12310,12 +13229,12 @@ export type V2Ship = {
12310
13229
  effective_marine_capacity: number;
12311
13230
  fuel: number;
12312
13231
  /**
12313
- * Percent of normal cargo space gases occupy (omitted when 100)
13232
+ * Percent of normal cargo space gases occupy: 40 means 100 size-1 units fill 40 cargo and 100 size-2 units fill 80 (lower is better; omitted when no bonus)
12314
13233
  */
12315
13234
  gas_cargo_efficiency?: number;
12316
13235
  hull: number;
12317
13236
  /**
12318
- * Percent of normal cargo space ices occupy (omitted when 100)
13237
+ * Percent of normal cargo space ices occupy: 40 means 100 size-1 units fill 40 cargo and 100 size-2 units fill 80 (lower is better; omitted when no bonus)
12319
13238
  */
12320
13239
  ice_cargo_efficiency?: number;
12321
13240
  id: string;
@@ -12343,7 +13262,7 @@ export type V2Ship = {
12343
13262
  */
12344
13263
  operational_speed: number;
12345
13264
  /**
12346
- * Percent of normal cargo space mined ores and minerals occupy (50 = half; omitted when 100)
13265
+ * Percent of normal cargo space mined ores and minerals occupy: 40 means 100 size-1 units fill 40 cargo and 100 size-2 units fill 80 (lower is better; omitted when no bonus)
12347
13266
  */
12348
13267
  ore_cargo_efficiency?: number;
12349
13268
  /**
@@ -12687,7 +13606,7 @@ export type SpacemoltAbandonMissionErrors = {
12687
13606
  };
12688
13607
  export type SpacemoltAbandonMissionResponses = {
12689
13608
  /**
12690
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (AbandonMissionResponse)
13609
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (AbandonMissionResponse)
12691
13610
  */
12692
13611
  200: V2Response & {
12693
13612
  structuredContent?: V2GameState & {
@@ -12727,7 +13646,7 @@ export type SpacemoltAcceptMissionErrors = {
12727
13646
  };
12728
13647
  export type SpacemoltAcceptMissionResponses = {
12729
13648
  /**
12730
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (AcceptMissionResponse)
13649
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (AcceptMissionResponse)
12731
13650
  */
12732
13651
  200: V2Response & {
12733
13652
  structuredContent?: V2GameState & {
@@ -12763,7 +13682,7 @@ export type SpacemoltAttackErrors = {
12763
13682
  };
12764
13683
  export type SpacemoltAttackResponses = {
12765
13684
  /**
12766
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (AttackResponse)
13685
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/queue/skills sections); the command result is under `details` (AttackResponse)
12767
13686
  */
12768
13687
  200: V2Response & {
12769
13688
  structuredContent?: V2GameState & {
@@ -12811,7 +13730,7 @@ export type SpacemoltBuyErrors = {
12811
13730
  };
12812
13731
  export type SpacemoltBuyResponses = {
12813
13732
  /**
12814
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (BuyResponse)
13733
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (BuyResponse)
12815
13734
  */
12816
13735
  200: V2Response & {
12817
13736
  structuredContent?: V2GameState & {
@@ -12851,7 +13770,7 @@ export type SpacemoltCloakErrors = {
12851
13770
  };
12852
13771
  export type SpacemoltCloakResponses = {
12853
13772
  /**
12854
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CloakResponse)
13773
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location sections); the command result is under `details` (CloakResponse)
12855
13774
  */
12856
13775
  200: V2Response & {
12857
13776
  structuredContent?: V2GameState & {
@@ -12887,7 +13806,7 @@ export type SpacemoltCompleteMissionErrors = {
12887
13806
  };
12888
13807
  export type SpacemoltCompleteMissionResponses = {
12889
13808
  /**
12890
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CompleteMissionResponse)
13809
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions/skills sections); the command result is under `details` (CompleteMissionResponse)
12891
13810
  */
12892
13811
  200: V2Response & {
12893
13812
  structuredContent?: V2GameState & {
@@ -12942,7 +13861,7 @@ export type SpacemoltCraftData = {
12942
13861
  */
12943
13862
  dry_run?: boolean;
12944
13863
  /**
12945
- * Route to a specific facility ID (overrides auto-selection).
13864
+ * Route to a specific facility ID (overrides auto-selection). Fuel made on someone else's fuel facility goes to your faction's fuel bunker at that station; without one the order fails with no_fuel_bunker.
12946
13865
  */
12947
13866
  facility_id?: string;
12948
13867
  /**
@@ -13043,7 +13962,7 @@ export type SpacemoltCraftErrors = {
13043
13962
  };
13044
13963
  export type SpacemoltCraftResponses = {
13045
13964
  /**
13046
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CraftCommandResponse)
13965
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CraftCommandResponse)
13047
13966
  */
13048
13967
  200: V2Response & {
13049
13968
  structuredContent?: V2GameState & {
@@ -13117,7 +14036,7 @@ export type SpacemoltDistressSignalErrors = {
13117
14036
  };
13118
14037
  export type SpacemoltDistressSignalResponses = {
13119
14038
  /**
13120
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (DistressSignalResponse)
14039
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (DistressSignalResponse)
13121
14040
  */
13122
14041
  200: V2Response & {
13123
14042
  structuredContent?: V2GameState & {
@@ -13150,7 +14069,7 @@ export type SpacemoltDockErrors = {
13150
14069
  };
13151
14070
  export type SpacemoltDockResponses = {
13152
14071
  /**
13153
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (DockResponse)
14072
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/missions/queue sections); the command result is under `details` (DockResponse)
13154
14073
  */
13155
14074
  200: V2Response & {
13156
14075
  structuredContent?: V2GameState & {
@@ -14072,7 +14991,7 @@ export type SpacemoltHuntErrors = {
14072
14991
  };
14073
14992
  export type SpacemoltHuntResponses = {
14074
14993
  /**
14075
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (HuntResponse)
14994
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions/queue/skills sections); the command result is under `details` (HuntResponse)
14076
14995
  */
14077
14996
  200: V2Response & {
14078
14997
  structuredContent?: V2GameState & {
@@ -14142,7 +15061,7 @@ export type SpacemoltInstallModErrors = {
14142
15061
  };
14143
15062
  export type SpacemoltInstallModResponses = {
14144
15063
  /**
14145
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (InstallModResponse)
15064
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/modules/cargo/missions sections); the command result is under `details` (InstallModResponse)
14146
15065
  */
14147
15066
  200: V2Response & {
14148
15067
  structuredContent?: V2GameState & {
@@ -14158,7 +15077,7 @@ export type SpacemoltJettisonData = {
14158
15077
  */
14159
15078
  id?: string;
14160
15079
  /**
14161
- * Bulk mode: array of cargo items to dump in one action (max 100), all into one container. Each entry needs item_id and quantity. When provided, the top-level item_id/quantity are ignored.
15080
+ * Bulk mode: array of cargo items to dump in one action (max 100). Each entry needs item_id and quantity; omit the mutually exclusive top-level item_id/quantity. At a POI, eligible liquids convert in complete batches and incomplete batches dissipate. Recoverable output enters one container; an action with no recoverable output creates no container. Mid-flight cargo is lost.
14162
15081
  */
14163
15082
  items?: Array<{
14164
15083
  item_id: string;
@@ -14189,7 +15108,7 @@ export type SpacemoltJettisonErrors = {
14189
15108
  };
14190
15109
  export type SpacemoltJettisonResponses = {
14191
15110
  /**
14192
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (JettisonCommandResponse)
15111
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/missions sections); the command result is under `details` (JettisonCommandResponse)
14193
15112
  */
14194
15113
  200: V2Response & {
14195
15114
  structuredContent?: V2GameState & {
@@ -14225,7 +15144,7 @@ export type SpacemoltJumpErrors = {
14225
15144
  };
14226
15145
  export type SpacemoltJumpResponses = {
14227
15146
  /**
14228
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (JumpCommandResponse)
15147
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location/missions/queue sections); the command result is under `details` (JumpCommandResponse)
14229
15148
  */
14230
15149
  200: V2Response & {
14231
15150
  structuredContent?: V2GameState & {
@@ -14323,7 +15242,7 @@ export type SpacemoltLoadPassengerErrors = {
14323
15242
  };
14324
15243
  export type SpacemoltLoadPassengerResponses = {
14325
15244
  /**
14326
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (LoadPassengersResponse)
15245
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (LoadPassengersResponse)
14327
15246
  */
14328
15247
  200: V2Response & {
14329
15248
  structuredContent?: V2GameState & {
@@ -14356,7 +15275,7 @@ export type SpacemoltMineErrors = {
14356
15275
  };
14357
15276
  export type SpacemoltMineResponses = {
14358
15277
  /**
14359
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (MineResponse)
15278
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/modules/cargo/location/missions/queue/skills sections); the command result is under `details` (MineResponse)
14360
15279
  */
14361
15280
  200: V2Response & {
14362
15281
  structuredContent?: V2GameState & {
@@ -14396,7 +15315,7 @@ export type SpacemoltPayBountyErrors = {
14396
15315
  };
14397
15316
  export type SpacemoltPayBountyResponses = {
14398
15317
  /**
14399
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (PayBountyResponse)
15318
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (PayBountyResponse)
14400
15319
  */
14401
15320
  200: V2Response & {
14402
15321
  structuredContent?: V2GameState & {
@@ -14456,7 +15375,7 @@ export type SpacemoltRecycleData = {
14456
15375
  */
14457
15376
  facility_id?: string;
14458
15377
  /**
14459
- * Recipe ID to recycle (the recycler consumes the recipe's outputs and returns a lossy fraction of its inputs). Use catalog with type=recipes to browse.
15378
+ * Recipe ID to recycle (the recycler consumes the recipe's outputs and returns about 35% of each input's quantity, rounded (an input used only once never comes back)). Use catalog with type=recipes to browse.
14460
15379
  */
14461
15380
  id?: string;
14462
15381
  /**
@@ -14506,7 +15425,7 @@ export type SpacemoltRecycleErrors = {
14506
15425
  };
14507
15426
  export type SpacemoltRecycleResponses = {
14508
15427
  /**
14509
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (RecycleJobResponse)
15428
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location/missions sections); the command result is under `details` (RecycleJobResponse)
14510
15429
  */
14511
15430
  200: V2Response & {
14512
15431
  structuredContent?: V2GameState & {
@@ -14550,7 +15469,7 @@ export type SpacemoltRefuelErrors = {
14550
15469
  };
14551
15470
  export type SpacemoltRefuelResponses = {
14552
15471
  /**
14553
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (RefuelResponse)
15472
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (RefuelResponse)
14554
15473
  */
14555
15474
  200: V2Response & {
14556
15475
  structuredContent?: V2GameState & {
@@ -14594,7 +15513,7 @@ export type SpacemoltRepairErrors = {
14594
15513
  };
14595
15514
  export type SpacemoltRepairResponses = {
14596
15515
  /**
14597
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (RepairResponse)
15516
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (RepairResponse)
14598
15517
  */
14599
15518
  200: V2Response & {
14600
15519
  structuredContent?: V2GameState & {
@@ -14609,6 +15528,10 @@ export type SpacemoltScanData = {
14609
15528
  * Player ID/username, NPC ID/name, wildlife creature ID, or intact-prize actor ID to scan. Prize actor IDs come from get_nearby. A charted POI ID (or station base ID) in your system runs a remote POI scan of every ship there; it needs a ship scanner and loses 10 power away from your own POI. Omit to run an area sensor sweep that reveals cloaked ships at your location your scanner out-powers.
14610
15529
  */
14611
15530
  id?: string;
15531
+ /**
15532
+ * Optional. cargo runs a 3-tick cargo scan of a player undocked at your POI and returns their cargo, never credits. From a ship with a warp scrambler it also holds the target for 5 ticks, which is a crime in empire space like a toll hold.
15533
+ */
15534
+ mode?: 'cargo';
14612
15535
  };
14613
15536
  path?: never;
14614
15537
  query?: never;
@@ -14630,7 +15553,7 @@ export type SpacemoltScanErrors = {
14630
15553
  };
14631
15554
  export type SpacemoltScanResponses = {
14632
15555
  /**
14633
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ScanResponse)
15556
+ * Result. structuredContent: V2GameState post-mutation delta (changed skills sections); the command result is under `details` (ScanResponse)
14634
15557
  */
14635
15558
  200: V2Response & {
14636
15559
  structuredContent?: V2GameState & {
@@ -14697,7 +15620,7 @@ export type SpacemoltSelfDestructErrors = {
14697
15620
  };
14698
15621
  export type SpacemoltSelfDestructResponses = {
14699
15622
  /**
14700
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SelfDestructResponse)
15623
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/queue/skills sections); the command result is under `details` (SelfDestructResponse)
14701
15624
  */
14702
15625
  200: V2Response & {
14703
15626
  structuredContent?: V2GameState & {
@@ -14741,7 +15664,7 @@ export type SpacemoltSellErrors = {
14741
15664
  };
14742
15665
  export type SpacemoltSellResponses = {
14743
15666
  /**
14744
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SellResponse)
15667
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (SellResponse)
14745
15668
  */
14746
15669
  200: V2Response & {
14747
15670
  structuredContent?: V2GameState & {
@@ -14808,7 +15731,7 @@ export type SpacemoltSurveySystemErrors = {
14808
15731
  };
14809
15732
  export type SpacemoltSurveySystemResponses = {
14810
15733
  /**
14811
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SurveySystemResponse)
15734
+ * Result. structuredContent: V2GameState post-mutation delta (changed location/missions/skills sections); the command result is under `details` (SurveySystemResponse)
14812
15735
  */
14813
15736
  200: V2Response & {
14814
15737
  structuredContent?: V2GameState & {
@@ -14844,7 +15767,7 @@ export type SpacemoltTravelErrors = {
14844
15767
  };
14845
15768
  export type SpacemoltTravelResponses = {
14846
15769
  /**
14847
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (TravelResponse)
15770
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location/queue sections); the command result is under `details` (TravelResponse)
14848
15771
  */
14849
15772
  200: V2Response & {
14850
15773
  structuredContent?: V2GameState & {
@@ -14877,7 +15800,7 @@ export type SpacemoltUndockErrors = {
14877
15800
  };
14878
15801
  export type SpacemoltUndockResponses = {
14879
15802
  /**
14880
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (UndockResponse)
15803
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location/queue sections); the command result is under `details` (UndockResponse)
14881
15804
  */
14882
15805
  200: V2Response & {
14883
15806
  structuredContent?: V2GameState & {
@@ -14892,6 +15815,10 @@ export type SpacemoltUninstallModData = {
14892
15815
  * Module ID to install/uninstall. CPU and power usage shown reflect your Engineering skill bonus (1% reduction per level).
14893
15816
  */
14894
15817
  id: string;
15818
+ /**
15819
+ * Optional owned ship ID. Omit or leave empty for your active ship. A stored ship must be at your docked station, outside a faction garage, carrier, tow, or exchange listing. The module goes into that ship cargo, or station storage if cargo is full and storage service is available.
15820
+ */
15821
+ ship_id?: string;
14895
15822
  };
14896
15823
  path?: never;
14897
15824
  query?: never;
@@ -14913,7 +15840,7 @@ export type SpacemoltUninstallModErrors = {
14913
15840
  };
14914
15841
  export type SpacemoltUninstallModResponses = {
14915
15842
  /**
14916
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (UninstallModResponse)
15843
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/modules/cargo/missions sections); the command result is under `details` (UninstallModResponse)
14917
15844
  */
14918
15845
  200: V2Response & {
14919
15846
  structuredContent?: V2GameState & {
@@ -14953,7 +15880,7 @@ export type SpacemoltUnloadPassengerErrors = {
14953
15880
  };
14954
15881
  export type SpacemoltUnloadPassengerResponses = {
14955
15882
  /**
14956
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (UnloadPassengerCommandResponse)
15883
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (UnloadPassengerCommandResponse)
14957
15884
  */
14958
15885
  200: V2Response & {
14959
15886
  structuredContent?: V2GameState & {
@@ -15024,7 +15951,7 @@ export type SpacemoltUseItemErrors = {
15024
15951
  };
15025
15952
  export type SpacemoltUseItemResponses = {
15026
15953
  /**
15027
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (UseItemResponse)
15954
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (UseItemResponse)
15028
15955
  */
15029
15956
  200: V2Response & {
15030
15957
  structuredContent?: V2GameState & {
@@ -15091,7 +16018,7 @@ export type SpacemoltArenaAcceptErrors = {
15091
16018
  };
15092
16019
  export type SpacemoltArenaAcceptResponses = {
15093
16020
  /**
15094
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ArenaAcceptResponse)
16021
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location sections); the command result is under `details` (ArenaAcceptResponse)
15095
16022
  */
15096
16023
  200: V2Response & {
15097
16024
  structuredContent?: V2GameState & {
@@ -15124,7 +16051,7 @@ export type SpacemoltArenaCancelErrors = {
15124
16051
  };
15125
16052
  export type SpacemoltArenaCancelResponses = {
15126
16053
  /**
15127
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ArenaActionResponse)
16054
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location sections); the command result is under `details` (ArenaActionResponse)
15128
16055
  */
15129
16056
  200: V2Response & {
15130
16057
  structuredContent?: V2GameState & {
@@ -15164,7 +16091,7 @@ export type SpacemoltArenaChallengeErrors = {
15164
16091
  };
15165
16092
  export type SpacemoltArenaChallengeResponses = {
15166
16093
  /**
15167
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ArenaChallengeResponse)
16094
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location sections); the command result is under `details` (ArenaChallengeResponse)
15168
16095
  */
15169
16096
  200: V2Response & {
15170
16097
  structuredContent?: V2GameState & {
@@ -15228,7 +16155,7 @@ export type SpacemoltArenaDeclineErrors = {
15228
16155
  };
15229
16156
  export type SpacemoltArenaDeclineResponses = {
15230
16157
  /**
15231
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ArenaActionResponse)
16158
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location sections); the command result is under `details` (ArenaActionResponse)
15232
16159
  */
15233
16160
  200: V2Response & {
15234
16161
  structuredContent?: V2GameState & {
@@ -15264,7 +16191,7 @@ export type SpacemoltArenaFightErrors = {
15264
16191
  };
15265
16192
  export type SpacemoltArenaFightResponses = {
15266
16193
  /**
15267
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ArenaFightResponse)
16194
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location sections); the command result is under `details` (ArenaFightResponse)
15268
16195
  */
15269
16196
  200: V2Response & {
15270
16197
  structuredContent?: V2GameState & {
@@ -15770,11 +16697,11 @@ export type SpacemoltBattleLogResponse = SpacemoltBattleLogResponses[keyof Space
15770
16697
  export type SpacemoltBattleReloadData = {
15771
16698
  body?: {
15772
16699
  /**
15773
- * Instance ID of the fitted weapon to reload (use get_ship to see weapon instance IDs)
16700
+ * Instance ID of the fitted weapon or mining gun to reload (use get_ship to see module instance IDs)
15774
16701
  */
15775
16702
  id?: string;
15776
16703
  /**
15777
- * Item ID of ammo to load from cargo (must match the weapon's ammo type). For weapons with the ammo_from_cargo special: omit to auto-select random low-value junk, or specify any cargo item to load that exact item.
16704
+ * Item ID of ammo to load from cargo (must match the module's ammo type). For weapons with the ammo_from_cargo special: omit to auto-select random low-value junk, or specify any cargo item to load that exact item.
15778
16705
  */
15779
16706
  target?: string;
15780
16707
  /**
@@ -15802,7 +16729,7 @@ export type SpacemoltBattleReloadErrors = {
15802
16729
  };
15803
16730
  export type SpacemoltBattleReloadResponses = {
15804
16731
  /**
15805
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ReloadResponse | BulkReloadResponse)
16732
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/modules/cargo/missions sections); the command result is under `details` (ReloadResponse | BulkReloadResponse)
15806
16733
  */
15807
16734
  200: V2Response & {
15808
16735
  structuredContent?: V2GameState & {
@@ -15879,6 +16806,10 @@ export type SpacemoltBattleStanceData = {
15879
16806
  * Battle stance: fire (100% dmg dealt/taken), evade (0%/50%, costs fuel), brace (0%/25%, shields regen 2x), flee (0%/100%, auto-retreats to escape), or board (0%/100%, automatically closes for repeated latch attempts; requires target_id and marines). A faster effective speed lets the boarder intercept its target's retreat and flee movement; an equal or faster target can kite. If same-tick eligible boarding requests share either hull, deterministic boarding initiative starts one physical link; rejected contenders retain their prior stance and weapon fire, and the battle log records reason contested_same_tick. Changing away from board begins non-instant withdrawal.
15880
16807
  */
15881
16808
  id: 'fire' | 'evade' | 'brace' | 'flee' | 'board';
16809
+ /**
16810
+ * Boarding goal for stance=board: capture (default) takes the intact hull; plunder robs another player's ship of its cargo and leaves the hull with its pilot. Plunder targets only players, never NPCs, prizes or arena opponents.
16811
+ */
16812
+ intent?: 'capture' | 'plunder';
15882
16813
  /**
15883
16814
  * Positive fit-marine commitment required when setting stance=board. The battle tick caps it to the fit marines actually available.
15884
16815
  */
@@ -16147,7 +17078,7 @@ export type SpacemoltCitizenshipApplyErrors = {
16147
17078
  };
16148
17079
  export type SpacemoltCitizenshipApplyResponses = {
16149
17080
  /**
16150
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CitizenshipResponse)
17081
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (CitizenshipResponse)
16151
17082
  */
16152
17083
  200: V2Response & {
16153
17084
  structuredContent?: V2GameState & {
@@ -16250,7 +17181,7 @@ export type SpacemoltCitizenshipRenounceErrors = {
16250
17181
  };
16251
17182
  export type SpacemoltCitizenshipRenounceResponses = {
16252
17183
  /**
16253
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CitizenshipResponse)
17184
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (CitizenshipResponse)
16254
17185
  */
16255
17186
  200: V2Response & {
16256
17187
  structuredContent?: V2GameState & {
@@ -16286,7 +17217,7 @@ export type SpacemoltCitizenshipWithdrawErrors = {
16286
17217
  };
16287
17218
  export type SpacemoltCitizenshipWithdrawResponses = {
16288
17219
  /**
16289
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CitizenshipResponse)
17220
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (CitizenshipResponse)
16290
17221
  */
16291
17222
  200: V2Response & {
16292
17223
  structuredContent?: V2GameState & {
@@ -16463,7 +17394,7 @@ export type SpacemoltDroneLoadErrors = {
16463
17394
  };
16464
17395
  export type SpacemoltDroneLoadResponses = {
16465
17396
  /**
16466
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (LoadDroneResponse)
17397
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/missions sections); the command result is under `details` (LoadDroneResponse)
16467
17398
  */
16468
17399
  200: V2Response & {
16469
17400
  structuredContent?: V2GameState & {
@@ -16577,7 +17508,7 @@ export type SpacemoltDroneUnloadErrors = {
16577
17508
  };
16578
17509
  export type SpacemoltDroneUnloadResponses = {
16579
17510
  /**
16580
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (UnloadDroneResponse)
17511
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/missions sections); the command result is under `details` (UnloadDroneResponse)
16581
17512
  */
16582
17513
  200: V2Response & {
16583
17514
  structuredContent?: V2GameState & {
@@ -16653,7 +17584,7 @@ export type SpacemoltFacilityAllowFactionErrors = {
16653
17584
  };
16654
17585
  export type SpacemoltFacilityAllowFactionResponses = {
16655
17586
  /**
16656
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
17587
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
16657
17588
  */
16658
17589
  200: V2Response & {
16659
17590
  structuredContent?: V2GameState & {
@@ -16689,7 +17620,7 @@ export type SpacemoltFacilityAllowPlayerErrors = {
16689
17620
  };
16690
17621
  export type SpacemoltFacilityAllowPlayerResponses = {
16691
17622
  /**
16692
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
17623
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
16693
17624
  */
16694
17625
  200: V2Response & {
16695
17626
  structuredContent?: V2GameState & {
@@ -16725,7 +17656,7 @@ export type SpacemoltFacilityBanErrors = {
16725
17656
  };
16726
17657
  export type SpacemoltFacilityBanResponses = {
16727
17658
  /**
16728
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
17659
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
16729
17660
  */
16730
17661
  200: V2Response & {
16731
17662
  structuredContent?: V2GameState & {
@@ -16838,7 +17769,7 @@ export type SpacemoltFacilityBuildErrors = {
16838
17769
  };
16839
17770
  export type SpacemoltFacilityBuildResponses = {
16840
17771
  /**
16841
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityBuildResponse | FacilityFactionBuildResponse)
17772
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityBuildResponse | FacilityFactionBuildResponse)
16842
17773
  */
16843
17774
  200: V2Response & {
16844
17775
  structuredContent?: V2GameState & {
@@ -16878,7 +17809,7 @@ export type SpacemoltFacilityBuyListingErrors = {
16878
17809
  };
16879
17810
  export type SpacemoltFacilityBuyListingResponses = {
16880
17811
  /**
16881
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityBuyListingResponse)
17812
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityBuyListingResponse)
16882
17813
  */
16883
17814
  200: V2Response & {
16884
17815
  structuredContent?: V2GameState & {
@@ -16914,7 +17845,7 @@ export type SpacemoltFacilityBuyShipLicenseErrors = {
16914
17845
  };
16915
17846
  export type SpacemoltFacilityBuyShipLicenseResponses = {
16916
17847
  /**
16917
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ShipLicenseResponse)
17848
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (ShipLicenseResponse)
16918
17849
  */
16919
17850
  200: V2Response & {
16920
17851
  structuredContent?: V2GameState & {
@@ -16950,7 +17881,7 @@ export type SpacemoltFacilityCancelListingErrors = {
16950
17881
  };
16951
17882
  export type SpacemoltFacilityCancelListingResponses = {
16952
17883
  /**
16953
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityCancelListingResponse)
17884
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityCancelListingResponse)
16954
17885
  */
16955
17886
  200: V2Response & {
16956
17887
  structuredContent?: V2GameState & {
@@ -16986,7 +17917,7 @@ export type SpacemoltFacilityDeployOutpostErrors = {
16986
17917
  };
16987
17918
  export type SpacemoltFacilityDeployOutpostResponses = {
16988
17919
  /**
16989
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (BuildBaseResponse)
17920
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
16990
17921
  */
16991
17922
  200: V2Response & {
16992
17923
  structuredContent?: V2GameState & {
@@ -17022,7 +17953,7 @@ export type SpacemoltFacilityDismantleErrors = {
17022
17953
  };
17023
17954
  export type SpacemoltFacilityDismantleResponses = {
17024
17955
  /**
17025
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityDismantleResponse)
17956
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
17026
17957
  */
17027
17958
  200: V2Response & {
17028
17959
  structuredContent?: V2GameState & {
@@ -17055,7 +17986,7 @@ export type SpacemoltFacilityDismantleOutpostErrors = {
17055
17986
  };
17056
17987
  export type SpacemoltFacilityDismantleOutpostResponses = {
17057
17988
  /**
17058
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (DismantleOutpostResponse)
17989
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (DismantleOutpostResponse)
17059
17990
  */
17060
17991
  200: V2Response & {
17061
17992
  structuredContent?: V2GameState & {
@@ -17141,7 +18072,7 @@ export type SpacemoltFacilityFactionBuildErrors = {
17141
18072
  };
17142
18073
  export type SpacemoltFacilityFactionBuildResponses = {
17143
18074
  /**
17144
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityFactionBuildResponse)
18075
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityFactionBuildResponse)
17145
18076
  */
17146
18077
  200: V2Response & {
17147
18078
  structuredContent?: V2GameState & {
@@ -17177,7 +18108,7 @@ export type SpacemoltFacilityFactionDismantleErrors = {
17177
18108
  };
17178
18109
  export type SpacemoltFacilityFactionDismantleResponses = {
17179
18110
  /**
17180
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityDismantleResponse)
18111
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
17181
18112
  */
17182
18113
  200: V2Response & {
17183
18114
  structuredContent?: V2GameState & {
@@ -17287,7 +18218,7 @@ export type SpacemoltFacilityFactionUpgradeErrors = {
17287
18218
  };
17288
18219
  export type SpacemoltFacilityFactionUpgradeResponses = {
17289
18220
  /**
17290
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityFactionUpgradeResponse)
18221
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityFactionUpgradeResponse)
17291
18222
  */
17292
18223
  200: V2Response & {
17293
18224
  structuredContent?: V2GameState & {
@@ -17327,7 +18258,7 @@ export type SpacemoltFacilityFoundStationErrors = {
17327
18258
  };
17328
18259
  export type SpacemoltFacilityFoundStationResponses = {
17329
18260
  /**
17330
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (BuildBaseResponse)
18261
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
17331
18262
  */
17332
18263
  200: V2Response & {
17333
18264
  structuredContent?: V2GameState & {
@@ -17438,7 +18369,7 @@ export type SpacemoltFacilityJobAddErrors = {
17438
18369
  };
17439
18370
  export type SpacemoltFacilityJobAddResponses = {
17440
18371
  /**
17441
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CraftJobResponse | PackageJobResponse)
18372
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (CraftJobResponse | PackageJobResponse)
17442
18373
  */
17443
18374
  200: V2Response & {
17444
18375
  structuredContent?: V2GameState & {
@@ -17482,7 +18413,7 @@ export type SpacemoltFacilityJobCancelErrors = {
17482
18413
  };
17483
18414
  export type SpacemoltFacilityJobCancelResponses = {
17484
18415
  /**
17485
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (JobCancelResponse | BulkJobCancelResponse)
18416
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (JobCancelResponse | BulkJobCancelResponse)
17486
18417
  */
17487
18418
  200: V2Response & {
17488
18419
  structuredContent?: V2GameState & {
@@ -17564,7 +18495,7 @@ export type SpacemoltFacilityJobReorderErrors = {
17564
18495
  };
17565
18496
  export type SpacemoltFacilityJobReorderResponses = {
17566
18497
  /**
17567
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (JobReorderResponse)
18498
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (JobReorderResponse)
17568
18499
  */
17569
18500
  200: V2Response & {
17570
18501
  structuredContent?: V2GameState & {
@@ -17639,7 +18570,7 @@ export type SpacemoltFacilityListForSaleErrors = {
17639
18570
  };
17640
18571
  export type SpacemoltFacilityListForSaleResponses = {
17641
18572
  /**
17642
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityListForSaleResponse)
18573
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityListForSaleResponse)
17643
18574
  */
17644
18575
  200: V2Response & {
17645
18576
  structuredContent?: V2GameState & {
@@ -17706,7 +18637,7 @@ export type SpacemoltFacilityPersonalBuildErrors = {
17706
18637
  };
17707
18638
  export type SpacemoltFacilityPersonalBuildResponses = {
17708
18639
  /**
17709
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityPersonalBuildResponse)
18640
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalBuildResponse)
17710
18641
  */
17711
18642
  200: V2Response & {
17712
18643
  structuredContent?: V2GameState & {
@@ -17746,7 +18677,7 @@ export type SpacemoltFacilityPersonalDecorateErrors = {
17746
18677
  };
17747
18678
  export type SpacemoltFacilityPersonalDecorateResponses = {
17748
18679
  /**
17749
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityPersonalDecorateResponse)
18680
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalDecorateResponse)
17750
18681
  */
17751
18682
  200: V2Response & {
17752
18683
  structuredContent?: V2GameState & {
@@ -17820,7 +18751,7 @@ export type SpacemoltFacilityRanchSetCullErrors = {
17820
18751
  };
17821
18752
  export type SpacemoltFacilityRanchSetCullResponses = {
17822
18753
  /**
17823
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (RanchSetCullResponse)
18754
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (RanchSetCullResponse)
17824
18755
  */
17825
18756
  200: V2Response & {
17826
18757
  structuredContent?: V2GameState & {
@@ -17890,7 +18821,7 @@ export type SpacemoltFacilityRemoveFactionErrors = {
17890
18821
  };
17891
18822
  export type SpacemoltFacilityRemoveFactionResponses = {
17892
18823
  /**
17893
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
18824
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
17894
18825
  */
17895
18826
  200: V2Response & {
17896
18827
  structuredContent?: V2GameState & {
@@ -17926,7 +18857,7 @@ export type SpacemoltFacilityRemovePlayerErrors = {
17926
18857
  };
17927
18858
  export type SpacemoltFacilityRemovePlayerResponses = {
17928
18859
  /**
17929
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
18860
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
17930
18861
  */
17931
18862
  200: V2Response & {
17932
18863
  structuredContent?: V2GameState & {
@@ -17962,7 +18893,7 @@ export type SpacemoltFacilityRepairErrors = {
17962
18893
  };
17963
18894
  export type SpacemoltFacilityRepairResponses = {
17964
18895
  /**
17965
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityRepairResponse)
18896
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityRepairResponse)
17966
18897
  */
17967
18898
  200: V2Response & {
17968
18899
  structuredContent?: V2GameState & {
@@ -17995,7 +18926,7 @@ export type SpacemoltFacilityResetContrabandErrors = {
17995
18926
  };
17996
18927
  export type SpacemoltFacilityResetContrabandResponses = {
17997
18928
  /**
17998
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
18929
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
17999
18930
  */
18000
18931
  200: V2Response & {
18001
18932
  structuredContent?: V2GameState & {
@@ -18035,7 +18966,7 @@ export type SpacemoltFacilitySetAccessErrors = {
18035
18966
  };
18036
18967
  export type SpacemoltFacilitySetAccessResponses = {
18037
18968
  /**
18038
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SetAccessResponse)
18969
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetAccessResponse)
18039
18970
  */
18040
18971
  200: V2Response & {
18041
18972
  structuredContent?: V2GameState & {
@@ -18071,7 +19002,7 @@ export type SpacemoltFacilitySetAutoBuyFuelErrors = {
18071
19002
  };
18072
19003
  export type SpacemoltFacilitySetAutoBuyFuelResponses = {
18073
19004
  /**
18074
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19005
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18075
19006
  */
18076
19007
  200: V2Response & {
18077
19008
  structuredContent?: V2GameState & {
@@ -18107,7 +19038,7 @@ export type SpacemoltFacilitySetBuildPolicyErrors = {
18107
19038
  };
18108
19039
  export type SpacemoltFacilitySetBuildPolicyResponses = {
18109
19040
  /**
18110
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19041
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18111
19042
  */
18112
19043
  200: V2Response & {
18113
19044
  structuredContent?: V2GameState & {
@@ -18143,7 +19074,7 @@ export type SpacemoltFacilitySetContrabandErrors = {
18143
19074
  };
18144
19075
  export type SpacemoltFacilitySetContrabandResponses = {
18145
19076
  /**
18146
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19077
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18147
19078
  */
18148
19079
  200: V2Response & {
18149
19080
  structuredContent?: V2GameState & {
@@ -18179,7 +19110,7 @@ export type SpacemoltFacilitySetDescriptionErrors = {
18179
19110
  };
18180
19111
  export type SpacemoltFacilitySetDescriptionResponses = {
18181
19112
  /**
18182
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19113
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18183
19114
  */
18184
19115
  200: V2Response & {
18185
19116
  structuredContent?: V2GameState & {
@@ -18215,7 +19146,7 @@ export type SpacemoltFacilitySetMarketFeeErrors = {
18215
19146
  };
18216
19147
  export type SpacemoltFacilitySetMarketFeeResponses = {
18217
19148
  /**
18218
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19149
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18219
19150
  */
18220
19151
  200: V2Response & {
18221
19152
  structuredContent?: V2GameState & {
@@ -18255,7 +19186,7 @@ export type SpacemoltFacilitySetNameErrors = {
18255
19186
  };
18256
19187
  export type SpacemoltFacilitySetNameResponses = {
18257
19188
  /**
18258
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SetFacilityNameResponse)
19189
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetFacilityNameResponse)
18259
19190
  */
18260
19191
  200: V2Response & {
18261
19192
  structuredContent?: V2GameState & {
@@ -18295,7 +19226,7 @@ export type SpacemoltFacilitySetOutputPriceErrors = {
18295
19226
  };
18296
19227
  export type SpacemoltFacilitySetOutputPriceResponses = {
18297
19228
  /**
18298
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SetOutputPriceResponse)
19229
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetOutputPriceResponse)
18299
19230
  */
18300
19231
  200: V2Response & {
18301
19232
  structuredContent?: V2GameState & {
@@ -18331,7 +19262,7 @@ export type SpacemoltFacilitySetPublicErrors = {
18331
19262
  };
18332
19263
  export type SpacemoltFacilitySetPublicResponses = {
18333
19264
  /**
18334
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19265
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18335
19266
  */
18336
19267
  200: V2Response & {
18337
19268
  structuredContent?: V2GameState & {
@@ -18367,7 +19298,7 @@ export type SpacemoltFacilitySetRefuelPriceErrors = {
18367
19298
  };
18368
19299
  export type SpacemoltFacilitySetRefuelPriceResponses = {
18369
19300
  /**
18370
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19301
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18371
19302
  */
18372
19303
  200: V2Response & {
18373
19304
  structuredContent?: V2GameState & {
@@ -18403,7 +19334,7 @@ export type SpacemoltFacilitySetRepairPriceErrors = {
18403
19334
  };
18404
19335
  export type SpacemoltFacilitySetRepairPriceResponses = {
18405
19336
  /**
18406
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19337
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18407
19338
  */
18408
19339
  200: V2Response & {
18409
19340
  structuredContent?: V2GameState & {
@@ -18443,7 +19374,7 @@ export type SpacemoltFacilitySetServiceAccessErrors = {
18443
19374
  };
18444
19375
  export type SpacemoltFacilitySetServiceAccessResponses = {
18445
19376
  /**
18446
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19377
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18447
19378
  */
18448
19379
  200: V2Response & {
18449
19380
  structuredContent?: V2GameState & {
@@ -18552,7 +19483,7 @@ export type SpacemoltFacilityTransferErrors = {
18552
19483
  };
18553
19484
  export type SpacemoltFacilityTransferResponses = {
18554
19485
  /**
18555
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityTransferResponse)
19486
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityTransferResponse)
18556
19487
  */
18557
19488
  200: V2Response & {
18558
19489
  structuredContent?: V2GameState & {
@@ -18648,7 +19579,7 @@ export type SpacemoltFacilityUnbanErrors = {
18648
19579
  };
18649
19580
  export type SpacemoltFacilityUnbanResponses = {
18650
19581
  /**
18651
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (StationConfigResponse)
19582
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (StationConfigResponse)
18652
19583
  */
18653
19584
  200: V2Response & {
18654
19585
  structuredContent?: V2GameState & {
@@ -18696,7 +19627,7 @@ export type SpacemoltFacilityUpgradeErrors = {
18696
19627
  };
18697
19628
  export type SpacemoltFacilityUpgradeResponses = {
18698
19629
  /**
18699
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FacilityUpgradeResponse | FacilityFactionUpgradeResponse)
19630
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityUpgradeResponse | FacilityFactionUpgradeResponse)
18700
19631
  */
18701
19632
  200: V2Response & {
18702
19633
  structuredContent?: V2GameState & {
@@ -18803,7 +19734,7 @@ export type SpacemoltFactionAcceptInviteErrors = {
18803
19734
  };
18804
19735
  export type SpacemoltFactionAcceptInviteResponses = {
18805
19736
  /**
18806
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (JoinFactionResponse)
19737
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (JoinFactionResponse)
18807
19738
  */
18808
19739
  200: V2Response & {
18809
19740
  structuredContent?: V2GameState & {
@@ -18908,7 +19839,7 @@ export type SpacemoltFactionCancelMobileBaseJumpErrors = {
18908
19839
  };
18909
19840
  export type SpacemoltFactionCancelMobileBaseJumpResponses = {
18910
19841
  /**
18911
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FactionMobileBaseResponse)
19842
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (FactionMobileBaseResponse)
18912
19843
  */
18913
19844
  200: V2Response & {
18914
19845
  structuredContent?: V2GameState & {
@@ -18948,7 +19879,7 @@ export type SpacemoltFactionCreateErrors = {
18948
19879
  };
18949
19880
  export type SpacemoltFactionCreateResponses = {
18950
19881
  /**
18951
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CreateFactionResponse)
19882
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (CreateFactionResponse)
18952
19883
  */
18953
19884
  200: V2Response & {
18954
19885
  structuredContent?: V2GameState & {
@@ -19055,7 +19986,7 @@ export type SpacemoltFactionDecommissionMobileBaseErrors = {
19055
19986
  };
19056
19987
  export type SpacemoltFactionDecommissionMobileBaseResponses = {
19057
19988
  /**
19058
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (DecommissionMobileBaseResponse)
19989
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (DecommissionMobileBaseResponse)
19059
19990
  */
19060
19991
  200: V2Response & {
19061
19992
  structuredContent?: V2GameState & {
@@ -19330,7 +20261,7 @@ export type SpacemoltFactionInviteErrors = {
19330
20261
  };
19331
20262
  export type SpacemoltFactionInviteResponses = {
19332
20263
  /**
19333
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FactionInviteResponse)
20264
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (FactionInviteResponse)
19334
20265
  */
19335
20266
  200: V2Response & {
19336
20267
  structuredContent?: V2GameState & {
@@ -19366,7 +20297,7 @@ export type SpacemoltFactionJoinErrors = {
19366
20297
  };
19367
20298
  export type SpacemoltFactionJoinResponses = {
19368
20299
  /**
19369
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (JoinFactionResponse)
20300
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (JoinFactionResponse)
19370
20301
  */
19371
20302
  200: V2Response & {
19372
20303
  structuredContent?: V2GameState & {
@@ -19402,7 +20333,7 @@ export type SpacemoltFactionJumpMobileBaseErrors = {
19402
20333
  };
19403
20334
  export type SpacemoltFactionJumpMobileBaseResponses = {
19404
20335
  /**
19405
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FactionMobileBaseResponse)
20336
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (FactionMobileBaseResponse)
19406
20337
  */
19407
20338
  200: V2Response & {
19408
20339
  structuredContent?: V2GameState & {
@@ -19438,7 +20369,7 @@ export type SpacemoltFactionKickErrors = {
19438
20369
  };
19439
20370
  export type SpacemoltFactionKickResponses = {
19440
20371
  /**
19441
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FactionKickResponse)
20372
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (FactionKickResponse)
19442
20373
  */
19443
20374
  200: V2Response & {
19444
20375
  structuredContent?: V2GameState & {
@@ -19471,7 +20402,7 @@ export type SpacemoltFactionLeaveErrors = {
19471
20402
  };
19472
20403
  export type SpacemoltFactionLeaveResponses = {
19473
20404
  /**
19474
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (MessageResponse)
20405
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (MessageResponse)
19475
20406
  */
19476
20407
  200: V2Response & {
19477
20408
  structuredContent?: V2GameState & {
@@ -19580,7 +20511,7 @@ export type SpacemoltFactionMoveMobileBaseErrors = {
19580
20511
  };
19581
20512
  export type SpacemoltFactionMoveMobileBaseResponses = {
19582
20513
  /**
19583
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FactionMobileBaseResponse)
20514
+ * Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under `details` (FactionMobileBaseResponse)
19584
20515
  */
19585
20516
  200: V2Response & {
19586
20517
  structuredContent?: V2GameState & {
@@ -19932,7 +20863,7 @@ export type SpacemoltFactionWithdrawInviteErrors = {
19932
20863
  };
19933
20864
  export type SpacemoltFactionWithdrawInviteResponses = {
19934
20865
  /**
19935
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FactionWithdrawInviteResponse)
20866
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (FactionWithdrawInviteResponse)
19936
20867
  */
19937
20868
  200: V2Response & {
19938
20869
  structuredContent?: V2GameState & {
@@ -19987,6 +20918,10 @@ export type SpacemoltFactionAdminCreateRoleResponses = {
19987
20918
  export type SpacemoltFactionAdminCreateRoleResponse = SpacemoltFactionAdminCreateRoleResponses[keyof SpacemoltFactionAdminCreateRoleResponses];
19988
20919
  export type SpacemoltFactionAdminEditData = {
19989
20920
  body?: {
20921
+ /**
20922
+ * True to keep your members out of battles they would auto-join on an ally's behalf. They can still join with battle action=engage (default false → members auto-join to help allies).
20923
+ */
20924
+ ally_battle_opt_out?: boolean;
19990
20925
  /**
19991
20926
  * True to let allied faction members use your faction's facilities for free. Their jobs queue on excess capacity behind your own members' jobs, like any rental (default false → allies pay the public rental price, or have no access to a private facility).
19992
20927
  */
@@ -19999,6 +20934,10 @@ export type SpacemoltFactionAdminEditData = {
19999
20934
  * True to withhold your intel pool from allied factions (default false → sharing on).
20000
20935
  */
20001
20936
  ally_intel_opt_out?: boolean;
20937
+ /**
20938
+ * True to let allied faction members commission ships at your faction's station shipyards under your ship licenses. They supply the build materials from their own faction storage at the station and pay labor and royalty from their own treasury. Mobile bases stay members-only (default false → only your members build here).
20939
+ */
20940
+ ally_shipyard_access?: boolean;
20002
20941
  /**
20003
20942
  * Faction's founding document (max 4000 chars)
20004
20943
  */
@@ -20257,7 +21196,7 @@ export type SpacemoltFactionAdminPromoteErrors = {
20257
21196
  };
20258
21197
  export type SpacemoltFactionAdminPromoteResponses = {
20259
21198
  /**
20260
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FactionPromoteResponse)
21199
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (FactionPromoteResponse)
20261
21200
  */
20262
21201
  200: V2Response & {
20263
21202
  structuredContent?: V2GameState & {
@@ -20873,7 +21812,7 @@ export type SpacemoltIntelEspionageErrors = {
20873
21812
  };
20874
21813
  export type SpacemoltIntelEspionageResponses = {
20875
21814
  /**
20876
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (EspionageResponse)
21815
+ * Result. structuredContent: V2GameState post-mutation delta (changed location/queue sections); the command result is under `details` (EspionageResponse)
20877
21816
  */
20878
21817
  200: V2Response & {
20879
21818
  structuredContent?: V2GameState & {
@@ -21266,7 +22205,7 @@ export type SpacemoltMarketCancelOrderErrors = {
21266
22205
  };
21267
22206
  export type SpacemoltMarketCancelOrderResponses = {
21268
22207
  /**
21269
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CancelOrderCommandResponse)
22208
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CancelOrderCommandResponse)
21270
22209
  */
21271
22210
  200: V2Response & {
21272
22211
  structuredContent?: V2GameState & {
@@ -21323,7 +22262,7 @@ export type SpacemoltMarketCreateBuyOrderErrors = {
21323
22262
  };
21324
22263
  export type SpacemoltMarketCreateBuyOrderResponses = {
21325
22264
  /**
21326
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CreateBuyOrderCommandResponse)
22265
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CreateBuyOrderCommandResponse)
21327
22266
  */
21328
22267
  200: V2Response & {
21329
22268
  structuredContent?: V2GameState & {
@@ -21375,7 +22314,7 @@ export type SpacemoltMarketCreateSellOrderErrors = {
21375
22314
  };
21376
22315
  export type SpacemoltMarketCreateSellOrderResponses = {
21377
22316
  /**
21378
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CreateSellOrderCommandResponse)
22317
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CreateSellOrderCommandResponse)
21379
22318
  */
21380
22319
  200: V2Response & {
21381
22320
  structuredContent?: V2GameState & {
@@ -21496,7 +22435,7 @@ export type SpacemoltMarketModifyOrderErrors = {
21496
22435
  };
21497
22436
  export type SpacemoltMarketModifyOrderResponses = {
21498
22437
  /**
21499
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ModifyOrderCommandResponse)
22438
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (ModifyOrderCommandResponse)
21500
22439
  */
21501
22440
  200: V2Response & {
21502
22441
  structuredContent?: V2GameState & {
@@ -21710,7 +22649,7 @@ export type SpacemoltSalvageClaimPrizeErrors = {
21710
22649
  };
21711
22650
  export type SpacemoltSalvageClaimPrizeResponses = {
21712
22651
  /**
21713
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ClaimPrizeResponse)
22652
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/location/prize_recoveries sections); the command result is under `details` (ClaimPrizeResponse)
21714
22653
  */
21715
22654
  200: V2Response & {
21716
22655
  structuredContent?: V2GameState & {
@@ -21779,7 +22718,7 @@ export type SpacemoltSalvageInsureErrors = {
21779
22718
  };
21780
22719
  export type SpacemoltSalvageInsureResponses = {
21781
22720
  /**
21782
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (BuyInsuranceResponse)
22721
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (BuyInsuranceResponse)
21783
22722
  */
21784
22723
  200: V2Response & {
21785
22724
  structuredContent?: V2GameState & {
@@ -21827,7 +22766,7 @@ export type SpacemoltSalvageLootErrors = {
21827
22766
  };
21828
22767
  export type SpacemoltSalvageLootResponses = {
21829
22768
  /**
21830
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (LootWreckCommandResponse)
22769
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/modules/cargo/location/missions sections); the command result is under `details` (LootWreckCommandResponse)
21831
22770
  */
21832
22771
  200: V2Response & {
21833
22772
  structuredContent?: V2GameState & {
@@ -21922,7 +22861,7 @@ export type SpacemoltSalvageReleaseErrors = {
21922
22861
  };
21923
22862
  export type SpacemoltSalvageReleaseResponses = {
21924
22863
  /**
21925
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ReleaseTowResponse)
22864
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (ReleaseTowResponse)
21926
22865
  */
21927
22866
  200: V2Response & {
21928
22867
  structuredContent?: V2GameState & {
@@ -21933,7 +22872,14 @@ export type SpacemoltSalvageReleaseResponses = {
21933
22872
  export type SpacemoltSalvageReleaseResponse = SpacemoltSalvageReleaseResponses[keyof SpacemoltSalvageReleaseResponses];
21934
22873
  export type SpacemoltSalvageScrapData = {
21935
22874
  body?: {
21936
- [key: string]: unknown;
22875
+ /**
22876
+ * mode=field only: ID of a wreck at your POI (use get_wrecks). Omit to scrap the wreck you are towing.
22877
+ */
22878
+ id?: string;
22879
+ /**
22880
+ * Omit (or "yard") to scrap your towed wreck at a salvage yard. "field" scraps a wreck where it lies with an Outer Rim Salvage Array fitted.
22881
+ */
22882
+ mode?: 'yard' | 'field';
21937
22883
  };
21938
22884
  path?: never;
21939
22885
  query?: never;
@@ -21955,7 +22901,7 @@ export type SpacemoltSalvageScrapErrors = {
21955
22901
  };
21956
22902
  export type SpacemoltSalvageScrapResponses = {
21957
22903
  /**
21958
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ScrapWreckResponse)
22904
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions/skills sections); the command result is under `details` (ScrapWreckResponse)
21959
22905
  */
21960
22906
  200: V2Response & {
21961
22907
  structuredContent?: V2GameState & {
@@ -21988,7 +22934,7 @@ export type SpacemoltSalvageSellErrors = {
21988
22934
  };
21989
22935
  export type SpacemoltSalvageSellResponses = {
21990
22936
  /**
21991
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SellWreckResponse)
22937
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location/missions/skills sections); the command result is under `details` (SellWreckResponse)
21992
22938
  */
21993
22939
  200: V2Response & {
21994
22940
  structuredContent?: V2GameState & {
@@ -22040,7 +22986,7 @@ export type SpacemoltSalvageServicePrizeErrors = {
22040
22986
  };
22041
22987
  export type SpacemoltSalvageServicePrizeResponses = {
22042
22988
  /**
22043
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (PrizeServiceResponse)
22989
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/missions/prize_recoveries sections); the command result is under `details` (PrizeServiceResponse)
22044
22990
  */
22045
22991
  200: V2Response & {
22046
22992
  structuredContent?: V2GameState & {
@@ -22076,7 +23022,7 @@ export type SpacemoltSalvageSetHomeErrors = {
22076
23022
  };
22077
23023
  export type SpacemoltSalvageSetHomeResponses = {
22078
23024
  /**
22079
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SetHomeBaseResponse)
23025
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (SetHomeBaseResponse)
22080
23026
  */
22081
23027
  200: V2Response & {
22082
23028
  structuredContent?: V2GameState & {
@@ -22112,7 +23058,7 @@ export type SpacemoltSalvageTowErrors = {
22112
23058
  };
22113
23059
  export type SpacemoltSalvageTowResponses = {
22114
23060
  /**
22115
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (TowWreckResponse)
23061
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (TowWreckResponse)
22116
23062
  */
22117
23063
  200: V2Response & {
22118
23064
  structuredContent?: V2GameState & {
@@ -22221,7 +23167,7 @@ export type SpacemoltShipBuyListedShipErrors = {
22221
23167
  };
22222
23168
  export type SpacemoltShipBuyListedShipResponses = {
22223
23169
  /**
22224
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (BuyListedShipResponse)
23170
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/modules/cargo/location/missions sections); the command result is under `details` (BuyListedShipResponse)
22225
23171
  */
22226
23172
  200: V2Response & {
22227
23173
  structuredContent?: V2GameState & {
@@ -22257,7 +23203,7 @@ export type SpacemoltShipCancelCommissionErrors = {
22257
23203
  };
22258
23204
  export type SpacemoltShipCancelCommissionResponses = {
22259
23205
  /**
22260
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CancelCommissionResponse)
23206
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (CancelCommissionResponse)
22261
23207
  */
22262
23208
  200: V2Response & {
22263
23209
  structuredContent?: V2GameState & {
@@ -22293,7 +23239,7 @@ export type SpacemoltShipCancelShipBuyOrderErrors = {
22293
23239
  };
22294
23240
  export type SpacemoltShipCancelShipBuyOrderResponses = {
22295
23241
  /**
22296
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CancelShipBuyOrderResponse)
23242
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (CancelShipBuyOrderResponse)
22297
23243
  */
22298
23244
  200: V2Response & {
22299
23245
  structuredContent?: V2GameState & {
@@ -22387,7 +23333,7 @@ export type SpacemoltShipCommissionShipData = {
22387
23333
  */
22388
23334
  bare_hull?: boolean;
22389
23335
  /**
22390
- * At your own faction's station: build from faction storage and treasury (requires ManageTreasury). Required there; credits-only and provide_materials are rejected.
23336
+ * At your own faction's station, or an allied station that shares its shipyard (ally_shipyard_access): build from your faction's storage and treasury (requires ManageTreasury). Required there; credits-only and provide_materials are rejected.
22391
23337
  */
22392
23338
  fund_from_faction?: boolean;
22393
23339
  /**
@@ -22423,7 +23369,7 @@ export type SpacemoltShipCommissionShipErrors = {
22423
23369
  };
22424
23370
  export type SpacemoltShipCommissionShipResponses = {
22425
23371
  /**
22426
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (CommissionShipResponse)
23372
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CommissionShipResponse)
22427
23373
  */
22428
23374
  200: V2Response & {
22429
23375
  structuredContent?: V2GameState & {
@@ -22497,7 +23443,7 @@ export type SpacemoltShipFactionPersonnelErrors = {
22497
23443
  };
22498
23444
  export type SpacemoltShipFactionPersonnelResponses = {
22499
23445
  /**
22500
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (FactionPersonnelResponse)
23446
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/location sections); the command result is under `details` (FactionPersonnelResponse)
22501
23447
  */
22502
23448
  200: V2Response & {
22503
23449
  structuredContent?: V2GameState & {
@@ -22506,6 +23452,42 @@ export type SpacemoltShipFactionPersonnelResponses = {
22506
23452
  };
22507
23453
  };
22508
23454
  export type SpacemoltShipFactionPersonnelResponse = SpacemoltShipFactionPersonnelResponses[keyof SpacemoltShipFactionPersonnelResponses];
23455
+ export type SpacemoltShipGeneratorData = {
23456
+ body?: {
23457
+ /**
23458
+ * True to end the link. Omit or false to connect, or to restart the link timer.
23459
+ */
23460
+ disconnect?: boolean;
23461
+ };
23462
+ path?: never;
23463
+ query?: never;
23464
+ url: '/api/v2/spacemolt_ship/generator';
23465
+ };
23466
+ export type SpacemoltShipGeneratorErrors = {
23467
+ /**
23468
+ * Bad request — invalid params, unknown command, or game error
23469
+ */
23470
+ 400: unknown;
23471
+ /**
23472
+ * Not authenticated — missing or invalid session
23473
+ */
23474
+ 401: unknown;
23475
+ /**
23476
+ * Rate limited — mutations allow 1 per tick (10 seconds)
23477
+ */
23478
+ 429: unknown;
23479
+ };
23480
+ export type SpacemoltShipGeneratorResponses = {
23481
+ /**
23482
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/location sections); the command result is under `details` (GeneratorResponse)
23483
+ */
23484
+ 200: V2Response & {
23485
+ structuredContent?: V2GameState & {
23486
+ details?: GeneratorResponse;
23487
+ };
23488
+ };
23489
+ };
23490
+ export type SpacemoltShipGeneratorResponse = SpacemoltShipGeneratorResponses[keyof SpacemoltShipGeneratorResponses];
22509
23491
  export type SpacemoltShipHelpData = {
22510
23492
  body?: never;
22511
23493
  path?: never;
@@ -22573,7 +23555,7 @@ export type SpacemoltShipListShipForSaleErrors = {
22573
23555
  };
22574
23556
  export type SpacemoltShipListShipForSaleResponses = {
22575
23557
  /**
22576
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ListShipForSaleResponse)
23558
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (ListShipForSaleResponse)
22577
23559
  */
22578
23560
  200: V2Response & {
22579
23561
  structuredContent?: V2GameState & {
@@ -22644,7 +23626,7 @@ export type SpacemoltShipPlaceShipBuyOrderErrors = {
22644
23626
  };
22645
23627
  export type SpacemoltShipPlaceShipBuyOrderResponses = {
22646
23628
  /**
22647
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (PlaceShipBuyOrderResponse)
23629
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (PlaceShipBuyOrderResponse)
22648
23630
  */
22649
23631
  200: V2Response & {
22650
23632
  structuredContent?: V2GameState & {
@@ -22684,7 +23666,7 @@ export type SpacemoltShipRecruitPersonnelErrors = {
22684
23666
  };
22685
23667
  export type SpacemoltShipRecruitPersonnelResponses = {
22686
23668
  /**
22687
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (RecruitPersonnelResponse)
23669
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/location sections); the command result is under `details` (RecruitPersonnelResponse)
22688
23670
  */
22689
23671
  200: V2Response & {
22690
23672
  structuredContent?: V2GameState & {
@@ -22717,7 +23699,7 @@ export type SpacemoltShipRefitShipErrors = {
22717
23699
  };
22718
23700
  export type SpacemoltShipRefitShipResponses = {
22719
23701
  /**
22720
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (RefitShipResponse)
23702
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/modules/cargo/location/missions sections); the command result is under `details` (RefitShipResponse)
22721
23703
  */
22722
23704
  200: V2Response & {
22723
23705
  structuredContent?: V2GameState & {
@@ -22753,7 +23735,7 @@ export type SpacemoltShipRenameShipErrors = {
22753
23735
  };
22754
23736
  export type SpacemoltShipRenameShipResponses = {
22755
23737
  /**
22756
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (NameShipResponse)
23738
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship sections); the command result is under `details` (NameShipResponse)
22757
23739
  */
22758
23740
  200: V2Response & {
22759
23741
  structuredContent?: V2GameState & {
@@ -22789,7 +23771,7 @@ export type SpacemoltShipScrapShipErrors = {
22789
23771
  };
22790
23772
  export type SpacemoltShipScrapShipResponses = {
22791
23773
  /**
22792
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ScrapShipResponse)
23774
+ * Result. structuredContent: V2GameState post-mutation delta (changed player sections); the command result is under `details` (ScrapShipResponse)
22793
23775
  */
22794
23776
  200: V2Response & {
22795
23777
  structuredContent?: V2GameState & {
@@ -22829,7 +23811,7 @@ export type SpacemoltShipSellShipToOrderErrors = {
22829
23811
  };
22830
23812
  export type SpacemoltShipSellShipToOrderResponses = {
22831
23813
  /**
22832
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SellShipToOrderResponse)
23814
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under `details` (SellShipToOrderResponse)
22833
23815
  */
22834
23816
  200: V2Response & {
22835
23817
  structuredContent?: V2GameState & {
@@ -22873,7 +23855,7 @@ export type SpacemoltShipSupplyCommissionErrors = {
22873
23855
  };
22874
23856
  export type SpacemoltShipSupplyCommissionResponses = {
22875
23857
  /**
22876
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SupplyCommissionResponse)
23858
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (SupplyCommissionResponse)
22877
23859
  */
22878
23860
  200: V2Response & {
22879
23861
  structuredContent?: V2GameState & {
@@ -22885,7 +23867,7 @@ export type SpacemoltShipSupplyCommissionResponse = SpacemoltShipSupplyCommissio
22885
23867
  export type SpacemoltShipSwitchShipData = {
22886
23868
  body?: {
22887
23869
  /**
22888
- * ID of the ship to switch to (must be stored at current station, use list_ships to see your fleet)
23870
+ * ID of the ship to switch to (use list_ships to see your fleet): a ship stored at your station, or, while undocked at the same POI as a faction-mate flying a carrier, your ship in their bay, which swaps in one step with no shipyard
22889
23871
  */
22890
23872
  id: string;
22891
23873
  };
@@ -22909,7 +23891,7 @@ export type SpacemoltShipSwitchShipErrors = {
22909
23891
  };
22910
23892
  export type SpacemoltShipSwitchShipResponses = {
22911
23893
  /**
22912
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (SwitchShipResponse)
23894
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/modules/cargo/location/missions sections); the command result is under `details` (SwitchShipResponse)
22913
23895
  */
22914
23896
  200: V2Response & {
22915
23897
  structuredContent?: V2GameState & {
@@ -22949,7 +23931,7 @@ export type SpacemoltShipTransferPersonnelErrors = {
22949
23931
  };
22950
23932
  export type SpacemoltShipTransferPersonnelResponses = {
22951
23933
  /**
22952
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (TransferPersonnelResponse)
23934
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship sections); the command result is under `details` (TransferPersonnelResponse)
22953
23935
  */
22954
23936
  200: V2Response & {
22955
23937
  structuredContent?: V2GameState & {
@@ -23001,7 +23983,7 @@ export type SpacemoltShipTreatPersonnelErrors = {
23001
23983
  };
23002
23984
  export type SpacemoltShipTreatPersonnelResponses = {
23003
23985
  /**
23004
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (TreatPersonnelResponse)
23986
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (TreatPersonnelResponse)
23005
23987
  */
23006
23988
  200: V2Response & {
23007
23989
  structuredContent?: V2GameState & {
@@ -23072,7 +24054,7 @@ export type SpacemoltShippingAcceptErrors = {
23072
24054
  };
23073
24055
  export type SpacemoltShippingAcceptResponses = {
23074
24056
  /**
23075
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ShippingContractResponse)
24057
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (ShippingContractResponse)
23076
24058
  */
23077
24059
  200: V2Response & {
23078
24060
  structuredContent?: V2GameState & {
@@ -23139,7 +24121,7 @@ export type SpacemoltShippingCancelErrors = {
23139
24121
  };
23140
24122
  export type SpacemoltShippingCancelResponses = {
23141
24123
  /**
23142
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ShippingSettlementResponse)
24124
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (ShippingSettlementResponse)
23143
24125
  */
23144
24126
  200: V2Response & {
23145
24127
  structuredContent?: V2GameState & {
@@ -23179,7 +24161,7 @@ export type SpacemoltShippingDeliverErrors = {
23179
24161
  };
23180
24162
  export type SpacemoltShippingDeliverResponses = {
23181
24163
  /**
23182
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ShippingSettlementResponse)
24164
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (ShippingSettlementResponse)
23183
24165
  */
23184
24166
  200: V2Response & {
23185
24167
  structuredContent?: V2GameState & {
@@ -23351,7 +24333,7 @@ export type SpacemoltShippingPayDebtErrors = {
23351
24333
  };
23352
24334
  export type SpacemoltShippingPayDebtResponses = {
23353
24335
  /**
23354
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ShippingDebtPaymentResponse)
24336
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (ShippingDebtPaymentResponse)
23355
24337
  */
23356
24338
  200: V2Response & {
23357
24339
  structuredContent?: V2GameState & {
@@ -23443,7 +24425,7 @@ export type SpacemoltShippingPostErrors = {
23443
24425
  };
23444
24426
  export type SpacemoltShippingPostResponses = {
23445
24427
  /**
23446
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ShippingContractResponse)
24428
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (ShippingContractResponse)
23447
24429
  */
23448
24430
  200: V2Response & {
23449
24431
  structuredContent?: V2GameState & {
@@ -23603,7 +24585,7 @@ export type SpacemoltShippingReturnErrors = {
23603
24585
  };
23604
24586
  export type SpacemoltShippingReturnResponses = {
23605
24587
  /**
23606
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (ShippingSettlementResponse)
24588
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (ShippingSettlementResponse)
23607
24589
  */
23608
24590
  200: V2Response & {
23609
24591
  structuredContent?: V2GameState & {
@@ -24656,7 +25638,7 @@ export type SpacemoltSocialSetStatusData = {
24656
25638
  */
24657
25639
  clan_tag?: string;
24658
25640
  /**
24659
- * Status message
25641
+ * Status message (max 64 chars)
24660
25642
  */
24661
25643
  content?: string;
24662
25644
  };
@@ -24770,7 +25752,7 @@ export type SpacemoltStorageDepositData = {
24770
25752
  */
24771
25753
  bucket?: string;
24772
25754
  /**
24773
- * For 'deposit' with target=<player name/id>: the amount of credits to gift that player. (Faction credit deposits use item_id='credits' with quantity instead.)
25755
+ * For 'deposit': credits to gift a player, to donate to an empire, a station:<id> or a pirate:<crew>, or to repay your debt with target=fixer:tab. (Faction credit deposits use item_id='credits' with quantity instead.)
24774
25756
  */
24775
25757
  credits?: number;
24776
25758
  /**
@@ -24778,18 +25760,18 @@ export type SpacemoltStorageDepositData = {
24778
25760
  */
24779
25761
  dest_bucket?: string;
24780
25762
  /**
24781
- * Item ID for normal item transfers, 'credits' for credit operations (faction or fixer:tab target), or a stored ship instance UUID for ship operations: target=self loads/unloads the ship into your active carrier's bay, or — if your active ship is a non-carrier with a tow rig fitted — attaches/releases it as a tow (its class scale must be no larger than your active ship's), and target=<player_name> on a deposit gifts the ship (triggers gift_ship action). Use list_ships to find ship instance IDs.
25763
+ * Item ID for normal item transfers, 'credits' for credit operations (faction or fixer:tab target), or a stored ship instance UUID for ship operations: target=self loads/unloads the ship into your active carrier's bay, or — if your active ship is a non-carrier with a tow rig fitted — attaches/releases it as a tow (its class scale must be no larger than your active ship's), target=carrier:<pilot name> on a deposit loads it into a faction-mate's carrier bay, a withdraw by the ship's owner or the carrier's owner unloads a bay ship at the carrier's station, target=<player_name> on a deposit gifts the ship (triggers gift_ship action; a ship in a carrier bay can be gifted while its carrier is at a station and stays in the bay), target=station:<base ID> on a deposit gives it to that pirate stronghold while you and the ship are docked there (also gift_ship; a boss's stolen flagship can be sent to any pirate stronghold from any station), and an empire alias on a deposit donates it to that empire (empire_gift_ship). Use list_ships to find ship instance IDs.
24782
25764
  */
24783
25765
  item_id?: string;
24784
25766
  /**
24785
- * Bulk deposit/withdraw: array of {item_id, quantity} objects moved in a single action (one write) instead of one per tick. Items only. Honors target/source like single-item (cargo↔personal, cargo↔faction, personal↔faction transfers, gifts). Omit item_id/quantity when using this. The response reports per-item success/failure.
25767
+ * Bulk deposit/withdraw: array of {item_id, quantity} objects moved in a single action (one write) instead of one per tick. Items only. Honors target/source like single-item (cargo↔personal, cargo↔faction, personal↔faction transfers, gifts); not accepted for target=fixer:tab (invalid_payload). Omit item_id/quantity when using this. The response reports per-item success/failure.
24786
25768
  */
24787
25769
  items?: Array<{
24788
25770
  item_id: string;
24789
25771
  quantity: number;
24790
25772
  }>;
24791
25773
  /**
24792
- * Optional message when gifting to another player
25774
+ * Optional message with a gift or donation
24793
25775
  */
24794
25776
  message?: string;
24795
25777
  /**
@@ -24801,7 +25783,7 @@ export type SpacemoltStorageDepositData = {
24801
25783
  */
24802
25784
  source?: string;
24803
25785
  /**
24804
- * Target: self, faction, faction:TAG, empire alias, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item donations via deposit only, including bulk items; dock at that managed NPC empire station. No credits, ships, packages, or quest items. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.
25786
+ * Target: self, faction, faction:TAG, empire alias, pirate:<crew>, carrier:<pilot name>, player name/ID, or station:<base-or-POI-ID>. carrier:<pilot name> on a deposit loads your parked ship into that faction-mate's carrier bay while the pilot flies the carrier docked at your station; you keep ownership. Station targets accept optional unpaid item or credit donations via deposit only, including bulk items; dock at that managed NPC empire station or pirate stronghold. No packages or quest items, and ships only to a pirate stronghold. Credits to an empire or pirate:<crew> can be wired from anywhere. Gifts to empires, NPC empire stations and pirate crews earn standing weighted by what the recipient needs; the response's goodwill field and a private reply report the result. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.
24805
25787
  */
24806
25788
  target?: string;
24807
25789
  };
@@ -24825,7 +25807,7 @@ export type SpacemoltStorageDepositErrors = {
24825
25807
  };
24826
25808
  export type SpacemoltStorageDepositResponses = {
24827
25809
  /**
24828
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (DepositItemsResponse | FactionGarageStoreResponse | TransferItemsResponse | TransferCreditsResponse | SendGiftResponse | GiftShipResponse | FactionGiftResponse | EmpireGiftResponse | FactionDepositItemsResponse | FactionDepositCreditsResponse | FactionDepositFuelResponse | BulkStorageResponse)
25810
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (DepositItemsResponse | FactionGarageStoreResponse | TransferItemsResponse | TransferCreditsResponse | SendGiftResponse | GiftShipResponse | FactionGiftResponse | EmpireGiftResponse | FactionDepositItemsResponse | FactionDepositCreditsResponse | FactionDepositFuelResponse | BulkStorageResponse)
24829
25811
  */
24830
25812
  200: V2Response & {
24831
25813
  structuredContent?: V2GameState & {
@@ -24877,7 +25859,7 @@ export type SpacemoltStorageJettisonData = {
24877
25859
  */
24878
25860
  item_id?: string;
24879
25861
  /**
24880
- * Bulk mode: array of cargo items to dump in one action (max 100), all into one container. Each entry needs item_id and quantity. When provided, the top-level item_id/quantity are ignored.
25862
+ * Bulk mode: array of cargo items to dump in one action (max 100). Each entry needs item_id and quantity; omit the mutually exclusive top-level item_id/quantity. At a POI, eligible liquids convert in complete batches and incomplete batches dissipate. Recoverable output enters one container; an action with no recoverable output creates no container. Mid-flight cargo is lost.
24881
25863
  */
24882
25864
  items?: Array<{
24883
25865
  item_id: string;
@@ -24908,7 +25890,7 @@ export type SpacemoltStorageJettisonErrors = {
24908
25890
  };
24909
25891
  export type SpacemoltStorageJettisonResponses = {
24910
25892
  /**
24911
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (JettisonCommandResponse)
25893
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/missions sections); the command result is under `details` (JettisonCommandResponse)
24912
25894
  */
24913
25895
  200: V2Response & {
24914
25896
  structuredContent?: V2GameState & {
@@ -24956,7 +25938,7 @@ export type SpacemoltStorageLootErrors = {
24956
25938
  };
24957
25939
  export type SpacemoltStorageLootResponses = {
24958
25940
  /**
24959
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (LootWreckCommandResponse)
25941
+ * Result. structuredContent: V2GameState post-mutation delta (changed ship/modules/cargo/location/missions sections); the command result is under `details` (LootWreckCommandResponse)
24960
25942
  */
24961
25943
  200: V2Response & {
24962
25944
  structuredContent?: V2GameState & {
@@ -24972,7 +25954,7 @@ export type SpacemoltStorageViewData = {
24972
25954
  */
24973
25955
  station_id?: string;
24974
25956
  /**
24975
- * Target: self, faction, faction:TAG, empire alias, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item donations via deposit only, including bulk items; dock at that managed NPC empire station. No credits, ships, packages, or quest items. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.
25957
+ * Target: self, faction, faction:TAG, empire alias, pirate:<crew>, carrier:<pilot name>, player name/ID, or station:<base-or-POI-ID>. carrier:<pilot name> on a deposit loads your parked ship into that faction-mate's carrier bay while the pilot flies the carrier docked at your station; you keep ownership. Station targets accept optional unpaid item or credit donations via deposit only, including bulk items; dock at that managed NPC empire station or pirate stronghold. No packages or quest items, and ships only to a pirate stronghold. Credits to an empire or pirate:<crew> can be wired from anywhere. Gifts to empires, NPC empire stations and pirate crews earn standing weighted by what the recipient needs; the response's goodwill field and a private reply report the result. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.
24976
25958
  */
24977
25959
  target?: string;
24978
25960
  };
@@ -25018,11 +26000,11 @@ export type SpacemoltStorageWithdrawData = {
25018
26000
  */
25019
26001
  dest_bucket?: string;
25020
26002
  /**
25021
- * Item ID for normal item transfers, 'credits' for credit operations (faction or fixer:tab target), or a stored ship instance UUID for ship operations: target=self loads/unloads the ship into your active carrier's bay, or — if your active ship is a non-carrier with a tow rig fitted — attaches/releases it as a tow (its class scale must be no larger than your active ship's), and target=<player_name> on a deposit gifts the ship (triggers gift_ship action). Use list_ships to find ship instance IDs.
26003
+ * Item ID for normal item transfers, 'credits' for credit operations (faction or fixer:tab target), or a stored ship instance UUID for ship operations: target=self loads/unloads the ship into your active carrier's bay, or — if your active ship is a non-carrier with a tow rig fitted — attaches/releases it as a tow (its class scale must be no larger than your active ship's), target=carrier:<pilot name> on a deposit loads it into a faction-mate's carrier bay, a withdraw by the ship's owner or the carrier's owner unloads a bay ship at the carrier's station, target=<player_name> on a deposit gifts the ship (triggers gift_ship action; a ship in a carrier bay can be gifted while its carrier is at a station and stays in the bay), target=station:<base ID> on a deposit gives it to that pirate stronghold while you and the ship are docked there (also gift_ship; a boss's stolen flagship can be sent to any pirate stronghold from any station), and an empire alias on a deposit donates it to that empire (empire_gift_ship). Use list_ships to find ship instance IDs.
25022
26004
  */
25023
26005
  item_id?: string;
25024
26006
  /**
25025
- * Bulk deposit/withdraw: array of {item_id, quantity} objects moved in a single action (one write) instead of one per tick. Items only. Honors target/source like single-item (cargo↔personal, cargo↔faction, personal↔faction transfers, gifts). Omit item_id/quantity when using this. The response reports per-item success/failure.
26007
+ * Bulk deposit/withdraw: array of {item_id, quantity} objects moved in a single action (one write) instead of one per tick. Items only. Honors target/source like single-item (cargo↔personal, cargo↔faction, personal↔faction transfers, gifts); not accepted for target=fixer:tab (invalid_payload). Omit item_id/quantity when using this. The response reports per-item success/failure.
25026
26008
  */
25027
26009
  items?: Array<{
25028
26010
  item_id: string;
@@ -25037,7 +26019,7 @@ export type SpacemoltStorageWithdrawData = {
25037
26019
  */
25038
26020
  source?: string;
25039
26021
  /**
25040
- * Target: self, faction, faction:TAG, empire alias, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item donations via deposit only, including bulk items; dock at that managed NPC empire station. No credits, ships, packages, or quest items. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.
26022
+ * Target: self, faction, faction:TAG, empire alias, pirate:<crew>, carrier:<pilot name>, player name/ID, or station:<base-or-POI-ID>. carrier:<pilot name> on a deposit loads your parked ship into that faction-mate's carrier bay while the pilot flies the carrier docked at your station; you keep ownership. Station targets accept optional unpaid item or credit donations via deposit only, including bulk items; dock at that managed NPC empire station or pirate stronghold. No packages or quest items, and ships only to a pirate stronghold. Credits to an empire or pirate:<crew> can be wired from anywhere. Gifts to empires, NPC empire stations and pirate crews earn standing weighted by what the recipient needs; the response's goodwill field and a private reply report the result. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.
25041
26023
  */
25042
26024
  target?: string;
25043
26025
  };
@@ -25061,7 +26043,7 @@ export type SpacemoltStorageWithdrawErrors = {
25061
26043
  };
25062
26044
  export type SpacemoltStorageWithdrawResponses = {
25063
26045
  /**
25064
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse)
26046
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse)
25065
26047
  */
25066
26048
  200: V2Response & {
25067
26049
  structuredContent?: V2GameState & {
@@ -25164,7 +26146,7 @@ export type SpacemoltTransferTradeAcceptErrors = {
25164
26146
  };
25165
26147
  export type SpacemoltTransferTradeAcceptResponses = {
25166
26148
  /**
25167
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (TradeAcceptResponse)
26149
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions sections); the command result is under `details` (TradeAcceptResponse)
25168
26150
  */
25169
26151
  200: V2Response & {
25170
26152
  structuredContent?: V2GameState & {
@@ -25243,6 +26225,14 @@ export type SpacemoltTransferTradeDeclineResponses = {
25243
26225
  export type SpacemoltTransferTradeDeclineResponse = SpacemoltTransferTradeDeclineResponses[keyof SpacemoltTransferTradeDeclineResponses];
25244
26226
  export type SpacemoltTransferTradeOfferData = {
25245
26227
  body?: {
26228
+ /**
26229
+ * Optional; needs offer_safe_passage. true holds the target with your fitted warp scrambler while the toll stands. Setting hold=true is a crime in empire space and a hostile act everywhere: the target and their faction will treat it as one. The target must be undocked at your POI and hold no grant of safe passage that binds you. You can hold the same pilot once per 360 ticks. If the target's warp stabilization is at least your scramble power, the offer goes out with no hold (hold_cancelled in the response). While held, their jump and travel wait, and dock, emergency warps, self-destruct, fleet create/accept/board, hunt, arena and other fights are refused. They can still trade, chat, cloak and attack you lawfully. The hold ends when they pay; 2 ticks after the toll is declined, cancelled or expires; when you queue any command but scan, trade_offer, attack or reload; when you leave, dock or die; or when you two fight.
26230
+ */
26231
+ hold?: boolean;
26232
+ /**
26233
+ * Optional note shown to the target with the offer and in get_trades, e.g. your terms. Up to 500 characters; blank means no note.
26234
+ */
26235
+ note?: string;
25246
26236
  /**
25247
26237
  * Credits you GIVE (optional)
25248
26238
  */
@@ -25255,7 +26245,11 @@ export type SpacemoltTransferTradeOfferData = {
25255
26245
  quantity?: number;
25256
26246
  }>;
25257
26247
  /**
25258
- * Credits you WANT in return (optional)
26248
+ * Optional. true makes the offer a toll: request_credits buys the target a grant of safe passage from your faction (or you alone if you have no faction). For 2160 ticks after acceptance, pilots it binds cannot attack, target or board the target. Set request_credits above 0 and offer and request nothing else; not with station_id. Accepting pays what the target has, up to request_credits. The offer expires 30 ticks after you send it. Any player can sell one. A toll without hold is an ordinary trade and no crime.
26249
+ */
26250
+ offer_safe_passage?: boolean;
26251
+ /**
26252
+ * Credits you WANT in return (optional). Station sales charge the buyer faction treasury.
25259
26253
  */
25260
26254
  request_credits?: number;
25261
26255
  /**
@@ -25265,6 +26259,10 @@ export type SpacemoltTransferTradeOfferData = {
25265
26259
  item_id?: string;
25266
26260
  quantity?: number;
25267
26261
  }>;
26262
+ /**
26263
+ * Optional exact Base ID of an assembled stationary faction station or outpost. Leaders only. Includes seller-faction facilities and storage at acceptance. request_credits is paid between faction treasuries. No items or offer_credits. Seller must already hold 4000000 credits for 1000000 labor plus 3000000 tax.
26264
+ */
26265
+ station_id?: string;
25268
26266
  /**
25269
26267
  * Player ID or username to trade with
25270
26268
  */
@@ -25290,7 +26288,7 @@ export type SpacemoltTransferTradeOfferErrors = {
25290
26288
  };
25291
26289
  export type SpacemoltTransferTradeOfferResponses = {
25292
26290
  /**
25293
- * Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under `details` (TradeOfferResponse)
26291
+ * Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions sections); the command result is under `details` (TradeOfferResponse)
25294
26292
  */
25295
26293
  200: V2Response & {
25296
26294
  structuredContent?: V2GameState & {