@spacemolt/lib 18.0.2 → 18.1.1
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/AGENTS.md +5 -2
- package/COMMANDS.md +1 -1
- package/README.md +87 -10
- package/dist/account.d.ts +35 -11
- package/dist/client.d.ts +94 -48
- package/dist/errors.d.ts +7 -0
- package/dist/events/emitter.d.ts +2 -0
- package/dist/generated/actions.gen.d.ts +1 -1
- package/dist/generated/commands.gen.d.ts +17 -17
- package/dist/generated/openapi/types.gen.d.ts +21 -17
- package/dist/index.d.ts +2 -2
- package/dist/index.js +365 -119
- package/dist/index.js.map +9 -9
- package/dist/push-frames.d.ts +21 -6
- package/package.json +1 -1
|
@@ -170,13 +170,13 @@ export interface SpacemoltFacilityDeployOutpostParams {
|
|
|
170
170
|
name: string;
|
|
171
171
|
}
|
|
172
172
|
export interface SpacemoltFacilityDismantleParams {
|
|
173
|
-
/** 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. */
|
|
173
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
174
174
|
facility_id: string;
|
|
175
175
|
}
|
|
176
176
|
export interface SpacemoltFacilityFacilitySetDescriptionParams {
|
|
177
177
|
/** For 'personal_decorate': a text description of your personal quarters (what visitors see, hear, and feel). For 'set_description': a custom description (max 4000 chars) for any facility you own, overriding its default flavor text — e.g. re-flavoring your faction's bar. Send empty to clear it. */
|
|
178
178
|
description?: string;
|
|
179
|
-
/** 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. */
|
|
179
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
180
180
|
facility_id: string;
|
|
181
181
|
}
|
|
182
182
|
export interface SpacemoltFacilityFactionBuildParams {
|
|
@@ -190,13 +190,13 @@ export interface SpacemoltFacilityFactionBuildParams {
|
|
|
190
190
|
species?: string;
|
|
191
191
|
}
|
|
192
192
|
export interface SpacemoltFacilityFactionDismantleParams {
|
|
193
|
-
/** 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. */
|
|
193
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
194
194
|
facility_id: string;
|
|
195
195
|
}
|
|
196
196
|
export interface SpacemoltFacilityFactionUpgradeParams {
|
|
197
197
|
/** 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. */
|
|
198
198
|
bucket?: string;
|
|
199
|
-
/** 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. */
|
|
199
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
200
200
|
facility_id: string;
|
|
201
201
|
/** Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to. */
|
|
202
202
|
facility_type: string;
|
|
@@ -220,7 +220,7 @@ export interface SpacemoltFacilityJobAddParams {
|
|
|
220
220
|
deliver_to?: string;
|
|
221
221
|
/** Job direction: 'forward' runs the recipe normally (craft); 'reverse' recycles existing items back to inputs. */
|
|
222
222
|
direction?: "forward" | "reverse";
|
|
223
|
-
/** 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. */
|
|
223
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
224
224
|
facility_id: string;
|
|
225
225
|
/** For job_add pack_package: selected manifest items. */
|
|
226
226
|
items?: {
|
|
@@ -247,11 +247,11 @@ export interface SpacemoltFacilityJobCancelParams {
|
|
|
247
247
|
job_ids?: string[];
|
|
248
248
|
}
|
|
249
249
|
export interface SpacemoltFacilityJobListParams {
|
|
250
|
-
/** 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. */
|
|
250
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
251
251
|
facility_id: string;
|
|
252
252
|
}
|
|
253
253
|
export interface SpacemoltFacilityJobReorderParams {
|
|
254
|
-
/** 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. */
|
|
254
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
255
255
|
facility_id: string;
|
|
256
256
|
/** Job ID (for 'job_cancel', 'job_reorder'). Use action 'job_list' to see job IDs. */
|
|
257
257
|
job_id: string;
|
|
@@ -259,7 +259,7 @@ export interface SpacemoltFacilityJobReorderParams {
|
|
|
259
259
|
position?: number;
|
|
260
260
|
}
|
|
261
261
|
export interface SpacemoltFacilityListForSaleParams {
|
|
262
|
-
/** 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. */
|
|
262
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
263
263
|
facility_id: string;
|
|
264
264
|
/** For 'list_for_sale': set true to list a faction-owned facility (requires manage_facilities permission). */
|
|
265
265
|
faction?: boolean;
|
|
@@ -283,11 +283,11 @@ export interface SpacemoltFacilityPersonalVisitParams {
|
|
|
283
283
|
export interface SpacemoltFacilityRanchSetCullParams {
|
|
284
284
|
/** For 'ranch_set_cull': maintain the herd at this size — surplus is slaughtered each cycle into faction storage. 0 disables culling. */
|
|
285
285
|
cull_target: number;
|
|
286
|
-
/** 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. */
|
|
286
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
287
287
|
facility_id?: string;
|
|
288
288
|
}
|
|
289
289
|
export interface SpacemoltFacilityRanchStatusParams {
|
|
290
|
-
/** 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. */
|
|
290
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
291
291
|
facility_id?: string;
|
|
292
292
|
}
|
|
293
293
|
export interface SpacemoltFacilityRemoveFactionParams {
|
|
@@ -299,13 +299,13 @@ export interface SpacemoltFacilityRemovePlayerParams {
|
|
|
299
299
|
player: string;
|
|
300
300
|
}
|
|
301
301
|
export interface SpacemoltFacilityRepairParams {
|
|
302
|
-
/** 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. */
|
|
302
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
303
303
|
facility_id: string;
|
|
304
304
|
}
|
|
305
305
|
export interface SpacemoltFacilitySetAccessParams {
|
|
306
306
|
/** For 'personal_decorate': who can visit your quarters. For 'set_access': 'public' opens your facility to renters, 'private' closes it. */
|
|
307
307
|
access: "private" | "public";
|
|
308
|
-
/** 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. */
|
|
308
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
309
309
|
facility_id: string;
|
|
310
310
|
}
|
|
311
311
|
export interface SpacemoltFacilitySetAutoBuyFuelParams {
|
|
@@ -335,11 +335,11 @@ export interface SpacemoltFacilitySetMarketFeeParams {
|
|
|
335
335
|
export interface SpacemoltFacilitySetNameParams {
|
|
336
336
|
/** For 'set_name': a custom name for the facility (3-32 chars) so multiple facilities of the same type stand out. Send empty to clear it. */
|
|
337
337
|
custom_name?: string;
|
|
338
|
-
/** 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
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
339
339
|
facility_id: string;
|
|
340
340
|
}
|
|
341
341
|
export interface SpacemoltFacilitySetOutputPriceParams {
|
|
342
|
-
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list', 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
342
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
343
343
|
facility_id: string;
|
|
344
344
|
/** For 'list_for_sale': asking price in whole credits. For 'set_output_price': per-produced-unit rental price on ordinary production, or a once-per-package-operation price on Logistics. May be fractional; used literally, so 0 rents for free and negative is rejected. */
|
|
345
345
|
price?: number;
|
|
@@ -373,7 +373,7 @@ export interface SpacemoltFacilityStationSetNameParams {
|
|
|
373
373
|
export interface SpacemoltFacilityTransferParams {
|
|
374
374
|
/** Transfer direction: 'to_faction' moves the facility to faction ownership; 'to_player' transfers it to a specific player. */
|
|
375
375
|
direction: "to_faction" | "to_player";
|
|
376
|
-
/** 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. */
|
|
376
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
377
377
|
facility_id: string;
|
|
378
378
|
/** Target player ID for 'transfer' action with direction 'to_player'. */
|
|
379
379
|
player_id?: string;
|
|
@@ -399,7 +399,7 @@ export interface SpacemoltFacilityUnbanParams {
|
|
|
399
399
|
export interface SpacemoltFacilityUpgradeParams {
|
|
400
400
|
/** 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. */
|
|
401
401
|
bucket?: string;
|
|
402
|
-
/** 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. */
|
|
402
|
+
/** Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs. */
|
|
403
403
|
facility_id: string;
|
|
404
404
|
/** Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to. */
|
|
405
405
|
facility_type: string;
|
|
@@ -1410,7 +1410,7 @@ export interface SpacemoltCraftParams {
|
|
|
1410
1410
|
deliver_to?: string;
|
|
1411
1411
|
/** Return a cost+time quote (materials, labor, rental fee, auto-routed venue, ETA) without queuing or spending anything. Not supported with bulk jobs. */
|
|
1412
1412
|
dry_run?: boolean;
|
|
1413
|
-
/** Route to a specific facility ID (overrides auto-selection). Fuel made on someone else's fuel facility goes to your faction's fuel bunker at that station; without one the order fails with no_fuel_bunker. */
|
|
1413
|
+
/** Route to a specific facility ID (overrides auto-selection). With no recipe_id, lists only your queued jobs at that facility or Station Workshop id. Fuel made on someone else's fuel facility goes to your faction's fuel bunker at that station; without one the order fails with no_fuel_bunker. */
|
|
1414
1414
|
facility_id?: string;
|
|
1415
1415
|
/** Recipe ID to craft (use catalog with type=recipes to see available recipes). Inputs are escrowed from station storage at enqueue; undocked on a field workshop hull they come from ship cargo. */
|
|
1416
1416
|
id?: string;
|
|
@@ -6860,6 +6860,10 @@ export type IntelPoi = {
|
|
|
6860
6860
|
* POI description. Omitted when the POI has none or the entry never recorded it.
|
|
6861
6861
|
*/
|
|
6862
6862
|
description?: string;
|
|
6863
|
+
/**
|
|
6864
|
+
* Environmental hazard at this POI, as get_system shows it. Omitted when the POI has no hazard.
|
|
6865
|
+
*/
|
|
6866
|
+
hazard?: PoiHazard;
|
|
6863
6867
|
/**
|
|
6864
6868
|
* POI ID. Always a real POI of this system: a submission drops any ID that is not on the submitter's charts.
|
|
6865
6869
|
*/
|
|
@@ -15602,7 +15606,7 @@ export type SpacemoltCraftData = {
|
|
|
15602
15606
|
*/
|
|
15603
15607
|
dry_run?: boolean;
|
|
15604
15608
|
/**
|
|
15605
|
-
* Route to a specific facility ID (overrides auto-selection). Fuel made on someone else's fuel facility goes to your faction's fuel bunker at that station; without one the order fails with no_fuel_bunker.
|
|
15609
|
+
* Route to a specific facility ID (overrides auto-selection). With no recipe_id, lists only your queued jobs at that facility or Station Workshop id. Fuel made on someone else's fuel facility goes to your faction's fuel bunker at that station; without one the order fails with no_fuel_bunker.
|
|
15606
15610
|
*/
|
|
15607
15611
|
facility_id?: string;
|
|
15608
15612
|
/**
|
|
@@ -19712,7 +19716,7 @@ export type SpacemoltFacilityDeployOutpostResponse = SpacemoltFacilityDeployOutp
|
|
|
19712
19716
|
export type SpacemoltFacilityDismantleData = {
|
|
19713
19717
|
body?: {
|
|
19714
19718
|
/**
|
|
19715
|
-
* 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.
|
|
19719
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
19716
19720
|
*/
|
|
19717
19721
|
facility_id: string;
|
|
19718
19722
|
};
|
|
@@ -19785,7 +19789,7 @@ export type SpacemoltFacilityFacilitySetDescriptionData = {
|
|
|
19785
19789
|
*/
|
|
19786
19790
|
description?: string;
|
|
19787
19791
|
/**
|
|
19788
|
-
* 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.
|
|
19792
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
19789
19793
|
*/
|
|
19790
19794
|
facility_id: string;
|
|
19791
19795
|
};
|
|
@@ -19867,7 +19871,7 @@ export type SpacemoltFacilityFactionBuildResponse = SpacemoltFacilityFactionBuil
|
|
|
19867
19871
|
export type SpacemoltFacilityFactionDismantleData = {
|
|
19868
19872
|
body?: {
|
|
19869
19873
|
/**
|
|
19870
|
-
* 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.
|
|
19874
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
19871
19875
|
*/
|
|
19872
19876
|
facility_id: string;
|
|
19873
19877
|
};
|
|
@@ -19969,7 +19973,7 @@ export type SpacemoltFacilityFactionUpgradeData = {
|
|
|
19969
19973
|
*/
|
|
19970
19974
|
bucket?: string;
|
|
19971
19975
|
/**
|
|
19972
|
-
* 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.
|
|
19976
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
19973
19977
|
*/
|
|
19974
19978
|
facility_id: string;
|
|
19975
19979
|
/**
|
|
@@ -20137,7 +20141,7 @@ export type SpacemoltFacilityJobAddData = {
|
|
|
20137
20141
|
*/
|
|
20138
20142
|
direction?: 'forward' | 'reverse';
|
|
20139
20143
|
/**
|
|
20140
|
-
* 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.
|
|
20144
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
20141
20145
|
*/
|
|
20142
20146
|
facility_id: string;
|
|
20143
20147
|
/**
|
|
@@ -20252,7 +20256,7 @@ export type SpacemoltFacilityJobCancelResponse = SpacemoltFacilityJobCancelRespo
|
|
|
20252
20256
|
export type SpacemoltFacilityJobListData = {
|
|
20253
20257
|
body?: {
|
|
20254
20258
|
/**
|
|
20255
|
-
* 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.
|
|
20259
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
20256
20260
|
*/
|
|
20257
20261
|
facility_id: string;
|
|
20258
20262
|
};
|
|
@@ -20286,7 +20290,7 @@ export type SpacemoltFacilityJobListResponse = SpacemoltFacilityJobListResponses
|
|
|
20286
20290
|
export type SpacemoltFacilityJobReorderData = {
|
|
20287
20291
|
body?: {
|
|
20288
20292
|
/**
|
|
20289
|
-
* 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.
|
|
20293
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
20290
20294
|
*/
|
|
20291
20295
|
facility_id: string;
|
|
20292
20296
|
/**
|
|
@@ -20361,7 +20365,7 @@ export type SpacemoltFacilityListResponse = SpacemoltFacilityListResponses[keyof
|
|
|
20361
20365
|
export type SpacemoltFacilityListForSaleData = {
|
|
20362
20366
|
body?: {
|
|
20363
20367
|
/**
|
|
20364
|
-
* 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.
|
|
20368
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
20365
20369
|
*/
|
|
20366
20370
|
facility_id: string;
|
|
20367
20371
|
/**
|
|
@@ -20550,7 +20554,7 @@ export type SpacemoltFacilityRanchSetCullData = {
|
|
|
20550
20554
|
*/
|
|
20551
20555
|
cull_target: number;
|
|
20552
20556
|
/**
|
|
20553
|
-
* 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.
|
|
20557
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
20554
20558
|
*/
|
|
20555
20559
|
facility_id?: string;
|
|
20556
20560
|
};
|
|
@@ -20586,7 +20590,7 @@ export type SpacemoltFacilityRanchSetCullResponse = SpacemoltFacilityRanchSetCul
|
|
|
20586
20590
|
export type SpacemoltFacilityRanchStatusData = {
|
|
20587
20591
|
body?: {
|
|
20588
20592
|
/**
|
|
20589
|
-
* 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.
|
|
20593
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
20590
20594
|
*/
|
|
20591
20595
|
facility_id?: string;
|
|
20592
20596
|
};
|
|
@@ -20692,7 +20696,7 @@ export type SpacemoltFacilityRemovePlayerResponse = SpacemoltFacilityRemovePlaye
|
|
|
20692
20696
|
export type SpacemoltFacilityRepairData = {
|
|
20693
20697
|
body?: {
|
|
20694
20698
|
/**
|
|
20695
|
-
* 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.
|
|
20699
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
20696
20700
|
*/
|
|
20697
20701
|
facility_id: string;
|
|
20698
20702
|
};
|
|
@@ -20765,7 +20769,7 @@ export type SpacemoltFacilitySetAccessData = {
|
|
|
20765
20769
|
*/
|
|
20766
20770
|
access: 'private' | 'public';
|
|
20767
20771
|
/**
|
|
20768
|
-
* 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.
|
|
20772
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
20769
20773
|
*/
|
|
20770
20774
|
facility_id: string;
|
|
20771
20775
|
};
|
|
@@ -21021,7 +21025,7 @@ export type SpacemoltFacilitySetNameData = {
|
|
|
21021
21025
|
*/
|
|
21022
21026
|
custom_name?: string;
|
|
21023
21027
|
/**
|
|
21024
|
-
* 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.
|
|
21028
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
21025
21029
|
*/
|
|
21026
21030
|
facility_id: string;
|
|
21027
21031
|
};
|
|
@@ -21057,7 +21061,7 @@ export type SpacemoltFacilitySetNameResponse = SpacemoltFacilitySetNameResponses
|
|
|
21057
21061
|
export type SpacemoltFacilitySetOutputPriceData = {
|
|
21058
21062
|
body?: {
|
|
21059
21063
|
/**
|
|
21060
|
-
* 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.
|
|
21064
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
21061
21065
|
*/
|
|
21062
21066
|
facility_id: string;
|
|
21063
21067
|
/**
|
|
@@ -21350,7 +21354,7 @@ export type SpacemoltFacilityTransferData = {
|
|
|
21350
21354
|
*/
|
|
21351
21355
|
direction: 'to_faction' | 'to_player';
|
|
21352
21356
|
/**
|
|
21353
|
-
* 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.
|
|
21357
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
21354
21358
|
*/
|
|
21355
21359
|
facility_id: string;
|
|
21356
21360
|
/**
|
|
@@ -21490,7 +21494,7 @@ export type SpacemoltFacilityUpgradeData = {
|
|
|
21490
21494
|
*/
|
|
21491
21495
|
bucket?: string;
|
|
21492
21496
|
/**
|
|
21493
|
-
* 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.
|
|
21497
|
+
* Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.
|
|
21494
21498
|
*/
|
|
21495
21499
|
facility_id: string;
|
|
21496
21500
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* subsequent milestones.
|
|
11
11
|
*/
|
|
12
12
|
export * from './protocol.js';
|
|
13
|
-
export { Account, type AccountOptions, type ReconnectOptions, type RegisterParams, type RegisterResult, type LoggedInPayload, type RateLimitedInfo, } from './account.js';
|
|
14
|
-
export { SpacemoltClient, type SpacemoltClientOptions } from './client.js';
|
|
13
|
+
export { Account, type AccountOptions, type TransportAdmissionRequest, type SendAdmissionRequest, type ReconnectOptions, type RegisterParams, type RegisterResult, type LoggedInPayload, type RateLimitedInfo, } from './account.js';
|
|
14
|
+
export { SpacemoltClient, type SpacemoltClientOptions, type ConnectionStage } from './client.js';
|
|
15
15
|
export { ClerkSource, mintWsToken, type ClerkAuth, type ClerkAuthHeaders, type ClerkPlayer, type ClerkRegistration, type ClerkSourceOptions, } from './auth/clerk.js';
|
|
16
16
|
export { type CredentialStore, type StoredAccount, type AuthCredentials, MemoryCredentialStore, } from './auth/credentials.js';
|
|
17
17
|
export { SpacemoltError, ConnectionClosedError, HttpError, CLOSE_CODE, retryAfterMsFromClose } from './errors.js';
|