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.
Files changed (66) hide show
  1. package/dist/ai/inde.d.cts +7 -3
  2. package/dist/ai/inde.d.mts +7 -3
  3. package/dist/ai/index.d.cts +7 -3
  4. package/dist/ai/index.d.mts +7 -3
  5. package/dist/inde.d.cts +8 -7
  6. package/dist/inde.d.mts +8 -7
  7. package/dist/index.cjs +8 -6
  8. package/dist/index.d.cts +8 -7
  9. package/dist/index.d.mts +8 -7
  10. package/dist/index.mjs +8 -6
  11. package/dist/langgraph/inde.d.cts +1 -1
  12. package/dist/langgraph/inde.d.mts +1 -1
  13. package/dist/langgraph/index.d.cts +1 -1
  14. package/dist/langgraph/index.d.mts +1 -1
  15. package/dist/mastra/inde.d.cts +1 -1
  16. package/dist/mastra/inde.d.mts +1 -1
  17. package/dist/mastra/index.d.cts +1 -1
  18. package/dist/mastra/index.d.mts +1 -1
  19. package/dist/{types.gen--Oxc46AH.d.ts → types.gen-CJa21P0C.d.ts} +344 -28
  20. package/dist/{types.gen-CG8tIO9M.d.ts → types.gen-DKjMRuu5.d.ts} +448 -43
  21. package/dist/utils/inde.d.cts +1 -1
  22. package/dist/utils/inde.d.mts +1 -1
  23. package/dist/utils/index.d.cts +1 -1
  24. package/dist/utils/index.d.mts +1 -1
  25. package/openapi/sdk.gen.ts +236 -3
  26. package/openapi/types.gen.ts +391 -29
  27. package/openapi.json +1 -1
  28. package/package.json +1 -1
  29. package/src/index.ts +10 -8
  30. package/dist/index-BBXyg0JQ.cjs +0 -3253
  31. package/dist/index-BQHqnjZK.mjs +0 -3231
  32. package/dist/index-CEEa9WHp.cjs +0 -3238
  33. package/dist/index-D1ulQeJR.mjs +0 -3247
  34. package/dist/index-DCF70Xbq.mjs +0 -3246
  35. package/dist/index-H7UNEAjs.cjs +0 -3254
  36. package/dist/index.d-CXx1AdyW.d.ts +0 -4210
  37. package/dist/types.gen-1sd31qLV.d.ts +0 -172
  38. package/dist/types.gen-627pxroW.d.ts +0 -830
  39. package/dist/types.gen-BCdfx7yt.d.ts +0 -760
  40. package/dist/types.gen-BVXmFV7d.d.ts +0 -1299
  41. package/dist/types.gen-BWwhCgTX.d.ts +0 -1462
  42. package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
  43. package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
  44. package/dist/types.gen-BpWMzgc3.d.ts +0 -1493
  45. package/dist/types.gen-BqN1t03N.d.ts +0 -842
  46. package/dist/types.gen-BtK6PMQy.d.ts +0 -195
  47. package/dist/types.gen-BuhQ5LpB.d.ts +0 -764
  48. package/dist/types.gen-BzRtj_TA.d.ts +0 -725
  49. package/dist/types.gen-C03gaIPq.d.ts +0 -297
  50. package/dist/types.gen-CIf3ciN7.d.ts +0 -807
  51. package/dist/types.gen-CMuCas4r.d.ts +0 -183
  52. package/dist/types.gen-CWa4Mw0J.d.ts +0 -1493
  53. package/dist/types.gen-CZUnqmzP.d.ts +0 -789
  54. package/dist/types.gen-CnEkmbco.d.ts +0 -314
  55. package/dist/types.gen-DDYpuDzZ.d.ts +0 -764
  56. package/dist/types.gen-DHmdEOOa.d.ts +0 -172
  57. package/dist/types.gen-DLYohMJT.d.ts +0 -382
  58. package/dist/types.gen-DbTb_SrD.d.ts +0 -156
  59. package/dist/types.gen-DkFlXKTr.d.ts +0 -1354
  60. package/dist/types.gen-DkQ-Dbs1.d.ts +0 -764
  61. package/dist/types.gen-DyY7Deri.d.ts +0 -138
  62. package/dist/types.gen-MBZCvIhE.d.ts +0 -311
  63. package/dist/types.gen-YhJAHBw8.d.ts +0 -233
  64. package/dist/types.gen-cCnnhnB6.d.ts +0 -182
  65. package/dist/types.gen-mg_JNXrq.d.ts +0 -830
  66. package/dist/types.gen-uDTr6v-7.d.ts +0 -731
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
5
5
  import { EventEmitter } from 'events';
6
6
  import { ServerResponse, IncomingMessage } from 'http';
7
7
  import { WorkerOptions } from 'worker_threads';
8
- import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen--Oxc46AH.js';
8
+ import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
9
9
  import 'node:http';
10
10
 
11
11
  // Type definitions for pino-std-serializers 2.4
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
5
5
  import { EventEmitter } from 'events';
6
6
  import { ServerResponse, IncomingMessage } from 'http';
7
7
  import { WorkerOptions } from 'worker_threads';
8
- import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen--Oxc46AH.js';
8
+ import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
9
9
  import 'node:http';
10
10
 
11
11
  // Type definitions for pino-std-serializers 2.4
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
5
5
  import { EventEmitter } from 'events';
6
6
  import { ServerResponse, IncomingMessage } from 'http';
7
7
  import { WorkerOptions } from 'worker_threads';
8
- import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen--Oxc46AH.js';
8
+ import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
9
9
  import 'node:http';
10
10
 
11
11
  // Type definitions for pino-std-serializers 2.4
@@ -119,6 +119,9 @@ type CreateRecordParams = {
119
119
  domain: string;
120
120
  record: DnsRecordData;
121
121
  };
122
+ type CreateRecordResponse = {
123
+ record: DnsRecord;
124
+ };
122
125
  type CreateRepoImport = {
123
126
  /**
124
127
  * A map of file names to their contents.
@@ -178,6 +181,7 @@ type CreateRepositoryRequest = {
178
181
  * Import static content with an initial commit. Cannot be used with `source`.
179
182
  */
180
183
  import?: CreateRepoImport;
184
+ devServers?: DevServerConfiguration;
181
185
  };
182
186
  type CreateRepositoryResponseSuccess = {
183
187
  repoId: string;
@@ -187,6 +191,33 @@ type CreateRepoSource = {
187
191
  branch?: (string) | null;
188
192
  depth?: (number) | null;
189
193
  };
194
+ type CreateVmRequest = {
195
+ idleTimeoutSeconds?: (number) | null;
196
+ /**
197
+ * Optional list of ports to expose externally. If not provided, port 3000
198
+ * will be exposed on port 443 by default. Pass an empty array to disable
199
+ * external ports. Only ports 8081 and 443 can be configured externally for
200
+ * now. Any target port is allowed.
201
+ */
202
+ ports?: Array<PortMapping> | null;
203
+ /**
204
+ * Whether the api request should wait for the VM to be ready before
205
+ * returning. By default, the VM is considered ready when the serial
206
+ * console is ready for login.
207
+ */
208
+ waitForReadySignal?: (boolean) | null;
209
+ /**
210
+ * How long to wait for the ready signal before timing out. Defaults to 120
211
+ * seconds if not provided.
212
+ */
213
+ readySignalTimeoutSeconds?: (number) | null;
214
+ /**
215
+ * Optional working directory for the VM. File system and shell commands
216
+ * will be executed in this directory.
217
+ */
218
+ workdir?: (string) | null;
219
+ persistence?: (null | VmPersistence);
220
+ };
190
221
  type CustomBuildOptions = {
191
222
  command?: (string) | null;
192
223
  envVars?: {
@@ -194,6 +225,9 @@ type CustomBuildOptions = {
194
225
  } | null;
195
226
  outDir?: (string) | null;
196
227
  };
228
+ type DeleteRecordResponse = {
229
+ message: string;
230
+ };
197
231
  type DeploymentBuildOptions = (CustomBuildOptions) | boolean;
198
232
  type DeploymentLogEntry = {
199
233
  deploymentId: string;
@@ -234,22 +268,31 @@ type DevServer = {
234
268
  kind: 'repo';
235
269
  };
236
270
  type kind2 = 'repo';
237
- type DevServerRequest = {
271
+ type DevServerConfiguration = {
238
272
  devCommand?: (string) | null;
239
- preDevCommandOnce?: (string) | null;
240
- /**
241
- * @deprecated
242
- */
243
- baseId?: (string) | null;
273
+ installCommand?: (string) | null;
274
+ timeout?: (number) | null;
244
275
  envVars?: {
245
276
  [key: string]: (string);
246
277
  } | null;
247
- repoId?: (string) | null;
248
- computeClass?: (string) | null;
278
+ ports?: Array<PortConfig> | null;
279
+ preset?: (null | DevServerPreset);
280
+ };
281
+ type DevServerLogsRequest = {
282
+ devServer: DevServer;
249
283
  /**
250
- * Timeout in seconds
284
+ * Number of log lines to return per page (default 200)
251
285
  */
252
- timeout?: (number) | null;
286
+ count?: (number) | null;
287
+ /**
288
+ * 1-based page index. page=1 returns the most recent lines (default 1)
289
+ */
290
+ page?: (number) | null;
291
+ };
292
+ type DevServerPreset = 'auto' | 'nextJs' | 'vite' | 'expo';
293
+ type DevServerRequest = DevServerConfiguration & {
294
+ repoId?: (string) | null;
295
+ computeClass?: (string) | null;
253
296
  /**
254
297
  * @deprecated
255
298
  */
@@ -259,11 +302,14 @@ type DevServerRequest = {
259
302
  */
260
303
  repo?: (string) | null;
261
304
  gitRef?: (string) | null;
305
+ preDevCommandOnce?: (string) | null;
262
306
  /**
263
- * Optional list of ports to expose externally. If not provided, port 3000 will be exposed on port 443 by default. Pass an empty array to disable external ports.
264
- * Only ports 8081 and 443 can be configured externally for now. Any target port is allowed.
307
+ * @deprecated
265
308
  */
266
- ports?: Array<PortConfig> | null;
309
+ baseId?: (string) | null;
310
+ };
311
+ type DevServerRestartRequest = {
312
+ devServer: DevServer;
267
313
  };
268
314
  type DevServerStatusRequest = {
269
315
  devServer: DevServer;
@@ -294,6 +340,10 @@ type DomainVerificationRequest = {
294
340
  verificationCode: string;
295
341
  createdAt: string;
296
342
  };
343
+ type ExecAwaitRequest = {
344
+ command: string;
345
+ terminal?: (string) | null;
346
+ };
297
347
  type ExecRequest = {
298
348
  devServer: DevServer;
299
349
  command: string;
@@ -329,6 +379,33 @@ type FileReadContent = {
329
379
  kind: 'directory';
330
380
  };
331
381
  type kind3 = 'file';
382
+ type ForkVmRequest = {
383
+ idleTimeoutSeconds?: (number) | null;
384
+ /**
385
+ * Optional list of ports to expose externally. If not provided, port 3000
386
+ * will be exposed on port 443 by default. Pass an empty array to disable
387
+ * external ports. Only ports 8081 and 443 can be configured externally for
388
+ * now. Any target port is allowed.
389
+ */
390
+ ports?: Array<PortMapping> | null;
391
+ /**
392
+ * Whether the api request should wait for the VM to be ready before
393
+ * returning. By default, the VM is considered ready when the serial
394
+ * console is ready for login.
395
+ */
396
+ readySignalTimeoutSeconds?: (number) | null;
397
+ /**
398
+ * How long to wait for the ready signal before timing out. Defaults to 120
399
+ * seconds if not provided.
400
+ */
401
+ waitForReadySignal?: (boolean) | null;
402
+ /**
403
+ * Optional working directory for the VM. File system and shell commands
404
+ * will be executed in this directory.
405
+ */
406
+ workdir?: (string) | null;
407
+ persistence?: (null | VmPersistence);
408
+ };
332
409
  type FreestyleCloudstateDeployConfiguration = {
333
410
  /**
334
411
  * ID of the project to deploy, if not provided will create a new project
@@ -397,6 +474,10 @@ type FreestyleDeployWebConfiguration = {
397
474
  * Timeout for the deployment in seconds. If not provided, the default is 10 seconds.
398
475
  */
399
476
  timeout?: (number) | null;
477
+ /**
478
+ * Whether to wait for the deployment to finish before returning. Defaults to true.
479
+ */
480
+ await?: (boolean) | null;
400
481
  };
401
482
  type FreestyleDeployWebErrorResponse = {
402
483
  message: string;
@@ -432,6 +513,8 @@ type FreestyleDeployWebSuccessResponseV2 = {
432
513
  * The entrypoint file for the website. If not specified we try to automatically detect it.
433
514
  */
434
515
  entrypoint: string;
516
+ } | {
517
+ deploymentId: string;
435
518
  };
436
519
  type FreestyleDomainVerificationRequest = {
437
520
  /**
@@ -665,6 +748,10 @@ type PortConfig = {
665
748
  port: number;
666
749
  targetPort: number;
667
750
  };
751
+ type PortMapping = {
752
+ port: number;
753
+ targetPort: number;
754
+ };
668
755
  type ReadFileEphemeralDevServerResponses = {
669
756
  id: string;
670
757
  isNew: boolean;
@@ -680,7 +767,7 @@ type ReadFileEphemeralDevServerResponses = {
680
767
  id: string;
681
768
  isNew: boolean;
682
769
  } | InternalServerError;
683
- type RepositoryInfo = {
770
+ type RepositoryInfoRaw = {
684
771
  id: string;
685
772
  name?: (string) | null;
686
773
  accountId: string;
@@ -696,6 +783,9 @@ type RepositoryMetadata = {
696
783
  };
697
784
  defaultBranch: string;
698
785
  };
786
+ type ResizeVmRequest = {
787
+ sizeMb: number;
788
+ };
699
789
  type RevokeGitTokenRequest = {
700
790
  tokenId: string;
701
791
  };
@@ -719,6 +809,11 @@ type Signature = {
719
809
  name: string;
720
810
  email: string;
721
811
  };
812
+ type StartVmRequest = {
813
+ idleTimeoutSeconds?: (number) | null;
814
+ readySignalTimeoutSeconds?: (number) | null;
815
+ waitForReadySignal?: (boolean) | null;
816
+ };
722
817
  type TagDetails = {
723
818
  name: string;
724
819
  target: string;
@@ -775,10 +870,30 @@ type TreeObject = {
775
870
  */
776
871
  sha: string;
777
872
  };
873
+ type UpdateDevServerConfigRequest = DevServerConfiguration & {
874
+ branch?: (string) | null;
875
+ };
778
876
  type UpdatePermissionRequest = {
779
877
  permission: AccessLevel;
780
878
  };
781
879
  type Visibility = 'public' | 'private';
880
+ type VmPersistence = {
881
+ /**
882
+ * Priority for eviction when storage quota is reached. Higher values
883
+ * mean the VM is less likely to be evicted. Range is 0-10, default is
884
+ * 5.
885
+ */
886
+ priority?: (number) | null;
887
+ type: 'sticky';
888
+ } | {
889
+ type: 'ephemeral';
890
+ } | {
891
+ type: 'persistent';
892
+ };
893
+ type type4 = 'sticky';
894
+ type WriteFileRequest = {
895
+ content: string;
896
+ };
782
897
  type HandleDeployCloudstateData = {
783
898
  body: FreestyleCloudstateDeployRequest;
784
899
  };
@@ -803,10 +918,11 @@ type HandleListRecordsError = ({
803
918
  type HandleCreateRecordData = {
804
919
  body: CreateRecordParams;
805
920
  };
806
- type HandleCreateRecordResponse = ({
807
- record: DnsRecord;
808
- });
921
+ type HandleCreateRecordResponse = (CreateRecordResponse);
809
922
  type HandleCreateRecordError = ({
923
+ domain: string;
924
+ account_id: string;
925
+ } | {
810
926
  message: string;
811
927
  });
812
928
  type HandleDeleteRecordData = {
@@ -815,11 +931,13 @@ type HandleDeleteRecordData = {
815
931
  record: DnsRecord;
816
932
  };
817
933
  };
818
- type HandleDeleteRecordResponse = ({
819
- message: string;
820
- });
934
+ type HandleDeleteRecordResponse = (DeleteRecordResponse);
821
935
  type HandleDeleteRecordError = ({
822
- message: string;
936
+ domain: string;
937
+ account_id: string;
938
+ } | {
939
+ domain: string;
940
+ name: string;
823
941
  });
824
942
  type HandleVerifyWildcardData = {
825
943
  path: {
@@ -878,10 +996,6 @@ type HandleDeleteDomainMappingData = {
878
996
  domain: string;
879
997
  };
880
998
  };
881
- type HandleDeleteDomainMappingResponse = (unknown);
882
- type HandleDeleteDomainMappingError = ({
883
- message: string;
884
- });
885
999
  type HandleListDomainVerificationRequestsResponse = (Array<{
886
1000
  verificationCode: string;
887
1001
  domain: string;
@@ -929,6 +1043,8 @@ type HandleEphemeralDevServerResponse = ({
929
1043
  installCommandRunning: boolean;
930
1044
  mcpEphemeralUrl?: (string) | null;
931
1045
  ephemeralUrl?: (string) | null;
1046
+ vmId?: (string) | null;
1047
+ baseId?: (string) | null;
932
1048
  });
933
1049
  type HandleEphemeralDevServerError = (InternalServerError);
934
1050
  type HandleExecOnEphemeralDevServerData = {
@@ -986,6 +1102,20 @@ type HandleGitCommitPushResponse = ({
986
1102
  isNew: boolean;
987
1103
  });
988
1104
  type HandleGitCommitPushError = (InternalServerError);
1105
+ type HandleDevServerLogsData = {
1106
+ body: DevServerLogsRequest;
1107
+ };
1108
+ type HandleDevServerLogsResponse = ({
1109
+ logs: Array<(string)>;
1110
+ });
1111
+ type HandleDevServerLogsError = (InternalServerError);
1112
+ type HandleDevServerRestartData = {
1113
+ body: DevServerRestartRequest;
1114
+ };
1115
+ type HandleDevServerRestartResponse = ({
1116
+ restarted: boolean;
1117
+ });
1118
+ type HandleDevServerRestartError = (InternalServerError);
989
1119
  type HandleShutdownDevServerData = {
990
1120
  body: ShutdownDevServerRequest;
991
1121
  };
@@ -1216,6 +1346,7 @@ type HandleCreateRepoData = {
1216
1346
  * Import static content with an initial commit. Cannot be used with `source`.
1217
1347
  */
1218
1348
  import?: CreateRepoImport;
1349
+ devServers?: DevServerConfiguration;
1219
1350
  };
1220
1351
  };
1221
1352
  type HandleCreateRepoResponse = (CreateRepositoryResponseSuccess);
@@ -1243,6 +1374,49 @@ type HandleSetDefaultBranchData = {
1243
1374
  };
1244
1375
  type HandleSetDefaultBranchResponse = (SetDefaultBranchResponse);
1245
1376
  type HandleSetDefaultBranchError = unknown;
1377
+ type GetDevServerConfigurationData = {
1378
+ path: {
1379
+ /**
1380
+ * Repository ID
1381
+ */
1382
+ repo_id: string;
1383
+ };
1384
+ query: {
1385
+ /**
1386
+ * Git branch name
1387
+ */
1388
+ branch: string;
1389
+ };
1390
+ };
1391
+ type GetDevServerConfigurationResponse = (DevServerConfiguration);
1392
+ type GetDevServerConfigurationError = (unknown);
1393
+ type UpdateDevServerConfigurationData = {
1394
+ body: UpdateDevServerConfigRequest;
1395
+ path: {
1396
+ /**
1397
+ * Repository ID
1398
+ */
1399
+ repo_id: string;
1400
+ };
1401
+ };
1402
+ type UpdateDevServerConfigurationResponse = (unknown);
1403
+ type UpdateDevServerConfigurationError = (unknown);
1404
+ type DeleteDevServerConfigurationData = {
1405
+ path: {
1406
+ /**
1407
+ * Repository ID
1408
+ */
1409
+ repo_id: string;
1410
+ };
1411
+ query: {
1412
+ /**
1413
+ * Git branch name (optional, defaults to repository default branch)
1414
+ */
1415
+ branch: string;
1416
+ };
1417
+ };
1418
+ type DeleteDevServerConfigurationResponse = (void);
1419
+ type DeleteDevServerConfigurationError = (unknown);
1246
1420
  type GetGithubSyncData = {
1247
1421
  path: {
1248
1422
  /**
@@ -1282,7 +1456,7 @@ type HandleGetRepoInfoData = {
1282
1456
  repo: string;
1283
1457
  };
1284
1458
  };
1285
- type HandleGetRepoInfoResponse = (RepositoryInfo);
1459
+ type HandleGetRepoInfoResponse = (RepositoryInfoRaw);
1286
1460
  type HandleGetRepoInfoError = (unknown);
1287
1461
  type HandleDeleteRepoData = {
1288
1462
  path: {
@@ -1547,6 +1721,146 @@ type HandleGetLogsData = {
1547
1721
  };
1548
1722
  type HandleGetLogsResponse = (FreestyleGetLogsResponse);
1549
1723
  type HandleGetLogsError = unknown;
1724
+ type CreateVmData = {
1725
+ body: CreateVmRequest;
1726
+ };
1727
+ type ResizeVmData = {
1728
+ body: ResizeVmRequest;
1729
+ path: {
1730
+ id: string;
1731
+ };
1732
+ };
1733
+ type GetVmData = {
1734
+ path: {
1735
+ vm_id: string;
1736
+ };
1737
+ };
1738
+ type DeleteVmData = {
1739
+ path: {
1740
+ /**
1741
+ * The ID of the VM to delete
1742
+ */
1743
+ vm_id: string;
1744
+ };
1745
+ };
1746
+ type WaitVmData = {
1747
+ path: {
1748
+ /**
1749
+ * The ID of the VM to wait for
1750
+ */
1751
+ vm_id: string;
1752
+ };
1753
+ };
1754
+ type ExecAwaitData = {
1755
+ body: ExecAwaitRequest;
1756
+ path: {
1757
+ /**
1758
+ * The ID of the VM to execute the command in
1759
+ */
1760
+ vm_id: string;
1761
+ };
1762
+ };
1763
+ type GetFileData = {
1764
+ path: {
1765
+ /**
1766
+ * The path of the file to get
1767
+ */
1768
+ filepath: string;
1769
+ /**
1770
+ * The ID of the VM to get the file from
1771
+ */
1772
+ vm_id: string;
1773
+ };
1774
+ };
1775
+ type PutFileData = {
1776
+ body: WriteFileRequest;
1777
+ path: {
1778
+ /**
1779
+ * The path of the file to put
1780
+ */
1781
+ filepath: string;
1782
+ /**
1783
+ * The ID of the VM to put the file to
1784
+ */
1785
+ vm_id: string;
1786
+ };
1787
+ };
1788
+ type ForkVmData = {
1789
+ body: ForkVmRequest;
1790
+ path: {
1791
+ vm_id: string;
1792
+ };
1793
+ };
1794
+ type OptimizeVmData = {
1795
+ path: {
1796
+ /**
1797
+ * The ID of the VM to optimize
1798
+ */
1799
+ vm_id: string;
1800
+ };
1801
+ };
1802
+ type StartVmData = {
1803
+ body: StartVmRequest;
1804
+ path: {
1805
+ vm_id: string;
1806
+ };
1807
+ };
1808
+ type StopVmData = {
1809
+ path: {
1810
+ /**
1811
+ * The ID of the VM to stop
1812
+ */
1813
+ vm_id: string;
1814
+ };
1815
+ };
1816
+ type SuspendVmData = {
1817
+ path: {
1818
+ /**
1819
+ * The ID of the VM to suspend
1820
+ */
1821
+ vm_id: string;
1822
+ };
1823
+ };
1824
+ type ListTerminalsData = {
1825
+ path: {
1826
+ /**
1827
+ * The ID of the VM
1828
+ */
1829
+ vm_id: string;
1830
+ };
1831
+ };
1832
+ type GetTerminalLogsData = {
1833
+ path: {
1834
+ /**
1835
+ * The ID of the terminal session
1836
+ */
1837
+ terminal_id: string;
1838
+ /**
1839
+ * The ID of the VM
1840
+ */
1841
+ vm_id: string;
1842
+ };
1843
+ };
1844
+ type GetTerminalXtermData = {
1845
+ path: {
1846
+ /**
1847
+ * The ID of the terminal session
1848
+ */
1849
+ terminal_id: string;
1850
+ /**
1851
+ * The ID of the VM
1852
+ */
1853
+ vm_id: string;
1854
+ };
1855
+ };
1856
+ type WatchFilesData = {
1857
+ path: {
1858
+ /**
1859
+ * The ID of the VM to watch files for
1860
+ */
1861
+ vm_id: string;
1862
+ };
1863
+ };
1550
1864
  type HandleDeployWebData = {
1551
1865
  body: FreestyleDeployWebPayload;
1552
1866
  };
@@ -1556,7 +1870,9 @@ type HandleDeployWebV2Data = {
1556
1870
  body: FreestyleDeployWebPayloadV2;
1557
1871
  };
1558
1872
  type HandleDeployWebV2Response = (FreestyleDeployWebSuccessResponseV2);
1559
- type HandleDeployWebV2Error = (FreestyleDeployWebErrorResponse);
1873
+ type HandleDeployWebV2Error = (unknown | {
1874
+ domain: string;
1875
+ } | FreestyleDeployWebErrorResponse);
1560
1876
  type HandleListWebDeploysData = {
1561
1877
  query: {
1562
1878
  /**
@@ -1583,4 +1899,4 @@ type HandleGetWebDeployDetailsData = {
1583
1899
  };
1584
1900
  };
1585
1901
 
1586
- export type { CommitTree as $, AccessLevel as A, CreatedToken as B, CreateRepoSource as C, DeploymentSource as D, ListGitTokensResponseSuccess as E, FreestyleExecuteScriptParamsConfiguration as F, GitIdentity as G, HandleBackupCloudstateResponse as H, HandleListGitTriggersResponse as I, GitTrigger as J, GitTriggerAction as K, ListPermissionResponseSuccess as L, HandleCreateGitTriggerResponse as M, HandleGetContentsResponse as N, GetGithubSyncResponse as O, DeploymentBuildOptions as P, HandleListDomainMappingsData as Q, AccessibleRepository as R, SetDefaultBranchRequest as S, AccessTokenInfo as T, Behavior as U, BlobEncoding as V, BlobObject as W, BranchDetails as X, CommitList as Y, CommitObject as Z, CommitParent as _, FreestyleExecuteScriptResultSuccess as a, Signature as a$, ConfigureGithubSyncRequest as a0, CreateDomainMappingRequest as a1, CreateRecordParams as a2, type as a3, CreateRepoRequest as a4, CreateRepositoryRequest as a5, CustomBuildOptions as a6, DeploymentLogEntry as a7, kind as a8, DeploymentState as a9, FreestyleLogResponseObject as aA, FreestyleNetworkPermission as aB, action as aC, FreestyleSandboxDomainMapping as aD, FreestyleVerifyDomainRequest as aE, GetDefaultBranchResponse as aF, GitCommitPushRequest as aG, GitContents as aH, type2 as aI, GitContentsDirEntryItem as aJ, GithubRepoSyncConfig as aK, GithubSyncConfigResponse as aL, GitReference as aM, GitRepositoryTrigger as aN, event as aO, action2 as aP, GrantPermissionRequest as aQ, InternalServerError as aR, ListRecordsResponse as aS, NetworkPermissionData as aT, PortConfig as aU, ReadFileEphemeralDevServerResponses as aV, RepositoryInfo as aW, RepositoryMetadata as aX, RevokeGitTokenRequest as aY, SetDefaultBranchResponse as aZ, ShutdownDevServerRequest as a_, DevServer as aa, kind2 as ab, DevServerRequest as ac, DevServerStatusRequest as ad, DevServerWatchFilesRequest as ae, DnsRecord as af, DnsRecordData as ag, DnsRecordKind as ah, DomainVerificationRequest as ai, ExecRequest as aj, ExecuteLogEntry as ak, ExecuteRunInfo as al, ExecuteRunState as am, FileReadContent as an, kind3 as ao, FreestyleCloudstateDeployConfiguration as ap, FreestyleCloudstateDeployErrorResponse as aq, FreestyleDeleteDomainVerificationRequest as ar, FreestyleDeployWebErrorResponse as as, FreestyleDeployWebPayload as at, FreestyleDeployWebPayloadV2 as au, FreestyleDomainVerificationRequest as av, FreestyleExecuteScriptParams as aw, FreestyleFile as ax, FreestyleGetLogsResponse as ay, FreestyleJavaScriptLog as az, FreestyleDeployWebConfiguration as b, HandleGetExecuteRunData as b$, TagDetails as b0, TagObject as b1, TagTarget as b2, TreeEntry as b3, type3 as b4, TreeObject as b5, UpdatePermissionRequest as b6, Visibility as b7, HandleDeployCloudstateData as b8, HandleDeployCloudstateResponse as b9, HandleDeleteDomainVerificationError as bA, HandleEphemeralDevServerData as bB, HandleEphemeralDevServerResponse as bC, HandleEphemeralDevServerError as bD, HandleExecOnEphemeralDevServerData as bE, HandleExecOnEphemeralDevServerResponse as bF, HandleExecOnEphemeralDevServerError as bG, HandleWriteFileFromEphemeralDevServerData as bH, HandleWriteFileFromEphemeralDevServerResponse as bI, HandleWriteFileFromEphemeralDevServerError as bJ, HandleReadFileFromEphemeralDevServerData as bK, HandleReadFileFromEphemeralDevServerResponse as bL, HandleReadFileFromEphemeralDevServerError as bM, HandleGitCommitPushData as bN, HandleGitCommitPushResponse as bO, HandleGitCommitPushError as bP, HandleShutdownDevServerData as bQ, HandleShutdownDevServerResponse as bR, HandleShutdownDevServerError as bS, HandleDevServerStatusData as bT, HandleDevServerStatusResponse as bU, HandleDevServerStatusError as bV, HandleWatchDevServerFilesData as bW, HandleWatchDevServerFilesResponse as bX, HandleWatchDevServerFilesError as bY, HandleListExecuteRunsData as bZ, HandleListExecuteRunsError as b_, HandleDeployCloudstateError as ba, HandleBackupCloudstateData as bb, HandleBackupCloudstateError as bc, HandleListRecordsData as bd, HandleListRecordsResponse as be, HandleListRecordsError as bf, HandleCreateRecordData as bg, HandleCreateRecordResponse as bh, HandleCreateRecordError as bi, HandleDeleteRecordData as bj, HandleDeleteRecordResponse as bk, HandleDeleteRecordError as bl, HandleVerifyWildcardData as bm, HandleVerifyWildcardError as bn, HandleListDomainsData as bo, HandleListDomainsError as bp, HandleListDomainMappingsError as bq, HandleInsertDomainMappingData as br, HandleInsertDomainMappingError as bs, HandleDeleteDomainMappingData as bt, HandleDeleteDomainMappingError as bu, HandleListDomainVerificationRequestsError as bv, HandleVerifyDomainData as bw, HandleCreateDomainVerificationData as bx, HandleCreateDomainVerificationError as by, HandleDeleteDomainVerificationData as bz, FreestyleDeployWebSuccessResponseV2 as c, HandleListCommitsData as c$, HandleGetExecuteRunError as c0, HandleExecuteScriptData as c1, HandleExecuteScriptResponse as c2, HandleExecuteScriptError as c3, HandleListIdentitiesData as c4, HandleListIdentitiesResponse as c5, HandleListIdentitiesError as c6, HandleCreateIdentityResponse as c7, HandleCreateIdentityError as c8, HandleDeleteIdentityData as c9, HandleCreateRepoData as cA, HandleCreateRepoResponse as cB, HandleCreateRepoError as cC, HandleGetDefaultBranchData as cD, HandleGetDefaultBranchResponse as cE, HandleGetDefaultBranchError as cF, HandleSetDefaultBranchData as cG, HandleSetDefaultBranchResponse as cH, HandleSetDefaultBranchError as cI, GetGithubSyncData as cJ, GetGithubSyncError as cK, ConfigureGithubSyncData as cL, ConfigureGithubSyncResponse as cM, ConfigureGithubSyncError as cN, RemoveGithubSyncData as cO, RemoveGithubSyncResponse as cP, RemoveGithubSyncError as cQ, HandleGetRepoInfoData as cR, HandleGetRepoInfoResponse as cS, HandleGetRepoInfoError as cT, HandleDeleteRepoData as cU, HandleDeleteRepoError as cV, HandleGetContentsData as cW, HandleGetContentsError as cX, HandleGetBlobData as cY, HandleGetBlobResponse as cZ, HandleGetBlobError as c_, HandleDeleteIdentityError as ca, HandleListPermissionsData as cb, HandleListPermissionsResponse as cc, HandleListPermissionsError as cd, HandleDescribePermissionData as ce, HandleDescribePermissionResponse as cf, HandleDescribePermissionError as cg, HandleGrantPermissionData as ch, HandleGrantPermissionError as ci, HandleRevokePermissionData as cj, HandleRevokePermissionResponse as ck, HandleRevokePermissionError as cl, HandleUpdatePermissionData as cm, HandleUpdatePermissionResponse as cn, HandleUpdatePermissionError as co, HandleListGitTokensData as cp, HandleListGitTokensResponse as cq, HandleListGitTokensError as cr, HandleCreateGitTokenData as cs, HandleCreateGitTokenResponse as ct, HandleCreateGitTokenError as cu, HandleRevokeGitTokenData as cv, HandleRevokeGitTokenResponse as cw, HandleRevokeGitTokenError as cx, HandleListRepositoriesData as cy, HandleListRepositoriesError as cz, FreestyleCloudstateDeployRequest as d, HandleListCommitsResponse as d0, HandleListCommitsError as d1, HandleGetCommitData as d2, HandleGetCommitResponse as d3, HandleGetCommitError as d4, HandleGetRefBranchData as d5, HandleGetRefBranchResponse as d6, HandleGetRefBranchError as d7, HandleGetRefTagData as d8, HandleGetRefTagResponse as d9, HandleDeployWebV2Data as dA, HandleDeployWebV2Response as dB, HandleDeployWebV2Error as dC, HandleListWebDeploysData as dD, HandleListWebDeploysError as dE, HandleGetWebDeployDetailsData as dF, HandleGetRefTagError as da, HandleGetTagData as db, HandleGetTagResponse as dc, HandleGetTagError as dd, HandleGetTreeData as de, HandleGetTreeResponse as df, HandleGetTreeError as dg, HandleDownloadTarballData as dh, HandleDownloadTarballResponse as di, HandleDownloadTarballError as dj, HandleListGitTriggersData as dk, HandleListGitTriggersError as dl, HandleCreateGitTriggerData as dm, HandleCreateGitTriggerError as dn, HandleDeleteGitTriggerData as dp, HandleDeleteGitTriggerResponse as dq, HandleDeleteGitTriggerError as dr, HandleDownloadZipData as ds, HandleDownloadZipResponse as dt, HandleDownloadZipError as du, HandleGetLogsData as dv, HandleGetLogsError as dw, HandleDeployWebData as dx, HandleDeployWebResponse as dy, HandleDeployWebError as dz, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleVerifyDomainError as i, HandleListDomainsResponse as j, HandleListDomainVerificationRequestsResponse as k, HandleDeleteDomainVerificationResponse as l, HandleListWebDeploysResponse as m, HandleListExecuteRunsResponse as n, HandleGetExecuteRunResponse as o, HandleVerifyWildcardResponse as p, HandleInsertDomainMappingResponse as q, HandleDeleteDomainMappingResponse as r, HandleListDomainMappingsResponse as s, CreateRepoImport as t, CreateRepositoryResponseSuccess as u, HandleListRepositoriesResponse as v, HandleDeleteRepoResponse as w, HandleDeleteIdentityResponse as x, HandleGrantPermissionResponse as y, DescribePermissionResponseSuccess as z };
1902
+ export type { CommitTree as $, AccessLevel as A, CreatedToken as B, CreateRepoSource as C, DeploymentSource as D, ListGitTokensResponseSuccess as E, FreestyleExecuteScriptParamsConfiguration as F, GitIdentity as G, HandleBackupCloudstateResponse as H, HandleListGitTriggersResponse as I, GitTrigger as J, GitTriggerAction as K, ListPermissionResponseSuccess as L, HandleCreateGitTriggerResponse as M, HandleGetContentsResponse as N, GetGithubSyncResponse as O, DeploymentBuildOptions as P, HandleListDomainMappingsData as Q, AccessibleRepository as R, SetDefaultBranchRequest as S, AccessTokenInfo as T, Behavior as U, BlobEncoding as V, BlobObject as W, BranchDetails as X, CommitList as Y, CommitObject as Z, CommitParent as _, FreestyleExecuteScriptResultSuccess as a, NetworkPermissionData as a$, ConfigureGithubSyncRequest as a0, CreateDomainMappingRequest as a1, CreateRecordParams as a2, CreateRecordResponse as a3, type as a4, CreateRepoRequest as a5, CreateRepositoryRequest as a6, CreateVmRequest as a7, CustomBuildOptions as a8, DeleteRecordResponse as a9, FreestyleDeployWebErrorResponse as aA, FreestyleDeployWebPayload as aB, FreestyleDeployWebPayloadV2 as aC, FreestyleDomainVerificationRequest as aD, FreestyleExecuteScriptParams as aE, FreestyleFile as aF, FreestyleGetLogsResponse as aG, FreestyleJavaScriptLog as aH, FreestyleLogResponseObject as aI, FreestyleNetworkPermission as aJ, action as aK, FreestyleSandboxDomainMapping as aL, FreestyleVerifyDomainRequest as aM, GetDefaultBranchResponse as aN, GitCommitPushRequest as aO, GitContents as aP, type2 as aQ, GitContentsDirEntryItem as aR, GithubRepoSyncConfig as aS, GithubSyncConfigResponse as aT, GitReference as aU, GitRepositoryTrigger as aV, event as aW, action2 as aX, GrantPermissionRequest as aY, InternalServerError as aZ, ListRecordsResponse as a_, DeploymentLogEntry as aa, kind as ab, DeploymentState as ac, DevServer as ad, kind2 as ae, DevServerLogsRequest as af, DevServerPreset as ag, DevServerRequest as ah, DevServerRestartRequest as ai, DevServerStatusRequest as aj, DevServerWatchFilesRequest as ak, DnsRecord as al, DnsRecordData as am, DnsRecordKind as an, DomainVerificationRequest as ao, ExecAwaitRequest as ap, ExecRequest as aq, ExecuteLogEntry as ar, ExecuteRunInfo as as, ExecuteRunState as at, FileReadContent as au, kind3 as av, ForkVmRequest as aw, FreestyleCloudstateDeployConfiguration as ax, FreestyleCloudstateDeployErrorResponse as ay, FreestyleDeleteDomainVerificationRequest as az, FreestyleDeployWebConfiguration as b, HandleGitCommitPushData as b$, PortConfig as b0, PortMapping as b1, ReadFileEphemeralDevServerResponses as b2, RepositoryInfoRaw as b3, RepositoryMetadata as b4, ResizeVmRequest as b5, RevokeGitTokenRequest as b6, SetDefaultBranchResponse as b7, ShutdownDevServerRequest as b8, Signature as b9, HandleDeleteRecordError as bA, HandleVerifyWildcardData as bB, HandleVerifyWildcardError as bC, HandleListDomainsData as bD, HandleListDomainsError as bE, HandleListDomainMappingsError as bF, HandleInsertDomainMappingData as bG, HandleInsertDomainMappingError as bH, HandleDeleteDomainMappingData as bI, HandleListDomainVerificationRequestsError as bJ, HandleVerifyDomainData as bK, HandleCreateDomainVerificationData as bL, HandleCreateDomainVerificationError as bM, HandleDeleteDomainVerificationData as bN, HandleDeleteDomainVerificationError as bO, HandleEphemeralDevServerData as bP, HandleEphemeralDevServerResponse as bQ, HandleEphemeralDevServerError as bR, HandleExecOnEphemeralDevServerData as bS, HandleExecOnEphemeralDevServerResponse as bT, HandleExecOnEphemeralDevServerError as bU, HandleWriteFileFromEphemeralDevServerData as bV, HandleWriteFileFromEphemeralDevServerResponse as bW, HandleWriteFileFromEphemeralDevServerError as bX, HandleReadFileFromEphemeralDevServerData as bY, HandleReadFileFromEphemeralDevServerResponse as bZ, HandleReadFileFromEphemeralDevServerError as b_, StartVmRequest as ba, TagDetails as bb, TagObject as bc, TagTarget as bd, TreeEntry as be, type3 as bf, TreeObject as bg, UpdateDevServerConfigRequest as bh, UpdatePermissionRequest as bi, Visibility as bj, VmPersistence as bk, type4 as bl, WriteFileRequest as bm, HandleDeployCloudstateData as bn, HandleDeployCloudstateResponse as bo, HandleDeployCloudstateError as bp, HandleBackupCloudstateData as bq, HandleBackupCloudstateError as br, HandleListRecordsData as bs, HandleListRecordsResponse as bt, HandleListRecordsError as bu, HandleCreateRecordData as bv, HandleCreateRecordResponse as bw, HandleCreateRecordError as bx, HandleDeleteRecordData as by, HandleDeleteRecordResponse as bz, FreestyleDeployWebSuccessResponseV2 as c, HandleSetDefaultBranchResponse as c$, HandleGitCommitPushResponse as c0, HandleGitCommitPushError as c1, HandleDevServerLogsData as c2, HandleDevServerLogsResponse as c3, HandleDevServerLogsError as c4, HandleDevServerRestartData as c5, HandleDevServerRestartResponse as c6, HandleDevServerRestartError as c7, HandleShutdownDevServerData as c8, HandleShutdownDevServerResponse as c9, HandleDescribePermissionError as cA, HandleGrantPermissionData as cB, HandleGrantPermissionError as cC, HandleRevokePermissionData as cD, HandleRevokePermissionResponse as cE, HandleRevokePermissionError as cF, HandleUpdatePermissionData as cG, HandleUpdatePermissionResponse as cH, HandleUpdatePermissionError as cI, HandleListGitTokensData as cJ, HandleListGitTokensResponse as cK, HandleListGitTokensError as cL, HandleCreateGitTokenData as cM, HandleCreateGitTokenResponse as cN, HandleCreateGitTokenError as cO, HandleRevokeGitTokenData as cP, HandleRevokeGitTokenResponse as cQ, HandleRevokeGitTokenError as cR, HandleListRepositoriesData as cS, HandleListRepositoriesError as cT, HandleCreateRepoData as cU, HandleCreateRepoResponse as cV, HandleCreateRepoError as cW, HandleGetDefaultBranchData as cX, HandleGetDefaultBranchResponse as cY, HandleGetDefaultBranchError as cZ, HandleSetDefaultBranchData as c_, HandleShutdownDevServerError as ca, HandleDevServerStatusData as cb, HandleDevServerStatusResponse as cc, HandleDevServerStatusError as cd, HandleWatchDevServerFilesData as ce, HandleWatchDevServerFilesResponse as cf, HandleWatchDevServerFilesError as cg, HandleListExecuteRunsData as ch, HandleListExecuteRunsError as ci, HandleGetExecuteRunData as cj, HandleGetExecuteRunError as ck, HandleExecuteScriptData as cl, HandleExecuteScriptResponse as cm, HandleExecuteScriptError as cn, HandleListIdentitiesData as co, HandleListIdentitiesResponse as cp, HandleListIdentitiesError as cq, HandleCreateIdentityResponse as cr, HandleCreateIdentityError as cs, HandleDeleteIdentityData as ct, HandleDeleteIdentityError as cu, HandleListPermissionsData as cv, HandleListPermissionsResponse as cw, HandleListPermissionsError as cx, HandleDescribePermissionData as cy, HandleDescribePermissionResponse as cz, FreestyleCloudstateDeployRequest as d, ResizeVmData as d$, HandleSetDefaultBranchError as d0, GetDevServerConfigurationData as d1, GetDevServerConfigurationResponse as d2, GetDevServerConfigurationError as d3, UpdateDevServerConfigurationData as d4, UpdateDevServerConfigurationResponse as d5, UpdateDevServerConfigurationError as d6, DeleteDevServerConfigurationData as d7, DeleteDevServerConfigurationResponse as d8, DeleteDevServerConfigurationError as d9, HandleGetRefBranchResponse as dA, HandleGetRefBranchError as dB, HandleGetRefTagData as dC, HandleGetRefTagResponse as dD, HandleGetRefTagError as dE, HandleGetTagData as dF, HandleGetTagResponse as dG, HandleGetTagError as dH, HandleGetTreeData as dI, HandleGetTreeResponse as dJ, HandleGetTreeError as dK, HandleDownloadTarballData as dL, HandleDownloadTarballResponse as dM, HandleDownloadTarballError as dN, HandleListGitTriggersData as dO, HandleListGitTriggersError as dP, HandleCreateGitTriggerData as dQ, HandleCreateGitTriggerError as dR, HandleDeleteGitTriggerData as dS, HandleDeleteGitTriggerResponse as dT, HandleDeleteGitTriggerError as dU, HandleDownloadZipData as dV, HandleDownloadZipResponse as dW, HandleDownloadZipError as dX, HandleGetLogsData as dY, HandleGetLogsError as dZ, CreateVmData as d_, GetGithubSyncData as da, GetGithubSyncError as db, ConfigureGithubSyncData as dc, ConfigureGithubSyncResponse as dd, ConfigureGithubSyncError as de, RemoveGithubSyncData as df, RemoveGithubSyncResponse as dg, RemoveGithubSyncError as dh, HandleGetRepoInfoData as di, HandleGetRepoInfoResponse as dj, HandleGetRepoInfoError as dk, HandleDeleteRepoData as dl, HandleDeleteRepoError as dm, HandleGetContentsData as dn, HandleGetContentsError as dp, HandleGetBlobData as dq, HandleGetBlobResponse as dr, HandleGetBlobError as ds, HandleListCommitsData as dt, HandleListCommitsResponse as du, HandleListCommitsError as dv, HandleGetCommitData as dw, HandleGetCommitResponse as dx, HandleGetCommitError as dy, HandleGetRefBranchData as dz, FreestyleCloudstateDeploySuccessResponse as e, GetVmData as e0, DeleteVmData as e1, WaitVmData as e2, ExecAwaitData as e3, GetFileData as e4, PutFileData as e5, ForkVmData as e6, OptimizeVmData as e7, StartVmData as e8, StopVmData as e9, SuspendVmData as ea, ListTerminalsData as eb, GetTerminalLogsData as ec, GetTerminalXtermData as ed, WatchFilesData as ee, HandleDeployWebData as ef, HandleDeployWebResponse as eg, HandleDeployWebError as eh, HandleDeployWebV2Data as ei, HandleDeployWebV2Response as ej, HandleDeployWebV2Error as ek, HandleListWebDeploysData as el, HandleListWebDeploysError as em, HandleGetWebDeployDetailsData as en, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleVerifyDomainError as i, HandleListDomainsResponse as j, HandleListDomainVerificationRequestsResponse as k, HandleDeleteDomainVerificationResponse as l, HandleListWebDeploysResponse as m, HandleListExecuteRunsResponse as n, HandleGetExecuteRunResponse as o, HandleVerifyWildcardResponse as p, HandleInsertDomainMappingResponse as q, HandleListDomainMappingsResponse as r, DevServerConfiguration as s, CreateRepoImport as t, CreateRepositoryResponseSuccess as u, HandleListRepositoriesResponse as v, HandleDeleteRepoResponse as w, HandleDeleteIdentityResponse as x, HandleGrantPermissionResponse as y, DescribePermissionResponseSuccess as z };