@botozap/mcp 0.1.0 → 0.2.1

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 (44) hide show
  1. package/README.md +111 -43
  2. package/dist/event-bus.d.ts +14 -0
  3. package/dist/event-bus.js +128 -0
  4. package/dist/event-bus.js.map +1 -0
  5. package/dist/http.d.ts +31 -0
  6. package/dist/http.js +280 -0
  7. package/dist/http.js.map +1 -0
  8. package/dist/index.js +47 -4
  9. package/dist/index.js.map +1 -1
  10. package/dist/register.d.ts +18 -4
  11. package/dist/register.js +82 -17
  12. package/dist/register.js.map +1 -1
  13. package/dist/resources/events.d.ts +12 -0
  14. package/dist/resources/events.js +192 -0
  15. package/dist/resources/events.js.map +1 -0
  16. package/dist/schemas.d.ts +4405 -0
  17. package/dist/schemas.js +332 -0
  18. package/dist/schemas.js.map +1 -0
  19. package/dist/server.d.ts +7 -0
  20. package/dist/server.js +13 -2
  21. package/dist/server.js.map +1 -1
  22. package/dist/tools/contacts.d.ts +1 -1
  23. package/dist/tools/contacts.js +8 -6
  24. package/dist/tools/contacts.js.map +1 -1
  25. package/dist/tools/conversations.js +17 -3
  26. package/dist/tools/conversations.js.map +1 -1
  27. package/dist/tools/customers.d.ts +1 -1
  28. package/dist/tools/customers.js +11 -9
  29. package/dist/tools/customers.js.map +1 -1
  30. package/dist/tools/media.d.ts +94 -0
  31. package/dist/tools/media.js +90 -2
  32. package/dist/tools/media.js.map +1 -1
  33. package/dist/tools/messages.js +5 -4
  34. package/dist/tools/messages.js.map +1 -1
  35. package/dist/tools/misc.js +3 -2
  36. package/dist/tools/misc.js.map +1 -1
  37. package/dist/tools/phone-numbers.js +4 -3
  38. package/dist/tools/phone-numbers.js.map +1 -1
  39. package/dist/tools/templates.js +4 -3
  40. package/dist/tools/templates.js.map +1 -1
  41. package/dist/tools/webhooks.d.ts +1 -1
  42. package/dist/tools/webhooks.js +10 -8
  43. package/dist/tools/webhooks.js.map +1 -1
  44. package/package.json +4 -2
@@ -0,0 +1,4405 @@
1
+ /** Schemas de saída compartilhados pelas tools MCP estruturadas. */
2
+ import { z, type AnyZodObject } from "zod";
3
+ /** UUID interno persistido pelo BotoZap (não é um identificador da Meta). */
4
+ export declare const internalUuidSchema: z.ZodString;
5
+ /** UUID interno de um Número no BotoZap. */
6
+ export declare const internalPhoneNumberIdSchema: z.ZodString;
7
+ /** Identificador do Número atribuído pela Graph API da Meta. */
8
+ export declare const metaPhoneNumberIdSchema: z.ZodString;
9
+ export declare const structuredErrorSchema: z.ZodObject<{
10
+ code: z.ZodString;
11
+ message: z.ZodString;
12
+ status: z.ZodNumber;
13
+ }, "strict", z.ZodTypeAny, {
14
+ status: number;
15
+ code: string;
16
+ message: string;
17
+ }, {
18
+ status: number;
19
+ code: string;
20
+ message: string;
21
+ }>;
22
+ export type StructuredError = {
23
+ error: z.infer<typeof structuredErrorSchema>;
24
+ };
25
+ export declare function structuredError(code: string, message: string, status: number): StructuredError;
26
+ /**
27
+ * O SDK MCP 1.29 só anuncia schemas ZodObject na raiz e o Client dessa versão
28
+ * também valida structuredContent presente em resultados isError. Portanto a
29
+ * forma anunciada mantém os campos de sucesso opcionais e acrescenta o erro;
30
+ * o schema forte de sucesso continua sendo validado pelo register antes da
31
+ * resposta. Isso evita ZodUnion/ZodEffects na raiz (que virariam schema vazio).
32
+ */
33
+ export declare function compatibleOutputSchema(successSchema: AnyZodObject): AnyZodObject;
34
+ type JsonPrimitive = string | number | boolean | null;
35
+ type JsonValue = JsonPrimitive | JsonValue[] | {
36
+ [key: string]: JsonValue;
37
+ };
38
+ export declare const jsonValueSchema: z.ZodType<JsonValue>;
39
+ export declare const cursorPagingSchema: z.ZodObject<{
40
+ cursors: z.ZodObject<{
41
+ before: z.ZodNullable<z.ZodString>;
42
+ after: z.ZodNullable<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ after: string | null;
45
+ before: string | null;
46
+ }, {
47
+ after: string | null;
48
+ before: string | null;
49
+ }>;
50
+ next: z.ZodNullable<z.ZodString>;
51
+ previous: z.ZodNullable<z.ZodString>;
52
+ }, "strict", z.ZodTypeAny, {
53
+ cursors: {
54
+ after: string | null;
55
+ before: string | null;
56
+ };
57
+ next: string | null;
58
+ previous: string | null;
59
+ }, {
60
+ cursors: {
61
+ after: string | null;
62
+ before: string | null;
63
+ };
64
+ next: string | null;
65
+ previous: string | null;
66
+ }>;
67
+ export declare const offsetMetaSchema: z.ZodObject<{
68
+ page: z.ZodNumber;
69
+ per_page: z.ZodNumber;
70
+ total_pages: z.ZodNumber;
71
+ total_count: z.ZodNumber;
72
+ }, "strict", z.ZodTypeAny, {
73
+ page: number;
74
+ per_page: number;
75
+ total_pages: number;
76
+ total_count: number;
77
+ }, {
78
+ page: number;
79
+ per_page: number;
80
+ total_pages: number;
81
+ total_count: number;
82
+ }>;
83
+ export declare const sendMessageResultSchema: z.ZodObject<{
84
+ id: z.ZodNullable<z.ZodString>;
85
+ wamid: z.ZodString;
86
+ to: z.ZodString;
87
+ sent_to: z.ZodOptional<z.ZodString>;
88
+ status: z.ZodString;
89
+ sandbox: z.ZodOptional<z.ZodBoolean>;
90
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
91
+ id: z.ZodNullable<z.ZodString>;
92
+ wamid: z.ZodString;
93
+ to: z.ZodString;
94
+ sent_to: z.ZodOptional<z.ZodString>;
95
+ status: z.ZodString;
96
+ sandbox: z.ZodOptional<z.ZodBoolean>;
97
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
98
+ id: z.ZodNullable<z.ZodString>;
99
+ wamid: z.ZodString;
100
+ to: z.ZodString;
101
+ sent_to: z.ZodOptional<z.ZodString>;
102
+ status: z.ZodString;
103
+ sandbox: z.ZodOptional<z.ZodBoolean>;
104
+ }, z.ZodTypeAny, "passthrough">>;
105
+ export declare const messageSchema: z.ZodObject<{
106
+ id: z.ZodString;
107
+ wamid: z.ZodNullable<z.ZodString>;
108
+ conversation_id: z.ZodNullable<z.ZodString>;
109
+ phone_number_id: z.ZodString;
110
+ contact_id: z.ZodNullable<z.ZodString>;
111
+ direction: z.ZodEnum<["inbound", "outbound"]>;
112
+ type: z.ZodString;
113
+ status: z.ZodString;
114
+ source: z.ZodString;
115
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
116
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
117
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
118
+ has_media: z.ZodBoolean;
119
+ revoked_at: z.ZodNullable<z.ZodString>;
120
+ event_at: z.ZodNullable<z.ZodString>;
121
+ wa_timestamp: z.ZodNullable<z.ZodString>;
122
+ created_at: z.ZodString;
123
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
124
+ id: z.ZodString;
125
+ wamid: z.ZodNullable<z.ZodString>;
126
+ conversation_id: z.ZodNullable<z.ZodString>;
127
+ phone_number_id: z.ZodString;
128
+ contact_id: z.ZodNullable<z.ZodString>;
129
+ direction: z.ZodEnum<["inbound", "outbound"]>;
130
+ type: z.ZodString;
131
+ status: z.ZodString;
132
+ source: z.ZodString;
133
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
134
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
135
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
136
+ has_media: z.ZodBoolean;
137
+ revoked_at: z.ZodNullable<z.ZodString>;
138
+ event_at: z.ZodNullable<z.ZodString>;
139
+ wa_timestamp: z.ZodNullable<z.ZodString>;
140
+ created_at: z.ZodString;
141
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
142
+ id: z.ZodString;
143
+ wamid: z.ZodNullable<z.ZodString>;
144
+ conversation_id: z.ZodNullable<z.ZodString>;
145
+ phone_number_id: z.ZodString;
146
+ contact_id: z.ZodNullable<z.ZodString>;
147
+ direction: z.ZodEnum<["inbound", "outbound"]>;
148
+ type: z.ZodString;
149
+ status: z.ZodString;
150
+ source: z.ZodString;
151
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
152
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
153
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
154
+ has_media: z.ZodBoolean;
155
+ revoked_at: z.ZodNullable<z.ZodString>;
156
+ event_at: z.ZodNullable<z.ZodString>;
157
+ wa_timestamp: z.ZodNullable<z.ZodString>;
158
+ created_at: z.ZodString;
159
+ }, z.ZodTypeAny, "passthrough">>;
160
+ export declare const listMessagesResultSchema: z.ZodObject<{
161
+ data: z.ZodArray<z.ZodObject<{
162
+ id: z.ZodString;
163
+ wamid: z.ZodNullable<z.ZodString>;
164
+ conversation_id: z.ZodNullable<z.ZodString>;
165
+ phone_number_id: z.ZodString;
166
+ contact_id: z.ZodNullable<z.ZodString>;
167
+ direction: z.ZodEnum<["inbound", "outbound"]>;
168
+ type: z.ZodString;
169
+ status: z.ZodString;
170
+ source: z.ZodString;
171
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
172
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
173
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
174
+ has_media: z.ZodBoolean;
175
+ revoked_at: z.ZodNullable<z.ZodString>;
176
+ event_at: z.ZodNullable<z.ZodString>;
177
+ wa_timestamp: z.ZodNullable<z.ZodString>;
178
+ created_at: z.ZodString;
179
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
180
+ id: z.ZodString;
181
+ wamid: z.ZodNullable<z.ZodString>;
182
+ conversation_id: z.ZodNullable<z.ZodString>;
183
+ phone_number_id: z.ZodString;
184
+ contact_id: z.ZodNullable<z.ZodString>;
185
+ direction: z.ZodEnum<["inbound", "outbound"]>;
186
+ type: z.ZodString;
187
+ status: z.ZodString;
188
+ source: z.ZodString;
189
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
190
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
191
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
192
+ has_media: z.ZodBoolean;
193
+ revoked_at: z.ZodNullable<z.ZodString>;
194
+ event_at: z.ZodNullable<z.ZodString>;
195
+ wa_timestamp: z.ZodNullable<z.ZodString>;
196
+ created_at: z.ZodString;
197
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
198
+ id: z.ZodString;
199
+ wamid: z.ZodNullable<z.ZodString>;
200
+ conversation_id: z.ZodNullable<z.ZodString>;
201
+ phone_number_id: z.ZodString;
202
+ contact_id: z.ZodNullable<z.ZodString>;
203
+ direction: z.ZodEnum<["inbound", "outbound"]>;
204
+ type: z.ZodString;
205
+ status: z.ZodString;
206
+ source: z.ZodString;
207
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
208
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
209
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
210
+ has_media: z.ZodBoolean;
211
+ revoked_at: z.ZodNullable<z.ZodString>;
212
+ event_at: z.ZodNullable<z.ZodString>;
213
+ wa_timestamp: z.ZodNullable<z.ZodString>;
214
+ created_at: z.ZodString;
215
+ }, z.ZodTypeAny, "passthrough">>, "many">;
216
+ paging: z.ZodObject<{
217
+ cursors: z.ZodObject<{
218
+ before: z.ZodNullable<z.ZodString>;
219
+ after: z.ZodNullable<z.ZodString>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ after: string | null;
222
+ before: string | null;
223
+ }, {
224
+ after: string | null;
225
+ before: string | null;
226
+ }>;
227
+ next: z.ZodNullable<z.ZodString>;
228
+ previous: z.ZodNullable<z.ZodString>;
229
+ }, "strict", z.ZodTypeAny, {
230
+ cursors: {
231
+ after: string | null;
232
+ before: string | null;
233
+ };
234
+ next: string | null;
235
+ previous: string | null;
236
+ }, {
237
+ cursors: {
238
+ after: string | null;
239
+ before: string | null;
240
+ };
241
+ next: string | null;
242
+ previous: string | null;
243
+ }>;
244
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
245
+ data: z.ZodArray<z.ZodObject<{
246
+ id: z.ZodString;
247
+ wamid: z.ZodNullable<z.ZodString>;
248
+ conversation_id: z.ZodNullable<z.ZodString>;
249
+ phone_number_id: z.ZodString;
250
+ contact_id: z.ZodNullable<z.ZodString>;
251
+ direction: z.ZodEnum<["inbound", "outbound"]>;
252
+ type: z.ZodString;
253
+ status: z.ZodString;
254
+ source: z.ZodString;
255
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
256
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
257
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
258
+ has_media: z.ZodBoolean;
259
+ revoked_at: z.ZodNullable<z.ZodString>;
260
+ event_at: z.ZodNullable<z.ZodString>;
261
+ wa_timestamp: z.ZodNullable<z.ZodString>;
262
+ created_at: z.ZodString;
263
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
264
+ id: z.ZodString;
265
+ wamid: z.ZodNullable<z.ZodString>;
266
+ conversation_id: z.ZodNullable<z.ZodString>;
267
+ phone_number_id: z.ZodString;
268
+ contact_id: z.ZodNullable<z.ZodString>;
269
+ direction: z.ZodEnum<["inbound", "outbound"]>;
270
+ type: z.ZodString;
271
+ status: z.ZodString;
272
+ source: z.ZodString;
273
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
274
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
275
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
276
+ has_media: z.ZodBoolean;
277
+ revoked_at: z.ZodNullable<z.ZodString>;
278
+ event_at: z.ZodNullable<z.ZodString>;
279
+ wa_timestamp: z.ZodNullable<z.ZodString>;
280
+ created_at: z.ZodString;
281
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
282
+ id: z.ZodString;
283
+ wamid: z.ZodNullable<z.ZodString>;
284
+ conversation_id: z.ZodNullable<z.ZodString>;
285
+ phone_number_id: z.ZodString;
286
+ contact_id: z.ZodNullable<z.ZodString>;
287
+ direction: z.ZodEnum<["inbound", "outbound"]>;
288
+ type: z.ZodString;
289
+ status: z.ZodString;
290
+ source: z.ZodString;
291
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
292
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
293
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
294
+ has_media: z.ZodBoolean;
295
+ revoked_at: z.ZodNullable<z.ZodString>;
296
+ event_at: z.ZodNullable<z.ZodString>;
297
+ wa_timestamp: z.ZodNullable<z.ZodString>;
298
+ created_at: z.ZodString;
299
+ }, z.ZodTypeAny, "passthrough">>, "many">;
300
+ paging: z.ZodObject<{
301
+ cursors: z.ZodObject<{
302
+ before: z.ZodNullable<z.ZodString>;
303
+ after: z.ZodNullable<z.ZodString>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ after: string | null;
306
+ before: string | null;
307
+ }, {
308
+ after: string | null;
309
+ before: string | null;
310
+ }>;
311
+ next: z.ZodNullable<z.ZodString>;
312
+ previous: z.ZodNullable<z.ZodString>;
313
+ }, "strict", z.ZodTypeAny, {
314
+ cursors: {
315
+ after: string | null;
316
+ before: string | null;
317
+ };
318
+ next: string | null;
319
+ previous: string | null;
320
+ }, {
321
+ cursors: {
322
+ after: string | null;
323
+ before: string | null;
324
+ };
325
+ next: string | null;
326
+ previous: string | null;
327
+ }>;
328
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
329
+ data: z.ZodArray<z.ZodObject<{
330
+ id: z.ZodString;
331
+ wamid: z.ZodNullable<z.ZodString>;
332
+ conversation_id: z.ZodNullable<z.ZodString>;
333
+ phone_number_id: z.ZodString;
334
+ contact_id: z.ZodNullable<z.ZodString>;
335
+ direction: z.ZodEnum<["inbound", "outbound"]>;
336
+ type: z.ZodString;
337
+ status: z.ZodString;
338
+ source: z.ZodString;
339
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
340
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
341
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
342
+ has_media: z.ZodBoolean;
343
+ revoked_at: z.ZodNullable<z.ZodString>;
344
+ event_at: z.ZodNullable<z.ZodString>;
345
+ wa_timestamp: z.ZodNullable<z.ZodString>;
346
+ created_at: z.ZodString;
347
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
348
+ id: z.ZodString;
349
+ wamid: z.ZodNullable<z.ZodString>;
350
+ conversation_id: z.ZodNullable<z.ZodString>;
351
+ phone_number_id: z.ZodString;
352
+ contact_id: z.ZodNullable<z.ZodString>;
353
+ direction: z.ZodEnum<["inbound", "outbound"]>;
354
+ type: z.ZodString;
355
+ status: z.ZodString;
356
+ source: z.ZodString;
357
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
358
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
359
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
360
+ has_media: z.ZodBoolean;
361
+ revoked_at: z.ZodNullable<z.ZodString>;
362
+ event_at: z.ZodNullable<z.ZodString>;
363
+ wa_timestamp: z.ZodNullable<z.ZodString>;
364
+ created_at: z.ZodString;
365
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
366
+ id: z.ZodString;
367
+ wamid: z.ZodNullable<z.ZodString>;
368
+ conversation_id: z.ZodNullable<z.ZodString>;
369
+ phone_number_id: z.ZodString;
370
+ contact_id: z.ZodNullable<z.ZodString>;
371
+ direction: z.ZodEnum<["inbound", "outbound"]>;
372
+ type: z.ZodString;
373
+ status: z.ZodString;
374
+ source: z.ZodString;
375
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
376
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
377
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
378
+ has_media: z.ZodBoolean;
379
+ revoked_at: z.ZodNullable<z.ZodString>;
380
+ event_at: z.ZodNullable<z.ZodString>;
381
+ wa_timestamp: z.ZodNullable<z.ZodString>;
382
+ created_at: z.ZodString;
383
+ }, z.ZodTypeAny, "passthrough">>, "many">;
384
+ paging: z.ZodObject<{
385
+ cursors: z.ZodObject<{
386
+ before: z.ZodNullable<z.ZodString>;
387
+ after: z.ZodNullable<z.ZodString>;
388
+ }, "strip", z.ZodTypeAny, {
389
+ after: string | null;
390
+ before: string | null;
391
+ }, {
392
+ after: string | null;
393
+ before: string | null;
394
+ }>;
395
+ next: z.ZodNullable<z.ZodString>;
396
+ previous: z.ZodNullable<z.ZodString>;
397
+ }, "strict", z.ZodTypeAny, {
398
+ cursors: {
399
+ after: string | null;
400
+ before: string | null;
401
+ };
402
+ next: string | null;
403
+ previous: string | null;
404
+ }, {
405
+ cursors: {
406
+ after: string | null;
407
+ before: string | null;
408
+ };
409
+ next: string | null;
410
+ previous: string | null;
411
+ }>;
412
+ }, z.ZodTypeAny, "passthrough">>;
413
+ export declare const getMessageResultSchema: z.ZodObject<{
414
+ data: z.ZodObject<{
415
+ id: z.ZodString;
416
+ wamid: z.ZodNullable<z.ZodString>;
417
+ conversation_id: z.ZodNullable<z.ZodString>;
418
+ phone_number_id: z.ZodString;
419
+ contact_id: z.ZodNullable<z.ZodString>;
420
+ direction: z.ZodEnum<["inbound", "outbound"]>;
421
+ type: z.ZodString;
422
+ status: z.ZodString;
423
+ source: z.ZodString;
424
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
425
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
426
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
427
+ has_media: z.ZodBoolean;
428
+ revoked_at: z.ZodNullable<z.ZodString>;
429
+ event_at: z.ZodNullable<z.ZodString>;
430
+ wa_timestamp: z.ZodNullable<z.ZodString>;
431
+ created_at: z.ZodString;
432
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
433
+ id: z.ZodString;
434
+ wamid: z.ZodNullable<z.ZodString>;
435
+ conversation_id: z.ZodNullable<z.ZodString>;
436
+ phone_number_id: z.ZodString;
437
+ contact_id: z.ZodNullable<z.ZodString>;
438
+ direction: z.ZodEnum<["inbound", "outbound"]>;
439
+ type: z.ZodString;
440
+ status: z.ZodString;
441
+ source: z.ZodString;
442
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
443
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
444
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
445
+ has_media: z.ZodBoolean;
446
+ revoked_at: z.ZodNullable<z.ZodString>;
447
+ event_at: z.ZodNullable<z.ZodString>;
448
+ wa_timestamp: z.ZodNullable<z.ZodString>;
449
+ created_at: z.ZodString;
450
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
451
+ id: z.ZodString;
452
+ wamid: z.ZodNullable<z.ZodString>;
453
+ conversation_id: z.ZodNullable<z.ZodString>;
454
+ phone_number_id: z.ZodString;
455
+ contact_id: z.ZodNullable<z.ZodString>;
456
+ direction: z.ZodEnum<["inbound", "outbound"]>;
457
+ type: z.ZodString;
458
+ status: z.ZodString;
459
+ source: z.ZodString;
460
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
461
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
462
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
463
+ has_media: z.ZodBoolean;
464
+ revoked_at: z.ZodNullable<z.ZodString>;
465
+ event_at: z.ZodNullable<z.ZodString>;
466
+ wa_timestamp: z.ZodNullable<z.ZodString>;
467
+ created_at: z.ZodString;
468
+ }, z.ZodTypeAny, "passthrough">>;
469
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
470
+ data: z.ZodObject<{
471
+ id: z.ZodString;
472
+ wamid: z.ZodNullable<z.ZodString>;
473
+ conversation_id: z.ZodNullable<z.ZodString>;
474
+ phone_number_id: z.ZodString;
475
+ contact_id: z.ZodNullable<z.ZodString>;
476
+ direction: z.ZodEnum<["inbound", "outbound"]>;
477
+ type: z.ZodString;
478
+ status: z.ZodString;
479
+ source: z.ZodString;
480
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
481
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
482
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
483
+ has_media: z.ZodBoolean;
484
+ revoked_at: z.ZodNullable<z.ZodString>;
485
+ event_at: z.ZodNullable<z.ZodString>;
486
+ wa_timestamp: z.ZodNullable<z.ZodString>;
487
+ created_at: z.ZodString;
488
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
489
+ id: z.ZodString;
490
+ wamid: z.ZodNullable<z.ZodString>;
491
+ conversation_id: z.ZodNullable<z.ZodString>;
492
+ phone_number_id: z.ZodString;
493
+ contact_id: z.ZodNullable<z.ZodString>;
494
+ direction: z.ZodEnum<["inbound", "outbound"]>;
495
+ type: z.ZodString;
496
+ status: z.ZodString;
497
+ source: z.ZodString;
498
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
499
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
500
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
501
+ has_media: z.ZodBoolean;
502
+ revoked_at: z.ZodNullable<z.ZodString>;
503
+ event_at: z.ZodNullable<z.ZodString>;
504
+ wa_timestamp: z.ZodNullable<z.ZodString>;
505
+ created_at: z.ZodString;
506
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
507
+ id: z.ZodString;
508
+ wamid: z.ZodNullable<z.ZodString>;
509
+ conversation_id: z.ZodNullable<z.ZodString>;
510
+ phone_number_id: z.ZodString;
511
+ contact_id: z.ZodNullable<z.ZodString>;
512
+ direction: z.ZodEnum<["inbound", "outbound"]>;
513
+ type: z.ZodString;
514
+ status: z.ZodString;
515
+ source: z.ZodString;
516
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
517
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
518
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
519
+ has_media: z.ZodBoolean;
520
+ revoked_at: z.ZodNullable<z.ZodString>;
521
+ event_at: z.ZodNullable<z.ZodString>;
522
+ wa_timestamp: z.ZodNullable<z.ZodString>;
523
+ created_at: z.ZodString;
524
+ }, z.ZodTypeAny, "passthrough">>;
525
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
526
+ data: z.ZodObject<{
527
+ id: z.ZodString;
528
+ wamid: z.ZodNullable<z.ZodString>;
529
+ conversation_id: z.ZodNullable<z.ZodString>;
530
+ phone_number_id: z.ZodString;
531
+ contact_id: z.ZodNullable<z.ZodString>;
532
+ direction: z.ZodEnum<["inbound", "outbound"]>;
533
+ type: z.ZodString;
534
+ status: z.ZodString;
535
+ source: z.ZodString;
536
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
537
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
538
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
539
+ has_media: z.ZodBoolean;
540
+ revoked_at: z.ZodNullable<z.ZodString>;
541
+ event_at: z.ZodNullable<z.ZodString>;
542
+ wa_timestamp: z.ZodNullable<z.ZodString>;
543
+ created_at: z.ZodString;
544
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
545
+ id: z.ZodString;
546
+ wamid: z.ZodNullable<z.ZodString>;
547
+ conversation_id: z.ZodNullable<z.ZodString>;
548
+ phone_number_id: z.ZodString;
549
+ contact_id: z.ZodNullable<z.ZodString>;
550
+ direction: z.ZodEnum<["inbound", "outbound"]>;
551
+ type: z.ZodString;
552
+ status: z.ZodString;
553
+ source: z.ZodString;
554
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
555
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
556
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
557
+ has_media: z.ZodBoolean;
558
+ revoked_at: z.ZodNullable<z.ZodString>;
559
+ event_at: z.ZodNullable<z.ZodString>;
560
+ wa_timestamp: z.ZodNullable<z.ZodString>;
561
+ created_at: z.ZodString;
562
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
563
+ id: z.ZodString;
564
+ wamid: z.ZodNullable<z.ZodString>;
565
+ conversation_id: z.ZodNullable<z.ZodString>;
566
+ phone_number_id: z.ZodString;
567
+ contact_id: z.ZodNullable<z.ZodString>;
568
+ direction: z.ZodEnum<["inbound", "outbound"]>;
569
+ type: z.ZodString;
570
+ status: z.ZodString;
571
+ source: z.ZodString;
572
+ content: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
573
+ context: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
574
+ error: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
575
+ has_media: z.ZodBoolean;
576
+ revoked_at: z.ZodNullable<z.ZodString>;
577
+ event_at: z.ZodNullable<z.ZodString>;
578
+ wa_timestamp: z.ZodNullable<z.ZodString>;
579
+ created_at: z.ZodString;
580
+ }, z.ZodTypeAny, "passthrough">>;
581
+ }, z.ZodTypeAny, "passthrough">>;
582
+ export declare const contactSchema: z.ZodObject<{
583
+ id: z.ZodString;
584
+ wa_id: z.ZodString;
585
+ profile_name: z.ZodNullable<z.ZodString>;
586
+ phone: z.ZodNullable<z.ZodString>;
587
+ user_id: z.ZodNullable<z.ZodString>;
588
+ username: z.ZodNullable<z.ZodString>;
589
+ parent_user_id: z.ZodNullable<z.ZodString>;
590
+ phone_number_id: z.ZodString;
591
+ last_seen_at: z.ZodNullable<z.ZodString>;
592
+ created_at: z.ZodString;
593
+ notes: z.ZodNullable<z.ZodString>;
594
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
595
+ stage: z.ZodNullable<z.ZodObject<{
596
+ id: z.ZodString;
597
+ key: z.ZodString;
598
+ label: z.ZodString;
599
+ }, "strip", z.ZodTypeAny, {
600
+ id: string;
601
+ key: string;
602
+ label: string;
603
+ }, {
604
+ id: string;
605
+ key: string;
606
+ label: string;
607
+ }>>;
608
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
609
+ id: z.ZodString;
610
+ wa_id: z.ZodString;
611
+ profile_name: z.ZodNullable<z.ZodString>;
612
+ phone: z.ZodNullable<z.ZodString>;
613
+ user_id: z.ZodNullable<z.ZodString>;
614
+ username: z.ZodNullable<z.ZodString>;
615
+ parent_user_id: z.ZodNullable<z.ZodString>;
616
+ phone_number_id: z.ZodString;
617
+ last_seen_at: z.ZodNullable<z.ZodString>;
618
+ created_at: z.ZodString;
619
+ notes: z.ZodNullable<z.ZodString>;
620
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
621
+ stage: z.ZodNullable<z.ZodObject<{
622
+ id: z.ZodString;
623
+ key: z.ZodString;
624
+ label: z.ZodString;
625
+ }, "strip", z.ZodTypeAny, {
626
+ id: string;
627
+ key: string;
628
+ label: string;
629
+ }, {
630
+ id: string;
631
+ key: string;
632
+ label: string;
633
+ }>>;
634
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
635
+ id: z.ZodString;
636
+ wa_id: z.ZodString;
637
+ profile_name: z.ZodNullable<z.ZodString>;
638
+ phone: z.ZodNullable<z.ZodString>;
639
+ user_id: z.ZodNullable<z.ZodString>;
640
+ username: z.ZodNullable<z.ZodString>;
641
+ parent_user_id: z.ZodNullable<z.ZodString>;
642
+ phone_number_id: z.ZodString;
643
+ last_seen_at: z.ZodNullable<z.ZodString>;
644
+ created_at: z.ZodString;
645
+ notes: z.ZodNullable<z.ZodString>;
646
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
647
+ stage: z.ZodNullable<z.ZodObject<{
648
+ id: z.ZodString;
649
+ key: z.ZodString;
650
+ label: z.ZodString;
651
+ }, "strip", z.ZodTypeAny, {
652
+ id: string;
653
+ key: string;
654
+ label: string;
655
+ }, {
656
+ id: string;
657
+ key: string;
658
+ label: string;
659
+ }>>;
660
+ }, z.ZodTypeAny, "passthrough">>;
661
+ export declare const listContactsResultSchema: z.ZodObject<{
662
+ data: z.ZodArray<z.ZodObject<{
663
+ id: z.ZodString;
664
+ wa_id: z.ZodString;
665
+ profile_name: z.ZodNullable<z.ZodString>;
666
+ phone: z.ZodNullable<z.ZodString>;
667
+ user_id: z.ZodNullable<z.ZodString>;
668
+ username: z.ZodNullable<z.ZodString>;
669
+ parent_user_id: z.ZodNullable<z.ZodString>;
670
+ phone_number_id: z.ZodString;
671
+ last_seen_at: z.ZodNullable<z.ZodString>;
672
+ created_at: z.ZodString;
673
+ notes: z.ZodNullable<z.ZodString>;
674
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
675
+ stage: z.ZodNullable<z.ZodObject<{
676
+ id: z.ZodString;
677
+ key: z.ZodString;
678
+ label: z.ZodString;
679
+ }, "strip", z.ZodTypeAny, {
680
+ id: string;
681
+ key: string;
682
+ label: string;
683
+ }, {
684
+ id: string;
685
+ key: string;
686
+ label: string;
687
+ }>>;
688
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
689
+ id: z.ZodString;
690
+ wa_id: z.ZodString;
691
+ profile_name: z.ZodNullable<z.ZodString>;
692
+ phone: z.ZodNullable<z.ZodString>;
693
+ user_id: z.ZodNullable<z.ZodString>;
694
+ username: z.ZodNullable<z.ZodString>;
695
+ parent_user_id: z.ZodNullable<z.ZodString>;
696
+ phone_number_id: z.ZodString;
697
+ last_seen_at: z.ZodNullable<z.ZodString>;
698
+ created_at: z.ZodString;
699
+ notes: z.ZodNullable<z.ZodString>;
700
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
701
+ stage: z.ZodNullable<z.ZodObject<{
702
+ id: z.ZodString;
703
+ key: z.ZodString;
704
+ label: z.ZodString;
705
+ }, "strip", z.ZodTypeAny, {
706
+ id: string;
707
+ key: string;
708
+ label: string;
709
+ }, {
710
+ id: string;
711
+ key: string;
712
+ label: string;
713
+ }>>;
714
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
715
+ id: z.ZodString;
716
+ wa_id: z.ZodString;
717
+ profile_name: z.ZodNullable<z.ZodString>;
718
+ phone: z.ZodNullable<z.ZodString>;
719
+ user_id: z.ZodNullable<z.ZodString>;
720
+ username: z.ZodNullable<z.ZodString>;
721
+ parent_user_id: z.ZodNullable<z.ZodString>;
722
+ phone_number_id: z.ZodString;
723
+ last_seen_at: z.ZodNullable<z.ZodString>;
724
+ created_at: z.ZodString;
725
+ notes: z.ZodNullable<z.ZodString>;
726
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
727
+ stage: z.ZodNullable<z.ZodObject<{
728
+ id: z.ZodString;
729
+ key: z.ZodString;
730
+ label: z.ZodString;
731
+ }, "strip", z.ZodTypeAny, {
732
+ id: string;
733
+ key: string;
734
+ label: string;
735
+ }, {
736
+ id: string;
737
+ key: string;
738
+ label: string;
739
+ }>>;
740
+ }, z.ZodTypeAny, "passthrough">>, "many">;
741
+ paging: z.ZodObject<{
742
+ cursors: z.ZodObject<{
743
+ before: z.ZodNullable<z.ZodString>;
744
+ after: z.ZodNullable<z.ZodString>;
745
+ }, "strip", z.ZodTypeAny, {
746
+ after: string | null;
747
+ before: string | null;
748
+ }, {
749
+ after: string | null;
750
+ before: string | null;
751
+ }>;
752
+ next: z.ZodNullable<z.ZodString>;
753
+ previous: z.ZodNullable<z.ZodString>;
754
+ }, "strict", z.ZodTypeAny, {
755
+ cursors: {
756
+ after: string | null;
757
+ before: string | null;
758
+ };
759
+ next: string | null;
760
+ previous: string | null;
761
+ }, {
762
+ cursors: {
763
+ after: string | null;
764
+ before: string | null;
765
+ };
766
+ next: string | null;
767
+ previous: string | null;
768
+ }>;
769
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
770
+ data: z.ZodArray<z.ZodObject<{
771
+ id: z.ZodString;
772
+ wa_id: z.ZodString;
773
+ profile_name: z.ZodNullable<z.ZodString>;
774
+ phone: z.ZodNullable<z.ZodString>;
775
+ user_id: z.ZodNullable<z.ZodString>;
776
+ username: z.ZodNullable<z.ZodString>;
777
+ parent_user_id: z.ZodNullable<z.ZodString>;
778
+ phone_number_id: z.ZodString;
779
+ last_seen_at: z.ZodNullable<z.ZodString>;
780
+ created_at: z.ZodString;
781
+ notes: z.ZodNullable<z.ZodString>;
782
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
783
+ stage: z.ZodNullable<z.ZodObject<{
784
+ id: z.ZodString;
785
+ key: z.ZodString;
786
+ label: z.ZodString;
787
+ }, "strip", z.ZodTypeAny, {
788
+ id: string;
789
+ key: string;
790
+ label: string;
791
+ }, {
792
+ id: string;
793
+ key: string;
794
+ label: string;
795
+ }>>;
796
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
797
+ id: z.ZodString;
798
+ wa_id: z.ZodString;
799
+ profile_name: z.ZodNullable<z.ZodString>;
800
+ phone: z.ZodNullable<z.ZodString>;
801
+ user_id: z.ZodNullable<z.ZodString>;
802
+ username: z.ZodNullable<z.ZodString>;
803
+ parent_user_id: z.ZodNullable<z.ZodString>;
804
+ phone_number_id: z.ZodString;
805
+ last_seen_at: z.ZodNullable<z.ZodString>;
806
+ created_at: z.ZodString;
807
+ notes: z.ZodNullable<z.ZodString>;
808
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
809
+ stage: z.ZodNullable<z.ZodObject<{
810
+ id: z.ZodString;
811
+ key: z.ZodString;
812
+ label: z.ZodString;
813
+ }, "strip", z.ZodTypeAny, {
814
+ id: string;
815
+ key: string;
816
+ label: string;
817
+ }, {
818
+ id: string;
819
+ key: string;
820
+ label: string;
821
+ }>>;
822
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
823
+ id: z.ZodString;
824
+ wa_id: z.ZodString;
825
+ profile_name: z.ZodNullable<z.ZodString>;
826
+ phone: z.ZodNullable<z.ZodString>;
827
+ user_id: z.ZodNullable<z.ZodString>;
828
+ username: z.ZodNullable<z.ZodString>;
829
+ parent_user_id: z.ZodNullable<z.ZodString>;
830
+ phone_number_id: z.ZodString;
831
+ last_seen_at: z.ZodNullable<z.ZodString>;
832
+ created_at: z.ZodString;
833
+ notes: z.ZodNullable<z.ZodString>;
834
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
835
+ stage: z.ZodNullable<z.ZodObject<{
836
+ id: z.ZodString;
837
+ key: z.ZodString;
838
+ label: z.ZodString;
839
+ }, "strip", z.ZodTypeAny, {
840
+ id: string;
841
+ key: string;
842
+ label: string;
843
+ }, {
844
+ id: string;
845
+ key: string;
846
+ label: string;
847
+ }>>;
848
+ }, z.ZodTypeAny, "passthrough">>, "many">;
849
+ paging: z.ZodObject<{
850
+ cursors: z.ZodObject<{
851
+ before: z.ZodNullable<z.ZodString>;
852
+ after: z.ZodNullable<z.ZodString>;
853
+ }, "strip", z.ZodTypeAny, {
854
+ after: string | null;
855
+ before: string | null;
856
+ }, {
857
+ after: string | null;
858
+ before: string | null;
859
+ }>;
860
+ next: z.ZodNullable<z.ZodString>;
861
+ previous: z.ZodNullable<z.ZodString>;
862
+ }, "strict", z.ZodTypeAny, {
863
+ cursors: {
864
+ after: string | null;
865
+ before: string | null;
866
+ };
867
+ next: string | null;
868
+ previous: string | null;
869
+ }, {
870
+ cursors: {
871
+ after: string | null;
872
+ before: string | null;
873
+ };
874
+ next: string | null;
875
+ previous: string | null;
876
+ }>;
877
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
878
+ data: z.ZodArray<z.ZodObject<{
879
+ id: z.ZodString;
880
+ wa_id: z.ZodString;
881
+ profile_name: z.ZodNullable<z.ZodString>;
882
+ phone: z.ZodNullable<z.ZodString>;
883
+ user_id: z.ZodNullable<z.ZodString>;
884
+ username: z.ZodNullable<z.ZodString>;
885
+ parent_user_id: z.ZodNullable<z.ZodString>;
886
+ phone_number_id: z.ZodString;
887
+ last_seen_at: z.ZodNullable<z.ZodString>;
888
+ created_at: z.ZodString;
889
+ notes: z.ZodNullable<z.ZodString>;
890
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
891
+ stage: z.ZodNullable<z.ZodObject<{
892
+ id: z.ZodString;
893
+ key: z.ZodString;
894
+ label: z.ZodString;
895
+ }, "strip", z.ZodTypeAny, {
896
+ id: string;
897
+ key: string;
898
+ label: string;
899
+ }, {
900
+ id: string;
901
+ key: string;
902
+ label: string;
903
+ }>>;
904
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
905
+ id: z.ZodString;
906
+ wa_id: z.ZodString;
907
+ profile_name: z.ZodNullable<z.ZodString>;
908
+ phone: z.ZodNullable<z.ZodString>;
909
+ user_id: z.ZodNullable<z.ZodString>;
910
+ username: z.ZodNullable<z.ZodString>;
911
+ parent_user_id: z.ZodNullable<z.ZodString>;
912
+ phone_number_id: z.ZodString;
913
+ last_seen_at: z.ZodNullable<z.ZodString>;
914
+ created_at: z.ZodString;
915
+ notes: z.ZodNullable<z.ZodString>;
916
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
917
+ stage: z.ZodNullable<z.ZodObject<{
918
+ id: z.ZodString;
919
+ key: z.ZodString;
920
+ label: z.ZodString;
921
+ }, "strip", z.ZodTypeAny, {
922
+ id: string;
923
+ key: string;
924
+ label: string;
925
+ }, {
926
+ id: string;
927
+ key: string;
928
+ label: string;
929
+ }>>;
930
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
931
+ id: z.ZodString;
932
+ wa_id: z.ZodString;
933
+ profile_name: z.ZodNullable<z.ZodString>;
934
+ phone: z.ZodNullable<z.ZodString>;
935
+ user_id: z.ZodNullable<z.ZodString>;
936
+ username: z.ZodNullable<z.ZodString>;
937
+ parent_user_id: z.ZodNullable<z.ZodString>;
938
+ phone_number_id: z.ZodString;
939
+ last_seen_at: z.ZodNullable<z.ZodString>;
940
+ created_at: z.ZodString;
941
+ notes: z.ZodNullable<z.ZodString>;
942
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
943
+ stage: z.ZodNullable<z.ZodObject<{
944
+ id: z.ZodString;
945
+ key: z.ZodString;
946
+ label: z.ZodString;
947
+ }, "strip", z.ZodTypeAny, {
948
+ id: string;
949
+ key: string;
950
+ label: string;
951
+ }, {
952
+ id: string;
953
+ key: string;
954
+ label: string;
955
+ }>>;
956
+ }, z.ZodTypeAny, "passthrough">>, "many">;
957
+ paging: z.ZodObject<{
958
+ cursors: z.ZodObject<{
959
+ before: z.ZodNullable<z.ZodString>;
960
+ after: z.ZodNullable<z.ZodString>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ after: string | null;
963
+ before: string | null;
964
+ }, {
965
+ after: string | null;
966
+ before: string | null;
967
+ }>;
968
+ next: z.ZodNullable<z.ZodString>;
969
+ previous: z.ZodNullable<z.ZodString>;
970
+ }, "strict", z.ZodTypeAny, {
971
+ cursors: {
972
+ after: string | null;
973
+ before: string | null;
974
+ };
975
+ next: string | null;
976
+ previous: string | null;
977
+ }, {
978
+ cursors: {
979
+ after: string | null;
980
+ before: string | null;
981
+ };
982
+ next: string | null;
983
+ previous: string | null;
984
+ }>;
985
+ }, z.ZodTypeAny, "passthrough">>;
986
+ export declare const contactResultSchema: z.ZodObject<{
987
+ data: z.ZodObject<{
988
+ id: z.ZodString;
989
+ wa_id: z.ZodString;
990
+ profile_name: z.ZodNullable<z.ZodString>;
991
+ phone: z.ZodNullable<z.ZodString>;
992
+ user_id: z.ZodNullable<z.ZodString>;
993
+ username: z.ZodNullable<z.ZodString>;
994
+ parent_user_id: z.ZodNullable<z.ZodString>;
995
+ phone_number_id: z.ZodString;
996
+ last_seen_at: z.ZodNullable<z.ZodString>;
997
+ created_at: z.ZodString;
998
+ notes: z.ZodNullable<z.ZodString>;
999
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1000
+ stage: z.ZodNullable<z.ZodObject<{
1001
+ id: z.ZodString;
1002
+ key: z.ZodString;
1003
+ label: z.ZodString;
1004
+ }, "strip", z.ZodTypeAny, {
1005
+ id: string;
1006
+ key: string;
1007
+ label: string;
1008
+ }, {
1009
+ id: string;
1010
+ key: string;
1011
+ label: string;
1012
+ }>>;
1013
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1014
+ id: z.ZodString;
1015
+ wa_id: z.ZodString;
1016
+ profile_name: z.ZodNullable<z.ZodString>;
1017
+ phone: z.ZodNullable<z.ZodString>;
1018
+ user_id: z.ZodNullable<z.ZodString>;
1019
+ username: z.ZodNullable<z.ZodString>;
1020
+ parent_user_id: z.ZodNullable<z.ZodString>;
1021
+ phone_number_id: z.ZodString;
1022
+ last_seen_at: z.ZodNullable<z.ZodString>;
1023
+ created_at: z.ZodString;
1024
+ notes: z.ZodNullable<z.ZodString>;
1025
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1026
+ stage: z.ZodNullable<z.ZodObject<{
1027
+ id: z.ZodString;
1028
+ key: z.ZodString;
1029
+ label: z.ZodString;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ id: string;
1032
+ key: string;
1033
+ label: string;
1034
+ }, {
1035
+ id: string;
1036
+ key: string;
1037
+ label: string;
1038
+ }>>;
1039
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1040
+ id: z.ZodString;
1041
+ wa_id: z.ZodString;
1042
+ profile_name: z.ZodNullable<z.ZodString>;
1043
+ phone: z.ZodNullable<z.ZodString>;
1044
+ user_id: z.ZodNullable<z.ZodString>;
1045
+ username: z.ZodNullable<z.ZodString>;
1046
+ parent_user_id: z.ZodNullable<z.ZodString>;
1047
+ phone_number_id: z.ZodString;
1048
+ last_seen_at: z.ZodNullable<z.ZodString>;
1049
+ created_at: z.ZodString;
1050
+ notes: z.ZodNullable<z.ZodString>;
1051
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1052
+ stage: z.ZodNullable<z.ZodObject<{
1053
+ id: z.ZodString;
1054
+ key: z.ZodString;
1055
+ label: z.ZodString;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ id: string;
1058
+ key: string;
1059
+ label: string;
1060
+ }, {
1061
+ id: string;
1062
+ key: string;
1063
+ label: string;
1064
+ }>>;
1065
+ }, z.ZodTypeAny, "passthrough">>;
1066
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1067
+ data: z.ZodObject<{
1068
+ id: z.ZodString;
1069
+ wa_id: z.ZodString;
1070
+ profile_name: z.ZodNullable<z.ZodString>;
1071
+ phone: z.ZodNullable<z.ZodString>;
1072
+ user_id: z.ZodNullable<z.ZodString>;
1073
+ username: z.ZodNullable<z.ZodString>;
1074
+ parent_user_id: z.ZodNullable<z.ZodString>;
1075
+ phone_number_id: z.ZodString;
1076
+ last_seen_at: z.ZodNullable<z.ZodString>;
1077
+ created_at: z.ZodString;
1078
+ notes: z.ZodNullable<z.ZodString>;
1079
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1080
+ stage: z.ZodNullable<z.ZodObject<{
1081
+ id: z.ZodString;
1082
+ key: z.ZodString;
1083
+ label: z.ZodString;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ id: string;
1086
+ key: string;
1087
+ label: string;
1088
+ }, {
1089
+ id: string;
1090
+ key: string;
1091
+ label: string;
1092
+ }>>;
1093
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1094
+ id: z.ZodString;
1095
+ wa_id: z.ZodString;
1096
+ profile_name: z.ZodNullable<z.ZodString>;
1097
+ phone: z.ZodNullable<z.ZodString>;
1098
+ user_id: z.ZodNullable<z.ZodString>;
1099
+ username: z.ZodNullable<z.ZodString>;
1100
+ parent_user_id: z.ZodNullable<z.ZodString>;
1101
+ phone_number_id: z.ZodString;
1102
+ last_seen_at: z.ZodNullable<z.ZodString>;
1103
+ created_at: z.ZodString;
1104
+ notes: z.ZodNullable<z.ZodString>;
1105
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1106
+ stage: z.ZodNullable<z.ZodObject<{
1107
+ id: z.ZodString;
1108
+ key: z.ZodString;
1109
+ label: z.ZodString;
1110
+ }, "strip", z.ZodTypeAny, {
1111
+ id: string;
1112
+ key: string;
1113
+ label: string;
1114
+ }, {
1115
+ id: string;
1116
+ key: string;
1117
+ label: string;
1118
+ }>>;
1119
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1120
+ id: z.ZodString;
1121
+ wa_id: z.ZodString;
1122
+ profile_name: z.ZodNullable<z.ZodString>;
1123
+ phone: z.ZodNullable<z.ZodString>;
1124
+ user_id: z.ZodNullable<z.ZodString>;
1125
+ username: z.ZodNullable<z.ZodString>;
1126
+ parent_user_id: z.ZodNullable<z.ZodString>;
1127
+ phone_number_id: z.ZodString;
1128
+ last_seen_at: z.ZodNullable<z.ZodString>;
1129
+ created_at: z.ZodString;
1130
+ notes: z.ZodNullable<z.ZodString>;
1131
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1132
+ stage: z.ZodNullable<z.ZodObject<{
1133
+ id: z.ZodString;
1134
+ key: z.ZodString;
1135
+ label: z.ZodString;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ id: string;
1138
+ key: string;
1139
+ label: string;
1140
+ }, {
1141
+ id: string;
1142
+ key: string;
1143
+ label: string;
1144
+ }>>;
1145
+ }, z.ZodTypeAny, "passthrough">>;
1146
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1147
+ data: z.ZodObject<{
1148
+ id: z.ZodString;
1149
+ wa_id: z.ZodString;
1150
+ profile_name: z.ZodNullable<z.ZodString>;
1151
+ phone: z.ZodNullable<z.ZodString>;
1152
+ user_id: z.ZodNullable<z.ZodString>;
1153
+ username: z.ZodNullable<z.ZodString>;
1154
+ parent_user_id: z.ZodNullable<z.ZodString>;
1155
+ phone_number_id: z.ZodString;
1156
+ last_seen_at: z.ZodNullable<z.ZodString>;
1157
+ created_at: z.ZodString;
1158
+ notes: z.ZodNullable<z.ZodString>;
1159
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1160
+ stage: z.ZodNullable<z.ZodObject<{
1161
+ id: z.ZodString;
1162
+ key: z.ZodString;
1163
+ label: z.ZodString;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ id: string;
1166
+ key: string;
1167
+ label: string;
1168
+ }, {
1169
+ id: string;
1170
+ key: string;
1171
+ label: string;
1172
+ }>>;
1173
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1174
+ id: z.ZodString;
1175
+ wa_id: z.ZodString;
1176
+ profile_name: z.ZodNullable<z.ZodString>;
1177
+ phone: z.ZodNullable<z.ZodString>;
1178
+ user_id: z.ZodNullable<z.ZodString>;
1179
+ username: z.ZodNullable<z.ZodString>;
1180
+ parent_user_id: z.ZodNullable<z.ZodString>;
1181
+ phone_number_id: z.ZodString;
1182
+ last_seen_at: z.ZodNullable<z.ZodString>;
1183
+ created_at: z.ZodString;
1184
+ notes: z.ZodNullable<z.ZodString>;
1185
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1186
+ stage: z.ZodNullable<z.ZodObject<{
1187
+ id: z.ZodString;
1188
+ key: z.ZodString;
1189
+ label: z.ZodString;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ id: string;
1192
+ key: string;
1193
+ label: string;
1194
+ }, {
1195
+ id: string;
1196
+ key: string;
1197
+ label: string;
1198
+ }>>;
1199
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1200
+ id: z.ZodString;
1201
+ wa_id: z.ZodString;
1202
+ profile_name: z.ZodNullable<z.ZodString>;
1203
+ phone: z.ZodNullable<z.ZodString>;
1204
+ user_id: z.ZodNullable<z.ZodString>;
1205
+ username: z.ZodNullable<z.ZodString>;
1206
+ parent_user_id: z.ZodNullable<z.ZodString>;
1207
+ phone_number_id: z.ZodString;
1208
+ last_seen_at: z.ZodNullable<z.ZodString>;
1209
+ created_at: z.ZodString;
1210
+ notes: z.ZodNullable<z.ZodString>;
1211
+ metadata: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1212
+ stage: z.ZodNullable<z.ZodObject<{
1213
+ id: z.ZodString;
1214
+ key: z.ZodString;
1215
+ label: z.ZodString;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ id: string;
1218
+ key: string;
1219
+ label: string;
1220
+ }, {
1221
+ id: string;
1222
+ key: string;
1223
+ label: string;
1224
+ }>>;
1225
+ }, z.ZodTypeAny, "passthrough">>;
1226
+ }, z.ZodTypeAny, "passthrough">>;
1227
+ /** Resultado MCP explícito para APIs que concluíram com HTTP 204. */
1228
+ export declare const emptyOperationResultSchema: z.ZodObject<{
1229
+ success: z.ZodLiteral<true>;
1230
+ }, "strict", z.ZodTypeAny, {
1231
+ success: true;
1232
+ }, {
1233
+ success: true;
1234
+ }>;
1235
+ export declare const conversationSchema: z.ZodObject<{
1236
+ id: z.ZodString;
1237
+ phone_number_id: z.ZodString;
1238
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1239
+ display_phone_number: z.ZodNullable<z.ZodString>;
1240
+ contact_id: z.ZodString;
1241
+ contact: z.ZodObject<{
1242
+ name: z.ZodString;
1243
+ phone: z.ZodNullable<z.ZodString>;
1244
+ username: z.ZodNullable<z.ZodString>;
1245
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1246
+ }, "strict", z.ZodTypeAny, {
1247
+ name: string;
1248
+ phone: string | null;
1249
+ username: string | null;
1250
+ wa_id?: string | null | undefined;
1251
+ }, {
1252
+ name: string;
1253
+ phone: string | null;
1254
+ username: string | null;
1255
+ wa_id?: string | null | undefined;
1256
+ }>;
1257
+ status: z.ZodEnum<["active", "ended"]>;
1258
+ window_expires_at: z.ZodNullable<z.ZodString>;
1259
+ last_message_at: z.ZodNullable<z.ZodString>;
1260
+ last_read_at: z.ZodNullable<z.ZodString>;
1261
+ created_at: z.ZodString;
1262
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1263
+ id: z.ZodString;
1264
+ phone_number_id: z.ZodString;
1265
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1266
+ display_phone_number: z.ZodNullable<z.ZodString>;
1267
+ contact_id: z.ZodString;
1268
+ contact: z.ZodObject<{
1269
+ name: z.ZodString;
1270
+ phone: z.ZodNullable<z.ZodString>;
1271
+ username: z.ZodNullable<z.ZodString>;
1272
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1273
+ }, "strict", z.ZodTypeAny, {
1274
+ name: string;
1275
+ phone: string | null;
1276
+ username: string | null;
1277
+ wa_id?: string | null | undefined;
1278
+ }, {
1279
+ name: string;
1280
+ phone: string | null;
1281
+ username: string | null;
1282
+ wa_id?: string | null | undefined;
1283
+ }>;
1284
+ status: z.ZodEnum<["active", "ended"]>;
1285
+ window_expires_at: z.ZodNullable<z.ZodString>;
1286
+ last_message_at: z.ZodNullable<z.ZodString>;
1287
+ last_read_at: z.ZodNullable<z.ZodString>;
1288
+ created_at: z.ZodString;
1289
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1290
+ id: z.ZodString;
1291
+ phone_number_id: z.ZodString;
1292
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1293
+ display_phone_number: z.ZodNullable<z.ZodString>;
1294
+ contact_id: z.ZodString;
1295
+ contact: z.ZodObject<{
1296
+ name: z.ZodString;
1297
+ phone: z.ZodNullable<z.ZodString>;
1298
+ username: z.ZodNullable<z.ZodString>;
1299
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1300
+ }, "strict", z.ZodTypeAny, {
1301
+ name: string;
1302
+ phone: string | null;
1303
+ username: string | null;
1304
+ wa_id?: string | null | undefined;
1305
+ }, {
1306
+ name: string;
1307
+ phone: string | null;
1308
+ username: string | null;
1309
+ wa_id?: string | null | undefined;
1310
+ }>;
1311
+ status: z.ZodEnum<["active", "ended"]>;
1312
+ window_expires_at: z.ZodNullable<z.ZodString>;
1313
+ last_message_at: z.ZodNullable<z.ZodString>;
1314
+ last_read_at: z.ZodNullable<z.ZodString>;
1315
+ created_at: z.ZodString;
1316
+ }, z.ZodTypeAny, "passthrough">>;
1317
+ export declare const listConversationsResultSchema: z.ZodObject<{
1318
+ data: z.ZodArray<z.ZodObject<{
1319
+ id: z.ZodString;
1320
+ phone_number_id: z.ZodString;
1321
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1322
+ display_phone_number: z.ZodNullable<z.ZodString>;
1323
+ contact_id: z.ZodString;
1324
+ contact: z.ZodObject<{
1325
+ name: z.ZodString;
1326
+ phone: z.ZodNullable<z.ZodString>;
1327
+ username: z.ZodNullable<z.ZodString>;
1328
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1329
+ }, "strict", z.ZodTypeAny, {
1330
+ name: string;
1331
+ phone: string | null;
1332
+ username: string | null;
1333
+ wa_id?: string | null | undefined;
1334
+ }, {
1335
+ name: string;
1336
+ phone: string | null;
1337
+ username: string | null;
1338
+ wa_id?: string | null | undefined;
1339
+ }>;
1340
+ status: z.ZodEnum<["active", "ended"]>;
1341
+ window_expires_at: z.ZodNullable<z.ZodString>;
1342
+ last_message_at: z.ZodNullable<z.ZodString>;
1343
+ last_read_at: z.ZodNullable<z.ZodString>;
1344
+ created_at: z.ZodString;
1345
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1346
+ id: z.ZodString;
1347
+ phone_number_id: z.ZodString;
1348
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1349
+ display_phone_number: z.ZodNullable<z.ZodString>;
1350
+ contact_id: z.ZodString;
1351
+ contact: z.ZodObject<{
1352
+ name: z.ZodString;
1353
+ phone: z.ZodNullable<z.ZodString>;
1354
+ username: z.ZodNullable<z.ZodString>;
1355
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1356
+ }, "strict", z.ZodTypeAny, {
1357
+ name: string;
1358
+ phone: string | null;
1359
+ username: string | null;
1360
+ wa_id?: string | null | undefined;
1361
+ }, {
1362
+ name: string;
1363
+ phone: string | null;
1364
+ username: string | null;
1365
+ wa_id?: string | null | undefined;
1366
+ }>;
1367
+ status: z.ZodEnum<["active", "ended"]>;
1368
+ window_expires_at: z.ZodNullable<z.ZodString>;
1369
+ last_message_at: z.ZodNullable<z.ZodString>;
1370
+ last_read_at: z.ZodNullable<z.ZodString>;
1371
+ created_at: z.ZodString;
1372
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1373
+ id: z.ZodString;
1374
+ phone_number_id: z.ZodString;
1375
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1376
+ display_phone_number: z.ZodNullable<z.ZodString>;
1377
+ contact_id: z.ZodString;
1378
+ contact: z.ZodObject<{
1379
+ name: z.ZodString;
1380
+ phone: z.ZodNullable<z.ZodString>;
1381
+ username: z.ZodNullable<z.ZodString>;
1382
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1383
+ }, "strict", z.ZodTypeAny, {
1384
+ name: string;
1385
+ phone: string | null;
1386
+ username: string | null;
1387
+ wa_id?: string | null | undefined;
1388
+ }, {
1389
+ name: string;
1390
+ phone: string | null;
1391
+ username: string | null;
1392
+ wa_id?: string | null | undefined;
1393
+ }>;
1394
+ status: z.ZodEnum<["active", "ended"]>;
1395
+ window_expires_at: z.ZodNullable<z.ZodString>;
1396
+ last_message_at: z.ZodNullable<z.ZodString>;
1397
+ last_read_at: z.ZodNullable<z.ZodString>;
1398
+ created_at: z.ZodString;
1399
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1400
+ paging: z.ZodObject<{
1401
+ cursors: z.ZodObject<{
1402
+ before: z.ZodNullable<z.ZodString>;
1403
+ after: z.ZodNullable<z.ZodString>;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ after: string | null;
1406
+ before: string | null;
1407
+ }, {
1408
+ after: string | null;
1409
+ before: string | null;
1410
+ }>;
1411
+ next: z.ZodNullable<z.ZodString>;
1412
+ previous: z.ZodNullable<z.ZodString>;
1413
+ }, "strict", z.ZodTypeAny, {
1414
+ cursors: {
1415
+ after: string | null;
1416
+ before: string | null;
1417
+ };
1418
+ next: string | null;
1419
+ previous: string | null;
1420
+ }, {
1421
+ cursors: {
1422
+ after: string | null;
1423
+ before: string | null;
1424
+ };
1425
+ next: string | null;
1426
+ previous: string | null;
1427
+ }>;
1428
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1429
+ data: z.ZodArray<z.ZodObject<{
1430
+ id: z.ZodString;
1431
+ phone_number_id: z.ZodString;
1432
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1433
+ display_phone_number: z.ZodNullable<z.ZodString>;
1434
+ contact_id: z.ZodString;
1435
+ contact: z.ZodObject<{
1436
+ name: z.ZodString;
1437
+ phone: z.ZodNullable<z.ZodString>;
1438
+ username: z.ZodNullable<z.ZodString>;
1439
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1440
+ }, "strict", z.ZodTypeAny, {
1441
+ name: string;
1442
+ phone: string | null;
1443
+ username: string | null;
1444
+ wa_id?: string | null | undefined;
1445
+ }, {
1446
+ name: string;
1447
+ phone: string | null;
1448
+ username: string | null;
1449
+ wa_id?: string | null | undefined;
1450
+ }>;
1451
+ status: z.ZodEnum<["active", "ended"]>;
1452
+ window_expires_at: z.ZodNullable<z.ZodString>;
1453
+ last_message_at: z.ZodNullable<z.ZodString>;
1454
+ last_read_at: z.ZodNullable<z.ZodString>;
1455
+ created_at: z.ZodString;
1456
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1457
+ id: z.ZodString;
1458
+ phone_number_id: z.ZodString;
1459
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1460
+ display_phone_number: z.ZodNullable<z.ZodString>;
1461
+ contact_id: z.ZodString;
1462
+ contact: z.ZodObject<{
1463
+ name: z.ZodString;
1464
+ phone: z.ZodNullable<z.ZodString>;
1465
+ username: z.ZodNullable<z.ZodString>;
1466
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1467
+ }, "strict", z.ZodTypeAny, {
1468
+ name: string;
1469
+ phone: string | null;
1470
+ username: string | null;
1471
+ wa_id?: string | null | undefined;
1472
+ }, {
1473
+ name: string;
1474
+ phone: string | null;
1475
+ username: string | null;
1476
+ wa_id?: string | null | undefined;
1477
+ }>;
1478
+ status: z.ZodEnum<["active", "ended"]>;
1479
+ window_expires_at: z.ZodNullable<z.ZodString>;
1480
+ last_message_at: z.ZodNullable<z.ZodString>;
1481
+ last_read_at: z.ZodNullable<z.ZodString>;
1482
+ created_at: z.ZodString;
1483
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1484
+ id: z.ZodString;
1485
+ phone_number_id: z.ZodString;
1486
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1487
+ display_phone_number: z.ZodNullable<z.ZodString>;
1488
+ contact_id: z.ZodString;
1489
+ contact: z.ZodObject<{
1490
+ name: z.ZodString;
1491
+ phone: z.ZodNullable<z.ZodString>;
1492
+ username: z.ZodNullable<z.ZodString>;
1493
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1494
+ }, "strict", z.ZodTypeAny, {
1495
+ name: string;
1496
+ phone: string | null;
1497
+ username: string | null;
1498
+ wa_id?: string | null | undefined;
1499
+ }, {
1500
+ name: string;
1501
+ phone: string | null;
1502
+ username: string | null;
1503
+ wa_id?: string | null | undefined;
1504
+ }>;
1505
+ status: z.ZodEnum<["active", "ended"]>;
1506
+ window_expires_at: z.ZodNullable<z.ZodString>;
1507
+ last_message_at: z.ZodNullable<z.ZodString>;
1508
+ last_read_at: z.ZodNullable<z.ZodString>;
1509
+ created_at: z.ZodString;
1510
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1511
+ paging: z.ZodObject<{
1512
+ cursors: z.ZodObject<{
1513
+ before: z.ZodNullable<z.ZodString>;
1514
+ after: z.ZodNullable<z.ZodString>;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ after: string | null;
1517
+ before: string | null;
1518
+ }, {
1519
+ after: string | null;
1520
+ before: string | null;
1521
+ }>;
1522
+ next: z.ZodNullable<z.ZodString>;
1523
+ previous: z.ZodNullable<z.ZodString>;
1524
+ }, "strict", z.ZodTypeAny, {
1525
+ cursors: {
1526
+ after: string | null;
1527
+ before: string | null;
1528
+ };
1529
+ next: string | null;
1530
+ previous: string | null;
1531
+ }, {
1532
+ cursors: {
1533
+ after: string | null;
1534
+ before: string | null;
1535
+ };
1536
+ next: string | null;
1537
+ previous: string | null;
1538
+ }>;
1539
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1540
+ data: z.ZodArray<z.ZodObject<{
1541
+ id: z.ZodString;
1542
+ phone_number_id: z.ZodString;
1543
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1544
+ display_phone_number: z.ZodNullable<z.ZodString>;
1545
+ contact_id: z.ZodString;
1546
+ contact: z.ZodObject<{
1547
+ name: z.ZodString;
1548
+ phone: z.ZodNullable<z.ZodString>;
1549
+ username: z.ZodNullable<z.ZodString>;
1550
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1551
+ }, "strict", z.ZodTypeAny, {
1552
+ name: string;
1553
+ phone: string | null;
1554
+ username: string | null;
1555
+ wa_id?: string | null | undefined;
1556
+ }, {
1557
+ name: string;
1558
+ phone: string | null;
1559
+ username: string | null;
1560
+ wa_id?: string | null | undefined;
1561
+ }>;
1562
+ status: z.ZodEnum<["active", "ended"]>;
1563
+ window_expires_at: z.ZodNullable<z.ZodString>;
1564
+ last_message_at: z.ZodNullable<z.ZodString>;
1565
+ last_read_at: z.ZodNullable<z.ZodString>;
1566
+ created_at: z.ZodString;
1567
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1568
+ id: z.ZodString;
1569
+ phone_number_id: z.ZodString;
1570
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1571
+ display_phone_number: z.ZodNullable<z.ZodString>;
1572
+ contact_id: z.ZodString;
1573
+ contact: z.ZodObject<{
1574
+ name: z.ZodString;
1575
+ phone: z.ZodNullable<z.ZodString>;
1576
+ username: z.ZodNullable<z.ZodString>;
1577
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1578
+ }, "strict", z.ZodTypeAny, {
1579
+ name: string;
1580
+ phone: string | null;
1581
+ username: string | null;
1582
+ wa_id?: string | null | undefined;
1583
+ }, {
1584
+ name: string;
1585
+ phone: string | null;
1586
+ username: string | null;
1587
+ wa_id?: string | null | undefined;
1588
+ }>;
1589
+ status: z.ZodEnum<["active", "ended"]>;
1590
+ window_expires_at: z.ZodNullable<z.ZodString>;
1591
+ last_message_at: z.ZodNullable<z.ZodString>;
1592
+ last_read_at: z.ZodNullable<z.ZodString>;
1593
+ created_at: z.ZodString;
1594
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1595
+ id: z.ZodString;
1596
+ phone_number_id: z.ZodString;
1597
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1598
+ display_phone_number: z.ZodNullable<z.ZodString>;
1599
+ contact_id: z.ZodString;
1600
+ contact: z.ZodObject<{
1601
+ name: z.ZodString;
1602
+ phone: z.ZodNullable<z.ZodString>;
1603
+ username: z.ZodNullable<z.ZodString>;
1604
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1605
+ }, "strict", z.ZodTypeAny, {
1606
+ name: string;
1607
+ phone: string | null;
1608
+ username: string | null;
1609
+ wa_id?: string | null | undefined;
1610
+ }, {
1611
+ name: string;
1612
+ phone: string | null;
1613
+ username: string | null;
1614
+ wa_id?: string | null | undefined;
1615
+ }>;
1616
+ status: z.ZodEnum<["active", "ended"]>;
1617
+ window_expires_at: z.ZodNullable<z.ZodString>;
1618
+ last_message_at: z.ZodNullable<z.ZodString>;
1619
+ last_read_at: z.ZodNullable<z.ZodString>;
1620
+ created_at: z.ZodString;
1621
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1622
+ paging: z.ZodObject<{
1623
+ cursors: z.ZodObject<{
1624
+ before: z.ZodNullable<z.ZodString>;
1625
+ after: z.ZodNullable<z.ZodString>;
1626
+ }, "strip", z.ZodTypeAny, {
1627
+ after: string | null;
1628
+ before: string | null;
1629
+ }, {
1630
+ after: string | null;
1631
+ before: string | null;
1632
+ }>;
1633
+ next: z.ZodNullable<z.ZodString>;
1634
+ previous: z.ZodNullable<z.ZodString>;
1635
+ }, "strict", z.ZodTypeAny, {
1636
+ cursors: {
1637
+ after: string | null;
1638
+ before: string | null;
1639
+ };
1640
+ next: string | null;
1641
+ previous: string | null;
1642
+ }, {
1643
+ cursors: {
1644
+ after: string | null;
1645
+ before: string | null;
1646
+ };
1647
+ next: string | null;
1648
+ previous: string | null;
1649
+ }>;
1650
+ }, z.ZodTypeAny, "passthrough">>;
1651
+ export declare const conversationResultSchema: z.ZodObject<{
1652
+ data: z.ZodObject<{
1653
+ id: z.ZodString;
1654
+ phone_number_id: z.ZodString;
1655
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1656
+ display_phone_number: z.ZodNullable<z.ZodString>;
1657
+ contact_id: z.ZodString;
1658
+ contact: z.ZodObject<{
1659
+ name: z.ZodString;
1660
+ phone: z.ZodNullable<z.ZodString>;
1661
+ username: z.ZodNullable<z.ZodString>;
1662
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1663
+ }, "strict", z.ZodTypeAny, {
1664
+ name: string;
1665
+ phone: string | null;
1666
+ username: string | null;
1667
+ wa_id?: string | null | undefined;
1668
+ }, {
1669
+ name: string;
1670
+ phone: string | null;
1671
+ username: string | null;
1672
+ wa_id?: string | null | undefined;
1673
+ }>;
1674
+ status: z.ZodEnum<["active", "ended"]>;
1675
+ window_expires_at: z.ZodNullable<z.ZodString>;
1676
+ last_message_at: z.ZodNullable<z.ZodString>;
1677
+ last_read_at: z.ZodNullable<z.ZodString>;
1678
+ created_at: z.ZodString;
1679
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1680
+ id: z.ZodString;
1681
+ phone_number_id: z.ZodString;
1682
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1683
+ display_phone_number: z.ZodNullable<z.ZodString>;
1684
+ contact_id: z.ZodString;
1685
+ contact: z.ZodObject<{
1686
+ name: z.ZodString;
1687
+ phone: z.ZodNullable<z.ZodString>;
1688
+ username: z.ZodNullable<z.ZodString>;
1689
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1690
+ }, "strict", z.ZodTypeAny, {
1691
+ name: string;
1692
+ phone: string | null;
1693
+ username: string | null;
1694
+ wa_id?: string | null | undefined;
1695
+ }, {
1696
+ name: string;
1697
+ phone: string | null;
1698
+ username: string | null;
1699
+ wa_id?: string | null | undefined;
1700
+ }>;
1701
+ status: z.ZodEnum<["active", "ended"]>;
1702
+ window_expires_at: z.ZodNullable<z.ZodString>;
1703
+ last_message_at: z.ZodNullable<z.ZodString>;
1704
+ last_read_at: z.ZodNullable<z.ZodString>;
1705
+ created_at: z.ZodString;
1706
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1707
+ id: z.ZodString;
1708
+ phone_number_id: z.ZodString;
1709
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1710
+ display_phone_number: z.ZodNullable<z.ZodString>;
1711
+ contact_id: z.ZodString;
1712
+ contact: z.ZodObject<{
1713
+ name: z.ZodString;
1714
+ phone: z.ZodNullable<z.ZodString>;
1715
+ username: z.ZodNullable<z.ZodString>;
1716
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1717
+ }, "strict", z.ZodTypeAny, {
1718
+ name: string;
1719
+ phone: string | null;
1720
+ username: string | null;
1721
+ wa_id?: string | null | undefined;
1722
+ }, {
1723
+ name: string;
1724
+ phone: string | null;
1725
+ username: string | null;
1726
+ wa_id?: string | null | undefined;
1727
+ }>;
1728
+ status: z.ZodEnum<["active", "ended"]>;
1729
+ window_expires_at: z.ZodNullable<z.ZodString>;
1730
+ last_message_at: z.ZodNullable<z.ZodString>;
1731
+ last_read_at: z.ZodNullable<z.ZodString>;
1732
+ created_at: z.ZodString;
1733
+ }, z.ZodTypeAny, "passthrough">>;
1734
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1735
+ data: z.ZodObject<{
1736
+ id: z.ZodString;
1737
+ phone_number_id: z.ZodString;
1738
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1739
+ display_phone_number: z.ZodNullable<z.ZodString>;
1740
+ contact_id: z.ZodString;
1741
+ contact: z.ZodObject<{
1742
+ name: z.ZodString;
1743
+ phone: z.ZodNullable<z.ZodString>;
1744
+ username: z.ZodNullable<z.ZodString>;
1745
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1746
+ }, "strict", z.ZodTypeAny, {
1747
+ name: string;
1748
+ phone: string | null;
1749
+ username: string | null;
1750
+ wa_id?: string | null | undefined;
1751
+ }, {
1752
+ name: string;
1753
+ phone: string | null;
1754
+ username: string | null;
1755
+ wa_id?: string | null | undefined;
1756
+ }>;
1757
+ status: z.ZodEnum<["active", "ended"]>;
1758
+ window_expires_at: z.ZodNullable<z.ZodString>;
1759
+ last_message_at: z.ZodNullable<z.ZodString>;
1760
+ last_read_at: z.ZodNullable<z.ZodString>;
1761
+ created_at: z.ZodString;
1762
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1763
+ id: z.ZodString;
1764
+ phone_number_id: z.ZodString;
1765
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1766
+ display_phone_number: z.ZodNullable<z.ZodString>;
1767
+ contact_id: z.ZodString;
1768
+ contact: z.ZodObject<{
1769
+ name: z.ZodString;
1770
+ phone: z.ZodNullable<z.ZodString>;
1771
+ username: z.ZodNullable<z.ZodString>;
1772
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1773
+ }, "strict", z.ZodTypeAny, {
1774
+ name: string;
1775
+ phone: string | null;
1776
+ username: string | null;
1777
+ wa_id?: string | null | undefined;
1778
+ }, {
1779
+ name: string;
1780
+ phone: string | null;
1781
+ username: string | null;
1782
+ wa_id?: string | null | undefined;
1783
+ }>;
1784
+ status: z.ZodEnum<["active", "ended"]>;
1785
+ window_expires_at: z.ZodNullable<z.ZodString>;
1786
+ last_message_at: z.ZodNullable<z.ZodString>;
1787
+ last_read_at: z.ZodNullable<z.ZodString>;
1788
+ created_at: z.ZodString;
1789
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1790
+ id: z.ZodString;
1791
+ phone_number_id: z.ZodString;
1792
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1793
+ display_phone_number: z.ZodNullable<z.ZodString>;
1794
+ contact_id: z.ZodString;
1795
+ contact: z.ZodObject<{
1796
+ name: z.ZodString;
1797
+ phone: z.ZodNullable<z.ZodString>;
1798
+ username: z.ZodNullable<z.ZodString>;
1799
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1800
+ }, "strict", z.ZodTypeAny, {
1801
+ name: string;
1802
+ phone: string | null;
1803
+ username: string | null;
1804
+ wa_id?: string | null | undefined;
1805
+ }, {
1806
+ name: string;
1807
+ phone: string | null;
1808
+ username: string | null;
1809
+ wa_id?: string | null | undefined;
1810
+ }>;
1811
+ status: z.ZodEnum<["active", "ended"]>;
1812
+ window_expires_at: z.ZodNullable<z.ZodString>;
1813
+ last_message_at: z.ZodNullable<z.ZodString>;
1814
+ last_read_at: z.ZodNullable<z.ZodString>;
1815
+ created_at: z.ZodString;
1816
+ }, z.ZodTypeAny, "passthrough">>;
1817
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1818
+ data: z.ZodObject<{
1819
+ id: z.ZodString;
1820
+ phone_number_id: z.ZodString;
1821
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1822
+ display_phone_number: z.ZodNullable<z.ZodString>;
1823
+ contact_id: z.ZodString;
1824
+ contact: z.ZodObject<{
1825
+ name: z.ZodString;
1826
+ phone: z.ZodNullable<z.ZodString>;
1827
+ username: z.ZodNullable<z.ZodString>;
1828
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1829
+ }, "strict", z.ZodTypeAny, {
1830
+ name: string;
1831
+ phone: string | null;
1832
+ username: string | null;
1833
+ wa_id?: string | null | undefined;
1834
+ }, {
1835
+ name: string;
1836
+ phone: string | null;
1837
+ username: string | null;
1838
+ wa_id?: string | null | undefined;
1839
+ }>;
1840
+ status: z.ZodEnum<["active", "ended"]>;
1841
+ window_expires_at: z.ZodNullable<z.ZodString>;
1842
+ last_message_at: z.ZodNullable<z.ZodString>;
1843
+ last_read_at: z.ZodNullable<z.ZodString>;
1844
+ created_at: z.ZodString;
1845
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1846
+ id: z.ZodString;
1847
+ phone_number_id: z.ZodString;
1848
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1849
+ display_phone_number: z.ZodNullable<z.ZodString>;
1850
+ contact_id: z.ZodString;
1851
+ contact: z.ZodObject<{
1852
+ name: z.ZodString;
1853
+ phone: z.ZodNullable<z.ZodString>;
1854
+ username: z.ZodNullable<z.ZodString>;
1855
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1856
+ }, "strict", z.ZodTypeAny, {
1857
+ name: string;
1858
+ phone: string | null;
1859
+ username: string | null;
1860
+ wa_id?: string | null | undefined;
1861
+ }, {
1862
+ name: string;
1863
+ phone: string | null;
1864
+ username: string | null;
1865
+ wa_id?: string | null | undefined;
1866
+ }>;
1867
+ status: z.ZodEnum<["active", "ended"]>;
1868
+ window_expires_at: z.ZodNullable<z.ZodString>;
1869
+ last_message_at: z.ZodNullable<z.ZodString>;
1870
+ last_read_at: z.ZodNullable<z.ZodString>;
1871
+ created_at: z.ZodString;
1872
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1873
+ id: z.ZodString;
1874
+ phone_number_id: z.ZodString;
1875
+ phone_number_meta_id: z.ZodNullable<z.ZodString>;
1876
+ display_phone_number: z.ZodNullable<z.ZodString>;
1877
+ contact_id: z.ZodString;
1878
+ contact: z.ZodObject<{
1879
+ name: z.ZodString;
1880
+ phone: z.ZodNullable<z.ZodString>;
1881
+ username: z.ZodNullable<z.ZodString>;
1882
+ wa_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1883
+ }, "strict", z.ZodTypeAny, {
1884
+ name: string;
1885
+ phone: string | null;
1886
+ username: string | null;
1887
+ wa_id?: string | null | undefined;
1888
+ }, {
1889
+ name: string;
1890
+ phone: string | null;
1891
+ username: string | null;
1892
+ wa_id?: string | null | undefined;
1893
+ }>;
1894
+ status: z.ZodEnum<["active", "ended"]>;
1895
+ window_expires_at: z.ZodNullable<z.ZodString>;
1896
+ last_message_at: z.ZodNullable<z.ZodString>;
1897
+ last_read_at: z.ZodNullable<z.ZodString>;
1898
+ created_at: z.ZodString;
1899
+ }, z.ZodTypeAny, "passthrough">>;
1900
+ }, z.ZodTypeAny, "passthrough">>;
1901
+ export declare const customerSchema: z.ZodObject<{
1902
+ id: z.ZodString;
1903
+ name: z.ZodString;
1904
+ external_customer_id: z.ZodNullable<z.ZodString>;
1905
+ created_at: z.ZodString;
1906
+ updated_at: z.ZodString;
1907
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1908
+ id: z.ZodString;
1909
+ name: z.ZodString;
1910
+ external_customer_id: z.ZodNullable<z.ZodString>;
1911
+ created_at: z.ZodString;
1912
+ updated_at: z.ZodString;
1913
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1914
+ id: z.ZodString;
1915
+ name: z.ZodString;
1916
+ external_customer_id: z.ZodNullable<z.ZodString>;
1917
+ created_at: z.ZodString;
1918
+ updated_at: z.ZodString;
1919
+ }, z.ZodTypeAny, "passthrough">>;
1920
+ export declare const listCustomersResultSchema: z.ZodObject<{
1921
+ data: z.ZodArray<z.ZodObject<{
1922
+ id: z.ZodString;
1923
+ name: z.ZodString;
1924
+ external_customer_id: z.ZodNullable<z.ZodString>;
1925
+ created_at: z.ZodString;
1926
+ updated_at: z.ZodString;
1927
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1928
+ id: z.ZodString;
1929
+ name: z.ZodString;
1930
+ external_customer_id: z.ZodNullable<z.ZodString>;
1931
+ created_at: z.ZodString;
1932
+ updated_at: z.ZodString;
1933
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1934
+ id: z.ZodString;
1935
+ name: z.ZodString;
1936
+ external_customer_id: z.ZodNullable<z.ZodString>;
1937
+ created_at: z.ZodString;
1938
+ updated_at: z.ZodString;
1939
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1940
+ meta: z.ZodObject<{
1941
+ page: z.ZodNumber;
1942
+ per_page: z.ZodNumber;
1943
+ total_pages: z.ZodNumber;
1944
+ total_count: z.ZodNumber;
1945
+ }, "strict", z.ZodTypeAny, {
1946
+ page: number;
1947
+ per_page: number;
1948
+ total_pages: number;
1949
+ total_count: number;
1950
+ }, {
1951
+ page: number;
1952
+ per_page: number;
1953
+ total_pages: number;
1954
+ total_count: number;
1955
+ }>;
1956
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1957
+ data: z.ZodArray<z.ZodObject<{
1958
+ id: z.ZodString;
1959
+ name: z.ZodString;
1960
+ external_customer_id: z.ZodNullable<z.ZodString>;
1961
+ created_at: z.ZodString;
1962
+ updated_at: z.ZodString;
1963
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1964
+ id: z.ZodString;
1965
+ name: z.ZodString;
1966
+ external_customer_id: z.ZodNullable<z.ZodString>;
1967
+ created_at: z.ZodString;
1968
+ updated_at: z.ZodString;
1969
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1970
+ id: z.ZodString;
1971
+ name: z.ZodString;
1972
+ external_customer_id: z.ZodNullable<z.ZodString>;
1973
+ created_at: z.ZodString;
1974
+ updated_at: z.ZodString;
1975
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1976
+ meta: z.ZodObject<{
1977
+ page: z.ZodNumber;
1978
+ per_page: z.ZodNumber;
1979
+ total_pages: z.ZodNumber;
1980
+ total_count: z.ZodNumber;
1981
+ }, "strict", z.ZodTypeAny, {
1982
+ page: number;
1983
+ per_page: number;
1984
+ total_pages: number;
1985
+ total_count: number;
1986
+ }, {
1987
+ page: number;
1988
+ per_page: number;
1989
+ total_pages: number;
1990
+ total_count: number;
1991
+ }>;
1992
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1993
+ data: z.ZodArray<z.ZodObject<{
1994
+ id: z.ZodString;
1995
+ name: z.ZodString;
1996
+ external_customer_id: z.ZodNullable<z.ZodString>;
1997
+ created_at: z.ZodString;
1998
+ updated_at: z.ZodString;
1999
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2000
+ id: z.ZodString;
2001
+ name: z.ZodString;
2002
+ external_customer_id: z.ZodNullable<z.ZodString>;
2003
+ created_at: z.ZodString;
2004
+ updated_at: z.ZodString;
2005
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2006
+ id: z.ZodString;
2007
+ name: z.ZodString;
2008
+ external_customer_id: z.ZodNullable<z.ZodString>;
2009
+ created_at: z.ZodString;
2010
+ updated_at: z.ZodString;
2011
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2012
+ meta: z.ZodObject<{
2013
+ page: z.ZodNumber;
2014
+ per_page: z.ZodNumber;
2015
+ total_pages: z.ZodNumber;
2016
+ total_count: z.ZodNumber;
2017
+ }, "strict", z.ZodTypeAny, {
2018
+ page: number;
2019
+ per_page: number;
2020
+ total_pages: number;
2021
+ total_count: number;
2022
+ }, {
2023
+ page: number;
2024
+ per_page: number;
2025
+ total_pages: number;
2026
+ total_count: number;
2027
+ }>;
2028
+ }, z.ZodTypeAny, "passthrough">>;
2029
+ export declare const customerResultSchema: z.ZodObject<{
2030
+ data: z.ZodObject<{
2031
+ id: z.ZodString;
2032
+ name: z.ZodString;
2033
+ external_customer_id: z.ZodNullable<z.ZodString>;
2034
+ created_at: z.ZodString;
2035
+ updated_at: z.ZodString;
2036
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2037
+ id: z.ZodString;
2038
+ name: z.ZodString;
2039
+ external_customer_id: z.ZodNullable<z.ZodString>;
2040
+ created_at: z.ZodString;
2041
+ updated_at: z.ZodString;
2042
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2043
+ id: z.ZodString;
2044
+ name: z.ZodString;
2045
+ external_customer_id: z.ZodNullable<z.ZodString>;
2046
+ created_at: z.ZodString;
2047
+ updated_at: z.ZodString;
2048
+ }, z.ZodTypeAny, "passthrough">>;
2049
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2050
+ data: z.ZodObject<{
2051
+ id: z.ZodString;
2052
+ name: z.ZodString;
2053
+ external_customer_id: z.ZodNullable<z.ZodString>;
2054
+ created_at: z.ZodString;
2055
+ updated_at: z.ZodString;
2056
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2057
+ id: z.ZodString;
2058
+ name: z.ZodString;
2059
+ external_customer_id: z.ZodNullable<z.ZodString>;
2060
+ created_at: z.ZodString;
2061
+ updated_at: z.ZodString;
2062
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2063
+ id: z.ZodString;
2064
+ name: z.ZodString;
2065
+ external_customer_id: z.ZodNullable<z.ZodString>;
2066
+ created_at: z.ZodString;
2067
+ updated_at: z.ZodString;
2068
+ }, z.ZodTypeAny, "passthrough">>;
2069
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2070
+ data: z.ZodObject<{
2071
+ id: z.ZodString;
2072
+ name: z.ZodString;
2073
+ external_customer_id: z.ZodNullable<z.ZodString>;
2074
+ created_at: z.ZodString;
2075
+ updated_at: z.ZodString;
2076
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2077
+ id: z.ZodString;
2078
+ name: z.ZodString;
2079
+ external_customer_id: z.ZodNullable<z.ZodString>;
2080
+ created_at: z.ZodString;
2081
+ updated_at: z.ZodString;
2082
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2083
+ id: z.ZodString;
2084
+ name: z.ZodString;
2085
+ external_customer_id: z.ZodNullable<z.ZodString>;
2086
+ created_at: z.ZodString;
2087
+ updated_at: z.ZodString;
2088
+ }, z.ZodTypeAny, "passthrough">>;
2089
+ }, z.ZodTypeAny, "passthrough">>;
2090
+ export declare const setupLinkSchema: z.ZodObject<{
2091
+ id: z.ZodString;
2092
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2093
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2094
+ url: z.ZodString;
2095
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2096
+ provision_phone_number: z.ZodBoolean;
2097
+ language: z.ZodNullable<z.ZodString>;
2098
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2099
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2100
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2101
+ expires_at: z.ZodNullable<z.ZodString>;
2102
+ created_at: z.ZodString;
2103
+ updated_at: z.ZodString;
2104
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2105
+ id: z.ZodString;
2106
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2107
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2108
+ url: z.ZodString;
2109
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2110
+ provision_phone_number: z.ZodBoolean;
2111
+ language: z.ZodNullable<z.ZodString>;
2112
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2113
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2114
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2115
+ expires_at: z.ZodNullable<z.ZodString>;
2116
+ created_at: z.ZodString;
2117
+ updated_at: z.ZodString;
2118
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2119
+ id: z.ZodString;
2120
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2121
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2122
+ url: z.ZodString;
2123
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2124
+ provision_phone_number: z.ZodBoolean;
2125
+ language: z.ZodNullable<z.ZodString>;
2126
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2127
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2128
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2129
+ expires_at: z.ZodNullable<z.ZodString>;
2130
+ created_at: z.ZodString;
2131
+ updated_at: z.ZodString;
2132
+ }, z.ZodTypeAny, "passthrough">>;
2133
+ export declare const listSetupLinksResultSchema: z.ZodObject<{
2134
+ data: z.ZodArray<z.ZodObject<{
2135
+ id: z.ZodString;
2136
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2137
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2138
+ url: z.ZodString;
2139
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2140
+ provision_phone_number: z.ZodBoolean;
2141
+ language: z.ZodNullable<z.ZodString>;
2142
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2143
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2144
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2145
+ expires_at: z.ZodNullable<z.ZodString>;
2146
+ created_at: z.ZodString;
2147
+ updated_at: z.ZodString;
2148
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2149
+ id: z.ZodString;
2150
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2151
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2152
+ url: z.ZodString;
2153
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2154
+ provision_phone_number: z.ZodBoolean;
2155
+ language: z.ZodNullable<z.ZodString>;
2156
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2157
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2158
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2159
+ expires_at: z.ZodNullable<z.ZodString>;
2160
+ created_at: z.ZodString;
2161
+ updated_at: z.ZodString;
2162
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2163
+ id: z.ZodString;
2164
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2165
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2166
+ url: z.ZodString;
2167
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2168
+ provision_phone_number: z.ZodBoolean;
2169
+ language: z.ZodNullable<z.ZodString>;
2170
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2171
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2172
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2173
+ expires_at: z.ZodNullable<z.ZodString>;
2174
+ created_at: z.ZodString;
2175
+ updated_at: z.ZodString;
2176
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2177
+ meta: z.ZodObject<{
2178
+ page: z.ZodNumber;
2179
+ per_page: z.ZodNumber;
2180
+ total_pages: z.ZodNumber;
2181
+ total_count: z.ZodNumber;
2182
+ }, "strict", z.ZodTypeAny, {
2183
+ page: number;
2184
+ per_page: number;
2185
+ total_pages: number;
2186
+ total_count: number;
2187
+ }, {
2188
+ page: number;
2189
+ per_page: number;
2190
+ total_pages: number;
2191
+ total_count: number;
2192
+ }>;
2193
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2194
+ data: z.ZodArray<z.ZodObject<{
2195
+ id: z.ZodString;
2196
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2197
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2198
+ url: z.ZodString;
2199
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2200
+ provision_phone_number: z.ZodBoolean;
2201
+ language: z.ZodNullable<z.ZodString>;
2202
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2203
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2204
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2205
+ expires_at: z.ZodNullable<z.ZodString>;
2206
+ created_at: z.ZodString;
2207
+ updated_at: z.ZodString;
2208
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2209
+ id: z.ZodString;
2210
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2211
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2212
+ url: z.ZodString;
2213
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2214
+ provision_phone_number: z.ZodBoolean;
2215
+ language: z.ZodNullable<z.ZodString>;
2216
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2217
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2218
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2219
+ expires_at: z.ZodNullable<z.ZodString>;
2220
+ created_at: z.ZodString;
2221
+ updated_at: z.ZodString;
2222
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2223
+ id: z.ZodString;
2224
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2225
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2226
+ url: z.ZodString;
2227
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2228
+ provision_phone_number: z.ZodBoolean;
2229
+ language: z.ZodNullable<z.ZodString>;
2230
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2231
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2232
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2233
+ expires_at: z.ZodNullable<z.ZodString>;
2234
+ created_at: z.ZodString;
2235
+ updated_at: z.ZodString;
2236
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2237
+ meta: z.ZodObject<{
2238
+ page: z.ZodNumber;
2239
+ per_page: z.ZodNumber;
2240
+ total_pages: z.ZodNumber;
2241
+ total_count: z.ZodNumber;
2242
+ }, "strict", z.ZodTypeAny, {
2243
+ page: number;
2244
+ per_page: number;
2245
+ total_pages: number;
2246
+ total_count: number;
2247
+ }, {
2248
+ page: number;
2249
+ per_page: number;
2250
+ total_pages: number;
2251
+ total_count: number;
2252
+ }>;
2253
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2254
+ data: z.ZodArray<z.ZodObject<{
2255
+ id: z.ZodString;
2256
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2257
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2258
+ url: z.ZodString;
2259
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2260
+ provision_phone_number: z.ZodBoolean;
2261
+ language: z.ZodNullable<z.ZodString>;
2262
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2263
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2264
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2265
+ expires_at: z.ZodNullable<z.ZodString>;
2266
+ created_at: z.ZodString;
2267
+ updated_at: z.ZodString;
2268
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2269
+ id: z.ZodString;
2270
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2271
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2272
+ url: z.ZodString;
2273
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2274
+ provision_phone_number: z.ZodBoolean;
2275
+ language: z.ZodNullable<z.ZodString>;
2276
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2277
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2278
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2279
+ expires_at: z.ZodNullable<z.ZodString>;
2280
+ created_at: z.ZodString;
2281
+ updated_at: z.ZodString;
2282
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2283
+ id: z.ZodString;
2284
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2285
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2286
+ url: z.ZodString;
2287
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2288
+ provision_phone_number: z.ZodBoolean;
2289
+ language: z.ZodNullable<z.ZodString>;
2290
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2291
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2292
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2293
+ expires_at: z.ZodNullable<z.ZodString>;
2294
+ created_at: z.ZodString;
2295
+ updated_at: z.ZodString;
2296
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2297
+ meta: z.ZodObject<{
2298
+ page: z.ZodNumber;
2299
+ per_page: z.ZodNumber;
2300
+ total_pages: z.ZodNumber;
2301
+ total_count: z.ZodNumber;
2302
+ }, "strict", z.ZodTypeAny, {
2303
+ page: number;
2304
+ per_page: number;
2305
+ total_pages: number;
2306
+ total_count: number;
2307
+ }, {
2308
+ page: number;
2309
+ per_page: number;
2310
+ total_pages: number;
2311
+ total_count: number;
2312
+ }>;
2313
+ }, z.ZodTypeAny, "passthrough">>;
2314
+ export declare const setupLinkResultSchema: z.ZodObject<{
2315
+ data: z.ZodObject<{
2316
+ id: z.ZodString;
2317
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2318
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2319
+ url: z.ZodString;
2320
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2321
+ provision_phone_number: z.ZodBoolean;
2322
+ language: z.ZodNullable<z.ZodString>;
2323
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2324
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2325
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2326
+ expires_at: z.ZodNullable<z.ZodString>;
2327
+ created_at: z.ZodString;
2328
+ updated_at: z.ZodString;
2329
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2330
+ id: z.ZodString;
2331
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2332
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2333
+ url: z.ZodString;
2334
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2335
+ provision_phone_number: z.ZodBoolean;
2336
+ language: z.ZodNullable<z.ZodString>;
2337
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2338
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2339
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2340
+ expires_at: z.ZodNullable<z.ZodString>;
2341
+ created_at: z.ZodString;
2342
+ updated_at: z.ZodString;
2343
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2344
+ id: z.ZodString;
2345
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2346
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2347
+ url: z.ZodString;
2348
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2349
+ provision_phone_number: z.ZodBoolean;
2350
+ language: z.ZodNullable<z.ZodString>;
2351
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2352
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2353
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2354
+ expires_at: z.ZodNullable<z.ZodString>;
2355
+ created_at: z.ZodString;
2356
+ updated_at: z.ZodString;
2357
+ }, z.ZodTypeAny, "passthrough">>;
2358
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2359
+ data: z.ZodObject<{
2360
+ id: z.ZodString;
2361
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2362
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2363
+ url: z.ZodString;
2364
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2365
+ provision_phone_number: z.ZodBoolean;
2366
+ language: z.ZodNullable<z.ZodString>;
2367
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2368
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2369
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2370
+ expires_at: z.ZodNullable<z.ZodString>;
2371
+ created_at: z.ZodString;
2372
+ updated_at: z.ZodString;
2373
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2374
+ id: z.ZodString;
2375
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2376
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2377
+ url: z.ZodString;
2378
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2379
+ provision_phone_number: z.ZodBoolean;
2380
+ language: z.ZodNullable<z.ZodString>;
2381
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2382
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2383
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2384
+ expires_at: z.ZodNullable<z.ZodString>;
2385
+ created_at: z.ZodString;
2386
+ updated_at: z.ZodString;
2387
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2388
+ id: z.ZodString;
2389
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2390
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2391
+ url: z.ZodString;
2392
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2393
+ provision_phone_number: z.ZodBoolean;
2394
+ language: z.ZodNullable<z.ZodString>;
2395
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2396
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2397
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2398
+ expires_at: z.ZodNullable<z.ZodString>;
2399
+ created_at: z.ZodString;
2400
+ updated_at: z.ZodString;
2401
+ }, z.ZodTypeAny, "passthrough">>;
2402
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2403
+ data: z.ZodObject<{
2404
+ id: z.ZodString;
2405
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2406
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2407
+ url: z.ZodString;
2408
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2409
+ provision_phone_number: z.ZodBoolean;
2410
+ language: z.ZodNullable<z.ZodString>;
2411
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2412
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2413
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2414
+ expires_at: z.ZodNullable<z.ZodString>;
2415
+ created_at: z.ZodString;
2416
+ updated_at: z.ZodString;
2417
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2418
+ id: z.ZodString;
2419
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2420
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2421
+ url: z.ZodString;
2422
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2423
+ provision_phone_number: z.ZodBoolean;
2424
+ language: z.ZodNullable<z.ZodString>;
2425
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2426
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2427
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2428
+ expires_at: z.ZodNullable<z.ZodString>;
2429
+ created_at: z.ZodString;
2430
+ updated_at: z.ZodString;
2431
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2432
+ id: z.ZodString;
2433
+ status: z.ZodEnum<["active", "expired", "revoked"]>;
2434
+ whatsapp_setup_status: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
2435
+ url: z.ZodString;
2436
+ allowed_connection_types: z.ZodArray<z.ZodEnum<["dedicated", "coexistence"]>, "many">;
2437
+ provision_phone_number: z.ZodBoolean;
2438
+ language: z.ZodNullable<z.ZodString>;
2439
+ success_redirect_url: z.ZodNullable<z.ZodString>;
2440
+ failure_redirect_url: z.ZodNullable<z.ZodString>;
2441
+ theme_config: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
2442
+ expires_at: z.ZodNullable<z.ZodString>;
2443
+ created_at: z.ZodString;
2444
+ updated_at: z.ZodString;
2445
+ }, z.ZodTypeAny, "passthrough">>;
2446
+ }, z.ZodTypeAny, "passthrough">>;
2447
+ export declare const mediaUploadSchema: z.ZodObject<{
2448
+ ingest_id: z.ZodString;
2449
+ target: z.ZodObject<{
2450
+ kind: z.ZodString;
2451
+ media_id: z.ZodOptional<z.ZodString>;
2452
+ handle: z.ZodOptional<z.ZodString>;
2453
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2454
+ kind: z.ZodString;
2455
+ media_id: z.ZodOptional<z.ZodString>;
2456
+ handle: z.ZodOptional<z.ZodString>;
2457
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2458
+ kind: z.ZodString;
2459
+ media_id: z.ZodOptional<z.ZodString>;
2460
+ handle: z.ZodOptional<z.ZodString>;
2461
+ }, z.ZodTypeAny, "passthrough">>;
2462
+ resource: z.ZodObject<{
2463
+ filename: z.ZodString;
2464
+ mime_type: z.ZodString;
2465
+ size_bytes: z.ZodNumber;
2466
+ sha256: z.ZodString;
2467
+ source_url: z.ZodString;
2468
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2469
+ filename: z.ZodString;
2470
+ mime_type: z.ZodString;
2471
+ size_bytes: z.ZodNumber;
2472
+ sha256: z.ZodString;
2473
+ source_url: z.ZodString;
2474
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2475
+ filename: z.ZodString;
2476
+ mime_type: z.ZodString;
2477
+ size_bytes: z.ZodNumber;
2478
+ sha256: z.ZodString;
2479
+ source_url: z.ZodString;
2480
+ }, z.ZodTypeAny, "passthrough">>;
2481
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2482
+ ingest_id: z.ZodString;
2483
+ target: z.ZodObject<{
2484
+ kind: z.ZodString;
2485
+ media_id: z.ZodOptional<z.ZodString>;
2486
+ handle: z.ZodOptional<z.ZodString>;
2487
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2488
+ kind: z.ZodString;
2489
+ media_id: z.ZodOptional<z.ZodString>;
2490
+ handle: z.ZodOptional<z.ZodString>;
2491
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2492
+ kind: z.ZodString;
2493
+ media_id: z.ZodOptional<z.ZodString>;
2494
+ handle: z.ZodOptional<z.ZodString>;
2495
+ }, z.ZodTypeAny, "passthrough">>;
2496
+ resource: z.ZodObject<{
2497
+ filename: z.ZodString;
2498
+ mime_type: z.ZodString;
2499
+ size_bytes: z.ZodNumber;
2500
+ sha256: z.ZodString;
2501
+ source_url: z.ZodString;
2502
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2503
+ filename: z.ZodString;
2504
+ mime_type: z.ZodString;
2505
+ size_bytes: z.ZodNumber;
2506
+ sha256: z.ZodString;
2507
+ source_url: z.ZodString;
2508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2509
+ filename: z.ZodString;
2510
+ mime_type: z.ZodString;
2511
+ size_bytes: z.ZodNumber;
2512
+ sha256: z.ZodString;
2513
+ source_url: z.ZodString;
2514
+ }, z.ZodTypeAny, "passthrough">>;
2515
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2516
+ ingest_id: z.ZodString;
2517
+ target: z.ZodObject<{
2518
+ kind: z.ZodString;
2519
+ media_id: z.ZodOptional<z.ZodString>;
2520
+ handle: z.ZodOptional<z.ZodString>;
2521
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2522
+ kind: z.ZodString;
2523
+ media_id: z.ZodOptional<z.ZodString>;
2524
+ handle: z.ZodOptional<z.ZodString>;
2525
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2526
+ kind: z.ZodString;
2527
+ media_id: z.ZodOptional<z.ZodString>;
2528
+ handle: z.ZodOptional<z.ZodString>;
2529
+ }, z.ZodTypeAny, "passthrough">>;
2530
+ resource: z.ZodObject<{
2531
+ filename: z.ZodString;
2532
+ mime_type: z.ZodString;
2533
+ size_bytes: z.ZodNumber;
2534
+ sha256: z.ZodString;
2535
+ source_url: z.ZodString;
2536
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2537
+ filename: z.ZodString;
2538
+ mime_type: z.ZodString;
2539
+ size_bytes: z.ZodNumber;
2540
+ sha256: z.ZodString;
2541
+ source_url: z.ZodString;
2542
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2543
+ filename: z.ZodString;
2544
+ mime_type: z.ZodString;
2545
+ size_bytes: z.ZodNumber;
2546
+ sha256: z.ZodString;
2547
+ source_url: z.ZodString;
2548
+ }, z.ZodTypeAny, "passthrough">>;
2549
+ }, z.ZodTypeAny, "passthrough">>;
2550
+ export declare const mediaUploadResultSchema: z.ZodObject<{
2551
+ data: z.ZodObject<{
2552
+ ingest_id: z.ZodString;
2553
+ target: z.ZodObject<{
2554
+ kind: z.ZodString;
2555
+ media_id: z.ZodOptional<z.ZodString>;
2556
+ handle: z.ZodOptional<z.ZodString>;
2557
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2558
+ kind: z.ZodString;
2559
+ media_id: z.ZodOptional<z.ZodString>;
2560
+ handle: z.ZodOptional<z.ZodString>;
2561
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2562
+ kind: z.ZodString;
2563
+ media_id: z.ZodOptional<z.ZodString>;
2564
+ handle: z.ZodOptional<z.ZodString>;
2565
+ }, z.ZodTypeAny, "passthrough">>;
2566
+ resource: z.ZodObject<{
2567
+ filename: z.ZodString;
2568
+ mime_type: z.ZodString;
2569
+ size_bytes: z.ZodNumber;
2570
+ sha256: z.ZodString;
2571
+ source_url: z.ZodString;
2572
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2573
+ filename: z.ZodString;
2574
+ mime_type: z.ZodString;
2575
+ size_bytes: z.ZodNumber;
2576
+ sha256: z.ZodString;
2577
+ source_url: z.ZodString;
2578
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2579
+ filename: z.ZodString;
2580
+ mime_type: z.ZodString;
2581
+ size_bytes: z.ZodNumber;
2582
+ sha256: z.ZodString;
2583
+ source_url: z.ZodString;
2584
+ }, z.ZodTypeAny, "passthrough">>;
2585
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2586
+ ingest_id: z.ZodString;
2587
+ target: z.ZodObject<{
2588
+ kind: z.ZodString;
2589
+ media_id: z.ZodOptional<z.ZodString>;
2590
+ handle: z.ZodOptional<z.ZodString>;
2591
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2592
+ kind: z.ZodString;
2593
+ media_id: z.ZodOptional<z.ZodString>;
2594
+ handle: z.ZodOptional<z.ZodString>;
2595
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2596
+ kind: z.ZodString;
2597
+ media_id: z.ZodOptional<z.ZodString>;
2598
+ handle: z.ZodOptional<z.ZodString>;
2599
+ }, z.ZodTypeAny, "passthrough">>;
2600
+ resource: z.ZodObject<{
2601
+ filename: z.ZodString;
2602
+ mime_type: z.ZodString;
2603
+ size_bytes: z.ZodNumber;
2604
+ sha256: z.ZodString;
2605
+ source_url: z.ZodString;
2606
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2607
+ filename: z.ZodString;
2608
+ mime_type: z.ZodString;
2609
+ size_bytes: z.ZodNumber;
2610
+ sha256: z.ZodString;
2611
+ source_url: z.ZodString;
2612
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2613
+ filename: z.ZodString;
2614
+ mime_type: z.ZodString;
2615
+ size_bytes: z.ZodNumber;
2616
+ sha256: z.ZodString;
2617
+ source_url: z.ZodString;
2618
+ }, z.ZodTypeAny, "passthrough">>;
2619
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2620
+ ingest_id: z.ZodString;
2621
+ target: z.ZodObject<{
2622
+ kind: z.ZodString;
2623
+ media_id: z.ZodOptional<z.ZodString>;
2624
+ handle: z.ZodOptional<z.ZodString>;
2625
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2626
+ kind: z.ZodString;
2627
+ media_id: z.ZodOptional<z.ZodString>;
2628
+ handle: z.ZodOptional<z.ZodString>;
2629
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2630
+ kind: z.ZodString;
2631
+ media_id: z.ZodOptional<z.ZodString>;
2632
+ handle: z.ZodOptional<z.ZodString>;
2633
+ }, z.ZodTypeAny, "passthrough">>;
2634
+ resource: z.ZodObject<{
2635
+ filename: z.ZodString;
2636
+ mime_type: z.ZodString;
2637
+ size_bytes: z.ZodNumber;
2638
+ sha256: z.ZodString;
2639
+ source_url: z.ZodString;
2640
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2641
+ filename: z.ZodString;
2642
+ mime_type: z.ZodString;
2643
+ size_bytes: z.ZodNumber;
2644
+ sha256: z.ZodString;
2645
+ source_url: z.ZodString;
2646
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2647
+ filename: z.ZodString;
2648
+ mime_type: z.ZodString;
2649
+ size_bytes: z.ZodNumber;
2650
+ sha256: z.ZodString;
2651
+ source_url: z.ZodString;
2652
+ }, z.ZodTypeAny, "passthrough">>;
2653
+ }, z.ZodTypeAny, "passthrough">>;
2654
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2655
+ data: z.ZodObject<{
2656
+ ingest_id: z.ZodString;
2657
+ target: z.ZodObject<{
2658
+ kind: z.ZodString;
2659
+ media_id: z.ZodOptional<z.ZodString>;
2660
+ handle: z.ZodOptional<z.ZodString>;
2661
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2662
+ kind: z.ZodString;
2663
+ media_id: z.ZodOptional<z.ZodString>;
2664
+ handle: z.ZodOptional<z.ZodString>;
2665
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2666
+ kind: z.ZodString;
2667
+ media_id: z.ZodOptional<z.ZodString>;
2668
+ handle: z.ZodOptional<z.ZodString>;
2669
+ }, z.ZodTypeAny, "passthrough">>;
2670
+ resource: z.ZodObject<{
2671
+ filename: z.ZodString;
2672
+ mime_type: z.ZodString;
2673
+ size_bytes: z.ZodNumber;
2674
+ sha256: z.ZodString;
2675
+ source_url: z.ZodString;
2676
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2677
+ filename: z.ZodString;
2678
+ mime_type: z.ZodString;
2679
+ size_bytes: z.ZodNumber;
2680
+ sha256: z.ZodString;
2681
+ source_url: z.ZodString;
2682
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2683
+ filename: z.ZodString;
2684
+ mime_type: z.ZodString;
2685
+ size_bytes: z.ZodNumber;
2686
+ sha256: z.ZodString;
2687
+ source_url: z.ZodString;
2688
+ }, z.ZodTypeAny, "passthrough">>;
2689
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2690
+ ingest_id: z.ZodString;
2691
+ target: z.ZodObject<{
2692
+ kind: z.ZodString;
2693
+ media_id: z.ZodOptional<z.ZodString>;
2694
+ handle: z.ZodOptional<z.ZodString>;
2695
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2696
+ kind: z.ZodString;
2697
+ media_id: z.ZodOptional<z.ZodString>;
2698
+ handle: z.ZodOptional<z.ZodString>;
2699
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2700
+ kind: z.ZodString;
2701
+ media_id: z.ZodOptional<z.ZodString>;
2702
+ handle: z.ZodOptional<z.ZodString>;
2703
+ }, z.ZodTypeAny, "passthrough">>;
2704
+ resource: z.ZodObject<{
2705
+ filename: z.ZodString;
2706
+ mime_type: z.ZodString;
2707
+ size_bytes: z.ZodNumber;
2708
+ sha256: z.ZodString;
2709
+ source_url: z.ZodString;
2710
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2711
+ filename: z.ZodString;
2712
+ mime_type: z.ZodString;
2713
+ size_bytes: z.ZodNumber;
2714
+ sha256: z.ZodString;
2715
+ source_url: z.ZodString;
2716
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2717
+ filename: z.ZodString;
2718
+ mime_type: z.ZodString;
2719
+ size_bytes: z.ZodNumber;
2720
+ sha256: z.ZodString;
2721
+ source_url: z.ZodString;
2722
+ }, z.ZodTypeAny, "passthrough">>;
2723
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2724
+ ingest_id: z.ZodString;
2725
+ target: z.ZodObject<{
2726
+ kind: z.ZodString;
2727
+ media_id: z.ZodOptional<z.ZodString>;
2728
+ handle: z.ZodOptional<z.ZodString>;
2729
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2730
+ kind: z.ZodString;
2731
+ media_id: z.ZodOptional<z.ZodString>;
2732
+ handle: z.ZodOptional<z.ZodString>;
2733
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2734
+ kind: z.ZodString;
2735
+ media_id: z.ZodOptional<z.ZodString>;
2736
+ handle: z.ZodOptional<z.ZodString>;
2737
+ }, z.ZodTypeAny, "passthrough">>;
2738
+ resource: z.ZodObject<{
2739
+ filename: z.ZodString;
2740
+ mime_type: z.ZodString;
2741
+ size_bytes: z.ZodNumber;
2742
+ sha256: z.ZodString;
2743
+ source_url: z.ZodString;
2744
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2745
+ filename: z.ZodString;
2746
+ mime_type: z.ZodString;
2747
+ size_bytes: z.ZodNumber;
2748
+ sha256: z.ZodString;
2749
+ source_url: z.ZodString;
2750
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2751
+ filename: z.ZodString;
2752
+ mime_type: z.ZodString;
2753
+ size_bytes: z.ZodNumber;
2754
+ sha256: z.ZodString;
2755
+ source_url: z.ZodString;
2756
+ }, z.ZodTypeAny, "passthrough">>;
2757
+ }, z.ZodTypeAny, "passthrough">>;
2758
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2759
+ data: z.ZodObject<{
2760
+ ingest_id: z.ZodString;
2761
+ target: z.ZodObject<{
2762
+ kind: z.ZodString;
2763
+ media_id: z.ZodOptional<z.ZodString>;
2764
+ handle: z.ZodOptional<z.ZodString>;
2765
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2766
+ kind: z.ZodString;
2767
+ media_id: z.ZodOptional<z.ZodString>;
2768
+ handle: z.ZodOptional<z.ZodString>;
2769
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2770
+ kind: z.ZodString;
2771
+ media_id: z.ZodOptional<z.ZodString>;
2772
+ handle: z.ZodOptional<z.ZodString>;
2773
+ }, z.ZodTypeAny, "passthrough">>;
2774
+ resource: z.ZodObject<{
2775
+ filename: z.ZodString;
2776
+ mime_type: z.ZodString;
2777
+ size_bytes: z.ZodNumber;
2778
+ sha256: z.ZodString;
2779
+ source_url: z.ZodString;
2780
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2781
+ filename: z.ZodString;
2782
+ mime_type: z.ZodString;
2783
+ size_bytes: z.ZodNumber;
2784
+ sha256: z.ZodString;
2785
+ source_url: z.ZodString;
2786
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2787
+ filename: z.ZodString;
2788
+ mime_type: z.ZodString;
2789
+ size_bytes: z.ZodNumber;
2790
+ sha256: z.ZodString;
2791
+ source_url: z.ZodString;
2792
+ }, z.ZodTypeAny, "passthrough">>;
2793
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2794
+ ingest_id: z.ZodString;
2795
+ target: z.ZodObject<{
2796
+ kind: z.ZodString;
2797
+ media_id: z.ZodOptional<z.ZodString>;
2798
+ handle: z.ZodOptional<z.ZodString>;
2799
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2800
+ kind: z.ZodString;
2801
+ media_id: z.ZodOptional<z.ZodString>;
2802
+ handle: z.ZodOptional<z.ZodString>;
2803
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2804
+ kind: z.ZodString;
2805
+ media_id: z.ZodOptional<z.ZodString>;
2806
+ handle: z.ZodOptional<z.ZodString>;
2807
+ }, z.ZodTypeAny, "passthrough">>;
2808
+ resource: z.ZodObject<{
2809
+ filename: z.ZodString;
2810
+ mime_type: z.ZodString;
2811
+ size_bytes: z.ZodNumber;
2812
+ sha256: z.ZodString;
2813
+ source_url: z.ZodString;
2814
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2815
+ filename: z.ZodString;
2816
+ mime_type: z.ZodString;
2817
+ size_bytes: z.ZodNumber;
2818
+ sha256: z.ZodString;
2819
+ source_url: z.ZodString;
2820
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2821
+ filename: z.ZodString;
2822
+ mime_type: z.ZodString;
2823
+ size_bytes: z.ZodNumber;
2824
+ sha256: z.ZodString;
2825
+ source_url: z.ZodString;
2826
+ }, z.ZodTypeAny, "passthrough">>;
2827
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2828
+ ingest_id: z.ZodString;
2829
+ target: z.ZodObject<{
2830
+ kind: z.ZodString;
2831
+ media_id: z.ZodOptional<z.ZodString>;
2832
+ handle: z.ZodOptional<z.ZodString>;
2833
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2834
+ kind: z.ZodString;
2835
+ media_id: z.ZodOptional<z.ZodString>;
2836
+ handle: z.ZodOptional<z.ZodString>;
2837
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2838
+ kind: z.ZodString;
2839
+ media_id: z.ZodOptional<z.ZodString>;
2840
+ handle: z.ZodOptional<z.ZodString>;
2841
+ }, z.ZodTypeAny, "passthrough">>;
2842
+ resource: z.ZodObject<{
2843
+ filename: z.ZodString;
2844
+ mime_type: z.ZodString;
2845
+ size_bytes: z.ZodNumber;
2846
+ sha256: z.ZodString;
2847
+ source_url: z.ZodString;
2848
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2849
+ filename: z.ZodString;
2850
+ mime_type: z.ZodString;
2851
+ size_bytes: z.ZodNumber;
2852
+ sha256: z.ZodString;
2853
+ source_url: z.ZodString;
2854
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2855
+ filename: z.ZodString;
2856
+ mime_type: z.ZodString;
2857
+ size_bytes: z.ZodNumber;
2858
+ sha256: z.ZodString;
2859
+ source_url: z.ZodString;
2860
+ }, z.ZodTypeAny, "passthrough">>;
2861
+ }, z.ZodTypeAny, "passthrough">>;
2862
+ }, z.ZodTypeAny, "passthrough">>;
2863
+ export declare const apiLogSchema: z.ZodObject<{
2864
+ id: z.ZodString;
2865
+ source: z.ZodString;
2866
+ method: z.ZodString;
2867
+ path: z.ZodString;
2868
+ status_code: z.ZodNullable<z.ZodNumber>;
2869
+ error_code: z.ZodNullable<z.ZodString>;
2870
+ api_key_id: z.ZodNullable<z.ZodString>;
2871
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2872
+ created_at: z.ZodString;
2873
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2874
+ id: z.ZodString;
2875
+ source: z.ZodString;
2876
+ method: z.ZodString;
2877
+ path: z.ZodString;
2878
+ status_code: z.ZodNullable<z.ZodNumber>;
2879
+ error_code: z.ZodNullable<z.ZodString>;
2880
+ api_key_id: z.ZodNullable<z.ZodString>;
2881
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2882
+ created_at: z.ZodString;
2883
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2884
+ id: z.ZodString;
2885
+ source: z.ZodString;
2886
+ method: z.ZodString;
2887
+ path: z.ZodString;
2888
+ status_code: z.ZodNullable<z.ZodNumber>;
2889
+ error_code: z.ZodNullable<z.ZodString>;
2890
+ api_key_id: z.ZodNullable<z.ZodString>;
2891
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2892
+ created_at: z.ZodString;
2893
+ }, z.ZodTypeAny, "passthrough">>;
2894
+ export declare const listApiLogsResultSchema: z.ZodObject<{
2895
+ data: z.ZodArray<z.ZodObject<{
2896
+ id: z.ZodString;
2897
+ source: z.ZodString;
2898
+ method: z.ZodString;
2899
+ path: z.ZodString;
2900
+ status_code: z.ZodNullable<z.ZodNumber>;
2901
+ error_code: z.ZodNullable<z.ZodString>;
2902
+ api_key_id: z.ZodNullable<z.ZodString>;
2903
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2904
+ created_at: z.ZodString;
2905
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2906
+ id: z.ZodString;
2907
+ source: z.ZodString;
2908
+ method: z.ZodString;
2909
+ path: z.ZodString;
2910
+ status_code: z.ZodNullable<z.ZodNumber>;
2911
+ error_code: z.ZodNullable<z.ZodString>;
2912
+ api_key_id: z.ZodNullable<z.ZodString>;
2913
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2914
+ created_at: z.ZodString;
2915
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2916
+ id: z.ZodString;
2917
+ source: z.ZodString;
2918
+ method: z.ZodString;
2919
+ path: z.ZodString;
2920
+ status_code: z.ZodNullable<z.ZodNumber>;
2921
+ error_code: z.ZodNullable<z.ZodString>;
2922
+ api_key_id: z.ZodNullable<z.ZodString>;
2923
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2924
+ created_at: z.ZodString;
2925
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2926
+ paging: z.ZodObject<{
2927
+ cursors: z.ZodObject<{
2928
+ before: z.ZodNullable<z.ZodString>;
2929
+ after: z.ZodNullable<z.ZodString>;
2930
+ }, "strip", z.ZodTypeAny, {
2931
+ after: string | null;
2932
+ before: string | null;
2933
+ }, {
2934
+ after: string | null;
2935
+ before: string | null;
2936
+ }>;
2937
+ next: z.ZodNullable<z.ZodString>;
2938
+ previous: z.ZodNullable<z.ZodString>;
2939
+ }, "strict", z.ZodTypeAny, {
2940
+ cursors: {
2941
+ after: string | null;
2942
+ before: string | null;
2943
+ };
2944
+ next: string | null;
2945
+ previous: string | null;
2946
+ }, {
2947
+ cursors: {
2948
+ after: string | null;
2949
+ before: string | null;
2950
+ };
2951
+ next: string | null;
2952
+ previous: string | null;
2953
+ }>;
2954
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2955
+ data: z.ZodArray<z.ZodObject<{
2956
+ id: z.ZodString;
2957
+ source: z.ZodString;
2958
+ method: z.ZodString;
2959
+ path: z.ZodString;
2960
+ status_code: z.ZodNullable<z.ZodNumber>;
2961
+ error_code: z.ZodNullable<z.ZodString>;
2962
+ api_key_id: z.ZodNullable<z.ZodString>;
2963
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2964
+ created_at: z.ZodString;
2965
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2966
+ id: z.ZodString;
2967
+ source: z.ZodString;
2968
+ method: z.ZodString;
2969
+ path: z.ZodString;
2970
+ status_code: z.ZodNullable<z.ZodNumber>;
2971
+ error_code: z.ZodNullable<z.ZodString>;
2972
+ api_key_id: z.ZodNullable<z.ZodString>;
2973
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2974
+ created_at: z.ZodString;
2975
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2976
+ id: z.ZodString;
2977
+ source: z.ZodString;
2978
+ method: z.ZodString;
2979
+ path: z.ZodString;
2980
+ status_code: z.ZodNullable<z.ZodNumber>;
2981
+ error_code: z.ZodNullable<z.ZodString>;
2982
+ api_key_id: z.ZodNullable<z.ZodString>;
2983
+ duration_ms: z.ZodNullable<z.ZodNumber>;
2984
+ created_at: z.ZodString;
2985
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2986
+ paging: z.ZodObject<{
2987
+ cursors: z.ZodObject<{
2988
+ before: z.ZodNullable<z.ZodString>;
2989
+ after: z.ZodNullable<z.ZodString>;
2990
+ }, "strip", z.ZodTypeAny, {
2991
+ after: string | null;
2992
+ before: string | null;
2993
+ }, {
2994
+ after: string | null;
2995
+ before: string | null;
2996
+ }>;
2997
+ next: z.ZodNullable<z.ZodString>;
2998
+ previous: z.ZodNullable<z.ZodString>;
2999
+ }, "strict", z.ZodTypeAny, {
3000
+ cursors: {
3001
+ after: string | null;
3002
+ before: string | null;
3003
+ };
3004
+ next: string | null;
3005
+ previous: string | null;
3006
+ }, {
3007
+ cursors: {
3008
+ after: string | null;
3009
+ before: string | null;
3010
+ };
3011
+ next: string | null;
3012
+ previous: string | null;
3013
+ }>;
3014
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3015
+ data: z.ZodArray<z.ZodObject<{
3016
+ id: z.ZodString;
3017
+ source: z.ZodString;
3018
+ method: z.ZodString;
3019
+ path: z.ZodString;
3020
+ status_code: z.ZodNullable<z.ZodNumber>;
3021
+ error_code: z.ZodNullable<z.ZodString>;
3022
+ api_key_id: z.ZodNullable<z.ZodString>;
3023
+ duration_ms: z.ZodNullable<z.ZodNumber>;
3024
+ created_at: z.ZodString;
3025
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3026
+ id: z.ZodString;
3027
+ source: z.ZodString;
3028
+ method: z.ZodString;
3029
+ path: z.ZodString;
3030
+ status_code: z.ZodNullable<z.ZodNumber>;
3031
+ error_code: z.ZodNullable<z.ZodString>;
3032
+ api_key_id: z.ZodNullable<z.ZodString>;
3033
+ duration_ms: z.ZodNullable<z.ZodNumber>;
3034
+ created_at: z.ZodString;
3035
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3036
+ id: z.ZodString;
3037
+ source: z.ZodString;
3038
+ method: z.ZodString;
3039
+ path: z.ZodString;
3040
+ status_code: z.ZodNullable<z.ZodNumber>;
3041
+ error_code: z.ZodNullable<z.ZodString>;
3042
+ api_key_id: z.ZodNullable<z.ZodString>;
3043
+ duration_ms: z.ZodNullable<z.ZodNumber>;
3044
+ created_at: z.ZodString;
3045
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3046
+ paging: z.ZodObject<{
3047
+ cursors: z.ZodObject<{
3048
+ before: z.ZodNullable<z.ZodString>;
3049
+ after: z.ZodNullable<z.ZodString>;
3050
+ }, "strip", z.ZodTypeAny, {
3051
+ after: string | null;
3052
+ before: string | null;
3053
+ }, {
3054
+ after: string | null;
3055
+ before: string | null;
3056
+ }>;
3057
+ next: z.ZodNullable<z.ZodString>;
3058
+ previous: z.ZodNullable<z.ZodString>;
3059
+ }, "strict", z.ZodTypeAny, {
3060
+ cursors: {
3061
+ after: string | null;
3062
+ before: string | null;
3063
+ };
3064
+ next: string | null;
3065
+ previous: string | null;
3066
+ }, {
3067
+ cursors: {
3068
+ after: string | null;
3069
+ before: string | null;
3070
+ };
3071
+ next: string | null;
3072
+ previous: string | null;
3073
+ }>;
3074
+ }, z.ZodTypeAny, "passthrough">>;
3075
+ export declare const userSchema: z.ZodObject<{
3076
+ id: z.ZodString;
3077
+ user_id: z.ZodString;
3078
+ email: z.ZodNullable<z.ZodString>;
3079
+ name: z.ZodNullable<z.ZodString>;
3080
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3081
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3082
+ id: z.ZodString;
3083
+ user_id: z.ZodString;
3084
+ email: z.ZodNullable<z.ZodString>;
3085
+ name: z.ZodNullable<z.ZodString>;
3086
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3087
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3088
+ id: z.ZodString;
3089
+ user_id: z.ZodString;
3090
+ email: z.ZodNullable<z.ZodString>;
3091
+ name: z.ZodNullable<z.ZodString>;
3092
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3093
+ }, z.ZodTypeAny, "passthrough">>;
3094
+ export declare const listUsersResultSchema: z.ZodObject<{
3095
+ data: z.ZodArray<z.ZodObject<{
3096
+ id: z.ZodString;
3097
+ user_id: z.ZodString;
3098
+ email: z.ZodNullable<z.ZodString>;
3099
+ name: z.ZodNullable<z.ZodString>;
3100
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3101
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3102
+ id: z.ZodString;
3103
+ user_id: z.ZodString;
3104
+ email: z.ZodNullable<z.ZodString>;
3105
+ name: z.ZodNullable<z.ZodString>;
3106
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3107
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3108
+ id: z.ZodString;
3109
+ user_id: z.ZodString;
3110
+ email: z.ZodNullable<z.ZodString>;
3111
+ name: z.ZodNullable<z.ZodString>;
3112
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3113
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3114
+ meta: z.ZodObject<{
3115
+ page: z.ZodNumber;
3116
+ per_page: z.ZodNumber;
3117
+ total_pages: z.ZodNumber;
3118
+ total_count: z.ZodNumber;
3119
+ }, "strict", z.ZodTypeAny, {
3120
+ page: number;
3121
+ per_page: number;
3122
+ total_pages: number;
3123
+ total_count: number;
3124
+ }, {
3125
+ page: number;
3126
+ per_page: number;
3127
+ total_pages: number;
3128
+ total_count: number;
3129
+ }>;
3130
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3131
+ data: z.ZodArray<z.ZodObject<{
3132
+ id: z.ZodString;
3133
+ user_id: z.ZodString;
3134
+ email: z.ZodNullable<z.ZodString>;
3135
+ name: z.ZodNullable<z.ZodString>;
3136
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3137
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3138
+ id: z.ZodString;
3139
+ user_id: z.ZodString;
3140
+ email: z.ZodNullable<z.ZodString>;
3141
+ name: z.ZodNullable<z.ZodString>;
3142
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3143
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3144
+ id: z.ZodString;
3145
+ user_id: z.ZodString;
3146
+ email: z.ZodNullable<z.ZodString>;
3147
+ name: z.ZodNullable<z.ZodString>;
3148
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3149
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3150
+ meta: z.ZodObject<{
3151
+ page: z.ZodNumber;
3152
+ per_page: z.ZodNumber;
3153
+ total_pages: z.ZodNumber;
3154
+ total_count: z.ZodNumber;
3155
+ }, "strict", z.ZodTypeAny, {
3156
+ page: number;
3157
+ per_page: number;
3158
+ total_pages: number;
3159
+ total_count: number;
3160
+ }, {
3161
+ page: number;
3162
+ per_page: number;
3163
+ total_pages: number;
3164
+ total_count: number;
3165
+ }>;
3166
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3167
+ data: z.ZodArray<z.ZodObject<{
3168
+ id: z.ZodString;
3169
+ user_id: z.ZodString;
3170
+ email: z.ZodNullable<z.ZodString>;
3171
+ name: z.ZodNullable<z.ZodString>;
3172
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3173
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3174
+ id: z.ZodString;
3175
+ user_id: z.ZodString;
3176
+ email: z.ZodNullable<z.ZodString>;
3177
+ name: z.ZodNullable<z.ZodString>;
3178
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3179
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3180
+ id: z.ZodString;
3181
+ user_id: z.ZodString;
3182
+ email: z.ZodNullable<z.ZodString>;
3183
+ name: z.ZodNullable<z.ZodString>;
3184
+ role: z.ZodEnum<["owner", "admin", "member"]>;
3185
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3186
+ meta: z.ZodObject<{
3187
+ page: z.ZodNumber;
3188
+ per_page: z.ZodNumber;
3189
+ total_pages: z.ZodNumber;
3190
+ total_count: z.ZodNumber;
3191
+ }, "strict", z.ZodTypeAny, {
3192
+ page: number;
3193
+ per_page: number;
3194
+ total_pages: number;
3195
+ total_count: number;
3196
+ }, {
3197
+ page: number;
3198
+ per_page: number;
3199
+ total_pages: number;
3200
+ total_count: number;
3201
+ }>;
3202
+ }, z.ZodTypeAny, "passthrough">>;
3203
+ export declare const webhookSchema: z.ZodObject<{
3204
+ id: z.ZodString;
3205
+ url: z.ZodString;
3206
+ events: z.ZodArray<z.ZodString, "many">;
3207
+ active: z.ZodBoolean;
3208
+ secret: z.ZodOptional<z.ZodString>;
3209
+ created_at: z.ZodString;
3210
+ updated_at: z.ZodString;
3211
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3212
+ id: z.ZodString;
3213
+ url: z.ZodString;
3214
+ events: z.ZodArray<z.ZodString, "many">;
3215
+ active: z.ZodBoolean;
3216
+ secret: z.ZodOptional<z.ZodString>;
3217
+ created_at: z.ZodString;
3218
+ updated_at: z.ZodString;
3219
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3220
+ id: z.ZodString;
3221
+ url: z.ZodString;
3222
+ events: z.ZodArray<z.ZodString, "many">;
3223
+ active: z.ZodBoolean;
3224
+ secret: z.ZodOptional<z.ZodString>;
3225
+ created_at: z.ZodString;
3226
+ updated_at: z.ZodString;
3227
+ }, z.ZodTypeAny, "passthrough">>;
3228
+ export declare const listWebhooksResultSchema: z.ZodObject<{
3229
+ data: z.ZodArray<z.ZodObject<{
3230
+ id: z.ZodString;
3231
+ url: z.ZodString;
3232
+ events: z.ZodArray<z.ZodString, "many">;
3233
+ active: z.ZodBoolean;
3234
+ secret: z.ZodOptional<z.ZodString>;
3235
+ created_at: z.ZodString;
3236
+ updated_at: z.ZodString;
3237
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3238
+ id: z.ZodString;
3239
+ url: z.ZodString;
3240
+ events: z.ZodArray<z.ZodString, "many">;
3241
+ active: z.ZodBoolean;
3242
+ secret: z.ZodOptional<z.ZodString>;
3243
+ created_at: z.ZodString;
3244
+ updated_at: z.ZodString;
3245
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3246
+ id: z.ZodString;
3247
+ url: z.ZodString;
3248
+ events: z.ZodArray<z.ZodString, "many">;
3249
+ active: z.ZodBoolean;
3250
+ secret: z.ZodOptional<z.ZodString>;
3251
+ created_at: z.ZodString;
3252
+ updated_at: z.ZodString;
3253
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3254
+ paging: z.ZodObject<{
3255
+ cursors: z.ZodObject<{
3256
+ before: z.ZodNullable<z.ZodString>;
3257
+ after: z.ZodNullable<z.ZodString>;
3258
+ }, "strip", z.ZodTypeAny, {
3259
+ after: string | null;
3260
+ before: string | null;
3261
+ }, {
3262
+ after: string | null;
3263
+ before: string | null;
3264
+ }>;
3265
+ next: z.ZodNullable<z.ZodString>;
3266
+ previous: z.ZodNullable<z.ZodString>;
3267
+ }, "strict", z.ZodTypeAny, {
3268
+ cursors: {
3269
+ after: string | null;
3270
+ before: string | null;
3271
+ };
3272
+ next: string | null;
3273
+ previous: string | null;
3274
+ }, {
3275
+ cursors: {
3276
+ after: string | null;
3277
+ before: string | null;
3278
+ };
3279
+ next: string | null;
3280
+ previous: string | null;
3281
+ }>;
3282
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3283
+ data: z.ZodArray<z.ZodObject<{
3284
+ id: z.ZodString;
3285
+ url: z.ZodString;
3286
+ events: z.ZodArray<z.ZodString, "many">;
3287
+ active: z.ZodBoolean;
3288
+ secret: z.ZodOptional<z.ZodString>;
3289
+ created_at: z.ZodString;
3290
+ updated_at: z.ZodString;
3291
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3292
+ id: z.ZodString;
3293
+ url: z.ZodString;
3294
+ events: z.ZodArray<z.ZodString, "many">;
3295
+ active: z.ZodBoolean;
3296
+ secret: z.ZodOptional<z.ZodString>;
3297
+ created_at: z.ZodString;
3298
+ updated_at: z.ZodString;
3299
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3300
+ id: z.ZodString;
3301
+ url: z.ZodString;
3302
+ events: z.ZodArray<z.ZodString, "many">;
3303
+ active: z.ZodBoolean;
3304
+ secret: z.ZodOptional<z.ZodString>;
3305
+ created_at: z.ZodString;
3306
+ updated_at: z.ZodString;
3307
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3308
+ paging: z.ZodObject<{
3309
+ cursors: z.ZodObject<{
3310
+ before: z.ZodNullable<z.ZodString>;
3311
+ after: z.ZodNullable<z.ZodString>;
3312
+ }, "strip", z.ZodTypeAny, {
3313
+ after: string | null;
3314
+ before: string | null;
3315
+ }, {
3316
+ after: string | null;
3317
+ before: string | null;
3318
+ }>;
3319
+ next: z.ZodNullable<z.ZodString>;
3320
+ previous: z.ZodNullable<z.ZodString>;
3321
+ }, "strict", z.ZodTypeAny, {
3322
+ cursors: {
3323
+ after: string | null;
3324
+ before: string | null;
3325
+ };
3326
+ next: string | null;
3327
+ previous: string | null;
3328
+ }, {
3329
+ cursors: {
3330
+ after: string | null;
3331
+ before: string | null;
3332
+ };
3333
+ next: string | null;
3334
+ previous: string | null;
3335
+ }>;
3336
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3337
+ data: z.ZodArray<z.ZodObject<{
3338
+ id: z.ZodString;
3339
+ url: z.ZodString;
3340
+ events: z.ZodArray<z.ZodString, "many">;
3341
+ active: z.ZodBoolean;
3342
+ secret: z.ZodOptional<z.ZodString>;
3343
+ created_at: z.ZodString;
3344
+ updated_at: z.ZodString;
3345
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3346
+ id: z.ZodString;
3347
+ url: z.ZodString;
3348
+ events: z.ZodArray<z.ZodString, "many">;
3349
+ active: z.ZodBoolean;
3350
+ secret: z.ZodOptional<z.ZodString>;
3351
+ created_at: z.ZodString;
3352
+ updated_at: z.ZodString;
3353
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3354
+ id: z.ZodString;
3355
+ url: z.ZodString;
3356
+ events: z.ZodArray<z.ZodString, "many">;
3357
+ active: z.ZodBoolean;
3358
+ secret: z.ZodOptional<z.ZodString>;
3359
+ created_at: z.ZodString;
3360
+ updated_at: z.ZodString;
3361
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3362
+ paging: z.ZodObject<{
3363
+ cursors: z.ZodObject<{
3364
+ before: z.ZodNullable<z.ZodString>;
3365
+ after: z.ZodNullable<z.ZodString>;
3366
+ }, "strip", z.ZodTypeAny, {
3367
+ after: string | null;
3368
+ before: string | null;
3369
+ }, {
3370
+ after: string | null;
3371
+ before: string | null;
3372
+ }>;
3373
+ next: z.ZodNullable<z.ZodString>;
3374
+ previous: z.ZodNullable<z.ZodString>;
3375
+ }, "strict", z.ZodTypeAny, {
3376
+ cursors: {
3377
+ after: string | null;
3378
+ before: string | null;
3379
+ };
3380
+ next: string | null;
3381
+ previous: string | null;
3382
+ }, {
3383
+ cursors: {
3384
+ after: string | null;
3385
+ before: string | null;
3386
+ };
3387
+ next: string | null;
3388
+ previous: string | null;
3389
+ }>;
3390
+ }, z.ZodTypeAny, "passthrough">>;
3391
+ export declare const webhookResultSchema: z.ZodObject<{
3392
+ data: z.ZodObject<{
3393
+ id: z.ZodString;
3394
+ url: z.ZodString;
3395
+ events: z.ZodArray<z.ZodString, "many">;
3396
+ active: z.ZodBoolean;
3397
+ secret: z.ZodOptional<z.ZodString>;
3398
+ created_at: z.ZodString;
3399
+ updated_at: z.ZodString;
3400
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3401
+ id: z.ZodString;
3402
+ url: z.ZodString;
3403
+ events: z.ZodArray<z.ZodString, "many">;
3404
+ active: z.ZodBoolean;
3405
+ secret: z.ZodOptional<z.ZodString>;
3406
+ created_at: z.ZodString;
3407
+ updated_at: z.ZodString;
3408
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3409
+ id: z.ZodString;
3410
+ url: z.ZodString;
3411
+ events: z.ZodArray<z.ZodString, "many">;
3412
+ active: z.ZodBoolean;
3413
+ secret: z.ZodOptional<z.ZodString>;
3414
+ created_at: z.ZodString;
3415
+ updated_at: z.ZodString;
3416
+ }, z.ZodTypeAny, "passthrough">>;
3417
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3418
+ data: z.ZodObject<{
3419
+ id: z.ZodString;
3420
+ url: z.ZodString;
3421
+ events: z.ZodArray<z.ZodString, "many">;
3422
+ active: z.ZodBoolean;
3423
+ secret: z.ZodOptional<z.ZodString>;
3424
+ created_at: z.ZodString;
3425
+ updated_at: z.ZodString;
3426
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3427
+ id: z.ZodString;
3428
+ url: z.ZodString;
3429
+ events: z.ZodArray<z.ZodString, "many">;
3430
+ active: z.ZodBoolean;
3431
+ secret: z.ZodOptional<z.ZodString>;
3432
+ created_at: z.ZodString;
3433
+ updated_at: z.ZodString;
3434
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3435
+ id: z.ZodString;
3436
+ url: z.ZodString;
3437
+ events: z.ZodArray<z.ZodString, "many">;
3438
+ active: z.ZodBoolean;
3439
+ secret: z.ZodOptional<z.ZodString>;
3440
+ created_at: z.ZodString;
3441
+ updated_at: z.ZodString;
3442
+ }, z.ZodTypeAny, "passthrough">>;
3443
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3444
+ data: z.ZodObject<{
3445
+ id: z.ZodString;
3446
+ url: z.ZodString;
3447
+ events: z.ZodArray<z.ZodString, "many">;
3448
+ active: z.ZodBoolean;
3449
+ secret: z.ZodOptional<z.ZodString>;
3450
+ created_at: z.ZodString;
3451
+ updated_at: z.ZodString;
3452
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3453
+ id: z.ZodString;
3454
+ url: z.ZodString;
3455
+ events: z.ZodArray<z.ZodString, "many">;
3456
+ active: z.ZodBoolean;
3457
+ secret: z.ZodOptional<z.ZodString>;
3458
+ created_at: z.ZodString;
3459
+ updated_at: z.ZodString;
3460
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3461
+ id: z.ZodString;
3462
+ url: z.ZodString;
3463
+ events: z.ZodArray<z.ZodString, "many">;
3464
+ active: z.ZodBoolean;
3465
+ secret: z.ZodOptional<z.ZodString>;
3466
+ created_at: z.ZodString;
3467
+ updated_at: z.ZodString;
3468
+ }, z.ZodTypeAny, "passthrough">>;
3469
+ }, z.ZodTypeAny, "passthrough">>;
3470
+ export declare const webhookTestResultSchema: z.ZodObject<{
3471
+ data: z.ZodObject<{
3472
+ success: z.ZodBoolean;
3473
+ }, "strict", z.ZodTypeAny, {
3474
+ success: boolean;
3475
+ }, {
3476
+ success: boolean;
3477
+ }>;
3478
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3479
+ data: z.ZodObject<{
3480
+ success: z.ZodBoolean;
3481
+ }, "strict", z.ZodTypeAny, {
3482
+ success: boolean;
3483
+ }, {
3484
+ success: boolean;
3485
+ }>;
3486
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3487
+ data: z.ZodObject<{
3488
+ success: z.ZodBoolean;
3489
+ }, "strict", z.ZodTypeAny, {
3490
+ success: boolean;
3491
+ }, {
3492
+ success: boolean;
3493
+ }>;
3494
+ }, z.ZodTypeAny, "passthrough">>;
3495
+ export declare const webhookDeliverySchema: z.ZodObject<{
3496
+ id: z.ZodString;
3497
+ endpoint_id: z.ZodString;
3498
+ event_type: z.ZodString;
3499
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3500
+ response_code: z.ZodNullable<z.ZodNumber>;
3501
+ attempts: z.ZodNumber;
3502
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3503
+ next_retry_at: z.ZodNullable<z.ZodString>;
3504
+ created_at: z.ZodString;
3505
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3506
+ id: z.ZodString;
3507
+ endpoint_id: z.ZodString;
3508
+ event_type: z.ZodString;
3509
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3510
+ response_code: z.ZodNullable<z.ZodNumber>;
3511
+ attempts: z.ZodNumber;
3512
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3513
+ next_retry_at: z.ZodNullable<z.ZodString>;
3514
+ created_at: z.ZodString;
3515
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3516
+ id: z.ZodString;
3517
+ endpoint_id: z.ZodString;
3518
+ event_type: z.ZodString;
3519
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3520
+ response_code: z.ZodNullable<z.ZodNumber>;
3521
+ attempts: z.ZodNumber;
3522
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3523
+ next_retry_at: z.ZodNullable<z.ZodString>;
3524
+ created_at: z.ZodString;
3525
+ }, z.ZodTypeAny, "passthrough">>;
3526
+ export declare const listWebhookDeliveriesResultSchema: z.ZodObject<{
3527
+ data: z.ZodArray<z.ZodObject<{
3528
+ id: z.ZodString;
3529
+ endpoint_id: z.ZodString;
3530
+ event_type: z.ZodString;
3531
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3532
+ response_code: z.ZodNullable<z.ZodNumber>;
3533
+ attempts: z.ZodNumber;
3534
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3535
+ next_retry_at: z.ZodNullable<z.ZodString>;
3536
+ created_at: z.ZodString;
3537
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3538
+ id: z.ZodString;
3539
+ endpoint_id: z.ZodString;
3540
+ event_type: z.ZodString;
3541
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3542
+ response_code: z.ZodNullable<z.ZodNumber>;
3543
+ attempts: z.ZodNumber;
3544
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3545
+ next_retry_at: z.ZodNullable<z.ZodString>;
3546
+ created_at: z.ZodString;
3547
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3548
+ id: z.ZodString;
3549
+ endpoint_id: z.ZodString;
3550
+ event_type: z.ZodString;
3551
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3552
+ response_code: z.ZodNullable<z.ZodNumber>;
3553
+ attempts: z.ZodNumber;
3554
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3555
+ next_retry_at: z.ZodNullable<z.ZodString>;
3556
+ created_at: z.ZodString;
3557
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3558
+ paging: z.ZodObject<{
3559
+ cursors: z.ZodObject<{
3560
+ before: z.ZodNullable<z.ZodString>;
3561
+ after: z.ZodNullable<z.ZodString>;
3562
+ }, "strip", z.ZodTypeAny, {
3563
+ after: string | null;
3564
+ before: string | null;
3565
+ }, {
3566
+ after: string | null;
3567
+ before: string | null;
3568
+ }>;
3569
+ next: z.ZodNullable<z.ZodString>;
3570
+ previous: z.ZodNullable<z.ZodString>;
3571
+ }, "strict", z.ZodTypeAny, {
3572
+ cursors: {
3573
+ after: string | null;
3574
+ before: string | null;
3575
+ };
3576
+ next: string | null;
3577
+ previous: string | null;
3578
+ }, {
3579
+ cursors: {
3580
+ after: string | null;
3581
+ before: string | null;
3582
+ };
3583
+ next: string | null;
3584
+ previous: string | null;
3585
+ }>;
3586
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3587
+ data: z.ZodArray<z.ZodObject<{
3588
+ id: z.ZodString;
3589
+ endpoint_id: z.ZodString;
3590
+ event_type: z.ZodString;
3591
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3592
+ response_code: z.ZodNullable<z.ZodNumber>;
3593
+ attempts: z.ZodNumber;
3594
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3595
+ next_retry_at: z.ZodNullable<z.ZodString>;
3596
+ created_at: z.ZodString;
3597
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3598
+ id: z.ZodString;
3599
+ endpoint_id: z.ZodString;
3600
+ event_type: z.ZodString;
3601
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3602
+ response_code: z.ZodNullable<z.ZodNumber>;
3603
+ attempts: z.ZodNumber;
3604
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3605
+ next_retry_at: z.ZodNullable<z.ZodString>;
3606
+ created_at: z.ZodString;
3607
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3608
+ id: z.ZodString;
3609
+ endpoint_id: z.ZodString;
3610
+ event_type: z.ZodString;
3611
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3612
+ response_code: z.ZodNullable<z.ZodNumber>;
3613
+ attempts: z.ZodNumber;
3614
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3615
+ next_retry_at: z.ZodNullable<z.ZodString>;
3616
+ created_at: z.ZodString;
3617
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3618
+ paging: z.ZodObject<{
3619
+ cursors: z.ZodObject<{
3620
+ before: z.ZodNullable<z.ZodString>;
3621
+ after: z.ZodNullable<z.ZodString>;
3622
+ }, "strip", z.ZodTypeAny, {
3623
+ after: string | null;
3624
+ before: string | null;
3625
+ }, {
3626
+ after: string | null;
3627
+ before: string | null;
3628
+ }>;
3629
+ next: z.ZodNullable<z.ZodString>;
3630
+ previous: z.ZodNullable<z.ZodString>;
3631
+ }, "strict", z.ZodTypeAny, {
3632
+ cursors: {
3633
+ after: string | null;
3634
+ before: string | null;
3635
+ };
3636
+ next: string | null;
3637
+ previous: string | null;
3638
+ }, {
3639
+ cursors: {
3640
+ after: string | null;
3641
+ before: string | null;
3642
+ };
3643
+ next: string | null;
3644
+ previous: string | null;
3645
+ }>;
3646
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3647
+ data: z.ZodArray<z.ZodObject<{
3648
+ id: z.ZodString;
3649
+ endpoint_id: z.ZodString;
3650
+ event_type: z.ZodString;
3651
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3652
+ response_code: z.ZodNullable<z.ZodNumber>;
3653
+ attempts: z.ZodNumber;
3654
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3655
+ next_retry_at: z.ZodNullable<z.ZodString>;
3656
+ created_at: z.ZodString;
3657
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3658
+ id: z.ZodString;
3659
+ endpoint_id: z.ZodString;
3660
+ event_type: z.ZodString;
3661
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3662
+ response_code: z.ZodNullable<z.ZodNumber>;
3663
+ attempts: z.ZodNumber;
3664
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3665
+ next_retry_at: z.ZodNullable<z.ZodString>;
3666
+ created_at: z.ZodString;
3667
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3668
+ id: z.ZodString;
3669
+ endpoint_id: z.ZodString;
3670
+ event_type: z.ZodString;
3671
+ status: z.ZodEnum<["pending", "success", "failed", "exhausted"]>;
3672
+ response_code: z.ZodNullable<z.ZodNumber>;
3673
+ attempts: z.ZodNumber;
3674
+ last_attempt_at: z.ZodNullable<z.ZodString>;
3675
+ next_retry_at: z.ZodNullable<z.ZodString>;
3676
+ created_at: z.ZodString;
3677
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3678
+ paging: z.ZodObject<{
3679
+ cursors: z.ZodObject<{
3680
+ before: z.ZodNullable<z.ZodString>;
3681
+ after: z.ZodNullable<z.ZodString>;
3682
+ }, "strip", z.ZodTypeAny, {
3683
+ after: string | null;
3684
+ before: string | null;
3685
+ }, {
3686
+ after: string | null;
3687
+ before: string | null;
3688
+ }>;
3689
+ next: z.ZodNullable<z.ZodString>;
3690
+ previous: z.ZodNullable<z.ZodString>;
3691
+ }, "strict", z.ZodTypeAny, {
3692
+ cursors: {
3693
+ after: string | null;
3694
+ before: string | null;
3695
+ };
3696
+ next: string | null;
3697
+ previous: string | null;
3698
+ }, {
3699
+ cursors: {
3700
+ after: string | null;
3701
+ before: string | null;
3702
+ };
3703
+ next: string | null;
3704
+ previous: string | null;
3705
+ }>;
3706
+ }, z.ZodTypeAny, "passthrough">>;
3707
+ export declare const phoneNumberSchema: z.ZodObject<{
3708
+ id: z.ZodString;
3709
+ phone_number_id: z.ZodString;
3710
+ display_phone_number: z.ZodNullable<z.ZodString>;
3711
+ verified_name: z.ZodNullable<z.ZodString>;
3712
+ quality_rating: z.ZodString;
3713
+ type: z.ZodNullable<z.ZodString>;
3714
+ waba_connection_id: z.ZodString;
3715
+ customer_id: z.ZodNullable<z.ZodString>;
3716
+ waba_id: z.ZodNullable<z.ZodString>;
3717
+ connection_status: z.ZodNullable<z.ZodString>;
3718
+ token_status: z.ZodNullable<z.ZodString>;
3719
+ created_at: z.ZodString;
3720
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3721
+ id: z.ZodString;
3722
+ phone_number_id: z.ZodString;
3723
+ display_phone_number: z.ZodNullable<z.ZodString>;
3724
+ verified_name: z.ZodNullable<z.ZodString>;
3725
+ quality_rating: z.ZodString;
3726
+ type: z.ZodNullable<z.ZodString>;
3727
+ waba_connection_id: z.ZodString;
3728
+ customer_id: z.ZodNullable<z.ZodString>;
3729
+ waba_id: z.ZodNullable<z.ZodString>;
3730
+ connection_status: z.ZodNullable<z.ZodString>;
3731
+ token_status: z.ZodNullable<z.ZodString>;
3732
+ created_at: z.ZodString;
3733
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3734
+ id: z.ZodString;
3735
+ phone_number_id: z.ZodString;
3736
+ display_phone_number: z.ZodNullable<z.ZodString>;
3737
+ verified_name: z.ZodNullable<z.ZodString>;
3738
+ quality_rating: z.ZodString;
3739
+ type: z.ZodNullable<z.ZodString>;
3740
+ waba_connection_id: z.ZodString;
3741
+ customer_id: z.ZodNullable<z.ZodString>;
3742
+ waba_id: z.ZodNullable<z.ZodString>;
3743
+ connection_status: z.ZodNullable<z.ZodString>;
3744
+ token_status: z.ZodNullable<z.ZodString>;
3745
+ created_at: z.ZodString;
3746
+ }, z.ZodTypeAny, "passthrough">>;
3747
+ export declare const listPhoneNumbersResultSchema: z.ZodObject<{
3748
+ data: z.ZodArray<z.ZodObject<{
3749
+ id: z.ZodString;
3750
+ phone_number_id: z.ZodString;
3751
+ display_phone_number: z.ZodNullable<z.ZodString>;
3752
+ verified_name: z.ZodNullable<z.ZodString>;
3753
+ quality_rating: z.ZodString;
3754
+ type: z.ZodNullable<z.ZodString>;
3755
+ waba_connection_id: z.ZodString;
3756
+ customer_id: z.ZodNullable<z.ZodString>;
3757
+ waba_id: z.ZodNullable<z.ZodString>;
3758
+ connection_status: z.ZodNullable<z.ZodString>;
3759
+ token_status: z.ZodNullable<z.ZodString>;
3760
+ created_at: z.ZodString;
3761
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3762
+ id: z.ZodString;
3763
+ phone_number_id: z.ZodString;
3764
+ display_phone_number: z.ZodNullable<z.ZodString>;
3765
+ verified_name: z.ZodNullable<z.ZodString>;
3766
+ quality_rating: z.ZodString;
3767
+ type: z.ZodNullable<z.ZodString>;
3768
+ waba_connection_id: z.ZodString;
3769
+ customer_id: z.ZodNullable<z.ZodString>;
3770
+ waba_id: z.ZodNullable<z.ZodString>;
3771
+ connection_status: z.ZodNullable<z.ZodString>;
3772
+ token_status: z.ZodNullable<z.ZodString>;
3773
+ created_at: z.ZodString;
3774
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3775
+ id: z.ZodString;
3776
+ phone_number_id: z.ZodString;
3777
+ display_phone_number: z.ZodNullable<z.ZodString>;
3778
+ verified_name: z.ZodNullable<z.ZodString>;
3779
+ quality_rating: z.ZodString;
3780
+ type: z.ZodNullable<z.ZodString>;
3781
+ waba_connection_id: z.ZodString;
3782
+ customer_id: z.ZodNullable<z.ZodString>;
3783
+ waba_id: z.ZodNullable<z.ZodString>;
3784
+ connection_status: z.ZodNullable<z.ZodString>;
3785
+ token_status: z.ZodNullable<z.ZodString>;
3786
+ created_at: z.ZodString;
3787
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3788
+ meta: z.ZodObject<{
3789
+ page: z.ZodNumber;
3790
+ per_page: z.ZodNumber;
3791
+ total_pages: z.ZodNumber;
3792
+ total_count: z.ZodNumber;
3793
+ }, "strict", z.ZodTypeAny, {
3794
+ page: number;
3795
+ per_page: number;
3796
+ total_pages: number;
3797
+ total_count: number;
3798
+ }, {
3799
+ page: number;
3800
+ per_page: number;
3801
+ total_pages: number;
3802
+ total_count: number;
3803
+ }>;
3804
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3805
+ data: z.ZodArray<z.ZodObject<{
3806
+ id: z.ZodString;
3807
+ phone_number_id: z.ZodString;
3808
+ display_phone_number: z.ZodNullable<z.ZodString>;
3809
+ verified_name: z.ZodNullable<z.ZodString>;
3810
+ quality_rating: z.ZodString;
3811
+ type: z.ZodNullable<z.ZodString>;
3812
+ waba_connection_id: z.ZodString;
3813
+ customer_id: z.ZodNullable<z.ZodString>;
3814
+ waba_id: z.ZodNullable<z.ZodString>;
3815
+ connection_status: z.ZodNullable<z.ZodString>;
3816
+ token_status: z.ZodNullable<z.ZodString>;
3817
+ created_at: z.ZodString;
3818
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3819
+ id: z.ZodString;
3820
+ phone_number_id: z.ZodString;
3821
+ display_phone_number: z.ZodNullable<z.ZodString>;
3822
+ verified_name: z.ZodNullable<z.ZodString>;
3823
+ quality_rating: z.ZodString;
3824
+ type: z.ZodNullable<z.ZodString>;
3825
+ waba_connection_id: z.ZodString;
3826
+ customer_id: z.ZodNullable<z.ZodString>;
3827
+ waba_id: z.ZodNullable<z.ZodString>;
3828
+ connection_status: z.ZodNullable<z.ZodString>;
3829
+ token_status: z.ZodNullable<z.ZodString>;
3830
+ created_at: z.ZodString;
3831
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3832
+ id: z.ZodString;
3833
+ phone_number_id: z.ZodString;
3834
+ display_phone_number: z.ZodNullable<z.ZodString>;
3835
+ verified_name: z.ZodNullable<z.ZodString>;
3836
+ quality_rating: z.ZodString;
3837
+ type: z.ZodNullable<z.ZodString>;
3838
+ waba_connection_id: z.ZodString;
3839
+ customer_id: z.ZodNullable<z.ZodString>;
3840
+ waba_id: z.ZodNullable<z.ZodString>;
3841
+ connection_status: z.ZodNullable<z.ZodString>;
3842
+ token_status: z.ZodNullable<z.ZodString>;
3843
+ created_at: z.ZodString;
3844
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3845
+ meta: z.ZodObject<{
3846
+ page: z.ZodNumber;
3847
+ per_page: z.ZodNumber;
3848
+ total_pages: z.ZodNumber;
3849
+ total_count: z.ZodNumber;
3850
+ }, "strict", z.ZodTypeAny, {
3851
+ page: number;
3852
+ per_page: number;
3853
+ total_pages: number;
3854
+ total_count: number;
3855
+ }, {
3856
+ page: number;
3857
+ per_page: number;
3858
+ total_pages: number;
3859
+ total_count: number;
3860
+ }>;
3861
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3862
+ data: z.ZodArray<z.ZodObject<{
3863
+ id: z.ZodString;
3864
+ phone_number_id: z.ZodString;
3865
+ display_phone_number: z.ZodNullable<z.ZodString>;
3866
+ verified_name: z.ZodNullable<z.ZodString>;
3867
+ quality_rating: z.ZodString;
3868
+ type: z.ZodNullable<z.ZodString>;
3869
+ waba_connection_id: z.ZodString;
3870
+ customer_id: z.ZodNullable<z.ZodString>;
3871
+ waba_id: z.ZodNullable<z.ZodString>;
3872
+ connection_status: z.ZodNullable<z.ZodString>;
3873
+ token_status: z.ZodNullable<z.ZodString>;
3874
+ created_at: z.ZodString;
3875
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3876
+ id: z.ZodString;
3877
+ phone_number_id: z.ZodString;
3878
+ display_phone_number: z.ZodNullable<z.ZodString>;
3879
+ verified_name: z.ZodNullable<z.ZodString>;
3880
+ quality_rating: z.ZodString;
3881
+ type: z.ZodNullable<z.ZodString>;
3882
+ waba_connection_id: z.ZodString;
3883
+ customer_id: z.ZodNullable<z.ZodString>;
3884
+ waba_id: z.ZodNullable<z.ZodString>;
3885
+ connection_status: z.ZodNullable<z.ZodString>;
3886
+ token_status: z.ZodNullable<z.ZodString>;
3887
+ created_at: z.ZodString;
3888
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3889
+ id: z.ZodString;
3890
+ phone_number_id: z.ZodString;
3891
+ display_phone_number: z.ZodNullable<z.ZodString>;
3892
+ verified_name: z.ZodNullable<z.ZodString>;
3893
+ quality_rating: z.ZodString;
3894
+ type: z.ZodNullable<z.ZodString>;
3895
+ waba_connection_id: z.ZodString;
3896
+ customer_id: z.ZodNullable<z.ZodString>;
3897
+ waba_id: z.ZodNullable<z.ZodString>;
3898
+ connection_status: z.ZodNullable<z.ZodString>;
3899
+ token_status: z.ZodNullable<z.ZodString>;
3900
+ created_at: z.ZodString;
3901
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3902
+ meta: z.ZodObject<{
3903
+ page: z.ZodNumber;
3904
+ per_page: z.ZodNumber;
3905
+ total_pages: z.ZodNumber;
3906
+ total_count: z.ZodNumber;
3907
+ }, "strict", z.ZodTypeAny, {
3908
+ page: number;
3909
+ per_page: number;
3910
+ total_pages: number;
3911
+ total_count: number;
3912
+ }, {
3913
+ page: number;
3914
+ per_page: number;
3915
+ total_pages: number;
3916
+ total_count: number;
3917
+ }>;
3918
+ }, z.ZodTypeAny, "passthrough">>;
3919
+ export declare const getPhoneNumberResultSchema: z.ZodObject<{
3920
+ data: z.ZodObject<{
3921
+ id: z.ZodString;
3922
+ phone_number_id: z.ZodString;
3923
+ display_phone_number: z.ZodNullable<z.ZodString>;
3924
+ verified_name: z.ZodNullable<z.ZodString>;
3925
+ quality_rating: z.ZodString;
3926
+ type: z.ZodNullable<z.ZodString>;
3927
+ waba_connection_id: z.ZodString;
3928
+ customer_id: z.ZodNullable<z.ZodString>;
3929
+ waba_id: z.ZodNullable<z.ZodString>;
3930
+ connection_status: z.ZodNullable<z.ZodString>;
3931
+ token_status: z.ZodNullable<z.ZodString>;
3932
+ created_at: z.ZodString;
3933
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3934
+ id: z.ZodString;
3935
+ phone_number_id: z.ZodString;
3936
+ display_phone_number: z.ZodNullable<z.ZodString>;
3937
+ verified_name: z.ZodNullable<z.ZodString>;
3938
+ quality_rating: z.ZodString;
3939
+ type: z.ZodNullable<z.ZodString>;
3940
+ waba_connection_id: z.ZodString;
3941
+ customer_id: z.ZodNullable<z.ZodString>;
3942
+ waba_id: z.ZodNullable<z.ZodString>;
3943
+ connection_status: z.ZodNullable<z.ZodString>;
3944
+ token_status: z.ZodNullable<z.ZodString>;
3945
+ created_at: z.ZodString;
3946
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3947
+ id: z.ZodString;
3948
+ phone_number_id: z.ZodString;
3949
+ display_phone_number: z.ZodNullable<z.ZodString>;
3950
+ verified_name: z.ZodNullable<z.ZodString>;
3951
+ quality_rating: z.ZodString;
3952
+ type: z.ZodNullable<z.ZodString>;
3953
+ waba_connection_id: z.ZodString;
3954
+ customer_id: z.ZodNullable<z.ZodString>;
3955
+ waba_id: z.ZodNullable<z.ZodString>;
3956
+ connection_status: z.ZodNullable<z.ZodString>;
3957
+ token_status: z.ZodNullable<z.ZodString>;
3958
+ created_at: z.ZodString;
3959
+ }, z.ZodTypeAny, "passthrough">>;
3960
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3961
+ data: z.ZodObject<{
3962
+ id: z.ZodString;
3963
+ phone_number_id: z.ZodString;
3964
+ display_phone_number: z.ZodNullable<z.ZodString>;
3965
+ verified_name: z.ZodNullable<z.ZodString>;
3966
+ quality_rating: z.ZodString;
3967
+ type: z.ZodNullable<z.ZodString>;
3968
+ waba_connection_id: z.ZodString;
3969
+ customer_id: z.ZodNullable<z.ZodString>;
3970
+ waba_id: z.ZodNullable<z.ZodString>;
3971
+ connection_status: z.ZodNullable<z.ZodString>;
3972
+ token_status: z.ZodNullable<z.ZodString>;
3973
+ created_at: z.ZodString;
3974
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3975
+ id: z.ZodString;
3976
+ phone_number_id: z.ZodString;
3977
+ display_phone_number: z.ZodNullable<z.ZodString>;
3978
+ verified_name: z.ZodNullable<z.ZodString>;
3979
+ quality_rating: z.ZodString;
3980
+ type: z.ZodNullable<z.ZodString>;
3981
+ waba_connection_id: z.ZodString;
3982
+ customer_id: z.ZodNullable<z.ZodString>;
3983
+ waba_id: z.ZodNullable<z.ZodString>;
3984
+ connection_status: z.ZodNullable<z.ZodString>;
3985
+ token_status: z.ZodNullable<z.ZodString>;
3986
+ created_at: z.ZodString;
3987
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3988
+ id: z.ZodString;
3989
+ phone_number_id: z.ZodString;
3990
+ display_phone_number: z.ZodNullable<z.ZodString>;
3991
+ verified_name: z.ZodNullable<z.ZodString>;
3992
+ quality_rating: z.ZodString;
3993
+ type: z.ZodNullable<z.ZodString>;
3994
+ waba_connection_id: z.ZodString;
3995
+ customer_id: z.ZodNullable<z.ZodString>;
3996
+ waba_id: z.ZodNullable<z.ZodString>;
3997
+ connection_status: z.ZodNullable<z.ZodString>;
3998
+ token_status: z.ZodNullable<z.ZodString>;
3999
+ created_at: z.ZodString;
4000
+ }, z.ZodTypeAny, "passthrough">>;
4001
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4002
+ data: z.ZodObject<{
4003
+ id: z.ZodString;
4004
+ phone_number_id: z.ZodString;
4005
+ display_phone_number: z.ZodNullable<z.ZodString>;
4006
+ verified_name: z.ZodNullable<z.ZodString>;
4007
+ quality_rating: z.ZodString;
4008
+ type: z.ZodNullable<z.ZodString>;
4009
+ waba_connection_id: z.ZodString;
4010
+ customer_id: z.ZodNullable<z.ZodString>;
4011
+ waba_id: z.ZodNullable<z.ZodString>;
4012
+ connection_status: z.ZodNullable<z.ZodString>;
4013
+ token_status: z.ZodNullable<z.ZodString>;
4014
+ created_at: z.ZodString;
4015
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4016
+ id: z.ZodString;
4017
+ phone_number_id: z.ZodString;
4018
+ display_phone_number: z.ZodNullable<z.ZodString>;
4019
+ verified_name: z.ZodNullable<z.ZodString>;
4020
+ quality_rating: z.ZodString;
4021
+ type: z.ZodNullable<z.ZodString>;
4022
+ waba_connection_id: z.ZodString;
4023
+ customer_id: z.ZodNullable<z.ZodString>;
4024
+ waba_id: z.ZodNullable<z.ZodString>;
4025
+ connection_status: z.ZodNullable<z.ZodString>;
4026
+ token_status: z.ZodNullable<z.ZodString>;
4027
+ created_at: z.ZodString;
4028
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4029
+ id: z.ZodString;
4030
+ phone_number_id: z.ZodString;
4031
+ display_phone_number: z.ZodNullable<z.ZodString>;
4032
+ verified_name: z.ZodNullable<z.ZodString>;
4033
+ quality_rating: z.ZodString;
4034
+ type: z.ZodNullable<z.ZodString>;
4035
+ waba_connection_id: z.ZodString;
4036
+ customer_id: z.ZodNullable<z.ZodString>;
4037
+ waba_id: z.ZodNullable<z.ZodString>;
4038
+ connection_status: z.ZodNullable<z.ZodString>;
4039
+ token_status: z.ZodNullable<z.ZodString>;
4040
+ created_at: z.ZodString;
4041
+ }, z.ZodTypeAny, "passthrough">>;
4042
+ }, z.ZodTypeAny, "passthrough">>;
4043
+ export declare const phoneNumberHealthSchema: z.ZodObject<{
4044
+ status: z.ZodString;
4045
+ timestamp: z.ZodString;
4046
+ error: z.ZodOptional<z.ZodString>;
4047
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4048
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4049
+ status: z.ZodString;
4050
+ timestamp: z.ZodString;
4051
+ error: z.ZodOptional<z.ZodString>;
4052
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4053
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4054
+ status: z.ZodString;
4055
+ timestamp: z.ZodString;
4056
+ error: z.ZodOptional<z.ZodString>;
4057
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4058
+ }, z.ZodTypeAny, "passthrough">>;
4059
+ export declare const phoneNumberHealthResultSchema: z.ZodObject<{
4060
+ data: z.ZodObject<{
4061
+ status: z.ZodString;
4062
+ timestamp: z.ZodString;
4063
+ error: z.ZodOptional<z.ZodString>;
4064
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4065
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4066
+ status: z.ZodString;
4067
+ timestamp: z.ZodString;
4068
+ error: z.ZodOptional<z.ZodString>;
4069
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4070
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4071
+ status: z.ZodString;
4072
+ timestamp: z.ZodString;
4073
+ error: z.ZodOptional<z.ZodString>;
4074
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4075
+ }, z.ZodTypeAny, "passthrough">>;
4076
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4077
+ data: z.ZodObject<{
4078
+ status: z.ZodString;
4079
+ timestamp: z.ZodString;
4080
+ error: z.ZodOptional<z.ZodString>;
4081
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4082
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4083
+ status: z.ZodString;
4084
+ timestamp: z.ZodString;
4085
+ error: z.ZodOptional<z.ZodString>;
4086
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4087
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4088
+ status: z.ZodString;
4089
+ timestamp: z.ZodString;
4090
+ error: z.ZodOptional<z.ZodString>;
4091
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4092
+ }, z.ZodTypeAny, "passthrough">>;
4093
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4094
+ data: z.ZodObject<{
4095
+ status: z.ZodString;
4096
+ timestamp: z.ZodString;
4097
+ error: z.ZodOptional<z.ZodString>;
4098
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4099
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4100
+ status: z.ZodString;
4101
+ timestamp: z.ZodString;
4102
+ error: z.ZodOptional<z.ZodString>;
4103
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4104
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4105
+ status: z.ZodString;
4106
+ timestamp: z.ZodString;
4107
+ error: z.ZodOptional<z.ZodString>;
4108
+ checks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4109
+ }, z.ZodTypeAny, "passthrough">>;
4110
+ }, z.ZodTypeAny, "passthrough">>;
4111
+ export declare const templateSchema: z.ZodObject<{
4112
+ id: z.ZodString;
4113
+ name: z.ZodString;
4114
+ language: z.ZodString;
4115
+ category: z.ZodNullable<z.ZodString>;
4116
+ status: z.ZodString;
4117
+ meta_template_id: z.ZodNullable<z.ZodString>;
4118
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4119
+ waba_connection_id: z.ZodString;
4120
+ created_at: z.ZodString;
4121
+ last_synced_at: z.ZodNullable<z.ZodString>;
4122
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4123
+ id: z.ZodString;
4124
+ name: z.ZodString;
4125
+ language: z.ZodString;
4126
+ category: z.ZodNullable<z.ZodString>;
4127
+ status: z.ZodString;
4128
+ meta_template_id: z.ZodNullable<z.ZodString>;
4129
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4130
+ waba_connection_id: z.ZodString;
4131
+ created_at: z.ZodString;
4132
+ last_synced_at: z.ZodNullable<z.ZodString>;
4133
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4134
+ id: z.ZodString;
4135
+ name: z.ZodString;
4136
+ language: z.ZodString;
4137
+ category: z.ZodNullable<z.ZodString>;
4138
+ status: z.ZodString;
4139
+ meta_template_id: z.ZodNullable<z.ZodString>;
4140
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4141
+ waba_connection_id: z.ZodString;
4142
+ created_at: z.ZodString;
4143
+ last_synced_at: z.ZodNullable<z.ZodString>;
4144
+ }, z.ZodTypeAny, "passthrough">>;
4145
+ export declare const listTemplatesResultSchema: z.ZodObject<{
4146
+ data: z.ZodArray<z.ZodObject<{
4147
+ id: z.ZodString;
4148
+ name: z.ZodString;
4149
+ language: z.ZodString;
4150
+ category: z.ZodNullable<z.ZodString>;
4151
+ status: z.ZodString;
4152
+ meta_template_id: z.ZodNullable<z.ZodString>;
4153
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4154
+ waba_connection_id: z.ZodString;
4155
+ created_at: z.ZodString;
4156
+ last_synced_at: z.ZodNullable<z.ZodString>;
4157
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4158
+ id: z.ZodString;
4159
+ name: z.ZodString;
4160
+ language: z.ZodString;
4161
+ category: z.ZodNullable<z.ZodString>;
4162
+ status: z.ZodString;
4163
+ meta_template_id: z.ZodNullable<z.ZodString>;
4164
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4165
+ waba_connection_id: z.ZodString;
4166
+ created_at: z.ZodString;
4167
+ last_synced_at: z.ZodNullable<z.ZodString>;
4168
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4169
+ id: z.ZodString;
4170
+ name: z.ZodString;
4171
+ language: z.ZodString;
4172
+ category: z.ZodNullable<z.ZodString>;
4173
+ status: z.ZodString;
4174
+ meta_template_id: z.ZodNullable<z.ZodString>;
4175
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4176
+ waba_connection_id: z.ZodString;
4177
+ created_at: z.ZodString;
4178
+ last_synced_at: z.ZodNullable<z.ZodString>;
4179
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4180
+ meta: z.ZodObject<{
4181
+ page: z.ZodNumber;
4182
+ per_page: z.ZodNumber;
4183
+ total_pages: z.ZodNumber;
4184
+ total_count: z.ZodNumber;
4185
+ }, "strict", z.ZodTypeAny, {
4186
+ page: number;
4187
+ per_page: number;
4188
+ total_pages: number;
4189
+ total_count: number;
4190
+ }, {
4191
+ page: number;
4192
+ per_page: number;
4193
+ total_pages: number;
4194
+ total_count: number;
4195
+ }>;
4196
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4197
+ data: z.ZodArray<z.ZodObject<{
4198
+ id: z.ZodString;
4199
+ name: z.ZodString;
4200
+ language: z.ZodString;
4201
+ category: z.ZodNullable<z.ZodString>;
4202
+ status: z.ZodString;
4203
+ meta_template_id: z.ZodNullable<z.ZodString>;
4204
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4205
+ waba_connection_id: z.ZodString;
4206
+ created_at: z.ZodString;
4207
+ last_synced_at: z.ZodNullable<z.ZodString>;
4208
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4209
+ id: z.ZodString;
4210
+ name: z.ZodString;
4211
+ language: z.ZodString;
4212
+ category: z.ZodNullable<z.ZodString>;
4213
+ status: z.ZodString;
4214
+ meta_template_id: z.ZodNullable<z.ZodString>;
4215
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4216
+ waba_connection_id: z.ZodString;
4217
+ created_at: z.ZodString;
4218
+ last_synced_at: z.ZodNullable<z.ZodString>;
4219
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4220
+ id: z.ZodString;
4221
+ name: z.ZodString;
4222
+ language: z.ZodString;
4223
+ category: z.ZodNullable<z.ZodString>;
4224
+ status: z.ZodString;
4225
+ meta_template_id: z.ZodNullable<z.ZodString>;
4226
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4227
+ waba_connection_id: z.ZodString;
4228
+ created_at: z.ZodString;
4229
+ last_synced_at: z.ZodNullable<z.ZodString>;
4230
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4231
+ meta: z.ZodObject<{
4232
+ page: z.ZodNumber;
4233
+ per_page: z.ZodNumber;
4234
+ total_pages: z.ZodNumber;
4235
+ total_count: z.ZodNumber;
4236
+ }, "strict", z.ZodTypeAny, {
4237
+ page: number;
4238
+ per_page: number;
4239
+ total_pages: number;
4240
+ total_count: number;
4241
+ }, {
4242
+ page: number;
4243
+ per_page: number;
4244
+ total_pages: number;
4245
+ total_count: number;
4246
+ }>;
4247
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4248
+ data: z.ZodArray<z.ZodObject<{
4249
+ id: z.ZodString;
4250
+ name: z.ZodString;
4251
+ language: z.ZodString;
4252
+ category: z.ZodNullable<z.ZodString>;
4253
+ status: z.ZodString;
4254
+ meta_template_id: z.ZodNullable<z.ZodString>;
4255
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4256
+ waba_connection_id: z.ZodString;
4257
+ created_at: z.ZodString;
4258
+ last_synced_at: z.ZodNullable<z.ZodString>;
4259
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4260
+ id: z.ZodString;
4261
+ name: z.ZodString;
4262
+ language: z.ZodString;
4263
+ category: z.ZodNullable<z.ZodString>;
4264
+ status: z.ZodString;
4265
+ meta_template_id: z.ZodNullable<z.ZodString>;
4266
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4267
+ waba_connection_id: z.ZodString;
4268
+ created_at: z.ZodString;
4269
+ last_synced_at: z.ZodNullable<z.ZodString>;
4270
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4271
+ id: z.ZodString;
4272
+ name: z.ZodString;
4273
+ language: z.ZodString;
4274
+ category: z.ZodNullable<z.ZodString>;
4275
+ status: z.ZodString;
4276
+ meta_template_id: z.ZodNullable<z.ZodString>;
4277
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4278
+ waba_connection_id: z.ZodString;
4279
+ created_at: z.ZodString;
4280
+ last_synced_at: z.ZodNullable<z.ZodString>;
4281
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4282
+ meta: z.ZodObject<{
4283
+ page: z.ZodNumber;
4284
+ per_page: z.ZodNumber;
4285
+ total_pages: z.ZodNumber;
4286
+ total_count: z.ZodNumber;
4287
+ }, "strict", z.ZodTypeAny, {
4288
+ page: number;
4289
+ per_page: number;
4290
+ total_pages: number;
4291
+ total_count: number;
4292
+ }, {
4293
+ page: number;
4294
+ per_page: number;
4295
+ total_pages: number;
4296
+ total_count: number;
4297
+ }>;
4298
+ }, z.ZodTypeAny, "passthrough">>;
4299
+ export declare const templateResultSchema: z.ZodObject<{
4300
+ data: z.ZodObject<{
4301
+ id: z.ZodString;
4302
+ name: z.ZodString;
4303
+ language: z.ZodString;
4304
+ category: z.ZodNullable<z.ZodString>;
4305
+ status: z.ZodString;
4306
+ meta_template_id: z.ZodNullable<z.ZodString>;
4307
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4308
+ waba_connection_id: z.ZodString;
4309
+ created_at: z.ZodString;
4310
+ last_synced_at: z.ZodNullable<z.ZodString>;
4311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4312
+ id: z.ZodString;
4313
+ name: z.ZodString;
4314
+ language: z.ZodString;
4315
+ category: z.ZodNullable<z.ZodString>;
4316
+ status: z.ZodString;
4317
+ meta_template_id: z.ZodNullable<z.ZodString>;
4318
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4319
+ waba_connection_id: z.ZodString;
4320
+ created_at: z.ZodString;
4321
+ last_synced_at: z.ZodNullable<z.ZodString>;
4322
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4323
+ id: z.ZodString;
4324
+ name: z.ZodString;
4325
+ language: z.ZodString;
4326
+ category: z.ZodNullable<z.ZodString>;
4327
+ status: z.ZodString;
4328
+ meta_template_id: z.ZodNullable<z.ZodString>;
4329
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4330
+ waba_connection_id: z.ZodString;
4331
+ created_at: z.ZodString;
4332
+ last_synced_at: z.ZodNullable<z.ZodString>;
4333
+ }, z.ZodTypeAny, "passthrough">>;
4334
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4335
+ data: z.ZodObject<{
4336
+ id: z.ZodString;
4337
+ name: z.ZodString;
4338
+ language: z.ZodString;
4339
+ category: z.ZodNullable<z.ZodString>;
4340
+ status: z.ZodString;
4341
+ meta_template_id: z.ZodNullable<z.ZodString>;
4342
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4343
+ waba_connection_id: z.ZodString;
4344
+ created_at: z.ZodString;
4345
+ last_synced_at: z.ZodNullable<z.ZodString>;
4346
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4347
+ id: z.ZodString;
4348
+ name: z.ZodString;
4349
+ language: z.ZodString;
4350
+ category: z.ZodNullable<z.ZodString>;
4351
+ status: z.ZodString;
4352
+ meta_template_id: z.ZodNullable<z.ZodString>;
4353
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4354
+ waba_connection_id: z.ZodString;
4355
+ created_at: z.ZodString;
4356
+ last_synced_at: z.ZodNullable<z.ZodString>;
4357
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4358
+ id: z.ZodString;
4359
+ name: z.ZodString;
4360
+ language: z.ZodString;
4361
+ category: z.ZodNullable<z.ZodString>;
4362
+ status: z.ZodString;
4363
+ meta_template_id: z.ZodNullable<z.ZodString>;
4364
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4365
+ waba_connection_id: z.ZodString;
4366
+ created_at: z.ZodString;
4367
+ last_synced_at: z.ZodNullable<z.ZodString>;
4368
+ }, z.ZodTypeAny, "passthrough">>;
4369
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4370
+ data: z.ZodObject<{
4371
+ id: z.ZodString;
4372
+ name: z.ZodString;
4373
+ language: z.ZodString;
4374
+ category: z.ZodNullable<z.ZodString>;
4375
+ status: z.ZodString;
4376
+ meta_template_id: z.ZodNullable<z.ZodString>;
4377
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4378
+ waba_connection_id: z.ZodString;
4379
+ created_at: z.ZodString;
4380
+ last_synced_at: z.ZodNullable<z.ZodString>;
4381
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4382
+ id: z.ZodString;
4383
+ name: z.ZodString;
4384
+ language: z.ZodString;
4385
+ category: z.ZodNullable<z.ZodString>;
4386
+ status: z.ZodString;
4387
+ meta_template_id: z.ZodNullable<z.ZodString>;
4388
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4389
+ waba_connection_id: z.ZodString;
4390
+ created_at: z.ZodString;
4391
+ last_synced_at: z.ZodNullable<z.ZodString>;
4392
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4393
+ id: z.ZodString;
4394
+ name: z.ZodString;
4395
+ language: z.ZodString;
4396
+ category: z.ZodNullable<z.ZodString>;
4397
+ status: z.ZodString;
4398
+ meta_template_id: z.ZodNullable<z.ZodString>;
4399
+ components: z.ZodNullable<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4400
+ waba_connection_id: z.ZodString;
4401
+ created_at: z.ZodString;
4402
+ last_synced_at: z.ZodNullable<z.ZodString>;
4403
+ }, z.ZodTypeAny, "passthrough">>;
4404
+ }, z.ZodTypeAny, "passthrough">>;
4405
+ export {};