ugly-app 0.1.577 → 0.1.579
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/cli/version.d.ts +1 -1
- package/dist/cli/version.js +1 -1
- package/dist/client/components/KeyboardProvider.d.ts.map +1 -1
- package/dist/client/components/KeyboardProvider.js +74 -31
- package/dist/client/components/KeyboardProvider.js.map +1 -1
- package/dist/server/PushSend.d.ts.map +1 -1
- package/dist/server/PushSend.js +6 -7
- package/dist/server/PushSend.js.map +1 -1
- package/dist/server/User.d.ts.map +1 -1
- package/dist/server/User.js +4 -1
- package/dist/server/User.js.map +1 -1
- package/dist/server/ai/providers/UglyBotImageGenProvider.d.ts.map +1 -1
- package/dist/server/ai/providers/UglyBotImageGenProvider.js +7 -6
- package/dist/server/ai/providers/UglyBotImageGenProvider.js.map +1 -1
- package/dist/server/ai/providers/UglyBotTextGenProvider.d.ts.map +1 -1
- package/dist/server/ai/providers/UglyBotTextGenProvider.js +23 -7
- package/dist/server/ai/providers/UglyBotTextGenProvider.js.map +1 -1
- package/dist/server/embeddings/providers/OpenAI.js.map +1 -1
- package/dist/server/uglyBotProxy.d.ts +16 -1
- package/dist/server/uglyBotProxy.d.ts.map +1 -1
- package/dist/server/uglyBotProxy.js +28 -4
- package/dist/server/uglyBotProxy.js.map +1 -1
- package/dist/shared/ProxyOps.d.ts +747 -0
- package/dist/shared/ProxyOps.d.ts.map +1 -0
- package/dist/shared/ProxyOps.js +272 -0
- package/dist/shared/ProxyOps.js.map +1 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +1 -0
- package/dist/shared/index.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/version.ts +1 -1
- package/src/client/components/KeyboardProvider.tsx +70 -15
- package/src/server/PushSend.ts +7 -9
- package/src/server/User.ts +4 -1
- package/src/server/ai/providers/UglyBotImageGenProvider.ts +13 -21
- package/src/server/ai/providers/UglyBotTextGenProvider.ts +47 -37
- package/src/server/embeddings/providers/OpenAI.ts +1 -1
- package/src/server/uglyBotProxy.ts +48 -10
- package/src/shared/ProxyOps.ts +301 -0
- package/src/shared/index.ts +1 -0
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const embedImageInputSchema: z.ZodObject<{
|
|
3
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5
|
+
imageBase64: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const embedTextInputSchema: z.ZodObject<{
|
|
8
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
text: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const extractColorsInputSchema: z.ZodObject<{
|
|
12
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
14
|
+
imageBase64: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export declare const embeddingOutputSchema: z.ZodObject<{
|
|
17
|
+
embedding: z.ZodArray<z.ZodNumber>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export declare const embedGenInputSchema: z.ZodObject<{
|
|
20
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
+
texts: z.ZodArray<z.ZodString>;
|
|
22
|
+
model: z.ZodOptional<z.ZodString>;
|
|
23
|
+
dimensions: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export declare const embedGenOutputSchema: z.ZodObject<{
|
|
26
|
+
embeddings: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export declare const extractColorsOutputSchema: z.ZodObject<{
|
|
29
|
+
colorCodes: z.ZodArray<z.ZodString>;
|
|
30
|
+
filterStats: z.ZodObject<{
|
|
31
|
+
total: z.ZodNumber;
|
|
32
|
+
white: z.ZodNumber;
|
|
33
|
+
black: z.ZodNumber;
|
|
34
|
+
gray: z.ZodNumber;
|
|
35
|
+
skin: z.ZodNumber;
|
|
36
|
+
surviving: z.ZodNumber;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export declare const foursquareSearchInputSchema: z.ZodObject<{
|
|
40
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
query: z.ZodString;
|
|
42
|
+
latitude: z.ZodNumber;
|
|
43
|
+
longitude: z.ZodNumber;
|
|
44
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
excludeChains: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
export declare const foursquareSearchOutputSchema: z.ZodObject<{
|
|
49
|
+
places: z.ZodArray<z.ZodObject<{
|
|
50
|
+
fsq_place_id: z.ZodString;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
53
|
+
formatted_address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
locality: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
region: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
58
|
+
id: z.ZodNumber;
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
}, z.core.$strip>>>;
|
|
61
|
+
chains: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
62
|
+
id: z.ZodString;
|
|
63
|
+
name: z.ZodString;
|
|
64
|
+
}, z.core.$strip>>>;
|
|
65
|
+
website: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strip>>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
export declare const ticketmasterSearchInputSchema: z.ZodObject<{
|
|
69
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
|
+
latitude: z.ZodNumber;
|
|
71
|
+
longitude: z.ZodNumber;
|
|
72
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
74
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
75
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
76
|
+
music: "music";
|
|
77
|
+
sports: "sports";
|
|
78
|
+
arts: "arts";
|
|
79
|
+
theater: "theater";
|
|
80
|
+
family: "family";
|
|
81
|
+
}>>>;
|
|
82
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
export declare const ticketmasterSearchOutputSchema: z.ZodObject<{
|
|
85
|
+
events: z.ZodArray<z.ZodObject<{}, z.core.$loose>>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
export declare const searchInputSchema: z.ZodObject<{
|
|
88
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
|
+
kind: z.ZodEnum<{
|
|
90
|
+
search: "search";
|
|
91
|
+
summarize: "summarize";
|
|
92
|
+
enrichWeb: "enrichWeb";
|
|
93
|
+
enrichNews: "enrichNews";
|
|
94
|
+
}>;
|
|
95
|
+
query: z.ZodOptional<z.ZodString>;
|
|
96
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
url: z.ZodOptional<z.ZodString>;
|
|
98
|
+
text: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
export declare const searchOutputSchema: z.ZodUnknown;
|
|
101
|
+
export declare const ttsRenderInputSchema: z.ZodObject<{
|
|
102
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
103
|
+
text: z.ZodString;
|
|
104
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
105
|
+
model: z.ZodOptional<z.ZodString>;
|
|
106
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
requestVisemes: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
export declare const ttsRenderOutputSchema: z.ZodObject<{
|
|
110
|
+
audio: z.ZodString;
|
|
111
|
+
sampleRate: z.ZodNumber;
|
|
112
|
+
audioFormat: z.ZodString;
|
|
113
|
+
visemes: z.ZodArray<z.ZodObject<{
|
|
114
|
+
name: z.ZodString;
|
|
115
|
+
startMs: z.ZodNumber;
|
|
116
|
+
durationMs: z.ZodNumber;
|
|
117
|
+
intensity: z.ZodNumber;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
words: z.ZodArray<z.ZodObject<{
|
|
120
|
+
word: z.ZodString;
|
|
121
|
+
startMs: z.ZodNumber;
|
|
122
|
+
durationMs: z.ZodNumber;
|
|
123
|
+
charStartIndex: z.ZodNumber;
|
|
124
|
+
charEndIndex: z.ZodNumber;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
durationMs: z.ZodNumber;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
export declare const transcribeInputSchema: z.ZodObject<{
|
|
129
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
+
audio: z.ZodString;
|
|
131
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
132
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
133
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
134
|
+
requestWords: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
export declare const transcribeOutputSchema: z.ZodObject<{
|
|
137
|
+
text: z.ZodString;
|
|
138
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
139
|
+
words: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
|
+
word: z.ZodString;
|
|
141
|
+
startMs: z.ZodNumber;
|
|
142
|
+
durationMs: z.ZodNumber;
|
|
143
|
+
}, z.core.$strip>>>;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
export declare const sendPushInputSchema: z.ZodObject<{
|
|
146
|
+
userId: z.ZodString;
|
|
147
|
+
notification: z.ZodObject<{
|
|
148
|
+
title: z.ZodString;
|
|
149
|
+
body: z.ZodString;
|
|
150
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
151
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
export declare const projectPushInputSchema: z.ZodObject<{
|
|
155
|
+
targetUserId: z.ZodString;
|
|
156
|
+
title: z.ZodString;
|
|
157
|
+
body: z.ZodString;
|
|
158
|
+
path: z.ZodOptional<z.ZodString>;
|
|
159
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
export declare const pushSendInputSchema: z.ZodObject<{
|
|
162
|
+
targetUserId: z.ZodString;
|
|
163
|
+
title: z.ZodString;
|
|
164
|
+
body: z.ZodString;
|
|
165
|
+
path: z.ZodOptional<z.ZodString>;
|
|
166
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
export declare const pushOutputSchema: z.ZodObject<{
|
|
169
|
+
sent: z.ZodBoolean;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
export declare const userGetInputSchema: z.ZodObject<{
|
|
172
|
+
userId: z.ZodString;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
export declare const userGetOutputSchema: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
175
|
+
export declare const userPublicBatchInputSchema: z.ZodObject<{
|
|
176
|
+
userIds: z.ZodArray<z.ZodString>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
export declare const userPublicBatchOutputSchema: z.ZodObject<{
|
|
179
|
+
profiles: z.ZodArray<z.ZodObject<{
|
|
180
|
+
id: z.ZodString;
|
|
181
|
+
name: z.ZodNullable<z.ZodString>;
|
|
182
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
183
|
+
backgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
export declare const billingUsageGetInputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
187
|
+
export declare const billingUsageGetOutputSchema: z.ZodObject<{}, z.core.$loose>;
|
|
188
|
+
export declare const addFundsCheckoutInputSchema: z.ZodObject<{
|
|
189
|
+
amountUsd: z.ZodNumber;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
export declare const checkoutUrlOutputSchema: z.ZodObject<{
|
|
192
|
+
url: z.ZodString;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
export declare const stripeBillingSessionInputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
195
|
+
export declare const proxyOps: {
|
|
196
|
+
readonly textGen: {
|
|
197
|
+
readonly input: z.ZodObject<{
|
|
198
|
+
model: z.ZodEnum<{
|
|
199
|
+
llama_4_scout: "llama_4_scout";
|
|
200
|
+
llama_3_3_70b: "llama_3_3_70b";
|
|
201
|
+
deepseek_v4_pro: "deepseek_v4_pro";
|
|
202
|
+
deepseek_v4_flash: "deepseek_v4_flash";
|
|
203
|
+
gpt_oss_120b: "gpt_oss_120b";
|
|
204
|
+
gemini_2_5_flash: "gemini_2_5_flash";
|
|
205
|
+
gemini_2_5: "gemini_2_5";
|
|
206
|
+
gemini_3_1_pro: "gemini_3_1_pro";
|
|
207
|
+
gpt_4o: "gpt_4o";
|
|
208
|
+
gpt_5: "gpt_5";
|
|
209
|
+
gpt_5_mini: "gpt_5_mini";
|
|
210
|
+
gpt_5_4: "gpt_5_4";
|
|
211
|
+
gpt_5_5: "gpt_5_5";
|
|
212
|
+
o3: "o3";
|
|
213
|
+
o4_mini: "o4_mini";
|
|
214
|
+
claude_opus_4_7: "claude_opus_4_7";
|
|
215
|
+
claude_sonnet_4_6: "claude_sonnet_4_6";
|
|
216
|
+
claude_haiku_4_5: "claude_haiku_4_5";
|
|
217
|
+
gemma_4_31b: "gemma_4_31b";
|
|
218
|
+
gemma_4_26b: "gemma_4_26b";
|
|
219
|
+
minimax_m2_5: "minimax_m2_5";
|
|
220
|
+
minimax_m2_7: "minimax_m2_7";
|
|
221
|
+
mimo_v2_5_pro: "mimo_v2_5_pro";
|
|
222
|
+
glm_5_1: "glm_5_1";
|
|
223
|
+
glm_4_6: "glm_4_6";
|
|
224
|
+
qwen3_6_coder_plus: "qwen3_6_coder_plus";
|
|
225
|
+
qwen3_6_coder_30b_a3b: "qwen3_6_coder_30b_a3b";
|
|
226
|
+
qwen3_max_thinking: "qwen3_max_thinking";
|
|
227
|
+
kimi_k2_thinking: "kimi_k2_thinking";
|
|
228
|
+
kimi_k2_6: "kimi_k2_6";
|
|
229
|
+
grok_4: "grok_4";
|
|
230
|
+
grok_4_20: "grok_4_20";
|
|
231
|
+
grok_4_3: "grok_4_3";
|
|
232
|
+
grok_4_fast: "grok_4_fast";
|
|
233
|
+
step_3_5_flash: "step_3_5_flash";
|
|
234
|
+
hy3_preview: "hy3_preview";
|
|
235
|
+
}>;
|
|
236
|
+
messages: z.ZodArray<z.ZodType<import("./TextGen.js").Message, unknown, z.core.$ZodTypeInternals<import("./TextGen.js").Message, unknown>>>;
|
|
237
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
238
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
239
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
240
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
241
|
+
topK: z.ZodOptional<z.ZodNumber>;
|
|
242
|
+
frequencyPenalty: z.ZodOptional<z.ZodNumber>;
|
|
243
|
+
presencePenalty: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
repetitionPenalty: z.ZodOptional<z.ZodNumber>;
|
|
245
|
+
captureDebugInfo: z.ZodOptional<z.ZodBoolean>;
|
|
246
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
247
|
+
fast: "fast";
|
|
248
|
+
cheap: "cheap";
|
|
249
|
+
}>>;
|
|
250
|
+
}, z.core.$strip>>;
|
|
251
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
description: z.ZodString;
|
|
254
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
255
|
+
type: z.ZodLiteral<"object">;
|
|
256
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
257
|
+
required: z.ZodArray<z.ZodString>;
|
|
258
|
+
additionalProperties: z.ZodOptional<z.ZodLiteral<false>>;
|
|
259
|
+
}, z.core.$strip>>;
|
|
260
|
+
}, z.core.$strip>>>;
|
|
261
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
262
|
+
}, z.core.$strip>;
|
|
263
|
+
readonly output: z.ZodNullable<z.ZodNullable<z.ZodObject<{
|
|
264
|
+
message: z.ZodObject<{
|
|
265
|
+
role: z.ZodEnum<{
|
|
266
|
+
user: "user";
|
|
267
|
+
system: "system";
|
|
268
|
+
assistant: "assistant";
|
|
269
|
+
memory: "memory";
|
|
270
|
+
}>;
|
|
271
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
272
|
+
type: z.ZodLiteral<"text">;
|
|
273
|
+
text: z.ZodString;
|
|
274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
275
|
+
type: z.ZodLiteral<"image">;
|
|
276
|
+
source: z.ZodObject<{
|
|
277
|
+
type: z.ZodLiteral<"base64">;
|
|
278
|
+
media_type: z.ZodString;
|
|
279
|
+
data: z.ZodString;
|
|
280
|
+
}, z.core.$strip>;
|
|
281
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
282
|
+
type: z.ZodLiteral<"tool_use">;
|
|
283
|
+
id: z.ZodString;
|
|
284
|
+
name: z.ZodString;
|
|
285
|
+
input: z.ZodUnknown;
|
|
286
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
287
|
+
type: z.ZodLiteral<"tool_result">;
|
|
288
|
+
tool_use_id: z.ZodString;
|
|
289
|
+
content: z.ZodString;
|
|
290
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
291
|
+
type: z.ZodLiteral<"thinking">;
|
|
292
|
+
thinking: z.ZodOptional<z.ZodString>;
|
|
293
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
294
|
+
redacted_data: z.ZodOptional<z.ZodString>;
|
|
295
|
+
}, z.core.$strip>]>>]>;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
raw: z.ZodNullable<z.ZodUnknown>;
|
|
298
|
+
}, z.core.$strip>>>;
|
|
299
|
+
};
|
|
300
|
+
readonly jsonGen: {
|
|
301
|
+
readonly input: z.ZodObject<{
|
|
302
|
+
model: z.ZodEnum<{
|
|
303
|
+
llama_4_scout: "llama_4_scout";
|
|
304
|
+
llama_3_3_70b: "llama_3_3_70b";
|
|
305
|
+
deepseek_v4_pro: "deepseek_v4_pro";
|
|
306
|
+
deepseek_v4_flash: "deepseek_v4_flash";
|
|
307
|
+
gpt_oss_120b: "gpt_oss_120b";
|
|
308
|
+
gemini_2_5_flash: "gemini_2_5_flash";
|
|
309
|
+
gemini_2_5: "gemini_2_5";
|
|
310
|
+
gemini_3_1_pro: "gemini_3_1_pro";
|
|
311
|
+
gpt_4o: "gpt_4o";
|
|
312
|
+
gpt_5: "gpt_5";
|
|
313
|
+
gpt_5_mini: "gpt_5_mini";
|
|
314
|
+
gpt_5_4: "gpt_5_4";
|
|
315
|
+
gpt_5_5: "gpt_5_5";
|
|
316
|
+
o3: "o3";
|
|
317
|
+
o4_mini: "o4_mini";
|
|
318
|
+
claude_opus_4_7: "claude_opus_4_7";
|
|
319
|
+
claude_sonnet_4_6: "claude_sonnet_4_6";
|
|
320
|
+
claude_haiku_4_5: "claude_haiku_4_5";
|
|
321
|
+
gemma_4_31b: "gemma_4_31b";
|
|
322
|
+
gemma_4_26b: "gemma_4_26b";
|
|
323
|
+
minimax_m2_5: "minimax_m2_5";
|
|
324
|
+
minimax_m2_7: "minimax_m2_7";
|
|
325
|
+
mimo_v2_5_pro: "mimo_v2_5_pro";
|
|
326
|
+
glm_5_1: "glm_5_1";
|
|
327
|
+
glm_4_6: "glm_4_6";
|
|
328
|
+
qwen3_6_coder_plus: "qwen3_6_coder_plus";
|
|
329
|
+
qwen3_6_coder_30b_a3b: "qwen3_6_coder_30b_a3b";
|
|
330
|
+
qwen3_max_thinking: "qwen3_max_thinking";
|
|
331
|
+
kimi_k2_thinking: "kimi_k2_thinking";
|
|
332
|
+
kimi_k2_6: "kimi_k2_6";
|
|
333
|
+
grok_4: "grok_4";
|
|
334
|
+
grok_4_20: "grok_4_20";
|
|
335
|
+
grok_4_3: "grok_4_3";
|
|
336
|
+
grok_4_fast: "grok_4_fast";
|
|
337
|
+
step_3_5_flash: "step_3_5_flash";
|
|
338
|
+
hy3_preview: "hy3_preview";
|
|
339
|
+
}>;
|
|
340
|
+
messages: z.ZodArray<z.ZodType<import("./TextGen.js").Message, unknown, z.core.$ZodTypeInternals<import("./TextGen.js").Message, unknown>>>;
|
|
341
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
342
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
topK: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
frequencyPenalty: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
presencePenalty: z.ZodOptional<z.ZodNumber>;
|
|
348
|
+
repetitionPenalty: z.ZodOptional<z.ZodNumber>;
|
|
349
|
+
captureDebugInfo: z.ZodOptional<z.ZodBoolean>;
|
|
350
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
351
|
+
fast: "fast";
|
|
352
|
+
cheap: "cheap";
|
|
353
|
+
}>>;
|
|
354
|
+
}, z.core.$strip>>;
|
|
355
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
356
|
+
name: z.ZodString;
|
|
357
|
+
description: z.ZodString;
|
|
358
|
+
parameters: z.ZodOptional<z.ZodObject<{
|
|
359
|
+
type: z.ZodLiteral<"object">;
|
|
360
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
361
|
+
required: z.ZodArray<z.ZodString>;
|
|
362
|
+
additionalProperties: z.ZodOptional<z.ZodLiteral<false>>;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
}, z.core.$strip>>>;
|
|
365
|
+
schema: z.ZodUnknown;
|
|
366
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
367
|
+
}, z.core.$strip>;
|
|
368
|
+
readonly output: z.ZodNullable<z.ZodNullable<z.ZodObject<{
|
|
369
|
+
message: z.ZodObject<{
|
|
370
|
+
role: z.ZodEnum<{
|
|
371
|
+
user: "user";
|
|
372
|
+
system: "system";
|
|
373
|
+
assistant: "assistant";
|
|
374
|
+
memory: "memory";
|
|
375
|
+
}>;
|
|
376
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
377
|
+
type: z.ZodLiteral<"text">;
|
|
378
|
+
text: z.ZodString;
|
|
379
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
380
|
+
type: z.ZodLiteral<"image">;
|
|
381
|
+
source: z.ZodObject<{
|
|
382
|
+
type: z.ZodLiteral<"base64">;
|
|
383
|
+
media_type: z.ZodString;
|
|
384
|
+
data: z.ZodString;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
387
|
+
type: z.ZodLiteral<"tool_use">;
|
|
388
|
+
id: z.ZodString;
|
|
389
|
+
name: z.ZodString;
|
|
390
|
+
input: z.ZodUnknown;
|
|
391
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
392
|
+
type: z.ZodLiteral<"tool_result">;
|
|
393
|
+
tool_use_id: z.ZodString;
|
|
394
|
+
content: z.ZodString;
|
|
395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
396
|
+
type: z.ZodLiteral<"thinking">;
|
|
397
|
+
thinking: z.ZodOptional<z.ZodString>;
|
|
398
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
399
|
+
redacted_data: z.ZodOptional<z.ZodString>;
|
|
400
|
+
}, z.core.$strip>]>>]>;
|
|
401
|
+
}, z.core.$strip>;
|
|
402
|
+
raw: z.ZodNullable<z.ZodUnknown>;
|
|
403
|
+
}, z.core.$strip>>>;
|
|
404
|
+
};
|
|
405
|
+
readonly imageGen: {
|
|
406
|
+
readonly input: z.ZodObject<{
|
|
407
|
+
model: z.ZodEnum<{
|
|
408
|
+
flux_2_pro: "flux_2_pro";
|
|
409
|
+
flux_2_max: "flux_2_max";
|
|
410
|
+
flux_2_dev: "flux_2_dev";
|
|
411
|
+
flux_1_pro: "flux_1_pro";
|
|
412
|
+
flux_1_dev: "flux_1_dev";
|
|
413
|
+
flux_1_schnell: "flux_1_schnell";
|
|
414
|
+
nano_banana: "nano_banana";
|
|
415
|
+
nano_banana_pro: "nano_banana_pro";
|
|
416
|
+
seedream: "seedream";
|
|
417
|
+
}>;
|
|
418
|
+
prompt: z.ZodString;
|
|
419
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
420
|
+
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
421
|
+
square: "square";
|
|
422
|
+
portrait_4_3: "portrait_4_3";
|
|
423
|
+
portrait_16_9: "portrait_16_9";
|
|
424
|
+
portrait_21_9: "portrait_21_9";
|
|
425
|
+
landscape_4_3: "landscape_4_3";
|
|
426
|
+
landscape_16_9: "landscape_16_9";
|
|
427
|
+
landscape_21_9: "landscape_21_9";
|
|
428
|
+
}>>;
|
|
429
|
+
steps: z.ZodOptional<z.ZodNumber>;
|
|
430
|
+
guidanceScale: z.ZodOptional<z.ZodNumber>;
|
|
431
|
+
negativePrompt: z.ZodOptional<z.ZodString>;
|
|
432
|
+
captureDebugInfo: z.ZodOptional<z.ZodBoolean>;
|
|
433
|
+
}, z.core.$strip>>;
|
|
434
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
435
|
+
}, z.core.$strip>;
|
|
436
|
+
readonly output: z.ZodNullable<z.ZodNullable<z.ZodObject<{
|
|
437
|
+
type: z.ZodLiteral<"base64">;
|
|
438
|
+
base64: z.ZodString;
|
|
439
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
440
|
+
width: z.ZodNumber;
|
|
441
|
+
height: z.ZodNumber;
|
|
442
|
+
description: z.ZodOptional<z.ZodString>;
|
|
443
|
+
debugInfo: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
providerRequest: z.ZodUnknown;
|
|
445
|
+
providerResponse: z.ZodUnknown;
|
|
446
|
+
}, z.core.$strip>>;
|
|
447
|
+
}, z.core.$strip>>>;
|
|
448
|
+
};
|
|
449
|
+
readonly embedImage: {
|
|
450
|
+
readonly input: z.ZodObject<{
|
|
451
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
452
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
453
|
+
imageBase64: z.ZodOptional<z.ZodString>;
|
|
454
|
+
}, z.core.$strip>;
|
|
455
|
+
readonly output: z.ZodObject<{
|
|
456
|
+
embedding: z.ZodArray<z.ZodNumber>;
|
|
457
|
+
}, z.core.$strip>;
|
|
458
|
+
};
|
|
459
|
+
readonly embedText: {
|
|
460
|
+
readonly input: z.ZodObject<{
|
|
461
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
462
|
+
text: z.ZodString;
|
|
463
|
+
}, z.core.$strip>;
|
|
464
|
+
readonly output: z.ZodObject<{
|
|
465
|
+
embedding: z.ZodArray<z.ZodNumber>;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
};
|
|
468
|
+
readonly embedGen: {
|
|
469
|
+
readonly input: z.ZodObject<{
|
|
470
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
471
|
+
texts: z.ZodArray<z.ZodString>;
|
|
472
|
+
model: z.ZodOptional<z.ZodString>;
|
|
473
|
+
dimensions: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
readonly output: z.ZodObject<{
|
|
476
|
+
embeddings: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
477
|
+
}, z.core.$strip>;
|
|
478
|
+
};
|
|
479
|
+
readonly extractColors: {
|
|
480
|
+
readonly input: z.ZodObject<{
|
|
481
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
482
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
483
|
+
imageBase64: z.ZodOptional<z.ZodString>;
|
|
484
|
+
}, z.core.$strip>;
|
|
485
|
+
readonly output: z.ZodObject<{
|
|
486
|
+
colorCodes: z.ZodArray<z.ZodString>;
|
|
487
|
+
filterStats: z.ZodObject<{
|
|
488
|
+
total: z.ZodNumber;
|
|
489
|
+
white: z.ZodNumber;
|
|
490
|
+
black: z.ZodNumber;
|
|
491
|
+
gray: z.ZodNumber;
|
|
492
|
+
skin: z.ZodNumber;
|
|
493
|
+
surviving: z.ZodNumber;
|
|
494
|
+
}, z.core.$strip>;
|
|
495
|
+
}, z.core.$strip>;
|
|
496
|
+
};
|
|
497
|
+
readonly foursquareSearch: {
|
|
498
|
+
readonly input: z.ZodObject<{
|
|
499
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
500
|
+
query: z.ZodString;
|
|
501
|
+
latitude: z.ZodNumber;
|
|
502
|
+
longitude: z.ZodNumber;
|
|
503
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
504
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
505
|
+
excludeChains: z.ZodOptional<z.ZodBoolean>;
|
|
506
|
+
}, z.core.$strip>;
|
|
507
|
+
readonly output: z.ZodObject<{
|
|
508
|
+
places: z.ZodArray<z.ZodObject<{
|
|
509
|
+
fsq_place_id: z.ZodString;
|
|
510
|
+
name: z.ZodString;
|
|
511
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
formatted_address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
513
|
+
locality: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
514
|
+
region: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
515
|
+
}, z.core.$strip>>;
|
|
516
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
517
|
+
id: z.ZodNumber;
|
|
518
|
+
name: z.ZodString;
|
|
519
|
+
}, z.core.$strip>>>;
|
|
520
|
+
chains: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
521
|
+
id: z.ZodString;
|
|
522
|
+
name: z.ZodString;
|
|
523
|
+
}, z.core.$strip>>>;
|
|
524
|
+
website: z.ZodOptional<z.ZodString>;
|
|
525
|
+
}, z.core.$strip>>;
|
|
526
|
+
}, z.core.$strip>;
|
|
527
|
+
};
|
|
528
|
+
readonly ticketmasterSearch: {
|
|
529
|
+
readonly input: z.ZodObject<{
|
|
530
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
531
|
+
latitude: z.ZodNumber;
|
|
532
|
+
longitude: z.ZodNumber;
|
|
533
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
534
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
535
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
536
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
537
|
+
music: "music";
|
|
538
|
+
sports: "sports";
|
|
539
|
+
arts: "arts";
|
|
540
|
+
theater: "theater";
|
|
541
|
+
family: "family";
|
|
542
|
+
}>>>;
|
|
543
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
544
|
+
}, z.core.$strip>;
|
|
545
|
+
readonly output: z.ZodObject<{
|
|
546
|
+
events: z.ZodArray<z.ZodObject<{}, z.core.$loose>>;
|
|
547
|
+
}, z.core.$strip>;
|
|
548
|
+
};
|
|
549
|
+
readonly search: {
|
|
550
|
+
readonly input: z.ZodObject<{
|
|
551
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
552
|
+
kind: z.ZodEnum<{
|
|
553
|
+
search: "search";
|
|
554
|
+
summarize: "summarize";
|
|
555
|
+
enrichWeb: "enrichWeb";
|
|
556
|
+
enrichNews: "enrichNews";
|
|
557
|
+
}>;
|
|
558
|
+
query: z.ZodOptional<z.ZodString>;
|
|
559
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
url: z.ZodOptional<z.ZodString>;
|
|
561
|
+
text: z.ZodOptional<z.ZodString>;
|
|
562
|
+
}, z.core.$strip>;
|
|
563
|
+
readonly output: z.ZodUnknown;
|
|
564
|
+
};
|
|
565
|
+
readonly ttsRender: {
|
|
566
|
+
readonly input: z.ZodObject<{
|
|
567
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
568
|
+
text: z.ZodString;
|
|
569
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
570
|
+
model: z.ZodOptional<z.ZodString>;
|
|
571
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
572
|
+
requestVisemes: z.ZodOptional<z.ZodBoolean>;
|
|
573
|
+
}, z.core.$strip>;
|
|
574
|
+
readonly output: z.ZodObject<{
|
|
575
|
+
audio: z.ZodString;
|
|
576
|
+
sampleRate: z.ZodNumber;
|
|
577
|
+
audioFormat: z.ZodString;
|
|
578
|
+
visemes: z.ZodArray<z.ZodObject<{
|
|
579
|
+
name: z.ZodString;
|
|
580
|
+
startMs: z.ZodNumber;
|
|
581
|
+
durationMs: z.ZodNumber;
|
|
582
|
+
intensity: z.ZodNumber;
|
|
583
|
+
}, z.core.$strip>>;
|
|
584
|
+
words: z.ZodArray<z.ZodObject<{
|
|
585
|
+
word: z.ZodString;
|
|
586
|
+
startMs: z.ZodNumber;
|
|
587
|
+
durationMs: z.ZodNumber;
|
|
588
|
+
charStartIndex: z.ZodNumber;
|
|
589
|
+
charEndIndex: z.ZodNumber;
|
|
590
|
+
}, z.core.$strip>>;
|
|
591
|
+
durationMs: z.ZodNumber;
|
|
592
|
+
}, z.core.$strip>;
|
|
593
|
+
};
|
|
594
|
+
readonly transcribe: {
|
|
595
|
+
readonly input: z.ZodObject<{
|
|
596
|
+
chargeUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
597
|
+
audio: z.ZodString;
|
|
598
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
599
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
600
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
601
|
+
requestWords: z.ZodOptional<z.ZodBoolean>;
|
|
602
|
+
}, z.core.$strip>;
|
|
603
|
+
readonly output: z.ZodObject<{
|
|
604
|
+
text: z.ZodString;
|
|
605
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
606
|
+
words: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
607
|
+
word: z.ZodString;
|
|
608
|
+
startMs: z.ZodNumber;
|
|
609
|
+
durationMs: z.ZodNumber;
|
|
610
|
+
}, z.core.$strip>>>;
|
|
611
|
+
}, z.core.$strip>;
|
|
612
|
+
};
|
|
613
|
+
readonly sendPush: {
|
|
614
|
+
readonly input: z.ZodObject<{
|
|
615
|
+
userId: z.ZodString;
|
|
616
|
+
notification: z.ZodObject<{
|
|
617
|
+
title: z.ZodString;
|
|
618
|
+
body: z.ZodString;
|
|
619
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
620
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
621
|
+
}, z.core.$strip>;
|
|
622
|
+
}, z.core.$strip>;
|
|
623
|
+
readonly output: z.ZodObject<{
|
|
624
|
+
sent: z.ZodBoolean;
|
|
625
|
+
}, z.core.$strip>;
|
|
626
|
+
};
|
|
627
|
+
readonly projectPush: {
|
|
628
|
+
readonly input: z.ZodObject<{
|
|
629
|
+
targetUserId: z.ZodString;
|
|
630
|
+
title: z.ZodString;
|
|
631
|
+
body: z.ZodString;
|
|
632
|
+
path: z.ZodOptional<z.ZodString>;
|
|
633
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
634
|
+
}, z.core.$strip>;
|
|
635
|
+
readonly output: z.ZodObject<{
|
|
636
|
+
sent: z.ZodBoolean;
|
|
637
|
+
}, z.core.$strip>;
|
|
638
|
+
};
|
|
639
|
+
readonly pushSend: {
|
|
640
|
+
readonly input: z.ZodObject<{
|
|
641
|
+
targetUserId: z.ZodString;
|
|
642
|
+
title: z.ZodString;
|
|
643
|
+
body: z.ZodString;
|
|
644
|
+
path: z.ZodOptional<z.ZodString>;
|
|
645
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
646
|
+
}, z.core.$strip>;
|
|
647
|
+
readonly output: z.ZodObject<{
|
|
648
|
+
sent: z.ZodBoolean;
|
|
649
|
+
}, z.core.$strip>;
|
|
650
|
+
};
|
|
651
|
+
readonly userGet: {
|
|
652
|
+
readonly input: z.ZodObject<{
|
|
653
|
+
userId: z.ZodString;
|
|
654
|
+
}, z.core.$strip>;
|
|
655
|
+
readonly output: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
656
|
+
};
|
|
657
|
+
readonly userPublicBatch: {
|
|
658
|
+
readonly input: z.ZodObject<{
|
|
659
|
+
userIds: z.ZodArray<z.ZodString>;
|
|
660
|
+
}, z.core.$strip>;
|
|
661
|
+
readonly output: z.ZodObject<{
|
|
662
|
+
profiles: z.ZodArray<z.ZodObject<{
|
|
663
|
+
id: z.ZodString;
|
|
664
|
+
name: z.ZodNullable<z.ZodString>;
|
|
665
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
666
|
+
backgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
667
|
+
}, z.core.$strip>>;
|
|
668
|
+
}, z.core.$strip>;
|
|
669
|
+
};
|
|
670
|
+
readonly billingUsageGet: {
|
|
671
|
+
readonly input: z.ZodObject<{}, z.core.$strip>;
|
|
672
|
+
readonly output: z.ZodObject<{}, z.core.$loose>;
|
|
673
|
+
};
|
|
674
|
+
readonly addFundsCheckoutSession: {
|
|
675
|
+
readonly input: z.ZodObject<{
|
|
676
|
+
amountUsd: z.ZodNumber;
|
|
677
|
+
}, z.core.$strip>;
|
|
678
|
+
readonly output: z.ZodObject<{
|
|
679
|
+
url: z.ZodString;
|
|
680
|
+
}, z.core.$strip>;
|
|
681
|
+
};
|
|
682
|
+
readonly stripeBillingSession: {
|
|
683
|
+
readonly input: z.ZodObject<{}, z.core.$strip>;
|
|
684
|
+
readonly output: z.ZodObject<{
|
|
685
|
+
url: z.ZodString;
|
|
686
|
+
}, z.core.$strip>;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
export type ProxyOps = typeof proxyOps;
|
|
690
|
+
export type ProxyOpName = keyof ProxyOps;
|
|
691
|
+
export type ProxyOpInput<K extends ProxyOpName> = z.input<ProxyOps[K]['input']>;
|
|
692
|
+
export type ProxyOpOutput<K extends ProxyOpName> = z.infer<ProxyOps[K]['output']>;
|
|
693
|
+
/** Ops that ugly.bot bills the caller for (everything except push + meta). */
|
|
694
|
+
export declare const BILLABLE_OPS: ReadonlySet<ProxyOpName>;
|
|
695
|
+
export declare const ttsStartDataSchema: z.ZodObject<{
|
|
696
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
697
|
+
text: z.ZodOptional<z.ZodString>;
|
|
698
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
699
|
+
model: z.ZodOptional<z.ZodString>;
|
|
700
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
701
|
+
requestVisemes: z.ZodOptional<z.ZodBoolean>;
|
|
702
|
+
}, z.core.$strip>;
|
|
703
|
+
export declare const ttsCancelDataSchema: z.ZodObject<{
|
|
704
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
705
|
+
}, z.core.$strip>;
|
|
706
|
+
export declare const sttStartDataSchema: z.ZodObject<{
|
|
707
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
708
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
709
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
710
|
+
requestWords: z.ZodOptional<z.ZodBoolean>;
|
|
711
|
+
}, z.core.$strip>;
|
|
712
|
+
export declare const sttAudioDataSchema: z.ZodObject<{
|
|
713
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
714
|
+
audio: z.ZodOptional<z.ZodString>;
|
|
715
|
+
}, z.core.$strip>;
|
|
716
|
+
export declare const sttStopDataSchema: z.ZodObject<{
|
|
717
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
718
|
+
}, z.core.$strip>;
|
|
719
|
+
export declare const wsOps: {
|
|
720
|
+
readonly 'tts:start': z.ZodObject<{
|
|
721
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
722
|
+
text: z.ZodOptional<z.ZodString>;
|
|
723
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
724
|
+
model: z.ZodOptional<z.ZodString>;
|
|
725
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
726
|
+
requestVisemes: z.ZodOptional<z.ZodBoolean>;
|
|
727
|
+
}, z.core.$strip>;
|
|
728
|
+
readonly 'tts:cancel': z.ZodObject<{
|
|
729
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
730
|
+
}, z.core.$strip>;
|
|
731
|
+
readonly 'stt:start': z.ZodObject<{
|
|
732
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
733
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
734
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
735
|
+
requestWords: z.ZodOptional<z.ZodBoolean>;
|
|
736
|
+
}, z.core.$strip>;
|
|
737
|
+
readonly 'stt:audio': z.ZodObject<{
|
|
738
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
739
|
+
audio: z.ZodOptional<z.ZodString>;
|
|
740
|
+
}, z.core.$strip>;
|
|
741
|
+
readonly 'stt:stop': z.ZodObject<{
|
|
742
|
+
streamId: z.ZodOptional<z.ZodString>;
|
|
743
|
+
}, z.core.$strip>;
|
|
744
|
+
};
|
|
745
|
+
export type WsOpName = keyof typeof wsOps;
|
|
746
|
+
export type WsOpData<K extends WsOpName> = z.infer<(typeof wsOps)[K]>;
|
|
747
|
+
//# sourceMappingURL=ProxyOps.d.ts.map
|