@madewithremy/admin 0.1.30 → 0.1.31
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 +351 -13
- package/dist/index.js +92 -3
- package/dist/index.js.map +1 -1
- package/dist/prod.js +566 -77
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1295,7 +1295,8 @@ interface OperationProgress {
|
|
|
1295
1295
|
* bucket the source is connected to (`datasources sync`); `remap` runs the
|
|
1296
1296
|
* live mapper over the source's own raw copies (`datasources remap`); `replay`
|
|
1297
1297
|
* runs an earlier job's quarantined objects through the current mapper
|
|
1298
|
-
* (`datasources jobs replay`)
|
|
1298
|
+
* (`datasources jobs replay`); `reread` reads the source's built documents
|
|
1299
|
+
* again with its live reader (`datasources reread`).
|
|
1299
1300
|
*/
|
|
1300
1301
|
type DataSourceJobSource = {
|
|
1301
1302
|
type: 'store';
|
|
@@ -1321,6 +1322,12 @@ type DataSourceJobSource = {
|
|
|
1321
1322
|
type: 'replay';
|
|
1322
1323
|
fromJobId: string;
|
|
1323
1324
|
kind: 'skip' | 'error' | null;
|
|
1325
|
+
} | {
|
|
1326
|
+
type: 'reread';
|
|
1327
|
+
/** Only the documents the reader has not read. */
|
|
1328
|
+
unread: boolean;
|
|
1329
|
+
/** Only documents matching this metadata filter. */
|
|
1330
|
+
filter: Record<string, unknown> | null;
|
|
1324
1331
|
};
|
|
1325
1332
|
/**
|
|
1326
1333
|
* planning → planned → running ⇄ paused → done | failed | cancelled.
|
|
@@ -1357,6 +1364,28 @@ interface DataSourceJobPlan {
|
|
|
1357
1364
|
errorShare: number;
|
|
1358
1365
|
deleteShare: number;
|
|
1359
1366
|
secondsPerObject: number;
|
|
1367
|
+
/** What the mapper's own model and step calls billed per sampled object. */
|
|
1368
|
+
creditsPerObject?: number;
|
|
1369
|
+
/** What the sample's mapper calls billed, spent before the run began. */
|
|
1370
|
+
sampleCredits?: number;
|
|
1371
|
+
} | null;
|
|
1372
|
+
/**
|
|
1373
|
+
* Sources with a live reader: what reading costs. `history` prices it from
|
|
1374
|
+
* what the live reader has done (a hundred documents or more); `slice`
|
|
1375
|
+
* from a reread's first slice, read for real before the plan (its reads
|
|
1376
|
+
* are done, and the run leaves them out); null when unmeasured, and the
|
|
1377
|
+
* budget alone bounds the reader. The failure share is the baseline the
|
|
1378
|
+
* run's reader gate pauses against.
|
|
1379
|
+
*/
|
|
1380
|
+
reading?: {
|
|
1381
|
+
measured: 'history' | 'slice' | null;
|
|
1382
|
+
creditsPerDocument: number | null;
|
|
1383
|
+
sampleCredits?: number;
|
|
1384
|
+
sampleDocuments?: number;
|
|
1385
|
+
sampleRead?: number;
|
|
1386
|
+
/** How much the live database grew per document the slice read. */
|
|
1387
|
+
bytesPerDocument?: number | null;
|
|
1388
|
+
baselineFailureShare?: number;
|
|
1360
1389
|
} | null;
|
|
1361
1390
|
projected: {
|
|
1362
1391
|
documents: number;
|
|
@@ -1368,8 +1397,14 @@ interface DataSourceJobPlan {
|
|
|
1368
1397
|
embedding: number;
|
|
1369
1398
|
extraction: number;
|
|
1370
1399
|
contextual: number;
|
|
1400
|
+
/** Mapped sources: the mapper's own calls over every object, the sample's included. */
|
|
1401
|
+
mapping?: number;
|
|
1402
|
+
/** Reader sources: the reader's own calls over every document, a slice's included. */
|
|
1403
|
+
reading?: number;
|
|
1371
1404
|
total: number;
|
|
1372
1405
|
};
|
|
1406
|
+
/** A reread: the live database's size once every document is read. */
|
|
1407
|
+
databaseBytes?: number | null;
|
|
1373
1408
|
};
|
|
1374
1409
|
capacity: {
|
|
1375
1410
|
placement: 'shared' | 'dedicated';
|
|
@@ -1416,13 +1451,14 @@ interface DataSourceJob {
|
|
|
1416
1451
|
pipelineId: string;
|
|
1417
1452
|
source: DataSourceJobSource;
|
|
1418
1453
|
/**
|
|
1419
|
-
* Objects the mapper skipped or failed on
|
|
1420
|
-
*
|
|
1454
|
+
* Objects the mapper skipped or failed on, and documents the reader failed
|
|
1455
|
+
* on. Counted on `jobs status`; null on the list.
|
|
1421
1456
|
*/
|
|
1422
1457
|
quarantine: {
|
|
1423
1458
|
skipped: number;
|
|
1424
1459
|
errors: number;
|
|
1425
|
-
|
|
1460
|
+
readErrors: number;
|
|
1461
|
+
} | null;
|
|
1426
1462
|
state: DataSourceJobState;
|
|
1427
1463
|
autoApprove: boolean;
|
|
1428
1464
|
plan: DataSourceJobPlan | null;
|
|
@@ -1446,9 +1482,24 @@ interface DataSourceJob {
|
|
|
1446
1482
|
embedTokens: number;
|
|
1447
1483
|
extractionPages: number;
|
|
1448
1484
|
};
|
|
1449
|
-
/**
|
|
1485
|
+
/**
|
|
1486
|
+
* Spend so far: embedding, extraction and contextual at catalog rates, plus
|
|
1487
|
+
* what the mapper's own calls billed. An estimate, not the ledger. The
|
|
1488
|
+
* budget pauses the job on it.
|
|
1489
|
+
*/
|
|
1450
1490
|
estimatedCredits: number;
|
|
1451
1491
|
estimatedDollars: number;
|
|
1492
|
+
/**
|
|
1493
|
+
* What frames billed for their own calls: the mapper's and the reader's,
|
|
1494
|
+
* the plan's sample included.
|
|
1495
|
+
*/
|
|
1496
|
+
mapperCredits?: number;
|
|
1497
|
+
mapperDollars?: number;
|
|
1498
|
+
/** A running job's read stage on a reader source: documents read of those cut. */
|
|
1499
|
+
reading?: {
|
|
1500
|
+
documentsRead: number;
|
|
1501
|
+
documentsTotal: number;
|
|
1502
|
+
} | null;
|
|
1452
1503
|
/** Recent per-document failures, newest first, at most twenty. */
|
|
1453
1504
|
samples: {
|
|
1454
1505
|
ref: string;
|
|
@@ -1458,9 +1509,10 @@ interface DataSourceJob {
|
|
|
1458
1509
|
error: string | null;
|
|
1459
1510
|
/**
|
|
1460
1511
|
* Why a running job stopped: the owner, the budget, repeated batch
|
|
1461
|
-
* failures,
|
|
1512
|
+
* failures, (mapped sources) a skip share far above the plan's, or (reader
|
|
1513
|
+
* sources) a reader failing on far more documents than it did at first.
|
|
1462
1514
|
*/
|
|
1463
|
-
pauseReason: 'user' | 'budget' | 'errors' | 'skips' | null;
|
|
1515
|
+
pauseReason: 'user' | 'budget' | 'errors' | 'skips' | 'reader' | null;
|
|
1464
1516
|
stalled: boolean;
|
|
1465
1517
|
/** Times a pause for errors resumed itself on its own schedule. */
|
|
1466
1518
|
autoResumes: number;
|
|
@@ -1936,12 +1988,16 @@ interface DataSourceRemapResult {
|
|
|
1936
1988
|
slug: string;
|
|
1937
1989
|
};
|
|
1938
1990
|
}
|
|
1939
|
-
/**
|
|
1991
|
+
/**
|
|
1992
|
+
* One object a job's mapper did not turn into documents (`stage: 'map'`), or
|
|
1993
|
+
* one document its reader failed on (`stage: 'read'`).
|
|
1994
|
+
*/
|
|
1940
1995
|
interface DataSourceQuarantinedObject {
|
|
1941
1996
|
id: string;
|
|
1942
|
-
/** The key or URL the object was known by. */
|
|
1997
|
+
/** The key or URL the object was known by; a document id for a read. */
|
|
1943
1998
|
ref: string;
|
|
1944
1999
|
kind: 'skip' | 'error';
|
|
2000
|
+
stage: 'map' | 'read';
|
|
1945
2001
|
reason: string;
|
|
1946
2002
|
/** False when the object's raw copy never landed — a replay cannot reach it. */
|
|
1947
2003
|
replayable: boolean;
|
|
@@ -1960,10 +2016,12 @@ interface DataSourceQuarantineResult {
|
|
|
1960
2016
|
counts: {
|
|
1961
2017
|
skipped: number;
|
|
1962
2018
|
errors: number;
|
|
2019
|
+
readErrors: number;
|
|
1963
2020
|
};
|
|
1964
2021
|
/** Reasons by frequency, most common first. */
|
|
1965
2022
|
reasons: {
|
|
1966
2023
|
kind: 'skip' | 'error';
|
|
2024
|
+
stage: 'map' | 'read';
|
|
1967
2025
|
reason: string;
|
|
1968
2026
|
count: number;
|
|
1969
2027
|
}[];
|
|
@@ -1971,6 +2029,104 @@ interface DataSourceQuarantineResult {
|
|
|
1971
2029
|
nextCursor: string | null;
|
|
1972
2030
|
}
|
|
1973
2031
|
|
|
2032
|
+
/**
|
|
2033
|
+
* Response types for data-source readers.
|
|
2034
|
+
*
|
|
2035
|
+
* Transcribed from youai-api:
|
|
2036
|
+
* src/roles/http/routes/Apps/manage/dataSources/readers.ts
|
|
2037
|
+
* src/customerApps/AppDataSources/reading.ts (liveReaderView)
|
|
2038
|
+
* src/customerApps/AppDataSources/dao/DeliveriesDao.ts (summary)
|
|
2039
|
+
*/
|
|
2040
|
+
|
|
2041
|
+
/** The reader the live release declares for a source. */
|
|
2042
|
+
interface DataSourceReader {
|
|
2043
|
+
/** The reader file, from mindstudio.json. */
|
|
2044
|
+
path: string;
|
|
2045
|
+
export: string;
|
|
2046
|
+
/** Per delivery. */
|
|
2047
|
+
timeoutMs: number;
|
|
2048
|
+
/** Frames in flight for the source at once, across every carrier. */
|
|
2049
|
+
concurrency: number;
|
|
2050
|
+
releaseId: string;
|
|
2051
|
+
branch: string | null;
|
|
2052
|
+
commitSha: string;
|
|
2053
|
+
}
|
|
2054
|
+
/**
|
|
2055
|
+
* Where a source's standalone deliveries stand: what `add()`, `remove()`
|
|
2056
|
+
* and source deletion queued outside any job. Retrying ones back off 1, 5,
|
|
2057
|
+
* 15, 60 and 240 minutes; after that they park until `reader retry`.
|
|
2058
|
+
*/
|
|
2059
|
+
interface DataSourceReaderDeliveries {
|
|
2060
|
+
pending: number;
|
|
2061
|
+
inFlight: number;
|
|
2062
|
+
retrying: number;
|
|
2063
|
+
parked: number;
|
|
2064
|
+
/** The newest failures, the document null for a `cleared`. */
|
|
2065
|
+
recentErrors: {
|
|
2066
|
+
documentId: string | null;
|
|
2067
|
+
error: string;
|
|
2068
|
+
at: string;
|
|
2069
|
+
}[];
|
|
2070
|
+
}
|
|
2071
|
+
/** POST /datasources/reader/status */
|
|
2072
|
+
interface DataSourceReaderStatusResult {
|
|
2073
|
+
/** Null when the live release declares no reader for the source. */
|
|
2074
|
+
reader: DataSourceReader | null;
|
|
2075
|
+
deliveries: DataSourceReaderDeliveries;
|
|
2076
|
+
/** Live documents the reader has not read (`reread --unread` reads them). */
|
|
2077
|
+
documents: {
|
|
2078
|
+
unread: number;
|
|
2079
|
+
};
|
|
2080
|
+
/**
|
|
2081
|
+
* What the live reader has done, since its bundle last changed: what a
|
|
2082
|
+
* plan prices reading from once it has read a hundred documents.
|
|
2083
|
+
*/
|
|
2084
|
+
measured: {
|
|
2085
|
+
documents: number;
|
|
2086
|
+
failures: number;
|
|
2087
|
+
credits: number;
|
|
2088
|
+
creditsPerDocument: number | null;
|
|
2089
|
+
since: string;
|
|
2090
|
+
} | null;
|
|
2091
|
+
/** The live release's databases, in bytes; null when unknown. */
|
|
2092
|
+
database: {
|
|
2093
|
+
bytes: number | null;
|
|
2094
|
+
};
|
|
2095
|
+
}
|
|
2096
|
+
/** POST /datasources/reader/retry */
|
|
2097
|
+
interface DataSourceReaderRetryResult {
|
|
2098
|
+
/** Deliveries queued again. */
|
|
2099
|
+
retried: number;
|
|
2100
|
+
}
|
|
2101
|
+
/** One document's outcome in a reader test. */
|
|
2102
|
+
interface DataSourceReaderTestDocument {
|
|
2103
|
+
documentId: string;
|
|
2104
|
+
/**
|
|
2105
|
+
* `delivered`: the reader ran (a read, or a removal for a document removed
|
|
2106
|
+
* meanwhile); `failed`: it threw or timed out; `skipped`: nothing to read
|
|
2107
|
+
* (not built on the active version); `busy`: no slot on the source came
|
|
2108
|
+
* free in time.
|
|
2109
|
+
*/
|
|
2110
|
+
status: 'delivered' | 'failed' | 'skipped' | 'busy';
|
|
2111
|
+
kind?: 'read' | 'removed';
|
|
2112
|
+
error?: string;
|
|
2113
|
+
}
|
|
2114
|
+
/** POST /datasources/reader/test */
|
|
2115
|
+
interface DataSourceReaderTestResult {
|
|
2116
|
+
dev: true;
|
|
2117
|
+
documents: DataSourceReaderTestDocument[];
|
|
2118
|
+
failed: number;
|
|
2119
|
+
durationMs: number;
|
|
2120
|
+
}
|
|
2121
|
+
/** POST /datasources/reread */
|
|
2122
|
+
interface DataSourceRereadResult {
|
|
2123
|
+
job: DataSourceJob;
|
|
2124
|
+
dataSource: {
|
|
2125
|
+
id: string;
|
|
2126
|
+
slug: string;
|
|
2127
|
+
};
|
|
2128
|
+
}
|
|
2129
|
+
|
|
1974
2130
|
/**
|
|
1975
2131
|
* Response types for the data-sources management API.
|
|
1976
2132
|
*
|
|
@@ -2112,6 +2268,8 @@ interface DataSourcesDocument {
|
|
|
2112
2268
|
sourceKey: string;
|
|
2113
2269
|
/** App-supplied scalar metadata set at add time; filterable at search time. */
|
|
2114
2270
|
metadata: Record<string, string | number | boolean> | null;
|
|
2271
|
+
/** Entities the document asserts, sorted; null when never set. */
|
|
2272
|
+
entities: string[] | null;
|
|
2115
2273
|
createdAt: string;
|
|
2116
2274
|
updatedAt: string;
|
|
2117
2275
|
}
|
|
@@ -2129,6 +2287,7 @@ interface DataSourcesDocumentStatus {
|
|
|
2129
2287
|
chunkCount: number | null;
|
|
2130
2288
|
pageCount: number | null;
|
|
2131
2289
|
metadata: Record<string, string | number | boolean> | null;
|
|
2290
|
+
entities: string[] | null;
|
|
2132
2291
|
ingestedAt: string | null;
|
|
2133
2292
|
}
|
|
2134
2293
|
/**
|
|
@@ -2231,6 +2390,64 @@ interface DataSourcesMigration {
|
|
|
2231
2390
|
/** The copy in the one progress shape, with the platform's measured rate and ETA. */
|
|
2232
2391
|
progress: OperationProgress;
|
|
2233
2392
|
}
|
|
2393
|
+
/** A source's committed dictionary: what a push reports, and what the source reads back. */
|
|
2394
|
+
interface DataSourcesDictionaryReport {
|
|
2395
|
+
version: number;
|
|
2396
|
+
/** The matching rule its names were keyed under, carried from push to push. */
|
|
2397
|
+
linkerVersion: number;
|
|
2398
|
+
entries: number;
|
|
2399
|
+
names: number;
|
|
2400
|
+
/** Names more than one id claims: each tags every claimant. */
|
|
2401
|
+
ambiguousNames: number;
|
|
2402
|
+
/** The names (as matched: folded, separators dropped) the most ids claim. */
|
|
2403
|
+
mostClaimed: {
|
|
2404
|
+
key: string;
|
|
2405
|
+
ids: number;
|
|
2406
|
+
}[];
|
|
2407
|
+
/** Names that can't match their own text as written, with a few of them. */
|
|
2408
|
+
unmatchable: {
|
|
2409
|
+
count: number;
|
|
2410
|
+
examples: string[];
|
|
2411
|
+
};
|
|
2412
|
+
committedAt: string;
|
|
2413
|
+
}
|
|
2414
|
+
/** POST /datasources/dictionary/commit. */
|
|
2415
|
+
interface DataSourcesDictionaryPushResult extends DataSourcesDictionaryReport {
|
|
2416
|
+
/** The push equalled the committed dictionary: no new version, no relink. */
|
|
2417
|
+
unchanged: boolean;
|
|
2418
|
+
}
|
|
2419
|
+
/**
|
|
2420
|
+
* A relink in flight: a version's passages re-tagged against the source's
|
|
2421
|
+
* newer dictionary, a lap at a time. A commit mid-lap marks the lap to run
|
|
2422
|
+
* once more, which writes little.
|
|
2423
|
+
*/
|
|
2424
|
+
interface DataSourcesRelink {
|
|
2425
|
+
version: number;
|
|
2426
|
+
lap: number;
|
|
2427
|
+
walked: number;
|
|
2428
|
+
total: number;
|
|
2429
|
+
rewritten: number;
|
|
2430
|
+
startedAt: string;
|
|
2431
|
+
/** Why the lap is holding (the source's dedicated capacity is off). */
|
|
2432
|
+
waiting: string | null;
|
|
2433
|
+
error: string | null;
|
|
2434
|
+
progress: OperationProgress;
|
|
2435
|
+
}
|
|
2436
|
+
/** POST /datasources/dictionary. */
|
|
2437
|
+
interface DataSourcesDictionaryStatus {
|
|
2438
|
+
dictionary: DataSourcesDictionaryReport | null;
|
|
2439
|
+
relink: DataSourcesRelink | null;
|
|
2440
|
+
candidateRelink: DataSourcesRelink | null;
|
|
2441
|
+
}
|
|
2442
|
+
/** POST /datasources/link. */
|
|
2443
|
+
interface DataSourcesLinkResult {
|
|
2444
|
+
/** The dictionary version that linked, or null when the source has none. */
|
|
2445
|
+
version: number | null;
|
|
2446
|
+
mentions: {
|
|
2447
|
+
ids: string[];
|
|
2448
|
+
text: string;
|
|
2449
|
+
}[];
|
|
2450
|
+
}
|
|
2234
2451
|
/** One data source in the GET /datasources listing. */
|
|
2235
2452
|
interface DataSourcesListEntry {
|
|
2236
2453
|
id: string;
|
|
@@ -2262,6 +2479,10 @@ interface DataSourcesListEntry {
|
|
|
2262
2479
|
connector: DataSourceConnector | null;
|
|
2263
2480
|
/** An index reload in flight after an eviction, or its last failure. */
|
|
2264
2481
|
hydration: DataSourcesHydration | null;
|
|
2482
|
+
/** The source's current dictionary, or null when none was pushed. */
|
|
2483
|
+
dictionary: DataSourcesDictionaryReport | null;
|
|
2484
|
+
/** A relink of the active version onto the dictionary, while one runs. */
|
|
2485
|
+
relink: DataSourcesRelink | null;
|
|
2265
2486
|
/**
|
|
2266
2487
|
* Dedicated capacity only; null on the shared pool. `building` while the
|
|
2267
2488
|
* optimizer is behind the writes, `ready` otherwise. Search answers
|
|
@@ -2272,6 +2493,10 @@ interface DataSourcesListEntry {
|
|
|
2272
2493
|
sampleOf: string | null;
|
|
2273
2494
|
/** The mapper the live release declares for this source, or null. */
|
|
2274
2495
|
mapper: DataSourceMapper | null;
|
|
2496
|
+
/** The reader the live release declares for this source, or null. */
|
|
2497
|
+
reader: (DataSourceReader & {
|
|
2498
|
+
deliveries: DataSourceReaderDeliveries;
|
|
2499
|
+
}) | null;
|
|
2275
2500
|
createdAt: string;
|
|
2276
2501
|
}
|
|
2277
2502
|
/** GET /datasources — all data sources for the app. */
|
|
@@ -2299,6 +2524,8 @@ interface DataSourcesSearchCitation {
|
|
|
2299
2524
|
interface DataSourcesSearchResultItem {
|
|
2300
2525
|
score: number;
|
|
2301
2526
|
text: string;
|
|
2527
|
+
/** The entities this passage carries (its document's asserted ids). */
|
|
2528
|
+
entities: string[];
|
|
2302
2529
|
citation: DataSourcesSearchCitation;
|
|
2303
2530
|
/** Rank and score from retrieval, before reranking. */
|
|
2304
2531
|
retrievalRank?: number;
|
|
@@ -2329,6 +2556,19 @@ interface DataSourcesCountResult {
|
|
|
2329
2556
|
pipelineVersion: number;
|
|
2330
2557
|
latencyMs: number;
|
|
2331
2558
|
}
|
|
2559
|
+
/**
|
|
2560
|
+
* POST /datasources/entities. The entities the passages matching a filter are
|
|
2561
|
+
* about, most first. `chunks` is passages carrying each id, not documents, and
|
|
2562
|
+
* approximate.
|
|
2563
|
+
*/
|
|
2564
|
+
interface DataSourcesEntitiesResult {
|
|
2565
|
+
entities: {
|
|
2566
|
+
id: string;
|
|
2567
|
+
chunks: number;
|
|
2568
|
+
}[];
|
|
2569
|
+
pipelineVersion: number;
|
|
2570
|
+
latencyMs: number;
|
|
2571
|
+
}
|
|
2332
2572
|
/**
|
|
2333
2573
|
* POST /datasources/search.
|
|
2334
2574
|
*
|
|
@@ -2508,6 +2748,11 @@ interface AddDocumentParams {
|
|
|
2508
2748
|
* `string | number | boolean` values).
|
|
2509
2749
|
*/
|
|
2510
2750
|
metadata?: Record<string, string | number | boolean>;
|
|
2751
|
+
/**
|
|
2752
|
+
* What the document is about, as the app's own ids (≤ 256, printable ASCII,
|
|
2753
|
+
* no whitespace or commas). Every passage carries them; `[]` clears them.
|
|
2754
|
+
*/
|
|
2755
|
+
entities?: string[];
|
|
2511
2756
|
/**
|
|
2512
2757
|
* Receives the exact progress strings the CLI prints today:
|
|
2513
2758
|
* - `${filename}: unchanged, skipped`
|
|
@@ -2724,6 +2969,30 @@ interface CountParams {
|
|
|
2724
2969
|
* const { chunks } = await admin.dataSources.count({ slug: 'policies', filter: { contains: 'notice period' } });
|
|
2725
2970
|
*/
|
|
2726
2971
|
declare function count(ctx: AdminContext, params: CountParams): Promise<DataSourcesCountResult>;
|
|
2972
|
+
interface EntitiesParams {
|
|
2973
|
+
/** Data source slug. */
|
|
2974
|
+
slug: string;
|
|
2975
|
+
/** Same grammar as search's filter; absent covers the whole corpus. */
|
|
2976
|
+
filter?: Record<string, unknown>;
|
|
2977
|
+
/** Entities to return, most first (default 20, at most 100). */
|
|
2978
|
+
limit?: number;
|
|
2979
|
+
/** Read the candidate version instead of the live one. */
|
|
2980
|
+
candidate?: boolean;
|
|
2981
|
+
}
|
|
2982
|
+
/**
|
|
2983
|
+
* Which entities the passages matching a filter are about, most first.
|
|
2984
|
+
*
|
|
2985
|
+
* Filtered on one entity, it answers what appears beside it: a co-mention
|
|
2986
|
+
* graph. `chunks` counts passages carrying each id, not documents, and is
|
|
2987
|
+
* approximate.
|
|
2988
|
+
*
|
|
2989
|
+
* @throws AdminApiError `invalid_filter` (400); `no_candidate_pipeline` (404)
|
|
2990
|
+
* with `candidate: true` and no revectorization in flight; `index_warming` /
|
|
2991
|
+
* `index_building` (503) while the corpus is loading or building.
|
|
2992
|
+
* @example
|
|
2993
|
+
* const { entities } = await admin.dataSources.entities({ slug: 'manuals', filter: { entities: ['P-101A'] } });
|
|
2994
|
+
*/
|
|
2995
|
+
declare function entities(ctx: AdminContext, params: EntitiesParams): Promise<DataSourcesEntitiesResult>;
|
|
2727
2996
|
/**
|
|
2728
2997
|
* Read the full pipeline configuration for one data source.
|
|
2729
2998
|
*
|
|
@@ -3002,6 +3271,48 @@ declare function rmWhereAll(ctx: AdminContext, params: RmWhereParams & {
|
|
|
3002
3271
|
* const { documents, versions } = await admin.dataSources.deleteSource('policies');
|
|
3003
3272
|
*/
|
|
3004
3273
|
declare function deleteSource(ctx: AdminContext, slug: string): Promise<DataSourcesDeleteResult>;
|
|
3274
|
+
/** One dictionary entry: the app's id for a thing and the names it goes by. */
|
|
3275
|
+
interface DictionaryEntryInput {
|
|
3276
|
+
id: string;
|
|
3277
|
+
names: string[];
|
|
3278
|
+
}
|
|
3279
|
+
/**
|
|
3280
|
+
* Push a source's dictionary, replacing the one it had: a stage, its pages
|
|
3281
|
+
* (each retried alone), and the commit. A new version re-tags the source's
|
|
3282
|
+
* passages in the background; an unchanged one commits nothing.
|
|
3283
|
+
*
|
|
3284
|
+
* @throws AdminApiError `invalid_dictionary` / `dictionary_name_too_short` (400)
|
|
3285
|
+
* on a page, naming the entry; `dictionary_too_large` (400) at the commit.
|
|
3286
|
+
* @example
|
|
3287
|
+
* await admin.dataSources.pushDictionary({ slug: 'manuals', entries: [{ id: 'P-101A', names: ['P-101A', 'Main Feed Pump'] }] });
|
|
3288
|
+
*/
|
|
3289
|
+
declare function pushDictionary(ctx: AdminContext, params: {
|
|
3290
|
+
slug: string;
|
|
3291
|
+
entries: DictionaryEntryInput[];
|
|
3292
|
+
linkerVersion?: number;
|
|
3293
|
+
onProgress?: (sent: number, total: number) => void;
|
|
3294
|
+
}): Promise<DataSourcesDictionaryPushResult>;
|
|
3295
|
+
/**
|
|
3296
|
+
* A source's current dictionary, and the relinks re-tagging its versions
|
|
3297
|
+
* while they run.
|
|
3298
|
+
*
|
|
3299
|
+
* @throws AdminApiError `data_source_not_found` (404).
|
|
3300
|
+
*/
|
|
3301
|
+
declare function dictionary(ctx: AdminContext, params: {
|
|
3302
|
+
slug: string;
|
|
3303
|
+
}): Promise<DataSourcesDictionaryStatus>;
|
|
3304
|
+
/**
|
|
3305
|
+
* What the source's current dictionary finds in a piece of text: each
|
|
3306
|
+
* mention, in order, with the ids it tags.
|
|
3307
|
+
*
|
|
3308
|
+
* @throws AdminApiError `data_source_not_found` (404).
|
|
3309
|
+
* @example
|
|
3310
|
+
* const { mentions } = await admin.dataSources.link({ slug: 'manuals', text: 'Replaced the seal on P101A.' });
|
|
3311
|
+
*/
|
|
3312
|
+
declare function link(ctx: AdminContext, params: {
|
|
3313
|
+
slug: string;
|
|
3314
|
+
text: string;
|
|
3315
|
+
}): Promise<DataSourcesLinkResult>;
|
|
3005
3316
|
|
|
3006
3317
|
type dataSources_AddDocumentParams = AddDocumentParams;
|
|
3007
3318
|
type dataSources_AddDocumentResult = AddDocumentResult;
|
|
@@ -3009,8 +3320,10 @@ type dataSources_ConfigSetParams = ConfigSetParams;
|
|
|
3009
3320
|
type dataSources_CountParams = CountParams;
|
|
3010
3321
|
type dataSources_CreateParams = CreateParams;
|
|
3011
3322
|
declare const dataSources_DOCUMENTS_IDS_MAX: typeof DOCUMENTS_IDS_MAX;
|
|
3323
|
+
type dataSources_DictionaryEntryInput = DictionaryEntryInput;
|
|
3012
3324
|
type dataSources_DocumentsParams = DocumentsParams;
|
|
3013
3325
|
type dataSources_DropParams = DropParams;
|
|
3326
|
+
type dataSources_EntitiesParams = EntitiesParams;
|
|
3014
3327
|
declare const dataSources_FAILURES_PAGE: typeof FAILURES_PAGE;
|
|
3015
3328
|
type dataSources_MoveParams = MoveParams;
|
|
3016
3329
|
type dataSources_PromoteParams = PromoteParams;
|
|
@@ -3031,10 +3344,14 @@ declare const dataSources_configGet: typeof configGet;
|
|
|
3031
3344
|
declare const dataSources_configSet: typeof configSet;
|
|
3032
3345
|
declare const dataSources_count: typeof count;
|
|
3033
3346
|
declare const dataSources_deleteSource: typeof deleteSource;
|
|
3347
|
+
declare const dataSources_dictionary: typeof dictionary;
|
|
3034
3348
|
declare const dataSources_documents: typeof documents;
|
|
3035
3349
|
declare const dataSources_drop: typeof drop;
|
|
3350
|
+
declare const dataSources_entities: typeof entities;
|
|
3351
|
+
declare const dataSources_link: typeof link;
|
|
3036
3352
|
declare const dataSources_move: typeof move;
|
|
3037
3353
|
declare const dataSources_promote: typeof promote;
|
|
3354
|
+
declare const dataSources_pushDictionary: typeof pushDictionary;
|
|
3038
3355
|
declare const dataSources_revectorize: typeof revectorize;
|
|
3039
3356
|
declare const dataSources_rm: typeof rm;
|
|
3040
3357
|
declare const dataSources_rmWhere: typeof rmWhere;
|
|
@@ -3046,7 +3363,7 @@ declare const dataSources_waitForCandidate: typeof waitForCandidate;
|
|
|
3046
3363
|
declare const dataSources_waitForIngest: typeof waitForIngest;
|
|
3047
3364
|
declare const dataSources_waitForMove: typeof waitForMove;
|
|
3048
3365
|
declare namespace dataSources {
|
|
3049
|
-
export { type dataSources_AddDocumentParams as AddDocumentParams, type dataSources_AddDocumentResult as AddDocumentResult, type dataSources_ConfigSetParams as ConfigSetParams, type dataSources_CountParams as CountParams, 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, dataSources_count as count, 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_stopMove as stopMove, dataSources_summarize as summarize, dataSources_waitForCandidate as waitForCandidate, dataSources_waitForIngest as waitForIngest, dataSources_waitForMove as waitForMove };
|
|
3366
|
+
export { type dataSources_AddDocumentParams as AddDocumentParams, type dataSources_AddDocumentResult as AddDocumentResult, type dataSources_ConfigSetParams as ConfigSetParams, type dataSources_CountParams as CountParams, 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_DictionaryEntryInput as DictionaryEntryInput, type dataSources_DocumentsParams as DocumentsParams, type dataSources_DropParams as DropParams, type dataSources_EntitiesParams as EntitiesParams, 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, dataSources_count as count, create$1 as create, dataSources_deleteSource as deleteSource, dataSources_dictionary as dictionary, dataSources_documents as documents, dataSources_drop as drop, dataSources_entities as entities, dataSources_link as link, list$8 as list, dataSources_move as move, dataSources_promote as promote, dataSources_pushDictionary as pushDictionary, dataSources_revectorize as revectorize, dataSources_rm as rm, dataSources_rmWhere as rmWhere, dataSources_rmWhereAll as rmWhereAll, dataSources_search as search, dataSources_stopMove as stopMove, dataSources_summarize as summarize, dataSources_waitForCandidate as waitForCandidate, dataSources_waitForIngest as waitForIngest, dataSources_waitForMove as waitForMove };
|
|
3050
3367
|
}
|
|
3051
3368
|
|
|
3052
3369
|
/**
|
|
@@ -3624,6 +3941,8 @@ declare function remap(ctx: AdminContext, params: RemapParams): Promise<DataSour
|
|
|
3624
3941
|
interface QuarantineParams {
|
|
3625
3942
|
id: string;
|
|
3626
3943
|
kind?: 'skip' | 'error';
|
|
3944
|
+
/** Only the mapper's (`map`) or only the reader's (`read`). */
|
|
3945
|
+
stage?: 'map' | 'read';
|
|
3627
3946
|
/** Only objects quarantined with exactly this reason. */
|
|
3628
3947
|
reason?: string;
|
|
3629
3948
|
cursor?: string;
|
|
@@ -3631,8 +3950,8 @@ interface QuarantineParams {
|
|
|
3631
3950
|
limit?: number;
|
|
3632
3951
|
}
|
|
3633
3952
|
/**
|
|
3634
|
-
* What a job's mapper skipped or failed on
|
|
3635
|
-
* a page of objects.
|
|
3953
|
+
* What a job's mapper skipped or failed on, and what its reader failed on:
|
|
3954
|
+
* counts, reasons by frequency, and a page of objects.
|
|
3636
3955
|
*
|
|
3637
3956
|
* @throws AdminApiError `job_not_found` (404).
|
|
3638
3957
|
*/
|
|
@@ -6292,6 +6611,16 @@ interface ReleasesByCommitResult extends ReleaseFailureFields {
|
|
|
6292
6611
|
* Synthesised synchronously from the release id by buildPreviewUrl().
|
|
6293
6612
|
*/
|
|
6294
6613
|
previewUrl: string | null;
|
|
6614
|
+
/**
|
|
6615
|
+
* The data sources this release declares app code for. A live release's
|
|
6616
|
+
* reader entries carry `readerUnread`: the source's documents its reader
|
|
6617
|
+
* hadn't read when the release went live.
|
|
6618
|
+
*/
|
|
6619
|
+
dataSources?: {
|
|
6620
|
+
slug: string;
|
|
6621
|
+
reader?: unknown;
|
|
6622
|
+
readerUnread?: number;
|
|
6623
|
+
}[];
|
|
6295
6624
|
}
|
|
6296
6625
|
/** A compiled method entry as it appears on a live release. */
|
|
6297
6626
|
interface DashboardReleaseMethod {
|
|
@@ -6789,6 +7118,15 @@ interface ReleaseSummary {
|
|
|
6789
7118
|
failureKind?: 'build' | 'interrupted' | 'unbuildable';
|
|
6790
7119
|
/** Build stage that was running when it failed; only when `failed`. */
|
|
6791
7120
|
failurePhase?: string;
|
|
7121
|
+
/**
|
|
7122
|
+
* Each data source whose reader this live release brought live, with the
|
|
7123
|
+
* documents it hasn't read: what `datasources reread --unread` reads, priced
|
|
7124
|
+
* first. Absent when the release declares no reader.
|
|
7125
|
+
*/
|
|
7126
|
+
readers?: {
|
|
7127
|
+
slug: string;
|
|
7128
|
+
unread: number;
|
|
7129
|
+
}[];
|
|
6792
7130
|
}
|
|
6793
7131
|
/**
|
|
6794
7132
|
* Terminal outcome of a `waitForCommit` call.
|
|
@@ -7941,4 +8279,4 @@ declare class AdminTimeoutError extends Error {
|
|
|
7941
8279
|
|
|
7942
8280
|
declare const admin: AdminClient;
|
|
7943
8281
|
|
|
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 };
|
|
8282
|
+
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 DataSourceReader, type DataSourceReaderDeliveries, type DataSourceReaderRetryResult, type DataSourceReaderStatusResult, type DataSourceReaderTestDocument, type DataSourceReaderTestResult, type DataSourceRemapResult, type DataSourceRereadResult, type DataSourceSyncResult, type DataSourcesBuildProgress, type DataSourcesChunkingConfig, type DataSourcesChunkingStrategy, type DataSourcesConfigResult, type DataSourcesConfigUpdateResult, type DataSourcesCountResult, type DataSourcesCreateResult, type DataSourcesDeleteResult, type DataSourcesDictionaryPushResult, type DataSourcesDictionaryReport, type DataSourcesDictionaryStatus, type DataSourcesDocument, type DataSourcesDocumentConfirmResult, type DataSourcesDocumentDeleteManyResult, type DataSourcesDocumentDeleteResult, type DataSourcesDocumentSelector, type DataSourcesDocumentStatus, type DataSourcesDocumentsResult, type DataSourcesDropResult, type DataSourcesEntitiesResult, type DataSourcesHydrateResult, type DataSourcesHydration, type DataSourcesIndex, type DataSourcesIngestConfig, type DataSourcesIngestUpdate, type DataSourcesLinkResult, type DataSourcesListEntry, type DataSourcesListResult, type DataSourcesMigration, type DataSourcesMoveResult, type DataSourcesPlacement, type DataSourcesPromoteResult, type DataSourcesRelink, 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 };
|