@raconte/node-sdk 0.1.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.
Files changed (40) hide show
  1. package/README.md +64 -0
  2. package/dist/client.d.ts +23 -0
  3. package/dist/client.js +23 -0
  4. package/dist/generated/client/client.gen.d.ts +2 -0
  5. package/dist/generated/client/client.gen.js +229 -0
  6. package/dist/generated/client/index.d.ts +8 -0
  7. package/dist/generated/client/index.js +6 -0
  8. package/dist/generated/client/types.gen.d.ts +117 -0
  9. package/dist/generated/client/types.gen.js +2 -0
  10. package/dist/generated/client/utils.gen.d.ts +33 -0
  11. package/dist/generated/client/utils.gen.js +231 -0
  12. package/dist/generated/client.gen.d.ts +12 -0
  13. package/dist/generated/client.gen.js +3 -0
  14. package/dist/generated/core/auth.gen.d.ts +18 -0
  15. package/dist/generated/core/auth.gen.js +14 -0
  16. package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
  17. package/dist/generated/core/bodySerializer.gen.js +57 -0
  18. package/dist/generated/core/params.gen.d.ts +43 -0
  19. package/dist/generated/core/params.gen.js +100 -0
  20. package/dist/generated/core/pathSerializer.gen.d.ts +33 -0
  21. package/dist/generated/core/pathSerializer.gen.js +114 -0
  22. package/dist/generated/core/queryKeySerializer.gen.d.ts +18 -0
  23. package/dist/generated/core/queryKeySerializer.gen.js +99 -0
  24. package/dist/generated/core/serverSentEvents.gen.d.ts +71 -0
  25. package/dist/generated/core/serverSentEvents.gen.js +137 -0
  26. package/dist/generated/core/types.gen.d.ts +78 -0
  27. package/dist/generated/core/types.gen.js +2 -0
  28. package/dist/generated/core/utils.gen.d.ts +19 -0
  29. package/dist/generated/core/utils.gen.js +87 -0
  30. package/dist/generated/index.d.ts +2 -0
  31. package/dist/generated/index.js +3 -0
  32. package/dist/generated/sdk.gen.d.ts +38 -0
  33. package/dist/generated/sdk.gen.js +133 -0
  34. package/dist/generated/types.gen.d.ts +705 -0
  35. package/dist/generated/types.gen.js +12 -0
  36. package/dist/generated/zod.gen.d.ts +1294 -0
  37. package/dist/generated/zod.gen.js +589 -0
  38. package/dist/index.d.ts +13 -0
  39. package/dist/index.js +11 -0
  40. package/package.json +55 -0
@@ -0,0 +1,1294 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * VoiceTestAudioUrlSchema
4
+ *
5
+ * Short-lived presigned URL for the voice preview audio. Generated on first request if missing.
6
+ */
7
+ export declare const zVoiceTestAudioUrlSchema: z.ZodObject<{
8
+ url: z.ZodURL;
9
+ expiresAt: z.ZodString;
10
+ mimeType: z.ZodString;
11
+ }, z.core.$strip>;
12
+ /**
13
+ * VoiceSchema
14
+ *
15
+ * A voice available for interview narration. Provider-specific identifiers are not exposed publicly.
16
+ */
17
+ export declare const zVoiceSchema: z.ZodObject<{
18
+ id: z.ZodUUID;
19
+ name: z.ZodString;
20
+ language: z.ZodString;
21
+ gender: z.ZodEnum<{
22
+ M: "M";
23
+ F: "F";
24
+ }>;
25
+ provider: z.ZodEnum<{
26
+ gradium: "gradium";
27
+ elevenlabs: "elevenlabs";
28
+ }>;
29
+ }, z.core.$strip>;
30
+ /**
31
+ * VoiceListSchema
32
+ *
33
+ * List of voices matching the requested language filter.
34
+ */
35
+ export declare const zVoiceListSchema: z.ZodArray<z.ZodObject<{
36
+ id: z.ZodUUID;
37
+ name: z.ZodString;
38
+ language: z.ZodString;
39
+ gender: z.ZodEnum<{
40
+ M: "M";
41
+ F: "F";
42
+ }>;
43
+ provider: z.ZodEnum<{
44
+ gradium: "gradium";
45
+ elevenlabs: "elevenlabs";
46
+ }>;
47
+ }, z.core.$strip>>;
48
+ /**
49
+ * InterviewMessageAudioUrlSchema
50
+ *
51
+ * Short-lived presigned URL for the audio attached to an interview message.
52
+ */
53
+ export declare const zInterviewMessageAudioUrlSchema: z.ZodObject<{
54
+ url: z.ZodURL;
55
+ expiresAt: z.ZodString;
56
+ mimeType: z.ZodString;
57
+ }, z.core.$strip>;
58
+ /**
59
+ * InterviewLogSchema
60
+ *
61
+ * Schema for a single interview log entry. target is the email or phone for send events, null for status transitions. invitationId points to the specific invitation that the event concerns; null for legacy rows that predate the invitation split.
62
+ */
63
+ export declare const zInterviewLogSchema: z.ZodObject<{
64
+ id: z.ZodUUID;
65
+ type: z.ZodEnum<{
66
+ email_sent: "email_sent";
67
+ sms_sent: "sms_sent";
68
+ started: "started";
69
+ completed: "completed";
70
+ cancelled: "cancelled";
71
+ reactivated: "reactivated";
72
+ archived: "archived";
73
+ restored: "restored";
74
+ }>;
75
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
76
+ invitationId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
77
+ createdAt: z.ZodString;
78
+ }, z.core.$strip>;
79
+ /**
80
+ * InterviewLogListSchema
81
+ *
82
+ * Chronological history of events on an interview, most recent first.
83
+ */
84
+ export declare const zInterviewLogListSchema: z.ZodArray<z.ZodObject<{
85
+ id: z.ZodUUID;
86
+ type: z.ZodEnum<{
87
+ email_sent: "email_sent";
88
+ sms_sent: "sms_sent";
89
+ started: "started";
90
+ completed: "completed";
91
+ cancelled: "cancelled";
92
+ reactivated: "reactivated";
93
+ archived: "archived";
94
+ restored: "restored";
95
+ }>;
96
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
97
+ invitationId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
98
+ createdAt: z.ZodString;
99
+ }, z.core.$strip>>;
100
+ /**
101
+ * InterviewMessageSchema
102
+ *
103
+ * Schema for an interview message. audioAssetId is null when no audio was recorded for that message (legacy messages, deleted audio, etc.). audioPeaks is a base64-encoded uint8 waveform summary of the attached audio (128 amplitude bins, 0-255), null when no audio is attached or when peaks have not been computed yet for a legacy asset. sentiment is populated only on user-role messages once async insights generation has completed.
104
+ */
105
+ export declare const zInterviewMessageSchema: z.ZodObject<{
106
+ id: z.ZodUUID;
107
+ role: z.ZodEnum<{
108
+ user: "user";
109
+ assistant: "assistant";
110
+ system: "system";
111
+ }>;
112
+ content: z.ZodString;
113
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
114
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
115
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
116
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
117
+ positive: "positive";
118
+ neutral: "neutral";
119
+ negative: "negative";
120
+ }>, z.ZodNull]>;
121
+ createdAt: z.ZodString;
122
+ }, z.core.$strip>;
123
+ /**
124
+ * InterviewInvitationStatus
125
+ *
126
+ * Lifecycle state of an invitation (the unit that gets sent and produces a transcript).
127
+ */
128
+ export declare const zInterviewInvitationStatus: z.ZodEnum<{
129
+ completed: "completed";
130
+ cancelled: "cancelled";
131
+ ready: "ready";
132
+ in_progress: "in_progress";
133
+ }>;
134
+ /**
135
+ * InterviewInvitationSchema
136
+ *
137
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
138
+ */
139
+ export declare const zInterviewInvitationSchema: z.ZodObject<{
140
+ id: z.ZodUUID;
141
+ interviewId: z.ZodUUID;
142
+ slug: z.ZodString;
143
+ status: z.ZodEnum<{
144
+ completed: "completed";
145
+ cancelled: "cancelled";
146
+ ready: "ready";
147
+ in_progress: "in_progress";
148
+ }>;
149
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
150
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
151
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
152
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
153
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
154
+ createdAt: z.ZodString;
155
+ updatedAt: z.ZodString;
156
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
+ id: z.ZodUUID;
158
+ role: z.ZodEnum<{
159
+ user: "user";
160
+ assistant: "assistant";
161
+ system: "system";
162
+ }>;
163
+ content: z.ZodString;
164
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
165
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
166
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
167
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
168
+ positive: "positive";
169
+ neutral: "neutral";
170
+ negative: "negative";
171
+ }>, z.ZodNull]>;
172
+ createdAt: z.ZodString;
173
+ }, z.core.$strip>>>;
174
+ }, z.core.$strip>;
175
+ /**
176
+ * InterviewInvitationListSchema
177
+ *
178
+ * List of interview invitations belonging to an interview.
179
+ */
180
+ export declare const zInterviewInvitationListSchema: z.ZodArray<z.ZodObject<{
181
+ id: z.ZodUUID;
182
+ interviewId: z.ZodUUID;
183
+ slug: z.ZodString;
184
+ status: z.ZodEnum<{
185
+ completed: "completed";
186
+ cancelled: "cancelled";
187
+ ready: "ready";
188
+ in_progress: "in_progress";
189
+ }>;
190
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
191
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
192
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
193
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
194
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
195
+ createdAt: z.ZodString;
196
+ updatedAt: z.ZodString;
197
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
198
+ id: z.ZodUUID;
199
+ role: z.ZodEnum<{
200
+ user: "user";
201
+ assistant: "assistant";
202
+ system: "system";
203
+ }>;
204
+ content: z.ZodString;
205
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
206
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
207
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
208
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
209
+ positive: "positive";
210
+ neutral: "neutral";
211
+ negative: "negative";
212
+ }>, z.ZodNull]>;
213
+ createdAt: z.ZodString;
214
+ }, z.core.$strip>>>;
215
+ }, z.core.$strip>>;
216
+ /**
217
+ * RestoreInterviewResponse
218
+ *
219
+ * Response for restoring an archived interview
220
+ */
221
+ export declare const zRestoreInterviewResponse: z.ZodObject<{
222
+ success: z.ZodBoolean;
223
+ }, z.core.$strip>;
224
+ /**
225
+ * ArchiveInterviewResponse
226
+ *
227
+ * Response for archiving an interview
228
+ */
229
+ export declare const zArchiveInterviewResponse: z.ZodObject<{
230
+ success: z.ZodBoolean;
231
+ }, z.core.$strip>;
232
+ /**
233
+ * InterviewInvitationSummarySchema
234
+ *
235
+ * Lightweight invitation row used in lists. summaryAvailable is true once async insights have produced a summary for this invitation. hasMessages is true as soon as the invitation has at least one transcript message persisted.
236
+ */
237
+ export declare const zInterviewInvitationSummarySchema: z.ZodObject<{
238
+ id: z.ZodUUID;
239
+ slug: z.ZodString;
240
+ status: z.ZodEnum<{
241
+ completed: "completed";
242
+ cancelled: "cancelled";
243
+ ready: "ready";
244
+ in_progress: "in_progress";
245
+ }>;
246
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
247
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
248
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
249
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
250
+ createdAt: z.ZodString;
251
+ updatedAt: z.ZodString;
252
+ hasMessages: z.ZodBoolean;
253
+ summaryAvailable: z.ZodBoolean;
254
+ }, z.core.$strip>;
255
+ /**
256
+ * InterviewStatusCounts
257
+ *
258
+ * Number of invitations in each status for a given interview, archived invitations excluded.
259
+ */
260
+ export declare const zInterviewStatusCounts: z.ZodObject<{
261
+ ready: z.ZodInt;
262
+ in_progress: z.ZodInt;
263
+ completed: z.ZodInt;
264
+ cancelled: z.ZodInt;
265
+ }, z.core.$strip>;
266
+ /**
267
+ * InterviewSchema
268
+ *
269
+ * Schema for an interview definition. invitations is the list of recipients this interview has been (or will be) sent to. When invitationsCount == 1, the interview is in "single" mode; when > 1, it is a bulk send.
270
+ */
271
+ export declare const zInterviewSchema: z.ZodObject<{
272
+ id: z.ZodUUID;
273
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
274
+ prompt: z.ZodString;
275
+ intro: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
276
+ firstMessage: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
277
+ locale: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
278
+ voiceId: z.ZodUUID;
279
+ maxMinutes: z.ZodInt;
280
+ maxResponses: z.ZodInt;
281
+ disableOrgSystemPrompt: z.ZodBoolean;
282
+ createdAt: z.ZodString;
283
+ updatedAt: z.ZodString;
284
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
285
+ invitationsCount: z.ZodInt;
286
+ invitationsByStatus: z.ZodObject<{
287
+ ready: z.ZodInt;
288
+ in_progress: z.ZodInt;
289
+ completed: z.ZodInt;
290
+ cancelled: z.ZodInt;
291
+ }, z.core.$strip>;
292
+ invitationsArchivedCount: z.ZodInt;
293
+ invitations: z.ZodArray<z.ZodObject<{
294
+ id: z.ZodUUID;
295
+ slug: z.ZodString;
296
+ status: z.ZodEnum<{
297
+ completed: "completed";
298
+ cancelled: "cancelled";
299
+ ready: "ready";
300
+ in_progress: "in_progress";
301
+ }>;
302
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
303
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
304
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
305
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
306
+ createdAt: z.ZodString;
307
+ updatedAt: z.ZodString;
308
+ hasMessages: z.ZodBoolean;
309
+ summaryAvailable: z.ZodBoolean;
310
+ }, z.core.$strip>>;
311
+ }, z.core.$strip>;
312
+ /**
313
+ * InterviewListSchema
314
+ *
315
+ * Schema for a list of interviews
316
+ */
317
+ export declare const zInterviewListSchema: z.ZodArray<z.ZodObject<{
318
+ id: z.ZodUUID;
319
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
320
+ prompt: z.ZodString;
321
+ intro: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
322
+ firstMessage: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
323
+ locale: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
324
+ voiceId: z.ZodUUID;
325
+ maxMinutes: z.ZodInt;
326
+ maxResponses: z.ZodInt;
327
+ disableOrgSystemPrompt: z.ZodBoolean;
328
+ createdAt: z.ZodString;
329
+ updatedAt: z.ZodString;
330
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
331
+ invitationsCount: z.ZodInt;
332
+ invitationsByStatus: z.ZodObject<{
333
+ ready: z.ZodInt;
334
+ in_progress: z.ZodInt;
335
+ completed: z.ZodInt;
336
+ cancelled: z.ZodInt;
337
+ }, z.core.$strip>;
338
+ invitationsArchivedCount: z.ZodInt;
339
+ invitations: z.ZodArray<z.ZodObject<{
340
+ id: z.ZodUUID;
341
+ slug: z.ZodString;
342
+ status: z.ZodEnum<{
343
+ completed: "completed";
344
+ cancelled: "cancelled";
345
+ ready: "ready";
346
+ in_progress: "in_progress";
347
+ }>;
348
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
349
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
350
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
351
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
352
+ createdAt: z.ZodString;
353
+ updatedAt: z.ZodString;
354
+ hasMessages: z.ZodBoolean;
355
+ summaryAvailable: z.ZodBoolean;
356
+ }, z.core.$strip>>;
357
+ }, z.core.$strip>>;
358
+ /**
359
+ * CreatedInterviewSchema
360
+ *
361
+ * Schema for a newly created interview, including the slug of its initial invitation.
362
+ */
363
+ export declare const zCreatedInterviewSchema: z.ZodObject<{
364
+ id: z.ZodUUID;
365
+ invitationId: z.ZodUUID;
366
+ slug: z.ZodString;
367
+ status: z.ZodEnum<{
368
+ completed: "completed";
369
+ cancelled: "cancelled";
370
+ ready: "ready";
371
+ in_progress: "in_progress";
372
+ }>;
373
+ }, z.core.$strip>;
374
+ /**
375
+ * CreatedInterviewsResponse
376
+ *
377
+ * Response for interview creation
378
+ */
379
+ export declare const zCreatedInterviewsResponse: z.ZodArray<z.ZodObject<{
380
+ id: z.ZodUUID;
381
+ invitationId: z.ZodUUID;
382
+ slug: z.ZodString;
383
+ status: z.ZodEnum<{
384
+ completed: "completed";
385
+ cancelled: "cancelled";
386
+ ready: "ready";
387
+ in_progress: "in_progress";
388
+ }>;
389
+ }, z.core.$strip>>;
390
+ export declare const zInterviewsControllerListData: z.ZodObject<{
391
+ body: z.ZodOptional<z.ZodNever>;
392
+ path: z.ZodOptional<z.ZodNever>;
393
+ query: z.ZodOptional<z.ZodObject<{
394
+ archived: z.ZodOptional<z.ZodBoolean>;
395
+ }, z.core.$strip>>;
396
+ }, z.core.$strip>;
397
+ /**
398
+ * Schema for a list of interviews
399
+ */
400
+ export declare const zInterviewsControllerListResponse: z.ZodArray<z.ZodObject<{
401
+ id: z.ZodUUID;
402
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
403
+ prompt: z.ZodString;
404
+ intro: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
405
+ firstMessage: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
406
+ locale: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
407
+ voiceId: z.ZodUUID;
408
+ maxMinutes: z.ZodInt;
409
+ maxResponses: z.ZodInt;
410
+ disableOrgSystemPrompt: z.ZodBoolean;
411
+ createdAt: z.ZodString;
412
+ updatedAt: z.ZodString;
413
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
414
+ invitationsCount: z.ZodInt;
415
+ invitationsByStatus: z.ZodObject<{
416
+ ready: z.ZodInt;
417
+ in_progress: z.ZodInt;
418
+ completed: z.ZodInt;
419
+ cancelled: z.ZodInt;
420
+ }, z.core.$strip>;
421
+ invitationsArchivedCount: z.ZodInt;
422
+ invitations: z.ZodArray<z.ZodObject<{
423
+ id: z.ZodUUID;
424
+ slug: z.ZodString;
425
+ status: z.ZodEnum<{
426
+ completed: "completed";
427
+ cancelled: "cancelled";
428
+ ready: "ready";
429
+ in_progress: "in_progress";
430
+ }>;
431
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
432
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
433
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
434
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
435
+ createdAt: z.ZodString;
436
+ updatedAt: z.ZodString;
437
+ hasMessages: z.ZodBoolean;
438
+ summaryAvailable: z.ZodBoolean;
439
+ }, z.core.$strip>>;
440
+ }, z.core.$strip>>;
441
+ export declare const zInterviewsControllerCreateData: z.ZodObject<{
442
+ body: z.ZodObject<{
443
+ prompt: z.ZodString;
444
+ title: z.ZodOptional<z.ZodString>;
445
+ intro: z.ZodOptional<z.ZodString>;
446
+ firstMessage: z.ZodOptional<z.ZodString>;
447
+ email: z.ZodOptional<z.ZodEmail>;
448
+ phone: z.ZodOptional<z.ZodString>;
449
+ invitees: z.ZodOptional<z.ZodArray<z.ZodObject<{
450
+ name: z.ZodOptional<z.ZodString>;
451
+ email: z.ZodOptional<z.ZodEmail>;
452
+ phone: z.ZodOptional<z.ZodString>;
453
+ }, z.core.$strip>>>;
454
+ locale: z.ZodOptional<z.ZodString>;
455
+ voiceId: z.ZodOptional<z.ZodUUID>;
456
+ }, z.core.$strip>;
457
+ path: z.ZodOptional<z.ZodNever>;
458
+ query: z.ZodOptional<z.ZodNever>;
459
+ }, z.core.$strip>;
460
+ /**
461
+ * Response for interview creation
462
+ */
463
+ export declare const zInterviewsControllerCreateResponse: z.ZodArray<z.ZodObject<{
464
+ id: z.ZodUUID;
465
+ invitationId: z.ZodUUID;
466
+ slug: z.ZodString;
467
+ status: z.ZodEnum<{
468
+ completed: "completed";
469
+ cancelled: "cancelled";
470
+ ready: "ready";
471
+ in_progress: "in_progress";
472
+ }>;
473
+ }, z.core.$strip>>;
474
+ export declare const zInterviewsControllerGetOneData: z.ZodObject<{
475
+ body: z.ZodOptional<z.ZodNever>;
476
+ path: z.ZodObject<{
477
+ id: z.ZodUUID;
478
+ }, z.core.$strip>;
479
+ query: z.ZodOptional<z.ZodNever>;
480
+ }, z.core.$strip>;
481
+ /**
482
+ * Schema for an interview definition. invitations is the list of recipients this interview has been (or will be) sent to. When invitationsCount == 1, the interview is in "single" mode; when > 1, it is a bulk send.
483
+ */
484
+ export declare const zInterviewsControllerGetOneResponse: z.ZodObject<{
485
+ id: z.ZodUUID;
486
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
487
+ prompt: z.ZodString;
488
+ intro: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
489
+ firstMessage: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
490
+ locale: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
491
+ voiceId: z.ZodUUID;
492
+ maxMinutes: z.ZodInt;
493
+ maxResponses: z.ZodInt;
494
+ disableOrgSystemPrompt: z.ZodBoolean;
495
+ createdAt: z.ZodString;
496
+ updatedAt: z.ZodString;
497
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
498
+ invitationsCount: z.ZodInt;
499
+ invitationsByStatus: z.ZodObject<{
500
+ ready: z.ZodInt;
501
+ in_progress: z.ZodInt;
502
+ completed: z.ZodInt;
503
+ cancelled: z.ZodInt;
504
+ }, z.core.$strip>;
505
+ invitationsArchivedCount: z.ZodInt;
506
+ invitations: z.ZodArray<z.ZodObject<{
507
+ id: z.ZodUUID;
508
+ slug: z.ZodString;
509
+ status: z.ZodEnum<{
510
+ completed: "completed";
511
+ cancelled: "cancelled";
512
+ ready: "ready";
513
+ in_progress: "in_progress";
514
+ }>;
515
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
516
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
517
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
518
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
519
+ createdAt: z.ZodString;
520
+ updatedAt: z.ZodString;
521
+ hasMessages: z.ZodBoolean;
522
+ summaryAvailable: z.ZodBoolean;
523
+ }, z.core.$strip>>;
524
+ }, z.core.$strip>;
525
+ export declare const zInterviewsControllerUpdateData: z.ZodObject<{
526
+ body: z.ZodObject<{
527
+ title: z.ZodOptional<z.ZodString>;
528
+ prompt: z.ZodOptional<z.ZodString>;
529
+ intro: z.ZodOptional<z.ZodString>;
530
+ firstMessage: z.ZodOptional<z.ZodString>;
531
+ locale: z.ZodOptional<z.ZodString>;
532
+ maxMinutes: z.ZodOptional<z.ZodInt>;
533
+ maxResponses: z.ZodOptional<z.ZodInt>;
534
+ disableOrgSystemPrompt: z.ZodOptional<z.ZodBoolean>;
535
+ voiceId: z.ZodOptional<z.ZodUUID>;
536
+ }, z.core.$strip>;
537
+ path: z.ZodObject<{
538
+ id: z.ZodUUID;
539
+ }, z.core.$strip>;
540
+ query: z.ZodOptional<z.ZodNever>;
541
+ }, z.core.$strip>;
542
+ /**
543
+ * Schema for an interview definition. invitations is the list of recipients this interview has been (or will be) sent to. When invitationsCount == 1, the interview is in "single" mode; when > 1, it is a bulk send.
544
+ */
545
+ export declare const zInterviewsControllerUpdateResponse: z.ZodObject<{
546
+ id: z.ZodUUID;
547
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
548
+ prompt: z.ZodString;
549
+ intro: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
550
+ firstMessage: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
551
+ locale: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
552
+ voiceId: z.ZodUUID;
553
+ maxMinutes: z.ZodInt;
554
+ maxResponses: z.ZodInt;
555
+ disableOrgSystemPrompt: z.ZodBoolean;
556
+ createdAt: z.ZodString;
557
+ updatedAt: z.ZodString;
558
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
559
+ invitationsCount: z.ZodInt;
560
+ invitationsByStatus: z.ZodObject<{
561
+ ready: z.ZodInt;
562
+ in_progress: z.ZodInt;
563
+ completed: z.ZodInt;
564
+ cancelled: z.ZodInt;
565
+ }, z.core.$strip>;
566
+ invitationsArchivedCount: z.ZodInt;
567
+ invitations: z.ZodArray<z.ZodObject<{
568
+ id: z.ZodUUID;
569
+ slug: z.ZodString;
570
+ status: z.ZodEnum<{
571
+ completed: "completed";
572
+ cancelled: "cancelled";
573
+ ready: "ready";
574
+ in_progress: "in_progress";
575
+ }>;
576
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
577
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
578
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
579
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
580
+ createdAt: z.ZodString;
581
+ updatedAt: z.ZodString;
582
+ hasMessages: z.ZodBoolean;
583
+ summaryAvailable: z.ZodBoolean;
584
+ }, z.core.$strip>>;
585
+ }, z.core.$strip>;
586
+ export declare const zInterviewsControllerRegenerateIntroData: z.ZodObject<{
587
+ body: z.ZodOptional<z.ZodNever>;
588
+ path: z.ZodObject<{
589
+ id: z.ZodUUID;
590
+ }, z.core.$strip>;
591
+ query: z.ZodOptional<z.ZodNever>;
592
+ }, z.core.$strip>;
593
+ /**
594
+ * Schema for an interview definition. invitations is the list of recipients this interview has been (or will be) sent to. When invitationsCount == 1, the interview is in "single" mode; when > 1, it is a bulk send.
595
+ */
596
+ export declare const zInterviewsControllerRegenerateIntroResponse: z.ZodObject<{
597
+ id: z.ZodUUID;
598
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
599
+ prompt: z.ZodString;
600
+ intro: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
601
+ firstMessage: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
602
+ locale: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
603
+ voiceId: z.ZodUUID;
604
+ maxMinutes: z.ZodInt;
605
+ maxResponses: z.ZodInt;
606
+ disableOrgSystemPrompt: z.ZodBoolean;
607
+ createdAt: z.ZodString;
608
+ updatedAt: z.ZodString;
609
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
610
+ invitationsCount: z.ZodInt;
611
+ invitationsByStatus: z.ZodObject<{
612
+ ready: z.ZodInt;
613
+ in_progress: z.ZodInt;
614
+ completed: z.ZodInt;
615
+ cancelled: z.ZodInt;
616
+ }, z.core.$strip>;
617
+ invitationsArchivedCount: z.ZodInt;
618
+ invitations: z.ZodArray<z.ZodObject<{
619
+ id: z.ZodUUID;
620
+ slug: z.ZodString;
621
+ status: z.ZodEnum<{
622
+ completed: "completed";
623
+ cancelled: "cancelled";
624
+ ready: "ready";
625
+ in_progress: "in_progress";
626
+ }>;
627
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
628
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
629
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
630
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
631
+ createdAt: z.ZodString;
632
+ updatedAt: z.ZodString;
633
+ hasMessages: z.ZodBoolean;
634
+ summaryAvailable: z.ZodBoolean;
635
+ }, z.core.$strip>>;
636
+ }, z.core.$strip>;
637
+ export declare const zInterviewsControllerRegenerateFirstMessageData: z.ZodObject<{
638
+ body: z.ZodOptional<z.ZodNever>;
639
+ path: z.ZodObject<{
640
+ id: z.ZodUUID;
641
+ }, z.core.$strip>;
642
+ query: z.ZodOptional<z.ZodNever>;
643
+ }, z.core.$strip>;
644
+ /**
645
+ * Schema for an interview definition. invitations is the list of recipients this interview has been (or will be) sent to. When invitationsCount == 1, the interview is in "single" mode; when > 1, it is a bulk send.
646
+ */
647
+ export declare const zInterviewsControllerRegenerateFirstMessageResponse: z.ZodObject<{
648
+ id: z.ZodUUID;
649
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
650
+ prompt: z.ZodString;
651
+ intro: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
652
+ firstMessage: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
653
+ locale: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
654
+ voiceId: z.ZodUUID;
655
+ maxMinutes: z.ZodInt;
656
+ maxResponses: z.ZodInt;
657
+ disableOrgSystemPrompt: z.ZodBoolean;
658
+ createdAt: z.ZodString;
659
+ updatedAt: z.ZodString;
660
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
661
+ invitationsCount: z.ZodInt;
662
+ invitationsByStatus: z.ZodObject<{
663
+ ready: z.ZodInt;
664
+ in_progress: z.ZodInt;
665
+ completed: z.ZodInt;
666
+ cancelled: z.ZodInt;
667
+ }, z.core.$strip>;
668
+ invitationsArchivedCount: z.ZodInt;
669
+ invitations: z.ZodArray<z.ZodObject<{
670
+ id: z.ZodUUID;
671
+ slug: z.ZodString;
672
+ status: z.ZodEnum<{
673
+ completed: "completed";
674
+ cancelled: "cancelled";
675
+ ready: "ready";
676
+ in_progress: "in_progress";
677
+ }>;
678
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
679
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
680
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
681
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
682
+ createdAt: z.ZodString;
683
+ updatedAt: z.ZodString;
684
+ hasMessages: z.ZodBoolean;
685
+ summaryAvailable: z.ZodBoolean;
686
+ }, z.core.$strip>>;
687
+ }, z.core.$strip>;
688
+ export declare const zInterviewsControllerArchiveData: z.ZodObject<{
689
+ body: z.ZodOptional<z.ZodNever>;
690
+ path: z.ZodObject<{
691
+ id: z.ZodUUID;
692
+ }, z.core.$strip>;
693
+ query: z.ZodOptional<z.ZodNever>;
694
+ }, z.core.$strip>;
695
+ /**
696
+ * Response for archiving an interview
697
+ */
698
+ export declare const zInterviewsControllerArchiveResponse: z.ZodObject<{
699
+ success: z.ZodBoolean;
700
+ }, z.core.$strip>;
701
+ export declare const zInterviewsControllerRestoreData: z.ZodObject<{
702
+ body: z.ZodOptional<z.ZodNever>;
703
+ path: z.ZodObject<{
704
+ id: z.ZodUUID;
705
+ }, z.core.$strip>;
706
+ query: z.ZodOptional<z.ZodNever>;
707
+ }, z.core.$strip>;
708
+ /**
709
+ * Response for restoring an archived interview
710
+ */
711
+ export declare const zInterviewsControllerRestoreResponse: z.ZodObject<{
712
+ success: z.ZodBoolean;
713
+ }, z.core.$strip>;
714
+ export declare const zInterviewsControllerGetLogsData: z.ZodObject<{
715
+ body: z.ZodOptional<z.ZodNever>;
716
+ path: z.ZodObject<{
717
+ id: z.ZodUUID;
718
+ }, z.core.$strip>;
719
+ query: z.ZodOptional<z.ZodNever>;
720
+ }, z.core.$strip>;
721
+ /**
722
+ * Chronological history of events on an interview, most recent first.
723
+ */
724
+ export declare const zInterviewsControllerGetLogsResponse: z.ZodArray<z.ZodObject<{
725
+ id: z.ZodUUID;
726
+ type: z.ZodEnum<{
727
+ email_sent: "email_sent";
728
+ sms_sent: "sms_sent";
729
+ started: "started";
730
+ completed: "completed";
731
+ cancelled: "cancelled";
732
+ reactivated: "reactivated";
733
+ archived: "archived";
734
+ restored: "restored";
735
+ }>;
736
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
737
+ invitationId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
738
+ createdAt: z.ZodString;
739
+ }, z.core.$strip>>;
740
+ export declare const zInterviewInvitationsControllerListData: z.ZodObject<{
741
+ body: z.ZodOptional<z.ZodNever>;
742
+ path: z.ZodObject<{
743
+ id: z.ZodUUID;
744
+ }, z.core.$strip>;
745
+ query: z.ZodOptional<z.ZodNever>;
746
+ }, z.core.$strip>;
747
+ /**
748
+ * List of interview invitations belonging to an interview.
749
+ */
750
+ export declare const zInterviewInvitationsControllerListResponse: z.ZodArray<z.ZodObject<{
751
+ id: z.ZodUUID;
752
+ interviewId: z.ZodUUID;
753
+ slug: z.ZodString;
754
+ status: z.ZodEnum<{
755
+ completed: "completed";
756
+ cancelled: "cancelled";
757
+ ready: "ready";
758
+ in_progress: "in_progress";
759
+ }>;
760
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
761
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
762
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
763
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
764
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
765
+ createdAt: z.ZodString;
766
+ updatedAt: z.ZodString;
767
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
768
+ id: z.ZodUUID;
769
+ role: z.ZodEnum<{
770
+ user: "user";
771
+ assistant: "assistant";
772
+ system: "system";
773
+ }>;
774
+ content: z.ZodString;
775
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
776
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
777
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
778
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
779
+ positive: "positive";
780
+ neutral: "neutral";
781
+ negative: "negative";
782
+ }>, z.ZodNull]>;
783
+ createdAt: z.ZodString;
784
+ }, z.core.$strip>>>;
785
+ }, z.core.$strip>>;
786
+ export declare const zInterviewInvitationsControllerCreateData: z.ZodObject<{
787
+ body: z.ZodObject<{
788
+ name: z.ZodOptional<z.ZodString>;
789
+ email: z.ZodOptional<z.ZodEmail>;
790
+ phone: z.ZodOptional<z.ZodString>;
791
+ }, z.core.$strip>;
792
+ path: z.ZodObject<{
793
+ id: z.ZodUUID;
794
+ }, z.core.$strip>;
795
+ query: z.ZodOptional<z.ZodNever>;
796
+ }, z.core.$strip>;
797
+ /**
798
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
799
+ */
800
+ export declare const zInterviewInvitationsControllerCreateResponse: z.ZodObject<{
801
+ id: z.ZodUUID;
802
+ interviewId: z.ZodUUID;
803
+ slug: z.ZodString;
804
+ status: z.ZodEnum<{
805
+ completed: "completed";
806
+ cancelled: "cancelled";
807
+ ready: "ready";
808
+ in_progress: "in_progress";
809
+ }>;
810
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
811
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
812
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
813
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
814
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
815
+ createdAt: z.ZodString;
816
+ updatedAt: z.ZodString;
817
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
818
+ id: z.ZodUUID;
819
+ role: z.ZodEnum<{
820
+ user: "user";
821
+ assistant: "assistant";
822
+ system: "system";
823
+ }>;
824
+ content: z.ZodString;
825
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
826
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
827
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
828
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
829
+ positive: "positive";
830
+ neutral: "neutral";
831
+ negative: "negative";
832
+ }>, z.ZodNull]>;
833
+ createdAt: z.ZodString;
834
+ }, z.core.$strip>>>;
835
+ }, z.core.$strip>;
836
+ export declare const zInterviewInvitationsControllerCreateBulkData: z.ZodObject<{
837
+ body: z.ZodObject<{
838
+ invitees: z.ZodArray<z.ZodObject<{
839
+ name: z.ZodOptional<z.ZodString>;
840
+ email: z.ZodOptional<z.ZodEmail>;
841
+ phone: z.ZodOptional<z.ZodString>;
842
+ }, z.core.$strip>>;
843
+ }, z.core.$strip>;
844
+ path: z.ZodObject<{
845
+ id: z.ZodUUID;
846
+ }, z.core.$strip>;
847
+ query: z.ZodOptional<z.ZodNever>;
848
+ }, z.core.$strip>;
849
+ /**
850
+ * List of interview invitations belonging to an interview.
851
+ */
852
+ export declare const zInterviewInvitationsControllerCreateBulkResponse: z.ZodArray<z.ZodObject<{
853
+ id: z.ZodUUID;
854
+ interviewId: z.ZodUUID;
855
+ slug: z.ZodString;
856
+ status: z.ZodEnum<{
857
+ completed: "completed";
858
+ cancelled: "cancelled";
859
+ ready: "ready";
860
+ in_progress: "in_progress";
861
+ }>;
862
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
863
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
864
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
865
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
866
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
867
+ createdAt: z.ZodString;
868
+ updatedAt: z.ZodString;
869
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
870
+ id: z.ZodUUID;
871
+ role: z.ZodEnum<{
872
+ user: "user";
873
+ assistant: "assistant";
874
+ system: "system";
875
+ }>;
876
+ content: z.ZodString;
877
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
878
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
879
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
880
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
881
+ positive: "positive";
882
+ neutral: "neutral";
883
+ negative: "negative";
884
+ }>, z.ZodNull]>;
885
+ createdAt: z.ZodString;
886
+ }, z.core.$strip>>>;
887
+ }, z.core.$strip>>;
888
+ export declare const zInterviewInvitationsControllerGetOneData: z.ZodObject<{
889
+ body: z.ZodOptional<z.ZodNever>;
890
+ path: z.ZodObject<{
891
+ invitationId: z.ZodUUID;
892
+ }, z.core.$strip>;
893
+ query: z.ZodOptional<z.ZodNever>;
894
+ }, z.core.$strip>;
895
+ /**
896
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
897
+ */
898
+ export declare const zInterviewInvitationsControllerGetOneResponse: z.ZodObject<{
899
+ id: z.ZodUUID;
900
+ interviewId: z.ZodUUID;
901
+ slug: z.ZodString;
902
+ status: z.ZodEnum<{
903
+ completed: "completed";
904
+ cancelled: "cancelled";
905
+ ready: "ready";
906
+ in_progress: "in_progress";
907
+ }>;
908
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
909
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
910
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
911
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
912
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
913
+ createdAt: z.ZodString;
914
+ updatedAt: z.ZodString;
915
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
916
+ id: z.ZodUUID;
917
+ role: z.ZodEnum<{
918
+ user: "user";
919
+ assistant: "assistant";
920
+ system: "system";
921
+ }>;
922
+ content: z.ZodString;
923
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
924
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
925
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
926
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
927
+ positive: "positive";
928
+ neutral: "neutral";
929
+ negative: "negative";
930
+ }>, z.ZodNull]>;
931
+ createdAt: z.ZodString;
932
+ }, z.core.$strip>>>;
933
+ }, z.core.$strip>;
934
+ export declare const zInterviewInvitationsControllerUpdateData: z.ZodObject<{
935
+ body: z.ZodObject<{
936
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
937
+ }, z.core.$strip>;
938
+ path: z.ZodObject<{
939
+ invitationId: z.ZodUUID;
940
+ }, z.core.$strip>;
941
+ query: z.ZodOptional<z.ZodNever>;
942
+ }, z.core.$strip>;
943
+ /**
944
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
945
+ */
946
+ export declare const zInterviewInvitationsControllerUpdateResponse: z.ZodObject<{
947
+ id: z.ZodUUID;
948
+ interviewId: z.ZodUUID;
949
+ slug: z.ZodString;
950
+ status: z.ZodEnum<{
951
+ completed: "completed";
952
+ cancelled: "cancelled";
953
+ ready: "ready";
954
+ in_progress: "in_progress";
955
+ }>;
956
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
957
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
958
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
959
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
960
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
961
+ createdAt: z.ZodString;
962
+ updatedAt: z.ZodString;
963
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
964
+ id: z.ZodUUID;
965
+ role: z.ZodEnum<{
966
+ user: "user";
967
+ assistant: "assistant";
968
+ system: "system";
969
+ }>;
970
+ content: z.ZodString;
971
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
972
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
973
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
974
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
975
+ positive: "positive";
976
+ neutral: "neutral";
977
+ negative: "negative";
978
+ }>, z.ZodNull]>;
979
+ createdAt: z.ZodString;
980
+ }, z.core.$strip>>>;
981
+ }, z.core.$strip>;
982
+ export declare const zInterviewInvitationsControllerSendData: z.ZodObject<{
983
+ body: z.ZodObject<{
984
+ email: z.ZodOptional<z.ZodEmail>;
985
+ phone: z.ZodOptional<z.ZodString>;
986
+ }, z.core.$strip>;
987
+ path: z.ZodObject<{
988
+ invitationId: z.ZodUUID;
989
+ }, z.core.$strip>;
990
+ query: z.ZodOptional<z.ZodNever>;
991
+ }, z.core.$strip>;
992
+ /**
993
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
994
+ */
995
+ export declare const zInterviewInvitationsControllerSendResponse: z.ZodObject<{
996
+ id: z.ZodUUID;
997
+ interviewId: z.ZodUUID;
998
+ slug: z.ZodString;
999
+ status: z.ZodEnum<{
1000
+ completed: "completed";
1001
+ cancelled: "cancelled";
1002
+ ready: "ready";
1003
+ in_progress: "in_progress";
1004
+ }>;
1005
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1006
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1007
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1008
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1009
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1010
+ createdAt: z.ZodString;
1011
+ updatedAt: z.ZodString;
1012
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1013
+ id: z.ZodUUID;
1014
+ role: z.ZodEnum<{
1015
+ user: "user";
1016
+ assistant: "assistant";
1017
+ system: "system";
1018
+ }>;
1019
+ content: z.ZodString;
1020
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
1021
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
1022
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1023
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
1024
+ positive: "positive";
1025
+ neutral: "neutral";
1026
+ negative: "negative";
1027
+ }>, z.ZodNull]>;
1028
+ createdAt: z.ZodString;
1029
+ }, z.core.$strip>>>;
1030
+ }, z.core.$strip>;
1031
+ export declare const zInterviewInvitationsControllerCancelData: z.ZodObject<{
1032
+ body: z.ZodOptional<z.ZodNever>;
1033
+ path: z.ZodObject<{
1034
+ invitationId: z.ZodUUID;
1035
+ }, z.core.$strip>;
1036
+ query: z.ZodOptional<z.ZodNever>;
1037
+ }, z.core.$strip>;
1038
+ /**
1039
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1040
+ */
1041
+ export declare const zInterviewInvitationsControllerCancelResponse: z.ZodObject<{
1042
+ id: z.ZodUUID;
1043
+ interviewId: z.ZodUUID;
1044
+ slug: z.ZodString;
1045
+ status: z.ZodEnum<{
1046
+ completed: "completed";
1047
+ cancelled: "cancelled";
1048
+ ready: "ready";
1049
+ in_progress: "in_progress";
1050
+ }>;
1051
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1052
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1053
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1054
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1055
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1056
+ createdAt: z.ZodString;
1057
+ updatedAt: z.ZodString;
1058
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1059
+ id: z.ZodUUID;
1060
+ role: z.ZodEnum<{
1061
+ user: "user";
1062
+ assistant: "assistant";
1063
+ system: "system";
1064
+ }>;
1065
+ content: z.ZodString;
1066
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
1067
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
1068
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1069
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
1070
+ positive: "positive";
1071
+ neutral: "neutral";
1072
+ negative: "negative";
1073
+ }>, z.ZodNull]>;
1074
+ createdAt: z.ZodString;
1075
+ }, z.core.$strip>>>;
1076
+ }, z.core.$strip>;
1077
+ export declare const zInterviewInvitationsControllerReactivateData: z.ZodObject<{
1078
+ body: z.ZodOptional<z.ZodNever>;
1079
+ path: z.ZodObject<{
1080
+ invitationId: z.ZodUUID;
1081
+ }, z.core.$strip>;
1082
+ query: z.ZodOptional<z.ZodNever>;
1083
+ }, z.core.$strip>;
1084
+ /**
1085
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1086
+ */
1087
+ export declare const zInterviewInvitationsControllerReactivateResponse: z.ZodObject<{
1088
+ id: z.ZodUUID;
1089
+ interviewId: z.ZodUUID;
1090
+ slug: z.ZodString;
1091
+ status: z.ZodEnum<{
1092
+ completed: "completed";
1093
+ cancelled: "cancelled";
1094
+ ready: "ready";
1095
+ in_progress: "in_progress";
1096
+ }>;
1097
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1098
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1099
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1100
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1101
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1102
+ createdAt: z.ZodString;
1103
+ updatedAt: z.ZodString;
1104
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1105
+ id: z.ZodUUID;
1106
+ role: z.ZodEnum<{
1107
+ user: "user";
1108
+ assistant: "assistant";
1109
+ system: "system";
1110
+ }>;
1111
+ content: z.ZodString;
1112
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
1113
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
1114
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1115
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
1116
+ positive: "positive";
1117
+ neutral: "neutral";
1118
+ negative: "negative";
1119
+ }>, z.ZodNull]>;
1120
+ createdAt: z.ZodString;
1121
+ }, z.core.$strip>>>;
1122
+ }, z.core.$strip>;
1123
+ export declare const zInterviewInvitationsControllerArchiveData: z.ZodObject<{
1124
+ body: z.ZodOptional<z.ZodNever>;
1125
+ path: z.ZodObject<{
1126
+ invitationId: z.ZodUUID;
1127
+ }, z.core.$strip>;
1128
+ query: z.ZodOptional<z.ZodNever>;
1129
+ }, z.core.$strip>;
1130
+ /**
1131
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1132
+ */
1133
+ export declare const zInterviewInvitationsControllerArchiveResponse: z.ZodObject<{
1134
+ id: z.ZodUUID;
1135
+ interviewId: z.ZodUUID;
1136
+ slug: z.ZodString;
1137
+ status: z.ZodEnum<{
1138
+ completed: "completed";
1139
+ cancelled: "cancelled";
1140
+ ready: "ready";
1141
+ in_progress: "in_progress";
1142
+ }>;
1143
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1144
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1145
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1146
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1147
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1148
+ createdAt: z.ZodString;
1149
+ updatedAt: z.ZodString;
1150
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1151
+ id: z.ZodUUID;
1152
+ role: z.ZodEnum<{
1153
+ user: "user";
1154
+ assistant: "assistant";
1155
+ system: "system";
1156
+ }>;
1157
+ content: z.ZodString;
1158
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
1159
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
1160
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1161
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
1162
+ positive: "positive";
1163
+ neutral: "neutral";
1164
+ negative: "negative";
1165
+ }>, z.ZodNull]>;
1166
+ createdAt: z.ZodString;
1167
+ }, z.core.$strip>>>;
1168
+ }, z.core.$strip>;
1169
+ export declare const zInterviewInvitationsControllerRestoreData: z.ZodObject<{
1170
+ body: z.ZodOptional<z.ZodNever>;
1171
+ path: z.ZodObject<{
1172
+ invitationId: z.ZodUUID;
1173
+ }, z.core.$strip>;
1174
+ query: z.ZodOptional<z.ZodNever>;
1175
+ }, z.core.$strip>;
1176
+ /**
1177
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1178
+ */
1179
+ export declare const zInterviewInvitationsControllerRestoreResponse: z.ZodObject<{
1180
+ id: z.ZodUUID;
1181
+ interviewId: z.ZodUUID;
1182
+ slug: z.ZodString;
1183
+ status: z.ZodEnum<{
1184
+ completed: "completed";
1185
+ cancelled: "cancelled";
1186
+ ready: "ready";
1187
+ in_progress: "in_progress";
1188
+ }>;
1189
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1190
+ recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1191
+ recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1192
+ summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1193
+ archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1194
+ createdAt: z.ZodString;
1195
+ updatedAt: z.ZodString;
1196
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1197
+ id: z.ZodUUID;
1198
+ role: z.ZodEnum<{
1199
+ user: "user";
1200
+ assistant: "assistant";
1201
+ system: "system";
1202
+ }>;
1203
+ content: z.ZodString;
1204
+ audioAssetId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
1205
+ audioDurationMs: z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>;
1206
+ audioPeaks: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1207
+ sentiment: z.ZodUnion<readonly [z.ZodEnum<{
1208
+ positive: "positive";
1209
+ neutral: "neutral";
1210
+ negative: "negative";
1211
+ }>, z.ZodNull]>;
1212
+ createdAt: z.ZodString;
1213
+ }, z.core.$strip>>>;
1214
+ }, z.core.$strip>;
1215
+ export declare const zInterviewInvitationsControllerGetLogsData: z.ZodObject<{
1216
+ body: z.ZodOptional<z.ZodNever>;
1217
+ path: z.ZodObject<{
1218
+ invitationId: z.ZodUUID;
1219
+ }, z.core.$strip>;
1220
+ query: z.ZodOptional<z.ZodNever>;
1221
+ }, z.core.$strip>;
1222
+ /**
1223
+ * Chronological history of events on an interview, most recent first.
1224
+ */
1225
+ export declare const zInterviewInvitationsControllerGetLogsResponse: z.ZodArray<z.ZodObject<{
1226
+ id: z.ZodUUID;
1227
+ type: z.ZodEnum<{
1228
+ email_sent: "email_sent";
1229
+ sms_sent: "sms_sent";
1230
+ started: "started";
1231
+ completed: "completed";
1232
+ cancelled: "cancelled";
1233
+ reactivated: "reactivated";
1234
+ archived: "archived";
1235
+ restored: "restored";
1236
+ }>;
1237
+ target: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1238
+ invitationId: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
1239
+ createdAt: z.ZodString;
1240
+ }, z.core.$strip>>;
1241
+ export declare const zInterviewInvitationsControllerGetMessageAudioUrlData: z.ZodObject<{
1242
+ body: z.ZodOptional<z.ZodNever>;
1243
+ path: z.ZodObject<{
1244
+ messageId: z.ZodUUID;
1245
+ invitationId: z.ZodUUID;
1246
+ }, z.core.$strip>;
1247
+ query: z.ZodOptional<z.ZodNever>;
1248
+ }, z.core.$strip>;
1249
+ /**
1250
+ * Short-lived presigned URL for the audio attached to an interview message.
1251
+ */
1252
+ export declare const zInterviewInvitationsControllerGetMessageAudioUrlResponse: z.ZodObject<{
1253
+ url: z.ZodURL;
1254
+ expiresAt: z.ZodString;
1255
+ mimeType: z.ZodString;
1256
+ }, z.core.$strip>;
1257
+ export declare const zVoicesControllerListData: z.ZodObject<{
1258
+ body: z.ZodOptional<z.ZodNever>;
1259
+ path: z.ZodOptional<z.ZodNever>;
1260
+ query: z.ZodOptional<z.ZodObject<{
1261
+ language: z.ZodOptional<z.ZodString>;
1262
+ }, z.core.$strip>>;
1263
+ }, z.core.$strip>;
1264
+ /**
1265
+ * List of voices matching the requested language filter.
1266
+ */
1267
+ export declare const zVoicesControllerListResponse: z.ZodArray<z.ZodObject<{
1268
+ id: z.ZodUUID;
1269
+ name: z.ZodString;
1270
+ language: z.ZodString;
1271
+ gender: z.ZodEnum<{
1272
+ M: "M";
1273
+ F: "F";
1274
+ }>;
1275
+ provider: z.ZodEnum<{
1276
+ gradium: "gradium";
1277
+ elevenlabs: "elevenlabs";
1278
+ }>;
1279
+ }, z.core.$strip>>;
1280
+ export declare const zVoicesControllerGetTestAudioUrlData: z.ZodObject<{
1281
+ body: z.ZodOptional<z.ZodNever>;
1282
+ path: z.ZodObject<{
1283
+ id: z.ZodUUID;
1284
+ }, z.core.$strip>;
1285
+ query: z.ZodOptional<z.ZodNever>;
1286
+ }, z.core.$strip>;
1287
+ /**
1288
+ * Short-lived presigned URL for the voice preview audio. Generated on first request if missing.
1289
+ */
1290
+ export declare const zVoicesControllerGetTestAudioUrlResponse: z.ZodObject<{
1291
+ url: z.ZodURL;
1292
+ expiresAt: z.ZodString;
1293
+ mimeType: z.ZodString;
1294
+ }, z.core.$strip>;