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