@boatdev/sdk 1.10.0 → 1.12.0

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 (282) hide show
  1. package/.openapi-generator/FILES +64 -0
  2. package/dist/apis/BoatApi.d.ts +283 -26
  3. package/dist/apis/BoatApi.js +662 -29
  4. package/dist/esm/apis/BoatApi.d.ts +283 -26
  5. package/dist/esm/apis/BoatApi.js +662 -29
  6. package/dist/esm/models/CreateSandboxRequest.d.ts +38 -4
  7. package/dist/esm/models/CreateSandboxRequest.js +17 -0
  8. package/dist/esm/models/CreateSandboxRequestFilesInner.d.ts +52 -0
  9. package/dist/esm/models/CreateSandboxRequestFilesInner.js +56 -0
  10. package/dist/esm/models/CreateSandboxResponse.d.ts +7 -0
  11. package/dist/esm/models/CreateSandboxResponse.js +3 -0
  12. package/dist/esm/models/CreateSandboxResponseAllOfHostedPortsInner.d.ts +77 -0
  13. package/dist/esm/models/CreateSandboxResponseAllOfHostedPortsInner.js +64 -0
  14. package/dist/esm/models/CredentialId.d.ts +3 -0
  15. package/dist/esm/models/CredentialId.js +3 -0
  16. package/dist/esm/models/CredentialProfile.d.ts +7 -0
  17. package/dist/esm/models/CredentialProfile.js +3 -0
  18. package/dist/esm/models/DeletionOperation.d.ts +1 -1
  19. package/dist/esm/models/FileDeleteResponse.d.ts +57 -0
  20. package/dist/esm/models/FileDeleteResponse.js +59 -0
  21. package/dist/esm/models/FileEntry.d.ts +68 -0
  22. package/dist/esm/models/FileEntry.js +67 -0
  23. package/dist/esm/models/FileFindResponse.d.ts +70 -0
  24. package/dist/esm/models/FileFindResponse.js +66 -0
  25. package/dist/esm/models/FileFindResponseAllOfMatches.d.ts +44 -0
  26. package/dist/esm/models/FileFindResponseAllOfMatches.js +51 -0
  27. package/dist/esm/models/FileFolderRequest.d.ts +38 -0
  28. package/dist/esm/models/FileFolderRequest.js +45 -0
  29. package/dist/esm/models/FileInfoResponse.d.ts +95 -0
  30. package/dist/esm/models/FileInfoResponse.js +85 -0
  31. package/dist/esm/models/FileListResponse.d.ts +70 -0
  32. package/dist/esm/models/FileListResponse.js +68 -0
  33. package/dist/esm/models/FileMoveRequest.d.ts +44 -0
  34. package/dist/esm/models/FileMoveRequest.js +49 -0
  35. package/dist/esm/models/FileMoveResponse.d.ts +63 -0
  36. package/dist/esm/models/FileMoveResponse.js +63 -0
  37. package/dist/esm/models/FilePermissionsRequest.d.ts +38 -0
  38. package/dist/esm/models/FilePermissionsRequest.js +47 -0
  39. package/dist/esm/models/FileReplaceRequest.d.ts +44 -0
  40. package/dist/esm/models/FileReplaceRequest.js +51 -0
  41. package/dist/esm/models/FileReplaceResponse.d.ts +58 -0
  42. package/dist/esm/models/FileReplaceResponse.js +60 -0
  43. package/dist/esm/models/FileReplaceResponseAllOfResults.d.ts +50 -0
  44. package/dist/esm/models/FileReplaceResponseAllOfResults.js +51 -0
  45. package/dist/esm/models/FileSearchResponse.d.ts +69 -0
  46. package/dist/esm/models/FileSearchResponse.js +65 -0
  47. package/dist/esm/models/LimitsFields.d.ts +54 -16
  48. package/dist/esm/models/LimitsFields.js +16 -2
  49. package/dist/esm/models/LimitsFieldsOveragePrices.d.ts +51 -0
  50. package/dist/esm/models/LimitsFieldsOveragePrices.js +48 -0
  51. package/dist/esm/models/LimitsFieldsOveragePricesStartBracketsInner.d.ts +44 -0
  52. package/dist/esm/models/LimitsFieldsOveragePricesStartBracketsInner.js +45 -0
  53. package/dist/esm/models/LimitsFieldsPlanIncluded.d.ts +44 -0
  54. package/dist/esm/models/LimitsFieldsPlanIncluded.js +45 -0
  55. package/dist/esm/models/LimitsFieldsStartLimitsWithWallet.d.ts +44 -0
  56. package/dist/esm/models/LimitsFieldsStartLimitsWithWallet.js +45 -0
  57. package/dist/esm/models/LimitsFieldsWallet.d.ts +32 -0
  58. package/dist/esm/models/LimitsFieldsWallet.js +41 -0
  59. package/dist/esm/models/LimitsResponse.d.ts +54 -16
  60. package/dist/esm/models/LimitsResponse.js +16 -2
  61. package/dist/esm/models/NamedSnapshotAllowance.d.ts +9 -3
  62. package/dist/esm/models/NamedSnapshotAllowance.js +2 -0
  63. package/dist/esm/models/ResourceAccess.d.ts +38 -0
  64. package/dist/esm/models/ResourceAccess.js +47 -0
  65. package/dist/esm/models/ResourceAccessUpdate.d.ts +38 -0
  66. package/dist/esm/models/ResourceAccessUpdate.js +45 -0
  67. package/dist/esm/models/Sandbox.d.ts +7 -0
  68. package/dist/esm/models/Sandbox.js +3 -0
  69. package/dist/esm/models/SandboxEnvironment.d.ts +7 -0
  70. package/dist/esm/models/SandboxEnvironment.js +3 -0
  71. package/dist/esm/models/SandboxLastReboot.d.ts +47 -0
  72. package/dist/esm/models/SandboxLastReboot.js +51 -0
  73. package/dist/esm/models/SandboxListResponse.d.ts +7 -0
  74. package/dist/esm/models/SandboxListResponse.js +3 -0
  75. package/dist/esm/models/SandboxListResponseAllOfDeletedCost.d.ts +44 -0
  76. package/dist/esm/models/SandboxListResponseAllOfDeletedCost.js +51 -0
  77. package/dist/esm/models/SavedSnapshot.d.ts +83 -0
  78. package/dist/esm/models/SavedSnapshot.js +71 -0
  79. package/dist/esm/models/SavedSnapshotAllowance.d.ts +87 -0
  80. package/dist/esm/models/SavedSnapshotAllowance.js +59 -0
  81. package/dist/esm/models/SavedSnapshotDeletedResponse.d.ts +64 -0
  82. package/dist/esm/models/SavedSnapshotDeletedResponse.js +67 -0
  83. package/dist/esm/models/SavedSnapshotInfoResponse.d.ts +52 -0
  84. package/dist/esm/models/SavedSnapshotInfoResponse.js +58 -0
  85. package/dist/esm/models/SavedSnapshotListResponse.d.ts +59 -0
  86. package/dist/esm/models/SavedSnapshotListResponse.js +61 -0
  87. package/dist/esm/models/SavedSnapshotSaveRequest.d.ts +38 -0
  88. package/dist/esm/models/SavedSnapshotSaveRequest.js +47 -0
  89. package/dist/esm/models/SavedSnapshotSavingResponse.d.ts +65 -0
  90. package/dist/esm/models/SavedSnapshotSavingResponse.js +68 -0
  91. package/dist/esm/models/SnapshotSummary.d.ts +1 -1
  92. package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +7 -0
  93. package/dist/esm/models/UpdateCredentialProfileRequest.js +3 -0
  94. package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +7 -0
  95. package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +3 -0
  96. package/dist/esm/models/index.d.ts +32 -0
  97. package/dist/esm/models/index.js +32 -0
  98. package/dist/models/CreateSandboxRequest.d.ts +38 -4
  99. package/dist/models/CreateSandboxRequest.js +18 -1
  100. package/dist/models/CreateSandboxRequestFilesInner.d.ts +52 -0
  101. package/dist/models/CreateSandboxRequestFilesInner.js +64 -0
  102. package/dist/models/CreateSandboxResponse.d.ts +7 -0
  103. package/dist/models/CreateSandboxResponse.js +3 -0
  104. package/dist/models/CreateSandboxResponseAllOfHostedPortsInner.d.ts +77 -0
  105. package/dist/models/CreateSandboxResponseAllOfHostedPortsInner.js +72 -0
  106. package/dist/models/CredentialId.d.ts +3 -0
  107. package/dist/models/CredentialId.js +3 -0
  108. package/dist/models/CredentialProfile.d.ts +7 -0
  109. package/dist/models/CredentialProfile.js +3 -0
  110. package/dist/models/DeletionOperation.d.ts +1 -1
  111. package/dist/models/FileDeleteResponse.d.ts +57 -0
  112. package/dist/models/FileDeleteResponse.js +67 -0
  113. package/dist/models/FileEntry.d.ts +68 -0
  114. package/dist/models/FileEntry.js +74 -0
  115. package/dist/models/FileFindResponse.d.ts +70 -0
  116. package/dist/models/FileFindResponse.js +74 -0
  117. package/dist/models/FileFindResponseAllOfMatches.d.ts +44 -0
  118. package/dist/models/FileFindResponseAllOfMatches.js +58 -0
  119. package/dist/models/FileFolderRequest.d.ts +38 -0
  120. package/dist/models/FileFolderRequest.js +52 -0
  121. package/dist/models/FileInfoResponse.d.ts +95 -0
  122. package/dist/models/FileInfoResponse.js +93 -0
  123. package/dist/models/FileListResponse.d.ts +70 -0
  124. package/dist/models/FileListResponse.js +76 -0
  125. package/dist/models/FileMoveRequest.d.ts +44 -0
  126. package/dist/models/FileMoveRequest.js +56 -0
  127. package/dist/models/FileMoveResponse.d.ts +63 -0
  128. package/dist/models/FileMoveResponse.js +71 -0
  129. package/dist/models/FilePermissionsRequest.d.ts +38 -0
  130. package/dist/models/FilePermissionsRequest.js +54 -0
  131. package/dist/models/FileReplaceRequest.d.ts +44 -0
  132. package/dist/models/FileReplaceRequest.js +58 -0
  133. package/dist/models/FileReplaceResponse.d.ts +58 -0
  134. package/dist/models/FileReplaceResponse.js +68 -0
  135. package/dist/models/FileReplaceResponseAllOfResults.d.ts +50 -0
  136. package/dist/models/FileReplaceResponseAllOfResults.js +58 -0
  137. package/dist/models/FileSearchResponse.d.ts +69 -0
  138. package/dist/models/FileSearchResponse.js +73 -0
  139. package/dist/models/LimitsFields.d.ts +54 -16
  140. package/dist/models/LimitsFields.js +16 -2
  141. package/dist/models/LimitsFieldsOveragePrices.d.ts +51 -0
  142. package/dist/models/LimitsFieldsOveragePrices.js +55 -0
  143. package/dist/models/LimitsFieldsOveragePricesStartBracketsInner.d.ts +44 -0
  144. package/dist/models/LimitsFieldsOveragePricesStartBracketsInner.js +52 -0
  145. package/dist/models/LimitsFieldsPlanIncluded.d.ts +44 -0
  146. package/dist/models/LimitsFieldsPlanIncluded.js +52 -0
  147. package/dist/models/LimitsFieldsStartLimitsWithWallet.d.ts +44 -0
  148. package/dist/models/LimitsFieldsStartLimitsWithWallet.js +52 -0
  149. package/dist/models/LimitsFieldsWallet.d.ts +32 -0
  150. package/dist/models/LimitsFieldsWallet.js +48 -0
  151. package/dist/models/LimitsResponse.d.ts +54 -16
  152. package/dist/models/LimitsResponse.js +16 -2
  153. package/dist/models/NamedSnapshotAllowance.d.ts +9 -3
  154. package/dist/models/NamedSnapshotAllowance.js +2 -0
  155. package/dist/models/ResourceAccess.d.ts +38 -0
  156. package/dist/models/ResourceAccess.js +54 -0
  157. package/dist/models/ResourceAccessUpdate.d.ts +38 -0
  158. package/dist/models/ResourceAccessUpdate.js +52 -0
  159. package/dist/models/Sandbox.d.ts +7 -0
  160. package/dist/models/Sandbox.js +3 -0
  161. package/dist/models/SandboxEnvironment.d.ts +7 -0
  162. package/dist/models/SandboxEnvironment.js +3 -0
  163. package/dist/models/SandboxLastReboot.d.ts +47 -0
  164. package/dist/models/SandboxLastReboot.js +59 -0
  165. package/dist/models/SandboxListResponse.d.ts +7 -0
  166. package/dist/models/SandboxListResponse.js +3 -0
  167. package/dist/models/SandboxListResponseAllOfDeletedCost.d.ts +44 -0
  168. package/dist/models/SandboxListResponseAllOfDeletedCost.js +58 -0
  169. package/dist/models/SavedSnapshot.d.ts +83 -0
  170. package/dist/models/SavedSnapshot.js +79 -0
  171. package/dist/models/SavedSnapshotAllowance.d.ts +87 -0
  172. package/dist/models/SavedSnapshotAllowance.js +66 -0
  173. package/dist/models/SavedSnapshotDeletedResponse.d.ts +64 -0
  174. package/dist/models/SavedSnapshotDeletedResponse.js +75 -0
  175. package/dist/models/SavedSnapshotInfoResponse.d.ts +52 -0
  176. package/dist/models/SavedSnapshotInfoResponse.js +66 -0
  177. package/dist/models/SavedSnapshotListResponse.d.ts +59 -0
  178. package/dist/models/SavedSnapshotListResponse.js +69 -0
  179. package/dist/models/SavedSnapshotSaveRequest.d.ts +38 -0
  180. package/dist/models/SavedSnapshotSaveRequest.js +54 -0
  181. package/dist/models/SavedSnapshotSavingResponse.d.ts +65 -0
  182. package/dist/models/SavedSnapshotSavingResponse.js +76 -0
  183. package/dist/models/SnapshotSummary.d.ts +1 -1
  184. package/dist/models/UpdateCredentialProfileRequest.d.ts +7 -0
  185. package/dist/models/UpdateCredentialProfileRequest.js +3 -0
  186. package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +7 -0
  187. package/dist/models/UpdateSandboxEnvironmentRequest.js +3 -0
  188. package/dist/models/index.d.ts +32 -0
  189. package/dist/models/index.js +32 -0
  190. package/docs/BoatApi.md +1049 -61
  191. package/docs/CreateSandboxRequest.md +8 -0
  192. package/docs/CreateSandboxRequestFilesInner.md +36 -0
  193. package/docs/CreateSandboxResponse.md +2 -0
  194. package/docs/CreateSandboxResponseAllOfHostedPortsInner.md +44 -0
  195. package/docs/CredentialProfile.md +2 -0
  196. package/docs/FileDeleteResponse.md +38 -0
  197. package/docs/FileEntry.md +44 -0
  198. package/docs/FileFindResponse.md +42 -0
  199. package/docs/FileFindResponseAllOfMatches.md +36 -0
  200. package/docs/FileFolderRequest.md +34 -0
  201. package/docs/FileInfoResponse.md +50 -0
  202. package/docs/FileListResponse.md +42 -0
  203. package/docs/FileMoveRequest.md +36 -0
  204. package/docs/FileMoveResponse.md +40 -0
  205. package/docs/FilePermissionsRequest.md +34 -0
  206. package/docs/FileReplaceRequest.md +36 -0
  207. package/docs/FileReplaceResponse.md +38 -0
  208. package/docs/FileReplaceResponseAllOfResults.md +38 -0
  209. package/docs/FileSearchResponse.md +42 -0
  210. package/docs/LimitsFields.md +12 -2
  211. package/docs/LimitsFieldsOveragePrices.md +39 -0
  212. package/docs/LimitsFieldsOveragePricesStartBracketsInner.md +36 -0
  213. package/docs/LimitsFieldsPlanIncluded.md +37 -0
  214. package/docs/LimitsFieldsStartLimitsWithWallet.md +37 -0
  215. package/docs/LimitsFieldsWallet.md +33 -0
  216. package/docs/LimitsResponse.md +12 -2
  217. package/docs/NamedSnapshotAllowance.md +3 -1
  218. package/docs/ResourceAccess.md +35 -0
  219. package/docs/ResourceAccessUpdate.md +35 -0
  220. package/docs/Sandbox.md +2 -0
  221. package/docs/SandboxEnvironment.md +2 -0
  222. package/docs/SandboxLastReboot.md +35 -0
  223. package/docs/SandboxListResponse.md +2 -0
  224. package/docs/SandboxListResponseAllOfDeletedCost.md +37 -0
  225. package/docs/SavedSnapshot.md +47 -0
  226. package/docs/SavedSnapshotAllowance.md +51 -0
  227. package/docs/SavedSnapshotDeletedResponse.md +38 -0
  228. package/docs/SavedSnapshotInfoResponse.md +36 -0
  229. package/docs/SavedSnapshotListResponse.md +38 -0
  230. package/docs/SavedSnapshotSaveRequest.md +34 -0
  231. package/docs/SavedSnapshotSavingResponse.md +38 -0
  232. package/docs/UpdateCredentialProfileRequest.md +2 -0
  233. package/docs/UpdateSandboxEnvironmentRequest.md +2 -0
  234. package/package.json +1 -1
  235. package/src/apis/BoatApi.ts +999 -30
  236. package/src/models/CreateSandboxRequest.ts +60 -4
  237. package/src/models/CreateSandboxRequestFilesInner.ts +94 -0
  238. package/src/models/CreateSandboxResponse.ts +15 -0
  239. package/src/models/CreateSandboxResponseAllOfHostedPortsInner.ts +128 -0
  240. package/src/models/CredentialId.ts +3 -0
  241. package/src/models/CredentialProfile.ts +15 -0
  242. package/src/models/DeletionOperation.ts +1 -1
  243. package/src/models/FileDeleteResponse.ts +102 -0
  244. package/src/models/FileEntry.ts +120 -0
  245. package/src/models/FileFindResponse.ts +127 -0
  246. package/src/models/FileFindResponseAllOfMatches.ts +84 -0
  247. package/src/models/FileFolderRequest.ts +74 -0
  248. package/src/models/FileInfoResponse.ts +158 -0
  249. package/src/models/FileListResponse.ts +128 -0
  250. package/src/models/FileMoveRequest.ts +83 -0
  251. package/src/models/FileMoveResponse.ts +111 -0
  252. package/src/models/FilePermissionsRequest.ts +75 -0
  253. package/src/models/FileReplaceRequest.ts +84 -0
  254. package/src/models/FileReplaceResponse.ts +110 -0
  255. package/src/models/FileReplaceResponseAllOfResults.ts +91 -0
  256. package/src/models/FileSearchResponse.ts +119 -0
  257. package/src/models/LimitsFields.ts +90 -16
  258. package/src/models/LimitsFieldsOveragePrices.ts +97 -0
  259. package/src/models/LimitsFieldsOveragePricesStartBracketsInner.ts +81 -0
  260. package/src/models/LimitsFieldsPlanIncluded.ts +81 -0
  261. package/src/models/LimitsFieldsStartLimitsWithWallet.ts +81 -0
  262. package/src/models/LimitsFieldsWallet.ts +65 -0
  263. package/src/models/LimitsResponse.ts +90 -16
  264. package/src/models/NamedSnapshotAllowance.ts +11 -3
  265. package/src/models/ResourceAccess.ts +75 -0
  266. package/src/models/ResourceAccessUpdate.ts +74 -0
  267. package/src/models/Sandbox.ts +15 -0
  268. package/src/models/SandboxEnvironment.ts +15 -0
  269. package/src/models/SandboxLastReboot.ts +85 -0
  270. package/src/models/SandboxListResponse.ts +15 -0
  271. package/src/models/SandboxListResponseAllOfDeletedCost.ts +84 -0
  272. package/src/models/SavedSnapshot.ts +137 -0
  273. package/src/models/SavedSnapshotAllowance.ts +138 -0
  274. package/src/models/SavedSnapshotDeletedResponse.ts +111 -0
  275. package/src/models/SavedSnapshotInfoResponse.ts +102 -0
  276. package/src/models/SavedSnapshotListResponse.ts +117 -0
  277. package/src/models/SavedSnapshotSaveRequest.ts +75 -0
  278. package/src/models/SavedSnapshotSavingResponse.ts +119 -0
  279. package/src/models/SnapshotSummary.ts +1 -1
  280. package/src/models/UpdateCredentialProfileRequest.ts +16 -0
  281. package/src/models/UpdateSandboxEnvironmentRequest.ts +15 -0
  282. package/src/models/index.ts +32 -0
@@ -46,7 +46,18 @@ import { type DesktopRequest } from '../models/DesktopRequest';
46
46
  import { type DesktopResponse } from '../models/DesktopResponse';
47
47
  import { type EnvironmentItemChangeResponse } from '../models/EnvironmentItemChangeResponse';
48
48
  import { type EventsResponse } from '../models/EventsResponse';
49
+ import { type FileDeleteResponse } from '../models/FileDeleteResponse';
50
+ import { type FileFindResponse } from '../models/FileFindResponse';
51
+ import { type FileFolderRequest } from '../models/FileFolderRequest';
52
+ import { type FileInfoResponse } from '../models/FileInfoResponse';
53
+ import { type FileListResponse } from '../models/FileListResponse';
54
+ import { type FileMoveRequest } from '../models/FileMoveRequest';
55
+ import { type FileMoveResponse } from '../models/FileMoveResponse';
56
+ import { type FilePermissionsRequest } from '../models/FilePermissionsRequest';
49
57
  import { type FileReadResponse } from '../models/FileReadResponse';
58
+ import { type FileReplaceRequest } from '../models/FileReplaceRequest';
59
+ import { type FileReplaceResponse } from '../models/FileReplaceResponse';
60
+ import { type FileSearchResponse } from '../models/FileSearchResponse';
50
61
  import { type FileUrlRequest } from '../models/FileUrlRequest';
51
62
  import { type FileUrlResponse } from '../models/FileUrlResponse';
52
63
  import { type FileWriteRequest } from '../models/FileWriteRequest';
@@ -82,6 +93,11 @@ import { type SandboxEnvironmentResponse } from '../models/SandboxEnvironmentRes
82
93
  import { type SandboxInfoResponse } from '../models/SandboxInfoResponse';
83
94
  import { type SandboxListResponse } from '../models/SandboxListResponse';
84
95
  import { type SandboxUsageResponse } from '../models/SandboxUsageResponse';
96
+ import { type SavedSnapshotDeletedResponse } from '../models/SavedSnapshotDeletedResponse';
97
+ import { type SavedSnapshotInfoResponse } from '../models/SavedSnapshotInfoResponse';
98
+ import { type SavedSnapshotListResponse } from '../models/SavedSnapshotListResponse';
99
+ import { type SavedSnapshotSaveRequest } from '../models/SavedSnapshotSaveRequest';
100
+ import { type SavedSnapshotSavingResponse } from '../models/SavedSnapshotSavingResponse';
85
101
  import { type SecretsResponse } from '../models/SecretsResponse';
86
102
  import { type SecretsUpdateRequest } from '../models/SecretsUpdateRequest';
87
103
  import { type SetCredentialKeyRequest } from '../models/SetCredentialKeyRequest';
@@ -187,6 +203,10 @@ export interface CreateEnvironmentRequest {
187
203
  createSandboxEnvironmentRequest: CreateSandboxEnvironmentRequest;
188
204
  org?: string;
189
205
  }
206
+ export interface CreateFolderRequest {
207
+ sandboxId: string;
208
+ fileFolderRequest: FileFolderRequest;
209
+ }
190
210
  export interface CreateScopedApiKeyOperationRequest {
191
211
  createScopedApiKeyRequest: CreateScopedApiKeyRequest;
192
212
  }
@@ -235,6 +255,11 @@ export interface DeleteEnvironmentVarRequest {
235
255
  key: string;
236
256
  org?: string;
237
257
  }
258
+ export interface DeleteFileRequest {
259
+ sandboxId: string;
260
+ path: string;
261
+ recursive?: boolean;
262
+ }
238
263
  export interface DeleteNamedSnapshotRequest {
239
264
  name: string;
240
265
  }
@@ -246,6 +271,9 @@ export interface DeleteSandboxSnapshotsRequest {
246
271
  sandboxId: string;
247
272
  xAsciiConfirmDelete: string;
248
273
  }
274
+ export interface DeleteSavedSnapshotRequest {
275
+ name: string;
276
+ }
249
277
  export interface DeleteSnapshotRequest {
250
278
  snapshotId: string;
251
279
  xAsciiConfirmDelete: string;
@@ -270,6 +298,12 @@ export interface EventsRequest {
270
298
  type?: string;
271
299
  conversation?: string;
272
300
  }
301
+ export interface FindInFilesRequest {
302
+ sandboxId: string;
303
+ pattern: string;
304
+ path?: string;
305
+ regex?: boolean;
306
+ }
273
307
  export interface ForkOperationRequest {
274
308
  sandboxId: string;
275
309
  idempotencyKey?: string;
@@ -295,6 +329,10 @@ export interface GetCommandRequest {
295
329
  export interface GetDeletionOperationRequest {
296
330
  operationId: string;
297
331
  }
332
+ export interface GetFileInfoRequest {
333
+ sandboxId: string;
334
+ path: string;
335
+ }
298
336
  export interface GetLatestSandboxSnapshotRequest {
299
337
  sandboxId: string;
300
338
  }
@@ -305,6 +343,9 @@ export interface GetSandboxAiUsageRequest {
305
343
  sandboxId: string;
306
344
  days?: number;
307
345
  }
346
+ export interface GetSavedSnapshotRequest {
347
+ name: string;
348
+ }
308
349
  export interface GetSnapshotDownloadRequest {
309
350
  snapshotId: string;
310
351
  }
@@ -339,6 +380,10 @@ export interface ListCredentialAccountsRequest {
339
380
  profile: string;
340
381
  credential: CredentialId;
341
382
  }
383
+ export interface ListFilesRequest {
384
+ sandboxId: string;
385
+ path?: string;
386
+ }
342
387
  export interface ListSandboxSnapshotsRequest {
343
388
  sandboxId: string;
344
389
  limit?: number;
@@ -353,6 +398,10 @@ export interface ListSnapshotsRequest {
353
398
  cursor?: string | null;
354
399
  sort?: ListSnapshotsSortEnum;
355
400
  }
401
+ export interface MoveFileRequest {
402
+ sandboxId: string;
403
+ fileMoveRequest: FileMoveRequest;
404
+ }
356
405
  export interface ProcessesRequest {
357
406
  sandboxId: string;
358
407
  }
@@ -372,6 +421,10 @@ export interface ReadFileRequest {
372
421
  export interface RecoverRequest {
373
422
  sandboxId: string;
374
423
  }
424
+ export interface ReplaceInFilesRequest {
425
+ sandboxId: string;
426
+ fileReplaceRequest: FileReplaceRequest;
427
+ }
375
428
  export interface ReposRequest {
376
429
  sync?: boolean;
377
430
  limit?: number;
@@ -409,6 +462,14 @@ export interface SandboxesRequest {
409
462
  export interface SaveNamedSnapshotRequest {
410
463
  namedSnapshotSaveRequest: NamedSnapshotSaveRequest;
411
464
  }
465
+ export interface SaveSavedSnapshotRequest {
466
+ savedSnapshotSaveRequest: SavedSnapshotSaveRequest;
467
+ }
468
+ export interface SearchFilesRequest {
469
+ sandboxId: string;
470
+ pattern: string;
471
+ path?: string;
472
+ }
412
473
  export interface SelectRepoRequest {
413
474
  repoSelectionRequest: RepoSelectionRequest;
414
475
  }
@@ -436,6 +497,10 @@ export interface SetEnvironmentVarOperationRequest {
436
497
  setEnvironmentVarRequest: SetEnvironmentVarRequest;
437
498
  org?: string;
438
499
  }
500
+ export interface SetFilePermissionsRequest {
501
+ sandboxId: string;
502
+ filePermissionsRequest: FilePermissionsRequest;
503
+ }
439
504
  export interface SetSandboxAiAccessOperationRequest {
440
505
  sandboxId: string;
441
506
  setSandboxAiAccessRequest: SetSandboxAiAccessRequest;
@@ -731,17 +796,31 @@ export declare class BoatApi extends runtime.BaseAPI {
731
796
  * Create a sandbox environment
732
797
  */
733
798
  createEnvironment(requestParameters: CreateEnvironmentRequest | runtime.FlatBody<CreateEnvironmentRequest, 'createSandboxEnvironmentRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxEnvironmentListResponse>;
799
+ /**
800
+ * Creates request options for createFolder without sending the request
801
+ */
802
+ createFolderRequestOpts(input: CreateFolderRequest | runtime.FlatBody<CreateFolderRequest, 'fileFolderRequest'>): Promise<runtime.RequestOpts>;
803
+ /**
804
+ * Missing parent directories are created. An existing directory is not an error. Needs `file.write`.
805
+ * Create a directory in a sandbox
806
+ */
807
+ createFolderRaw(requestParameters: CreateFolderRequest | runtime.FlatBody<CreateFolderRequest, 'fileFolderRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileInfoResponse>>;
808
+ /**
809
+ * Missing parent directories are created. An existing directory is not an error. Needs `file.write`.
810
+ * Create a directory in a sandbox
811
+ */
812
+ createFolder(requestParameters: CreateFolderRequest | runtime.FlatBody<CreateFolderRequest, 'fileFolderRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileInfoResponse>;
734
813
  /**
735
814
  * Creates request options for createScopedApiKey without sending the request
736
815
  */
737
816
  createScopedApiKeyRequestOpts(input: CreateScopedApiKeyOperationRequest | runtime.FlatBody<CreateScopedApiKeyOperationRequest, 'createScopedApiKeyRequest'>): Promise<runtime.RequestOpts>;
738
817
  /**
739
- * Creates a scoped, expiring API key. Requires a dashboard/CLI session or an admin-scoped token. The secret is returned once. This dedicated path returns a typed 503 until scoped credential creation is activated.
818
+ * Creates a scoped, expiring API key. Requires a dashboard/CLI session or an admin-scoped token. The secret is returned once. An unknown field is a 400, so a misspelled scope never creates a full-access key. environmentIds takes your own environments and the org environments you can use. This dedicated path returns a typed 503 until scoped credential creation is activated.
740
819
  * Create a scoped API key
741
820
  */
742
821
  createScopedApiKeyRaw(requestParameters: CreateScopedApiKeyOperationRequest | runtime.FlatBody<CreateScopedApiKeyOperationRequest, 'createScopedApiKeyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiKeySecretResponse>>;
743
822
  /**
744
- * Creates a scoped, expiring API key. Requires a dashboard/CLI session or an admin-scoped token. The secret is returned once. This dedicated path returns a typed 503 until scoped credential creation is activated.
823
+ * Creates a scoped, expiring API key. Requires a dashboard/CLI session or an admin-scoped token. The secret is returned once. An unknown field is a 400, so a misspelled scope never creates a full-access key. environmentIds takes your own environments and the org environments you can use. This dedicated path returns a typed 503 until scoped credential creation is activated.
745
824
  * Create a scoped API key
746
825
  */
747
826
  createScopedApiKey(requestParameters: CreateScopedApiKeyOperationRequest | runtime.FlatBody<CreateScopedApiKeyOperationRequest, 'createScopedApiKeyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiKeySecretResponse>;
@@ -750,13 +829,13 @@ export declare class BoatApi extends runtime.BaseAPI {
750
829
  */
751
830
  createSnapshotShareRequestOpts(requestParameters: CreateSnapshotShareRequest): Promise<runtime.RequestOpts>;
752
831
  /**
753
- * Make a secret code that lets any Boat account create a sandbox from this named snapshot (`boat snapshot share <name>` in the CLI). The response shows the code once; Boat stores only a hash. Re-saving the name changes what the code deploys. Removing the name removes its codes. Everything on the disk is shared, so do not keep secrets in files on it. Needs `snapshot.write`.
754
- * Share a named snapshot
832
+ * Make a secret code that lets any Boat account create a sandbox from this saved snapshot (`boat snapshot share <name>` in the CLI). The response shows the code once; Boat stores only a hash. Re-saving the name changes what the code deploys. Removing the name removes its codes. Everything on the disk is shared, so do not keep secrets in files on it. Needs `snapshot.write`.
833
+ * Share a saved snapshot
755
834
  */
756
835
  createSnapshotShareRaw(requestParameters: CreateSnapshotShareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotShareCreatedResponse>>;
757
836
  /**
758
- * Make a secret code that lets any Boat account create a sandbox from this named snapshot (`boat snapshot share <name>` in the CLI). The response shows the code once; Boat stores only a hash. Re-saving the name changes what the code deploys. Removing the name removes its codes. Everything on the disk is shared, so do not keep secrets in files on it. Needs `snapshot.write`.
759
- * Share a named snapshot
837
+ * Make a secret code that lets any Boat account create a sandbox from this saved snapshot (`boat snapshot share <name>` in the CLI). The response shows the code once; Boat stores only a hash. Re-saving the name changes what the code deploys. Removing the name removes its codes. Everything on the disk is shared, so do not keep secrets in files on it. Needs `snapshot.write`.
838
+ * Share a saved snapshot
760
839
  */
761
840
  createSnapshotShare(requestParameters: CreateSnapshotShareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotShareCreatedResponse>;
762
841
  /**
@@ -899,18 +978,35 @@ export declare class BoatApi extends runtime.BaseAPI {
899
978
  * Remove one environment variable
900
979
  */
901
980
  deleteEnvironmentVar(requestParameters: DeleteEnvironmentVarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnvironmentItemChangeResponse>;
981
+ /**
982
+ * Creates request options for deleteFile without sending the request
983
+ */
984
+ deleteFileRequestOpts(requestParameters: DeleteFileRequest): Promise<runtime.RequestOpts>;
985
+ /**
986
+ * A directory needs `recursive=true`. A symlink is deleted itself, never its target. /home/user and /tmp themselves cannot be deleted. Needs `file.write`.
987
+ * Delete a file or directory in a sandbox
988
+ */
989
+ deleteFileRaw(requestParameters: DeleteFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileDeleteResponse>>;
990
+ /**
991
+ * A directory needs `recursive=true`. A symlink is deleted itself, never its target. /home/user and /tmp themselves cannot be deleted. Needs `file.write`.
992
+ * Delete a file or directory in a sandbox
993
+ */
994
+ deleteFile(requestParameters: DeleteFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileDeleteResponse>;
902
995
  /**
903
996
  * Creates request options for deleteNamedSnapshot without sending the request
997
+ * @deprecated
904
998
  */
905
999
  deleteNamedSnapshotRequestOpts(requestParameters: DeleteNamedSnapshotRequest): Promise<runtime.RequestOpts>;
906
1000
  /**
907
1001
  * Remove a named snapshot and release its storage (`boat snapshot rm <name>` in the CLI). Sandboxes already deployed from it are unaffected.
908
1002
  * Remove a named snapshot
1003
+ * @deprecated
909
1004
  */
910
1005
  deleteNamedSnapshotRaw(requestParameters: DeleteNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotDeletedResponse>>;
911
1006
  /**
912
1007
  * Remove a named snapshot and release its storage (`boat snapshot rm <name>` in the CLI). Sandboxes already deployed from it are unaffected.
913
1008
  * Remove a named snapshot
1009
+ * @deprecated
914
1010
  */
915
1011
  deleteNamedSnapshot(requestParameters: DeleteNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotDeletedResponse>;
916
1012
  /**
@@ -918,12 +1014,12 @@ export declare class BoatApi extends runtime.BaseAPI {
918
1014
  */
919
1015
  deleteSandboxRequestOpts(requestParameters: DeleteSandboxRequest): Promise<runtime.RequestOpts>;
920
1016
  /**
921
- * Accept irreversible background deletion of the sandbox machine, snapshots, and content-bearing records. This is not archive: the sandbox cannot be resumed. Named snapshots and other shared artifacts remain independent. Poll the returned operation until `completed`.
1017
+ * Accept irreversible background deletion of the sandbox machine, snapshots, and content-bearing records. This is not archive: the sandbox cannot be resumed. Saved snapshots and other shared artifacts remain independent. Poll the returned operation until `completed`.
922
1018
  * Permanently delete sandbox data
923
1019
  */
924
1020
  deleteSandboxRaw(requestParameters: DeleteSandboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeletionOperationResponse>>;
925
1021
  /**
926
- * Accept irreversible background deletion of the sandbox machine, snapshots, and content-bearing records. This is not archive: the sandbox cannot be resumed. Named snapshots and other shared artifacts remain independent. Poll the returned operation until `completed`.
1022
+ * Accept irreversible background deletion of the sandbox machine, snapshots, and content-bearing records. This is not archive: the sandbox cannot be resumed. Saved snapshots and other shared artifacts remain independent. Poll the returned operation until `completed`.
927
1023
  * Permanently delete sandbox data
928
1024
  */
929
1025
  deleteSandbox(requestParameters: DeleteSandboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeletionOperationResponse>;
@@ -932,15 +1028,29 @@ export declare class BoatApi extends runtime.BaseAPI {
932
1028
  */
933
1029
  deleteSandboxSnapshotsRequestOpts(requestParameters: DeleteSandboxSnapshotsRequest): Promise<runtime.RequestOpts>;
934
1030
  /**
935
- * Accept irreversible deletion of every unpinned snapshot of this sandbox. The sandbox itself and its named snapshots stay. Snapshots disappear from lists, restores and forks immediately; their stored data is purged in the background. Set `X-Ascii-Confirm-Delete` to the sandbox id.
1031
+ * Accept irreversible deletion of every unpinned snapshot of this sandbox. The sandbox itself and its saved snapshots stay. Snapshots disappear from lists, restores and forks immediately; their stored data is purged in the background. Set `X-Ascii-Confirm-Delete` to the sandbox id.
936
1032
  * Permanently delete all snapshots of a sandbox
937
1033
  */
938
1034
  deleteSandboxSnapshotsRaw(requestParameters: DeleteSandboxSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeletionOperationListResponse>>;
939
1035
  /**
940
- * Accept irreversible deletion of every unpinned snapshot of this sandbox. The sandbox itself and its named snapshots stay. Snapshots disappear from lists, restores and forks immediately; their stored data is purged in the background. Set `X-Ascii-Confirm-Delete` to the sandbox id.
1036
+ * Accept irreversible deletion of every unpinned snapshot of this sandbox. The sandbox itself and its saved snapshots stay. Snapshots disappear from lists, restores and forks immediately; their stored data is purged in the background. Set `X-Ascii-Confirm-Delete` to the sandbox id.
941
1037
  * Permanently delete all snapshots of a sandbox
942
1038
  */
943
1039
  deleteSandboxSnapshots(requestParameters: DeleteSandboxSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeletionOperationListResponse>;
1040
+ /**
1041
+ * Creates request options for deleteSavedSnapshot without sending the request
1042
+ */
1043
+ deleteSavedSnapshotRequestOpts(requestParameters: DeleteSavedSnapshotRequest): Promise<runtime.RequestOpts>;
1044
+ /**
1045
+ * Remove a saved snapshot and release its storage (`boat snapshot rm <name>` in the CLI). Sandboxes already deployed from it are unaffected.
1046
+ * Remove a saved snapshot
1047
+ */
1048
+ deleteSavedSnapshotRaw(requestParameters: DeleteSavedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavedSnapshotDeletedResponse>>;
1049
+ /**
1050
+ * Remove a saved snapshot and release its storage (`boat snapshot rm <name>` in the CLI). Sandboxes already deployed from it are unaffected.
1051
+ * Remove a saved snapshot
1052
+ */
1053
+ deleteSavedSnapshot(requestParameters: DeleteSavedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavedSnapshotDeletedResponse>;
944
1054
  /**
945
1055
  * Creates request options for deleteSnapshot without sending the request
946
1056
  */
@@ -1025,6 +1135,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1025
1135
  * List boat events
1026
1136
  */
1027
1137
  events(requestParameters: EventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EventsResponse>;
1138
+ /**
1139
+ * Creates request options for findInFiles without sending the request
1140
+ */
1141
+ findInFilesRequestOpts(requestParameters: FindInFilesRequest): Promise<runtime.RequestOpts>;
1142
+ /**
1143
+ * Every line under `path` that contains `pattern`. `pattern` is plain text; with `regex=true` it is an extended regular expression. Binary files are skipped and symlinks are not followed. Needs `file.read`.
1144
+ * Find text in sandbox files
1145
+ */
1146
+ findInFilesRaw(requestParameters: FindInFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileFindResponse>>;
1147
+ /**
1148
+ * Every line under `path` that contains `pattern`. `pattern` is plain text; with `regex=true` it is an extended regular expression. Binary files are skipped and symlinks are not followed. Needs `file.read`.
1149
+ * Find text in sandbox files
1150
+ */
1151
+ findInFiles(requestParameters: FindInFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileFindResponse>;
1028
1152
  /**
1029
1153
  * Creates request options for fork without sending the request
1030
1154
  */
@@ -1121,6 +1245,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1121
1245
  * Get deletion operation
1122
1246
  */
1123
1247
  getDeletionOperation(requestParameters: GetDeletionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeletionOperationResponse>;
1248
+ /**
1249
+ * Creates request options for getFileInfo without sending the request
1250
+ */
1251
+ getFileInfoRequestOpts(requestParameters: GetFileInfoRequest): Promise<runtime.RequestOpts>;
1252
+ /**
1253
+ * Size, permission bits, type and modification time. Needs `file.read`.
1254
+ * Get file or directory details in a sandbox
1255
+ */
1256
+ getFileInfoRaw(requestParameters: GetFileInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileInfoResponse>>;
1257
+ /**
1258
+ * Size, permission bits, type and modification time. Needs `file.read`.
1259
+ * Get file or directory details in a sandbox
1260
+ */
1261
+ getFileInfo(requestParameters: GetFileInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileInfoResponse>;
1124
1262
  /**
1125
1263
  * Creates request options for getLatestSandboxSnapshot without sending the request
1126
1264
  */
@@ -1137,14 +1275,17 @@ export declare class BoatApi extends runtime.BaseAPI {
1137
1275
  getLatestSandboxSnapshot(requestParameters: GetLatestSandboxSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SnapshotLatestResponse>;
1138
1276
  /**
1139
1277
  * Creates request options for getNamedSnapshot without sending the request
1278
+ * @deprecated
1140
1279
  */
1141
1280
  getNamedSnapshotRequestOpts(requestParameters: GetNamedSnapshotRequest): Promise<runtime.RequestOpts>;
1142
1281
  /**
1143
1282
  * Get a named snapshot
1283
+ * @deprecated
1144
1284
  */
1145
1285
  getNamedSnapshotRaw(requestParameters: GetNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotInfoResponse>>;
1146
1286
  /**
1147
1287
  * Get a named snapshot
1288
+ * @deprecated
1148
1289
  */
1149
1290
  getNamedSnapshot(requestParameters: GetNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotInfoResponse>;
1150
1291
  /**
@@ -1161,6 +1302,18 @@ export declare class BoatApi extends runtime.BaseAPI {
1161
1302
  * Get sandbox AI usage
1162
1303
  */
1163
1304
  getSandboxAiUsage(requestParameters: GetSandboxAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxAiUsageResponse>;
1305
+ /**
1306
+ * Creates request options for getSavedSnapshot without sending the request
1307
+ */
1308
+ getSavedSnapshotRequestOpts(requestParameters: GetSavedSnapshotRequest): Promise<runtime.RequestOpts>;
1309
+ /**
1310
+ * Get a saved snapshot
1311
+ */
1312
+ getSavedSnapshotRaw(requestParameters: GetSavedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavedSnapshotInfoResponse>>;
1313
+ /**
1314
+ * Get a saved snapshot
1315
+ */
1316
+ getSavedSnapshot(requestParameters: GetSavedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavedSnapshotInfoResponse>;
1164
1317
  /**
1165
1318
  * Creates request options for getSnapshotDownload without sending the request
1166
1319
  */
@@ -1278,12 +1431,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1278
1431
  */
1279
1432
  limitsRequestOpts(requestParameters: LimitsRequest): Promise<runtime.RequestOpts>;
1280
1433
  /**
1281
- * Check remaining machine starts, compute time, credits, access readiness, and concurrent-sandbox capacity for the wallet a create would bill: the `org` / `X-Boat-Org` you pass (id or name), else the account\'s active wallet, else personal. The response carries `teamId` when an organization wallet was read.
1434
+ * Check remaining machine starts, included VM time, the wallet, overage prices, access readiness, and concurrent-sandbox capacity for the wallet a create would bill: the `org` / `X-Boat-Org` you pass (id or name), else the account\'s active wallet, else personal. The response carries `teamId` when an organization wallet was read.
1282
1435
  * Get Boat limits
1283
1436
  */
1284
1437
  limitsRaw(requestParameters: LimitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LimitsResponse>>;
1285
1438
  /**
1286
- * Check remaining machine starts, compute time, credits, access readiness, and concurrent-sandbox capacity for the wallet a create would bill: the `org` / `X-Boat-Org` you pass (id or name), else the account\'s active wallet, else personal. The response carries `teamId` when an organization wallet was read.
1439
+ * Check remaining machine starts, included VM time, the wallet, overage prices, access readiness, and concurrent-sandbox capacity for the wallet a create would bill: the `org` / `X-Boat-Org` you pass (id or name), else the account\'s active wallet, else personal. The response carries `teamId` when an organization wallet was read.
1287
1440
  * Get Boat limits
1288
1441
  */
1289
1442
  limits(requestParameters?: LimitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LimitsResponse>;
@@ -1315,18 +1468,35 @@ export declare class BoatApi extends runtime.BaseAPI {
1315
1468
  * List credential profiles
1316
1469
  */
1317
1470
  listCredentialProfiles(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileListResponse>;
1471
+ /**
1472
+ * Creates request options for listFiles without sending the request
1473
+ */
1474
+ listFilesRequestOpts(requestParameters: ListFilesRequest): Promise<runtime.RequestOpts>;
1475
+ /**
1476
+ * One level, sorted by name. A symlink is listed as a symlink, not followed. Defaults to /home/user. Needs `file.read`.
1477
+ * List a directory in a sandbox
1478
+ */
1479
+ listFilesRaw(requestParameters: ListFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileListResponse>>;
1480
+ /**
1481
+ * One level, sorted by name. A symlink is listed as a symlink, not followed. Defaults to /home/user. Needs `file.read`.
1482
+ * List a directory in a sandbox
1483
+ */
1484
+ listFiles(requestParameters: ListFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileListResponse>;
1318
1485
  /**
1319
1486
  * Creates request options for listNamedSnapshots without sending the request
1487
+ * @deprecated
1320
1488
  */
1321
1489
  listNamedSnapshotsRequestOpts(): Promise<runtime.RequestOpts>;
1322
1490
  /**
1323
1491
  * List your named snapshots, newest first.
1324
1492
  * List named snapshots
1493
+ * @deprecated
1325
1494
  */
1326
1495
  listNamedSnapshotsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotListResponse>>;
1327
1496
  /**
1328
1497
  * List your named snapshots, newest first.
1329
1498
  * List named snapshots
1499
+ * @deprecated
1330
1500
  */
1331
1501
  listNamedSnapshots(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotListResponse>;
1332
1502
  /**
@@ -1357,18 +1527,32 @@ export declare class BoatApi extends runtime.BaseAPI {
1357
1527
  * List boat snapshots
1358
1528
  */
1359
1529
  listSandboxSnapshots(requestParameters: ListSandboxSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SnapshotListResponse>;
1530
+ /**
1531
+ * Creates request options for listSavedSnapshots without sending the request
1532
+ */
1533
+ listSavedSnapshotsRequestOpts(): Promise<runtime.RequestOpts>;
1534
+ /**
1535
+ * List your saved snapshots, newest first.
1536
+ * List saved snapshots
1537
+ */
1538
+ listSavedSnapshotsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavedSnapshotListResponse>>;
1539
+ /**
1540
+ * List your saved snapshots, newest first.
1541
+ * List saved snapshots
1542
+ */
1543
+ listSavedSnapshots(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavedSnapshotListResponse>;
1360
1544
  /**
1361
1545
  * Creates request options for listSnapshotShares without sending the request
1362
1546
  */
1363
1547
  listSnapshotSharesRequestOpts(requestParameters: ListSnapshotSharesRequest): Promise<runtime.RequestOpts>;
1364
1548
  /**
1365
- * List the share codes of a named snapshot, active and revoked (`boat snapshot shares <name>` in the CLI). The full codes are not returned. Needs `snapshot.read`.
1366
- * List share codes of a named snapshot
1549
+ * List the share codes of a saved snapshot, active and revoked (`boat snapshot shares <name>` in the CLI). The full codes are not returned. Needs `snapshot.read`.
1550
+ * List share codes of a saved snapshot
1367
1551
  */
1368
1552
  listSnapshotSharesRaw(requestParameters: ListSnapshotSharesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotShareListResponse>>;
1369
1553
  /**
1370
- * List the share codes of a named snapshot, active and revoked (`boat snapshot shares <name>` in the CLI). The full codes are not returned. Needs `snapshot.read`.
1371
- * List share codes of a named snapshot
1554
+ * List the share codes of a saved snapshot, active and revoked (`boat snapshot shares <name>` in the CLI). The full codes are not returned. Needs `snapshot.read`.
1555
+ * List share codes of a saved snapshot
1372
1556
  */
1373
1557
  listSnapshotShares(requestParameters: ListSnapshotSharesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotShareListResponse>;
1374
1558
  /**
@@ -1413,6 +1597,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1413
1597
  * Get current Boat user
1414
1598
  */
1415
1599
  me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MeResponse>;
1600
+ /**
1601
+ * Creates request options for moveFile without sending the request
1602
+ */
1603
+ moveFileRequestOpts(input: MoveFileRequest | runtime.FlatBody<MoveFileRequest, 'fileMoveRequest'>): Promise<runtime.RequestOpts>;
1604
+ /**
1605
+ * Works across /home/user and /tmp. A symlink is moved itself, never its target. Needs `file.write`.
1606
+ * Move or rename a file or directory in a sandbox
1607
+ */
1608
+ moveFileRaw(requestParameters: MoveFileRequest | runtime.FlatBody<MoveFileRequest, 'fileMoveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileMoveResponse>>;
1609
+ /**
1610
+ * Works across /home/user and /tmp. A symlink is moved itself, never its target. Needs `file.write`.
1611
+ * Move or rename a file or directory in a sandbox
1612
+ */
1613
+ moveFile(requestParameters: MoveFileRequest | runtime.FlatBody<MoveFileRequest, 'fileMoveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileMoveResponse>;
1416
1614
  /**
1417
1615
  * Creates request options for processes without sending the request
1418
1616
  */
@@ -1460,12 +1658,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1460
1658
  */
1461
1659
  readFileRequestOpts(requestParameters: ReadFileRequest): Promise<runtime.RequestOpts>;
1462
1660
  /**
1463
- * Files up to 5 MiB. For a larger file, use `POST /sandboxes/{sandboxId}/files/download-url`.
1661
+ * Files up to 5 MiB. For a larger file, use `POST /sandboxes/{sandboxId}/files/download-url`. On a sandbox that is still starting, the call waits until it is ready (up to 60 s, like a command), so it reads the sandbox\'s own disk and never the machine\'s stock one.
1464
1662
  * Read a file from a sandbox
1465
1663
  */
1466
1664
  readFileRaw(requestParameters: ReadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileReadResponse>>;
1467
1665
  /**
1468
- * Files up to 5 MiB. For a larger file, use `POST /sandboxes/{sandboxId}/files/download-url`.
1666
+ * Files up to 5 MiB. For a larger file, use `POST /sandboxes/{sandboxId}/files/download-url`. On a sandbox that is still starting, the call waits until it is ready (up to 60 s, like a command), so it reads the sandbox\'s own disk and never the machine\'s stock one.
1469
1667
  * Read a file from a sandbox
1470
1668
  */
1471
1669
  readFile(requestParameters: ReadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileReadResponse>;
@@ -1483,6 +1681,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1483
1681
  * Recover a sandbox that stopped responding
1484
1682
  */
1485
1683
  recover(requestParameters: RecoverRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Recover200Response>;
1684
+ /**
1685
+ * Creates request options for replaceInFiles without sending the request
1686
+ */
1687
+ replaceInFilesRequestOpts(input: ReplaceInFilesRequest | runtime.FlatBody<ReplaceInFilesRequest, 'fileReplaceRequest'>): Promise<runtime.RequestOpts>;
1688
+ /**
1689
+ * Replaces every occurrence of `pattern` with `newValue` in each file. Needs `file.write`.
1690
+ * Replace text in sandbox files
1691
+ */
1692
+ replaceInFilesRaw(requestParameters: ReplaceInFilesRequest | runtime.FlatBody<ReplaceInFilesRequest, 'fileReplaceRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileReplaceResponse>>;
1693
+ /**
1694
+ * Replaces every occurrence of `pattern` with `newValue` in each file. Needs `file.write`.
1695
+ * Replace text in sandbox files
1696
+ */
1697
+ replaceInFiles(requestParameters: ReplaceInFilesRequest | runtime.FlatBody<ReplaceInFilesRequest, 'fileReplaceRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileReplaceResponse>;
1486
1698
  /**
1487
1699
  * Creates request options for repos without sending the request
1488
1700
  */
@@ -1514,12 +1726,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1514
1726
  */
1515
1727
  revokeApiKeyRequestOpts(requestParameters: RevokeApiKeyRequest): Promise<runtime.RequestOpts>;
1516
1728
  /**
1517
- * Revokes the key immediately. Requires a dashboard or CLI session.
1729
+ * Revokes the key immediately. Requires a dashboard or CLI session, or an admin-scoped key. A key revokes itself or a key it could create (same or fewer actions, sandboxes and environments, no later expiry).
1518
1730
  * Revoke an API key
1519
1731
  */
1520
1732
  revokeApiKeyRaw(requestParameters: RevokeApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiKeyRevokeResponse>>;
1521
1733
  /**
1522
- * Revokes the key immediately. Requires a dashboard or CLI session.
1734
+ * Revokes the key immediately. Requires a dashboard or CLI session, or an admin-scoped key. A key revokes itself or a key it could create (same or fewer actions, sandboxes and environments, no later expiry).
1523
1735
  * Revoke an API key
1524
1736
  */
1525
1737
  revokeApiKey(requestParameters: RevokeApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiKeyRevokeResponse>;
@@ -1542,12 +1754,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1542
1754
  */
1543
1755
  rotateApiKeyRequestOpts(requestParameters: RotateApiKeyRequest): Promise<runtime.RequestOpts>;
1544
1756
  /**
1545
- * Replaces the raw secret without changing expiry or scope. Requires a dashboard or CLI session.
1757
+ * Replaces the raw secret without changing expiry or scope. Requires a dashboard or CLI session, or an admin-scoped key. A key rotates itself or a key it could create.
1546
1758
  * Rotate an API key
1547
1759
  */
1548
1760
  rotateApiKeyRaw(requestParameters: RotateApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiKeySecretResponse>>;
1549
1761
  /**
1550
- * Replaces the raw secret without changing expiry or scope. Requires a dashboard or CLI session.
1762
+ * Replaces the raw secret without changing expiry or scope. Requires a dashboard or CLI session, or an admin-scoped key. A key rotates itself or a key it could create.
1551
1763
  * Rotate an API key
1552
1764
  */
1553
1765
  rotateApiKey(requestParameters: RotateApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiKeySecretResponse>;
@@ -1581,18 +1793,49 @@ export declare class BoatApi extends runtime.BaseAPI {
1581
1793
  sandboxes(requestParameters?: SandboxesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxListResponse>;
1582
1794
  /**
1583
1795
  * Creates request options for saveNamedSnapshot without sending the request
1796
+ * @deprecated
1584
1797
  */
1585
1798
  saveNamedSnapshotRequestOpts(input: SaveNamedSnapshotRequest | runtime.FlatBody<SaveNamedSnapshotRequest, 'namedSnapshotSaveRequest'>): Promise<runtime.RequestOpts>;
1586
1799
  /**
1587
1800
  * Freeze a sandbox\'s current state under a name (`boat snapshot <id> <name>` in the CLI). Answers `202` immediately with the snapshot in `saving`; a running sandbox takes a fresh capture first, which can run minutes. Poll `GET /named-snapshots/{name}` until the status settles at `ready` or `failed`. Reusing one of your existing names replaces that snapshot\'s artifact once the new save is ready.
1588
1801
  * Save a named snapshot
1802
+ * @deprecated
1589
1803
  */
1590
1804
  saveNamedSnapshotRaw(requestParameters: SaveNamedSnapshotRequest | runtime.FlatBody<SaveNamedSnapshotRequest, 'namedSnapshotSaveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotSavingResponse>>;
1591
1805
  /**
1592
1806
  * Freeze a sandbox\'s current state under a name (`boat snapshot <id> <name>` in the CLI). Answers `202` immediately with the snapshot in `saving`; a running sandbox takes a fresh capture first, which can run minutes. Poll `GET /named-snapshots/{name}` until the status settles at `ready` or `failed`. Reusing one of your existing names replaces that snapshot\'s artifact once the new save is ready.
1593
1807
  * Save a named snapshot
1808
+ * @deprecated
1594
1809
  */
1595
1810
  saveNamedSnapshot(requestParameters: SaveNamedSnapshotRequest | runtime.FlatBody<SaveNamedSnapshotRequest, 'namedSnapshotSaveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotSavingResponse>;
1811
+ /**
1812
+ * Creates request options for saveSavedSnapshot without sending the request
1813
+ */
1814
+ saveSavedSnapshotRequestOpts(input: SaveSavedSnapshotRequest | runtime.FlatBody<SaveSavedSnapshotRequest, 'savedSnapshotSaveRequest'>): Promise<runtime.RequestOpts>;
1815
+ /**
1816
+ * Freeze a sandbox\'s current state under a name (`boat snapshot <id> <name>` in the CLI). Answers `202` immediately with the snapshot in `saving`; a running sandbox takes a fresh capture first, which can run minutes. Poll `GET /saved-snapshots/{name}` until the status settles at `ready` or `failed`. Reusing one of your existing names replaces that snapshot\'s artifact once the new save is ready.
1817
+ * Save a saved snapshot
1818
+ */
1819
+ saveSavedSnapshotRaw(requestParameters: SaveSavedSnapshotRequest | runtime.FlatBody<SaveSavedSnapshotRequest, 'savedSnapshotSaveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavedSnapshotSavingResponse>>;
1820
+ /**
1821
+ * Freeze a sandbox\'s current state under a name (`boat snapshot <id> <name>` in the CLI). Answers `202` immediately with the snapshot in `saving`; a running sandbox takes a fresh capture first, which can run minutes. Poll `GET /saved-snapshots/{name}` until the status settles at `ready` or `failed`. Reusing one of your existing names replaces that snapshot\'s artifact once the new save is ready.
1822
+ * Save a saved snapshot
1823
+ */
1824
+ saveSavedSnapshot(requestParameters: SaveSavedSnapshotRequest | runtime.FlatBody<SaveSavedSnapshotRequest, 'savedSnapshotSaveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavedSnapshotSavingResponse>;
1825
+ /**
1826
+ * Creates request options for searchFiles without sending the request
1827
+ */
1828
+ searchFilesRequestOpts(requestParameters: SearchFilesRequest): Promise<runtime.RequestOpts>;
1829
+ /**
1830
+ * Every file and directory under `path` whose name matches the glob `pattern` (for example `*.py`). Symlinks are not followed. Needs `file.read`.
1831
+ * Search files by name in a sandbox
1832
+ */
1833
+ searchFilesRaw(requestParameters: SearchFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileSearchResponse>>;
1834
+ /**
1835
+ * Every file and directory under `path` whose name matches the glob `pattern` (for example `*.py`). Symlinks are not followed. Needs `file.read`.
1836
+ * Search files by name in a sandbox
1837
+ */
1838
+ searchFiles(requestParameters: SearchFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileSearchResponse>;
1596
1839
  /**
1597
1840
  * Creates request options for secrets without sending the request
1598
1841
  */
@@ -1691,6 +1934,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1691
1934
  * Set one environment variable
1692
1935
  */
1693
1936
  setEnvironmentVar(requestParameters: SetEnvironmentVarOperationRequest | runtime.FlatBody<SetEnvironmentVarOperationRequest, 'setEnvironmentVarRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnvironmentItemChangeResponse>;
1937
+ /**
1938
+ * Creates request options for setFilePermissions without sending the request
1939
+ */
1940
+ setFilePermissionsRequestOpts(input: SetFilePermissionsRequest | runtime.FlatBody<SetFilePermissionsRequest, 'filePermissionsRequest'>): Promise<runtime.RequestOpts>;
1941
+ /**
1942
+ * Sets the permission bits. Files belong to the sandbox user; the owner and group do not change. Needs `file.write`.
1943
+ * Set file permissions in a sandbox
1944
+ */
1945
+ setFilePermissionsRaw(requestParameters: SetFilePermissionsRequest | runtime.FlatBody<SetFilePermissionsRequest, 'filePermissionsRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileInfoResponse>>;
1946
+ /**
1947
+ * Sets the permission bits. Files belong to the sandbox user; the owner and group do not change. Needs `file.write`.
1948
+ * Set file permissions in a sandbox
1949
+ */
1950
+ setFilePermissions(requestParameters: SetFilePermissionsRequest | runtime.FlatBody<SetFilePermissionsRequest, 'filePermissionsRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileInfoResponse>;
1694
1951
  /**
1695
1952
  * Creates request options for setSandboxAiAccess without sending the request
1696
1953
  */
@@ -1834,12 +2091,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1834
2091
  */
1835
2092
  updateAiProxyRequestOpts(input: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>): Promise<runtime.RequestOpts>;
1836
2093
  /**
1837
- * With the proxy on, sandboxes get placeholder keys and base URLs that point at Boat. Boat swaps in the real key on each request. Real keys never enter the sandbox. Running sandboxes switch at their next start. While on, the account pays $1 of Boat time for each UTC day, plus $1 per 1,000 proxied requests, charged to the wallet each sandbox bills. For an organization, only its owner can change the switch. Needs an API key with `account.admin`.
2094
+ * With the proxy on, sandboxes get placeholder keys and base URLs that point at Boat. Boat swaps in the real key on each request. Real keys never enter the sandbox. Running sandboxes switch at their next start. While on, the wallet of the account pays $1 for each UTC day, plus $1 per 1,000 proxied requests, charged to the wallet each sandbox bills. For an organization, only its owner can change the switch. Needs an API key with `account.admin`.
1838
2095
  * Turn the AI credentials proxy on or off
1839
2096
  */
1840
2097
  updateAiProxyRaw(requestParameters: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiProxySettings>>;
1841
2098
  /**
1842
- * With the proxy on, sandboxes get placeholder keys and base URLs that point at Boat. Boat swaps in the real key on each request. Real keys never enter the sandbox. Running sandboxes switch at their next start. While on, the account pays $1 of Boat time for each UTC day, plus $1 per 1,000 proxied requests, charged to the wallet each sandbox bills. For an organization, only its owner can change the switch. Needs an API key with `account.admin`.
2099
+ * With the proxy on, sandboxes get placeholder keys and base URLs that point at Boat. Boat swaps in the real key on each request. Real keys never enter the sandbox. Running sandboxes switch at their next start. While on, the wallet of the account pays $1 for each UTC day, plus $1 per 1,000 proxied requests, charged to the wallet each sandbox bills. For an organization, only its owner can change the switch. Needs an API key with `account.admin`.
1843
2100
  * Turn the AI credentials proxy on or off
1844
2101
  */
1845
2102
  updateAiProxy(requestParameters: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiProxySettings>;
@@ -1958,12 +2215,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1958
2215
  */
1959
2216
  writeFileRequestOpts(input: WriteFileRequest | runtime.FlatBody<WriteFileRequest, 'fileWriteRequest'>): Promise<runtime.RequestOpts>;
1960
2217
  /**
1961
- * Files up to 5 MiB after decoding. For a larger file, use `POST /sandboxes/{sandboxId}/files/upload-url`.
2218
+ * Files up to 5 MiB after decoding. For a larger file, use `POST /sandboxes/{sandboxId}/files/upload-url`. On a sandbox that is still starting, the call waits until it is ready (up to 60 s, like a command): a sandbox\'s files are in place only once it is ready, so a write any earlier would not stay. A `200` always means the file is on the sandbox\'s disk.
1962
2219
  * Write a file in a sandbox
1963
2220
  */
1964
2221
  writeFileRaw(requestParameters: WriteFileRequest | runtime.FlatBody<WriteFileRequest, 'fileWriteRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileWriteResponse>>;
1965
2222
  /**
1966
- * Files up to 5 MiB after decoding. For a larger file, use `POST /sandboxes/{sandboxId}/files/upload-url`.
2223
+ * Files up to 5 MiB after decoding. For a larger file, use `POST /sandboxes/{sandboxId}/files/upload-url`. On a sandbox that is still starting, the call waits until it is ready (up to 60 s, like a command): a sandbox\'s files are in place only once it is ready, so a write any earlier would not stay. A `200` always means the file is on the sandbox\'s disk.
1967
2224
  * Write a file in a sandbox
1968
2225
  */
1969
2226
  writeFile(requestParameters: WriteFileRequest | runtime.FlatBody<WriteFileRequest, 'fileWriteRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileWriteResponse>;