@boatdev/sdk 1.9.5 → 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 (148) hide show
  1. package/.openapi-generator/FILES +40 -0
  2. package/dist/apis/BoatApi.d.ts +263 -3
  3. package/dist/apis/BoatApi.js +662 -11
  4. package/dist/esm/apis/BoatApi.d.ts +263 -3
  5. package/dist/esm/apis/BoatApi.js +662 -11
  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/ProcessListResponse.d.ts +1 -1
  31. package/dist/esm/models/SandboxAiAccessResponse.d.ts +56 -0
  32. package/dist/esm/models/SandboxAiAccessResponse.js +59 -0
  33. package/dist/esm/models/SandboxAiUsage.d.ts +64 -0
  34. package/dist/esm/models/SandboxAiUsage.js +65 -0
  35. package/dist/esm/models/SandboxAiUsageResponse.d.ts +88 -0
  36. package/dist/esm/models/SandboxAiUsageResponse.js +81 -0
  37. package/dist/esm/models/SandboxEnvironment.d.ts +13 -1
  38. package/dist/esm/models/SandboxEnvironment.js +4 -0
  39. package/dist/esm/models/SetCredentialKeyRequest.d.ts +32 -0
  40. package/dist/esm/models/SetCredentialKeyRequest.js +43 -0
  41. package/dist/esm/models/SetCustomApiRequest.d.ts +38 -0
  42. package/dist/esm/models/SetCustomApiRequest.js +47 -0
  43. package/dist/esm/models/SetSandboxAiAccessRequest.d.ts +32 -0
  44. package/dist/esm/models/SetSandboxAiAccessRequest.js +43 -0
  45. package/dist/esm/models/UpdateAiProxyRequest.d.ts +32 -0
  46. package/dist/esm/models/UpdateAiProxyRequest.js +43 -0
  47. package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +38 -0
  48. package/dist/esm/models/UpdateCredentialProfileRequest.js +43 -0
  49. package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
  50. package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +4 -0
  51. package/dist/esm/models/index.d.ts +20 -0
  52. package/dist/esm/models/index.js +20 -0
  53. package/dist/models/AccountAiUsageResponse.d.ts +83 -0
  54. package/dist/models/AccountAiUsageResponse.js +85 -0
  55. package/dist/models/AiProxySettings.d.ts +81 -0
  56. package/dist/models/AiProxySettings.js +83 -0
  57. package/dist/models/AiProxySettingsAllOfPricing.d.ts +38 -0
  58. package/dist/models/AiProxySettingsAllOfPricing.js +54 -0
  59. package/dist/models/AiUsageRow.d.ts +80 -0
  60. package/dist/models/AiUsageRow.js +82 -0
  61. package/dist/models/AiUsageTotals.d.ts +62 -0
  62. package/dist/models/AiUsageTotals.js +70 -0
  63. package/dist/models/CreateCredentialProfileRequest.d.ts +44 -0
  64. package/dist/models/CreateCredentialProfileRequest.js +54 -0
  65. package/dist/models/CredentialId.d.ts +36 -0
  66. package/dist/models/CredentialId.js +62 -0
  67. package/dist/models/CredentialProfile.d.ts +82 -0
  68. package/dist/models/CredentialProfile.js +84 -0
  69. package/dist/models/CredentialProfileDeletedResponse.d.ts +44 -0
  70. package/dist/models/CredentialProfileDeletedResponse.js +58 -0
  71. package/dist/models/CredentialProfileListResponse.d.ts +45 -0
  72. package/dist/models/CredentialProfileListResponse.js +59 -0
  73. package/dist/models/CredentialProfileOwner.d.ts +58 -0
  74. package/dist/models/CredentialProfileOwner.js +70 -0
  75. package/dist/models/CredentialProfileResponse.d.ts +51 -0
  76. package/dist/models/CredentialProfileResponse.js +63 -0
  77. package/dist/models/ProcessListResponse.d.ts +1 -1
  78. package/dist/models/SandboxAiAccessResponse.d.ts +56 -0
  79. package/dist/models/SandboxAiAccessResponse.js +66 -0
  80. package/dist/models/SandboxAiUsage.d.ts +64 -0
  81. package/dist/models/SandboxAiUsage.js +72 -0
  82. package/dist/models/SandboxAiUsageResponse.d.ts +88 -0
  83. package/dist/models/SandboxAiUsageResponse.js +88 -0
  84. package/dist/models/SandboxEnvironment.d.ts +13 -1
  85. package/dist/models/SandboxEnvironment.js +4 -0
  86. package/dist/models/SetCredentialKeyRequest.d.ts +32 -0
  87. package/dist/models/SetCredentialKeyRequest.js +50 -0
  88. package/dist/models/SetCustomApiRequest.d.ts +38 -0
  89. package/dist/models/SetCustomApiRequest.js +54 -0
  90. package/dist/models/SetSandboxAiAccessRequest.d.ts +32 -0
  91. package/dist/models/SetSandboxAiAccessRequest.js +50 -0
  92. package/dist/models/UpdateAiProxyRequest.d.ts +32 -0
  93. package/dist/models/UpdateAiProxyRequest.js +50 -0
  94. package/dist/models/UpdateCredentialProfileRequest.d.ts +38 -0
  95. package/dist/models/UpdateCredentialProfileRequest.js +50 -0
  96. package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
  97. package/dist/models/UpdateSandboxEnvironmentRequest.js +4 -0
  98. package/dist/models/index.d.ts +20 -0
  99. package/dist/models/index.js +20 -0
  100. package/docs/AccountAiUsageResponse.md +48 -0
  101. package/docs/AiProxySettings.md +48 -0
  102. package/docs/AiProxySettingsAllOfPricing.md +34 -0
  103. package/docs/AiUsageRow.md +48 -0
  104. package/docs/AiUsageTotals.md +43 -0
  105. package/docs/BoatApi.md +1285 -234
  106. package/docs/CreateCredentialProfileRequest.md +36 -0
  107. package/docs/CredentialId.md +31 -0
  108. package/docs/CredentialProfile.md +49 -0
  109. package/docs/CredentialProfileDeletedResponse.md +36 -0
  110. package/docs/CredentialProfileListResponse.md +36 -0
  111. package/docs/CredentialProfileOwner.md +38 -0
  112. package/docs/CredentialProfileResponse.md +38 -0
  113. package/docs/SandboxAiAccessResponse.md +40 -0
  114. package/docs/SandboxAiUsage.md +42 -0
  115. package/docs/SandboxAiUsageResponse.md +50 -0
  116. package/docs/SandboxEnvironment.md +4 -0
  117. package/docs/SetCredentialKeyRequest.md +32 -0
  118. package/docs/SetCustomApiRequest.md +34 -0
  119. package/docs/SetSandboxAiAccessRequest.md +32 -0
  120. package/docs/UpdateAiProxyRequest.md +32 -0
  121. package/docs/UpdateCredentialProfileRequest.md +34 -0
  122. package/docs/UpdateSandboxEnvironmentRequest.md +4 -0
  123. package/package.json +1 -1
  124. package/src/apis/BoatApi.ts +1013 -13
  125. package/src/models/AccountAiUsageResponse.ts +160 -0
  126. package/src/models/AiProxySettings.ts +146 -0
  127. package/src/models/AiProxySettingsAllOfPricing.ts +75 -0
  128. package/src/models/AiUsageRow.ts +138 -0
  129. package/src/models/AiUsageTotals.ts +111 -0
  130. package/src/models/CreateCredentialProfileRequest.ts +82 -0
  131. package/src/models/CredentialId.ts +64 -0
  132. package/src/models/CredentialProfile.ts +153 -0
  133. package/src/models/CredentialProfileDeletedResponse.ts +84 -0
  134. package/src/models/CredentialProfileListResponse.ts +92 -0
  135. package/src/models/CredentialProfileOwner.ts +104 -0
  136. package/src/models/CredentialProfileResponse.ts +101 -0
  137. package/src/models/ProcessListResponse.ts +1 -1
  138. package/src/models/SandboxAiAccessResponse.ts +102 -0
  139. package/src/models/SandboxAiUsage.ts +126 -0
  140. package/src/models/SandboxAiUsageResponse.ts +162 -0
  141. package/src/models/SandboxEnvironment.ts +17 -1
  142. package/src/models/SetCredentialKeyRequest.ts +66 -0
  143. package/src/models/SetCustomApiRequest.ts +75 -0
  144. package/src/models/SetSandboxAiAccessRequest.ts +66 -0
  145. package/src/models/UpdateAiProxyRequest.ts +66 -0
  146. package/src/models/UpdateCredentialProfileRequest.ts +73 -0
  147. package/src/models/UpdateSandboxEnvironmentRequest.ts +16 -0
  148. package/src/models/index.ts +20 -0
@@ -2,10 +2,15 @@
2
2
  .npmignore
3
3
  .openapi-generator-ignore
4
4
  README.md
5
+ docs/AccountAiUsageResponse.md
5
6
  docs/ActiveOrgResponse.md
6
7
  docs/ActiveOrgResponseAllOfActive.md
7
8
  docs/ActiveOrgUpdateRequest.md
8
9
  docs/AddEnvironmentRepoRequest.md
10
+ docs/AiProxySettings.md
11
+ docs/AiProxySettingsAllOfPricing.md
12
+ docs/AiUsageRow.md
13
+ docs/AiUsageTotals.md
9
14
  docs/ApiKey.md
10
15
  docs/ApiKeyCatalog.md
11
16
  docs/ApiKeyCatalogScopeResources.md
@@ -35,11 +40,18 @@ docs/CommandStreamFrame.md
35
40
  docs/CompletionEvent.md
36
41
  docs/Conversation.md
37
42
  docs/ConversationsResponse.md
43
+ docs/CreateCredentialProfileRequest.md
38
44
  docs/CreateSandboxEnvironmentRequest.md
39
45
  docs/CreateSandboxRequest.md
40
46
  docs/CreateSandboxResponse.md
41
47
  docs/CreateScopedApiKey503Response.md
42
48
  docs/CreateScopedApiKeyRequest.md
49
+ docs/CredentialId.md
50
+ docs/CredentialProfile.md
51
+ docs/CredentialProfileDeletedResponse.md
52
+ docs/CredentialProfileListResponse.md
53
+ docs/CredentialProfileOwner.md
54
+ docs/CredentialProfileResponse.md
43
55
  docs/DataRetentionPolicyResponse.md
44
56
  docs/DataRetentionUpdateRequest.md
45
57
  docs/DeletionOperation.md
@@ -104,6 +116,9 @@ docs/ResumeRequest.md
104
116
  docs/RotateApiKey409Response.md
105
117
  docs/Sandbox.md
106
118
  docs/SandboxActionResponse.md
119
+ docs/SandboxAiAccessResponse.md
120
+ docs/SandboxAiUsage.md
121
+ docs/SandboxAiUsageResponse.md
107
122
  docs/SandboxEnvironment.md
108
123
  docs/SandboxEnvironmentListResponse.md
109
124
  docs/SandboxEnvironmentResponse.md
@@ -118,8 +133,11 @@ docs/SecretFile.md
118
133
  docs/SecretsResponse.md
119
134
  docs/SecretsUpdateRequest.md
120
135
  docs/SelectedRepository.md
136
+ docs/SetCredentialKeyRequest.md
137
+ docs/SetCustomApiRequest.md
121
138
  docs/SetEnvironmentSecretFileRequest.md
122
139
  docs/SetEnvironmentVarRequest.md
140
+ docs/SetSandboxAiAccessRequest.md
123
141
  docs/Share200Response.md
124
142
  docs/SnapshotChunk.md
125
143
  docs/SnapshotDownloadResponse.md
@@ -147,6 +165,8 @@ docs/TelemetrySetRequest.md
147
165
  docs/TelemetrySetResponse.md
148
166
  docs/TelemetryTestResult.md
149
167
  docs/UnknownEvent.md
168
+ docs/UpdateAiProxyRequest.md
169
+ docs/UpdateCredentialProfileRequest.md
150
170
  docs/UpdateSandboxEnvironmentRequest.md
151
171
  docs/UpdateSandboxEnvironmentRequestRepositoriesInner.md
152
172
  docs/UpdateSandboxRequest.md
@@ -167,10 +187,15 @@ package.json
167
187
  src/apis/BoatApi.ts
168
188
  src/apis/index.ts
169
189
  src/index.ts
190
+ src/models/AccountAiUsageResponse.ts
170
191
  src/models/ActiveOrgResponse.ts
171
192
  src/models/ActiveOrgResponseAllOfActive.ts
172
193
  src/models/ActiveOrgUpdateRequest.ts
173
194
  src/models/AddEnvironmentRepoRequest.ts
195
+ src/models/AiProxySettings.ts
196
+ src/models/AiProxySettingsAllOfPricing.ts
197
+ src/models/AiUsageRow.ts
198
+ src/models/AiUsageTotals.ts
174
199
  src/models/ApiKey.ts
175
200
  src/models/ApiKeyCatalog.ts
176
201
  src/models/ApiKeyCatalogScopeResources.ts
@@ -199,11 +224,18 @@ src/models/CommandStreamFrame.ts
199
224
  src/models/CompletionEvent.ts
200
225
  src/models/Conversation.ts
201
226
  src/models/ConversationsResponse.ts
227
+ src/models/CreateCredentialProfileRequest.ts
202
228
  src/models/CreateSandboxEnvironmentRequest.ts
203
229
  src/models/CreateSandboxRequest.ts
204
230
  src/models/CreateSandboxResponse.ts
205
231
  src/models/CreateScopedApiKey503Response.ts
206
232
  src/models/CreateScopedApiKeyRequest.ts
233
+ src/models/CredentialId.ts
234
+ src/models/CredentialProfile.ts
235
+ src/models/CredentialProfileDeletedResponse.ts
236
+ src/models/CredentialProfileListResponse.ts
237
+ src/models/CredentialProfileOwner.ts
238
+ src/models/CredentialProfileResponse.ts
207
239
  src/models/DataRetentionPolicyResponse.ts
208
240
  src/models/DataRetentionUpdateRequest.ts
209
241
  src/models/DeletionOperation.ts
@@ -268,6 +300,9 @@ src/models/ResumeRequest.ts
268
300
  src/models/RotateApiKey409Response.ts
269
301
  src/models/Sandbox.ts
270
302
  src/models/SandboxActionResponse.ts
303
+ src/models/SandboxAiAccessResponse.ts
304
+ src/models/SandboxAiUsage.ts
305
+ src/models/SandboxAiUsageResponse.ts
271
306
  src/models/SandboxEnvironment.ts
272
307
  src/models/SandboxEnvironmentListResponse.ts
273
308
  src/models/SandboxEnvironmentResponse.ts
@@ -282,8 +317,11 @@ src/models/SecretFile.ts
282
317
  src/models/SecretsResponse.ts
283
318
  src/models/SecretsUpdateRequest.ts
284
319
  src/models/SelectedRepository.ts
320
+ src/models/SetCredentialKeyRequest.ts
321
+ src/models/SetCustomApiRequest.ts
285
322
  src/models/SetEnvironmentSecretFileRequest.ts
286
323
  src/models/SetEnvironmentVarRequest.ts
324
+ src/models/SetSandboxAiAccessRequest.ts
287
325
  src/models/Share200Response.ts
288
326
  src/models/SnapshotChunk.ts
289
327
  src/models/SnapshotDownloadResponse.ts
@@ -311,6 +349,8 @@ src/models/TelemetrySetRequest.ts
311
349
  src/models/TelemetrySetResponse.ts
312
350
  src/models/TelemetryTestResult.ts
313
351
  src/models/UnknownEvent.ts
352
+ src/models/UpdateAiProxyRequest.ts
353
+ src/models/UpdateCredentialProfileRequest.ts
314
354
  src/models/UpdateSandboxEnvironmentRequest.ts
315
355
  src/models/UpdateSandboxEnvironmentRequestRepositoriesInner.ts
316
356
  src/models/UpdateSandboxRequest.ts
@@ -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';
@@ -67,6 +74,8 @@ import { type RepoSelectionResponse } from '../models/RepoSelectionResponse';
67
74
  import { type ReposResponse } from '../models/ReposResponse';
68
75
  import { type ResumeRequest } from '../models/ResumeRequest';
69
76
  import { type SandboxActionResponse } from '../models/SandboxActionResponse';
77
+ import { type SandboxAiAccessResponse } from '../models/SandboxAiAccessResponse';
78
+ import { type SandboxAiUsageResponse } from '../models/SandboxAiUsageResponse';
70
79
  import { type SandboxEnvironmentListResponse } from '../models/SandboxEnvironmentListResponse';
71
80
  import { type SandboxEnvironmentResponse } from '../models/SandboxEnvironmentResponse';
72
81
  import { type SandboxInfoResponse } from '../models/SandboxInfoResponse';
@@ -74,8 +83,11 @@ import { type SandboxListResponse } from '../models/SandboxListResponse';
74
83
  import { type SandboxUsageResponse } from '../models/SandboxUsageResponse';
75
84
  import { type SecretsResponse } from '../models/SecretsResponse';
76
85
  import { type SecretsUpdateRequest } from '../models/SecretsUpdateRequest';
86
+ import { type SetCredentialKeyRequest } from '../models/SetCredentialKeyRequest';
87
+ import { type SetCustomApiRequest } from '../models/SetCustomApiRequest';
77
88
  import { type SetEnvironmentSecretFileRequest } from '../models/SetEnvironmentSecretFileRequest';
78
89
  import { type SetEnvironmentVarRequest } from '../models/SetEnvironmentVarRequest';
90
+ import { type SetSandboxAiAccessRequest } from '../models/SetSandboxAiAccessRequest';
79
91
  import { type Share200Response } from '../models/Share200Response';
80
92
  import { type SnapshotDownloadResponse } from '../models/SnapshotDownloadResponse';
81
93
  import { type SnapshotLatestResponse } from '../models/SnapshotLatestResponse';
@@ -90,6 +102,8 @@ import { type StopRequest } from '../models/StopRequest';
90
102
  import { type TelemetryResponse } from '../models/TelemetryResponse';
91
103
  import { type TelemetrySetRequest } from '../models/TelemetrySetRequest';
92
104
  import { type TelemetrySetResponse } from '../models/TelemetrySetResponse';
105
+ import { type UpdateAiProxyRequest } from '../models/UpdateAiProxyRequest';
106
+ import { type UpdateCredentialProfileRequest } from '../models/UpdateCredentialProfileRequest';
93
107
  import { type UpdateSandboxEnvironmentRequest } from '../models/UpdateSandboxEnvironmentRequest';
94
108
  import { type UpdateSandboxRequest } from '../models/UpdateSandboxRequest';
95
109
  import { type UpgradeSandboxEnvironmentRequest } from '../models/UpgradeSandboxEnvironmentRequest';
@@ -103,6 +117,7 @@ import { type WebhookUpdateRequest } from '../models/WebhookUpdateRequest';
103
117
  export interface AddEnvironmentRepoOperationRequest {
104
118
  environmentId: string;
105
119
  addEnvironmentRepoRequest: AddEnvironmentRepoRequest;
120
+ org?: string;
106
121
  }
107
122
  export interface ApiKeyUsageRequest {
108
123
  apiKeyId: string;
@@ -152,12 +167,16 @@ export interface CreateRequest {
152
167
  xBoatOrg?: string;
153
168
  createSandboxRequest?: CreateSandboxRequest;
154
169
  }
170
+ export interface CreateCredentialProfileOperationRequest {
171
+ createCredentialProfileRequest: CreateCredentialProfileRequest;
172
+ }
155
173
  export interface CreateDownloadUrlRequest {
156
174
  sandboxId: string;
157
175
  fileUrlRequest: FileUrlRequest;
158
176
  }
159
177
  export interface CreateEnvironmentRequest {
160
178
  createSandboxEnvironmentRequest: CreateSandboxEnvironmentRequest;
179
+ org?: string;
161
180
  }
162
181
  export interface CreateScopedApiKeyOperationRequest {
163
182
  createScopedApiKeyRequest: CreateScopedApiKeyRequest;
@@ -172,20 +191,35 @@ export interface CreateUploadUrlRequest {
172
191
  export interface CreateWebhookRequest {
173
192
  webhookCreateRequest: WebhookCreateRequest;
174
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
+ }
175
205
  export interface DeleteEnvironmentRequest {
176
206
  environmentId: string;
207
+ org?: string;
177
208
  }
178
209
  export interface DeleteEnvironmentRepoRequest {
179
210
  environmentId: string;
180
211
  repositoryId: string;
212
+ org?: string;
181
213
  }
182
214
  export interface DeleteEnvironmentSecretFileRequest {
183
215
  path: string;
184
216
  environmentId: string;
217
+ org?: string;
185
218
  }
186
219
  export interface DeleteEnvironmentVarRequest {
187
220
  environmentId: string;
188
221
  key: string;
222
+ org?: string;
189
223
  }
190
224
  export interface DeleteNamedSnapshotRequest {
191
225
  name: string;
@@ -211,6 +245,9 @@ export interface DesktopOperationRequest {
211
245
  theme?: DesktopOperationThemeEnum;
212
246
  desktopRequest?: DesktopRequest;
213
247
  }
248
+ export interface EnvironmentsRequest {
249
+ org?: string;
250
+ }
214
251
  export interface EventsRequest {
215
252
  sandboxId: string;
216
253
  limit?: number;
@@ -227,6 +264,16 @@ export interface ForkOperationRequest {
227
264
  export interface GetRequest {
228
265
  sandboxId: string;
229
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
+ }
230
277
  export interface GetCommandRequest {
231
278
  sandboxId: string;
232
279
  commandId: string;
@@ -240,6 +287,10 @@ export interface GetLatestSandboxSnapshotRequest {
240
287
  export interface GetNamedSnapshotRequest {
241
288
  name: string;
242
289
  }
290
+ export interface GetSandboxAiUsageRequest {
291
+ sandboxId: string;
292
+ days?: number;
293
+ }
243
294
  export interface GetSnapshotDownloadRequest {
244
295
  snapshotId: string;
245
296
  }
@@ -345,14 +396,30 @@ export interface SelectRepoRequest {
345
396
  export interface SetActiveOrganizationRequest {
346
397
  activeOrgUpdateRequest: ActiveOrgUpdateRequest;
347
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
+ }
348
409
  export interface SetEnvironmentSecretFileOperationRequest {
349
410
  environmentId: string;
350
411
  setEnvironmentSecretFileRequest: SetEnvironmentSecretFileRequest;
412
+ org?: string;
351
413
  }
352
414
  export interface SetEnvironmentVarOperationRequest {
353
415
  environmentId: string;
354
416
  key: string;
355
417
  setEnvironmentVarRequest: SetEnvironmentVarRequest;
418
+ org?: string;
419
+ }
420
+ export interface SetSandboxAiAccessOperationRequest {
421
+ sandboxId: string;
422
+ setSandboxAiAccessRequest: SetSandboxAiAccessRequest;
356
423
  }
357
424
  export interface SetTelemetryRequest {
358
425
  telemetrySetRequest: TelemetrySetRequest;
@@ -381,12 +448,22 @@ export interface UpdateRequest {
381
448
  sandboxId: string;
382
449
  updateSandboxRequest: UpdateSandboxRequest;
383
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
+ }
384
460
  export interface UpdateDataRetentionRequest {
385
461
  dataRetentionUpdateRequest: DataRetentionUpdateRequest;
386
462
  }
387
463
  export interface UpdateEnvironmentRequest {
388
464
  environmentId: string;
389
465
  updateSandboxEnvironmentRequest: UpdateSandboxEnvironmentRequest;
466
+ org?: string;
390
467
  }
391
468
  export interface UpdateSecretsRequest {
392
469
  secretsUpdateRequest: SecretsUpdateRequest;
@@ -397,6 +474,7 @@ export interface UpdateWebhookRequest {
397
474
  }
398
475
  export interface UpgradeEnvironmentRequest {
399
476
  environmentId: string;
477
+ org?: string;
400
478
  upgradeSandboxEnvironmentRequest?: UpgradeSandboxEnvironmentRequest;
401
479
  }
402
480
  export interface UsageRequest {
@@ -566,6 +644,20 @@ export declare class BoatApi extends runtime.BaseAPI {
566
644
  * Create sandbox
567
645
  */
568
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>;
569
661
  /**
570
662
  * Creates request options for createDownloadUrl without sending the request
571
663
  */
@@ -650,6 +742,48 @@ export declare class BoatApi extends runtime.BaseAPI {
650
742
  * Create webhook
651
743
  */
652
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>;
653
787
  /**
654
788
  * Creates request options for deleteEnvironment without sending the request
655
789
  */
@@ -807,17 +941,17 @@ export declare class BoatApi extends runtime.BaseAPI {
807
941
  /**
808
942
  * Creates request options for environments without sending the request
809
943
  */
810
- environmentsRequestOpts(): Promise<runtime.RequestOpts>;
944
+ environmentsRequestOpts(requestParameters: EnvironmentsRequest): Promise<runtime.RequestOpts>;
811
945
  /**
812
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.
813
947
  * List Sandbox environments
814
948
  */
815
- environmentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxEnvironmentListResponse>>;
949
+ environmentsRaw(requestParameters: EnvironmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SandboxEnvironmentListResponse>>;
816
950
  /**
817
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.
818
952
  * List Sandbox environments
819
953
  */
820
- environments(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxEnvironmentListResponse>;
954
+ environments(requestParameters?: EnvironmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SandboxEnvironmentListResponse>;
821
955
  /**
822
956
  * Creates request options for events without sending the request
823
957
  */
@@ -860,6 +994,34 @@ export declare class BoatApi extends runtime.BaseAPI {
860
994
  * Get sandbox
861
995
  */
862
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>;
863
1025
  /**
864
1026
  * Creates request options for getCommand without sending the request
865
1027
  */
@@ -926,6 +1088,20 @@ export declare class BoatApi extends runtime.BaseAPI {
926
1088
  * Get a named snapshot
927
1089
  */
928
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>;
929
1105
  /**
930
1106
  * Creates request options for getSnapshotDownload without sending the request
931
1107
  */
@@ -1052,6 +1228,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1052
1228
  * Get Boat limits
1053
1229
  */
1054
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>;
1055
1245
  /**
1056
1246
  * Creates request options for listNamedSnapshots without sending the request
1057
1247
  */
@@ -1372,6 +1562,34 @@ export declare class BoatApi extends runtime.BaseAPI {
1372
1562
  * Set the active organization
1373
1563
  */
1374
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>;
1375
1593
  /**
1376
1594
  * Creates request options for setEnvironmentSecretFile without sending the request
1377
1595
  */
@@ -1400,6 +1618,20 @@ export declare class BoatApi extends runtime.BaseAPI {
1400
1618
  * Set one environment variable
1401
1619
  */
1402
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>;
1403
1635
  /**
1404
1636
  * Creates request options for setTelemetry without sending the request
1405
1637
  */
@@ -1496,6 +1728,34 @@ export declare class BoatApi extends runtime.BaseAPI {
1496
1728
  * Update sandbox
1497
1729
  */
1498
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>;
1499
1759
  /**
1500
1760
  * Creates request options for updateDataRetention without sending the request
1501
1761
  */