freestyle-sandboxes 0.0.93 → 0.0.95
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/dist/ai/inde.d.cts +1 -1
- package/dist/ai/inde.d.mts +1 -1
- package/dist/ai/index.d.cts +1 -1
- package/dist/ai/index.d.mts +1 -1
- package/dist/inde.d.cts +16 -6
- package/dist/inde.d.mts +16 -6
- package/dist/index.cjs +19 -8
- package/dist/index.d.cts +16 -6
- package/dist/index.d.mts +16 -6
- package/dist/index.mjs +19 -8
- package/dist/langgraph/inde.d.cts +1 -1
- package/dist/langgraph/inde.d.mts +1 -1
- package/dist/langgraph/index.d.cts +1 -1
- package/dist/langgraph/index.d.mts +1 -1
- package/dist/mastra/inde.d.cts +1 -1
- package/dist/mastra/inde.d.mts +1 -1
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.mts +1 -1
- package/dist/{types.gen-CG8tIO9M.d.ts → types.gen-DKjMRuu5.d.ts} +448 -43
- package/dist/utils/inde.d.cts +1 -1
- package/dist/utils/inde.d.mts +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/openapi/sdk.gen.ts +234 -1
- package/openapi/types.gen.ts +389 -19
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +22 -1
- package/dist/index-BBXyg0JQ.cjs +0 -3253
- package/dist/index-BQHqnjZK.mjs +0 -3231
- package/dist/index-CEEa9WHp.cjs +0 -3238
- package/dist/index-D1ulQeJR.mjs +0 -3247
- package/dist/index-DCF70Xbq.mjs +0 -3246
- package/dist/index-H7UNEAjs.cjs +0 -3254
- package/dist/index.d-CXx1AdyW.d.ts +0 -4210
- package/dist/types.gen-1sd31qLV.d.ts +0 -172
- package/dist/types.gen-627pxroW.d.ts +0 -830
- package/dist/types.gen-BCdfx7yt.d.ts +0 -760
- package/dist/types.gen-BVXmFV7d.d.ts +0 -1299
- package/dist/types.gen-BWwhCgTX.d.ts +0 -1462
- package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
- package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
- package/dist/types.gen-BpWMzgc3.d.ts +0 -1493
- package/dist/types.gen-BqN1t03N.d.ts +0 -842
- package/dist/types.gen-BtK6PMQy.d.ts +0 -195
- package/dist/types.gen-BuhQ5LpB.d.ts +0 -764
- package/dist/types.gen-BzRtj_TA.d.ts +0 -725
- package/dist/types.gen-C03gaIPq.d.ts +0 -297
- package/dist/types.gen-CIf3ciN7.d.ts +0 -807
- package/dist/types.gen-CMuCas4r.d.ts +0 -183
- package/dist/types.gen-CWa4Mw0J.d.ts +0 -1493
- package/dist/types.gen-CZUnqmzP.d.ts +0 -789
- package/dist/types.gen-CnEkmbco.d.ts +0 -314
- package/dist/types.gen-DDYpuDzZ.d.ts +0 -764
- package/dist/types.gen-DHmdEOOa.d.ts +0 -172
- package/dist/types.gen-DLYohMJT.d.ts +0 -382
- package/dist/types.gen-DbTb_SrD.d.ts +0 -156
- package/dist/types.gen-DkFlXKTr.d.ts +0 -1354
- package/dist/types.gen-DkQ-Dbs1.d.ts +0 -764
- package/dist/types.gen-DyY7Deri.d.ts +0 -138
- package/dist/types.gen-MBZCvIhE.d.ts +0 -311
- package/dist/types.gen-YhJAHBw8.d.ts +0 -233
- package/dist/types.gen-cCnnhnB6.d.ts +0 -182
- package/dist/types.gen-mg_JNXrq.d.ts +0 -830
- package/dist/types.gen-uDTr6v-7.d.ts +0 -731
package/openapi/types.gen.ts
CHANGED
|
@@ -136,6 +136,10 @@ export type CreateRecordParams = {
|
|
|
136
136
|
record: DnsRecordData;
|
|
137
137
|
};
|
|
138
138
|
|
|
139
|
+
export type CreateRecordResponse = {
|
|
140
|
+
record: DnsRecord;
|
|
141
|
+
};
|
|
142
|
+
|
|
139
143
|
export type CreateRepoImport = {
|
|
140
144
|
/**
|
|
141
145
|
* A map of file names to their contents.
|
|
@@ -198,6 +202,7 @@ export type CreateRepositoryRequest = {
|
|
|
198
202
|
* Import static content with an initial commit. Cannot be used with `source`.
|
|
199
203
|
*/
|
|
200
204
|
import?: CreateRepoImport;
|
|
205
|
+
devServers?: DevServerConfiguration;
|
|
201
206
|
};
|
|
202
207
|
|
|
203
208
|
export type CreateRepositoryResponseSuccess = {
|
|
@@ -210,6 +215,34 @@ export type CreateRepoSource = {
|
|
|
210
215
|
depth?: (number) | null;
|
|
211
216
|
};
|
|
212
217
|
|
|
218
|
+
export type CreateVmRequest = {
|
|
219
|
+
idleTimeoutSeconds?: (number) | null;
|
|
220
|
+
/**
|
|
221
|
+
* Optional list of ports to expose externally. If not provided, port 3000
|
|
222
|
+
* will be exposed on port 443 by default. Pass an empty array to disable
|
|
223
|
+
* external ports. Only ports 8081 and 443 can be configured externally for
|
|
224
|
+
* now. Any target port is allowed.
|
|
225
|
+
*/
|
|
226
|
+
ports?: Array<PortMapping> | null;
|
|
227
|
+
/**
|
|
228
|
+
* Whether the api request should wait for the VM to be ready before
|
|
229
|
+
* returning. By default, the VM is considered ready when the serial
|
|
230
|
+
* console is ready for login.
|
|
231
|
+
*/
|
|
232
|
+
waitForReadySignal?: (boolean) | null;
|
|
233
|
+
/**
|
|
234
|
+
* How long to wait for the ready signal before timing out. Defaults to 120
|
|
235
|
+
* seconds if not provided.
|
|
236
|
+
*/
|
|
237
|
+
readySignalTimeoutSeconds?: (number) | null;
|
|
238
|
+
/**
|
|
239
|
+
* Optional working directory for the VM. File system and shell commands
|
|
240
|
+
* will be executed in this directory.
|
|
241
|
+
*/
|
|
242
|
+
workdir?: (string) | null;
|
|
243
|
+
persistence?: (null | VmPersistence);
|
|
244
|
+
};
|
|
245
|
+
|
|
213
246
|
export type CustomBuildOptions = {
|
|
214
247
|
command?: (string) | null;
|
|
215
248
|
envVars?: {
|
|
@@ -218,6 +251,10 @@ export type CustomBuildOptions = {
|
|
|
218
251
|
outDir?: (string) | null;
|
|
219
252
|
};
|
|
220
253
|
|
|
254
|
+
export type DeleteRecordResponse = {
|
|
255
|
+
message: string;
|
|
256
|
+
};
|
|
257
|
+
|
|
221
258
|
export type DeploymentBuildOptions = (CustomBuildOptions) | boolean;
|
|
222
259
|
|
|
223
260
|
export type DeploymentLogEntry = {
|
|
@@ -266,22 +303,34 @@ export type DevServer = {
|
|
|
266
303
|
|
|
267
304
|
export type kind2 = 'repo';
|
|
268
305
|
|
|
269
|
-
export type
|
|
306
|
+
export type DevServerConfiguration = {
|
|
270
307
|
devCommand?: (string) | null;
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
* @deprecated
|
|
274
|
-
*/
|
|
275
|
-
baseId?: (string) | null;
|
|
308
|
+
installCommand?: (string) | null;
|
|
309
|
+
timeout?: (number) | null;
|
|
276
310
|
envVars?: {
|
|
277
311
|
[key: string]: (string);
|
|
278
312
|
} | null;
|
|
279
|
-
|
|
280
|
-
|
|
313
|
+
ports?: Array<PortConfig> | null;
|
|
314
|
+
preset?: (null | DevServerPreset);
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
export type DevServerLogsRequest = {
|
|
318
|
+
devServer: DevServer;
|
|
281
319
|
/**
|
|
282
|
-
*
|
|
320
|
+
* Number of log lines to return per page (default 200)
|
|
283
321
|
*/
|
|
284
|
-
|
|
322
|
+
count?: (number) | null;
|
|
323
|
+
/**
|
|
324
|
+
* 1-based page index. page=1 returns the most recent lines (default 1)
|
|
325
|
+
*/
|
|
326
|
+
page?: (number) | null;
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
export type DevServerPreset = 'auto' | 'nextJs' | 'vite' | 'expo';
|
|
330
|
+
|
|
331
|
+
export type DevServerRequest = DevServerConfiguration & {
|
|
332
|
+
repoId?: (string) | null;
|
|
333
|
+
computeClass?: (string) | null;
|
|
285
334
|
/**
|
|
286
335
|
* @deprecated
|
|
287
336
|
*/
|
|
@@ -291,6 +340,15 @@ export type DevServerRequest = {
|
|
|
291
340
|
*/
|
|
292
341
|
repo?: (string) | null;
|
|
293
342
|
gitRef?: (string) | null;
|
|
343
|
+
preDevCommandOnce?: (string) | null;
|
|
344
|
+
/**
|
|
345
|
+
* @deprecated
|
|
346
|
+
*/
|
|
347
|
+
baseId?: (string) | null;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
export type DevServerRestartRequest = {
|
|
351
|
+
devServer: DevServer;
|
|
294
352
|
};
|
|
295
353
|
|
|
296
354
|
export type DevServerStatusRequest = {
|
|
@@ -328,6 +386,11 @@ export type DomainVerificationRequest = {
|
|
|
328
386
|
createdAt: string;
|
|
329
387
|
};
|
|
330
388
|
|
|
389
|
+
export type ExecAwaitRequest = {
|
|
390
|
+
command: string;
|
|
391
|
+
terminal?: (string) | null;
|
|
392
|
+
};
|
|
393
|
+
|
|
331
394
|
export type ExecRequest = {
|
|
332
395
|
devServer: DevServer;
|
|
333
396
|
command: string;
|
|
@@ -369,6 +432,34 @@ export type FileReadContent = {
|
|
|
369
432
|
|
|
370
433
|
export type kind3 = 'file';
|
|
371
434
|
|
|
435
|
+
export type ForkVmRequest = {
|
|
436
|
+
idleTimeoutSeconds?: (number) | null;
|
|
437
|
+
/**
|
|
438
|
+
* Optional list of ports to expose externally. If not provided, port 3000
|
|
439
|
+
* will be exposed on port 443 by default. Pass an empty array to disable
|
|
440
|
+
* external ports. Only ports 8081 and 443 can be configured externally for
|
|
441
|
+
* now. Any target port is allowed.
|
|
442
|
+
*/
|
|
443
|
+
ports?: Array<PortMapping> | null;
|
|
444
|
+
/**
|
|
445
|
+
* Whether the api request should wait for the VM to be ready before
|
|
446
|
+
* returning. By default, the VM is considered ready when the serial
|
|
447
|
+
* console is ready for login.
|
|
448
|
+
*/
|
|
449
|
+
readySignalTimeoutSeconds?: (number) | null;
|
|
450
|
+
/**
|
|
451
|
+
* How long to wait for the ready signal before timing out. Defaults to 120
|
|
452
|
+
* seconds if not provided.
|
|
453
|
+
*/
|
|
454
|
+
waitForReadySignal?: (boolean) | null;
|
|
455
|
+
/**
|
|
456
|
+
* Optional working directory for the VM. File system and shell commands
|
|
457
|
+
* will be executed in this directory.
|
|
458
|
+
*/
|
|
459
|
+
workdir?: (string) | null;
|
|
460
|
+
persistence?: (null | VmPersistence);
|
|
461
|
+
};
|
|
462
|
+
|
|
372
463
|
export type FreestyleCloudstateDeployConfiguration = {
|
|
373
464
|
/**
|
|
374
465
|
* ID of the project to deploy, if not provided will create a new project
|
|
@@ -743,6 +834,16 @@ export type NetworkPermissionData = {
|
|
|
743
834
|
behavior?: Behavior;
|
|
744
835
|
};
|
|
745
836
|
|
|
837
|
+
export type PortConfig = {
|
|
838
|
+
port: number;
|
|
839
|
+
targetPort: number;
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
export type PortMapping = {
|
|
843
|
+
port: number;
|
|
844
|
+
targetPort: number;
|
|
845
|
+
};
|
|
846
|
+
|
|
746
847
|
export type ReadFileEphemeralDevServerResponses = {
|
|
747
848
|
id: string;
|
|
748
849
|
isNew: boolean;
|
|
@@ -759,7 +860,7 @@ export type ReadFileEphemeralDevServerResponses = {
|
|
|
759
860
|
isNew: boolean;
|
|
760
861
|
} | InternalServerError;
|
|
761
862
|
|
|
762
|
-
export type
|
|
863
|
+
export type RepositoryInfoRaw = {
|
|
763
864
|
id: string;
|
|
764
865
|
name?: (string) | null;
|
|
765
866
|
accountId: string;
|
|
@@ -777,6 +878,10 @@ export type RepositoryMetadata = {
|
|
|
777
878
|
defaultBranch: string;
|
|
778
879
|
};
|
|
779
880
|
|
|
881
|
+
export type ResizeVmRequest = {
|
|
882
|
+
sizeMb: number;
|
|
883
|
+
};
|
|
884
|
+
|
|
780
885
|
export type RevokeGitTokenRequest = {
|
|
781
886
|
tokenId: string;
|
|
782
887
|
};
|
|
@@ -805,6 +910,12 @@ export type Signature = {
|
|
|
805
910
|
email: string;
|
|
806
911
|
};
|
|
807
912
|
|
|
913
|
+
export type StartVmRequest = {
|
|
914
|
+
idleTimeoutSeconds?: (number) | null;
|
|
915
|
+
readySignalTimeoutSeconds?: (number) | null;
|
|
916
|
+
waitForReadySignal?: (boolean) | null;
|
|
917
|
+
};
|
|
918
|
+
|
|
808
919
|
export type TagDetails = {
|
|
809
920
|
name: string;
|
|
810
921
|
target: string;
|
|
@@ -867,12 +978,36 @@ export type TreeObject = {
|
|
|
867
978
|
sha: string;
|
|
868
979
|
};
|
|
869
980
|
|
|
981
|
+
export type UpdateDevServerConfigRequest = DevServerConfiguration & {
|
|
982
|
+
branch?: (string) | null;
|
|
983
|
+
};
|
|
984
|
+
|
|
870
985
|
export type UpdatePermissionRequest = {
|
|
871
986
|
permission: AccessLevel;
|
|
872
987
|
};
|
|
873
988
|
|
|
874
989
|
export type Visibility = 'public' | 'private';
|
|
875
990
|
|
|
991
|
+
export type VmPersistence = {
|
|
992
|
+
/**
|
|
993
|
+
* Priority for eviction when storage quota is reached. Higher values
|
|
994
|
+
* mean the VM is less likely to be evicted. Range is 0-10, default is
|
|
995
|
+
* 5.
|
|
996
|
+
*/
|
|
997
|
+
priority?: (number) | null;
|
|
998
|
+
type: 'sticky';
|
|
999
|
+
} | {
|
|
1000
|
+
type: 'ephemeral';
|
|
1001
|
+
} | {
|
|
1002
|
+
type: 'persistent';
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
export type type4 = 'sticky';
|
|
1006
|
+
|
|
1007
|
+
export type WriteFileRequest = {
|
|
1008
|
+
content: string;
|
|
1009
|
+
};
|
|
1010
|
+
|
|
876
1011
|
export type HandleDeployCloudstateData = {
|
|
877
1012
|
body: FreestyleCloudstateDeployRequest;
|
|
878
1013
|
};
|
|
@@ -907,11 +1042,12 @@ export type HandleCreateRecordData = {
|
|
|
907
1042
|
body: CreateRecordParams;
|
|
908
1043
|
};
|
|
909
1044
|
|
|
910
|
-
export type HandleCreateRecordResponse = (
|
|
911
|
-
record: DnsRecord;
|
|
912
|
-
});
|
|
1045
|
+
export type HandleCreateRecordResponse = (CreateRecordResponse);
|
|
913
1046
|
|
|
914
1047
|
export type HandleCreateRecordError = ({
|
|
1048
|
+
domain: string;
|
|
1049
|
+
account_id: string;
|
|
1050
|
+
} | {
|
|
915
1051
|
message: string;
|
|
916
1052
|
});
|
|
917
1053
|
|
|
@@ -922,12 +1058,14 @@ export type HandleDeleteRecordData = {
|
|
|
922
1058
|
};
|
|
923
1059
|
};
|
|
924
1060
|
|
|
925
|
-
export type HandleDeleteRecordResponse = (
|
|
926
|
-
message: string;
|
|
927
|
-
});
|
|
1061
|
+
export type HandleDeleteRecordResponse = (DeleteRecordResponse);
|
|
928
1062
|
|
|
929
1063
|
export type HandleDeleteRecordError = ({
|
|
930
|
-
|
|
1064
|
+
domain: string;
|
|
1065
|
+
account_id: string;
|
|
1066
|
+
} | {
|
|
1067
|
+
domain: string;
|
|
1068
|
+
name: string;
|
|
931
1069
|
});
|
|
932
1070
|
|
|
933
1071
|
export type HandleVerifyWildcardData = {
|
|
@@ -1065,6 +1203,8 @@ export type HandleEphemeralDevServerResponse = ({
|
|
|
1065
1203
|
installCommandRunning: boolean;
|
|
1066
1204
|
mcpEphemeralUrl?: (string) | null;
|
|
1067
1205
|
ephemeralUrl?: (string) | null;
|
|
1206
|
+
vmId?: (string) | null;
|
|
1207
|
+
baseId?: (string) | null;
|
|
1068
1208
|
});
|
|
1069
1209
|
|
|
1070
1210
|
export type HandleEphemeralDevServerError = (InternalServerError);
|
|
@@ -1136,6 +1276,26 @@ export type HandleGitCommitPushResponse = ({
|
|
|
1136
1276
|
|
|
1137
1277
|
export type HandleGitCommitPushError = (InternalServerError);
|
|
1138
1278
|
|
|
1279
|
+
export type HandleDevServerLogsData = {
|
|
1280
|
+
body: DevServerLogsRequest;
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
export type HandleDevServerLogsResponse = ({
|
|
1284
|
+
logs: Array<(string)>;
|
|
1285
|
+
});
|
|
1286
|
+
|
|
1287
|
+
export type HandleDevServerLogsError = (InternalServerError);
|
|
1288
|
+
|
|
1289
|
+
export type HandleDevServerRestartData = {
|
|
1290
|
+
body: DevServerRestartRequest;
|
|
1291
|
+
};
|
|
1292
|
+
|
|
1293
|
+
export type HandleDevServerRestartResponse = ({
|
|
1294
|
+
restarted: boolean;
|
|
1295
|
+
});
|
|
1296
|
+
|
|
1297
|
+
export type HandleDevServerRestartError = (InternalServerError);
|
|
1298
|
+
|
|
1139
1299
|
export type HandleShutdownDevServerData = {
|
|
1140
1300
|
body: ShutdownDevServerRequest;
|
|
1141
1301
|
};
|
|
@@ -1419,6 +1579,7 @@ export type HandleCreateRepoData = {
|
|
|
1419
1579
|
* Import static content with an initial commit. Cannot be used with `source`.
|
|
1420
1580
|
*/
|
|
1421
1581
|
import?: CreateRepoImport;
|
|
1582
|
+
devServers?: DevServerConfiguration;
|
|
1422
1583
|
};
|
|
1423
1584
|
};
|
|
1424
1585
|
|
|
@@ -1455,6 +1616,58 @@ export type HandleSetDefaultBranchResponse = (SetDefaultBranchResponse);
|
|
|
1455
1616
|
|
|
1456
1617
|
export type HandleSetDefaultBranchError = unknown;
|
|
1457
1618
|
|
|
1619
|
+
export type GetDevServerConfigurationData = {
|
|
1620
|
+
path: {
|
|
1621
|
+
/**
|
|
1622
|
+
* Repository ID
|
|
1623
|
+
*/
|
|
1624
|
+
repo_id: string;
|
|
1625
|
+
};
|
|
1626
|
+
query: {
|
|
1627
|
+
/**
|
|
1628
|
+
* Git branch name
|
|
1629
|
+
*/
|
|
1630
|
+
branch: string;
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
export type GetDevServerConfigurationResponse = (DevServerConfiguration);
|
|
1635
|
+
|
|
1636
|
+
export type GetDevServerConfigurationError = (unknown);
|
|
1637
|
+
|
|
1638
|
+
export type UpdateDevServerConfigurationData = {
|
|
1639
|
+
body: UpdateDevServerConfigRequest;
|
|
1640
|
+
path: {
|
|
1641
|
+
/**
|
|
1642
|
+
* Repository ID
|
|
1643
|
+
*/
|
|
1644
|
+
repo_id: string;
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
export type UpdateDevServerConfigurationResponse = (unknown);
|
|
1649
|
+
|
|
1650
|
+
export type UpdateDevServerConfigurationError = (unknown);
|
|
1651
|
+
|
|
1652
|
+
export type DeleteDevServerConfigurationData = {
|
|
1653
|
+
path: {
|
|
1654
|
+
/**
|
|
1655
|
+
* Repository ID
|
|
1656
|
+
*/
|
|
1657
|
+
repo_id: string;
|
|
1658
|
+
};
|
|
1659
|
+
query: {
|
|
1660
|
+
/**
|
|
1661
|
+
* Git branch name (optional, defaults to repository default branch)
|
|
1662
|
+
*/
|
|
1663
|
+
branch: string;
|
|
1664
|
+
};
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
export type DeleteDevServerConfigurationResponse = (void);
|
|
1668
|
+
|
|
1669
|
+
export type DeleteDevServerConfigurationError = (unknown);
|
|
1670
|
+
|
|
1458
1671
|
export type GetGithubSyncData = {
|
|
1459
1672
|
path: {
|
|
1460
1673
|
/**
|
|
@@ -1504,7 +1717,7 @@ export type HandleGetRepoInfoData = {
|
|
|
1504
1717
|
};
|
|
1505
1718
|
};
|
|
1506
1719
|
|
|
1507
|
-
export type HandleGetRepoInfoResponse = (
|
|
1720
|
+
export type HandleGetRepoInfoResponse = (RepositoryInfoRaw);
|
|
1508
1721
|
|
|
1509
1722
|
export type HandleGetRepoInfoError = (unknown);
|
|
1510
1723
|
|
|
@@ -1816,6 +2029,163 @@ export type HandleGetLogsResponse = (FreestyleGetLogsResponse);
|
|
|
1816
2029
|
|
|
1817
2030
|
export type HandleGetLogsError = unknown;
|
|
1818
2031
|
|
|
2032
|
+
export type CreateVmData = {
|
|
2033
|
+
body: CreateVmRequest;
|
|
2034
|
+
};
|
|
2035
|
+
|
|
2036
|
+
export type ResizeVmData = {
|
|
2037
|
+
body: ResizeVmRequest;
|
|
2038
|
+
path: {
|
|
2039
|
+
id: string;
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
2042
|
+
|
|
2043
|
+
export type GetVmData = {
|
|
2044
|
+
path: {
|
|
2045
|
+
vm_id: string;
|
|
2046
|
+
};
|
|
2047
|
+
};
|
|
2048
|
+
|
|
2049
|
+
export type DeleteVmData = {
|
|
2050
|
+
path: {
|
|
2051
|
+
/**
|
|
2052
|
+
* The ID of the VM to delete
|
|
2053
|
+
*/
|
|
2054
|
+
vm_id: string;
|
|
2055
|
+
};
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
export type WaitVmData = {
|
|
2059
|
+
path: {
|
|
2060
|
+
/**
|
|
2061
|
+
* The ID of the VM to wait for
|
|
2062
|
+
*/
|
|
2063
|
+
vm_id: string;
|
|
2064
|
+
};
|
|
2065
|
+
};
|
|
2066
|
+
|
|
2067
|
+
export type ExecAwaitData = {
|
|
2068
|
+
body: ExecAwaitRequest;
|
|
2069
|
+
path: {
|
|
2070
|
+
/**
|
|
2071
|
+
* The ID of the VM to execute the command in
|
|
2072
|
+
*/
|
|
2073
|
+
vm_id: string;
|
|
2074
|
+
};
|
|
2075
|
+
};
|
|
2076
|
+
|
|
2077
|
+
export type GetFileData = {
|
|
2078
|
+
path: {
|
|
2079
|
+
/**
|
|
2080
|
+
* The path of the file to get
|
|
2081
|
+
*/
|
|
2082
|
+
filepath: string;
|
|
2083
|
+
/**
|
|
2084
|
+
* The ID of the VM to get the file from
|
|
2085
|
+
*/
|
|
2086
|
+
vm_id: string;
|
|
2087
|
+
};
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
export type PutFileData = {
|
|
2091
|
+
body: WriteFileRequest;
|
|
2092
|
+
path: {
|
|
2093
|
+
/**
|
|
2094
|
+
* The path of the file to put
|
|
2095
|
+
*/
|
|
2096
|
+
filepath: string;
|
|
2097
|
+
/**
|
|
2098
|
+
* The ID of the VM to put the file to
|
|
2099
|
+
*/
|
|
2100
|
+
vm_id: string;
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
|
|
2104
|
+
export type ForkVmData = {
|
|
2105
|
+
body: ForkVmRequest;
|
|
2106
|
+
path: {
|
|
2107
|
+
vm_id: string;
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
|
|
2111
|
+
export type OptimizeVmData = {
|
|
2112
|
+
path: {
|
|
2113
|
+
/**
|
|
2114
|
+
* The ID of the VM to optimize
|
|
2115
|
+
*/
|
|
2116
|
+
vm_id: string;
|
|
2117
|
+
};
|
|
2118
|
+
};
|
|
2119
|
+
|
|
2120
|
+
export type StartVmData = {
|
|
2121
|
+
body: StartVmRequest;
|
|
2122
|
+
path: {
|
|
2123
|
+
vm_id: string;
|
|
2124
|
+
};
|
|
2125
|
+
};
|
|
2126
|
+
|
|
2127
|
+
export type StopVmData = {
|
|
2128
|
+
path: {
|
|
2129
|
+
/**
|
|
2130
|
+
* The ID of the VM to stop
|
|
2131
|
+
*/
|
|
2132
|
+
vm_id: string;
|
|
2133
|
+
};
|
|
2134
|
+
};
|
|
2135
|
+
|
|
2136
|
+
export type SuspendVmData = {
|
|
2137
|
+
path: {
|
|
2138
|
+
/**
|
|
2139
|
+
* The ID of the VM to suspend
|
|
2140
|
+
*/
|
|
2141
|
+
vm_id: string;
|
|
2142
|
+
};
|
|
2143
|
+
};
|
|
2144
|
+
|
|
2145
|
+
export type ListTerminalsData = {
|
|
2146
|
+
path: {
|
|
2147
|
+
/**
|
|
2148
|
+
* The ID of the VM
|
|
2149
|
+
*/
|
|
2150
|
+
vm_id: string;
|
|
2151
|
+
};
|
|
2152
|
+
};
|
|
2153
|
+
|
|
2154
|
+
export type GetTerminalLogsData = {
|
|
2155
|
+
path: {
|
|
2156
|
+
/**
|
|
2157
|
+
* The ID of the terminal session
|
|
2158
|
+
*/
|
|
2159
|
+
terminal_id: string;
|
|
2160
|
+
/**
|
|
2161
|
+
* The ID of the VM
|
|
2162
|
+
*/
|
|
2163
|
+
vm_id: string;
|
|
2164
|
+
};
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
export type GetTerminalXtermData = {
|
|
2168
|
+
path: {
|
|
2169
|
+
/**
|
|
2170
|
+
* The ID of the terminal session
|
|
2171
|
+
*/
|
|
2172
|
+
terminal_id: string;
|
|
2173
|
+
/**
|
|
2174
|
+
* The ID of the VM
|
|
2175
|
+
*/
|
|
2176
|
+
vm_id: string;
|
|
2177
|
+
};
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
export type WatchFilesData = {
|
|
2181
|
+
path: {
|
|
2182
|
+
/**
|
|
2183
|
+
* The ID of the VM to watch files for
|
|
2184
|
+
*/
|
|
2185
|
+
vm_id: string;
|
|
2186
|
+
};
|
|
2187
|
+
};
|
|
2188
|
+
|
|
1819
2189
|
export type HandleDeployWebData = {
|
|
1820
2190
|
body: FreestyleDeployWebPayload;
|
|
1821
2191
|
};
|