@boatdev/sdk 1.9.5 → 1.9.7
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.
- package/.openapi-generator/FILES +44 -0
- package/dist/apis/BoatApi.d.ts +339 -3
- package/dist/apis/BoatApi.js +865 -15
- package/dist/esm/apis/BoatApi.d.ts +339 -3
- package/dist/esm/apis/BoatApi.js +865 -15
- package/dist/esm/models/AccountAiUsageResponse.d.ts +83 -0
- package/dist/esm/models/AccountAiUsageResponse.js +78 -0
- package/dist/esm/models/AiProxySettings.d.ts +81 -0
- package/dist/esm/models/AiProxySettings.js +76 -0
- package/dist/esm/models/AiProxySettingsAllOfPricing.d.ts +38 -0
- package/dist/esm/models/AiProxySettingsAllOfPricing.js +47 -0
- package/dist/esm/models/AiUsageRow.d.ts +80 -0
- package/dist/esm/models/AiUsageRow.js +75 -0
- package/dist/esm/models/AiUsageTotals.d.ts +62 -0
- package/dist/esm/models/AiUsageTotals.js +63 -0
- package/dist/esm/models/CreateCredentialProfileRequest.d.ts +44 -0
- package/dist/esm/models/CreateCredentialProfileRequest.js +47 -0
- package/dist/esm/models/CredentialAccount.d.ts +50 -0
- package/dist/esm/models/CredentialAccount.js +53 -0
- package/dist/esm/models/CredentialAccountsResponse.d.ts +64 -0
- package/dist/esm/models/CredentialAccountsResponse.js +65 -0
- package/dist/esm/models/CredentialId.d.ts +36 -0
- package/dist/esm/models/CredentialId.js +54 -0
- package/dist/esm/models/CredentialProfile.d.ts +91 -0
- package/dist/esm/models/CredentialProfile.js +79 -0
- package/dist/esm/models/CredentialProfileDeletedResponse.d.ts +44 -0
- package/dist/esm/models/CredentialProfileDeletedResponse.js +51 -0
- package/dist/esm/models/CredentialProfileListResponse.d.ts +45 -0
- package/dist/esm/models/CredentialProfileListResponse.js +52 -0
- package/dist/esm/models/CredentialProfileOwner.d.ts +58 -0
- package/dist/esm/models/CredentialProfileOwner.js +62 -0
- package/dist/esm/models/CredentialProfileResponse.d.ts +51 -0
- package/dist/esm/models/CredentialProfileResponse.js +56 -0
- package/dist/esm/models/ProcessListResponse.d.ts +1 -1
- package/dist/esm/models/SandboxAiAccessResponse.d.ts +56 -0
- package/dist/esm/models/SandboxAiAccessResponse.js +59 -0
- package/dist/esm/models/SandboxAiUsage.d.ts +64 -0
- package/dist/esm/models/SandboxAiUsage.js +65 -0
- package/dist/esm/models/SandboxAiUsageResponse.d.ts +88 -0
- package/dist/esm/models/SandboxAiUsageResponse.js +81 -0
- package/dist/esm/models/SandboxEnvironment.d.ts +13 -1
- package/dist/esm/models/SandboxEnvironment.js +4 -0
- package/dist/esm/models/SetCredentialKeyRequest.d.ts +38 -0
- package/dist/esm/models/SetCredentialKeyRequest.js +45 -0
- package/dist/esm/models/SetCustomApiRequest.d.ts +38 -0
- package/dist/esm/models/SetCustomApiRequest.js +47 -0
- package/dist/esm/models/SetSandboxAiAccessRequest.d.ts +32 -0
- package/dist/esm/models/SetSandboxAiAccessRequest.js +43 -0
- package/dist/esm/models/UpdateAiProxyRequest.d.ts +32 -0
- package/dist/esm/models/UpdateAiProxyRequest.js +43 -0
- package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +38 -0
- package/dist/esm/models/UpdateCredentialProfileRequest.js +43 -0
- package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
- package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +4 -0
- package/dist/esm/models/index.d.ts +22 -0
- package/dist/esm/models/index.js +22 -0
- package/dist/models/AccountAiUsageResponse.d.ts +83 -0
- package/dist/models/AccountAiUsageResponse.js +85 -0
- package/dist/models/AiProxySettings.d.ts +81 -0
- package/dist/models/AiProxySettings.js +83 -0
- package/dist/models/AiProxySettingsAllOfPricing.d.ts +38 -0
- package/dist/models/AiProxySettingsAllOfPricing.js +54 -0
- package/dist/models/AiUsageRow.d.ts +80 -0
- package/dist/models/AiUsageRow.js +82 -0
- package/dist/models/AiUsageTotals.d.ts +62 -0
- package/dist/models/AiUsageTotals.js +70 -0
- package/dist/models/CreateCredentialProfileRequest.d.ts +44 -0
- package/dist/models/CreateCredentialProfileRequest.js +54 -0
- package/dist/models/CredentialAccount.d.ts +50 -0
- package/dist/models/CredentialAccount.js +60 -0
- package/dist/models/CredentialAccountsResponse.d.ts +64 -0
- package/dist/models/CredentialAccountsResponse.js +72 -0
- package/dist/models/CredentialId.d.ts +36 -0
- package/dist/models/CredentialId.js +62 -0
- package/dist/models/CredentialProfile.d.ts +91 -0
- package/dist/models/CredentialProfile.js +86 -0
- package/dist/models/CredentialProfileDeletedResponse.d.ts +44 -0
- package/dist/models/CredentialProfileDeletedResponse.js +58 -0
- package/dist/models/CredentialProfileListResponse.d.ts +45 -0
- package/dist/models/CredentialProfileListResponse.js +59 -0
- package/dist/models/CredentialProfileOwner.d.ts +58 -0
- package/dist/models/CredentialProfileOwner.js +70 -0
- package/dist/models/CredentialProfileResponse.d.ts +51 -0
- package/dist/models/CredentialProfileResponse.js +63 -0
- package/dist/models/ProcessListResponse.d.ts +1 -1
- package/dist/models/SandboxAiAccessResponse.d.ts +56 -0
- package/dist/models/SandboxAiAccessResponse.js +66 -0
- package/dist/models/SandboxAiUsage.d.ts +64 -0
- package/dist/models/SandboxAiUsage.js +72 -0
- package/dist/models/SandboxAiUsageResponse.d.ts +88 -0
- package/dist/models/SandboxAiUsageResponse.js +88 -0
- package/dist/models/SandboxEnvironment.d.ts +13 -1
- package/dist/models/SandboxEnvironment.js +4 -0
- package/dist/models/SetCredentialKeyRequest.d.ts +38 -0
- package/dist/models/SetCredentialKeyRequest.js +52 -0
- package/dist/models/SetCustomApiRequest.d.ts +38 -0
- package/dist/models/SetCustomApiRequest.js +54 -0
- package/dist/models/SetSandboxAiAccessRequest.d.ts +32 -0
- package/dist/models/SetSandboxAiAccessRequest.js +50 -0
- package/dist/models/UpdateAiProxyRequest.d.ts +32 -0
- package/dist/models/UpdateAiProxyRequest.js +50 -0
- package/dist/models/UpdateCredentialProfileRequest.d.ts +38 -0
- package/dist/models/UpdateCredentialProfileRequest.js +50 -0
- package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
- package/dist/models/UpdateSandboxEnvironmentRequest.js +4 -0
- package/dist/models/index.d.ts +22 -0
- package/dist/models/index.js +22 -0
- package/docs/AccountAiUsageResponse.md +48 -0
- package/docs/AiProxySettings.md +48 -0
- package/docs/AiProxySettingsAllOfPricing.md +34 -0
- package/docs/AiUsageRow.md +48 -0
- package/docs/AiUsageTotals.md +43 -0
- package/docs/BoatApi.md +1588 -212
- package/docs/CreateCredentialProfileRequest.md +36 -0
- package/docs/CredentialAccount.md +39 -0
- package/docs/CredentialAccountsResponse.md +42 -0
- package/docs/CredentialId.md +31 -0
- package/docs/CredentialProfile.md +51 -0
- package/docs/CredentialProfileDeletedResponse.md +36 -0
- package/docs/CredentialProfileListResponse.md +36 -0
- package/docs/CredentialProfileOwner.md +38 -0
- package/docs/CredentialProfileResponse.md +38 -0
- package/docs/SandboxAiAccessResponse.md +40 -0
- package/docs/SandboxAiUsage.md +42 -0
- package/docs/SandboxAiUsageResponse.md +50 -0
- package/docs/SandboxEnvironment.md +4 -0
- package/docs/SetCredentialKeyRequest.md +34 -0
- package/docs/SetCustomApiRequest.md +34 -0
- package/docs/SetSandboxAiAccessRequest.md +32 -0
- package/docs/UpdateAiProxyRequest.md +32 -0
- package/docs/UpdateCredentialProfileRequest.md +34 -0
- package/docs/UpdateSandboxEnvironmentRequest.md +4 -0
- package/package.json +1 -1
- package/src/apis/BoatApi.ts +1440 -133
- package/src/models/AccountAiUsageResponse.ts +160 -0
- package/src/models/AiProxySettings.ts +146 -0
- package/src/models/AiProxySettingsAllOfPricing.ts +75 -0
- package/src/models/AiUsageRow.ts +138 -0
- package/src/models/AiUsageTotals.ts +111 -0
- package/src/models/CreateCredentialProfileRequest.ts +82 -0
- package/src/models/CredentialAccount.ts +92 -0
- package/src/models/CredentialAccountsResponse.ts +128 -0
- package/src/models/CredentialId.ts +64 -0
- package/src/models/CredentialProfile.ts +168 -0
- package/src/models/CredentialProfileDeletedResponse.ts +84 -0
- package/src/models/CredentialProfileListResponse.ts +92 -0
- package/src/models/CredentialProfileOwner.ts +104 -0
- package/src/models/CredentialProfileResponse.ts +101 -0
- package/src/models/ProcessListResponse.ts +1 -1
- package/src/models/SandboxAiAccessResponse.ts +102 -0
- package/src/models/SandboxAiUsage.ts +126 -0
- package/src/models/SandboxAiUsageResponse.ts +162 -0
- package/src/models/SandboxEnvironment.ts +17 -1
- package/src/models/SetCredentialKeyRequest.ts +74 -0
- package/src/models/SetCustomApiRequest.ts +75 -0
- package/src/models/SetSandboxAiAccessRequest.ts +66 -0
- package/src/models/UpdateAiProxyRequest.ts +66 -0
- package/src/models/UpdateCredentialProfileRequest.ts +73 -0
- package/src/models/UpdateSandboxEnvironmentRequest.ts +16 -0
- package/src/models/index.ts +22 -0
package/dist/apis/BoatApi.d.ts
CHANGED
|
@@ -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,16 @@ 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 CredentialAccountsResponse } from '../models/CredentialAccountsResponse';
|
|
37
|
+
import { type CredentialId } from '../models/CredentialId';
|
|
38
|
+
import { type CredentialProfileDeletedResponse } from '../models/CredentialProfileDeletedResponse';
|
|
39
|
+
import { type CredentialProfileListResponse } from '../models/CredentialProfileListResponse';
|
|
40
|
+
import { type CredentialProfileResponse } from '../models/CredentialProfileResponse';
|
|
33
41
|
import { type DataRetentionPolicyResponse } from '../models/DataRetentionPolicyResponse';
|
|
34
42
|
import { type DataRetentionUpdateRequest } from '../models/DataRetentionUpdateRequest';
|
|
35
43
|
import { type DeletionOperationListResponse } from '../models/DeletionOperationListResponse';
|
|
@@ -67,6 +75,8 @@ import { type RepoSelectionResponse } from '../models/RepoSelectionResponse';
|
|
|
67
75
|
import { type ReposResponse } from '../models/ReposResponse';
|
|
68
76
|
import { type ResumeRequest } from '../models/ResumeRequest';
|
|
69
77
|
import { type SandboxActionResponse } from '../models/SandboxActionResponse';
|
|
78
|
+
import { type SandboxAiAccessResponse } from '../models/SandboxAiAccessResponse';
|
|
79
|
+
import { type SandboxAiUsageResponse } from '../models/SandboxAiUsageResponse';
|
|
70
80
|
import { type SandboxEnvironmentListResponse } from '../models/SandboxEnvironmentListResponse';
|
|
71
81
|
import { type SandboxEnvironmentResponse } from '../models/SandboxEnvironmentResponse';
|
|
72
82
|
import { type SandboxInfoResponse } from '../models/SandboxInfoResponse';
|
|
@@ -74,8 +84,11 @@ import { type SandboxListResponse } from '../models/SandboxListResponse';
|
|
|
74
84
|
import { type SandboxUsageResponse } from '../models/SandboxUsageResponse';
|
|
75
85
|
import { type SecretsResponse } from '../models/SecretsResponse';
|
|
76
86
|
import { type SecretsUpdateRequest } from '../models/SecretsUpdateRequest';
|
|
87
|
+
import { type SetCredentialKeyRequest } from '../models/SetCredentialKeyRequest';
|
|
88
|
+
import { type SetCustomApiRequest } from '../models/SetCustomApiRequest';
|
|
77
89
|
import { type SetEnvironmentSecretFileRequest } from '../models/SetEnvironmentSecretFileRequest';
|
|
78
90
|
import { type SetEnvironmentVarRequest } from '../models/SetEnvironmentVarRequest';
|
|
91
|
+
import { type SetSandboxAiAccessRequest } from '../models/SetSandboxAiAccessRequest';
|
|
79
92
|
import { type Share200Response } from '../models/Share200Response';
|
|
80
93
|
import { type SnapshotDownloadResponse } from '../models/SnapshotDownloadResponse';
|
|
81
94
|
import { type SnapshotLatestResponse } from '../models/SnapshotLatestResponse';
|
|
@@ -90,6 +103,8 @@ import { type StopRequest } from '../models/StopRequest';
|
|
|
90
103
|
import { type TelemetryResponse } from '../models/TelemetryResponse';
|
|
91
104
|
import { type TelemetrySetRequest } from '../models/TelemetrySetRequest';
|
|
92
105
|
import { type TelemetrySetResponse } from '../models/TelemetrySetResponse';
|
|
106
|
+
import { type UpdateAiProxyRequest } from '../models/UpdateAiProxyRequest';
|
|
107
|
+
import { type UpdateCredentialProfileRequest } from '../models/UpdateCredentialProfileRequest';
|
|
93
108
|
import { type UpdateSandboxEnvironmentRequest } from '../models/UpdateSandboxEnvironmentRequest';
|
|
94
109
|
import { type UpdateSandboxRequest } from '../models/UpdateSandboxRequest';
|
|
95
110
|
import { type UpgradeSandboxEnvironmentRequest } from '../models/UpgradeSandboxEnvironmentRequest';
|
|
@@ -100,9 +115,15 @@ import { type WebhookListResponse } from '../models/WebhookListResponse';
|
|
|
100
115
|
import { type WebhookResponse } from '../models/WebhookResponse';
|
|
101
116
|
import { type WebhookSecretResponse } from '../models/WebhookSecretResponse';
|
|
102
117
|
import { type WebhookUpdateRequest } from '../models/WebhookUpdateRequest';
|
|
118
|
+
export interface AddCredentialAccountRequest {
|
|
119
|
+
profile: string;
|
|
120
|
+
credential: CredentialId;
|
|
121
|
+
setCredentialKeyRequest: SetCredentialKeyRequest;
|
|
122
|
+
}
|
|
103
123
|
export interface AddEnvironmentRepoOperationRequest {
|
|
104
124
|
environmentId: string;
|
|
105
125
|
addEnvironmentRepoRequest: AddEnvironmentRepoRequest;
|
|
126
|
+
org?: string;
|
|
106
127
|
}
|
|
107
128
|
export interface ApiKeyUsageRequest {
|
|
108
129
|
apiKeyId: string;
|
|
@@ -152,12 +173,16 @@ export interface CreateRequest {
|
|
|
152
173
|
xBoatOrg?: string;
|
|
153
174
|
createSandboxRequest?: CreateSandboxRequest;
|
|
154
175
|
}
|
|
176
|
+
export interface CreateCredentialProfileOperationRequest {
|
|
177
|
+
createCredentialProfileRequest: CreateCredentialProfileRequest;
|
|
178
|
+
}
|
|
155
179
|
export interface CreateDownloadUrlRequest {
|
|
156
180
|
sandboxId: string;
|
|
157
181
|
fileUrlRequest: FileUrlRequest;
|
|
158
182
|
}
|
|
159
183
|
export interface CreateEnvironmentRequest {
|
|
160
184
|
createSandboxEnvironmentRequest: CreateSandboxEnvironmentRequest;
|
|
185
|
+
org?: string;
|
|
161
186
|
}
|
|
162
187
|
export interface CreateScopedApiKeyOperationRequest {
|
|
163
188
|
createScopedApiKeyRequest: CreateScopedApiKeyRequest;
|
|
@@ -172,20 +197,40 @@ export interface CreateUploadUrlRequest {
|
|
|
172
197
|
export interface CreateWebhookRequest {
|
|
173
198
|
webhookCreateRequest: WebhookCreateRequest;
|
|
174
199
|
}
|
|
200
|
+
export interface DeleteCredentialAccountRequest {
|
|
201
|
+
profile: string;
|
|
202
|
+
credential: CredentialId;
|
|
203
|
+
account: string;
|
|
204
|
+
}
|
|
205
|
+
export interface DeleteCredentialProfileRequest {
|
|
206
|
+
profile: string;
|
|
207
|
+
}
|
|
208
|
+
export interface DeleteCredentialProfileCustomApiRequest {
|
|
209
|
+
profile: string;
|
|
210
|
+
name: string;
|
|
211
|
+
}
|
|
212
|
+
export interface DeleteCredentialProfileKeyRequest {
|
|
213
|
+
profile: string;
|
|
214
|
+
credential: CredentialId;
|
|
215
|
+
}
|
|
175
216
|
export interface DeleteEnvironmentRequest {
|
|
176
217
|
environmentId: string;
|
|
218
|
+
org?: string;
|
|
177
219
|
}
|
|
178
220
|
export interface DeleteEnvironmentRepoRequest {
|
|
179
221
|
environmentId: string;
|
|
180
222
|
repositoryId: string;
|
|
223
|
+
org?: string;
|
|
181
224
|
}
|
|
182
225
|
export interface DeleteEnvironmentSecretFileRequest {
|
|
183
226
|
path: string;
|
|
184
227
|
environmentId: string;
|
|
228
|
+
org?: string;
|
|
185
229
|
}
|
|
186
230
|
export interface DeleteEnvironmentVarRequest {
|
|
187
231
|
environmentId: string;
|
|
188
232
|
key: string;
|
|
233
|
+
org?: string;
|
|
189
234
|
}
|
|
190
235
|
export interface DeleteNamedSnapshotRequest {
|
|
191
236
|
name: string;
|
|
@@ -211,6 +256,9 @@ export interface DesktopOperationRequest {
|
|
|
211
256
|
theme?: DesktopOperationThemeEnum;
|
|
212
257
|
desktopRequest?: DesktopRequest;
|
|
213
258
|
}
|
|
259
|
+
export interface EnvironmentsRequest {
|
|
260
|
+
org?: string;
|
|
261
|
+
}
|
|
214
262
|
export interface EventsRequest {
|
|
215
263
|
sandboxId: string;
|
|
216
264
|
limit?: number;
|
|
@@ -227,6 +275,16 @@ export interface ForkOperationRequest {
|
|
|
227
275
|
export interface GetRequest {
|
|
228
276
|
sandboxId: string;
|
|
229
277
|
}
|
|
278
|
+
export interface GetAiProxyRequest {
|
|
279
|
+
org?: string;
|
|
280
|
+
xBoatOrg?: string;
|
|
281
|
+
}
|
|
282
|
+
export interface GetAiUsageRequest {
|
|
283
|
+
days?: number;
|
|
284
|
+
profile?: string;
|
|
285
|
+
org?: string;
|
|
286
|
+
xBoatOrg?: string;
|
|
287
|
+
}
|
|
230
288
|
export interface GetCommandRequest {
|
|
231
289
|
sandboxId: string;
|
|
232
290
|
commandId: string;
|
|
@@ -240,6 +298,10 @@ export interface GetLatestSandboxSnapshotRequest {
|
|
|
240
298
|
export interface GetNamedSnapshotRequest {
|
|
241
299
|
name: string;
|
|
242
300
|
}
|
|
301
|
+
export interface GetSandboxAiUsageRequest {
|
|
302
|
+
sandboxId: string;
|
|
303
|
+
days?: number;
|
|
304
|
+
}
|
|
243
305
|
export interface GetSnapshotDownloadRequest {
|
|
244
306
|
snapshotId: string;
|
|
245
307
|
}
|
|
@@ -270,6 +332,10 @@ export interface LimitsRequest {
|
|
|
270
332
|
xBoatOrg?: string;
|
|
271
333
|
teamId?: string;
|
|
272
334
|
}
|
|
335
|
+
export interface ListCredentialAccountsRequest {
|
|
336
|
+
profile: string;
|
|
337
|
+
credential: CredentialId;
|
|
338
|
+
}
|
|
273
339
|
export interface ListSandboxSnapshotsRequest {
|
|
274
340
|
sandboxId: string;
|
|
275
341
|
limit?: number;
|
|
@@ -345,14 +411,30 @@ export interface SelectRepoRequest {
|
|
|
345
411
|
export interface SetActiveOrganizationRequest {
|
|
346
412
|
activeOrgUpdateRequest: ActiveOrgUpdateRequest;
|
|
347
413
|
}
|
|
414
|
+
export interface SetCredentialProfileCustomApiRequest {
|
|
415
|
+
profile: string;
|
|
416
|
+
name: string;
|
|
417
|
+
setCustomApiRequest: SetCustomApiRequest;
|
|
418
|
+
}
|
|
419
|
+
export interface SetCredentialProfileKeyRequest {
|
|
420
|
+
profile: string;
|
|
421
|
+
credential: CredentialId;
|
|
422
|
+
setCredentialKeyRequest: SetCredentialKeyRequest;
|
|
423
|
+
}
|
|
348
424
|
export interface SetEnvironmentSecretFileOperationRequest {
|
|
349
425
|
environmentId: string;
|
|
350
426
|
setEnvironmentSecretFileRequest: SetEnvironmentSecretFileRequest;
|
|
427
|
+
org?: string;
|
|
351
428
|
}
|
|
352
429
|
export interface SetEnvironmentVarOperationRequest {
|
|
353
430
|
environmentId: string;
|
|
354
431
|
key: string;
|
|
355
432
|
setEnvironmentVarRequest: SetEnvironmentVarRequest;
|
|
433
|
+
org?: string;
|
|
434
|
+
}
|
|
435
|
+
export interface SetSandboxAiAccessOperationRequest {
|
|
436
|
+
sandboxId: string;
|
|
437
|
+
setSandboxAiAccessRequest: SetSandboxAiAccessRequest;
|
|
356
438
|
}
|
|
357
439
|
export interface SetTelemetryRequest {
|
|
358
440
|
telemetrySetRequest: TelemetrySetRequest;
|
|
@@ -377,16 +459,31 @@ export interface StopCommandRequest {
|
|
|
377
459
|
sandboxId: string;
|
|
378
460
|
processId: number;
|
|
379
461
|
}
|
|
462
|
+
export interface SwitchCredentialAccountRequest {
|
|
463
|
+
profile: string;
|
|
464
|
+
credential: CredentialId;
|
|
465
|
+
account: string;
|
|
466
|
+
}
|
|
380
467
|
export interface UpdateRequest {
|
|
381
468
|
sandboxId: string;
|
|
382
469
|
updateSandboxRequest: UpdateSandboxRequest;
|
|
383
470
|
}
|
|
471
|
+
export interface UpdateAiProxyOperationRequest {
|
|
472
|
+
updateAiProxyRequest: UpdateAiProxyRequest;
|
|
473
|
+
org?: string;
|
|
474
|
+
xBoatOrg?: string;
|
|
475
|
+
}
|
|
476
|
+
export interface UpdateCredentialProfileOperationRequest {
|
|
477
|
+
profile: string;
|
|
478
|
+
updateCredentialProfileRequest: UpdateCredentialProfileRequest;
|
|
479
|
+
}
|
|
384
480
|
export interface UpdateDataRetentionRequest {
|
|
385
481
|
dataRetentionUpdateRequest: DataRetentionUpdateRequest;
|
|
386
482
|
}
|
|
387
483
|
export interface UpdateEnvironmentRequest {
|
|
388
484
|
environmentId: string;
|
|
389
485
|
updateSandboxEnvironmentRequest: UpdateSandboxEnvironmentRequest;
|
|
486
|
+
org?: string;
|
|
390
487
|
}
|
|
391
488
|
export interface UpdateSecretsRequest {
|
|
392
489
|
secretsUpdateRequest: SecretsUpdateRequest;
|
|
@@ -397,6 +494,7 @@ export interface UpdateWebhookRequest {
|
|
|
397
494
|
}
|
|
398
495
|
export interface UpgradeEnvironmentRequest {
|
|
399
496
|
environmentId: string;
|
|
497
|
+
org?: string;
|
|
400
498
|
upgradeSandboxEnvironmentRequest?: UpgradeSandboxEnvironmentRequest;
|
|
401
499
|
}
|
|
402
500
|
export interface UsageRequest {
|
|
@@ -412,6 +510,20 @@ export interface WriteFileRequest {
|
|
|
412
510
|
*
|
|
413
511
|
*/
|
|
414
512
|
export declare class BoatApi extends runtime.BaseAPI {
|
|
513
|
+
/**
|
|
514
|
+
* Creates request options for addCredentialAccount without sending the request
|
|
515
|
+
*/
|
|
516
|
+
addCredentialAccountRequestOpts(input: AddCredentialAccountRequest | runtime.FlatBody<AddCredentialAccountRequest, 'setCredentialKeyRequest'>): Promise<runtime.RequestOpts>;
|
|
517
|
+
/**
|
|
518
|
+
* Adds an API key as another account of the credential, ready to switch to. The first key of a credential becomes the one in use. A sign-in returns `400 not_an_api_key`; add another sign-in with \"Add another account\" on the dashboard. Needs an API key with `account.admin`.
|
|
519
|
+
* Add another API key to a credential
|
|
520
|
+
*/
|
|
521
|
+
addCredentialAccountRaw(requestParameters: AddCredentialAccountRequest | runtime.FlatBody<AddCredentialAccountRequest, 'setCredentialKeyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialAccountsResponse>>;
|
|
522
|
+
/**
|
|
523
|
+
* Adds an API key as another account of the credential, ready to switch to. The first key of a credential becomes the one in use. A sign-in returns `400 not_an_api_key`; add another sign-in with \"Add another account\" on the dashboard. Needs an API key with `account.admin`.
|
|
524
|
+
* Add another API key to a credential
|
|
525
|
+
*/
|
|
526
|
+
addCredentialAccount(requestParameters: AddCredentialAccountRequest | runtime.FlatBody<AddCredentialAccountRequest, 'setCredentialKeyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialAccountsResponse>;
|
|
415
527
|
/**
|
|
416
528
|
* Creates request options for addEnvironmentRepo without sending the request
|
|
417
529
|
*/
|
|
@@ -566,6 +678,20 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
566
678
|
* Create sandbox
|
|
567
679
|
*/
|
|
568
680
|
create(requestParameters?: CreateRequest | runtime.FlatBody<CreateRequest, 'createSandboxRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateSandboxResponse>;
|
|
681
|
+
/**
|
|
682
|
+
* Creates request options for createCredentialProfile without sending the request
|
|
683
|
+
*/
|
|
684
|
+
createCredentialProfileRequestOpts(input: CreateCredentialProfileOperationRequest | runtime.FlatBody<CreateCredentialProfileOperationRequest, 'createCredentialProfileRequest'>): Promise<runtime.RequestOpts>;
|
|
685
|
+
/**
|
|
686
|
+
* 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`.
|
|
687
|
+
* Create a credential profile
|
|
688
|
+
*/
|
|
689
|
+
createCredentialProfileRaw(requestParameters: CreateCredentialProfileOperationRequest | runtime.FlatBody<CreateCredentialProfileOperationRequest, 'createCredentialProfileRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
|
|
690
|
+
/**
|
|
691
|
+
* 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`.
|
|
692
|
+
* Create a credential profile
|
|
693
|
+
*/
|
|
694
|
+
createCredentialProfile(requestParameters: CreateCredentialProfileOperationRequest | runtime.FlatBody<CreateCredentialProfileOperationRequest, 'createCredentialProfileRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
|
|
569
695
|
/**
|
|
570
696
|
* Creates request options for createDownloadUrl without sending the request
|
|
571
697
|
*/
|
|
@@ -650,6 +776,62 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
650
776
|
* Create webhook
|
|
651
777
|
*/
|
|
652
778
|
createWebhook(requestParameters: CreateWebhookRequest | runtime.FlatBody<CreateWebhookRequest, 'webhookCreateRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookSecretResponse>;
|
|
779
|
+
/**
|
|
780
|
+
* Creates request options for deleteCredentialAccount without sending the request
|
|
781
|
+
*/
|
|
782
|
+
deleteCredentialAccountRequestOpts(requestParameters: DeleteCredentialAccountRequest): Promise<runtime.RequestOpts>;
|
|
783
|
+
/**
|
|
784
|
+
* Deletes an account. For the account in use, the credential switches to another account first, or is removed when it was the last one. Needs an API key with `account.admin`.
|
|
785
|
+
* Forget an account of a credential
|
|
786
|
+
*/
|
|
787
|
+
deleteCredentialAccountRaw(requestParameters: DeleteCredentialAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialAccountsResponse>>;
|
|
788
|
+
/**
|
|
789
|
+
* Deletes an account. For the account in use, the credential switches to another account first, or is removed when it was the last one. Needs an API key with `account.admin`.
|
|
790
|
+
* Forget an account of a credential
|
|
791
|
+
*/
|
|
792
|
+
deleteCredentialAccount(requestParameters: DeleteCredentialAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialAccountsResponse>;
|
|
793
|
+
/**
|
|
794
|
+
* Creates request options for deleteCredentialProfile without sending the request
|
|
795
|
+
*/
|
|
796
|
+
deleteCredentialProfileRequestOpts(requestParameters: DeleteCredentialProfileRequest): Promise<runtime.RequestOpts>;
|
|
797
|
+
/**
|
|
798
|
+
* 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`.
|
|
799
|
+
* Delete a credential profile
|
|
800
|
+
*/
|
|
801
|
+
deleteCredentialProfileRaw(requestParameters: DeleteCredentialProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileDeletedResponse>>;
|
|
802
|
+
/**
|
|
803
|
+
* 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`.
|
|
804
|
+
* Delete a credential profile
|
|
805
|
+
*/
|
|
806
|
+
deleteCredentialProfile(requestParameters: DeleteCredentialProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileDeletedResponse>;
|
|
807
|
+
/**
|
|
808
|
+
* Creates request options for deleteCredentialProfileCustomApi without sending the request
|
|
809
|
+
*/
|
|
810
|
+
deleteCredentialProfileCustomApiRequestOpts(requestParameters: DeleteCredentialProfileCustomApiRequest): Promise<runtime.RequestOpts>;
|
|
811
|
+
/**
|
|
812
|
+
* Removes one custom API from the profile. Needs an API key with `account.admin`.
|
|
813
|
+
* Remove a custom API
|
|
814
|
+
*/
|
|
815
|
+
deleteCredentialProfileCustomApiRaw(requestParameters: DeleteCredentialProfileCustomApiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
|
|
816
|
+
/**
|
|
817
|
+
* Removes one custom API from the profile. Needs an API key with `account.admin`.
|
|
818
|
+
* Remove a custom API
|
|
819
|
+
*/
|
|
820
|
+
deleteCredentialProfileCustomApi(requestParameters: DeleteCredentialProfileCustomApiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
|
|
821
|
+
/**
|
|
822
|
+
* Creates request options for deleteCredentialProfileKey without sending the request
|
|
823
|
+
*/
|
|
824
|
+
deleteCredentialProfileKeyRequestOpts(requestParameters: DeleteCredentialProfileKeyRequest): Promise<runtime.RequestOpts>;
|
|
825
|
+
/**
|
|
826
|
+
* Removes one credential, an API key or a sign-in. Needs an API key with `account.admin`.
|
|
827
|
+
* Remove a credential profile credential
|
|
828
|
+
*/
|
|
829
|
+
deleteCredentialProfileKeyRaw(requestParameters: DeleteCredentialProfileKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
|
|
830
|
+
/**
|
|
831
|
+
* Removes one credential, an API key or a sign-in. Needs an API key with `account.admin`.
|
|
832
|
+
* Remove a credential profile credential
|
|
833
|
+
*/
|
|
834
|
+
deleteCredentialProfileKey(requestParameters: DeleteCredentialProfileKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
|
|
653
835
|
/**
|
|
654
836
|
* Creates request options for deleteEnvironment without sending the request
|
|
655
837
|
*/
|
|
@@ -807,17 +989,17 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
807
989
|
/**
|
|
808
990
|
* Creates request options for environments without sending the request
|
|
809
991
|
*/
|
|
810
|
-
environmentsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
992
|
+
environmentsRequestOpts(requestParameters: EnvironmentsRequest): Promise<runtime.RequestOpts>;
|
|
811
993
|
/**
|
|
812
994
|
* 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.
|
|
813
995
|
* List Sandbox environments
|
|
814
996
|
*/
|
|
815
|
-
environmentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxEnvironmentListResponse>>;
|
|
997
|
+
environmentsRaw(requestParameters: EnvironmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxEnvironmentListResponse>>;
|
|
816
998
|
/**
|
|
817
999
|
* 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.
|
|
818
1000
|
* List Sandbox environments
|
|
819
1001
|
*/
|
|
820
|
-
environments(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxEnvironmentListResponse>;
|
|
1002
|
+
environments(requestParameters?: EnvironmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxEnvironmentListResponse>;
|
|
821
1003
|
/**
|
|
822
1004
|
* Creates request options for events without sending the request
|
|
823
1005
|
*/
|
|
@@ -860,6 +1042,34 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
860
1042
|
* Get sandbox
|
|
861
1043
|
*/
|
|
862
1044
|
get(requestParameters: GetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxInfoResponse>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Creates request options for getAiProxy without sending the request
|
|
1047
|
+
*/
|
|
1048
|
+
getAiProxyRequestOpts(requestParameters: GetAiProxyRequest): Promise<runtime.RequestOpts>;
|
|
1049
|
+
/**
|
|
1050
|
+
* 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`.
|
|
1051
|
+
* Get AI credentials proxy
|
|
1052
|
+
*/
|
|
1053
|
+
getAiProxyRaw(requestParameters: GetAiProxyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiProxySettings>>;
|
|
1054
|
+
/**
|
|
1055
|
+
* 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`.
|
|
1056
|
+
* Get AI credentials proxy
|
|
1057
|
+
*/
|
|
1058
|
+
getAiProxy(requestParameters?: GetAiProxyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiProxySettings>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Creates request options for getAiUsage without sending the request
|
|
1061
|
+
*/
|
|
1062
|
+
getAiUsageRequestOpts(requestParameters: GetAiUsageRequest): Promise<runtime.RequestOpts>;
|
|
1063
|
+
/**
|
|
1064
|
+
* 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`.
|
|
1065
|
+
* Get AI usage
|
|
1066
|
+
*/
|
|
1067
|
+
getAiUsageRaw(requestParameters: GetAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountAiUsageResponse>>;
|
|
1068
|
+
/**
|
|
1069
|
+
* 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`.
|
|
1070
|
+
* Get AI usage
|
|
1071
|
+
*/
|
|
1072
|
+
getAiUsage(requestParameters?: GetAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountAiUsageResponse>;
|
|
863
1073
|
/**
|
|
864
1074
|
* Creates request options for getCommand without sending the request
|
|
865
1075
|
*/
|
|
@@ -926,6 +1136,20 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
926
1136
|
* Get a named snapshot
|
|
927
1137
|
*/
|
|
928
1138
|
getNamedSnapshot(requestParameters: GetNamedSnapshotRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NamedSnapshotInfoResponse>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Creates request options for getSandboxAiUsage without sending the request
|
|
1141
|
+
*/
|
|
1142
|
+
getSandboxAiUsageRequestOpts(requestParameters: GetSandboxAiUsageRequest): Promise<runtime.RequestOpts>;
|
|
1143
|
+
/**
|
|
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.
|
|
1145
|
+
* Get sandbox AI usage
|
|
1146
|
+
*/
|
|
1147
|
+
getSandboxAiUsageRaw(requestParameters: GetSandboxAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxAiUsageResponse>>;
|
|
1148
|
+
/**
|
|
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.
|
|
1150
|
+
* Get sandbox AI usage
|
|
1151
|
+
*/
|
|
1152
|
+
getSandboxAiUsage(requestParameters: GetSandboxAiUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxAiUsageResponse>;
|
|
929
1153
|
/**
|
|
930
1154
|
* Creates request options for getSnapshotDownload without sending the request
|
|
931
1155
|
*/
|
|
@@ -1052,6 +1276,34 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
1052
1276
|
* Get Boat limits
|
|
1053
1277
|
*/
|
|
1054
1278
|
limits(requestParameters?: LimitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LimitsResponse>;
|
|
1279
|
+
/**
|
|
1280
|
+
* Creates request options for listCredentialAccounts without sending the request
|
|
1281
|
+
*/
|
|
1282
|
+
listCredentialAccountsRequestOpts(requestParameters: ListCredentialAccountsRequest): Promise<runtime.RequestOpts>;
|
|
1283
|
+
/**
|
|
1284
|
+
* Every account of one credential (several ChatGPT sign-ins, several OpenAI keys), in the order they were added, the one in use marked. Labels only, never a secret. Needs an API key with `account.admin`.
|
|
1285
|
+
* List the accounts of a credential
|
|
1286
|
+
*/
|
|
1287
|
+
listCredentialAccountsRaw(requestParameters: ListCredentialAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialAccountsResponse>>;
|
|
1288
|
+
/**
|
|
1289
|
+
* Every account of one credential (several ChatGPT sign-ins, several OpenAI keys), in the order they were added, the one in use marked. Labels only, never a secret. Needs an API key with `account.admin`.
|
|
1290
|
+
* List the accounts of a credential
|
|
1291
|
+
*/
|
|
1292
|
+
listCredentialAccounts(requestParameters: ListCredentialAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialAccountsResponse>;
|
|
1293
|
+
/**
|
|
1294
|
+
* Creates request options for listCredentialProfiles without sending the request
|
|
1295
|
+
*/
|
|
1296
|
+
listCredentialProfilesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Returns every AI credential profile you can use, yours and your organizations\'. Secret values are never returned. Needs an API key with `account.admin`.
|
|
1299
|
+
* List credential profiles
|
|
1300
|
+
*/
|
|
1301
|
+
listCredentialProfilesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileListResponse>>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Returns every AI credential profile you can use, yours and your organizations\'. Secret values are never returned. Needs an API key with `account.admin`.
|
|
1304
|
+
* List credential profiles
|
|
1305
|
+
*/
|
|
1306
|
+
listCredentialProfiles(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileListResponse>;
|
|
1055
1307
|
/**
|
|
1056
1308
|
* Creates request options for listNamedSnapshots without sending the request
|
|
1057
1309
|
*/
|
|
@@ -1372,6 +1624,34 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
1372
1624
|
* Set the active organization
|
|
1373
1625
|
*/
|
|
1374
1626
|
setActiveOrganization(requestParameters: SetActiveOrganizationRequest | runtime.FlatBody<SetActiveOrganizationRequest, 'activeOrgUpdateRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ActiveOrgResponse>;
|
|
1627
|
+
/**
|
|
1628
|
+
* Creates request options for setCredentialProfileCustomApi without sending the request
|
|
1629
|
+
*/
|
|
1630
|
+
setCredentialProfileCustomApiRequestOpts(input: SetCredentialProfileCustomApiRequest | runtime.FlatBody<SetCredentialProfileCustomApiRequest, 'setCustomApiRequest'>): Promise<runtime.RequestOpts>;
|
|
1631
|
+
/**
|
|
1632
|
+
* Adds or replaces one custom API. The sandbox gets `<NAME>` and `<NAME>_BASE_URL`. Needs an API key with `account.admin`.
|
|
1633
|
+
* Set a custom API
|
|
1634
|
+
*/
|
|
1635
|
+
setCredentialProfileCustomApiRaw(requestParameters: SetCredentialProfileCustomApiRequest | runtime.FlatBody<SetCredentialProfileCustomApiRequest, 'setCustomApiRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
|
|
1636
|
+
/**
|
|
1637
|
+
* Adds or replaces one custom API. The sandbox gets `<NAME>` and `<NAME>_BASE_URL`. Needs an API key with `account.admin`.
|
|
1638
|
+
* Set a custom API
|
|
1639
|
+
*/
|
|
1640
|
+
setCredentialProfileCustomApi(requestParameters: SetCredentialProfileCustomApiRequest | runtime.FlatBody<SetCredentialProfileCustomApiRequest, 'setCustomApiRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
|
|
1641
|
+
/**
|
|
1642
|
+
* Creates request options for setCredentialProfileKey without sending the request
|
|
1643
|
+
*/
|
|
1644
|
+
setCredentialProfileKeyRequestOpts(input: SetCredentialProfileKeyRequest | runtime.FlatBody<SetCredentialProfileKeyRequest, 'setCredentialKeyRequest'>): Promise<runtime.RequestOpts>;
|
|
1645
|
+
/**
|
|
1646
|
+
* 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`.
|
|
1647
|
+
* Set a credential profile API key
|
|
1648
|
+
*/
|
|
1649
|
+
setCredentialProfileKeyRaw(requestParameters: SetCredentialProfileKeyRequest | runtime.FlatBody<SetCredentialProfileKeyRequest, 'setCredentialKeyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
|
|
1650
|
+
/**
|
|
1651
|
+
* 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`.
|
|
1652
|
+
* Set a credential profile API key
|
|
1653
|
+
*/
|
|
1654
|
+
setCredentialProfileKey(requestParameters: SetCredentialProfileKeyRequest | runtime.FlatBody<SetCredentialProfileKeyRequest, 'setCredentialKeyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
|
|
1375
1655
|
/**
|
|
1376
1656
|
* Creates request options for setEnvironmentSecretFile without sending the request
|
|
1377
1657
|
*/
|
|
@@ -1400,6 +1680,20 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
1400
1680
|
* Set one environment variable
|
|
1401
1681
|
*/
|
|
1402
1682
|
setEnvironmentVar(requestParameters: SetEnvironmentVarOperationRequest | runtime.FlatBody<SetEnvironmentVarOperationRequest, 'setEnvironmentVarRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnvironmentItemChangeResponse>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Creates request options for setSandboxAiAccess without sending the request
|
|
1685
|
+
*/
|
|
1686
|
+
setSandboxAiAccessRequestOpts(input: SetSandboxAiAccessOperationRequest | runtime.FlatBody<SetSandboxAiAccessOperationRequest, 'setSandboxAiAccessRequest'>): Promise<runtime.RequestOpts>;
|
|
1687
|
+
/**
|
|
1688
|
+
* 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`.
|
|
1689
|
+
* Block or unblock sandbox AI access
|
|
1690
|
+
*/
|
|
1691
|
+
setSandboxAiAccessRaw(requestParameters: SetSandboxAiAccessOperationRequest | runtime.FlatBody<SetSandboxAiAccessOperationRequest, 'setSandboxAiAccessRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxAiAccessResponse>>;
|
|
1692
|
+
/**
|
|
1693
|
+
* 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`.
|
|
1694
|
+
* Block or unblock sandbox AI access
|
|
1695
|
+
*/
|
|
1696
|
+
setSandboxAiAccess(requestParameters: SetSandboxAiAccessOperationRequest | runtime.FlatBody<SetSandboxAiAccessOperationRequest, 'setSandboxAiAccessRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxAiAccessResponse>;
|
|
1403
1697
|
/**
|
|
1404
1698
|
* Creates request options for setTelemetry without sending the request
|
|
1405
1699
|
*/
|
|
@@ -1484,6 +1778,20 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
1484
1778
|
* Stop a detached command
|
|
1485
1779
|
*/
|
|
1486
1780
|
stopCommand(requestParameters: StopCommandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CommandStopResponse>;
|
|
1781
|
+
/**
|
|
1782
|
+
* Creates request options for switchCredentialAccount without sending the request
|
|
1783
|
+
*/
|
|
1784
|
+
switchCredentialAccountRequestOpts(requestParameters: SwitchCredentialAccountRequest): Promise<runtime.RequestOpts>;
|
|
1785
|
+
/**
|
|
1786
|
+
* Makes this account the one in use; the previous one stays as another account. Switching to the account already in use changes nothing. Every sandbox that uses the profile gets it at once, running ones included, with no restart. Use it when one account runs out of credits. Needs an API key with `account.admin`.
|
|
1787
|
+
* Switch a credential to another account
|
|
1788
|
+
*/
|
|
1789
|
+
switchCredentialAccountRaw(requestParameters: SwitchCredentialAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialAccountsResponse>>;
|
|
1790
|
+
/**
|
|
1791
|
+
* Makes this account the one in use; the previous one stays as another account. Switching to the account already in use changes nothing. Every sandbox that uses the profile gets it at once, running ones included, with no restart. Use it when one account runs out of credits. Needs an API key with `account.admin`.
|
|
1792
|
+
* Switch a credential to another account
|
|
1793
|
+
*/
|
|
1794
|
+
switchCredentialAccount(requestParameters: SwitchCredentialAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialAccountsResponse>;
|
|
1487
1795
|
/**
|
|
1488
1796
|
* Creates request options for update without sending the request
|
|
1489
1797
|
*/
|
|
@@ -1496,6 +1804,34 @@ export declare class BoatApi extends runtime.BaseAPI {
|
|
|
1496
1804
|
* Update sandbox
|
|
1497
1805
|
*/
|
|
1498
1806
|
update(requestParameters: UpdateRequest | runtime.FlatBody<UpdateRequest, 'updateSandboxRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxInfoResponse>;
|
|
1807
|
+
/**
|
|
1808
|
+
* Creates request options for updateAiProxy without sending the request
|
|
1809
|
+
*/
|
|
1810
|
+
updateAiProxyRequestOpts(input: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>): Promise<runtime.RequestOpts>;
|
|
1811
|
+
/**
|
|
1812
|
+
* 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`.
|
|
1813
|
+
* Turn the AI credentials proxy on or off
|
|
1814
|
+
*/
|
|
1815
|
+
updateAiProxyRaw(requestParameters: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiProxySettings>>;
|
|
1816
|
+
/**
|
|
1817
|
+
* 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`.
|
|
1818
|
+
* Turn the AI credentials proxy on or off
|
|
1819
|
+
*/
|
|
1820
|
+
updateAiProxy(requestParameters: UpdateAiProxyOperationRequest | runtime.FlatBody<UpdateAiProxyOperationRequest, 'updateAiProxyRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiProxySettings>;
|
|
1821
|
+
/**
|
|
1822
|
+
* Creates request options for updateCredentialProfile without sending the request
|
|
1823
|
+
*/
|
|
1824
|
+
updateCredentialProfileRequestOpts(input: UpdateCredentialProfileOperationRequest | runtime.FlatBody<UpdateCredentialProfileOperationRequest, 'updateCredentialProfileRequest'>): Promise<runtime.RequestOpts>;
|
|
1825
|
+
/**
|
|
1826
|
+
* 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`.
|
|
1827
|
+
* Update a credential profile
|
|
1828
|
+
*/
|
|
1829
|
+
updateCredentialProfileRaw(requestParameters: UpdateCredentialProfileOperationRequest | runtime.FlatBody<UpdateCredentialProfileOperationRequest, 'updateCredentialProfileRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CredentialProfileResponse>>;
|
|
1830
|
+
/**
|
|
1831
|
+
* 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`.
|
|
1832
|
+
* Update a credential profile
|
|
1833
|
+
*/
|
|
1834
|
+
updateCredentialProfile(requestParameters: UpdateCredentialProfileOperationRequest | runtime.FlatBody<UpdateCredentialProfileOperationRequest, 'updateCredentialProfileRequest'>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CredentialProfileResponse>;
|
|
1499
1835
|
/**
|
|
1500
1836
|
* Creates request options for updateDataRetention without sending the request
|
|
1501
1837
|
*/
|