@spacemolt/lib 11.0.0 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/COMMANDS.md
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 (`
|
|
4
|
+
Every command in `@spacemolt/lib`, generated from the live server spec (`v0.522.0`). **276 commands across 18 tools.**
|
|
5
5
|
|
|
6
6
|
## How to call a command
|
|
7
7
|
|
|
@@ -162,7 +162,7 @@ Call as `account.commands.spacemolt_facility.<action>(...)`.
|
|
|
162
162
|
- `ban({ player: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
163
163
|
- `base_cost()` · *query* → `BaseCostResponse` — Preview the cost and requirements to found a faction station
|
|
164
164
|
- `browse_for_sale({ facility_type?: string; max_price?: number })` · *query* → `FacilityBrowseForSaleResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
165
|
-
- `build({ facility_type: string })` · *mutation* → delta.details: `FacilityBuildResponse | FacilityFactionBuildResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
165
|
+
- `build({ bucket?: string; facility_type: string })` · *mutation* → delta.details: `FacilityBuildResponse | FacilityFactionBuildResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
166
166
|
- `buy_listing({ listing_id: string })` · *mutation* → delta.details: `FacilityBuyListingResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
167
167
|
- `buy_ship_license({ ship_class: string })` · *mutation* → delta.details: `ShipLicenseResponse` — License a specific ship design so your faction can build it at its own stations
|
|
168
168
|
- `cancel_listing({ listing_id: string })` · *mutation* → delta.details: `FacilityCancelListingResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
@@ -204,7 +204,7 @@ Call as `account.commands.spacemolt_facility.<action>(...)`.
|
|
|
204
204
|
- `transfer({ direction: "to_faction" | "to_player"; facility_id: string; player_id?: string })` · *mutation* → delta.details: `FacilityTransferResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
205
205
|
- `types({ category?: "infrastructure" | "service" | "production" | "faction" | "personal"; facility_type?: string; level?: number; name?: string; page?: number; per_page?: number })` · *query* → `FacilityTypeDiscoveryResponse | FacilityTypeListResponse | FacilityTypeDetailResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
206
206
|
- `unban({ player: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
207
|
-
- `upgrade({ facility_id: string; facility_type: string })` · *mutation* → delta.details: `FacilityUpgradeResponse | FacilityFactionUpgradeResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
207
|
+
- `upgrade({ bucket?: string; facility_id: string; facility_type: string })` · *mutation* → delta.details: `FacilityUpgradeResponse | FacilityFactionUpgradeResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
208
208
|
- `upgrades()` · *query* → `FacilityUpgradesResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
209
209
|
|
|
210
210
|
## spacemolt_faction
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The gameserver spec version this command surface was generated from. */
|
|
2
|
-
export declare const GENERATED_SPEC_VERSION = "
|
|
2
|
+
export declare const GENERATED_SPEC_VERSION = "v0.522.0";
|
|
3
3
|
export type ToolName = "spacemolt" | "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" | "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_order" | "cancel_ship_buy_order" | "cancel_ship_listing" | "captains_log_add" | "captains_log_delete" | "captains_log_get" | "captains_log_list" | "chat" | "claim" | "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" | "delete_note" | "delete_role" | "delete_room" | "deliver" | "deploy" | "deploy_outpost" | "deposit" | "disband" | "disembark" | "dismantle" | "distress_signal" | "dock" | "edit" | "edit_role" | "engage" | "espionage" | "estimate_purchase" | "facility_set_description" | "faction_build" | "faction_dismantle" | "faction_list" | "faction_owned" | "faction_upgrade" | "find_route" | "forum_create_thread" | "forum_delete_reply" | "forum_delete_thread" | "forum_get_thread" | "forum_list" | "forum_reply" | "forum_upvote" | "found_station" | "garages" | "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_nearby" | "get_notes" | "get_notification_settings" | "get_notifications" | "get_player" | "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" | "invite" | "jettison" | "job_add" | "job_cancel" | "job_list" | "job_reorder" | "join" | "jump" | "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_token" | "logout" | "loot" | "mine" | "modify_order" | "mute_notifications" | "name" | "owned" | "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" | "read_note" | "recall" | "recycle" | "refit_ship" | "refuel" | "register" | "release" | "reload" | "remove_ally" | "remove_enemy" | "remove_faction" | "remove_player" | "rename_ship" | "renounce" | "repair" | "repair_module" | "retreat" | "return" | "rooms" | "scan" | "scan_poi" | "scrap" | "scrap_ship" | "search_systems" | "self_destruct" | "sell" | "sell_ship_to_order" | "set_access" | "set_auto_buy_fuel" | "set_build_policy" | "set_colors" | "set_description" | "set_enemy" | "set_home" | "set_market_fee" | "set_name" | "set_output_price" | "set_public" | "set_refuel_price" | "set_repair_price" | "set_service_access" | "set_status" | "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" | "travel" | "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 {
|
|
@@ -121,6 +121,8 @@ 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;
|
|
124
126
|
/** Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to. */
|
|
125
127
|
facility_type: string;
|
|
126
128
|
}
|
|
@@ -334,6 +336,8 @@ export interface SpacemoltFacilityUnbanParams {
|
|
|
334
336
|
player: string;
|
|
335
337
|
}
|
|
336
338
|
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;
|
|
337
341
|
/** 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. */
|
|
338
342
|
facility_id: string;
|
|
339
343
|
/** Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to. */
|
|
@@ -744,7 +748,7 @@ export interface SpacemoltShipListShipForSaleParams {
|
|
|
744
748
|
price: number;
|
|
745
749
|
}
|
|
746
750
|
export interface SpacemoltShippingAcceptParams {
|
|
747
|
-
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. */
|
|
751
|
+
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance. */
|
|
748
752
|
carrier?: "player" | "faction";
|
|
749
753
|
/** Freight contract ID for get, track, accept, deliver, return, or cancel. */
|
|
750
754
|
shipment_id: string;
|
|
@@ -772,11 +776,11 @@ export interface SpacemoltShippingListParams {
|
|
|
772
776
|
export interface SpacemoltShippingPayDebtParams {
|
|
773
777
|
/** Debt payment amount for pay_debt. Omit to pay the full outstanding balance. */
|
|
774
778
|
amount?: number;
|
|
775
|
-
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. */
|
|
779
|
+
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance. */
|
|
776
780
|
carrier?: "player" | "faction";
|
|
777
781
|
}
|
|
778
782
|
export interface SpacemoltShippingPostParams {
|
|
779
|
-
/** Destination station/base ID for quote or post. */
|
|
783
|
+
/** Destination station/base ID for quote or post. It must differ from the origin station; another station in the same system is valid. */
|
|
780
784
|
destination_base_id: string;
|
|
781
785
|
/** Request cargo insurance. Unpriceable packages may still be shipped uninsured. */
|
|
782
786
|
insured?: boolean;
|
|
@@ -804,11 +808,11 @@ export interface SpacemoltShippingPostParams {
|
|
|
804
808
|
visibility?: "public" | "faction" | "allies" | "invited";
|
|
805
809
|
}
|
|
806
810
|
export interface SpacemoltShippingProfileParams {
|
|
807
|
-
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. */
|
|
811
|
+
/** Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance. */
|
|
808
812
|
carrier?: "player" | "faction";
|
|
809
813
|
}
|
|
810
814
|
export interface SpacemoltShippingQuoteParams {
|
|
811
|
-
/** Destination station/base ID for quote or post. */
|
|
815
|
+
/** Destination station/base ID for quote or post. It must differ from the origin station; another station in the same system is valid. */
|
|
812
816
|
destination_base_id: string;
|
|
813
817
|
/** Request cargo insurance. Unpriceable packages may still be shipped uninsured. */
|
|
814
818
|
insured?: boolean;
|
|
@@ -784,7 +784,6 @@ export type CarrierProfile = {
|
|
|
784
784
|
breaches: number;
|
|
785
785
|
defaults: number;
|
|
786
786
|
delivered_value: number;
|
|
787
|
-
house_deliveries: number;
|
|
788
787
|
last_consequence_at?: string;
|
|
789
788
|
last_recovery_at?: string;
|
|
790
789
|
outstanding_debt: number;
|
|
@@ -798,12 +797,12 @@ export type CarrierTierProgress = {
|
|
|
798
797
|
at_maximum_tier: boolean;
|
|
799
798
|
current_tier: 'probationary' | 'licensed' | 'trusted' | 'prime';
|
|
800
799
|
delivered_value: number;
|
|
801
|
-
house_deliveries: number;
|
|
802
800
|
next_tier?: 'licensed' | 'trusted' | 'prime';
|
|
803
801
|
remaining_delivered_value: number;
|
|
804
|
-
|
|
802
|
+
remaining_successful_deliveries: number;
|
|
805
803
|
required_delivered_value: number;
|
|
806
|
-
|
|
804
|
+
required_successful_deliveries: number;
|
|
805
|
+
successful_deliveries: number;
|
|
807
806
|
};
|
|
808
807
|
export type CatalogAchievement = {
|
|
809
808
|
after?: string;
|
|
@@ -5416,11 +5415,10 @@ export type ShipmentContract = {
|
|
|
5416
5415
|
claim_paid?: number;
|
|
5417
5416
|
contractor?: ShipmentActor;
|
|
5418
5417
|
covered_value?: number;
|
|
5419
|
-
created_by_npc?: boolean;
|
|
5420
5418
|
deadline_tick?: number;
|
|
5421
|
-
default_fine: number;
|
|
5422
5419
|
delivered_at?: string;
|
|
5423
5420
|
destination_base_id: string;
|
|
5421
|
+
failure_debt: number;
|
|
5424
5422
|
id: string;
|
|
5425
5423
|
insurable: boolean;
|
|
5426
5424
|
insurer?: ShipmentActor;
|
|
@@ -5435,6 +5433,7 @@ export type ShipmentContract = {
|
|
|
5435
5433
|
posted_at: string;
|
|
5436
5434
|
premium?: number;
|
|
5437
5435
|
recipient: ShipmentActor;
|
|
5436
|
+
reputation_eligible?: boolean;
|
|
5438
5437
|
reserved_exposure: number;
|
|
5439
5438
|
reward_escrow: number;
|
|
5440
5439
|
risk_band: 'probationary' | 'licensed' | 'trusted' | 'prime' | 'unpriced';
|
|
@@ -5508,8 +5507,8 @@ export type ShippingQuote = {
|
|
|
5508
5507
|
consequences: string;
|
|
5509
5508
|
covered_value: number;
|
|
5510
5509
|
deadline_ticks: number;
|
|
5511
|
-
default_fine: number;
|
|
5512
5510
|
destination_base_id: string;
|
|
5511
|
+
failure_debt: number;
|
|
5513
5512
|
insurable: boolean;
|
|
5514
5513
|
insurance_selected: boolean;
|
|
5515
5514
|
invited_carrier?: ShipmentActor;
|
|
@@ -10797,6 +10796,10 @@ export type SpacemoltFacilityBrowseForSaleResponses = {
|
|
|
10797
10796
|
export type SpacemoltFacilityBrowseForSaleResponse = SpacemoltFacilityBrowseForSaleResponses[keyof SpacemoltFacilityBrowseForSaleResponses];
|
|
10798
10797
|
export type SpacemoltFacilityBuildData = {
|
|
10799
10798
|
body?: {
|
|
10799
|
+
/**
|
|
10800
|
+
* 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.
|
|
10801
|
+
*/
|
|
10802
|
+
bucket?: string;
|
|
10800
10803
|
/**
|
|
10801
10804
|
* Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to.
|
|
10802
10805
|
*/
|
|
@@ -12455,6 +12458,10 @@ export type SpacemoltFacilityUnbanResponses = {
|
|
|
12455
12458
|
export type SpacemoltFacilityUnbanResponse = SpacemoltFacilityUnbanResponses[keyof SpacemoltFacilityUnbanResponses];
|
|
12456
12459
|
export type SpacemoltFacilityUpgradeData = {
|
|
12457
12460
|
body?: {
|
|
12461
|
+
/**
|
|
12462
|
+
* 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.
|
|
12463
|
+
*/
|
|
12464
|
+
bucket?: string;
|
|
12458
12465
|
/**
|
|
12459
12466
|
* 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.
|
|
12460
12467
|
*/
|
|
@@ -16337,7 +16344,7 @@ export type SpacemoltShipViewShipBuyOrdersResponse = SpacemoltShipViewShipBuyOrd
|
|
|
16337
16344
|
export type SpacemoltShippingAcceptData = {
|
|
16338
16345
|
body?: {
|
|
16339
16346
|
/**
|
|
16340
|
-
* Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences.
|
|
16347
|
+
* Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance.
|
|
16341
16348
|
*/
|
|
16342
16349
|
carrier?: 'player' | 'faction';
|
|
16343
16350
|
/**
|
|
@@ -16565,7 +16572,7 @@ export type SpacemoltShippingPayDebtData = {
|
|
|
16565
16572
|
*/
|
|
16566
16573
|
amount?: number;
|
|
16567
16574
|
/**
|
|
16568
|
-
* Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences.
|
|
16575
|
+
* Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance.
|
|
16569
16576
|
*/
|
|
16570
16577
|
carrier?: 'player' | 'faction';
|
|
16571
16578
|
};
|
|
@@ -16601,7 +16608,7 @@ export type SpacemoltShippingPayDebtResponse = SpacemoltShippingPayDebtResponses
|
|
|
16601
16608
|
export type SpacemoltShippingPostData = {
|
|
16602
16609
|
body?: {
|
|
16603
16610
|
/**
|
|
16604
|
-
* Destination station/base ID for quote or post.
|
|
16611
|
+
* Destination station/base ID for quote or post. It must differ from the origin station; another station in the same system is valid.
|
|
16605
16612
|
*/
|
|
16606
16613
|
destination_base_id: string;
|
|
16607
16614
|
/**
|
|
@@ -16685,7 +16692,7 @@ export type SpacemoltShippingPostResponse = SpacemoltShippingPostResponses[keyof
|
|
|
16685
16692
|
export type SpacemoltShippingProfileData = {
|
|
16686
16693
|
body?: {
|
|
16687
16694
|
/**
|
|
16688
|
-
* Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences.
|
|
16695
|
+
* Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance.
|
|
16689
16696
|
*/
|
|
16690
16697
|
carrier?: 'player' | 'faction';
|
|
16691
16698
|
};
|
|
@@ -16719,7 +16726,7 @@ export type SpacemoltShippingProfileResponse = SpacemoltShippingProfileResponses
|
|
|
16719
16726
|
export type SpacemoltShippingQuoteData = {
|
|
16720
16727
|
body?: {
|
|
16721
16728
|
/**
|
|
16722
|
-
* Destination station/base ID for quote or post.
|
|
16729
|
+
* Destination station/base ID for quote or post. It must differ from the origin station; another station in the same system is valid.
|
|
16723
16730
|
*/
|
|
16724
16731
|
destination_base_id: string;
|
|
16725
16732
|
/**
|
package/dist/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var STATE_SECTIONS = [
|
|
|
44
44
|
"skills"
|
|
45
45
|
];
|
|
46
46
|
// src/generated/actions.gen.ts
|
|
47
|
-
var GENERATED_SPEC_VERSION = "
|
|
47
|
+
var GENERATED_SPEC_VERSION = "v0.522.0";
|
|
48
48
|
var ACTIONS = {
|
|
49
49
|
"spacemolt_auth/claim": {
|
|
50
50
|
tool: "spacemolt_auth",
|
|
@@ -361,6 +361,7 @@ var ACTIONS = {
|
|
|
361
361
|
summary: "Manage facilities at stations (production, faction, personal, sales, and more)",
|
|
362
362
|
detailsType: "FacilityBuildResponse | FacilityFactionBuildResponse",
|
|
363
363
|
params: [
|
|
364
|
+
{ name: "bucket", type: "string", required: false, description: "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." },
|
|
364
365
|
{ name: "facility_type", type: "string", required: true, description: "Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to.", positional: 0 }
|
|
365
366
|
]
|
|
366
367
|
},
|
|
@@ -802,6 +803,7 @@ var ACTIONS = {
|
|
|
802
803
|
summary: "Manage facilities at stations (production, faction, personal, sales, and more)",
|
|
803
804
|
detailsType: "FacilityUpgradeResponse | FacilityFactionUpgradeResponse",
|
|
804
805
|
params: [
|
|
806
|
+
{ name: "bucket", type: "string", required: false, description: "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." },
|
|
805
807
|
{ name: "facility_id", type: "string", required: true, description: "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.", positional: 1 },
|
|
806
808
|
{ name: "facility_type", type: "string", required: true, description: "Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to.", positional: 0 }
|
|
807
809
|
]
|
|
@@ -1684,7 +1686,7 @@ var ACTIONS = {
|
|
|
1684
1686
|
summary: "Quote, post, haul, track, and settle sealed-package freight contracts through station mission services",
|
|
1685
1687
|
detailsType: "ShippingContractResponse",
|
|
1686
1688
|
params: [
|
|
1687
|
-
{ name: "carrier", type: '"player" | "faction"', required: false, description: "Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences.", enumValues: ["player", "faction"] },
|
|
1689
|
+
{ name: "carrier", type: '"player" | "faction"', required: false, description: "Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance.", enumValues: ["player", "faction"] },
|
|
1688
1690
|
{ name: "shipment_id", type: "string", required: true, description: "Freight contract ID for get, track, accept, deliver, return, or cancel." }
|
|
1689
1691
|
]
|
|
1690
1692
|
},
|
|
@@ -1738,7 +1740,7 @@ var ACTIONS = {
|
|
|
1738
1740
|
detailsType: "ShippingDebtPaymentResponse",
|
|
1739
1741
|
params: [
|
|
1740
1742
|
{ name: "amount", type: "number", required: false, description: "Debt payment amount for pay_debt. Omit to pay the full outstanding balance." },
|
|
1741
|
-
{ name: "carrier", type: '"player" | "faction"', required: false, description: "Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences.", enumValues: ["player", "faction"] }
|
|
1743
|
+
{ name: "carrier", type: '"player" | "faction"', required: false, description: "Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance.", enumValues: ["player", "faction"] }
|
|
1742
1744
|
]
|
|
1743
1745
|
},
|
|
1744
1746
|
"spacemolt_shipping/post": {
|
|
@@ -1748,7 +1750,7 @@ var ACTIONS = {
|
|
|
1748
1750
|
summary: "Quote, post, haul, track, and settle sealed-package freight contracts through station mission services",
|
|
1749
1751
|
detailsType: "ShippingContractResponse",
|
|
1750
1752
|
params: [
|
|
1751
|
-
{ name: "destination_base_id", type: "string", required: true, description: "Destination station/base ID for quote or post." },
|
|
1753
|
+
{ name: "destination_base_id", type: "string", required: true, description: "Destination station/base ID for quote or post. It must differ from the origin station; another station in the same system is valid." },
|
|
1752
1754
|
{ name: "insured", type: "boolean", required: false, description: "Request cargo insurance. Unpriceable packages may still be shipped uninsured." },
|
|
1753
1755
|
{ name: "invited_carrier_id", type: "string", required: false, description: "Invited player or faction ID when visibility=invited." },
|
|
1754
1756
|
{ name: "invited_carrier_type", type: '"player" | "faction"', required: false, description: "Invited prime carrier kind when visibility=invited.", enumValues: ["player", "faction"] },
|
|
@@ -1770,7 +1772,7 @@ var ACTIONS = {
|
|
|
1770
1772
|
summary: "Quote, post, haul, track, and settle sealed-package freight contracts through station mission services",
|
|
1771
1773
|
responseType: "ShippingProfileResponse",
|
|
1772
1774
|
params: [
|
|
1773
|
-
{ name: "carrier", type: '"player" | "faction"', required: false, description: "Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences.", enumValues: ["player", "faction"] }
|
|
1775
|
+
{ name: "carrier", type: '"player" | "faction"', required: false, description: "Prime carrier accepting the contract: you personally (player, default) or your current faction. The selected actor permanently owns the consequences. Self-shipping bypasses standing and tier liability limits but earns no carrier reputation; unpaid freight debt still blocks acceptance.", enumValues: ["player", "faction"] }
|
|
1774
1776
|
]
|
|
1775
1777
|
},
|
|
1776
1778
|
"spacemolt_shipping/quote": {
|
|
@@ -1780,7 +1782,7 @@ var ACTIONS = {
|
|
|
1780
1782
|
summary: "Quote, post, haul, track, and settle sealed-package freight contracts through station mission services",
|
|
1781
1783
|
responseType: "ShippingQuoteResponse",
|
|
1782
1784
|
params: [
|
|
1783
|
-
{ name: "destination_base_id", type: "string", required: true, description: "Destination station/base ID for quote or post." },
|
|
1785
|
+
{ name: "destination_base_id", type: "string", required: true, description: "Destination station/base ID for quote or post. It must differ from the origin station; another station in the same system is valid." },
|
|
1784
1786
|
{ name: "insured", type: "boolean", required: false, description: "Request cargo insurance. Unpriceable packages may still be shipped uninsured." },
|
|
1785
1787
|
{ name: "invited_carrier_id", type: "string", required: false, description: "Invited player or faction ID when visibility=invited." },
|
|
1786
1788
|
{ name: "invited_carrier_type", type: '"player" | "faction"', required: false, description: "Invited prime carrier kind when visibility=invited.", enumValues: ["player", "faction"] },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spacemolt/lib",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"description": "The definitive TypeScript library for SpaceMolt. WebSocket-v2-first, multi-account, with local state caches. Internals are regenerated from the server's OpenAPI spec.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|