freestyle-sandboxes 0.0.94 → 0.0.96
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 +7 -3
- package/dist/ai/inde.d.mts +7 -3
- package/dist/ai/index.d.cts +7 -3
- package/dist/ai/index.d.mts +7 -3
- package/dist/inde.d.cts +8 -7
- package/dist/inde.d.mts +8 -7
- package/dist/index.cjs +8 -6
- package/dist/index.d.cts +8 -7
- package/dist/index.d.mts +8 -7
- package/dist/index.mjs +8 -6
- 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--Oxc46AH.d.ts → types.gen-CJa21P0C.d.ts} +344 -28
- 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 +236 -3
- package/openapi/types.gen.ts +391 -29
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +10 -8
- 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,11 +340,15 @@ export type DevServerRequest = {
|
|
|
291
340
|
*/
|
|
292
341
|
repo?: (string) | null;
|
|
293
342
|
gitRef?: (string) | null;
|
|
343
|
+
preDevCommandOnce?: (string) | null;
|
|
294
344
|
/**
|
|
295
|
-
*
|
|
296
|
-
* Only ports 8081 and 443 can be configured externally for now. Any target port is allowed.
|
|
345
|
+
* @deprecated
|
|
297
346
|
*/
|
|
298
|
-
|
|
347
|
+
baseId?: (string) | null;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
export type DevServerRestartRequest = {
|
|
351
|
+
devServer: DevServer;
|
|
299
352
|
};
|
|
300
353
|
|
|
301
354
|
export type DevServerStatusRequest = {
|
|
@@ -333,6 +386,11 @@ export type DomainVerificationRequest = {
|
|
|
333
386
|
createdAt: string;
|
|
334
387
|
};
|
|
335
388
|
|
|
389
|
+
export type ExecAwaitRequest = {
|
|
390
|
+
command: string;
|
|
391
|
+
terminal?: (string) | null;
|
|
392
|
+
};
|
|
393
|
+
|
|
336
394
|
export type ExecRequest = {
|
|
337
395
|
devServer: DevServer;
|
|
338
396
|
command: string;
|
|
@@ -374,6 +432,34 @@ export type FileReadContent = {
|
|
|
374
432
|
|
|
375
433
|
export type kind3 = 'file';
|
|
376
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
|
+
|
|
377
463
|
export type FreestyleCloudstateDeployConfiguration = {
|
|
378
464
|
/**
|
|
379
465
|
* ID of the project to deploy, if not provided will create a new project
|
|
@@ -447,6 +533,10 @@ export type FreestyleDeployWebConfiguration = {
|
|
|
447
533
|
* Timeout for the deployment in seconds. If not provided, the default is 10 seconds.
|
|
448
534
|
*/
|
|
449
535
|
timeout?: (number) | null;
|
|
536
|
+
/**
|
|
537
|
+
* Whether to wait for the deployment to finish before returning. Defaults to true.
|
|
538
|
+
*/
|
|
539
|
+
await?: (boolean) | null;
|
|
450
540
|
};
|
|
451
541
|
|
|
452
542
|
export type FreestyleDeployWebErrorResponse = {
|
|
@@ -486,6 +576,8 @@ export type FreestyleDeployWebSuccessResponseV2 = {
|
|
|
486
576
|
* The entrypoint file for the website. If not specified we try to automatically detect it.
|
|
487
577
|
*/
|
|
488
578
|
entrypoint: string;
|
|
579
|
+
} | {
|
|
580
|
+
deploymentId: string;
|
|
489
581
|
};
|
|
490
582
|
|
|
491
583
|
export type FreestyleDomainVerificationRequest = {
|
|
@@ -753,6 +845,11 @@ export type PortConfig = {
|
|
|
753
845
|
targetPort: number;
|
|
754
846
|
};
|
|
755
847
|
|
|
848
|
+
export type PortMapping = {
|
|
849
|
+
port: number;
|
|
850
|
+
targetPort: number;
|
|
851
|
+
};
|
|
852
|
+
|
|
756
853
|
export type ReadFileEphemeralDevServerResponses = {
|
|
757
854
|
id: string;
|
|
758
855
|
isNew: boolean;
|
|
@@ -769,7 +866,7 @@ export type ReadFileEphemeralDevServerResponses = {
|
|
|
769
866
|
isNew: boolean;
|
|
770
867
|
} | InternalServerError;
|
|
771
868
|
|
|
772
|
-
export type
|
|
869
|
+
export type RepositoryInfoRaw = {
|
|
773
870
|
id: string;
|
|
774
871
|
name?: (string) | null;
|
|
775
872
|
accountId: string;
|
|
@@ -787,6 +884,10 @@ export type RepositoryMetadata = {
|
|
|
787
884
|
defaultBranch: string;
|
|
788
885
|
};
|
|
789
886
|
|
|
887
|
+
export type ResizeVmRequest = {
|
|
888
|
+
sizeMb: number;
|
|
889
|
+
};
|
|
890
|
+
|
|
790
891
|
export type RevokeGitTokenRequest = {
|
|
791
892
|
tokenId: string;
|
|
792
893
|
};
|
|
@@ -815,6 +916,12 @@ export type Signature = {
|
|
|
815
916
|
email: string;
|
|
816
917
|
};
|
|
817
918
|
|
|
919
|
+
export type StartVmRequest = {
|
|
920
|
+
idleTimeoutSeconds?: (number) | null;
|
|
921
|
+
readySignalTimeoutSeconds?: (number) | null;
|
|
922
|
+
waitForReadySignal?: (boolean) | null;
|
|
923
|
+
};
|
|
924
|
+
|
|
818
925
|
export type TagDetails = {
|
|
819
926
|
name: string;
|
|
820
927
|
target: string;
|
|
@@ -877,12 +984,36 @@ export type TreeObject = {
|
|
|
877
984
|
sha: string;
|
|
878
985
|
};
|
|
879
986
|
|
|
987
|
+
export type UpdateDevServerConfigRequest = DevServerConfiguration & {
|
|
988
|
+
branch?: (string) | null;
|
|
989
|
+
};
|
|
990
|
+
|
|
880
991
|
export type UpdatePermissionRequest = {
|
|
881
992
|
permission: AccessLevel;
|
|
882
993
|
};
|
|
883
994
|
|
|
884
995
|
export type Visibility = 'public' | 'private';
|
|
885
996
|
|
|
997
|
+
export type VmPersistence = {
|
|
998
|
+
/**
|
|
999
|
+
* Priority for eviction when storage quota is reached. Higher values
|
|
1000
|
+
* mean the VM is less likely to be evicted. Range is 0-10, default is
|
|
1001
|
+
* 5.
|
|
1002
|
+
*/
|
|
1003
|
+
priority?: (number) | null;
|
|
1004
|
+
type: 'sticky';
|
|
1005
|
+
} | {
|
|
1006
|
+
type: 'ephemeral';
|
|
1007
|
+
} | {
|
|
1008
|
+
type: 'persistent';
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
export type type4 = 'sticky';
|
|
1012
|
+
|
|
1013
|
+
export type WriteFileRequest = {
|
|
1014
|
+
content: string;
|
|
1015
|
+
};
|
|
1016
|
+
|
|
886
1017
|
export type HandleDeployCloudstateData = {
|
|
887
1018
|
body: FreestyleCloudstateDeployRequest;
|
|
888
1019
|
};
|
|
@@ -917,11 +1048,12 @@ export type HandleCreateRecordData = {
|
|
|
917
1048
|
body: CreateRecordParams;
|
|
918
1049
|
};
|
|
919
1050
|
|
|
920
|
-
export type HandleCreateRecordResponse = (
|
|
921
|
-
record: DnsRecord;
|
|
922
|
-
});
|
|
1051
|
+
export type HandleCreateRecordResponse = (CreateRecordResponse);
|
|
923
1052
|
|
|
924
1053
|
export type HandleCreateRecordError = ({
|
|
1054
|
+
domain: string;
|
|
1055
|
+
account_id: string;
|
|
1056
|
+
} | {
|
|
925
1057
|
message: string;
|
|
926
1058
|
});
|
|
927
1059
|
|
|
@@ -932,12 +1064,14 @@ export type HandleDeleteRecordData = {
|
|
|
932
1064
|
};
|
|
933
1065
|
};
|
|
934
1066
|
|
|
935
|
-
export type HandleDeleteRecordResponse = (
|
|
936
|
-
message: string;
|
|
937
|
-
});
|
|
1067
|
+
export type HandleDeleteRecordResponse = (DeleteRecordResponse);
|
|
938
1068
|
|
|
939
1069
|
export type HandleDeleteRecordError = ({
|
|
940
|
-
|
|
1070
|
+
domain: string;
|
|
1071
|
+
account_id: string;
|
|
1072
|
+
} | {
|
|
1073
|
+
domain: string;
|
|
1074
|
+
name: string;
|
|
941
1075
|
});
|
|
942
1076
|
|
|
943
1077
|
export type HandleVerifyWildcardData = {
|
|
@@ -1010,12 +1144,6 @@ export type HandleDeleteDomainMappingData = {
|
|
|
1010
1144
|
};
|
|
1011
1145
|
};
|
|
1012
1146
|
|
|
1013
|
-
export type HandleDeleteDomainMappingResponse = (unknown);
|
|
1014
|
-
|
|
1015
|
-
export type HandleDeleteDomainMappingError = ({
|
|
1016
|
-
message: string;
|
|
1017
|
-
});
|
|
1018
|
-
|
|
1019
1147
|
export type HandleListDomainVerificationRequestsResponse = (Array<{
|
|
1020
1148
|
verificationCode: string;
|
|
1021
1149
|
domain: string;
|
|
@@ -1075,6 +1203,8 @@ export type HandleEphemeralDevServerResponse = ({
|
|
|
1075
1203
|
installCommandRunning: boolean;
|
|
1076
1204
|
mcpEphemeralUrl?: (string) | null;
|
|
1077
1205
|
ephemeralUrl?: (string) | null;
|
|
1206
|
+
vmId?: (string) | null;
|
|
1207
|
+
baseId?: (string) | null;
|
|
1078
1208
|
});
|
|
1079
1209
|
|
|
1080
1210
|
export type HandleEphemeralDevServerError = (InternalServerError);
|
|
@@ -1146,6 +1276,26 @@ export type HandleGitCommitPushResponse = ({
|
|
|
1146
1276
|
|
|
1147
1277
|
export type HandleGitCommitPushError = (InternalServerError);
|
|
1148
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
|
+
|
|
1149
1299
|
export type HandleShutdownDevServerData = {
|
|
1150
1300
|
body: ShutdownDevServerRequest;
|
|
1151
1301
|
};
|
|
@@ -1429,6 +1579,7 @@ export type HandleCreateRepoData = {
|
|
|
1429
1579
|
* Import static content with an initial commit. Cannot be used with `source`.
|
|
1430
1580
|
*/
|
|
1431
1581
|
import?: CreateRepoImport;
|
|
1582
|
+
devServers?: DevServerConfiguration;
|
|
1432
1583
|
};
|
|
1433
1584
|
};
|
|
1434
1585
|
|
|
@@ -1465,6 +1616,58 @@ export type HandleSetDefaultBranchResponse = (SetDefaultBranchResponse);
|
|
|
1465
1616
|
|
|
1466
1617
|
export type HandleSetDefaultBranchError = unknown;
|
|
1467
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
|
+
|
|
1468
1671
|
export type GetGithubSyncData = {
|
|
1469
1672
|
path: {
|
|
1470
1673
|
/**
|
|
@@ -1514,7 +1717,7 @@ export type HandleGetRepoInfoData = {
|
|
|
1514
1717
|
};
|
|
1515
1718
|
};
|
|
1516
1719
|
|
|
1517
|
-
export type HandleGetRepoInfoResponse = (
|
|
1720
|
+
export type HandleGetRepoInfoResponse = (RepositoryInfoRaw);
|
|
1518
1721
|
|
|
1519
1722
|
export type HandleGetRepoInfoError = (unknown);
|
|
1520
1723
|
|
|
@@ -1826,6 +2029,163 @@ export type HandleGetLogsResponse = (FreestyleGetLogsResponse);
|
|
|
1826
2029
|
|
|
1827
2030
|
export type HandleGetLogsError = unknown;
|
|
1828
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
|
+
|
|
1829
2189
|
export type HandleDeployWebData = {
|
|
1830
2190
|
body: FreestyleDeployWebPayload;
|
|
1831
2191
|
};
|
|
@@ -1840,7 +2200,9 @@ export type HandleDeployWebV2Data = {
|
|
|
1840
2200
|
|
|
1841
2201
|
export type HandleDeployWebV2Response = (FreestyleDeployWebSuccessResponseV2);
|
|
1842
2202
|
|
|
1843
|
-
export type HandleDeployWebV2Error = (
|
|
2203
|
+
export type HandleDeployWebV2Error = (unknown | {
|
|
2204
|
+
domain: string;
|
|
2205
|
+
} | FreestyleDeployWebErrorResponse);
|
|
1844
2206
|
|
|
1845
2207
|
export type HandleListWebDeploysData = {
|
|
1846
2208
|
query: {
|