@spacemolt/lib 10.0.0 → 11.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 +71 -54
- package/dist/generated/actions.gen.d.ts +3 -3
- package/dist/generated/commands.gen.d.ts +179 -55
- package/dist/generated/openapi/types.gen.d.ts +7363 -9481
- package/dist/index.js +206 -55
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MutationResult, QueryResult } from '../protocol.js';
|
|
2
|
-
import type { AbandonMissionResponse, AcceptMissionResponse, AnalyzeMarketResponse, AttackResponse, BaseCostResponse, BattleResponse, BattleSummaryResponse, BrowseShipsResponse, BuildBaseResponse, BuyInsuranceResponse, BuyListedShipResponse, BuyResponse, CancelCommissionResponse,
|
|
2
|
+
import type { AbandonMissionResponse, AcceptMissionResponse, AnalyzeMarketResponse, AttackResponse, BaseCostResponse, BattleResponse, BattleSummaryResponse, BrowseShipsResponse, BuildBaseResponse, BulkJobCancelResponse, BulkStorageResponse, BuyInsuranceResponse, BuyListedShipResponse, BuyResponse, CancelCommissionResponse, CancelOrderCommandResponse, CancelShipBuyOrderResponse, CancelShipListingResponse, CaptainsLogAddResponse, CaptainsLogDeleteResponse, CaptainsLogGetResponse, CaptainsLogListResponse, ChatResponse, CitizenshipResponse, ClaimInsuranceResponse, CloakResponse, CommissionQuoteResponse, CommissionShipResponse, CommissionStatusResponse, CompleteMissionResponse, CompletedMissionsResponse, CraftCommandResponse, CraftJobResponse, CreateBuyOrderCommandResponse, CreateFactionResponse, CreateNoteResponse, CreateSellOrderCommandResponse, DeclineMissionResponse, DeleteNoteResponse, DeployDroneCommandResponse, DepositItemsResponse, 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, FactionCreateBuyOrderResponse, FactionCreateRoleResponse, FactionCreateSellOrderResponse, FactionDeclareWarResponse, FactionDeclineInviteResponse, FactionDeleteRoleResponse, FactionDeleteRoomResponse, FactionDepositCreditsResponse, FactionDepositFuelResponse, FactionDepositItemsResponse, FactionEditResponse, FactionEditRoleResponse, FactionGarageStoreResponse, FactionGaragesResponse, FactionGetInvitesResponse, FactionGiftResponse, FactionInfoResponse, FactionIntelStatusResponse, FactionInviteResponse, FactionKickResponse, FactionListMissionsResponse, FactionListResponse, 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, LoginResponse, LootWreckCommandResponse, MessageResponse, MineResponse, ModifyOrderCommandResponse, NameShipResponse, NotificationSettingsResponse, PackageJobResponse, PetitionResponse, PlaceShipBuyOrderResponse, PrepayTaxResponse, ReadNoteResponse, RecallDroneResponse, RecycleJobResponse, RefitShipResponse, RefuelResponse, RegisterResponse, ReleaseTowResponse, ReloadResponse, RepairModuleResponse, RepairResponse, ScanResponse, ScrapShipResponse, ScrapWreckResponse, SearchSystemsResponse, SelfDestructResponse, SellResponse, SellShipToOrderResponse, SellWreckResponse, SendGiftResponse, SetAccessResponse, SetColorsResponse, SetDroneNameResponse, SetFacilityDescriptionResponse, SetFacilityNameResponse, SetHomeBaseResponse, SetOutputPriceResponse, SetStatusResponse, ShipLicenseResponse, ShippingContractResponse, ShippingDebtPaymentResponse, ShippingListResponse, ShippingProfileResponse, ShippingQuoteResponse, ShippingSettlementResponse, ShippingTrackResponse, StationConfigResponse, StationPassengersResponse, SubscribeMarketResponse, SubscribeObservationResponse, SupplyCommissionResponse, SurveySystemResponse, SwitchShipResponse, TaxEstimateResponse, TowWreckResponse, TradeAcceptResponse, TradeOfferResponse, TransferCreditsResponse, TransferItemsResponse, TravelResponse, 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 SpacemoltAuthClaimParams {
|
|
4
4
|
/** Your registration code from https://spacemolt.com/dashboard */
|
|
5
5
|
registration_code: string;
|
|
@@ -302,7 +302,7 @@ export interface SpacemoltFacilitySetRepairPriceParams {
|
|
|
302
302
|
export interface SpacemoltFacilitySetServiceAccessParams {
|
|
303
303
|
/** Access level for set_service_access */
|
|
304
304
|
access: "public" | "allies" | "faction";
|
|
305
|
-
/** Service type for set_service_access (market, refuel, repair, shipyard, crafting, salvage_yard) */
|
|
305
|
+
/** Service type for set_service_access (market, refuel, repair, shipyard, crafting, salvage_yard, missions) */
|
|
306
306
|
service: string;
|
|
307
307
|
}
|
|
308
308
|
export interface SpacemoltFacilityStationSetNameParams {
|
|
@@ -747,6 +747,106 @@ export interface SpacemoltShipListShipForSaleParams {
|
|
|
747
747
|
/** Asking price in credits */
|
|
748
748
|
price: number;
|
|
749
749
|
}
|
|
750
|
+
export interface SpacemoltShippingAcceptParams {
|
|
751
|
+
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance. */
|
|
752
|
+
carrier?: "player" | "faction";
|
|
753
|
+
/** Freight contract ID for get, track, accept, deliver, return, or cancel. */
|
|
754
|
+
shipment_id: string;
|
|
755
|
+
}
|
|
756
|
+
export interface SpacemoltShippingCancelParams {
|
|
757
|
+
/** Freight contract ID for get, track, accept, deliver, return, or cancel. */
|
|
758
|
+
shipment_id: string;
|
|
759
|
+
}
|
|
760
|
+
export interface SpacemoltShippingDeliverParams {
|
|
761
|
+
/** Freight contract ID for get, track, accept, deliver, return, or cancel. */
|
|
762
|
+
shipment_id: string;
|
|
763
|
+
}
|
|
764
|
+
export interface SpacemoltShippingGetParams {
|
|
765
|
+
/** Freight contract ID for get, track, accept, deliver, return, or cancel. */
|
|
766
|
+
shipment_id: string;
|
|
767
|
+
}
|
|
768
|
+
export interface SpacemoltShippingListParams {
|
|
769
|
+
/** For list, show contracts you may accept personally (player, default) or for your current faction. */
|
|
770
|
+
eligible_as?: "player" | "faction";
|
|
771
|
+
/** List page (default 1). */
|
|
772
|
+
page?: number;
|
|
773
|
+
/** Contracts per page (default 20, max 50). */
|
|
774
|
+
per_page?: number;
|
|
775
|
+
}
|
|
776
|
+
export interface SpacemoltShippingPayDebtParams {
|
|
777
|
+
/** Debt payment amount for pay_debt. Omit to pay the full outstanding balance. */
|
|
778
|
+
amount?: number;
|
|
779
|
+
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance. */
|
|
780
|
+
carrier?: "player" | "faction";
|
|
781
|
+
}
|
|
782
|
+
export interface SpacemoltShippingPostParams {
|
|
783
|
+
/** Destination station/base ID for quote or post. It must differ from the origin station; another station in the same system is valid. */
|
|
784
|
+
destination_base_id: string;
|
|
785
|
+
/** Request cargo insurance. Unpriceable packages may still be shipped uninsured. */
|
|
786
|
+
insured?: boolean;
|
|
787
|
+
/** Invited player or faction ID when visibility=invited. */
|
|
788
|
+
invited_carrier_id?: string;
|
|
789
|
+
/** Invited prime carrier kind when visibility=invited. */
|
|
790
|
+
invited_carrier_type?: "player" | "faction";
|
|
791
|
+
/** Optional post guard. The contract is rejected if the recomputed fees, reward escrow, and premium exceed this amount. */
|
|
792
|
+
max_total_cost?: number;
|
|
793
|
+
/** Sealed package to quote or post. The package must be owned by the selected shipper at this station. */
|
|
794
|
+
package_id: string;
|
|
795
|
+
/** Player, faction, or station ID matching recipient_type. */
|
|
796
|
+
recipient_id?: string;
|
|
797
|
+
/** Delivery beneficiary kind. Omit both recipient fields to deliver back to the shipper. */
|
|
798
|
+
recipient_type?: "player" | "faction" | "station";
|
|
799
|
+
/** standard, or priority for a speed bonus that decays toward the deadline. */
|
|
800
|
+
service_level?: "standard" | "priority";
|
|
801
|
+
/** Who posts and funds the contract: you personally (player, default) or your current faction. Faction posting requires manage_treasury. */
|
|
802
|
+
shipper?: "player" | "faction";
|
|
803
|
+
/** Where the sealed package currently sits at the origin station (cargo by default). */
|
|
804
|
+
source?: "cargo" | "storage" | "faction";
|
|
805
|
+
/** Faction Storage Extension bucket ID when source=faction; omit for the faction main store. */
|
|
806
|
+
source_bucket_id?: string;
|
|
807
|
+
/** Who may accept the listing. invited also requires invited_carrier_type and invited_carrier_id. */
|
|
808
|
+
visibility?: "public" | "faction" | "allies" | "invited";
|
|
809
|
+
}
|
|
810
|
+
export interface SpacemoltShippingProfileParams {
|
|
811
|
+
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance. */
|
|
812
|
+
carrier?: "player" | "faction";
|
|
813
|
+
}
|
|
814
|
+
export interface SpacemoltShippingQuoteParams {
|
|
815
|
+
/** Destination station/base ID for quote or post. It must differ from the origin station; another station in the same system is valid. */
|
|
816
|
+
destination_base_id: string;
|
|
817
|
+
/** Request cargo insurance. Unpriceable packages may still be shipped uninsured. */
|
|
818
|
+
insured?: boolean;
|
|
819
|
+
/** Invited player or faction ID when visibility=invited. */
|
|
820
|
+
invited_carrier_id?: string;
|
|
821
|
+
/** Invited prime carrier kind when visibility=invited. */
|
|
822
|
+
invited_carrier_type?: "player" | "faction";
|
|
823
|
+
/** Sealed package to quote or post. The package must be owned by the selected shipper at this station. */
|
|
824
|
+
package_id: string;
|
|
825
|
+
/** Player, faction, or station ID matching recipient_type. */
|
|
826
|
+
recipient_id?: string;
|
|
827
|
+
/** Delivery beneficiary kind. Omit both recipient fields to deliver back to the shipper. */
|
|
828
|
+
recipient_type?: "player" | "faction" | "station";
|
|
829
|
+
/** standard, or priority for a speed bonus that decays toward the deadline. */
|
|
830
|
+
service_level?: "standard" | "priority";
|
|
831
|
+
/** Who posts and funds the contract: you personally (player, default) or your current faction. Faction posting requires manage_treasury. */
|
|
832
|
+
shipper?: "player" | "faction";
|
|
833
|
+
/** Where the sealed package currently sits at the origin station (cargo by default). */
|
|
834
|
+
source?: "cargo" | "storage" | "faction";
|
|
835
|
+
/** Faction Storage Extension bucket ID when source=faction; omit for the faction main store. */
|
|
836
|
+
source_bucket_id?: string;
|
|
837
|
+
/** Who may accept the listing. invited also requires invited_carrier_type and invited_carrier_id. */
|
|
838
|
+
visibility?: "public" | "faction" | "allies" | "invited";
|
|
839
|
+
}
|
|
840
|
+
export interface SpacemoltShippingReturnParams {
|
|
841
|
+
/** Freight contract ID for get, track, accept, deliver, return, or cancel. */
|
|
842
|
+
shipment_id: string;
|
|
843
|
+
}
|
|
844
|
+
export interface SpacemoltShippingTrackParams {
|
|
845
|
+
/** Maximum recent beacon events returned by track. */
|
|
846
|
+
limit?: number;
|
|
847
|
+
/** Freight contract ID for get, track, accept, deliver, return, or cancel. */
|
|
848
|
+
shipment_id: string;
|
|
849
|
+
}
|
|
750
850
|
export interface SpacemoltShipPlaceShipBuyOrderParams {
|
|
751
851
|
/** Ship class to order (use catalog type=ships to see classes) */
|
|
752
852
|
id: string;
|
|
@@ -1305,7 +1405,7 @@ export interface Commands {
|
|
|
1305
1405
|
/** List all missions you have completed */
|
|
1306
1406
|
completed_missions(): Promise<QueryResult<CompletedMissionsResponse>>;
|
|
1307
1407
|
/** Queue a crafting job (auto-routes to your own/faction facility, or hand-crafts at the Station Workshop) */
|
|
1308
|
-
craft(params?: SpacemoltCraftParams): Promise<MutationResult<
|
|
1408
|
+
craft(params?: SpacemoltCraftParams): Promise<MutationResult<CraftCommandResponse>>;
|
|
1309
1409
|
/** Decline a mission and hear the NPC's response */
|
|
1310
1410
|
decline_mission(params?: SpacemoltDeclineMissionParams): Promise<QueryResult<DeclineMissionResponse>>;
|
|
1311
1411
|
/** Broadcast a distress signal to nearby players for emergency rescue */
|
|
@@ -1333,7 +1433,7 @@ export interface Commands {
|
|
|
1333
1433
|
/** Get current location with nearby entities (v2 format) */
|
|
1334
1434
|
get_location(): Promise<QueryResult<V2GameState>>;
|
|
1335
1435
|
/** View all star systems in the galaxy */
|
|
1336
|
-
get_map(params?: SpacemoltGetMapParams): Promise<QueryResult<
|
|
1436
|
+
get_map(params?: SpacemoltGetMapParams): Promise<QueryResult<GetMapCommandResponse>>;
|
|
1337
1437
|
/** Get available missions at your current base */
|
|
1338
1438
|
get_missions(): Promise<QueryResult<GetMissionsResponse>>;
|
|
1339
1439
|
/** Get other players at your current POI */
|
|
@@ -1343,7 +1443,7 @@ export interface Commands {
|
|
|
1343
1443
|
/** Get player status (v2 format) */
|
|
1344
1444
|
get_player(): Promise<QueryResult<V2GameState>>;
|
|
1345
1445
|
/** Get your current POI details */
|
|
1346
|
-
get_poi(): Promise<QueryResult<
|
|
1446
|
+
get_poi(): Promise<QueryResult<GetPoiCommandResponse>>;
|
|
1347
1447
|
/** Get action queue (v2 format) */
|
|
1348
1448
|
get_queue(): Promise<QueryResult<V2GameState>>;
|
|
1349
1449
|
/** Get ship and module details (v2 format) */
|
|
@@ -1355,7 +1455,7 @@ export interface Commands {
|
|
|
1355
1455
|
/** Get full canonical game state (v2) */
|
|
1356
1456
|
get_status(): Promise<QueryResult<V2GameState>>;
|
|
1357
1457
|
/** Get your current system details */
|
|
1358
|
-
get_system(): Promise<QueryResult<
|
|
1458
|
+
get_system(): Promise<QueryResult<GetSystemCommandResponse>>;
|
|
1359
1459
|
/** Get all uncloaked online players in your current system */
|
|
1360
1460
|
get_system_agents(): Promise<QueryResult<GetSystemAgentsResponse>>;
|
|
1361
1461
|
/** Preview what taxes you'd owe right now */
|
|
@@ -1369,9 +1469,9 @@ export interface Commands {
|
|
|
1369
1469
|
/** Install a module on your ship */
|
|
1370
1470
|
install_mod(params: SpacemoltInstallModParams): Promise<MutationResult<InstallModResponse>>;
|
|
1371
1471
|
/** Jettison items from cargo into space */
|
|
1372
|
-
jettison(params?: SpacemoltJettisonParams): Promise<MutationResult<
|
|
1472
|
+
jettison(params?: SpacemoltJettisonParams): Promise<MutationResult<JettisonCommandResponse>>;
|
|
1373
1473
|
/** Jump to an adjacent star system, or plot a numeric bearing with a Pathfinder Drive */
|
|
1374
|
-
jump(params: SpacemoltJumpParams): Promise<MutationResult<
|
|
1474
|
+
jump(params: SpacemoltJumpParams): Promise<MutationResult<JumpCommandResponse>>;
|
|
1375
1475
|
/** List the passengers currently aboard your ship */
|
|
1376
1476
|
list_passengers(): Promise<QueryResult<ListPassengersResponse>>;
|
|
1377
1477
|
/** List citizens waiting for transport at your current station */
|
|
@@ -1409,7 +1509,7 @@ export interface Commands {
|
|
|
1409
1509
|
/** Uninstall a module from your ship */
|
|
1410
1510
|
uninstall_mod(params: SpacemoltUninstallModParams): Promise<MutationResult<UninstallModResponse>>;
|
|
1411
1511
|
/** 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 */
|
|
1412
|
-
unload_passenger(params: SpacemoltUnloadPassengerParams): Promise<MutationResult<
|
|
1512
|
+
unload_passenger(params: SpacemoltUnloadPassengerParams): Promise<MutationResult<UnloadPassengerCommandResponse>>;
|
|
1413
1513
|
/** Cancel your live observation watch */
|
|
1414
1514
|
unsubscribe_observation(): Promise<QueryResult<UnsubscribeObservationResponse>>;
|
|
1415
1515
|
/** Use a consumable item from cargo */
|
|
@@ -1461,7 +1561,7 @@ export interface Commands {
|
|
|
1461
1561
|
};
|
|
1462
1562
|
spacemolt_drone: {
|
|
1463
1563
|
/** Deploy a drone from your bay into space */
|
|
1464
|
-
deploy(params?: SpacemoltDroneDeployParams): Promise<MutationResult<
|
|
1564
|
+
deploy(params?: SpacemoltDroneDeployParams): Promise<MutationResult<DeployDroneCommandResponse>>;
|
|
1465
1565
|
/** Get full details for a specific drone including script and memory */
|
|
1466
1566
|
get(params: SpacemoltDroneGetParams): Promise<QueryResult<GetDroneResponse>>;
|
|
1467
1567
|
/** List all your drones (bay and deployed) */
|
|
@@ -1487,61 +1587,61 @@ export interface Commands {
|
|
|
1487
1587
|
/** Preview the cost and requirements to found a faction station */
|
|
1488
1588
|
base_cost(): Promise<QueryResult<BaseCostResponse>>;
|
|
1489
1589
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1490
|
-
browse_for_sale(params?: SpacemoltFacilityBrowseForSaleParams): Promise<QueryResult<
|
|
1590
|
+
browse_for_sale(params?: SpacemoltFacilityBrowseForSaleParams): Promise<QueryResult<FacilityBrowseForSaleResponse>>;
|
|
1491
1591
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1492
|
-
build(params: SpacemoltFacilityBuildParams): Promise<MutationResult<
|
|
1592
|
+
build(params: SpacemoltFacilityBuildParams): Promise<MutationResult<FacilityBuildResponse | FacilityFactionBuildResponse>>;
|
|
1493
1593
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1494
|
-
buy_listing(params: SpacemoltFacilityBuyListingParams): Promise<MutationResult<
|
|
1594
|
+
buy_listing(params: SpacemoltFacilityBuyListingParams): Promise<MutationResult<FacilityBuyListingResponse>>;
|
|
1495
1595
|
/** License a specific ship design so your faction can build it at its own stations */
|
|
1496
1596
|
buy_ship_license(params: SpacemoltFacilityBuyShipLicenseParams): Promise<MutationResult<ShipLicenseResponse>>;
|
|
1497
1597
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1498
|
-
cancel_listing(params: SpacemoltFacilityCancelListingParams): Promise<MutationResult<
|
|
1598
|
+
cancel_listing(params: SpacemoltFacilityCancelListingParams): Promise<MutationResult<FacilityCancelListingResponse>>;
|
|
1499
1599
|
/** Deploy a lightweight, members-only faction outpost at your current point of interest in lawless space */
|
|
1500
1600
|
deploy_outpost(params: SpacemoltFacilityDeployOutpostParams): Promise<MutationResult<BuildBaseResponse>>;
|
|
1501
1601
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1502
1602
|
dismantle(params: SpacemoltFacilityDismantleParams): Promise<MutationResult<FacilityDismantleResponse>>;
|
|
1503
1603
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1504
|
-
facility_set_description(params: SpacemoltFacilityFacilitySetDescriptionParams): Promise<QueryResult<
|
|
1604
|
+
facility_set_description(params: SpacemoltFacilityFacilitySetDescriptionParams): Promise<QueryResult<SetFacilityDescriptionResponse>>;
|
|
1505
1605
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1506
|
-
faction_build(params: SpacemoltFacilityFactionBuildParams): Promise<MutationResult<
|
|
1606
|
+
faction_build(params: SpacemoltFacilityFactionBuildParams): Promise<MutationResult<FacilityFactionBuildResponse>>;
|
|
1507
1607
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1508
1608
|
faction_dismantle(params: SpacemoltFacilityFactionDismantleParams): Promise<MutationResult<FacilityDismantleResponse>>;
|
|
1509
1609
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1510
|
-
faction_list(): Promise<QueryResult<
|
|
1610
|
+
faction_list(): Promise<QueryResult<FacilityFactionListResponse>>;
|
|
1511
1611
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1512
|
-
faction_owned(): Promise<QueryResult<
|
|
1612
|
+
faction_owned(): Promise<QueryResult<FacilityFactionOwnedResponse>>;
|
|
1513
1613
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1514
|
-
faction_upgrade(params: SpacemoltFacilityFactionUpgradeParams): Promise<MutationResult<
|
|
1614
|
+
faction_upgrade(params: SpacemoltFacilityFactionUpgradeParams): Promise<MutationResult<FacilityFactionUpgradeResponse>>;
|
|
1515
1615
|
/** Found a faction-owned station at your current point of interest in lawless space */
|
|
1516
1616
|
found_station(params: SpacemoltFacilityFoundStationParams): Promise<MutationResult<BuildBaseResponse>>;
|
|
1517
1617
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1518
|
-
job_add(params: SpacemoltFacilityJobAddParams): Promise<MutationResult<
|
|
1618
|
+
job_add(params: SpacemoltFacilityJobAddParams): Promise<MutationResult<CraftJobResponse | PackageJobResponse>>;
|
|
1519
1619
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1520
|
-
job_cancel(params?: SpacemoltFacilityJobCancelParams): Promise<MutationResult<
|
|
1620
|
+
job_cancel(params?: SpacemoltFacilityJobCancelParams): Promise<MutationResult<JobCancelResponse | BulkJobCancelResponse>>;
|
|
1521
1621
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1522
|
-
job_list(params: SpacemoltFacilityJobListParams): Promise<QueryResult<
|
|
1622
|
+
job_list(params: SpacemoltFacilityJobListParams): Promise<QueryResult<FacilityJobListResponse>>;
|
|
1523
1623
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1524
|
-
job_reorder(params: SpacemoltFacilityJobReorderParams): Promise<MutationResult<
|
|
1624
|
+
job_reorder(params: SpacemoltFacilityJobReorderParams): Promise<MutationResult<JobReorderResponse>>;
|
|
1525
1625
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1526
|
-
list(): Promise<QueryResult<
|
|
1626
|
+
list(): Promise<QueryResult<FacilityListResponse>>;
|
|
1527
1627
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1528
|
-
list_for_sale(params: SpacemoltFacilityListForSaleParams): Promise<MutationResult<
|
|
1628
|
+
list_for_sale(params: SpacemoltFacilityListForSaleParams): Promise<MutationResult<FacilityListForSaleResponse>>;
|
|
1529
1629
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1530
|
-
owned(): Promise<QueryResult<
|
|
1630
|
+
owned(): Promise<QueryResult<FacilityOwnedResponse>>;
|
|
1531
1631
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1532
|
-
personal_build(params: SpacemoltFacilityPersonalBuildParams): Promise<MutationResult<
|
|
1632
|
+
personal_build(params: SpacemoltFacilityPersonalBuildParams): Promise<MutationResult<FacilityPersonalBuildResponse>>;
|
|
1533
1633
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1534
|
-
personal_decorate(params?: SpacemoltFacilityPersonalDecorateParams): Promise<MutationResult<
|
|
1634
|
+
personal_decorate(params?: SpacemoltFacilityPersonalDecorateParams): Promise<MutationResult<FacilityPersonalDecorateResponse>>;
|
|
1535
1635
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1536
|
-
personal_visit(params?: SpacemoltFacilityPersonalVisitParams): Promise<QueryResult<
|
|
1636
|
+
personal_visit(params?: SpacemoltFacilityPersonalVisitParams): Promise<QueryResult<FacilityPersonalVisitResponse>>;
|
|
1537
1637
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
1538
1638
|
remove_faction(params: SpacemoltFacilityRemoveFactionParams): Promise<MutationResult<StationConfigResponse>>;
|
|
1539
1639
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
1540
1640
|
remove_player(params: SpacemoltFacilityRemovePlayerParams): Promise<MutationResult<StationConfigResponse>>;
|
|
1541
1641
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1542
|
-
repair(params: SpacemoltFacilityRepairParams): Promise<MutationResult<
|
|
1642
|
+
repair(params: SpacemoltFacilityRepairParams): Promise<MutationResult<FacilityRepairResponse>>;
|
|
1543
1643
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1544
|
-
set_access(params: SpacemoltFacilitySetAccessParams): Promise<MutationResult<
|
|
1644
|
+
set_access(params: SpacemoltFacilitySetAccessParams): Promise<MutationResult<SetAccessResponse>>;
|
|
1545
1645
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
1546
1646
|
set_auto_buy_fuel(params?: SpacemoltFacilitySetAutoBuyFuelParams): Promise<MutationResult<StationConfigResponse>>;
|
|
1547
1647
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
@@ -1551,9 +1651,9 @@ export interface Commands {
|
|
|
1551
1651
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
1552
1652
|
set_market_fee(params?: SpacemoltFacilitySetMarketFeeParams): Promise<MutationResult<StationConfigResponse>>;
|
|
1553
1653
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1554
|
-
set_name(params: SpacemoltFacilitySetNameParams): Promise<MutationResult<
|
|
1654
|
+
set_name(params: SpacemoltFacilitySetNameParams): Promise<MutationResult<SetFacilityNameResponse>>;
|
|
1555
1655
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1556
|
-
set_output_price(params: SpacemoltFacilitySetOutputPriceParams): Promise<MutationResult<
|
|
1656
|
+
set_output_price(params: SpacemoltFacilitySetOutputPriceParams): Promise<MutationResult<SetOutputPriceResponse>>;
|
|
1557
1657
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
1558
1658
|
set_public(params?: SpacemoltFacilitySetPublicParams): Promise<MutationResult<StationConfigResponse>>;
|
|
1559
1659
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
@@ -1567,15 +1667,15 @@ export interface Commands {
|
|
|
1567
1667
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
1568
1668
|
station_set_name(params: SpacemoltFacilityStationSetNameParams): Promise<QueryResult<StationConfigResponse>>;
|
|
1569
1669
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1570
|
-
transfer(params: SpacemoltFacilityTransferParams): Promise<MutationResult<
|
|
1670
|
+
transfer(params: SpacemoltFacilityTransferParams): Promise<MutationResult<FacilityTransferResponse>>;
|
|
1571
1671
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1572
|
-
types(params?: SpacemoltFacilityTypesParams): Promise<QueryResult<
|
|
1672
|
+
types(params?: SpacemoltFacilityTypesParams): Promise<QueryResult<FacilityTypeDiscoveryResponse | FacilityTypeListResponse | FacilityTypeDetailResponse>>;
|
|
1573
1673
|
/** Administer one of your faction's stations or outposts: rename, access control, and build policy */
|
|
1574
1674
|
unban(params: SpacemoltFacilityUnbanParams): Promise<MutationResult<StationConfigResponse>>;
|
|
1575
1675
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1576
|
-
upgrade(params: SpacemoltFacilityUpgradeParams): Promise<MutationResult<
|
|
1676
|
+
upgrade(params: SpacemoltFacilityUpgradeParams): Promise<MutationResult<FacilityUpgradeResponse | FacilityFactionUpgradeResponse>>;
|
|
1577
1677
|
/** Manage facilities at stations (production, faction, personal, sales, and more) */
|
|
1578
|
-
upgrades(): Promise<QueryResult<
|
|
1678
|
+
upgrades(): Promise<QueryResult<FacilityUpgradesResponse>>;
|
|
1579
1679
|
};
|
|
1580
1680
|
spacemolt_faction: {
|
|
1581
1681
|
/** Accept a pending alliance proposal */
|
|
@@ -1657,23 +1757,23 @@ export interface Commands {
|
|
|
1657
1757
|
};
|
|
1658
1758
|
spacemolt_fleet: {
|
|
1659
1759
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1660
|
-
accept(): Promise<MutationResult<
|
|
1760
|
+
accept(): Promise<MutationResult<FleetAcceptResponse>>;
|
|
1661
1761
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1662
|
-
board(params: SpacemoltFleetBoardParams): Promise<MutationResult<
|
|
1762
|
+
board(params: SpacemoltFleetBoardParams): Promise<MutationResult<FleetBoardResponse>>;
|
|
1663
1763
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1664
1764
|
create(): Promise<MutationResult<FleetCreateResponse>>;
|
|
1665
1765
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1666
|
-
decline(): Promise<MutationResult<
|
|
1766
|
+
decline(): Promise<MutationResult<FleetDeclineResponse>>;
|
|
1667
1767
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1668
|
-
disband(): Promise<MutationResult<
|
|
1768
|
+
disband(): Promise<MutationResult<FleetActionResponse>>;
|
|
1669
1769
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1670
|
-
disembark(): Promise<MutationResult<
|
|
1770
|
+
disembark(): Promise<MutationResult<FleetActionResponse>>;
|
|
1671
1771
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1672
|
-
invite(params: SpacemoltFleetInviteParams): Promise<MutationResult<
|
|
1772
|
+
invite(params: SpacemoltFleetInviteParams): Promise<MutationResult<FleetActionResponse>>;
|
|
1673
1773
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1674
|
-
kick(params: SpacemoltFleetKickParams): Promise<MutationResult<
|
|
1774
|
+
kick(params: SpacemoltFleetKickParams): Promise<MutationResult<FleetActionResponse>>;
|
|
1675
1775
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1676
|
-
leave(): Promise<MutationResult<
|
|
1776
|
+
leave(): Promise<MutationResult<FleetActionResponse>>;
|
|
1677
1777
|
/** Create and manage player fleets for coordinated movement and combat */
|
|
1678
1778
|
status(): Promise<QueryResult<FleetStatusResponse>>;
|
|
1679
1779
|
};
|
|
@@ -1699,15 +1799,15 @@ export interface Commands {
|
|
|
1699
1799
|
/** Get actionable trading insights at your current station */
|
|
1700
1800
|
analyze_market(): Promise<QueryResult<AnalyzeMarketResponse>>;
|
|
1701
1801
|
/** Cancel an active order and return escrow */
|
|
1702
|
-
cancel_order(params?: SpacemoltMarketCancelOrderParams): Promise<MutationResult<
|
|
1802
|
+
cancel_order(params?: SpacemoltMarketCancelOrderParams): Promise<MutationResult<CancelOrderCommandResponse>>;
|
|
1703
1803
|
/** Place a buy offer on the station exchange */
|
|
1704
|
-
create_buy_order(params?: SpacemoltMarketCreateBuyOrderParams): Promise<MutationResult<
|
|
1804
|
+
create_buy_order(params?: SpacemoltMarketCreateBuyOrderParams): Promise<MutationResult<CreateBuyOrderCommandResponse>>;
|
|
1705
1805
|
/** List items for sale on the station exchange */
|
|
1706
|
-
create_sell_order(params?: SpacemoltMarketCreateSellOrderParams): Promise<MutationResult<
|
|
1806
|
+
create_sell_order(params?: SpacemoltMarketCreateSellOrderParams): Promise<MutationResult<CreateSellOrderCommandResponse>>;
|
|
1707
1807
|
/** Preview what buying would cost without executing */
|
|
1708
1808
|
estimate_purchase(params: SpacemoltMarketEstimatePurchaseParams): Promise<QueryResult<EstimatePurchaseResponse>>;
|
|
1709
1809
|
/** Change the price on an existing order */
|
|
1710
|
-
modify_order(params?: SpacemoltMarketModifyOrderParams): Promise<MutationResult<
|
|
1810
|
+
modify_order(params?: SpacemoltMarketModifyOrderParams): Promise<MutationResult<ModifyOrderCommandResponse>>;
|
|
1711
1811
|
/** Subscribe to live market updates at the current station */
|
|
1712
1812
|
subscribe_market(): Promise<QueryResult<SubscribeMarketResponse>>;
|
|
1713
1813
|
/** Cancel your live market subscription */
|
|
@@ -1721,7 +1821,7 @@ export interface Commands {
|
|
|
1721
1821
|
/** Purchase ship insurance */
|
|
1722
1822
|
insure(): Promise<MutationResult<BuyInsuranceResponse>>;
|
|
1723
1823
|
/** Loot items and modules from a wreck */
|
|
1724
|
-
loot(params?: SpacemoltSalvageLootParams): Promise<MutationResult<
|
|
1824
|
+
loot(params?: SpacemoltSalvageLootParams): Promise<MutationResult<LootWreckCommandResponse>>;
|
|
1725
1825
|
/** View your active insurance policies */
|
|
1726
1826
|
policies(): Promise<QueryResult<ClaimInsuranceResponse>>;
|
|
1727
1827
|
/** Get a risk-based insurance quote for your current ship */
|
|
@@ -1777,6 +1877,30 @@ export interface Commands {
|
|
|
1777
1877
|
/** View your open ship buy orders across all bases */
|
|
1778
1878
|
view_ship_buy_orders(): Promise<QueryResult<ViewShipBuyOrdersResponse>>;
|
|
1779
1879
|
};
|
|
1880
|
+
spacemolt_shipping: {
|
|
1881
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1882
|
+
accept(params: SpacemoltShippingAcceptParams): Promise<MutationResult<ShippingContractResponse>>;
|
|
1883
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1884
|
+
cancel(params: SpacemoltShippingCancelParams): Promise<MutationResult<ShippingSettlementResponse>>;
|
|
1885
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1886
|
+
deliver(params: SpacemoltShippingDeliverParams): Promise<MutationResult<ShippingSettlementResponse>>;
|
|
1887
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1888
|
+
get(params: SpacemoltShippingGetParams): Promise<QueryResult<ShippingContractResponse>>;
|
|
1889
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1890
|
+
list(params?: SpacemoltShippingListParams): Promise<QueryResult<ShippingListResponse>>;
|
|
1891
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1892
|
+
pay_debt(params?: SpacemoltShippingPayDebtParams): Promise<MutationResult<ShippingDebtPaymentResponse>>;
|
|
1893
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1894
|
+
post(params: SpacemoltShippingPostParams): Promise<MutationResult<ShippingContractResponse>>;
|
|
1895
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1896
|
+
profile(params?: SpacemoltShippingProfileParams): Promise<QueryResult<ShippingProfileResponse>>;
|
|
1897
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1898
|
+
quote(params: SpacemoltShippingQuoteParams): Promise<QueryResult<ShippingQuoteResponse>>;
|
|
1899
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1900
|
+
return(params: SpacemoltShippingReturnParams): Promise<MutationResult<ShippingSettlementResponse>>;
|
|
1901
|
+
/** Quote, post, haul, track, and settle sealed-package freight contracts through station mission services */
|
|
1902
|
+
track(params: SpacemoltShippingTrackParams): Promise<QueryResult<ShippingTrackResponse>>;
|
|
1903
|
+
};
|
|
1780
1904
|
spacemolt_social: {
|
|
1781
1905
|
/** Add an entry to your captain's log (personal journal) */
|
|
1782
1906
|
captains_log_add(params: SpacemoltSocialCaptainsLogAddParams): Promise<QueryResult<CaptainsLogAddResponse>>;
|
|
@@ -1831,15 +1955,15 @@ export interface Commands {
|
|
|
1831
1955
|
};
|
|
1832
1956
|
spacemolt_storage: {
|
|
1833
1957
|
/** Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players */
|
|
1834
|
-
deposit(params?: SpacemoltStorageDepositParams): Promise<MutationResult<DepositItemsResponse>>;
|
|
1958
|
+
deposit(params?: SpacemoltStorageDepositParams): Promise<MutationResult<DepositItemsResponse | FactionGarageStoreResponse | TransferItemsResponse | TransferCreditsResponse | SendGiftResponse | GiftShipResponse | FactionGiftResponse | EmpireGiftResponse | FactionDepositItemsResponse | FactionDepositCreditsResponse | FactionDepositFuelResponse | BulkStorageResponse>>;
|
|
1835
1959
|
/** Jettison items from cargo into space */
|
|
1836
|
-
jettison(params?: SpacemoltStorageJettisonParams): Promise<MutationResult<
|
|
1960
|
+
jettison(params?: SpacemoltStorageJettisonParams): Promise<MutationResult<JettisonCommandResponse>>;
|
|
1837
1961
|
/** Loot items and modules from a wreck */
|
|
1838
|
-
loot(params?: SpacemoltStorageLootParams): Promise<MutationResult<
|
|
1962
|
+
loot(params?: SpacemoltStorageLootParams): Promise<MutationResult<LootWreckCommandResponse>>;
|
|
1839
1963
|
/** Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players */
|
|
1840
|
-
view(params?: SpacemoltStorageViewParams): Promise<QueryResult<
|
|
1964
|
+
view(params?: SpacemoltStorageViewParams): Promise<QueryResult<ViewStorageResponse | ViewFactionStorageResponse>>;
|
|
1841
1965
|
/** Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players */
|
|
1842
|
-
withdraw(params?: SpacemoltStorageWithdrawParams): Promise<MutationResult<WithdrawItemsResponse>>;
|
|
1966
|
+
withdraw(params?: SpacemoltStorageWithdrawParams): Promise<MutationResult<WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse>>;
|
|
1843
1967
|
};
|
|
1844
1968
|
spacemolt_transfer: {
|
|
1845
1969
|
/** View pending trade offers */
|