@spacemolt/lib 17.2.1 → 18.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- AUTO-GENERATED by scripts/generate.ts from openapi.json. DO NOT EDIT. -->
|
|
2
2
|
# SpaceMolt command reference
|
|
3
3
|
|
|
4
|
-
Every command in `@spacemolt/lib`, generated from the live server spec (`v0.
|
|
4
|
+
Every command in `@spacemolt/lib`, generated from the live server spec (`v0.711.2`). **312 commands across 19 tools.**
|
|
5
5
|
|
|
6
6
|
## How to call a command
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The gameserver spec version this command surface was generated from. */
|
|
2
|
-
export declare const GENERATED_SPEC_VERSION = "v0.
|
|
2
|
+
export declare const GENERATED_SPEC_VERSION = "v0.711.2";
|
|
3
3
|
export type ToolName = "spacemolt" | "spacemolt_arena" | "spacemolt_auth" | "spacemolt_battle" | "spacemolt_citizenship" | "spacemolt_drone" | "spacemolt_facility" | "spacemolt_faction" | "spacemolt_faction_admin" | "spacemolt_faction_commerce" | "spacemolt_fleet" | "spacemolt_intel" | "spacemolt_market" | "spacemolt_salvage" | "spacemolt_ship" | "spacemolt_shipping" | "spacemolt_social" | "spacemolt_storage" | "spacemolt_transfer";
|
|
4
4
|
export type ActionName = "abandon_mission" | "accept" | "accept_ally" | "accept_invite" | "accept_mission" | "accept_peace" | "active" | "advance" | "allow_faction" | "allow_player" | "analyze_market" | "apply" | "attack" | "ban" | "base_cost" | "board" | "browse_for_sale" | "browse_ships" | "build" | "buy" | "buy_listed_ship" | "buy_listing" | "buy_ship_license" | "cancel" | "cancel_commission" | "cancel_listing" | "cancel_mission" | "cancel_mobile_base_jump" | "cancel_order" | "cancel_ship_buy_order" | "cancel_ship_listing" | "captains_log_add" | "captains_log_delete" | "captains_log_get" | "captains_log_list" | "challenge" | "challenges" | "chat" | "claim" | "claim_prize" | "cloak" | "commission_quote" | "commission_ship" | "commission_status" | "complete_mission" | "completed_missions" | "craft" | "create" | "create_buy_order" | "create_note" | "create_role" | "create_sell_order" | "declare_war" | "decline" | "decline_invite" | "decline_mission" | "decommission_mobile_base" | "delete_note" | "delete_role" | "delete_room" | "deliver" | "deploy" | "deploy_outpost" | "deposit" | "disband" | "disembark" | "dismantle" | "dismantle_outpost" | "distress_signal" | "dock" | "edit" | "edit_role" | "engage" | "espionage" | "estimate_purchase" | "facility_set_description" | "faction_build" | "faction_dismantle" | "faction_list" | "faction_owned" | "faction_personnel" | "faction_upgrade" | "fight" | "find_route" | "fit_preview" | "forum_create_thread" | "forum_delete_reply" | "forum_delete_thread" | "forum_edit_reply" | "forum_edit_thread" | "forum_get_thread" | "forum_list" | "forum_reply" | "forum_upvote" | "found_gate_site" | "found_station" | "garages" | "generator" | "get" | "get_achievements" | "get_action_log" | "get_active_missions" | "get_base" | "get_cargo" | "get_chat_history" | "get_commands" | "get_empire_info" | "get_faction_achievements" | "get_guide" | "get_invites" | "get_location" | "get_map" | "get_missions" | "get_mobile_base" | "get_nearby" | "get_notes" | "get_notification_settings" | "get_notifications" | "get_player" | "get_player_profile" | "get_poi" | "get_queue" | "get_ship" | "get_skills" | "get_state" | "get_status" | "get_system" | "get_system_agents" | "get_tax_estimate" | "get_trades" | "get_version" | "hunt" | "info" | "inspect" | "install_mod" | "insure" | "intel_status" | "interact_poi" | "invite" | "jettison" | "job_add" | "job_cancel" | "job_list" | "job_reorder" | "join" | "jump" | "jump_mobile_base" | "kick" | "leave" | "list" | "list_for_sale" | "list_missions" | "list_passengers" | "list_ship_for_sale" | "list_ships" | "list_station_passengers" | "load" | "load_passenger" | "log" | "login" | "login_link" | "login_link_poll" | "login_token" | "logout" | "loot" | "mine" | "modify_order" | "move_mobile_base" | "mute_notifications" | "name" | "owned" | "pay_bounty" | "pay_debt" | "personal_build" | "personal_decorate" | "personal_visit" | "petition" | "place_ship_buy_order" | "policies" | "post" | "post_mission" | "prepay_tax" | "profile" | "promote" | "propose_ally" | "propose_peace" | "query_intel" | "query_trade_intel" | "quote" | "ranch_set_cull" | "ranch_status" | "read_note" | "recall" | "recruit_personnel" | "recycle" | "refit_ship" | "refuel" | "register" | "release" | "reload" | "remove_ally" | "remove_enemy" | "remove_faction" | "remove_player" | "rename_ship" | "renounce" | "repair" | "reset_contraband" | "retreat" | "return" | "rooms" | "scan" | "scan_poi" | "scrap" | "scrap_ship" | "search_systems" | "self_destruct" | "sell" | "sell_ship_to_order" | "service_prize" | "set_access" | "set_auto_buy_fuel" | "set_build_policy" | "set_colors" | "set_contraband" | "set_description" | "set_enemy" | "set_gate_access" | "set_home" | "set_market_fee" | "set_name" | "set_output_price" | "set_public" | "set_refuel_price" | "set_repair_price" | "set_service_access" | "set_status" | "set_toll" | "stance" | "station_info" | "station_set_name" | "status" | "submit_intel" | "submit_trade_intel" | "subscribe_market" | "subscribe_observation" | "summary" | "supply_commission" | "survey_system" | "switch_ship" | "target" | "tax_estimate" | "tow" | "track" | "trade_accept" | "trade_cancel" | "trade_decline" | "trade_intel_status" | "trade_offer" | "transfer" | "transfer_personnel" | "travel" | "treat_personnel" | "types" | "unban" | "undock" | "uninstall_mod" | "unload" | "unload_passenger" | "unmute_notifications" | "unsubscribe_market" | "unsubscribe_observation" | "upgrade" | "upgrades" | "upload" | "use_item" | "view" | "view_completed_mission" | "view_market" | "view_orders" | "view_ship_buy_orders" | "visit_room" | "withdraw" | "withdraw_invite" | "wrecks" | "write_note" | "write_room";
|
|
5
5
|
export interface ActionParam {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { NotificationAchievementUnlocked, NotificationActionError, NotificationActionResult, NotificationArenaChallenge, NotificationArenaObjective, NotificationBaseDestroyed, NotificationBattleAlert, NotificationBattleDamage, NotificationBattleEnded, NotificationBattleJoined, NotificationBattleLeft, NotificationBattleStarted, NotificationBattleUpdate, NotificationChatMessage, NotificationCloak, NotificationCompleteMission, NotificationCraftingUpdate, NotificationDroneAdrift, NotificationDroneDestroyed, NotificationDroneScan, NotificationDroneSurvey, NotificationDroneUpdate, NotificationError, NotificationExchangeFill,
|
|
1
|
+
import type { NotificationAchievementUnlocked, NotificationActionError, NotificationActionResult, NotificationArenaChallenge, NotificationArenaObjective, NotificationBaseDestroyed, NotificationBattleAlert, NotificationBattleDamage, NotificationBattleEnded, NotificationBattleJoined, NotificationBattleLeft, NotificationBattleStarted, NotificationBattleUpdate, NotificationChatMessage, NotificationCloak, NotificationCompleteMission, NotificationCraftingUpdate, NotificationDroneAdrift, NotificationDroneDestroyed, NotificationDroneScan, NotificationDroneSurvey, NotificationDroneUpdate, NotificationError, NotificationExchangeFill, NotificationFacilityRentWarning, NotificationFactionAllianceBroken, NotificationFactionAllianceFormed, NotificationFactionAllianceProposal, NotificationFactionInvite, NotificationFactionKick, NotificationFactionMobileBaseUpdate, NotificationFactionPeaceAccepted, NotificationFactionPeaceProposal, NotificationFactionPromote, NotificationFactionWarDeclared, NotificationFactionWithdrawInvite, NotificationFleet, NotificationGiftReceived, NotificationHazardWarning, NotificationHoldUpdate, NotificationMarketUpdate, NotificationMiningYield, NotificationObservationUpdate, NotificationOk, NotificationPathfinderStorm, NotificationPersonnelUpdate, NotificationPilotlessShip, NotificationPirateDestroyed, NotificationPirateRadio, NotificationPlayerDied, NotificationPlayerKill, NotificationPrizeUpdate, NotificationRanchPoached, NotificationReconnected, NotificationRefueledBy, NotificationRepairedBy, NotificationScanDetected, NotificationServerRestartWarning, NotificationShipCaptured, NotificationShipCommissionComplete, NotificationSkillLevelUp, NotificationStationRepaired, NotificationTradeCancelled, NotificationTradeComplete, NotificationTradeDeclined, NotificationTradeOfferReceived } from './openapi/types.gen.js';
|
|
2
2
|
/** msg_type values that have a published payload schema. */
|
|
3
|
-
export type TypedNotificationType = "achievement_unlocked" | "action_error" | "action_result" | "arena_challenge" | "arena_objective" | "base_destroyed" | "battle_alert" | "battle_damage" | "battle_ended" | "battle_joined" | "battle_left" | "battle_started" | "battle_update" | "chat_message" | "cloak" | "complete_mission" | "crafting_update" | "drone_adrift" | "drone_destroyed" | "drone_scan" | "drone_survey" | "drone_update" | "error" | "exchange_fill" | "
|
|
3
|
+
export type TypedNotificationType = "achievement_unlocked" | "action_error" | "action_result" | "arena_challenge" | "arena_objective" | "base_destroyed" | "battle_alert" | "battle_damage" | "battle_ended" | "battle_joined" | "battle_left" | "battle_started" | "battle_update" | "chat_message" | "cloak" | "complete_mission" | "crafting_update" | "drone_adrift" | "drone_destroyed" | "drone_scan" | "drone_survey" | "drone_update" | "error" | "exchange_fill" | "facility_rent_warning" | "faction_alliance_broken" | "faction_alliance_formed" | "faction_alliance_proposal" | "faction_invite" | "faction_kick" | "faction_mobile_base_update" | "faction_peace_accepted" | "faction_peace_proposal" | "faction_promote" | "faction_war_declared" | "faction_withdraw_invite" | "fleet" | "gift_received" | "hazard_warning" | "hold_update" | "market_update" | "mining_yield" | "observation_update" | "ok" | "pathfinder_storm" | "personnel_update" | "pilotless_ship" | "pirate_destroyed" | "pirate_radio" | "player_died" | "player_kill" | "prize_update" | "ranch_poached" | "reconnected" | "refueled_by" | "repaired_by" | "scan_detected" | "server_restart_warning" | "ship_captured" | "ship_commission_complete" | "skill_level_up" | "station_repaired" | "trade_cancelled" | "trade_complete" | "trade_declined" | "trade_offer_received";
|
|
4
4
|
/** Maps a typed push msg_type to its payload type. */
|
|
5
5
|
export interface NotificationPayloads {
|
|
6
6
|
"achievement_unlocked": NotificationAchievementUnlocked;
|
|
@@ -27,7 +27,6 @@ export interface NotificationPayloads {
|
|
|
27
27
|
"drone_update": NotificationDroneUpdate;
|
|
28
28
|
"error": NotificationError;
|
|
29
29
|
"exchange_fill": NotificationExchangeFill;
|
|
30
|
-
"facility_reclaimed": NotificationFacilityReclaimed;
|
|
31
30
|
"facility_rent_warning": NotificationFacilityRentWarning;
|
|
32
31
|
"faction_alliance_broken": NotificationFactionAllianceBroken;
|
|
33
32
|
"faction_alliance_formed": NotificationFactionAllianceFormed;
|
|
@@ -72,4 +71,4 @@ export interface NotificationPayloads {
|
|
|
72
71
|
"trade_offer_received": NotificationTradeOfferReceived;
|
|
73
72
|
}
|
|
74
73
|
/** Names of every push msg_type with a published schema, for runtime checks. */
|
|
75
|
-
export declare const TYPED_NOTIFICATION_TYPES: readonly ["achievement_unlocked", "action_error", "action_result", "arena_challenge", "arena_objective", "base_destroyed", "battle_alert", "battle_damage", "battle_ended", "battle_joined", "battle_left", "battle_started", "battle_update", "chat_message", "cloak", "complete_mission", "crafting_update", "drone_adrift", "drone_destroyed", "drone_scan", "drone_survey", "drone_update", "error", "exchange_fill", "
|
|
74
|
+
export declare const TYPED_NOTIFICATION_TYPES: readonly ["achievement_unlocked", "action_error", "action_result", "arena_challenge", "arena_objective", "base_destroyed", "battle_alert", "battle_damage", "battle_ended", "battle_joined", "battle_left", "battle_started", "battle_update", "chat_message", "cloak", "complete_mission", "crafting_update", "drone_adrift", "drone_destroyed", "drone_scan", "drone_survey", "drone_update", "error", "exchange_fill", "facility_rent_warning", "faction_alliance_broken", "faction_alliance_formed", "faction_alliance_proposal", "faction_invite", "faction_kick", "faction_mobile_base_update", "faction_peace_accepted", "faction_peace_proposal", "faction_promote", "faction_war_declared", "faction_withdraw_invite", "fleet", "gift_received", "hazard_warning", "hold_update", "market_update", "mining_yield", "observation_update", "ok", "pathfinder_storm", "personnel_update", "pilotless_ship", "pirate_destroyed", "pirate_radio", "player_died", "player_kill", "prize_update", "ranch_poached", "reconnected", "refueled_by", "repaired_by", "scan_detected", "server_restart_warning", "ship_captured", "ship_commission_complete", "skill_level_up", "station_repaired", "trade_cancelled", "trade_complete", "trade_declined", "trade_offer_received"];
|
|
@@ -3434,6 +3434,10 @@ export type EmpireNpcInfo = {
|
|
|
3434
3434
|
};
|
|
3435
3435
|
export type EmpirePolicySnapshot = {
|
|
3436
3436
|
bounty_attack: number;
|
|
3437
|
+
/**
|
|
3438
|
+
* Bounty in credits issued for evading a customs inspection in policed space.
|
|
3439
|
+
*/
|
|
3440
|
+
bounty_customs_evasion: number;
|
|
3437
3441
|
bounty_hold: number;
|
|
3438
3442
|
bounty_kill: number;
|
|
3439
3443
|
bounty_plunder: number;
|
|
@@ -3449,7 +3453,6 @@ export type EmpirePolicySnapshot = {
|
|
|
3449
3453
|
customs_fine_multiplier_bps: number;
|
|
3450
3454
|
default_foreign_sales_tax_bps: number;
|
|
3451
3455
|
empire_id: string;
|
|
3452
|
-
eviction_grace_cycles: number;
|
|
3453
3456
|
faction_income_tax_bps: number;
|
|
3454
3457
|
foreign_income_tax_deduction?: {
|
|
3455
3458
|
[key: string]: number;
|
|
@@ -3467,6 +3470,10 @@ export type EmpirePolicySnapshot = {
|
|
|
3467
3470
|
rep_baseline_outsider: number;
|
|
3468
3471
|
rep_decay_amount: number;
|
|
3469
3472
|
rep_penalty_attack: number;
|
|
3473
|
+
/**
|
|
3474
|
+
* Reputation lost for a customs evasion crime (a positive number applied as a loss).
|
|
3475
|
+
*/
|
|
3476
|
+
rep_penalty_customs_evasion: number;
|
|
3470
3477
|
rep_penalty_hold: number;
|
|
3471
3478
|
rep_penalty_kill: number;
|
|
3472
3479
|
rep_penalty_plunder: number;
|
|
@@ -3841,7 +3848,7 @@ export type FacilityEntry = {
|
|
|
3841
3848
|
*/
|
|
3842
3849
|
maintenance_satisfied?: boolean;
|
|
3843
3850
|
/**
|
|
3844
|
-
* Facility cycles of rent currently unpaid. Arrears owed for this facility equal rent_per_cycle times missed_rent_cycles.
|
|
3851
|
+
* Facility cycles of rent currently unpaid. Arrears owed for this facility equal rent_per_cycle times missed_rent_cycles. While this is above 0 the facility does not work, except storage, fuel bunkers and ship garages. Present only on player_facilities and faction_facilities entries; omitted means 0.
|
|
3845
3852
|
*/
|
|
3846
3853
|
missed_rent_cycles?: number;
|
|
3847
3854
|
/**
|
|
@@ -3936,6 +3943,9 @@ export type FacilityFactionEntry = {
|
|
|
3936
3943
|
medical_capacity?: number;
|
|
3937
3944
|
medical_refill_per_cycle?: number;
|
|
3938
3945
|
medical_supply_item?: string;
|
|
3946
|
+
/**
|
|
3947
|
+
* Facility cycles of rent currently unpaid. While this is above 0 the facility does not work, except storage, fuel bunkers and ship garages. Omitted means 0.
|
|
3948
|
+
*/
|
|
3939
3949
|
missed_rent_cycles?: number;
|
|
3940
3950
|
name: string;
|
|
3941
3951
|
/**
|
|
@@ -3945,7 +3955,7 @@ export type FacilityFactionEntry = {
|
|
|
3945
3955
|
rental_fee_per_run?: number;
|
|
3946
3956
|
repair_complete_tick?: number;
|
|
3947
3957
|
/**
|
|
3948
|
-
* Only active facilities produce or provide their service; damaged ones need facility action repair; repairing ones are already paid for and come back at repair_complete_tick. Dismantling facilities are offline and will be removed. Rent is paused for every status except active.
|
|
3958
|
+
* Only active facilities produce or provide their service; damaged ones need facility action repair; repairing ones are already paid for and come back at repair_complete_tick. Dismantling facilities are offline and will be removed. Rent is paused for every status except active. An active facility with missed_rent_cycles above 0 also does not work until the arrears are paid, except storage, fuel bunkers and ship garages.
|
|
3949
3959
|
*/
|
|
3950
3960
|
status: 'under_construction' | 'damaged' | 'repairing' | 'active' | 'dismantling';
|
|
3951
3961
|
ticks_until_complete?: number;
|
|
@@ -4208,10 +4218,6 @@ export type FacilityRentSummary = {
|
|
|
4208
4218
|
* Number of owned facilities in this summary including facilities whose billing is paused and facilities at the owner's own faction station or outpost, which pay no rent and count at 0.
|
|
4209
4219
|
*/
|
|
4210
4220
|
facilities: number;
|
|
4211
|
-
/**
|
|
4212
|
-
* Consecutive unpayable rent cycles allowed before the station repossesses the facility. Arrears still accrue during the grace window. Omitted means the station sets no grace window.
|
|
4213
|
-
*/
|
|
4214
|
-
grace_cycles?: number;
|
|
4215
4221
|
note?: string;
|
|
4216
4222
|
/**
|
|
4217
4223
|
* Current rent in credits per facility cycle (100 ticks): sum rent_per_cycle for facilities where damaged and under_construction and dismantling are all false. Missing pause flags mean false. Zero means no current recurring rent; excludes existing arrears. Legacy inactive facilities remain billable.
|
|
@@ -8270,7 +8276,7 @@ export type NotificationChannelInfo = {
|
|
|
8270
8276
|
/**
|
|
8271
8277
|
* 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.
|
|
8272
8278
|
*/
|
|
8273
|
-
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 |
|
|
8279
|
+
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 | NotificationFacilityRentWarning | NotificationFactionAllianceBroken | NotificationFactionAllianceFormed | NotificationFactionAllianceProposal | NotificationFactionInvite | NotificationFactionKick | NotificationFactionMobileBaseUpdate | NotificationFactionPeaceAccepted | NotificationFactionPeaceProposal | NotificationFactionPromote | NotificationFactionWarDeclared | NotificationFactionWithdrawInvite | NotificationFleet | NotificationGiftReceived | NotificationHazardWarning | NotificationHoldUpdate | NotificationMarketUpdate | NotificationMiningYield | NotificationObservationUpdate | NotificationOk | NotificationPathfinderStorm | NotificationPersonnelUpdate | NotificationPilotlessShip | NotificationPirateDestroyed | NotificationPirateRadio | NotificationPlayerDied | NotificationPlayerKill | NotificationPrizeUpdate | NotificationRanchPoached | NotificationReconnected | NotificationRefueledBy | NotificationRepairedBy | NotificationScanDetected | NotificationServerRestartWarning | NotificationShipCaptured | NotificationShipCommissionComplete | NotificationSkillLevelUp | NotificationStationRepaired | NotificationTradeCancelled | NotificationTradeComplete | NotificationTradeDeclined | NotificationTradeOfferReceived | null;
|
|
8274
8280
|
export type NotificationSettingsResponse = {
|
|
8275
8281
|
action: string;
|
|
8276
8282
|
channels: Array<NotificationChannelInfo>;
|
|
@@ -8731,23 +8737,7 @@ export type NotificationExchangeFill = {
|
|
|
8731
8737
|
type: string;
|
|
8732
8738
|
};
|
|
8733
8739
|
/**
|
|
8734
|
-
* Pushed to a facility owner (or all faction members) when
|
|
8735
|
-
*/
|
|
8736
|
-
export type NotificationFacilityReclaimed = {
|
|
8737
|
-
base_id: string;
|
|
8738
|
-
base_name: string;
|
|
8739
|
-
/**
|
|
8740
|
-
* Names of the repossessed facilities.
|
|
8741
|
-
*/
|
|
8742
|
-
facilities?: Array<string>;
|
|
8743
|
-
/**
|
|
8744
|
-
* Set only on the faction-owned-facility variant.
|
|
8745
|
-
*/
|
|
8746
|
-
faction_id?: string;
|
|
8747
|
-
message: string;
|
|
8748
|
-
};
|
|
8749
|
-
/**
|
|
8750
|
-
* Pushed to a facility owner (or all faction members for faction-owned facilities) when rent is overdue and repossession is approaching. Sent when any one facility at the base reaches its 1st missed cycle, half of grace_cycles, 86 cycles (about one day) before repossession, or 3 cycles before it. A warning and a facility_reclaimed notice can both arrive in the same cycle. Each warning is also written to the action log as `other.rent_warning` (`faction.rent_warning` for faction-owned facilities) with the same fields.
|
|
8740
|
+
* Pushed to a facility owner (or all faction members for faction-owned facilities) when rent is overdue. A facility with arrears does not work until they are paid, except storage, fuel bunkers, and ship garages. Sent when any one facility at the base reaches its 1st missed cycle, then every 86 missed cycles (about one day). Each warning is also written to the action log as `other.rent_warning` (`faction.rent_warning` for faction-owned facilities) with the same fields.
|
|
8751
8741
|
*/
|
|
8752
8742
|
export type NotificationFacilityRentWarning = {
|
|
8753
8743
|
base_id: string;
|
|
@@ -8764,13 +8754,9 @@ export type NotificationFacilityRentWarning = {
|
|
|
8764
8754
|
* Set only on the faction-owned-facility variant.
|
|
8765
8755
|
*/
|
|
8766
8756
|
faction_id?: string;
|
|
8767
|
-
/**
|
|
8768
|
-
* Missed cycles at which the station repossesses.
|
|
8769
|
-
*/
|
|
8770
|
-
grace_cycles?: number;
|
|
8771
8757
|
message: string;
|
|
8772
8758
|
/**
|
|
8773
|
-
* Highest consecutive missed rent cycles among the owner's facilities at this base
|
|
8759
|
+
* Highest consecutive missed rent cycles among the owner's facilities at this base.
|
|
8774
8760
|
*/
|
|
8775
8761
|
missed_cycles?: number;
|
|
8776
8762
|
};
|
|
@@ -9005,11 +8991,11 @@ export type NotificationHoldUpdate = {
|
|
|
9005
8991
|
*/
|
|
9006
8992
|
event: 'started' | 'ended';
|
|
9007
8993
|
/**
|
|
9008
|
-
* Player whose warp scrambler holds the target.
|
|
8994
|
+
* Player or customs cutter (empire NPC ID) whose warp scrambler holds the target.
|
|
9009
8995
|
*/
|
|
9010
8996
|
holder_id: string;
|
|
9011
8997
|
/**
|
|
9012
|
-
* Holder username.
|
|
8998
|
+
* Holder username, or the customs cutter's name.
|
|
9013
8999
|
*/
|
|
9014
9000
|
holder_name: string;
|
|
9015
9001
|
/**
|
|
@@ -9017,13 +9003,13 @@ export type NotificationHoldUpdate = {
|
|
|
9017
9003
|
*/
|
|
9018
9004
|
message: string;
|
|
9019
9005
|
/**
|
|
9020
|
-
* Why the hold ended. Present only on ended. paid: the target accepted the toll. offer_closed: the toll was declined, cancelled or expired and the 2-tick grace ran out. holder_acted: the holder queued a command other than scan, trade_offer, attack or reload. holder_left: the holder or target left the POI, docked, jumped or died. battle: the two pilots are now in the same battle, and combat tackle applies. scan_over: a scan hold ran its 5 ticks with no toll offer.
|
|
9006
|
+
* Why the hold ended. Present only on ended. paid: the target accepted the toll. offer_closed: the toll was declined, cancelled or expired and the 2-tick grace ran out. holder_acted: the holder queued a command other than scan, trade_offer, attack or reload. holder_left: the holder or target left the POI, docked, jumped or died. battle: the two pilots are now in the same battle, and combat tackle applies. scan_over: a scan hold ran its 5 ticks with no toll offer, or a customs inspection ended.
|
|
9021
9007
|
*/
|
|
9022
9008
|
reason?: 'paid' | 'offer_closed' | 'holder_acted' | 'holder_left' | 'battle' | 'scan_over';
|
|
9023
9009
|
/**
|
|
9024
|
-
* What holds the target: toll is a trade_offer with hold=true; scan is a cargo scan from a ship with a warp scrambler. A toll offer sent during a scan hold turns it into a toll hold.
|
|
9010
|
+
* What holds the target: toll is a trade_offer with hold=true; scan is a cargo scan from a ship with a warp scrambler; customs is a customs inspection. A toll offer sent during a scan hold turns it into a toll hold.
|
|
9025
9011
|
*/
|
|
9026
|
-
source: 'toll' | 'scan';
|
|
9012
|
+
source: 'toll' | 'scan' | 'customs';
|
|
9027
9013
|
/**
|
|
9028
9014
|
* Tick the hold started.
|
|
9029
9015
|
*/
|
package/dist/index.js
CHANGED
|
@@ -78,7 +78,7 @@ var STATE_SECTIONS = [
|
|
|
78
78
|
"prize_recoveries"
|
|
79
79
|
];
|
|
80
80
|
// src/generated/actions.gen.ts
|
|
81
|
-
var GENERATED_SPEC_VERSION = "v0.
|
|
81
|
+
var GENERATED_SPEC_VERSION = "v0.711.2";
|
|
82
82
|
var ACTIONS = {
|
|
83
83
|
"spacemolt_arena/accept": {
|
|
84
84
|
tool: "spacemolt_arena",
|
|
@@ -5949,7 +5949,6 @@ var TYPED_NOTIFICATION_TYPES = [
|
|
|
5949
5949
|
"drone_update",
|
|
5950
5950
|
"error",
|
|
5951
5951
|
"exchange_fill",
|
|
5952
|
-
"facility_reclaimed",
|
|
5953
5952
|
"facility_rent_warning",
|
|
5954
5953
|
"faction_alliance_broken",
|
|
5955
5954
|
"faction_alliance_formed",
|
|
@@ -6077,5 +6076,5 @@ export {
|
|
|
6077
6076
|
retryAfterMsFromClose
|
|
6078
6077
|
};
|
|
6079
6078
|
|
|
6080
|
-
//# debugId=
|
|
6079
|
+
//# debugId=0937380C3977240064756E2164756E21
|
|
6081
6080
|
//# sourceMappingURL=index.js.map
|