@madewithremy/admin 0.1.13 → 0.1.15

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/dist/index.d.ts CHANGED
@@ -1059,6 +1059,38 @@ declare namespace data {
1059
1059
  export { type data_LiftFromLiveParams as LiftFromLiveParams, data_liftFromDev as liftFromDev, data_liftFromLive as liftFromLive };
1060
1060
  }
1061
1061
 
1062
+ /**
1063
+ * One shape for every long operation's progress: a bulk load, an index
1064
+ * reload, a move, an index build, a resource changing phase. Rate and ETA are
1065
+ * measured by the platform from the operation's own record, so the CLI, the
1066
+ * dashboard and a search's refusal message quote the same numbers.
1067
+ *
1068
+ * Transcribed from youai-api: src/common/DataSources/progress.ts
1069
+ */
1070
+ interface OperationProgress {
1071
+ /** The operation's own phase word: `running`, `copying`, `building`, `provisioning`… */
1072
+ phase: string;
1073
+ unit: 'documents' | 'objects' | 'vectors' | 'steps';
1074
+ done: number;
1075
+ /** Null when the operation has no known end (a planning walk, a phase transition). */
1076
+ total: number | null;
1077
+ /** Units per minute over the last few minutes; null until measured. */
1078
+ ratePerMinute: number | null;
1079
+ /** When the rest lands at that rate; null without a rate or a total. */
1080
+ etaAt: string | null;
1081
+ startedAt: string | null;
1082
+ /** When the operation last moved. */
1083
+ updatedAt: string | null;
1084
+ /** No movement for 30 minutes while under way. */
1085
+ stalled: boolean;
1086
+ /** The operation's own word on itself: an error, a pause reason, a step. */
1087
+ note: string | null;
1088
+ history: {
1089
+ phase: string;
1090
+ at: string;
1091
+ }[];
1092
+ }
1093
+
1062
1094
  /**
1063
1095
  * Response types for bulk ingestion jobs.
1064
1096
  *
@@ -1066,6 +1098,7 @@ declare namespace data {
1066
1098
  * src/http/routes/V2Apps/manage/dataSourceJobs.ts (jobView)
1067
1099
  * src/common/DataSources/jobs/types.ts
1068
1100
  */
1101
+
1069
1102
  /**
1070
1103
  * Where a job's documents come from. `store` is every object under a prefix of
1071
1104
  * one of the app's file stores (what `files put` fills); `manifest` is a JSONL
@@ -1153,10 +1186,37 @@ interface DataSourceJobPlan {
1153
1186
  capacity: {
1154
1187
  placement: 'shared' | 'dedicated';
1155
1188
  resourceId: string | null;
1189
+ /**
1190
+ * Chunks the placement holds in total at this source's dimensions: the
1191
+ * shared pool's per-source cap, or what the resource would hold were this
1192
+ * source alone on it.
1193
+ */
1156
1194
  maxPoints: number;
1195
+ /** Chunks already there (other sources on the resource, or this one's own). */
1157
1196
  heldPoints: number;
1158
1197
  /** False means approve is refused until the source moves or the resource grows. */
1159
1198
  fits: boolean;
1199
+ /**
1200
+ * Dedicated only: the bytes the decision was made on. `binding` names the
1201
+ * limit that refused; `held`, `incoming` and `usable` are disk and RAM.
1202
+ */
1203
+ footprint?: {
1204
+ dimensions: number;
1205
+ fits: boolean;
1206
+ binding: 'disk' | 'ram' | null;
1207
+ held: {
1208
+ diskBytes: number;
1209
+ ramBytes: number;
1210
+ };
1211
+ incoming: {
1212
+ diskBytes: number;
1213
+ ramBytes: number;
1214
+ };
1215
+ usable: {
1216
+ diskBytes: number;
1217
+ ramBytes: number;
1218
+ };
1219
+ } | null;
1160
1220
  };
1161
1221
  durationMinutes: number;
1162
1222
  warnings: string[];
@@ -1222,6 +1282,12 @@ interface DataSourceJob {
1222
1282
  startedAt: string | null;
1223
1283
  finishedAt: string | null;
1224
1284
  lastProgressAt: string | null;
1285
+ /**
1286
+ * The job in the one progress shape: objects listed while planning,
1287
+ * documents processed against the plan's projection after, with the
1288
+ * coordinator's measured rate and ETA.
1289
+ */
1290
+ progress: OperationProgress;
1225
1291
  }
1226
1292
  /** GET /datasources/jobs */
1227
1293
  interface DataSourceJobsListResult {
@@ -1318,12 +1384,18 @@ interface DataSourceSyncResult {
1318
1384
  * src/common/DataSources/evals/types.ts
1319
1385
  */
1320
1386
 
1321
- /** An index reload in flight after an eviction, or its last failure. */
1387
+ /**
1388
+ * An index reload in flight, or its last failure: after an eviction on the
1389
+ * shared pool, after a lost node or a resume on dedicated capacity, or a
1390
+ * reindex. Null on the source when the index is simply resident.
1391
+ */
1322
1392
  interface DataSourcesHydration {
1323
1393
  copied: number;
1324
1394
  total: number;
1325
1395
  startedAt: string;
1326
1396
  error: string | null;
1397
+ /** The reload in the one progress shape, with the platform's measured rate and ETA. */
1398
+ progress: OperationProgress;
1327
1399
  }
1328
1400
  /** POST /datasources/hydrate */
1329
1401
  interface DataSourcesHydrateResult {
@@ -1873,7 +1945,8 @@ interface DataSourcesDocumentStatus {
1873
1945
  }
1874
1946
  /**
1875
1947
  * GET /datasources/documents — one page of per-document ingest state for one
1876
- * pipeline, oldest first.
1948
+ * pipeline, oldest first unless `order=newest`; `status=error` is the failures,
1949
+ * newest failure first; `filename` a prefix.
1877
1950
  *
1878
1951
  * `pipelineVersion` is absent when the data source does not exist (returns `{ documents: [] }`).
1879
1952
  * `candidate=true` watches a migration in progress. `nextCursor` is set when
@@ -1947,14 +2020,16 @@ interface DataSourcesPlacement {
1947
2020
  * null) can be moving too.
1948
2021
  */
1949
2022
  /**
1950
- * Dedicated capacity's index, as Qdrant reports it: `deferred` while a bulk
1951
- * load runs (the node writes, nothing is indexed), `building` while the graph
1952
- * is built after one, `ready` otherwise.
2023
+ * Dedicated capacity's index, as Qdrant reports it: `building` while the
2024
+ * optimizer is behind the writes (a load can outrun it for a while), `ready`
2025
+ * otherwise.
1953
2026
  */
1954
2027
  interface DataSourcesIndex {
1955
- state: 'ready' | 'deferred' | 'building';
2028
+ state: 'ready' | 'building';
1956
2029
  indexedVectors: number;
1957
2030
  totalVectors: number;
2031
+ /** The optimizer's progress in the one shape, with the platform's measured rate and ETA. */
2032
+ progress: OperationProgress;
1958
2033
  }
1959
2034
  interface DataSourcesMigration {
1960
2035
  /** Where it is going; null is the shared pool. */
@@ -1965,6 +2040,8 @@ interface DataSourcesMigration {
1965
2040
  startedAt: string;
1966
2041
  /** Set when the move failed; the source is unfrozen and a new move may start. */
1967
2042
  error: string | null;
2043
+ /** The copy in the one progress shape, with the platform's measured rate and ETA. */
2044
+ progress: OperationProgress;
1968
2045
  }
1969
2046
  /** One data source in the GET /datasources listing. */
1970
2047
  interface DataSourcesListEntry {
@@ -1998,10 +2075,9 @@ interface DataSourcesListEntry {
1998
2075
  /** An index reload in flight after an eviction, or its last failure. */
1999
2076
  hydration: DataSourcesHydration | null;
2000
2077
  /**
2001
- * Dedicated capacity only; null on the shared pool. `deferred` while a bulk
2002
- * load runs (the node writes, nothing is indexed), `building` while the
2003
- * index is built after one, `ready` otherwise. Search answers
2004
- * `index_building` (503) in the first two states.
2078
+ * Dedicated capacity only; null on the shared pool. `building` while the
2079
+ * optimizer is behind the writes, `ready` otherwise. Search answers
2080
+ * `index_building` (503) while building.
2005
2081
  */
2006
2082
  index: DataSourcesIndex | null;
2007
2083
  /** The source this one was sampled from (`datasources sample`), or null. */
@@ -2152,13 +2228,18 @@ interface DataSourcesPromoteResult {
2152
2228
  interface DataSourcesDropResult {
2153
2229
  dropped: number;
2154
2230
  }
2155
- /** POST /datasources/delete — delete every version, document, and byte. */
2231
+ /**
2232
+ * POST /datasources/delete — delete every version, document, and byte. The
2233
+ * source is gone to every reader when this returns; its rows and objects are
2234
+ * removed by a background job, which `purging` says.
2235
+ */
2156
2236
  interface DataSourcesDeleteResult {
2157
2237
  deleted: true;
2158
- /** Number of documents removed. */
2238
+ /** Number of documents being removed. */
2159
2239
  documents: number;
2160
- /** Number of pipeline versions dropped. */
2240
+ /** Number of pipeline versions being dropped. */
2161
2241
  versions: number;
2242
+ purging: boolean;
2162
2243
  }
2163
2244
  /**
2164
2245
  * POST /datasources/documents/delete — always responds 204 (empty body).
@@ -2272,7 +2353,7 @@ declare function addDocument(ctx: AdminContext, params: AddDocumentParams): Prom
2272
2353
  interface WaitForIngestParams {
2273
2354
  slug: string;
2274
2355
  documentIds: string[];
2275
- /** Defaults to DEFAULT_WAIT_TIMEOUT_MS (15 min). */
2356
+ /** How long without movement before giving up. Defaults to DEFAULT_WAIT_TIMEOUT_MS (15 min). */
2276
2357
  timeoutMs?: number;
2277
2358
  /**
2278
2359
  * Receives the exact progress strings the CLI prints today:
@@ -2309,20 +2390,27 @@ interface WaitForIngestResult {
2309
2390
  declare function waitForIngest(ctx: AdminContext, params: WaitForIngestParams): Promise<WaitForIngestResult>;
2310
2391
  interface WaitForCandidateParams {
2311
2392
  slug: string;
2312
- /** Defaults to DEFAULT_WAIT_TIMEOUT_MS (15 min). */
2393
+ /** How long without movement before giving up. Defaults to DEFAULT_WAIT_TIMEOUT_MS (15 min). */
2313
2394
  timeoutMs?: number;
2314
2395
  /** Receives `rebuilding… X/Y done (Ns)`. */
2315
2396
  onProgress?: (message: string) => void;
2316
2397
  }
2317
2398
  interface WaitForCandidateResult {
2318
2399
  status: 'ready' | 'error' | 'timeout';
2400
+ /** The candidate's build counts when the wait ended; null when it had no candidate. */
2401
+ counts: DataSourcesBuildProgress | null;
2402
+ /** The failed documents, first page, when any failed. */
2319
2403
  documents: SummarizedDocument[];
2320
2404
  /** Present only on status === 'timeout'. */
2321
2405
  error?: string;
2322
2406
  }
2407
+ /** Failed documents fetched for a status or a candidate wait. */
2408
+ declare const FAILURES_PAGE = 50;
2323
2409
  /**
2324
2410
  * Poll a candidate version (`revectorize`) until every document has built.
2325
- * `error` means at least one failed; `promote` with `force` accepts that.
2411
+ * Reads the candidate's counts from the source list — one row, whatever the
2412
+ * corpus holds — and fetches the failures only at the end. `error` means at
2413
+ * least one failed; `promote` with `force` accepts that.
2326
2414
  */
2327
2415
  declare function waitForCandidate(ctx: AdminContext, params: WaitForCandidateParams): Promise<WaitForCandidateResult>;
2328
2416
  interface DocumentsParams {
@@ -2336,11 +2424,19 @@ interface DocumentsParams {
2336
2424
  limit?: number;
2337
2425
  /** `nextCursor` from the previous page. */
2338
2426
  cursor?: string;
2427
+ /** By the time the document was added; oldest first unless said otherwise. */
2428
+ order?: 'oldest' | 'newest';
2429
+ /** The failed builds only, newest failure first. */
2430
+ status?: 'error';
2431
+ /** Filenames starting with this. */
2432
+ filename?: string;
2339
2433
  }
2340
2434
  /** The server's cap on `ids` per request; `allDocuments` chunks to it. */
2341
2435
  declare const DOCUMENTS_IDS_MAX = 200;
2342
2436
  /**
2343
- * Fetch one page of per-document ingest state for one pipeline, oldest first.
2437
+ * Fetch one page of per-document ingest state for one pipeline, oldest first
2438
+ * unless `order` says otherwise; `status: 'error'` narrows to the failures and
2439
+ * `filename` to a name prefix.
2344
2440
  *
2345
2441
  * Returns an empty document list when the data source does not exist yet.
2346
2442
  * Pass `candidate: true` to watch a revectorization in progress. Follow
@@ -2348,6 +2444,7 @@ declare const DOCUMENTS_IDS_MAX = 200;
2348
2444
  *
2349
2445
  * @example
2350
2446
  * const { documents, nextCursor } = await admin.dataSources.documents({ slug: 'policies' });
2447
+ * const failed = await admin.dataSources.documents({ slug: 'policies', status: 'error' });
2351
2448
  */
2352
2449
  declare function documents(ctx: AdminContext, params: DocumentsParams): Promise<DataSourcesDocumentsResult>;
2353
2450
  /**
@@ -2518,9 +2615,9 @@ interface MoveParams {
2518
2615
  declare function move(ctx: AdminContext, params: MoveParams): Promise<DataSourcesMoveResult>;
2519
2616
  interface WaitForMoveParams {
2520
2617
  slug: string;
2521
- /** Defaults to DEFAULT_WAIT_TIMEOUT_MS (15 min). */
2618
+ /** How long without movement before giving up. Defaults to DEFAULT_WAIT_TIMEOUT_MS (15 min). */
2522
2619
  timeoutMs?: number;
2523
- /** Receives `moving… X/Y documents (Ns)`. */
2620
+ /** Receives `copying… X/Y documents · N/min · about M min left (Ns)`. */
2524
2621
  onProgress?: (message: string) => void;
2525
2622
  }
2526
2623
  type WaitForMoveResult = {
@@ -2666,6 +2763,7 @@ type dataSources_CreateParams = CreateParams;
2666
2763
  declare const dataSources_DOCUMENTS_IDS_MAX: typeof DOCUMENTS_IDS_MAX;
2667
2764
  type dataSources_DocumentsParams = DocumentsParams;
2668
2765
  type dataSources_DropParams = DropParams;
2766
+ declare const dataSources_FAILURES_PAGE: typeof FAILURES_PAGE;
2669
2767
  type dataSources_MoveParams = MoveParams;
2670
2768
  type dataSources_PromoteParams = PromoteParams;
2671
2769
  type dataSources_RevectorizeParams = RevectorizeParams;
@@ -2698,7 +2796,7 @@ declare const dataSources_waitForCandidate: typeof waitForCandidate;
2698
2796
  declare const dataSources_waitForIngest: typeof waitForIngest;
2699
2797
  declare const dataSources_waitForMove: typeof waitForMove;
2700
2798
  declare namespace dataSources {
2701
- export { type dataSources_AddDocumentParams as AddDocumentParams, type dataSources_AddDocumentResult as AddDocumentResult, type dataSources_ConfigSetParams as ConfigSetParams, type dataSources_CreateParams as CreateParams, DEFAULT_WAIT_TIMEOUT_MS$3 as DEFAULT_WAIT_TIMEOUT_MS, dataSources_DOCUMENTS_IDS_MAX as DOCUMENTS_IDS_MAX, type dataSources_DocumentsParams as DocumentsParams, type dataSources_DropParams as DropParams, type dataSources_MoveParams as MoveParams, type dataSources_PromoteParams as PromoteParams, type dataSources_RevectorizeParams as RevectorizeParams, type dataSources_RmParams as RmParams, type dataSources_RmWhereParams as RmWhereParams, type dataSources_SearchParams as SearchParams, type dataSources_SummarizedDocument as SummarizedDocument, type dataSources_WaitForCandidateParams as WaitForCandidateParams, type dataSources_WaitForCandidateResult as WaitForCandidateResult, type dataSources_WaitForIngestParams as WaitForIngestParams, type dataSources_WaitForIngestResult as WaitForIngestResult, type dataSources_WaitForMoveParams as WaitForMoveParams, type dataSources_WaitForMoveResult as WaitForMoveResult, dataSources_addDocument as addDocument, dataSources_allDocuments as allDocuments, dataSources_configGet as configGet, dataSources_configSet as configSet, create$1 as create, dataSources_deleteSource as deleteSource, dataSources_documents as documents, dataSources_drop as drop, list$8 as list, dataSources_move as move, dataSources_promote as promote, dataSources_revectorize as revectorize, dataSources_rm as rm, dataSources_rmWhere as rmWhere, dataSources_rmWhereAll as rmWhereAll, dataSources_search as search, dataSources_summarize as summarize, dataSources_waitForCandidate as waitForCandidate, dataSources_waitForIngest as waitForIngest, dataSources_waitForMove as waitForMove };
2799
+ export { type dataSources_AddDocumentParams as AddDocumentParams, type dataSources_AddDocumentResult as AddDocumentResult, type dataSources_ConfigSetParams as ConfigSetParams, type dataSources_CreateParams as CreateParams, DEFAULT_WAIT_TIMEOUT_MS$3 as DEFAULT_WAIT_TIMEOUT_MS, dataSources_DOCUMENTS_IDS_MAX as DOCUMENTS_IDS_MAX, type dataSources_DocumentsParams as DocumentsParams, type dataSources_DropParams as DropParams, dataSources_FAILURES_PAGE as FAILURES_PAGE, type dataSources_MoveParams as MoveParams, type dataSources_PromoteParams as PromoteParams, type dataSources_RevectorizeParams as RevectorizeParams, type dataSources_RmParams as RmParams, type dataSources_RmWhereParams as RmWhereParams, type dataSources_SearchParams as SearchParams, type dataSources_SummarizedDocument as SummarizedDocument, type dataSources_WaitForCandidateParams as WaitForCandidateParams, type dataSources_WaitForCandidateResult as WaitForCandidateResult, type dataSources_WaitForIngestParams as WaitForIngestParams, type dataSources_WaitForIngestResult as WaitForIngestResult, type dataSources_WaitForMoveParams as WaitForMoveParams, type dataSources_WaitForMoveResult as WaitForMoveResult, dataSources_addDocument as addDocument, dataSources_allDocuments as allDocuments, dataSources_configGet as configGet, dataSources_configSet as configSet, create$1 as create, dataSources_deleteSource as deleteSource, dataSources_documents as documents, dataSources_drop as drop, list$8 as list, dataSources_move as move, dataSources_promote as promote, dataSources_revectorize as revectorize, dataSources_rm as rm, dataSources_rmWhere as rmWhere, dataSources_rmWhereAll as rmWhereAll, dataSources_search as search, dataSources_summarize as summarize, dataSources_waitForCandidate as waitForCandidate, dataSources_waitForIngest as waitForIngest, dataSources_waitForMove as waitForMove };
2702
2800
  }
2703
2801
 
2704
2802
  /**
@@ -2794,7 +2892,7 @@ declare function resume$1(ctx: AdminContext, params: JobIdParams & {
2794
2892
  declare function cancel(ctx: AdminContext, params: JobIdParams): Promise<DataSourceJobResult>;
2795
2893
  interface WaitParams$1 {
2796
2894
  id: string;
2797
- /** Default one hour. */
2895
+ /** How long without movement before giving up. Default one hour. */
2798
2896
  timeoutMs?: number;
2799
2897
  onProgress?: (message: string) => void;
2800
2898
  }
@@ -2830,7 +2928,11 @@ declare function waitForPlan(ctx: AdminContext, params: WaitParams$1): Promise<W
2830
2928
  * with the pause reason, since nothing more will happen without them.
2831
2929
  */
2832
2930
  declare function waitForJob(ctx: AdminContext, params: WaitParams$1): Promise<WaitResult>;
2833
- /** One line of progress in the job's own terms. */
2931
+ /**
2932
+ * One line of progress in the job's own terms: the platform's phase, count,
2933
+ * rate and ETA, with the spend so far beside them. A planning walk that has
2934
+ * finished listing says so, since its count has stopped moving on purpose.
2935
+ */
2834
2936
  declare function describeProgress(job: DataSourceJob, start: number): string;
2835
2937
 
2836
2938
  type dataSourceJobs_JobIdParams = JobIdParams;
@@ -2970,7 +3072,9 @@ declare function reindex(ctx: AdminContext, params: {
2970
3072
  }): Promise<DataSourcesHydrateResult>;
2971
3073
  interface WaitForHydrationParams {
2972
3074
  slug: string;
3075
+ /** How long without movement before giving up. Defaults to DEFAULT_WAIT_TIMEOUT_MS (30 min). */
2973
3076
  timeoutMs?: number;
3077
+ /** Receives `copying… X/Y documents · N/min · about M min left (Ns)`. */
2974
3078
  onProgress?: (message: string) => void;
2975
3079
  }
2976
3080
  type WaitForHydrationResult = {
@@ -4496,32 +4600,42 @@ declare namespace files {
4496
4600
  * src/common/Provisioning/types.ts
4497
4601
  * src/common/Provisioning/offerings/define.ts
4498
4602
  */
4603
+
4499
4604
  /** Where a resource is in its lifecycle. Written only by the platform. */
4500
4605
  type InfraPhase = 'requested' | 'provisioning' | 'active' | 'hibernating' | 'hibernated' | 'resuming' | 'decommissioning' | 'destroyed' | 'failed';
4501
4606
  /** What the owner asked for. Written only by the owner's actions. */
4502
4607
  type InfraDesiredState = 'active' | 'hibernated' | 'destroyed';
4503
4608
  /**
4504
- * What the platform last saw of an active resource's instance. `restoring` is
4505
- * an instance that came back empty and is being refilled from its snapshot;
4506
- * searches return `capacity_restoring` until it is `ready`.
4609
+ * What the platform last saw of an active resource's instance. `rebuilding`
4610
+ * is a serving instance onto which one or more placed sources are being copied
4611
+ * back from durable storage (a new pod found their index empty); searches on
4612
+ * those sources answer `index_warming` with the copy's progress until it lands.
4507
4613
  */
4508
- type InfraHealth = 'ready' | 'not-ready' | 'missing' | 'restoring';
4614
+ type InfraHealth = 'ready' | 'not-ready' | 'missing' | 'rebuilding';
4509
4615
  /** A leasable product from the platform catalog. Prices are cogs + margin. */
4510
4616
  interface InfraOffering {
4511
4617
  id: string;
4512
4618
  kind: 'retrieval';
4513
4619
  /** User-facing size, e.g. "Small". */
4514
4620
  label: string;
4515
- /** User-facing capacity, e.g. "Up to ~1M chunks". */
4621
+ /** User-facing capacity, e.g. "Up to ~34M chunks at 2560 dimensions (~48M at 1024, ~26M at 4096)". */
4516
4622
  description: string;
4517
4623
  hourlyPriceDollars: number;
4518
4624
  /** Hourly × 730. */
4519
4625
  monthlyPriceDollars: number;
4520
- /** Retained-storage rate while hibernated. */
4626
+ /** Zero: a hibernated resource holds nothing; its sources' documents stay in the platform's own store. */
4521
4627
  hibernatedHourlyPriceDollars: number;
4522
4628
  hibernatedMonthlyPriceDollars: number;
4629
+ /**
4630
+ * What the size holds: its disk and RAM, and the chunks that comes to at
4631
+ * each embedding dimension on offer, keyed by dimension ("2560"). A chunk
4632
+ * embedded at 2560 dimensions takes two and a half times a 1024-dimension
4633
+ * one, so a resource's room depends on what is placed on it.
4634
+ */
4523
4635
  capacity: {
4524
- maxPoints: number;
4636
+ diskGiB: number;
4637
+ memoryGiB: number;
4638
+ chunksByDimensions: Record<string, number>;
4525
4639
  };
4526
4640
  capabilities: {
4527
4641
  hibernate: boolean;
@@ -4544,17 +4658,46 @@ interface InfraResource {
4544
4658
  health: InfraHealth | null;
4545
4659
  /**
4546
4660
  * What the instance is doing right now, while a transition is under way
4547
- * ("Waiting for capacity", "Snapshotting collection 1/2"); null when nothing is.
4661
+ * ("Waiting for capacity", "Starting Qdrant", "Scaling down"); null when nothing is.
4548
4662
  */
4549
4663
  detail: string | null;
4664
+ /**
4665
+ * The same in the one progress shape, with numbers where there are any: a
4666
+ * rebuild of the sources placed here (documents, rate, ETA), an index build
4667
+ * the optimizer is behind on (vectors), or a transition's step. Null when the
4668
+ * resource is simply serving.
4669
+ */
4670
+ progress: OperationProgress | null;
4671
+ /**
4672
+ * What the sources placed here take on the instance: estimated from their
4673
+ * chunk counts at their dimensions, and measured from the instance itself
4674
+ * while it is up (null until it has reported), against what the size can
4675
+ * hold. Null when the offering is unknown.
4676
+ */
4677
+ footprint: {
4678
+ chunks: number;
4679
+ estimatedDiskBytes: number;
4680
+ measuredDiskBytes: number | null;
4681
+ measuredRamBytes: number | null;
4682
+ measuredAt: string | null;
4683
+ usableDiskBytes: number;
4684
+ } | null;
4550
4685
  /**
4551
4686
  * The size this resource is being resized to, while a resize is under way;
4552
4687
  * null otherwise. A resize passes through `hibernated` and back to the phase
4553
4688
  * it started from.
4554
4689
  */
4555
4690
  resizingTo: InfraOffering | null;
4556
- /** When the last verified snapshot was taken; null if never. */
4557
- lastSnapshotAt: string | null;
4691
+ /**
4692
+ * What this resource has actually been charged, from the ledger's own
4693
+ * writes, with the hours at each rate beside it. Rates are on `offering`.
4694
+ */
4695
+ billing: {
4696
+ activeHours: number;
4697
+ hibernatedHours: number;
4698
+ billedDollars: number;
4699
+ lastBilledAt: string | null;
4700
+ };
4558
4701
  activatedAt: string | null;
4559
4702
  hibernatedAt: string | null;
4560
4703
  destroyedAt: string | null;
@@ -4571,6 +4714,24 @@ interface InfraEvent {
4571
4714
  reason: string | null;
4572
4715
  createdAt: string;
4573
4716
  }
4717
+ /**
4718
+ * One line of the platform's narration of a resource: a step reported while
4719
+ * a transition ran ("Waiting for capacity", "Starting Qdrant"), a rebuild it
4720
+ * started ("Instance replaced; checking each placed source's index on it"), a
4721
+ * failed attempt, or a failure with what Kubernetes said about the pod at the
4722
+ * time (`data`). Not the instance's own stdout.
4723
+ */
4724
+ interface InfraLogLine {
4725
+ id: string;
4726
+ phase: InfraPhase;
4727
+ level: 'info' | 'warn' | 'error';
4728
+ message: string;
4729
+ data: {
4730
+ podEvents: string[];
4731
+ logTail: string[];
4732
+ } | null;
4733
+ createdAt: string;
4734
+ }
4574
4735
  /** GET /infra */
4575
4736
  interface InfraListResult {
4576
4737
  resources: InfraResource[];
@@ -4582,12 +4743,19 @@ interface InfraListResult {
4582
4743
  interface InfraGetResult {
4583
4744
  resource: InfraResource;
4584
4745
  events: InfraEvent[];
4746
+ /** The newest 200 narration lines, oldest first; `logs()` pages further. */
4747
+ logs: InfraLogLine[];
4585
4748
  attachedSources: {
4586
4749
  id: string;
4587
4750
  slug: string;
4588
4751
  name: string | null;
4589
4752
  }[];
4590
4753
  }
4754
+ /** GET /infra/:id/logs */
4755
+ interface InfraLogsResult {
4756
+ /** Oldest first. */
4757
+ logs: InfraLogLine[];
4758
+ }
4591
4759
  /** POST /infra, /infra/:id/{hibernate,resume,destroy,rename,resize} */
4592
4760
  interface InfraResourceResult {
4593
4761
  resource: InfraResource;
@@ -4625,6 +4793,23 @@ interface GetParams {
4625
4793
  * @throws AdminApiError `resource_not_found` (404).
4626
4794
  */
4627
4795
  declare function get$4(ctx: AdminContext, params: GetParams): Promise<InfraGetResult>;
4796
+ interface LogsParams {
4797
+ /** Resource id. */
4798
+ id: string;
4799
+ /** Continue after this line id (the last line of a previous page). */
4800
+ after?: string;
4801
+ /** Lines per page; without `after`, the newest this many. Max 500. */
4802
+ limit?: number;
4803
+ }
4804
+ /**
4805
+ * The platform's narration of a resource, oldest first: the steps a
4806
+ * transition went through, failed attempts, and failures with the pod's
4807
+ * events and a warnings-and-errors tail of the instance log. Not the
4808
+ * instance's own stdout.
4809
+ *
4810
+ * @throws AdminApiError `resource_not_found` (404).
4811
+ */
4812
+ declare function logs(ctx: AdminContext, params: LogsParams): Promise<InfraLogsResult>;
4628
4813
  interface ProvisionParams {
4629
4814
  /** Offering id from `list().offerings`, e.g. `retrieval.small`. */
4630
4815
  offeringId: string;
@@ -4679,16 +4864,17 @@ interface ResizeParams {
4679
4864
  offeringId: string;
4680
4865
  }
4681
4866
  /**
4682
- * Change a resource's size, keeping its data.
4867
+ * Change a resource's size, keeping its documents.
4683
4868
  *
4684
- * The platform parks the resource (a fresh snapshot), swaps its spec, and
4685
- * brings it back up restored from that snapshot, so a resize passes through
4686
- * `hibernated` and searches on its sources pause for the few minutes it
4687
- * takes. A resource that is already hibernated swaps in place and stays
4688
- * parked. Growing is gated on a month of credits at the new rate like a
4689
- * provision; shrinking is refused below what the resource holds. The response
4690
- * carries `resizingTo` until the swap has happened; `waitForPhase` with
4691
- * `until: (r) => r.resizingTo === null` blocks on the whole thing.
4869
+ * The platform parks the resource, swaps its spec, and brings it back up with
4870
+ * its sources' indexes rebuilt from durable storage in the background, so a
4871
+ * resize passes through `hibernated` and searches on those sources answer
4872
+ * `index_warming` with the rebuild's progress until it lands. A resource that
4873
+ * is already hibernated swaps in place and stays parked. Growing is gated on a
4874
+ * month of credits at the new rate like a provision; shrinking is refused
4875
+ * below what the resource holds. The response carries `resizingTo` until the
4876
+ * swap has happened; `waitForPhase` with `until: (r) => r.resizingTo === null`
4877
+ * blocks on the whole thing.
4692
4878
  *
4693
4879
  * @throws AdminApiError `resource_not_found` (404), `offering_not_found`
4694
4880
  * (400), `offering_retired` (422), `same_offering` (400),
@@ -4713,7 +4899,7 @@ interface WaitForPhaseParams {
4713
4899
  * phase it started from and is done only once `resizingTo` has cleared.
4714
4900
  */
4715
4901
  until?: (resource: InfraResource) => boolean;
4716
- /** Default 10 minutes. */
4902
+ /** How long without movement before giving up. Default 10 minutes. */
4717
4903
  timeoutMs?: number;
4718
4904
  onProgress?: (message: string) => void;
4719
4905
  }
@@ -4741,6 +4927,7 @@ declare function waitForPhase(ctx: AdminContext, params: WaitForPhaseParams): Pr
4741
4927
  declare const infra_DEFAULT_WAIT_TIMEOUT_MS: typeof DEFAULT_WAIT_TIMEOUT_MS;
4742
4928
  type infra_GetParams = GetParams;
4743
4929
  type infra_ListParams = ListParams;
4930
+ type infra_LogsParams = LogsParams;
4744
4931
  type infra_ProvisionParams = ProvisionParams;
4745
4932
  type infra_RenameParams = RenameParams;
4746
4933
  type infra_ResizeParams = ResizeParams;
@@ -4749,13 +4936,14 @@ type infra_WaitForPhaseParams = WaitForPhaseParams;
4749
4936
  type infra_WaitForPhaseResult = WaitForPhaseResult;
4750
4937
  declare const infra_destroy: typeof destroy;
4751
4938
  declare const infra_hibernate: typeof hibernate;
4939
+ declare const infra_logs: typeof logs;
4752
4940
  declare const infra_provision: typeof provision;
4753
4941
  declare const infra_rename: typeof rename;
4754
4942
  declare const infra_resize: typeof resize;
4755
4943
  declare const infra_resume: typeof resume;
4756
4944
  declare const infra_waitForPhase: typeof waitForPhase;
4757
4945
  declare namespace infra {
4758
- export { infra_DEFAULT_WAIT_TIMEOUT_MS as DEFAULT_WAIT_TIMEOUT_MS, type infra_GetParams as GetParams, type infra_ListParams as ListParams, type infra_ProvisionParams as ProvisionParams, type infra_RenameParams as RenameParams, type infra_ResizeParams as ResizeParams, type infra_ResourceIdParams as ResourceIdParams, type infra_WaitForPhaseParams as WaitForPhaseParams, type infra_WaitForPhaseResult as WaitForPhaseResult, infra_destroy as destroy, get$4 as get, infra_hibernate as hibernate, list$6 as list, infra_provision as provision, infra_rename as rename, infra_resize as resize, infra_resume as resume, infra_waitForPhase as waitForPhase };
4946
+ export { infra_DEFAULT_WAIT_TIMEOUT_MS as DEFAULT_WAIT_TIMEOUT_MS, type infra_GetParams as GetParams, type infra_ListParams as ListParams, type infra_LogsParams as LogsParams, type infra_ProvisionParams as ProvisionParams, type infra_RenameParams as RenameParams, type infra_ResizeParams as ResizeParams, type infra_ResourceIdParams as ResourceIdParams, type infra_WaitForPhaseParams as WaitForPhaseParams, type infra_WaitForPhaseResult as WaitForPhaseResult, infra_destroy as destroy, get$4 as get, infra_hibernate as hibernate, list$6 as list, infra_logs as logs, infra_provision as provision, infra_rename as rename, infra_resize as resize, infra_resume as resume, infra_waitForPhase as waitForPhase };
4759
4947
  }
4760
4948
 
4761
4949
  /**
@@ -7288,4 +7476,4 @@ declare class AdminTimeoutError extends Error {
7288
7476
 
7289
7477
  declare const admin: AdminClient;
7290
7478
 
7291
- 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 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 IssueKind, 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 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 };
7479
+ 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 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 IssueKind, 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 };