@boatdev/sdk 1.9.4 → 1.9.6

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 (169) hide show
  1. package/.openapi-generator/FILES +44 -0
  2. package/dist/apis/BoatApi.d.ts +305 -7
  3. package/dist/apis/BoatApi.js +764 -15
  4. package/dist/esm/apis/BoatApi.d.ts +305 -7
  5. package/dist/esm/apis/BoatApi.js +764 -15
  6. package/dist/esm/models/AccountAiUsageResponse.d.ts +83 -0
  7. package/dist/esm/models/AccountAiUsageResponse.js +78 -0
  8. package/dist/esm/models/AiProxySettings.d.ts +81 -0
  9. package/dist/esm/models/AiProxySettings.js +76 -0
  10. package/dist/esm/models/AiProxySettingsAllOfPricing.d.ts +38 -0
  11. package/dist/esm/models/AiProxySettingsAllOfPricing.js +47 -0
  12. package/dist/esm/models/AiUsageRow.d.ts +80 -0
  13. package/dist/esm/models/AiUsageRow.js +75 -0
  14. package/dist/esm/models/AiUsageTotals.d.ts +62 -0
  15. package/dist/esm/models/AiUsageTotals.js +63 -0
  16. package/dist/esm/models/CreateCredentialProfileRequest.d.ts +44 -0
  17. package/dist/esm/models/CreateCredentialProfileRequest.js +47 -0
  18. package/dist/esm/models/CredentialId.d.ts +36 -0
  19. package/dist/esm/models/CredentialId.js +54 -0
  20. package/dist/esm/models/CredentialProfile.d.ts +82 -0
  21. package/dist/esm/models/CredentialProfile.js +77 -0
  22. package/dist/esm/models/CredentialProfileDeletedResponse.d.ts +44 -0
  23. package/dist/esm/models/CredentialProfileDeletedResponse.js +51 -0
  24. package/dist/esm/models/CredentialProfileListResponse.d.ts +45 -0
  25. package/dist/esm/models/CredentialProfileListResponse.js +52 -0
  26. package/dist/esm/models/CredentialProfileOwner.d.ts +58 -0
  27. package/dist/esm/models/CredentialProfileOwner.js +62 -0
  28. package/dist/esm/models/CredentialProfileResponse.d.ts +51 -0
  29. package/dist/esm/models/CredentialProfileResponse.js +56 -0
  30. package/dist/esm/models/DeletionOperation.d.ts +1 -1
  31. package/dist/esm/models/FileUrlRequest.d.ts +38 -0
  32. package/dist/esm/models/FileUrlRequest.js +45 -0
  33. package/dist/esm/models/FileUrlResponse.d.ts +78 -0
  34. package/dist/esm/models/FileUrlResponse.js +77 -0
  35. package/dist/esm/models/ProcessListResponse.d.ts +1 -1
  36. package/dist/esm/models/SandboxAiAccessResponse.d.ts +56 -0
  37. package/dist/esm/models/SandboxAiAccessResponse.js +59 -0
  38. package/dist/esm/models/SandboxAiUsage.d.ts +64 -0
  39. package/dist/esm/models/SandboxAiUsage.js +65 -0
  40. package/dist/esm/models/SandboxAiUsageResponse.d.ts +88 -0
  41. package/dist/esm/models/SandboxAiUsageResponse.js +81 -0
  42. package/dist/esm/models/SandboxEnvironment.d.ts +13 -1
  43. package/dist/esm/models/SandboxEnvironment.js +4 -0
  44. package/dist/esm/models/SetCredentialKeyRequest.d.ts +32 -0
  45. package/dist/esm/models/SetCredentialKeyRequest.js +43 -0
  46. package/dist/esm/models/SetCustomApiRequest.d.ts +38 -0
  47. package/dist/esm/models/SetCustomApiRequest.js +47 -0
  48. package/dist/esm/models/SetSandboxAiAccessRequest.d.ts +32 -0
  49. package/dist/esm/models/SetSandboxAiAccessRequest.js +43 -0
  50. package/dist/esm/models/SnapshotSummary.d.ts +14 -0
  51. package/dist/esm/models/SnapshotSummary.js +9 -0
  52. package/dist/esm/models/UpdateAiProxyRequest.d.ts +32 -0
  53. package/dist/esm/models/UpdateAiProxyRequest.js +43 -0
  54. package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +38 -0
  55. package/dist/esm/models/UpdateCredentialProfileRequest.js +43 -0
  56. package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
  57. package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +4 -0
  58. package/dist/esm/models/index.d.ts +22 -0
  59. package/dist/esm/models/index.js +22 -0
  60. package/dist/models/AccountAiUsageResponse.d.ts +83 -0
  61. package/dist/models/AccountAiUsageResponse.js +85 -0
  62. package/dist/models/AiProxySettings.d.ts +81 -0
  63. package/dist/models/AiProxySettings.js +83 -0
  64. package/dist/models/AiProxySettingsAllOfPricing.d.ts +38 -0
  65. package/dist/models/AiProxySettingsAllOfPricing.js +54 -0
  66. package/dist/models/AiUsageRow.d.ts +80 -0
  67. package/dist/models/AiUsageRow.js +82 -0
  68. package/dist/models/AiUsageTotals.d.ts +62 -0
  69. package/dist/models/AiUsageTotals.js +70 -0
  70. package/dist/models/CreateCredentialProfileRequest.d.ts +44 -0
  71. package/dist/models/CreateCredentialProfileRequest.js +54 -0
  72. package/dist/models/CredentialId.d.ts +36 -0
  73. package/dist/models/CredentialId.js +62 -0
  74. package/dist/models/CredentialProfile.d.ts +82 -0
  75. package/dist/models/CredentialProfile.js +84 -0
  76. package/dist/models/CredentialProfileDeletedResponse.d.ts +44 -0
  77. package/dist/models/CredentialProfileDeletedResponse.js +58 -0
  78. package/dist/models/CredentialProfileListResponse.d.ts +45 -0
  79. package/dist/models/CredentialProfileListResponse.js +59 -0
  80. package/dist/models/CredentialProfileOwner.d.ts +58 -0
  81. package/dist/models/CredentialProfileOwner.js +70 -0
  82. package/dist/models/CredentialProfileResponse.d.ts +51 -0
  83. package/dist/models/CredentialProfileResponse.js +63 -0
  84. package/dist/models/DeletionOperation.d.ts +1 -1
  85. package/dist/models/FileUrlRequest.d.ts +38 -0
  86. package/dist/models/FileUrlRequest.js +52 -0
  87. package/dist/models/FileUrlResponse.d.ts +78 -0
  88. package/dist/models/FileUrlResponse.js +85 -0
  89. package/dist/models/ProcessListResponse.d.ts +1 -1
  90. package/dist/models/SandboxAiAccessResponse.d.ts +56 -0
  91. package/dist/models/SandboxAiAccessResponse.js +66 -0
  92. package/dist/models/SandboxAiUsage.d.ts +64 -0
  93. package/dist/models/SandboxAiUsage.js +72 -0
  94. package/dist/models/SandboxAiUsageResponse.d.ts +88 -0
  95. package/dist/models/SandboxAiUsageResponse.js +88 -0
  96. package/dist/models/SandboxEnvironment.d.ts +13 -1
  97. package/dist/models/SandboxEnvironment.js +4 -0
  98. package/dist/models/SetCredentialKeyRequest.d.ts +32 -0
  99. package/dist/models/SetCredentialKeyRequest.js +50 -0
  100. package/dist/models/SetCustomApiRequest.d.ts +38 -0
  101. package/dist/models/SetCustomApiRequest.js +54 -0
  102. package/dist/models/SetSandboxAiAccessRequest.d.ts +32 -0
  103. package/dist/models/SetSandboxAiAccessRequest.js +50 -0
  104. package/dist/models/SnapshotSummary.d.ts +14 -0
  105. package/dist/models/SnapshotSummary.js +10 -1
  106. package/dist/models/UpdateAiProxyRequest.d.ts +32 -0
  107. package/dist/models/UpdateAiProxyRequest.js +50 -0
  108. package/dist/models/UpdateCredentialProfileRequest.d.ts +38 -0
  109. package/dist/models/UpdateCredentialProfileRequest.js +50 -0
  110. package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
  111. package/dist/models/UpdateSandboxEnvironmentRequest.js +4 -0
  112. package/dist/models/index.d.ts +22 -0
  113. package/dist/models/index.js +22 -0
  114. package/docs/AccountAiUsageResponse.md +48 -0
  115. package/docs/AiProxySettings.md +48 -0
  116. package/docs/AiProxySettingsAllOfPricing.md +34 -0
  117. package/docs/AiUsageRow.md +48 -0
  118. package/docs/AiUsageTotals.md +43 -0
  119. package/docs/BoatApi.md +1568 -359
  120. package/docs/CreateCredentialProfileRequest.md +36 -0
  121. package/docs/CredentialId.md +31 -0
  122. package/docs/CredentialProfile.md +49 -0
  123. package/docs/CredentialProfileDeletedResponse.md +36 -0
  124. package/docs/CredentialProfileListResponse.md +36 -0
  125. package/docs/CredentialProfileOwner.md +38 -0
  126. package/docs/CredentialProfileResponse.md +38 -0
  127. package/docs/FileUrlRequest.md +34 -0
  128. package/docs/FileUrlResponse.md +42 -0
  129. package/docs/SandboxAiAccessResponse.md +40 -0
  130. package/docs/SandboxAiUsage.md +42 -0
  131. package/docs/SandboxAiUsageResponse.md +50 -0
  132. package/docs/SandboxEnvironment.md +4 -0
  133. package/docs/SetCredentialKeyRequest.md +32 -0
  134. package/docs/SetCustomApiRequest.md +34 -0
  135. package/docs/SetSandboxAiAccessRequest.md +32 -0
  136. package/docs/SnapshotSummary.md +2 -0
  137. package/docs/UpdateAiProxyRequest.md +32 -0
  138. package/docs/UpdateCredentialProfileRequest.md +34 -0
  139. package/docs/UpdateSandboxEnvironmentRequest.md +4 -0
  140. package/package.json +1 -1
  141. package/src/apis/BoatApi.ts +1257 -105
  142. package/src/models/AccountAiUsageResponse.ts +160 -0
  143. package/src/models/AiProxySettings.ts +146 -0
  144. package/src/models/AiProxySettingsAllOfPricing.ts +75 -0
  145. package/src/models/AiUsageRow.ts +138 -0
  146. package/src/models/AiUsageTotals.ts +111 -0
  147. package/src/models/CreateCredentialProfileRequest.ts +82 -0
  148. package/src/models/CredentialId.ts +64 -0
  149. package/src/models/CredentialProfile.ts +153 -0
  150. package/src/models/CredentialProfileDeletedResponse.ts +84 -0
  151. package/src/models/CredentialProfileListResponse.ts +92 -0
  152. package/src/models/CredentialProfileOwner.ts +104 -0
  153. package/src/models/CredentialProfileResponse.ts +101 -0
  154. package/src/models/DeletionOperation.ts +1 -1
  155. package/src/models/FileUrlRequest.ts +74 -0
  156. package/src/models/FileUrlResponse.ts +131 -0
  157. package/src/models/ProcessListResponse.ts +1 -1
  158. package/src/models/SandboxAiAccessResponse.ts +102 -0
  159. package/src/models/SandboxAiUsage.ts +126 -0
  160. package/src/models/SandboxAiUsageResponse.ts +162 -0
  161. package/src/models/SandboxEnvironment.ts +17 -1
  162. package/src/models/SetCredentialKeyRequest.ts +66 -0
  163. package/src/models/SetCustomApiRequest.ts +75 -0
  164. package/src/models/SetSandboxAiAccessRequest.ts +66 -0
  165. package/src/models/SnapshotSummary.ts +17 -0
  166. package/src/models/UpdateAiProxyRequest.ts +66 -0
  167. package/src/models/UpdateCredentialProfileRequest.ts +73 -0
  168. package/src/models/UpdateSandboxEnvironmentRequest.ts +16 -0
  169. package/src/models/index.ts +22 -0
@@ -10,9 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
+ import { type AccountAiUsageResponse } from '../models/AccountAiUsageResponse';
13
14
  import { type ActiveOrgResponse } from '../models/ActiveOrgResponse';
14
15
  import { type ActiveOrgUpdateRequest } from '../models/ActiveOrgUpdateRequest';
15
16
  import { type AddEnvironmentRepoRequest } from '../models/AddEnvironmentRepoRequest';
17
+ import { type AiProxySettings } from '../models/AiProxySettings';
16
18
  import { type ApiKeyRevokeResponse } from '../models/ApiKeyRevokeResponse';
17
19
  import { type ApiKeySecretResponse } from '../models/ApiKeySecretResponse';
18
20
  import { type ApiKeyUsageResponse } from '../models/ApiKeyUsageResponse';
@@ -26,10 +28,15 @@ import { type CommandRequest } from '../models/CommandRequest';
26
28
  import { type CommandStatusResponse } from '../models/CommandStatusResponse';
27
29
  import { type CommandStopResponse } from '../models/CommandStopResponse';
28
30
  import { type ConversationsResponse } from '../models/ConversationsResponse';
31
+ import { type CreateCredentialProfileRequest } from '../models/CreateCredentialProfileRequest';
29
32
  import { type CreateSandboxEnvironmentRequest } from '../models/CreateSandboxEnvironmentRequest';
30
33
  import { type CreateSandboxRequest } from '../models/CreateSandboxRequest';
31
34
  import { type CreateSandboxResponse } from '../models/CreateSandboxResponse';
32
35
  import { type CreateScopedApiKeyRequest } from '../models/CreateScopedApiKeyRequest';
36
+ import { type CredentialId } from '../models/CredentialId';
37
+ import { type CredentialProfileDeletedResponse } from '../models/CredentialProfileDeletedResponse';
38
+ import { type CredentialProfileListResponse } from '../models/CredentialProfileListResponse';
39
+ import { type CredentialProfileResponse } from '../models/CredentialProfileResponse';
33
40
  import { type DataRetentionPolicyResponse } from '../models/DataRetentionPolicyResponse';
34
41
  import { type DataRetentionUpdateRequest } from '../models/DataRetentionUpdateRequest';
35
42
  import { type DeletionOperationListResponse } from '../models/DeletionOperationListResponse';
@@ -39,6 +46,8 @@ import { type DesktopResponse } from '../models/DesktopResponse';
39
46
  import { type EnvironmentItemChangeResponse } from '../models/EnvironmentItemChangeResponse';
40
47
  import { type EventsResponse } from '../models/EventsResponse';
41
48
  import { type FileReadResponse } from '../models/FileReadResponse';
49
+ import { type FileUrlRequest } from '../models/FileUrlRequest';
50
+ import { type FileUrlResponse } from '../models/FileUrlResponse';
42
51
  import { type FileWriteRequest } from '../models/FileWriteRequest';
43
52
  import { type FileWriteResponse } from '../models/FileWriteResponse';
44
53
  import { type ForkRequest } from '../models/ForkRequest';
@@ -65,6 +74,8 @@ import { type RepoSelectionResponse } from '../models/RepoSelectionResponse';
65
74
  import { type ReposResponse } from '../models/ReposResponse';
66
75
  import { type ResumeRequest } from '../models/ResumeRequest';
67
76
  import { type SandboxActionResponse } from '../models/SandboxActionResponse';
77
+ import { type SandboxAiAccessResponse } from '../models/SandboxAiAccessResponse';
78
+ import { type SandboxAiUsageResponse } from '../models/SandboxAiUsageResponse';
68
79
  import { type SandboxEnvironmentListResponse } from '../models/SandboxEnvironmentListResponse';
69
80
  import { type SandboxEnvironmentResponse } from '../models/SandboxEnvironmentResponse';
70
81
  import { type SandboxInfoResponse } from '../models/SandboxInfoResponse';
@@ -72,8 +83,11 @@ import { type SandboxListResponse } from '../models/SandboxListResponse';
72
83
  import { type SandboxUsageResponse } from '../models/SandboxUsageResponse';
73
84
  import { type SecretsResponse } from '../models/SecretsResponse';
74
85
  import { type SecretsUpdateRequest } from '../models/SecretsUpdateRequest';
86
+ import { type SetCredentialKeyRequest } from '../models/SetCredentialKeyRequest';
87
+ import { type SetCustomApiRequest } from '../models/SetCustomApiRequest';
75
88
  import { type SetEnvironmentSecretFileRequest } from '../models/SetEnvironmentSecretFileRequest';
76
89
  import { type SetEnvironmentVarRequest } from '../models/SetEnvironmentVarRequest';
90
+ import { type SetSandboxAiAccessRequest } from '../models/SetSandboxAiAccessRequest';
77
91
  import { type Share200Response } from '../models/Share200Response';
78
92
  import { type SnapshotDownloadResponse } from '../models/SnapshotDownloadResponse';
79
93
  import { type SnapshotLatestResponse } from '../models/SnapshotLatestResponse';
@@ -88,6 +102,8 @@ import { type StopRequest } from '../models/StopRequest';
88
102
  import { type TelemetryResponse } from '../models/TelemetryResponse';
89
103
  import { type TelemetrySetRequest } from '../models/TelemetrySetRequest';
90
104
  import { type TelemetrySetResponse } from '../models/TelemetrySetResponse';
105
+ import { type UpdateAiProxyRequest } from '../models/UpdateAiProxyRequest';
106
+ import { type UpdateCredentialProfileRequest } from '../models/UpdateCredentialProfileRequest';
91
107
  import { type UpdateSandboxEnvironmentRequest } from '../models/UpdateSandboxEnvironmentRequest';
92
108
  import { type UpdateSandboxRequest } from '../models/UpdateSandboxRequest';
93
109
  import { type UpgradeSandboxEnvironmentRequest } from '../models/UpgradeSandboxEnvironmentRequest';
@@ -101,6 +117,7 @@ import { type WebhookUpdateRequest } from '../models/WebhookUpdateRequest';
101
117
  export interface AddEnvironmentRepoOperationRequest {
102
118
  environmentId: string;
103
119
  addEnvironmentRepoRequest: AddEnvironmentRepoRequest;
120
+ org?: string;
104
121
  }
105
122
  export interface ApiKeyUsageRequest {
106
123
  apiKeyId: string;
@@ -150,8 +167,16 @@ export interface CreateRequest {
150
167
  xBoatOrg?: string;
151
168
  createSandboxRequest?: CreateSandboxRequest;
152
169
  }
170
+ export interface CreateCredentialProfileOperationRequest {
171
+ createCredentialProfileRequest: CreateCredentialProfileRequest;
172
+ }
173
+ export interface CreateDownloadUrlRequest {
174
+ sandboxId: string;
175
+ fileUrlRequest: FileUrlRequest;
176
+ }
153
177
  export interface CreateEnvironmentRequest {
154
178
  createSandboxEnvironmentRequest: CreateSandboxEnvironmentRequest;
179
+ org?: string;
155
180
  }
156
181
  export interface CreateScopedApiKeyOperationRequest {
157
182
  createScopedApiKeyRequest: CreateScopedApiKeyRequest;
@@ -159,23 +184,42 @@ export interface CreateScopedApiKeyOperationRequest {
159
184
  export interface CreateSnapshotShareRequest {
160
185
  name: string;
161
186
  }
187
+ export interface CreateUploadUrlRequest {
188
+ sandboxId: string;
189
+ fileUrlRequest: FileUrlRequest;
190
+ }
162
191
  export interface CreateWebhookRequest {
163
192
  webhookCreateRequest: WebhookCreateRequest;
164
193
  }
194
+ export interface DeleteCredentialProfileRequest {
195
+ profile: string;
196
+ }
197
+ export interface DeleteCredentialProfileCustomApiRequest {
198
+ profile: string;
199
+ name: string;
200
+ }
201
+ export interface DeleteCredentialProfileKeyRequest {
202
+ profile: string;
203
+ credential: CredentialId;
204
+ }
165
205
  export interface DeleteEnvironmentRequest {
166
206
  environmentId: string;
207
+ org?: string;
167
208
  }
168
209
  export interface DeleteEnvironmentRepoRequest {
169
210
  environmentId: string;
170
211
  repositoryId: string;
212
+ org?: string;
171
213
  }
172
214
  export interface DeleteEnvironmentSecretFileRequest {
173
215
  path: string;
174
216
  environmentId: string;
217
+ org?: string;
175
218
  }
176
219
  export interface DeleteEnvironmentVarRequest {
177
220
  environmentId: string;
178
221
  key: string;
222
+ org?: string;
179
223
  }
180
224
  export interface DeleteNamedSnapshotRequest {
181
225
  name: string;
@@ -201,6 +245,9 @@ export interface DesktopOperationRequest {
201
245
  theme?: DesktopOperationThemeEnum;
202
246
  desktopRequest?: DesktopRequest;
203
247
  }
248
+ export interface EnvironmentsRequest {
249
+ org?: string;
250
+ }
204
251
  export interface EventsRequest {
205
252
  sandboxId: string;
206
253
  limit?: number;
@@ -217,6 +264,16 @@ export interface ForkOperationRequest {
217
264
  export interface GetRequest {
218
265
  sandboxId: string;
219
266
  }
267
+ export interface GetAiProxyRequest {
268
+ org?: string;
269
+ xBoatOrg?: string;
270
+ }
271
+ export interface GetAiUsageRequest {
272
+ days?: number;
273
+ profile?: string;
274
+ org?: string;
275
+ xBoatOrg?: string;
276
+ }
220
277
  export interface GetCommandRequest {
221
278
  sandboxId: string;
222
279
  commandId: string;
@@ -230,6 +287,10 @@ export interface GetLatestSandboxSnapshotRequest {
230
287
  export interface GetNamedSnapshotRequest {
231
288
  name: string;
232
289
  }
290
+ export interface GetSandboxAiUsageRequest {
291
+ sandboxId: string;
292
+ days?: number;
293
+ }
233
294
  export interface GetSnapshotDownloadRequest {
234
295
  snapshotId: string;
235
296
  }
@@ -335,14 +396,30 @@ export interface SelectRepoRequest {
335
396
  export interface SetActiveOrganizationRequest {
336
397
  activeOrgUpdateRequest: ActiveOrgUpdateRequest;
337
398
  }
399
+ export interface SetCredentialProfileCustomApiRequest {
400
+ profile: string;
401
+ name: string;
402
+ setCustomApiRequest: SetCustomApiRequest;
403
+ }
404
+ export interface SetCredentialProfileKeyRequest {
405
+ profile: string;
406
+ credential: CredentialId;
407
+ setCredentialKeyRequest: SetCredentialKeyRequest;
408
+ }
338
409
  export interface SetEnvironmentSecretFileOperationRequest {
339
410
  environmentId: string;
340
411
  setEnvironmentSecretFileRequest: SetEnvironmentSecretFileRequest;
412
+ org?: string;
341
413
  }
342
414
  export interface SetEnvironmentVarOperationRequest {
343
415
  environmentId: string;
344
416
  key: string;
345
417
  setEnvironmentVarRequest: SetEnvironmentVarRequest;
418
+ org?: string;
419
+ }
420
+ export interface SetSandboxAiAccessOperationRequest {
421
+ sandboxId: string;
422
+ setSandboxAiAccessRequest: SetSandboxAiAccessRequest;
346
423
  }
347
424
  export interface SetTelemetryRequest {
348
425
  telemetrySetRequest: TelemetrySetRequest;
@@ -371,12 +448,22 @@ export interface UpdateRequest {
371
448
  sandboxId: string;
372
449
  updateSandboxRequest: UpdateSandboxRequest;
373
450
  }
451
+ export interface UpdateAiProxyOperationRequest {
452
+ updateAiProxyRequest: UpdateAiProxyRequest;
453
+ org?: string;
454
+ xBoatOrg?: string;
455
+ }
456
+ export interface UpdateCredentialProfileOperationRequest {
457
+ profile: string;
458
+ updateCredentialProfileRequest: UpdateCredentialProfileRequest;
459
+ }
374
460
  export interface UpdateDataRetentionRequest {
375
461
  dataRetentionUpdateRequest: DataRetentionUpdateRequest;
376
462
  }
377
463
  export interface UpdateEnvironmentRequest {
378
464
  environmentId: string;
379
465
  updateSandboxEnvironmentRequest: UpdateSandboxEnvironmentRequest;
466
+ org?: string;
380
467
  }
381
468
  export interface UpdateSecretsRequest {
382
469
  secretsUpdateRequest: SecretsUpdateRequest;
@@ -387,6 +474,7 @@ export interface UpdateWebhookRequest {
387
474
  }
388
475
  export interface UpgradeEnvironmentRequest {
389
476
  environmentId: string;
477
+ org?: string;
390
478
  upgradeSandboxEnvironmentRequest?: UpgradeSandboxEnvironmentRequest;
391
479
  }
392
480
  export interface UsageRequest {
@@ -556,6 +644,34 @@ export declare class BoatApi extends runtime.BaseAPI {
556
644
  * Create sandbox
557
645
  */
558
646
  create(requestParameters?: CreateRequest | runtime.FlatBody<CreateRequest, 'createSandboxRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateSandboxResponse>;
647
+ /**
648
+ * Creates request options for createCredentialProfile without sending the request
649
+ */
650
+ createCredentialProfileRequestOpts(input: CreateCredentialProfileOperationRequest | runtime.FlatBody<CreateCredentialProfileOperationRequest, 'createCredentialProfileRequest'>): Promise<runtime.RequestOpts>;
651
+ /**
652
+ * Creates an empty profile, or a copy of `copyFrom`. With `org`, the profile belongs to that organization and only its owners can create it. Needs an API key with `account.admin`.
653
+ * Create a credential profile
654
+ */
655
+ createCredentialProfileRaw(requestParameters: CreateCredentialProfileOperationRequest | runtime.FlatBody<CreateCredentialProfileOperationRequest, 'createCredentialProfileRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
656
+ /**
657
+ * Creates an empty profile, or a copy of `copyFrom`. With `org`, the profile belongs to that organization and only its owners can create it. Needs an API key with `account.admin`.
658
+ * Create a credential profile
659
+ */
660
+ createCredentialProfile(requestParameters: CreateCredentialProfileOperationRequest | runtime.FlatBody<CreateCredentialProfileOperationRequest, 'createCredentialProfileRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
661
+ /**
662
+ * Creates request options for createDownloadUrl without sending the request
663
+ */
664
+ createDownloadUrlRequestOpts(input: CreateDownloadUrlRequest | runtime.FlatBody<CreateDownloadUrlRequest, 'fileUrlRequest'>): Promise<runtime.RequestOpts>;
665
+ /**
666
+ * Returns a short-lived URL that the sandbox serves itself. GET it to download the file as raw bytes, with no size limit and no Authorization header. The URL is bound to this path and expires after `ttlSeconds` (default 15 minutes, at most 1 hour). Needs `file.read`. Treat the URL as a secret until it expires.
667
+ * Get a download URL for a sandbox file
668
+ */
669
+ createDownloadUrlRaw(requestParameters: CreateDownloadUrlRequest | runtime.FlatBody<CreateDownloadUrlRequest, 'fileUrlRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileUrlResponse>>;
670
+ /**
671
+ * Returns a short-lived URL that the sandbox serves itself. GET it to download the file as raw bytes, with no size limit and no Authorization header. The URL is bound to this path and expires after `ttlSeconds` (default 15 minutes, at most 1 hour). Needs `file.read`. Treat the URL as a secret until it expires.
672
+ * Get a download URL for a sandbox file
673
+ */
674
+ createDownloadUrl(requestParameters: CreateDownloadUrlRequest | runtime.FlatBody<CreateDownloadUrlRequest, 'fileUrlRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileUrlResponse>;
559
675
  /**
560
676
  * Creates request options for createEnvironment without sending the request
561
677
  */
@@ -598,6 +714,20 @@ export declare class BoatApi extends runtime.BaseAPI {
598
714
  * Share a named snapshot
599
715
  */
600
716
  createSnapshotShare(requestParameters: CreateSnapshotShareRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotShareCreatedResponse>;
717
+ /**
718
+ * Creates request options for createUploadUrl without sending the request
719
+ */
720
+ createUploadUrlRequestOpts(input: CreateUploadUrlRequest | runtime.FlatBody<CreateUploadUrlRequest, 'fileUrlRequest'>): Promise<runtime.RequestOpts>;
721
+ /**
722
+ * Returns a short-lived URL that the sandbox serves itself. PUT the file as the raw request body to write it, with no size limit and no Authorization header. Missing directories are created; an existing file is replaced only once the upload completes. The URL is bound to this path and expires after `ttlSeconds` (default 15 minutes, at most 1 hour). Needs `file.write`. Treat the URL as a secret until it expires.
723
+ * Get an upload URL for a sandbox file
724
+ */
725
+ createUploadUrlRaw(requestParameters: CreateUploadUrlRequest | runtime.FlatBody<CreateUploadUrlRequest, 'fileUrlRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileUrlResponse>>;
726
+ /**
727
+ * Returns a short-lived URL that the sandbox serves itself. PUT the file as the raw request body to write it, with no size limit and no Authorization header. Missing directories are created; an existing file is replaced only once the upload completes. The URL is bound to this path and expires after `ttlSeconds` (default 15 minutes, at most 1 hour). Needs `file.write`. Treat the URL as a secret until it expires.
728
+ * Get an upload URL for a sandbox file
729
+ */
730
+ createUploadUrl(requestParameters: CreateUploadUrlRequest | runtime.FlatBody<CreateUploadUrlRequest, 'fileUrlRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileUrlResponse>;
601
731
  /**
602
732
  * Creates request options for createWebhook without sending the request
603
733
  */
@@ -612,6 +742,48 @@ export declare class BoatApi extends runtime.BaseAPI {
612
742
  * Create webhook
613
743
  */
614
744
  createWebhook(requestParameters: CreateWebhookRequest | runtime.FlatBody<CreateWebhookRequest, 'webhookCreateRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookSecretResponse>;
745
+ /**
746
+ * Creates request options for deleteCredentialProfile without sending the request
747
+ */
748
+ deleteCredentialProfileRequestOpts(requestParameters: DeleteCredentialProfileRequest): Promise<runtime.RequestOpts>;
749
+ /**
750
+ * Deletes the profile. A default profile returns `409 is_default`. A profile that an environment names returns `409 in_use`. Needs an API key with `account.admin`.
751
+ * Delete a credential profile
752
+ */
753
+ deleteCredentialProfileRaw(requestParameters: DeleteCredentialProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileDeletedResponse>>;
754
+ /**
755
+ * Deletes the profile. A default profile returns `409 is_default`. A profile that an environment names returns `409 in_use`. Needs an API key with `account.admin`.
756
+ * Delete a credential profile
757
+ */
758
+ deleteCredentialProfile(requestParameters: DeleteCredentialProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileDeletedResponse>;
759
+ /**
760
+ * Creates request options for deleteCredentialProfileCustomApi without sending the request
761
+ */
762
+ deleteCredentialProfileCustomApiRequestOpts(requestParameters: DeleteCredentialProfileCustomApiRequest): Promise<runtime.RequestOpts>;
763
+ /**
764
+ * Removes one custom API from the profile. Needs an API key with `account.admin`.
765
+ * Remove a custom API
766
+ */
767
+ deleteCredentialProfileCustomApiRaw(requestParameters: DeleteCredentialProfileCustomApiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
768
+ /**
769
+ * Removes one custom API from the profile. Needs an API key with `account.admin`.
770
+ * Remove a custom API
771
+ */
772
+ deleteCredentialProfileCustomApi(requestParameters: DeleteCredentialProfileCustomApiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
773
+ /**
774
+ * Creates request options for deleteCredentialProfileKey without sending the request
775
+ */
776
+ deleteCredentialProfileKeyRequestOpts(requestParameters: DeleteCredentialProfileKeyRequest): Promise<runtime.RequestOpts>;
777
+ /**
778
+ * Removes one credential, an API key or a sign-in. Needs an API key with `account.admin`.
779
+ * Remove a credential profile credential
780
+ */
781
+ deleteCredentialProfileKeyRaw(requestParameters: DeleteCredentialProfileKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
782
+ /**
783
+ * Removes one credential, an API key or a sign-in. Needs an API key with `account.admin`.
784
+ * Remove a credential profile credential
785
+ */
786
+ deleteCredentialProfileKey(requestParameters: DeleteCredentialProfileKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
615
787
  /**
616
788
  * Creates request options for deleteEnvironment without sending the request
617
789
  */
@@ -769,17 +941,17 @@ export declare class BoatApi extends runtime.BaseAPI {
769
941
  /**
770
942
  * Creates request options for environments without sending the request
771
943
  */
772
- environmentsRequestOpts(): Promise<runtime.RequestOpts>;
944
+ environmentsRequestOpts(requestParameters: EnvironmentsRequest): Promise<runtime.RequestOpts>;
773
945
  /**
774
946
  * Returns every non-deleted sandbox environment with its latest-version flags, contents, and per-version sandbox usage. A default environment named `base` is created on first access if none exists.
775
947
  * List Sandbox environments
776
948
  */
777
- environmentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxEnvironmentListResponse>>;
949
+ environmentsRaw(requestParameters: EnvironmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxEnvironmentListResponse>>;
778
950
  /**
779
951
  * Returns every non-deleted sandbox environment with its latest-version flags, contents, and per-version sandbox usage. A default environment named `base` is created on first access if none exists.
780
952
  * List Sandbox environments
781
953
  */
782
- environments(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxEnvironmentListResponse>;
954
+ environments(requestParameters?: EnvironmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxEnvironmentListResponse>;
783
955
  /**
784
956
  * Creates request options for events without sending the request
785
957
  */
@@ -822,6 +994,34 @@ export declare class BoatApi extends runtime.BaseAPI {
822
994
  * Get sandbox
823
995
  */
824
996
  get(requestParameters: GetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxInfoResponse>;
997
+ /**
998
+ * Creates request options for getAiProxy without sending the request
999
+ */
1000
+ getAiProxyRequestOpts(requestParameters: GetAiProxyRequest): Promise<runtime.RequestOpts>;
1001
+ /**
1002
+ * Returns the AI credentials proxy switch of the account in scope, a person or an organization, with its price. Needs an API key with `account.admin`.
1003
+ * Get AI credentials proxy
1004
+ */
1005
+ getAiProxyRaw(requestParameters: GetAiProxyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiProxySettings>>;
1006
+ /**
1007
+ * Returns the AI credentials proxy switch of the account in scope, a person or an organization, with its price. Needs an API key with `account.admin`.
1008
+ * Get AI credentials proxy
1009
+ */
1010
+ getAiProxy(requestParameters?: GetAiProxyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiProxySettings>;
1011
+ /**
1012
+ * Creates request options for getAiUsage without sending the request
1013
+ */
1014
+ getAiUsageRequestOpts(requestParameters: GetAiUsageRequest): Promise<runtime.RequestOpts>;
1015
+ /**
1016
+ * Proxied AI usage, per sandbox and in total, per UTC day, credential and model. Without `profile`, the usage charged to the wallet in scope. With `profile`, the requests made with that profile\'s credentials, whoever pays; only its managers can read it. Needs an API key with `account.read`.
1017
+ * Get AI usage
1018
+ */
1019
+ getAiUsageRaw(requestParameters: GetAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountAiUsageResponse>>;
1020
+ /**
1021
+ * Proxied AI usage, per sandbox and in total, per UTC day, credential and model. Without `profile`, the usage charged to the wallet in scope. With `profile`, the requests made with that profile\'s credentials, whoever pays; only its managers can read it. Needs an API key with `account.read`.
1022
+ * Get AI usage
1023
+ */
1024
+ getAiUsage(requestParameters?: GetAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountAiUsageResponse>;
825
1025
  /**
826
1026
  * Creates request options for getCommand without sending the request
827
1027
  */
@@ -888,6 +1088,20 @@ export declare class BoatApi extends runtime.BaseAPI {
888
1088
  * Get a named snapshot
889
1089
  */
890
1090
  getNamedSnapshot(requestParameters: GetNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotInfoResponse>;
1091
+ /**
1092
+ * Creates request options for getSandboxAiUsage without sending the request
1093
+ */
1094
+ getSandboxAiUsageRequestOpts(requestParameters: GetSandboxAiUsageRequest): Promise<runtime.RequestOpts>;
1095
+ /**
1096
+ * 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.
1097
+ * Get sandbox AI usage
1098
+ */
1099
+ getSandboxAiUsageRaw(requestParameters: GetSandboxAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxAiUsageResponse>>;
1100
+ /**
1101
+ * 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.
1102
+ * Get sandbox AI usage
1103
+ */
1104
+ getSandboxAiUsage(requestParameters: GetSandboxAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxAiUsageResponse>;
891
1105
  /**
892
1106
  * Creates request options for getSnapshotDownload without sending the request
893
1107
  */
@@ -1014,6 +1228,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1014
1228
  * Get Boat limits
1015
1229
  */
1016
1230
  limits(requestParameters?: LimitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LimitsResponse>;
1231
+ /**
1232
+ * Creates request options for listCredentialProfiles without sending the request
1233
+ */
1234
+ listCredentialProfilesRequestOpts(): Promise<runtime.RequestOpts>;
1235
+ /**
1236
+ * Returns every AI credential profile you can use, yours and your organizations\'. Secret values are never returned. Needs an API key with `account.admin`.
1237
+ * List credential profiles
1238
+ */
1239
+ listCredentialProfilesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileListResponse>>;
1240
+ /**
1241
+ * Returns every AI credential profile you can use, yours and your organizations\'. Secret values are never returned. Needs an API key with `account.admin`.
1242
+ * List credential profiles
1243
+ */
1244
+ listCredentialProfiles(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileListResponse>;
1017
1245
  /**
1018
1246
  * Creates request options for listNamedSnapshots without sending the request
1019
1247
  */
@@ -1159,12 +1387,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1159
1387
  */
1160
1388
  readFileRequestOpts(requestParameters: ReadFileRequest): Promise<runtime.RequestOpts>;
1161
1389
  /**
1162
- * Files up to 5 MiB. Use `GET /sandboxes/{sandboxId}/artifacts` for files up to 50 MiB, and SCP over SSH for larger ones.
1390
+ * Files up to 5 MiB. For a larger file, use `POST /sandboxes/{sandboxId}/files/download-url`.
1163
1391
  * Read a file from a sandbox
1164
1392
  */
1165
1393
  readFileRaw(requestParameters: ReadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileReadResponse>>;
1166
1394
  /**
1167
- * Files up to 5 MiB. Use `GET /sandboxes/{sandboxId}/artifacts` for files up to 50 MiB, and SCP over SSH for larger ones.
1395
+ * Files up to 5 MiB. For a larger file, use `POST /sandboxes/{sandboxId}/files/download-url`.
1168
1396
  * Read a file from a sandbox
1169
1397
  */
1170
1398
  readFile(requestParameters: ReadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileReadResponse>;
@@ -1334,6 +1562,34 @@ export declare class BoatApi extends runtime.BaseAPI {
1334
1562
  * Set the active organization
1335
1563
  */
1336
1564
  setActiveOrganization(requestParameters: SetActiveOrganizationRequest | runtime.FlatBody<SetActiveOrganizationRequest, 'activeOrgUpdateRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ActiveOrgResponse>;
1565
+ /**
1566
+ * Creates request options for setCredentialProfileCustomApi without sending the request
1567
+ */
1568
+ setCredentialProfileCustomApiRequestOpts(input: SetCredentialProfileCustomApiRequest | runtime.FlatBody<SetCredentialProfileCustomApiRequest, 'setCustomApiRequest'>): Promise<runtime.RequestOpts>;
1569
+ /**
1570
+ * Adds or replaces one custom API. The sandbox gets `<NAME>` and `<NAME>_BASE_URL`. Needs an API key with `account.admin`.
1571
+ * Set a custom API
1572
+ */
1573
+ setCredentialProfileCustomApiRaw(requestParameters: SetCredentialProfileCustomApiRequest | runtime.FlatBody<SetCredentialProfileCustomApiRequest, 'setCustomApiRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
1574
+ /**
1575
+ * Adds or replaces one custom API. The sandbox gets `<NAME>` and `<NAME>_BASE_URL`. Needs an API key with `account.admin`.
1576
+ * Set a custom API
1577
+ */
1578
+ setCredentialProfileCustomApi(requestParameters: SetCredentialProfileCustomApiRequest | runtime.FlatBody<SetCredentialProfileCustomApiRequest, 'setCustomApiRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
1579
+ /**
1580
+ * Creates request options for setCredentialProfileKey without sending the request
1581
+ */
1582
+ setCredentialProfileKeyRequestOpts(input: SetCredentialProfileKeyRequest | runtime.FlatBody<SetCredentialProfileKeyRequest, 'setCredentialKeyRequest'>): Promise<runtime.RequestOpts>;
1583
+ /**
1584
+ * Sets one API key. A sign-in id returns `400 not_an_api_key`; connect sign-ins on the dashboard Agents page. Running sandboxes that use the profile get the new key. Needs an API key with `account.admin`.
1585
+ * Set a credential profile API key
1586
+ */
1587
+ setCredentialProfileKeyRaw(requestParameters: SetCredentialProfileKeyRequest | runtime.FlatBody<SetCredentialProfileKeyRequest, 'setCredentialKeyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
1588
+ /**
1589
+ * Sets one API key. A sign-in id returns `400 not_an_api_key`; connect sign-ins on the dashboard Agents page. Running sandboxes that use the profile get the new key. Needs an API key with `account.admin`.
1590
+ * Set a credential profile API key
1591
+ */
1592
+ setCredentialProfileKey(requestParameters: SetCredentialProfileKeyRequest | runtime.FlatBody<SetCredentialProfileKeyRequest, 'setCredentialKeyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
1337
1593
  /**
1338
1594
  * Creates request options for setEnvironmentSecretFile without sending the request
1339
1595
  */
@@ -1362,6 +1618,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1362
1618
  * Set one environment variable
1363
1619
  */
1364
1620
  setEnvironmentVar(requestParameters: SetEnvironmentVarOperationRequest | runtime.FlatBody<SetEnvironmentVarOperationRequest, 'setEnvironmentVarRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnvironmentItemChangeResponse>;
1621
+ /**
1622
+ * Creates request options for setSandboxAiAccess without sending the request
1623
+ */
1624
+ setSandboxAiAccessRequestOpts(input: SetSandboxAiAccessOperationRequest | runtime.FlatBody<SetSandboxAiAccessOperationRequest, 'setSandboxAiAccessRequest'>): Promise<runtime.RequestOpts>;
1625
+ /**
1626
+ * Blocks or unblocks the sandbox\'s AI placeholders, running or stopped. The proxy refuses a blocked sandbox\'s requests with `403`. It has no effect on a sandbox that holds real keys. The sandbox creator, or a manager of its credential profile, can call it. Needs an API key with `account.admin`.
1627
+ * Block or unblock sandbox AI access
1628
+ */
1629
+ setSandboxAiAccessRaw(requestParameters: SetSandboxAiAccessOperationRequest | runtime.FlatBody<SetSandboxAiAccessOperationRequest, 'setSandboxAiAccessRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxAiAccessResponse>>;
1630
+ /**
1631
+ * Blocks or unblocks the sandbox\'s AI placeholders, running or stopped. The proxy refuses a blocked sandbox\'s requests with `403`. It has no effect on a sandbox that holds real keys. The sandbox creator, or a manager of its credential profile, can call it. Needs an API key with `account.admin`.
1632
+ * Block or unblock sandbox AI access
1633
+ */
1634
+ setSandboxAiAccess(requestParameters: SetSandboxAiAccessOperationRequest | runtime.FlatBody<SetSandboxAiAccessOperationRequest, 'setSandboxAiAccessRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxAiAccessResponse>;
1365
1635
  /**
1366
1636
  * Creates request options for setTelemetry without sending the request
1367
1637
  */
@@ -1458,6 +1728,34 @@ export declare class BoatApi extends runtime.BaseAPI {
1458
1728
  * Update sandbox
1459
1729
  */
1460
1730
  update(requestParameters: UpdateRequest | runtime.FlatBody<UpdateRequest, 'updateSandboxRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxInfoResponse>;
1731
+ /**
1732
+ * Creates request options for updateAiProxy without sending the request
1733
+ */
1734
+ updateAiProxyRequestOpts(input: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>): Promise<runtime.RequestOpts>;
1735
+ /**
1736
+ * 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`.
1737
+ * Turn the AI credentials proxy on or off
1738
+ */
1739
+ updateAiProxyRaw(requestParameters: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiProxySettings>>;
1740
+ /**
1741
+ * 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`.
1742
+ * Turn the AI credentials proxy on or off
1743
+ */
1744
+ updateAiProxy(requestParameters: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiProxySettings>;
1745
+ /**
1746
+ * Creates request options for updateCredentialProfile without sending the request
1747
+ */
1748
+ updateCredentialProfileRequestOpts(input: UpdateCredentialProfileOperationRequest | runtime.FlatBody<UpdateCredentialProfileOperationRequest, 'updateCredentialProfileRequest'>): Promise<runtime.RequestOpts>;
1749
+ /**
1750
+ * Renames the profile, or makes it its owner\'s default. Sandboxes that use the owner\'s default switch to the new default at their next start. Needs an API key with `account.admin`.
1751
+ * Update a credential profile
1752
+ */
1753
+ updateCredentialProfileRaw(requestParameters: UpdateCredentialProfileOperationRequest | runtime.FlatBody<UpdateCredentialProfileOperationRequest, 'updateCredentialProfileRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
1754
+ /**
1755
+ * Renames the profile, or makes it its owner\'s default. Sandboxes that use the owner\'s default switch to the new default at their next start. Needs an API key with `account.admin`.
1756
+ * Update a credential profile
1757
+ */
1758
+ updateCredentialProfile(requestParameters: UpdateCredentialProfileOperationRequest | runtime.FlatBody<UpdateCredentialProfileOperationRequest, 'updateCredentialProfileRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
1461
1759
  /**
1462
1760
  * Creates request options for updateDataRetention without sending the request
1463
1761
  */
@@ -1545,12 +1843,12 @@ export declare class BoatApi extends runtime.BaseAPI {
1545
1843
  */
1546
1844
  writeFileRequestOpts(input: WriteFileRequest | runtime.FlatBody<WriteFileRequest, 'fileWriteRequest'>): Promise<runtime.RequestOpts>;
1547
1845
  /**
1548
- * Files up to 5 MiB after decoding. Use SCP over SSH for larger files.
1846
+ * Files up to 5 MiB after decoding. For a larger file, use `POST /sandboxes/{sandboxId}/files/upload-url`.
1549
1847
  * Write a file in a sandbox
1550
1848
  */
1551
1849
  writeFileRaw(requestParameters: WriteFileRequest | runtime.FlatBody<WriteFileRequest, 'fileWriteRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileWriteResponse>>;
1552
1850
  /**
1553
- * Files up to 5 MiB after decoding. Use SCP over SSH for larger files.
1851
+ * Files up to 5 MiB after decoding. For a larger file, use `POST /sandboxes/{sandboxId}/files/upload-url`.
1554
1852
  * Write a file in a sandbox
1555
1853
  */
1556
1854
  writeFile(requestParameters: WriteFileRequest | runtime.FlatBody<WriteFileRequest, 'fileWriteRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileWriteResponse>;