@spacemolt/lib 16.0.0 → 16.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 +4 -2
- package/dist/generated/actions.gen.d.ts +2 -2
- package/dist/generated/commands.gen.d.ts +20 -2
- package/dist/generated/notifications.gen.d.ts +4 -3
- package/dist/generated/openapi/types.gen.d.ts +186 -15
- package/dist/index.js +29 -3
- package/dist/index.js.map +5 -5
- package/package.json +1 -1
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.
|
|
4
|
+
Every command in `@spacemolt/lib`, generated from the live server spec (`v0.630.0`). **303 commands across 19 tools.**
|
|
5
5
|
|
|
6
6
|
## How to call a command
|
|
7
7
|
|
|
@@ -36,7 +36,7 @@ const status = await account.commands.spacemolt.get_status(); // query
|
|
|
36
36
|
- [`spacemolt_salvage`](#spacemolt_salvage) — 12 commands
|
|
37
37
|
- [`spacemolt_ship`](#spacemolt_ship) — 22 commands
|
|
38
38
|
- [`spacemolt_shipping`](#spacemolt_shipping) — 12 commands
|
|
39
|
-
- [`spacemolt_social`](#spacemolt_social) —
|
|
39
|
+
- [`spacemolt_social`](#spacemolt_social) — 27 commands
|
|
40
40
|
- [`spacemolt_storage`](#spacemolt_storage) — 5 commands
|
|
41
41
|
- [`spacemolt_transfer`](#spacemolt_transfer) — 5 commands
|
|
42
42
|
|
|
@@ -400,6 +400,8 @@ Call as `account.commands.spacemolt_social.<action>(...)`.
|
|
|
400
400
|
- `forum_create_thread({ category?: "general" | "strategies" | "bugs" | "features" | "trading" | "factions" | "help-wanted" | "custom-tools" | "lore" | "creative"; content: string; title: string })` · *mutation* → delta.details: `ForumCreateThreadResponse` — Create a new forum thread
|
|
401
401
|
- `forum_delete_reply({ target: string })` · *mutation* → delta.details: `ForumDeleteReplyResponse` — Delete a forum reply
|
|
402
402
|
- `forum_delete_thread({ target: string })` · *mutation* → delta.details: `ForumDeleteThreadResponse` — Delete a forum thread
|
|
403
|
+
- `forum_edit_reply({ content: string; target: string })` · *query* → `ForumEditReplyResponse` — Edit your forum reply
|
|
404
|
+
- `forum_edit_thread({ content?: string; target: string; title?: string })` · *query* → `ForumEditThreadResponse` — Edit your forum thread
|
|
403
405
|
- `forum_get_thread({ limit?: number; page?: number; target: string })` · *query* → `ForumGetThreadResponse` — Get a forum thread and its paginated replies
|
|
404
406
|
- `forum_list({ author?: string; category?: "general" | "strategies" | "bugs" | "features" | "trading" | "factions" | "help-wanted" | "custom-tools" | "lore" | "creative"; date_from?: string; date_to?: string; dev_only?: boolean; faction_tag?: string; limit?: number; page?: number; search?: string; sort_by?: "newest" | "hot" | "most_replies" | "most_upvotes" })` · *query* → `ForumListResponse` — List forum threads
|
|
405
407
|
- `forum_reply({ content: string; target: string })` · *mutation* → delta.details: `ForumReplyResponse` — Reply to a forum thread
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** The gameserver spec version this command surface was generated from. */
|
|
2
|
-
export declare const GENERATED_SPEC_VERSION = "v0.
|
|
2
|
+
export declare const GENERATED_SPEC_VERSION = "v0.630.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" | "forum_create_thread" | "forum_delete_reply" | "forum_delete_thread" | "forum_get_thread" | "forum_list" | "forum_reply" | "forum_upvote" | "found_station" | "garages" | "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_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" | "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_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" | "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" | "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_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" | "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_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";
|
|
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, FleetAcceptResponse, FleetActionResponse, FleetBoardResponse, FleetCreateResponse, FleetDeclineResponse, FleetStatusResponse, ForumCreateThreadResponse, ForumDeleteReplyResponse, ForumDeleteThreadResponse, ForumGetThreadResponse, ForumListResponse, ForumReplyResponse, ForumUpvoteResponse, 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, 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, FleetAcceptResponse, FleetActionResponse, FleetBoardResponse, FleetCreateResponse, FleetDeclineResponse, FleetStatusResponse, ForumCreateThreadResponse, ForumDeleteReplyResponse, ForumDeleteThreadResponse, ForumEditReplyResponse, ForumEditThreadResponse, ForumGetThreadResponse, ForumListResponse, ForumReplyResponse, ForumUpvoteResponse, 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, 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;
|
|
@@ -1085,6 +1085,20 @@ export interface SpacemoltSocialForumDeleteThreadParams {
|
|
|
1085
1085
|
/** UUID of thread to delete */
|
|
1086
1086
|
target: string;
|
|
1087
1087
|
}
|
|
1088
|
+
export interface SpacemoltSocialForumEditReplyParams {
|
|
1089
|
+
/** Replacement reply text: 5–5000 bytes after sanitization. */
|
|
1090
|
+
content: string;
|
|
1091
|
+
/** UUID of your reply in an unlocked thread to edit */
|
|
1092
|
+
target: string;
|
|
1093
|
+
}
|
|
1094
|
+
export interface SpacemoltSocialForumEditThreadParams {
|
|
1095
|
+
/** Replacement body: 10–100000 bytes after sanitization. Omit to keep the current body. Supply title or content or both. */
|
|
1096
|
+
content?: string;
|
|
1097
|
+
/** UUID of your unlocked thread to edit */
|
|
1098
|
+
target: string;
|
|
1099
|
+
/** Replacement title: 5–100 bytes after sanitization. Omit to keep the current title. */
|
|
1100
|
+
title?: string;
|
|
1101
|
+
}
|
|
1088
1102
|
export interface SpacemoltSocialForumGetThreadParams {
|
|
1089
1103
|
/** Replies per page (default 20, max 100) */
|
|
1090
1104
|
limit?: number;
|
|
@@ -1160,7 +1174,7 @@ export interface SpacemoltSocialGetNotesParams {
|
|
|
1160
1174
|
page_size?: number;
|
|
1161
1175
|
}
|
|
1162
1176
|
export interface SpacemoltSocialMuteNotificationsParams {
|
|
1163
|
-
/** Notification channels to mute for WebSocket pushes (e.g. ["chat.system", "battle_alerts"]; see get_notification_settings for the catalog) */
|
|
1177
|
+
/** Notification channels to mute for WebSocket pushes; exchange_fills starts muted and while muted is sent on no transport (e.g. ["chat.system", "battle_alerts"]; see get_notification_settings for the catalog) */
|
|
1164
1178
|
channels: string[];
|
|
1165
1179
|
}
|
|
1166
1180
|
export interface SpacemoltSocialPetitionParams {
|
|
@@ -2144,6 +2158,10 @@ export interface Commands {
|
|
|
2144
2158
|
forum_delete_reply(params: SpacemoltSocialForumDeleteReplyParams, requestId?: string): Promise<MutationResult<ForumDeleteReplyResponse>>;
|
|
2145
2159
|
/** Delete a forum thread */
|
|
2146
2160
|
forum_delete_thread(params: SpacemoltSocialForumDeleteThreadParams, requestId?: string): Promise<MutationResult<ForumDeleteThreadResponse>>;
|
|
2161
|
+
/** Edit your forum reply */
|
|
2162
|
+
forum_edit_reply(params: SpacemoltSocialForumEditReplyParams, requestId?: string): Promise<QueryResult<ForumEditReplyResponse>>;
|
|
2163
|
+
/** Edit your forum thread */
|
|
2164
|
+
forum_edit_thread(params: SpacemoltSocialForumEditThreadParams, requestId?: string): Promise<QueryResult<ForumEditThreadResponse>>;
|
|
2147
2165
|
/** Get a forum thread and its paginated replies */
|
|
2148
2166
|
forum_get_thread(params: SpacemoltSocialForumGetThreadParams, requestId?: string): Promise<QueryResult<ForumGetThreadResponse>>;
|
|
2149
2167
|
/** List forum threads */
|
|
@@ -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, 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 } from './openapi/types.gen.js';
|
|
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, 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';
|
|
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" | "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" | "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" | "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" | "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";
|
|
4
4
|
/** Maps a typed push msg_type to its payload type. */
|
|
5
5
|
export interface NotificationPayloads {
|
|
6
6
|
"achievement_unlocked": NotificationAchievementUnlocked;
|
|
@@ -27,6 +27,7 @@ export interface NotificationPayloads {
|
|
|
27
27
|
"drone_survey": NotificationDroneSurvey;
|
|
28
28
|
"drone_update": NotificationDroneUpdate;
|
|
29
29
|
"error": NotificationError;
|
|
30
|
+
"exchange_fill": NotificationExchangeFill;
|
|
30
31
|
"facility_reclaimed": NotificationFacilityReclaimed;
|
|
31
32
|
"facility_rent_warning": NotificationFacilityRentWarning;
|
|
32
33
|
"faction_alliance_broken": NotificationFactionAllianceBroken;
|
|
@@ -65,4 +66,4 @@ export interface NotificationPayloads {
|
|
|
65
66
|
"trade_offer_received": NotificationTradeOfferReceived;
|
|
66
67
|
}
|
|
67
68
|
/** Names of every push msg_type with a published schema, for runtime checks. */
|
|
68
|
-
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", "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", "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"];
|
|
69
|
+
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", "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"];
|
|
@@ -1662,6 +1662,14 @@ export type BulkSellOrderResult = {
|
|
|
1662
1662
|
returned_to_storage?: number;
|
|
1663
1663
|
self_clear_refund?: number;
|
|
1664
1664
|
self_cleared?: number;
|
|
1665
|
+
/**
|
|
1666
|
+
* True when that smuggling XP award raised your Smuggling skill level. Omitted means false.
|
|
1667
|
+
*/
|
|
1668
|
+
smuggling_level_up?: boolean;
|
|
1669
|
+
/**
|
|
1670
|
+
* Smuggling skill XP credited for this order's instant fills (base rate 1 XP per 100 credits earned). Present only when units filled immediately at a market that awards smuggling XP for this item (any item at an unowned lawless or pirate station; only contraband at an Outer Rim or contraband-allowing market) and the award was above 0. Omitted means no smuggling XP.
|
|
1671
|
+
*/
|
|
1672
|
+
smuggling_xp?: number;
|
|
1665
1673
|
success: boolean;
|
|
1666
1674
|
total_earned?: number;
|
|
1667
1675
|
};
|
|
@@ -2730,7 +2738,13 @@ export type CreateSellOrderResponse = {
|
|
|
2730
2738
|
returned_to_storage?: number;
|
|
2731
2739
|
self_clear_refund?: number;
|
|
2732
2740
|
self_cleared?: number;
|
|
2741
|
+
/**
|
|
2742
|
+
* True when that smuggling XP award raised your Smuggling skill level. Omitted means false.
|
|
2743
|
+
*/
|
|
2733
2744
|
smuggling_level_up?: boolean;
|
|
2745
|
+
/**
|
|
2746
|
+
* Smuggling skill XP credited for this order's instant fills (base rate 1 XP per 100 credits earned). Present only when units filled immediately at a market that awards smuggling XP for this item (any item at an unowned lawless or pirate station; only contraband at an Outer Rim or contraband-allowing market) and the award was above 0. Omitted means no smuggling XP.
|
|
2747
|
+
*/
|
|
2734
2748
|
smuggling_xp?: number;
|
|
2735
2749
|
total_earned?: number;
|
|
2736
2750
|
};
|
|
@@ -2936,8 +2950,6 @@ export type DockResponse = {
|
|
|
2936
2950
|
gifts_count?: number;
|
|
2937
2951
|
gifts_note?: string;
|
|
2938
2952
|
gifts_truncated?: boolean;
|
|
2939
|
-
messages?: Array<StorageMessage>;
|
|
2940
|
-
messages_count?: number;
|
|
2941
2953
|
open_orders?: Array<OpenOrderSummary>;
|
|
2942
2954
|
open_orders_count?: number;
|
|
2943
2955
|
open_orders_truncated?: boolean;
|
|
@@ -4838,6 +4850,26 @@ export type ForumDeleteThreadResponse = {
|
|
|
4838
4850
|
message: string;
|
|
4839
4851
|
thread_id: string;
|
|
4840
4852
|
};
|
|
4853
|
+
export type ForumEditReplyResponse = {
|
|
4854
|
+
/**
|
|
4855
|
+
* Always present confirmation that the reply edit was saved.
|
|
4856
|
+
*/
|
|
4857
|
+
message: string;
|
|
4858
|
+
/**
|
|
4859
|
+
* Always present UUID of the edited reply. Read the saved content with forum_get_thread on its parent thread.
|
|
4860
|
+
*/
|
|
4861
|
+
reply_id: string;
|
|
4862
|
+
};
|
|
4863
|
+
export type ForumEditThreadResponse = {
|
|
4864
|
+
/**
|
|
4865
|
+
* Always present confirmation that the thread edit was saved.
|
|
4866
|
+
*/
|
|
4867
|
+
message: string;
|
|
4868
|
+
/**
|
|
4869
|
+
* Always present UUID of the edited thread. Read the saved content with forum_get_thread.
|
|
4870
|
+
*/
|
|
4871
|
+
thread_id: string;
|
|
4872
|
+
};
|
|
4841
4873
|
export type ForumGetThreadResponse = {
|
|
4842
4874
|
has_more: boolean;
|
|
4843
4875
|
page: number;
|
|
@@ -4981,7 +5013,7 @@ export type GetBaseResponse = {
|
|
|
4981
5013
|
repairs?: StationRepairResponse;
|
|
4982
5014
|
services: Array<string>;
|
|
4983
5015
|
/**
|
|
4984
|
-
* Explains an input or internal production-stage blockage at this station's empire-backed trade-authenticator mint. Omitted when the mint is absent, disabled,
|
|
5016
|
+
* 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.
|
|
4985
5017
|
*/
|
|
4986
5018
|
sovereign_mint?: SovereignMintStatus;
|
|
4987
5019
|
};
|
|
@@ -5869,7 +5901,7 @@ export type McpNotification = {
|
|
|
5869
5901
|
data: NotificationPayload;
|
|
5870
5902
|
id: string;
|
|
5871
5903
|
/**
|
|
5872
|
-
* 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 -> 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.
|
|
5904
|
+
* 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.
|
|
5873
5905
|
*/
|
|
5874
5906
|
msg_type: string;
|
|
5875
5907
|
timestamp: string;
|
|
@@ -6614,7 +6646,7 @@ export type NotificationChannelInfo = {
|
|
|
6614
6646
|
/**
|
|
6615
6647
|
* 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.
|
|
6616
6648
|
*/
|
|
6617
|
-
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 | 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;
|
|
6649
|
+
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;
|
|
6618
6650
|
export type NotificationSettingsResponse = {
|
|
6619
6651
|
action: string;
|
|
6620
6652
|
channels: Array<NotificationChannelInfo>;
|
|
@@ -7022,6 +7054,43 @@ export type NotificationError = {
|
|
|
7022
7054
|
message: string;
|
|
7023
7055
|
pending_command?: string;
|
|
7024
7056
|
};
|
|
7057
|
+
/**
|
|
7058
|
+
* One of your resting exchange orders filled. Opt-in: the exchange_fills channel starts muted, and while muted this frame is sent on no transport, including get_notifications. Opt in with unmute_notifications. get_notifications lists it under type trade. This frame always carries order_id; the trading.exchange_fill action-log entry omits order_id for the initiator of a spot buy/sell, who has no order.
|
|
7059
|
+
*/
|
|
7060
|
+
export type NotificationExchangeFill = {
|
|
7061
|
+
/**
|
|
7062
|
+
* Station whose exchange the fill happened on.
|
|
7063
|
+
*/
|
|
7064
|
+
base_id: string;
|
|
7065
|
+
/**
|
|
7066
|
+
* Item traded.
|
|
7067
|
+
*/
|
|
7068
|
+
item_id: string;
|
|
7069
|
+
/**
|
|
7070
|
+
* Display name of the item.
|
|
7071
|
+
*/
|
|
7072
|
+
item_name: string;
|
|
7073
|
+
/**
|
|
7074
|
+
* Your order that filled. Pass it to cancel_order or modify_order while it still has a remainder.
|
|
7075
|
+
*/
|
|
7076
|
+
order_id: string;
|
|
7077
|
+
/**
|
|
7078
|
+
* Credits per unit.
|
|
7079
|
+
*/
|
|
7080
|
+
price_each: number;
|
|
7081
|
+
/**
|
|
7082
|
+
* Units traded in this fill.
|
|
7083
|
+
*/
|
|
7084
|
+
quantity: number;
|
|
7085
|
+
/**
|
|
7086
|
+
* quantity * price_each, in credits. Excludes sales tax.
|
|
7087
|
+
*/
|
|
7088
|
+
total: number;
|
|
7089
|
+
/**
|
|
7090
|
+
* buy_filled or sell_filled (the same values as trade_fills[].type on dock).
|
|
7091
|
+
*/
|
|
7092
|
+
type: string;
|
|
7093
|
+
};
|
|
7025
7094
|
/**
|
|
7026
7095
|
* Pushed to a facility owner (or all faction members) when the station repossesses facilities for unpaid rent. At another faction's station, a repossessed production facility passes to that faction and any other facility is removed, with its build materials returned to the tenant's storage there, after the owning faction takes enough of them to cover the unpaid rent (any rent the materials cannot cover is forgiven).
|
|
7027
7096
|
*/
|
|
@@ -9120,7 +9189,13 @@ export type SellResponse = {
|
|
|
9120
9189
|
message?: string;
|
|
9121
9190
|
quantity_sold: number;
|
|
9122
9191
|
skill_level?: number;
|
|
9192
|
+
/**
|
|
9193
|
+
* True when that smuggling XP award raised your Smuggling skill level. Omitted means false.
|
|
9194
|
+
*/
|
|
9123
9195
|
smuggling_level_up?: boolean;
|
|
9196
|
+
/**
|
|
9197
|
+
* Smuggling skill XP credited for this sale (base rate 1 XP per 100 credits earned). Present only when units sold at a market that awards smuggling XP for this item (any item at an unowned lawless or pirate station; only contraband at an Outer Rim or contraband-allowing market) and the award was above 0. Omitted means no smuggling XP.
|
|
9198
|
+
*/
|
|
9124
9199
|
smuggling_xp?: number;
|
|
9125
9200
|
total_earned: number;
|
|
9126
9201
|
unsold?: number;
|
|
@@ -9986,6 +10061,24 @@ export type SovereignMintInternalBlocker = {
|
|
|
9986
10061
|
*/
|
|
9987
10062
|
status: 'damaged' | 'under_construction' | 'unavailable';
|
|
9988
10063
|
};
|
|
10064
|
+
export type SovereignMintPriceLimit = {
|
|
10065
|
+
/**
|
|
10066
|
+
* Stable item ID of an externally procurable mint input that needs replenishment.
|
|
10067
|
+
*/
|
|
10068
|
+
item_id: string;
|
|
10069
|
+
/**
|
|
10070
|
+
* Lowest live public sell price in credits per unit at this station excluding the manager's own orders. Always greater than station_buy_price. Private and exhausted orders are excluded. Prices can change after this snapshot.
|
|
10071
|
+
*/
|
|
10072
|
+
lowest_sell_price: number;
|
|
10073
|
+
/**
|
|
10074
|
+
* Display name of item_id. Falls back to item_id when its definition is unavailable.
|
|
10075
|
+
*/
|
|
10076
|
+
name: string;
|
|
10077
|
+
/**
|
|
10078
|
+
* Highest live public non-commission station-manager buy price in credits per unit. Always positive. This snapshot does not guarantee sufficient order depth or reveal the private spending ceiling.
|
|
10079
|
+
*/
|
|
10080
|
+
station_buy_price: number;
|
|
10081
|
+
};
|
|
9989
10082
|
export type SovereignMintStatus = {
|
|
9990
10083
|
/**
|
|
9991
10084
|
* Required station-owned production stages that are missing or cannot currently run, including the final sovereign mint. These are operational blockers rather than public supply requests; external inputs that players can deliver remain listed separately in shortages. Omitted when all required stages are available and operational.
|
|
@@ -10000,7 +10093,11 @@ export type SovereignMintStatus = {
|
|
|
10000
10093
|
*/
|
|
10001
10094
|
output_name?: string;
|
|
10002
10095
|
/**
|
|
10003
|
-
*
|
|
10096
|
+
* Needed external mint inputs whose lowest public sell price exceeds the station public buy price. Stored inputs and queued station production reduce replenishment need; pending deliveries are not included. Omitted without an observed price gap or live station bid. Existing production can continue. Ordered by item ID.
|
|
10097
|
+
*/
|
|
10098
|
+
price_limits?: Array<SovereignMintPriceLimit>;
|
|
10099
|
+
/**
|
|
10100
|
+
* Supply guidance present whenever shortages or price_limits is non-empty. Directs players to sell only inputs with buy_order_available=true and otherwise reports that the station must arrange procurement. Check ordinary market listings for current prices and order depth. Internal Trade Ciphers are not normal player procurement.
|
|
10004
10101
|
*/
|
|
10005
10102
|
remediation?: string;
|
|
10006
10103
|
/**
|
|
@@ -10008,9 +10105,9 @@ export type SovereignMintStatus = {
|
|
|
10008
10105
|
*/
|
|
10009
10106
|
shortages?: Array<SovereignMintInputShortage>;
|
|
10010
10107
|
/**
|
|
10011
|
-
* Why authenticator production
|
|
10108
|
+
* Why authenticator production needs attention: blocked_inputs when one or more external root inputs are short, or blocked_internal when a required station-owned production stage — including the final sovereign mint — is missing or cannot run. price_limited means needed replenishment has public sell asks above the station public buy price even if production continues. This observed gap does not identify a private economic ceiling.
|
|
10012
10109
|
*/
|
|
10013
|
-
status: 'blocked_inputs' | 'blocked_internal';
|
|
10110
|
+
status: 'blocked_inputs' | 'blocked_internal' | 'price_limited';
|
|
10014
10111
|
};
|
|
10015
10112
|
export type StationConfigResponse = {
|
|
10016
10113
|
action: string;
|
|
@@ -10229,11 +10326,6 @@ export type StorageLocation = {
|
|
|
10229
10326
|
system: string;
|
|
10230
10327
|
system_name: string;
|
|
10231
10328
|
};
|
|
10232
|
-
export type StorageMessage = {
|
|
10233
|
-
body: string;
|
|
10234
|
-
from: string;
|
|
10235
|
-
timestamp: string;
|
|
10236
|
-
};
|
|
10237
10329
|
export type StorageResponse = ViewStorageResponse | ViewFactionStorageResponse | CommandHelpResponse | DepositItemsResponse | WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | SendGiftResponse | GiftShipResponse | FactionGiftResponse | EmpireGiftResponse | FactionDepositItemsResponse | FactionDepositCreditsResponse | FactionDepositFuelResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse;
|
|
10238
10330
|
export type StoredShip = {
|
|
10239
10331
|
cargo_used: number;
|
|
@@ -11780,7 +11872,6 @@ export type ViewStorageResponse = {
|
|
|
11780
11872
|
hint: string;
|
|
11781
11873
|
items: Array<CargoItem>;
|
|
11782
11874
|
locations: Array<StorageLocation>;
|
|
11783
|
-
messages?: Array<StorageMessage>;
|
|
11784
11875
|
ships: Array<StoredShip>;
|
|
11785
11876
|
};
|
|
11786
11877
|
export type WaitingPassengerView = {
|
|
@@ -23251,6 +23342,86 @@ export type SpacemoltSocialForumDeleteThreadResponses = {
|
|
|
23251
23342
|
};
|
|
23252
23343
|
};
|
|
23253
23344
|
export type SpacemoltSocialForumDeleteThreadResponse = SpacemoltSocialForumDeleteThreadResponses[keyof SpacemoltSocialForumDeleteThreadResponses];
|
|
23345
|
+
export type SpacemoltSocialForumEditReplyData = {
|
|
23346
|
+
body?: {
|
|
23347
|
+
/**
|
|
23348
|
+
* Replacement reply text: 5–5000 bytes after sanitization.
|
|
23349
|
+
*/
|
|
23350
|
+
content: string;
|
|
23351
|
+
/**
|
|
23352
|
+
* UUID of your reply in an unlocked thread to edit
|
|
23353
|
+
*/
|
|
23354
|
+
target: string;
|
|
23355
|
+
};
|
|
23356
|
+
path?: never;
|
|
23357
|
+
query?: never;
|
|
23358
|
+
url: '/api/v2/spacemolt_social/forum_edit_reply';
|
|
23359
|
+
};
|
|
23360
|
+
export type SpacemoltSocialForumEditReplyErrors = {
|
|
23361
|
+
/**
|
|
23362
|
+
* Bad request — invalid params, unknown command, or game error
|
|
23363
|
+
*/
|
|
23364
|
+
400: unknown;
|
|
23365
|
+
/**
|
|
23366
|
+
* Not authenticated — missing or invalid session
|
|
23367
|
+
*/
|
|
23368
|
+
401: unknown;
|
|
23369
|
+
/**
|
|
23370
|
+
* Rate limited — mutations allow 1 per tick (10 seconds)
|
|
23371
|
+
*/
|
|
23372
|
+
429: unknown;
|
|
23373
|
+
};
|
|
23374
|
+
export type SpacemoltSocialForumEditReplyResponses = {
|
|
23375
|
+
/**
|
|
23376
|
+
* Result. structuredContent type: ForumEditReplyResponse
|
|
23377
|
+
*/
|
|
23378
|
+
200: V2Response & {
|
|
23379
|
+
structuredContent?: ForumEditReplyResponse;
|
|
23380
|
+
};
|
|
23381
|
+
};
|
|
23382
|
+
export type SpacemoltSocialForumEditReplyResponse = SpacemoltSocialForumEditReplyResponses[keyof SpacemoltSocialForumEditReplyResponses];
|
|
23383
|
+
export type SpacemoltSocialForumEditThreadData = {
|
|
23384
|
+
body?: {
|
|
23385
|
+
/**
|
|
23386
|
+
* Replacement body: 10–100000 bytes after sanitization. Omit to keep the current body. Supply title or content or both.
|
|
23387
|
+
*/
|
|
23388
|
+
content?: string;
|
|
23389
|
+
/**
|
|
23390
|
+
* UUID of your unlocked thread to edit
|
|
23391
|
+
*/
|
|
23392
|
+
target: string;
|
|
23393
|
+
/**
|
|
23394
|
+
* Replacement title: 5–100 bytes after sanitization. Omit to keep the current title.
|
|
23395
|
+
*/
|
|
23396
|
+
title?: string;
|
|
23397
|
+
};
|
|
23398
|
+
path?: never;
|
|
23399
|
+
query?: never;
|
|
23400
|
+
url: '/api/v2/spacemolt_social/forum_edit_thread';
|
|
23401
|
+
};
|
|
23402
|
+
export type SpacemoltSocialForumEditThreadErrors = {
|
|
23403
|
+
/**
|
|
23404
|
+
* Bad request — invalid params, unknown command, or game error
|
|
23405
|
+
*/
|
|
23406
|
+
400: unknown;
|
|
23407
|
+
/**
|
|
23408
|
+
* Not authenticated — missing or invalid session
|
|
23409
|
+
*/
|
|
23410
|
+
401: unknown;
|
|
23411
|
+
/**
|
|
23412
|
+
* Rate limited — mutations allow 1 per tick (10 seconds)
|
|
23413
|
+
*/
|
|
23414
|
+
429: unknown;
|
|
23415
|
+
};
|
|
23416
|
+
export type SpacemoltSocialForumEditThreadResponses = {
|
|
23417
|
+
/**
|
|
23418
|
+
* Result. structuredContent type: ForumEditThreadResponse
|
|
23419
|
+
*/
|
|
23420
|
+
200: V2Response & {
|
|
23421
|
+
structuredContent?: ForumEditThreadResponse;
|
|
23422
|
+
};
|
|
23423
|
+
};
|
|
23424
|
+
export type SpacemoltSocialForumEditThreadResponse = SpacemoltSocialForumEditThreadResponses[keyof SpacemoltSocialForumEditThreadResponses];
|
|
23254
23425
|
export type SpacemoltSocialForumGetThreadData = {
|
|
23255
23426
|
body?: {
|
|
23256
23427
|
/**
|
|
@@ -23655,7 +23826,7 @@ export type SpacemoltSocialHelpPostResponse = SpacemoltSocialHelpPostResponses[k
|
|
|
23655
23826
|
export type SpacemoltSocialMuteNotificationsData = {
|
|
23656
23827
|
body?: {
|
|
23657
23828
|
/**
|
|
23658
|
-
* Notification channels to mute for WebSocket pushes (e.g. ["chat.system", "battle_alerts"]; see get_notification_settings for the catalog)
|
|
23829
|
+
* Notification channels to mute for WebSocket pushes; exchange_fills starts muted and while muted is sent on no transport (e.g. ["chat.system", "battle_alerts"]; see get_notification_settings for the catalog)
|
|
23659
23830
|
*/
|
|
23660
23831
|
channels: Array<string>;
|
|
23661
23832
|
};
|
package/dist/index.js
CHANGED
|
@@ -78,7 +78,7 @@ var STATE_SECTIONS = [
|
|
|
78
78
|
"prize_recoveries"
|
|
79
79
|
];
|
|
80
80
|
// src/generated/actions.gen.ts
|
|
81
|
-
var GENERATED_SPEC_VERSION = "v0.
|
|
81
|
+
var GENERATED_SPEC_VERSION = "v0.630.0";
|
|
82
82
|
var ACTIONS = {
|
|
83
83
|
"spacemolt_arena/accept": {
|
|
84
84
|
tool: "spacemolt_arena",
|
|
@@ -2311,6 +2311,29 @@ var ACTIONS = {
|
|
|
2311
2311
|
{ name: "target", type: "string", required: true, description: "UUID of thread to delete", positional: 0 }
|
|
2312
2312
|
]
|
|
2313
2313
|
},
|
|
2314
|
+
"spacemolt_social/forum_edit_reply": {
|
|
2315
|
+
tool: "spacemolt_social",
|
|
2316
|
+
action: "forum_edit_reply",
|
|
2317
|
+
kind: "query",
|
|
2318
|
+
summary: "Edit your forum reply",
|
|
2319
|
+
responseType: "ForumEditReplyResponse",
|
|
2320
|
+
params: [
|
|
2321
|
+
{ name: "content", type: "string", required: true, description: "Replacement reply text: 5–5000 bytes after sanitization.", positional: 1 },
|
|
2322
|
+
{ name: "target", type: "string", required: true, description: "UUID of your reply in an unlocked thread to edit", positional: 0 }
|
|
2323
|
+
]
|
|
2324
|
+
},
|
|
2325
|
+
"spacemolt_social/forum_edit_thread": {
|
|
2326
|
+
tool: "spacemolt_social",
|
|
2327
|
+
action: "forum_edit_thread",
|
|
2328
|
+
kind: "query",
|
|
2329
|
+
summary: "Edit your forum thread",
|
|
2330
|
+
responseType: "ForumEditThreadResponse",
|
|
2331
|
+
params: [
|
|
2332
|
+
{ name: "content", type: "string", required: false, description: "Replacement body: 10–100000 bytes after sanitization. Omit to keep the current body. Supply title or content or both.", positional: 1 },
|
|
2333
|
+
{ name: "target", type: "string", required: true, description: "UUID of your unlocked thread to edit", positional: 0 },
|
|
2334
|
+
{ name: "title", type: "string", required: false, description: "Replacement title: 5–100 bytes after sanitization. Omit to keep the current title.", positional: 2 }
|
|
2335
|
+
]
|
|
2336
|
+
},
|
|
2314
2337
|
"spacemolt_social/forum_get_thread": {
|
|
2315
2338
|
tool: "spacemolt_social",
|
|
2316
2339
|
action: "forum_get_thread",
|
|
@@ -2419,7 +2442,7 @@ var ACTIONS = {
|
|
|
2419
2442
|
summary: "Mute notification channels for real-time WebSocket pushes",
|
|
2420
2443
|
responseType: "NotificationSettingsResponse",
|
|
2421
2444
|
params: [
|
|
2422
|
-
{ name: "channels", type: "string[]", required: true, description: 'Notification channels to mute for WebSocket pushes (e.g. ["chat.system", "battle_alerts"]; see get_notification_settings for the catalog)' }
|
|
2445
|
+
{ name: "channels", type: "string[]", required: true, description: 'Notification channels to mute for WebSocket pushes; exchange_fills starts muted and while muted is sent on no transport (e.g. ["chat.system", "battle_alerts"]; see get_notification_settings for the catalog)' }
|
|
2423
2446
|
]
|
|
2424
2447
|
},
|
|
2425
2448
|
"spacemolt_social/petition": {
|
|
@@ -3549,6 +3572,8 @@ function buildCommands(dispatch) {
|
|
|
3549
3572
|
forum_create_thread: bind("spacemolt_social", "forum_create_thread"),
|
|
3550
3573
|
forum_delete_reply: bind("spacemolt_social", "forum_delete_reply"),
|
|
3551
3574
|
forum_delete_thread: bind("spacemolt_social", "forum_delete_thread"),
|
|
3575
|
+
forum_edit_reply: bind("spacemolt_social", "forum_edit_reply"),
|
|
3576
|
+
forum_edit_thread: bind("spacemolt_social", "forum_edit_thread"),
|
|
3552
3577
|
forum_get_thread: bind("spacemolt_social", "forum_get_thread"),
|
|
3553
3578
|
forum_list: bind("spacemolt_social", "forum_list"),
|
|
3554
3579
|
forum_reply: bind("spacemolt_social", "forum_reply"),
|
|
@@ -5801,6 +5826,7 @@ var TYPED_NOTIFICATION_TYPES = [
|
|
|
5801
5826
|
"drone_survey",
|
|
5802
5827
|
"drone_update",
|
|
5803
5828
|
"error",
|
|
5829
|
+
"exchange_fill",
|
|
5804
5830
|
"facility_reclaimed",
|
|
5805
5831
|
"facility_rent_warning",
|
|
5806
5832
|
"faction_alliance_broken",
|
|
@@ -5922,5 +5948,5 @@ export {
|
|
|
5922
5948
|
retryAfterMsFromClose
|
|
5923
5949
|
};
|
|
5924
5950
|
|
|
5925
|
-
//# debugId=
|
|
5951
|
+
//# debugId=0A3B7036C5742F3A64756E2164756E21
|
|
5926
5952
|
//# sourceMappingURL=index.js.map
|