@anuma/sdk 6.35.0 → 6.37.0
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/expo/index.cjs +945 -219
- package/dist/expo/index.d.mts +103 -1
- package/dist/expo/index.d.ts +103 -1
- package/dist/expo/index.mjs +945 -227
- package/dist/index.cjs +150 -74
- package/dist/index.d.mts +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.mjs +149 -74
- package/dist/react/index.cjs +980 -254
- package/dist/react/index.d.mts +103 -1
- package/dist/react/index.d.ts +103 -1
- package/dist/react/index.mjs +980 -262
- package/dist/server/index.cjs +43 -1
- package/dist/server/index.mjs +43 -1
- package/dist/tools/index.cjs +74 -12
- package/dist/tools/index.d.mts +16 -3
- package/dist/tools/index.d.ts +16 -3
- package/dist/tools/index.mjs +73 -12
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -109,6 +109,7 @@ __export(index_exports, {
|
|
|
109
109
|
dequantizeEmbedding: () => dequantizeEmbedding,
|
|
110
110
|
encodeChunkVector: () => encodeChunkVector,
|
|
111
111
|
expandToolSetsAdditive: () => expandToolSetsAdditive,
|
|
112
|
+
extractReservationReceipts: () => extractReservationReceipts,
|
|
112
113
|
formatFileProcessingNotes: () => formatFileProcessingNotes,
|
|
113
114
|
getApiV1AdminApps: () => getApiV1AdminApps,
|
|
114
115
|
getApiV1AdminAppsByAppIdApiKeys: () => getApiV1AdminAppsByAppIdApiKeys,
|
|
@@ -886,8 +887,8 @@ var createClient = (config = {}) => {
|
|
|
886
887
|
data = await response[parseAs]();
|
|
887
888
|
break;
|
|
888
889
|
case "json": {
|
|
889
|
-
const
|
|
890
|
-
data =
|
|
890
|
+
const text2 = await response.text();
|
|
891
|
+
data = text2 ? JSON.parse(text2) : {};
|
|
891
892
|
break;
|
|
892
893
|
}
|
|
893
894
|
case "stream":
|
|
@@ -1340,8 +1341,8 @@ var ATTACHED_FILES_OPEN_TAG = "<attached_files>";
|
|
|
1340
1341
|
var ATTACHED_FILES_CLOSE_TAG = "</attached_files>";
|
|
1341
1342
|
var ATTACHED_FILES_PREFIX = `${ATTACHED_FILES_OPEN_TAG}
|
|
1342
1343
|
The user attached the following file(s) to this message. Their extracted contents are below; when the user refers to "the attached file", "this file" or "the document", they mean these.`;
|
|
1343
|
-
function isAttachedFilesText(
|
|
1344
|
-
return typeof
|
|
1344
|
+
function isAttachedFilesText(text2) {
|
|
1345
|
+
return typeof text2 === "string" && text2.startsWith(ATTACHED_FILES_PREFIX) && text2.endsWith(ATTACHED_FILES_CLOSE_TAG);
|
|
1345
1346
|
}
|
|
1346
1347
|
function buildAttachedFilesText(fileContext) {
|
|
1347
1348
|
return `${ATTACHED_FILES_PREFIX}
|
|
@@ -1375,6 +1376,80 @@ function attachFileContextToLastUserMessage(messages, fileContext) {
|
|
|
1375
1376
|
return result;
|
|
1376
1377
|
}
|
|
1377
1378
|
|
|
1379
|
+
// src/lib/chat/reservationReceipts.ts
|
|
1380
|
+
var ACTIONS = [
|
|
1381
|
+
{
|
|
1382
|
+
kind: "booking",
|
|
1383
|
+
tool: "anuma_book_restaurant",
|
|
1384
|
+
alreadyDone: /^Tool "[^"]*" failed: ALREADY_BOOKED:/
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
kind: "cancel",
|
|
1388
|
+
tool: "anuma_cancel_reservation",
|
|
1389
|
+
alreadyDone: /^Tool "[^"]*" failed: ALREADY_CANCELLED:/
|
|
1390
|
+
}
|
|
1391
|
+
];
|
|
1392
|
+
var NOT_AN_ATTEMPT = /^Tool "[^"]*" (has already been called|was already called)/;
|
|
1393
|
+
var BOOKING_OUTCOME_UNKNOWN = /^Tool "[^"]*" failed: BOOKING_OUTCOME_UNKNOWN:/;
|
|
1394
|
+
var CANCEL_OUTCOME_UNKNOWN = "CANCEL_OUTCOME_UNKNOWN";
|
|
1395
|
+
function extractReservationReceipts(toolCallEvents) {
|
|
1396
|
+
const latest = /* @__PURE__ */ new Map();
|
|
1397
|
+
for (const event of toolCallEvents ?? []) {
|
|
1398
|
+
const action = ACTIONS.find((a) => event.name?.endsWith(a.tool));
|
|
1399
|
+
const output = event.output ?? "";
|
|
1400
|
+
if (!action || !output || NOT_AN_ATTEMPT.test(output)) continue;
|
|
1401
|
+
const kept = latest.get(action.kind)?.status;
|
|
1402
|
+
if (kept === "made") continue;
|
|
1403
|
+
const receipt = toReceipt(action, event.arguments ?? "", output);
|
|
1404
|
+
if (kept === "unknown" && receipt.status !== "made") continue;
|
|
1405
|
+
latest.set(action.kind, receipt);
|
|
1406
|
+
}
|
|
1407
|
+
return [...latest.values()];
|
|
1408
|
+
}
|
|
1409
|
+
function toReceipt(action, argumentsJson, output) {
|
|
1410
|
+
const args = parseObject(argumentsJson);
|
|
1411
|
+
const result = parseObject(output);
|
|
1412
|
+
return {
|
|
1413
|
+
kind: action.kind,
|
|
1414
|
+
venueName: text(args.venue_name) ?? "",
|
|
1415
|
+
day: text(args.day) ?? "",
|
|
1416
|
+
time: text(args.time) ?? "",
|
|
1417
|
+
partySize: count(args.party_size),
|
|
1418
|
+
reservationId: text(result.reservation_id) ?? text(args.reservation_id),
|
|
1419
|
+
resyUrl: text(result.reservations_url),
|
|
1420
|
+
feeSummary: text(result.fee_summary),
|
|
1421
|
+
...outcome(action, output, result)
|
|
1422
|
+
};
|
|
1423
|
+
}
|
|
1424
|
+
function outcome(action, output, result) {
|
|
1425
|
+
if (action.alreadyDone.test(output)) return { status: "already_done" };
|
|
1426
|
+
const reason = text(result.error);
|
|
1427
|
+
if (action.kind === "booking") {
|
|
1428
|
+
if (BOOKING_OUTCOME_UNKNOWN.test(output)) return { status: "unknown" };
|
|
1429
|
+
const held = result.success === true || text(result.reservation_id) !== void 0;
|
|
1430
|
+
return held ? { status: "made" } : { status: "not_made", reason };
|
|
1431
|
+
}
|
|
1432
|
+
if (result.error_code === CANCEL_OUTCOME_UNKNOWN) return { status: "unknown", reason };
|
|
1433
|
+
const cancelled = result.success === true && !result.error && !result.error_code;
|
|
1434
|
+
return cancelled ? { status: "made" } : { status: "not_made", reason };
|
|
1435
|
+
}
|
|
1436
|
+
function parseObject(json) {
|
|
1437
|
+
try {
|
|
1438
|
+
const parsed = JSON.parse(json);
|
|
1439
|
+
return parsed && typeof parsed === "object" ? parsed : {};
|
|
1440
|
+
} catch {
|
|
1441
|
+
return {};
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
function text(value) {
|
|
1445
|
+
if (typeof value === "number") return String(value);
|
|
1446
|
+
return typeof value === "string" && value ? value : void 0;
|
|
1447
|
+
}
|
|
1448
|
+
function count(value) {
|
|
1449
|
+
const n = typeof value === "string" && value.trim() ? Number(value) : value;
|
|
1450
|
+
return typeof n === "number" && Number.isFinite(n) ? n : void 0;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1378
1453
|
// src/lib/tools/toolCatalog.ts
|
|
1379
1454
|
var TOOL_CATALOG = {
|
|
1380
1455
|
gmail_search_messages: { label: "Search emails", provider: "gmail", connector: "Gmail" },
|
|
@@ -1892,49 +1967,49 @@ function decodeChunkVector(vector, onMalformed) {
|
|
|
1892
1967
|
var DEFAULT_CHUNK_SIZE = 400;
|
|
1893
1968
|
var DEFAULT_CHUNK_OVERLAP = 50;
|
|
1894
1969
|
var DEFAULT_MIN_CHUNK_SIZE = 50;
|
|
1895
|
-
function splitIntoSentences(
|
|
1970
|
+
function splitIntoSentences(text2) {
|
|
1896
1971
|
const sentenceRegex = /[.!?]+[\s"')}\]]*(?=\s|$)/g;
|
|
1897
1972
|
const sentences = [];
|
|
1898
1973
|
let lastIndex = 0;
|
|
1899
1974
|
let match;
|
|
1900
|
-
while ((match = sentenceRegex.exec(
|
|
1975
|
+
while ((match = sentenceRegex.exec(text2)) !== null) {
|
|
1901
1976
|
const endIndex = match.index + match[0].length;
|
|
1902
|
-
const sentence =
|
|
1977
|
+
const sentence = text2.slice(lastIndex, endIndex).trim();
|
|
1903
1978
|
if (sentence) {
|
|
1904
1979
|
sentences.push(sentence);
|
|
1905
1980
|
}
|
|
1906
1981
|
lastIndex = endIndex;
|
|
1907
1982
|
}
|
|
1908
|
-
const remaining =
|
|
1983
|
+
const remaining = text2.slice(lastIndex).trim();
|
|
1909
1984
|
if (remaining) {
|
|
1910
1985
|
sentences.push(remaining);
|
|
1911
1986
|
}
|
|
1912
1987
|
return sentences;
|
|
1913
1988
|
}
|
|
1914
|
-
function chunkText(
|
|
1989
|
+
function chunkText(text2, options) {
|
|
1915
1990
|
const {
|
|
1916
1991
|
chunkSize = DEFAULT_CHUNK_SIZE,
|
|
1917
1992
|
chunkOverlap: requestedOverlap = DEFAULT_CHUNK_OVERLAP,
|
|
1918
1993
|
minChunkSize = DEFAULT_MIN_CHUNK_SIZE
|
|
1919
1994
|
} = options ?? {};
|
|
1920
1995
|
const chunkOverlap = Math.min(requestedOverlap, chunkSize - 1);
|
|
1921
|
-
if (
|
|
1996
|
+
if (text2.length <= chunkSize) {
|
|
1922
1997
|
return [
|
|
1923
1998
|
{
|
|
1924
|
-
text:
|
|
1999
|
+
text: text2.trim(),
|
|
1925
2000
|
startOffset: 0,
|
|
1926
|
-
endOffset:
|
|
2001
|
+
endOffset: text2.length
|
|
1927
2002
|
}
|
|
1928
2003
|
];
|
|
1929
2004
|
}
|
|
1930
|
-
const sentences = splitIntoSentences(
|
|
2005
|
+
const sentences = splitIntoSentences(text2);
|
|
1931
2006
|
const chunks = [];
|
|
1932
2007
|
let currentChunkSentences = [];
|
|
1933
2008
|
let currentChunkStart = 0;
|
|
1934
2009
|
let currentOffset = 0;
|
|
1935
2010
|
for (let i = 0; i < sentences.length; i++) {
|
|
1936
2011
|
const sentence = sentences[i];
|
|
1937
|
-
let sentenceStart =
|
|
2012
|
+
let sentenceStart = text2.indexOf(sentence, currentOffset);
|
|
1938
2013
|
if (sentenceStart === -1) {
|
|
1939
2014
|
sentenceStart = currentOffset;
|
|
1940
2015
|
}
|
|
@@ -1981,7 +2056,7 @@ function chunkText(text, options) {
|
|
|
1981
2056
|
if (overlapSentences.length > 0) {
|
|
1982
2057
|
currentChunkSentences = [...overlapSentences, sentence];
|
|
1983
2058
|
const overlapText = overlapSentences[0];
|
|
1984
|
-
const overlapStart =
|
|
2059
|
+
const overlapStart = text2.lastIndexOf(overlapText, currentOffset);
|
|
1985
2060
|
currentChunkStart = overlapStart === -1 ? sentenceStart : overlapStart;
|
|
1986
2061
|
} else {
|
|
1987
2062
|
currentChunkSentences = [sentence];
|
|
@@ -2001,18 +2076,18 @@ function chunkText(text, options) {
|
|
|
2001
2076
|
chunks.push({
|
|
2002
2077
|
text: chunkText2,
|
|
2003
2078
|
startOffset: currentChunkStart,
|
|
2004
|
-
endOffset:
|
|
2079
|
+
endOffset: text2.length
|
|
2005
2080
|
});
|
|
2006
2081
|
}
|
|
2007
2082
|
}
|
|
2008
2083
|
if (chunks.length === 0) {
|
|
2009
|
-
const trimmedText =
|
|
2084
|
+
const trimmedText = text2.trim();
|
|
2010
2085
|
if (trimmedText.length > 0) {
|
|
2011
2086
|
return [
|
|
2012
2087
|
{
|
|
2013
2088
|
text: trimmedText,
|
|
2014
2089
|
startOffset: 0,
|
|
2015
|
-
endOffset:
|
|
2090
|
+
endOffset: text2.length
|
|
2016
2091
|
}
|
|
2017
2092
|
];
|
|
2018
2093
|
}
|
|
@@ -2110,16 +2185,16 @@ function embeddingErrorFrom(response) {
|
|
|
2110
2185
|
const message = typeof response.error === "object" && response.error && "error" in response.error ? response.error.error : "API embedding failed";
|
|
2111
2186
|
return new EmbeddingHttpError(message, response.response?.status);
|
|
2112
2187
|
}
|
|
2113
|
-
async function generateEmbedding(
|
|
2188
|
+
async function generateEmbedding(text2, options) {
|
|
2114
2189
|
const total = options.totalTimeoutMs;
|
|
2115
|
-
if (total === void 0) return embedOne(
|
|
2116
|
-
return withDeadline((signal) => embedOne(
|
|
2190
|
+
if (total === void 0) return embedOne(text2, options, void 0);
|
|
2191
|
+
return withDeadline((signal) => embedOne(text2, options, signal), total, "embedding");
|
|
2117
2192
|
}
|
|
2118
|
-
async function embedOne(
|
|
2193
|
+
async function embedOne(text2, options, outer) {
|
|
2119
2194
|
const { baseUrl = BASE_URL, model, cache } = options;
|
|
2120
2195
|
const timeoutMs = options.timeoutMs ?? DEFAULT_EMBEDDING_REQUEST_TIMEOUT_MS;
|
|
2121
2196
|
if (cache) {
|
|
2122
|
-
const cached = cache.get(
|
|
2197
|
+
const cached = cache.get(text2);
|
|
2123
2198
|
if (cached) return Array.from(cached);
|
|
2124
2199
|
}
|
|
2125
2200
|
const headers = await resolveAuthHeaders(options, outer);
|
|
@@ -2128,7 +2203,7 @@ async function embedOne(text, options, outer) {
|
|
|
2128
2203
|
(signal) => postApiV1Embeddings({
|
|
2129
2204
|
baseUrl,
|
|
2130
2205
|
body: {
|
|
2131
|
-
input: options.maskInput ? options.maskInput(
|
|
2206
|
+
input: options.maskInput ? options.maskInput(text2) : text2,
|
|
2132
2207
|
model: model ?? DEFAULT_API_EMBEDDING_MODEL
|
|
2133
2208
|
},
|
|
2134
2209
|
headers,
|
|
@@ -2155,7 +2230,7 @@ async function embedOne(text, options, outer) {
|
|
|
2155
2230
|
}
|
|
2156
2231
|
const f32Embedding = Float32Array.from(embedding);
|
|
2157
2232
|
if (cache) {
|
|
2158
|
-
cache.set(
|
|
2233
|
+
cache.set(text2, f32Embedding);
|
|
2159
2234
|
}
|
|
2160
2235
|
return Array.from(f32Embedding);
|
|
2161
2236
|
}
|
|
@@ -2360,9 +2435,9 @@ function extractUserMessages(messages, maxCount, documentPattern) {
|
|
|
2360
2435
|
}
|
|
2361
2436
|
return result.reverse();
|
|
2362
2437
|
}
|
|
2363
|
-
function truncateAtWordBoundary(
|
|
2364
|
-
if (
|
|
2365
|
-
const truncated =
|
|
2438
|
+
function truncateAtWordBoundary(text2, maxLength) {
|
|
2439
|
+
if (text2.length <= maxLength) return text2;
|
|
2440
|
+
const truncated = text2.slice(0, maxLength);
|
|
2366
2441
|
const lastSpace = truncated.lastIndexOf(" ");
|
|
2367
2442
|
return lastSpace > maxLength * 0.5 ? truncated.slice(0, lastSpace) : truncated;
|
|
2368
2443
|
}
|
|
@@ -2487,12 +2562,12 @@ function buildSystemPrompt(ctx, options) {
|
|
|
2487
2562
|
let prompt = "";
|
|
2488
2563
|
const activeSections = [];
|
|
2489
2564
|
for (const section of sections) {
|
|
2490
|
-
const
|
|
2491
|
-
if (
|
|
2492
|
-
if (maxLength > 0 && prompt.length +
|
|
2565
|
+
const text2 = section.render(ctx);
|
|
2566
|
+
if (text2 === null) continue;
|
|
2567
|
+
if (maxLength > 0 && prompt.length + text2.length > maxLength) {
|
|
2493
2568
|
continue;
|
|
2494
2569
|
}
|
|
2495
|
-
prompt +=
|
|
2570
|
+
prompt += text2;
|
|
2496
2571
|
activeSections.push(section.key);
|
|
2497
2572
|
}
|
|
2498
2573
|
return { prompt, activeSections };
|
|
@@ -2683,10 +2758,10 @@ var PiiRedactor = class {
|
|
|
2683
2758
|
const existing = this.valueToPlaceholder.get(normalizedValue);
|
|
2684
2759
|
if (existing) return existing;
|
|
2685
2760
|
const existingCount = this.categoryCounters.get(category);
|
|
2686
|
-
const
|
|
2687
|
-
this.categoryCounters.set(category,
|
|
2761
|
+
const count2 = (existingCount ?? 0) + 1;
|
|
2762
|
+
this.categoryCounters.set(category, count2);
|
|
2688
2763
|
if (existingCount === void 0) this.storagePattern = void 0;
|
|
2689
|
-
const placeholder = `[${category}_${
|
|
2764
|
+
const placeholder = `[${category}_${count2}]`;
|
|
2690
2765
|
this.valueToPlaceholder.set(normalizedValue, placeholder);
|
|
2691
2766
|
this.placeholderToValue.set(placeholder, normalizedValue);
|
|
2692
2767
|
this.storageLookup = null;
|
|
@@ -2699,15 +2774,15 @@ var PiiRedactor = class {
|
|
|
2699
2774
|
* (sequential, per-pattern) and the async {@link collectRegexSpans} (span)
|
|
2700
2775
|
* paths so the detection rules live in exactly one place.
|
|
2701
2776
|
*/
|
|
2702
|
-
findMatches(
|
|
2777
|
+
findMatches(text2, pattern) {
|
|
2703
2778
|
const regex = new RegExp(pattern.regex.source, pattern.regex.flags);
|
|
2704
2779
|
const found = [];
|
|
2705
2780
|
let m;
|
|
2706
|
-
while ((m = regex.exec(
|
|
2781
|
+
while ((m = regex.exec(text2)) !== null) {
|
|
2707
2782
|
const value = m[0];
|
|
2708
2783
|
if (pattern.validate && !pattern.validate(value)) continue;
|
|
2709
2784
|
if (pattern.context) {
|
|
2710
|
-
const before =
|
|
2785
|
+
const before = text2.slice(Math.max(0, m.index - 40), m.index);
|
|
2711
2786
|
if (!pattern.context.test(before)) continue;
|
|
2712
2787
|
}
|
|
2713
2788
|
found.push({ match: value, index: m.index });
|
|
@@ -2723,9 +2798,9 @@ var PiiRedactor = class {
|
|
|
2723
2798
|
* earlier patterns, so an earlier (more specific) pattern claims a region
|
|
2724
2799
|
* before a later one can — placeholders are inert and match no pattern.
|
|
2725
2800
|
*/
|
|
2726
|
-
scan(
|
|
2801
|
+
scan(text2, makeReplacement) {
|
|
2727
2802
|
const matches = [];
|
|
2728
|
-
let redacted =
|
|
2803
|
+
let redacted = text2;
|
|
2729
2804
|
for (const pattern of this.patterns) {
|
|
2730
2805
|
const found = this.findMatches(redacted, pattern);
|
|
2731
2806
|
if (found.length === 0) continue;
|
|
@@ -2746,8 +2821,8 @@ var PiiRedactor = class {
|
|
|
2746
2821
|
* Scan and redact PII from a single text string, using numbered, reversible
|
|
2747
2822
|
* placeholders ([EMAIL_1], …) tracked on this instance.
|
|
2748
2823
|
*/
|
|
2749
|
-
redactText(
|
|
2750
|
-
return this.scan(
|
|
2824
|
+
redactText(text2) {
|
|
2825
|
+
return this.scan(text2, (category, value) => this.getPlaceholder(category, value));
|
|
2751
2826
|
}
|
|
2752
2827
|
/**
|
|
2753
2828
|
* Mask PII with unnumbered, NON-reversible tokens ([EMAIL], [SSN], …) without
|
|
@@ -2756,15 +2831,15 @@ var PiiRedactor = class {
|
|
|
2756
2831
|
* embeddings endpoint while staying deterministic, so the same content always
|
|
2757
2832
|
* masks identically and search stays consistent across conversations.
|
|
2758
2833
|
*/
|
|
2759
|
-
maskText(
|
|
2760
|
-
return this.scan(
|
|
2834
|
+
maskText(text2) {
|
|
2835
|
+
return this.scan(text2, (category) => `[${category}]`).text;
|
|
2761
2836
|
}
|
|
2762
2837
|
/** All regex matches as spans on the ORIGINAL text (priority 0). Uses the
|
|
2763
2838
|
* same {@link findMatches} guards as the sync scan. */
|
|
2764
|
-
collectRegexSpans(
|
|
2839
|
+
collectRegexSpans(text2) {
|
|
2765
2840
|
const spans = [];
|
|
2766
2841
|
this.patterns.forEach((pattern, patternIndex) => {
|
|
2767
|
-
for (const { match, index } of this.findMatches(
|
|
2842
|
+
for (const { match, index } of this.findMatches(text2, pattern)) {
|
|
2768
2843
|
spans.push({
|
|
2769
2844
|
start: index,
|
|
2770
2845
|
end: index + match.length,
|
|
@@ -2783,16 +2858,16 @@ var PiiRedactor = class {
|
|
|
2783
2858
|
* of "Stripe") from producing a corrupting partial placeholder like
|
|
2784
2859
|
* `[ORG_1]e`.
|
|
2785
2860
|
*/
|
|
2786
|
-
normalizeNerSpans(
|
|
2861
|
+
normalizeNerSpans(text2, raw) {
|
|
2787
2862
|
if (!Array.isArray(raw)) return [];
|
|
2788
2863
|
const out = [];
|
|
2789
2864
|
raw.forEach((s, i) => {
|
|
2790
2865
|
if (!Number.isFinite(s.start) || !Number.isFinite(s.end)) return;
|
|
2791
|
-
let start = Math.max(0, Math.min(Math.trunc(s.start),
|
|
2792
|
-
let end = Math.max(0, Math.min(Math.trunc(s.end),
|
|
2866
|
+
let start = Math.max(0, Math.min(Math.trunc(s.start), text2.length));
|
|
2867
|
+
let end = Math.max(0, Math.min(Math.trunc(s.end), text2.length));
|
|
2793
2868
|
if (end <= start) return;
|
|
2794
|
-
while (start > 0 && isWordChar(
|
|
2795
|
-
while (end <
|
|
2869
|
+
while (start > 0 && isWordChar(text2[start - 1])) start--;
|
|
2870
|
+
while (end < text2.length && isWordChar(text2[end])) end++;
|
|
2796
2871
|
const category = String(s.category ?? "").trim();
|
|
2797
2872
|
if (!category) return;
|
|
2798
2873
|
out.push({ start, end, category, priority: 1, order: i });
|
|
@@ -2801,10 +2876,10 @@ var PiiRedactor = class {
|
|
|
2801
2876
|
}
|
|
2802
2877
|
/** Run the configured detector defensively: failures degrade to regex-only
|
|
2803
2878
|
* (fail-open on detection, not on protection) with a one-time warning. */
|
|
2804
|
-
async detectNerSpans(
|
|
2879
|
+
async detectNerSpans(text2) {
|
|
2805
2880
|
if (!this.nerDetector) return [];
|
|
2806
2881
|
try {
|
|
2807
|
-
return this.normalizeNerSpans(
|
|
2882
|
+
return this.normalizeNerSpans(text2, await this.nerDetector.detect(text2));
|
|
2808
2883
|
} catch (err) {
|
|
2809
2884
|
this.warnNerFailure(err);
|
|
2810
2885
|
return [];
|
|
@@ -2837,11 +2912,11 @@ var PiiRedactor = class {
|
|
|
2837
2912
|
* in pattern then document order, matching the sync scan's numbering). The
|
|
2838
2913
|
* string is then EMITTED in document order.
|
|
2839
2914
|
*/
|
|
2840
|
-
rebuildSpans(
|
|
2915
|
+
rebuildSpans(text2, spans, makeReplacement) {
|
|
2841
2916
|
const placeholderByStart = /* @__PURE__ */ new Map();
|
|
2842
2917
|
const matches = [];
|
|
2843
2918
|
for (const s of spans) {
|
|
2844
|
-
const value =
|
|
2919
|
+
const value = text2.slice(s.start, s.end);
|
|
2845
2920
|
const placeholder = makeReplacement(s.category, value);
|
|
2846
2921
|
placeholderByStart.set(s.start, placeholder);
|
|
2847
2922
|
matches.push({ category: s.category, original: value, placeholder });
|
|
@@ -2850,16 +2925,16 @@ var PiiRedactor = class {
|
|
|
2850
2925
|
let result = "";
|
|
2851
2926
|
let cursor = 0;
|
|
2852
2927
|
for (const s of emitOrder) {
|
|
2853
|
-
result +=
|
|
2928
|
+
result += text2.slice(cursor, s.start) + (placeholderByStart.get(s.start) ?? "");
|
|
2854
2929
|
cursor = s.end;
|
|
2855
2930
|
}
|
|
2856
|
-
result +=
|
|
2931
|
+
result += text2.slice(cursor);
|
|
2857
2932
|
return { text: result, matches };
|
|
2858
2933
|
}
|
|
2859
2934
|
/** Merge regex + NER spans for `text` into a resolved, non-overlapping set. */
|
|
2860
|
-
async detectAllSpans(
|
|
2861
|
-
const nerPromise = this.detectNerSpans(
|
|
2862
|
-
const regexSpans = this.collectRegexSpans(
|
|
2935
|
+
async detectAllSpans(text2) {
|
|
2936
|
+
const nerPromise = this.detectNerSpans(text2);
|
|
2937
|
+
const regexSpans = this.collectRegexSpans(text2);
|
|
2863
2938
|
const ner = await nerPromise;
|
|
2864
2939
|
return this.resolveOverlaps([...regexSpans, ...ner]);
|
|
2865
2940
|
}
|
|
@@ -2868,11 +2943,11 @@ var PiiRedactor = class {
|
|
|
2868
2943
|
* unstructured PII (the configured {@link NerDetector}) with numbered,
|
|
2869
2944
|
* reversible placeholders. With no detector, identical to `redactText`.
|
|
2870
2945
|
*/
|
|
2871
|
-
async redactTextAsync(
|
|
2872
|
-
if (!this.nerDetector) return this.redactText(
|
|
2873
|
-
const spans = await this.detectAllSpans(
|
|
2946
|
+
async redactTextAsync(text2) {
|
|
2947
|
+
if (!this.nerDetector) return this.redactText(text2);
|
|
2948
|
+
const spans = await this.detectAllSpans(text2);
|
|
2874
2949
|
return this.rebuildSpans(
|
|
2875
|
-
|
|
2950
|
+
text2,
|
|
2876
2951
|
spans,
|
|
2877
2952
|
(category, value) => this.getPlaceholder(category, value)
|
|
2878
2953
|
);
|
|
@@ -2881,10 +2956,10 @@ var PiiRedactor = class {
|
|
|
2881
2956
|
* Async counterpart to {@link maskText}: stateless `[CATEGORY]` masking over
|
|
2882
2957
|
* regex + NER matches. With no detector, identical to `maskText`.
|
|
2883
2958
|
*/
|
|
2884
|
-
async maskTextAsync(
|
|
2885
|
-
if (!this.nerDetector) return this.maskText(
|
|
2886
|
-
const spans = await this.detectAllSpans(
|
|
2887
|
-
return this.rebuildSpans(
|
|
2959
|
+
async maskTextAsync(text2) {
|
|
2960
|
+
if (!this.nerDetector) return this.maskText(text2);
|
|
2961
|
+
const spans = await this.detectAllSpans(text2);
|
|
2962
|
+
return this.rebuildSpans(text2, spans, (category) => `[${category}]`).text;
|
|
2888
2963
|
}
|
|
2889
2964
|
/**
|
|
2890
2965
|
* Async counterpart to {@link redactMessages}. Text parts are redacted
|
|
@@ -2970,9 +3045,9 @@ var PiiRedactor = class {
|
|
|
2970
3045
|
* {@link restoreForStorage} instead, which tolerates the mangled echoes the
|
|
2971
3046
|
* extraction models produce.
|
|
2972
3047
|
*/
|
|
2973
|
-
deAnonymize(
|
|
2974
|
-
if (!
|
|
2975
|
-
let restored =
|
|
3048
|
+
deAnonymize(text2) {
|
|
3049
|
+
if (!text2.includes("[")) return text2;
|
|
3050
|
+
let restored = text2;
|
|
2976
3051
|
for (const [placeholder, original] of this.placeholderToValue) {
|
|
2977
3052
|
if (restored.includes(placeholder)) {
|
|
2978
3053
|
restored = restored.split(placeholder).join(original);
|
|
@@ -2997,15 +3072,15 @@ var PiiRedactor = class {
|
|
|
2997
3072
|
* - `unresolved` is derived from the lookup miss during this pass, not from a
|
|
2998
3073
|
* regex re-scan of the output — so it can't trip over a restored value.
|
|
2999
3074
|
*/
|
|
3000
|
-
restoreForStorage(
|
|
3075
|
+
restoreForStorage(text2) {
|
|
3001
3076
|
if (this.storagePattern === void 0) this.storagePattern = this.buildStoragePattern();
|
|
3002
3077
|
if (!this.storagePattern || this.placeholderToValue.size === 0) {
|
|
3003
|
-
return { text, unresolved: false };
|
|
3078
|
+
return { text: text2, unresolved: false };
|
|
3004
3079
|
}
|
|
3005
3080
|
this.storageLookup ?? (this.storageLookup = this.buildStorageLookup());
|
|
3006
3081
|
const { exact, ci, ciCollisions } = this.storageLookup;
|
|
3007
3082
|
let unresolved = false;
|
|
3008
|
-
const restored =
|
|
3083
|
+
const restored = text2.replace(
|
|
3009
3084
|
this.storagePattern,
|
|
3010
3085
|
(match, bracketed, bare) => {
|
|
3011
3086
|
const body = bracketed ?? bare ?? "";
|
|
@@ -3925,6 +4000,7 @@ async function selectServerSideTools(options) {
|
|
|
3925
4000
|
dequantizeEmbedding,
|
|
3926
4001
|
encodeChunkVector,
|
|
3927
4002
|
expandToolSetsAdditive,
|
|
4003
|
+
extractReservationReceipts,
|
|
3928
4004
|
formatFileProcessingNotes,
|
|
3929
4005
|
getApiV1AdminApps,
|
|
3930
4006
|
getApiV1AdminAppsByAppIdApiKeys,
|
package/dist/index.d.mts
CHANGED
|
@@ -7534,6 +7534,35 @@ declare function buildAttachedFilesText(fileContext: string): string;
|
|
|
7534
7534
|
*/
|
|
7535
7535
|
declare function attachFileContextToLastUserMessage(messages: LlmapiMessage[], fileContext: string): LlmapiMessage[];
|
|
7536
7536
|
|
|
7537
|
+
/**
|
|
7538
|
+
* What became of a restaurant booking or cancellation in one turn, read from
|
|
7539
|
+
* the server's own tool result rather than from the model's reply.
|
|
7540
|
+
*/
|
|
7541
|
+
type ReservationReceipt = {
|
|
7542
|
+
kind: "booking" | "cancel";
|
|
7543
|
+
/**
|
|
7544
|
+
* `made`: the provider confirmed it. `not_made`: it did not happen.
|
|
7545
|
+
* `already_done`: an earlier call in the conversation had already done it.
|
|
7546
|
+
* `unknown`: the call reached the provider and its outcome is not known.
|
|
7547
|
+
*/
|
|
7548
|
+
status: "made" | "not_made" | "already_done" | "unknown";
|
|
7549
|
+
venueName: string;
|
|
7550
|
+
/** As the call sent it, e.g. `2026-10-23`. */
|
|
7551
|
+
day: string;
|
|
7552
|
+
/** As the call sent it, e.g. `9:00 PM`. */
|
|
7553
|
+
time: string;
|
|
7554
|
+
partySize?: number;
|
|
7555
|
+
reservationId?: string;
|
|
7556
|
+
/** Resy page where the user can see the reservation. */
|
|
7557
|
+
resyUrl?: string;
|
|
7558
|
+
/** The restaurant's own cancellation terms, when the booking result carries them. */
|
|
7559
|
+
feeSummary?: string;
|
|
7560
|
+
/** The provider's stated reason, when it did not happen. */
|
|
7561
|
+
reason?: string;
|
|
7562
|
+
};
|
|
7563
|
+
/** One receipt per kind for the turn's booking and cancel calls, holding the last attempt's outcome unless an earlier one was `made` or `unknown`. */
|
|
7564
|
+
declare function extractReservationReceipts(toolCallEvents?: LlmapiToolCallEvent[]): ReservationReceipt[];
|
|
7565
|
+
|
|
7537
7566
|
/**
|
|
7538
7567
|
* Value of the `origin` column on a row the SDK synthesised for a turn's tool results (v44, #866).
|
|
7539
7568
|
*
|
|
@@ -8936,4 +8965,4 @@ declare const TASK_TYPE_HEADER = "X-Anuma-Task-Type";
|
|
|
8936
8965
|
*/
|
|
8937
8966
|
declare function taskTypeHeader(taskType?: TaskType): Record<string, string>;
|
|
8938
8967
|
|
|
8939
|
-
export { type AgentAgendaItem, type AgentAgendaTranscript, type AgentAnalysisSection, type AgentAnalysisTranscript, type AgentConfig, type AgentExampleConversation, type AgentManifest, type AgentMarketplaceContent, type AgentMarketplaceFamily, type AgentMarketplaceTranscript, type AgentPrimaryActionKind, type AgentRuntime, type AgentScheduleItem, type AgentTranscriptItem, type AgentTranscriptTone, type AgentUiMetadata, type AnalyzeStyleOptions, type AnalyzeStyleResult, type ApiResponse, BUILT_IN_TOOL_SETS, type BuildPromptOptions, type BuildPromptResult, CHUNKS_DISCARDED_ORIGIN, type ClientOptions, type ConnectorGuidance, type ConnectorGuidanceInput, type CreateServerToolsFilterOptions, DEFAULT_ANALYSIS_PROMPT, DEFAULT_ANALYZE_AFTER_MESSAGES, DEFAULT_DOCUMENT_PATTERN, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_MAX_INPUT_MESSAGES, DEFAULT_MAX_PROFILE_LENGTH, DEFAULT_MIN_MESSAGES, DEFAULT_PROMPT_TEMPLATES, DEFAULT_REFRESH_EVERY_MESSAGES, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, type DeleteApiV1AccountData, type DeleteApiV1AccountError, type DeleteApiV1AccountErrors, type DeleteApiV1AccountResponse, type DeleteApiV1AccountResponses, type DeleteApiV1AdminAgentsByIdData, type DeleteApiV1AdminAgentsByIdError, type DeleteApiV1AdminAgentsByIdErrors, type DeleteApiV1AdminAgentsByIdResponse, type DeleteApiV1AdminAgentsByIdResponses, type DeleteApiV1AdminAppsByAppIdApiKeysByIdData, type DeleteApiV1AdminAppsByAppIdApiKeysByIdError, type DeleteApiV1AdminAppsByAppIdApiKeysByIdErrors, type DeleteApiV1AdminAppsByAppIdApiKeysByIdResponse, type DeleteApiV1AdminAppsByAppIdApiKeysByIdResponses, type DeleteApiV1AdminAppsByIdData, type DeleteApiV1AdminAppsByIdError, type DeleteApiV1AdminAppsByIdErrors, type DeleteApiV1AdminAppsByIdResponse, type DeleteApiV1AdminAppsByIdResponses, type DeleteApiV1AdminPersonasByIdData, type DeleteApiV1AdminPersonasByIdError, type DeleteApiV1AdminPersonasByIdErrors, type DeleteApiV1AdminPersonasByIdResponse, type DeleteApiV1AdminPersonasByIdResponses, type DeleteApiV1AdminTextResetData, type DeleteApiV1AdminTextResetError, type DeleteApiV1AdminTextResetErrors, type DeleteApiV1AdminTextResetResponse, type DeleteApiV1AdminTextResetResponses, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdData, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdError, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdErrors, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdResponse, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdResponses, type DeleteApiV1DeveloperAppsByAppUuidData, type DeleteApiV1DeveloperAppsByAppUuidError, type DeleteApiV1DeveloperAppsByAppUuidErrors, type DeleteApiV1DeveloperAppsByAppUuidPrivyData, type DeleteApiV1DeveloperAppsByAppUuidPrivyError, type DeleteApiV1DeveloperAppsByAppUuidPrivyErrors, type DeleteApiV1DeveloperAppsByAppUuidPrivyResponse, type DeleteApiV1DeveloperAppsByAppUuidPrivyResponses, type DeleteApiV1DeveloperAppsByAppUuidResponse, type DeleteApiV1DeveloperAppsByAppUuidResponses, type DeleteApiV1UserApiKeysByKeyIdData, type DeleteApiV1UserApiKeysByKeyIdError, type DeleteApiV1UserApiKeysByKeyIdErrors, type DeleteApiV1UserApiKeysByKeyIdResponse, type DeleteApiV1UserApiKeysByKeyIdResponses, type DeleteApiV1WalletsBindingByAddressData, type DeleteApiV1WalletsBindingByAddressError, type DeleteApiV1WalletsBindingByAddressErrors, type DeleteApiV1WalletsBindingByAddressResponse, type DeleteApiV1WalletsBindingByAddressResponses, type FileExtractionStrategy, type FileProcessingReason, type FileProcessingStatus, type GetApiV1AdminAppsByAppIdApiKeysByIdData, type GetApiV1AdminAppsByAppIdApiKeysByIdError, type GetApiV1AdminAppsByAppIdApiKeysByIdErrors, type GetApiV1AdminAppsByAppIdApiKeysByIdResponse, type GetApiV1AdminAppsByAppIdApiKeysByIdResponses, type GetApiV1AdminAppsByAppIdApiKeysData, type GetApiV1AdminAppsByAppIdApiKeysError, type GetApiV1AdminAppsByAppIdApiKeysErrors, type GetApiV1AdminAppsByAppIdApiKeysResponse, type GetApiV1AdminAppsByAppIdApiKeysResponses, type GetApiV1AdminAppsByIdData, type GetApiV1AdminAppsByIdError, type GetApiV1AdminAppsByIdErrors, type GetApiV1AdminAppsByIdResponse, type GetApiV1AdminAppsByIdResponses, type GetApiV1AdminAppsData, type GetApiV1AdminAppsError, type GetApiV1AdminAppsErrors, type GetApiV1AdminAppsResponse, type GetApiV1AdminAppsResponses, type GetApiV1AdminUsersLookupData, type GetApiV1AdminUsersLookupError, type GetApiV1AdminUsersLookupErrors, type GetApiV1AdminUsersLookupResponse, type GetApiV1AdminUsersLookupResponses, type GetApiV1AgentPreferencesData, type GetApiV1AgentPreferencesError, type GetApiV1AgentPreferencesErrors, type GetApiV1AgentPreferencesResponse, type GetApiV1AgentPreferencesResponses, type GetApiV1AgentsByIdData, type GetApiV1AgentsByIdError, type GetApiV1AgentsByIdErrors, type GetApiV1AgentsByIdResponse, type GetApiV1AgentsByIdResponses, type GetApiV1AgentsData, type GetApiV1AgentsError, type GetApiV1AgentsErrors, type GetApiV1AgentsResponse, type GetApiV1AgentsResponses, type GetApiV1ConfigData, type GetApiV1ConfigError, type GetApiV1ConfigErrors, type GetApiV1ConfigResponse, type GetApiV1ConfigResponses, type GetApiV1CreditsBalanceData, type GetApiV1CreditsBalanceError, type GetApiV1CreditsBalanceErrors, type GetApiV1CreditsBalanceResponse, type GetApiV1CreditsBalanceResponses, type GetApiV1CreditsPacksData, type GetApiV1CreditsPacksError, type GetApiV1CreditsPacksErrors, type GetApiV1CreditsPacksResponse, type GetApiV1CreditsPacksResponses, type GetApiV1DeveloperAppsByAppUuidApiKeysData, type GetApiV1DeveloperAppsByAppUuidApiKeysError, type GetApiV1DeveloperAppsByAppUuidApiKeysErrors, type GetApiV1DeveloperAppsByAppUuidApiKeysResponse, type GetApiV1DeveloperAppsByAppUuidApiKeysResponses, type GetApiV1DeveloperAppsByAppUuidData, type GetApiV1DeveloperAppsByAppUuidError, type GetApiV1DeveloperAppsByAppUuidErrors, type GetApiV1DeveloperAppsByAppUuidResponse, type GetApiV1DeveloperAppsByAppUuidResponses, type GetApiV1DeveloperAppsByAppUuidUsageData, type GetApiV1DeveloperAppsByAppUuidUsageError, type GetApiV1DeveloperAppsByAppUuidUsageErrors, type GetApiV1DeveloperAppsByAppUuidUsageResponse, type GetApiV1DeveloperAppsByAppUuidUsageResponses, type GetApiV1DeveloperAppsByAppUuidUsageUsersData, type GetApiV1DeveloperAppsByAppUuidUsageUsersError, type GetApiV1DeveloperAppsByAppUuidUsageUsersErrors, type GetApiV1DeveloperAppsByAppUuidUsageUsersResponse, type GetApiV1DeveloperAppsByAppUuidUsageUsersResponses, type GetApiV1DeveloperAppsByAppUuidUsersByAddressData, type GetApiV1DeveloperAppsByAppUuidUsersByAddressError, type GetApiV1DeveloperAppsByAppUuidUsersByAddressErrors, type GetApiV1DeveloperAppsByAppUuidUsersByAddressResponse, type GetApiV1DeveloperAppsByAppUuidUsersByAddressResponses, type GetApiV1DeveloperAppsByAppUuidUsersData, type GetApiV1DeveloperAppsByAppUuidUsersError, type GetApiV1DeveloperAppsByAppUuidUsersErrors, type GetApiV1DeveloperAppsByAppUuidUsersResponse, type GetApiV1DeveloperAppsByAppUuidUsersResponses, type GetApiV1DeveloperAppsData, type GetApiV1DeveloperAppsError, type GetApiV1DeveloperAppsErrors, type GetApiV1DeveloperAppsResponse, type GetApiV1DeveloperAppsResponses, type GetApiV1DeveloperBillingData, type GetApiV1DeveloperBillingError, type GetApiV1DeveloperBillingErrors, type GetApiV1DeveloperBillingResponse, type GetApiV1DeveloperBillingResponses, type GetApiV1DocsSwaggerJsonData, type GetApiV1DocsSwaggerJsonResponse, type GetApiV1DocsSwaggerJsonResponses, type GetApiV1ModelsData, type GetApiV1ModelsError, type GetApiV1ModelsErrors, type GetApiV1ModelsResponse, type GetApiV1ModelsResponses, type GetApiV1PersonasByIdData, type GetApiV1PersonasByIdError, type GetApiV1PersonasByIdErrors, type GetApiV1PersonasByIdResponse, type GetApiV1PersonasByIdResponses, type GetApiV1PersonasData, type GetApiV1PersonasError, type GetApiV1PersonasErrors, type GetApiV1PersonasResponse, type GetApiV1PersonasResponses, type GetApiV1PhoneCallsByCallIdData, type GetApiV1PhoneCallsByCallIdError, type GetApiV1PhoneCallsByCallIdErrors, type GetApiV1PhoneCallsByCallIdResponse, type GetApiV1PhoneCallsByCallIdResponses, type GetApiV1SubscriptionsPlansData, type GetApiV1SubscriptionsPlansError, type GetApiV1SubscriptionsPlansErrors, type GetApiV1SubscriptionsPlansResponse, type GetApiV1SubscriptionsPlansResponses, type GetApiV1SubscriptionsStatusData, type GetApiV1SubscriptionsStatusError, type GetApiV1SubscriptionsStatusErrors, type GetApiV1SubscriptionsStatusResponse, type GetApiV1SubscriptionsStatusResponses, type GetApiV1ToolsData, type GetApiV1ToolsError, type GetApiV1ToolsErrors, type GetApiV1ToolsResponse, type GetApiV1ToolsResponses, type GetApiV1UsageInferenceWeeklyData, type GetApiV1UsageInferenceWeeklyResponse, type GetApiV1UsageInferenceWeeklyResponses, type GetApiV1UsageModelsData, type GetApiV1UsageModelsError, type GetApiV1UsageModelsErrors, type GetApiV1UsageModelsResponse, type GetApiV1UsageModelsResponses, type GetApiV1UserApiKeysData, type GetApiV1UserApiKeysError, type GetApiV1UserApiKeysErrors, type GetApiV1UserApiKeysResponse, type GetApiV1UserApiKeysResponses, type GetApiV1WalletsBindingData, type GetApiV1WalletsBindingError, type GetApiV1WalletsBindingErrors, type GetApiV1WalletsBindingResponse, type GetApiV1WalletsBindingResponses, type GetApiV1ZetaCreditRateData, type GetApiV1ZetaCreditRateResponse, type GetApiV1ZetaCreditRateResponses, type GetApiV1ZetaMarketData, type GetApiV1ZetaMarketResponse, type GetApiV1ZetaMarketResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type HandlersAddCreditsRequest, type HandlersAddCreditsResponse, type HandlersAgentListItem, type HandlersAgentListResponse, type HandlersAgentResponse, type HandlersApiKeyResponse, type HandlersApiKeyWithKeyResponse, type HandlersAppConfig, type HandlersAppResponse, type HandlersAppUsageResponse, type HandlersAppUserUsageResponse, type HandlersBillingHistoryResponse, type HandlersBillingRecordResponse, type HandlersBindRequest, type HandlersBoundWalletResponse, type HandlersCancelScheduledDowngradeResponse, type HandlersCancelSubscriptionResponse, type HandlersCheckoutSessionResponse, type HandlersConfigResponse, type HandlersConfigurePrivyRequest, type HandlersCreateAgentRequest, type HandlersCreateApiKeyRequest, type HandlersCreateAppRequest, type HandlersCreateCheckoutSessionRequest, type HandlersCreateCreditPackCheckoutRequest, type HandlersCreateCustomerPortalRequest, type HandlersCreateDeveloperAppRequest, type HandlersCreatePersonaRequest, type HandlersCreatePhoneCallRequest, type HandlersCreditBalanceResponse, type HandlersCreditPack, type HandlersCreditPacksResponse, type HandlersCreditRateResponse, type HandlersCustomerPortalResponse, type HandlersDeveloperApiKeyRequest, type HandlersDeveloperApiKeyResponse, type HandlersDeveloperApiKeyWithSecretResponse, type HandlersDeveloperAppResponse, type HandlersDeveloperUserResponse, type HandlersExchangeRequest, type HandlersExpiringCredits, type HandlersFundDeveloperAppRequest, type HandlersGeneratedApiKey, type HandlersGetToolsResponse, type HandlersHealthResponse, type HandlersInferenceWeeklyResponse, type HandlersListApiKeysResponse, type HandlersListAppsResponse, type HandlersListDeveloperApiKeysResponse, type HandlersListDeveloperAppsResponse, type HandlersListResponse, type HandlersListTotals, type HandlersListUserApiKeysResponse, type HandlersListUsersResponse, type HandlersModelToolUsageItem, type HandlersModelUsageItem, type HandlersNonceResponse, type HandlersPaginationResponse, type HandlersPersonaListResponse, type HandlersPersonaResponse, type HandlersPhoneCallResponse, type HandlersPhoneCallTranscriptEntry, type HandlersProInfo, type HandlersRedeemTokensRequest, type HandlersRedeemTokensResponse, type HandlersRefreshRequest, type HandlersRenewSubscriptionResponse, type HandlersRevokeRequest, type HandlersScheduleDowngradeRequest, type HandlersScheduleDowngradeResponse, type HandlersSeedApiKeyInput, type HandlersSeedAppInput, type HandlersSeedAppsRequest, type HandlersSeedAppsResponse, type HandlersSetSubscriptionTierRequest, type HandlersSetSubscriptionTierResponse, type HandlersSetUserAgentPreferenceRequest, type HandlersSubscriptionPlan, type HandlersSubscriptionPlansResponse, type HandlersSubscriptionStatusResponse, type HandlersTokenResponse, type HandlersTool, type HandlersToolCallDetailItem, type HandlersTopUpUserRequest, type HandlersUpdateAgentRequest, type HandlersUpdateApiKeyRequest, type HandlersUpdateAppRequest, type HandlersUpdateDeveloperAppRequest, type HandlersUpdatePersonaRequest, type HandlersUpdateUserLimitRequest, type HandlersUpgradeSubscriptionRequest, type HandlersUpgradeSubscriptionResponse, type HandlersUsageByModelResponse, type HandlersUsagePeriod, type HandlersUsageTimeseriesPoint, type HandlersUsageTotals, type HandlersUserAgentPreferenceResponse, type HandlersUserAgentPreferencesListResponse, type HandlersUserApiKeyRequest, type HandlersUserApiKeyResponse, type HandlersUserApiKeyWithSecretResponse, type HandlersUserLookupAccount, type HandlersUserLookupEnrollment, type HandlersUserLookupResponse, type HandlersUserLookupTextReg, type HandlersUserUsageResponse, type HandlersWalletDetails, type HandlersWeeklyInferenceItem, type HandlersZetaMarketResponse, type LazyStoredConversation, type LlmapiChatCompletionExtraFields, type LlmapiChatCompletionRequest, type LlmapiChatCompletionResponse, type LlmapiChatCompletionTool, type LlmapiChatCompletionToolChoice, type LlmapiChatCompletionUsage, type OpenaiChatCompletionChoice as LlmapiChoice, type LlmapiEmbeddingData, type LlmapiEmbeddingExtraFields, type LlmapiEmbeddingRequest, type LlmapiEmbeddingResponse, type LlmapiEmbeddingUsage, type LlmapiMcpTool, type LlmapiMessage, type LlmapiMessageContentFile, type LlmapiMessageContentImage, type LlmapiMessageContentPart, type LlmapiModel, type LlmapiModelArchitecture, type LlmapiModelPerRequestLimits, type LlmapiModelPricing, type LlmapiModelTopProvider, type LlmapiModelsListExtraFields, type LlmapiModelsListResponse, type LlmapiPortalChatCompletionRequest, type LlmapiPortalChatCompletionResponse, type LlmapiResponseExtraFields, type LlmapiResponseInput, type LlmapiResponseOutputContent, type LlmapiResponseOutputItem, type LlmapiResponseReasoning, type LlmapiResponseRequest, type LlmapiResponseResponse, type LlmapiResponseTool, type LlmapiResponseToolChoice, type LlmapiResponseUsage, type LlmapiRole, type LlmapiThinkingOptions, type LlmapiToolCall, type LlmapiToolCallEvent, type LlmapiToolCallFunction, type Logger, MULTILINE_FIELD_MAX, type McpToolSchema, type MessageRedactionResult, type NerDetector, type Options, PII_PATTERNS, type PatchApiV1DeveloperAppsByAppUuidData, type PatchApiV1DeveloperAppsByAppUuidError, type PatchApiV1DeveloperAppsByAppUuidErrors, type PatchApiV1DeveloperAppsByAppUuidResponse, type PatchApiV1DeveloperAppsByAppUuidResponses, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressData, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressError, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressErrors, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressResponse, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressResponses, type PiiCategory, type PiiMatch, type PiiPattern, PiiRedactor, type PiiRedactorOptions, type PiiSpan, type PostApiV1AdminAddCreditsData, type PostApiV1AdminAddCreditsError, type PostApiV1AdminAddCreditsErrors, type PostApiV1AdminAddCreditsResponse, type PostApiV1AdminAddCreditsResponses, type PostApiV1AdminAgentsData, type PostApiV1AdminAgentsError, type PostApiV1AdminAgentsErrors, type PostApiV1AdminAgentsResponse, type PostApiV1AdminAgentsResponses, type PostApiV1AdminAppsByAppIdApiKeysData, type PostApiV1AdminAppsByAppIdApiKeysError, type PostApiV1AdminAppsByAppIdApiKeysErrors, type PostApiV1AdminAppsByAppIdApiKeysResponse, type PostApiV1AdminAppsByAppIdApiKeysResponses, type PostApiV1AdminAppsData, type PostApiV1AdminAppsError, type PostApiV1AdminAppsErrors, type PostApiV1AdminAppsResponse, type PostApiV1AdminAppsResponses, type PostApiV1AdminPersonasData, type PostApiV1AdminPersonasError, type PostApiV1AdminPersonasErrors, type PostApiV1AdminPersonasResponse, type PostApiV1AdminPersonasResponses, type PostApiV1AdminSeedAppsData, type PostApiV1AdminSeedAppsError, type PostApiV1AdminSeedAppsErrors, type PostApiV1AdminSeedAppsResponse, type PostApiV1AdminSeedAppsResponses, type PostApiV1AdminSubscriptionTierData, type PostApiV1AdminSubscriptionTierError, type PostApiV1AdminSubscriptionTierErrors, type PostApiV1AdminSubscriptionTierResponse, type PostApiV1AdminSubscriptionTierResponses, type PostApiV1ChatCompletionsData, type PostApiV1ChatCompletionsError, type PostApiV1ChatCompletionsErrors, type PostApiV1ChatCompletionsResponse, type PostApiV1ChatCompletionsResponses, type PostApiV1CreditsPurchaseData, type PostApiV1CreditsPurchaseError, type PostApiV1CreditsPurchaseErrors, type PostApiV1CreditsPurchaseResponse, type PostApiV1CreditsPurchaseResponses, type PostApiV1CreditsRedeemTokensData, type PostApiV1CreditsRedeemTokensError, type PostApiV1CreditsRedeemTokensErrors, type PostApiV1CreditsRedeemTokensResponse, type PostApiV1CreditsRedeemTokensResponses, type PostApiV1DeveloperAppsByAppUuidApiKeysData, type PostApiV1DeveloperAppsByAppUuidApiKeysError, type PostApiV1DeveloperAppsByAppUuidApiKeysErrors, type PostApiV1DeveloperAppsByAppUuidApiKeysResponse, type PostApiV1DeveloperAppsByAppUuidApiKeysResponses, type PostApiV1DeveloperAppsByAppUuidFundData, type PostApiV1DeveloperAppsByAppUuidFundError, type PostApiV1DeveloperAppsByAppUuidFundErrors, type PostApiV1DeveloperAppsByAppUuidFundResponse, type PostApiV1DeveloperAppsByAppUuidFundResponses, type PostApiV1DeveloperAppsByAppUuidPrivyData, type PostApiV1DeveloperAppsByAppUuidPrivyError, type PostApiV1DeveloperAppsByAppUuidPrivyErrors, type PostApiV1DeveloperAppsByAppUuidPrivyResponse, type PostApiV1DeveloperAppsByAppUuidPrivyResponses, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpData, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpError, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpErrors, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpResponse, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpResponses, type PostApiV1DeveloperAppsData, type PostApiV1DeveloperAppsError, type PostApiV1DeveloperAppsErrors, type PostApiV1DeveloperAppsResponse, type PostApiV1DeveloperAppsResponses, type PostApiV1EmbeddingsData, type PostApiV1EmbeddingsError, type PostApiV1EmbeddingsErrors, type PostApiV1EmbeddingsResponse, type PostApiV1EmbeddingsResponses, type PostApiV1PhoneCallsData, type PostApiV1PhoneCallsError, type PostApiV1PhoneCallsErrors, type PostApiV1PhoneCallsResponse, type PostApiV1PhoneCallsResponses, type PostApiV1ResponsesData, type PostApiV1ResponsesError, type PostApiV1ResponsesErrors, type PostApiV1ResponsesResponse, type PostApiV1ResponsesResponses, type PostApiV1SubscriptionsCancelData, type PostApiV1SubscriptionsCancelError, type PostApiV1SubscriptionsCancelErrors, type PostApiV1SubscriptionsCancelResponse, type PostApiV1SubscriptionsCancelResponses, type PostApiV1SubscriptionsCancelScheduledDowngradeData, type PostApiV1SubscriptionsCancelScheduledDowngradeError, type PostApiV1SubscriptionsCancelScheduledDowngradeErrors, type PostApiV1SubscriptionsCancelScheduledDowngradeResponse, type PostApiV1SubscriptionsCancelScheduledDowngradeResponses, type PostApiV1SubscriptionsCreateCheckoutSessionData, type PostApiV1SubscriptionsCreateCheckoutSessionError, type PostApiV1SubscriptionsCreateCheckoutSessionErrors, type PostApiV1SubscriptionsCreateCheckoutSessionResponse, type PostApiV1SubscriptionsCreateCheckoutSessionResponses, type PostApiV1SubscriptionsCustomerPortalData, type PostApiV1SubscriptionsCustomerPortalError, type PostApiV1SubscriptionsCustomerPortalErrors, type PostApiV1SubscriptionsCustomerPortalResponse, type PostApiV1SubscriptionsCustomerPortalResponses, type PostApiV1SubscriptionsRenewData, type PostApiV1SubscriptionsRenewError, type PostApiV1SubscriptionsRenewErrors, type PostApiV1SubscriptionsRenewResponse, type PostApiV1SubscriptionsRenewResponses, type PostApiV1SubscriptionsScheduleDowngradeData, type PostApiV1SubscriptionsScheduleDowngradeError, type PostApiV1SubscriptionsScheduleDowngradeErrors, type PostApiV1SubscriptionsScheduleDowngradeResponse, type PostApiV1SubscriptionsScheduleDowngradeResponses, type PostApiV1SubscriptionsUpgradeData, type PostApiV1SubscriptionsUpgradeError, type PostApiV1SubscriptionsUpgradeErrors, type PostApiV1SubscriptionsUpgradeResponse, type PostApiV1SubscriptionsUpgradeResponses, type PostApiV1SubscriptionsWebhookData, type PostApiV1SubscriptionsWebhookError, type PostApiV1SubscriptionsWebhookErrors, type PostApiV1SubscriptionsWebhookResponse, type PostApiV1SubscriptionsWebhookResponses, type PostApiV1UserApiKeysData, type PostApiV1UserApiKeysError, type PostApiV1UserApiKeysErrors, type PostApiV1UserApiKeysResponse, type PostApiV1UserApiKeysResponses, type PostApiV1WalletsBindingData, type PostApiV1WalletsBindingError, type PostApiV1WalletsBindingErrors, type PostApiV1WalletsBindingNonceData, type PostApiV1WalletsBindingNonceError, type PostApiV1WalletsBindingNonceErrors, type PostApiV1WalletsBindingNonceResponse, type PostApiV1WalletsBindingNonceResponses, type PostApiV1WalletsBindingResponse, type PostApiV1WalletsBindingResponses, type PostApiV1WebhooksRevenuecatData, type PostApiV1WebhooksRevenuecatError, type PostApiV1WebhooksRevenuecatErrors, type PostApiV1WebhooksRevenuecatResponse, type PostApiV1WebhooksRevenuecatResponses, type PostAuthOauthByProviderExchangeData, type PostAuthOauthByProviderExchangeError, type PostAuthOauthByProviderExchangeErrors, type PostAuthOauthByProviderExchangeResponse, type PostAuthOauthByProviderExchangeResponses, type PostAuthOauthByProviderRefreshData, type PostAuthOauthByProviderRefreshError, type PostAuthOauthByProviderRefreshErrors, type PostAuthOauthByProviderRefreshResponse, type PostAuthOauthByProviderRefreshResponses, type PostAuthOauthByProviderRevokeData, type PostAuthOauthByProviderRevokeError, type PostAuthOauthByProviderRevokeErrors, type PostAuthOauthByProviderRevokeResponse, type PostAuthOauthByProviderRevokeResponses, type PromptContext, type PromptSection, type PromptTemplates, type PutApiV1AdminAgentsByIdData, type PutApiV1AdminAgentsByIdError, type PutApiV1AdminAgentsByIdErrors, type PutApiV1AdminAgentsByIdResponse, type PutApiV1AdminAgentsByIdResponses, type PutApiV1AdminAppsByAppIdApiKeysByIdData, type PutApiV1AdminAppsByAppIdApiKeysByIdError, type PutApiV1AdminAppsByAppIdApiKeysByIdErrors, type PutApiV1AdminAppsByAppIdApiKeysByIdResponse, type PutApiV1AdminAppsByAppIdApiKeysByIdResponses, type PutApiV1AdminAppsByIdData, type PutApiV1AdminAppsByIdError, type PutApiV1AdminAppsByIdErrors, type PutApiV1AdminAppsByIdResponse, type PutApiV1AdminAppsByIdResponses, type PutApiV1AdminPersonasByIdData, type PutApiV1AdminPersonasByIdError, type PutApiV1AdminPersonasByIdErrors, type PutApiV1AdminPersonasByIdResponse, type PutApiV1AdminPersonasByIdResponses, type PutApiV1AgentsByIdPreferenceData, type PutApiV1AgentsByIdPreferenceError, type PutApiV1AgentsByIdPreferenceErrors, type PutApiV1AgentsByIdPreferenceResponse, type PutApiV1AgentsByIdPreferenceResponses, type QuantizedEmbedding, type RedactionResult, type ResponseErrorResponse, type SelectServerSideToolsOptions, type SkillConfig, type SkillJourneyDefinition, type SkillJourneyField, type SkillJourneyFieldType, SseIdleTimeoutError, type SseKeepaliveOptions, type StyleAnalysisSchedule, TASK_TYPE_HEADER, TOOL_CATALOG, TOOL_RESULT_ORIGIN, type TaskType, type ToolSet, activatedToolSetNames, analyzeStyle, applyToolSets, attachFileContextToLastUserMessage, buildAttachedFilesText, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, clearLazyTitleCache, consoleLogger, cosineInt8, createServerToolsFilter, createStreamingDeAnonymizer, decodeChunkVector, decryptConversationTitle, defaultServerToolsFilter, deleteApiV1Account, deleteApiV1AdminAgentsById, deleteApiV1AdminAppsByAppIdApiKeysById, deleteApiV1AdminAppsById, deleteApiV1AdminPersonasById, deleteApiV1AdminTextReset, deleteApiV1DeveloperAppsByAppUuid, deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId, deleteApiV1DeveloperAppsByAppUuidPrivy, deleteApiV1UserApiKeysByKeyId, deleteApiV1WalletsBindingByAddress, dequantizeEmbedding, encodeChunkVector, expandToolSetsAdditive, formatFileProcessingNotes, getApiV1AdminApps, getApiV1AdminAppsByAppIdApiKeys, getApiV1AdminAppsByAppIdApiKeysById, getApiV1AdminAppsById, getApiV1AdminUsersLookup, getApiV1AgentPreferences, getApiV1Agents, getApiV1AgentsById, getApiV1Config, getApiV1CreditsBalance, getApiV1CreditsPacks, getApiV1DeveloperApps, getApiV1DeveloperAppsByAppUuid, getApiV1DeveloperAppsByAppUuidApiKeys, getApiV1DeveloperAppsByAppUuidUsage, getApiV1DeveloperAppsByAppUuidUsageUsers, getApiV1DeveloperAppsByAppUuidUsers, getApiV1DeveloperAppsByAppUuidUsersByAddress, getApiV1DeveloperBilling, getApiV1DocsSwaggerJson, getApiV1Models, getApiV1Personas, getApiV1PersonasById, getApiV1PhoneCallsByCallId, getApiV1SubscriptionsPlans, getApiV1SubscriptionsStatus, getApiV1Tools, getApiV1UsageInferenceWeekly, getApiV1UsageModels, getApiV1UserApiKeys, getApiV1WalletsBinding, getApiV1ZetaCreditRate, getApiV1ZetaMarket, getCostMicroUsd, getCreditsUsed, getHealth, getImageModel, getLogger, getToolCallEvents, isAttachedFilesText, isPiiRedactor, noopLogger, patchApiV1DeveloperAppsByAppUuid, patchApiV1DeveloperAppsByAppUuidUsersByAddress, postApiV1AdminAddCredits, postApiV1AdminAgents, postApiV1AdminApps, postApiV1AdminAppsByAppIdApiKeys, postApiV1AdminPersonas, postApiV1AdminSeedApps, postApiV1AdminSubscriptionTier, postApiV1ChatCompletions, postApiV1CreditsPurchase, postApiV1CreditsRedeemTokens, postApiV1DeveloperApps, postApiV1DeveloperAppsByAppUuidApiKeys, postApiV1DeveloperAppsByAppUuidFund, postApiV1DeveloperAppsByAppUuidPrivy, postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp, postApiV1Embeddings, postApiV1PhoneCalls, postApiV1Responses, postApiV1SubscriptionsCancel, postApiV1SubscriptionsCancelScheduledDowngrade, postApiV1SubscriptionsCreateCheckoutSession, postApiV1SubscriptionsCustomerPortal, postApiV1SubscriptionsRenew, postApiV1SubscriptionsScheduleDowngrade, postApiV1SubscriptionsUpgrade, postApiV1SubscriptionsWebhook, postApiV1UserApiKeys, postApiV1WalletsBinding, postApiV1WalletsBindingNonce, postApiV1WebhooksRevenuecat, postAuthOauthByProviderExchange, postAuthOauthByProviderRefresh, postAuthOauthByProviderRevoke, putApiV1AdminAgentsById, putApiV1AdminAppsByAppIdApiKeysById, putApiV1AdminAppsById, putApiV1AdminPersonasById, putApiV1AgentsByIdPreference, quantizeEmbedding, renderTemplate, resolvePiiRedactor, sanitizeQuotes, selectServerSideTools, setLogger, shouldAnalyzeStyle, taskTypeHeader, toolSetSystemPrompts, withSseKeepalive };
|
|
8968
|
+
export { type AgentAgendaItem, type AgentAgendaTranscript, type AgentAnalysisSection, type AgentAnalysisTranscript, type AgentConfig, type AgentExampleConversation, type AgentManifest, type AgentMarketplaceContent, type AgentMarketplaceFamily, type AgentMarketplaceTranscript, type AgentPrimaryActionKind, type AgentRuntime, type AgentScheduleItem, type AgentTranscriptItem, type AgentTranscriptTone, type AgentUiMetadata, type AnalyzeStyleOptions, type AnalyzeStyleResult, type ApiResponse, BUILT_IN_TOOL_SETS, type BuildPromptOptions, type BuildPromptResult, CHUNKS_DISCARDED_ORIGIN, type ClientOptions, type ConnectorGuidance, type ConnectorGuidanceInput, type CreateServerToolsFilterOptions, DEFAULT_ANALYSIS_PROMPT, DEFAULT_ANALYZE_AFTER_MESSAGES, DEFAULT_DOCUMENT_PATTERN, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_MAX_INPUT_MESSAGES, DEFAULT_MAX_PROFILE_LENGTH, DEFAULT_MIN_MESSAGES, DEFAULT_PROMPT_TEMPLATES, DEFAULT_REFRESH_EVERY_MESSAGES, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, type DeleteApiV1AccountData, type DeleteApiV1AccountError, type DeleteApiV1AccountErrors, type DeleteApiV1AccountResponse, type DeleteApiV1AccountResponses, type DeleteApiV1AdminAgentsByIdData, type DeleteApiV1AdminAgentsByIdError, type DeleteApiV1AdminAgentsByIdErrors, type DeleteApiV1AdminAgentsByIdResponse, type DeleteApiV1AdminAgentsByIdResponses, type DeleteApiV1AdminAppsByAppIdApiKeysByIdData, type DeleteApiV1AdminAppsByAppIdApiKeysByIdError, type DeleteApiV1AdminAppsByAppIdApiKeysByIdErrors, type DeleteApiV1AdminAppsByAppIdApiKeysByIdResponse, type DeleteApiV1AdminAppsByAppIdApiKeysByIdResponses, type DeleteApiV1AdminAppsByIdData, type DeleteApiV1AdminAppsByIdError, type DeleteApiV1AdminAppsByIdErrors, type DeleteApiV1AdminAppsByIdResponse, type DeleteApiV1AdminAppsByIdResponses, type DeleteApiV1AdminPersonasByIdData, type DeleteApiV1AdminPersonasByIdError, type DeleteApiV1AdminPersonasByIdErrors, type DeleteApiV1AdminPersonasByIdResponse, type DeleteApiV1AdminPersonasByIdResponses, type DeleteApiV1AdminTextResetData, type DeleteApiV1AdminTextResetError, type DeleteApiV1AdminTextResetErrors, type DeleteApiV1AdminTextResetResponse, type DeleteApiV1AdminTextResetResponses, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdData, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdError, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdErrors, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdResponse, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdResponses, type DeleteApiV1DeveloperAppsByAppUuidData, type DeleteApiV1DeveloperAppsByAppUuidError, type DeleteApiV1DeveloperAppsByAppUuidErrors, type DeleteApiV1DeveloperAppsByAppUuidPrivyData, type DeleteApiV1DeveloperAppsByAppUuidPrivyError, type DeleteApiV1DeveloperAppsByAppUuidPrivyErrors, type DeleteApiV1DeveloperAppsByAppUuidPrivyResponse, type DeleteApiV1DeveloperAppsByAppUuidPrivyResponses, type DeleteApiV1DeveloperAppsByAppUuidResponse, type DeleteApiV1DeveloperAppsByAppUuidResponses, type DeleteApiV1UserApiKeysByKeyIdData, type DeleteApiV1UserApiKeysByKeyIdError, type DeleteApiV1UserApiKeysByKeyIdErrors, type DeleteApiV1UserApiKeysByKeyIdResponse, type DeleteApiV1UserApiKeysByKeyIdResponses, type DeleteApiV1WalletsBindingByAddressData, type DeleteApiV1WalletsBindingByAddressError, type DeleteApiV1WalletsBindingByAddressErrors, type DeleteApiV1WalletsBindingByAddressResponse, type DeleteApiV1WalletsBindingByAddressResponses, type FileExtractionStrategy, type FileProcessingReason, type FileProcessingStatus, type GetApiV1AdminAppsByAppIdApiKeysByIdData, type GetApiV1AdminAppsByAppIdApiKeysByIdError, type GetApiV1AdminAppsByAppIdApiKeysByIdErrors, type GetApiV1AdminAppsByAppIdApiKeysByIdResponse, type GetApiV1AdminAppsByAppIdApiKeysByIdResponses, type GetApiV1AdminAppsByAppIdApiKeysData, type GetApiV1AdminAppsByAppIdApiKeysError, type GetApiV1AdminAppsByAppIdApiKeysErrors, type GetApiV1AdminAppsByAppIdApiKeysResponse, type GetApiV1AdminAppsByAppIdApiKeysResponses, type GetApiV1AdminAppsByIdData, type GetApiV1AdminAppsByIdError, type GetApiV1AdminAppsByIdErrors, type GetApiV1AdminAppsByIdResponse, type GetApiV1AdminAppsByIdResponses, type GetApiV1AdminAppsData, type GetApiV1AdminAppsError, type GetApiV1AdminAppsErrors, type GetApiV1AdminAppsResponse, type GetApiV1AdminAppsResponses, type GetApiV1AdminUsersLookupData, type GetApiV1AdminUsersLookupError, type GetApiV1AdminUsersLookupErrors, type GetApiV1AdminUsersLookupResponse, type GetApiV1AdminUsersLookupResponses, type GetApiV1AgentPreferencesData, type GetApiV1AgentPreferencesError, type GetApiV1AgentPreferencesErrors, type GetApiV1AgentPreferencesResponse, type GetApiV1AgentPreferencesResponses, type GetApiV1AgentsByIdData, type GetApiV1AgentsByIdError, type GetApiV1AgentsByIdErrors, type GetApiV1AgentsByIdResponse, type GetApiV1AgentsByIdResponses, type GetApiV1AgentsData, type GetApiV1AgentsError, type GetApiV1AgentsErrors, type GetApiV1AgentsResponse, type GetApiV1AgentsResponses, type GetApiV1ConfigData, type GetApiV1ConfigError, type GetApiV1ConfigErrors, type GetApiV1ConfigResponse, type GetApiV1ConfigResponses, type GetApiV1CreditsBalanceData, type GetApiV1CreditsBalanceError, type GetApiV1CreditsBalanceErrors, type GetApiV1CreditsBalanceResponse, type GetApiV1CreditsBalanceResponses, type GetApiV1CreditsPacksData, type GetApiV1CreditsPacksError, type GetApiV1CreditsPacksErrors, type GetApiV1CreditsPacksResponse, type GetApiV1CreditsPacksResponses, type GetApiV1DeveloperAppsByAppUuidApiKeysData, type GetApiV1DeveloperAppsByAppUuidApiKeysError, type GetApiV1DeveloperAppsByAppUuidApiKeysErrors, type GetApiV1DeveloperAppsByAppUuidApiKeysResponse, type GetApiV1DeveloperAppsByAppUuidApiKeysResponses, type GetApiV1DeveloperAppsByAppUuidData, type GetApiV1DeveloperAppsByAppUuidError, type GetApiV1DeveloperAppsByAppUuidErrors, type GetApiV1DeveloperAppsByAppUuidResponse, type GetApiV1DeveloperAppsByAppUuidResponses, type GetApiV1DeveloperAppsByAppUuidUsageData, type GetApiV1DeveloperAppsByAppUuidUsageError, type GetApiV1DeveloperAppsByAppUuidUsageErrors, type GetApiV1DeveloperAppsByAppUuidUsageResponse, type GetApiV1DeveloperAppsByAppUuidUsageResponses, type GetApiV1DeveloperAppsByAppUuidUsageUsersData, type GetApiV1DeveloperAppsByAppUuidUsageUsersError, type GetApiV1DeveloperAppsByAppUuidUsageUsersErrors, type GetApiV1DeveloperAppsByAppUuidUsageUsersResponse, type GetApiV1DeveloperAppsByAppUuidUsageUsersResponses, type GetApiV1DeveloperAppsByAppUuidUsersByAddressData, type GetApiV1DeveloperAppsByAppUuidUsersByAddressError, type GetApiV1DeveloperAppsByAppUuidUsersByAddressErrors, type GetApiV1DeveloperAppsByAppUuidUsersByAddressResponse, type GetApiV1DeveloperAppsByAppUuidUsersByAddressResponses, type GetApiV1DeveloperAppsByAppUuidUsersData, type GetApiV1DeveloperAppsByAppUuidUsersError, type GetApiV1DeveloperAppsByAppUuidUsersErrors, type GetApiV1DeveloperAppsByAppUuidUsersResponse, type GetApiV1DeveloperAppsByAppUuidUsersResponses, type GetApiV1DeveloperAppsData, type GetApiV1DeveloperAppsError, type GetApiV1DeveloperAppsErrors, type GetApiV1DeveloperAppsResponse, type GetApiV1DeveloperAppsResponses, type GetApiV1DeveloperBillingData, type GetApiV1DeveloperBillingError, type GetApiV1DeveloperBillingErrors, type GetApiV1DeveloperBillingResponse, type GetApiV1DeveloperBillingResponses, type GetApiV1DocsSwaggerJsonData, type GetApiV1DocsSwaggerJsonResponse, type GetApiV1DocsSwaggerJsonResponses, type GetApiV1ModelsData, type GetApiV1ModelsError, type GetApiV1ModelsErrors, type GetApiV1ModelsResponse, type GetApiV1ModelsResponses, type GetApiV1PersonasByIdData, type GetApiV1PersonasByIdError, type GetApiV1PersonasByIdErrors, type GetApiV1PersonasByIdResponse, type GetApiV1PersonasByIdResponses, type GetApiV1PersonasData, type GetApiV1PersonasError, type GetApiV1PersonasErrors, type GetApiV1PersonasResponse, type GetApiV1PersonasResponses, type GetApiV1PhoneCallsByCallIdData, type GetApiV1PhoneCallsByCallIdError, type GetApiV1PhoneCallsByCallIdErrors, type GetApiV1PhoneCallsByCallIdResponse, type GetApiV1PhoneCallsByCallIdResponses, type GetApiV1SubscriptionsPlansData, type GetApiV1SubscriptionsPlansError, type GetApiV1SubscriptionsPlansErrors, type GetApiV1SubscriptionsPlansResponse, type GetApiV1SubscriptionsPlansResponses, type GetApiV1SubscriptionsStatusData, type GetApiV1SubscriptionsStatusError, type GetApiV1SubscriptionsStatusErrors, type GetApiV1SubscriptionsStatusResponse, type GetApiV1SubscriptionsStatusResponses, type GetApiV1ToolsData, type GetApiV1ToolsError, type GetApiV1ToolsErrors, type GetApiV1ToolsResponse, type GetApiV1ToolsResponses, type GetApiV1UsageInferenceWeeklyData, type GetApiV1UsageInferenceWeeklyResponse, type GetApiV1UsageInferenceWeeklyResponses, type GetApiV1UsageModelsData, type GetApiV1UsageModelsError, type GetApiV1UsageModelsErrors, type GetApiV1UsageModelsResponse, type GetApiV1UsageModelsResponses, type GetApiV1UserApiKeysData, type GetApiV1UserApiKeysError, type GetApiV1UserApiKeysErrors, type GetApiV1UserApiKeysResponse, type GetApiV1UserApiKeysResponses, type GetApiV1WalletsBindingData, type GetApiV1WalletsBindingError, type GetApiV1WalletsBindingErrors, type GetApiV1WalletsBindingResponse, type GetApiV1WalletsBindingResponses, type GetApiV1ZetaCreditRateData, type GetApiV1ZetaCreditRateResponse, type GetApiV1ZetaCreditRateResponses, type GetApiV1ZetaMarketData, type GetApiV1ZetaMarketResponse, type GetApiV1ZetaMarketResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type HandlersAddCreditsRequest, type HandlersAddCreditsResponse, type HandlersAgentListItem, type HandlersAgentListResponse, type HandlersAgentResponse, type HandlersApiKeyResponse, type HandlersApiKeyWithKeyResponse, type HandlersAppConfig, type HandlersAppResponse, type HandlersAppUsageResponse, type HandlersAppUserUsageResponse, type HandlersBillingHistoryResponse, type HandlersBillingRecordResponse, type HandlersBindRequest, type HandlersBoundWalletResponse, type HandlersCancelScheduledDowngradeResponse, type HandlersCancelSubscriptionResponse, type HandlersCheckoutSessionResponse, type HandlersConfigResponse, type HandlersConfigurePrivyRequest, type HandlersCreateAgentRequest, type HandlersCreateApiKeyRequest, type HandlersCreateAppRequest, type HandlersCreateCheckoutSessionRequest, type HandlersCreateCreditPackCheckoutRequest, type HandlersCreateCustomerPortalRequest, type HandlersCreateDeveloperAppRequest, type HandlersCreatePersonaRequest, type HandlersCreatePhoneCallRequest, type HandlersCreditBalanceResponse, type HandlersCreditPack, type HandlersCreditPacksResponse, type HandlersCreditRateResponse, type HandlersCustomerPortalResponse, type HandlersDeveloperApiKeyRequest, type HandlersDeveloperApiKeyResponse, type HandlersDeveloperApiKeyWithSecretResponse, type HandlersDeveloperAppResponse, type HandlersDeveloperUserResponse, type HandlersExchangeRequest, type HandlersExpiringCredits, type HandlersFundDeveloperAppRequest, type HandlersGeneratedApiKey, type HandlersGetToolsResponse, type HandlersHealthResponse, type HandlersInferenceWeeklyResponse, type HandlersListApiKeysResponse, type HandlersListAppsResponse, type HandlersListDeveloperApiKeysResponse, type HandlersListDeveloperAppsResponse, type HandlersListResponse, type HandlersListTotals, type HandlersListUserApiKeysResponse, type HandlersListUsersResponse, type HandlersModelToolUsageItem, type HandlersModelUsageItem, type HandlersNonceResponse, type HandlersPaginationResponse, type HandlersPersonaListResponse, type HandlersPersonaResponse, type HandlersPhoneCallResponse, type HandlersPhoneCallTranscriptEntry, type HandlersProInfo, type HandlersRedeemTokensRequest, type HandlersRedeemTokensResponse, type HandlersRefreshRequest, type HandlersRenewSubscriptionResponse, type HandlersRevokeRequest, type HandlersScheduleDowngradeRequest, type HandlersScheduleDowngradeResponse, type HandlersSeedApiKeyInput, type HandlersSeedAppInput, type HandlersSeedAppsRequest, type HandlersSeedAppsResponse, type HandlersSetSubscriptionTierRequest, type HandlersSetSubscriptionTierResponse, type HandlersSetUserAgentPreferenceRequest, type HandlersSubscriptionPlan, type HandlersSubscriptionPlansResponse, type HandlersSubscriptionStatusResponse, type HandlersTokenResponse, type HandlersTool, type HandlersToolCallDetailItem, type HandlersTopUpUserRequest, type HandlersUpdateAgentRequest, type HandlersUpdateApiKeyRequest, type HandlersUpdateAppRequest, type HandlersUpdateDeveloperAppRequest, type HandlersUpdatePersonaRequest, type HandlersUpdateUserLimitRequest, type HandlersUpgradeSubscriptionRequest, type HandlersUpgradeSubscriptionResponse, type HandlersUsageByModelResponse, type HandlersUsagePeriod, type HandlersUsageTimeseriesPoint, type HandlersUsageTotals, type HandlersUserAgentPreferenceResponse, type HandlersUserAgentPreferencesListResponse, type HandlersUserApiKeyRequest, type HandlersUserApiKeyResponse, type HandlersUserApiKeyWithSecretResponse, type HandlersUserLookupAccount, type HandlersUserLookupEnrollment, type HandlersUserLookupResponse, type HandlersUserLookupTextReg, type HandlersUserUsageResponse, type HandlersWalletDetails, type HandlersWeeklyInferenceItem, type HandlersZetaMarketResponse, type LazyStoredConversation, type LlmapiChatCompletionExtraFields, type LlmapiChatCompletionRequest, type LlmapiChatCompletionResponse, type LlmapiChatCompletionTool, type LlmapiChatCompletionToolChoice, type LlmapiChatCompletionUsage, type OpenaiChatCompletionChoice as LlmapiChoice, type LlmapiEmbeddingData, type LlmapiEmbeddingExtraFields, type LlmapiEmbeddingRequest, type LlmapiEmbeddingResponse, type LlmapiEmbeddingUsage, type LlmapiMcpTool, type LlmapiMessage, type LlmapiMessageContentFile, type LlmapiMessageContentImage, type LlmapiMessageContentPart, type LlmapiModel, type LlmapiModelArchitecture, type LlmapiModelPerRequestLimits, type LlmapiModelPricing, type LlmapiModelTopProvider, type LlmapiModelsListExtraFields, type LlmapiModelsListResponse, type LlmapiPortalChatCompletionRequest, type LlmapiPortalChatCompletionResponse, type LlmapiResponseExtraFields, type LlmapiResponseInput, type LlmapiResponseOutputContent, type LlmapiResponseOutputItem, type LlmapiResponseReasoning, type LlmapiResponseRequest, type LlmapiResponseResponse, type LlmapiResponseTool, type LlmapiResponseToolChoice, type LlmapiResponseUsage, type LlmapiRole, type LlmapiThinkingOptions, type LlmapiToolCall, type LlmapiToolCallEvent, type LlmapiToolCallFunction, type Logger, MULTILINE_FIELD_MAX, type McpToolSchema, type MessageRedactionResult, type NerDetector, type Options, PII_PATTERNS, type PatchApiV1DeveloperAppsByAppUuidData, type PatchApiV1DeveloperAppsByAppUuidError, type PatchApiV1DeveloperAppsByAppUuidErrors, type PatchApiV1DeveloperAppsByAppUuidResponse, type PatchApiV1DeveloperAppsByAppUuidResponses, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressData, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressError, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressErrors, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressResponse, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressResponses, type PiiCategory, type PiiMatch, type PiiPattern, PiiRedactor, type PiiRedactorOptions, type PiiSpan, type PostApiV1AdminAddCreditsData, type PostApiV1AdminAddCreditsError, type PostApiV1AdminAddCreditsErrors, type PostApiV1AdminAddCreditsResponse, type PostApiV1AdminAddCreditsResponses, type PostApiV1AdminAgentsData, type PostApiV1AdminAgentsError, type PostApiV1AdminAgentsErrors, type PostApiV1AdminAgentsResponse, type PostApiV1AdminAgentsResponses, type PostApiV1AdminAppsByAppIdApiKeysData, type PostApiV1AdminAppsByAppIdApiKeysError, type PostApiV1AdminAppsByAppIdApiKeysErrors, type PostApiV1AdminAppsByAppIdApiKeysResponse, type PostApiV1AdminAppsByAppIdApiKeysResponses, type PostApiV1AdminAppsData, type PostApiV1AdminAppsError, type PostApiV1AdminAppsErrors, type PostApiV1AdminAppsResponse, type PostApiV1AdminAppsResponses, type PostApiV1AdminPersonasData, type PostApiV1AdminPersonasError, type PostApiV1AdminPersonasErrors, type PostApiV1AdminPersonasResponse, type PostApiV1AdminPersonasResponses, type PostApiV1AdminSeedAppsData, type PostApiV1AdminSeedAppsError, type PostApiV1AdminSeedAppsErrors, type PostApiV1AdminSeedAppsResponse, type PostApiV1AdminSeedAppsResponses, type PostApiV1AdminSubscriptionTierData, type PostApiV1AdminSubscriptionTierError, type PostApiV1AdminSubscriptionTierErrors, type PostApiV1AdminSubscriptionTierResponse, type PostApiV1AdminSubscriptionTierResponses, type PostApiV1ChatCompletionsData, type PostApiV1ChatCompletionsError, type PostApiV1ChatCompletionsErrors, type PostApiV1ChatCompletionsResponse, type PostApiV1ChatCompletionsResponses, type PostApiV1CreditsPurchaseData, type PostApiV1CreditsPurchaseError, type PostApiV1CreditsPurchaseErrors, type PostApiV1CreditsPurchaseResponse, type PostApiV1CreditsPurchaseResponses, type PostApiV1CreditsRedeemTokensData, type PostApiV1CreditsRedeemTokensError, type PostApiV1CreditsRedeemTokensErrors, type PostApiV1CreditsRedeemTokensResponse, type PostApiV1CreditsRedeemTokensResponses, type PostApiV1DeveloperAppsByAppUuidApiKeysData, type PostApiV1DeveloperAppsByAppUuidApiKeysError, type PostApiV1DeveloperAppsByAppUuidApiKeysErrors, type PostApiV1DeveloperAppsByAppUuidApiKeysResponse, type PostApiV1DeveloperAppsByAppUuidApiKeysResponses, type PostApiV1DeveloperAppsByAppUuidFundData, type PostApiV1DeveloperAppsByAppUuidFundError, type PostApiV1DeveloperAppsByAppUuidFundErrors, type PostApiV1DeveloperAppsByAppUuidFundResponse, type PostApiV1DeveloperAppsByAppUuidFundResponses, type PostApiV1DeveloperAppsByAppUuidPrivyData, type PostApiV1DeveloperAppsByAppUuidPrivyError, type PostApiV1DeveloperAppsByAppUuidPrivyErrors, type PostApiV1DeveloperAppsByAppUuidPrivyResponse, type PostApiV1DeveloperAppsByAppUuidPrivyResponses, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpData, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpError, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpErrors, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpResponse, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpResponses, type PostApiV1DeveloperAppsData, type PostApiV1DeveloperAppsError, type PostApiV1DeveloperAppsErrors, type PostApiV1DeveloperAppsResponse, type PostApiV1DeveloperAppsResponses, type PostApiV1EmbeddingsData, type PostApiV1EmbeddingsError, type PostApiV1EmbeddingsErrors, type PostApiV1EmbeddingsResponse, type PostApiV1EmbeddingsResponses, type PostApiV1PhoneCallsData, type PostApiV1PhoneCallsError, type PostApiV1PhoneCallsErrors, type PostApiV1PhoneCallsResponse, type PostApiV1PhoneCallsResponses, type PostApiV1ResponsesData, type PostApiV1ResponsesError, type PostApiV1ResponsesErrors, type PostApiV1ResponsesResponse, type PostApiV1ResponsesResponses, type PostApiV1SubscriptionsCancelData, type PostApiV1SubscriptionsCancelError, type PostApiV1SubscriptionsCancelErrors, type PostApiV1SubscriptionsCancelResponse, type PostApiV1SubscriptionsCancelResponses, type PostApiV1SubscriptionsCancelScheduledDowngradeData, type PostApiV1SubscriptionsCancelScheduledDowngradeError, type PostApiV1SubscriptionsCancelScheduledDowngradeErrors, type PostApiV1SubscriptionsCancelScheduledDowngradeResponse, type PostApiV1SubscriptionsCancelScheduledDowngradeResponses, type PostApiV1SubscriptionsCreateCheckoutSessionData, type PostApiV1SubscriptionsCreateCheckoutSessionError, type PostApiV1SubscriptionsCreateCheckoutSessionErrors, type PostApiV1SubscriptionsCreateCheckoutSessionResponse, type PostApiV1SubscriptionsCreateCheckoutSessionResponses, type PostApiV1SubscriptionsCustomerPortalData, type PostApiV1SubscriptionsCustomerPortalError, type PostApiV1SubscriptionsCustomerPortalErrors, type PostApiV1SubscriptionsCustomerPortalResponse, type PostApiV1SubscriptionsCustomerPortalResponses, type PostApiV1SubscriptionsRenewData, type PostApiV1SubscriptionsRenewError, type PostApiV1SubscriptionsRenewErrors, type PostApiV1SubscriptionsRenewResponse, type PostApiV1SubscriptionsRenewResponses, type PostApiV1SubscriptionsScheduleDowngradeData, type PostApiV1SubscriptionsScheduleDowngradeError, type PostApiV1SubscriptionsScheduleDowngradeErrors, type PostApiV1SubscriptionsScheduleDowngradeResponse, type PostApiV1SubscriptionsScheduleDowngradeResponses, type PostApiV1SubscriptionsUpgradeData, type PostApiV1SubscriptionsUpgradeError, type PostApiV1SubscriptionsUpgradeErrors, type PostApiV1SubscriptionsUpgradeResponse, type PostApiV1SubscriptionsUpgradeResponses, type PostApiV1SubscriptionsWebhookData, type PostApiV1SubscriptionsWebhookError, type PostApiV1SubscriptionsWebhookErrors, type PostApiV1SubscriptionsWebhookResponse, type PostApiV1SubscriptionsWebhookResponses, type PostApiV1UserApiKeysData, type PostApiV1UserApiKeysError, type PostApiV1UserApiKeysErrors, type PostApiV1UserApiKeysResponse, type PostApiV1UserApiKeysResponses, type PostApiV1WalletsBindingData, type PostApiV1WalletsBindingError, type PostApiV1WalletsBindingErrors, type PostApiV1WalletsBindingNonceData, type PostApiV1WalletsBindingNonceError, type PostApiV1WalletsBindingNonceErrors, type PostApiV1WalletsBindingNonceResponse, type PostApiV1WalletsBindingNonceResponses, type PostApiV1WalletsBindingResponse, type PostApiV1WalletsBindingResponses, type PostApiV1WebhooksRevenuecatData, type PostApiV1WebhooksRevenuecatError, type PostApiV1WebhooksRevenuecatErrors, type PostApiV1WebhooksRevenuecatResponse, type PostApiV1WebhooksRevenuecatResponses, type PostAuthOauthByProviderExchangeData, type PostAuthOauthByProviderExchangeError, type PostAuthOauthByProviderExchangeErrors, type PostAuthOauthByProviderExchangeResponse, type PostAuthOauthByProviderExchangeResponses, type PostAuthOauthByProviderRefreshData, type PostAuthOauthByProviderRefreshError, type PostAuthOauthByProviderRefreshErrors, type PostAuthOauthByProviderRefreshResponse, type PostAuthOauthByProviderRefreshResponses, type PostAuthOauthByProviderRevokeData, type PostAuthOauthByProviderRevokeError, type PostAuthOauthByProviderRevokeErrors, type PostAuthOauthByProviderRevokeResponse, type PostAuthOauthByProviderRevokeResponses, type PromptContext, type PromptSection, type PromptTemplates, type PutApiV1AdminAgentsByIdData, type PutApiV1AdminAgentsByIdError, type PutApiV1AdminAgentsByIdErrors, type PutApiV1AdminAgentsByIdResponse, type PutApiV1AdminAgentsByIdResponses, type PutApiV1AdminAppsByAppIdApiKeysByIdData, type PutApiV1AdminAppsByAppIdApiKeysByIdError, type PutApiV1AdminAppsByAppIdApiKeysByIdErrors, type PutApiV1AdminAppsByAppIdApiKeysByIdResponse, type PutApiV1AdminAppsByAppIdApiKeysByIdResponses, type PutApiV1AdminAppsByIdData, type PutApiV1AdminAppsByIdError, type PutApiV1AdminAppsByIdErrors, type PutApiV1AdminAppsByIdResponse, type PutApiV1AdminAppsByIdResponses, type PutApiV1AdminPersonasByIdData, type PutApiV1AdminPersonasByIdError, type PutApiV1AdminPersonasByIdErrors, type PutApiV1AdminPersonasByIdResponse, type PutApiV1AdminPersonasByIdResponses, type PutApiV1AgentsByIdPreferenceData, type PutApiV1AgentsByIdPreferenceError, type PutApiV1AgentsByIdPreferenceErrors, type PutApiV1AgentsByIdPreferenceResponse, type PutApiV1AgentsByIdPreferenceResponses, type QuantizedEmbedding, type RedactionResult, type ReservationReceipt, type ResponseErrorResponse, type SelectServerSideToolsOptions, type SkillConfig, type SkillJourneyDefinition, type SkillJourneyField, type SkillJourneyFieldType, SseIdleTimeoutError, type SseKeepaliveOptions, type StyleAnalysisSchedule, TASK_TYPE_HEADER, TOOL_CATALOG, TOOL_RESULT_ORIGIN, type TaskType, type ToolSet, activatedToolSetNames, analyzeStyle, applyToolSets, attachFileContextToLastUserMessage, buildAttachedFilesText, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, clearLazyTitleCache, consoleLogger, cosineInt8, createServerToolsFilter, createStreamingDeAnonymizer, decodeChunkVector, decryptConversationTitle, defaultServerToolsFilter, deleteApiV1Account, deleteApiV1AdminAgentsById, deleteApiV1AdminAppsByAppIdApiKeysById, deleteApiV1AdminAppsById, deleteApiV1AdminPersonasById, deleteApiV1AdminTextReset, deleteApiV1DeveloperAppsByAppUuid, deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId, deleteApiV1DeveloperAppsByAppUuidPrivy, deleteApiV1UserApiKeysByKeyId, deleteApiV1WalletsBindingByAddress, dequantizeEmbedding, encodeChunkVector, expandToolSetsAdditive, extractReservationReceipts, formatFileProcessingNotes, getApiV1AdminApps, getApiV1AdminAppsByAppIdApiKeys, getApiV1AdminAppsByAppIdApiKeysById, getApiV1AdminAppsById, getApiV1AdminUsersLookup, getApiV1AgentPreferences, getApiV1Agents, getApiV1AgentsById, getApiV1Config, getApiV1CreditsBalance, getApiV1CreditsPacks, getApiV1DeveloperApps, getApiV1DeveloperAppsByAppUuid, getApiV1DeveloperAppsByAppUuidApiKeys, getApiV1DeveloperAppsByAppUuidUsage, getApiV1DeveloperAppsByAppUuidUsageUsers, getApiV1DeveloperAppsByAppUuidUsers, getApiV1DeveloperAppsByAppUuidUsersByAddress, getApiV1DeveloperBilling, getApiV1DocsSwaggerJson, getApiV1Models, getApiV1Personas, getApiV1PersonasById, getApiV1PhoneCallsByCallId, getApiV1SubscriptionsPlans, getApiV1SubscriptionsStatus, getApiV1Tools, getApiV1UsageInferenceWeekly, getApiV1UsageModels, getApiV1UserApiKeys, getApiV1WalletsBinding, getApiV1ZetaCreditRate, getApiV1ZetaMarket, getCostMicroUsd, getCreditsUsed, getHealth, getImageModel, getLogger, getToolCallEvents, isAttachedFilesText, isPiiRedactor, noopLogger, patchApiV1DeveloperAppsByAppUuid, patchApiV1DeveloperAppsByAppUuidUsersByAddress, postApiV1AdminAddCredits, postApiV1AdminAgents, postApiV1AdminApps, postApiV1AdminAppsByAppIdApiKeys, postApiV1AdminPersonas, postApiV1AdminSeedApps, postApiV1AdminSubscriptionTier, postApiV1ChatCompletions, postApiV1CreditsPurchase, postApiV1CreditsRedeemTokens, postApiV1DeveloperApps, postApiV1DeveloperAppsByAppUuidApiKeys, postApiV1DeveloperAppsByAppUuidFund, postApiV1DeveloperAppsByAppUuidPrivy, postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp, postApiV1Embeddings, postApiV1PhoneCalls, postApiV1Responses, postApiV1SubscriptionsCancel, postApiV1SubscriptionsCancelScheduledDowngrade, postApiV1SubscriptionsCreateCheckoutSession, postApiV1SubscriptionsCustomerPortal, postApiV1SubscriptionsRenew, postApiV1SubscriptionsScheduleDowngrade, postApiV1SubscriptionsUpgrade, postApiV1SubscriptionsWebhook, postApiV1UserApiKeys, postApiV1WalletsBinding, postApiV1WalletsBindingNonce, postApiV1WebhooksRevenuecat, postAuthOauthByProviderExchange, postAuthOauthByProviderRefresh, postAuthOauthByProviderRevoke, putApiV1AdminAgentsById, putApiV1AdminAppsByAppIdApiKeysById, putApiV1AdminAppsById, putApiV1AdminPersonasById, putApiV1AgentsByIdPreference, quantizeEmbedding, renderTemplate, resolvePiiRedactor, sanitizeQuotes, selectServerSideTools, setLogger, shouldAnalyzeStyle, taskTypeHeader, toolSetSystemPrompts, withSseKeepalive };
|