@boatdev/sdk 1.9.9 → 1.11.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 (179) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/dist/apis/BoatApi.d.ts +144 -18
  3. package/dist/apis/BoatApi.js +305 -22
  4. package/dist/esm/apis/BoatApi.d.ts +144 -18
  5. package/dist/esm/apis/BoatApi.js +304 -21
  6. package/dist/esm/models/CreateSandboxRequest.d.ts +9 -3
  7. package/dist/esm/models/CreateSandboxRequest.js +2 -0
  8. package/dist/esm/models/CreateSandboxResponse.d.ts +6 -0
  9. package/dist/esm/models/CreateSandboxResponse.js +2 -0
  10. package/dist/esm/models/CreateScopedApiKeyRequest.d.ts +1 -1
  11. package/dist/esm/models/CredentialId.d.ts +3 -0
  12. package/dist/esm/models/CredentialId.js +3 -0
  13. package/dist/esm/models/CredentialProfile.d.ts +7 -0
  14. package/dist/esm/models/CredentialProfile.js +3 -0
  15. package/dist/esm/models/DeletionOperation.d.ts +1 -1
  16. package/dist/esm/models/LimitsFields.d.ts +1 -1
  17. package/dist/esm/models/LimitsResponse.d.ts +1 -1
  18. package/dist/esm/models/MeResponseAllOfUser.d.ts +1 -0
  19. package/dist/esm/models/MeResponseAllOfUser.js +1 -0
  20. package/dist/esm/models/ResourceAccess.d.ts +38 -0
  21. package/dist/esm/models/ResourceAccess.js +47 -0
  22. package/dist/esm/models/ResourceAccessUpdate.d.ts +38 -0
  23. package/dist/esm/models/ResourceAccessUpdate.js +45 -0
  24. package/dist/esm/models/ResumeRequest.d.ts +1 -1
  25. package/dist/esm/models/Sandbox.d.ts +35 -1
  26. package/dist/esm/models/Sandbox.js +17 -0
  27. package/dist/esm/models/SandboxCost.d.ts +44 -0
  28. package/dist/esm/models/SandboxCost.js +51 -0
  29. package/dist/esm/models/SandboxEnvironment.d.ts +7 -0
  30. package/dist/esm/models/SandboxEnvironment.js +3 -0
  31. package/dist/esm/models/SandboxLastReboot.d.ts +47 -0
  32. package/dist/esm/models/SandboxLastReboot.js +51 -0
  33. package/dist/esm/models/SandboxListResponse.d.ts +7 -0
  34. package/dist/esm/models/SandboxListResponse.js +3 -0
  35. package/dist/esm/models/SandboxListResponseAllOfDeletedCost.d.ts +44 -0
  36. package/dist/esm/models/SandboxListResponseAllOfDeletedCost.js +51 -0
  37. package/dist/esm/models/SavedSnapshot.d.ts +83 -0
  38. package/dist/esm/models/SavedSnapshot.js +71 -0
  39. package/dist/esm/models/SavedSnapshotAllowance.d.ts +81 -0
  40. package/dist/esm/models/SavedSnapshotAllowance.js +57 -0
  41. package/dist/esm/models/SavedSnapshotDeletedResponse.d.ts +64 -0
  42. package/dist/esm/models/SavedSnapshotDeletedResponse.js +67 -0
  43. package/dist/esm/models/SavedSnapshotInfoResponse.d.ts +52 -0
  44. package/dist/esm/models/SavedSnapshotInfoResponse.js +58 -0
  45. package/dist/esm/models/SavedSnapshotListResponse.d.ts +59 -0
  46. package/dist/esm/models/SavedSnapshotListResponse.js +61 -0
  47. package/dist/esm/models/SavedSnapshotSaveRequest.d.ts +38 -0
  48. package/dist/esm/models/SavedSnapshotSaveRequest.js +47 -0
  49. package/dist/esm/models/SavedSnapshotSavingResponse.d.ts +65 -0
  50. package/dist/esm/models/SavedSnapshotSavingResponse.js +68 -0
  51. package/dist/esm/models/SnapshotSummary.d.ts +1 -1
  52. package/dist/esm/models/Unshare200Response.d.ts +39 -0
  53. package/dist/esm/models/Unshare200Response.js +44 -0
  54. package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +7 -0
  55. package/dist/esm/models/UpdateCredentialProfileRequest.js +3 -0
  56. package/dist/esm/models/UpdateOrganization200Response.d.ts +50 -0
  57. package/dist/esm/models/UpdateOrganization200Response.js +47 -0
  58. package/dist/esm/models/UpdateOrganizationRequest.d.ts +32 -0
  59. package/dist/esm/models/UpdateOrganizationRequest.js +43 -0
  60. package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +7 -0
  61. package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +3 -0
  62. package/dist/esm/models/index.d.ts +15 -0
  63. package/dist/esm/models/index.js +15 -0
  64. package/dist/models/CreateSandboxRequest.d.ts +9 -3
  65. package/dist/models/CreateSandboxRequest.js +2 -0
  66. package/dist/models/CreateSandboxResponse.d.ts +6 -0
  67. package/dist/models/CreateSandboxResponse.js +2 -0
  68. package/dist/models/CreateScopedApiKeyRequest.d.ts +1 -1
  69. package/dist/models/CredentialId.d.ts +3 -0
  70. package/dist/models/CredentialId.js +3 -0
  71. package/dist/models/CredentialProfile.d.ts +7 -0
  72. package/dist/models/CredentialProfile.js +3 -0
  73. package/dist/models/DeletionOperation.d.ts +1 -1
  74. package/dist/models/LimitsFields.d.ts +1 -1
  75. package/dist/models/LimitsResponse.d.ts +1 -1
  76. package/dist/models/MeResponseAllOfUser.d.ts +1 -0
  77. package/dist/models/MeResponseAllOfUser.js +1 -0
  78. package/dist/models/ResourceAccess.d.ts +38 -0
  79. package/dist/models/ResourceAccess.js +54 -0
  80. package/dist/models/ResourceAccessUpdate.d.ts +38 -0
  81. package/dist/models/ResourceAccessUpdate.js +52 -0
  82. package/dist/models/ResumeRequest.d.ts +1 -1
  83. package/dist/models/Sandbox.d.ts +35 -1
  84. package/dist/models/Sandbox.js +18 -1
  85. package/dist/models/SandboxCost.d.ts +44 -0
  86. package/dist/models/SandboxCost.js +58 -0
  87. package/dist/models/SandboxEnvironment.d.ts +7 -0
  88. package/dist/models/SandboxEnvironment.js +3 -0
  89. package/dist/models/SandboxLastReboot.d.ts +47 -0
  90. package/dist/models/SandboxLastReboot.js +59 -0
  91. package/dist/models/SandboxListResponse.d.ts +7 -0
  92. package/dist/models/SandboxListResponse.js +3 -0
  93. package/dist/models/SandboxListResponseAllOfDeletedCost.d.ts +44 -0
  94. package/dist/models/SandboxListResponseAllOfDeletedCost.js +58 -0
  95. package/dist/models/SavedSnapshot.d.ts +83 -0
  96. package/dist/models/SavedSnapshot.js +79 -0
  97. package/dist/models/SavedSnapshotAllowance.d.ts +81 -0
  98. package/dist/models/SavedSnapshotAllowance.js +64 -0
  99. package/dist/models/SavedSnapshotDeletedResponse.d.ts +64 -0
  100. package/dist/models/SavedSnapshotDeletedResponse.js +75 -0
  101. package/dist/models/SavedSnapshotInfoResponse.d.ts +52 -0
  102. package/dist/models/SavedSnapshotInfoResponse.js +66 -0
  103. package/dist/models/SavedSnapshotListResponse.d.ts +59 -0
  104. package/dist/models/SavedSnapshotListResponse.js +69 -0
  105. package/dist/models/SavedSnapshotSaveRequest.d.ts +38 -0
  106. package/dist/models/SavedSnapshotSaveRequest.js +54 -0
  107. package/dist/models/SavedSnapshotSavingResponse.d.ts +65 -0
  108. package/dist/models/SavedSnapshotSavingResponse.js +76 -0
  109. package/dist/models/SnapshotSummary.d.ts +1 -1
  110. package/dist/models/Unshare200Response.d.ts +39 -0
  111. package/dist/models/Unshare200Response.js +51 -0
  112. package/dist/models/UpdateCredentialProfileRequest.d.ts +7 -0
  113. package/dist/models/UpdateCredentialProfileRequest.js +3 -0
  114. package/dist/models/UpdateOrganization200Response.d.ts +50 -0
  115. package/dist/models/UpdateOrganization200Response.js +54 -0
  116. package/dist/models/UpdateOrganizationRequest.d.ts +32 -0
  117. package/dist/models/UpdateOrganizationRequest.js +50 -0
  118. package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +7 -0
  119. package/dist/models/UpdateSandboxEnvironmentRequest.js +3 -0
  120. package/dist/models/index.d.ts +15 -0
  121. package/dist/models/index.js +15 -0
  122. package/docs/BoatApi.md +468 -19
  123. package/docs/CreateSandboxRequest.md +2 -0
  124. package/docs/CreateSandboxResponse.md +2 -0
  125. package/docs/CredentialProfile.md +2 -0
  126. package/docs/ResourceAccess.md +35 -0
  127. package/docs/ResourceAccessUpdate.md +35 -0
  128. package/docs/Sandbox.md +8 -0
  129. package/docs/SandboxCost.md +37 -0
  130. package/docs/SandboxEnvironment.md +2 -0
  131. package/docs/SandboxLastReboot.md +35 -0
  132. package/docs/SandboxListResponse.md +2 -0
  133. package/docs/SandboxListResponseAllOfDeletedCost.md +37 -0
  134. package/docs/SavedSnapshot.md +47 -0
  135. package/docs/SavedSnapshotAllowance.md +49 -0
  136. package/docs/SavedSnapshotDeletedResponse.md +38 -0
  137. package/docs/SavedSnapshotInfoResponse.md +36 -0
  138. package/docs/SavedSnapshotListResponse.md +38 -0
  139. package/docs/SavedSnapshotSaveRequest.md +34 -0
  140. package/docs/SavedSnapshotSavingResponse.md +38 -0
  141. package/docs/Unshare200Response.md +34 -0
  142. package/docs/UpdateCredentialProfileRequest.md +2 -0
  143. package/docs/UpdateOrganization200Response.md +38 -0
  144. package/docs/UpdateOrganizationRequest.md +32 -0
  145. package/docs/UpdateSandboxEnvironmentRequest.md +2 -0
  146. package/package.json +1 -1
  147. package/src/apis/BoatApi.ts +440 -21
  148. package/src/models/CreateSandboxRequest.ts +11 -3
  149. package/src/models/CreateSandboxResponse.ts +8 -0
  150. package/src/models/CreateScopedApiKeyRequest.ts +1 -1
  151. package/src/models/CredentialId.ts +3 -0
  152. package/src/models/CredentialProfile.ts +15 -0
  153. package/src/models/DeletionOperation.ts +1 -1
  154. package/src/models/LimitsFields.ts +1 -1
  155. package/src/models/LimitsResponse.ts +1 -1
  156. package/src/models/MeResponseAllOfUser.ts +1 -0
  157. package/src/models/ResourceAccess.ts +75 -0
  158. package/src/models/ResourceAccessUpdate.ts +74 -0
  159. package/src/models/ResumeRequest.ts +1 -1
  160. package/src/models/Sandbox.ts +56 -1
  161. package/src/models/SandboxCost.ts +84 -0
  162. package/src/models/SandboxEnvironment.ts +15 -0
  163. package/src/models/SandboxLastReboot.ts +85 -0
  164. package/src/models/SandboxListResponse.ts +15 -0
  165. package/src/models/SandboxListResponseAllOfDeletedCost.ts +84 -0
  166. package/src/models/SavedSnapshot.ts +137 -0
  167. package/src/models/SavedSnapshotAllowance.ts +130 -0
  168. package/src/models/SavedSnapshotDeletedResponse.ts +111 -0
  169. package/src/models/SavedSnapshotInfoResponse.ts +102 -0
  170. package/src/models/SavedSnapshotListResponse.ts +117 -0
  171. package/src/models/SavedSnapshotSaveRequest.ts +75 -0
  172. package/src/models/SavedSnapshotSavingResponse.ts +119 -0
  173. package/src/models/SnapshotSummary.ts +1 -1
  174. package/src/models/Unshare200Response.ts +81 -0
  175. package/src/models/UpdateCredentialProfileRequest.ts +16 -0
  176. package/src/models/UpdateOrganization200Response.ts +89 -0
  177. package/src/models/UpdateOrganizationRequest.ts +66 -0
  178. package/src/models/UpdateSandboxEnvironmentRequest.ts +15 -0
  179. package/src/models/index.ts +15 -0
@@ -113,6 +113,8 @@ docs/RepoSelectionResponse.md
113
113
  docs/ReposResponse.md
114
114
  docs/Repository.md
115
115
  docs/RepositoryInstallation.md
116
+ docs/ResourceAccess.md
117
+ docs/ResourceAccessUpdate.md
116
118
  docs/ResponseEvent.md
117
119
  docs/ResponseEventData.md
118
120
  docs/ResumeRequest.md
@@ -122,6 +124,7 @@ docs/SandboxActionResponse.md
122
124
  docs/SandboxAiAccessResponse.md
123
125
  docs/SandboxAiUsage.md
124
126
  docs/SandboxAiUsageResponse.md
127
+ docs/SandboxCost.md
125
128
  docs/SandboxEnvironment.md
126
129
  docs/SandboxEnvironmentListResponse.md
127
130
  docs/SandboxEnvironmentResponse.md
@@ -129,10 +132,19 @@ docs/SandboxEnvironmentVersionSummary.md
129
132
  docs/SandboxEvent.md
130
133
  docs/SandboxHydration.md
131
134
  docs/SandboxInfoResponse.md
135
+ docs/SandboxLastReboot.md
132
136
  docs/SandboxListResponse.md
137
+ docs/SandboxListResponseAllOfDeletedCost.md
133
138
  docs/SandboxProcess.md
134
139
  docs/SandboxTeam.md
135
140
  docs/SandboxUsageResponse.md
141
+ docs/SavedSnapshot.md
142
+ docs/SavedSnapshotAllowance.md
143
+ docs/SavedSnapshotDeletedResponse.md
144
+ docs/SavedSnapshotInfoResponse.md
145
+ docs/SavedSnapshotListResponse.md
146
+ docs/SavedSnapshotSaveRequest.md
147
+ docs/SavedSnapshotSavingResponse.md
136
148
  docs/SecretFile.md
137
149
  docs/SecretsResponse.md
138
150
  docs/SecretsUpdateRequest.md
@@ -169,8 +181,11 @@ docs/TelemetrySetRequest.md
169
181
  docs/TelemetrySetResponse.md
170
182
  docs/TelemetryTestResult.md
171
183
  docs/UnknownEvent.md
184
+ docs/Unshare200Response.md
172
185
  docs/UpdateAiProxyRequest.md
173
186
  docs/UpdateCredentialProfileRequest.md
187
+ docs/UpdateOrganization200Response.md
188
+ docs/UpdateOrganizationRequest.md
174
189
  docs/UpdateSandboxEnvironmentRequest.md
175
190
  docs/UpdateSandboxEnvironmentRequestRepositoriesInner.md
176
191
  docs/UpdateSandboxRequest.md
@@ -301,6 +316,8 @@ src/models/RepoSelectionResponse.ts
301
316
  src/models/ReposResponse.ts
302
317
  src/models/Repository.ts
303
318
  src/models/RepositoryInstallation.ts
319
+ src/models/ResourceAccess.ts
320
+ src/models/ResourceAccessUpdate.ts
304
321
  src/models/ResponseEvent.ts
305
322
  src/models/ResponseEventData.ts
306
323
  src/models/ResumeRequest.ts
@@ -310,6 +327,7 @@ src/models/SandboxActionResponse.ts
310
327
  src/models/SandboxAiAccessResponse.ts
311
328
  src/models/SandboxAiUsage.ts
312
329
  src/models/SandboxAiUsageResponse.ts
330
+ src/models/SandboxCost.ts
313
331
  src/models/SandboxEnvironment.ts
314
332
  src/models/SandboxEnvironmentListResponse.ts
315
333
  src/models/SandboxEnvironmentResponse.ts
@@ -317,10 +335,19 @@ src/models/SandboxEnvironmentVersionSummary.ts
317
335
  src/models/SandboxEvent.ts
318
336
  src/models/SandboxHydration.ts
319
337
  src/models/SandboxInfoResponse.ts
338
+ src/models/SandboxLastReboot.ts
320
339
  src/models/SandboxListResponse.ts
340
+ src/models/SandboxListResponseAllOfDeletedCost.ts
321
341
  src/models/SandboxProcess.ts
322
342
  src/models/SandboxTeam.ts
323
343
  src/models/SandboxUsageResponse.ts
344
+ src/models/SavedSnapshot.ts
345
+ src/models/SavedSnapshotAllowance.ts
346
+ src/models/SavedSnapshotDeletedResponse.ts
347
+ src/models/SavedSnapshotInfoResponse.ts
348
+ src/models/SavedSnapshotListResponse.ts
349
+ src/models/SavedSnapshotSaveRequest.ts
350
+ src/models/SavedSnapshotSavingResponse.ts
324
351
  src/models/SecretFile.ts
325
352
  src/models/SecretsResponse.ts
326
353
  src/models/SecretsUpdateRequest.ts
@@ -357,8 +384,11 @@ src/models/TelemetrySetRequest.ts
357
384
  src/models/TelemetrySetResponse.ts
358
385
  src/models/TelemetryTestResult.ts
359
386
  src/models/UnknownEvent.ts
387
+ src/models/Unshare200Response.ts
360
388
  src/models/UpdateAiProxyRequest.ts
361
389
  src/models/UpdateCredentialProfileRequest.ts
390
+ src/models/UpdateOrganization200Response.ts
391
+ src/models/UpdateOrganizationRequest.ts
362
392
  src/models/UpdateSandboxEnvironmentRequest.ts
363
393
  src/models/UpdateSandboxEnvironmentRequestRepositoriesInner.ts
364
394
  src/models/UpdateSandboxRequest.ts
@@ -82,6 +82,11 @@ import { type SandboxEnvironmentResponse } from '../models/SandboxEnvironmentRes
82
82
  import { type SandboxInfoResponse } from '../models/SandboxInfoResponse';
83
83
  import { type SandboxListResponse } from '../models/SandboxListResponse';
84
84
  import { type SandboxUsageResponse } from '../models/SandboxUsageResponse';
85
+ import { type SavedSnapshotDeletedResponse } from '../models/SavedSnapshotDeletedResponse';
86
+ import { type SavedSnapshotInfoResponse } from '../models/SavedSnapshotInfoResponse';
87
+ import { type SavedSnapshotListResponse } from '../models/SavedSnapshotListResponse';
88
+ import { type SavedSnapshotSaveRequest } from '../models/SavedSnapshotSaveRequest';
89
+ import { type SavedSnapshotSavingResponse } from '../models/SavedSnapshotSavingResponse';
85
90
  import { type SecretsResponse } from '../models/SecretsResponse';
86
91
  import { type SecretsUpdateRequest } from '../models/SecretsUpdateRequest';
87
92
  import { type SetCredentialKeyRequest } from '../models/SetCredentialKeyRequest';
@@ -103,8 +108,11 @@ import { type StopRequest } from '../models/StopRequest';
103
108
  import { type TelemetryResponse } from '../models/TelemetryResponse';
104
109
  import { type TelemetrySetRequest } from '../models/TelemetrySetRequest';
105
110
  import { type TelemetrySetResponse } from '../models/TelemetrySetResponse';
111
+ import { type Unshare200Response } from '../models/Unshare200Response';
106
112
  import { type UpdateAiProxyRequest } from '../models/UpdateAiProxyRequest';
107
113
  import { type UpdateCredentialProfileRequest } from '../models/UpdateCredentialProfileRequest';
114
+ import { type UpdateOrganization200Response } from '../models/UpdateOrganization200Response';
115
+ import { type UpdateOrganizationRequest } from '../models/UpdateOrganizationRequest';
108
116
  import { type UpdateSandboxEnvironmentRequest } from '../models/UpdateSandboxEnvironmentRequest';
109
117
  import { type UpdateSandboxRequest } from '../models/UpdateSandboxRequest';
110
118
  import { type UpgradeSandboxEnvironmentRequest } from '../models/UpgradeSandboxEnvironmentRequest';
@@ -243,6 +251,9 @@ export interface DeleteSandboxSnapshotsRequest {
243
251
  sandboxId: string;
244
252
  xAsciiConfirmDelete: string;
245
253
  }
254
+ export interface DeleteSavedSnapshotRequest {
255
+ name: string;
256
+ }
246
257
  export interface DeleteSnapshotRequest {
247
258
  snapshotId: string;
248
259
  xAsciiConfirmDelete: string;
@@ -302,6 +313,9 @@ export interface GetSandboxAiUsageRequest {
302
313
  sandboxId: string;
303
314
  days?: number;
304
315
  }
316
+ export interface GetSavedSnapshotRequest {
317
+ name: string;
318
+ }
305
319
  export interface GetSnapshotDownloadRequest {
306
320
  snapshotId: string;
307
321
  }
@@ -401,10 +415,14 @@ export interface SandboxesRequest {
401
415
  cursor?: string | null;
402
416
  sort?: SandboxesSortEnum;
403
417
  state?: string;
418
+ include?: SandboxesIncludeEnum;
404
419
  }
405
420
  export interface SaveNamedSnapshotRequest {
406
421
  namedSnapshotSaveRequest: NamedSnapshotSaveRequest;
407
422
  }
423
+ export interface SaveSavedSnapshotRequest {
424
+ savedSnapshotSaveRequest: SavedSnapshotSaveRequest;
425
+ }
408
426
  export interface SelectRepoRequest {
409
427
  repoSelectionRequest: RepoSelectionRequest;
410
428
  }
@@ -464,6 +482,9 @@ export interface SwitchCredentialAccountRequest {
464
482
  credential: CredentialId;
465
483
  account: string;
466
484
  }
485
+ export interface UnshareRequest {
486
+ sandboxId: string;
487
+ }
467
488
  export interface UpdateRequest {
468
489
  sandboxId: string;
469
490
  updateSandboxRequest: UpdateSandboxRequest;
@@ -485,6 +506,10 @@ export interface UpdateEnvironmentRequest {
485
506
  updateSandboxEnvironmentRequest: UpdateSandboxEnvironmentRequest;
486
507
  org?: string;
487
508
  }
509
+ export interface UpdateOrganizationOperationRequest {
510
+ org: string;
511
+ updateOrganizationRequest: UpdateOrganizationRequest;
512
+ }
488
513
  export interface UpdateSecretsRequest {
489
514
  secretsUpdateRequest: SecretsUpdateRequest;
490
515
  }
@@ -739,13 +764,13 @@ export declare class BoatApi extends runtime.BaseAPI {
739
764
  */
740
765
  createSnapshotShareRequestOpts(requestParameters: CreateSnapshotShareRequest): Promise<runtime.RequestOpts>;
741
766
  /**
742
- * 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`.
743
- * Share a named snapshot
767
+ * 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`.
768
+ * Share a saved snapshot
744
769
  */
745
770
  createSnapshotShareRaw(requestParameters: CreateSnapshotShareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotShareCreatedResponse>>;
746
771
  /**
747
- * 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`.
748
- * Share a named snapshot
772
+ * 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`.
773
+ * Share a saved snapshot
749
774
  */
750
775
  createSnapshotShare(requestParameters: CreateSnapshotShareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotShareCreatedResponse>;
751
776
  /**
@@ -890,16 +915,19 @@ export declare class BoatApi extends runtime.BaseAPI {
890
915
  deleteEnvironmentVar(requestParameters: DeleteEnvironmentVarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnvironmentItemChangeResponse>;
891
916
  /**
892
917
  * Creates request options for deleteNamedSnapshot without sending the request
918
+ * @deprecated
893
919
  */
894
920
  deleteNamedSnapshotRequestOpts(requestParameters: DeleteNamedSnapshotRequest): Promise<runtime.RequestOpts>;
895
921
  /**
896
922
  * Remove a named snapshot and release its storage (`boat snapshot rm <name>` in the CLI). Sandboxes already deployed from it are unaffected.
897
923
  * Remove a named snapshot
924
+ * @deprecated
898
925
  */
899
926
  deleteNamedSnapshotRaw(requestParameters: DeleteNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotDeletedResponse>>;
900
927
  /**
901
928
  * Remove a named snapshot and release its storage (`boat snapshot rm <name>` in the CLI). Sandboxes already deployed from it are unaffected.
902
929
  * Remove a named snapshot
930
+ * @deprecated
903
931
  */
904
932
  deleteNamedSnapshot(requestParameters: DeleteNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotDeletedResponse>;
905
933
  /**
@@ -907,12 +935,12 @@ export declare class BoatApi extends runtime.BaseAPI {
907
935
  */
908
936
  deleteSandboxRequestOpts(requestParameters: DeleteSandboxRequest): Promise<runtime.RequestOpts>;
909
937
  /**
910
- * 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`.
938
+ * 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`.
911
939
  * Permanently delete sandbox data
912
940
  */
913
941
  deleteSandboxRaw(requestParameters: DeleteSandboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeletionOperationResponse>>;
914
942
  /**
915
- * 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`.
943
+ * 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`.
916
944
  * Permanently delete sandbox data
917
945
  */
918
946
  deleteSandbox(requestParameters: DeleteSandboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeletionOperationResponse>;
@@ -921,15 +949,29 @@ export declare class BoatApi extends runtime.BaseAPI {
921
949
  */
922
950
  deleteSandboxSnapshotsRequestOpts(requestParameters: DeleteSandboxSnapshotsRequest): Promise<runtime.RequestOpts>;
923
951
  /**
924
- * 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.
952
+ * 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.
925
953
  * Permanently delete all snapshots of a sandbox
926
954
  */
927
955
  deleteSandboxSnapshotsRaw(requestParameters: DeleteSandboxSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeletionOperationListResponse>>;
928
956
  /**
929
- * 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.
957
+ * 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.
930
958
  * Permanently delete all snapshots of a sandbox
931
959
  */
932
960
  deleteSandboxSnapshots(requestParameters: DeleteSandboxSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeletionOperationListResponse>;
961
+ /**
962
+ * Creates request options for deleteSavedSnapshot without sending the request
963
+ */
964
+ deleteSavedSnapshotRequestOpts(requestParameters: DeleteSavedSnapshotRequest): Promise<runtime.RequestOpts>;
965
+ /**
966
+ * Remove a saved snapshot and release its storage (`boat snapshot rm <name>` in the CLI). Sandboxes already deployed from it are unaffected.
967
+ * Remove a saved snapshot
968
+ */
969
+ deleteSavedSnapshotRaw(requestParameters: DeleteSavedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavedSnapshotDeletedResponse>>;
970
+ /**
971
+ * Remove a saved snapshot and release its storage (`boat snapshot rm <name>` in the CLI). Sandboxes already deployed from it are unaffected.
972
+ * Remove a saved snapshot
973
+ */
974
+ deleteSavedSnapshot(requestParameters: DeleteSavedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavedSnapshotDeletedResponse>;
933
975
  /**
934
976
  * Creates request options for deleteSnapshot without sending the request
935
977
  */
@@ -1126,14 +1168,17 @@ export declare class BoatApi extends runtime.BaseAPI {
1126
1168
  getLatestSandboxSnapshot(requestParameters: GetLatestSandboxSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SnapshotLatestResponse>;
1127
1169
  /**
1128
1170
  * Creates request options for getNamedSnapshot without sending the request
1171
+ * @deprecated
1129
1172
  */
1130
1173
  getNamedSnapshotRequestOpts(requestParameters: GetNamedSnapshotRequest): Promise<runtime.RequestOpts>;
1131
1174
  /**
1132
1175
  * Get a named snapshot
1176
+ * @deprecated
1133
1177
  */
1134
1178
  getNamedSnapshotRaw(requestParameters: GetNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotInfoResponse>>;
1135
1179
  /**
1136
1180
  * Get a named snapshot
1181
+ * @deprecated
1137
1182
  */
1138
1183
  getNamedSnapshot(requestParameters: GetNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotInfoResponse>;
1139
1184
  /**
@@ -1141,15 +1186,27 @@ export declare class BoatApi extends runtime.BaseAPI {
1141
1186
  */
1142
1187
  getSandboxAiUsageRequestOpts(requestParameters: GetSandboxAiUsageRequest): Promise<runtime.RequestOpts>;
1143
1188
  /**
1144
- * One sandbox\'s proxied AI usage per UTC day, credential and model, and whether it is blocked. Needs an API key with `box.read` on the sandbox.
1189
+ * One sandbox\'s proxied AI usage per UTC day, credential and model, and whether it is blocked. Needs an API key with `sandbox.read` on the sandbox.
1145
1190
  * Get sandbox AI usage
1146
1191
  */
1147
1192
  getSandboxAiUsageRaw(requestParameters: GetSandboxAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxAiUsageResponse>>;
1148
1193
  /**
1149
- * One sandbox\'s proxied AI usage per UTC day, credential and model, and whether it is blocked. Needs an API key with `box.read` on the sandbox.
1194
+ * One sandbox\'s proxied AI usage per UTC day, credential and model, and whether it is blocked. Needs an API key with `sandbox.read` on the sandbox.
1150
1195
  * Get sandbox AI usage
1151
1196
  */
1152
1197
  getSandboxAiUsage(requestParameters: GetSandboxAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxAiUsageResponse>;
1198
+ /**
1199
+ * Creates request options for getSavedSnapshot without sending the request
1200
+ */
1201
+ getSavedSnapshotRequestOpts(requestParameters: GetSavedSnapshotRequest): Promise<runtime.RequestOpts>;
1202
+ /**
1203
+ * Get a saved snapshot
1204
+ */
1205
+ getSavedSnapshotRaw(requestParameters: GetSavedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavedSnapshotInfoResponse>>;
1206
+ /**
1207
+ * Get a saved snapshot
1208
+ */
1209
+ getSavedSnapshot(requestParameters: GetSavedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavedSnapshotInfoResponse>;
1153
1210
  /**
1154
1211
  * Creates request options for getSnapshotDownload without sending the request
1155
1212
  */
@@ -1306,16 +1363,19 @@ export declare class BoatApi extends runtime.BaseAPI {
1306
1363
  listCredentialProfiles(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileListResponse>;
1307
1364
  /**
1308
1365
  * Creates request options for listNamedSnapshots without sending the request
1366
+ * @deprecated
1309
1367
  */
1310
1368
  listNamedSnapshotsRequestOpts(): Promise<runtime.RequestOpts>;
1311
1369
  /**
1312
1370
  * List your named snapshots, newest first.
1313
1371
  * List named snapshots
1372
+ * @deprecated
1314
1373
  */
1315
1374
  listNamedSnapshotsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotListResponse>>;
1316
1375
  /**
1317
1376
  * List your named snapshots, newest first.
1318
1377
  * List named snapshots
1378
+ * @deprecated
1319
1379
  */
1320
1380
  listNamedSnapshots(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotListResponse>;
1321
1381
  /**
@@ -1346,18 +1406,32 @@ export declare class BoatApi extends runtime.BaseAPI {
1346
1406
  * List boat snapshots
1347
1407
  */
1348
1408
  listSandboxSnapshots(requestParameters: ListSandboxSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SnapshotListResponse>;
1409
+ /**
1410
+ * Creates request options for listSavedSnapshots without sending the request
1411
+ */
1412
+ listSavedSnapshotsRequestOpts(): Promise<runtime.RequestOpts>;
1413
+ /**
1414
+ * List your saved snapshots, newest first.
1415
+ * List saved snapshots
1416
+ */
1417
+ listSavedSnapshotsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavedSnapshotListResponse>>;
1418
+ /**
1419
+ * List your saved snapshots, newest first.
1420
+ * List saved snapshots
1421
+ */
1422
+ listSavedSnapshots(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavedSnapshotListResponse>;
1349
1423
  /**
1350
1424
  * Creates request options for listSnapshotShares without sending the request
1351
1425
  */
1352
1426
  listSnapshotSharesRequestOpts(requestParameters: ListSnapshotSharesRequest): Promise<runtime.RequestOpts>;
1353
1427
  /**
1354
- * 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`.
1355
- * List share codes of a named snapshot
1428
+ * 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`.
1429
+ * List share codes of a saved snapshot
1356
1430
  */
1357
1431
  listSnapshotSharesRaw(requestParameters: ListSnapshotSharesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotShareListResponse>>;
1358
1432
  /**
1359
- * 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`.
1360
- * List share codes of a named snapshot
1433
+ * 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`.
1434
+ * List share codes of a saved snapshot
1361
1435
  */
1362
1436
  listSnapshotShares(requestParameters: ListSnapshotSharesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotShareListResponse>;
1363
1437
  /**
@@ -1463,12 +1537,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1463
1537
  */
1464
1538
  recoverRequestOpts(requestParameters: RecoverRequest): Promise<runtime.RequestOpts>;
1465
1539
  /**
1466
- * Power-cycle the machine of a sandbox that stopped answering. The disk is not touched. The sandbox usually answers again within 1-2 minutes and then saves your work by itself; `sandbox.recovered` fires when it does. Refused with `409`: - `sandbox_is_reachable`: the sandbox answers normally. - `too_soon`: a recover started less than 10 minutes ago. - `no_machine`: the sandbox has no machine. Resume it instead. - `recover_unsupported`: its machine cannot be power-cycled. Wait for it to answer, or resume it from its last snapshot. - `reset_failed`: the power-cycle failed. Reply to the incident email.
1540
+ * Power-cycle the machine of a sandbox that stopped answering. The disk is not touched. The sandbox usually answers again within 1-2 minutes and then saves your work by itself; `sandbox.recovered` fires when it does. Refused with `409`: - `sandbox_is_reachable`: the sandbox answers normally. - `too_soon`: a recover started less than 10 minutes ago. - `no_machine`: the sandbox has no machine. Resume it instead. - `recover_unsupported`: its machine cannot be power-cycled. Wait for it to answer, or stop it with `{\"force\": true}` and resume it from its last good snapshot. With no snapshot, a forced stop loses everything. - `reset_failed`: the power-cycle failed. Reply to the incident email.
1467
1541
  * Recover a sandbox that stopped responding
1468
1542
  */
1469
1543
  recoverRaw(requestParameters: RecoverRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Recover200Response>>;
1470
1544
  /**
1471
- * Power-cycle the machine of a sandbox that stopped answering. The disk is not touched. The sandbox usually answers again within 1-2 minutes and then saves your work by itself; `sandbox.recovered` fires when it does. Refused with `409`: - `sandbox_is_reachable`: the sandbox answers normally. - `too_soon`: a recover started less than 10 minutes ago. - `no_machine`: the sandbox has no machine. Resume it instead. - `recover_unsupported`: its machine cannot be power-cycled. Wait for it to answer, or resume it from its last snapshot. - `reset_failed`: the power-cycle failed. Reply to the incident email.
1545
+ * Power-cycle the machine of a sandbox that stopped answering. The disk is not touched. The sandbox usually answers again within 1-2 minutes and then saves your work by itself; `sandbox.recovered` fires when it does. Refused with `409`: - `sandbox_is_reachable`: the sandbox answers normally. - `too_soon`: a recover started less than 10 minutes ago. - `no_machine`: the sandbox has no machine. Resume it instead. - `recover_unsupported`: its machine cannot be power-cycled. Wait for it to answer, or stop it with `{\"force\": true}` and resume it from its last good snapshot. With no snapshot, a forced stop loses everything. - `reset_failed`: the power-cycle failed. Reply to the incident email.
1472
1546
  * Recover a sandbox that stopped responding
1473
1547
  */
1474
1548
  recover(requestParameters: RecoverRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Recover200Response>;
@@ -1570,18 +1644,35 @@ export declare class BoatApi extends runtime.BaseAPI {
1570
1644
  sandboxes(requestParameters?: SandboxesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxListResponse>;
1571
1645
  /**
1572
1646
  * Creates request options for saveNamedSnapshot without sending the request
1647
+ * @deprecated
1573
1648
  */
1574
1649
  saveNamedSnapshotRequestOpts(input: SaveNamedSnapshotRequest | runtime.FlatBody<SaveNamedSnapshotRequest, 'namedSnapshotSaveRequest'>): Promise<runtime.RequestOpts>;
1575
1650
  /**
1576
1651
  * 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.
1577
1652
  * Save a named snapshot
1653
+ * @deprecated
1578
1654
  */
1579
1655
  saveNamedSnapshotRaw(requestParameters: SaveNamedSnapshotRequest | runtime.FlatBody<SaveNamedSnapshotRequest, 'namedSnapshotSaveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NamedSnapshotSavingResponse>>;
1580
1656
  /**
1581
1657
  * 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.
1582
1658
  * Save a named snapshot
1659
+ * @deprecated
1583
1660
  */
1584
1661
  saveNamedSnapshot(requestParameters: SaveNamedSnapshotRequest | runtime.FlatBody<SaveNamedSnapshotRequest, 'namedSnapshotSaveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotSavingResponse>;
1662
+ /**
1663
+ * Creates request options for saveSavedSnapshot without sending the request
1664
+ */
1665
+ saveSavedSnapshotRequestOpts(input: SaveSavedSnapshotRequest | runtime.FlatBody<SaveSavedSnapshotRequest, 'savedSnapshotSaveRequest'>): Promise<runtime.RequestOpts>;
1666
+ /**
1667
+ * 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.
1668
+ * Save a saved snapshot
1669
+ */
1670
+ saveSavedSnapshotRaw(requestParameters: SaveSavedSnapshotRequest | runtime.FlatBody<SaveSavedSnapshotRequest, 'savedSnapshotSaveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavedSnapshotSavingResponse>>;
1671
+ /**
1672
+ * 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.
1673
+ * Save a saved snapshot
1674
+ */
1675
+ saveSavedSnapshot(requestParameters: SaveSavedSnapshotRequest | runtime.FlatBody<SaveSavedSnapshotRequest, 'savedSnapshotSaveRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavedSnapshotSavingResponse>;
1585
1676
  /**
1586
1677
  * Creates request options for secrets without sending the request
1587
1678
  */
@@ -1713,12 +1804,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1713
1804
  */
1714
1805
  shareRequestOpts(requestParameters: ShareRequest): Promise<runtime.RequestOpts>;
1715
1806
  /**
1716
- * Let every member of the organization that pays for this sandbox use it. Your personal logins (GitHub token, Claude and Codex logins, environment secrets, the sandbox\'s own CLI key) are never pushed to it again and are wiped off its disk at its next start, so a teammate never acts as you. Files you wrote stay. One-way: the sandbox stays like a `noEnv` sandbox from then on. A running sandbox stays `view` for the organization until you stop and resume it (`restartRequired`). Only the person who created the sandbox can share it, and only a sandbox billed to an organization. Sharing an already shared sandbox is a no-op.
1807
+ * Let every member of the organization that pays for this sandbox use it. A sandbox that holds none of your personal logins is shared at once. A sandbox that holds them: your personal logins (GitHub token, Claude and Codex logins, environment secrets, the sandbox\'s own CLI key) are never pushed to it again and are wiped off its disk at its next start, so a teammate never acts as you. Files you wrote stay. The wipe is one-way: the sandbox stays like a `noEnv` sandbox from then on. A running sandbox stays `view` for the organization until you stop and resume it (`restartRequired`): its running programs hold your logins in memory. Teammates never read history recorded before the share. Only the person who created the sandbox can share it, and only a sandbox billed to an organization. Sharing an already shared sandbox is a no-op. Undo with `POST /sandboxes/{sandboxId}/unshare`.
1717
1808
  * Share sandbox with the organization
1718
1809
  */
1719
1810
  shareRaw(requestParameters: ShareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Share200Response>>;
1720
1811
  /**
1721
- * Let every member of the organization that pays for this sandbox use it. Your personal logins (GitHub token, Claude and Codex logins, environment secrets, the sandbox\'s own CLI key) are never pushed to it again and are wiped off its disk at its next start, so a teammate never acts as you. Files you wrote stay. One-way: the sandbox stays like a `noEnv` sandbox from then on. A running sandbox stays `view` for the organization until you stop and resume it (`restartRequired`). Only the person who created the sandbox can share it, and only a sandbox billed to an organization. Sharing an already shared sandbox is a no-op.
1812
+ * Let every member of the organization that pays for this sandbox use it. A sandbox that holds none of your personal logins is shared at once. A sandbox that holds them: your personal logins (GitHub token, Claude and Codex logins, environment secrets, the sandbox\'s own CLI key) are never pushed to it again and are wiped off its disk at its next start, so a teammate never acts as you. Files you wrote stay. The wipe is one-way: the sandbox stays like a `noEnv` sandbox from then on. A running sandbox stays `view` for the organization until you stop and resume it (`restartRequired`): its running programs hold your logins in memory. Teammates never read history recorded before the share. Only the person who created the sandbox can share it, and only a sandbox billed to an organization. Sharing an already shared sandbox is a no-op. Undo with `POST /sandboxes/{sandboxId}/unshare`.
1722
1813
  * Share sandbox with the organization
1723
1814
  */
1724
1815
  share(requestParameters: ShareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Share200Response>;
@@ -1792,6 +1883,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1792
1883
  * Switch a credential to another account
1793
1884
  */
1794
1885
  switchCredentialAccount(requestParameters: SwitchCredentialAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialAccountsResponse>;
1886
+ /**
1887
+ * Creates request options for unshare without sending the request
1888
+ */
1889
+ unshareRequestOpts(requestParameters: UnshareRequest): Promise<runtime.RequestOpts>;
1890
+ /**
1891
+ * Make a shared organization sandbox private again, at once. Only you can then use it. Teammates still see it in their list and can stop it. Their SSH keys are removed from the running machine. Nothing on the sandbox changes: files, installs and its environment stay. Undo with `POST /sandboxes/{sandboxId}/share`. Only the person who created the sandbox can make it private, and only a sandbox billed to an organization. Making a private sandbox private is a no-op.
1892
+ * Make an organization sandbox private
1893
+ */
1894
+ unshareRaw(requestParameters: UnshareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Unshare200Response>>;
1895
+ /**
1896
+ * Make a shared organization sandbox private again, at once. Only you can then use it. Teammates still see it in their list and can stop it. Their SSH keys are removed from the running machine. Nothing on the sandbox changes: files, installs and its environment stay. Undo with `POST /sandboxes/{sandboxId}/share`. Only the person who created the sandbox can make it private, and only a sandbox billed to an organization. Making a private sandbox private is a no-op.
1897
+ * Make an organization sandbox private
1898
+ */
1899
+ unshare(requestParameters: UnshareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Unshare200Response>;
1795
1900
  /**
1796
1901
  * Creates request options for update without sending the request
1797
1902
  */
@@ -1860,6 +1965,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1860
1965
  * Update a sandbox environment
1861
1966
  */
1862
1967
  updateEnvironment(requestParameters: UpdateEnvironmentRequest | runtime.FlatBody<UpdateEnvironmentRequest, 'updateSandboxEnvironmentRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxEnvironmentResponse>;
1968
+ /**
1969
+ * Creates request options for updateOrganization without sending the request
1970
+ */
1971
+ updateOrganizationRequestOpts(input: UpdateOrganizationOperationRequest | runtime.FlatBody<UpdateOrganizationOperationRequest, 'updateOrganizationRequest'>): Promise<runtime.RequestOpts>;
1972
+ /**
1973
+ * Owners and admins set whether new sandboxes of the organization start private (only their creator can use them) or shared (every member can use those that hold none of their creator\'s logins). The default is shared. Existing sandboxes keep their setting; their creators change it with `POST /sandboxes/{sandboxId}/share` and `POST /sandboxes/{sandboxId}/unshare`. A fork of a private sandbox is private.
1974
+ * Update organization settings
1975
+ */
1976
+ updateOrganizationRaw(requestParameters: UpdateOrganizationOperationRequest | runtime.FlatBody<UpdateOrganizationOperationRequest, 'updateOrganizationRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateOrganization200Response>>;
1977
+ /**
1978
+ * Owners and admins set whether new sandboxes of the organization start private (only their creator can use them) or shared (every member can use those that hold none of their creator\'s logins). The default is shared. Existing sandboxes keep their setting; their creators change it with `POST /sandboxes/{sandboxId}/share` and `POST /sandboxes/{sandboxId}/unshare`. A fork of a private sandbox is private.
1979
+ * Update organization settings
1980
+ */
1981
+ updateOrganization(requestParameters: UpdateOrganizationOperationRequest | runtime.FlatBody<UpdateOrganizationOperationRequest, 'updateOrganizationRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateOrganization200Response>;
1863
1982
  /**
1864
1983
  * Creates request options for updateSecrets without sending the request
1865
1984
  */
@@ -2008,3 +2127,10 @@ export declare const SandboxesSortEnum: {
2008
2127
  readonly Desc: 'desc';
2009
2128
  };
2010
2129
  export type SandboxesSortEnum = typeof SandboxesSortEnum[keyof typeof SandboxesSortEnum];
2130
+ /**
2131
+ * @export
2132
+ */
2133
+ export declare const SandboxesIncludeEnum: {
2134
+ readonly Cost: 'cost';
2135
+ };
2136
+ export type SandboxesIncludeEnum = typeof SandboxesIncludeEnum[keyof typeof SandboxesIncludeEnum];