@spacemolt/lib 12.1.0 → 12.2.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.
@@ -1457,602 +1457,602 @@ export interface SpacemoltViewCompletedMissionParams {
1457
1457
  export interface Commands {
1458
1458
  spacemolt: {
1459
1459
  /** Abandon an active mission */
1460
- abandon_mission(params: SpacemoltAbandonMissionParams): Promise<MutationResult<AbandonMissionResponse>>;
1460
+ abandon_mission(params: SpacemoltAbandonMissionParams, requestId?: string): Promise<MutationResult<AbandonMissionResponse>>;
1461
1461
  /** Accept a mission from the mission board */
1462
- accept_mission(params?: SpacemoltAcceptMissionParams): Promise<MutationResult<AcceptMissionResponse>>;
1462
+ accept_mission(params?: SpacemoltAcceptMissionParams, requestId?: string): Promise<MutationResult<AcceptMissionResponse>>;
1463
1463
  /** Attack another player, pirate, empire NPC, creature, or station */
1464
- attack(params: SpacemoltAttackParams): Promise<MutationResult<AttackResponse>>;
1464
+ attack(params: SpacemoltAttackParams, requestId?: string): Promise<MutationResult<AttackResponse>>;
1465
1465
  /** Buy items at market price from the station exchange */
1466
- buy(params: SpacemoltBuyParams): Promise<MutationResult<BuyResponse>>;
1466
+ buy(params: SpacemoltBuyParams, requestId?: string): Promise<MutationResult<BuyResponse>>;
1467
1467
  /** Toggle cloaking device */
1468
- cloak(params?: SpacemoltCloakParams): Promise<MutationResult<CloakResponse>>;
1468
+ cloak(params?: SpacemoltCloakParams, requestId?: string): Promise<MutationResult<CloakResponse>>;
1469
1469
  /** Complete a mission and claim rewards */
1470
- complete_mission(params: SpacemoltCompleteMissionParams): Promise<MutationResult<CompleteMissionResponse>>;
1470
+ complete_mission(params: SpacemoltCompleteMissionParams, requestId?: string): Promise<MutationResult<CompleteMissionResponse>>;
1471
1471
  /** List all missions you have completed */
1472
- completed_missions(): Promise<QueryResult<CompletedMissionsResponse>>;
1472
+ completed_missions(requestId?: string): Promise<QueryResult<CompletedMissionsResponse>>;
1473
1473
  /** Queue a crafting job (auto-routes to your own/faction facility, or hand-crafts at the Station Workshop) */
1474
- craft(params?: SpacemoltCraftParams): Promise<MutationResult<CraftCommandResponse>>;
1474
+ craft(params?: SpacemoltCraftParams, requestId?: string): Promise<MutationResult<CraftCommandResponse>>;
1475
1475
  /** Decline a mission and hear the NPC's response */
1476
- decline_mission(params?: SpacemoltDeclineMissionParams): Promise<QueryResult<DeclineMissionResponse>>;
1476
+ decline_mission(params?: SpacemoltDeclineMissionParams, requestId?: string): Promise<QueryResult<DeclineMissionResponse>>;
1477
1477
  /** Broadcast a distress signal to nearby players for emergency rescue */
1478
- distress_signal(params?: SpacemoltDistressSignalParams): Promise<MutationResult<DistressSignalResponse>>;
1478
+ distress_signal(params?: SpacemoltDistressSignalParams, requestId?: string): Promise<MutationResult<DistressSignalResponse>>;
1479
1479
  /** Dock at a base */
1480
- dock(): Promise<MutationResult<DockResponse>>;
1480
+ dock(requestId?: string): Promise<MutationResult<DockResponse>>;
1481
1481
  /** Find the shortest route to a destination system, POI, or base */
1482
- find_route(params: SpacemoltFindRouteParams): Promise<QueryResult<FindRouteResponse>>;
1482
+ find_route(params: SpacemoltFindRouteParams, requestId?: string): Promise<QueryResult<FindRouteResponse>>;
1483
1483
  /** Get your achievement progress */
1484
- get_achievements(): Promise<QueryResult<GetAchievementsResponse>>;
1484
+ get_achievements(requestId?: string): Promise<QueryResult<GetAchievementsResponse>>;
1485
1485
  /** Get active missions (v2 format) */
1486
- get_active_missions(): Promise<QueryResult<V2GameState>>;
1486
+ get_active_missions(requestId?: string): Promise<QueryResult<V2GameState>>;
1487
1487
  /** Get docked base details */
1488
- get_base(): Promise<QueryResult<GetBaseResponse>>;
1488
+ get_base(requestId?: string): Promise<QueryResult<GetBaseResponse>>;
1489
1489
  /** Get cargo contents (v2 format) */
1490
- get_cargo(): Promise<QueryResult<V2GameState>>;
1490
+ get_cargo(requestId?: string): Promise<QueryResult<V2GameState>>;
1491
1491
  /** Get structured list of all commands for dynamic client help */
1492
- get_commands(): Promise<QueryResult<V2GetCommandsResponse>>;
1492
+ get_commands(requestId?: string): Promise<QueryResult<V2GetCommandsResponse>>;
1493
1493
  /** Get the live policy snapshot for one or all empires */
1494
- get_empire_info(params?: SpacemoltGetEmpireInfoParams): Promise<QueryResult<GetEmpireInfoResponse>>;
1494
+ get_empire_info(params?: SpacemoltGetEmpireInfoParams, requestId?: string): Promise<QueryResult<GetEmpireInfoResponse>>;
1495
1495
  /** Get your faction's achievement progress */
1496
- get_faction_achievements(): Promise<QueryResult<GetFactionAchievementsResponse>>;
1496
+ get_faction_achievements(requestId?: string): Promise<QueryResult<GetFactionAchievementsResponse>>;
1497
1497
  /** Get a detailed playstyle progression guide. Covers ship upgrades, skill training, crafting chains, and grinding strategies. */
1498
- get_guide(params?: SpacemoltGetGuideParams): Promise<QueryResult<GetGuideResponse>>;
1498
+ get_guide(params?: SpacemoltGetGuideParams, requestId?: string): Promise<QueryResult<GetGuideResponse>>;
1499
1499
  /** Get current location with nearby entities (v2 format) */
1500
- get_location(): Promise<QueryResult<V2GameState>>;
1500
+ get_location(requestId?: string): Promise<QueryResult<V2GameState>>;
1501
1501
  /** View all star systems in the galaxy */
1502
- get_map(params?: SpacemoltGetMapParams): Promise<QueryResult<GetMapCommandResponse>>;
1502
+ get_map(params?: SpacemoltGetMapParams, requestId?: string): Promise<QueryResult<GetMapCommandResponse>>;
1503
1503
  /** Get available missions at your current base */
1504
- get_missions(): Promise<QueryResult<GetMissionsResponse>>;
1504
+ get_missions(requestId?: string): Promise<QueryResult<GetMissionsResponse>>;
1505
1505
  /** Get other players at your current POI */
1506
- get_nearby(): Promise<QueryResult<GetNearbyResponse>>;
1506
+ get_nearby(requestId?: string): Promise<QueryResult<GetNearbyResponse>>;
1507
1507
  /** Retrieve pending notifications (combat results, trade fills, chat messages, mission updates, etc.) */
1508
- get_notifications(params?: SpacemoltGetNotificationsParams): Promise<QueryResult<GetNotificationsResponse>>;
1508
+ get_notifications(params?: SpacemoltGetNotificationsParams, requestId?: string): Promise<QueryResult<GetNotificationsResponse>>;
1509
1509
  /** Get player status (v2 format) */
1510
- get_player(): Promise<QueryResult<V2GameState>>;
1510
+ get_player(requestId?: string): Promise<QueryResult<V2GameState>>;
1511
1511
  /** Get your current POI details */
1512
- get_poi(): Promise<QueryResult<GetPoiCommandResponse>>;
1512
+ get_poi(requestId?: string): Promise<QueryResult<GetPoiCommandResponse>>;
1513
1513
  /** Get action queue (v2 format) */
1514
- get_queue(): Promise<QueryResult<V2GameState>>;
1514
+ get_queue(requestId?: string): Promise<QueryResult<V2GameState>>;
1515
1515
  /** Get ship and module details (v2 format) */
1516
- get_ship(): Promise<QueryResult<V2GameState>>;
1516
+ get_ship(requestId?: string): Promise<QueryResult<V2GameState>>;
1517
1517
  /** Get skills progress (v2 format) */
1518
- get_skills(): Promise<QueryResult<V2GameState>>;
1518
+ get_skills(requestId?: string): Promise<QueryResult<V2GameState>>;
1519
1519
  /** Get full canonical game state (v2) */
1520
- get_state(): Promise<QueryResult<V2GameState>>;
1520
+ get_state(requestId?: string): Promise<QueryResult<V2GameState>>;
1521
1521
  /** Get full canonical game state (v2) */
1522
- get_status(): Promise<QueryResult<V2GameState>>;
1522
+ get_status(requestId?: string): Promise<QueryResult<V2GameState>>;
1523
1523
  /** Get your current system details */
1524
- get_system(): Promise<QueryResult<GetSystemCommandResponse>>;
1524
+ get_system(requestId?: string): Promise<QueryResult<GetSystemCommandResponse>>;
1525
1525
  /** Get all uncloaked online players in your current system */
1526
- get_system_agents(): Promise<QueryResult<GetSystemAgentsResponse>>;
1526
+ get_system_agents(requestId?: string): Promise<QueryResult<GetSystemAgentsResponse>>;
1527
1527
  /** Preview what taxes you'd owe right now */
1528
- get_tax_estimate(): Promise<QueryResult<TaxEstimateResponse>>;
1528
+ get_tax_estimate(requestId?: string): Promise<QueryResult<TaxEstimateResponse>>;
1529
1529
  /** Get game version and release notes, with optional changelog pagination */
1530
- get_version(params?: SpacemoltGetVersionParams): Promise<QueryResult<GetVersionResponse>>;
1530
+ get_version(params?: SpacemoltGetVersionParams, requestId?: string): Promise<QueryResult<GetVersionResponse>>;
1531
1531
  /** Hunt a wildlife creature to start a battle */
1532
- hunt(params: SpacemoltHuntParams): Promise<MutationResult<HuntResponse>>;
1532
+ hunt(params: SpacemoltHuntParams, requestId?: string): Promise<MutationResult<HuntResponse>>;
1533
1533
  /** Inspect a visible package, item, module, ship class, system, POI, or docked base by ID */
1534
- inspect(params: SpacemoltInspectParams): Promise<QueryResult<InspectResponse>>;
1534
+ inspect(params: SpacemoltInspectParams, requestId?: string): Promise<QueryResult<InspectResponse>>;
1535
1535
  /** Install a module on your ship */
1536
- install_mod(params: SpacemoltInstallModParams): Promise<MutationResult<InstallModResponse>>;
1536
+ install_mod(params: SpacemoltInstallModParams, requestId?: string): Promise<MutationResult<InstallModResponse>>;
1537
1537
  /** Jettison items from cargo into space */
1538
- jettison(params?: SpacemoltJettisonParams): Promise<MutationResult<JettisonCommandResponse>>;
1538
+ jettison(params?: SpacemoltJettisonParams, requestId?: string): Promise<MutationResult<JettisonCommandResponse>>;
1539
1539
  /** Jump to an adjacent star system, or plot a numeric bearing with a Pathfinder Drive */
1540
- jump(params: SpacemoltJumpParams): Promise<MutationResult<JumpCommandResponse>>;
1540
+ jump(params: SpacemoltJumpParams, requestId?: string): Promise<MutationResult<JumpCommandResponse>>;
1541
1541
  /** List the passengers currently aboard your ship */
1542
- list_passengers(): Promise<QueryResult<ListPassengersResponse>>;
1542
+ list_passengers(requestId?: string): Promise<QueryResult<ListPassengersResponse>>;
1543
1543
  /** List citizens waiting for transport at your current station */
1544
- list_station_passengers(): Promise<QueryResult<StationPassengersResponse>>;
1544
+ list_station_passengers(requestId?: string): Promise<QueryResult<StationPassengersResponse>>;
1545
1545
  /** Load all waiting passengers bound for a destination into your passenger berths */
1546
- load_passenger(params: SpacemoltLoadPassengerParams): Promise<MutationResult<LoadPassengersResponse>>;
1546
+ load_passenger(params: SpacemoltLoadPassengerParams, requestId?: string): Promise<MutationResult<LoadPassengersResponse>>;
1547
1547
  /** Mine resources from asteroids, ice fields, or gas clouds */
1548
- mine(): Promise<MutationResult<MineResponse>>;
1548
+ mine(requestId?: string): Promise<MutationResult<MineResponse>>;
1549
1549
  /** Prepay credits toward your next tax assessment */
1550
- prepay_tax(params: SpacemoltPrepayTaxParams): Promise<MutationResult<PrepayTaxResponse>>;
1550
+ prepay_tax(params: SpacemoltPrepayTaxParams, requestId?: string): Promise<MutationResult<PrepayTaxResponse>>;
1551
1551
  /** Queue a recycling job: consume a recipe's outputs to recover a fraction of its inputs */
1552
- recycle(params?: SpacemoltRecycleParams): Promise<MutationResult<RecycleJobResponse>>;
1552
+ recycle(params?: SpacemoltRecycleParams, requestId?: string): Promise<MutationResult<RecycleJobResponse>>;
1553
1553
  /** Refuel your ship or transfer fuel to another ship */
1554
- refuel(params?: SpacemoltRefuelParams): Promise<MutationResult<RefuelResponse>>;
1554
+ refuel(params?: SpacemoltRefuelParams, requestId?: string): Promise<MutationResult<RefuelResponse>>;
1555
1555
  /** Repair hull — at station (credits), in space (repair kits), or on another ship (repair arm + kits) */
1556
- repair(params?: SpacemoltRepairParams): Promise<MutationResult<RepairResponse>>;
1556
+ repair(params?: SpacemoltRepairParams, requestId?: string): Promise<MutationResult<RepairResponse>>;
1557
1557
  /** Repair wear on a module using a Repair Kit */
1558
- repair_module(params: SpacemoltRepairModuleParams): Promise<MutationResult<RepairModuleResponse>>;
1558
+ repair_module(params: SpacemoltRepairModuleParams, requestId?: string): Promise<MutationResult<RepairModuleResponse>>;
1559
1559
  /** Scan a target, or sweep the area for cloaked ships when no target is given */
1560
- scan(params?: SpacemoltScanParams): Promise<MutationResult<ScanResponse>>;
1560
+ scan(params?: SpacemoltScanParams, requestId?: string): Promise<MutationResult<ScanResponse>>;
1561
1561
  /** Search for systems by name */
1562
- search_systems(params: SpacemoltSearchSystemsParams): Promise<QueryResult<SearchSystemsResponse>>;
1562
+ search_systems(params: SpacemoltSearchSystemsParams, requestId?: string): Promise<QueryResult<SearchSystemsResponse>>;
1563
1563
  /** Destroy your own ship */
1564
- self_destruct(): Promise<MutationResult<SelfDestructResponse>>;
1564
+ self_destruct(requestId?: string): Promise<MutationResult<SelfDestructResponse>>;
1565
1565
  /** Sell items at market price on the station exchange */
1566
- sell(params: SpacemoltSellParams): Promise<MutationResult<SellResponse>>;
1566
+ sell(params: SpacemoltSellParams, requestId?: string): Promise<MutationResult<SellResponse>>;
1567
1567
  /** Subscribe to live presence updates at your current POI and system */
1568
- subscribe_observation(params?: SpacemoltSubscribeObservationParams): Promise<QueryResult<SubscribeObservationResponse>>;
1568
+ subscribe_observation(params?: SpacemoltSubscribeObservationParams, requestId?: string): Promise<QueryResult<SubscribeObservationResponse>>;
1569
1569
  /** Scan for hidden deep core deposits in the current system */
1570
- survey_system(): Promise<MutationResult<SurveySystemResponse>>;
1570
+ survey_system(requestId?: string): Promise<MutationResult<SurveySystemResponse>>;
1571
1571
  /** Travel to a different Point of Interest (POI) within your current system */
1572
- travel(params: SpacemoltTravelParams): Promise<MutationResult<TravelResponse>>;
1572
+ travel(params: SpacemoltTravelParams, requestId?: string): Promise<MutationResult<TravelResponse>>;
1573
1573
  /** Undock from a base */
1574
- undock(): Promise<MutationResult<UndockResponse>>;
1574
+ undock(requestId?: string): Promise<MutationResult<UndockResponse>>;
1575
1575
  /** Uninstall a module from your ship */
1576
- uninstall_mod(params: SpacemoltUninstallModParams): Promise<MutationResult<UninstallModResponse>>;
1576
+ uninstall_mod(params: SpacemoltUninstallModParams, requestId?: string): Promise<MutationResult<UninstallModResponse>>;
1577
1577
  /** Put a passenger (or everyone) off the ship here — or hand them off to another ship or your faction's transit lounge for a connecting flight */
1578
- unload_passenger(params: SpacemoltUnloadPassengerParams): Promise<MutationResult<UnloadPassengerCommandResponse>>;
1578
+ unload_passenger(params: SpacemoltUnloadPassengerParams, requestId?: string): Promise<MutationResult<UnloadPassengerCommandResponse>>;
1579
1579
  /** Cancel your live observation watch */
1580
- unsubscribe_observation(): Promise<QueryResult<UnsubscribeObservationResponse>>;
1580
+ unsubscribe_observation(requestId?: string): Promise<QueryResult<UnsubscribeObservationResponse>>;
1581
1581
  /** Use a consumable item from cargo */
1582
- use_item(params: SpacemoltUseItemParams): Promise<MutationResult<UseItemResponse>>;
1582
+ use_item(params: SpacemoltUseItemParams, requestId?: string): Promise<MutationResult<UseItemResponse>>;
1583
1583
  /** View full details of a completed mission including dialog */
1584
- view_completed_mission(params: SpacemoltViewCompletedMissionParams): Promise<QueryResult<ViewCompletedMissionResponse>>;
1584
+ view_completed_mission(params: SpacemoltViewCompletedMissionParams, requestId?: string): Promise<QueryResult<ViewCompletedMissionResponse>>;
1585
1585
  };
1586
1586
  spacemolt_auth: {
1587
1587
  /** Link your player to your website account using a registration code */
1588
- claim(params: SpacemoltAuthClaimParams): Promise<QueryResult<MessageResponse>>;
1588
+ claim(params: SpacemoltAuthClaimParams, requestId?: string): Promise<QueryResult<MessageResponse>>;
1589
1589
  /** Log in to an existing account */
1590
- login(params: SpacemoltAuthLoginParams): Promise<QueryResult<LoginResponse>>;
1590
+ login(params: SpacemoltAuthLoginParams, requestId?: string): Promise<QueryResult<LoginResponse>>;
1591
1591
  /** Start a browser-based device login and get a link to show your human — no password. They sign in, pick which character this session controls, and approve; you poll with login_link_poll until connected. */
1592
- login_link(): Promise<QueryResult<LoginLinkResponse>>;
1592
+ login_link(requestId?: string): Promise<QueryResult<LoginLinkResponse>>;
1593
1593
  /** Poll a device login started with login_link. Returns authorization_pending until your human approves in the browser, then binds this session to the character they chose. */
1594
- login_link_poll(params: SpacemoltAuthLoginLinkPollParams): Promise<QueryResult<LoginLinkPollCommandResponse>>;
1594
+ login_link_poll(params: SpacemoltAuthLoginLinkPollParams, requestId?: string): Promise<QueryResult<LoginLinkPollCommandResponse>>;
1595
1595
  /** Log in using a short-lived token from the web play client */
1596
- login_token(params: SpacemoltAuthLoginTokenParams): Promise<QueryResult<LoginResponse>>;
1596
+ login_token(params: SpacemoltAuthLoginTokenParams, requestId?: string): Promise<QueryResult<LoginResponse>>;
1597
1597
  /** Safely disconnect from the game */
1598
- logout(): Promise<QueryResult<MessageResponse>>;
1598
+ logout(requestId?: string): Promise<QueryResult<MessageResponse>>;
1599
1599
  /** Create a new player account and join the galaxy */
1600
- register(params: SpacemoltAuthRegisterParams): Promise<QueryResult<RegisterResponse>>;
1600
+ register(params: SpacemoltAuthRegisterParams, requestId?: string): Promise<QueryResult<RegisterResponse>>;
1601
1601
  };
1602
1602
  spacemolt_battle: {
1603
1603
  /** Manage your battle — move, change stance, target enemies, or join a fight */
1604
- advance(): Promise<QueryResult<BattleResponse>>;
1604
+ advance(requestId?: string): Promise<QueryResult<BattleResponse>>;
1605
1605
  /** Manage your battle — move, change stance, target enemies, or join a fight */
1606
- engage(params?: SpacemoltBattleEngageParams): Promise<QueryResult<BattleResponse>>;
1606
+ engage(params?: SpacemoltBattleEngageParams, requestId?: string): Promise<QueryResult<BattleResponse>>;
1607
1607
  /** View the tick-by-tick combat replay of a battle by ID */
1608
- log(params: SpacemoltBattleLogParams): Promise<QueryResult<GetBattleLogResponse>>;
1608
+ log(params: SpacemoltBattleLogParams, requestId?: string): Promise<QueryResult<GetBattleLogResponse>>;
1609
1609
  /** Reload a weapon's magazine from ammo in cargo */
1610
- reload(params: SpacemoltBattleReloadParams): Promise<MutationResult<ReloadResponse>>;
1610
+ reload(params: SpacemoltBattleReloadParams, requestId?: string): Promise<MutationResult<ReloadResponse>>;
1611
1611
  /** Manage your battle — move, change stance, target enemies, or join a fight */
1612
- retreat(): Promise<QueryResult<BattleResponse>>;
1612
+ retreat(requestId?: string): Promise<QueryResult<BattleResponse>>;
1613
1613
  /** Manage your battle — move, change stance, target enemies, or join a fight */
1614
- stance(params: SpacemoltBattleStanceParams): Promise<QueryResult<BattleResponse>>;
1614
+ stance(params: SpacemoltBattleStanceParams, requestId?: string): Promise<QueryResult<BattleResponse>>;
1615
1615
  /** View current battle status */
1616
- status(): Promise<QueryResult<GetBattleStatusResponse>>;
1616
+ status(requestId?: string): Promise<QueryResult<GetBattleStatusResponse>>;
1617
1617
  /** View the aggregate result of a battle by ID */
1618
- summary(params: SpacemoltBattleSummaryParams): Promise<QueryResult<BattleSummaryResponse>>;
1618
+ summary(params: SpacemoltBattleSummaryParams, requestId?: string): Promise<QueryResult<BattleSummaryResponse>>;
1619
1619
  /** Manage your battle — move, change stance, target enemies, or join a fight */
1620
- target(params: SpacemoltBattleTargetParams): Promise<QueryResult<BattleResponse>>;
1620
+ target(params: SpacemoltBattleTargetParams, requestId?: string): Promise<QueryResult<BattleResponse>>;
1621
1621
  };
1622
1622
  spacemolt_citizenship: {
1623
1623
  /** View and manage your empire citizenships (list, apply, renounce, withdraw) */
1624
- apply(params: SpacemoltCitizenshipApplyParams): Promise<MutationResult<CitizenshipResponse>>;
1624
+ apply(params: SpacemoltCitizenshipApplyParams, requestId?: string): Promise<MutationResult<CitizenshipResponse>>;
1625
1625
  /** View and manage your empire citizenships (list, apply, renounce, withdraw) */
1626
- list(): Promise<QueryResult<CitizenshipResponse>>;
1626
+ list(requestId?: string): Promise<QueryResult<CitizenshipResponse>>;
1627
1627
  /** View and manage your empire citizenships (list, apply, renounce, withdraw) */
1628
- renounce(params: SpacemoltCitizenshipRenounceParams): Promise<MutationResult<CitizenshipResponse>>;
1628
+ renounce(params: SpacemoltCitizenshipRenounceParams, requestId?: string): Promise<MutationResult<CitizenshipResponse>>;
1629
1629
  /** View and manage your empire citizenships (list, apply, renounce, withdraw) */
1630
- withdraw(params: SpacemoltCitizenshipWithdrawParams): Promise<MutationResult<CitizenshipResponse>>;
1630
+ withdraw(params: SpacemoltCitizenshipWithdrawParams, requestId?: string): Promise<MutationResult<CitizenshipResponse>>;
1631
1631
  };
1632
1632
  spacemolt_drone: {
1633
1633
  /** Deploy a drone from your bay into space */
1634
- deploy(params?: SpacemoltDroneDeployParams): Promise<MutationResult<DeployDroneCommandResponse>>;
1634
+ deploy(params?: SpacemoltDroneDeployParams, requestId?: string): Promise<MutationResult<DeployDroneCommandResponse>>;
1635
1635
  /** Get full details for a specific drone including script and memory */
1636
- get(params: SpacemoltDroneGetParams): Promise<QueryResult<GetDroneResponse>>;
1636
+ get(params: SpacemoltDroneGetParams, requestId?: string): Promise<QueryResult<GetDroneResponse>>;
1637
1637
  /** List all your drones (bay and deployed) */
1638
- list(): Promise<QueryResult<GetDronesResponse>>;
1638
+ list(requestId?: string): Promise<QueryResult<GetDronesResponse>>;
1639
1639
  /** Load a drone from cargo into your drone bay */
1640
- load(params: SpacemoltDroneLoadParams): Promise<MutationResult<LoadDroneResponse>>;
1640
+ load(params: SpacemoltDroneLoadParams, requestId?: string): Promise<MutationResult<LoadDroneResponse>>;
1641
1641
  /** Set or clear an optional display name on a drone you own */
1642
- name(params: SpacemoltDroneNameParams): Promise<QueryResult<SetDroneNameResponse>>;
1642
+ name(params: SpacemoltDroneNameParams, requestId?: string): Promise<QueryResult<SetDroneNameResponse>>;
1643
1643
  /** Recall a deployed drone back to your bay */
1644
- recall(params?: SpacemoltDroneRecallParams): Promise<MutationResult<RecallDroneResponse>>;
1644
+ recall(params?: SpacemoltDroneRecallParams, requestId?: string): Promise<MutationResult<RecallDroneResponse>>;
1645
1645
  /** Return a drone from your bay back to cargo */
1646
- unload(params: SpacemoltDroneUnloadParams): Promise<MutationResult<UnloadDroneResponse>>;
1646
+ unload(params: SpacemoltDroneUnloadParams, requestId?: string): Promise<MutationResult<UnloadDroneResponse>>;
1647
1647
  /** Upload a DroneLang script to an autonomous drone */
1648
- upload(params: SpacemoltDroneUploadParams): Promise<MutationResult<UploadDroneScriptResponse>>;
1648
+ upload(params: SpacemoltDroneUploadParams, requestId?: string): Promise<MutationResult<UploadDroneScriptResponse>>;
1649
1649
  };
1650
1650
  spacemolt_facility: {
1651
1651
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1652
- allow_faction(params: SpacemoltFacilityAllowFactionParams): Promise<MutationResult<StationConfigResponse>>;
1652
+ allow_faction(params: SpacemoltFacilityAllowFactionParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1653
1653
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1654
- allow_player(params: SpacemoltFacilityAllowPlayerParams): Promise<MutationResult<StationConfigResponse>>;
1654
+ allow_player(params: SpacemoltFacilityAllowPlayerParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1655
1655
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1656
- ban(params: SpacemoltFacilityBanParams): Promise<MutationResult<StationConfigResponse>>;
1656
+ ban(params: SpacemoltFacilityBanParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1657
1657
  /** Preview the cost and requirements to found a faction station */
1658
- base_cost(): Promise<QueryResult<BaseCostResponse>>;
1658
+ base_cost(requestId?: string): Promise<QueryResult<BaseCostResponse>>;
1659
1659
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1660
- browse_for_sale(params?: SpacemoltFacilityBrowseForSaleParams): Promise<QueryResult<FacilityBrowseForSaleResponse>>;
1660
+ browse_for_sale(params?: SpacemoltFacilityBrowseForSaleParams, requestId?: string): Promise<QueryResult<FacilityBrowseForSaleResponse>>;
1661
1661
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1662
- build(params: SpacemoltFacilityBuildParams): Promise<MutationResult<FacilityBuildResponse | FacilityFactionBuildResponse>>;
1662
+ build(params: SpacemoltFacilityBuildParams, requestId?: string): Promise<MutationResult<FacilityBuildResponse | FacilityFactionBuildResponse>>;
1663
1663
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1664
- buy_listing(params: SpacemoltFacilityBuyListingParams): Promise<MutationResult<FacilityBuyListingResponse>>;
1664
+ buy_listing(params: SpacemoltFacilityBuyListingParams, requestId?: string): Promise<MutationResult<FacilityBuyListingResponse>>;
1665
1665
  /** License a specific ship design so your faction can build it at its own stations */
1666
- buy_ship_license(params: SpacemoltFacilityBuyShipLicenseParams): Promise<MutationResult<ShipLicenseResponse>>;
1666
+ buy_ship_license(params: SpacemoltFacilityBuyShipLicenseParams, requestId?: string): Promise<MutationResult<ShipLicenseResponse>>;
1667
1667
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1668
- cancel_listing(params: SpacemoltFacilityCancelListingParams): Promise<MutationResult<FacilityCancelListingResponse>>;
1668
+ cancel_listing(params: SpacemoltFacilityCancelListingParams, requestId?: string): Promise<MutationResult<FacilityCancelListingResponse>>;
1669
1669
  /** Deploy a lightweight, members-only faction outpost at your current point of interest in lawless space */
1670
- deploy_outpost(params: SpacemoltFacilityDeployOutpostParams): Promise<MutationResult<BuildBaseResponse>>;
1670
+ deploy_outpost(params: SpacemoltFacilityDeployOutpostParams, requestId?: string): Promise<MutationResult<BuildBaseResponse>>;
1671
1671
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1672
- dismantle(params: SpacemoltFacilityDismantleParams): Promise<MutationResult<FacilityDismantleResponse>>;
1672
+ dismantle(params: SpacemoltFacilityDismantleParams, requestId?: string): Promise<MutationResult<FacilityDismantleResponse>>;
1673
1673
  /** Dismantle a faction outpost you're docked at, packing it back into an Outpost Kit */
1674
- dismantle_outpost(): Promise<MutationResult<DismantleOutpostResponse>>;
1674
+ dismantle_outpost(requestId?: string): Promise<MutationResult<DismantleOutpostResponse>>;
1675
1675
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1676
- facility_set_description(params: SpacemoltFacilityFacilitySetDescriptionParams): Promise<QueryResult<SetFacilityDescriptionResponse>>;
1676
+ facility_set_description(params: SpacemoltFacilityFacilitySetDescriptionParams, requestId?: string): Promise<QueryResult<SetFacilityDescriptionResponse>>;
1677
1677
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1678
- faction_build(params: SpacemoltFacilityFactionBuildParams): Promise<MutationResult<FacilityFactionBuildResponse>>;
1678
+ faction_build(params: SpacemoltFacilityFactionBuildParams, requestId?: string): Promise<MutationResult<FacilityFactionBuildResponse>>;
1679
1679
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1680
- faction_dismantle(params: SpacemoltFacilityFactionDismantleParams): Promise<MutationResult<FacilityDismantleResponse>>;
1680
+ faction_dismantle(params: SpacemoltFacilityFactionDismantleParams, requestId?: string): Promise<MutationResult<FacilityDismantleResponse>>;
1681
1681
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1682
- faction_list(): Promise<QueryResult<FacilityFactionListResponse>>;
1682
+ faction_list(requestId?: string): Promise<QueryResult<FacilityFactionListResponse>>;
1683
1683
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1684
- faction_owned(): Promise<QueryResult<FacilityFactionOwnedResponse>>;
1684
+ faction_owned(requestId?: string): Promise<QueryResult<FacilityFactionOwnedResponse>>;
1685
1685
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1686
- faction_upgrade(params: SpacemoltFacilityFactionUpgradeParams): Promise<MutationResult<FacilityFactionUpgradeResponse>>;
1686
+ faction_upgrade(params: SpacemoltFacilityFactionUpgradeParams, requestId?: string): Promise<MutationResult<FacilityFactionUpgradeResponse>>;
1687
1687
  /** Found a faction-owned station at your current point of interest in lawless space */
1688
- found_station(params: SpacemoltFacilityFoundStationParams): Promise<MutationResult<BuildBaseResponse>>;
1688
+ found_station(params: SpacemoltFacilityFoundStationParams, requestId?: string): Promise<MutationResult<BuildBaseResponse>>;
1689
1689
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1690
- job_add(params: SpacemoltFacilityJobAddParams): Promise<MutationResult<CraftJobResponse | PackageJobResponse>>;
1690
+ job_add(params: SpacemoltFacilityJobAddParams, requestId?: string): Promise<MutationResult<CraftJobResponse | PackageJobResponse>>;
1691
1691
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1692
- job_cancel(params?: SpacemoltFacilityJobCancelParams): Promise<MutationResult<JobCancelResponse | BulkJobCancelResponse>>;
1692
+ job_cancel(params?: SpacemoltFacilityJobCancelParams, requestId?: string): Promise<MutationResult<JobCancelResponse | BulkJobCancelResponse>>;
1693
1693
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1694
- job_list(params: SpacemoltFacilityJobListParams): Promise<QueryResult<FacilityJobListResponse>>;
1694
+ job_list(params: SpacemoltFacilityJobListParams, requestId?: string): Promise<QueryResult<FacilityJobListResponse>>;
1695
1695
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1696
- job_reorder(params: SpacemoltFacilityJobReorderParams): Promise<MutationResult<JobReorderResponse>>;
1696
+ job_reorder(params: SpacemoltFacilityJobReorderParams, requestId?: string): Promise<MutationResult<JobReorderResponse>>;
1697
1697
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1698
- list(): Promise<QueryResult<FacilityListResponse>>;
1698
+ list(requestId?: string): Promise<QueryResult<FacilityListResponse>>;
1699
1699
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1700
- list_for_sale(params: SpacemoltFacilityListForSaleParams): Promise<MutationResult<FacilityListForSaleResponse>>;
1700
+ list_for_sale(params: SpacemoltFacilityListForSaleParams, requestId?: string): Promise<MutationResult<FacilityListForSaleResponse>>;
1701
1701
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1702
- owned(): Promise<QueryResult<FacilityOwnedResponse>>;
1702
+ owned(requestId?: string): Promise<QueryResult<FacilityOwnedResponse>>;
1703
1703
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1704
- personal_build(params: SpacemoltFacilityPersonalBuildParams): Promise<MutationResult<FacilityPersonalBuildResponse>>;
1704
+ personal_build(params: SpacemoltFacilityPersonalBuildParams, requestId?: string): Promise<MutationResult<FacilityPersonalBuildResponse>>;
1705
1705
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1706
- personal_decorate(params?: SpacemoltFacilityPersonalDecorateParams): Promise<MutationResult<FacilityPersonalDecorateResponse>>;
1706
+ personal_decorate(params?: SpacemoltFacilityPersonalDecorateParams, requestId?: string): Promise<MutationResult<FacilityPersonalDecorateResponse>>;
1707
1707
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1708
- personal_visit(params?: SpacemoltFacilityPersonalVisitParams): Promise<QueryResult<FacilityPersonalVisitResponse>>;
1708
+ personal_visit(params?: SpacemoltFacilityPersonalVisitParams, requestId?: string): Promise<QueryResult<FacilityPersonalVisitResponse>>;
1709
1709
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1710
- ranch_set_cull(params: SpacemoltFacilityRanchSetCullParams): Promise<MutationResult<RanchSetCullResponse>>;
1710
+ ranch_set_cull(params: SpacemoltFacilityRanchSetCullParams, requestId?: string): Promise<MutationResult<RanchSetCullResponse>>;
1711
1711
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1712
- ranch_status(params?: SpacemoltFacilityRanchStatusParams): Promise<QueryResult<RanchStatusResponse>>;
1712
+ ranch_status(params?: SpacemoltFacilityRanchStatusParams, requestId?: string): Promise<QueryResult<RanchStatusResponse>>;
1713
1713
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1714
- remove_faction(params: SpacemoltFacilityRemoveFactionParams): Promise<MutationResult<StationConfigResponse>>;
1714
+ remove_faction(params: SpacemoltFacilityRemoveFactionParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1715
1715
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1716
- remove_player(params: SpacemoltFacilityRemovePlayerParams): Promise<MutationResult<StationConfigResponse>>;
1716
+ remove_player(params: SpacemoltFacilityRemovePlayerParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1717
1717
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1718
- repair(params: SpacemoltFacilityRepairParams): Promise<MutationResult<FacilityRepairResponse>>;
1718
+ repair(params: SpacemoltFacilityRepairParams, requestId?: string): Promise<MutationResult<FacilityRepairResponse>>;
1719
1719
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1720
- set_access(params: SpacemoltFacilitySetAccessParams): Promise<MutationResult<SetAccessResponse>>;
1720
+ set_access(params: SpacemoltFacilitySetAccessParams, requestId?: string): Promise<MutationResult<SetAccessResponse>>;
1721
1721
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1722
- set_auto_buy_fuel(params?: SpacemoltFacilitySetAutoBuyFuelParams): Promise<MutationResult<StationConfigResponse>>;
1722
+ set_auto_buy_fuel(params?: SpacemoltFacilitySetAutoBuyFuelParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1723
1723
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1724
- set_build_policy(params?: SpacemoltFacilitySetBuildPolicyParams): Promise<MutationResult<StationConfigResponse>>;
1724
+ set_build_policy(params?: SpacemoltFacilitySetBuildPolicyParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1725
1725
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1726
- set_description(params?: SpacemoltFacilitySetDescriptionParams): Promise<MutationResult<StationConfigResponse>>;
1726
+ set_description(params?: SpacemoltFacilitySetDescriptionParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1727
1727
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1728
- set_market_fee(params?: SpacemoltFacilitySetMarketFeeParams): Promise<MutationResult<StationConfigResponse>>;
1728
+ set_market_fee(params?: SpacemoltFacilitySetMarketFeeParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1729
1729
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1730
- set_name(params: SpacemoltFacilitySetNameParams): Promise<MutationResult<SetFacilityNameResponse>>;
1730
+ set_name(params: SpacemoltFacilitySetNameParams, requestId?: string): Promise<MutationResult<SetFacilityNameResponse>>;
1731
1731
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1732
- set_output_price(params: SpacemoltFacilitySetOutputPriceParams): Promise<MutationResult<SetOutputPriceResponse>>;
1732
+ set_output_price(params: SpacemoltFacilitySetOutputPriceParams, requestId?: string): Promise<MutationResult<SetOutputPriceResponse>>;
1733
1733
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1734
- set_public(params?: SpacemoltFacilitySetPublicParams): Promise<MutationResult<StationConfigResponse>>;
1734
+ set_public(params?: SpacemoltFacilitySetPublicParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1735
1735
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1736
- set_refuel_price(params?: SpacemoltFacilitySetRefuelPriceParams): Promise<MutationResult<StationConfigResponse>>;
1736
+ set_refuel_price(params?: SpacemoltFacilitySetRefuelPriceParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1737
1737
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1738
- set_repair_price(params?: SpacemoltFacilitySetRepairPriceParams): Promise<MutationResult<StationConfigResponse>>;
1738
+ set_repair_price(params?: SpacemoltFacilitySetRepairPriceParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1739
1739
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1740
- set_service_access(params: SpacemoltFacilitySetServiceAccessParams): Promise<MutationResult<StationConfigResponse>>;
1740
+ set_service_access(params: SpacemoltFacilitySetServiceAccessParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1741
1741
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1742
- station_info(): Promise<QueryResult<StationConfigResponse>>;
1742
+ station_info(requestId?: string): Promise<QueryResult<StationConfigResponse>>;
1743
1743
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1744
- station_set_name(params: SpacemoltFacilityStationSetNameParams): Promise<QueryResult<StationConfigResponse>>;
1744
+ station_set_name(params: SpacemoltFacilityStationSetNameParams, requestId?: string): Promise<QueryResult<StationConfigResponse>>;
1745
1745
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1746
- transfer(params: SpacemoltFacilityTransferParams): Promise<MutationResult<FacilityTransferResponse>>;
1746
+ transfer(params: SpacemoltFacilityTransferParams, requestId?: string): Promise<MutationResult<FacilityTransferResponse>>;
1747
1747
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1748
- types(params?: SpacemoltFacilityTypesParams): Promise<QueryResult<FacilityTypeDiscoveryResponse | FacilityTypeListResponse | FacilityTypeDetailResponse>>;
1748
+ types(params?: SpacemoltFacilityTypesParams, requestId?: string): Promise<QueryResult<FacilityTypeDiscoveryResponse | FacilityTypeListResponse | FacilityTypeDetailResponse>>;
1749
1749
  /** Administer one of your faction's stations or outposts: rename, access control, and build policy */
1750
- unban(params: SpacemoltFacilityUnbanParams): Promise<MutationResult<StationConfigResponse>>;
1750
+ unban(params: SpacemoltFacilityUnbanParams, requestId?: string): Promise<MutationResult<StationConfigResponse>>;
1751
1751
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1752
- upgrade(params: SpacemoltFacilityUpgradeParams): Promise<MutationResult<FacilityUpgradeResponse | FacilityFactionUpgradeResponse>>;
1752
+ upgrade(params: SpacemoltFacilityUpgradeParams, requestId?: string): Promise<MutationResult<FacilityUpgradeResponse | FacilityFactionUpgradeResponse>>;
1753
1753
  /** Manage facilities at stations (production, faction, personal, sales, and more) */
1754
- upgrades(): Promise<QueryResult<FacilityUpgradesResponse>>;
1754
+ upgrades(requestId?: string): Promise<QueryResult<FacilityUpgradesResponse>>;
1755
1755
  };
1756
1756
  spacemolt_faction: {
1757
1757
  /** Accept a pending alliance proposal */
1758
- accept_ally(params: SpacemoltFactionAcceptAllyParams): Promise<MutationResult<FactionAcceptAllyResponse>>;
1758
+ accept_ally(params: SpacemoltFactionAcceptAllyParams, requestId?: string): Promise<MutationResult<FactionAcceptAllyResponse>>;
1759
1759
  /** Accept a faction invitation (alias for join) */
1760
- accept_invite(params: SpacemoltFactionAcceptInviteParams): Promise<MutationResult<JoinFactionResponse>>;
1760
+ accept_invite(params: SpacemoltFactionAcceptInviteParams, requestId?: string): Promise<MutationResult<JoinFactionResponse>>;
1761
1761
  /** Accept a peace proposal */
1762
- accept_peace(params: SpacemoltFactionAcceptPeaceParams): Promise<MutationResult<FactionAcceptPeaceResponse>>;
1762
+ accept_peace(params: SpacemoltFactionAcceptPeaceParams, requestId?: string): Promise<MutationResult<FactionAcceptPeaceResponse>>;
1763
1763
  /** Cancel a posted faction mission and refund escrowed rewards */
1764
- cancel_mission(params: SpacemoltFactionCancelMissionParams): Promise<MutationResult<FactionCancelMissionResponse>>;
1764
+ cancel_mission(params: SpacemoltFactionCancelMissionParams, requestId?: string): Promise<MutationResult<FactionCancelMissionResponse>>;
1765
1765
  /** Create a new faction */
1766
- create(params: SpacemoltFactionCreateParams): Promise<MutationResult<CreateFactionResponse>>;
1766
+ create(params: SpacemoltFactionCreateParams, requestId?: string): Promise<MutationResult<CreateFactionResponse>>;
1767
1767
  /** Declare war on another faction */
1768
- declare_war(params: SpacemoltFactionDeclareWarParams): Promise<MutationResult<FactionDeclareWarResponse>>;
1768
+ declare_war(params: SpacemoltFactionDeclareWarParams, requestId?: string): Promise<MutationResult<FactionDeclareWarResponse>>;
1769
1769
  /** Decline a faction invitation */
1770
- decline_invite(params: SpacemoltFactionDeclineInviteParams): Promise<QueryResult<FactionDeclineInviteResponse>>;
1770
+ decline_invite(params: SpacemoltFactionDeclineInviteParams, requestId?: string): Promise<QueryResult<FactionDeclineInviteResponse>>;
1771
1771
  /** Delete a custom faction role */
1772
- delete_role(params: SpacemoltFactionDeleteRoleParams): Promise<QueryResult<FactionDeleteRoleResponse>>;
1772
+ delete_role(params: SpacemoltFactionDeleteRoleParams, requestId?: string): Promise<QueryResult<FactionDeleteRoleResponse>>;
1773
1773
  /** Delete a room from your faction's common space */
1774
- delete_room(params: SpacemoltFactionDeleteRoomParams): Promise<QueryResult<FactionDeleteRoomResponse>>;
1774
+ delete_room(params: SpacemoltFactionDeleteRoomParams, requestId?: string): Promise<QueryResult<FactionDeleteRoomResponse>>;
1775
1775
  /** View your faction's full ship-garage roster across all stations */
1776
- garages(): Promise<QueryResult<FactionGaragesResponse>>;
1776
+ garages(requestId?: string): Promise<QueryResult<FactionGaragesResponse>>;
1777
1777
  /** View pending faction invitations */
1778
- get_invites(): Promise<QueryResult<FactionGetInvitesResponse>>;
1778
+ get_invites(requestId?: string): Promise<QueryResult<FactionGetInvitesResponse>>;
1779
1779
  /** View faction details */
1780
- info(params?: SpacemoltFactionInfoParams): Promise<QueryResult<FactionInfoResponse>>;
1780
+ info(params?: SpacemoltFactionInfoParams, requestId?: string): Promise<QueryResult<FactionInfoResponse>>;
1781
1781
  /** Invite a player to your faction */
1782
- invite(params: SpacemoltFactionInviteParams): Promise<MutationResult<FactionInviteResponse>>;
1782
+ invite(params: SpacemoltFactionInviteParams, requestId?: string): Promise<MutationResult<FactionInviteResponse>>;
1783
1783
  /** Join a faction via invitation */
1784
- join(params: SpacemoltFactionJoinParams): Promise<MutationResult<JoinFactionResponse>>;
1784
+ join(params: SpacemoltFactionJoinParams, requestId?: string): Promise<MutationResult<JoinFactionResponse>>;
1785
1785
  /** Kick a player from your faction */
1786
- kick(params: SpacemoltFactionKickParams): Promise<MutationResult<FactionKickResponse>>;
1786
+ kick(params: SpacemoltFactionKickParams, requestId?: string): Promise<MutationResult<FactionKickResponse>>;
1787
1787
  /** Leave your faction */
1788
- leave(): Promise<MutationResult<MessageResponse>>;
1788
+ leave(requestId?: string): Promise<MutationResult<MessageResponse>>;
1789
1789
  /** List all factions */
1790
- list(params?: SpacemoltFactionListParams): Promise<QueryResult<FactionListResponse>>;
1790
+ list(params?: SpacemoltFactionListParams, requestId?: string): Promise<QueryResult<FactionListResponse>>;
1791
1791
  /** List your faction's posted missions at this station */
1792
- list_missions(): Promise<QueryResult<FactionListMissionsResponse>>;
1792
+ list_missions(requestId?: string): Promise<QueryResult<FactionListMissionsResponse>>;
1793
1793
  /** Prepay credits from the faction treasury toward the next corporate tax assessment */
1794
- prepay_tax(params: SpacemoltFactionPrepayTaxParams): Promise<MutationResult<FactionPrepayTaxResponse>>;
1794
+ prepay_tax(params: SpacemoltFactionPrepayTaxParams, requestId?: string): Promise<MutationResult<FactionPrepayTaxResponse>>;
1795
1795
  /** Propose a mutual alliance with another faction */
1796
- propose_ally(params: SpacemoltFactionProposeAllyParams): Promise<MutationResult<FactionProposeAllyResponse>>;
1796
+ propose_ally(params: SpacemoltFactionProposeAllyParams, requestId?: string): Promise<MutationResult<FactionProposeAllyResponse>>;
1797
1797
  /** Propose peace to a faction you're at war with */
1798
- propose_peace(params: SpacemoltFactionProposePeaceParams): Promise<MutationResult<FactionProposePeaceResponse>>;
1798
+ propose_peace(params: SpacemoltFactionProposePeaceParams, requestId?: string): Promise<MutationResult<FactionProposePeaceResponse>>;
1799
1799
  /** Dissolve an alliance with another faction */
1800
- remove_ally(params: SpacemoltFactionRemoveAllyParams): Promise<MutationResult<FactionRemoveAllyResponse>>;
1800
+ remove_ally(params: SpacemoltFactionRemoveAllyParams, requestId?: string): Promise<MutationResult<FactionRemoveAllyResponse>>;
1801
1801
  /** Return an enemy faction to neutral standing */
1802
- remove_enemy(params: SpacemoltFactionRemoveEnemyParams): Promise<MutationResult<FactionRemoveEnemyResponse>>;
1802
+ remove_enemy(params: SpacemoltFactionRemoveEnemyParams, requestId?: string): Promise<MutationResult<FactionRemoveEnemyResponse>>;
1803
1803
  /** List rooms in your faction's common space at the current station */
1804
- rooms(): Promise<QueryResult<FactionRoomsResponse>>;
1804
+ rooms(requestId?: string): Promise<QueryResult<FactionRoomsResponse>>;
1805
1805
  /** Mark another faction as enemy */
1806
- set_enemy(params: SpacemoltFactionSetEnemyParams): Promise<MutationResult<FactionSetEnemyResponse>>;
1806
+ set_enemy(params: SpacemoltFactionSetEnemyParams, requestId?: string): Promise<MutationResult<FactionSetEnemyResponse>>;
1807
1807
  /** Preview the corporate income tax your faction would owe right now */
1808
- tax_estimate(): Promise<QueryResult<FactionTaxEstimateResponse>>;
1808
+ tax_estimate(requestId?: string): Promise<QueryResult<FactionTaxEstimateResponse>>;
1809
1809
  /** Visit a room in your faction's common space and read its description */
1810
- visit_room(params: SpacemoltFactionVisitRoomParams): Promise<QueryResult<FactionVisitRoomResponse>>;
1810
+ visit_room(params: SpacemoltFactionVisitRoomParams, requestId?: string): Promise<QueryResult<FactionVisitRoomResponse>>;
1811
1811
  /** Withdraw a pending invite you sent */
1812
- withdraw_invite(params: SpacemoltFactionWithdrawInviteParams): Promise<MutationResult<FactionWithdrawInviteResponse>>;
1812
+ withdraw_invite(params: SpacemoltFactionWithdrawInviteParams, requestId?: string): Promise<MutationResult<FactionWithdrawInviteResponse>>;
1813
1813
  };
1814
1814
  spacemolt_faction_admin: {
1815
1815
  /** Create a custom faction role */
1816
- create_role(params: SpacemoltFactionAdminCreateRoleParams): Promise<QueryResult<FactionCreateRoleResponse>>;
1816
+ create_role(params: SpacemoltFactionAdminCreateRoleParams, requestId?: string): Promise<QueryResult<FactionCreateRoleResponse>>;
1817
1817
  /** Update faction description, charter, colors, and ally-sharing toggles */
1818
- edit(params?: SpacemoltFactionAdminEditParams): Promise<QueryResult<FactionEditResponse>>;
1818
+ edit(params?: SpacemoltFactionAdminEditParams, requestId?: string): Promise<QueryResult<FactionEditResponse>>;
1819
1819
  /** Edit a custom faction role */
1820
- edit_role(params: SpacemoltFactionAdminEditRoleParams): Promise<QueryResult<FactionEditRoleResponse>>;
1820
+ edit_role(params: SpacemoltFactionAdminEditRoleParams, requestId?: string): Promise<QueryResult<FactionEditRoleResponse>>;
1821
1821
  /** Post a mission on your faction's mission board */
1822
- post_mission(params: SpacemoltFactionAdminPostMissionParams): Promise<MutationResult<FactionPostMissionResponse>>;
1822
+ post_mission(params: SpacemoltFactionAdminPostMissionParams, requestId?: string): Promise<MutationResult<FactionPostMissionResponse>>;
1823
1823
  /** Promote or demote a faction member */
1824
- promote(params: SpacemoltFactionAdminPromoteParams): Promise<MutationResult<FactionPromoteResponse>>;
1824
+ promote(params: SpacemoltFactionAdminPromoteParams, requestId?: string): Promise<MutationResult<FactionPromoteResponse>>;
1825
1825
  /** Create or update a room in your faction's common space — this is your chance to worldbuild */
1826
- write_room(params?: SpacemoltFactionAdminWriteRoomParams): Promise<QueryResult<FactionWriteRoomResponse>>;
1826
+ write_room(params?: SpacemoltFactionAdminWriteRoomParams, requestId?: string): Promise<QueryResult<FactionWriteRoomResponse>>;
1827
1827
  };
1828
1828
  spacemolt_faction_commerce: {
1829
1829
  /** Create a buy order on behalf of your faction (credits from faction treasury) */
1830
- create_buy_order(params?: SpacemoltFactionCommerceCreateBuyOrderParams): Promise<MutationResult<FactionCreateBuyOrderCommandResponse>>;
1830
+ create_buy_order(params?: SpacemoltFactionCommerceCreateBuyOrderParams, requestId?: string): Promise<MutationResult<FactionCreateBuyOrderCommandResponse>>;
1831
1831
  /** Create a sell order on behalf of your faction (items from faction storage) */
1832
- create_sell_order(params?: SpacemoltFactionCommerceCreateSellOrderParams): Promise<MutationResult<FactionCreateSellOrderCommandResponse>>;
1832
+ create_sell_order(params?: SpacemoltFactionCommerceCreateSellOrderParams, requestId?: string): Promise<MutationResult<FactionCreateSellOrderCommandResponse>>;
1833
1833
  };
1834
1834
  spacemolt_fleet: {
1835
1835
  /** Create and manage player fleets for coordinated movement and combat */
1836
- accept(): Promise<MutationResult<FleetAcceptResponse>>;
1836
+ accept(requestId?: string): Promise<MutationResult<FleetAcceptResponse>>;
1837
1837
  /** Create and manage player fleets for coordinated movement and combat */
1838
- board(params: SpacemoltFleetBoardParams): Promise<MutationResult<FleetBoardResponse>>;
1838
+ board(params: SpacemoltFleetBoardParams, requestId?: string): Promise<MutationResult<FleetBoardResponse>>;
1839
1839
  /** Create and manage player fleets for coordinated movement and combat */
1840
- create(): Promise<MutationResult<FleetCreateResponse>>;
1840
+ create(requestId?: string): Promise<MutationResult<FleetCreateResponse>>;
1841
1841
  /** Create and manage player fleets for coordinated movement and combat */
1842
- decline(): Promise<MutationResult<FleetDeclineResponse>>;
1842
+ decline(requestId?: string): Promise<MutationResult<FleetDeclineResponse>>;
1843
1843
  /** Create and manage player fleets for coordinated movement and combat */
1844
- disband(): Promise<MutationResult<FleetActionResponse>>;
1844
+ disband(requestId?: string): Promise<MutationResult<FleetActionResponse>>;
1845
1845
  /** Create and manage player fleets for coordinated movement and combat */
1846
- disembark(): Promise<MutationResult<FleetActionResponse>>;
1846
+ disembark(requestId?: string): Promise<MutationResult<FleetActionResponse>>;
1847
1847
  /** Create and manage player fleets for coordinated movement and combat */
1848
- invite(params: SpacemoltFleetInviteParams): Promise<MutationResult<FleetActionResponse>>;
1848
+ invite(params: SpacemoltFleetInviteParams, requestId?: string): Promise<MutationResult<FleetActionResponse>>;
1849
1849
  /** Create and manage player fleets for coordinated movement and combat */
1850
- kick(params: SpacemoltFleetKickParams): Promise<MutationResult<FleetActionResponse>>;
1850
+ kick(params: SpacemoltFleetKickParams, requestId?: string): Promise<MutationResult<FleetActionResponse>>;
1851
1851
  /** Create and manage player fleets for coordinated movement and combat */
1852
- leave(): Promise<MutationResult<FleetActionResponse>>;
1852
+ leave(requestId?: string): Promise<MutationResult<FleetActionResponse>>;
1853
1853
  /** Create and manage player fleets for coordinated movement and combat */
1854
- status(): Promise<QueryResult<FleetStatusResponse>>;
1854
+ status(requestId?: string): Promise<QueryResult<FleetStatusResponse>>;
1855
1855
  };
1856
1856
  spacemolt_intel: {
1857
1857
  /** Send a spy to gather intelligence on the station you're docked at, using your faction's Espionage HQ */
1858
- espionage(): Promise<MutationResult<EspionageResponse>>;
1858
+ espionage(requestId?: string): Promise<MutationResult<EspionageResponse>>;
1859
1859
  /** View faction intel coverage statistics */
1860
- intel_status(): Promise<QueryResult<FactionIntelStatusResponse>>;
1860
+ intel_status(requestId?: string): Promise<QueryResult<FactionIntelStatusResponse>>;
1861
1861
  /** Query your faction's intel database, or an allied faction's */
1862
- query_intel(params?: SpacemoltIntelQueryIntelParams): Promise<QueryResult<FactionQueryIntelResponse>>;
1862
+ query_intel(params?: SpacemoltIntelQueryIntelParams, requestId?: string): Promise<QueryResult<FactionQueryIntelResponse>>;
1863
1863
  /** Search your faction's market price database, or an allied faction's */
1864
- query_trade_intel(params?: SpacemoltIntelQueryTradeIntelParams): Promise<QueryResult<FactionQueryTradeIntelResponse>>;
1864
+ query_trade_intel(params?: SpacemoltIntelQueryTradeIntelParams, requestId?: string): Promise<QueryResult<FactionQueryTradeIntelResponse>>;
1865
1865
  /** Run a long-range sensor scan of a POI from your faction's sensor facility */
1866
- scan_poi(params: SpacemoltIntelScanPoiParams): Promise<MutationResult<FactionScanPoiResponse>>;
1866
+ scan_poi(params: SpacemoltIntelScanPoiParams, requestId?: string): Promise<MutationResult<FactionScanPoiResponse>>;
1867
1867
  /** Submit system intel to your faction's shared map */
1868
- submit_intel(params: SpacemoltIntelSubmitIntelParams): Promise<MutationResult<FactionSubmitIntelResponse>>;
1868
+ submit_intel(params: SpacemoltIntelSubmitIntelParams, requestId?: string): Promise<MutationResult<FactionSubmitIntelResponse>>;
1869
1869
  /** Submit market price observations to your faction's trade ledger */
1870
- submit_trade_intel(params: SpacemoltIntelSubmitTradeIntelParams): Promise<MutationResult<FactionSubmitTradeIntelResponse>>;
1870
+ submit_trade_intel(params: SpacemoltIntelSubmitTradeIntelParams, requestId?: string): Promise<MutationResult<FactionSubmitTradeIntelResponse>>;
1871
1871
  /** View faction trade intelligence coverage statistics */
1872
- trade_intel_status(): Promise<QueryResult<FactionTradeIntelStatusResponse>>;
1872
+ trade_intel_status(requestId?: string): Promise<QueryResult<FactionTradeIntelStatusResponse>>;
1873
1873
  };
1874
1874
  spacemolt_market: {
1875
1875
  /** Get actionable trading insights at your current station */
1876
- analyze_market(): Promise<QueryResult<AnalyzeMarketResponse>>;
1876
+ analyze_market(requestId?: string): Promise<QueryResult<AnalyzeMarketResponse>>;
1877
1877
  /** Cancel an active order and return escrow */
1878
- cancel_order(params?: SpacemoltMarketCancelOrderParams): Promise<MutationResult<CancelOrderCommandResponse>>;
1878
+ cancel_order(params?: SpacemoltMarketCancelOrderParams, requestId?: string): Promise<MutationResult<CancelOrderCommandResponse>>;
1879
1879
  /** Place a buy offer on the station exchange */
1880
- create_buy_order(params?: SpacemoltMarketCreateBuyOrderParams): Promise<MutationResult<CreateBuyOrderCommandResponse>>;
1880
+ create_buy_order(params?: SpacemoltMarketCreateBuyOrderParams, requestId?: string): Promise<MutationResult<CreateBuyOrderCommandResponse>>;
1881
1881
  /** List items for sale on the station exchange */
1882
- create_sell_order(params?: SpacemoltMarketCreateSellOrderParams): Promise<MutationResult<CreateSellOrderCommandResponse>>;
1882
+ create_sell_order(params?: SpacemoltMarketCreateSellOrderParams, requestId?: string): Promise<MutationResult<CreateSellOrderCommandResponse>>;
1883
1883
  /** Preview what buying would cost without executing */
1884
- estimate_purchase(params: SpacemoltMarketEstimatePurchaseParams): Promise<QueryResult<EstimatePurchaseResponse>>;
1884
+ estimate_purchase(params: SpacemoltMarketEstimatePurchaseParams, requestId?: string): Promise<QueryResult<EstimatePurchaseResponse>>;
1885
1885
  /** Change the price on an existing order */
1886
- modify_order(params?: SpacemoltMarketModifyOrderParams): Promise<MutationResult<ModifyOrderCommandResponse>>;
1886
+ modify_order(params?: SpacemoltMarketModifyOrderParams, requestId?: string): Promise<MutationResult<ModifyOrderCommandResponse>>;
1887
1887
  /** Subscribe to live market updates at the current station */
1888
- subscribe_market(): Promise<QueryResult<SubscribeMarketResponse>>;
1888
+ subscribe_market(requestId?: string): Promise<QueryResult<SubscribeMarketResponse>>;
1889
1889
  /** Cancel your live market subscription */
1890
- unsubscribe_market(): Promise<QueryResult<UnsubscribeMarketResponse>>;
1890
+ unsubscribe_market(requestId?: string): Promise<QueryResult<UnsubscribeMarketResponse>>;
1891
1891
  /** View the market at the current station */
1892
- view_market(params?: SpacemoltMarketViewMarketParams): Promise<QueryResult<ViewMarketResponse>>;
1892
+ view_market(params?: SpacemoltMarketViewMarketParams, requestId?: string): Promise<QueryResult<ViewMarketResponse>>;
1893
1893
  /** View your own orders at a station */
1894
- view_orders(params?: SpacemoltMarketViewOrdersParams): Promise<QueryResult<ViewOrdersResponse>>;
1894
+ view_orders(params?: SpacemoltMarketViewOrdersParams, requestId?: string): Promise<QueryResult<ViewOrdersResponse>>;
1895
1895
  };
1896
1896
  spacemolt_salvage: {
1897
1897
  /** Purchase ship insurance */
1898
- insure(): Promise<MutationResult<BuyInsuranceResponse>>;
1898
+ insure(requestId?: string): Promise<MutationResult<BuyInsuranceResponse>>;
1899
1899
  /** Loot items and modules from a wreck */
1900
- loot(params?: SpacemoltSalvageLootParams): Promise<MutationResult<LootWreckCommandResponse>>;
1900
+ loot(params?: SpacemoltSalvageLootParams, requestId?: string): Promise<MutationResult<LootWreckCommandResponse>>;
1901
1901
  /** View your active insurance policies */
1902
- policies(): Promise<QueryResult<ClaimInsuranceResponse>>;
1902
+ policies(requestId?: string): Promise<QueryResult<ClaimInsuranceResponse>>;
1903
1903
  /** Get a risk-based insurance quote for your current ship */
1904
- quote(): Promise<QueryResult<GetInsuranceQuoteResponse>>;
1904
+ quote(requestId?: string): Promise<QueryResult<GetInsuranceQuoteResponse>>;
1905
1905
  /** Release a towed wreck at your current location */
1906
- release(): Promise<MutationResult<ReleaseTowResponse>>;
1906
+ release(requestId?: string): Promise<MutationResult<ReleaseTowResponse>>;
1907
1907
  /** Scrap a towed wreck for salvage materials */
1908
- scrap(): Promise<MutationResult<ScrapWreckResponse>>;
1908
+ scrap(requestId?: string): Promise<MutationResult<ScrapWreckResponse>>;
1909
1909
  /** Sell a towed wreck to the salvage yard for credits */
1910
- sell(): Promise<MutationResult<SellWreckResponse>>;
1910
+ sell(requestId?: string): Promise<MutationResult<SellWreckResponse>>;
1911
1911
  /** Set your home base for respawning */
1912
- set_home(params: SpacemoltSalvageSetHomeParams): Promise<MutationResult<SetHomeBaseResponse>>;
1912
+ set_home(params: SpacemoltSalvageSetHomeParams, requestId?: string): Promise<MutationResult<SetHomeBaseResponse>>;
1913
1913
  /** Attach a tow line to a wreck for hauling */
1914
- tow(params: SpacemoltSalvageTowParams): Promise<MutationResult<TowWreckResponse>>;
1914
+ tow(params: SpacemoltSalvageTowParams, requestId?: string): Promise<MutationResult<TowWreckResponse>>;
1915
1915
  /** List all wrecks at your current POI */
1916
- wrecks(): Promise<QueryResult<GetWrecksResponse>>;
1916
+ wrecks(requestId?: string): Promise<QueryResult<GetWrecksResponse>>;
1917
1917
  };
1918
1918
  spacemolt_ship: {
1919
1919
  /** Browse ships listed for sale at a base */
1920
- browse_ships(params?: SpacemoltShipBrowseShipsParams): Promise<QueryResult<BrowseShipsResponse>>;
1920
+ browse_ships(params?: SpacemoltShipBrowseShipsParams, requestId?: string): Promise<QueryResult<BrowseShipsResponse>>;
1921
1921
  /** Purchase a ship from the exchange */
1922
- buy_listed_ship(params: SpacemoltShipBuyListedShipParams): Promise<MutationResult<BuyListedShipResponse>>;
1922
+ buy_listed_ship(params: SpacemoltShipBuyListedShipParams, requestId?: string): Promise<MutationResult<BuyListedShipResponse>>;
1923
1923
  /** Cancel a pending or in-progress ship commission */
1924
- cancel_commission(params: SpacemoltShipCancelCommissionParams): Promise<MutationResult<CancelCommissionResponse>>;
1924
+ cancel_commission(params: SpacemoltShipCancelCommissionParams, requestId?: string): Promise<MutationResult<CancelCommissionResponse>>;
1925
1925
  /** Cancel one of your ship buy orders and refund the escrow */
1926
- cancel_ship_buy_order(params: SpacemoltShipCancelShipBuyOrderParams): Promise<MutationResult<CancelShipBuyOrderResponse>>;
1926
+ cancel_ship_buy_order(params: SpacemoltShipCancelShipBuyOrderParams, requestId?: string): Promise<MutationResult<CancelShipBuyOrderResponse>>;
1927
1927
  /** Remove your ship listing from the exchange */
1928
- cancel_ship_listing(params: SpacemoltShipCancelShipListingParams): Promise<MutationResult<CancelShipListingResponse>>;
1928
+ cancel_ship_listing(params: SpacemoltShipCancelShipListingParams, requestId?: string): Promise<MutationResult<CancelShipListingResponse>>;
1929
1929
  /** Get a cost estimate for commissioning a ship */
1930
- commission_quote(params: SpacemoltShipCommissionQuoteParams): Promise<QueryResult<CommissionQuoteResponse>>;
1930
+ commission_quote(params: SpacemoltShipCommissionQuoteParams, requestId?: string): Promise<QueryResult<CommissionQuoteResponse>>;
1931
1931
  /** Commission a ship to be built at this shipyard */
1932
- commission_ship(params: SpacemoltShipCommissionShipParams): Promise<MutationResult<CommissionShipResponse>>;
1932
+ commission_ship(params: SpacemoltShipCommissionShipParams, requestId?: string): Promise<MutationResult<CommissionShipResponse>>;
1933
1933
  /** Check the status of your ship commissions */
1934
- commission_status(params?: SpacemoltShipCommissionStatusParams): Promise<QueryResult<CommissionStatusResponse>>;
1934
+ commission_status(params?: SpacemoltShipCommissionStatusParams, requestId?: string): Promise<QueryResult<CommissionStatusResponse>>;
1935
1935
  /** List a stored ship for sale on the exchange */
1936
- list_ship_for_sale(params: SpacemoltShipListShipForSaleParams): Promise<MutationResult<ListShipForSaleResponse>>;
1936
+ list_ship_for_sale(params: SpacemoltShipListShipForSaleParams, requestId?: string): Promise<MutationResult<ListShipForSaleResponse>>;
1937
1937
  /** List all ships you own and their locations */
1938
- list_ships(): Promise<QueryResult<ListShipsResponse>>;
1938
+ list_ships(requestId?: string): Promise<QueryResult<ListShipsResponse>>;
1939
1939
  /** Place a standing buy order for a ship class at this base */
1940
- place_ship_buy_order(params: SpacemoltShipPlaceShipBuyOrderParams): Promise<MutationResult<PlaceShipBuyOrderResponse>>;
1940
+ place_ship_buy_order(params: SpacemoltShipPlaceShipBuyOrderParams, requestId?: string): Promise<MutationResult<PlaceShipBuyOrderResponse>>;
1941
1941
  /** Refit your active ship to its latest class specifications */
1942
- refit_ship(): Promise<MutationResult<RefitShipResponse>>;
1942
+ refit_ship(requestId?: string): Promise<MutationResult<RefitShipResponse>>;
1943
1943
  /** Set or clear a custom name for your active ship */
1944
- rename_ship(params: SpacemoltShipRenameShipParams): Promise<MutationResult<NameShipResponse>>;
1944
+ rename_ship(params: SpacemoltShipRenameShipParams, requestId?: string): Promise<MutationResult<NameShipResponse>>;
1945
1945
  /** Permanently destroy a ship you no longer want (no credits returned) */
1946
- scrap_ship(params: SpacemoltShipScrapShipParams): Promise<MutationResult<ScrapShipResponse>>;
1946
+ scrap_ship(params: SpacemoltShipScrapShipParams, requestId?: string): Promise<MutationResult<ScrapShipResponse>>;
1947
1947
  /** Sell a stored ship directly into a buy order at this base */
1948
- sell_ship_to_order(params: SpacemoltShipSellShipToOrderParams): Promise<MutationResult<SellShipToOrderResponse>>;
1948
+ sell_ship_to_order(params: SpacemoltShipSellShipToOrderParams, requestId?: string): Promise<MutationResult<SellShipToOrderResponse>>;
1949
1949
  /** Donate materials directly to a credits-only commission that is stuck sourcing */
1950
- supply_commission(params: SpacemoltShipSupplyCommissionParams): Promise<MutationResult<SupplyCommissionResponse>>;
1950
+ supply_commission(params: SpacemoltShipSupplyCommissionParams, requestId?: string): Promise<MutationResult<SupplyCommissionResponse>>;
1951
1951
  /** Switch to a different ship stored at this station */
1952
- switch_ship(params: SpacemoltShipSwitchShipParams): Promise<MutationResult<SwitchShipResponse>>;
1952
+ switch_ship(params: SpacemoltShipSwitchShipParams, requestId?: string): Promise<MutationResult<SwitchShipResponse>>;
1953
1953
  /** View your open ship buy orders across all bases */
1954
- view_ship_buy_orders(): Promise<QueryResult<ViewShipBuyOrdersResponse>>;
1954
+ view_ship_buy_orders(requestId?: string): Promise<QueryResult<ViewShipBuyOrdersResponse>>;
1955
1955
  };
1956
1956
  spacemolt_shipping: {
1957
1957
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1958
- accept(params: SpacemoltShippingAcceptParams): Promise<MutationResult<ShippingContractResponse>>;
1958
+ accept(params: SpacemoltShippingAcceptParams, requestId?: string): Promise<MutationResult<ShippingContractResponse>>;
1959
1959
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1960
- cancel(params: SpacemoltShippingCancelParams): Promise<MutationResult<ShippingSettlementResponse>>;
1960
+ cancel(params: SpacemoltShippingCancelParams, requestId?: string): Promise<MutationResult<ShippingSettlementResponse>>;
1961
1961
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1962
- deliver(params: SpacemoltShippingDeliverParams): Promise<MutationResult<ShippingSettlementResponse>>;
1962
+ deliver(params: SpacemoltShippingDeliverParams, requestId?: string): Promise<MutationResult<ShippingSettlementResponse>>;
1963
1963
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1964
- get(params: SpacemoltShippingGetParams): Promise<QueryResult<ShippingContractResponse>>;
1964
+ get(params: SpacemoltShippingGetParams, requestId?: string): Promise<QueryResult<ShippingContractResponse>>;
1965
1965
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1966
- list(params?: SpacemoltShippingListParams): Promise<QueryResult<ShippingListResponse>>;
1966
+ list(params?: SpacemoltShippingListParams, requestId?: string): Promise<QueryResult<ShippingListResponse>>;
1967
1967
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1968
- pay_debt(params?: SpacemoltShippingPayDebtParams): Promise<MutationResult<ShippingDebtPaymentResponse>>;
1968
+ pay_debt(params?: SpacemoltShippingPayDebtParams, requestId?: string): Promise<MutationResult<ShippingDebtPaymentResponse>>;
1969
1969
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1970
- post(params: SpacemoltShippingPostParams): Promise<MutationResult<ShippingContractResponse>>;
1970
+ post(params: SpacemoltShippingPostParams, requestId?: string): Promise<MutationResult<ShippingContractResponse>>;
1971
1971
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1972
- profile(params?: SpacemoltShippingProfileParams): Promise<QueryResult<ShippingProfileResponse>>;
1972
+ profile(params?: SpacemoltShippingProfileParams, requestId?: string): Promise<QueryResult<ShippingProfileResponse>>;
1973
1973
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1974
- quote(params: SpacemoltShippingQuoteParams): Promise<QueryResult<ShippingQuoteResponse>>;
1974
+ quote(params: SpacemoltShippingQuoteParams, requestId?: string): Promise<QueryResult<ShippingQuoteResponse>>;
1975
1975
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1976
- return(params: SpacemoltShippingReturnParams): Promise<MutationResult<ShippingSettlementResponse>>;
1976
+ return(params: SpacemoltShippingReturnParams, requestId?: string): Promise<MutationResult<ShippingSettlementResponse>>;
1977
1977
  /** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
1978
- track(params: SpacemoltShippingTrackParams): Promise<QueryResult<ShippingTrackResponse>>;
1978
+ track(params: SpacemoltShippingTrackParams, requestId?: string): Promise<QueryResult<ShippingTrackResponse>>;
1979
1979
  };
1980
1980
  spacemolt_social: {
1981
1981
  /** Add an entry to your captain's log (personal journal) */
1982
- captains_log_add(params: SpacemoltSocialCaptainsLogAddParams): Promise<QueryResult<CaptainsLogAddResponse>>;
1982
+ captains_log_add(params: SpacemoltSocialCaptainsLogAddParams, requestId?: string): Promise<QueryResult<CaptainsLogAddResponse>>;
1983
1983
  /** Delete a specific entry from your captain's log */
1984
- captains_log_delete(params: SpacemoltSocialCaptainsLogDeleteParams): Promise<QueryResult<CaptainsLogDeleteResponse>>;
1984
+ captains_log_delete(params: SpacemoltSocialCaptainsLogDeleteParams, requestId?: string): Promise<QueryResult<CaptainsLogDeleteResponse>>;
1985
1985
  /** Get a specific entry from your captain's log */
1986
- captains_log_get(params: SpacemoltSocialCaptainsLogGetParams): Promise<QueryResult<CaptainsLogGetResponse>>;
1986
+ captains_log_get(params: SpacemoltSocialCaptainsLogGetParams, requestId?: string): Promise<QueryResult<CaptainsLogGetResponse>>;
1987
1987
  /** List all entries in your captain's log */
1988
- captains_log_list(params?: SpacemoltSocialCaptainsLogListParams): Promise<QueryResult<CaptainsLogListResponse>>;
1988
+ captains_log_list(params?: SpacemoltSocialCaptainsLogListParams, requestId?: string): Promise<QueryResult<CaptainsLogListResponse>>;
1989
1989
  /** Send a chat message */
1990
- chat(params: SpacemoltSocialChatParams): Promise<QueryResult<ChatResponse>>;
1990
+ chat(params: SpacemoltSocialChatParams, requestId?: string): Promise<QueryResult<ChatResponse>>;
1991
1991
  /** Create a new note document */
1992
- create_note(params: SpacemoltSocialCreateNoteParams): Promise<QueryResult<CreateNoteResponse>>;
1992
+ create_note(params: SpacemoltSocialCreateNoteParams, requestId?: string): Promise<QueryResult<CreateNoteResponse>>;
1993
1993
  /** Permanently delete a note document you own */
1994
- delete_note(params: SpacemoltSocialDeleteNoteParams): Promise<QueryResult<DeleteNoteResponse>>;
1994
+ delete_note(params: SpacemoltSocialDeleteNoteParams, requestId?: string): Promise<QueryResult<DeleteNoteResponse>>;
1995
1995
  /** Create a new forum thread */
1996
- forum_create_thread(params: SpacemoltSocialForumCreateThreadParams): Promise<MutationResult<ForumCreateThreadResponse>>;
1996
+ forum_create_thread(params: SpacemoltSocialForumCreateThreadParams, requestId?: string): Promise<MutationResult<ForumCreateThreadResponse>>;
1997
1997
  /** Delete a forum reply */
1998
- forum_delete_reply(params: SpacemoltSocialForumDeleteReplyParams): Promise<MutationResult<ForumDeleteReplyResponse>>;
1998
+ forum_delete_reply(params: SpacemoltSocialForumDeleteReplyParams, requestId?: string): Promise<MutationResult<ForumDeleteReplyResponse>>;
1999
1999
  /** Delete a forum thread */
2000
- forum_delete_thread(params: SpacemoltSocialForumDeleteThreadParams): Promise<MutationResult<ForumDeleteThreadResponse>>;
2000
+ forum_delete_thread(params: SpacemoltSocialForumDeleteThreadParams, requestId?: string): Promise<MutationResult<ForumDeleteThreadResponse>>;
2001
2001
  /** Get a forum thread and its paginated replies */
2002
- forum_get_thread(params: SpacemoltSocialForumGetThreadParams): Promise<QueryResult<ForumGetThreadResponse>>;
2002
+ forum_get_thread(params: SpacemoltSocialForumGetThreadParams, requestId?: string): Promise<QueryResult<ForumGetThreadResponse>>;
2003
2003
  /** List forum threads */
2004
- forum_list(params?: SpacemoltSocialForumListParams): Promise<QueryResult<ForumListResponse>>;
2004
+ forum_list(params?: SpacemoltSocialForumListParams, requestId?: string): Promise<QueryResult<ForumListResponse>>;
2005
2005
  /** Reply to a forum thread */
2006
- forum_reply(params: SpacemoltSocialForumReplyParams): Promise<MutationResult<ForumReplyResponse>>;
2006
+ forum_reply(params: SpacemoltSocialForumReplyParams, requestId?: string): Promise<MutationResult<ForumReplyResponse>>;
2007
2007
  /** Upvote a thread or reply */
2008
- forum_upvote(params: SpacemoltSocialForumUpvoteParams): Promise<MutationResult<ForumUpvoteResponse>>;
2008
+ forum_upvote(params: SpacemoltSocialForumUpvoteParams, requestId?: string): Promise<MutationResult<ForumUpvoteResponse>>;
2009
2009
  /** Retrieve your or your faction's persistent action history */
2010
- get_action_log(params?: SpacemoltSocialGetActionLogParams): Promise<QueryResult<GetActionLogResponse>>;
2010
+ get_action_log(params?: SpacemoltSocialGetActionLogParams, requestId?: string): Promise<QueryResult<GetActionLogResponse>>;
2011
2011
  /** Get chat message history */
2012
- get_chat_history(params: SpacemoltSocialGetChatHistoryParams): Promise<QueryResult<GetChatHistoryResponse>>;
2012
+ get_chat_history(params: SpacemoltSocialGetChatHistoryParams, requestId?: string): Promise<QueryResult<GetChatHistoryResponse>>;
2013
2013
  /** List your note documents (paginated) */
2014
- get_notes(params?: SpacemoltSocialGetNotesParams): Promise<QueryResult<GetNotesResponse>>;
2014
+ get_notes(params?: SpacemoltSocialGetNotesParams, requestId?: string): Promise<QueryResult<GetNotesResponse>>;
2015
2015
  /** List notification channels and your current mute state */
2016
- get_notification_settings(): Promise<QueryResult<NotificationSettingsResponse>>;
2016
+ get_notification_settings(requestId?: string): Promise<QueryResult<NotificationSettingsResponse>>;
2017
2017
  /** Mute notification channels for real-time WebSocket pushes */
2018
- mute_notifications(params: SpacemoltSocialMuteNotificationsParams): Promise<QueryResult<NotificationSettingsResponse>>;
2018
+ mute_notifications(params: SpacemoltSocialMuteNotificationsParams, requestId?: string): Promise<QueryResult<NotificationSettingsResponse>>;
2019
2019
  /** Send a petition to an empire's government */
2020
- petition(params: SpacemoltSocialPetitionParams): Promise<QueryResult<PetitionResponse>>;
2020
+ petition(params: SpacemoltSocialPetitionParams, requestId?: string): Promise<QueryResult<PetitionResponse>>;
2021
2021
  /** Read a note document's contents */
2022
- read_note(params: SpacemoltSocialReadNoteParams): Promise<QueryResult<ReadNoteResponse>>;
2022
+ read_note(params: SpacemoltSocialReadNoteParams, requestId?: string): Promise<QueryResult<ReadNoteResponse>>;
2023
2023
  /** Set your ship colors */
2024
- set_colors(params?: SpacemoltSocialSetColorsParams): Promise<QueryResult<SetColorsResponse>>;
2024
+ set_colors(params?: SpacemoltSocialSetColorsParams, requestId?: string): Promise<QueryResult<SetColorsResponse>>;
2025
2025
  /** Set your status message and clan tag */
2026
- set_status(params?: SpacemoltSocialSetStatusParams): Promise<QueryResult<SetStatusResponse>>;
2026
+ set_status(params?: SpacemoltSocialSetStatusParams, requestId?: string): Promise<QueryResult<SetStatusResponse>>;
2027
2027
  /** Unmute previously muted notification channels */
2028
- unmute_notifications(params?: SpacemoltSocialUnmuteNotificationsParams): Promise<QueryResult<NotificationSettingsResponse>>;
2028
+ unmute_notifications(params?: SpacemoltSocialUnmuteNotificationsParams, requestId?: string): Promise<QueryResult<NotificationSettingsResponse>>;
2029
2029
  /** Overwrite an existing note's full content (full REPLACE, not append) */
2030
- write_note(params: SpacemoltSocialWriteNoteParams): Promise<QueryResult<WriteNoteResponse>>;
2030
+ write_note(params: SpacemoltSocialWriteNoteParams, requestId?: string): Promise<QueryResult<WriteNoteResponse>>;
2031
2031
  };
2032
2032
  spacemolt_storage: {
2033
2033
  /** Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players */
2034
- deposit(params?: SpacemoltStorageDepositParams): Promise<MutationResult<DepositItemsResponse | FactionGarageStoreResponse | TransferItemsResponse | TransferCreditsResponse | SendGiftResponse | GiftShipResponse | FactionGiftResponse | EmpireGiftResponse | FactionDepositItemsResponse | FactionDepositCreditsResponse | FactionDepositFuelResponse | BulkStorageResponse>>;
2034
+ deposit(params?: SpacemoltStorageDepositParams, requestId?: string): Promise<MutationResult<DepositItemsResponse | FactionGarageStoreResponse | TransferItemsResponse | TransferCreditsResponse | SendGiftResponse | GiftShipResponse | FactionGiftResponse | EmpireGiftResponse | FactionDepositItemsResponse | FactionDepositCreditsResponse | FactionDepositFuelResponse | BulkStorageResponse>>;
2035
2035
  /** Jettison items from cargo into space */
2036
- jettison(params?: SpacemoltStorageJettisonParams): Promise<MutationResult<JettisonCommandResponse>>;
2036
+ jettison(params?: SpacemoltStorageJettisonParams, requestId?: string): Promise<MutationResult<JettisonCommandResponse>>;
2037
2037
  /** Loot items and modules from a wreck */
2038
- loot(params?: SpacemoltStorageLootParams): Promise<MutationResult<LootWreckCommandResponse>>;
2038
+ loot(params?: SpacemoltStorageLootParams, requestId?: string): Promise<MutationResult<LootWreckCommandResponse>>;
2039
2039
  /** Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players */
2040
- view(params?: SpacemoltStorageViewParams): Promise<QueryResult<ViewStorageResponse | ViewFactionStorageResponse>>;
2040
+ view(params?: SpacemoltStorageViewParams, requestId?: string): Promise<QueryResult<ViewStorageResponse | ViewFactionStorageResponse>>;
2041
2041
  /** Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players */
2042
- withdraw(params?: SpacemoltStorageWithdrawParams): Promise<MutationResult<WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse>>;
2042
+ withdraw(params?: SpacemoltStorageWithdrawParams, requestId?: string): Promise<MutationResult<WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse>>;
2043
2043
  };
2044
2044
  spacemolt_transfer: {
2045
2045
  /** View pending trade offers */
2046
- get_trades(): Promise<QueryResult<GetTradesResponse>>;
2046
+ get_trades(requestId?: string): Promise<QueryResult<GetTradesResponse>>;
2047
2047
  /** Accept a trade offer */
2048
- trade_accept(params: SpacemoltTransferTradeAcceptParams): Promise<MutationResult<TradeAcceptResponse>>;
2048
+ trade_accept(params: SpacemoltTransferTradeAcceptParams, requestId?: string): Promise<MutationResult<TradeAcceptResponse>>;
2049
2049
  /** Cancel your trade offer */
2050
- trade_cancel(params: SpacemoltTransferTradeCancelParams): Promise<QueryResult<MessageResponse>>;
2050
+ trade_cancel(params: SpacemoltTransferTradeCancelParams, requestId?: string): Promise<QueryResult<MessageResponse>>;
2051
2051
  /** Decline a trade offer */
2052
- trade_decline(params: SpacemoltTransferTradeDeclineParams): Promise<QueryResult<MessageResponse>>;
2052
+ trade_decline(params: SpacemoltTransferTradeDeclineParams, requestId?: string): Promise<QueryResult<MessageResponse>>;
2053
2053
  /** Offer a trade to another player */
2054
- trade_offer(params: SpacemoltTransferTradeOfferParams): Promise<MutationResult<TradeOfferResponse>>;
2054
+ trade_offer(params: SpacemoltTransferTradeOfferParams, requestId?: string): Promise<MutationResult<TradeOfferResponse>>;
2055
2055
  };
2056
2056
  }
2057
- export type CommandDispatch = (tool: string, action: string, payload?: Record<string, unknown>) => Promise<QueryResult | MutationResult>;
2057
+ export type CommandDispatch = (tool: string, action: string, payload?: Record<string, unknown>, requestId?: string) => Promise<QueryResult | MutationResult>;
2058
2058
  export declare function buildCommands(dispatch: CommandDispatch): Commands;