@madewithremy/admin 0.1.28 → 0.1.30

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/README.md CHANGED
@@ -25,7 +25,7 @@ Configuration is read from the environment and the workspace — there are no co
25
25
  | Source | Meaning |
26
26
  |---|---|
27
27
  | `MINDSTUDIO_API_KEY` | Org-scoped `sk_` API key (required) |
28
- | `API_BASE_URL` | API origin (default `https://api.mindstudio.ai`) |
28
+ | `MINDSTUDIO_BASE_URL` | API origin (default `https://api.mindstudio.ai`) |
29
29
  | `WORKSPACE_DIR` | Workspace root (default `/home/vercel-sandbox/workspace`) |
30
30
  | `${WORKSPACE_DIR}/mindstudio.json` | `appId` — which app the CLI manages |
31
31
  | `REMY_SIDECAR_URL` | Sandbox sidecar for `qa-recordings export` (default `http://127.0.0.1:4388`) |
package/dist/index.d.ts CHANGED
@@ -166,6 +166,156 @@ declare namespace agent {
166
166
  export { type agent_ThreadsListParams as ThreadsListParams, agent_threadsGet as threadsGet, agent_threadsList as threadsList };
167
167
  }
168
168
 
169
+ /**
170
+ * Response types for the v2 task log.
171
+ *
172
+ * Transcribed from youai-api:
173
+ * apps/api/src/roles/http/routes/Apps/manage/taskTraces.ts — routes
174
+ * apps/api/src/customerApps/AppTaskAgents/traces.ts — summary and transcript shapes
175
+ */
176
+
177
+ /**
178
+ * How a task ended, as far as the platform can tell (it never sees the loop
179
+ * decide it's done):
180
+ * - `answered`: the last turn ended in a reply.
181
+ * - `in_progress`: the last turn asked for tools and the loop is still going.
182
+ * - `stopped`: the last turn asked for tools and nothing followed.
183
+ * - `error`: the last model call failed.
184
+ */
185
+ type TaskTraceOutcome = 'answered' | 'in_progress' | 'stopped' | 'error';
186
+ /** One task run, as the list shows it. */
187
+ interface TaskTraceSummary {
188
+ traceId: string;
189
+ /** The method execution that started the task — `requests get` opens it. */
190
+ requestId: string | null;
191
+ methodId: string | null;
192
+ source: string | null;
193
+ environment: string;
194
+ /** True = a builder's dev-tunnel run, not live traffic. */
195
+ devSession: boolean;
196
+ model: string;
197
+ outcome: TaskTraceOutcome;
198
+ lastStopReason: string | null;
199
+ turns: number;
200
+ /** More than `turns` means some turns were retried. */
201
+ modelCalls: number;
202
+ toolCallCount: number;
203
+ toolErrorCount: number;
204
+ /** Some turn's last attempt failed; see `turnError` in the transcript. */
205
+ hasTurnError: boolean;
206
+ inputTokens: number;
207
+ outputTokens: number;
208
+ /** Nanodollars (1/1,000,000,000th of a US dollar), retried calls included. */
209
+ billingCost: number;
210
+ /** ISO 8601. */
211
+ startedAt: string;
212
+ /** ISO 8601. */
213
+ updatedAt: string;
214
+ }
215
+ /** A model call that failed rather than replying. */
216
+ interface TaskTurnError {
217
+ message: string;
218
+ status?: number;
219
+ /** Milliseconds since epoch. */
220
+ at: number;
221
+ }
222
+ /**
223
+ * One message in a task transcript. The first is the task's input (a `user`
224
+ * message holding the JSON input); `assistant` messages are the model's
225
+ * turns; `user` messages carrying `toolCallId` are tool results.
226
+ */
227
+ interface TaskTranscriptMessage {
228
+ role: string;
229
+ content: string;
230
+ /** Present on an assistant message that requested tools. */
231
+ toolCalls?: AgentToolCall[];
232
+ /** Present on a tool result — matches the `toolCalls[].id` it answers. */
233
+ toolCallId?: string;
234
+ /** The tool reported a failure. */
235
+ isToolError?: boolean;
236
+ /**
237
+ * On a method tool's result: the `v2_request_log` id of that call — pass it
238
+ * to `requests get` for input, output, stdout and error. Absent on SDK
239
+ * action and function tools, and on tasks from SDKs older than this field.
240
+ */
241
+ requestId?: string;
242
+ /** On an assistant message: the turn that produced it. */
243
+ turn?: number;
244
+ stopReason?: string | null;
245
+ /** The model's reasoning for the turn, when it gave any. */
246
+ thinking?: string;
247
+ turnError?: TaskTurnError;
248
+ }
249
+ /** GET /_internal/v2/apps/:appId/task-traces */
250
+ interface TasksListResult {
251
+ traces: TaskTraceSummary[];
252
+ nextCursor: string | null;
253
+ }
254
+ /** GET /_internal/v2/apps/:appId/task-traces/:traceId */
255
+ interface TasksGetResult extends TaskTraceSummary {
256
+ /** The task's prompt as the model saw it (the output contract included). */
257
+ system: string | null;
258
+ tools: {
259
+ name: string;
260
+ description?: string;
261
+ }[];
262
+ messages: TaskTranscriptMessage[];
263
+ /** Turns whose record couldn't be read; the transcript has a hole there. */
264
+ missingTurns: number[];
265
+ }
266
+
267
+ /**
268
+ * Task log operations: every task agent (`runTask`) the app ran.
269
+ *
270
+ * Ops are pure: (ctx, params) → typed result, throwing AdminApiError /
271
+ * AdminTimeoutError. No printing, no process coupling — the CLI skin in
272
+ * commands/tasks.ts and the importable client both call these.
273
+ */
274
+
275
+ interface TasksListParams {
276
+ /** Max traces per page (default 20, server clamps to 100). */
277
+ limit?: number;
278
+ /** Pagination cursor from a prior page's `nextCursor`. */
279
+ cursor?: string;
280
+ }
281
+ /**
282
+ * Every task the app ran, newest started first, kept for 90 days.
283
+ *
284
+ * Returns cursored pages; pass `nextCursor` from one page as `cursor` for the
285
+ * next. Transcripts are not included — fetch one with `get`.
286
+ *
287
+ * `outcome`, `toolErrorCount` and `hasTurnError` are how you find the runs
288
+ * worth reading, and `devSession` separates your own dev runs from real
289
+ * traffic.
290
+ *
291
+ * @example
292
+ * const { traces } = await admin.tasks.list({ limit: 10 });
293
+ * const broken = traces.filter((t) => t.outcome !== 'answered' || t.toolErrorCount > 0);
294
+ */
295
+ declare function list$b(ctx: AdminContext, params?: TasksListParams): Promise<TasksListResult>;
296
+ /**
297
+ * One task with its full transcript: the prompt and tools it was given, its
298
+ * input, each turn's reply and reasoning, and every tool call with what came
299
+ * back.
300
+ *
301
+ * This is the primary tool for iterating on a task agent's prompt and tool
302
+ * descriptions — read what actually happened rather than guessing. A method
303
+ * tool's result carries a `requestId`; pass it to `requests.get()` for that
304
+ * call's input, output, stdout and error. `result.traceId` from `runTask()`
305
+ * is the id.
306
+ *
307
+ * @throws AdminApiError `task_trace_not_found` (404).
308
+ * @example
309
+ * const trace = await admin.tasks.get('0b9e…');
310
+ * console.log(trace.outcome, trace.messages);
311
+ */
312
+ declare function get$9(ctx: AdminContext, traceId: string): Promise<TasksGetResult>;
313
+
314
+ type tasks_TasksListParams = TasksListParams;
315
+ declare namespace tasks {
316
+ export { type tasks_TasksListParams as TasksListParams, get$9 as get, list$b as list };
317
+ }
318
+
169
319
  /**
170
320
  * Response types for the v2 analytics (insights) endpoints.
171
321
  *
@@ -3945,20 +4095,21 @@ declare namespace domains {
3945
4095
  }
3946
4096
 
3947
4097
  /**
3948
- * Response shapes for the email command group — transcribed from youai-api.
4098
+ * Response shapes for the email command group — transcribed from the api
4099
+ * (apps/api/src).
3949
4100
  *
3950
4101
  * Sources:
3951
- * src/http/routes/V2Apps/manage/outboundEmail.ts
3952
- * src/http/routes/V2Apps/manage/outboundEmailDomains.ts
3953
- * src/http/routes/V2Apps/manage/emailDomains.ts
3954
- * src/http/routes/V2Apps/manage/requestLog.ts (inbox route only)
3955
- * src/common/Db/v2Apps/V2EmailMessagesDao/index.ts
3956
- * src/common/Db/v2Apps/V2EmailBatchesDao/index.ts
3957
- * src/common/Db/v2Apps/V2EmailTenantStateDao/index.ts
3958
- * src/common/Db/v2Apps/AppEmailSuppressionsDao/index.ts
3959
- * src/common/OutboundEmail/batchView.ts
3960
- * src/common/Aws/SesIdentityService.ts
3961
- * src/common/Db/v2Apps/RequestLogDao.ts
4102
+ * roles/http/routes/Apps/manage/outboundEmail.ts
4103
+ * roles/http/routes/Apps/manage/outboundEmailDomains.ts
4104
+ * roles/http/routes/_helpers/outboundEmailDomainView.ts
4105
+ * roles/http/routes/Apps/manage/emailDomains.ts
4106
+ * roles/http/routes/Apps/manage/requestLog.ts (inbox route only)
4107
+ * customerApps/AppOutboundEmail/dao/EmailMessagesDao.ts
4108
+ * customerApps/AppOutboundEmail/dao/EmailBatchesDao.ts
4109
+ * customerApps/AppOutboundEmail/dao/EmailTenantStateDao.ts
4110
+ * customerApps/AppOutboundEmail/dao/AppEmailSuppressionsDao.ts
4111
+ * customerApps/AppOutboundEmail/batchView.ts
4112
+ * core/EmailTransport/drivers/index.ts
3962
4113
  */
3963
4114
  /** Per-recipient outbound delivery status. */
3964
4115
  type EmailMessageStatus = 'suppressed' | 'failed' | 'sent' | 'delivered' | 'blocked' | 'bounced' | 'complained' | 'delayed' | 'rejected';
@@ -4053,9 +4204,10 @@ interface AppEmailSuppression {
4053
4204
  createdAt: string;
4054
4205
  }
4055
4206
  /**
4056
- * SES account-level suppression entry (SesIdentityService.getPlatformSuppression).
4057
- * Non-null means this address stays blocked even after removing the app-level row —
4058
- * the platform list is account-wide and is never cleared by the CLI.
4207
+ * The email provider's account-level suppression entry (on SES, its account
4208
+ * suppression list). Non-null means this address stays blocked even after
4209
+ * removing the app-level row — the provider's list is account-wide and is
4210
+ * never cleared by the CLI. Always null where the provider keeps none.
4059
4211
  */
4060
4212
  interface PlatformSuppression {
4061
4213
  /** SES-reported reason, e.g. 'BOUNCE' or 'COMPLAINT'. */
@@ -4087,18 +4239,24 @@ interface EmailDomainBase {
4087
4239
  }
4088
4240
  /** Visual verification status on the outbound-domains settings UI. */
4089
4241
  type OutboundEmailDomainUiStatus = 'verified' | 'action_needed' | 'pending';
4090
- /** DNS records to create at the customer's DNS host for outbound sending. */
4242
+ /** One DNS record to create at the customer's DNS host. */
4243
+ interface OutboundDnsRecord {
4244
+ type: 'CNAME' | 'TXT' | 'MX';
4245
+ /** Fully qualified. */
4246
+ name: string;
4247
+ value: string;
4248
+ /** MX records only. */
4249
+ priority?: number;
4250
+ /** False for a record verification doesn't wait on (an SPF include, a return path). */
4251
+ required: boolean;
4252
+ }
4253
+ /**
4254
+ * DNS records to create at the customer's DNS host for outbound sending:
4255
+ * whatever the deployment's email provider issues (on SES, three DKIM CNAMEs,
4256
+ * all required, and an SPF TXT, recommended; merge it into an existing one).
4257
+ */
4091
4258
  interface OutboundDnsInstructions {
4092
- /** Three DKIM CNAME records — all required for SES identity verification. */
4093
- cnameRecords: Array<{
4094
- name: string;
4095
- value: string;
4096
- }>;
4097
- /** Recommended SPF TXT record; merge with an existing one if present. */
4098
- recommendedSpf: {
4099
- name: string;
4100
- value: string;
4101
- };
4259
+ records: OutboundDnsRecord[];
4102
4260
  }
4103
4261
  /** Outbound (sending) domain view shape (outboundEmailDomains.ts toView). */
4104
4262
  interface OutboundEmailDomainView extends EmailDomainBase {
@@ -4111,13 +4269,22 @@ interface OutboundEmailDomainView extends EmailDomainBase {
4111
4269
  }
4112
4270
  /** Visual verification status on the inbound-domains settings UI. */
4113
4271
  type InboundEmailDomainUiStatus = 'verified' | 'action_needed' | 'pending';
4114
- /** DNS record to create at the customer's DNS host for inbound mail routing. */
4272
+ /** DNS records to create at the customer's DNS host for inbound mail routing. */
4115
4273
  interface InboundDnsInstructions {
4116
4274
  mxRecord: {
4117
4275
  name: string;
4118
4276
  priority: number;
4119
4277
  target: string;
4120
4278
  };
4279
+ /**
4280
+ * Present when the claim owes ownership proof: the domain was already aimed
4281
+ * at the platform (or another app held it) before this claim, so it verifies
4282
+ * only once this TXT record is published beside the MX.
4283
+ */
4284
+ ownershipTxt?: {
4285
+ name: string;
4286
+ value: string;
4287
+ };
4121
4288
  }
4122
4289
  /** Inbound domain view shape (emailDomains.ts toView). */
4123
4290
  interface InboundEmailDomainView extends EmailDomainBase {
@@ -4130,11 +4297,13 @@ interface InboundEmailDomainView extends EmailDomainBase {
4130
4297
  }
4131
4298
  /**
4132
4299
  * Which rung of the sender fallback chain won. `app_domain` / `org_domain` /
4133
- * `subdomain` / `default` are the no-`from` default-sender tiers; `custom_from`
4134
- * is a caller-supplied handle on an owned domain; `sendgrid` is the v1 path.
4135
- * (OutboundSenderTier in youai-api resolveOutboundFromAddress.ts.)
4300
+ * `subdomain` / `default` / `deployment` are the no-`from` default-sender
4301
+ * tiers (`deployment` is the deployment's own address, where its email
4302
+ * transport has one); `custom_from` is a caller-supplied handle on an owned
4303
+ * domain; `sendgrid` is the v1 path. (OutboundSenderTier in the api's
4304
+ * customerApps/AppOutboundEmail/resolveOutboundFromAddress.ts.)
4136
4305
  */
4137
- type EmailSenderTier = 'app_domain' | 'org_domain' | 'subdomain' | 'default' | 'custom_from' | 'sendgrid';
4306
+ type EmailSenderTier = 'app_domain' | 'org_domain' | 'subdomain' | 'default' | 'deployment' | 'custom_from' | 'sendgrid';
4138
4307
  /** Effective sender resolved from the fallback chain (outbound-email-domains list). */
4139
4308
  interface EmailEffectiveSender {
4140
4309
  address: string;
@@ -4255,7 +4424,11 @@ interface EmailInboxResult {
4255
4424
  /** email domains list → GET /settings/outbound-email-domains */
4256
4425
  interface OutboundEmailDomainsListResult {
4257
4426
  domains: OutboundEmailDomainView[];
4258
- effectiveSender: EmailEffectiveSender;
4427
+ /** Null where the deployment sends no email (`emailConfigured` false). */
4428
+ effectiveSender: EmailEffectiveSender | null;
4429
+ emailConfigured: boolean;
4430
+ /** False where every app sends from the deployment's address, so there's no domain to add. */
4431
+ sendingDomainsAvailable: boolean;
4259
4432
  }
4260
4433
  /** email domains check → POST /settings/outbound-email-domains/check-domain */
4261
4434
  interface OutboundEmailDomainCheckResult {
@@ -4359,7 +4532,7 @@ interface EmailInboxParams {
4359
4532
  cursor?: string;
4360
4533
  limit?: number;
4361
4534
  }
4362
- /** Direction of mail flow: `sending` = outbound (SES identity/DKIM); `inbound` = receiving (MX). */
4535
+ /** Direction of mail flow: `sending` = outbound (a domain at the email provider); `inbound` = receiving (MX). */
4363
4536
  type DomainDirection = 'sending' | 'inbound';
4364
4537
  /**
4365
4538
  * Direction-conditional result selector: maps a literal `DomainDirection` to
@@ -7660,7 +7833,7 @@ interface AdminClientOptions {
7660
7833
  * pass explicitly anywhere that file doesn't exist.
7661
7834
  */
7662
7835
  appId?: string;
7663
- /** API origin. Falls back to API_BASE_URL, then the production default. */
7836
+ /** API origin. Falls back to MINDSTUDIO_BASE_URL, then the production default. */
7664
7837
  baseUrl?: string;
7665
7838
  }
7666
7839
  /** An ops module with the AdminContext pre-applied to every function. */
@@ -7680,6 +7853,7 @@ declare function buildClient(ctx: AdminContext): {
7680
7853
  */
7681
7854
  forApp(appId: string): /*elided*/ any;
7682
7855
  agent: BoundOps<typeof agent>;
7856
+ tasks: BoundOps<typeof tasks>;
7683
7857
  analytics: BoundOps<typeof analytics>;
7684
7858
  events: BoundOps<typeof appEvents>;
7685
7859
  crashes: BoundOps<typeof crashes>;
@@ -7767,4 +7941,4 @@ declare class AdminTimeoutError extends Error {
7767
7941
 
7768
7942
  declare const admin: AdminClient;
7769
7943
 
7770
- export { AdminApiError, type AdminClient, type AdminClientOptions, type AdminContext, AdminTimeoutError, type AgentThreadDetail, type AgentThreadListItem, type AgentThreadsGetResult, type AgentThreadsListResult, type AgentToolCall, type AgentTranscriptMessage, type AgentTurnError, type AnalyticsAiHostRow, type AnalyticsAiSourcesResult, type AnalyticsAiVendorRow, type AnalyticsBatchResult, type AnalyticsCrawlersOverviewResult, type AnalyticsCrawlersRecentResult, type AnalyticsCrawlersRecentRow, type AnalyticsCrawlersResult, type AnalyticsCrawlersTimeseriesBucket, type AnalyticsCrawlersTimeseriesResult, type AnalyticsLiveResult, type AnalyticsMapPoint, type AnalyticsMapResult, type AnalyticsMetric, type AnalyticsQueryResult, type AnalyticsQueryResultRow, type AnalyticsSourceRow, type AnalyticsSourcesResult, type AppCronJobStatus, type AppCronJobStatusReason, type AppCronRunState, type AppEmailSuppression, type AppSecretRow, type CrashGroup, type CrashOccurrenceRow, type CrashesGetResult, type CrashesListResult, type CrashesOccurrencesResult, type CrashesStatsBucket, type CrashesStatsResult, type CronJobDecorated, type CronOverviewResult, type CronRunResult, type CronRunSummary, type DashboardLiveRelease, type DashboardReleaseMethod, type DashboardResult, type DataLiftFromDevResult, type DataLiftFromLiveResult, type DataSourceConnector, type DataSourceConnectorCredentials, type DataSourceConnectorDeletions, type DataSourceConnectorGetResult, type DataSourceConnectorPolicy, type DataSourceConnectorResult, type DataSourceInspectReport, type DataSourceInspectResult, type DataSourceJob, type DataSourceJobGetResult, type DataSourceJobManifestTokenResult, type DataSourceJobPlan, type DataSourceJobResult, type DataSourceJobSource, type DataSourceJobState, type DataSourceJobsListResult, type DataSourceMapDeployResult, type DataSourceMapTestDocument, type DataSourceMapTestOutcome, type DataSourceMapTestResult, type DataSourceMapper, type DataSourceObjectSelection, type DataSourceQuarantineResult, type DataSourceQuarantinedObject, type DataSourceRemapResult, type DataSourceSyncResult, type DataSourcesBuildProgress, type DataSourcesChunkingConfig, type DataSourcesChunkingStrategy, type DataSourcesConfigResult, type DataSourcesConfigUpdateResult, type DataSourcesCountResult, type DataSourcesCreateResult, type DataSourcesDeleteResult, type DataSourcesDocument, type DataSourcesDocumentConfirmResult, type DataSourcesDocumentDeleteManyResult, type DataSourcesDocumentDeleteResult, type DataSourcesDocumentSelector, type DataSourcesDocumentStatus, type DataSourcesDocumentsResult, type DataSourcesDropResult, type DataSourcesHydrateResult, type DataSourcesHydration, type DataSourcesIndex, type DataSourcesIngestConfig, type DataSourcesIngestUpdate, type DataSourcesListEntry, type DataSourcesListResult, type DataSourcesMigration, type DataSourcesMoveResult, type DataSourcesPlacement, type DataSourcesPromoteResult, type DataSourcesRetrievalConfig, type DataSourcesRetrievalUpdate, type DataSourcesRevectorizeResult, type DataSourcesSampleResult, type DataSourcesSearchCitation, type DataSourcesSearchResult, type DataSourcesSearchResultItem, type DataSourcesUploadTokenResult, type DatasetFile, type DbQueryResult, type DiagnosticsAuditEnvironment, type DiagnosticsDashboardResult, type DiagnosticsFinding, type DiagnosticsLighthouseScores, type DiagnosticsPayload, type DiagnosticsReleaseResult, type DiagnosticsRuntimeFindings, type DomainsCheckResult, type DomainsCustomAddResult, type DomainsCustomCheckResult, type DomainsCustomHostnameUiStatus, type DomainsCustomHostnameView, type DomainsCustomListResult, type DomainsCustomRemoveResult, type DomainsCustomRetryResult, type DomainsDnsInstructions, type DomainsGetResult, type DomainsSetResult, type EmailBatchLifecycle, type EmailBatchResult, type EmailBatchSummary, type EmailBatchesResult, type EmailDomainBase, type EmailEffectiveSender, type EmailInboxResult, type EmailListResult, type EmailMessageKind, type EmailMessageResult, type EmailMessageStatus, type EmailSenderTier, type EmailSendingStatusResult, type EmailStatsResult, type EmailSummary, type EmailSuppressResult, type EmailSuppressionsResult, type EmailUnsuppressResult, type EvalAggregates, type EvalCompareResult, type EvalExpectation, type EvalQueriesAddResult, type EvalQueriesListResult, type EvalQuery, type EvalQueryResult, type EvalQueryStyle, type EvalRetrieval, type EvalRun, type EvalRunResult, type EvalRunState, type EvalRunsListResult, type EvalSet, type EvalSetGetResult, type EvalSetResult, type EvalSetState, type EvalSetsListResult, type EventChannelActivity, type EventsChannelsListResult, type EventsPublishResult, type EventsTailFrame, type FilesDeleteResult, type FilesFileMeta, type FilesListEntry, type FilesListResult, type FilesLsResult, type FilesScanBadge, type FilesScanFlagged, type FilesScanStore, type FilesStatResult, type FilesStoreSummaryEntry, type FilesUploadUrlResult, type FilesUrlResult, type FrontendErrorType, type InboundDnsInstructions, type InboundEmailDomainAddResult, type InboundEmailDomainCheckResult, type InboundEmailDomainDeleteResult, type InboundEmailDomainUiStatus, type InboundEmailDomainVerifyResult, type InboundEmailDomainView, type InboundEmailDomainsListResult, type InboxEmailPreview, type IssueAuthorKind, type IssueCommentRow, type IssueEventType, type IssueRow, type IssueStatus, type IssuesCommentResult, type IssuesCreateResult, type IssuesDeleteResult, type IssuesGetResult, type IssuesListResult, type IssuesUpdateResult, type JewelPairRow, type JewelPairSummaryRow, type JewelVerdict, type JewelsDatasetSummary, type JewelsDryrunResult, type JewelsExportResult, type JewelsGradeResult, type JewelsGrading, type JewelsOverviewResult, type JewelsPairResult, type JewelsPairsResult, type JewelsQueueResult, type JewelsResolveResult, type JewelsRunResult, type JewelsRunsResult, type JewelsTimeseriesBucket, type JewelsTimeseriesResult, type JewelsTrainResult, type LiftedDatabase, type MethodsInvokeResult, type OperationProgress, type OutboundDnsInstructions, type OutboundEmailDomainAddResult, type OutboundEmailDomainCheckResult, type OutboundEmailDomainDeleteResult, type OutboundEmailDomainUiStatus, type OutboundEmailDomainVerifyResult, type OutboundEmailDomainView, type OutboundEmailDomainsListResult, type PlatformSuppression, type PrerenderGetResult, type PrerenderInvalidateResult, type PrerenderPage, type PrerenderPagesResult, type PrerenderViewResult, type ReleaseFailureFields, type ReleaseFragment, type ReleasesByCommitResult, type ReleasesGetResult, type ReleasesListResult, type RequestsGetResult, type RequestsListResult, type RequestsListRow, type RequestsStatsMethodBucket, type RequestsStatsMethodResult, type RequestsStatsSummaryBucket, type RequestsStatsSummaryResult, type SecretsDeleteResult, type SecretsGetResult, type SecretsListResult, type SecretsSetResult, type SettingsResult, type SuppressionSource, type TrainingLogEntry, type TrainingRunRow, type TrainingRunStatus, type UserAuthProvider, type UserListItem, type UserRecord, type UsersCreateApiKeyResult, type UsersListResult, type UsersRevokeApiKeyResult, type UsersSetRoleResult, type V2AppSettings, type V2BuildLogEntry, type V2BuildStats, type V2CommitInfo, type V2EmailMessage, type V2ReleaseStatus, type VoiceAvailableNumber, type VoiceNumbersBuyResult, type VoiceNumbersListResult, type VoiceNumbersReleaseResult, type VoiceNumbersSearchResult, type VoiceNumbersSetNameResult, type VoicePhoneNumberStatus, type VoicePhoneNumberView, type VoiceResolvedPolicy, type VoiceSessionChannel, type VoiceSessionCost, type VoiceSessionCostLine, type VoiceSessionDetail, type VoiceSessionGetResult, type VoiceSessionListItem, type VoiceSessionSip, type VoiceSessionSpeechEntry, type VoiceSessionStatus, type VoiceSessionToolEntry, type VoiceSessionTranscriptEntry, type VoiceSessionsListResult, type VoiceSettingsCeilings, type VoiceSettingsGetResult, type VoiceSettingsOverrides, type VoiceSettingsSetResult, admin, createAdminClient, admin as default };
7944
+ export { AdminApiError, type AdminClient, type AdminClientOptions, type AdminContext, AdminTimeoutError, type AgentThreadDetail, type AgentThreadListItem, type AgentThreadsGetResult, type AgentThreadsListResult, type AgentToolCall, type AgentTranscriptMessage, type AgentTurnError, type AnalyticsAiHostRow, type AnalyticsAiSourcesResult, type AnalyticsAiVendorRow, type AnalyticsBatchResult, type AnalyticsCrawlersOverviewResult, type AnalyticsCrawlersRecentResult, type AnalyticsCrawlersRecentRow, type AnalyticsCrawlersResult, type AnalyticsCrawlersTimeseriesBucket, type AnalyticsCrawlersTimeseriesResult, type AnalyticsLiveResult, type AnalyticsMapPoint, type AnalyticsMapResult, type AnalyticsMetric, type AnalyticsQueryResult, type AnalyticsQueryResultRow, type AnalyticsSourceRow, type AnalyticsSourcesResult, type AppCronJobStatus, type AppCronJobStatusReason, type AppCronRunState, type AppEmailSuppression, type AppSecretRow, type CrashGroup, type CrashOccurrenceRow, type CrashesGetResult, type CrashesListResult, type CrashesOccurrencesResult, type CrashesStatsBucket, type CrashesStatsResult, type CronJobDecorated, type CronOverviewResult, type CronRunResult, type CronRunSummary, type DashboardLiveRelease, type DashboardReleaseMethod, type DashboardResult, type DataLiftFromDevResult, type DataLiftFromLiveResult, type DataSourceConnector, type DataSourceConnectorCredentials, type DataSourceConnectorDeletions, type DataSourceConnectorGetResult, type DataSourceConnectorPolicy, type DataSourceConnectorResult, type DataSourceInspectReport, type DataSourceInspectResult, type DataSourceJob, type DataSourceJobGetResult, type DataSourceJobManifestTokenResult, type DataSourceJobPlan, type DataSourceJobResult, type DataSourceJobSource, type DataSourceJobState, type DataSourceJobsListResult, type DataSourceMapDeployResult, type DataSourceMapTestDocument, type DataSourceMapTestOutcome, type DataSourceMapTestResult, type DataSourceMapper, type DataSourceObjectSelection, type DataSourceQuarantineResult, type DataSourceQuarantinedObject, type DataSourceRemapResult, type DataSourceSyncResult, type DataSourcesBuildProgress, type DataSourcesChunkingConfig, type DataSourcesChunkingStrategy, type DataSourcesConfigResult, type DataSourcesConfigUpdateResult, type DataSourcesCountResult, type DataSourcesCreateResult, type DataSourcesDeleteResult, type DataSourcesDocument, type DataSourcesDocumentConfirmResult, type DataSourcesDocumentDeleteManyResult, type DataSourcesDocumentDeleteResult, type DataSourcesDocumentSelector, type DataSourcesDocumentStatus, type DataSourcesDocumentsResult, type DataSourcesDropResult, type DataSourcesHydrateResult, type DataSourcesHydration, type DataSourcesIndex, type DataSourcesIngestConfig, type DataSourcesIngestUpdate, type DataSourcesListEntry, type DataSourcesListResult, type DataSourcesMigration, type DataSourcesMoveResult, type DataSourcesPlacement, type DataSourcesPromoteResult, type DataSourcesRetrievalConfig, type DataSourcesRetrievalUpdate, type DataSourcesRevectorizeResult, type DataSourcesSampleResult, type DataSourcesSearchCitation, type DataSourcesSearchResult, type DataSourcesSearchResultItem, type DataSourcesUploadTokenResult, type DatasetFile, type DbQueryResult, type DiagnosticsAuditEnvironment, type DiagnosticsDashboardResult, type DiagnosticsFinding, type DiagnosticsLighthouseScores, type DiagnosticsPayload, type DiagnosticsReleaseResult, type DiagnosticsRuntimeFindings, type DomainsCheckResult, type DomainsCustomAddResult, type DomainsCustomCheckResult, type DomainsCustomHostnameUiStatus, type DomainsCustomHostnameView, type DomainsCustomListResult, type DomainsCustomRemoveResult, type DomainsCustomRetryResult, type DomainsDnsInstructions, type DomainsGetResult, type DomainsSetResult, type EmailBatchLifecycle, type EmailBatchResult, type EmailBatchSummary, type EmailBatchesResult, type EmailDomainBase, type EmailEffectiveSender, type EmailInboxResult, type EmailListResult, type EmailMessageKind, type EmailMessageResult, type EmailMessageStatus, type EmailSenderTier, type EmailSendingStatusResult, type EmailStatsResult, type EmailSummary, type EmailSuppressResult, type EmailSuppressionsResult, type EmailUnsuppressResult, type EvalAggregates, type EvalCompareResult, type EvalExpectation, type EvalQueriesAddResult, type EvalQueriesListResult, type EvalQuery, type EvalQueryResult, type EvalQueryStyle, type EvalRetrieval, type EvalRun, type EvalRunResult, type EvalRunState, type EvalRunsListResult, type EvalSet, type EvalSetGetResult, type EvalSetResult, type EvalSetState, type EvalSetsListResult, type EventChannelActivity, type EventsChannelsListResult, type EventsPublishResult, type EventsTailFrame, type FilesDeleteResult, type FilesFileMeta, type FilesListEntry, type FilesListResult, type FilesLsResult, type FilesScanBadge, type FilesScanFlagged, type FilesScanStore, type FilesStatResult, type FilesStoreSummaryEntry, type FilesUploadUrlResult, type FilesUrlResult, type FrontendErrorType, type InboundDnsInstructions, type InboundEmailDomainAddResult, type InboundEmailDomainCheckResult, type InboundEmailDomainDeleteResult, type InboundEmailDomainUiStatus, type InboundEmailDomainVerifyResult, type InboundEmailDomainView, type InboundEmailDomainsListResult, type InboxEmailPreview, type IssueAuthorKind, type IssueCommentRow, type IssueEventType, type IssueRow, type IssueStatus, type IssuesCommentResult, type IssuesCreateResult, type IssuesDeleteResult, type IssuesGetResult, type IssuesListResult, type IssuesUpdateResult, type JewelPairRow, type JewelPairSummaryRow, type JewelVerdict, type JewelsDatasetSummary, type JewelsDryrunResult, type JewelsExportResult, type JewelsGradeResult, type JewelsGrading, type JewelsOverviewResult, type JewelsPairResult, type JewelsPairsResult, type JewelsQueueResult, type JewelsResolveResult, type JewelsRunResult, type JewelsRunsResult, type JewelsTimeseriesBucket, type JewelsTimeseriesResult, type JewelsTrainResult, type LiftedDatabase, type MethodsInvokeResult, type OperationProgress, type OutboundDnsInstructions, type OutboundDnsRecord, type OutboundEmailDomainAddResult, type OutboundEmailDomainCheckResult, type OutboundEmailDomainDeleteResult, type OutboundEmailDomainUiStatus, type OutboundEmailDomainVerifyResult, type OutboundEmailDomainView, type OutboundEmailDomainsListResult, type PlatformSuppression, type PrerenderGetResult, type PrerenderInvalidateResult, type PrerenderPage, type PrerenderPagesResult, type PrerenderViewResult, type ReleaseFailureFields, type ReleaseFragment, type ReleasesByCommitResult, type ReleasesGetResult, type ReleasesListResult, type RequestsGetResult, type RequestsListResult, type RequestsListRow, type RequestsStatsMethodBucket, type RequestsStatsMethodResult, type RequestsStatsSummaryBucket, type RequestsStatsSummaryResult, type SecretsDeleteResult, type SecretsGetResult, type SecretsListResult, type SecretsSetResult, type SettingsResult, type SuppressionSource, type TaskTraceOutcome, type TaskTraceSummary, type TaskTranscriptMessage, type TaskTurnError, type TasksGetResult, type TasksListResult, type TrainingLogEntry, type TrainingRunRow, type TrainingRunStatus, type UserAuthProvider, type UserListItem, type UserRecord, type UsersCreateApiKeyResult, type UsersListResult, type UsersRevokeApiKeyResult, type UsersSetRoleResult, type V2AppSettings, type V2BuildLogEntry, type V2BuildStats, type V2CommitInfo, type V2EmailMessage, type V2ReleaseStatus, type VoiceAvailableNumber, type VoiceNumbersBuyResult, type VoiceNumbersListResult, type VoiceNumbersReleaseResult, type VoiceNumbersSearchResult, type VoiceNumbersSetNameResult, type VoicePhoneNumberStatus, type VoicePhoneNumberView, type VoiceResolvedPolicy, type VoiceSessionChannel, type VoiceSessionCost, type VoiceSessionCostLine, type VoiceSessionDetail, type VoiceSessionGetResult, type VoiceSessionListItem, type VoiceSessionSip, type VoiceSessionSpeechEntry, type VoiceSessionStatus, type VoiceSessionToolEntry, type VoiceSessionTranscriptEntry, type VoiceSessionsListResult, type VoiceSettingsCeilings, type VoiceSettingsGetResult, type VoiceSettingsOverrides, type VoiceSettingsSetResult, admin, createAdminClient, admin as default };