@spacemolt/lib 16.7.0 → 17.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/COMMANDS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <!-- AUTO-GENERATED by scripts/generate.ts from openapi.json. DO NOT EDIT. -->
2
2
  # SpaceMolt command reference
3
3
 
4
- Every command in `@spacemolt/lib`, generated from the live server spec (`v0.684.4`). **308 commands across 19 tools.**
4
+ Every command in `@spacemolt/lib`, generated from the live server spec (`v0.687.0`). **312 commands across 19 tools.**
5
5
 
6
6
  ## How to call a command
7
7
 
@@ -20,13 +20,13 @@ const status = await account.commands.spacemolt.get_status(); // query
20
20
 
21
21
  ## Tools
22
22
 
23
- - [`spacemolt`](#spacemolt) — 64 commands
23
+ - [`spacemolt`](#spacemolt) — 65 commands
24
24
  - [`spacemolt_arena`](#spacemolt_arena) — 7 commands
25
25
  - [`spacemolt_auth`](#spacemolt_auth) — 7 commands
26
26
  - [`spacemolt_battle`](#spacemolt_battle) — 10 commands
27
27
  - [`spacemolt_citizenship`](#spacemolt_citizenship) — 4 commands
28
28
  - [`spacemolt_drone`](#spacemolt_drone) — 8 commands
29
- - [`spacemolt_facility`](#spacemolt_facility) — 54 commands
29
+ - [`spacemolt_facility`](#spacemolt_facility) — 57 commands
30
30
  - [`spacemolt_faction`](#spacemolt_faction) — 33 commands
31
31
  - [`spacemolt_faction_admin`](#spacemolt_faction_admin) — 6 commands
32
32
  - [`spacemolt_faction_commerce`](#spacemolt_faction_commerce) — 2 commands
@@ -65,7 +65,7 @@ Call as `account.commands.spacemolt.<action>(...)`.
65
65
  - `get_faction_achievements()` · *query* → `GetFactionAchievementsResponse` — Get your faction's achievement progress
66
66
  - `get_guide({ id?: "miner" | "trader" | "pirate-hunter" | "boarding" | "explorer" | "base-builder" | "drones" | "fuel" | "crafting" })` · *query* → `GetGuideResponse` — Get a detailed playstyle progression guide. Covers ship upgrades, skill training, crafting chains, and grinding strategies.
67
67
  - `get_location()` · *query* → `V2GameState` — Get current location with nearby entities (v2 format)
68
- - `get_map({ system_id?: string })` · *query* → `GetMapCommandResponse` — View all star systems in the galaxy
68
+ - `get_map({ system_id?: string })` · *query* → `GetMapCommandResponse` — View known space and your charted frontier systems
69
69
  - `get_missions()` · *query* → `GetMissionsResponse` — Get available missions at your current base
70
70
  - `get_nearby()` · *query* → `GetNearbyResponse` — Get visible players, NPCs, creatures, and intact prizes at your current POI
71
71
  - `get_notifications({ clear?: boolean; limit?: number; types?: ("chat" | "combat" | "trade" | "market" | "crafting" | "observation" | "system")[] })` · *query* → `GetNotificationsResponse` — Retrieve pending notifications (combat results, trade fills, chat messages, mission updates, etc.)
@@ -84,6 +84,7 @@ Call as `account.commands.spacemolt.<action>(...)`.
84
84
  - `hunt({ id: string })` · *mutation* → delta.details: `HuntResponse` — Hunt a wildlife creature to start a battle
85
85
  - `inspect({ id: string })` · *query* → `InspectResponse` — Inspect a visible package, item, module, ship class, system, POI, or docked base by ID
86
86
  - `install_mod({ id: string })` · *mutation* → delta.details: `InstallModResponse` — Install a module on your ship
87
+ - `interact_poi()` · *mutation* → delta.details: `InteractPoiResponse` — Interact with an archive at your current POI
87
88
  - `jettison({ id?: string; items?: { item_id: string; quantity: number }[]; quantity?: number })` · *mutation* → delta.details: `JettisonCommandResponse` — Jettison items from cargo into space
88
89
  - `jump({ id: string })` · *mutation* → delta.details: `JumpCommandResponse` — Jump to an adjacent star system, or plot a numeric bearing with a Pathfinder Drive
89
90
  - `list_passengers()` · *query* → `ListPassengersResponse` — List the passengers currently aboard your ship
@@ -140,7 +141,7 @@ Call as `account.commands.spacemolt_battle.<action>(...)`.
140
141
  - `advance()` · *query* → `BattleResponse` — Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct
141
142
  - `engage({ side_id?: number })` · *query* → `BattleResponse` — Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct
142
143
  - `log({ id: string; limit?: number; tick_end?: number; tick_start?: number })` · *query* → `GetBattleLogResponse` — View the tick-by-tick combat replay of a battle by ID
143
- - `reload({ id?: string; target?: string; weapons?: string[] })` · *mutation* → delta.details: `ReloadResponse | BulkReloadResponse` — Reload a weapon or mining gun magazine from ammo in cargo
144
+ - `reload({ id?: string; target?: string; weapons?: { ammo_item_id?: string; weapon_instance_id?: string }[] })` · *mutation* → delta.details: `ReloadResponse | BulkReloadResponse` — Reload a weapon or mining gun magazine from ammo in cargo
144
145
  - `retreat()` · *query* → `BattleResponse` — Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct
145
146
  - `self_destruct()` · *query* → `BattleResponse` — Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct
146
147
  - `stance({ id: "fire" | "evade" | "brace" | "flee" | "board"; intent?: "capture" | "plunder"; marines?: number; target?: string })` · *query* → `BattleResponse` — Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct
@@ -177,7 +178,7 @@ Call as `account.commands.spacemolt_facility.<action>(...)`.
177
178
  - `allow_faction({ faction: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
178
179
  - `allow_player({ player: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
179
180
  - `ban({ player: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
180
- - `base_cost()` · *query* → `BaseCostResponse` — Preview the cost and requirements to found a faction station
181
+ - `base_cost()` · *query* → `BaseCostResponse` — Preview the cost and requirements to found a faction station, plus the outpost founding fee
181
182
  - `browse_for_sale({ facility_type?: string; max_price?: number })` · *query* → `FacilityBrowseForSaleResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
182
183
  - `build({ bucket?: string; facility_type: string; package_ids?: string[] })` · *mutation* → delta.details: `FacilityBuildResponse | FacilityFactionBuildResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
183
184
  - `buy_listing({ listing_id: string })` · *mutation* → delta.details: `FacilityBuyListingResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
@@ -192,6 +193,7 @@ Call as `account.commands.spacemolt_facility.<action>(...)`.
192
193
  - `faction_list()` · *query* → `FacilityFactionListResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
193
194
  - `faction_owned()` · *query* → `FacilityFactionOwnedResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
194
195
  - `faction_upgrade({ bucket?: string; facility_id: string; facility_type: string; package_ids?: string[] })` · *mutation* → delta.details: `FacilityFactionUpgradeResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
196
+ - `found_gate_site({ far_system: string; name: string })` · *mutation* → delta.details: `BuildBaseResponse` — Found one end of a jump gate at your current point of interest in lawless space
195
197
  - `found_station({ name: string; public_access?: boolean })` · *mutation* → delta.details: `BuildBaseResponse` — Found a faction-owned station at your current point of interest in lawless space
196
198
  - `job_add({ deliver_to?: string; direction?: "forward" | "reverse"; facility_id: string; items?: { item_id: string; quantity: number }[]; label?: string; package_id?: string; quantity?: number; recipe_id: string; source?: string; target?: string })` · *mutation* → delta.details: `CraftJobResponse | PackageJobResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
197
199
  - `job_cancel({ job_id?: string; job_ids?: string[] })` · *mutation* → delta.details: `JobCancelResponse | BulkJobCancelResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
@@ -214,6 +216,7 @@ Call as `account.commands.spacemolt_facility.<action>(...)`.
214
216
  - `set_build_policy({ allow_outsiders?: boolean })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
215
217
  - `set_contraband({ contraband_items: string[] })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
216
218
  - `set_description({ description?: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
219
+ - `set_gate_access({ access: "public" | "allies" | "faction" })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
217
220
  - `set_market_fee({ fee_percent?: number })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
218
221
  - `set_name({ custom_name?: string; facility_id: string })` · *mutation* → delta.details: `SetFacilityNameResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
219
222
  - `set_output_price({ facility_id: string; price?: number })` · *mutation* → delta.details: `SetOutputPriceResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
@@ -221,6 +224,7 @@ Call as `account.commands.spacemolt_facility.<action>(...)`.
221
224
  - `set_refuel_price({ price?: number })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
222
225
  - `set_repair_price({ price?: number })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
223
226
  - `set_service_access({ access: "public" | "allies" | "faction"; service: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
227
+ - `set_toll({ price: number })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
224
228
  - `station_info()` · *query* → `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
225
229
  - `station_set_name({ name: string })` · *query* → `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
226
230
  - `transfer({ direction: "to_faction" | "to_player"; facility_id: string; player_id?: string })` · *mutation* → delta.details: `FacilityTransferResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
package/README.md CHANGED
@@ -171,10 +171,11 @@ view?.empireNpcs; // empire NPCs, keyed by npc_id
171
171
  view?.creatures; // wildlife, keyed by creature_id
172
172
  view?.prizes; // intact captured ships, keyed by prize_id
173
173
  view?.arenaNpcs; // arena challenge enemies, keyed by npc_id
174
+ view?.repeaters; // frontier Repeaters, keyed by repeater_id
174
175
  view?.shipCounts; // ship scanner only: ship count per charted POI in your system
175
176
  ```
176
177
 
177
- The watch is not players only. It covers all six of `get_nearby`'s classes, and
178
+ The watch is not players only. It covers all seven of `get_nearby`'s classes, and
178
179
  every class except wildlife and arena NPCs is also mirrored into
179
180
  `account.state.location`. It is scoped to your POI: there is no system-wide
180
181
  player list. With a ship scanner, `shipCounts` gives the count at every other
package/dist/account.d.ts CHANGED
@@ -404,7 +404,7 @@ export declare class Account {
404
404
  * Mirrors the observation watch's POI-scoped presence into the matching
405
405
  * `location` fields in the base state cache, so code reading
406
406
  * `account.state.location` (rather than `account.observation()`) sees live
407
- * data once subscribed: players, pirates, empire NPCs, intact prizes, their
407
+ * data once subscribed: players, pirates, empire NPCs, intact prizes, Repeaters, their
408
408
  * counts, `offline_collapsed`, and the cloaked-signature hint. Wildlife and
409
409
  * arena NPCs have no `location` field — read them from
410
410
  * `account.observation()`. The feed carries no leviathans, so
@@ -1,7 +1,7 @@
1
1
  /** The gameserver spec version this command surface was generated from. */
2
- export declare const GENERATED_SPEC_VERSION = "v0.684.4";
2
+ export declare const GENERATED_SPEC_VERSION = "v0.687.0";
3
3
  export type ToolName = "spacemolt" | "spacemolt_arena" | "spacemolt_auth" | "spacemolt_battle" | "spacemolt_citizenship" | "spacemolt_drone" | "spacemolt_facility" | "spacemolt_faction" | "spacemolt_faction_admin" | "spacemolt_faction_commerce" | "spacemolt_fleet" | "spacemolt_intel" | "spacemolt_market" | "spacemolt_salvage" | "spacemolt_ship" | "spacemolt_shipping" | "spacemolt_social" | "spacemolt_storage" | "spacemolt_transfer";
4
- export type ActionName = "abandon_mission" | "accept" | "accept_ally" | "accept_invite" | "accept_mission" | "accept_peace" | "active" | "advance" | "allow_faction" | "allow_player" | "analyze_market" | "apply" | "attack" | "ban" | "base_cost" | "board" | "browse_for_sale" | "browse_ships" | "build" | "buy" | "buy_listed_ship" | "buy_listing" | "buy_ship_license" | "cancel" | "cancel_commission" | "cancel_listing" | "cancel_mission" | "cancel_mobile_base_jump" | "cancel_order" | "cancel_ship_buy_order" | "cancel_ship_listing" | "captains_log_add" | "captains_log_delete" | "captains_log_get" | "captains_log_list" | "challenge" | "challenges" | "chat" | "claim" | "claim_prize" | "cloak" | "commission_quote" | "commission_ship" | "commission_status" | "complete_mission" | "completed_missions" | "craft" | "create" | "create_buy_order" | "create_note" | "create_role" | "create_sell_order" | "declare_war" | "decline" | "decline_invite" | "decline_mission" | "decommission_mobile_base" | "delete_note" | "delete_role" | "delete_room" | "deliver" | "deploy" | "deploy_outpost" | "deposit" | "disband" | "disembark" | "dismantle" | "dismantle_outpost" | "distress_signal" | "dock" | "edit" | "edit_role" | "engage" | "espionage" | "estimate_purchase" | "facility_set_description" | "faction_build" | "faction_dismantle" | "faction_list" | "faction_owned" | "faction_personnel" | "faction_upgrade" | "fight" | "find_route" | "fit_preview" | "forum_create_thread" | "forum_delete_reply" | "forum_delete_thread" | "forum_edit_reply" | "forum_edit_thread" | "forum_get_thread" | "forum_list" | "forum_reply" | "forum_upvote" | "found_station" | "garages" | "generator" | "get" | "get_achievements" | "get_action_log" | "get_active_missions" | "get_base" | "get_cargo" | "get_chat_history" | "get_commands" | "get_empire_info" | "get_faction_achievements" | "get_guide" | "get_invites" | "get_location" | "get_map" | "get_missions" | "get_mobile_base" | "get_nearby" | "get_notes" | "get_notification_settings" | "get_notifications" | "get_player" | "get_player_profile" | "get_poi" | "get_queue" | "get_ship" | "get_skills" | "get_state" | "get_status" | "get_system" | "get_system_agents" | "get_tax_estimate" | "get_trades" | "get_version" | "hunt" | "info" | "inspect" | "install_mod" | "insure" | "intel_status" | "invite" | "jettison" | "job_add" | "job_cancel" | "job_list" | "job_reorder" | "join" | "jump" | "jump_mobile_base" | "kick" | "leave" | "list" | "list_for_sale" | "list_missions" | "list_passengers" | "list_ship_for_sale" | "list_ships" | "list_station_passengers" | "load" | "load_passenger" | "log" | "login" | "login_link" | "login_link_poll" | "login_token" | "logout" | "loot" | "mine" | "modify_order" | "move_mobile_base" | "mute_notifications" | "name" | "owned" | "pay_bounty" | "pay_debt" | "personal_build" | "personal_decorate" | "personal_visit" | "petition" | "place_ship_buy_order" | "policies" | "post" | "post_mission" | "prepay_tax" | "profile" | "promote" | "propose_ally" | "propose_peace" | "query_intel" | "query_trade_intel" | "quote" | "ranch_set_cull" | "ranch_status" | "read_note" | "recall" | "recruit_personnel" | "recycle" | "refit_ship" | "refuel" | "register" | "release" | "reload" | "remove_ally" | "remove_enemy" | "remove_faction" | "remove_player" | "rename_ship" | "renounce" | "repair" | "reset_contraband" | "retreat" | "return" | "rooms" | "scan" | "scan_poi" | "scrap" | "scrap_ship" | "search_systems" | "self_destruct" | "sell" | "sell_ship_to_order" | "service_prize" | "set_access" | "set_auto_buy_fuel" | "set_build_policy" | "set_colors" | "set_contraband" | "set_description" | "set_enemy" | "set_home" | "set_market_fee" | "set_name" | "set_output_price" | "set_public" | "set_refuel_price" | "set_repair_price" | "set_service_access" | "set_status" | "stance" | "station_info" | "station_set_name" | "status" | "submit_intel" | "submit_trade_intel" | "subscribe_market" | "subscribe_observation" | "summary" | "supply_commission" | "survey_system" | "switch_ship" | "target" | "tax_estimate" | "tow" | "track" | "trade_accept" | "trade_cancel" | "trade_decline" | "trade_intel_status" | "trade_offer" | "transfer" | "transfer_personnel" | "travel" | "treat_personnel" | "types" | "unban" | "undock" | "uninstall_mod" | "unload" | "unload_passenger" | "unmute_notifications" | "unsubscribe_market" | "unsubscribe_observation" | "upgrade" | "upgrades" | "upload" | "use_item" | "view" | "view_completed_mission" | "view_market" | "view_orders" | "view_ship_buy_orders" | "visit_room" | "withdraw" | "withdraw_invite" | "wrecks" | "write_note" | "write_room";
4
+ export type ActionName = "abandon_mission" | "accept" | "accept_ally" | "accept_invite" | "accept_mission" | "accept_peace" | "active" | "advance" | "allow_faction" | "allow_player" | "analyze_market" | "apply" | "attack" | "ban" | "base_cost" | "board" | "browse_for_sale" | "browse_ships" | "build" | "buy" | "buy_listed_ship" | "buy_listing" | "buy_ship_license" | "cancel" | "cancel_commission" | "cancel_listing" | "cancel_mission" | "cancel_mobile_base_jump" | "cancel_order" | "cancel_ship_buy_order" | "cancel_ship_listing" | "captains_log_add" | "captains_log_delete" | "captains_log_get" | "captains_log_list" | "challenge" | "challenges" | "chat" | "claim" | "claim_prize" | "cloak" | "commission_quote" | "commission_ship" | "commission_status" | "complete_mission" | "completed_missions" | "craft" | "create" | "create_buy_order" | "create_note" | "create_role" | "create_sell_order" | "declare_war" | "decline" | "decline_invite" | "decline_mission" | "decommission_mobile_base" | "delete_note" | "delete_role" | "delete_room" | "deliver" | "deploy" | "deploy_outpost" | "deposit" | "disband" | "disembark" | "dismantle" | "dismantle_outpost" | "distress_signal" | "dock" | "edit" | "edit_role" | "engage" | "espionage" | "estimate_purchase" | "facility_set_description" | "faction_build" | "faction_dismantle" | "faction_list" | "faction_owned" | "faction_personnel" | "faction_upgrade" | "fight" | "find_route" | "fit_preview" | "forum_create_thread" | "forum_delete_reply" | "forum_delete_thread" | "forum_edit_reply" | "forum_edit_thread" | "forum_get_thread" | "forum_list" | "forum_reply" | "forum_upvote" | "found_gate_site" | "found_station" | "garages" | "generator" | "get" | "get_achievements" | "get_action_log" | "get_active_missions" | "get_base" | "get_cargo" | "get_chat_history" | "get_commands" | "get_empire_info" | "get_faction_achievements" | "get_guide" | "get_invites" | "get_location" | "get_map" | "get_missions" | "get_mobile_base" | "get_nearby" | "get_notes" | "get_notification_settings" | "get_notifications" | "get_player" | "get_player_profile" | "get_poi" | "get_queue" | "get_ship" | "get_skills" | "get_state" | "get_status" | "get_system" | "get_system_agents" | "get_tax_estimate" | "get_trades" | "get_version" | "hunt" | "info" | "inspect" | "install_mod" | "insure" | "intel_status" | "interact_poi" | "invite" | "jettison" | "job_add" | "job_cancel" | "job_list" | "job_reorder" | "join" | "jump" | "jump_mobile_base" | "kick" | "leave" | "list" | "list_for_sale" | "list_missions" | "list_passengers" | "list_ship_for_sale" | "list_ships" | "list_station_passengers" | "load" | "load_passenger" | "log" | "login" | "login_link" | "login_link_poll" | "login_token" | "logout" | "loot" | "mine" | "modify_order" | "move_mobile_base" | "mute_notifications" | "name" | "owned" | "pay_bounty" | "pay_debt" | "personal_build" | "personal_decorate" | "personal_visit" | "petition" | "place_ship_buy_order" | "policies" | "post" | "post_mission" | "prepay_tax" | "profile" | "promote" | "propose_ally" | "propose_peace" | "query_intel" | "query_trade_intel" | "quote" | "ranch_set_cull" | "ranch_status" | "read_note" | "recall" | "recruit_personnel" | "recycle" | "refit_ship" | "refuel" | "register" | "release" | "reload" | "remove_ally" | "remove_enemy" | "remove_faction" | "remove_player" | "rename_ship" | "renounce" | "repair" | "reset_contraband" | "retreat" | "return" | "rooms" | "scan" | "scan_poi" | "scrap" | "scrap_ship" | "search_systems" | "self_destruct" | "sell" | "sell_ship_to_order" | "service_prize" | "set_access" | "set_auto_buy_fuel" | "set_build_policy" | "set_colors" | "set_contraband" | "set_description" | "set_enemy" | "set_gate_access" | "set_home" | "set_market_fee" | "set_name" | "set_output_price" | "set_public" | "set_refuel_price" | "set_repair_price" | "set_service_access" | "set_status" | "set_toll" | "stance" | "station_info" | "station_set_name" | "status" | "submit_intel" | "submit_trade_intel" | "subscribe_market" | "subscribe_observation" | "summary" | "supply_commission" | "survey_system" | "switch_ship" | "target" | "tax_estimate" | "tow" | "track" | "trade_accept" | "trade_cancel" | "trade_decline" | "trade_intel_status" | "trade_offer" | "transfer" | "transfer_personnel" | "travel" | "treat_personnel" | "types" | "unban" | "undock" | "uninstall_mod" | "unload" | "unload_passenger" | "unmute_notifications" | "unsubscribe_market" | "unsubscribe_observation" | "upgrade" | "upgrades" | "upload" | "use_item" | "view" | "view_completed_mission" | "view_market" | "view_orders" | "view_ship_buy_orders" | "visit_room" | "withdraw" | "withdraw_invite" | "wrecks" | "write_note" | "write_room";
5
5
  export interface ActionParam {
6
6
  readonly name: string;
7
7
  readonly type: string;
@@ -1,5 +1,5 @@
1
1
  import type { MutationResult, QueryResult } from '../protocol.js';
2
- import type { AbandonMissionResponse, AcceptMissionResponse, AnalyzeMarketResponse, ArenaAcceptResponse, ArenaActionResponse, ArenaChallengeResponse, ArenaChallengesResponse, ArenaFightResponse, ArenaStatusResponse, AttackResponse, BaseCostResponse, BattleResponse, BattleSummaryResponse, BrowseShipsResponse, BuildBaseResponse, BulkJobCancelResponse, BulkReloadResponse, BulkStorageResponse, BuyInsuranceResponse, BuyListedShipResponse, BuyResponse, CancelCommissionResponse, CancelOrderCommandResponse, CancelShipBuyOrderResponse, CancelShipListingResponse, CaptainsLogAddResponse, CaptainsLogDeleteResponse, CaptainsLogGetResponse, CaptainsLogListResponse, ChatResponse, CitizenshipResponse, ClaimInsuranceResponse, ClaimPrizeResponse, CloakResponse, CommissionQuoteResponse, CommissionShipResponse, CommissionStatusResponse, CompleteMissionResponse, CompletedMissionsResponse, CraftCommandResponse, CraftJobResponse, CreateBuyOrderCommandResponse, CreateFactionResponse, CreateNoteResponse, CreateSellOrderCommandResponse, DeclineMissionResponse, DecommissionMobileBaseResponse, DeleteNoteResponse, DeployDroneCommandResponse, DepositItemsResponse, DismantleOutpostResponse, DistressSignalResponse, DockResponse, EmpireGiftResponse, EspionageResponse, EstimatePurchaseResponse, FacilityBrowseForSaleResponse, FacilityBuildResponse, FacilityBuyListingResponse, FacilityCancelListingResponse, FacilityDismantleResponse, FacilityFactionBuildResponse, FacilityFactionListResponse, FacilityFactionOwnedResponse, FacilityFactionUpgradeResponse, FacilityJobListResponse, FacilityListForSaleResponse, FacilityListResponse, FacilityOwnedResponse, FacilityPersonalBuildResponse, FacilityPersonalDecorateResponse, FacilityPersonalVisitResponse, FacilityRepairResponse, FacilityTransferResponse, FacilityTypeDetailResponse, FacilityTypeDiscoveryResponse, FacilityTypeListResponse, FacilityUpgradeResponse, FacilityUpgradesResponse, FactionAcceptAllyResponse, FactionAcceptPeaceResponse, FactionCancelMissionResponse, FactionCreateBuyOrderCommandResponse, FactionCreateRoleResponse, FactionCreateSellOrderCommandResponse, FactionDeclareWarResponse, FactionDeclineInviteResponse, FactionDeleteRoleResponse, FactionDeleteRoomResponse, FactionDepositCreditsResponse, FactionDepositFuelResponse, FactionDepositItemsResponse, FactionEditResponse, FactionEditRoleResponse, FactionGarageStoreResponse, FactionGaragesResponse, FactionGetInvitesResponse, FactionGiftResponse, FactionInfoResponse, FactionIntelStatusResponse, FactionInviteResponse, FactionKickResponse, FactionListMissionsResponse, FactionListResponse, FactionMobileBaseResponse, FactionPersonnelResponse, FactionPostMissionResponse, FactionPrepayTaxResponse, FactionPromoteResponse, FactionProposeAllyResponse, FactionProposePeaceResponse, FactionQueryIntelResponse, FactionQueryTradeIntelResponse, FactionRemoveAllyResponse, FactionRemoveEnemyResponse, FactionRoomsResponse, FactionScanPoiResponse, FactionSetEnemyResponse, FactionSubmitIntelResponse, FactionSubmitTradeIntelResponse, FactionTaxEstimateResponse, FactionTradeIntelStatusResponse, FactionVisitRoomResponse, FactionWithdrawCreditsResponse, FactionWithdrawInviteResponse, FactionWithdrawItemsResponse, FactionWriteRoomResponse, FindRouteResponse, FitPreviewResponse, FleetAcceptResponse, FleetActionResponse, FleetBoardResponse, FleetCreateResponse, FleetDeclineResponse, FleetStatusResponse, ForumCreateThreadResponse, ForumDeleteReplyResponse, ForumDeleteThreadResponse, ForumEditReplyResponse, ForumEditThreadResponse, ForumGetThreadResponse, ForumListResponse, ForumReplyResponse, ForumUpvoteResponse, GeneratorResponse, GetAchievementsResponse, GetActionLogResponse, GetBaseResponse, GetBattleLogResponse, GetBattleStatusResponse, GetChatHistoryResponse, GetDroneResponse, GetDronesResponse, GetEmpireInfoResponse, GetFactionAchievementsResponse, GetGuideResponse, GetInsuranceQuoteResponse, GetMapCommandResponse, GetMissionsResponse, GetNearbyResponse, GetNotesResponse, GetNotificationsResponse, GetPoiCommandResponse, GetSystemAgentsResponse, GetSystemCommandResponse, GetTradesResponse, GetVersionResponse, GetWrecksResponse, GiftShipResponse, HuntResponse, InspectResponse, InstallModResponse, JettisonCommandResponse, JobCancelResponse, JobReorderResponse, JoinFactionResponse, JumpCommandResponse, ListPassengersResponse, ListShipForSaleResponse, ListShipsResponse, LoadDroneResponse, LoadPassengersResponse, LoginLinkPollCommandResponse, LoginLinkResponse, LoginResponse, LootWreckCommandResponse, MessageResponse, MineResponse, ModifyOrderCommandResponse, NameShipResponse, NotificationSettingsResponse, PackageJobResponse, PayBountyResponse, PetitionResponse, PlaceShipBuyOrderResponse, PlayerProfileResponse, PrepayTaxResponse, PrizeServiceResponse, RanchSetCullResponse, RanchStatusResponse, ReadNoteResponse, RecallDroneResponse, RecruitPersonnelResponse, RecycleJobResponse, RefitShipResponse, RefuelResponse, RegisterResponse, ReleaseTowResponse, ReloadResponse, RepairResponse, ScanResponse, ScrapShipResponse, ScrapWreckResponse, SearchSystemsResponse, SelfDestructResponse, SellResponse, SellShipToOrderResponse, SellWreckResponse, SendGiftResponse, SetAccessResponse, SetColorsResponse, SetDroneNameResponse, SetFacilityDescriptionResponse, SetFacilityNameResponse, SetHomeBaseResponse, SetOutputPriceResponse, SetStatusResponse, ShipLicenseResponse, ShippingActiveResponse, ShippingContractResponse, ShippingDebtPaymentResponse, ShippingListResponse, ShippingProfileResponse, ShippingQuoteResponse, ShippingSettlementResponse, ShippingTrackResponse, StationConfigResponse, StationPassengersResponse, SubscribeMarketResponse, SubscribeObservationResponse, SupplyCommissionResponse, SurveySystemResponse, SwitchShipResponse, TaxEstimateResponse, TowWreckResponse, TradeAcceptResponse, TradeOfferResponse, TransferCreditsResponse, TransferItemsResponse, TransferPersonnelResponse, TravelResponse, TreatPersonnelResponse, UndockResponse, UninstallModResponse, UnloadDroneResponse, UnloadPassengerCommandResponse, UnsubscribeMarketResponse, UnsubscribeObservationResponse, UploadDroneScriptResponse, UseItemResponse, V2GameState, V2GetCommandsResponse, ViewCompletedMissionResponse, ViewFactionStorageResponse, ViewMarketResponse, ViewOrdersResponse, ViewShipBuyOrdersResponse, ViewStorageResponse, WithdrawItemsResponse, WriteNoteResponse } from './openapi/types.gen.js';
2
+ import type { AbandonMissionResponse, AcceptMissionResponse, AnalyzeMarketResponse, ArenaAcceptResponse, ArenaActionResponse, ArenaChallengeResponse, ArenaChallengesResponse, ArenaFightResponse, ArenaStatusResponse, AttackResponse, BaseCostResponse, BattleResponse, BattleSummaryResponse, BrowseShipsResponse, BuildBaseResponse, BulkJobCancelResponse, BulkReloadResponse, BulkStorageResponse, BuyInsuranceResponse, BuyListedShipResponse, BuyResponse, CancelCommissionResponse, CancelOrderCommandResponse, CancelShipBuyOrderResponse, CancelShipListingResponse, CaptainsLogAddResponse, CaptainsLogDeleteResponse, CaptainsLogGetResponse, CaptainsLogListResponse, ChatResponse, CitizenshipResponse, ClaimInsuranceResponse, ClaimPrizeResponse, CloakResponse, CommissionQuoteResponse, CommissionShipResponse, CommissionStatusResponse, CompleteMissionResponse, CompletedMissionsResponse, CraftCommandResponse, CraftJobResponse, CreateBuyOrderCommandResponse, CreateFactionResponse, CreateNoteResponse, CreateSellOrderCommandResponse, DeclineMissionResponse, DecommissionMobileBaseResponse, DeleteNoteResponse, DeployDroneCommandResponse, DepositItemsResponse, DismantleOutpostResponse, DistressSignalResponse, DockResponse, EmpireGiftResponse, EspionageResponse, EstimatePurchaseResponse, FacilityBrowseForSaleResponse, FacilityBuildResponse, FacilityBuyListingResponse, FacilityCancelListingResponse, FacilityDismantleResponse, FacilityFactionBuildResponse, FacilityFactionListResponse, FacilityFactionOwnedResponse, FacilityFactionUpgradeResponse, FacilityJobListResponse, FacilityListForSaleResponse, FacilityListResponse, FacilityOwnedResponse, FacilityPersonalBuildResponse, FacilityPersonalDecorateResponse, FacilityPersonalVisitResponse, FacilityRepairResponse, FacilityTransferResponse, FacilityTypeDetailResponse, FacilityTypeDiscoveryResponse, FacilityTypeListResponse, FacilityUpgradeResponse, FacilityUpgradesResponse, FactionAcceptAllyResponse, FactionAcceptPeaceResponse, FactionCancelMissionResponse, FactionCreateBuyOrderCommandResponse, FactionCreateRoleResponse, FactionCreateSellOrderCommandResponse, FactionDeclareWarResponse, FactionDeclineInviteResponse, FactionDeleteRoleResponse, FactionDeleteRoomResponse, FactionDepositCreditsResponse, FactionDepositFuelResponse, FactionDepositItemsResponse, FactionEditResponse, FactionEditRoleResponse, FactionGarageStoreResponse, FactionGaragesResponse, FactionGetInvitesResponse, FactionGiftResponse, FactionInfoResponse, FactionIntelStatusResponse, FactionInviteResponse, FactionKickResponse, FactionListMissionsResponse, FactionListResponse, FactionMobileBaseResponse, FactionPersonnelResponse, FactionPostMissionResponse, FactionPrepayTaxResponse, FactionPromoteResponse, FactionProposeAllyResponse, FactionProposePeaceResponse, FactionQueryIntelResponse, FactionQueryTradeIntelResponse, FactionRemoveAllyResponse, FactionRemoveEnemyResponse, FactionRoomsResponse, FactionScanPoiResponse, FactionSetEnemyResponse, FactionSubmitIntelResponse, FactionSubmitTradeIntelResponse, FactionTaxEstimateResponse, FactionTradeIntelStatusResponse, FactionVisitRoomResponse, FactionWithdrawCreditsResponse, FactionWithdrawInviteResponse, FactionWithdrawItemsResponse, FactionWriteRoomResponse, FindRouteResponse, FitPreviewResponse, FleetAcceptResponse, FleetActionResponse, FleetBoardResponse, FleetCreateResponse, FleetDeclineResponse, FleetStatusResponse, ForumCreateThreadResponse, ForumDeleteReplyResponse, ForumDeleteThreadResponse, ForumEditReplyResponse, ForumEditThreadResponse, ForumGetThreadResponse, ForumListResponse, ForumReplyResponse, ForumUpvoteResponse, GeneratorResponse, GetAchievementsResponse, GetActionLogResponse, GetBaseResponse, GetBattleLogResponse, GetBattleStatusResponse, GetChatHistoryResponse, GetDroneResponse, GetDronesResponse, GetEmpireInfoResponse, GetFactionAchievementsResponse, GetGuideResponse, GetInsuranceQuoteResponse, GetMapCommandResponse, GetMissionsResponse, GetNearbyResponse, GetNotesResponse, GetNotificationsResponse, GetPoiCommandResponse, GetSystemAgentsResponse, GetSystemCommandResponse, GetTradesResponse, GetVersionResponse, GetWrecksResponse, GiftShipResponse, HuntResponse, InspectResponse, InstallModResponse, InteractPoiResponse, JettisonCommandResponse, JobCancelResponse, JobReorderResponse, JoinFactionResponse, JumpCommandResponse, ListPassengersResponse, ListShipForSaleResponse, ListShipsResponse, LoadDroneResponse, LoadPassengersResponse, LoginLinkPollCommandResponse, LoginLinkResponse, LoginResponse, LootWreckCommandResponse, MessageResponse, MineResponse, ModifyOrderCommandResponse, NameShipResponse, NotificationSettingsResponse, PackageJobResponse, PayBountyResponse, PetitionResponse, PlaceShipBuyOrderResponse, PlayerProfileResponse, PrepayTaxResponse, PrizeServiceResponse, RanchSetCullResponse, RanchStatusResponse, ReadNoteResponse, RecallDroneResponse, RecruitPersonnelResponse, RecycleJobResponse, RefitShipResponse, RefuelResponse, RegisterResponse, ReleaseTowResponse, ReloadResponse, RepairResponse, ScanResponse, ScrapShipResponse, ScrapWreckResponse, SearchSystemsResponse, SelfDestructResponse, SellResponse, SellShipToOrderResponse, SellWreckResponse, SendGiftResponse, SetAccessResponse, SetColorsResponse, SetDroneNameResponse, SetFacilityDescriptionResponse, SetFacilityNameResponse, SetHomeBaseResponse, SetOutputPriceResponse, SetStatusResponse, ShipLicenseResponse, ShippingActiveResponse, ShippingContractResponse, ShippingDebtPaymentResponse, ShippingListResponse, ShippingProfileResponse, ShippingQuoteResponse, ShippingSettlementResponse, ShippingTrackResponse, StationConfigResponse, StationPassengersResponse, SubscribeMarketResponse, SubscribeObservationResponse, SupplyCommissionResponse, SurveySystemResponse, SwitchShipResponse, TaxEstimateResponse, TowWreckResponse, TradeAcceptResponse, TradeOfferResponse, TransferCreditsResponse, TransferItemsResponse, TransferPersonnelResponse, TravelResponse, TreatPersonnelResponse, UndockResponse, UninstallModResponse, UnloadDroneResponse, UnloadPassengerCommandResponse, UnsubscribeMarketResponse, UnsubscribeObservationResponse, UploadDroneScriptResponse, UseItemResponse, V2GameState, V2GetCommandsResponse, ViewCompletedMissionResponse, ViewFactionStorageResponse, ViewMarketResponse, ViewOrdersResponse, ViewShipBuyOrdersResponse, ViewStorageResponse, WithdrawItemsResponse, WriteNoteResponse } from './openapi/types.gen.js';
3
3
  export interface SpacemoltArenaChallengeParams {
4
4
  /** Player name or ID to challenge (for 'challenge') */
5
5
  id: string;
@@ -56,7 +56,10 @@ export interface SpacemoltBattleReloadParams {
56
56
  /** 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. */
57
57
  target?: string;
58
58
  /** Bulk reload: array of {weapon_instance_id, ammo_item_id?} entries loaded in a single action for one tick, however many weapons. Omit weapon_instance_id/ammo_item_id when using this. Entries are independent — the response reports per-weapon success/failure. Maximum 50 entries. */
59
- weapons?: string[];
59
+ weapons?: {
60
+ ammo_item_id?: string;
61
+ weapon_instance_id?: string;
62
+ }[];
60
63
  }
61
64
  export interface SpacemoltBattleStanceParams {
62
65
  /** 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. */
@@ -200,6 +203,12 @@ export interface SpacemoltFacilityFactionUpgradeParams {
200
203
  /** For 'build'/'upgrade'/'faction_build'/'faction_upgrade': source materials directly from these packages instead of unpacking them into storage first. Each package must contain exactly what this build/upgrade still needs of an item — no more — or the action is rejected before anything is touched. Storage and cargo still backfill any shortfall. */
201
204
  package_ids?: string[];
202
205
  }
206
+ export interface SpacemoltFacilityFoundGateSiteParams {
207
+ /** System the other end of the gate will stand in (id or name) */
208
+ far_system: string;
209
+ /** Name for this end of the gate */
210
+ name: string;
211
+ }
203
212
  export interface SpacemoltFacilityFoundStationParams {
204
213
  /** Name for the new faction station */
205
214
  name: string;
@@ -315,6 +324,10 @@ export interface SpacemoltFacilitySetDescriptionParams {
315
324
  /** New station description (set_description) */
316
325
  description?: string;
317
326
  }
327
+ export interface SpacemoltFacilitySetGateAccessParams {
328
+ /** Access level for set_service_access; public or faction for set_gate_access */
329
+ access: "public" | "allies" | "faction";
330
+ }
318
331
  export interface SpacemoltFacilitySetMarketFeeParams {
319
332
  /** Market listing fee percent 0-10 (set_market_fee) */
320
333
  fee_percent?: number;
@@ -336,19 +349,23 @@ export interface SpacemoltFacilitySetPublicParams {
336
349
  public?: boolean;
337
350
  }
338
351
  export interface SpacemoltFacilitySetRefuelPriceParams {
339
- /** Price for set_refuel_price (per unit) or set_repair_price (per hull point) */
352
+ /** Price for set_refuel_price (per unit), set_repair_price (per hull point) or set_toll (credits per ship for pilots outside your faction) */
340
353
  price?: number;
341
354
  }
342
355
  export interface SpacemoltFacilitySetRepairPriceParams {
343
- /** Price for set_refuel_price (per unit) or set_repair_price (per hull point) */
356
+ /** Price for set_refuel_price (per unit), set_repair_price (per hull point) or set_toll (credits per ship for pilots outside your faction) */
344
357
  price?: number;
345
358
  }
346
359
  export interface SpacemoltFacilitySetServiceAccessParams {
347
- /** Access level for set_service_access */
360
+ /** Access level for set_service_access; public or faction for set_gate_access */
348
361
  access: "public" | "allies" | "faction";
349
362
  /** Service type for set_service_access (market, refuel, repair, shipyard, crafting, salvage_yard, missions) */
350
363
  service: string;
351
364
  }
365
+ export interface SpacemoltFacilitySetTollParams {
366
+ /** Price for set_refuel_price (per unit), set_repair_price (per hull point) or set_toll (credits per ship for pilots outside your faction) */
367
+ price: number;
368
+ }
352
369
  export interface SpacemoltFacilityStationSetNameParams {
353
370
  /** New station name (set_name) */
354
371
  name: string;
@@ -1656,7 +1673,7 @@ export interface Commands {
1656
1673
  get_guide(params?: SpacemoltGetGuideParams, requestId?: string): Promise<QueryResult<GetGuideResponse>>;
1657
1674
  /** Get current location with nearby entities (v2 format) */
1658
1675
  get_location(requestId?: string): Promise<QueryResult<V2GameState>>;
1659
- /** View all star systems in the galaxy */
1676
+ /** View known space and your charted frontier systems */
1660
1677
  get_map(params?: SpacemoltGetMapParams, requestId?: string): Promise<QueryResult<GetMapCommandResponse>>;
1661
1678
  /** Get available missions at your current base */
1662
1679
  get_missions(requestId?: string): Promise<QueryResult<GetMissionsResponse>>;
@@ -1694,6 +1711,8 @@ export interface Commands {
1694
1711
  inspect(params: SpacemoltInspectParams, requestId?: string): Promise<QueryResult<InspectResponse>>;
1695
1712
  /** Install a module on your ship */
1696
1713
  install_mod(params: SpacemoltInstallModParams, requestId?: string): Promise<MutationResult<InstallModResponse>>;
1714
+ /** Interact with an archive at your current POI */
1715
+ interact_poi(requestId?: string): Promise<MutationResult<InteractPoiResponse>>;
1697
1716
  /** Jettison items from cargo into space */
1698
1717
  jettison(params?: SpacemoltJettisonParams, requestId?: string): Promise<MutationResult<JettisonCommandResponse>>;
1699
1718
  /** Jump to an adjacent star system, or plot a numeric bearing with a Pathfinder Drive */
@@ -1832,7 +1851,7 @@ export interface Commands {
1832
1851
  allow_player(params: SpacemoltFacilityAllowPlayerParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1833
1852
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1834
1853
  ban(params: SpacemoltFacilityBanParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1835
- /** Preview the cost and requirements to found a faction station */
1854
+ /** Preview the cost and requirements to found a faction station, plus the outpost founding fee */
1836
1855
  base_cost(requestId?: string): Promise<QueryResult<BaseCostResponse>>;
1837
1856
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1838
1857
  browse_for_sale(params?: SpacemoltFacilityBrowseForSaleParams, requestId?: string): Promise<QueryResult<FacilityBrowseForSaleResponse>>;
@@ -1862,6 +1881,8 @@ export interface Commands {
1862
1881
  faction_owned(requestId?: string): Promise<QueryResult<FacilityFactionOwnedResponse>>;
1863
1882
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1864
1883
  faction_upgrade(params: SpacemoltFacilityFactionUpgradeParams, requestId?: string): Promise<MutationResult<FacilityFactionUpgradeResponse>>;
1884
+ /** Found one end of a jump gate at your current point of interest in lawless space */
1885
+ found_gate_site(params: SpacemoltFacilityFoundGateSiteParams, requestId?: string): Promise<MutationResult<BuildBaseResponse>>;
1865
1886
  /** Found a faction-owned station at your current point of interest in lawless space */
1866
1887
  found_station(params: SpacemoltFacilityFoundStationParams, requestId?: string): Promise<MutationResult<BuildBaseResponse>>;
1867
1888
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
@@ -1907,6 +1928,8 @@ export interface Commands {
1907
1928
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1908
1929
  set_description(params?: SpacemoltFacilitySetDescriptionParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1909
1930
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1931
+ set_gate_access(params: SpacemoltFacilitySetGateAccessParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1932
+ /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1910
1933
  set_market_fee(params?: SpacemoltFacilitySetMarketFeeParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1911
1934
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1912
1935
  set_name(params: SpacemoltFacilitySetNameParams, requestId?: string): Promise<MutationResult<SetFacilityNameResponse>>;
@@ -1921,6 +1944,8 @@ export interface Commands {
1921
1944
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1922
1945
  set_service_access(params: SpacemoltFacilitySetServiceAccessParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1923
1946
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1947
+ set_toll(params: SpacemoltFacilitySetTollParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1948
+ /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1924
1949
  station_info(requestId?: string): Promise<QueryResult<StationConfigResponse>>;
1925
1950
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1926
1951
  station_set_name(params: SpacemoltFacilityStationSetNameParams, requestId?: string): Promise<QueryResult<StationConfigResponse>>;
@@ -1,6 +1,6 @@
1
- import type { 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 } from './openapi/types.gen.js';
1
+ import type { NotificationAchievementUnlocked, NotificationActionError, NotificationActionResult, NotificationArenaChallenge, NotificationArenaObjective, NotificationBaseDestroyed, NotificationBattleAlert, NotificationBattleDamage, NotificationBattleEnded, NotificationBattleJoined, NotificationBattleLeft, NotificationBattleStarted, NotificationBattleUpdate, NotificationChatMessage, NotificationCloak, NotificationCompleteMission, NotificationCraftingUpdate, NotificationDroneAdrift, NotificationDroneDestroyed, NotificationDroneScan, NotificationDroneSurvey, NotificationDroneUpdate, NotificationError, NotificationExchangeFill, NotificationFacilityReclaimed, NotificationFacilityRentWarning, NotificationFactionAllianceBroken, NotificationFactionAllianceFormed, NotificationFactionAllianceProposal, NotificationFactionInvite, NotificationFactionKick, NotificationFactionMobileBaseUpdate, NotificationFactionPeaceAccepted, NotificationFactionPeaceProposal, NotificationFactionPromote, NotificationFactionWarDeclared, NotificationFactionWithdrawInvite, NotificationFleet, NotificationGiftReceived, NotificationHazardWarning, NotificationHoldUpdate, NotificationMarketUpdate, NotificationMiningYield, NotificationObservationUpdate, NotificationOk, NotificationPathfinderStorm, NotificationPersonnelUpdate, NotificationPilotlessShip, NotificationPirateDestroyed, NotificationPirateRadio, NotificationPlayerDied, NotificationPlayerKill, NotificationPrizeUpdate, NotificationRanchPoached, NotificationReconnected, NotificationRefueledBy, NotificationRepairedBy, NotificationScanDetected, NotificationServerRestartWarning, NotificationShipCaptured, NotificationShipCommissionComplete, NotificationSkillLevelUp, NotificationStationRepaired, NotificationTradeCancelled, NotificationTradeComplete, NotificationTradeDeclined, NotificationTradeOfferReceived } from './openapi/types.gen.js';
2
2
  /** msg_type values that have a published payload schema. */
3
- export type TypedNotificationType = "achievement_unlocked" | "action_error" | "action_result" | "arena_challenge" | "arena_objective" | "base_destroyed" | "base_raid_update" | "battle_alert" | "battle_damage" | "battle_ended" | "battle_joined" | "battle_left" | "battle_started" | "battle_update" | "chat_message" | "cloak" | "complete_mission" | "crafting_update" | "drone_adrift" | "drone_destroyed" | "drone_scan" | "drone_survey" | "drone_update" | "error" | "exchange_fill" | "facility_reclaimed" | "facility_rent_warning" | "faction_alliance_broken" | "faction_alliance_formed" | "faction_alliance_proposal" | "faction_mobile_base_update" | "faction_peace_accepted" | "faction_peace_proposal" | "faction_war_declared" | "fleet" | "gift_received" | "hold_update" | "market_update" | "mining_yield" | "observation_update" | "ok" | "personnel_update" | "pilotless_ship" | "pirate_destroyed" | "pirate_radio" | "player_died" | "player_kill" | "prize_update" | "ranch_poached" | "reconnected" | "refueled_by" | "repaired_by" | "scan_detected" | "server_restart_warning" | "ship_captured" | "ship_commission_complete" | "skill_level_up" | "station_repaired" | "trade_cancelled" | "trade_complete" | "trade_declined" | "trade_offer_received";
3
+ export type TypedNotificationType = "achievement_unlocked" | "action_error" | "action_result" | "arena_challenge" | "arena_objective" | "base_destroyed" | "battle_alert" | "battle_damage" | "battle_ended" | "battle_joined" | "battle_left" | "battle_started" | "battle_update" | "chat_message" | "cloak" | "complete_mission" | "crafting_update" | "drone_adrift" | "drone_destroyed" | "drone_scan" | "drone_survey" | "drone_update" | "error" | "exchange_fill" | "facility_reclaimed" | "facility_rent_warning" | "faction_alliance_broken" | "faction_alliance_formed" | "faction_alliance_proposal" | "faction_invite" | "faction_kick" | "faction_mobile_base_update" | "faction_peace_accepted" | "faction_peace_proposal" | "faction_promote" | "faction_war_declared" | "faction_withdraw_invite" | "fleet" | "gift_received" | "hazard_warning" | "hold_update" | "market_update" | "mining_yield" | "observation_update" | "ok" | "pathfinder_storm" | "personnel_update" | "pilotless_ship" | "pirate_destroyed" | "pirate_radio" | "player_died" | "player_kill" | "prize_update" | "ranch_poached" | "reconnected" | "refueled_by" | "repaired_by" | "scan_detected" | "server_restart_warning" | "ship_captured" | "ship_commission_complete" | "skill_level_up" | "station_repaired" | "trade_cancelled" | "trade_complete" | "trade_declined" | "trade_offer_received";
4
4
  /** Maps a typed push msg_type to its payload type. */
5
5
  export interface NotificationPayloads {
6
6
  "achievement_unlocked": NotificationAchievementUnlocked;
@@ -9,7 +9,6 @@ export interface NotificationPayloads {
9
9
  "arena_challenge": NotificationArenaChallenge;
10
10
  "arena_objective": NotificationArenaObjective;
11
11
  "base_destroyed": NotificationBaseDestroyed;
12
- "base_raid_update": NotificationBaseRaidUpdate;
13
12
  "battle_alert": NotificationBattleAlert;
14
13
  "battle_damage": NotificationBattleDamage;
15
14
  "battle_ended": NotificationBattleEnded;
@@ -33,17 +32,23 @@ export interface NotificationPayloads {
33
32
  "faction_alliance_broken": NotificationFactionAllianceBroken;
34
33
  "faction_alliance_formed": NotificationFactionAllianceFormed;
35
34
  "faction_alliance_proposal": NotificationFactionAllianceProposal;
35
+ "faction_invite": NotificationFactionInvite;
36
+ "faction_kick": NotificationFactionKick;
36
37
  "faction_mobile_base_update": NotificationFactionMobileBaseUpdate;
37
38
  "faction_peace_accepted": NotificationFactionPeaceAccepted;
38
39
  "faction_peace_proposal": NotificationFactionPeaceProposal;
40
+ "faction_promote": NotificationFactionPromote;
39
41
  "faction_war_declared": NotificationFactionWarDeclared;
42
+ "faction_withdraw_invite": NotificationFactionWithdrawInvite;
40
43
  "fleet": NotificationFleet;
41
44
  "gift_received": NotificationGiftReceived;
45
+ "hazard_warning": NotificationHazardWarning;
42
46
  "hold_update": NotificationHoldUpdate;
43
47
  "market_update": NotificationMarketUpdate;
44
48
  "mining_yield": NotificationMiningYield;
45
49
  "observation_update": NotificationObservationUpdate;
46
50
  "ok": NotificationOk;
51
+ "pathfinder_storm": NotificationPathfinderStorm;
47
52
  "personnel_update": NotificationPersonnelUpdate;
48
53
  "pilotless_ship": NotificationPilotlessShip;
49
54
  "pirate_destroyed": NotificationPirateDestroyed;
@@ -67,4 +72,4 @@ export interface NotificationPayloads {
67
72
  "trade_offer_received": NotificationTradeOfferReceived;
68
73
  }
69
74
  /** Names of every push msg_type with a published schema, for runtime checks. */
70
- export declare const TYPED_NOTIFICATION_TYPES: readonly ["achievement_unlocked", "action_error", "action_result", "arena_challenge", "arena_objective", "base_destroyed", "base_raid_update", "battle_alert", "battle_damage", "battle_ended", "battle_joined", "battle_left", "battle_started", "battle_update", "chat_message", "cloak", "complete_mission", "crafting_update", "drone_adrift", "drone_destroyed", "drone_scan", "drone_survey", "drone_update", "error", "exchange_fill", "facility_reclaimed", "facility_rent_warning", "faction_alliance_broken", "faction_alliance_formed", "faction_alliance_proposal", "faction_mobile_base_update", "faction_peace_accepted", "faction_peace_proposal", "faction_war_declared", "fleet", "gift_received", "hold_update", "market_update", "mining_yield", "observation_update", "ok", "personnel_update", "pilotless_ship", "pirate_destroyed", "pirate_radio", "player_died", "player_kill", "prize_update", "ranch_poached", "reconnected", "refueled_by", "repaired_by", "scan_detected", "server_restart_warning", "ship_captured", "ship_commission_complete", "skill_level_up", "station_repaired", "trade_cancelled", "trade_complete", "trade_declined", "trade_offer_received"];
75
+ export declare const TYPED_NOTIFICATION_TYPES: readonly ["achievement_unlocked", "action_error", "action_result", "arena_challenge", "arena_objective", "base_destroyed", "battle_alert", "battle_damage", "battle_ended", "battle_joined", "battle_left", "battle_started", "battle_update", "chat_message", "cloak", "complete_mission", "crafting_update", "drone_adrift", "drone_destroyed", "drone_scan", "drone_survey", "drone_update", "error", "exchange_fill", "facility_reclaimed", "facility_rent_warning", "faction_alliance_broken", "faction_alliance_formed", "faction_alliance_proposal", "faction_invite", "faction_kick", "faction_mobile_base_update", "faction_peace_accepted", "faction_peace_proposal", "faction_promote", "faction_war_declared", "faction_withdraw_invite", "fleet", "gift_received", "hazard_warning", "hold_update", "market_update", "mining_yield", "observation_update", "ok", "pathfinder_storm", "personnel_update", "pilotless_ship", "pirate_destroyed", "pirate_radio", "player_died", "player_kill", "prize_update", "ranch_poached", "reconnected", "refueled_by", "repaired_by", "scan_detected", "server_restart_warning", "ship_captured", "ship_commission_complete", "skill_level_up", "station_repaired", "trade_cancelled", "trade_complete", "trade_declined", "trade_offer_received"];