@anuma/sdk 3.3.0 → 3.4.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/index.d.ts CHANGED
@@ -1,285 +1,578 @@
1
- type ClientOptions$1 = {
2
- baseUrl: `${string}://${string}` | (string & {});
3
- };
4
- type McpToolSchema = {
5
- description?: string;
6
- name?: string;
7
- parameters?: unknown;
8
- };
9
- /**
10
- * ExtraFields contains additional metadata
11
- */
12
- type LlmapiChatCompletionExtraFields = {
13
- /**
14
- * Latency is the request latency in milliseconds
15
- */
16
- latency?: number;
1
+ type AuthToken = string | undefined;
2
+ interface Auth {
17
3
  /**
18
- * ModelRequested is the model that was requested
4
+ * Which part of the request do we use to send the auth?
5
+ *
6
+ * @default 'header'
19
7
  */
20
- model_requested?: string;
8
+ in?: 'header' | 'query' | 'cookie';
21
9
  /**
22
- * Provider is the LLM provider used (e.g., "openai", "anthropic")
10
+ * Header or query parameter name.
11
+ *
12
+ * @default 'Authorization'
23
13
  */
24
- provider?: string;
14
+ name?: string;
15
+ scheme?: 'basic' | 'bearer';
16
+ type: 'apiKey' | 'http';
17
+ }
18
+
19
+ interface SerializerOptions<T> {
25
20
  /**
26
- * RequestType is always "chat_completion"
21
+ * @default true
27
22
  */
28
- request_type?: string;
23
+ explode: boolean;
24
+ style: T;
25
+ }
26
+ type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
27
+ type ObjectStyle = 'form' | 'deepObject';
28
+
29
+ type QuerySerializer = (query: Record<string, unknown>) => string;
30
+ type BodySerializer = (body: unknown) => unknown;
31
+ type QuerySerializerOptionsObject = {
32
+ allowReserved?: boolean;
33
+ array?: Partial<SerializerOptions<ArrayStyle>>;
34
+ object?: Partial<SerializerOptions<ObjectStyle>>;
29
35
  };
30
- type LlmapiChatCompletionRequest = {
31
- any?: unknown;
32
- audio?: OpenaiChatCompletionAudioParam;
33
- frequency_penalty?: ParamOptFloat64;
34
- function_call?: OpenaiChatCompletionNewParamsFunctionCallUnion;
36
+ type QuerySerializerOptions = QuerySerializerOptionsObject & {
35
37
  /**
36
- * Deprecated in favor of `tools`.
37
- *
38
- * A list of functions the model may generate JSON inputs for.
38
+ * Per-parameter serialization overrides. When provided, these settings
39
+ * override the global array/object settings for specific parameter names.
39
40
  */
40
- functions?: Array<OpenaiChatCompletionNewParamsFunction>;
41
+ parameters?: Record<string, QuerySerializerOptionsObject>;
42
+ };
43
+
44
+ type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
45
+ type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
41
46
  /**
42
- * Modify the likelihood of specified tokens appearing in the completion.
43
- *
44
- * Accepts a JSON object that maps tokens (specified by their token ID in the
45
- * tokenizer) to an associated bias value from -100 to 100. Mathematically, the
46
- * bias is added to the logits generated by the model prior to sampling. The exact
47
- * effect will vary per model, but values between -1 and 1 should decrease or
48
- * increase likelihood of selection; values like -100 or 100 should result in a ban
49
- * or exclusive selection of the relevant token.
47
+ * Returns the final request URL.
50
48
  */
51
- logit_bias?: {
52
- [key: string]: number;
49
+ buildUrl: BuildUrlFn;
50
+ getConfig: () => Config;
51
+ request: RequestFn;
52
+ setConfig: (config: Config) => Config;
53
+ } & {
54
+ [K in HttpMethod]: MethodFn;
55
+ } & ([SseFn] extends [never] ? {
56
+ sse?: never;
57
+ } : {
58
+ sse: {
59
+ [K in HttpMethod]: SseFn;
53
60
  };
54
- logprobs?: ParamOptBool;
55
- max_completion_tokens?: ParamOptInt64;
56
- max_tokens?: ParamOptInt64;
61
+ });
62
+ interface Config$1 {
57
63
  /**
58
- * A list of messages comprising the conversation so far. Depending on the
59
- * [model](https://platform.openai.com/docs/models) you use, different message
60
- * types (modalities) are supported, like
61
- * [text](https://platform.openai.com/docs/guides/text-generation),
62
- * [images](https://platform.openai.com/docs/guides/vision), and
63
- * [audio](https://platform.openai.com/docs/guides/audio).
64
+ * Auth token or a function returning auth token. The resolved value will be
65
+ * added to the request payload as defined by its `security` array.
64
66
  */
65
- messages?: Array<OpenaiChatCompletionMessageParamUnion>;
66
- metadata?: SharedMetadata;
67
+ auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
67
68
  /**
68
- * Output types that you would like the model to generate. Most models are capable
69
- * of generating text, which is the default:
70
- *
71
- * `["text"]`
72
- *
73
- * The `gpt-4o-audio-preview` model can also be used to
74
- * [generate audio](https://platform.openai.com/docs/guides/audio). To request that
75
- * this model generate both text and audio responses, you can use:
76
- *
77
- * `["text", "audio"]`
78
- *
79
- * Any of "text", "audio".
69
+ * A function for serializing request body parameter. By default,
70
+ * {@link JSON.stringify()} will be used.
80
71
  */
81
- modalities?: Array<string>;
82
- model?: SharedChatModel;
83
- n?: ParamOptInt64;
84
- parallel_tool_calls?: ParamOptBool;
85
- portal?: LlmapiPortalChatCompletionRequest;
86
- prediction?: OpenaiChatCompletionPredictionContentParam;
87
- presence_penalty?: ParamOptFloat64;
88
- prompt_cache_key?: ParamOptString;
89
- reasoning_effort?: SharedReasoningEffort;
90
- response_format?: OpenaiChatCompletionNewParamsResponseFormatUnion;
91
- safety_identifier?: ParamOptString;
92
- seed?: ParamOptInt64;
93
- service_tier?: OpenaiChatCompletionNewParamsServiceTier;
94
- stop?: OpenaiChatCompletionNewParamsStopUnion;
95
- store?: ParamOptBool;
96
- stream_options?: OpenaiChatCompletionStreamOptionsParam;
97
- temperature?: ParamOptFloat64;
98
- tool_choice?: OpenaiChatCompletionToolChoiceOptionUnionParam;
72
+ bodySerializer?: BodySerializer | null;
99
73
  /**
100
- * A list of tools the model may call. Currently, only functions are supported as a
101
- * tool. Use this to provide a list of functions the model may generate JSON inputs
102
- * for. A max of 128 functions are supported.
74
+ * An object containing any HTTP headers that you want to pre-populate your
75
+ * `Headers` object with.
76
+ *
77
+ * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
103
78
  */
104
- tools?: Array<OpenaiChatCompletionToolParam>;
105
- top_logprobs?: ParamOptInt64;
106
- top_p?: ParamOptFloat64;
107
- user?: ParamOptString;
108
- web_search_options?: OpenaiChatCompletionNewParamsWebSearchOptions;
109
- };
110
- type LlmapiChatCompletionResponse$1 = {
79
+ headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
111
80
  /**
112
- * A list of chat completion choices. Can be more than one if `n` is greater
113
- * than 1.
81
+ * The request method.
82
+ *
83
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
114
84
  */
115
- choices?: Array<OpenaiChatCompletionChoice>;
85
+ method?: Uppercase<HttpMethod>;
116
86
  /**
117
- * The Unix timestamp (in seconds) of when the chat completion was created.
87
+ * A function for serializing request query parameters. By default, arrays
88
+ * will be exploded in form style, objects will be exploded in deepObject
89
+ * style, and reserved characters are percent-encoded.
90
+ *
91
+ * This method will have no effect if the native `paramsSerializer()` Axios
92
+ * API function is used.
93
+ *
94
+ * {@link https://swagger.io/docs/specification/serialization/#query View examples}
118
95
  */
119
- created?: number;
96
+ querySerializer?: QuerySerializer | QuerySerializerOptions;
120
97
  /**
121
- * A unique identifier for the chat completion.
98
+ * A function validating request data. This is useful if you want to ensure
99
+ * the request conforms to the desired shape, so it can be safely sent to
100
+ * the server.
122
101
  */
123
- id?: string;
102
+ requestValidator?: (data: unknown) => Promise<unknown>;
124
103
  /**
125
- * The model used for the chat completion.
104
+ * A function transforming response data before it's returned. This is useful
105
+ * for post-processing data, e.g., converting ISO strings into Date objects.
126
106
  */
127
- model?: string;
107
+ responseTransformer?: (data: unknown) => Promise<unknown>;
128
108
  /**
129
- * The object type, which is always `chat.completion`.
109
+ * A function validating response data. This is useful if you want to ensure
110
+ * the response conforms to the desired shape, so it can be safely passed to
111
+ * the transformers and returned to the user.
130
112
  */
131
- object?: string;
132
- portal?: LlmapiPortalChatCompletionResponse;
133
- service_tier?: OpenaiChatCompletionServiceTier;
113
+ responseValidator?: (data: unknown) => Promise<unknown>;
114
+ }
115
+
116
+ type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
134
117
  /**
135
- * This fingerprint represents the backend configuration that the model runs with.
118
+ * Fetch API implementation. You can use this option to provide a custom
119
+ * fetch instance.
136
120
  *
137
- * Can be used in conjunction with the `seed` request parameter to understand when
138
- * backend changes have been made that might impact determinism.
121
+ * @default globalThis.fetch
139
122
  */
140
- system_fingerprint?: string;
141
- usage?: OpenaiCompletionUsage;
142
- };
143
- type LlmapiEmbeddingData = {
123
+ fetch?: typeof fetch;
144
124
  /**
145
- * Embedding vector
125
+ * Implementing clients can call request interceptors inside this hook.
146
126
  */
147
- embedding?: Array<number>;
127
+ onRequest?: (url: string, init: RequestInit) => Promise<Request>;
148
128
  /**
149
- * Index of the embedding
129
+ * Callback invoked when a network or parsing error occurs during streaming.
130
+ *
131
+ * This option applies only if the endpoint returns a stream of events.
132
+ *
133
+ * @param error The error that occurred.
150
134
  */
151
- index?: number;
135
+ onSseError?: (error: unknown) => void;
152
136
  /**
153
- * Object type identifier
137
+ * Callback invoked when an event is streamed from the server.
138
+ *
139
+ * This option applies only if the endpoint returns a stream of events.
140
+ *
141
+ * @param event Event streamed from the server.
142
+ * @returns Nothing (void).
154
143
  */
155
- object?: string;
156
- };
157
- /**
158
- * ExtraFields contains additional metadata
159
- */
160
- type LlmapiEmbeddingExtraFields = {
144
+ onSseEvent?: (event: StreamEvent<TData>) => void;
145
+ serializedBody?: RequestInit['body'];
161
146
  /**
162
- * ChunkIndex is the chunk index (0 for single requests)
147
+ * Default retry delay in milliseconds.
148
+ *
149
+ * This option applies only if the endpoint returns a stream of events.
150
+ *
151
+ * @default 3000
163
152
  */
164
- chunk_index?: number;
153
+ sseDefaultRetryDelay?: number;
165
154
  /**
166
- * Latency is the request latency in milliseconds
155
+ * Maximum number of retry attempts before giving up.
167
156
  */
168
- latency?: number;
157
+ sseMaxRetryAttempts?: number;
169
158
  /**
170
- * ModelRequested is the model that was requested
159
+ * Maximum retry delay in milliseconds.
160
+ *
161
+ * Applies only when exponential backoff is used.
162
+ *
163
+ * This option applies only if the endpoint returns a stream of events.
164
+ *
165
+ * @default 30000
171
166
  */
172
- model_requested?: string;
167
+ sseMaxRetryDelay?: number;
173
168
  /**
174
- * Provider is the LLM provider used (e.g., "openai", "anthropic")
169
+ * Optional sleep function for retry backoff.
170
+ *
171
+ * Defaults to using `setTimeout`.
175
172
  */
176
- provider?: string;
177
- /**
178
- * RequestType is always "embedding"
179
- */
180
- request_type?: string;
173
+ sseSleepFn?: (ms: number) => Promise<void>;
174
+ url: string;
181
175
  };
182
- type LlmapiEmbeddingRequest = {
183
- /**
184
- * ConversationID groups requests belonging to the same conversation for observability.
185
- * Pass-through only — not forwarded to the LLM provider.
186
- */
187
- conversation_id?: string;
188
- /**
189
- * Dimensions is the number of dimensions the resulting output embeddings should have (optional)
190
- */
191
- dimensions?: number;
192
- /**
193
- * EncodingFormat is the format to return the embeddings in (optional: "float" or "base64")
194
- */
195
- encoding_format?: string;
176
+ interface StreamEvent<TData = unknown> {
177
+ data: TData;
178
+ event?: string;
179
+ id?: string;
180
+ retry?: number;
181
+ }
182
+ type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
183
+ stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
184
+ };
185
+
186
+ type ErrInterceptor<Err, Res, Options> = (error: Err,
187
+ /** response may be undefined due to a network error where no response object is produced */
188
+ response: Res | undefined, options: Options) => Err | Promise<Err>;
189
+ type ReqInterceptor<Options> = (options: Options) => void | Promise<void>;
190
+ type ResInterceptor<Res, Options> = (response: Res, options: Options) => Res | Promise<Res>;
191
+ declare class Interceptors<Interceptor> {
192
+ fns: Array<Interceptor | null>;
193
+ clear(): void;
194
+ eject(id: number | Interceptor): void;
195
+ exists(id: number | Interceptor): boolean;
196
+ getInterceptorIndex(id: number | Interceptor): number;
197
+ update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
198
+ use(fn: Interceptor): number;
199
+ }
200
+ interface Middleware<Res, Err, Options> {
201
+ error: Interceptors<ErrInterceptor<Err, Res, Options>>;
202
+ request: Interceptors<ReqInterceptor<Options>>;
203
+ response: Interceptors<ResInterceptor<Res, Options>>;
204
+ }
205
+
206
+ interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
196
207
  /**
197
- * Input text or tokens to embed (can be string, []string, []int, or [][]int)
208
+ * Base URL for all requests made by this client.
198
209
  */
199
- input: unknown;
210
+ baseUrl?: T['baseUrl'];
200
211
  /**
201
- * Model identifier in 'provider/model' format
212
+ * Fetch API implementation. You can use this option to provide a custom
213
+ * fetch instance.
214
+ *
215
+ * @default globalThis.fetch
202
216
  */
203
- model: string;
204
- };
205
- type LlmapiEmbeddingResponse = {
217
+ fetch?: typeof fetch;
206
218
  /**
207
- * Data contains the embeddings
219
+ * Return the response data parsed in a specified format. By default, `auto`
220
+ * will infer the appropriate method from the `Content-Type` response header.
221
+ * You can override this behavior with any of the {@link Body} methods.
222
+ * Select `stream` if you don't want to parse response data at all.
223
+ *
224
+ * @default 'auto'
208
225
  */
209
- data?: Array<LlmapiEmbeddingData>;
210
- extra_fields?: LlmapiEmbeddingExtraFields;
226
+ parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
211
227
  /**
212
- * InferenceID is the unique identifier for this inference request
228
+ * Throw an error instead of returning it in the response?
229
+ *
230
+ * @default false
213
231
  */
214
- inference_id?: string;
232
+ throwOnError?: T['throwOnError'];
233
+ }
234
+ interface RequestOptions<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
235
+ throwOnError: ThrowOnError;
236
+ }>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
215
237
  /**
216
- * Model is the model used
238
+ * Any body that you want to add to your request.
239
+ *
240
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
217
241
  */
218
- model?: string;
242
+ body?: unknown;
243
+ path?: Record<string, unknown>;
244
+ query?: Record<string, unknown>;
219
245
  /**
220
- * Object is always "list"
246
+ * Security mechanism(s) to use for the request.
221
247
  */
222
- object?: string;
223
- usage?: LlmapiEmbeddingUsage;
248
+ security?: ReadonlyArray<Auth>;
249
+ url: Url;
250
+ }
251
+ interface ResolvedRequestOptions<ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, ThrowOnError, Url> {
252
+ headers: Headers;
253
+ serializedBody?: string;
254
+ }
255
+ type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean> = ThrowOnError extends true ? Promise<{
256
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
257
+ response: Response;
258
+ }> : Promise<({
259
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
260
+ error: undefined;
261
+ } | {
262
+ data: undefined;
263
+ error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
264
+ }) & {
265
+ /** response may be undefined due to a network error where no response object is produced */
266
+ response?: Response;
267
+ }>;
268
+ interface ClientOptions$1 {
269
+ baseUrl?: string;
270
+ throwOnError?: boolean;
271
+ }
272
+ type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false>(options: Omit<RequestOptions<TData, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError>;
273
+ type SseFn = <TData = unknown, _TError = unknown, ThrowOnError extends boolean = false>(options: Omit<RequestOptions<never, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData>>;
274
+ type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false>(options: Omit<RequestOptions<TData, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError>;
275
+ type BuildUrlFn = <TData extends {
276
+ body?: unknown;
277
+ path?: Record<string, unknown>;
278
+ query?: Record<string, unknown>;
279
+ url: string;
280
+ }>(options: TData & Options$1<TData>) => string;
281
+ type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
282
+ interceptors: Middleware<Response, unknown, ResolvedRequestOptions>;
283
+ };
284
+ interface TDataShape {
285
+ body?: unknown;
286
+ headers?: unknown;
287
+ path?: unknown;
288
+ query?: unknown;
289
+ url: string;
290
+ }
291
+ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
292
+ type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys<RequestOptions<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
293
+
294
+ type ClientOptions = {
295
+ baseUrl: `${string}://${string}` | (string & {});
296
+ };
297
+ type McpToolSchema = {
298
+ description?: string;
299
+ name?: string;
300
+ parameters?: unknown;
224
301
  };
225
302
  /**
226
- * Usage contains token usage information
303
+ * ExtraFields contains additional metadata
227
304
  */
228
- type LlmapiEmbeddingUsage = {
305
+ type LlmapiChatCompletionExtraFields = {
229
306
  /**
230
- * CostMicroUSD is the inference cost for this embedding request
307
+ * Latency is the request latency in milliseconds
231
308
  */
232
- cost_micro_usd?: number;
309
+ latency?: number;
233
310
  /**
234
- * CreditsUsed is the number of credits consumed by this embedding request
311
+ * ModelRequested is the model that was requested
235
312
  */
236
- credits_used?: number;
313
+ model_requested?: string;
237
314
  /**
238
- * PricingSource identifies which lookup produced CostMicroUSD; see internal/pricing/source.go.
315
+ * Provider is the LLM provider used (e.g., "openai", "anthropic")
239
316
  */
240
- pricing_source?: string;
317
+ provider?: string;
241
318
  /**
242
- * PromptTokens is the number of tokens in the prompt
319
+ * RequestType is always "chat_completion"
243
320
  */
244
- prompt_tokens?: number;
321
+ request_type?: string;
322
+ };
323
+ type LlmapiChatCompletionRequest = {
324
+ any?: unknown;
325
+ audio?: OpenaiChatCompletionAudioParam;
326
+ frequency_penalty?: ParamOptFloat64;
327
+ function_call?: OpenaiChatCompletionNewParamsFunctionCallUnion;
245
328
  /**
246
- * ProviderCostMicroUSD is what we believe the provider charged us in micro-USD.
247
- * Today equals CostMicroUSD (no markup); kept distinct so future per-tier pricing preserves history.
329
+ * Deprecated in favor of `tools`.
330
+ *
331
+ * A list of functions the model may generate JSON inputs for.
248
332
  */
249
- provider_cost_micro_usd?: number;
333
+ functions?: Array<OpenaiChatCompletionNewParamsFunction>;
250
334
  /**
251
- * TotalTokens is the total number of tokens used
335
+ * Modify the likelihood of specified tokens appearing in the completion.
336
+ *
337
+ * Accepts a JSON object that maps tokens (specified by their token ID in the
338
+ * tokenizer) to an associated bias value from -100 to 100. Mathematically, the
339
+ * bias is added to the logits generated by the model prior to sampling. The exact
340
+ * effect will vary per model, but values between -1 and 1 should decrease or
341
+ * increase likelihood of selection; values like -100 or 100 should result in a ban
342
+ * or exclusive selection of the relevant token.
252
343
  */
253
- total_tokens?: number;
254
- };
255
- type LlmapiMcpTool = {
344
+ logit_bias?: {
345
+ [key: string]: number;
346
+ };
347
+ logprobs?: ParamOptBool;
348
+ max_completion_tokens?: ParamOptInt64;
349
+ max_tokens?: ParamOptInt64;
256
350
  /**
257
- * Description is the description of the tool
351
+ * A list of messages comprising the conversation so far. Depending on the
352
+ * [model](https://platform.openai.com/docs/models) you use, different message
353
+ * types (modalities) are supported, like
354
+ * [text](https://platform.openai.com/docs/guides/text-generation),
355
+ * [images](https://platform.openai.com/docs/guides/vision), and
356
+ * [audio](https://platform.openai.com/docs/guides/audio).
258
357
  */
259
- description?: string;
358
+ messages?: Array<OpenaiChatCompletionMessageParamUnion>;
359
+ metadata?: SharedMetadata;
260
360
  /**
261
- * InputSchema is the JSON schema describing the tool's input
361
+ * Output types that you would like the model to generate. Most models are capable
362
+ * of generating text, which is the default:
363
+ *
364
+ * `["text"]`
365
+ *
366
+ * The `gpt-4o-audio-preview` model can also be used to
367
+ * [generate audio](https://platform.openai.com/docs/guides/audio). To request that
368
+ * this model generate both text and audio responses, you can use:
369
+ *
370
+ * `["text", "audio"]`
371
+ *
372
+ * Any of "text", "audio".
262
373
  */
263
- input_schema?: unknown;
374
+ modalities?: Array<string>;
375
+ model?: SharedChatModel;
376
+ n?: ParamOptInt64;
377
+ parallel_tool_calls?: ParamOptBool;
378
+ portal?: LlmapiPortalChatCompletionRequest;
379
+ prediction?: OpenaiChatCompletionPredictionContentParam;
380
+ presence_penalty?: ParamOptFloat64;
381
+ prompt_cache_key?: ParamOptString;
382
+ reasoning_effort?: SharedReasoningEffort;
383
+ response_format?: OpenaiChatCompletionNewParamsResponseFormatUnion;
384
+ safety_identifier?: ParamOptString;
385
+ seed?: ParamOptInt64;
386
+ service_tier?: OpenaiChatCompletionNewParamsServiceTier;
387
+ stop?: OpenaiChatCompletionNewParamsStopUnion;
388
+ store?: ParamOptBool;
389
+ stream_options?: OpenaiChatCompletionStreamOptionsParam;
390
+ temperature?: ParamOptFloat64;
391
+ tool_choice?: OpenaiChatCompletionToolChoiceOptionUnionParam;
264
392
  /**
265
- * Name is the name of the tool
393
+ * A list of tools the model may call. Currently, only functions are supported as a
394
+ * tool. Use this to provide a list of functions the model may generate JSON inputs
395
+ * for. A max of 128 functions are supported.
266
396
  */
267
- name?: string;
397
+ tools?: Array<OpenaiChatCompletionToolParam>;
398
+ top_logprobs?: ParamOptInt64;
399
+ top_p?: ParamOptFloat64;
400
+ user?: ParamOptString;
401
+ web_search_options?: OpenaiChatCompletionNewParamsWebSearchOptions;
268
402
  };
269
- type LlmapiMessage = {
403
+ type LlmapiChatCompletionResponse$1 = {
270
404
  /**
271
- * Content is the message content
405
+ * A list of chat completion choices. Can be more than one if `n` is greater
406
+ * than 1.
272
407
  */
273
- content?: Array<LlmapiMessageContentPart>;
274
- role?: LlmapiRole;
408
+ choices?: Array<OpenaiChatCompletionChoice>;
275
409
  /**
276
- * ToolCallID is the ID of the tool call this message is responding to (only for tool role)
410
+ * The Unix timestamp (in seconds) of when the chat completion was created.
277
411
  */
278
- tool_call_id?: string;
412
+ created?: number;
279
413
  /**
280
- * ToolCalls contains tool/function calls made by the assistant (only for assistant role)
414
+ * A unique identifier for the chat completion.
281
415
  */
282
- tool_calls?: Array<LlmapiToolCall>;
416
+ id?: string;
417
+ /**
418
+ * The model used for the chat completion.
419
+ */
420
+ model?: string;
421
+ /**
422
+ * The object type, which is always `chat.completion`.
423
+ */
424
+ object?: string;
425
+ portal?: LlmapiPortalChatCompletionResponse;
426
+ service_tier?: OpenaiChatCompletionServiceTier;
427
+ /**
428
+ * This fingerprint represents the backend configuration that the model runs with.
429
+ *
430
+ * Can be used in conjunction with the `seed` request parameter to understand when
431
+ * backend changes have been made that might impact determinism.
432
+ */
433
+ system_fingerprint?: string;
434
+ usage?: OpenaiCompletionUsage;
435
+ };
436
+ type LlmapiEmbeddingData = {
437
+ /**
438
+ * Embedding vector
439
+ */
440
+ embedding?: Array<number>;
441
+ /**
442
+ * Index of the embedding
443
+ */
444
+ index?: number;
445
+ /**
446
+ * Object type identifier
447
+ */
448
+ object?: string;
449
+ };
450
+ /**
451
+ * ExtraFields contains additional metadata
452
+ */
453
+ type LlmapiEmbeddingExtraFields = {
454
+ /**
455
+ * ChunkIndex is the chunk index (0 for single requests)
456
+ */
457
+ chunk_index?: number;
458
+ /**
459
+ * Latency is the request latency in milliseconds
460
+ */
461
+ latency?: number;
462
+ /**
463
+ * ModelRequested is the model that was requested
464
+ */
465
+ model_requested?: string;
466
+ /**
467
+ * Provider is the LLM provider used (e.g., "openai", "anthropic")
468
+ */
469
+ provider?: string;
470
+ /**
471
+ * RequestType is always "embedding"
472
+ */
473
+ request_type?: string;
474
+ };
475
+ type LlmapiEmbeddingRequest = {
476
+ /**
477
+ * ConversationID groups requests belonging to the same conversation for observability.
478
+ * Pass-through only — not forwarded to the LLM provider.
479
+ */
480
+ conversation_id?: string;
481
+ /**
482
+ * Dimensions is the number of dimensions the resulting output embeddings should have (optional)
483
+ */
484
+ dimensions?: number;
485
+ /**
486
+ * EncodingFormat is the format to return the embeddings in (optional: "float" or "base64")
487
+ */
488
+ encoding_format?: string;
489
+ /**
490
+ * Input text or tokens to embed (can be string, []string, []int, or [][]int)
491
+ */
492
+ input: unknown;
493
+ /**
494
+ * Model identifier in 'provider/model' format
495
+ */
496
+ model: string;
497
+ };
498
+ type LlmapiEmbeddingResponse = {
499
+ /**
500
+ * Data contains the embeddings
501
+ */
502
+ data?: Array<LlmapiEmbeddingData>;
503
+ extra_fields?: LlmapiEmbeddingExtraFields;
504
+ /**
505
+ * InferenceID is the unique identifier for this inference request
506
+ */
507
+ inference_id?: string;
508
+ /**
509
+ * Model is the model used
510
+ */
511
+ model?: string;
512
+ /**
513
+ * Object is always "list"
514
+ */
515
+ object?: string;
516
+ usage?: LlmapiEmbeddingUsage;
517
+ };
518
+ /**
519
+ * Usage contains token usage information
520
+ */
521
+ type LlmapiEmbeddingUsage = {
522
+ /**
523
+ * CostMicroUSD is the inference cost for this embedding request
524
+ */
525
+ cost_micro_usd?: number;
526
+ /**
527
+ * CreditsUsed is the number of credits consumed by this embedding request
528
+ */
529
+ credits_used?: number;
530
+ /**
531
+ * PricingSource identifies which lookup produced CostMicroUSD; see internal/pricing/source.go.
532
+ */
533
+ pricing_source?: string;
534
+ /**
535
+ * PromptTokens is the number of tokens in the prompt
536
+ */
537
+ prompt_tokens?: number;
538
+ /**
539
+ * ProviderCostMicroUSD is what we believe the provider charged us in micro-USD.
540
+ * Today equals CostMicroUSD (no markup); kept distinct so future per-tier pricing preserves history.
541
+ */
542
+ provider_cost_micro_usd?: number;
543
+ /**
544
+ * TotalTokens is the total number of tokens used
545
+ */
546
+ total_tokens?: number;
547
+ };
548
+ type LlmapiMcpTool = {
549
+ /**
550
+ * Description is the description of the tool
551
+ */
552
+ description?: string;
553
+ /**
554
+ * InputSchema is the JSON schema describing the tool's input
555
+ */
556
+ input_schema?: unknown;
557
+ /**
558
+ * Name is the name of the tool
559
+ */
560
+ name?: string;
561
+ };
562
+ type LlmapiMessage = {
563
+ /**
564
+ * Content is the message content
565
+ */
566
+ content?: Array<LlmapiMessageContentPart>;
567
+ role?: LlmapiRole;
568
+ /**
569
+ * ToolCallID is the ID of the tool call this message is responding to (only for tool role)
570
+ */
571
+ tool_call_id?: string;
572
+ /**
573
+ * ToolCalls contains tool/function calls made by the assistant (only for assistant role)
574
+ */
575
+ tool_calls?: Array<LlmapiToolCall>;
283
576
  /**
284
577
  * Type is the message type (for Responses API: "message")
285
578
  */
@@ -6281,296 +6574,7 @@ type GetHealthResponses = {
6281
6574
  };
6282
6575
  type GetHealthResponse = GetHealthResponses[keyof GetHealthResponses];
6283
6576
 
6284
- type AuthToken = string | undefined;
6285
- interface Auth {
6286
- /**
6287
- * Which part of the request do we use to send the auth?
6288
- *
6289
- * @default 'header'
6290
- */
6291
- in?: 'header' | 'query' | 'cookie';
6292
- /**
6293
- * Header or query parameter name.
6294
- *
6295
- * @default 'Authorization'
6296
- */
6297
- name?: string;
6298
- scheme?: 'basic' | 'bearer';
6299
- type: 'apiKey' | 'http';
6300
- }
6301
-
6302
- interface SerializerOptions<T> {
6303
- /**
6304
- * @default true
6305
- */
6306
- explode: boolean;
6307
- style: T;
6308
- }
6309
- type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
6310
- type ObjectStyle = 'form' | 'deepObject';
6311
-
6312
- type QuerySerializer = (query: Record<string, unknown>) => string;
6313
- type BodySerializer = (body: any) => any;
6314
- type QuerySerializerOptionsObject = {
6315
- allowReserved?: boolean;
6316
- array?: Partial<SerializerOptions<ArrayStyle>>;
6317
- object?: Partial<SerializerOptions<ObjectStyle>>;
6318
- };
6319
- type QuerySerializerOptions = QuerySerializerOptionsObject & {
6320
- /**
6321
- * Per-parameter serialization overrides. When provided, these settings
6322
- * override the global array/object settings for specific parameter names.
6323
- */
6324
- parameters?: Record<string, QuerySerializerOptionsObject>;
6325
- };
6326
-
6327
- type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
6328
- type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
6329
- /**
6330
- * Returns the final request URL.
6331
- */
6332
- buildUrl: BuildUrlFn;
6333
- getConfig: () => Config;
6334
- request: RequestFn;
6335
- setConfig: (config: Config) => Config;
6336
- } & {
6337
- [K in HttpMethod]: MethodFn;
6338
- } & ([SseFn] extends [never] ? {
6339
- sse?: never;
6340
- } : {
6341
- sse: {
6342
- [K in HttpMethod]: SseFn;
6343
- };
6344
- });
6345
- interface Config$1 {
6346
- /**
6347
- * Auth token or a function returning auth token. The resolved value will be
6348
- * added to the request payload as defined by its `security` array.
6349
- */
6350
- auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
6351
- /**
6352
- * A function for serializing request body parameter. By default,
6353
- * {@link JSON.stringify()} will be used.
6354
- */
6355
- bodySerializer?: BodySerializer | null;
6356
- /**
6357
- * An object containing any HTTP headers that you want to pre-populate your
6358
- * `Headers` object with.
6359
- *
6360
- * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
6361
- */
6362
- headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
6363
- /**
6364
- * The request method.
6365
- *
6366
- * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
6367
- */
6368
- method?: Uppercase<HttpMethod>;
6369
- /**
6370
- * A function for serializing request query parameters. By default, arrays
6371
- * will be exploded in form style, objects will be exploded in deepObject
6372
- * style, and reserved characters are percent-encoded.
6373
- *
6374
- * This method will have no effect if the native `paramsSerializer()` Axios
6375
- * API function is used.
6376
- *
6377
- * {@link https://swagger.io/docs/specification/serialization/#query View examples}
6378
- */
6379
- querySerializer?: QuerySerializer | QuerySerializerOptions;
6380
- /**
6381
- * A function validating request data. This is useful if you want to ensure
6382
- * the request conforms to the desired shape, so it can be safely sent to
6383
- * the server.
6384
- */
6385
- requestValidator?: (data: unknown) => Promise<unknown>;
6386
- /**
6387
- * A function transforming response data before it's returned. This is useful
6388
- * for post-processing data, e.g. converting ISO strings into Date objects.
6389
- */
6390
- responseTransformer?: (data: unknown) => Promise<unknown>;
6391
- /**
6392
- * A function validating response data. This is useful if you want to ensure
6393
- * the response conforms to the desired shape, so it can be safely passed to
6394
- * the transformers and returned to the user.
6395
- */
6396
- responseValidator?: (data: unknown) => Promise<unknown>;
6397
- }
6398
-
6399
- type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
6400
- /**
6401
- * Fetch API implementation. You can use this option to provide a custom
6402
- * fetch instance.
6403
- *
6404
- * @default globalThis.fetch
6405
- */
6406
- fetch?: typeof fetch;
6407
- /**
6408
- * Implementing clients can call request interceptors inside this hook.
6409
- */
6410
- onRequest?: (url: string, init: RequestInit) => Promise<Request>;
6411
- /**
6412
- * Callback invoked when a network or parsing error occurs during streaming.
6413
- *
6414
- * This option applies only if the endpoint returns a stream of events.
6415
- *
6416
- * @param error The error that occurred.
6417
- */
6418
- onSseError?: (error: unknown) => void;
6419
- /**
6420
- * Callback invoked when an event is streamed from the server.
6421
- *
6422
- * This option applies only if the endpoint returns a stream of events.
6423
- *
6424
- * @param event Event streamed from the server.
6425
- * @returns Nothing (void).
6426
- */
6427
- onSseEvent?: (event: StreamEvent<TData>) => void;
6428
- serializedBody?: RequestInit['body'];
6429
- /**
6430
- * Default retry delay in milliseconds.
6431
- *
6432
- * This option applies only if the endpoint returns a stream of events.
6433
- *
6434
- * @default 3000
6435
- */
6436
- sseDefaultRetryDelay?: number;
6437
- /**
6438
- * Maximum number of retry attempts before giving up.
6439
- */
6440
- sseMaxRetryAttempts?: number;
6441
- /**
6442
- * Maximum retry delay in milliseconds.
6443
- *
6444
- * Applies only when exponential backoff is used.
6445
- *
6446
- * This option applies only if the endpoint returns a stream of events.
6447
- *
6448
- * @default 30000
6449
- */
6450
- sseMaxRetryDelay?: number;
6451
- /**
6452
- * Optional sleep function for retry backoff.
6453
- *
6454
- * Defaults to using `setTimeout`.
6455
- */
6456
- sseSleepFn?: (ms: number) => Promise<void>;
6457
- url: string;
6458
- };
6459
- interface StreamEvent<TData = unknown> {
6460
- data: TData;
6461
- event?: string;
6462
- id?: string;
6463
- retry?: number;
6464
- }
6465
- type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
6466
- stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
6467
- };
6468
-
6469
- type ErrInterceptor<Err, Res, Options> = (error: Err, response: Res, options: Options) => Err | Promise<Err>;
6470
- type ReqInterceptor<Options> = (options: Options) => void | Promise<void>;
6471
- type ResInterceptor<Res, Options> = (response: Res, options: Options) => Res | Promise<Res>;
6472
- declare class Interceptors<Interceptor> {
6473
- fns: Array<Interceptor | null>;
6474
- clear(): void;
6475
- eject(id: number | Interceptor): void;
6476
- exists(id: number | Interceptor): boolean;
6477
- getInterceptorIndex(id: number | Interceptor): number;
6478
- update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
6479
- use(fn: Interceptor): number;
6480
- }
6481
- interface Middleware<Res, Err, Options> {
6482
- error: Interceptors<ErrInterceptor<Err, Res, Options>>;
6483
- request: Interceptors<ReqInterceptor<Options>>;
6484
- response: Interceptors<ResInterceptor<Res, Options>>;
6485
- }
6486
-
6487
- interface Config<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
6488
- /**
6489
- * Base URL for all requests made by this client.
6490
- */
6491
- baseUrl?: T['baseUrl'];
6492
- /**
6493
- * Fetch API implementation. You can use this option to provide a custom
6494
- * fetch instance.
6495
- *
6496
- * @default globalThis.fetch
6497
- */
6498
- fetch?: typeof fetch;
6499
- /**
6500
- * Return the response data parsed in a specified format. By default, `auto`
6501
- * will infer the appropriate method from the `Content-Type` response header.
6502
- * You can override this behavior with any of the {@link Body} methods.
6503
- * Select `stream` if you don't want to parse response data at all.
6504
- *
6505
- * @default 'auto'
6506
- */
6507
- parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
6508
- /**
6509
- * Throw an error instead of returning it in the response?
6510
- *
6511
- * @default false
6512
- */
6513
- throwOnError?: T['throwOnError'];
6514
- }
6515
- interface RequestOptions<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
6516
- throwOnError: ThrowOnError;
6517
- }>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
6518
- /**
6519
- * Any body that you want to add to your request.
6520
- *
6521
- * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
6522
- */
6523
- body?: unknown;
6524
- path?: Record<string, unknown>;
6525
- query?: Record<string, unknown>;
6526
- /**
6527
- * Security mechanism(s) to use for the request.
6528
- */
6529
- security?: ReadonlyArray<Auth>;
6530
- url: Url;
6531
- }
6532
- interface ResolvedRequestOptions<ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, ThrowOnError, Url> {
6533
- serializedBody?: string;
6534
- }
6535
- type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean> = ThrowOnError extends true ? Promise<{
6536
- data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
6537
- response: Response;
6538
- }> : Promise<({
6539
- data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
6540
- error: undefined;
6541
- } | {
6542
- data: undefined;
6543
- error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
6544
- }) & {
6545
- response: Response;
6546
- }>;
6547
- interface ClientOptions {
6548
- baseUrl?: string;
6549
- throwOnError?: boolean;
6550
- }
6551
- type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false>(options: Omit<RequestOptions<TData, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError>;
6552
- type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false>(options: Omit<RequestOptions<TData, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
6553
- type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false>(options: Omit<RequestOptions<TData, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError>;
6554
- type BuildUrlFn = <TData extends {
6555
- body?: unknown;
6556
- path?: Record<string, unknown>;
6557
- query?: Record<string, unknown>;
6558
- url: string;
6559
- }>(options: TData & Options$1<TData>) => string;
6560
- type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
6561
- interceptors: Middleware<Response, unknown, ResolvedRequestOptions>;
6562
- };
6563
- interface TDataShape {
6564
- body?: unknown;
6565
- headers?: unknown;
6566
- path?: unknown;
6567
- query?: unknown;
6568
- url: string;
6569
- }
6570
- type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
6571
- type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys<RequestOptions<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
6572
-
6573
- type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
6577
+ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
6574
6578
  /**
6575
6579
  * You can provide a client instance returned by `createClient()` instead of
6576
6580
  * individual options. This might be also useful if you want to implement a
@@ -8700,4 +8704,4 @@ declare function clearLazyTitleCache(): void;
8700
8704
  */
8701
8705
  declare function decryptConversationTitle(encryptedTitle: string, address: string): Promise<string>;
8702
8706
 
8703
- 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, type ClientOptions$1 as 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 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, TOOL_CATALOG, type ToolSet, activatedToolSetNames, analyzeStyle, applyToolSets, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, clearLazyTitleCache, consoleLogger, cosineInt8, createServerToolsFilter, createStreamingDeAnonymizer, decryptConversationTitle, defaultServerToolsFilter, deleteApiV1Account, deleteApiV1AdminAgentsById, deleteApiV1AdminAppsByAppIdApiKeysById, deleteApiV1AdminAppsById, deleteApiV1AdminPersonasById, deleteApiV1AdminTextReset, deleteApiV1DeveloperAppsByAppUuid, deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId, deleteApiV1DeveloperAppsByAppUuidPrivy, deleteApiV1UserApiKeysByKeyId, deleteApiV1WalletsBindingByAddress, dequantizeEmbedding, expandToolSetsAdditive, 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, 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, toolSetSystemPrompts, withSseKeepalive };
8707
+ 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, 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 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, TOOL_CATALOG, type ToolSet, activatedToolSetNames, analyzeStyle, applyToolSets, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, clearLazyTitleCache, consoleLogger, cosineInt8, createServerToolsFilter, createStreamingDeAnonymizer, decryptConversationTitle, defaultServerToolsFilter, deleteApiV1Account, deleteApiV1AdminAgentsById, deleteApiV1AdminAppsByAppIdApiKeysById, deleteApiV1AdminAppsById, deleteApiV1AdminPersonasById, deleteApiV1AdminTextReset, deleteApiV1DeveloperAppsByAppUuid, deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId, deleteApiV1DeveloperAppsByAppUuidPrivy, deleteApiV1UserApiKeysByKeyId, deleteApiV1WalletsBindingByAddress, dequantizeEmbedding, expandToolSetsAdditive, 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, 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, toolSetSystemPrompts, withSseKeepalive };