freestyle-sandboxes 0.0.67 → 0.0.69

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.
@@ -1,4 +1,4 @@
1
- import { D as DeploymentSource } from '../types.gen-BbekD8Sd.js';
1
+ import { D as DeploymentSource } from '../types.gen-wmZuN8DG.js';
2
2
 
3
3
  declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
4
4
  declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
@@ -1,4 +1,4 @@
1
- import { D as DeploymentSource } from '../types.gen-BbekD8Sd.js';
1
+ import { D as DeploymentSource } from '../types.gen-wmZuN8DG.js';
2
2
 
3
3
  declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
4
4
  declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
@@ -1,4 +1,4 @@
1
- import { D as DeploymentSource } from '../types.gen-BbekD8Sd.js';
1
+ import { D as DeploymentSource } from '../types.gen-wmZuN8DG.js';
2
2
 
3
3
  declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
4
4
  declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
@@ -1,4 +1,4 @@
1
- import { D as DeploymentSource } from '../types.gen-BbekD8Sd.js';
1
+ import { D as DeploymentSource } from '../types.gen-wmZuN8DG.js';
2
2
 
3
3
  declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
4
4
  declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  import { createClient, createConfig, type OptionsLegacyParser } from '@hey-api/client-fetch';
4
- import type { HandleDeployCloudstateData, HandleDeployCloudstateError, HandleDeployCloudstateResponse, HandleBackupCloudstateData, HandleBackupCloudstateError, HandleBackupCloudstateResponse, HandleListRecordsData, HandleListRecordsError, HandleListRecordsResponse, HandleCreateRecordData, HandleCreateRecordError, HandleCreateRecordResponse, HandleDeleteRecordData, HandleDeleteRecordError, HandleDeleteRecordResponse, HandleVerifyWildcardData, HandleVerifyWildcardError, HandleVerifyWildcardResponse, HandleListDomainsError, HandleListDomainsResponse, HandleInsertDomainMappingData, HandleInsertDomainMappingError, HandleInsertDomainMappingResponse, HandleDeleteDomainMappingData, HandleDeleteDomainMappingError, HandleDeleteDomainMappingResponse, HandleListDomainVerificationRequestsError, HandleListDomainVerificationRequestsResponse, HandleVerifyDomainData, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleCreateDomainVerificationData, HandleCreateDomainVerificationError, HandleCreateDomainVerificationResponse, HandleDeleteDomainVerificationData, HandleDeleteDomainVerificationError, HandleDeleteDomainVerificationResponse, HandleEphemeralDevServerData, HandleEphemeralDevServerError, HandleEphemeralDevServerResponse, HandleExecOnEphemeralDevServerData, HandleExecOnEphemeralDevServerError, HandleExecOnEphemeralDevServerResponse, HandleWriteFileFromEphemeralDevServerData, HandleWriteFileFromEphemeralDevServerError, HandleWriteFileFromEphemeralDevServerResponse, HandleReadFileFromEphemeralDevServerData, HandleReadFileFromEphemeralDevServerError, HandleReadFileFromEphemeralDevServerResponse, HandleGitCommitPushData, HandleGitCommitPushError, HandleGitCommitPushResponse, HandleDevServerStatusData, HandleDevServerStatusError, HandleDevServerStatusResponse, HandleListExecuteRunsData, HandleListExecuteRunsError, HandleListExecuteRunsResponse, HandleGetExecuteRunData, HandleGetExecuteRunError, HandleGetExecuteRunResponse, HandleExecuteScriptData, HandleExecuteScriptError, HandleExecuteScriptResponse, HandleListIdentitiesData, HandleListIdentitiesError, HandleListIdentitiesResponse, HandleCreateIdentityError, HandleCreateIdentityResponse, HandleDeleteIdentityData, HandleDeleteIdentityError, HandleDeleteIdentityResponse, HandleListPermissionsData, HandleListPermissionsError, HandleListPermissionsResponse, HandleDescribePermissionData, HandleDescribePermissionError, HandleDescribePermissionResponse, HandleGrantPermissionData, HandleGrantPermissionError, HandleGrantPermissionResponse, HandleRevokePermissionData, HandleRevokePermissionError, HandleRevokePermissionResponse, HandleUpdatePermissionData, HandleUpdatePermissionError, HandleUpdatePermissionResponse, HandleListGitTokensData, HandleListGitTokensError, HandleListGitTokensResponse, HandleCreateGitTokenData, HandleCreateGitTokenError, HandleCreateGitTokenResponse, HandleRevokeGitTokenData, HandleRevokeGitTokenError, HandleRevokeGitTokenResponse, HandleListRepositoriesData, HandleListRepositoriesError, HandleListRepositoriesResponse, HandleCreateRepoData, HandleCreateRepoError, HandleCreateRepoResponse, HandleGetBlobData, HandleGetBlobError, HandleGetBlobResponse, HandleGetCommitData, HandleGetCommitError, HandleGetCommitResponse, HandleGetTagData, HandleGetTagError, HandleGetTagResponse, HandleGetTreeData, HandleGetTreeError, HandleGetTreeResponse, HandleDeleteRepoData, HandleDeleteRepoError, HandleDeleteRepoResponse, HandleListGitTriggersData, HandleListGitTriggersError, HandleListGitTriggersResponse, HandleCreateGitTriggerData, HandleCreateGitTriggerError, HandleCreateGitTriggerResponse, HandleDeleteGitTriggerData, HandleDeleteGitTriggerError, HandleDeleteGitTriggerResponse, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse, HandleDeployWebData, HandleDeployWebError, HandleDeployWebResponse, HandleDeployWebV2Data, HandleDeployWebV2Error, HandleDeployWebV2Response, HandleListWebDeploysData, HandleListWebDeploysError, HandleListWebDeploysResponse, HandleGetWebDeployDetailsData } from './types.gen';
4
+ import type { HandleDeployCloudstateData, HandleDeployCloudstateError, HandleDeployCloudstateResponse, HandleBackupCloudstateData, HandleBackupCloudstateError, HandleBackupCloudstateResponse, HandleListRecordsData, HandleListRecordsError, HandleListRecordsResponse, HandleCreateRecordData, HandleCreateRecordError, HandleCreateRecordResponse, HandleDeleteRecordData, HandleDeleteRecordError, HandleDeleteRecordResponse, HandleVerifyWildcardData, HandleVerifyWildcardError, HandleVerifyWildcardResponse, HandleListDomainsError, HandleListDomainsResponse, HandleInsertDomainMappingData, HandleInsertDomainMappingError, HandleInsertDomainMappingResponse, HandleDeleteDomainMappingData, HandleDeleteDomainMappingError, HandleDeleteDomainMappingResponse, HandleListDomainVerificationRequestsError, HandleListDomainVerificationRequestsResponse, HandleVerifyDomainData, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleCreateDomainVerificationData, HandleCreateDomainVerificationError, HandleCreateDomainVerificationResponse, HandleDeleteDomainVerificationData, HandleDeleteDomainVerificationError, HandleDeleteDomainVerificationResponse, HandleEphemeralDevServerData, HandleEphemeralDevServerError, HandleEphemeralDevServerResponse, HandleExecOnEphemeralDevServerData, HandleExecOnEphemeralDevServerError, HandleExecOnEphemeralDevServerResponse, HandleWriteFileFromEphemeralDevServerData, HandleWriteFileFromEphemeralDevServerError, HandleWriteFileFromEphemeralDevServerResponse, HandleReadFileFromEphemeralDevServerData, HandleReadFileFromEphemeralDevServerError, HandleReadFileFromEphemeralDevServerResponse, HandleGitCommitPushData, HandleGitCommitPushError, HandleGitCommitPushResponse, HandleShutdownDevServerData, HandleShutdownDevServerError, HandleShutdownDevServerResponse, HandleDevServerStatusData, HandleDevServerStatusError, HandleDevServerStatusResponse, HandleListExecuteRunsData, HandleListExecuteRunsError, HandleListExecuteRunsResponse, HandleGetExecuteRunData, HandleGetExecuteRunError, HandleGetExecuteRunResponse, HandleExecuteScriptData, HandleExecuteScriptError, HandleExecuteScriptResponse, HandleListIdentitiesData, HandleListIdentitiesError, HandleListIdentitiesResponse, HandleCreateIdentityError, HandleCreateIdentityResponse, HandleDeleteIdentityData, HandleDeleteIdentityError, HandleDeleteIdentityResponse, HandleListPermissionsData, HandleListPermissionsError, HandleListPermissionsResponse, HandleDescribePermissionData, HandleDescribePermissionError, HandleDescribePermissionResponse, HandleGrantPermissionData, HandleGrantPermissionError, HandleGrantPermissionResponse, HandleRevokePermissionData, HandleRevokePermissionError, HandleRevokePermissionResponse, HandleUpdatePermissionData, HandleUpdatePermissionError, HandleUpdatePermissionResponse, HandleListGitTokensData, HandleListGitTokensError, HandleListGitTokensResponse, HandleCreateGitTokenData, HandleCreateGitTokenError, HandleCreateGitTokenResponse, HandleRevokeGitTokenData, HandleRevokeGitTokenError, HandleRevokeGitTokenResponse, HandleListRepositoriesData, HandleListRepositoriesError, HandleListRepositoriesResponse, HandleCreateRepoData, HandleCreateRepoError, HandleCreateRepoResponse, HandleDeleteRepoData, HandleDeleteRepoError, HandleDeleteRepoResponse, HandleGetBlobData, HandleGetBlobError, HandleGetBlobResponse, HandleGetCommitData, HandleGetCommitError, HandleGetCommitResponse, HandleGetRefBranchData, HandleGetRefBranchError, HandleGetRefBranchResponse, HandleGetTagData, HandleGetTagError, HandleGetTagResponse, HandleGetTreeData, HandleGetTreeError, HandleGetTreeResponse, HandleListGitTriggersData, HandleListGitTriggersError, HandleListGitTriggersResponse, HandleCreateGitTriggerData, HandleCreateGitTriggerError, HandleCreateGitTriggerResponse, HandleDeleteGitTriggerData, HandleDeleteGitTriggerError, HandleDeleteGitTriggerResponse, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse, HandleGetRefTagData, HandleGetRefTagError, HandleGetRefTagResponse, HandleDeployWebData, HandleDeployWebError, HandleDeployWebResponse, HandleDeployWebV2Data, HandleDeployWebV2Error, HandleDeployWebV2Response, HandleListWebDeploysData, HandleListWebDeploysError, HandleListWebDeploysResponse, HandleGetWebDeployDetailsData } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -199,6 +199,16 @@ export const handleGitCommitPush = <ThrowOnError extends boolean = false>(option
199
199
  });
200
200
  };
201
201
 
202
+ /**
203
+ * Shut down a dev server
204
+ */
205
+ export const handleShutdownDevServer = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleShutdownDevServerData, ThrowOnError>) => {
206
+ return (options?.client ?? client).post<HandleShutdownDevServerResponse, HandleShutdownDevServerError, ThrowOnError>({
207
+ ...options,
208
+ url: '/ephemeral/v1/dev-servers/shutdown'
209
+ });
210
+ };
211
+
202
212
  /**
203
213
  * Get the status of a Dev Server
204
214
  */
@@ -391,6 +401,17 @@ export const handleCreateRepo = <ThrowOnError extends boolean = false>(options:
391
401
  });
392
402
  };
393
403
 
404
+ /**
405
+ * Delete a repository
406
+ * Delete a repository. This is irreversible, and will also delete the repository on the Git server.
407
+ */
408
+ export const handleDeleteRepo = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleDeleteRepoData, ThrowOnError>) => {
409
+ return (options?.client ?? client).delete<HandleDeleteRepoResponse, HandleDeleteRepoError, ThrowOnError>({
410
+ ...options,
411
+ url: '/git/v1/repo/{repo}'
412
+ });
413
+ };
414
+
394
415
  /**
395
416
  * Get a blob object
396
417
  * Get a blob from the Git database. The contents will always be base64 encoded.
@@ -398,7 +419,7 @@ export const handleCreateRepo = <ThrowOnError extends boolean = false>(options:
398
419
  export const handleGetBlob = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetBlobData, ThrowOnError>) => {
399
420
  return (options?.client ?? client).get<HandleGetBlobResponse, HandleGetBlobError, ThrowOnError>({
400
421
  ...options,
401
- url: '/git/v1/repo/{repo_id}/git/blobs/{hash}'
422
+ url: '/git/v1/repo/{repo}/git/blobs/{hash}'
402
423
  });
403
424
  };
404
425
 
@@ -409,7 +430,18 @@ export const handleGetBlob = <ThrowOnError extends boolean = false>(options: Opt
409
430
  export const handleGetCommit = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetCommitData, ThrowOnError>) => {
410
431
  return (options?.client ?? client).get<HandleGetCommitResponse, HandleGetCommitError, ThrowOnError>({
411
432
  ...options,
412
- url: '/git/v1/repo/{repo_id}/git/commits/{hash}'
433
+ url: '/git/v1/repo/{repo}/git/commits/{hash}'
434
+ });
435
+ };
436
+
437
+ /**
438
+ * Get a branch reference
439
+ * Get a reference to a branch in the Git repository. Returns the ref name and SHA of the branch.
440
+ */
441
+ export const handleGetRefBranch = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetRefBranchData, ThrowOnError>) => {
442
+ return (options?.client ?? client).get<HandleGetRefBranchResponse, HandleGetRefBranchError, ThrowOnError>({
443
+ ...options,
444
+ url: '/git/v1/repo/{repo}/git/refs/heads/{*branch}'
413
445
  });
414
446
  };
415
447
 
@@ -420,7 +452,7 @@ export const handleGetCommit = <ThrowOnError extends boolean = false>(options: O
420
452
  export const handleGetTag = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetTagData, ThrowOnError>) => {
421
453
  return (options?.client ?? client).get<HandleGetTagResponse, HandleGetTagError, ThrowOnError>({
422
454
  ...options,
423
- url: '/git/v1/repo/{repo_id}/git/tags/{hash}'
455
+ url: '/git/v1/repo/{repo}/git/tags/{hash}'
424
456
  });
425
457
  };
426
458
 
@@ -431,18 +463,7 @@ export const handleGetTag = <ThrowOnError extends boolean = false>(options: Opti
431
463
  export const handleGetTree = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetTreeData, ThrowOnError>) => {
432
464
  return (options?.client ?? client).get<HandleGetTreeResponse, HandleGetTreeError, ThrowOnError>({
433
465
  ...options,
434
- url: '/git/v1/repo/{repo_id}/git/trees/{hash}'
435
- });
436
- };
437
-
438
- /**
439
- * Delete a repository
440
- * Delete a repository. This is irreversible, and will also delete the repository on the Git server.
441
- */
442
- export const handleDeleteRepo = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleDeleteRepoData, ThrowOnError>) => {
443
- return (options?.client ?? client).delete<HandleDeleteRepoResponse, HandleDeleteRepoError, ThrowOnError>({
444
- ...options,
445
- url: '/git/v1/repo/{repo}'
466
+ url: '/git/v1/repo/{repo}/git/trees/{hash}'
446
467
  });
447
468
  };
448
469
 
@@ -490,6 +511,17 @@ export const handleGetLogs = <ThrowOnError extends boolean = false>(options?: Op
490
511
  });
491
512
  };
492
513
 
514
+ /**
515
+ * Get a tag reference
516
+ * Get a reference to a tag in the Git repository. Returns the ref name and SHA of the tag.
517
+ */
518
+ export const handleGetRefTag = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetRefTagData, ThrowOnError>) => {
519
+ return (options?.client ?? client).get<HandleGetRefTagResponse, HandleGetRefTagError, ThrowOnError>({
520
+ ...options,
521
+ url: '/repos/{repo}/git/refs/tags/{*tag}'
522
+ });
523
+ };
524
+
493
525
  /**
494
526
  * @deprecated
495
527
  * Deploy a Website (v1)
@@ -189,6 +189,11 @@ export type DevServerRequest = {
189
189
  [key: string]: (string);
190
190
  } | null;
191
191
  repoId?: (string) | null;
192
+ computeClass?: (string) | null;
193
+ /**
194
+ * Timeout in seconds
195
+ */
196
+ timeout?: (number) | null;
192
197
  /**
193
198
  * @deprecated
194
199
  */
@@ -504,6 +509,20 @@ export type GitIdentity = {
504
509
  managed: boolean;
505
510
  };
506
511
 
512
+ /**
513
+ * A reference to a Git object
514
+ */
515
+ export type GitReference = {
516
+ /**
517
+ * The name of the ref (e.g., "refs/heads/main" or "refs/tags/v1.0.0")
518
+ */
519
+ name: string;
520
+ /**
521
+ * The SHA-1 hash of the Git object this reference points to
522
+ */
523
+ sha: string;
524
+ };
525
+
507
526
  export type GitRepositoryTrigger = {
508
527
  repositoryId: string;
509
528
  trigger: ({
@@ -574,6 +593,13 @@ export type RevokeGitTokenRequest = {
574
593
  tokenId: string;
575
594
  };
576
595
 
596
+ export type ShutdownDevServerRequest = {
597
+ /**
598
+ * The dev server to shutdown
599
+ */
600
+ devServer: DevServer;
601
+ };
602
+
577
603
  export type Signature = {
578
604
  /**
579
605
  * The date marker for this signature
@@ -834,6 +860,9 @@ export type HandleExecOnEphemeralDevServerError = (InternalServerError);
834
860
 
835
861
  export type HandleWriteFileFromEphemeralDevServerData = {
836
862
  body: WriteFileRequest;
863
+ path: {
864
+ filepath: unknown;
865
+ };
837
866
  };
838
867
 
839
868
  export type HandleWriteFileFromEphemeralDevServerResponse = ({
@@ -845,15 +874,28 @@ export type HandleWriteFileFromEphemeralDevServerError = (InternalServerError);
845
874
 
846
875
  export type HandleReadFileFromEphemeralDevServerData = {
847
876
  body: ReadFileRequest;
877
+ path: {
878
+ filepath: unknown;
879
+ };
848
880
  };
849
881
 
850
882
  export type HandleReadFileFromEphemeralDevServerResponse = ({
851
883
  id: string;
852
884
  isNew: boolean;
853
- content?: (null | FileReadContent);
885
+ content: ({
886
+ content: string;
887
+ encoding: string;
888
+ kind: 'file';
889
+ } | {
890
+ files: Array<(string)>;
891
+ kind: 'directory';
892
+ });
854
893
  });
855
894
 
856
- export type HandleReadFileFromEphemeralDevServerError = (InternalServerError);
895
+ export type HandleReadFileFromEphemeralDevServerError = ({
896
+ id: string;
897
+ isNew: boolean;
898
+ } | InternalServerError);
857
899
 
858
900
  export type HandleGitCommitPushData = {
859
901
  body: GitCommitPushRequest;
@@ -866,6 +908,19 @@ export type HandleGitCommitPushResponse = ({
866
908
 
867
909
  export type HandleGitCommitPushError = (InternalServerError);
868
910
 
911
+ export type HandleShutdownDevServerData = {
912
+ body: ShutdownDevServerRequest;
913
+ };
914
+
915
+ export type HandleShutdownDevServerResponse = ({
916
+ success: boolean;
917
+ message: string;
918
+ });
919
+
920
+ export type HandleShutdownDevServerError = ({
921
+ message: string;
922
+ } | InternalServerError);
923
+
869
924
  export type HandleDevServerStatusData = {
870
925
  body: DevServerStatusRequest;
871
926
  };
@@ -1125,16 +1180,31 @@ export type HandleCreateRepoError = ({
1125
1180
  message: string;
1126
1181
  });
1127
1182
 
1128
- export type HandleGetBlobData = {
1183
+ export type HandleDeleteRepoData = {
1129
1184
  path: {
1130
1185
  /**
1131
- * The blob hash
1186
+ * The repository id
1132
1187
  */
1133
- hash: string;
1188
+ repo: string;
1189
+ };
1190
+ };
1191
+
1192
+ export type HandleDeleteRepoResponse = ({
1193
+ [key: string]: unknown;
1194
+ });
1195
+
1196
+ export type HandleDeleteRepoError = ({
1197
+ message: string;
1198
+ } | {
1199
+ [key: string]: unknown;
1200
+ });
1201
+
1202
+ export type HandleGetBlobData = {
1203
+ path: {
1134
1204
  /**
1135
- * The repository ID
1205
+ * The repository id
1136
1206
  */
1137
- repo_id: string;
1207
+ repo: string;
1138
1208
  };
1139
1209
  };
1140
1210
 
@@ -1147,13 +1217,13 @@ export type HandleGetBlobError = ({
1147
1217
  export type HandleGetCommitData = {
1148
1218
  path: {
1149
1219
  /**
1150
- * The commit hash
1220
+ * The object's hash
1151
1221
  */
1152
1222
  hash: string;
1153
1223
  /**
1154
- * The repository ID
1224
+ * The repository id
1155
1225
  */
1156
- repo_id: string;
1226
+ repo: string;
1157
1227
  };
1158
1228
  };
1159
1229
 
@@ -1163,46 +1233,50 @@ export type HandleGetCommitError = ({
1163
1233
  message: string;
1164
1234
  });
1165
1235
 
1166
- export type HandleGetTagData = {
1236
+ export type HandleGetRefBranchData = {
1167
1237
  path: {
1168
1238
  /**
1169
- * The tag hash
1239
+ * The branch's name
1170
1240
  */
1171
- hash: string;
1241
+ branch: string;
1172
1242
  /**
1173
- * The repository ID
1243
+ * The repository id
1174
1244
  */
1175
- repo_id: string;
1245
+ repo: string;
1176
1246
  };
1177
1247
  };
1178
1248
 
1179
- export type HandleGetTagResponse = (TagObject);
1249
+ export type HandleGetRefBranchResponse = (GitReference);
1180
1250
 
1181
- export type HandleGetTagError = ({
1251
+ export type HandleGetRefBranchError = (unknown | {
1182
1252
  message: string;
1183
1253
  });
1184
1254
 
1185
- export type HandleGetTreeData = {
1255
+ export type HandleGetTagData = {
1186
1256
  path: {
1187
1257
  /**
1188
- * The tree hash
1258
+ * The object's hash
1189
1259
  */
1190
1260
  hash: string;
1191
1261
  /**
1192
- * The repository ID
1262
+ * The repository id
1193
1263
  */
1194
- repo_id: string;
1264
+ repo: string;
1195
1265
  };
1196
1266
  };
1197
1267
 
1198
- export type HandleGetTreeResponse = (TreeObject);
1268
+ export type HandleGetTagResponse = (TagObject);
1199
1269
 
1200
- export type HandleGetTreeError = ({
1270
+ export type HandleGetTagError = ({
1201
1271
  message: string;
1202
1272
  });
1203
1273
 
1204
- export type HandleDeleteRepoData = {
1274
+ export type HandleGetTreeData = {
1205
1275
  path: {
1276
+ /**
1277
+ * The object's hash
1278
+ */
1279
+ hash: string;
1206
1280
  /**
1207
1281
  * The repository id
1208
1282
  */
@@ -1210,14 +1284,10 @@ export type HandleDeleteRepoData = {
1210
1284
  };
1211
1285
  };
1212
1286
 
1213
- export type HandleDeleteRepoResponse = ({
1214
- [key: string]: unknown;
1215
- });
1287
+ export type HandleGetTreeResponse = (TreeObject);
1216
1288
 
1217
- export type HandleDeleteRepoError = ({
1289
+ export type HandleGetTreeError = ({
1218
1290
  message: string;
1219
- } | {
1220
- [key: string]: unknown;
1221
1291
  });
1222
1292
 
1223
1293
  export type HandleListGitTriggersData = {
@@ -1295,6 +1365,25 @@ export type HandleGetLogsResponse = (FreestyleGetLogsResponse);
1295
1365
 
1296
1366
  export type HandleGetLogsError = unknown;
1297
1367
 
1368
+ export type HandleGetRefTagData = {
1369
+ path: {
1370
+ /**
1371
+ * The repository id
1372
+ */
1373
+ repo: string;
1374
+ /**
1375
+ * The tag's name
1376
+ */
1377
+ tag: string;
1378
+ };
1379
+ };
1380
+
1381
+ export type HandleGetRefTagResponse = (GitReference);
1382
+
1383
+ export type HandleGetRefTagError = (unknown | {
1384
+ message: string;
1385
+ });
1386
+
1298
1387
  export type HandleDeployWebData = {
1299
1388
  body: FreestyleDeployWebPayload;
1300
1389
  };