@@ -8,6 +8,7 @@ import { buildPasswordlessLogin } from "./PasswordlessLogin.js";
8
8
import { buildPasswordLogin } from "./PasswordLogin.js" ;
9
9
import { buildQueryServerState } from "./QueryServerState.js" ;
10
10
import { buildRenameServer } from "./RenameServer.js" ;
11
+ import { buildRunCommand } from "./RunCommand.js" ;
11
12
import { buildSetAdminPassword } from "./SetAdminPassword.js" ;
12
13
import { buildSetAutoLoadSessionName } from "./SetAutoLoadSessionName.js" ;
13
14
import { buildSetClientPassword } from "./SetClientPassword.js" ;
@@ -109,6 +110,12 @@ export function buildV1(options: InternalClientOptions) {
109
110
* Function does not return any data on success.
110
111
*/
111
112
SetAutoLoadSessionName : buildSetAutoLoadSessionName ( options ) ,
113
+ /**
114
+ * Runs the given Console Command on the Dedicated Server, and returns it's output to the Console.
115
+ *
116
+ * Requires Admin privileges.
117
+ */
118
+ RunCommand : buildRunCommand ( options ) ,
112
119
} ;
113
120
}
114
121
@@ -123,6 +130,7 @@ export type * from "./PasswordlessLogin.js";
123
130
export type * from "./PasswordLogin.js" ;
124
131
export type * from "./QueryServerState.js" ;
125
132
export type * from "./RenameServer.js" ;
133
+ export type * from "./RunCommand.js" ;
126
134
export type * from "./SetAdminPassword.js" ;
127
135
export type * from "./SetAutoLoadSessionName.js" ;
128
136
export type * from "./SetClientPassword.js" ;
0 commit comments