@avallon-labs/sdk 9.0.0 → 10.0.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
@@ -2,7 +2,7 @@ import * as swr_mutation from 'swr/mutation';
2
2
  import { SWRMutationConfiguration } from 'swr/mutation';
3
3
  import * as swr__internal from 'swr/_internal';
4
4
  import * as swr from 'swr';
5
- import { Key, SWRConfiguration, Arguments } from 'swr';
5
+ import { Key, Arguments, SWRConfiguration } from 'swr';
6
6
 
7
7
  /**
8
8
  * Custom fetch wrapper for Orval-generated client.
@@ -100,7 +100,7 @@ declare function generateCodeChallenge(verifier: string): Promise<string>;
100
100
  * Avallon API
101
101
  * OpenAPI spec version: 1.0.0
102
102
  */
103
- type AddToolsToAgentBody = {
103
+ type AddToolsToVoiceAgentBody = {
104
104
  tool_ids: string[];
105
105
  };
106
106
 
@@ -110,8 +110,8 @@ type AddToolsToAgentBody = {
110
110
  * Avallon API
111
111
  * OpenAPI spec version: 1.0.0
112
112
  */
113
- type AgentBackgroundSounds = (typeof AgentBackgroundSounds)[keyof typeof AgentBackgroundSounds];
114
- declare const AgentBackgroundSounds: {
113
+ type VoiceAgentBackgroundSounds = (typeof VoiceAgentBackgroundSounds)[keyof typeof VoiceAgentBackgroundSounds];
114
+ declare const VoiceAgentBackgroundSounds: {
115
115
  readonly enabled: "enabled";
116
116
  readonly disabled: "disabled";
117
117
  };
@@ -122,8 +122,8 @@ declare const AgentBackgroundSounds: {
122
122
  * Avallon API
123
123
  * OpenAPI spec version: 1.0.0
124
124
  */
125
- type AgentDirection = (typeof AgentDirection)[keyof typeof AgentDirection];
126
- declare const AgentDirection: {
125
+ type VoiceAgentDirection = (typeof VoiceAgentDirection)[keyof typeof VoiceAgentDirection];
126
+ declare const VoiceAgentDirection: {
127
127
  readonly INBOUND: "INBOUND";
128
128
  readonly OUTBOUND: "OUTBOUND";
129
129
  };
@@ -134,8 +134,8 @@ declare const AgentDirection: {
134
134
  * Avallon API
135
135
  * OpenAPI spec version: 1.0.0
136
136
  */
137
- type AgentLanguage = (typeof AgentLanguage)[keyof typeof AgentLanguage];
138
- declare const AgentLanguage: {
137
+ type VoiceAgentLanguage = (typeof VoiceAgentLanguage)[keyof typeof VoiceAgentLanguage];
138
+ declare const VoiceAgentLanguage: {
139
139
  readonly "en-US": "en-US";
140
140
  readonly "de-DE": "de-DE";
141
141
  };
@@ -146,8 +146,8 @@ declare const AgentLanguage: {
146
146
  * Avallon API
147
147
  * OpenAPI spec version: 1.0.0
148
148
  */
149
- type AgentLlmModel = (typeof AgentLlmModel)[keyof typeof AgentLlmModel];
150
- declare const AgentLlmModel: {
149
+ type VoiceAgentLlmModel = (typeof VoiceAgentLlmModel)[keyof typeof VoiceAgentLlmModel];
150
+ declare const VoiceAgentLlmModel: {
151
151
  readonly GPT41: "GPT4.1";
152
152
  readonly "AZURE-GPT4o": "AZURE-GPT4o";
153
153
  readonly "AZURE-GPT41": "AZURE-GPT4.1";
@@ -171,8 +171,8 @@ declare const AgentLlmModel: {
171
171
  * Avallon API
172
172
  * OpenAPI spec version: 1.0.0
173
173
  */
174
- type AgentSttModel = (typeof AgentSttModel)[keyof typeof AgentSttModel];
175
- declare const AgentSttModel: {
174
+ type VoiceAgentSttModel = (typeof VoiceAgentSttModel)[keyof typeof VoiceAgentSttModel];
175
+ declare const VoiceAgentSttModel: {
176
176
  readonly "DEEPGRAM-NOVA-2-GENERAL": "DEEPGRAM-NOVA-2-GENERAL";
177
177
  readonly "DEEPGRAM-NOVA-3-GENERAL": "DEEPGRAM-NOVA-3-GENERAL";
178
178
  readonly "AWS-TRANSCRIBE": "AWS-TRANSCRIBE";
@@ -185,8 +185,8 @@ declare const AgentSttModel: {
185
185
  * Avallon API
186
186
  * OpenAPI spec version: 1.0.0
187
187
  */
188
- type AgentTtsModel = (typeof AgentTtsModel)[keyof typeof AgentTtsModel];
189
- declare const AgentTtsModel: {
188
+ type VoiceAgentTtsModel = (typeof VoiceAgentTtsModel)[keyof typeof VoiceAgentTtsModel];
189
+ declare const VoiceAgentTtsModel: {
190
190
  readonly eleven_flash_v2_5: "eleven_flash_v2_5";
191
191
  readonly eleven_turbo_v2_5: "eleven_turbo_v2_5";
192
192
  readonly "sonic-3": "sonic-3";
@@ -200,8 +200,8 @@ declare const AgentTtsModel: {
200
200
  * Avallon API
201
201
  * OpenAPI spec version: 1.0.0
202
202
  */
203
- type AgentTtsProvider = (typeof AgentTtsProvider)[keyof typeof AgentTtsProvider];
204
- declare const AgentTtsProvider: {
203
+ type VoiceAgentTtsProvider = (typeof VoiceAgentTtsProvider)[keyof typeof VoiceAgentTtsProvider];
204
+ declare const VoiceAgentTtsProvider: {
205
205
  readonly elevenlabs: "elevenlabs";
206
206
  readonly cartesia: "cartesia";
207
207
  readonly google: "google";
@@ -215,20 +215,20 @@ declare const AgentTtsProvider: {
215
215
  * OpenAPI spec version: 1.0.0
216
216
  */
217
217
 
218
- interface Agent {
218
+ interface VoiceAgent {
219
219
  id: string;
220
220
  tenant_id: string;
221
221
  agent_name: string;
222
- direction: AgentDirection;
223
- llm_model: AgentLlmModel;
224
- tts_provider: AgentTtsProvider;
225
- tts_model: AgentTtsModel;
226
- language: AgentLanguage;
222
+ direction: VoiceAgentDirection;
223
+ llm_model: VoiceAgentLlmModel;
224
+ tts_provider: VoiceAgentTtsProvider;
225
+ tts_model: VoiceAgentTtsModel;
226
+ language: VoiceAgentLanguage;
227
227
  /** Voice ID from the TTS provider */
228
228
  tts_voice_id: string;
229
- stt_model: AgentSttModel;
229
+ stt_model: VoiceAgentSttModel;
230
230
  transfer_phone_number: string | null;
231
- background_sounds: AgentBackgroundSounds;
231
+ background_sounds: VoiceAgentBackgroundSounds;
232
232
  created_at: string;
233
233
  updated_at: string;
234
234
  phone_number: string | null;
@@ -243,8 +243,8 @@ interface Agent {
243
243
  * OpenAPI spec version: 1.0.0
244
244
  */
245
245
 
246
- interface AddToolsToAgentResponse {
247
- agent: Agent;
246
+ interface AddToolsToVoiceAgentResponse {
247
+ agent: VoiceAgent;
248
248
  }
249
249
 
250
250
  /**
@@ -281,76 +281,6 @@ interface AgenticJobMessage {
281
281
 
282
282
  type AgenticJobMessageList = AgenticJobMessage[];
283
283
 
284
- /**
285
- * Generated by orval v8.1.0 🍺
286
- * Do not edit manually.
287
- * Avallon API
288
- * OpenAPI spec version: 1.0.0
289
- */
290
-
291
- interface AgentList {
292
- agents: Agent[];
293
- /**
294
- * Total number of agents
295
- * @minimum -9007199254740991
296
- * @maximum 9007199254740991
297
- */
298
- total: number;
299
- }
300
-
301
- /**
302
- * Generated by orval v8.1.0 🍺
303
- * Do not edit manually.
304
- * Avallon API
305
- * OpenAPI spec version: 1.0.0
306
- */
307
- interface AgentPrompt {
308
- /** Available placeholder variables */
309
- placeholders: string[];
310
- }
311
-
312
- /**
313
- * Generated by orval v8.1.0 🍺
314
- * Do not edit manually.
315
- * Avallon API
316
- * OpenAPI spec version: 1.0.0
317
- */
318
- type WebhookScope = {
319
- extractor_id: string;
320
- } | {
321
- call_agent_id: string;
322
- } | {
323
- email_agent_id: string;
324
- };
325
-
326
- /**
327
- * Generated by orval v8.1.0 🍺
328
- * Do not edit manually.
329
- * Avallon API
330
- * OpenAPI spec version: 1.0.0
331
- */
332
-
333
- interface Webhook {
334
- id: string;
335
- scope: WebhookScope;
336
- name: string;
337
- url: string;
338
- auth_header_name: string | null;
339
- has_auth: boolean;
340
- enabled: boolean;
341
- created_at: string;
342
- updated_at: string;
343
- }
344
-
345
- /**
346
- * Generated by orval v8.1.0 🍺
347
- * Do not edit manually.
348
- * Avallon API
349
- * OpenAPI spec version: 1.0.0
350
- */
351
-
352
- type AgentWebhookList = Webhook[];
353
-
354
284
  /**
355
285
  * Generated by orval v8.1.0 🍺
356
286
  * Do not edit manually.
@@ -892,7 +822,7 @@ interface CanceledExtractorJob {
892
822
  * Avallon API
893
823
  * OpenAPI spec version: 1.0.0
894
824
  */
895
- type CheckEmailUsernameAvailabilityParams = {
825
+ type CheckInboxAvailabilityParams = {
896
826
  /**
897
827
  * Email username
898
828
  */
@@ -1130,164 +1060,6 @@ interface ConfirmationResponse {
1130
1060
  message: string;
1131
1061
  }
1132
1062
 
1133
- /**
1134
- * Generated by orval v8.1.0 🍺
1135
- * Do not edit manually.
1136
- * Avallon API
1137
- * OpenAPI spec version: 1.0.0
1138
- */
1139
- /**
1140
- * Call direction the agent handles
1141
- */
1142
- type CreateAgentBodyDirection = (typeof CreateAgentBodyDirection)[keyof typeof CreateAgentBodyDirection];
1143
- declare const CreateAgentBodyDirection: {
1144
- readonly OUTBOUND: "OUTBOUND";
1145
- readonly INBOUND: "INBOUND";
1146
- };
1147
-
1148
- /**
1149
- * Generated by orval v8.1.0 🍺
1150
- * Do not edit manually.
1151
- * Avallon API
1152
- * OpenAPI spec version: 1.0.0
1153
- */
1154
- /**
1155
- * Language for the agent
1156
- */
1157
- type CreateAgentBodyLanguage = (typeof CreateAgentBodyLanguage)[keyof typeof CreateAgentBodyLanguage];
1158
- declare const CreateAgentBodyLanguage: {
1159
- readonly "en-US": "en-US";
1160
- readonly "de-DE": "de-DE";
1161
- };
1162
-
1163
- /**
1164
- * Generated by orval v8.1.0 🍺
1165
- * Do not edit manually.
1166
- * Avallon API
1167
- * OpenAPI spec version: 1.0.0
1168
- */
1169
- /**
1170
- * LLM model for conversation
1171
- */
1172
- type CreateAgentBodyLlmModel = (typeof CreateAgentBodyLlmModel)[keyof typeof CreateAgentBodyLlmModel];
1173
- declare const CreateAgentBodyLlmModel: {
1174
- readonly GPT41: "GPT4.1";
1175
- readonly "AZURE-GPT4o": "AZURE-GPT4o";
1176
- readonly "AZURE-GPT41": "AZURE-GPT4.1";
1177
- readonly "GPT-5": "GPT-5";
1178
- readonly "GPT-5-low": "GPT-5-low";
1179
- readonly "GPT-5-high": "GPT-5-high";
1180
- readonly "GPT-51-chat-latest": "GPT-5.1-chat-latest";
1181
- readonly "GPT-51-no-reasoning": "GPT-5.1-no-reasoning";
1182
- readonly "GEMINI-15-flash": "GEMINI-1.5-flash";
1183
- readonly "GEMINI-25-flash": "GEMINI-2.5-flash";
1184
- readonly "GEMINI-25-flash-lite": "GEMINI-2.5-flash-lite";
1185
- readonly "GEMINI-3-flash": "GEMINI-3-flash";
1186
- readonly "CLAUDE-sonnet-46": "CLAUDE-sonnet-4.6";
1187
- readonly "CLAUDE-haiku-45": "CLAUDE-haiku-4.5";
1188
- readonly "GPT-54-mini": "GPT-5.4-mini";
1189
- };
1190
-
1191
- /**
1192
- * Generated by orval v8.1.0 🍺
1193
- * Do not edit manually.
1194
- * Avallon API
1195
- * OpenAPI spec version: 1.0.0
1196
- */
1197
- /**
1198
- * Speech-to-text model
1199
- */
1200
- type CreateAgentBodySttModel = (typeof CreateAgentBodySttModel)[keyof typeof CreateAgentBodySttModel];
1201
- declare const CreateAgentBodySttModel: {
1202
- readonly "DEEPGRAM-NOVA-2-GENERAL": "DEEPGRAM-NOVA-2-GENERAL";
1203
- readonly "DEEPGRAM-NOVA-3-GENERAL": "DEEPGRAM-NOVA-3-GENERAL";
1204
- readonly "AWS-TRANSCRIBE": "AWS-TRANSCRIBE";
1205
- readonly "ELEVENLABS-SCRIBE-V2-REALTIME": "ELEVENLABS-SCRIBE-V2-REALTIME";
1206
- };
1207
-
1208
- /**
1209
- * Generated by orval v8.1.0 🍺
1210
- * Do not edit manually.
1211
- * Avallon API
1212
- * OpenAPI spec version: 1.0.0
1213
- */
1214
- /**
1215
- * Text-to-speech model
1216
- */
1217
- type CreateAgentBodyTtsModel = (typeof CreateAgentBodyTtsModel)[keyof typeof CreateAgentBodyTtsModel];
1218
- declare const CreateAgentBodyTtsModel: {
1219
- readonly eleven_flash_v2_5: "eleven_flash_v2_5";
1220
- readonly eleven_turbo_v2_5: "eleven_turbo_v2_5";
1221
- readonly "sonic-3": "sonic-3";
1222
- readonly chirp_3: "chirp_3";
1223
- readonly "polly-neural": "polly-neural";
1224
- };
1225
-
1226
- /**
1227
- * Generated by orval v8.1.0 🍺
1228
- * Do not edit manually.
1229
- * Avallon API
1230
- * OpenAPI spec version: 1.0.0
1231
- */
1232
- /**
1233
- * Text-to-speech provider
1234
- */
1235
- type CreateAgentBodyTtsProvider = (typeof CreateAgentBodyTtsProvider)[keyof typeof CreateAgentBodyTtsProvider];
1236
- declare const CreateAgentBodyTtsProvider: {
1237
- readonly elevenlabs: "elevenlabs";
1238
- readonly cartesia: "cartesia";
1239
- readonly google: "google";
1240
- readonly "aws-polly": "aws-polly";
1241
- };
1242
-
1243
- /**
1244
- * Generated by orval v8.1.0 🍺
1245
- * Do not edit manually.
1246
- * Avallon API
1247
- * OpenAPI spec version: 1.0.0
1248
- */
1249
-
1250
- type CreateAgentBody = {
1251
- /**
1252
- * Name for the agent
1253
- * @minLength 1
1254
- */
1255
- agent_name: string;
1256
- /** Call direction the agent handles */
1257
- direction: CreateAgentBodyDirection;
1258
- /** LLM model for conversation */
1259
- llm_model: CreateAgentBodyLlmModel;
1260
- /** Text-to-speech provider */
1261
- tts_provider: CreateAgentBodyTtsProvider;
1262
- /** Text-to-speech model */
1263
- tts_model: CreateAgentBodyTtsModel;
1264
- /** Voice ID from the TTS provider */
1265
- tts_voice_id: "Achernar" | "Achird" | "v3V1d2rk6528UrLKRuy8" | "5c42302c-194b-4d0c-ba1a-8cb485c84ab9" | "e8e5fffb-252c-436d-b842-8879b84445b6" | "f786b574-daa5-4673-aa0c-cbe3e8534c02" | "8d8ce8c9-44a4-46c4-b10f-9a927b99a853" | "5ee9feff-1265-424a-9d7f-8e4d431a12c7" | "b9de4a89-2257-424b-94c2-db18ba68c81a" | "b0a1cdc7-e0d3-4d48-900d-7a936762c77b" | "Joanna" | "Kendra" | "Salli" | "Joey" | "Vicki" | "Daniel";
1266
- /** Speech-to-text model */
1267
- stt_model: CreateAgentBodySttModel;
1268
- /** Phone number to transfer calls to */
1269
- transfer_phone_number: string | null;
1270
- /** ID of phone number to assign to agent */
1271
- phone_number_id?: string;
1272
- /** Language for the agent */
1273
- language: CreateAgentBodyLanguage;
1274
- /** Whether the agent supports DTMF dial pad input */
1275
- dial_pad?: boolean;
1276
- /** Whether the agent can end the call */
1277
- end_call?: boolean;
1278
- };
1279
-
1280
- /**
1281
- * Generated by orval v8.1.0 🍺
1282
- * Do not edit manually.
1283
- * Avallon API
1284
- * OpenAPI spec version: 1.0.0
1285
- */
1286
-
1287
- interface CreateAgentResponse {
1288
- agent: Agent;
1289
- }
1290
-
1291
1063
  /**
1292
1064
  * Generated by orval v8.1.0 🍺
1293
1065
  * Do not edit manually.
@@ -1383,26 +1155,6 @@ type CreateArtifactBody = {
1383
1155
  metadata?: CreateArtifactBodyMetadata;
1384
1156
  };
1385
1157
 
1386
- /**
1387
- * Generated by orval v8.1.0 🍺
1388
- * Do not edit manually.
1389
- * Avallon API
1390
- * OpenAPI spec version: 1.0.0
1391
- */
1392
- type CreateEmailAgentBody = {
1393
- /**
1394
- * @minLength 1
1395
- * @maxLength 256
1396
- */
1397
- name: string;
1398
- /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
1399
- extractor_id: string;
1400
- attachment_password?: string | null;
1401
- pdf_splitting_enabled?: boolean;
1402
- /** Email username */
1403
- username?: string;
1404
- };
1405
-
1406
1158
  /**
1407
1159
  * Generated by orval v8.1.0 🍺
1408
1160
  * Do not edit manually.
@@ -1442,10 +1194,8 @@ declare const CreateEmailBodyDirection: {
1442
1194
  */
1443
1195
 
1444
1196
  type CreateEmailBody = {
1445
- /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
1446
1197
  claim_id?: string;
1447
1198
  direction: CreateEmailBodyDirection;
1448
- /** @pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ */
1449
1199
  from: string;
1450
1200
  /** @minItems 1 */
1451
1201
  to: string[];
@@ -1510,7 +1260,6 @@ type CreateExtractorJobBodyScope = {
1510
1260
  */
1511
1261
 
1512
1262
  type CreateExtractorJobBody = {
1513
- /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
1514
1263
  extractor_id: string;
1515
1264
  extractor_type?: CreateExtractorJobBodyExtractorType;
1516
1265
  scope: CreateExtractorJobBodyScope;
@@ -1542,10 +1291,7 @@ type CreateExtractorWebhookBody = {
1542
1291
  * OpenAPI spec version: 1.0.0
1543
1292
  */
1544
1293
  interface CreateFeedbackRequest {
1545
- /**
1546
- * The message ID to attach feedback to
1547
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
1548
- */
1294
+ /** The message ID to attach feedback to */
1549
1295
  message_id: string;
1550
1296
  /**
1551
1297
  * Feedback content
@@ -1555,6 +1301,25 @@ interface CreateFeedbackRequest {
1555
1301
  text: string;
1556
1302
  }
1557
1303
 
1304
+ /**
1305
+ * Generated by orval v8.1.0 🍺
1306
+ * Do not edit manually.
1307
+ * Avallon API
1308
+ * OpenAPI spec version: 1.0.0
1309
+ */
1310
+ type CreateInboxBody = {
1311
+ /**
1312
+ * @minLength 1
1313
+ * @maxLength 256
1314
+ */
1315
+ name: string;
1316
+ extractor_id: string;
1317
+ attachment_password?: string | null;
1318
+ pdf_splitting_enabled?: boolean;
1319
+ /** Email username */
1320
+ username?: string;
1321
+ };
1322
+
1558
1323
  /**
1559
1324
  * Generated by orval v8.1.0 🍺
1560
1325
  * Do not edit manually.
@@ -1578,8 +1343,13 @@ type CreateToolBody = {
1578
1343
  * Avallon API
1579
1344
  * OpenAPI spec version: 1.0.0
1580
1345
  */
1581
- type DeleteToolsFromAgentBody = {
1582
- tool_ids: string[];
1346
+ /**
1347
+ * Call direction the agent handles
1348
+ */
1349
+ type CreateVoiceAgentBodyDirection = (typeof CreateVoiceAgentBodyDirection)[keyof typeof CreateVoiceAgentBodyDirection];
1350
+ declare const CreateVoiceAgentBodyDirection: {
1351
+ readonly OUTBOUND: "OUTBOUND";
1352
+ readonly INBOUND: "INBOUND";
1583
1353
  };
1584
1354
 
1585
1355
  /**
@@ -1588,10 +1358,14 @@ type DeleteToolsFromAgentBody = {
1588
1358
  * Avallon API
1589
1359
  * OpenAPI spec version: 1.0.0
1590
1360
  */
1591
-
1592
- interface DeleteToolsFromAgentResponse {
1593
- agent: Agent;
1594
- }
1361
+ /**
1362
+ * Language for the agent
1363
+ */
1364
+ type CreateVoiceAgentBodyLanguage = (typeof CreateVoiceAgentBodyLanguage)[keyof typeof CreateVoiceAgentBodyLanguage];
1365
+ declare const CreateVoiceAgentBodyLanguage: {
1366
+ readonly "en-US": "en-US";
1367
+ readonly "de-DE": "de-DE";
1368
+ };
1595
1369
 
1596
1370
  /**
1597
1371
  * Generated by orval v8.1.0 🍺
@@ -1599,9 +1373,27 @@ interface DeleteToolsFromAgentResponse {
1599
1373
  * Avallon API
1600
1374
  * OpenAPI spec version: 1.0.0
1601
1375
  */
1602
- interface DeleteWebhookResponse {
1603
- [key: string]: unknown;
1604
- }
1376
+ /**
1377
+ * LLM model for conversation
1378
+ */
1379
+ type CreateVoiceAgentBodyLlmModel = (typeof CreateVoiceAgentBodyLlmModel)[keyof typeof CreateVoiceAgentBodyLlmModel];
1380
+ declare const CreateVoiceAgentBodyLlmModel: {
1381
+ readonly GPT41: "GPT4.1";
1382
+ readonly "AZURE-GPT4o": "AZURE-GPT4o";
1383
+ readonly "AZURE-GPT41": "AZURE-GPT4.1";
1384
+ readonly "GPT-5": "GPT-5";
1385
+ readonly "GPT-5-low": "GPT-5-low";
1386
+ readonly "GPT-5-high": "GPT-5-high";
1387
+ readonly "GPT-51-chat-latest": "GPT-5.1-chat-latest";
1388
+ readonly "GPT-51-no-reasoning": "GPT-5.1-no-reasoning";
1389
+ readonly "GEMINI-15-flash": "GEMINI-1.5-flash";
1390
+ readonly "GEMINI-25-flash": "GEMINI-2.5-flash";
1391
+ readonly "GEMINI-25-flash-lite": "GEMINI-2.5-flash-lite";
1392
+ readonly "GEMINI-3-flash": "GEMINI-3-flash";
1393
+ readonly "CLAUDE-sonnet-46": "CLAUDE-sonnet-4.6";
1394
+ readonly "CLAUDE-haiku-45": "CLAUDE-haiku-4.5";
1395
+ readonly "GPT-54-mini": "GPT-5.4-mini";
1396
+ };
1605
1397
 
1606
1398
  /**
1607
1399
  * Generated by orval v8.1.0 🍺
@@ -1609,10 +1401,15 @@ interface DeleteWebhookResponse {
1609
1401
  * Avallon API
1610
1402
  * OpenAPI spec version: 1.0.0
1611
1403
  */
1612
- type EmailDirection = (typeof EmailDirection)[keyof typeof EmailDirection];
1613
- declare const EmailDirection: {
1614
- readonly inbound: "inbound";
1615
- readonly outbound: "outbound";
1404
+ /**
1405
+ * Speech-to-text model
1406
+ */
1407
+ type CreateVoiceAgentBodySttModel = (typeof CreateVoiceAgentBodySttModel)[keyof typeof CreateVoiceAgentBodySttModel];
1408
+ declare const CreateVoiceAgentBodySttModel: {
1409
+ readonly "DEEPGRAM-NOVA-2-GENERAL": "DEEPGRAM-NOVA-2-GENERAL";
1410
+ readonly "DEEPGRAM-NOVA-3-GENERAL": "DEEPGRAM-NOVA-3-GENERAL";
1411
+ readonly "AWS-TRANSCRIBE": "AWS-TRANSCRIBE";
1412
+ readonly "ELEVENLABS-SCRIBE-V2-REALTIME": "ELEVENLABS-SCRIBE-V2-REALTIME";
1616
1413
  };
1617
1414
 
1618
1415
  /**
@@ -1621,17 +1418,81 @@ declare const EmailDirection: {
1621
1418
  * Avallon API
1622
1419
  * OpenAPI spec version: 1.0.0
1623
1420
  */
1421
+ /**
1422
+ * Text-to-speech model
1423
+ */
1424
+ type CreateVoiceAgentBodyTtsModel = (typeof CreateVoiceAgentBodyTtsModel)[keyof typeof CreateVoiceAgentBodyTtsModel];
1425
+ declare const CreateVoiceAgentBodyTtsModel: {
1426
+ readonly eleven_flash_v2_5: "eleven_flash_v2_5";
1427
+ readonly eleven_turbo_v2_5: "eleven_turbo_v2_5";
1428
+ readonly "sonic-3": "sonic-3";
1429
+ readonly chirp_3: "chirp_3";
1430
+ readonly "polly-neural": "polly-neural";
1431
+ };
1624
1432
 
1625
- interface Email {
1626
- id: string;
1627
- email_agent_id: string | null;
1628
- direction: EmailDirection;
1629
- from: string;
1630
- to: string[];
1631
- subject: string | null;
1632
- preview: string | null;
1633
- received_at: string;
1634
- created_at: string;
1433
+ /**
1434
+ * Generated by orval v8.1.0 🍺
1435
+ * Do not edit manually.
1436
+ * Avallon API
1437
+ * OpenAPI spec version: 1.0.0
1438
+ */
1439
+ /**
1440
+ * Text-to-speech provider
1441
+ */
1442
+ type CreateVoiceAgentBodyTtsProvider = (typeof CreateVoiceAgentBodyTtsProvider)[keyof typeof CreateVoiceAgentBodyTtsProvider];
1443
+ declare const CreateVoiceAgentBodyTtsProvider: {
1444
+ readonly elevenlabs: "elevenlabs";
1445
+ readonly cartesia: "cartesia";
1446
+ readonly google: "google";
1447
+ readonly "aws-polly": "aws-polly";
1448
+ };
1449
+
1450
+ /**
1451
+ * Generated by orval v8.1.0 🍺
1452
+ * Do not edit manually.
1453
+ * Avallon API
1454
+ * OpenAPI spec version: 1.0.0
1455
+ */
1456
+
1457
+ type CreateVoiceAgentBody = {
1458
+ /**
1459
+ * Name for the agent
1460
+ * @minLength 1
1461
+ */
1462
+ agent_name: string;
1463
+ /** Call direction the agent handles */
1464
+ direction: CreateVoiceAgentBodyDirection;
1465
+ /** LLM model for conversation */
1466
+ llm_model: CreateVoiceAgentBodyLlmModel;
1467
+ /** Text-to-speech provider */
1468
+ tts_provider: CreateVoiceAgentBodyTtsProvider;
1469
+ /** Text-to-speech model */
1470
+ tts_model: CreateVoiceAgentBodyTtsModel;
1471
+ /** Voice ID from the TTS provider */
1472
+ tts_voice_id: "Achernar" | "Achird" | "v3V1d2rk6528UrLKRuy8" | "5c42302c-194b-4d0c-ba1a-8cb485c84ab9" | "e8e5fffb-252c-436d-b842-8879b84445b6" | "f786b574-daa5-4673-aa0c-cbe3e8534c02" | "8d8ce8c9-44a4-46c4-b10f-9a927b99a853" | "5ee9feff-1265-424a-9d7f-8e4d431a12c7" | "b9de4a89-2257-424b-94c2-db18ba68c81a" | "b0a1cdc7-e0d3-4d48-900d-7a936762c77b" | "Joanna" | "Kendra" | "Salli" | "Joey" | "Vicki" | "Daniel";
1473
+ /** Speech-to-text model */
1474
+ stt_model: CreateVoiceAgentBodySttModel;
1475
+ /** Phone number to transfer calls to */
1476
+ transfer_phone_number: string | null;
1477
+ /** ID of phone number to assign to agent */
1478
+ phone_number_id?: string;
1479
+ /** Language for the agent */
1480
+ language: CreateVoiceAgentBodyLanguage;
1481
+ /** Whether the agent supports DTMF dial pad input */
1482
+ dial_pad?: boolean;
1483
+ /** Whether the agent can end the call */
1484
+ end_call?: boolean;
1485
+ };
1486
+
1487
+ /**
1488
+ * Generated by orval v8.1.0 🍺
1489
+ * Do not edit manually.
1490
+ * Avallon API
1491
+ * OpenAPI spec version: 1.0.0
1492
+ */
1493
+
1494
+ interface CreateVoiceAgentResponse {
1495
+ agent: VoiceAgent;
1635
1496
  }
1636
1497
 
1637
1498
  /**
@@ -1640,15 +1501,19 @@ interface Email {
1640
1501
  * Avallon API
1641
1502
  * OpenAPI spec version: 1.0.0
1642
1503
  */
1643
- interface EmailAgent {
1644
- id: string;
1645
- name: string;
1646
- email_address: string;
1647
- extractor_id: string;
1648
- has_password: boolean;
1649
- pdf_splitting_enabled: boolean;
1650
- created_at: string;
1651
- updated_at: string;
1504
+ type DeleteToolsFromVoiceAgentBody = {
1505
+ tool_ids: string[];
1506
+ };
1507
+
1508
+ /**
1509
+ * Generated by orval v8.1.0 🍺
1510
+ * Do not edit manually.
1511
+ * Avallon API
1512
+ * OpenAPI spec version: 1.0.0
1513
+ */
1514
+
1515
+ interface DeleteToolsFromVoiceAgentResponse {
1516
+ agent: VoiceAgent;
1652
1517
  }
1653
1518
 
1654
1519
  /**
@@ -1657,8 +1522,21 @@ interface EmailAgent {
1657
1522
  * Avallon API
1658
1523
  * OpenAPI spec version: 1.0.0
1659
1524
  */
1525
+ interface DeleteWebhookResponse {
1526
+ [key: string]: unknown;
1527
+ }
1660
1528
 
1661
- type EmailAgentList = EmailAgent[];
1529
+ /**
1530
+ * Generated by orval v8.1.0 🍺
1531
+ * Do not edit manually.
1532
+ * Avallon API
1533
+ * OpenAPI spec version: 1.0.0
1534
+ */
1535
+ type EmailDirection = (typeof EmailDirection)[keyof typeof EmailDirection];
1536
+ declare const EmailDirection: {
1537
+ readonly inbound: "inbound";
1538
+ readonly outbound: "outbound";
1539
+ };
1662
1540
 
1663
1541
  /**
1664
1542
  * Generated by orval v8.1.0 🍺
@@ -1667,7 +1545,17 @@ type EmailAgentList = EmailAgent[];
1667
1545
  * OpenAPI spec version: 1.0.0
1668
1546
  */
1669
1547
 
1670
- type EmailAgentWebhookList = Webhook[];
1548
+ interface Email {
1549
+ id: string;
1550
+ email_agent_id: string | null;
1551
+ direction: EmailDirection;
1552
+ from: string;
1553
+ to: string[];
1554
+ subject: string | null;
1555
+ preview: string | null;
1556
+ received_at: string;
1557
+ created_at: string;
1558
+ }
1671
1559
 
1672
1560
  /**
1673
1561
  * Generated by orval v8.1.0 🍺
@@ -2113,8 +2001,13 @@ interface ExtractorUpdated {
2113
2001
  * Avallon API
2114
2002
  * OpenAPI spec version: 1.0.0
2115
2003
  */
2116
-
2117
- type ExtractorWebhookList = Webhook[];
2004
+ type WebhookScope = {
2005
+ extractor_id: string;
2006
+ } | {
2007
+ call_agent_id: string;
2008
+ } | {
2009
+ email_agent_id: string;
2010
+ };
2118
2011
 
2119
2012
  /**
2120
2013
  * Generated by orval v8.1.0 🍺
@@ -2122,15 +2015,15 @@ type ExtractorWebhookList = Webhook[];
2122
2015
  * Avallon API
2123
2016
  * OpenAPI spec version: 1.0.0
2124
2017
  */
2125
- interface Feedback {
2126
- /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2018
+
2019
+ interface Webhook {
2127
2020
  id: string;
2128
- /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2129
- call_id: string;
2130
- /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2131
- message_id: string;
2132
- author_email: string;
2133
- text: string;
2021
+ scope: WebhookScope;
2022
+ name: string;
2023
+ url: string;
2024
+ auth_header_name: string | null;
2025
+ has_auth: boolean;
2026
+ enabled: boolean;
2134
2027
  created_at: string;
2135
2028
  updated_at: string;
2136
2029
  }
@@ -2142,8 +2035,22 @@ interface Feedback {
2142
2035
  * OpenAPI spec version: 1.0.0
2143
2036
  */
2144
2037
 
2145
- interface GetAgentResponse {
2146
- agent: Agent;
2038
+ type ExtractorWebhookList = Webhook[];
2039
+
2040
+ /**
2041
+ * Generated by orval v8.1.0 🍺
2042
+ * Do not edit manually.
2043
+ * Avallon API
2044
+ * OpenAPI spec version: 1.0.0
2045
+ */
2046
+ interface Feedback {
2047
+ id: string;
2048
+ call_id: string;
2049
+ message_id: string;
2050
+ author_email: string;
2051
+ text: string;
2052
+ created_at: string;
2053
+ updated_at: string;
2147
2054
  }
2148
2055
 
2149
2056
  /**
@@ -2329,7 +2236,6 @@ type GetSessionToken200 = {
2329
2236
  * OpenAPI spec version: 1.0.0
2330
2237
  */
2331
2238
  type GetSessionTokenBody = {
2332
- /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2333
2239
  tenant_id?: string;
2334
2240
  };
2335
2241
 
@@ -2350,14 +2256,45 @@ interface GetToolResponse {
2350
2256
  * Avallon API
2351
2257
  * OpenAPI spec version: 1.0.0
2352
2258
  */
2353
- type ListAgenticJobMessagesParams = {
2354
- after?: string;
2355
- /**
2356
- * @minimum 1
2357
- * @maximum 500
2358
- */
2359
- count?: number;
2360
- };
2259
+
2260
+ interface GetVoiceAgentResponse {
2261
+ agent: VoiceAgent;
2262
+ }
2263
+
2264
+ /**
2265
+ * Generated by orval v8.1.0 🍺
2266
+ * Do not edit manually.
2267
+ * Avallon API
2268
+ * OpenAPI spec version: 1.0.0
2269
+ */
2270
+ interface Inbox {
2271
+ id: string;
2272
+ name: string;
2273
+ email_address: string;
2274
+ extractor_id: string;
2275
+ has_password: boolean;
2276
+ pdf_splitting_enabled: boolean;
2277
+ created_at: string;
2278
+ updated_at: string;
2279
+ }
2280
+
2281
+ /**
2282
+ * Generated by orval v8.1.0 🍺
2283
+ * Do not edit manually.
2284
+ * Avallon API
2285
+ * OpenAPI spec version: 1.0.0
2286
+ */
2287
+
2288
+ type InboxList = Inbox[];
2289
+
2290
+ /**
2291
+ * Generated by orval v8.1.0 🍺
2292
+ * Do not edit manually.
2293
+ * Avallon API
2294
+ * OpenAPI spec version: 1.0.0
2295
+ */
2296
+
2297
+ type InboxWebhookList = Webhook[];
2361
2298
 
2362
2299
  /**
2363
2300
  * Generated by orval v8.1.0 🍺
@@ -2365,11 +2302,13 @@ type ListAgenticJobMessagesParams = {
2365
2302
  * Avallon API
2366
2303
  * OpenAPI spec version: 1.0.0
2367
2304
  */
2368
- type ListAgentsParams = {
2305
+ type ListAgenticJobMessagesParams = {
2306
+ after?: string;
2369
2307
  /**
2370
- * Filter by exact agent name
2308
+ * @minimum 1
2309
+ * @maximum 500
2371
2310
  */
2372
- agent_name?: string;
2311
+ count?: number;
2373
2312
  };
2374
2313
 
2375
2314
  /**
@@ -2567,21 +2506,12 @@ type ListCallsParams = {
2567
2506
  offset?: number;
2568
2507
  sort_by?: ListCallsSortBy;
2569
2508
  sort_order?: ListCallsSortOrder;
2570
- /**
2571
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2572
- */
2573
2509
  call_id?: string;
2574
- /**
2575
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2576
- */
2577
2510
  agent_id?: string;
2578
2511
  /**
2579
2512
  * @minLength 1
2580
2513
  */
2581
2514
  agent_name?: string;
2582
- /**
2583
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2584
- */
2585
2515
  job_id?: string;
2586
2516
  direction?: ListCallsDirection;
2587
2517
  status?: ListCallsStatus;
@@ -2643,8 +2573,8 @@ type ListClaimsParams = {
2643
2573
  * Avallon API
2644
2574
  * OpenAPI spec version: 1.0.0
2645
2575
  */
2646
- type ListEmailAgentsSortBy = (typeof ListEmailAgentsSortBy)[keyof typeof ListEmailAgentsSortBy];
2647
- declare const ListEmailAgentsSortBy: {
2576
+ type ListEmailsSortBy = (typeof ListEmailsSortBy)[keyof typeof ListEmailsSortBy];
2577
+ declare const ListEmailsSortBy: {
2648
2578
  readonly created_at: "created_at";
2649
2579
  };
2650
2580
 
@@ -2654,8 +2584,8 @@ declare const ListEmailAgentsSortBy: {
2654
2584
  * Avallon API
2655
2585
  * OpenAPI spec version: 1.0.0
2656
2586
  */
2657
- type ListEmailAgentsSortOrder = (typeof ListEmailAgentsSortOrder)[keyof typeof ListEmailAgentsSortOrder];
2658
- declare const ListEmailAgentsSortOrder: {
2587
+ type ListEmailsSortOrder = (typeof ListEmailsSortOrder)[keyof typeof ListEmailsSortOrder];
2588
+ declare const ListEmailsSortOrder: {
2659
2589
  readonly asc: "asc";
2660
2590
  readonly desc: "desc";
2661
2591
  };
@@ -2667,7 +2597,15 @@ declare const ListEmailAgentsSortOrder: {
2667
2597
  * OpenAPI spec version: 1.0.0
2668
2598
  */
2669
2599
 
2670
- type ListEmailAgentsParams = {
2600
+ type ListEmailsParams = {
2601
+ agent_id?: string;
2602
+ sender?: string;
2603
+ recipient?: string;
2604
+ /**
2605
+ * @minLength 1
2606
+ * @maxLength 500
2607
+ */
2608
+ content?: string;
2671
2609
  /**
2672
2610
  * @minimum 1
2673
2611
  * @maximum 100
@@ -2676,70 +2614,9 @@ type ListEmailAgentsParams = {
2676
2614
  /**
2677
2615
  * @minimum 0
2678
2616
  */
2679
- offset?: number;
2680
- sort_by?: ListEmailAgentsSortBy;
2681
- sort_order?: ListEmailAgentsSortOrder;
2682
- };
2683
-
2684
- /**
2685
- * Generated by orval v8.1.0 🍺
2686
- * Do not edit manually.
2687
- * Avallon API
2688
- * OpenAPI spec version: 1.0.0
2689
- */
2690
- type ListEmailsSortBy = (typeof ListEmailsSortBy)[keyof typeof ListEmailsSortBy];
2691
- declare const ListEmailsSortBy: {
2692
- readonly created_at: "created_at";
2693
- };
2694
-
2695
- /**
2696
- * Generated by orval v8.1.0 🍺
2697
- * Do not edit manually.
2698
- * Avallon API
2699
- * OpenAPI spec version: 1.0.0
2700
- */
2701
- type ListEmailsSortOrder = (typeof ListEmailsSortOrder)[keyof typeof ListEmailsSortOrder];
2702
- declare const ListEmailsSortOrder: {
2703
- readonly asc: "asc";
2704
- readonly desc: "desc";
2705
- };
2706
-
2707
- /**
2708
- * Generated by orval v8.1.0 🍺
2709
- * Do not edit manually.
2710
- * Avallon API
2711
- * OpenAPI spec version: 1.0.0
2712
- */
2713
-
2714
- type ListEmailsParams = {
2715
- /**
2716
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2717
- */
2718
- agent_id?: string;
2719
- /**
2720
- * @pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
2721
- */
2722
- sender?: string;
2723
- /**
2724
- * @pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
2725
- */
2726
- recipient?: string;
2727
- /**
2728
- * @minLength 1
2729
- * @maxLength 500
2730
- */
2731
- content?: string;
2732
- /**
2733
- * @minimum 1
2734
- * @maximum 100
2735
- */
2736
- count?: number;
2737
- /**
2738
- * @minimum 0
2739
- */
2740
- offset: number;
2741
- sort_by?: ListEmailsSortBy;
2742
- sort_order?: ListEmailsSortOrder;
2617
+ offset: number;
2618
+ sort_by?: ListEmailsSortBy;
2619
+ sort_order?: ListEmailsSortOrder;
2743
2620
  };
2744
2621
 
2745
2622
  /**
@@ -2831,7 +2708,6 @@ type ListExtractorJobsParams = {
2831
2708
  extractor_type?: ListExtractorJobsExtractorType;
2832
2709
  /**
2833
2710
  * Filter by extractor ID
2834
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2835
2711
  */
2836
2712
  extractor_id?: string;
2837
2713
  /**
@@ -2939,13 +2815,7 @@ type ListExtractsParams = {
2939
2815
  offset?: number;
2940
2816
  sort_by?: ListExtractsSortBy;
2941
2817
  sort_order?: ListExtractsSortOrder;
2942
- /**
2943
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2944
- */
2945
2818
  job_id?: string;
2946
- /**
2947
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2948
- */
2949
2819
  extractor_id?: string;
2950
2820
  created_after?: string;
2951
2821
  created_before?: string;
@@ -2957,6 +2827,50 @@ type ListExtractsParams = {
2957
2827
  };
2958
2828
  };
2959
2829
 
2830
+ /**
2831
+ * Generated by orval v8.1.0 🍺
2832
+ * Do not edit manually.
2833
+ * Avallon API
2834
+ * OpenAPI spec version: 1.0.0
2835
+ */
2836
+ type ListInboxesSortBy = (typeof ListInboxesSortBy)[keyof typeof ListInboxesSortBy];
2837
+ declare const ListInboxesSortBy: {
2838
+ readonly created_at: "created_at";
2839
+ };
2840
+
2841
+ /**
2842
+ * Generated by orval v8.1.0 🍺
2843
+ * Do not edit manually.
2844
+ * Avallon API
2845
+ * OpenAPI spec version: 1.0.0
2846
+ */
2847
+ type ListInboxesSortOrder = (typeof ListInboxesSortOrder)[keyof typeof ListInboxesSortOrder];
2848
+ declare const ListInboxesSortOrder: {
2849
+ readonly asc: "asc";
2850
+ readonly desc: "desc";
2851
+ };
2852
+
2853
+ /**
2854
+ * Generated by orval v8.1.0 🍺
2855
+ * Do not edit manually.
2856
+ * Avallon API
2857
+ * OpenAPI spec version: 1.0.0
2858
+ */
2859
+
2860
+ type ListInboxesParams = {
2861
+ /**
2862
+ * @minimum 1
2863
+ * @maximum 100
2864
+ */
2865
+ count?: number;
2866
+ /**
2867
+ * @minimum 0
2868
+ */
2869
+ offset?: number;
2870
+ sort_by?: ListInboxesSortBy;
2871
+ sort_order?: ListInboxesSortOrder;
2872
+ };
2873
+
2960
2874
  /**
2961
2875
  * Generated by orval v8.1.0 🍺
2962
2876
  * Do not edit manually.
@@ -2980,9 +2894,6 @@ declare const ListJobsStatusItem: {
2980
2894
  */
2981
2895
 
2982
2896
  type ListJobsParams = {
2983
- /**
2984
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2985
- */
2986
2897
  agent?: string;
2987
2898
  /**
2988
2899
  * @minimum 1
@@ -3034,10 +2945,20 @@ declare const ListToolsSortOrder: {
3034
2945
  type ListToolsParams = {
3035
2946
  sort_by?: ListToolsSortBy;
3036
2947
  sort_order?: ListToolsSortOrder;
2948
+ call_agent_id?: string;
2949
+ };
2950
+
2951
+ /**
2952
+ * Generated by orval v8.1.0 🍺
2953
+ * Do not edit manually.
2954
+ * Avallon API
2955
+ * OpenAPI spec version: 1.0.0
2956
+ */
2957
+ type ListVoiceAgentsParams = {
3037
2958
  /**
3038
- * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
2959
+ * Filter by exact agent name
3039
2960
  */
3040
- call_agent_id?: string;
2961
+ agent_name?: string;
3041
2962
  };
3042
2963
 
3043
2964
  /**
@@ -3251,7 +3172,6 @@ type SignInBody = {
3251
3172
  verifier: string;
3252
3173
  } | {
3253
3174
  type: "email_otp";
3254
- /** @pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ */
3255
3175
  email: string;
3256
3176
  /** @minLength 1 */
3257
3177
  token: string;
@@ -3264,7 +3184,6 @@ type SignInBody = {
3264
3184
  * OpenAPI spec version: 1.0.0
3265
3185
  */
3266
3186
  type SignUpBody = {
3267
- /** @pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ */
3268
3187
  email: string;
3269
3188
  password: string;
3270
3189
  };
@@ -3315,113 +3234,6 @@ interface ToolList {
3315
3234
  tools: CodeToolSummary[];
3316
3235
  }
3317
3236
 
3318
- /**
3319
- * Generated by orval v8.1.0 🍺
3320
- * Do not edit manually.
3321
- * Avallon API
3322
- * OpenAPI spec version: 1.0.0
3323
- */
3324
- type UpdateAgentModelsBodyLanguage = (typeof UpdateAgentModelsBodyLanguage)[keyof typeof UpdateAgentModelsBodyLanguage];
3325
- declare const UpdateAgentModelsBodyLanguage: {
3326
- readonly "en-US": "en-US";
3327
- readonly "de-DE": "de-DE";
3328
- };
3329
-
3330
- /**
3331
- * Generated by orval v8.1.0 🍺
3332
- * Do not edit manually.
3333
- * Avallon API
3334
- * OpenAPI spec version: 1.0.0
3335
- */
3336
- type UpdateAgentModelsBodyLlmModel = (typeof UpdateAgentModelsBodyLlmModel)[keyof typeof UpdateAgentModelsBodyLlmModel];
3337
- declare const UpdateAgentModelsBodyLlmModel: {
3338
- readonly GPT41: "GPT4.1";
3339
- readonly "AZURE-GPT4o": "AZURE-GPT4o";
3340
- readonly "AZURE-GPT41": "AZURE-GPT4.1";
3341
- readonly "GPT-5": "GPT-5";
3342
- readonly "GPT-5-low": "GPT-5-low";
3343
- readonly "GPT-5-high": "GPT-5-high";
3344
- readonly "GPT-51-chat-latest": "GPT-5.1-chat-latest";
3345
- readonly "GPT-51-no-reasoning": "GPT-5.1-no-reasoning";
3346
- readonly "GEMINI-15-flash": "GEMINI-1.5-flash";
3347
- readonly "GEMINI-25-flash": "GEMINI-2.5-flash";
3348
- readonly "GEMINI-25-flash-lite": "GEMINI-2.5-flash-lite";
3349
- readonly "GEMINI-3-flash": "GEMINI-3-flash";
3350
- readonly "CLAUDE-sonnet-46": "CLAUDE-sonnet-4.6";
3351
- readonly "CLAUDE-haiku-45": "CLAUDE-haiku-4.5";
3352
- readonly "GPT-54-mini": "GPT-5.4-mini";
3353
- };
3354
-
3355
- /**
3356
- * Generated by orval v8.1.0 🍺
3357
- * Do not edit manually.
3358
- * Avallon API
3359
- * OpenAPI spec version: 1.0.0
3360
- */
3361
- type UpdateAgentModelsBodySttModel = (typeof UpdateAgentModelsBodySttModel)[keyof typeof UpdateAgentModelsBodySttModel];
3362
- declare const UpdateAgentModelsBodySttModel: {
3363
- readonly "DEEPGRAM-NOVA-2-GENERAL": "DEEPGRAM-NOVA-2-GENERAL";
3364
- readonly "DEEPGRAM-NOVA-3-GENERAL": "DEEPGRAM-NOVA-3-GENERAL";
3365
- readonly "AWS-TRANSCRIBE": "AWS-TRANSCRIBE";
3366
- readonly "ELEVENLABS-SCRIBE-V2-REALTIME": "ELEVENLABS-SCRIBE-V2-REALTIME";
3367
- };
3368
-
3369
- /**
3370
- * Generated by orval v8.1.0 🍺
3371
- * Do not edit manually.
3372
- * Avallon API
3373
- * OpenAPI spec version: 1.0.0
3374
- */
3375
- type UpdateAgentModelsBodyTtsModel = (typeof UpdateAgentModelsBodyTtsModel)[keyof typeof UpdateAgentModelsBodyTtsModel];
3376
- declare const UpdateAgentModelsBodyTtsModel: {
3377
- readonly eleven_flash_v2_5: "eleven_flash_v2_5";
3378
- readonly eleven_turbo_v2_5: "eleven_turbo_v2_5";
3379
- readonly "sonic-3": "sonic-3";
3380
- readonly chirp_3: "chirp_3";
3381
- readonly "polly-neural": "polly-neural";
3382
- };
3383
-
3384
- /**
3385
- * Generated by orval v8.1.0 🍺
3386
- * Do not edit manually.
3387
- * Avallon API
3388
- * OpenAPI spec version: 1.0.0
3389
- */
3390
- type UpdateAgentModelsBodyTtsProvider = (typeof UpdateAgentModelsBodyTtsProvider)[keyof typeof UpdateAgentModelsBodyTtsProvider];
3391
- declare const UpdateAgentModelsBodyTtsProvider: {
3392
- readonly elevenlabs: "elevenlabs";
3393
- readonly cartesia: "cartesia";
3394
- readonly google: "google";
3395
- readonly "aws-polly": "aws-polly";
3396
- };
3397
-
3398
- /**
3399
- * Generated by orval v8.1.0 🍺
3400
- * Do not edit manually.
3401
- * Avallon API
3402
- * OpenAPI spec version: 1.0.0
3403
- */
3404
-
3405
- type UpdateAgentModelsBody = {
3406
- llm_model: UpdateAgentModelsBodyLlmModel;
3407
- tts_provider: UpdateAgentModelsBodyTtsProvider;
3408
- tts_model: UpdateAgentModelsBodyTtsModel;
3409
- tts_voice_id: "Achernar" | "Achird" | "v3V1d2rk6528UrLKRuy8" | "5c42302c-194b-4d0c-ba1a-8cb485c84ab9" | "e8e5fffb-252c-436d-b842-8879b84445b6" | "f786b574-daa5-4673-aa0c-cbe3e8534c02" | "8d8ce8c9-44a4-46c4-b10f-9a927b99a853" | "5ee9feff-1265-424a-9d7f-8e4d431a12c7" | "b9de4a89-2257-424b-94c2-db18ba68c81a" | "b0a1cdc7-e0d3-4d48-900d-7a936762c77b" | "Joanna" | "Kendra" | "Salli" | "Joey" | "Vicki" | "Daniel";
3410
- stt_model: UpdateAgentModelsBodySttModel;
3411
- language: UpdateAgentModelsBodyLanguage;
3412
- };
3413
-
3414
- /**
3415
- * Generated by orval v8.1.0 🍺
3416
- * Do not edit manually.
3417
- * Avallon API
3418
- * OpenAPI spec version: 1.0.0
3419
- */
3420
-
3421
- interface UpdateAgentModelsResponse {
3422
- agent: Agent;
3423
- }
3424
-
3425
3237
  /**
3426
3238
  * Generated by orval v8.1.0 🍺
3427
3239
  * Do not edit manually.
@@ -3455,17 +3267,6 @@ type UpdateCallControlsBody = {
3455
3267
  transfer_phone_number?: string | null;
3456
3268
  };
3457
3269
 
3458
- /**
3459
- * Generated by orval v8.1.0 🍺
3460
- * Do not edit manually.
3461
- * Avallon API
3462
- * OpenAPI spec version: 1.0.0
3463
- */
3464
-
3465
- interface UpdateCallControlsResponse {
3466
- agent: Agent;
3467
- }
3468
-
3469
3270
  /**
3470
3271
  * Generated by orval v8.1.0 🍺
3471
3272
  * Do not edit manually.
@@ -3498,16 +3299,6 @@ interface UpdatedExtractorJob {
3498
3299
  error: string | null;
3499
3300
  }
3500
3301
 
3501
- /**
3502
- * Generated by orval v8.1.0 🍺
3503
- * Do not edit manually.
3504
- * Avallon API
3505
- * OpenAPI spec version: 1.0.0
3506
- */
3507
- type UpdateEmailAgentBody = {
3508
- pdf_splitting_enabled?: boolean;
3509
- };
3510
-
3511
3302
  /**
3512
3303
  * Generated by orval v8.1.0 🍺
3513
3304
  * Do not edit manually.
@@ -3550,6 +3341,16 @@ type UpdateExtractorJobScopeBody = {
3550
3341
  scope: UpdateExtractorJobScopeBodyScope;
3551
3342
  };
3552
3343
 
3344
+ /**
3345
+ * Generated by orval v8.1.0 🍺
3346
+ * Do not edit manually.
3347
+ * Avallon API
3348
+ * OpenAPI spec version: 1.0.0
3349
+ */
3350
+ type UpdateInboxBody = {
3351
+ pdf_splitting_enabled?: boolean;
3352
+ };
3353
+
3553
3354
  /**
3554
3355
  * Generated by orval v8.1.0 🍺
3555
3356
  * Do not edit manually.
@@ -3572,20 +3373,10 @@ type UpdateToolBody = {
3572
3373
  * Avallon API
3573
3374
  * OpenAPI spec version: 1.0.0
3574
3375
  */
3575
- type UploadFileBodyMetadata = {
3576
- [key: string]: unknown;
3577
- };
3578
3376
 
3579
- /**
3580
- * Generated by orval v8.1.0 🍺
3581
- * Do not edit manually.
3582
- * Avallon API
3583
- * OpenAPI spec version: 1.0.0
3584
- */
3585
- type UploadFileBodyProcessingOptions = {
3586
- file_password?: string;
3587
- file_splitting_enabled?: boolean;
3588
- };
3377
+ interface UpdateVoiceAgentCallControlsResponse {
3378
+ agent: VoiceAgent;
3379
+ }
3589
3380
 
3590
3381
  /**
3591
3382
  * Generated by orval v8.1.0 🍺
@@ -3593,15 +3384,10 @@ type UploadFileBodyProcessingOptions = {
3593
3384
  * Avallon API
3594
3385
  * OpenAPI spec version: 1.0.0
3595
3386
  */
3596
-
3597
- type UploadFileBody = {
3598
- /** URL of the file to upload. Accepts either a public HTTPS URL or an `avallon://artifact-upload/` URL returned by the Request a pre-signed URL for direct large file upload (POST /v1/artifacts/get-upload-url) endpoint. */
3599
- source_url: string;
3600
- /** @minLength 1 */
3601
- document_name: string;
3602
- processing_options?: UploadFileBodyProcessingOptions;
3603
- created_at_document?: string;
3604
- metadata?: UploadFileBodyMetadata;
3387
+ type UpdateVoiceAgentModelsBodyLanguage = (typeof UpdateVoiceAgentModelsBodyLanguage)[keyof typeof UpdateVoiceAgentModelsBodyLanguage];
3388
+ declare const UpdateVoiceAgentModelsBodyLanguage: {
3389
+ readonly "en-US": "en-US";
3390
+ readonly "de-DE": "de-DE";
3605
3391
  };
3606
3392
 
3607
3393
  /**
@@ -3610,9 +3396,24 @@ type UploadFileBody = {
3610
3396
  * Avallon API
3611
3397
  * OpenAPI spec version: 1.0.0
3612
3398
  */
3613
- interface UploadFileResponse {
3614
- upload_id: string;
3615
- }
3399
+ type UpdateVoiceAgentModelsBodyLlmModel = (typeof UpdateVoiceAgentModelsBodyLlmModel)[keyof typeof UpdateVoiceAgentModelsBodyLlmModel];
3400
+ declare const UpdateVoiceAgentModelsBodyLlmModel: {
3401
+ readonly GPT41: "GPT4.1";
3402
+ readonly "AZURE-GPT4o": "AZURE-GPT4o";
3403
+ readonly "AZURE-GPT41": "AZURE-GPT4.1";
3404
+ readonly "GPT-5": "GPT-5";
3405
+ readonly "GPT-5-low": "GPT-5-low";
3406
+ readonly "GPT-5-high": "GPT-5-high";
3407
+ readonly "GPT-51-chat-latest": "GPT-5.1-chat-latest";
3408
+ readonly "GPT-51-no-reasoning": "GPT-5.1-no-reasoning";
3409
+ readonly "GEMINI-15-flash": "GEMINI-1.5-flash";
3410
+ readonly "GEMINI-25-flash": "GEMINI-2.5-flash";
3411
+ readonly "GEMINI-25-flash-lite": "GEMINI-2.5-flash-lite";
3412
+ readonly "GEMINI-3-flash": "GEMINI-3-flash";
3413
+ readonly "CLAUDE-sonnet-46": "CLAUDE-sonnet-4.6";
3414
+ readonly "CLAUDE-haiku-45": "CLAUDE-haiku-4.5";
3415
+ readonly "GPT-54-mini": "GPT-5.4-mini";
3416
+ };
3616
3417
 
3617
3418
  /**
3618
3419
  * Generated by orval v8.1.0 🍺
@@ -3620,16 +3421,13 @@ interface UploadFileResponse {
3620
3421
  * Avallon API
3621
3422
  * OpenAPI spec version: 1.0.0
3622
3423
  */
3623
- interface WebhookDelivery {
3624
- id: string;
3625
- webhook_id: string;
3626
- event_type: string;
3627
- event_id: string | null;
3628
- status_code: number | null;
3629
- duration_ms: number | null;
3630
- error_message: string | null;
3631
- created_at: string;
3632
- }
3424
+ type UpdateVoiceAgentModelsBodySttModel = (typeof UpdateVoiceAgentModelsBodySttModel)[keyof typeof UpdateVoiceAgentModelsBodySttModel];
3425
+ declare const UpdateVoiceAgentModelsBodySttModel: {
3426
+ readonly "DEEPGRAM-NOVA-2-GENERAL": "DEEPGRAM-NOVA-2-GENERAL";
3427
+ readonly "DEEPGRAM-NOVA-3-GENERAL": "DEEPGRAM-NOVA-3-GENERAL";
3428
+ readonly "AWS-TRANSCRIBE": "AWS-TRANSCRIBE";
3429
+ readonly "ELEVENLABS-SCRIBE-V2-REALTIME": "ELEVENLABS-SCRIBE-V2-REALTIME";
3430
+ };
3633
3431
 
3634
3432
  /**
3635
3433
  * Generated by orval v8.1.0 🍺
@@ -3637,8 +3435,14 @@ interface WebhookDelivery {
3637
3435
  * Avallon API
3638
3436
  * OpenAPI spec version: 1.0.0
3639
3437
  */
3640
-
3641
- type WebhookDeliveryList = WebhookDelivery[];
3438
+ type UpdateVoiceAgentModelsBodyTtsModel = (typeof UpdateVoiceAgentModelsBodyTtsModel)[keyof typeof UpdateVoiceAgentModelsBodyTtsModel];
3439
+ declare const UpdateVoiceAgentModelsBodyTtsModel: {
3440
+ readonly eleven_flash_v2_5: "eleven_flash_v2_5";
3441
+ readonly eleven_turbo_v2_5: "eleven_turbo_v2_5";
3442
+ readonly "sonic-3": "sonic-3";
3443
+ readonly chirp_3: "chirp_3";
3444
+ readonly "polly-neural": "polly-neural";
3445
+ };
3642
3446
 
3643
3447
  /**
3644
3448
  * Generated by orval v8.1.0 🍺
@@ -3646,244 +3450,166 @@ type WebhookDeliveryList = WebhookDelivery[];
3646
3450
  * Avallon API
3647
3451
  * OpenAPI spec version: 1.0.0
3648
3452
  */
3649
- interface WebhookTestResult {
3650
- success: boolean;
3651
- status_code: number | null;
3652
- duration_ms: number;
3653
- error: string | null;
3654
- }
3453
+ type UpdateVoiceAgentModelsBodyTtsProvider = (typeof UpdateVoiceAgentModelsBodyTtsProvider)[keyof typeof UpdateVoiceAgentModelsBodyTtsProvider];
3454
+ declare const UpdateVoiceAgentModelsBodyTtsProvider: {
3455
+ readonly elevenlabs: "elevenlabs";
3456
+ readonly cartesia: "cartesia";
3457
+ readonly google: "google";
3458
+ readonly "aws-polly": "aws-polly";
3459
+ };
3655
3460
 
3656
- type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
3657
3461
  /**
3658
- * List all agents for your tenant.
3659
-
3660
- **Filtering:**
3661
-
3662
- Filter agents by name using the `agent_name` query parameter (exact match).
3462
+ * Generated by orval v8.1.0 🍺
3463
+ * Do not edit manually.
3464
+ * Avallon API
3465
+ * OpenAPI spec version: 1.0.0
3466
+ */
3663
3467
 
3664
- **Response:**
3468
+ type UpdateVoiceAgentModelsBody = {
3469
+ llm_model: UpdateVoiceAgentModelsBodyLlmModel;
3470
+ tts_provider: UpdateVoiceAgentModelsBodyTtsProvider;
3471
+ tts_model: UpdateVoiceAgentModelsBodyTtsModel;
3472
+ tts_voice_id: "Achernar" | "Achird" | "v3V1d2rk6528UrLKRuy8" | "5c42302c-194b-4d0c-ba1a-8cb485c84ab9" | "e8e5fffb-252c-436d-b842-8879b84445b6" | "f786b574-daa5-4673-aa0c-cbe3e8534c02" | "8d8ce8c9-44a4-46c4-b10f-9a927b99a853" | "5ee9feff-1265-424a-9d7f-8e4d431a12c7" | "b9de4a89-2257-424b-94c2-db18ba68c81a" | "b0a1cdc7-e0d3-4d48-900d-7a936762c77b" | "Joanna" | "Kendra" | "Salli" | "Joey" | "Vicki" | "Daniel";
3473
+ stt_model: UpdateVoiceAgentModelsBodySttModel;
3474
+ language: UpdateVoiceAgentModelsBodyLanguage;
3475
+ };
3665
3476
 
3666
- Returns an array of all agents with their configurations and a total count.
3667
- * @summary List agents
3668
- */
3669
- declare const getListAgentsUrl: (params?: ListAgentsParams) => string;
3670
- declare const listAgents: (params?: ListAgentsParams, options?: RequestInit) => Promise<AgentList>;
3671
- declare const getListAgentsKey: (params?: ListAgentsParams) => readonly ["/v1/agents", ...ListAgentsParams[]];
3672
- type ListAgentsQueryResult = NonNullable<Awaited<ReturnType<typeof listAgents>>>;
3673
3477
  /**
3674
- * @summary List agents
3478
+ * Generated by orval v8.1.0 🍺
3479
+ * Do not edit manually.
3480
+ * Avallon API
3481
+ * OpenAPI spec version: 1.0.0
3675
3482
  */
3676
- declare const useListAgents: <TError = ErrorType<ErrorResponse>>(params?: ListAgentsParams, options?: {
3677
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listAgents>>, TError> & {
3678
- swrKey?: Key;
3679
- enabled?: boolean;
3680
- };
3681
- request?: SecondParameter$f<typeof customFetch>;
3682
- }) => {
3683
- data: AgentList | undefined;
3684
- error: TError | undefined;
3685
- mutate: swr.KeyedMutator<AgentList>;
3686
- isValidating: boolean;
3687
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
3688
- swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
3689
- };
3690
- /**
3691
- * Create a new voice agent with the specified configuration.
3692
-
3693
- **Required fields:**
3694
-
3695
- All fields in the request body are required except `phone_number_id` and `transfer_phone_number`.
3696
3483
 
3697
- **Response:**
3484
+ interface UpdateVoiceAgentModelsResponse {
3485
+ agent: VoiceAgent;
3486
+ }
3698
3487
 
3699
- Returns the created agent with its ID and configuration.
3700
- * @summary Create agent
3701
- */
3702
- declare const getCreateAgentUrl: () => string;
3703
- declare const createAgent: (createAgentBody: CreateAgentBody, options?: RequestInit) => Promise<CreateAgentResponse>;
3704
- declare const getCreateAgentMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
3705
- arg: CreateAgentBody;
3706
- }) => Promise<CreateAgentResponse>;
3707
- declare const getCreateAgentMutationKey: () => readonly ["/v1/agents"];
3708
- type CreateAgentMutationResult = NonNullable<Awaited<ReturnType<typeof createAgent>>>;
3709
3488
  /**
3710
- * @summary Create agent
3489
+ * Generated by orval v8.1.0 🍺
3490
+ * Do not edit manually.
3491
+ * Avallon API
3492
+ * OpenAPI spec version: 1.0.0
3711
3493
  */
3712
- declare const useCreateAgent: <TError = ErrorType<ErrorResponse>>(options?: {
3713
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createAgent>>, TError, Key, CreateAgentBody, Awaited<ReturnType<typeof createAgent>>> & {
3714
- swrKey?: string;
3715
- };
3716
- request?: SecondParameter$f<typeof customFetch>;
3717
- }) => {
3718
- isMutating: boolean;
3719
- trigger: swr_mutation.TriggerWithArgs<CreateAgentResponse, TError, string | readonly ["/v1/agents"], CreateAgentBody>;
3720
- reset: () => void;
3721
- data: CreateAgentResponse | undefined;
3722
- error: TError | undefined;
3723
- swrKey: string | readonly ["/v1/agents"];
3494
+ type UploadFileBodyMetadata = {
3495
+ [key: string]: unknown;
3724
3496
  };
3497
+
3725
3498
  /**
3726
- * Retrieve a single agent by its ID.
3727
- * @summary Get agent
3728
- */
3729
- declare const getGetAgentUrl: (id: string) => string;
3730
- declare const getAgent: (id: string, options?: RequestInit) => Promise<GetAgentResponse>;
3731
- declare const getGetAgentKey: (id: string) => readonly [`/v1/agents/${string}`];
3732
- type GetAgentQueryResult = NonNullable<Awaited<ReturnType<typeof getAgent>>>;
3733
- /**
3734
- * @summary Get agent
3499
+ * Generated by orval v8.1.0 🍺
3500
+ * Do not edit manually.
3501
+ * Avallon API
3502
+ * OpenAPI spec version: 1.0.0
3735
3503
  */
3736
- declare const useGetAgent: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
3737
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getAgent>>, TError> & {
3738
- swrKey?: Key;
3739
- enabled?: boolean;
3740
- };
3741
- request?: SecondParameter$f<typeof customFetch>;
3742
- }) => {
3743
- data: GetAgentResponse | undefined;
3744
- error: TError | undefined;
3745
- mutate: swr.KeyedMutator<GetAgentResponse>;
3746
- isValidating: boolean;
3747
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
3748
- swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
3504
+ type UploadFileBodyProcessingOptions = {
3505
+ file_password?: string;
3506
+ file_splitting_enabled?: boolean;
3749
3507
  };
3508
+
3750
3509
  /**
3751
- * Add one or more tools to an agent by their IDs.
3752
- * @summary Add tools to agent
3753
- */
3754
- declare const getAddToolsToAgentUrl: (id: string) => string;
3755
- declare const addToolsToAgent: (id: string, addToolsToAgentBody: AddToolsToAgentBody, options?: RequestInit) => Promise<AddToolsToAgentResponse>;
3756
- declare const getAddToolsToAgentMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
3757
- arg: AddToolsToAgentBody;
3758
- }) => Promise<AddToolsToAgentResponse>;
3759
- declare const getAddToolsToAgentMutationKey: (id: string) => readonly [`/v1/agents/${string}/tools`];
3760
- type AddToolsToAgentMutationResult = NonNullable<Awaited<ReturnType<typeof addToolsToAgent>>>;
3761
- /**
3762
- * @summary Add tools to agent
3510
+ * Generated by orval v8.1.0 🍺
3511
+ * Do not edit manually.
3512
+ * Avallon API
3513
+ * OpenAPI spec version: 1.0.0
3763
3514
  */
3764
- declare const useAddToolsToAgent: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
3765
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof addToolsToAgent>>, TError, Key, AddToolsToAgentBody, Awaited<ReturnType<typeof addToolsToAgent>>> & {
3766
- swrKey?: string;
3767
- };
3768
- request?: SecondParameter$f<typeof customFetch>;
3769
- }) => {
3770
- isMutating: boolean;
3771
- trigger: swr_mutation.TriggerWithArgs<AddToolsToAgentResponse, TError, string | readonly [`/v1/agents/${string}/tools`], AddToolsToAgentBody>;
3772
- reset: () => void;
3773
- data: AddToolsToAgentResponse | undefined;
3774
- error: TError | undefined;
3775
- swrKey: string | readonly [`/v1/agents/${string}/tools`];
3515
+
3516
+ type UploadFileBody = {
3517
+ /** URL of the file to upload. Accepts either a public HTTPS URL or an `avallon://artifact-upload/` URL returned by the Request a pre-signed URL for direct large file upload (POST /v1/artifacts/get-upload-url) endpoint. */
3518
+ source_url: string;
3519
+ /** @minLength 1 */
3520
+ document_name: string;
3521
+ processing_options?: UploadFileBodyProcessingOptions;
3522
+ created_at_document?: string;
3523
+ metadata?: UploadFileBodyMetadata;
3776
3524
  };
3525
+
3777
3526
  /**
3778
- * Remove one or more tools from an agent by their IDs.
3779
- * @summary Remove tools from agent
3527
+ * Generated by orval v8.1.0 🍺
3528
+ * Do not edit manually.
3529
+ * Avallon API
3530
+ * OpenAPI spec version: 1.0.0
3780
3531
  */
3781
- declare const getDeleteToolsFromAgentUrl: (id: string) => string;
3782
- declare const deleteToolsFromAgent: (id: string, deleteToolsFromAgentBody: DeleteToolsFromAgentBody, options?: RequestInit) => Promise<DeleteToolsFromAgentResponse>;
3783
- declare const getDeleteToolsFromAgentMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
3784
- arg: DeleteToolsFromAgentBody;
3785
- }) => Promise<DeleteToolsFromAgentResponse>;
3786
- declare const getDeleteToolsFromAgentMutationKey: (id: string) => readonly [`/v1/agents/${string}/tools`];
3787
- type DeleteToolsFromAgentMutationResult = NonNullable<Awaited<ReturnType<typeof deleteToolsFromAgent>>>;
3532
+ interface UploadFileResponse {
3533
+ upload_id: string;
3534
+ }
3535
+
3788
3536
  /**
3789
- * @summary Remove tools from agent
3537
+ * Generated by orval v8.1.0 🍺
3538
+ * Do not edit manually.
3539
+ * Avallon API
3540
+ * OpenAPI spec version: 1.0.0
3790
3541
  */
3791
- declare const useDeleteToolsFromAgent: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
3792
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteToolsFromAgent>>, TError, Key, DeleteToolsFromAgentBody, Awaited<ReturnType<typeof deleteToolsFromAgent>>> & {
3793
- swrKey?: string;
3794
- };
3795
- request?: SecondParameter$f<typeof customFetch>;
3796
- }) => {
3797
- isMutating: boolean;
3798
- trigger: swr_mutation.TriggerWithArgs<DeleteToolsFromAgentResponse, TError, string | readonly [`/v1/agents/${string}/tools`], DeleteToolsFromAgentBody>;
3799
- reset: () => void;
3800
- data: DeleteToolsFromAgentResponse | undefined;
3801
- error: TError | undefined;
3802
- swrKey: string | readonly [`/v1/agents/${string}/tools`];
3803
- };
3542
+
3543
+ interface VoiceAgentList {
3544
+ agents: VoiceAgent[];
3545
+ /**
3546
+ * Total number of agents
3547
+ * @minimum -9007199254740991
3548
+ * @maximum 9007199254740991
3549
+ */
3550
+ total: number;
3551
+ }
3552
+
3804
3553
  /**
3805
- * Retrieve the available placeholder variables for an agent.
3806
- * @summary Get agent prompt
3554
+ * Generated by orval v8.1.0 🍺
3555
+ * Do not edit manually.
3556
+ * Avallon API
3557
+ * OpenAPI spec version: 1.0.0
3807
3558
  */
3808
- declare const getGetAgentPromptUrl: (id: string) => string;
3809
- declare const getAgentPrompt: (id: string, options?: RequestInit) => Promise<AgentPrompt>;
3810
- declare const getGetAgentPromptKey: (id: string) => readonly [`/v1/agents/${string}/prompt`];
3811
- type GetAgentPromptQueryResult = NonNullable<Awaited<ReturnType<typeof getAgentPrompt>>>;
3559
+ interface VoiceAgentPrompt {
3560
+ /** Available placeholder variables */
3561
+ placeholders: string[];
3562
+ }
3563
+
3812
3564
  /**
3813
- * @summary Get agent prompt
3565
+ * Generated by orval v8.1.0 🍺
3566
+ * Do not edit manually.
3567
+ * Avallon API
3568
+ * OpenAPI spec version: 1.0.0
3814
3569
  */
3815
- declare const useGetAgentPrompt: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
3816
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getAgentPrompt>>, TError> & {
3817
- swrKey?: Key;
3818
- enabled?: boolean;
3819
- };
3820
- request?: SecondParameter$f<typeof customFetch>;
3821
- }) => {
3822
- data: AgentPrompt | undefined;
3823
- error: TError | undefined;
3824
- mutate: swr.KeyedMutator<AgentPrompt>;
3825
- isValidating: boolean;
3826
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
3827
- swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
3828
- };
3570
+
3571
+ type VoiceAgentWebhookList = Webhook[];
3572
+
3829
3573
  /**
3830
- * Update the LLM, TTS, and STT model configuration for an agent.
3831
- * @summary Update agent models
3574
+ * Generated by orval v8.1.0 🍺
3575
+ * Do not edit manually.
3576
+ * Avallon API
3577
+ * OpenAPI spec version: 1.0.0
3832
3578
  */
3833
- declare const getUpdateAgentModelsUrl: (id: string) => string;
3834
- declare const updateAgentModels: (id: string, updateAgentModelsBody: UpdateAgentModelsBody, options?: RequestInit) => Promise<UpdateAgentModelsResponse>;
3835
- declare const getUpdateAgentModelsMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
3836
- arg: UpdateAgentModelsBody;
3837
- }) => Promise<UpdateAgentModelsResponse>;
3838
- declare const getUpdateAgentModelsMutationKey: (id: string) => readonly [`/v1/agents/${string}/models`];
3839
- type UpdateAgentModelsMutationResult = NonNullable<Awaited<ReturnType<typeof updateAgentModels>>>;
3579
+ interface WebhookDelivery {
3580
+ id: string;
3581
+ webhook_id: string;
3582
+ event_type: string;
3583
+ event_id: string | null;
3584
+ status_code: number | null;
3585
+ duration_ms: number | null;
3586
+ error_message: string | null;
3587
+ created_at: string;
3588
+ }
3589
+
3840
3590
  /**
3841
- * @summary Update agent models
3591
+ * Generated by orval v8.1.0 🍺
3592
+ * Do not edit manually.
3593
+ * Avallon API
3594
+ * OpenAPI spec version: 1.0.0
3842
3595
  */
3843
- declare const useUpdateAgentModels: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
3844
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateAgentModels>>, TError, Key, UpdateAgentModelsBody, Awaited<ReturnType<typeof updateAgentModels>>> & {
3845
- swrKey?: string;
3846
- };
3847
- request?: SecondParameter$f<typeof customFetch>;
3848
- }) => {
3849
- isMutating: boolean;
3850
- trigger: swr_mutation.TriggerWithArgs<UpdateAgentModelsResponse, TError, string | readonly [`/v1/agents/${string}/models`], UpdateAgentModelsBody>;
3851
- reset: () => void;
3852
- data: UpdateAgentModelsResponse | undefined;
3853
- error: TError | undefined;
3854
- swrKey: string | readonly [`/v1/agents/${string}/models`];
3855
- };
3856
- /**
3857
- * Update call control settings for an agent.
3858
3596
 
3859
- Configure whether the agent supports dial pad input, can end calls, and set a transfer phone number.
3860
- * @summary Update agent call controls
3861
- */
3862
- declare const getUpdateCallControlsUrl: (id: string) => string;
3863
- declare const updateCallControls: (id: string, updateCallControlsBody: UpdateCallControlsBody, options?: RequestInit) => Promise<UpdateCallControlsResponse>;
3864
- declare const getUpdateCallControlsMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
3865
- arg: UpdateCallControlsBody;
3866
- }) => Promise<UpdateCallControlsResponse>;
3867
- declare const getUpdateCallControlsMutationKey: (id: string) => readonly [`/v1/agents/${string}/call-controls`];
3868
- type UpdateCallControlsMutationResult = NonNullable<Awaited<ReturnType<typeof updateCallControls>>>;
3597
+ type WebhookDeliveryList = WebhookDelivery[];
3598
+
3869
3599
  /**
3870
- * @summary Update agent call controls
3600
+ * Generated by orval v8.1.0 🍺
3601
+ * Do not edit manually.
3602
+ * Avallon API
3603
+ * OpenAPI spec version: 1.0.0
3871
3604
  */
3872
- declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
3873
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateCallControls>>, TError, Key, UpdateCallControlsBody, Awaited<ReturnType<typeof updateCallControls>>> & {
3874
- swrKey?: string;
3875
- };
3876
- request?: SecondParameter$f<typeof customFetch>;
3877
- }) => {
3878
- isMutating: boolean;
3879
- trigger: swr_mutation.TriggerWithArgs<UpdateCallControlsResponse, TError, string | readonly [`/v1/agents/${string}/call-controls`], UpdateCallControlsBody>;
3880
- reset: () => void;
3881
- data: UpdateCallControlsResponse | undefined;
3882
- error: TError | undefined;
3883
- swrKey: string | readonly [`/v1/agents/${string}/call-controls`];
3884
- };
3605
+ interface WebhookTestResult {
3606
+ success: boolean;
3607
+ status_code: number | null;
3608
+ duration_ms: number;
3609
+ error: string | null;
3610
+ }
3885
3611
 
3886
- type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
3612
+ type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
3887
3613
  /**
3888
3614
  * List all API keys for your tenant.
3889
3615
 
@@ -3904,7 +3630,7 @@ declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListA
3904
3630
  swrKey?: Key;
3905
3631
  enabled?: boolean;
3906
3632
  };
3907
- request?: SecondParameter$e<typeof customFetch>;
3633
+ request?: SecondParameter$f<typeof customFetch>;
3908
3634
  }) => {
3909
3635
  data: ApiKeyList | undefined;
3910
3636
  error: TError | undefined;
@@ -3923,7 +3649,7 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
3923
3649
  */
3924
3650
  declare const getCreateApiKeyUrl: () => string;
3925
3651
  declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
3926
- declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
3652
+ declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
3927
3653
  arg: CreateApiKeyBody;
3928
3654
  }) => Promise<ApiKeyCreated>;
3929
3655
  declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
@@ -3935,7 +3661,7 @@ declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
3935
3661
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited<ReturnType<typeof createApiKey>>> & {
3936
3662
  swrKey?: string;
3937
3663
  };
3938
- request?: SecondParameter$e<typeof customFetch>;
3664
+ request?: SecondParameter$f<typeof customFetch>;
3939
3665
  }) => {
3940
3666
  isMutating: boolean;
3941
3667
  trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
@@ -3954,7 +3680,7 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
3954
3680
  */
3955
3681
  declare const getRevokeApiKeyUrl: (id: string) => string;
3956
3682
  declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
3957
- declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$e<typeof customFetch>) => (_: Key, __: {
3683
+ declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, __: {
3958
3684
  arg: Arguments;
3959
3685
  }) => Promise<ConfirmationResponse>;
3960
3686
  declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
@@ -3966,7 +3692,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
3966
3692
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeApiKey>>> & {
3967
3693
  swrKey?: string;
3968
3694
  };
3969
- request?: SecondParameter$e<typeof customFetch>;
3695
+ request?: SecondParameter$f<typeof customFetch>;
3970
3696
  }) => {
3971
3697
  isMutating: boolean;
3972
3698
  trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
@@ -3976,7 +3702,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
3976
3702
  swrKey: string | readonly [`/platform/api-keys/${string}/revoke`];
3977
3703
  };
3978
3704
 
3979
- type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
3705
+ type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
3980
3706
  /**
3981
3707
  * Upload a document as a base64-encoded artifact for processing.
3982
3708
 
@@ -3992,7 +3718,7 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
3992
3718
  */
3993
3719
  declare const getCreateArtifactUrl: () => string;
3994
3720
  declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<ArtifactCreated>;
3995
- declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
3721
+ declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
3996
3722
  arg: CreateArtifactBody;
3997
3723
  }) => Promise<ArtifactCreated>;
3998
3724
  declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
@@ -4004,7 +3730,7 @@ declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
4004
3730
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited<ReturnType<typeof createArtifact>>> & {
4005
3731
  swrKey?: string;
4006
3732
  };
4007
- request?: SecondParameter$d<typeof customFetch>;
3733
+ request?: SecondParameter$e<typeof customFetch>;
4008
3734
  }) => {
4009
3735
  isMutating: boolean;
4010
3736
  trigger: swr_mutation.TriggerWithArgs<ArtifactCreated, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
@@ -4037,7 +3763,7 @@ declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: Lis
4037
3763
  swrKey?: Key;
4038
3764
  enabled?: boolean;
4039
3765
  };
4040
- request?: SecondParameter$d<typeof customFetch>;
3766
+ request?: SecondParameter$e<typeof customFetch>;
4041
3767
  }) => {
4042
3768
  data: ArtifactList | undefined;
4043
3769
  error: TError | undefined;
@@ -4062,7 +3788,7 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
4062
3788
  swrKey?: Key;
4063
3789
  enabled?: boolean;
4064
3790
  };
4065
- request?: SecondParameter$d<typeof customFetch>;
3791
+ request?: SecondParameter$e<typeof customFetch>;
4066
3792
  }) => {
4067
3793
  data: ArtifactDetail | undefined;
4068
3794
  error: TError | undefined;
@@ -4087,7 +3813,7 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
4087
3813
  swrKey?: Key;
4088
3814
  enabled?: boolean;
4089
3815
  };
4090
- request?: SecondParameter$d<typeof customFetch>;
3816
+ request?: SecondParameter$e<typeof customFetch>;
4091
3817
  }) => {
4092
3818
  data: ArtifactMetadataKeys | undefined;
4093
3819
  error: TError | undefined;
@@ -4102,7 +3828,7 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
4102
3828
  */
4103
3829
  declare const getGetArtifactUploadUrlUrl: () => string;
4104
3830
  declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrl200>;
4105
- declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
3831
+ declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
4106
3832
  arg: GetArtifactUploadUrlBody;
4107
3833
  }) => Promise<GetArtifactUploadUrl200>;
4108
3834
  declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
@@ -4114,7 +3840,7 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
4114
3840
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited<ReturnType<typeof getArtifactUploadUrl>>> & {
4115
3841
  swrKey?: string;
4116
3842
  };
4117
- request?: SecondParameter$d<typeof customFetch>;
3843
+ request?: SecondParameter$e<typeof customFetch>;
4118
3844
  }) => {
4119
3845
  isMutating: boolean;
4120
3846
  trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrl200, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
@@ -4129,7 +3855,7 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
4129
3855
  */
4130
3856
  declare const getUpdateArtifactMetadataUrl: (id: string) => string;
4131
3857
  declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<ArtifactDetail>;
4132
- declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
3858
+ declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
4133
3859
  arg: UpdateArtifactMetadataBody;
4134
3860
  }) => Promise<ArtifactDetail>;
4135
3861
  declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
@@ -4141,7 +3867,7 @@ declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id:
4141
3867
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited<ReturnType<typeof updateArtifactMetadata>>> & {
4142
3868
  swrKey?: string;
4143
3869
  };
4144
- request?: SecondParameter$d<typeof customFetch>;
3870
+ request?: SecondParameter$e<typeof customFetch>;
4145
3871
  }) => {
4146
3872
  isMutating: boolean;
4147
3873
  trigger: swr_mutation.TriggerWithArgs<ArtifactDetail, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
@@ -4158,7 +3884,7 @@ This endpoint returns an upload id that can be used to find the created artifact
4158
3884
  */
4159
3885
  declare const getUploadFileUrl: () => string;
4160
3886
  declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileResponse>;
4161
- declare const getUploadFileMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
3887
+ declare const getUploadFileMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
4162
3888
  arg: UploadFileBody;
4163
3889
  }) => Promise<UploadFileResponse>;
4164
3890
  declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
@@ -4170,7 +3896,7 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
4170
3896
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited<ReturnType<typeof uploadFile>>> & {
4171
3897
  swrKey?: string;
4172
3898
  };
4173
- request?: SecondParameter$d<typeof customFetch>;
3899
+ request?: SecondParameter$e<typeof customFetch>;
4174
3900
  }) => {
4175
3901
  isMutating: boolean;
4176
3902
  trigger: swr_mutation.TriggerWithArgs<UploadFileResponse, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
@@ -4180,14 +3906,14 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
4180
3906
  swrKey: string | readonly ["/v1/upload-file"];
4181
3907
  };
4182
3908
 
4183
- type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
3909
+ type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
4184
3910
  /**
4185
3911
  * Create a new user account with email and password.
4186
3912
  * @summary Sign up
4187
3913
  */
4188
3914
  declare const getSignUpUrl: () => string;
4189
3915
  declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<EmptyResponse>;
4190
- declare const getSignUpMutationFetcher: (options?: SecondParameter$c<typeof customFetchNoAuth>) => (_: Key, { arg }: {
3916
+ declare const getSignUpMutationFetcher: (options?: SecondParameter$d<typeof customFetchNoAuth>) => (_: Key, { arg }: {
4191
3917
  arg: SignUpBody;
4192
3918
  }) => Promise<EmptyResponse>;
4193
3919
  declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
@@ -4199,7 +3925,7 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
4199
3925
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited<ReturnType<typeof signUp>>> & {
4200
3926
  swrKey?: string;
4201
3927
  };
4202
- request?: SecondParameter$c<typeof customFetchNoAuth>;
3928
+ request?: SecondParameter$d<typeof customFetchNoAuth>;
4203
3929
  }) => {
4204
3930
  isMutating: boolean;
4205
3931
  trigger: swr_mutation.TriggerWithArgs<EmptyResponse, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
@@ -4218,7 +3944,7 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
4218
3944
  */
4219
3945
  declare const getSignInUrl: () => string;
4220
3946
  declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<AuthTokens>;
4221
- declare const getSignInMutationFetcher: (options?: SecondParameter$c<typeof customFetchNoAuth>) => (_: Key, { arg }: {
3947
+ declare const getSignInMutationFetcher: (options?: SecondParameter$d<typeof customFetchNoAuth>) => (_: Key, { arg }: {
4222
3948
  arg: SignInBody;
4223
3949
  }) => Promise<AuthTokens>;
4224
3950
  declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
@@ -4230,7 +3956,7 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
4230
3956
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited<ReturnType<typeof signIn>>> & {
4231
3957
  swrKey?: string;
4232
3958
  };
4233
- request?: SecondParameter$c<typeof customFetchNoAuth>;
3959
+ request?: SecondParameter$d<typeof customFetchNoAuth>;
4234
3960
  }) => {
4235
3961
  isMutating: boolean;
4236
3962
  trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
@@ -4245,7 +3971,7 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
4245
3971
  */
4246
3972
  declare const getRefreshTokenUrl: () => string;
4247
3973
  declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
4248
- declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$c<typeof customFetchNoAuth>) => (_: Key, { arg }: {
3974
+ declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$d<typeof customFetchNoAuth>) => (_: Key, { arg }: {
4249
3975
  arg: RefreshTokenBody;
4250
3976
  }) => Promise<AuthTokens>;
4251
3977
  declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
@@ -4257,7 +3983,7 @@ declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
4257
3983
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited<ReturnType<typeof refreshToken>>> & {
4258
3984
  swrKey?: string;
4259
3985
  };
4260
- request?: SecondParameter$c<typeof customFetchNoAuth>;
3986
+ request?: SecondParameter$d<typeof customFetchNoAuth>;
4261
3987
  }) => {
4262
3988
  isMutating: boolean;
4263
3989
  trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
@@ -4282,7 +4008,7 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
4282
4008
  swrKey?: Key;
4283
4009
  enabled?: boolean;
4284
4010
  };
4285
- request?: SecondParameter$c<typeof customFetchNoAuth>;
4011
+ request?: SecondParameter$d<typeof customFetchNoAuth>;
4286
4012
  }) => {
4287
4013
  data: OAuthUrl | undefined;
4288
4014
  error: TError | undefined;
@@ -4301,7 +4027,7 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
4301
4027
  */
4302
4028
  declare const getGetSessionTokenUrl: () => string;
4303
4029
  declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
4304
- declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$c<typeof customFetchNoAuth>) => (_: Key, { arg }: {
4030
+ declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$d<typeof customFetchNoAuth>) => (_: Key, { arg }: {
4305
4031
  arg: GetSessionTokenBody;
4306
4032
  }) => Promise<GetSessionToken200>;
4307
4033
  declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
@@ -4313,7 +4039,7 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
4313
4039
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited<ReturnType<typeof getSessionToken>>> & {
4314
4040
  swrKey?: string;
4315
4041
  };
4316
- request?: SecondParameter$c<typeof customFetchNoAuth>;
4042
+ request?: SecondParameter$d<typeof customFetchNoAuth>;
4317
4043
  }) => {
4318
4044
  isMutating: boolean;
4319
4045
  trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
@@ -4323,14 +4049,14 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
4323
4049
  swrKey: string | readonly ["/v1/auth/session"];
4324
4050
  };
4325
4051
 
4326
- type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
4052
+ type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
4327
4053
  /**
4328
4054
  * Create feedback for a specific message in a call. Author is derived from the authenticated user.
4329
4055
  * @summary Create feedback on a call message
4330
4056
  */
4331
4057
  declare const getCreateCallFeedbackUrl: (id: string) => string;
4332
4058
  declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<Feedback>;
4333
- declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
4059
+ declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
4334
4060
  arg: CreateFeedbackRequest;
4335
4061
  }) => Promise<Feedback>;
4336
4062
  declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
@@ -4342,7 +4068,7 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
4342
4068
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited<ReturnType<typeof createCallFeedback>>> & {
4343
4069
  swrKey?: string;
4344
4070
  };
4345
- request?: SecondParameter$b<typeof customFetch>;
4071
+ request?: SecondParameter$c<typeof customFetch>;
4346
4072
  }) => {
4347
4073
  isMutating: boolean;
4348
4074
  trigger: swr_mutation.TriggerWithArgs<Feedback, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
@@ -4367,7 +4093,7 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
4367
4093
  swrKey?: Key;
4368
4094
  enabled?: boolean;
4369
4095
  };
4370
- request?: SecondParameter$b<typeof customFetch>;
4096
+ request?: SecondParameter$c<typeof customFetch>;
4371
4097
  }) => {
4372
4098
  data: Feedback[] | undefined;
4373
4099
  error: TError | undefined;
@@ -4382,7 +4108,7 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
4382
4108
  */
4383
4109
  declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
4384
4110
  declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<null>;
4385
- declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, __: {
4111
+ declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$c<typeof customFetch>) => (_: Key, __: {
4386
4112
  arg: Arguments;
4387
4113
  }) => Promise<null>;
4388
4114
  declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
@@ -4394,7 +4120,7 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
4394
4120
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteCallFeedback>>> & {
4395
4121
  swrKey?: string;
4396
4122
  };
4397
- request?: SecondParameter$b<typeof customFetch>;
4123
+ request?: SecondParameter$c<typeof customFetch>;
4398
4124
  }) => {
4399
4125
  isMutating: boolean;
4400
4126
  trigger: swr_mutation.TriggerWithOptionsArgs<null, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
@@ -4404,7 +4130,7 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
4404
4130
  swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
4405
4131
  };
4406
4132
 
4407
- type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
4133
+ type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
4408
4134
  /**
4409
4135
  * List all calls, with pagination, filtering, and sorting.
4410
4136
 
@@ -4425,7 +4151,7 @@ declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCal
4425
4151
  swrKey?: Key;
4426
4152
  enabled?: boolean;
4427
4153
  };
4428
- request?: SecondParameter$a<typeof customFetch>;
4154
+ request?: SecondParameter$b<typeof customFetch>;
4429
4155
  }) => {
4430
4156
  data: CallList | undefined;
4431
4157
  error: TError | undefined;
@@ -4452,7 +4178,7 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
4452
4178
  swrKey?: Key;
4453
4179
  enabled?: boolean;
4454
4180
  };
4455
- request?: SecondParameter$a<typeof customFetch>;
4181
+ request?: SecondParameter$b<typeof customFetch>;
4456
4182
  }) => {
4457
4183
  data: CallDetail | undefined;
4458
4184
  error: TError | undefined;
@@ -4477,7 +4203,7 @@ declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: stri
4477
4203
  swrKey?: Key;
4478
4204
  enabled?: boolean;
4479
4205
  };
4480
- request?: SecondParameter$a<typeof customFetch>;
4206
+ request?: SecondParameter$b<typeof customFetch>;
4481
4207
  }) => {
4482
4208
  data: CallEvaluation | undefined;
4483
4209
  error: TError | undefined;
@@ -4504,7 +4230,7 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
4504
4230
  swrKey?: Key;
4505
4231
  enabled?: boolean;
4506
4232
  };
4507
- request?: SecondParameter$a<typeof customFetch>;
4233
+ request?: SecondParameter$b<typeof customFetch>;
4508
4234
  }) => {
4509
4235
  data: CallAnalytics | undefined;
4510
4236
  error: TError | undefined;
@@ -4514,14 +4240,14 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
4514
4240
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
4515
4241
  };
4516
4242
 
4517
- type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
4243
+ type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
4518
4244
  /**
4519
4245
  * Create a new empty claim. Returns the claim ID and the creation timestamp.
4520
4246
  * @summary Create claim
4521
4247
  */
4522
4248
  declare const getCreateClaimUrl: () => string;
4523
4249
  declare const createClaim: (options?: RequestInit) => Promise<ClaimCreated>;
4524
- declare const getCreateClaimMutationFetcher: (options?: SecondParameter$9<typeof customFetch>) => (_: Key, __: {
4250
+ declare const getCreateClaimMutationFetcher: (options?: SecondParameter$a<typeof customFetch>) => (_: Key, __: {
4525
4251
  arg: Arguments;
4526
4252
  }) => Promise<ClaimCreated>;
4527
4253
  declare const getCreateClaimMutationKey: () => readonly ["/v1/claims"];
@@ -4533,7 +4259,7 @@ declare const useCreateClaim: <TError = ErrorType<ErrorResponse>>(options?: {
4533
4259
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createClaim>>, TError, Key, Arguments, Awaited<ReturnType<typeof createClaim>>> & {
4534
4260
  swrKey?: string;
4535
4261
  };
4536
- request?: SecondParameter$9<typeof customFetch>;
4262
+ request?: SecondParameter$a<typeof customFetch>;
4537
4263
  }) => {
4538
4264
  isMutating: boolean;
4539
4265
  trigger: swr_mutation.TriggerWithOptionsArgs<ClaimCreated, TError, string | readonly ["/v1/claims"], Arguments>;
@@ -4558,7 +4284,7 @@ declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params: ListCla
4558
4284
  swrKey?: Key;
4559
4285
  enabled?: boolean;
4560
4286
  };
4561
- request?: SecondParameter$9<typeof customFetch>;
4287
+ request?: SecondParameter$a<typeof customFetch>;
4562
4288
  }) => {
4563
4289
  data: ClaimList | undefined;
4564
4290
  error: TError | undefined;
@@ -4583,7 +4309,7 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
4583
4309
  swrKey?: Key;
4584
4310
  enabled?: boolean;
4585
4311
  };
4586
- request?: SecondParameter$9<typeof customFetch>;
4312
+ request?: SecondParameter$a<typeof customFetch>;
4587
4313
  }) => {
4588
4314
  data: ClaimDetail | undefined;
4589
4315
  error: TError | undefined;
@@ -4593,115 +4319,7 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
4593
4319
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
4594
4320
  };
4595
4321
 
4596
- type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
4597
- /**
4598
- * Check whether a given email username is available for creating a new email agent.
4599
- * @summary Check email username availability
4600
- */
4601
- declare const getCheckEmailUsernameAvailabilityUrl: (params: CheckEmailUsernameAvailabilityParams) => string;
4602
- declare const checkEmailUsernameAvailability: (params: CheckEmailUsernameAvailabilityParams, options?: RequestInit) => Promise<EmailUsernameAvailability>;
4603
- declare const getCheckEmailUsernameAvailabilityKey: (params: CheckEmailUsernameAvailabilityParams) => readonly ["/v1/email-agents/availability", ...CheckEmailUsernameAvailabilityParams[]];
4604
- type CheckEmailUsernameAvailabilityQueryResult = NonNullable<Awaited<ReturnType<typeof checkEmailUsernameAvailability>>>;
4605
- /**
4606
- * @summary Check email username availability
4607
- */
4608
- declare const useCheckEmailUsernameAvailability: <TError = ErrorType<ErrorResponse>>(params: CheckEmailUsernameAvailabilityParams, options?: {
4609
- swr?: SWRConfiguration<Awaited<ReturnType<typeof checkEmailUsernameAvailability>>, TError> & {
4610
- swrKey?: Key;
4611
- enabled?: boolean;
4612
- };
4613
- request?: SecondParameter$8<typeof customFetch>;
4614
- }) => {
4615
- data: EmailUsernameAvailability | undefined;
4616
- error: TError | undefined;
4617
- mutate: swr.KeyedMutator<EmailUsernameAvailability>;
4618
- isValidating: boolean;
4619
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
4620
- swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
4621
- };
4622
- /**
4623
- * Create a new email agent linked to an extractor.
4624
-
4625
- The agent will receive emails at the assigned address and automatically process attachments using the specified extractor.
4626
- * @summary Create email agent
4627
- */
4628
- declare const getCreateEmailAgentUrl: () => string;
4629
- declare const createEmailAgent: (createEmailAgentBody: CreateEmailAgentBody, options?: RequestInit) => Promise<EmailAgent>;
4630
- declare const getCreateEmailAgentMutationFetcher: (options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
4631
- arg: CreateEmailAgentBody;
4632
- }) => Promise<EmailAgent>;
4633
- declare const getCreateEmailAgentMutationKey: () => readonly ["/v1/email-agents"];
4634
- type CreateEmailAgentMutationResult = NonNullable<Awaited<ReturnType<typeof createEmailAgent>>>;
4635
- /**
4636
- * @summary Create email agent
4637
- */
4638
- declare const useCreateEmailAgent: <TError = ErrorType<ErrorResponse>>(options?: {
4639
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createEmailAgent>>, TError, Key, CreateEmailAgentBody, Awaited<ReturnType<typeof createEmailAgent>>> & {
4640
- swrKey?: string;
4641
- };
4642
- request?: SecondParameter$8<typeof customFetch>;
4643
- }) => {
4644
- isMutating: boolean;
4645
- trigger: swr_mutation.TriggerWithArgs<EmailAgent, TError, string | readonly ["/v1/email-agents"], CreateEmailAgentBody>;
4646
- reset: () => void;
4647
- data: EmailAgent | undefined;
4648
- error: TError | undefined;
4649
- swrKey: string | readonly ["/v1/email-agents"];
4650
- };
4651
- /**
4652
- * List all email agents with pagination and sorting.
4653
- * @summary List email agents
4654
- */
4655
- declare const getListEmailAgentsUrl: (params?: ListEmailAgentsParams) => string;
4656
- declare const listEmailAgents: (params?: ListEmailAgentsParams, options?: RequestInit) => Promise<EmailAgentList>;
4657
- declare const getListEmailAgentsKey: (params?: ListEmailAgentsParams) => readonly ["/v1/email-agents", ...ListEmailAgentsParams[]];
4658
- type ListEmailAgentsQueryResult = NonNullable<Awaited<ReturnType<typeof listEmailAgents>>>;
4659
- /**
4660
- * @summary List email agents
4661
- */
4662
- declare const useListEmailAgents: <TError = ErrorType<ErrorResponse>>(params?: ListEmailAgentsParams, options?: {
4663
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listEmailAgents>>, TError> & {
4664
- swrKey?: Key;
4665
- enabled?: boolean;
4666
- };
4667
- request?: SecondParameter$8<typeof customFetch>;
4668
- }) => {
4669
- data: EmailAgentList | undefined;
4670
- error: TError | undefined;
4671
- mutate: swr.KeyedMutator<EmailAgentList>;
4672
- isValidating: boolean;
4673
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
4674
- swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
4675
- };
4676
- /**
4677
- * Update an email agent's configuration.
4678
- * @summary Update email agent
4679
- */
4680
- declare const getUpdateEmailAgentUrl: (id: string) => string;
4681
- declare const updateEmailAgent: (id: string, updateEmailAgentBody: UpdateEmailAgentBody, options?: RequestInit) => Promise<EmailAgent>;
4682
- declare const getUpdateEmailAgentMutationFetcher: (id: string, options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
4683
- arg: UpdateEmailAgentBody;
4684
- }) => Promise<EmailAgent>;
4685
- declare const getUpdateEmailAgentMutationKey: (id: string) => readonly [`/v1/email-agents/${string}`];
4686
- type UpdateEmailAgentMutationResult = NonNullable<Awaited<ReturnType<typeof updateEmailAgent>>>;
4687
- /**
4688
- * @summary Update email agent
4689
- */
4690
- declare const useUpdateEmailAgent: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
4691
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateEmailAgent>>, TError, Key, UpdateEmailAgentBody, Awaited<ReturnType<typeof updateEmailAgent>>> & {
4692
- swrKey?: string;
4693
- };
4694
- request?: SecondParameter$8<typeof customFetch>;
4695
- }) => {
4696
- isMutating: boolean;
4697
- trigger: swr_mutation.TriggerWithArgs<EmailAgent, TError, string | readonly [`/v1/email-agents/${string}`], UpdateEmailAgentBody>;
4698
- reset: () => void;
4699
- data: EmailAgent | undefined;
4700
- error: TError | undefined;
4701
- swrKey: string | readonly [`/v1/email-agents/${string}`];
4702
- };
4703
-
4704
- type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
4322
+ type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
4705
4323
  /**
4706
4324
  * Ingest an email into the system.
4707
4325
 
@@ -4710,7 +4328,7 @@ Optionally associate the email with an existing claim via `claim_id`.
4710
4328
  */
4711
4329
  declare const getCreateEmailUrl: () => string;
4712
4330
  declare const createEmail: (createEmailBody: CreateEmailBody, options?: RequestInit) => Promise<EmailCreated>;
4713
- declare const getCreateEmailMutationFetcher: (options?: SecondParameter$7<typeof customFetch>) => (_: Key, { arg }: {
4331
+ declare const getCreateEmailMutationFetcher: (options?: SecondParameter$9<typeof customFetch>) => (_: Key, { arg }: {
4714
4332
  arg: CreateEmailBody;
4715
4333
  }) => Promise<EmailCreated>;
4716
4334
  declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
@@ -4722,7 +4340,7 @@ declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
4722
4340
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited<ReturnType<typeof createEmail>>> & {
4723
4341
  swrKey?: string;
4724
4342
  };
4725
- request?: SecondParameter$7<typeof customFetch>;
4343
+ request?: SecondParameter$9<typeof customFetch>;
4726
4344
  }) => {
4727
4345
  isMutating: boolean;
4728
4346
  trigger: swr_mutation.TriggerWithArgs<EmailCreated, TError, string | readonly ["/v1/emails"], CreateEmailBody>;
@@ -4751,7 +4369,7 @@ declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params: ListEma
4751
4369
  swrKey?: Key;
4752
4370
  enabled?: boolean;
4753
4371
  };
4754
- request?: SecondParameter$7<typeof customFetch>;
4372
+ request?: SecondParameter$9<typeof customFetch>;
4755
4373
  }) => {
4756
4374
  data: EmailList | undefined;
4757
4375
  error: TError | undefined;
@@ -4776,7 +4394,7 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
4776
4394
  swrKey?: Key;
4777
4395
  enabled?: boolean;
4778
4396
  };
4779
- request?: SecondParameter$7<typeof customFetch>;
4397
+ request?: SecondParameter$9<typeof customFetch>;
4780
4398
  }) => {
4781
4399
  data: EmailDetail | undefined;
4782
4400
  error: TError | undefined;
@@ -4786,7 +4404,7 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
4786
4404
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
4787
4405
  };
4788
4406
 
4789
- type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
4407
+ type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
4790
4408
  /**
4791
4409
  * List all extraction jobs with pagination, filtering, and sorting.
4792
4410
 
@@ -4815,7 +4433,7 @@ declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?:
4815
4433
  swrKey?: Key;
4816
4434
  enabled?: boolean;
4817
4435
  };
4818
- request?: SecondParameter$6<typeof customFetch>;
4436
+ request?: SecondParameter$8<typeof customFetch>;
4819
4437
  }) => {
4820
4438
  data: ExtractorJobList | undefined;
4821
4439
  error: TError | undefined;
@@ -4832,7 +4450,7 @@ Provide a non-empty `scope` object to define what the extractor should process (
4832
4450
  */
4833
4451
  declare const getCreateExtractorJobUrl: () => string;
4834
4452
  declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<ExtractorJobCreated>;
4835
- declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$6<typeof customFetch>) => (_: Key, { arg }: {
4453
+ declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
4836
4454
  arg: CreateExtractorJobBody;
4837
4455
  }) => Promise<ExtractorJobCreated>;
4838
4456
  declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
@@ -4844,7 +4462,7 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
4844
4462
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited<ReturnType<typeof createExtractorJob>>> & {
4845
4463
  swrKey?: string;
4846
4464
  };
4847
- request?: SecondParameter$6<typeof customFetch>;
4465
+ request?: SecondParameter$8<typeof customFetch>;
4848
4466
  }) => {
4849
4467
  isMutating: boolean;
4850
4468
  trigger: swr_mutation.TriggerWithArgs<ExtractorJobCreated, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
@@ -4869,7 +4487,7 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
4869
4487
  swrKey?: Key;
4870
4488
  enabled?: boolean;
4871
4489
  };
4872
- request?: SecondParameter$6<typeof customFetch>;
4490
+ request?: SecondParameter$8<typeof customFetch>;
4873
4491
  }) => {
4874
4492
  data: GetExtractorJobResponse | undefined;
4875
4493
  error: TError | undefined;
@@ -4884,7 +4502,7 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
4884
4502
  */
4885
4503
  declare const getCancelExtractorJobUrl: (id: string) => string;
4886
4504
  declare const cancelExtractorJob: (id: string, options?: RequestInit) => Promise<CanceledExtractorJob>;
4887
- declare const getCancelExtractorJobMutationFetcher: (id: string, options?: SecondParameter$6<typeof customFetch>) => (_: Key, __: {
4505
+ declare const getCancelExtractorJobMutationFetcher: (id: string, options?: SecondParameter$8<typeof customFetch>) => (_: Key, __: {
4888
4506
  arg: Arguments;
4889
4507
  }) => Promise<CanceledExtractorJob>;
4890
4508
  declare const getCancelExtractorJobMutationKey: (id: string) => readonly [`/v1/extractor-jobs/${string}/cancel`];
@@ -4896,7 +4514,7 @@ declare const useCancelExtractorJob: <TError = ErrorType<ErrorResponse>>(id: str
4896
4514
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof cancelExtractorJob>>, TError, Key, Arguments, Awaited<ReturnType<typeof cancelExtractorJob>>> & {
4897
4515
  swrKey?: string;
4898
4516
  };
4899
- request?: SecondParameter$6<typeof customFetch>;
4517
+ request?: SecondParameter$8<typeof customFetch>;
4900
4518
  }) => {
4901
4519
  isMutating: boolean;
4902
4520
  trigger: swr_mutation.TriggerWithOptionsArgs<CanceledExtractorJob, TError, string | readonly [`/v1/extractor-jobs/${string}/cancel`], Arguments>;
@@ -4921,7 +4539,7 @@ declare const useListAgenticJobMessages: <TError = ErrorType<ErrorResponse>>(id:
4921
4539
  swrKey?: Key;
4922
4540
  enabled?: boolean;
4923
4541
  };
4924
- request?: SecondParameter$6<typeof customFetch>;
4542
+ request?: SecondParameter$8<typeof customFetch>;
4925
4543
  }) => {
4926
4544
  data: AgenticJobMessageList | undefined;
4927
4545
  error: TError | undefined;
@@ -4936,7 +4554,7 @@ declare const useListAgenticJobMessages: <TError = ErrorType<ErrorResponse>>(id:
4936
4554
  */
4937
4555
  declare const getUpdateExtractorJobScopeUrl: (id: string) => string;
4938
4556
  declare const updateExtractorJobScope: (id: string, updateExtractorJobScopeBody: UpdateExtractorJobScopeBody, options?: RequestInit) => Promise<UpdatedExtractorJob>;
4939
- declare const getUpdateExtractorJobScopeMutationFetcher: (id: string, options?: SecondParameter$6<typeof customFetch>) => (_: Key, { arg }: {
4557
+ declare const getUpdateExtractorJobScopeMutationFetcher: (id: string, options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
4940
4558
  arg: UpdateExtractorJobScopeBody;
4941
4559
  }) => Promise<UpdatedExtractorJob>;
4942
4560
  declare const getUpdateExtractorJobScopeMutationKey: (id: string) => readonly [`/v1/extractor-jobs/${string}/scope`];
@@ -4948,7 +4566,7 @@ declare const useUpdateExtractorJobScope: <TError = ErrorType<ErrorResponse>>(id
4948
4566
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateExtractorJobScope>>, TError, Key, UpdateExtractorJobScopeBody, Awaited<ReturnType<typeof updateExtractorJobScope>>> & {
4949
4567
  swrKey?: string;
4950
4568
  };
4951
- request?: SecondParameter$6<typeof customFetch>;
4569
+ request?: SecondParameter$8<typeof customFetch>;
4952
4570
  }) => {
4953
4571
  isMutating: boolean;
4954
4572
  trigger: swr_mutation.TriggerWithArgs<UpdatedExtractorJob, TError, string | readonly [`/v1/extractor-jobs/${string}/scope`], UpdateExtractorJobScopeBody>;
@@ -4958,14 +4576,14 @@ declare const useUpdateExtractorJobScope: <TError = ErrorType<ErrorResponse>>(id
4958
4576
  swrKey: string | readonly [`/v1/extractor-jobs/${string}/scope`];
4959
4577
  };
4960
4578
 
4961
- type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
4579
+ type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
4962
4580
  /**
4963
4581
  * Create a new extractor with a name and JSON schema defining the extraction output format.
4964
4582
  * @summary Create extractor
4965
4583
  */
4966
4584
  declare const getCreateExtractorUrl: () => string;
4967
4585
  declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<ExtractorCreated>;
4968
- declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$5<typeof customFetch>) => (_: Key, { arg }: {
4586
+ declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$7<typeof customFetch>) => (_: Key, { arg }: {
4969
4587
  arg: CreateExtractorBody;
4970
4588
  }) => Promise<ExtractorCreated>;
4971
4589
  declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
@@ -4977,7 +4595,7 @@ declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?:
4977
4595
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited<ReturnType<typeof createExtractor>>> & {
4978
4596
  swrKey?: string;
4979
4597
  };
4980
- request?: SecondParameter$5<typeof customFetch>;
4598
+ request?: SecondParameter$7<typeof customFetch>;
4981
4599
  }) => {
4982
4600
  isMutating: boolean;
4983
4601
  trigger: swr_mutation.TriggerWithArgs<ExtractorCreated, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
@@ -5004,7 +4622,7 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
5004
4622
  swrKey?: Key;
5005
4623
  enabled?: boolean;
5006
4624
  };
5007
- request?: SecondParameter$5<typeof customFetch>;
4625
+ request?: SecondParameter$7<typeof customFetch>;
5008
4626
  }) => {
5009
4627
  data: ExtractorList | undefined;
5010
4628
  error: TError | undefined;
@@ -5029,7 +4647,7 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
5029
4647
  swrKey?: Key;
5030
4648
  enabled?: boolean;
5031
4649
  };
5032
- request?: SecondParameter$5<typeof customFetch>;
4650
+ request?: SecondParameter$7<typeof customFetch>;
5033
4651
  }) => {
5034
4652
  data: GetExtractorResponse | undefined;
5035
4653
  error: TError | undefined;
@@ -5044,7 +4662,7 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
5044
4662
  */
5045
4663
  declare const getUpdateExtractorUrl: (id: string) => string;
5046
4664
  declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<ExtractorUpdated>;
5047
- declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$5<typeof customFetch>) => (_: Key, { arg }: {
4665
+ declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$7<typeof customFetch>) => (_: Key, { arg }: {
5048
4666
  arg: UpdateExtractorBody;
5049
4667
  }) => Promise<ExtractorUpdated>;
5050
4668
  declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
@@ -5056,7 +4674,7 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
5056
4674
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited<ReturnType<typeof updateExtractor>>> & {
5057
4675
  swrKey?: string;
5058
4676
  };
5059
- request?: SecondParameter$5<typeof customFetch>;
4677
+ request?: SecondParameter$7<typeof customFetch>;
5060
4678
  }) => {
5061
4679
  isMutating: boolean;
5062
4680
  trigger: swr_mutation.TriggerWithArgs<ExtractorUpdated, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
@@ -5066,7 +4684,7 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
5066
4684
  swrKey: string | readonly [`/v1/extractors/${string}`];
5067
4685
  };
5068
4686
 
5069
- type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
4687
+ type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
5070
4688
  /**
5071
4689
  * Retrieve a single extract by ID, including the extraction result data.
5072
4690
  * @summary Get extract
@@ -5083,7 +4701,7 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
5083
4701
  swrKey?: Key;
5084
4702
  enabled?: boolean;
5085
4703
  };
5086
- request?: SecondParameter$4<typeof customFetch>;
4704
+ request?: SecondParameter$6<typeof customFetch>;
5087
4705
  }) => {
5088
4706
  data: Extract | undefined;
5089
4707
  error: TError | undefined;
@@ -5108,7 +4726,7 @@ declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: st
5108
4726
  swrKey?: Key;
5109
4727
  enabled?: boolean;
5110
4728
  };
5111
- request?: SecondParameter$4<typeof customFetch>;
4729
+ request?: SecondParameter$6<typeof customFetch>;
5112
4730
  }) => {
5113
4731
  data: GetExtractCitations200 | undefined;
5114
4732
  error: TError | undefined;
@@ -5140,7 +4758,7 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
5140
4758
  swrKey?: Key;
5141
4759
  enabled?: boolean;
5142
4760
  };
5143
- request?: SecondParameter$4<typeof customFetch>;
4761
+ request?: SecondParameter$6<typeof customFetch>;
5144
4762
  }) => {
5145
4763
  data: ExtractList | undefined;
5146
4764
  error: TError | undefined;
@@ -5150,39 +4768,162 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
5150
4768
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5151
4769
  };
5152
4770
 
5153
- type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
4771
+ type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
4772
+ /**
4773
+ * Check whether a given email username is available for creating a new inbox.
4774
+
4775
+ For compatibility this endpoint is also available using the following (deprecated) paths:
4776
+ `GET /v1/email-agents/availability`
4777
+ * @summary Check email username availability
4778
+ */
4779
+ declare const getCheckInboxAvailabilityUrl: (params: CheckInboxAvailabilityParams) => string;
4780
+ declare const checkInboxAvailability: (params: CheckInboxAvailabilityParams, options?: RequestInit) => Promise<EmailUsernameAvailability>;
4781
+ declare const getCheckInboxAvailabilityKey: (params: CheckInboxAvailabilityParams) => readonly ["/v1/inboxes/availability", ...CheckInboxAvailabilityParams[]];
4782
+ type CheckInboxAvailabilityQueryResult = NonNullable<Awaited<ReturnType<typeof checkInboxAvailability>>>;
4783
+ /**
4784
+ * @summary Check email username availability
4785
+ */
4786
+ declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(params: CheckInboxAvailabilityParams, options?: {
4787
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof checkInboxAvailability>>, TError> & {
4788
+ swrKey?: Key;
4789
+ enabled?: boolean;
4790
+ };
4791
+ request?: SecondParameter$5<typeof customFetch>;
4792
+ }) => {
4793
+ data: EmailUsernameAvailability | undefined;
4794
+ error: TError | undefined;
4795
+ mutate: swr.KeyedMutator<EmailUsernameAvailability>;
4796
+ isValidating: boolean;
4797
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
4798
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
4799
+ };
4800
+ /**
4801
+ * Create a new inbox linked to an extractor.
4802
+
4803
+ The inbox will receive emails at the assigned address and automatically process attachments using the specified extractor.
4804
+
4805
+ For compatibility this endpoint is also available using the following (deprecated) paths:
4806
+ `POST /v1/email-agents`
4807
+ * @summary Create inbox
4808
+ */
4809
+ declare const getCreateInboxUrl: () => string;
4810
+ declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<Inbox>;
4811
+ declare const getCreateInboxMutationFetcher: (options?: SecondParameter$5<typeof customFetch>) => (_: Key, { arg }: {
4812
+ arg: CreateInboxBody;
4813
+ }) => Promise<Inbox>;
4814
+ declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
4815
+ type CreateInboxMutationResult = NonNullable<Awaited<ReturnType<typeof createInbox>>>;
4816
+ /**
4817
+ * @summary Create inbox
4818
+ */
4819
+ declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
4820
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited<ReturnType<typeof createInbox>>> & {
4821
+ swrKey?: string;
4822
+ };
4823
+ request?: SecondParameter$5<typeof customFetch>;
4824
+ }) => {
4825
+ isMutating: boolean;
4826
+ trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
4827
+ reset: () => void;
4828
+ data: Inbox | undefined;
4829
+ error: TError | undefined;
4830
+ swrKey: string | readonly ["/v1/inboxes"];
4831
+ };
4832
+ /**
4833
+ * List all inboxes with pagination and sorting.
4834
+
4835
+ For compatibility this endpoint is also available using the following (deprecated) paths:
4836
+ `GET /v1/email-agents`
4837
+ * @summary List inboxes
4838
+ */
4839
+ declare const getListInboxesUrl: (params?: ListInboxesParams) => string;
4840
+ declare const listInboxes: (params?: ListInboxesParams, options?: RequestInit) => Promise<InboxList>;
4841
+ declare const getListInboxesKey: (params?: ListInboxesParams) => readonly ["/v1/inboxes", ...ListInboxesParams[]];
4842
+ type ListInboxesQueryResult = NonNullable<Awaited<ReturnType<typeof listInboxes>>>;
4843
+ /**
4844
+ * @summary List inboxes
4845
+ */
4846
+ declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListInboxesParams, options?: {
4847
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof listInboxes>>, TError> & {
4848
+ swrKey?: Key;
4849
+ enabled?: boolean;
4850
+ };
4851
+ request?: SecondParameter$5<typeof customFetch>;
4852
+ }) => {
4853
+ data: InboxList | undefined;
4854
+ error: TError | undefined;
4855
+ mutate: swr.KeyedMutator<InboxList>;
4856
+ isValidating: boolean;
4857
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
4858
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
4859
+ };
4860
+ /**
4861
+ * Update an inbox's configuration.
4862
+
4863
+ For compatibility this endpoint is also available using the following (deprecated) paths:
4864
+ `PATCH /v1/email-agents/{id}`
4865
+ * @summary Update inbox
4866
+ */
4867
+ declare const getUpdateInboxUrl: (inboxId: string) => string;
4868
+ declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<Inbox>;
4869
+ declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$5<typeof customFetch>) => (_: Key, { arg }: {
4870
+ arg: UpdateInboxBody;
4871
+ }) => Promise<Inbox>;
4872
+ declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
4873
+ type UpdateInboxMutationResult = NonNullable<Awaited<ReturnType<typeof updateInbox>>>;
4874
+ /**
4875
+ * @summary Update inbox
4876
+ */
4877
+ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
4878
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited<ReturnType<typeof updateInbox>>> & {
4879
+ swrKey?: string;
4880
+ };
4881
+ request?: SecondParameter$5<typeof customFetch>;
4882
+ }) => {
4883
+ isMutating: boolean;
4884
+ trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
4885
+ reset: () => void;
4886
+ data: Inbox | undefined;
4887
+ error: TError | undefined;
4888
+ swrKey: string | readonly [`/v1/inboxes/${string}`];
4889
+ };
4890
+
4891
+ type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
5154
4892
  /**
5155
- * Schedule a new outbound call job for an agent.
4893
+ * Schedule a new outbound call job for a voice agent.
5156
4894
 
5157
4895
  The job can be scheduled for a future time or triggered immediately with `trigger_immediately: true`.
5158
4896
 
5159
4897
  **Scheduling:**
5160
4898
 
5161
4899
  When scheduling for a future time, provide `scheduled_at` (ISO 8601) and optionally `schedule_window_minutes` (minimum 10 minutes).
4900
+
4901
+ For compatibility this endpoint is also available using the following (deprecated) paths:
4902
+ `POST /v1/agents/{id}/jobs`
5162
4903
  * @summary Schedule an outbound job
5163
4904
  */
5164
- declare const getScheduleJobUrl: (id: string) => string;
5165
- declare const scheduleJob: (id: string, scheduleJobBody: ScheduleJobBody, options?: RequestInit) => Promise<OutboundJob>;
5166
- declare const getScheduleJobMutationFetcher: (id: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
4905
+ declare const getScheduleJobUrl: (voiceAgentId: string) => string;
4906
+ declare const scheduleJob: (voiceAgentId: string, scheduleJobBody: ScheduleJobBody, options?: RequestInit) => Promise<OutboundJob>;
4907
+ declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
5167
4908
  arg: ScheduleJobBody;
5168
4909
  }) => Promise<OutboundJob>;
5169
- declare const getScheduleJobMutationKey: (id: string) => readonly [`/v1/agents/${string}/jobs`];
4910
+ declare const getScheduleJobMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/jobs`];
5170
4911
  type ScheduleJobMutationResult = NonNullable<Awaited<ReturnType<typeof scheduleJob>>>;
5171
4912
  /**
5172
4913
  * @summary Schedule an outbound job
5173
4914
  */
5174
- declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
4915
+ declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5175
4916
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited<ReturnType<typeof scheduleJob>>> & {
5176
4917
  swrKey?: string;
5177
4918
  };
5178
- request?: SecondParameter$3<typeof customFetch>;
4919
+ request?: SecondParameter$4<typeof customFetch>;
5179
4920
  }) => {
5180
4921
  isMutating: boolean;
5181
- trigger: swr_mutation.TriggerWithArgs<OutboundJob, TError, string | readonly [`/v1/agents/${string}/jobs`], ScheduleJobBody>;
4922
+ trigger: swr_mutation.TriggerWithArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/${string}/jobs`], ScheduleJobBody>;
5182
4923
  reset: () => void;
5183
4924
  data: OutboundJob | undefined;
5184
4925
  error: TError | undefined;
5185
- swrKey: string | readonly [`/v1/agents/${string}/jobs`];
4926
+ swrKey: string | readonly [`/v1/voice-agents/${string}/jobs`];
5186
4927
  };
5187
4928
  /**
5188
4929
  * List all outbound jobs with pagination and filtering.
@@ -5191,11 +4932,14 @@ declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(id: string, op
5191
4932
 
5192
4933
  - Filter by agent ID, status, or scheduled time range.
5193
4934
  - Multiple statuses can be comma-separated (e.g. `status=pending,queued`).
4935
+
4936
+ For compatibility this endpoint is also available using the following (deprecated) paths:
4937
+ `GET /v1/agents/jobs`
5194
4938
  * @summary List outbound jobs
5195
4939
  */
5196
4940
  declare const getListJobsUrl: (params: ListJobsParams) => string;
5197
4941
  declare const listJobs: (params: ListJobsParams, options?: RequestInit) => Promise<OutboundJobList>;
5198
- declare const getListJobsKey: (params: ListJobsParams) => readonly ["/v1/agents/jobs", ...ListJobsParams[]];
4942
+ declare const getListJobsKey: (params: ListJobsParams) => readonly ["/v1/voice-agents/jobs", ...ListJobsParams[]];
5199
4943
  type ListJobsQueryResult = NonNullable<Awaited<ReturnType<typeof listJobs>>>;
5200
4944
  /**
5201
4945
  * @summary List outbound jobs
@@ -5205,7 +4949,7 @@ declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsP
5205
4949
  swrKey?: Key;
5206
4950
  enabled?: boolean;
5207
4951
  };
5208
- request?: SecondParameter$3<typeof customFetch>;
4952
+ request?: SecondParameter$4<typeof customFetch>;
5209
4953
  }) => {
5210
4954
  data: OutboundJobList | undefined;
5211
4955
  error: TError | undefined;
@@ -5216,33 +4960,36 @@ declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsP
5216
4960
  };
5217
4961
  /**
5218
4962
  * Cancel a pending or queued outbound job. Jobs that are already in progress or completed cannot be canceled.
4963
+
4964
+ For compatibility this endpoint is also available using the following (deprecated) paths:
4965
+ `POST /v1/agents/jobs/{id}/cancel`
5219
4966
  * @summary Cancel an outbound job
5220
4967
  */
5221
- declare const getCancelJobUrl: (id: string) => string;
5222
- declare const cancelJob: (id: string, options?: RequestInit) => Promise<OutboundJob>;
5223
- declare const getCancelJobMutationFetcher: (id: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, __: {
4968
+ declare const getCancelJobUrl: (jobId: string) => string;
4969
+ declare const cancelJob: (jobId: string, options?: RequestInit) => Promise<OutboundJob>;
4970
+ declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, __: {
5224
4971
  arg: Arguments;
5225
4972
  }) => Promise<OutboundJob>;
5226
- declare const getCancelJobMutationKey: (id: string) => readonly [`/v1/agents/jobs/${string}/cancel`];
4973
+ declare const getCancelJobMutationKey: (jobId: string) => readonly [`/v1/voice-agents/jobs/${string}/cancel`];
5227
4974
  type CancelJobMutationResult = NonNullable<Awaited<ReturnType<typeof cancelJob>>>;
5228
4975
  /**
5229
4976
  * @summary Cancel an outbound job
5230
4977
  */
5231
- declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
4978
+ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, options?: {
5232
4979
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited<ReturnType<typeof cancelJob>>> & {
5233
4980
  swrKey?: string;
5234
4981
  };
5235
- request?: SecondParameter$3<typeof customFetch>;
4982
+ request?: SecondParameter$4<typeof customFetch>;
5236
4983
  }) => {
5237
4984
  isMutating: boolean;
5238
- trigger: swr_mutation.TriggerWithOptionsArgs<OutboundJob, TError, string | readonly [`/v1/agents/jobs/${string}/cancel`], Arguments>;
4985
+ trigger: swr_mutation.TriggerWithOptionsArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/jobs/${string}/cancel`], Arguments>;
5239
4986
  reset: () => void;
5240
4987
  data: OutboundJob | undefined;
5241
4988
  error: TError | undefined;
5242
- swrKey: string | readonly [`/v1/agents/jobs/${string}/cancel`];
4989
+ swrKey: string | readonly [`/v1/voice-agents/jobs/${string}/cancel`];
5243
4990
  };
5244
4991
 
5245
- type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
4992
+ type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
5246
4993
  /**
5247
4994
  * Retrieve the current user's profile information.
5248
4995
  * @summary Get profile
@@ -5259,7 +5006,7 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
5259
5006
  swrKey?: Key;
5260
5007
  enabled?: boolean;
5261
5008
  };
5262
- request?: SecondParameter$2<typeof customFetch>;
5009
+ request?: SecondParameter$3<typeof customFetch>;
5263
5010
  }) => {
5264
5011
  data: Profile | undefined;
5265
5012
  error: TError | undefined;
@@ -5269,14 +5016,14 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
5269
5016
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5270
5017
  };
5271
5018
 
5272
- type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
5019
+ type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
5273
5020
  /**
5274
5021
  * Create a new code tool that can be attached to agents. Provide the tool's name, code, description, and optionally an API key.
5275
5022
  * @summary Create tool
5276
5023
  */
5277
5024
  declare const getCreateToolUrl: () => string;
5278
5025
  declare const createTool: (createToolBody: CreateToolBody, options?: RequestInit) => Promise<CodeToolCreated>;
5279
- declare const getCreateToolMutationFetcher: (options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
5026
+ declare const getCreateToolMutationFetcher: (options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
5280
5027
  arg: CreateToolBody;
5281
5028
  }) => Promise<CodeToolCreated>;
5282
5029
  declare const getCreateToolMutationKey: () => readonly ["/v1/tools"];
@@ -5288,7 +5035,7 @@ declare const useCreateTool: <TError = ErrorType<ErrorResponse>>(options?: {
5288
5035
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createTool>>, TError, Key, CreateToolBody, Awaited<ReturnType<typeof createTool>>> & {
5289
5036
  swrKey?: string;
5290
5037
  };
5291
- request?: SecondParameter$1<typeof customFetch>;
5038
+ request?: SecondParameter$2<typeof customFetch>;
5292
5039
  }) => {
5293
5040
  isMutating: boolean;
5294
5041
  trigger: swr_mutation.TriggerWithArgs<CodeToolCreated, TError, string | readonly ["/v1/tools"], CreateToolBody>;
@@ -5315,7 +5062,7 @@ declare const useListTools: <TError = ErrorType<ErrorResponse>>(params?: ListToo
5315
5062
  swrKey?: Key;
5316
5063
  enabled?: boolean;
5317
5064
  };
5318
- request?: SecondParameter$1<typeof customFetch>;
5065
+ request?: SecondParameter$2<typeof customFetch>;
5319
5066
  }) => {
5320
5067
  data: ToolList | undefined;
5321
5068
  error: TError | undefined;
@@ -5330,7 +5077,7 @@ declare const useListTools: <TError = ErrorType<ErrorResponse>>(params?: ListToo
5330
5077
  */
5331
5078
  declare const getExecuteCodeUrl: (id: string) => string;
5332
5079
  declare const executeCode: (id: string, executeCodeBody: ExecuteCodeBody, options?: RequestInit) => Promise<ToolExecutionResult>;
5333
- declare const getExecuteCodeMutationFetcher: (id: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
5080
+ declare const getExecuteCodeMutationFetcher: (id: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
5334
5081
  arg: ExecuteCodeBody;
5335
5082
  }) => Promise<ToolExecutionResult>;
5336
5083
  declare const getExecuteCodeMutationKey: (id: string) => readonly [`/v1/tools/${string}/execute`];
@@ -5342,7 +5089,7 @@ declare const useExecuteCode: <TError = ErrorType<ErrorResponse>>(id: string, op
5342
5089
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof executeCode>>, TError, Key, ExecuteCodeBody, Awaited<ReturnType<typeof executeCode>>> & {
5343
5090
  swrKey?: string;
5344
5091
  };
5345
- request?: SecondParameter$1<typeof customFetch>;
5092
+ request?: SecondParameter$2<typeof customFetch>;
5346
5093
  }) => {
5347
5094
  isMutating: boolean;
5348
5095
  trigger: swr_mutation.TriggerWithArgs<ToolExecutionResult, TError, string | readonly [`/v1/tools/${string}/execute`], ExecuteCodeBody>;
@@ -5367,7 +5114,7 @@ declare const useGetTool: <TError = ErrorType<ErrorResponse>>(id: string, option
5367
5114
  swrKey?: Key;
5368
5115
  enabled?: boolean;
5369
5116
  };
5370
- request?: SecondParameter$1<typeof customFetch>;
5117
+ request?: SecondParameter$2<typeof customFetch>;
5371
5118
  }) => {
5372
5119
  data: GetToolResponse | undefined;
5373
5120
  error: TError | undefined;
@@ -5382,7 +5129,7 @@ declare const useGetTool: <TError = ErrorType<ErrorResponse>>(id: string, option
5382
5129
  */
5383
5130
  declare const getUpdateToolUrl: (id: string) => string;
5384
5131
  declare const updateTool: (id: string, updateToolBody: UpdateToolBody, options?: RequestInit) => Promise<CodeToolUpdated>;
5385
- declare const getUpdateToolMutationFetcher: (id: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
5132
+ declare const getUpdateToolMutationFetcher: (id: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
5386
5133
  arg: UpdateToolBody;
5387
5134
  }) => Promise<CodeToolUpdated>;
5388
5135
  declare const getUpdateToolMutationKey: (id: string) => readonly [`/v1/tools/${string}`];
@@ -5394,7 +5141,7 @@ declare const useUpdateTool: <TError = ErrorType<ErrorResponse>>(id: string, opt
5394
5141
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateTool>>, TError, Key, UpdateToolBody, Awaited<ReturnType<typeof updateTool>>> & {
5395
5142
  swrKey?: string;
5396
5143
  };
5397
- request?: SecondParameter$1<typeof customFetch>;
5144
+ request?: SecondParameter$2<typeof customFetch>;
5398
5145
  }) => {
5399
5146
  isMutating: boolean;
5400
5147
  trigger: swr_mutation.TriggerWithArgs<CodeToolUpdated, TError, string | readonly [`/v1/tools/${string}`], UpdateToolBody>;
@@ -5404,55 +5151,315 @@ declare const useUpdateTool: <TError = ErrorType<ErrorResponse>>(id: string, opt
5404
5151
  swrKey: string | readonly [`/v1/tools/${string}`];
5405
5152
  };
5406
5153
 
5154
+ type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
5155
+ /**
5156
+ * List all voice agents for your tenant.
5157
+
5158
+ **Filtering:**
5159
+
5160
+ Filter voice agents by name using the `agent_name` query parameter (exact match).
5161
+
5162
+ **Response:**
5163
+
5164
+ Returns an array of all voice agents with their configurations and a total count.
5165
+
5166
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5167
+ `GET /v1/agents`
5168
+ * @summary List voice agents
5169
+ */
5170
+ declare const getListVoiceAgentsUrl: (params?: ListVoiceAgentsParams) => string;
5171
+ declare const listVoiceAgents: (params?: ListVoiceAgentsParams, options?: RequestInit) => Promise<VoiceAgentList>;
5172
+ declare const getListVoiceAgentsKey: (params?: ListVoiceAgentsParams) => readonly ["/v1/voice-agents", ...ListVoiceAgentsParams[]];
5173
+ type ListVoiceAgentsQueryResult = NonNullable<Awaited<ReturnType<typeof listVoiceAgents>>>;
5174
+ /**
5175
+ * @summary List voice agents
5176
+ */
5177
+ declare const useListVoiceAgents: <TError = ErrorType<ErrorResponse>>(params?: ListVoiceAgentsParams, options?: {
5178
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof listVoiceAgents>>, TError> & {
5179
+ swrKey?: Key;
5180
+ enabled?: boolean;
5181
+ };
5182
+ request?: SecondParameter$1<typeof customFetch>;
5183
+ }) => {
5184
+ data: VoiceAgentList | undefined;
5185
+ error: TError | undefined;
5186
+ mutate: swr.KeyedMutator<VoiceAgentList>;
5187
+ isValidating: boolean;
5188
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5189
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5190
+ };
5191
+ /**
5192
+ * Create a new voice agent with the specified configuration.
5193
+
5194
+ **Required fields:**
5195
+
5196
+ All fields in the request body are required except `phone_number_id` and `transfer_phone_number`.
5197
+
5198
+ **Response:**
5199
+
5200
+ Returns the created voice agent with its ID and configuration.
5201
+
5202
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5203
+ `POST /v1/agents`
5204
+ * @summary Create voice agent
5205
+ */
5206
+ declare const getCreateVoiceAgentUrl: () => string;
5207
+ declare const createVoiceAgent: (createVoiceAgentBody: CreateVoiceAgentBody, options?: RequestInit) => Promise<CreateVoiceAgentResponse>;
5208
+ declare const getCreateVoiceAgentMutationFetcher: (options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
5209
+ arg: CreateVoiceAgentBody;
5210
+ }) => Promise<CreateVoiceAgentResponse>;
5211
+ declare const getCreateVoiceAgentMutationKey: () => readonly ["/v1/voice-agents"];
5212
+ type CreateVoiceAgentMutationResult = NonNullable<Awaited<ReturnType<typeof createVoiceAgent>>>;
5213
+ /**
5214
+ * @summary Create voice agent
5215
+ */
5216
+ declare const useCreateVoiceAgent: <TError = ErrorType<ErrorResponse>>(options?: {
5217
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createVoiceAgent>>, TError, Key, CreateVoiceAgentBody, Awaited<ReturnType<typeof createVoiceAgent>>> & {
5218
+ swrKey?: string;
5219
+ };
5220
+ request?: SecondParameter$1<typeof customFetch>;
5221
+ }) => {
5222
+ isMutating: boolean;
5223
+ trigger: swr_mutation.TriggerWithArgs<CreateVoiceAgentResponse, TError, string | readonly ["/v1/voice-agents"], CreateVoiceAgentBody>;
5224
+ reset: () => void;
5225
+ data: CreateVoiceAgentResponse | undefined;
5226
+ error: TError | undefined;
5227
+ swrKey: string | readonly ["/v1/voice-agents"];
5228
+ };
5229
+ /**
5230
+ * Retrieve a single voice agent by its ID.
5231
+
5232
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5233
+ `GET /v1/agents/{id}`
5234
+ * @summary Get voice agent
5235
+ */
5236
+ declare const getGetVoiceAgentUrl: (voiceAgentId: string) => string;
5237
+ declare const getVoiceAgent: (voiceAgentId: string, options?: RequestInit) => Promise<GetVoiceAgentResponse>;
5238
+ declare const getGetVoiceAgentKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}`];
5239
+ type GetVoiceAgentQueryResult = NonNullable<Awaited<ReturnType<typeof getVoiceAgent>>>;
5240
+ /**
5241
+ * @summary Get voice agent
5242
+ */
5243
+ declare const useGetVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5244
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof getVoiceAgent>>, TError> & {
5245
+ swrKey?: Key;
5246
+ enabled?: boolean;
5247
+ };
5248
+ request?: SecondParameter$1<typeof customFetch>;
5249
+ }) => {
5250
+ data: GetVoiceAgentResponse | undefined;
5251
+ error: TError | undefined;
5252
+ mutate: swr.KeyedMutator<GetVoiceAgentResponse>;
5253
+ isValidating: boolean;
5254
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5255
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5256
+ };
5257
+ /**
5258
+ * Add one or more tools to a voice agent by their IDs.
5259
+
5260
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5261
+ `POST /v1/agents/{id}/tools`
5262
+ * @summary Add tools to voice agent
5263
+ */
5264
+ declare const getAddToolsToVoiceAgentUrl: (voiceAgentId: string) => string;
5265
+ declare const addToolsToVoiceAgent: (voiceAgentId: string, addToolsToVoiceAgentBody: AddToolsToVoiceAgentBody, options?: RequestInit) => Promise<AddToolsToVoiceAgentResponse>;
5266
+ declare const getAddToolsToVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
5267
+ arg: AddToolsToVoiceAgentBody;
5268
+ }) => Promise<AddToolsToVoiceAgentResponse>;
5269
+ declare const getAddToolsToVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/tools`];
5270
+ type AddToolsToVoiceAgentMutationResult = NonNullable<Awaited<ReturnType<typeof addToolsToVoiceAgent>>>;
5271
+ /**
5272
+ * @summary Add tools to voice agent
5273
+ */
5274
+ declare const useAddToolsToVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5275
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof addToolsToVoiceAgent>>, TError, Key, AddToolsToVoiceAgentBody, Awaited<ReturnType<typeof addToolsToVoiceAgent>>> & {
5276
+ swrKey?: string;
5277
+ };
5278
+ request?: SecondParameter$1<typeof customFetch>;
5279
+ }) => {
5280
+ isMutating: boolean;
5281
+ trigger: swr_mutation.TriggerWithArgs<AddToolsToVoiceAgentResponse, TError, string | readonly [`/v1/voice-agents/${string}/tools`], AddToolsToVoiceAgentBody>;
5282
+ reset: () => void;
5283
+ data: AddToolsToVoiceAgentResponse | undefined;
5284
+ error: TError | undefined;
5285
+ swrKey: string | readonly [`/v1/voice-agents/${string}/tools`];
5286
+ };
5287
+ /**
5288
+ * Remove one or more tools from a voice agent by their IDs.
5289
+
5290
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5291
+ `DELETE /v1/agents/{id}/tools`
5292
+ * @summary Remove tools from voice agent
5293
+ */
5294
+ declare const getDeleteToolsFromVoiceAgentUrl: (voiceAgentId: string) => string;
5295
+ declare const deleteToolsFromVoiceAgent: (voiceAgentId: string, deleteToolsFromVoiceAgentBody: DeleteToolsFromVoiceAgentBody, options?: RequestInit) => Promise<DeleteToolsFromVoiceAgentResponse>;
5296
+ declare const getDeleteToolsFromVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
5297
+ arg: DeleteToolsFromVoiceAgentBody;
5298
+ }) => Promise<DeleteToolsFromVoiceAgentResponse>;
5299
+ declare const getDeleteToolsFromVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/tools`];
5300
+ type DeleteToolsFromVoiceAgentMutationResult = NonNullable<Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>>;
5301
+ /**
5302
+ * @summary Remove tools from voice agent
5303
+ */
5304
+ declare const useDeleteToolsFromVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5305
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>, TError, Key, DeleteToolsFromVoiceAgentBody, Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>> & {
5306
+ swrKey?: string;
5307
+ };
5308
+ request?: SecondParameter$1<typeof customFetch>;
5309
+ }) => {
5310
+ isMutating: boolean;
5311
+ trigger: swr_mutation.TriggerWithArgs<DeleteToolsFromVoiceAgentResponse, TError, string | readonly [`/v1/voice-agents/${string}/tools`], DeleteToolsFromVoiceAgentBody>;
5312
+ reset: () => void;
5313
+ data: DeleteToolsFromVoiceAgentResponse | undefined;
5314
+ error: TError | undefined;
5315
+ swrKey: string | readonly [`/v1/voice-agents/${string}/tools`];
5316
+ };
5317
+ /**
5318
+ * Retrieve the available placeholder variables for a voice agent.
5319
+
5320
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5321
+ `GET /v1/agents/{id}/prompt`
5322
+ * @summary Get voice agent prompt
5323
+ */
5324
+ declare const getGetVoiceAgentPromptUrl: (voiceAgentId: string) => string;
5325
+ declare const getVoiceAgentPrompt: (voiceAgentId: string, options?: RequestInit) => Promise<VoiceAgentPrompt>;
5326
+ declare const getGetVoiceAgentPromptKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/prompt`];
5327
+ type GetVoiceAgentPromptQueryResult = NonNullable<Awaited<ReturnType<typeof getVoiceAgentPrompt>>>;
5328
+ /**
5329
+ * @summary Get voice agent prompt
5330
+ */
5331
+ declare const useGetVoiceAgentPrompt: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5332
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof getVoiceAgentPrompt>>, TError> & {
5333
+ swrKey?: Key;
5334
+ enabled?: boolean;
5335
+ };
5336
+ request?: SecondParameter$1<typeof customFetch>;
5337
+ }) => {
5338
+ data: VoiceAgentPrompt | undefined;
5339
+ error: TError | undefined;
5340
+ mutate: swr.KeyedMutator<VoiceAgentPrompt>;
5341
+ isValidating: boolean;
5342
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5343
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5344
+ };
5345
+ /**
5346
+ * Update the LLM, TTS, and STT model configuration for a voice agent.
5347
+
5348
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5349
+ `PATCH /v1/agents/{id}/models`
5350
+ * @summary Update voice agent models
5351
+ */
5352
+ declare const getUpdateVoiceAgentModelsUrl: (voiceAgentId: string) => string;
5353
+ declare const updateVoiceAgentModels: (voiceAgentId: string, updateVoiceAgentModelsBody: UpdateVoiceAgentModelsBody, options?: RequestInit) => Promise<UpdateVoiceAgentModelsResponse>;
5354
+ declare const getUpdateVoiceAgentModelsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
5355
+ arg: UpdateVoiceAgentModelsBody;
5356
+ }) => Promise<UpdateVoiceAgentModelsResponse>;
5357
+ declare const getUpdateVoiceAgentModelsMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/models`];
5358
+ type UpdateVoiceAgentModelsMutationResult = NonNullable<Awaited<ReturnType<typeof updateVoiceAgentModels>>>;
5359
+ /**
5360
+ * @summary Update voice agent models
5361
+ */
5362
+ declare const useUpdateVoiceAgentModels: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5363
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateVoiceAgentModels>>, TError, Key, UpdateVoiceAgentModelsBody, Awaited<ReturnType<typeof updateVoiceAgentModels>>> & {
5364
+ swrKey?: string;
5365
+ };
5366
+ request?: SecondParameter$1<typeof customFetch>;
5367
+ }) => {
5368
+ isMutating: boolean;
5369
+ trigger: swr_mutation.TriggerWithArgs<UpdateVoiceAgentModelsResponse, TError, string | readonly [`/v1/voice-agents/${string}/models`], UpdateVoiceAgentModelsBody>;
5370
+ reset: () => void;
5371
+ data: UpdateVoiceAgentModelsResponse | undefined;
5372
+ error: TError | undefined;
5373
+ swrKey: string | readonly [`/v1/voice-agents/${string}/models`];
5374
+ };
5375
+ /**
5376
+ * Update call control settings for a voice agent.
5377
+
5378
+ Configure whether the voice agent supports dial pad input, can end calls, and set a transfer phone number.
5379
+
5380
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5381
+ `PUT /v1/agents/{id}/call-controls`
5382
+ * @summary Update voice agent call controls
5383
+ */
5384
+ declare const getUpdateCallControlsUrl: (voiceAgentId: string) => string;
5385
+ declare const updateCallControls: (voiceAgentId: string, updateCallControlsBody: UpdateCallControlsBody, options?: RequestInit) => Promise<UpdateVoiceAgentCallControlsResponse>;
5386
+ declare const getUpdateCallControlsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
5387
+ arg: UpdateCallControlsBody;
5388
+ }) => Promise<UpdateVoiceAgentCallControlsResponse>;
5389
+ declare const getUpdateCallControlsMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/call-controls`];
5390
+ type UpdateCallControlsMutationResult = NonNullable<Awaited<ReturnType<typeof updateCallControls>>>;
5391
+ /**
5392
+ * @summary Update voice agent call controls
5393
+ */
5394
+ declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5395
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateCallControls>>, TError, Key, UpdateCallControlsBody, Awaited<ReturnType<typeof updateCallControls>>> & {
5396
+ swrKey?: string;
5397
+ };
5398
+ request?: SecondParameter$1<typeof customFetch>;
5399
+ }) => {
5400
+ isMutating: boolean;
5401
+ trigger: swr_mutation.TriggerWithArgs<UpdateVoiceAgentCallControlsResponse, TError, string | readonly [`/v1/voice-agents/${string}/call-controls`], UpdateCallControlsBody>;
5402
+ reset: () => void;
5403
+ data: UpdateVoiceAgentCallControlsResponse | undefined;
5404
+ error: TError | undefined;
5405
+ swrKey: string | readonly [`/v1/voice-agents/${string}/call-controls`];
5406
+ };
5407
+
5407
5408
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
5408
5409
  /**
5409
- * Create a webhook that fires when events occur for the specified call agent.
5410
- * @summary Create agent webhook
5410
+ * Create a webhook that fires when events occur for the specified voice agent.
5411
+
5412
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5413
+ `POST /v1/agents/{id}/webhooks`
5414
+ * @summary Create voice agent webhook
5411
5415
  */
5412
- declare const getCreateAgentWebhookUrl: (id: string) => string;
5413
- declare const createAgentWebhook: (id: string, createAgentWebhookBody: CreateAgentWebhookBody, options?: RequestInit) => Promise<Webhook>;
5414
- declare const getCreateAgentWebhookMutationFetcher: (id: string, options?: SecondParameter<typeof customFetch>) => (_: Key, { arg }: {
5416
+ declare const getCreateAgentWebhookUrl: (voiceAgentId: string) => string;
5417
+ declare const createAgentWebhook: (voiceAgentId: string, createAgentWebhookBody: CreateAgentWebhookBody, options?: RequestInit) => Promise<Webhook>;
5418
+ declare const getCreateAgentWebhookMutationFetcher: (voiceAgentId: string, options?: SecondParameter<typeof customFetch>) => (_: Key, { arg }: {
5415
5419
  arg: CreateAgentWebhookBody;
5416
5420
  }) => Promise<Webhook>;
5417
- declare const getCreateAgentWebhookMutationKey: (id: string) => readonly [`/v1/agents/${string}/webhooks`];
5421
+ declare const getCreateAgentWebhookMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/webhooks`];
5418
5422
  type CreateAgentWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof createAgentWebhook>>>;
5419
5423
  /**
5420
- * @summary Create agent webhook
5424
+ * @summary Create voice agent webhook
5421
5425
  */
5422
- declare const useCreateAgentWebhook: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5426
+ declare const useCreateAgentWebhook: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5423
5427
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createAgentWebhook>>, TError, Key, CreateAgentWebhookBody, Awaited<ReturnType<typeof createAgentWebhook>>> & {
5424
5428
  swrKey?: string;
5425
5429
  };
5426
5430
  request?: SecondParameter<typeof customFetch>;
5427
5431
  }) => {
5428
5432
  isMutating: boolean;
5429
- trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/agents/${string}/webhooks`], CreateAgentWebhookBody>;
5433
+ trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/voice-agents/${string}/webhooks`], CreateAgentWebhookBody>;
5430
5434
  reset: () => void;
5431
5435
  data: Webhook | undefined;
5432
5436
  error: TError | undefined;
5433
- swrKey: string | readonly [`/v1/agents/${string}/webhooks`];
5437
+ swrKey: string | readonly [`/v1/voice-agents/${string}/webhooks`];
5434
5438
  };
5435
5439
  /**
5436
- * List all webhooks configured for a specific call agent.
5437
- * @summary List agent webhooks
5440
+ * List all webhooks configured for a specific voice agent.
5441
+
5442
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5443
+ `GET /v1/agents/{id}/webhooks`
5444
+ * @summary List voice agent webhooks
5438
5445
  */
5439
- declare const getListAgentWebhooksUrl: (id: string) => string;
5440
- declare const listAgentWebhooks: (id: string, options?: RequestInit) => Promise<AgentWebhookList>;
5441
- declare const getListAgentWebhooksKey: (id: string) => readonly [`/v1/agents/${string}/webhooks`];
5446
+ declare const getListAgentWebhooksUrl: (voiceAgentId: string) => string;
5447
+ declare const listAgentWebhooks: (voiceAgentId: string, options?: RequestInit) => Promise<VoiceAgentWebhookList>;
5448
+ declare const getListAgentWebhooksKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/webhooks`];
5442
5449
  type ListAgentWebhooksQueryResult = NonNullable<Awaited<ReturnType<typeof listAgentWebhooks>>>;
5443
5450
  /**
5444
- * @summary List agent webhooks
5451
+ * @summary List voice agent webhooks
5445
5452
  */
5446
- declare const useListAgentWebhooks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5453
+ declare const useListAgentWebhooks: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
5447
5454
  swr?: SWRConfiguration<Awaited<ReturnType<typeof listAgentWebhooks>>, TError> & {
5448
5455
  swrKey?: Key;
5449
5456
  enabled?: boolean;
5450
5457
  };
5451
5458
  request?: SecondParameter<typeof customFetch>;
5452
5459
  }) => {
5453
- data: AgentWebhookList | undefined;
5460
+ data: VoiceAgentWebhookList | undefined;
5454
5461
  error: TError | undefined;
5455
- mutate: swr.KeyedMutator<AgentWebhookList>;
5462
+ mutate: swr.KeyedMutator<VoiceAgentWebhookList>;
5456
5463
  isValidating: boolean;
5457
5464
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5458
5465
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
@@ -5484,31 +5491,6 @@ declare const useCreateEmailAgentWebhook: <TError = ErrorType<ErrorResponse>>(id
5484
5491
  error: TError | undefined;
5485
5492
  swrKey: string | readonly [`/v1/email-agents/${string}/webhooks`];
5486
5493
  };
5487
- /**
5488
- * List all webhooks configured for a specific email agent.
5489
- * @summary List email agent webhooks
5490
- */
5491
- declare const getListEmailAgentWebhooksUrl: (id: string) => string;
5492
- declare const listEmailAgentWebhooks: (id: string, options?: RequestInit) => Promise<EmailAgentWebhookList>;
5493
- declare const getListEmailAgentWebhooksKey: (id: string) => readonly [`/v1/email-agents/${string}/webhooks`];
5494
- type ListEmailAgentWebhooksQueryResult = NonNullable<Awaited<ReturnType<typeof listEmailAgentWebhooks>>>;
5495
- /**
5496
- * @summary List email agent webhooks
5497
- */
5498
- declare const useListEmailAgentWebhooks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5499
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listEmailAgentWebhooks>>, TError> & {
5500
- swrKey?: Key;
5501
- enabled?: boolean;
5502
- };
5503
- request?: SecondParameter<typeof customFetch>;
5504
- }) => {
5505
- data: EmailAgentWebhookList | undefined;
5506
- error: TError | undefined;
5507
- mutate: swr.KeyedMutator<EmailAgentWebhookList>;
5508
- isValidating: boolean;
5509
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5510
- swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
5511
- };
5512
5494
  /**
5513
5495
  * Create a webhook that fires when extraction events occur for the specified extractor.
5514
5496
  * @summary Create extractor webhook
@@ -5613,6 +5595,34 @@ declare const useGetWebhook: <TError = ErrorType<ErrorResponse>>(id: string, opt
5613
5595
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5614
5596
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
5615
5597
  };
5598
+ /**
5599
+ * List all webhooks configured for a specific inbox.
5600
+
5601
+ For compatibility this endpoint is also available using the following (deprecated) paths:
5602
+ `GET /v1/email-agents/{id}/webhooks`
5603
+ * @summary List inbox webhooks
5604
+ */
5605
+ declare const getListInboxWebhooksUrl: (inboxId: string) => string;
5606
+ declare const listInboxWebhooks: (inboxId: string, options?: RequestInit) => Promise<InboxWebhookList>;
5607
+ declare const getListInboxWebhooksKey: (inboxId: string) => readonly [`/v1/inboxes/${string}/webhooks`];
5608
+ type ListInboxWebhooksQueryResult = NonNullable<Awaited<ReturnType<typeof listInboxWebhooks>>>;
5609
+ /**
5610
+ * @summary List inbox webhooks
5611
+ */
5612
+ declare const useListInboxWebhooks: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
5613
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof listInboxWebhooks>>, TError> & {
5614
+ swrKey?: Key;
5615
+ enabled?: boolean;
5616
+ };
5617
+ request?: SecondParameter<typeof customFetch>;
5618
+ }) => {
5619
+ data: InboxWebhookList | undefined;
5620
+ error: TError | undefined;
5621
+ mutate: swr.KeyedMutator<InboxWebhookList>;
5622
+ isValidating: boolean;
5623
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5624
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
5625
+ };
5616
5626
  /**
5617
5627
  * List delivery attempts for a specific webhook, with pagination and sorting. Useful for debugging webhook issues.
5618
5628
  * @summary List webhook deliveries
@@ -5666,4 +5676,4 @@ declare const useTestWebhook: <TError = ErrorType<ErrorResponse>>(id: string, op
5666
5676
  swrKey: string | readonly [`/v1/webhooks/${string}/test`];
5667
5677
  };
5668
5678
 
5669
- export { type AddToolsToAgentBody, type AddToolsToAgentMutationResult, type AddToolsToAgentResponse, type Agent, AgentBackgroundSounds, AgentDirection, AgentLanguage, type AgentList, AgentLlmModel, type AgentPrompt, AgentSttModel, AgentTtsModel, AgentTtsProvider, type AgentWebhookList, type AgenticJobMessage, type AgenticJobMessageList, type AgenticJobMessageMessage, type ApiKey, type ApiKeyCreated, type ApiKeyList, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelExtractorJobMutationResult, type CancelJobMutationResult, type CanceledExtractorJob, type CanceledExtractorJobScope, type CheckEmailUsernameAvailabilityParams, type CheckEmailUsernameAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentBody, CreateAgentBodyDirection, CreateAgentBodyLanguage, CreateAgentBodyLlmModel, CreateAgentBodySttModel, CreateAgentBodyTtsModel, CreateAgentBodyTtsProvider, type CreateAgentMutationResult, type CreateAgentResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailAgentBody, type CreateEmailAgentMutationResult, type CreateEmailAgentWebhookBody, type CreateEmailAgentWebhookMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, CreateExtractorJobBodyExtractorType, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateToolBody, type CreateToolMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromAgentBody, type DeleteToolsFromAgentMutationResult, type DeleteToolsFromAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailAgent, type EmailAgentList, type EmailAgentWebhookList, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailUsernameAvailability, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractScope, type ExtractSummary, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, ExtractorJobExtractorType, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetAgentPromptQueryResult, type GetAgentQueryResult, type GetAgentResponse, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetWebhookQueryResult, type ListAgentWebhooksQueryResult, type ListAgenticJobMessagesParams, type ListAgenticJobMessagesQueryResult, type ListAgentsParams, type ListAgentsQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailAgentWebhooksQueryResult, type ListEmailAgentsParams, type ListEmailAgentsQueryResult, ListEmailAgentsSortBy, ListEmailAgentsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateAgentModelsBody, UpdateAgentModelsBodyLanguage, UpdateAgentModelsBodyLlmModel, UpdateAgentModelsBodySttModel, UpdateAgentModelsBodyTtsModel, UpdateAgentModelsBodyTtsProvider, type UpdateAgentModelsMutationResult, type UpdateAgentModelsResponse, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateCallControlsResponse, type UpdateEmailAgentBody, type UpdateEmailAgentMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorJobScopeBody, type UpdateExtractorJobScopeBodyScope, type UpdateExtractorJobScopeMutationResult, type UpdateExtractorMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdatedExtractorJob, type UpdatedExtractorJobScope, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, addToolsToAgent, cancelExtractorJob, cancelJob, checkEmailUsernameAvailability, configure, createAgent, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createEmailAgent, createEmailAgentWebhook, createExtractor, createExtractorJob, createExtractorWebhook, createTool, deleteCallFeedback, deleteToolsFromAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToAgentMutationFetcher, getAddToolsToAgentMutationKey, getAddToolsToAgentUrl, getAgent, getAgentPrompt, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckEmailUsernameAvailabilityKey, getCheckEmailUsernameAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentMutationFetcher, getCreateAgentMutationKey, getCreateAgentUrl, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailAgentMutationFetcher, getCreateEmailAgentMutationKey, getCreateEmailAgentUrl, getCreateEmailAgentWebhookMutationFetcher, getCreateEmailAgentWebhookMutationKey, getCreateEmailAgentWebhookUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromAgentMutationFetcher, getDeleteToolsFromAgentMutationKey, getDeleteToolsFromAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetAgentKey, getGetAgentPromptKey, getGetAgentPromptUrl, getGetAgentUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetWebhookKey, getGetWebhookUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgenticJobMessagesKey, getListAgenticJobMessagesUrl, getListAgentsKey, getListAgentsUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailAgentWebhooksKey, getListEmailAgentWebhooksUrl, getListEmailAgentsKey, getListEmailAgentsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateAgentModelsMutationFetcher, getUpdateAgentModelsMutationKey, getUpdateAgentModelsUrl, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateEmailAgentMutationFetcher, getUpdateEmailAgentMutationKey, getUpdateEmailAgentUrl, getUpdateExtractorJobScopeMutationFetcher, getUpdateExtractorJobScopeMutationKey, getUpdateExtractorJobScopeUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getWebhook, listAgentWebhooks, listAgenticJobMessages, listAgents, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailAgentWebhooks, listEmailAgents, listEmails, listExtractorJobs, listExtractors, listExtracts, listJobs, listTools, listWebhookDeliveries, listWebhooks, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateAgentModels, updateArtifactMetadata, updateCallControls, updateEmailAgent, updateExtractor, updateExtractorJobScope, updateTool, uploadFile, useAddToolsToAgent, useCancelExtractorJob, useCancelJob, useCheckEmailUsernameAvailability, useCreateAgent, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateEmailAgent, useCreateEmailAgentWebhook, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateTool, useDeleteCallFeedback, useDeleteToolsFromAgent, useDeleteWebhook, useExecuteCode, useGetAgent, useGetAgentPrompt, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetWebhook, useListAgentWebhooks, useListAgenticJobMessages, useListAgents, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailAgentWebhooks, useListEmailAgents, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListJobs, useListTools, useListWebhookDeliveries, useListWebhooks, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateAgentModels, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateEmailAgent, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateTool, useUploadFile };
5679
+ export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type AgenticJobMessage, type AgenticJobMessageList, type AgenticJobMessageMessage, type ApiKey, type ApiKeyCreated, type ApiKeyList, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelExtractorJobMutationResult, type CancelJobMutationResult, type CanceledExtractorJob, type CanceledExtractorJobScope, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailAgentWebhookBody, type CreateEmailAgentWebhookMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, CreateExtractorJobBodyExtractorType, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, type CreateInboxMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type DeleteCallFeedbackMutationResult, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailUsernameAvailability, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractScope, type ExtractSummary, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, ExtractorJobExtractorType, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type Inbox, type InboxList, type InboxWebhookList, type ListAgentWebhooksQueryResult, type ListAgenticJobMessagesParams, type ListAgenticJobMessagesQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorJobScopeBody, type UpdateExtractorJobScopeBodyScope, type UpdateExtractorJobScopeMutationResult, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdatedExtractorJob, type UpdatedExtractorJobScope, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, type VoiceAgentPrompt, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, addToolsToVoiceAgent, cancelExtractorJob, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createEmailAgentWebhook, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createTool, createVoiceAgent, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailAgentWebhookMutationFetcher, getCreateEmailAgentWebhookMutationKey, getCreateEmailAgentWebhookUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgenticJobMessagesKey, getListAgenticJobMessagesUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorJobScopeMutationFetcher, getUpdateExtractorJobScopeMutationKey, getUpdateExtractorJobScopeUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, listAgentWebhooks, listAgenticJobMessages, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelExtractorJob, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateEmailAgentWebhook, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateTool, useCreateVoiceAgent, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useListAgentWebhooks, useListAgenticJobMessages, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgentModels, useUploadFile };