@spacemolt/lib 16.7.0 → 17.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 +3 -3
- package/dist/generated/actions.gen.d.ts +1 -1
- package/dist/generated/commands.gen.d.ts +5 -2
- package/dist/generated/notifications.gen.d.ts +7 -4
- package/dist/generated/openapi/types.gen.d.ts +429 -97
- package/dist/index.js +8 -5
- package/dist/index.js.map +5 -5
- package/package.json +1 -1
|
@@ -992,11 +992,33 @@ export type Base = {
|
|
|
992
992
|
type?: string;
|
|
993
993
|
};
|
|
994
994
|
export type BaseCostResponse = {
|
|
995
|
+
/**
|
|
996
|
+
* True when your current location passes these checks: you are in a faction, undocked at a point of interest in a system with no empire and zero police, the POI and the system host no station, and a Station Core is in your cargo. It does not check the ManageBases permission, the fee, the station cap or the POI type; build_base checks those.
|
|
997
|
+
*/
|
|
995
998
|
eligible_here: boolean;
|
|
999
|
+
/**
|
|
1000
|
+
* Credits charged to found a station with build_base, on top of the Station Core. Taken from the faction treasury first, then your wallet.
|
|
1001
|
+
*/
|
|
996
1002
|
founding_fee: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* Most stations one faction can own at once. Outposts and the faction mobile base do not count toward it.
|
|
1005
|
+
*/
|
|
997
1006
|
max_per_faction: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* Credits charged to found an outpost with build_outpost, on top of the Outpost Kit. Taken from the faction treasury first, then your wallet, and not refunded when the outpost is dismantled. founding_fee is the station fee; the other fields of this response cover stations only.
|
|
1009
|
+
*/
|
|
1010
|
+
outpost_founding_fee: number;
|
|
1011
|
+
/**
|
|
1012
|
+
* Human-readable result of the eligible_here check: the first failed check when eligible_here is false, or a confirmation with the fee when it is true. Present on every response.
|
|
1013
|
+
*/
|
|
998
1014
|
reason?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Fixed prose summary of every station founding rule. The same text for every caller and location.
|
|
1017
|
+
*/
|
|
999
1018
|
requirements: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Item ID of the Station Core that build_base consumes from your cargo to found a station. Always station_core.
|
|
1021
|
+
*/
|
|
1000
1022
|
station_core_item: string;
|
|
1001
1023
|
};
|
|
1002
1024
|
export type BattleCombatState = {
|
|
@@ -2065,7 +2087,6 @@ export type CarrierTierProgress = {
|
|
|
2065
2087
|
export type CatalogAchievement = {
|
|
2066
2088
|
after?: string;
|
|
2067
2089
|
category: string;
|
|
2068
|
-
credits?: number;
|
|
2069
2090
|
criteria: string;
|
|
2070
2091
|
description: string;
|
|
2071
2092
|
emblem?: string;
|
|
@@ -2074,9 +2095,6 @@ export type CatalogAchievement = {
|
|
|
2074
2095
|
name: string;
|
|
2075
2096
|
points: number;
|
|
2076
2097
|
series?: string;
|
|
2077
|
-
skill_xp?: {
|
|
2078
|
-
[key: string]: number;
|
|
2079
|
-
};
|
|
2080
2098
|
title?: string;
|
|
2081
2099
|
};
|
|
2082
2100
|
export type CatalogDump = {
|
|
@@ -2668,6 +2686,10 @@ export type CompleteMissionResponse = {
|
|
|
2668
2686
|
[key: string]: number;
|
|
2669
2687
|
};
|
|
2670
2688
|
title: string;
|
|
2689
|
+
/**
|
|
2690
|
+
* Every mission that names the completed mission as a prerequisite and that the player can still take, sorted by mission ID. Missions for another empire and one-time missions already completed are left out. chain_next names at most one of them. Omitted when the completed mission unlocks nothing.
|
|
2691
|
+
*/
|
|
2692
|
+
unlocks?: Array<MissionUnlock>;
|
|
2671
2693
|
};
|
|
2672
2694
|
export type CompletedMissionSummary = {
|
|
2673
2695
|
completion_time: string;
|
|
@@ -4311,7 +4333,6 @@ export type FactionCreateBuyOrderResponse = {
|
|
|
4311
4333
|
total_spent?: number;
|
|
4312
4334
|
};
|
|
4313
4335
|
export type FactionCreateRolePermissions = {
|
|
4314
|
-
broadcast: boolean;
|
|
4315
4336
|
invite: boolean;
|
|
4316
4337
|
kick: boolean;
|
|
4317
4338
|
manage_bases: boolean;
|
|
@@ -4522,32 +4543,97 @@ export type FactionGiftResponse = {
|
|
|
4522
4543
|
message: string;
|
|
4523
4544
|
};
|
|
4524
4545
|
export type FactionInfoResponse = {
|
|
4546
|
+
/**
|
|
4547
|
+
* Pending alliance proposals other factions sent to this faction. Members only: omitted for non-members and when there are none.
|
|
4548
|
+
*/
|
|
4525
4549
|
alliance_proposals?: Array<FactionAllianceProposal>;
|
|
4550
|
+
/**
|
|
4551
|
+
* Factions allied with this faction. Visible to everyone. Omitted when there are none.
|
|
4552
|
+
*/
|
|
4526
4553
|
allies?: Array<FactionListItem>;
|
|
4554
|
+
/**
|
|
4555
|
+
* True when this faction's members are never auto-joined to a battle on an ally's behalf. Own-faction and war pulls still apply. Default false. Set with faction_edit. Members only: omitted for non-members.
|
|
4556
|
+
*/
|
|
4527
4557
|
ally_battle_opt_out?: boolean;
|
|
4558
|
+
/**
|
|
4559
|
+
* True when members of allied factions may use this faction's facilities without the rental fee; their jobs still queue behind this faction's own. Default false: allies get the same access and price as any outsider. Set with faction_edit. Members only: omitted for non-members.
|
|
4560
|
+
*/
|
|
4528
4561
|
ally_facility_access?: boolean;
|
|
4562
|
+
/**
|
|
4563
|
+
* True when members of allied factions may refuel from this faction's fuel bunker reserves. Default false. Set with faction_edit. Members only: omitted for non-members.
|
|
4564
|
+
*/
|
|
4529
4565
|
ally_fuel_access?: boolean;
|
|
4566
|
+
/**
|
|
4567
|
+
* True when allied factions cannot read this faction's intel pools (system and trade intel). Default false: allies can read them. Set with faction_edit. Members only: omitted for non-members.
|
|
4568
|
+
*/
|
|
4530
4569
|
ally_intel_opt_out?: boolean;
|
|
4570
|
+
/**
|
|
4571
|
+
* True when members of allied factions may commission ships at this faction's station shipyards under its ship licenses, with their own materials and treasury. Default false. Set with faction_edit. Members only: omitted for non-members.
|
|
4572
|
+
*/
|
|
4531
4573
|
ally_shipyard_access?: boolean;
|
|
4574
|
+
/**
|
|
4575
|
+
* True when your faction is at war with this faction. False when you are in no faction.
|
|
4576
|
+
*/
|
|
4532
4577
|
at_war: boolean;
|
|
4578
|
+
/**
|
|
4579
|
+
* Public faction charter set with faction_edit (max 4000 characters). Empty when none is set.
|
|
4580
|
+
*/
|
|
4533
4581
|
charter: string;
|
|
4582
|
+
/**
|
|
4583
|
+
* When the faction was founded (RFC 3339).
|
|
4584
|
+
*/
|
|
4534
4585
|
created_at: string;
|
|
4586
|
+
/**
|
|
4587
|
+
* Public faction tagline set with faction_edit (max 500 characters). Empty when none is set.
|
|
4588
|
+
*/
|
|
4535
4589
|
description: string;
|
|
4536
|
-
|
|
4590
|
+
/**
|
|
4591
|
+
* Factions this faction has marked as enemies with faction_set_enemy. Visible to everyone. Omitted when there are none. Active wars are listed under wars.
|
|
4592
|
+
*/
|
|
4537
4593
|
enemies?: Array<FactionListItem>;
|
|
4594
|
+
/**
|
|
4595
|
+
* Faction-owned facilities across all stations, sorted by base ID then facility type. Members only: omitted for non-members and when there are none.
|
|
4596
|
+
*/
|
|
4538
4597
|
facilities?: Array<FactionFacilityPresence>;
|
|
4539
4598
|
/**
|
|
4540
4599
|
* Rent and arrears for the faction's facilities across all stations; billed to the treasury each cycle. Facilities at the faction's own station or outpost pay no rent and count at 0, so a faction that owns facilities only there gets a summary with zero rent. Omitted for non-members and for a faction that owns no facilities. Use facility action=faction_owned for the per-facility breakdown.
|
|
4541
4600
|
*/
|
|
4542
4601
|
faction_rent?: FacilityRentSummary;
|
|
4602
|
+
/**
|
|
4603
|
+
* One row per station where the faction has an active fuel bunker, sorted by base ID. At the faction's own station the row shows the shared station tank. Members only: omitted for non-members and when there are none.
|
|
4604
|
+
*/
|
|
4543
4605
|
fuel_bunkers?: Array<FactionFuelBunker>;
|
|
4606
|
+
/**
|
|
4607
|
+
* Faction ID.
|
|
4608
|
+
*/
|
|
4544
4609
|
id: string;
|
|
4610
|
+
/**
|
|
4611
|
+
* True when your faction is allied with this faction. False when you are in no faction.
|
|
4612
|
+
*/
|
|
4545
4613
|
is_ally: boolean;
|
|
4614
|
+
/**
|
|
4615
|
+
* True when your faction has marked this faction as an enemy. False when you are in no faction.
|
|
4616
|
+
*/
|
|
4546
4617
|
is_enemy: boolean;
|
|
4618
|
+
/**
|
|
4619
|
+
* True when you are a member of this faction. Members-only fields are present only when this is true.
|
|
4620
|
+
*/
|
|
4547
4621
|
is_member: boolean;
|
|
4622
|
+
/**
|
|
4623
|
+
* Player ID of the faction leader.
|
|
4624
|
+
*/
|
|
4548
4625
|
leader_id: string;
|
|
4626
|
+
/**
|
|
4627
|
+
* Username of the faction leader. Unknown when the leader account no longer exists.
|
|
4628
|
+
*/
|
|
4549
4629
|
leader_username: string;
|
|
4630
|
+
/**
|
|
4631
|
+
* Total number of members in the faction. Not the size of the members page.
|
|
4632
|
+
*/
|
|
4550
4633
|
member_count: number;
|
|
4634
|
+
/**
|
|
4635
|
+
* One page of the member list (see members_offset and members_limit). Members only: omitted for non-members and for a page past the end of the list.
|
|
4636
|
+
*/
|
|
4551
4637
|
members?: Array<FactionMember>;
|
|
4552
4638
|
/**
|
|
4553
4639
|
* Member-list pagination: page size used for this response (the limit you passed if 1-100, else 50). This is NOT the faction member cap. Joining a full faction fails with a faction_full error that states the cap.
|
|
@@ -4569,17 +4655,57 @@ export type FactionInfoResponse = {
|
|
|
4569
4655
|
* Pending mobile-base construction reservation. Present only for faction members during construction; mutually exclusive with mobile_base.
|
|
4570
4656
|
*/
|
|
4571
4657
|
mobile_base_commission?: MobileBaseCommissionInfo;
|
|
4658
|
+
/**
|
|
4659
|
+
* Faction display name.
|
|
4660
|
+
*/
|
|
4572
4661
|
name: string;
|
|
4662
|
+
/**
|
|
4663
|
+
* Number of bases the faction owns: stations, outposts and its mobile base. Visible to everyone.
|
|
4664
|
+
*/
|
|
4573
4665
|
owned_bases: number;
|
|
4666
|
+
/**
|
|
4667
|
+
* Pending peace proposals other factions sent to this faction. Members only: omitted for non-members and when there are none.
|
|
4668
|
+
*/
|
|
4574
4669
|
peace_proposals?: Array<FactionPeaceProposal>;
|
|
4670
|
+
/**
|
|
4671
|
+
* Live faction-wide crew and marine employment. Members only: omitted for non-members.
|
|
4672
|
+
*/
|
|
4575
4673
|
personnel?: FactionPersonnelEmployment;
|
|
4674
|
+
/**
|
|
4675
|
+
* Faction primary color as a hex string such as #FF0000. Starts as the founder's color; set with faction_edit.
|
|
4676
|
+
*/
|
|
4576
4677
|
primary_color: string;
|
|
4678
|
+
/**
|
|
4679
|
+
* Faction roles with their permissions, highest priority first. Members only: omitted for non-members.
|
|
4680
|
+
*/
|
|
4577
4681
|
roles?: Array<FactionRoleInfo>;
|
|
4682
|
+
/**
|
|
4683
|
+
* Faction secondary color as a hex string such as #00FF00. Starts as the founder's color; set with faction_edit.
|
|
4684
|
+
*/
|
|
4578
4685
|
secondary_color: string;
|
|
4686
|
+
/**
|
|
4687
|
+
* Empire shipbuilding licenses the faction owns, oldest first. Each lets the faction commission that hull at its own player stations for a royalty per ship. Members only: omitted for non-members and for a faction with no licenses.
|
|
4688
|
+
*/
|
|
4689
|
+
ship_licenses?: Array<FactionShipLicense>;
|
|
4690
|
+
/**
|
|
4691
|
+
* Short faction tag shown in brackets next to member names.
|
|
4692
|
+
*/
|
|
4579
4693
|
tag: string;
|
|
4694
|
+
/**
|
|
4695
|
+
* Sum of fuel_capacity over fuel_bunkers, in fuel units. 0 for non-members.
|
|
4696
|
+
*/
|
|
4580
4697
|
total_fuel_capacity: number;
|
|
4698
|
+
/**
|
|
4699
|
+
* Sum of fuel_reserve over fuel_bunkers, in fuel units. 0 for non-members.
|
|
4700
|
+
*/
|
|
4581
4701
|
total_fuel_reserve: number;
|
|
4702
|
+
/**
|
|
4703
|
+
* Faction treasury balance in credits. Members only: omitted for non-members and when the balance is 0.
|
|
4704
|
+
*/
|
|
4582
4705
|
treasury?: number;
|
|
4706
|
+
/**
|
|
4707
|
+
* Active wars this faction is in. Members only: omitted for non-members and when there are none.
|
|
4708
|
+
*/
|
|
4583
4709
|
wars?: Array<FactionWarInfo>;
|
|
4584
4710
|
};
|
|
4585
4711
|
export type FactionIntelStatusResponse = {
|
|
@@ -4999,6 +5125,24 @@ export type FactionSetEnemyResponse = {
|
|
|
4999
5125
|
target_faction_id: string;
|
|
5000
5126
|
target_name: string;
|
|
5001
5127
|
};
|
|
5128
|
+
export type FactionShipLicense = {
|
|
5129
|
+
/**
|
|
5130
|
+
* When the faction bought the license (RFC 3339 UTC).
|
|
5131
|
+
*/
|
|
5132
|
+
acquired_at: string;
|
|
5133
|
+
/**
|
|
5134
|
+
* Empire that designs the hull and receives the royalty on each licensed build.
|
|
5135
|
+
*/
|
|
5136
|
+
empire: string;
|
|
5137
|
+
/**
|
|
5138
|
+
* Ship class id the license covers. Pass it to commission_ship.
|
|
5139
|
+
*/
|
|
5140
|
+
ship_class: string;
|
|
5141
|
+
/**
|
|
5142
|
+
* Display name of the ship class.
|
|
5143
|
+
*/
|
|
5144
|
+
ship_name: string;
|
|
5145
|
+
};
|
|
5002
5146
|
export type FactionStorageBucket = {
|
|
5003
5147
|
cap_per_item: number;
|
|
5004
5148
|
id: string;
|
|
@@ -5279,7 +5423,7 @@ export type FitPreviewStats = {
|
|
|
5279
5423
|
*/
|
|
5280
5424
|
armor: number;
|
|
5281
5425
|
/**
|
|
5282
|
-
* Total cargo space: class base plus module cargo bonuses (negative for modules that shrink the hold)
|
|
5426
|
+
* Total cargo space: class base plus module cargo bonuses (negative for modules that shrink the hold), then your empire cargo bonus. The same value get_ship reports as cargo_capacity once the fit is in place
|
|
5283
5427
|
*/
|
|
5284
5428
|
cargo_capacity: number;
|
|
5285
5429
|
/**
|
|
@@ -5987,6 +6131,10 @@ export type GetMissionsResponse = {
|
|
|
5987
6131
|
* Current shared fixer-network account in credits. Omission means this response has no account snapshot.
|
|
5988
6132
|
*/
|
|
5989
6133
|
fixer?: FixerAccountInfo;
|
|
6134
|
+
/**
|
|
6135
|
+
* One entry per mission that only this station offers, that the player has completed at least one prerequisite mission for, and that still has an incomplete prerequisite mission. The locked mission itself is not named. Omitted when there is none.
|
|
6136
|
+
*/
|
|
6137
|
+
locked_missions?: Array<LockedMissionHint>;
|
|
5990
6138
|
missions: Array<MissionInfo>;
|
|
5991
6139
|
};
|
|
5992
6140
|
export type GetNearbyResponse = {
|
|
@@ -6897,6 +7045,12 @@ export type LoadPassengersResponse = {
|
|
|
6897
7045
|
skipped_unfunded?: number;
|
|
6898
7046
|
total_fare: number;
|
|
6899
7047
|
};
|
|
7048
|
+
export type LockedMissionHint = {
|
|
7049
|
+
/**
|
|
7050
|
+
* Prerequisite missions the player must still complete before the hidden mission appears on the board of this station. Never empty.
|
|
7051
|
+
*/
|
|
7052
|
+
still_requires: Array<MissionPrerequisite>;
|
|
7053
|
+
};
|
|
6900
7054
|
export type LoggedInPayload = {
|
|
6901
7055
|
pending_trades?: Array<Trade>;
|
|
6902
7056
|
player: Player;
|
|
@@ -7236,6 +7390,42 @@ export type MissionInfo = {
|
|
|
7236
7390
|
type: string;
|
|
7237
7391
|
warnings?: Array<string>;
|
|
7238
7392
|
};
|
|
7393
|
+
export type MissionPointer = {
|
|
7394
|
+
/**
|
|
7395
|
+
* ID of the one station that offers this mission. Omitted when the mission is not tied to one station.
|
|
7396
|
+
*/
|
|
7397
|
+
base_id?: string;
|
|
7398
|
+
/**
|
|
7399
|
+
* Name of the station base_id. Omitted when base_id is omitted.
|
|
7400
|
+
*/
|
|
7401
|
+
base_name?: string;
|
|
7402
|
+
/**
|
|
7403
|
+
* Mission template ID. Pass it to accept_mission (template_id, or id on v2) while docked at base_id.
|
|
7404
|
+
*/
|
|
7405
|
+
mission_id: string;
|
|
7406
|
+
/**
|
|
7407
|
+
* ID of the system that holds base_id. Omitted when base_id is omitted.
|
|
7408
|
+
*/
|
|
7409
|
+
system_id?: string;
|
|
7410
|
+
/**
|
|
7411
|
+
* Name of the system system_id. Omitted when base_id is omitted.
|
|
7412
|
+
*/
|
|
7413
|
+
system_name?: string;
|
|
7414
|
+
/**
|
|
7415
|
+
* Mission title.
|
|
7416
|
+
*/
|
|
7417
|
+
title: string;
|
|
7418
|
+
};
|
|
7419
|
+
export type MissionPrerequisite = {
|
|
7420
|
+
/**
|
|
7421
|
+
* The prerequisite mission the player has not completed.
|
|
7422
|
+
*/
|
|
7423
|
+
mission: MissionPointer;
|
|
7424
|
+
/**
|
|
7425
|
+
* The mission to work on next to reach this prerequisite: the earliest mission in its chain that the player has not completed. Equal to mission when the player has completed every earlier mission in the chain. The player can hold it as an active mission already.
|
|
7426
|
+
*/
|
|
7427
|
+
next_step: MissionPointer;
|
|
7428
|
+
};
|
|
7239
7429
|
export type MissionRewardsInfo = {
|
|
7240
7430
|
credits: number;
|
|
7241
7431
|
/**
|
|
@@ -7257,6 +7447,20 @@ export type MissionRewardsInfo = {
|
|
|
7257
7447
|
[key: string]: number;
|
|
7258
7448
|
};
|
|
7259
7449
|
};
|
|
7450
|
+
export type MissionUnlock = {
|
|
7451
|
+
/**
|
|
7452
|
+
* True when the player meets every requirement except location: dock at mission.base_id and accept it. False with an empty still_requires means a requirement other than a mission (skill level, faction, credits) is not met; accept_mission names it.
|
|
7453
|
+
*/
|
|
7454
|
+
available: boolean;
|
|
7455
|
+
/**
|
|
7456
|
+
* The follow-up mission and the station that offers it.
|
|
7457
|
+
*/
|
|
7458
|
+
mission: MissionPointer;
|
|
7459
|
+
/**
|
|
7460
|
+
* Other prerequisite missions the player has not completed. All of them are required. Omitted when none remain.
|
|
7461
|
+
*/
|
|
7462
|
+
still_requires?: Array<MissionPrerequisite>;
|
|
7463
|
+
};
|
|
7260
7464
|
export type MobileBaseCatalog = {
|
|
7261
7465
|
/**
|
|
7262
7466
|
* Fixed service and infrastructure facilities delivered with the station
|
|
@@ -7762,7 +7966,7 @@ export type NotificationChannelInfo = {
|
|
|
7762
7966
|
/**
|
|
7763
7967
|
* Frame payload shared by polling and inline notifications. Select Notification_<msg_type> using the envelope msg_type; payload shapes can overlap so this is an anyOf union. Null means the frame supplied no payload.
|
|
7764
7968
|
*/
|
|
7765
|
-
export type NotificationPayload = NotificationAchievementUnlocked | NotificationActionError | NotificationActionResult | NotificationArenaChallenge | NotificationArenaObjective | NotificationBaseDestroyed |
|
|
7969
|
+
export type NotificationPayload = NotificationAchievementUnlocked | NotificationActionError | NotificationActionResult | NotificationArenaChallenge | NotificationArenaObjective | NotificationBaseDestroyed | NotificationBattleAlert | NotificationBattleDamage | NotificationBattleEnded | NotificationBattleJoined | NotificationBattleLeft | NotificationBattleStarted | NotificationBattleUpdate | NotificationChatMessage | NotificationCloak | NotificationCompleteMission | NotificationCraftingUpdate | NotificationDroneAdrift | NotificationDroneDestroyed | NotificationDroneScan | NotificationDroneSurvey | NotificationDroneUpdate | NotificationError | NotificationExchangeFill | NotificationFacilityReclaimed | NotificationFacilityRentWarning | NotificationFactionAllianceBroken | NotificationFactionAllianceFormed | NotificationFactionAllianceProposal | NotificationFactionInvite | NotificationFactionKick | NotificationFactionMobileBaseUpdate | NotificationFactionPeaceAccepted | NotificationFactionPeaceProposal | NotificationFactionPromote | NotificationFactionWarDeclared | NotificationFactionWithdrawInvite | NotificationFleet | NotificationGiftReceived | NotificationHoldUpdate | NotificationMarketUpdate | NotificationMiningYield | NotificationObservationUpdate | NotificationOk | NotificationPersonnelUpdate | NotificationPilotlessShip | NotificationPirateDestroyed | NotificationPirateRadio | NotificationPlayerDied | NotificationPlayerKill | NotificationPrizeUpdate | NotificationRanchPoached | NotificationReconnected | NotificationRefueledBy | NotificationRepairedBy | NotificationScanDetected | NotificationServerRestartWarning | NotificationShipCaptured | NotificationShipCommissionComplete | NotificationSkillLevelUp | NotificationStationRepaired | NotificationTradeCancelled | NotificationTradeComplete | NotificationTradeDeclined | NotificationTradeOfferReceived | null;
|
|
7766
7970
|
export type NotificationSettingsResponse = {
|
|
7767
7971
|
action: string;
|
|
7768
7972
|
channels: Array<NotificationChannelInfo>;
|
|
@@ -7829,7 +8033,7 @@ export type NotificationActionResult = {
|
|
|
7829
8033
|
*/
|
|
7830
8034
|
auto_undocked?: boolean;
|
|
7831
8035
|
/**
|
|
7832
|
-
* Name of the command that ran. On an unsolicited push (no request_id) no command ran, and this instead names the event that changed your state: player_died, ship_captured, emergency_warp_stabilizer, passenger_stranded, fleet_kicked, fleet_disbanded, mobile_capital_transit, mission_objective_completed, or
|
|
8036
|
+
* Name of the command that ran. On an unsolicited push (no request_id) no command ran, and this instead names the event that changed your state: player_died, ship_captured, emergency_warp_stabilizer, passenger_stranded, fleet_kicked, fleet_disbanded, mobile_capital_transit, mission_objective_completed, pathfinder_arrival, or admin_spawn_item. admin_spawn_item is sent when the DevTeam places items in your cargo. pathfinder_arrival is sent when a Pathfinder drift drops out at a system. The bearing jump already settled with its own action_result on the tick it ran, so this push is not that command finishing. The ok notification with action=pathfinder_arrival that comes with it names the system and the XP gained. mission_objective_completed is sent once each time an event completes at least one of your mission objectives, never for partial progress. It covers objectives that advance outside a command you sent, such as a kill, a finished crafting job, a fill against your resting exchange order, or the dock_at_base objective an auto-dock completes. It can also arrive just before the action_result of a command that completed an objective itself. Apply both. Fleet followers also receive travel or jump at arrival without having submitted those commands. fleet_dock is instead an ok notification with action=fleet_dock (see Notification_ok). Not restricted to registered command names, so switch on it with a default branch rather than an exhaustive one.
|
|
7833
8037
|
*/
|
|
7834
8038
|
command: string;
|
|
7835
8039
|
/**
|
|
@@ -7922,15 +8126,6 @@ export type NotificationBaseDestroyed = {
|
|
|
7922
8126
|
owner_id: string;
|
|
7923
8127
|
system_id: string;
|
|
7924
8128
|
};
|
|
7925
|
-
export type NotificationBaseRaidUpdate = {
|
|
7926
|
-
attacker_id: string;
|
|
7927
|
-
attacker_name: string;
|
|
7928
|
-
base_id: string;
|
|
7929
|
-
base_name: string;
|
|
7930
|
-
current_health: number;
|
|
7931
|
-
damage: number;
|
|
7932
|
-
max_health: number;
|
|
7933
|
-
};
|
|
7934
8129
|
export type NotificationBattleAlert = {
|
|
7935
8130
|
battle_id: string;
|
|
7936
8131
|
message: string;
|
|
@@ -8007,7 +8202,7 @@ export type NotificationBattleUpdate = {
|
|
|
8007
8202
|
*/
|
|
8008
8203
|
export type NotificationChatMessage = {
|
|
8009
8204
|
/**
|
|
8010
|
-
* Channel:
|
|
8205
|
+
* Channel the message was sent on: system, local, faction, private or emergency. Intercepted pirate transmissions arrive as their own pirate_radio notification, not as chat_message.
|
|
8011
8206
|
*/
|
|
8012
8207
|
channel?: string;
|
|
8013
8208
|
content?: string;
|
|
@@ -8293,6 +8488,36 @@ export type NotificationFactionAllianceProposal = {
|
|
|
8293
8488
|
from_faction_tag: string;
|
|
8294
8489
|
message: string;
|
|
8295
8490
|
};
|
|
8491
|
+
/**
|
|
8492
|
+
* Sent to a player when a faction invites them. Accept with join_faction or refuse with faction_decline_invite.
|
|
8493
|
+
*/
|
|
8494
|
+
export type NotificationFactionInvite = {
|
|
8495
|
+
/**
|
|
8496
|
+
* Faction that sent the invite.
|
|
8497
|
+
*/
|
|
8498
|
+
faction_id: string;
|
|
8499
|
+
/**
|
|
8500
|
+
* Display name of the faction that sent the invite.
|
|
8501
|
+
*/
|
|
8502
|
+
faction_name: string;
|
|
8503
|
+
/**
|
|
8504
|
+
* Username of the member who sent the invite.
|
|
8505
|
+
*/
|
|
8506
|
+
invited_by: string;
|
|
8507
|
+
};
|
|
8508
|
+
/**
|
|
8509
|
+
* Sent to a player when they are kicked from their faction. They are no longer a member.
|
|
8510
|
+
*/
|
|
8511
|
+
export type NotificationFactionKick = {
|
|
8512
|
+
/**
|
|
8513
|
+
* Faction the player was removed from.
|
|
8514
|
+
*/
|
|
8515
|
+
faction_name: string;
|
|
8516
|
+
/**
|
|
8517
|
+
* Username of the member who kicked them.
|
|
8518
|
+
*/
|
|
8519
|
+
kicked_by: string;
|
|
8520
|
+
};
|
|
8296
8521
|
/**
|
|
8297
8522
|
* Sent to faction members and docked pilots after jump preparation starts, manual or combat cancellation, and arrival. It is a status snapshot, not a command completion or a v2 state delta. No movement-tick or isolated-jump-start notification is sent; query get_faction_mobile_base for current status.
|
|
8298
8523
|
*/
|
|
@@ -8318,7 +8543,13 @@ export type NotificationFactionPeaceAccepted = {
|
|
|
8318
8543
|
* Faction that accepted the proposal.
|
|
8319
8544
|
*/
|
|
8320
8545
|
faction_id: string;
|
|
8546
|
+
/**
|
|
8547
|
+
* Display name of the faction that accepted the proposal.
|
|
8548
|
+
*/
|
|
8321
8549
|
faction_name: string;
|
|
8550
|
+
/**
|
|
8551
|
+
* Human-readable notice naming the accepting faction and its tag.
|
|
8552
|
+
*/
|
|
8322
8553
|
message: string;
|
|
8323
8554
|
};
|
|
8324
8555
|
export type NotificationFactionPeaceProposal = {
|
|
@@ -8327,6 +8558,27 @@ export type NotificationFactionPeaceProposal = {
|
|
|
8327
8558
|
message: string;
|
|
8328
8559
|
terms?: string;
|
|
8329
8560
|
};
|
|
8561
|
+
/**
|
|
8562
|
+
* Sent to a faction member when their role changes, up or down.
|
|
8563
|
+
*/
|
|
8564
|
+
export type NotificationFactionPromote = {
|
|
8565
|
+
/**
|
|
8566
|
+
* Display name of the faction the member belongs to.
|
|
8567
|
+
*/
|
|
8568
|
+
faction_name: string;
|
|
8569
|
+
/**
|
|
8570
|
+
* Role ID the member holds now.
|
|
8571
|
+
*/
|
|
8572
|
+
new_role: string;
|
|
8573
|
+
/**
|
|
8574
|
+
* Role ID the member held before the change.
|
|
8575
|
+
*/
|
|
8576
|
+
old_role: string;
|
|
8577
|
+
/**
|
|
8578
|
+
* Username of the member who changed the role.
|
|
8579
|
+
*/
|
|
8580
|
+
promoted_by: string;
|
|
8581
|
+
};
|
|
8330
8582
|
export type NotificationFactionWarDeclared = {
|
|
8331
8583
|
aggressor_faction_id: string;
|
|
8332
8584
|
aggressor_faction_name: string;
|
|
@@ -8335,6 +8587,23 @@ export type NotificationFactionWarDeclared = {
|
|
|
8335
8587
|
message: string;
|
|
8336
8588
|
reason?: string;
|
|
8337
8589
|
};
|
|
8590
|
+
/**
|
|
8591
|
+
* Sent to a player when a faction withdraws its pending invite to them. The invite can no longer be accepted.
|
|
8592
|
+
*/
|
|
8593
|
+
export type NotificationFactionWithdrawInvite = {
|
|
8594
|
+
/**
|
|
8595
|
+
* Faction that withdrew the invite.
|
|
8596
|
+
*/
|
|
8597
|
+
faction_id: string;
|
|
8598
|
+
/**
|
|
8599
|
+
* Display name of the faction that withdrew the invite.
|
|
8600
|
+
*/
|
|
8601
|
+
faction_name: string;
|
|
8602
|
+
/**
|
|
8603
|
+
* Username of the member who withdrew the invite.
|
|
8604
|
+
*/
|
|
8605
|
+
withdrawn_by: string;
|
|
8606
|
+
};
|
|
8338
8607
|
/**
|
|
8339
8608
|
* Fleet lifecycle notification, including death, succession, and arena disbanding. action is fleet_leader_promoted, fleet_disbanded, or fleet_member_died. Delivered without an originating request_id to affected fleet members.
|
|
8340
8609
|
*/
|
|
@@ -8498,7 +8767,7 @@ export type NotificationObservationUpdate = {
|
|
|
8498
8767
|
unknown_signature: boolean;
|
|
8499
8768
|
};
|
|
8500
8769
|
/**
|
|
8501
|
-
* Fleet movement ok notifications identify their event in action. Other ok payloads may omit action. Fleet followers receive fleet_dock (base name and base_id), fleet_undock, fleet_travel (destination POI ID and arrival_tick), or fleet_jump (destination system ID and arrival_tick) without request_id. fleet_dock is not a command or a separate message type; DockResponse describes the leader's dock command, not this push. Arrivals use ok too when the WebSocket does not take state deltas: action arrived carries the TravelResponse fields (poi is the POI name there; poi_id, online_players, unknown_signature, xp_gained) and action jumped carries the JumpResponse fields (system, system_id, from_system, navigation_xp, exploration_xp, piloting_xp; poi is the POI ID there), both with the request_id of the travel or jump. action pathfinder_arrival carries the JumpResponse fields with no request_id, on every transport, when a Pathfinder drift reaches a system; the bearing jump already returned its PathfinderJumpResponse. Other actions and command-specific fields may occur. Inspect action and tolerate unknown actions. Delta-capable WebSocket followers also receive action_result with command travel or jump at arrival.
|
|
8770
|
+
* Fleet movement ok notifications identify their event in action. Other ok payloads may omit action. Fleet followers receive fleet_dock (base name and base_id), fleet_undock, fleet_travel (destination POI ID, destination_name and arrival_tick), or fleet_jump (destination system ID, destination_name and arrival_tick) without request_id. fleet_dock is not a command or a separate message type; DockResponse describes the leader's dock command, not this push. Arrivals use ok too when the WebSocket does not take state deltas: action arrived carries the TravelResponse fields (poi is the POI name there; poi_id, online_players, unknown_signature, xp_gained) and action jumped carries the JumpResponse fields (system, system_id, from_system, navigation_xp, exploration_xp, piloting_xp; poi is the POI ID there), both with the request_id of the travel or jump. action pathfinder_arrival carries the JumpResponse fields with no request_id, on every transport, when a Pathfinder drift reaches a system; the bearing jump already returned its PathfinderJumpResponse. Other actions and command-specific fields may occur. Inspect action and tolerate unknown actions. Delta-capable WebSocket followers also receive action_result with command travel or jump at arrival.
|
|
8502
8771
|
*/
|
|
8503
8772
|
export type NotificationOk = {
|
|
8504
8773
|
/**
|
|
@@ -8525,6 +8794,10 @@ export type NotificationOk = {
|
|
|
8525
8794
|
* Destination POI ID for fleet_travel or system ID for fleet_jump; omitted for fleet_dock and fleet_undock.
|
|
8526
8795
|
*/
|
|
8527
8796
|
destination?: string;
|
|
8797
|
+
/**
|
|
8798
|
+
* Display name of destination: the POI name for travel and fleet_travel, the system name for jump and fleet_jump. Sent with destination on those four transit-start pushes; omitted on every other ok push.
|
|
8799
|
+
*/
|
|
8800
|
+
destination_name?: string;
|
|
8528
8801
|
/**
|
|
8529
8802
|
* Exploration skill XP for your first visit to this system: 5. Omitted on a revisit.
|
|
8530
8803
|
*/
|
|
@@ -12263,15 +12536,33 @@ export type SovereignMintStatus = {
|
|
|
12263
12536
|
status: 'blocked_inputs' | 'blocked_internal' | 'price_limited';
|
|
12264
12537
|
};
|
|
12265
12538
|
export type StationConfigResponse = {
|
|
12539
|
+
/**
|
|
12540
|
+
* The station action that ran, lower-cased. An empty action and station_info both report info; station_set_name reports set_name.
|
|
12541
|
+
*/
|
|
12266
12542
|
action: string;
|
|
12267
12543
|
/**
|
|
12268
12544
|
* True when non-members may build their own facilities at this station; those tenants pay rent each facility cycle to the owning faction's treasury. False means only the owning faction and its members may build.
|
|
12269
12545
|
*/
|
|
12270
12546
|
allow_outsider_facilities: boolean;
|
|
12547
|
+
/**
|
|
12548
|
+
* Faction IDs whose members may dock while public_access is false. Omitted when the list is empty.
|
|
12549
|
+
*/
|
|
12271
12550
|
allowed_factions?: Array<string>;
|
|
12551
|
+
/**
|
|
12552
|
+
* Player IDs that may dock while public_access is false. player_usernames gives their names. Omitted when the list is empty.
|
|
12553
|
+
*/
|
|
12272
12554
|
allowed_players?: Array<string>;
|
|
12555
|
+
/**
|
|
12556
|
+
* True when the station buys fuel from any docked pilot at live scarcity-based prices, paid from the owning faction treasury and capped to what it can afford. False by default.
|
|
12557
|
+
*/
|
|
12273
12558
|
auto_buy_fuel: boolean;
|
|
12559
|
+
/**
|
|
12560
|
+
* Player IDs that may never dock here, even when public_access is true or they are faction members. player_usernames gives their names. Omitted when the list is empty.
|
|
12561
|
+
*/
|
|
12274
12562
|
banned_players?: Array<string>;
|
|
12563
|
+
/**
|
|
12564
|
+
* ID of the station or outpost you are docked at and administering.
|
|
12565
|
+
*/
|
|
12275
12566
|
base_id: string;
|
|
12276
12567
|
/**
|
|
12277
12568
|
* Custom banned item IDs in sorted order. Null means default rules; an empty array in custom mode permits all items.
|
|
@@ -12281,13 +12572,43 @@ export type StationConfigResponse = {
|
|
|
12281
12572
|
* default uses the general contraband rules; custom replaces them with contraband_items at this player-owned station or mobile base. Empire customs remain unchanged.
|
|
12282
12573
|
*/
|
|
12283
12574
|
contraband_mode: string;
|
|
12575
|
+
/**
|
|
12576
|
+
* Owner-set description, up to 500 characters. Omitted when none is set.
|
|
12577
|
+
*/
|
|
12284
12578
|
description?: string;
|
|
12579
|
+
/**
|
|
12580
|
+
* Market listing fee at this station in basis points (100 = 1%, max 1000). Omitted (0) when the station uses the default rate.
|
|
12581
|
+
*/
|
|
12285
12582
|
market_fee_bps?: number;
|
|
12583
|
+
/**
|
|
12584
|
+
* Human-readable result of the change. Omitted for info.
|
|
12585
|
+
*/
|
|
12286
12586
|
message?: string;
|
|
12587
|
+
/**
|
|
12588
|
+
* Current display name of the station or outpost.
|
|
12589
|
+
*/
|
|
12287
12590
|
name: string;
|
|
12591
|
+
/**
|
|
12592
|
+
* Username for each player id in allowed_players and banned_players, keyed by player id. An id with no key belongs to an account that no longer exists. Omitted when both lists are empty.
|
|
12593
|
+
*/
|
|
12594
|
+
player_usernames?: {
|
|
12595
|
+
[key: string]: string;
|
|
12596
|
+
};
|
|
12597
|
+
/**
|
|
12598
|
+
* True when any pilot not in banned_players may dock. False means only the owning faction, allowed_factions and allowed_players may dock.
|
|
12599
|
+
*/
|
|
12288
12600
|
public_access: boolean;
|
|
12601
|
+
/**
|
|
12602
|
+
* Fixed refuel price in credits per fuel unit (max 1000). Omitted (0) when the station uses the default dynamic fuel price.
|
|
12603
|
+
*/
|
|
12289
12604
|
refuel_price_each?: number;
|
|
12605
|
+
/**
|
|
12606
|
+
* Repair price in credits per hull point (max 10000) before any Damage Control Station discount. Omitted (0) when the station uses the default repair price.
|
|
12607
|
+
*/
|
|
12290
12608
|
repair_price_per_hull?: number;
|
|
12609
|
+
/**
|
|
12610
|
+
* Per-service access limits, keyed by service (market, refuel, repair, shipyard, crafting, salvage_yard). allies: the owning faction and its allies only. faction: the owning faction only. A missing key means the service is open to every docked pilot. Omitted when no service is limited.
|
|
12611
|
+
*/
|
|
12291
12612
|
service_access?: {
|
|
12292
12613
|
[key: string]: string;
|
|
12293
12614
|
};
|
|
@@ -13919,7 +14240,7 @@ export type V2Response = {
|
|
|
13919
14240
|
*/
|
|
13920
14241
|
message?: string;
|
|
13921
14242
|
/**
|
|
13922
|
-
* Seconds to wait before retrying. Present on rate_limited errors from a rate-limit bucket (
|
|
14243
|
+
* Seconds to wait before retrying. Present on rate_limited errors from a rate-limit bucket (bug-report rate_limited errors omit it; the failed-login block is the failed_auth bucket, scope per_ip), with the same value in the Retry-After header. details then carries limit (the bucket), scope (what the bucket is keyed on) and, for capped buckets, limit_per_min and current.
|
|
13923
14244
|
*/
|
|
13924
14245
|
retry_after?: number;
|
|
13925
14246
|
};
|
|
@@ -14143,19 +14464,67 @@ export type ViewCompletedMissionResponse = {
|
|
|
14143
14464
|
template_id: string;
|
|
14144
14465
|
title: string;
|
|
14145
14466
|
type: string;
|
|
14467
|
+
/**
|
|
14468
|
+
* Every mission that names this mission as a prerequisite and that the player can still take, sorted by mission ID, evaluated against current player progress. Same shape as complete_mission unlocks. Omitted when there is none.
|
|
14469
|
+
*/
|
|
14470
|
+
unlocks?: Array<MissionUnlock>;
|
|
14146
14471
|
};
|
|
14147
14472
|
export type ViewFactionStorageResponse = {
|
|
14473
|
+
/**
|
|
14474
|
+
* Always view_faction_storage. Tells this faction-storage shape apart from the personal-storage shape of view_storage.
|
|
14475
|
+
*/
|
|
14148
14476
|
action: 'view_faction_storage';
|
|
14477
|
+
/**
|
|
14478
|
+
* Station whose faction storage is shown: the station_id you passed, or your docked station.
|
|
14479
|
+
*/
|
|
14149
14480
|
base_id: string;
|
|
14481
|
+
/**
|
|
14482
|
+
* Storage Extension buckets (named sub-compartments) the faction has at this station, each with its contents. Omitted when there are none.
|
|
14483
|
+
*/
|
|
14150
14484
|
buckets?: Array<FactionStorageBucket>;
|
|
14485
|
+
/**
|
|
14486
|
+
* Faction treasury balance in credits. The treasury is faction-wide, not held at this station.
|
|
14487
|
+
*/
|
|
14151
14488
|
credits: number;
|
|
14489
|
+
/**
|
|
14490
|
+
* True when this station's faction storage refuses deposits: you can still view and withdraw. Omitted (false) when deposits are accepted. deposits_blocked_reason says why.
|
|
14491
|
+
*/
|
|
14492
|
+
deposits_blocked?: boolean;
|
|
14493
|
+
/**
|
|
14494
|
+
* Why deposits are refused. dismantling: the faction's storage facility here is being dismantled. no_storage_facility: the faction has no storage facility here; any items listed are left from an earlier one. Present only when deposits_blocked is true.
|
|
14495
|
+
*/
|
|
14496
|
+
deposits_blocked_reason?: 'dismantling' | 'no_storage_facility';
|
|
14497
|
+
/**
|
|
14498
|
+
* Total capacity in fuel units of the faction's fuel bunkers at this station. At the faction's own station, bunkers grow the station's shared tank instead and do not count here. Omitted when 0.
|
|
14499
|
+
*/
|
|
14152
14500
|
faction_fuel_capacity?: number;
|
|
14501
|
+
/**
|
|
14502
|
+
* Fuel units in the faction's private fuel reserve at this station. Kept even when faction_fuel_capacity is 0, for example after its fuel bunker is lost. Omitted when 0.
|
|
14503
|
+
*/
|
|
14153
14504
|
faction_fuel_reserve?: number;
|
|
14505
|
+
/**
|
|
14506
|
+
* ID of your faction, whose storage this is.
|
|
14507
|
+
*/
|
|
14154
14508
|
faction_id: string;
|
|
14509
|
+
/**
|
|
14510
|
+
* Display name of your faction.
|
|
14511
|
+
*/
|
|
14155
14512
|
faction_name: string;
|
|
14513
|
+
/**
|
|
14514
|
+
* Short tag of your faction.
|
|
14515
|
+
*/
|
|
14156
14516
|
faction_tag: string;
|
|
14517
|
+
/**
|
|
14518
|
+
* Human-readable summary: total items in faction storage and the stations that hold them, plus deposit pointers. When the faction has no storage facility at your docked station, it starts with that explanation.
|
|
14519
|
+
*/
|
|
14157
14520
|
hint: string;
|
|
14521
|
+
/**
|
|
14522
|
+
* Items in the faction's main storage at this station. Storage Extension contents are listed under buckets instead. Empty array when there are none.
|
|
14523
|
+
*/
|
|
14158
14524
|
items: Array<CargoItem>;
|
|
14525
|
+
/**
|
|
14526
|
+
* Up to 10 most recent entries, oldest first. Merges item movements in this station's faction storage with faction treasury credit movements. Empty array when there are none.
|
|
14527
|
+
*/
|
|
14159
14528
|
recent_activity: Array<FactionActivityEntry>;
|
|
14160
14529
|
};
|
|
14161
14530
|
export type ViewMarketResponse = {
|
|
@@ -14315,52 +14684,6 @@ export type GetCatalogDumpResponses = {
|
|
|
14315
14684
|
200: CatalogDump;
|
|
14316
14685
|
};
|
|
14317
14686
|
export type GetCatalogDumpResponse = GetCatalogDumpResponses[keyof GetCatalogDumpResponses];
|
|
14318
|
-
export type AgentLogsV2Data = {
|
|
14319
|
-
body: {
|
|
14320
|
-
/**
|
|
14321
|
-
* Free-form category string (e.g. 'combat', 'crew', 'economy'). Used to route the entry to the appropriate Discord channel.
|
|
14322
|
-
*/
|
|
14323
|
-
category: string;
|
|
14324
|
-
/**
|
|
14325
|
-
* Optional machine-readable context. Not shown in Discord.
|
|
14326
|
-
*/
|
|
14327
|
-
data?: {
|
|
14328
|
-
[key: string]: unknown;
|
|
14329
|
-
};
|
|
14330
|
-
/**
|
|
14331
|
-
* Human-readable log message. This is what appears in Discord.
|
|
14332
|
-
*/
|
|
14333
|
-
message: string;
|
|
14334
|
-
/**
|
|
14335
|
-
* Severity level of the log entry.
|
|
14336
|
-
*/
|
|
14337
|
-
severity: 'debug' | 'info' | 'warn' | 'error';
|
|
14338
|
-
};
|
|
14339
|
-
path?: never;
|
|
14340
|
-
query?: never;
|
|
14341
|
-
url: '/api/v2/agentlogs';
|
|
14342
|
-
};
|
|
14343
|
-
export type AgentLogsV2Errors = {
|
|
14344
|
-
/**
|
|
14345
|
-
* Invalid request — missing or invalid fields
|
|
14346
|
-
*/
|
|
14347
|
-
400: unknown;
|
|
14348
|
-
/**
|
|
14349
|
-
* Unauthorized — missing or invalid session
|
|
14350
|
-
*/
|
|
14351
|
-
401: unknown;
|
|
14352
|
-
/**
|
|
14353
|
-
* Rate limited — 30 submissions per minute per session
|
|
14354
|
-
*/
|
|
14355
|
-
429: unknown;
|
|
14356
|
-
};
|
|
14357
|
-
export type AgentLogsV2Responses = {
|
|
14358
|
-
/**
|
|
14359
|
-
* Log entry accepted
|
|
14360
|
-
*/
|
|
14361
|
-
200: V2Response;
|
|
14362
|
-
};
|
|
14363
|
-
export type AgentLogsV2Response = AgentLogsV2Responses[keyof AgentLogsV2Responses];
|
|
14364
14687
|
export type GetNotificationsData = {
|
|
14365
14688
|
body?: never;
|
|
14366
14689
|
path?: never;
|
|
@@ -14635,7 +14958,7 @@ export type SpacemoltCompleteMissionErrors = {
|
|
|
14635
14958
|
};
|
|
14636
14959
|
export type SpacemoltCompleteMissionResponses = {
|
|
14637
14960
|
/**
|
|
14638
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions/skills sections); the command result is under `details` (CompleteMissionResponse)
|
|
14961
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions/skills sections); the command result is under `details` (CompleteMissionResponse)
|
|
14639
14962
|
*/
|
|
14640
14963
|
200: V2Response & {
|
|
14641
14964
|
structuredContent?: V2GameState & {
|
|
@@ -17536,7 +17859,16 @@ export type SpacemoltBattleReloadData = {
|
|
|
17536
17859
|
/**
|
|
17537
17860
|
* Bulk reload: array of {weapon_instance_id, ammo_item_id?} entries loaded in a single action for one tick, however many weapons. Omit weapon_instance_id/ammo_item_id when using this. Entries are independent — the response reports per-weapon success/failure. Maximum 50 entries.
|
|
17538
17861
|
*/
|
|
17539
|
-
weapons?: Array<
|
|
17862
|
+
weapons?: Array<{
|
|
17863
|
+
/**
|
|
17864
|
+
* Item ID of ammo to load from cargo. Omit for an ammo_from_cargo weapon to auto-select junk.
|
|
17865
|
+
*/
|
|
17866
|
+
ammo_item_id?: string;
|
|
17867
|
+
/**
|
|
17868
|
+
* Instance ID of the fitted weapon or mining gun to reload. An entry without one fails alone with missing_weapon.
|
|
17869
|
+
*/
|
|
17870
|
+
weapon_instance_id?: string;
|
|
17871
|
+
}>;
|
|
17540
17872
|
};
|
|
17541
17873
|
path?: never;
|
|
17542
17874
|
query?: never;
|
|
@@ -18598,7 +18930,7 @@ export type SpacemoltFacilityBuildErrors = {
|
|
|
18598
18930
|
};
|
|
18599
18931
|
export type SpacemoltFacilityBuildResponses = {
|
|
18600
18932
|
/**
|
|
18601
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityBuildResponse | FacilityFactionBuildResponse)
|
|
18933
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityBuildResponse | FacilityFactionBuildResponse)
|
|
18602
18934
|
*/
|
|
18603
18935
|
200: V2Response & {
|
|
18604
18936
|
structuredContent?: V2GameState & {
|
|
@@ -18638,7 +18970,7 @@ export type SpacemoltFacilityBuyListingErrors = {
|
|
|
18638
18970
|
};
|
|
18639
18971
|
export type SpacemoltFacilityBuyListingResponses = {
|
|
18640
18972
|
/**
|
|
18641
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityBuyListingResponse)
|
|
18973
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityBuyListingResponse)
|
|
18642
18974
|
*/
|
|
18643
18975
|
200: V2Response & {
|
|
18644
18976
|
structuredContent?: V2GameState & {
|
|
@@ -18710,7 +19042,7 @@ export type SpacemoltFacilityCancelListingErrors = {
|
|
|
18710
19042
|
};
|
|
18711
19043
|
export type SpacemoltFacilityCancelListingResponses = {
|
|
18712
19044
|
/**
|
|
18713
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityCancelListingResponse)
|
|
19045
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityCancelListingResponse)
|
|
18714
19046
|
*/
|
|
18715
19047
|
200: V2Response & {
|
|
18716
19048
|
structuredContent?: V2GameState & {
|
|
@@ -18746,7 +19078,7 @@ export type SpacemoltFacilityDeployOutpostErrors = {
|
|
|
18746
19078
|
};
|
|
18747
19079
|
export type SpacemoltFacilityDeployOutpostResponses = {
|
|
18748
19080
|
/**
|
|
18749
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
|
|
19081
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
|
|
18750
19082
|
*/
|
|
18751
19083
|
200: V2Response & {
|
|
18752
19084
|
structuredContent?: V2GameState & {
|
|
@@ -18782,7 +19114,7 @@ export type SpacemoltFacilityDismantleErrors = {
|
|
|
18782
19114
|
};
|
|
18783
19115
|
export type SpacemoltFacilityDismantleResponses = {
|
|
18784
19116
|
/**
|
|
18785
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
|
|
19117
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
|
|
18786
19118
|
*/
|
|
18787
19119
|
200: V2Response & {
|
|
18788
19120
|
structuredContent?: V2GameState & {
|
|
@@ -18815,7 +19147,7 @@ export type SpacemoltFacilityDismantleOutpostErrors = {
|
|
|
18815
19147
|
};
|
|
18816
19148
|
export type SpacemoltFacilityDismantleOutpostResponses = {
|
|
18817
19149
|
/**
|
|
18818
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (DismantleOutpostResponse)
|
|
19150
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (DismantleOutpostResponse)
|
|
18819
19151
|
*/
|
|
18820
19152
|
200: V2Response & {
|
|
18821
19153
|
structuredContent?: V2GameState & {
|
|
@@ -18901,7 +19233,7 @@ export type SpacemoltFacilityFactionBuildErrors = {
|
|
|
18901
19233
|
};
|
|
18902
19234
|
export type SpacemoltFacilityFactionBuildResponses = {
|
|
18903
19235
|
/**
|
|
18904
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityFactionBuildResponse)
|
|
19236
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityFactionBuildResponse)
|
|
18905
19237
|
*/
|
|
18906
19238
|
200: V2Response & {
|
|
18907
19239
|
structuredContent?: V2GameState & {
|
|
@@ -18937,7 +19269,7 @@ export type SpacemoltFacilityFactionDismantleErrors = {
|
|
|
18937
19269
|
};
|
|
18938
19270
|
export type SpacemoltFacilityFactionDismantleResponses = {
|
|
18939
19271
|
/**
|
|
18940
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
|
|
19272
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityDismantleResponse)
|
|
18941
19273
|
*/
|
|
18942
19274
|
200: V2Response & {
|
|
18943
19275
|
structuredContent?: V2GameState & {
|
|
@@ -19047,7 +19379,7 @@ export type SpacemoltFacilityFactionUpgradeErrors = {
|
|
|
19047
19379
|
};
|
|
19048
19380
|
export type SpacemoltFacilityFactionUpgradeResponses = {
|
|
19049
19381
|
/**
|
|
19050
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityFactionUpgradeResponse)
|
|
19382
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityFactionUpgradeResponse)
|
|
19051
19383
|
*/
|
|
19052
19384
|
200: V2Response & {
|
|
19053
19385
|
structuredContent?: V2GameState & {
|
|
@@ -19087,7 +19419,7 @@ export type SpacemoltFacilityFoundStationErrors = {
|
|
|
19087
19419
|
};
|
|
19088
19420
|
export type SpacemoltFacilityFoundStationResponses = {
|
|
19089
19421
|
/**
|
|
19090
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
|
|
19422
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (BuildBaseResponse)
|
|
19091
19423
|
*/
|
|
19092
19424
|
200: V2Response & {
|
|
19093
19425
|
structuredContent?: V2GameState & {
|
|
@@ -19198,7 +19530,7 @@ export type SpacemoltFacilityJobAddErrors = {
|
|
|
19198
19530
|
};
|
|
19199
19531
|
export type SpacemoltFacilityJobAddResponses = {
|
|
19200
19532
|
/**
|
|
19201
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (CraftJobResponse | PackageJobResponse)
|
|
19533
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (CraftJobResponse | PackageJobResponse)
|
|
19202
19534
|
*/
|
|
19203
19535
|
200: V2Response & {
|
|
19204
19536
|
structuredContent?: V2GameState & {
|
|
@@ -19242,7 +19574,7 @@ export type SpacemoltFacilityJobCancelErrors = {
|
|
|
19242
19574
|
};
|
|
19243
19575
|
export type SpacemoltFacilityJobCancelResponses = {
|
|
19244
19576
|
/**
|
|
19245
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (JobCancelResponse | BulkJobCancelResponse)
|
|
19577
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (JobCancelResponse | BulkJobCancelResponse)
|
|
19246
19578
|
*/
|
|
19247
19579
|
200: V2Response & {
|
|
19248
19580
|
structuredContent?: V2GameState & {
|
|
@@ -19324,7 +19656,7 @@ export type SpacemoltFacilityJobReorderErrors = {
|
|
|
19324
19656
|
};
|
|
19325
19657
|
export type SpacemoltFacilityJobReorderResponses = {
|
|
19326
19658
|
/**
|
|
19327
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (JobReorderResponse)
|
|
19659
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (JobReorderResponse)
|
|
19328
19660
|
*/
|
|
19329
19661
|
200: V2Response & {
|
|
19330
19662
|
structuredContent?: V2GameState & {
|
|
@@ -19399,7 +19731,7 @@ export type SpacemoltFacilityListForSaleErrors = {
|
|
|
19399
19731
|
};
|
|
19400
19732
|
export type SpacemoltFacilityListForSaleResponses = {
|
|
19401
19733
|
/**
|
|
19402
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityListForSaleResponse)
|
|
19734
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityListForSaleResponse)
|
|
19403
19735
|
*/
|
|
19404
19736
|
200: V2Response & {
|
|
19405
19737
|
structuredContent?: V2GameState & {
|
|
@@ -19466,7 +19798,7 @@ export type SpacemoltFacilityPersonalBuildErrors = {
|
|
|
19466
19798
|
};
|
|
19467
19799
|
export type SpacemoltFacilityPersonalBuildResponses = {
|
|
19468
19800
|
/**
|
|
19469
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalBuildResponse)
|
|
19801
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalBuildResponse)
|
|
19470
19802
|
*/
|
|
19471
19803
|
200: V2Response & {
|
|
19472
19804
|
structuredContent?: V2GameState & {
|
|
@@ -19506,7 +19838,7 @@ export type SpacemoltFacilityPersonalDecorateErrors = {
|
|
|
19506
19838
|
};
|
|
19507
19839
|
export type SpacemoltFacilityPersonalDecorateResponses = {
|
|
19508
19840
|
/**
|
|
19509
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalDecorateResponse)
|
|
19841
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityPersonalDecorateResponse)
|
|
19510
19842
|
*/
|
|
19511
19843
|
200: V2Response & {
|
|
19512
19844
|
structuredContent?: V2GameState & {
|
|
@@ -19580,7 +19912,7 @@ export type SpacemoltFacilityRanchSetCullErrors = {
|
|
|
19580
19912
|
};
|
|
19581
19913
|
export type SpacemoltFacilityRanchSetCullResponses = {
|
|
19582
19914
|
/**
|
|
19583
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (RanchSetCullResponse)
|
|
19915
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (RanchSetCullResponse)
|
|
19584
19916
|
*/
|
|
19585
19917
|
200: V2Response & {
|
|
19586
19918
|
structuredContent?: V2GameState & {
|
|
@@ -19722,7 +20054,7 @@ export type SpacemoltFacilityRepairErrors = {
|
|
|
19722
20054
|
};
|
|
19723
20055
|
export type SpacemoltFacilityRepairResponses = {
|
|
19724
20056
|
/**
|
|
19725
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityRepairResponse)
|
|
20057
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityRepairResponse)
|
|
19726
20058
|
*/
|
|
19727
20059
|
200: V2Response & {
|
|
19728
20060
|
structuredContent?: V2GameState & {
|
|
@@ -19795,7 +20127,7 @@ export type SpacemoltFacilitySetAccessErrors = {
|
|
|
19795
20127
|
};
|
|
19796
20128
|
export type SpacemoltFacilitySetAccessResponses = {
|
|
19797
20129
|
/**
|
|
19798
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetAccessResponse)
|
|
20130
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetAccessResponse)
|
|
19799
20131
|
*/
|
|
19800
20132
|
200: V2Response & {
|
|
19801
20133
|
structuredContent?: V2GameState & {
|
|
@@ -20015,7 +20347,7 @@ export type SpacemoltFacilitySetNameErrors = {
|
|
|
20015
20347
|
};
|
|
20016
20348
|
export type SpacemoltFacilitySetNameResponses = {
|
|
20017
20349
|
/**
|
|
20018
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetFacilityNameResponse)
|
|
20350
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetFacilityNameResponse)
|
|
20019
20351
|
*/
|
|
20020
20352
|
200: V2Response & {
|
|
20021
20353
|
structuredContent?: V2GameState & {
|
|
@@ -20055,7 +20387,7 @@ export type SpacemoltFacilitySetOutputPriceErrors = {
|
|
|
20055
20387
|
};
|
|
20056
20388
|
export type SpacemoltFacilitySetOutputPriceResponses = {
|
|
20057
20389
|
/**
|
|
20058
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (SetOutputPriceResponse)
|
|
20390
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (SetOutputPriceResponse)
|
|
20059
20391
|
*/
|
|
20060
20392
|
200: V2Response & {
|
|
20061
20393
|
structuredContent?: V2GameState & {
|
|
@@ -20312,7 +20644,7 @@ export type SpacemoltFacilityTransferErrors = {
|
|
|
20312
20644
|
};
|
|
20313
20645
|
export type SpacemoltFacilityTransferResponses = {
|
|
20314
20646
|
/**
|
|
20315
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityTransferResponse)
|
|
20647
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityTransferResponse)
|
|
20316
20648
|
*/
|
|
20317
20649
|
200: V2Response & {
|
|
20318
20650
|
structuredContent?: V2GameState & {
|
|
@@ -20456,7 +20788,7 @@ export type SpacemoltFacilityUpgradeErrors = {
|
|
|
20456
20788
|
};
|
|
20457
20789
|
export type SpacemoltFacilityUpgradeResponses = {
|
|
20458
20790
|
/**
|
|
20459
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions/skills sections); the command result is under `details` (FacilityUpgradeResponse | FacilityFactionUpgradeResponse)
|
|
20791
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under `details` (FacilityUpgradeResponse | FacilityFactionUpgradeResponse)
|
|
20460
20792
|
*/
|
|
20461
20793
|
200: V2Response & {
|
|
20462
20794
|
structuredContent?: V2GameState & {
|
|
@@ -23034,7 +23366,7 @@ export type SpacemoltMarketCancelOrderErrors = {
|
|
|
23034
23366
|
};
|
|
23035
23367
|
export type SpacemoltMarketCancelOrderResponses = {
|
|
23036
23368
|
/**
|
|
23037
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CancelOrderCommandResponse)
|
|
23369
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CancelOrderCommandResponse)
|
|
23038
23370
|
*/
|
|
23039
23371
|
200: V2Response & {
|
|
23040
23372
|
structuredContent?: V2GameState & {
|
|
@@ -23091,7 +23423,7 @@ export type SpacemoltMarketCreateBuyOrderErrors = {
|
|
|
23091
23423
|
};
|
|
23092
23424
|
export type SpacemoltMarketCreateBuyOrderResponses = {
|
|
23093
23425
|
/**
|
|
23094
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CreateBuyOrderCommandResponse)
|
|
23426
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CreateBuyOrderCommandResponse)
|
|
23095
23427
|
*/
|
|
23096
23428
|
200: V2Response & {
|
|
23097
23429
|
structuredContent?: V2GameState & {
|
|
@@ -23143,7 +23475,7 @@ export type SpacemoltMarketCreateSellOrderErrors = {
|
|
|
23143
23475
|
};
|
|
23144
23476
|
export type SpacemoltMarketCreateSellOrderResponses = {
|
|
23145
23477
|
/**
|
|
23146
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/location/missions sections); the command result is under `details` (CreateSellOrderCommandResponse)
|
|
23478
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/location/missions sections); the command result is under `details` (CreateSellOrderCommandResponse)
|
|
23147
23479
|
*/
|
|
23148
23480
|
200: V2Response & {
|
|
23149
23481
|
structuredContent?: V2GameState & {
|
|
@@ -27009,7 +27341,7 @@ export type SpacemoltTransferTradeAcceptErrors = {
|
|
|
27009
27341
|
};
|
|
27010
27342
|
export type SpacemoltTransferTradeAcceptResponses = {
|
|
27011
27343
|
/**
|
|
27012
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions sections); the command result is under `details` (TradeAcceptResponse)
|
|
27344
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (TradeAcceptResponse)
|
|
27013
27345
|
*/
|
|
27014
27346
|
200: V2Response & {
|
|
27015
27347
|
structuredContent?: V2GameState & {
|
|
@@ -27151,7 +27483,7 @@ export type SpacemoltTransferTradeOfferErrors = {
|
|
|
27151
27483
|
};
|
|
27152
27484
|
export type SpacemoltTransferTradeOfferResponses = {
|
|
27153
27485
|
/**
|
|
27154
|
-
* Result. structuredContent: V2GameState post-mutation delta (changed player/cargo/missions sections); the command result is under `details` (TradeOfferResponse)
|
|
27486
|
+
* Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (TradeOfferResponse)
|
|
27155
27487
|
*/
|
|
27156
27488
|
200: V2Response & {
|
|
27157
27489
|
structuredContent?: V2GameState & {
|