@biab-dev/sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1916 @@
1
+ import { z } from "zod";
2
+ export declare const siteIdSchema: z.ZodString;
3
+ export declare const collectionIdSchema: z.ZodString;
4
+ export declare const rowIdSchema: z.ZodString;
5
+ export declare const fieldIdSchema: z.ZodString;
6
+ export declare const apiKeyIdSchema: z.ZodString;
7
+ export declare const timestampSchema: z.ZodString;
8
+ export declare const collectionSlugSchema: z.ZodString;
9
+ export declare const collectionFieldNameSchema: z.ZodString;
10
+ export declare const collectionFieldTypeValues: readonly ["string", "number", "boolean", "json", "date", "richtext"];
11
+ export declare const collectionFieldTypeSchema: z.ZodEnum<["string", "number", "boolean", "json", "date", "richtext"]>;
12
+ export declare const jsonValueSchema: z.ZodType<string | number | boolean | null | {
13
+ [key: string]: unknown;
14
+ } | unknown[]>;
15
+ export declare const collectionFieldInputSchema: z.ZodObject<{
16
+ name: z.ZodString;
17
+ label: z.ZodOptional<z.ZodString>;
18
+ type: z.ZodEnum<["string", "number", "boolean", "json", "date", "richtext"]>;
19
+ required: z.ZodOptional<z.ZodBoolean>;
20
+ searchable: z.ZodOptional<z.ZodBoolean>;
21
+ queryable: z.ZodOptional<z.ZodBoolean>;
22
+ validation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23
+ displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
24
+ position: z.ZodOptional<z.ZodNumber>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
27
+ name: string;
28
+ validation?: Record<string, unknown> | undefined;
29
+ label?: string | undefined;
30
+ required?: boolean | undefined;
31
+ searchable?: boolean | undefined;
32
+ queryable?: boolean | undefined;
33
+ displayConfig?: Record<string, unknown> | undefined;
34
+ position?: number | undefined;
35
+ }, {
36
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
37
+ name: string;
38
+ validation?: Record<string, unknown> | undefined;
39
+ label?: string | undefined;
40
+ required?: boolean | undefined;
41
+ searchable?: boolean | undefined;
42
+ queryable?: boolean | undefined;
43
+ displayConfig?: Record<string, unknown> | undefined;
44
+ position?: number | undefined;
45
+ }>;
46
+ export declare const collectionFieldSchema: z.ZodObject<{
47
+ id: z.ZodString;
48
+ tableId: z.ZodString;
49
+ siteId: z.ZodString;
50
+ name: z.ZodString;
51
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ type: z.ZodEnum<["string", "number", "boolean", "json", "date", "richtext"]>;
53
+ required: z.ZodBoolean;
54
+ searchable: z.ZodBoolean;
55
+ queryable: z.ZodBoolean;
56
+ validation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
+ displayConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
+ position: z.ZodNumber;
59
+ createdAt: z.ZodString;
60
+ updatedAt: z.ZodString;
61
+ }, "strip", z.ZodTypeAny, {
62
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
63
+ name: string;
64
+ required: boolean;
65
+ searchable: boolean;
66
+ queryable: boolean;
67
+ position: number;
68
+ id: string;
69
+ tableId: string;
70
+ siteId: string;
71
+ createdAt: string;
72
+ updatedAt: string;
73
+ validation?: Record<string, unknown> | null | undefined;
74
+ label?: string | null | undefined;
75
+ displayConfig?: Record<string, unknown> | null | undefined;
76
+ }, {
77
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
78
+ name: string;
79
+ required: boolean;
80
+ searchable: boolean;
81
+ queryable: boolean;
82
+ position: number;
83
+ id: string;
84
+ tableId: string;
85
+ siteId: string;
86
+ createdAt: string;
87
+ updatedAt: string;
88
+ validation?: Record<string, unknown> | null | undefined;
89
+ label?: string | null | undefined;
90
+ displayConfig?: Record<string, unknown> | null | undefined;
91
+ }>;
92
+ export declare const collectionSchema: z.ZodObject<{
93
+ id: z.ZodString;
94
+ siteId: z.ZodString;
95
+ name: z.ZodString;
96
+ slug: z.ZodString;
97
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ createdAt: z.ZodString;
100
+ updatedAt: z.ZodString;
101
+ }, "strip", z.ZodTypeAny, {
102
+ name: string;
103
+ id: string;
104
+ siteId: string;
105
+ createdAt: string;
106
+ updatedAt: string;
107
+ slug: string;
108
+ description?: string | null | undefined;
109
+ createdByUserId?: string | null | undefined;
110
+ }, {
111
+ name: string;
112
+ id: string;
113
+ siteId: string;
114
+ createdAt: string;
115
+ updatedAt: string;
116
+ slug: string;
117
+ description?: string | null | undefined;
118
+ createdByUserId?: string | null | undefined;
119
+ }>;
120
+ export declare const createCollectionInputSchema: z.ZodObject<{
121
+ name: z.ZodString;
122
+ slug: z.ZodOptional<z.ZodString>;
123
+ description: z.ZodOptional<z.ZodString>;
124
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
+ name: z.ZodString;
126
+ label: z.ZodOptional<z.ZodString>;
127
+ type: z.ZodEnum<["string", "number", "boolean", "json", "date", "richtext"]>;
128
+ required: z.ZodOptional<z.ZodBoolean>;
129
+ searchable: z.ZodOptional<z.ZodBoolean>;
130
+ queryable: z.ZodOptional<z.ZodBoolean>;
131
+ validation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
132
+ displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
133
+ position: z.ZodOptional<z.ZodNumber>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
136
+ name: string;
137
+ validation?: Record<string, unknown> | undefined;
138
+ label?: string | undefined;
139
+ required?: boolean | undefined;
140
+ searchable?: boolean | undefined;
141
+ queryable?: boolean | undefined;
142
+ displayConfig?: Record<string, unknown> | undefined;
143
+ position?: number | undefined;
144
+ }, {
145
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
146
+ name: string;
147
+ validation?: Record<string, unknown> | undefined;
148
+ label?: string | undefined;
149
+ required?: boolean | undefined;
150
+ searchable?: boolean | undefined;
151
+ queryable?: boolean | undefined;
152
+ displayConfig?: Record<string, unknown> | undefined;
153
+ position?: number | undefined;
154
+ }>, "many">>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ name: string;
157
+ slug?: string | undefined;
158
+ description?: string | undefined;
159
+ fields?: {
160
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
161
+ name: string;
162
+ validation?: Record<string, unknown> | undefined;
163
+ label?: string | undefined;
164
+ required?: boolean | undefined;
165
+ searchable?: boolean | undefined;
166
+ queryable?: boolean | undefined;
167
+ displayConfig?: Record<string, unknown> | undefined;
168
+ position?: number | undefined;
169
+ }[] | undefined;
170
+ }, {
171
+ name: string;
172
+ slug?: string | undefined;
173
+ description?: string | undefined;
174
+ fields?: {
175
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
176
+ name: string;
177
+ validation?: Record<string, unknown> | undefined;
178
+ label?: string | undefined;
179
+ required?: boolean | undefined;
180
+ searchable?: boolean | undefined;
181
+ queryable?: boolean | undefined;
182
+ displayConfig?: Record<string, unknown> | undefined;
183
+ position?: number | undefined;
184
+ }[] | undefined;
185
+ }>;
186
+ export declare const createCollectionResponseSchema: z.ZodObject<{
187
+ collection: z.ZodObject<{
188
+ id: z.ZodString;
189
+ siteId: z.ZodString;
190
+ name: z.ZodString;
191
+ slug: z.ZodString;
192
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
+ createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
+ createdAt: z.ZodString;
195
+ updatedAt: z.ZodString;
196
+ }, "strip", z.ZodTypeAny, {
197
+ name: string;
198
+ id: string;
199
+ siteId: string;
200
+ createdAt: string;
201
+ updatedAt: string;
202
+ slug: string;
203
+ description?: string | null | undefined;
204
+ createdByUserId?: string | null | undefined;
205
+ }, {
206
+ name: string;
207
+ id: string;
208
+ siteId: string;
209
+ createdAt: string;
210
+ updatedAt: string;
211
+ slug: string;
212
+ description?: string | null | undefined;
213
+ createdByUserId?: string | null | undefined;
214
+ }>;
215
+ fields: z.ZodArray<z.ZodObject<{
216
+ id: z.ZodString;
217
+ tableId: z.ZodString;
218
+ siteId: z.ZodString;
219
+ name: z.ZodString;
220
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ type: z.ZodEnum<["string", "number", "boolean", "json", "date", "richtext"]>;
222
+ required: z.ZodBoolean;
223
+ searchable: z.ZodBoolean;
224
+ queryable: z.ZodBoolean;
225
+ validation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
226
+ displayConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
227
+ position: z.ZodNumber;
228
+ createdAt: z.ZodString;
229
+ updatedAt: z.ZodString;
230
+ }, "strip", z.ZodTypeAny, {
231
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
232
+ name: string;
233
+ required: boolean;
234
+ searchable: boolean;
235
+ queryable: boolean;
236
+ position: number;
237
+ id: string;
238
+ tableId: string;
239
+ siteId: string;
240
+ createdAt: string;
241
+ updatedAt: string;
242
+ validation?: Record<string, unknown> | null | undefined;
243
+ label?: string | null | undefined;
244
+ displayConfig?: Record<string, unknown> | null | undefined;
245
+ }, {
246
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
247
+ name: string;
248
+ required: boolean;
249
+ searchable: boolean;
250
+ queryable: boolean;
251
+ position: number;
252
+ id: string;
253
+ tableId: string;
254
+ siteId: string;
255
+ createdAt: string;
256
+ updatedAt: string;
257
+ validation?: Record<string, unknown> | null | undefined;
258
+ label?: string | null | undefined;
259
+ displayConfig?: Record<string, unknown> | null | undefined;
260
+ }>, "many">;
261
+ }, "strip", z.ZodTypeAny, {
262
+ fields: {
263
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
264
+ name: string;
265
+ required: boolean;
266
+ searchable: boolean;
267
+ queryable: boolean;
268
+ position: number;
269
+ id: string;
270
+ tableId: string;
271
+ siteId: string;
272
+ createdAt: string;
273
+ updatedAt: string;
274
+ validation?: Record<string, unknown> | null | undefined;
275
+ label?: string | null | undefined;
276
+ displayConfig?: Record<string, unknown> | null | undefined;
277
+ }[];
278
+ collection: {
279
+ name: string;
280
+ id: string;
281
+ siteId: string;
282
+ createdAt: string;
283
+ updatedAt: string;
284
+ slug: string;
285
+ description?: string | null | undefined;
286
+ createdByUserId?: string | null | undefined;
287
+ };
288
+ }, {
289
+ fields: {
290
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
291
+ name: string;
292
+ required: boolean;
293
+ searchable: boolean;
294
+ queryable: boolean;
295
+ position: number;
296
+ id: string;
297
+ tableId: string;
298
+ siteId: string;
299
+ createdAt: string;
300
+ updatedAt: string;
301
+ validation?: Record<string, unknown> | null | undefined;
302
+ label?: string | null | undefined;
303
+ displayConfig?: Record<string, unknown> | null | undefined;
304
+ }[];
305
+ collection: {
306
+ name: string;
307
+ id: string;
308
+ siteId: string;
309
+ createdAt: string;
310
+ updatedAt: string;
311
+ slug: string;
312
+ description?: string | null | undefined;
313
+ createdByUserId?: string | null | undefined;
314
+ };
315
+ }>;
316
+ export declare const listCollectionsResponseSchema: z.ZodObject<{
317
+ collections: z.ZodArray<z.ZodObject<{
318
+ id: z.ZodString;
319
+ siteId: z.ZodString;
320
+ name: z.ZodString;
321
+ slug: z.ZodString;
322
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
+ createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
+ createdAt: z.ZodString;
325
+ updatedAt: z.ZodString;
326
+ }, "strip", z.ZodTypeAny, {
327
+ name: string;
328
+ id: string;
329
+ siteId: string;
330
+ createdAt: string;
331
+ updatedAt: string;
332
+ slug: string;
333
+ description?: string | null | undefined;
334
+ createdByUserId?: string | null | undefined;
335
+ }, {
336
+ name: string;
337
+ id: string;
338
+ siteId: string;
339
+ createdAt: string;
340
+ updatedAt: string;
341
+ slug: string;
342
+ description?: string | null | undefined;
343
+ createdByUserId?: string | null | undefined;
344
+ }>, "many">;
345
+ }, "strip", z.ZodTypeAny, {
346
+ collections: {
347
+ name: string;
348
+ id: string;
349
+ siteId: string;
350
+ createdAt: string;
351
+ updatedAt: string;
352
+ slug: string;
353
+ description?: string | null | undefined;
354
+ createdByUserId?: string | null | undefined;
355
+ }[];
356
+ }, {
357
+ collections: {
358
+ name: string;
359
+ id: string;
360
+ siteId: string;
361
+ createdAt: string;
362
+ updatedAt: string;
363
+ slug: string;
364
+ description?: string | null | undefined;
365
+ createdByUserId?: string | null | undefined;
366
+ }[];
367
+ }>;
368
+ export declare const getCollectionResponseSchema: z.ZodObject<{
369
+ collection: z.ZodObject<{
370
+ id: z.ZodString;
371
+ siteId: z.ZodString;
372
+ name: z.ZodString;
373
+ slug: z.ZodString;
374
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
375
+ createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
376
+ createdAt: z.ZodString;
377
+ updatedAt: z.ZodString;
378
+ }, "strip", z.ZodTypeAny, {
379
+ name: string;
380
+ id: string;
381
+ siteId: string;
382
+ createdAt: string;
383
+ updatedAt: string;
384
+ slug: string;
385
+ description?: string | null | undefined;
386
+ createdByUserId?: string | null | undefined;
387
+ }, {
388
+ name: string;
389
+ id: string;
390
+ siteId: string;
391
+ createdAt: string;
392
+ updatedAt: string;
393
+ slug: string;
394
+ description?: string | null | undefined;
395
+ createdByUserId?: string | null | undefined;
396
+ }>;
397
+ fields: z.ZodArray<z.ZodObject<{
398
+ id: z.ZodString;
399
+ tableId: z.ZodString;
400
+ siteId: z.ZodString;
401
+ name: z.ZodString;
402
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
403
+ type: z.ZodEnum<["string", "number", "boolean", "json", "date", "richtext"]>;
404
+ required: z.ZodBoolean;
405
+ searchable: z.ZodBoolean;
406
+ queryable: z.ZodBoolean;
407
+ validation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
408
+ displayConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
409
+ position: z.ZodNumber;
410
+ createdAt: z.ZodString;
411
+ updatedAt: z.ZodString;
412
+ }, "strip", z.ZodTypeAny, {
413
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
414
+ name: string;
415
+ required: boolean;
416
+ searchable: boolean;
417
+ queryable: boolean;
418
+ position: number;
419
+ id: string;
420
+ tableId: string;
421
+ siteId: string;
422
+ createdAt: string;
423
+ updatedAt: string;
424
+ validation?: Record<string, unknown> | null | undefined;
425
+ label?: string | null | undefined;
426
+ displayConfig?: Record<string, unknown> | null | undefined;
427
+ }, {
428
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
429
+ name: string;
430
+ required: boolean;
431
+ searchable: boolean;
432
+ queryable: boolean;
433
+ position: number;
434
+ id: string;
435
+ tableId: string;
436
+ siteId: string;
437
+ createdAt: string;
438
+ updatedAt: string;
439
+ validation?: Record<string, unknown> | null | undefined;
440
+ label?: string | null | undefined;
441
+ displayConfig?: Record<string, unknown> | null | undefined;
442
+ }>, "many">;
443
+ }, "strip", z.ZodTypeAny, {
444
+ fields: {
445
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
446
+ name: string;
447
+ required: boolean;
448
+ searchable: boolean;
449
+ queryable: boolean;
450
+ position: number;
451
+ id: string;
452
+ tableId: string;
453
+ siteId: string;
454
+ createdAt: string;
455
+ updatedAt: string;
456
+ validation?: Record<string, unknown> | null | undefined;
457
+ label?: string | null | undefined;
458
+ displayConfig?: Record<string, unknown> | null | undefined;
459
+ }[];
460
+ collection: {
461
+ name: string;
462
+ id: string;
463
+ siteId: string;
464
+ createdAt: string;
465
+ updatedAt: string;
466
+ slug: string;
467
+ description?: string | null | undefined;
468
+ createdByUserId?: string | null | undefined;
469
+ };
470
+ }, {
471
+ fields: {
472
+ type: "string" | "number" | "boolean" | "json" | "date" | "richtext";
473
+ name: string;
474
+ required: boolean;
475
+ searchable: boolean;
476
+ queryable: boolean;
477
+ position: number;
478
+ id: string;
479
+ tableId: string;
480
+ siteId: string;
481
+ createdAt: string;
482
+ updatedAt: string;
483
+ validation?: Record<string, unknown> | null | undefined;
484
+ label?: string | null | undefined;
485
+ displayConfig?: Record<string, unknown> | null | undefined;
486
+ }[];
487
+ collection: {
488
+ name: string;
489
+ id: string;
490
+ siteId: string;
491
+ createdAt: string;
492
+ updatedAt: string;
493
+ slug: string;
494
+ description?: string | null | undefined;
495
+ createdByUserId?: string | null | undefined;
496
+ };
497
+ }>;
498
+ export declare const rowDataSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
499
+ export declare const collectionRowSchema: z.ZodObject<{
500
+ id: z.ZodString;
501
+ tableId: z.ZodString;
502
+ siteId: z.ZodString;
503
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
504
+ createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
+ updatedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
506
+ createdAt: z.ZodString;
507
+ updatedAt: z.ZodString;
508
+ }, "strip", z.ZodTypeAny, {
509
+ id: string;
510
+ tableId: string;
511
+ siteId: string;
512
+ createdAt: string;
513
+ updatedAt: string;
514
+ data: Record<string, unknown>;
515
+ createdByUserId?: string | null | undefined;
516
+ updatedByUserId?: string | null | undefined;
517
+ }, {
518
+ id: string;
519
+ tableId: string;
520
+ siteId: string;
521
+ createdAt: string;
522
+ updatedAt: string;
523
+ data: Record<string, unknown>;
524
+ createdByUserId?: string | null | undefined;
525
+ updatedByUserId?: string | null | undefined;
526
+ }>;
527
+ export declare const listRowsInputSchema: z.ZodObject<{
528
+ limit: z.ZodOptional<z.ZodNumber>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ limit?: number | undefined;
531
+ }, {
532
+ limit?: number | undefined;
533
+ }>;
534
+ export declare const listRowsResponseSchema: z.ZodObject<{
535
+ rows: z.ZodArray<z.ZodObject<{
536
+ id: z.ZodString;
537
+ tableId: z.ZodString;
538
+ siteId: z.ZodString;
539
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
540
+ createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
+ updatedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
+ createdAt: z.ZodString;
543
+ updatedAt: z.ZodString;
544
+ }, "strip", z.ZodTypeAny, {
545
+ id: string;
546
+ tableId: string;
547
+ siteId: string;
548
+ createdAt: string;
549
+ updatedAt: string;
550
+ data: Record<string, unknown>;
551
+ createdByUserId?: string | null | undefined;
552
+ updatedByUserId?: string | null | undefined;
553
+ }, {
554
+ id: string;
555
+ tableId: string;
556
+ siteId: string;
557
+ createdAt: string;
558
+ updatedAt: string;
559
+ data: Record<string, unknown>;
560
+ createdByUserId?: string | null | undefined;
561
+ updatedByUserId?: string | null | undefined;
562
+ }>, "many">;
563
+ }, "strip", z.ZodTypeAny, {
564
+ rows: {
565
+ id: string;
566
+ tableId: string;
567
+ siteId: string;
568
+ createdAt: string;
569
+ updatedAt: string;
570
+ data: Record<string, unknown>;
571
+ createdByUserId?: string | null | undefined;
572
+ updatedByUserId?: string | null | undefined;
573
+ }[];
574
+ }, {
575
+ rows: {
576
+ id: string;
577
+ tableId: string;
578
+ siteId: string;
579
+ createdAt: string;
580
+ updatedAt: string;
581
+ data: Record<string, unknown>;
582
+ createdByUserId?: string | null | undefined;
583
+ updatedByUserId?: string | null | undefined;
584
+ }[];
585
+ }>;
586
+ export declare const upsertRowInputSchema: z.ZodObject<{
587
+ rowId: z.ZodOptional<z.ZodString>;
588
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ data: Record<string, unknown>;
591
+ rowId?: string | undefined;
592
+ }, {
593
+ data: Record<string, unknown>;
594
+ rowId?: string | undefined;
595
+ }>;
596
+ export declare const upsertRowResponseSchema: z.ZodObject<{
597
+ row: z.ZodObject<{
598
+ id: z.ZodString;
599
+ tableId: z.ZodString;
600
+ siteId: z.ZodString;
601
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
602
+ createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
603
+ updatedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
604
+ createdAt: z.ZodString;
605
+ updatedAt: z.ZodString;
606
+ }, "strip", z.ZodTypeAny, {
607
+ id: string;
608
+ tableId: string;
609
+ siteId: string;
610
+ createdAt: string;
611
+ updatedAt: string;
612
+ data: Record<string, unknown>;
613
+ createdByUserId?: string | null | undefined;
614
+ updatedByUserId?: string | null | undefined;
615
+ }, {
616
+ id: string;
617
+ tableId: string;
618
+ siteId: string;
619
+ createdAt: string;
620
+ updatedAt: string;
621
+ data: Record<string, unknown>;
622
+ createdByUserId?: string | null | undefined;
623
+ updatedByUserId?: string | null | undefined;
624
+ }>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ row: {
627
+ id: string;
628
+ tableId: string;
629
+ siteId: string;
630
+ createdAt: string;
631
+ updatedAt: string;
632
+ data: Record<string, unknown>;
633
+ createdByUserId?: string | null | undefined;
634
+ updatedByUserId?: string | null | undefined;
635
+ };
636
+ }, {
637
+ row: {
638
+ id: string;
639
+ tableId: string;
640
+ siteId: string;
641
+ createdAt: string;
642
+ updatedAt: string;
643
+ data: Record<string, unknown>;
644
+ createdByUserId?: string | null | undefined;
645
+ updatedByUserId?: string | null | undefined;
646
+ };
647
+ }>;
648
+ export declare const queryOperatorValues: readonly ["equals", "contains"];
649
+ export declare const queryOperatorSchema: z.ZodEnum<["equals", "contains"]>;
650
+ export declare const queryFilterSchema: z.ZodObject<{
651
+ fieldName: z.ZodString;
652
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
653
+ operator: z.ZodOptional<z.ZodEnum<["equals", "contains"]>>;
654
+ }, "strip", z.ZodTypeAny, {
655
+ value: string | number | boolean;
656
+ fieldName: string;
657
+ operator?: "equals" | "contains" | undefined;
658
+ }, {
659
+ value: string | number | boolean;
660
+ fieldName: string;
661
+ operator?: "equals" | "contains" | undefined;
662
+ }>;
663
+ export declare const queryRowsInputSchema: z.ZodObject<{
664
+ filters: z.ZodArray<z.ZodObject<{
665
+ fieldName: z.ZodString;
666
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
667
+ operator: z.ZodOptional<z.ZodEnum<["equals", "contains"]>>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ value: string | number | boolean;
670
+ fieldName: string;
671
+ operator?: "equals" | "contains" | undefined;
672
+ }, {
673
+ value: string | number | boolean;
674
+ fieldName: string;
675
+ operator?: "equals" | "contains" | undefined;
676
+ }>, "many">;
677
+ limit: z.ZodOptional<z.ZodNumber>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ filters: {
680
+ value: string | number | boolean;
681
+ fieldName: string;
682
+ operator?: "equals" | "contains" | undefined;
683
+ }[];
684
+ limit?: number | undefined;
685
+ }, {
686
+ filters: {
687
+ value: string | number | boolean;
688
+ fieldName: string;
689
+ operator?: "equals" | "contains" | undefined;
690
+ }[];
691
+ limit?: number | undefined;
692
+ }>;
693
+ export declare const queryRowsResponseSchema: z.ZodObject<{
694
+ rows: z.ZodArray<z.ZodObject<{
695
+ id: z.ZodString;
696
+ tableId: z.ZodString;
697
+ siteId: z.ZodString;
698
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
699
+ createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
700
+ updatedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
701
+ createdAt: z.ZodString;
702
+ updatedAt: z.ZodString;
703
+ }, "strip", z.ZodTypeAny, {
704
+ id: string;
705
+ tableId: string;
706
+ siteId: string;
707
+ createdAt: string;
708
+ updatedAt: string;
709
+ data: Record<string, unknown>;
710
+ createdByUserId?: string | null | undefined;
711
+ updatedByUserId?: string | null | undefined;
712
+ }, {
713
+ id: string;
714
+ tableId: string;
715
+ siteId: string;
716
+ createdAt: string;
717
+ updatedAt: string;
718
+ data: Record<string, unknown>;
719
+ createdByUserId?: string | null | undefined;
720
+ updatedByUserId?: string | null | undefined;
721
+ }>, "many">;
722
+ }, "strip", z.ZodTypeAny, {
723
+ rows: {
724
+ id: string;
725
+ tableId: string;
726
+ siteId: string;
727
+ createdAt: string;
728
+ updatedAt: string;
729
+ data: Record<string, unknown>;
730
+ createdByUserId?: string | null | undefined;
731
+ updatedByUserId?: string | null | undefined;
732
+ }[];
733
+ }, {
734
+ rows: {
735
+ id: string;
736
+ tableId: string;
737
+ siteId: string;
738
+ createdAt: string;
739
+ updatedAt: string;
740
+ data: Record<string, unknown>;
741
+ createdByUserId?: string | null | undefined;
742
+ updatedByUserId?: string | null | undefined;
743
+ }[];
744
+ }>;
745
+ export declare const siteAssetInputSchema: z.ZodObject<{
746
+ filename: z.ZodString;
747
+ url: z.ZodString;
748
+ mimeType: z.ZodOptional<z.ZodString>;
749
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
750
+ altText: z.ZodOptional<z.ZodString>;
751
+ folder: z.ZodOptional<z.ZodString>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ filename: string;
754
+ url: string;
755
+ mimeType?: string | undefined;
756
+ sizeBytes?: number | undefined;
757
+ altText?: string | undefined;
758
+ folder?: string | undefined;
759
+ }, {
760
+ filename: string;
761
+ url: string;
762
+ mimeType?: string | undefined;
763
+ sizeBytes?: number | undefined;
764
+ altText?: string | undefined;
765
+ folder?: string | undefined;
766
+ }>;
767
+ export declare const siteAssetSchema: z.ZodObject<{
768
+ id: z.ZodNumber;
769
+ siteId: z.ZodString;
770
+ filename: z.ZodString;
771
+ url: z.ZodString;
772
+ mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
773
+ sizeBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
774
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
775
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
776
+ createdAt: z.ZodString;
777
+ }, "strip", z.ZodTypeAny, {
778
+ id: number;
779
+ siteId: string;
780
+ createdAt: string;
781
+ filename: string;
782
+ url: string;
783
+ mimeType?: string | null | undefined;
784
+ sizeBytes?: number | null | undefined;
785
+ altText?: string | null | undefined;
786
+ folder?: string | null | undefined;
787
+ }, {
788
+ id: number;
789
+ siteId: string;
790
+ createdAt: string;
791
+ filename: string;
792
+ url: string;
793
+ mimeType?: string | null | undefined;
794
+ sizeBytes?: number | null | undefined;
795
+ altText?: string | null | undefined;
796
+ folder?: string | null | undefined;
797
+ }>;
798
+ export declare const uploadSiteAssetResponseSchema: z.ZodObject<{
799
+ asset: z.ZodObject<{
800
+ id: z.ZodNumber;
801
+ siteId: z.ZodString;
802
+ filename: z.ZodString;
803
+ url: z.ZodString;
804
+ mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
805
+ sizeBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
806
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
807
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
808
+ createdAt: z.ZodString;
809
+ }, "strip", z.ZodTypeAny, {
810
+ id: number;
811
+ siteId: string;
812
+ createdAt: string;
813
+ filename: string;
814
+ url: string;
815
+ mimeType?: string | null | undefined;
816
+ sizeBytes?: number | null | undefined;
817
+ altText?: string | null | undefined;
818
+ folder?: string | null | undefined;
819
+ }, {
820
+ id: number;
821
+ siteId: string;
822
+ createdAt: string;
823
+ filename: string;
824
+ url: string;
825
+ mimeType?: string | null | undefined;
826
+ sizeBytes?: number | null | undefined;
827
+ altText?: string | null | undefined;
828
+ folder?: string | null | undefined;
829
+ }>;
830
+ }, "strip", z.ZodTypeAny, {
831
+ asset: {
832
+ id: number;
833
+ siteId: string;
834
+ createdAt: string;
835
+ filename: string;
836
+ url: string;
837
+ mimeType?: string | null | undefined;
838
+ sizeBytes?: number | null | undefined;
839
+ altText?: string | null | undefined;
840
+ folder?: string | null | undefined;
841
+ };
842
+ }, {
843
+ asset: {
844
+ id: number;
845
+ siteId: string;
846
+ createdAt: string;
847
+ filename: string;
848
+ url: string;
849
+ mimeType?: string | null | undefined;
850
+ sizeBytes?: number | null | undefined;
851
+ altText?: string | null | undefined;
852
+ folder?: string | null | undefined;
853
+ };
854
+ }>;
855
+ export declare const followerSchema: z.ZodObject<{
856
+ id: z.ZodString;
857
+ email: z.ZodString;
858
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
859
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
860
+ isActive: z.ZodBoolean;
861
+ joinedAt: z.ZodString;
862
+ unsubscribedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
863
+ }, "strip", z.ZodTypeAny, {
864
+ id: string;
865
+ email: string;
866
+ isActive: boolean;
867
+ joinedAt: string;
868
+ name?: string | null | undefined;
869
+ source?: string | null | undefined;
870
+ unsubscribedAt?: string | null | undefined;
871
+ }, {
872
+ id: string;
873
+ email: string;
874
+ isActive: boolean;
875
+ joinedAt: string;
876
+ name?: string | null | undefined;
877
+ source?: string | null | undefined;
878
+ unsubscribedAt?: string | null | undefined;
879
+ }>;
880
+ export declare const followerJoinInputSchema: z.ZodObject<{
881
+ email: z.ZodString;
882
+ name: z.ZodOptional<z.ZodString>;
883
+ source: z.ZodOptional<z.ZodString>;
884
+ }, "strip", z.ZodTypeAny, {
885
+ email: string;
886
+ name?: string | undefined;
887
+ source?: string | undefined;
888
+ }, {
889
+ email: string;
890
+ name?: string | undefined;
891
+ source?: string | undefined;
892
+ }>;
893
+ export declare const followerJoinResponseSchema: z.ZodObject<{
894
+ follower: z.ZodObject<{
895
+ id: z.ZodString;
896
+ email: z.ZodString;
897
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
898
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
899
+ isActive: z.ZodBoolean;
900
+ joinedAt: z.ZodString;
901
+ unsubscribedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ id: string;
904
+ email: string;
905
+ isActive: boolean;
906
+ joinedAt: string;
907
+ name?: string | null | undefined;
908
+ source?: string | null | undefined;
909
+ unsubscribedAt?: string | null | undefined;
910
+ }, {
911
+ id: string;
912
+ email: string;
913
+ isActive: boolean;
914
+ joinedAt: string;
915
+ name?: string | null | undefined;
916
+ source?: string | null | undefined;
917
+ unsubscribedAt?: string | null | undefined;
918
+ }>;
919
+ created: z.ZodBoolean;
920
+ }, "strip", z.ZodTypeAny, {
921
+ follower: {
922
+ id: string;
923
+ email: string;
924
+ isActive: boolean;
925
+ joinedAt: string;
926
+ name?: string | null | undefined;
927
+ source?: string | null | undefined;
928
+ unsubscribedAt?: string | null | undefined;
929
+ };
930
+ created: boolean;
931
+ }, {
932
+ follower: {
933
+ id: string;
934
+ email: string;
935
+ isActive: boolean;
936
+ joinedAt: string;
937
+ name?: string | null | undefined;
938
+ source?: string | null | undefined;
939
+ unsubscribedAt?: string | null | undefined;
940
+ };
941
+ created: boolean;
942
+ }>;
943
+ export declare const followerMeInputSchema: z.ZodObject<{
944
+ email: z.ZodString;
945
+ }, "strip", z.ZodTypeAny, {
946
+ email: string;
947
+ }, {
948
+ email: string;
949
+ }>;
950
+ export declare const followerMeResponseSchema: z.ZodObject<{
951
+ follower: z.ZodNullable<z.ZodObject<{
952
+ id: z.ZodString;
953
+ email: z.ZodString;
954
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
955
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
+ isActive: z.ZodBoolean;
957
+ joinedAt: z.ZodString;
958
+ unsubscribedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
+ }, "strip", z.ZodTypeAny, {
960
+ id: string;
961
+ email: string;
962
+ isActive: boolean;
963
+ joinedAt: string;
964
+ name?: string | null | undefined;
965
+ source?: string | null | undefined;
966
+ unsubscribedAt?: string | null | undefined;
967
+ }, {
968
+ id: string;
969
+ email: string;
970
+ isActive: boolean;
971
+ joinedAt: string;
972
+ name?: string | null | undefined;
973
+ source?: string | null | undefined;
974
+ unsubscribedAt?: string | null | undefined;
975
+ }>>;
976
+ }, "strip", z.ZodTypeAny, {
977
+ follower: {
978
+ id: string;
979
+ email: string;
980
+ isActive: boolean;
981
+ joinedAt: string;
982
+ name?: string | null | undefined;
983
+ source?: string | null | undefined;
984
+ unsubscribedAt?: string | null | undefined;
985
+ } | null;
986
+ }, {
987
+ follower: {
988
+ id: string;
989
+ email: string;
990
+ isActive: boolean;
991
+ joinedAt: string;
992
+ name?: string | null | undefined;
993
+ source?: string | null | undefined;
994
+ unsubscribedAt?: string | null | undefined;
995
+ } | null;
996
+ }>;
997
+ export declare const followerEditInputSchema: z.ZodObject<{
998
+ email: z.ZodString;
999
+ patch: z.ZodObject<{
1000
+ name: z.ZodOptional<z.ZodString>;
1001
+ source: z.ZodOptional<z.ZodString>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ name?: string | undefined;
1004
+ source?: string | undefined;
1005
+ }, {
1006
+ name?: string | undefined;
1007
+ source?: string | undefined;
1008
+ }>;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ email: string;
1011
+ patch: {
1012
+ name?: string | undefined;
1013
+ source?: string | undefined;
1014
+ };
1015
+ }, {
1016
+ email: string;
1017
+ patch: {
1018
+ name?: string | undefined;
1019
+ source?: string | undefined;
1020
+ };
1021
+ }>;
1022
+ export declare const followerEditResponseSchema: z.ZodObject<{
1023
+ follower: z.ZodObject<{
1024
+ id: z.ZodString;
1025
+ email: z.ZodString;
1026
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1027
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1028
+ isActive: z.ZodBoolean;
1029
+ joinedAt: z.ZodString;
1030
+ unsubscribedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1031
+ }, "strip", z.ZodTypeAny, {
1032
+ id: string;
1033
+ email: string;
1034
+ isActive: boolean;
1035
+ joinedAt: string;
1036
+ name?: string | null | undefined;
1037
+ source?: string | null | undefined;
1038
+ unsubscribedAt?: string | null | undefined;
1039
+ }, {
1040
+ id: string;
1041
+ email: string;
1042
+ isActive: boolean;
1043
+ joinedAt: string;
1044
+ name?: string | null | undefined;
1045
+ source?: string | null | undefined;
1046
+ unsubscribedAt?: string | null | undefined;
1047
+ }>;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ follower: {
1050
+ id: string;
1051
+ email: string;
1052
+ isActive: boolean;
1053
+ joinedAt: string;
1054
+ name?: string | null | undefined;
1055
+ source?: string | null | undefined;
1056
+ unsubscribedAt?: string | null | undefined;
1057
+ };
1058
+ }, {
1059
+ follower: {
1060
+ id: string;
1061
+ email: string;
1062
+ isActive: boolean;
1063
+ joinedAt: string;
1064
+ name?: string | null | undefined;
1065
+ source?: string | null | undefined;
1066
+ unsubscribedAt?: string | null | undefined;
1067
+ };
1068
+ }>;
1069
+ export declare const followerLeaveInputSchema: z.ZodObject<{
1070
+ email: z.ZodString;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ email: string;
1073
+ }, {
1074
+ email: string;
1075
+ }>;
1076
+ export declare const followerLeaveResponseSchema: z.ZodObject<{
1077
+ follower: z.ZodNullable<z.ZodObject<{
1078
+ id: z.ZodString;
1079
+ email: z.ZodString;
1080
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1082
+ isActive: z.ZodBoolean;
1083
+ joinedAt: z.ZodString;
1084
+ unsubscribedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ id: string;
1087
+ email: string;
1088
+ isActive: boolean;
1089
+ joinedAt: string;
1090
+ name?: string | null | undefined;
1091
+ source?: string | null | undefined;
1092
+ unsubscribedAt?: string | null | undefined;
1093
+ }, {
1094
+ id: string;
1095
+ email: string;
1096
+ isActive: boolean;
1097
+ joinedAt: string;
1098
+ name?: string | null | undefined;
1099
+ source?: string | null | undefined;
1100
+ unsubscribedAt?: string | null | undefined;
1101
+ }>>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ follower: {
1104
+ id: string;
1105
+ email: string;
1106
+ isActive: boolean;
1107
+ joinedAt: string;
1108
+ name?: string | null | undefined;
1109
+ source?: string | null | undefined;
1110
+ unsubscribedAt?: string | null | undefined;
1111
+ } | null;
1112
+ }, {
1113
+ follower: {
1114
+ id: string;
1115
+ email: string;
1116
+ isActive: boolean;
1117
+ joinedAt: string;
1118
+ name?: string | null | undefined;
1119
+ source?: string | null | undefined;
1120
+ unsubscribedAt?: string | null | undefined;
1121
+ } | null;
1122
+ }>;
1123
+ export declare const dashboardSessionResponseSchema: z.ZodObject<{
1124
+ url: z.ZodString;
1125
+ token: z.ZodString;
1126
+ expiresAt: z.ZodString;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ url: string;
1129
+ token: string;
1130
+ expiresAt: string;
1131
+ }, {
1132
+ url: string;
1133
+ token: string;
1134
+ expiresAt: string;
1135
+ }>;
1136
+ export declare const executeActionInputSchema: z.ZodObject<{
1137
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ payload: Record<string, unknown>;
1140
+ }, {
1141
+ payload?: Record<string, unknown> | undefined;
1142
+ }>;
1143
+ export declare const executeActionResponseSchema: z.ZodObject<{
1144
+ actionName: z.ZodString;
1145
+ result: z.ZodUnknown;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ actionName: string;
1148
+ result?: unknown;
1149
+ }, {
1150
+ actionName: string;
1151
+ result?: unknown;
1152
+ }>;
1153
+ export declare const authIntrospectResponseSchema: z.ZodObject<{
1154
+ apiKeyId: z.ZodOptional<z.ZodString>;
1155
+ orgId: z.ZodString;
1156
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1157
+ siteIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1158
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1159
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1160
+ label: z.ZodOptional<z.ZodString>;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ orgId: string;
1163
+ scopes: string[];
1164
+ label?: string | undefined;
1165
+ expiresAt?: string | null | undefined;
1166
+ apiKeyId?: string | undefined;
1167
+ userId?: string | null | undefined;
1168
+ siteIds?: string[] | undefined;
1169
+ }, {
1170
+ orgId: string;
1171
+ label?: string | undefined;
1172
+ expiresAt?: string | null | undefined;
1173
+ apiKeyId?: string | undefined;
1174
+ userId?: string | null | undefined;
1175
+ siteIds?: string[] | undefined;
1176
+ scopes?: string[] | undefined;
1177
+ }>;
1178
+ export declare const emailTemplateRendererValues: readonly ["unlayer", "react-email", "native-email-builder"];
1179
+ export declare const emailTemplateRendererSchema: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1180
+ export declare const emailTemplateCategoryValues: readonly ["system", "marketing", "transactional"];
1181
+ export declare const emailTemplateCategorySchema: z.ZodEnum<["system", "marketing", "transactional"]>;
1182
+ export declare const emailTemplateVariableTypeValues: readonly ["string", "number", "url", "currency", "date"];
1183
+ export declare const emailTemplateVariableTypeSchema: z.ZodEnum<["string", "number", "url", "currency", "date"]>;
1184
+ export declare const emailTemplateVariableSchema: z.ZodObject<{
1185
+ key: z.ZodString;
1186
+ label: z.ZodString;
1187
+ type: z.ZodEnum<["string", "number", "url", "currency", "date"]>;
1188
+ required: z.ZodBoolean;
1189
+ defaultValue: z.ZodOptional<z.ZodUnknown>;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ type: "string" | "number" | "date" | "url" | "currency";
1192
+ label: string;
1193
+ required: boolean;
1194
+ key: string;
1195
+ defaultValue?: unknown;
1196
+ }, {
1197
+ type: "string" | "number" | "date" | "url" | "currency";
1198
+ label: string;
1199
+ required: boolean;
1200
+ key: string;
1201
+ defaultValue?: unknown;
1202
+ }>;
1203
+ export declare const emailTemplateSummarySchema: z.ZodObject<{
1204
+ id: z.ZodNumber;
1205
+ name: z.ZodString;
1206
+ slug: z.ZodString;
1207
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1208
+ ownerId: z.ZodString;
1209
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1210
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1211
+ category: z.ZodEnum<["system", "marketing", "transactional"]>;
1212
+ isActive: z.ZodBoolean;
1213
+ isArchived: z.ZodBoolean;
1214
+ createdAt: z.ZodString;
1215
+ updatedAt: z.ZodString;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ name: string;
1218
+ id: number;
1219
+ createdAt: string;
1220
+ updatedAt: string;
1221
+ slug: string;
1222
+ isActive: boolean;
1223
+ ownerId: string;
1224
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1225
+ category: "system" | "marketing" | "transactional";
1226
+ isArchived: boolean;
1227
+ description?: string | null | undefined;
1228
+ organizationId?: string | null | undefined;
1229
+ }, {
1230
+ name: string;
1231
+ id: number;
1232
+ createdAt: string;
1233
+ updatedAt: string;
1234
+ slug: string;
1235
+ isActive: boolean;
1236
+ ownerId: string;
1237
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1238
+ category: "system" | "marketing" | "transactional";
1239
+ isArchived: boolean;
1240
+ description?: string | null | undefined;
1241
+ organizationId?: string | null | undefined;
1242
+ }>;
1243
+ export declare const emailTemplateVersionSchema: z.ZodObject<{
1244
+ id: z.ZodNumber;
1245
+ templateId: z.ZodNumber;
1246
+ version: z.ZodNumber;
1247
+ subject: z.ZodString;
1248
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1249
+ unlayerDesign: z.ZodOptional<z.ZodUnknown>;
1250
+ builderDocument: z.ZodOptional<z.ZodUnknown>;
1251
+ html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1252
+ reactComponent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1253
+ reactPropsSchema: z.ZodOptional<z.ZodUnknown>;
1254
+ variables: z.ZodArray<z.ZodObject<{
1255
+ key: z.ZodString;
1256
+ label: z.ZodString;
1257
+ type: z.ZodEnum<["string", "number", "url", "currency", "date"]>;
1258
+ required: z.ZodBoolean;
1259
+ defaultValue: z.ZodOptional<z.ZodUnknown>;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ type: "string" | "number" | "date" | "url" | "currency";
1262
+ label: string;
1263
+ required: boolean;
1264
+ key: string;
1265
+ defaultValue?: unknown;
1266
+ }, {
1267
+ type: "string" | "number" | "date" | "url" | "currency";
1268
+ label: string;
1269
+ required: boolean;
1270
+ key: string;
1271
+ defaultValue?: unknown;
1272
+ }>, "many">;
1273
+ createdBy: z.ZodString;
1274
+ createdAt: z.ZodString;
1275
+ isPublished: z.ZodBoolean;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ id: number;
1278
+ createdAt: string;
1279
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1280
+ templateId: number;
1281
+ version: number;
1282
+ subject: string;
1283
+ variables: {
1284
+ type: "string" | "number" | "date" | "url" | "currency";
1285
+ label: string;
1286
+ required: boolean;
1287
+ key: string;
1288
+ defaultValue?: unknown;
1289
+ }[];
1290
+ createdBy: string;
1291
+ isPublished: boolean;
1292
+ unlayerDesign?: unknown;
1293
+ builderDocument?: unknown;
1294
+ html?: string | null | undefined;
1295
+ reactComponent?: string | null | undefined;
1296
+ reactPropsSchema?: unknown;
1297
+ }, {
1298
+ id: number;
1299
+ createdAt: string;
1300
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1301
+ templateId: number;
1302
+ version: number;
1303
+ subject: string;
1304
+ variables: {
1305
+ type: "string" | "number" | "date" | "url" | "currency";
1306
+ label: string;
1307
+ required: boolean;
1308
+ key: string;
1309
+ defaultValue?: unknown;
1310
+ }[];
1311
+ createdBy: string;
1312
+ isPublished: boolean;
1313
+ unlayerDesign?: unknown;
1314
+ builderDocument?: unknown;
1315
+ html?: string | null | undefined;
1316
+ reactComponent?: string | null | undefined;
1317
+ reactPropsSchema?: unknown;
1318
+ }>;
1319
+ export declare const listEmailTemplatesInputSchema: z.ZodObject<{
1320
+ category: z.ZodOptional<z.ZodEnum<["system", "marketing", "transactional"]>>;
1321
+ activeOnly: z.ZodOptional<z.ZodBoolean>;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ category?: "system" | "marketing" | "transactional" | undefined;
1324
+ activeOnly?: boolean | undefined;
1325
+ }, {
1326
+ category?: "system" | "marketing" | "transactional" | undefined;
1327
+ activeOnly?: boolean | undefined;
1328
+ }>;
1329
+ export declare const listEmailTemplatesResponseSchema: z.ZodObject<{
1330
+ templates: z.ZodArray<z.ZodObject<{
1331
+ id: z.ZodNumber;
1332
+ name: z.ZodString;
1333
+ slug: z.ZodString;
1334
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1335
+ ownerId: z.ZodString;
1336
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1337
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1338
+ category: z.ZodEnum<["system", "marketing", "transactional"]>;
1339
+ isActive: z.ZodBoolean;
1340
+ isArchived: z.ZodBoolean;
1341
+ createdAt: z.ZodString;
1342
+ updatedAt: z.ZodString;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ name: string;
1345
+ id: number;
1346
+ createdAt: string;
1347
+ updatedAt: string;
1348
+ slug: string;
1349
+ isActive: boolean;
1350
+ ownerId: string;
1351
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1352
+ category: "system" | "marketing" | "transactional";
1353
+ isArchived: boolean;
1354
+ description?: string | null | undefined;
1355
+ organizationId?: string | null | undefined;
1356
+ }, {
1357
+ name: string;
1358
+ id: number;
1359
+ createdAt: string;
1360
+ updatedAt: string;
1361
+ slug: string;
1362
+ isActive: boolean;
1363
+ ownerId: string;
1364
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1365
+ category: "system" | "marketing" | "transactional";
1366
+ isArchived: boolean;
1367
+ description?: string | null | undefined;
1368
+ organizationId?: string | null | undefined;
1369
+ }>, "many">;
1370
+ }, "strip", z.ZodTypeAny, {
1371
+ templates: {
1372
+ name: string;
1373
+ id: number;
1374
+ createdAt: string;
1375
+ updatedAt: string;
1376
+ slug: string;
1377
+ isActive: boolean;
1378
+ ownerId: string;
1379
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1380
+ category: "system" | "marketing" | "transactional";
1381
+ isArchived: boolean;
1382
+ description?: string | null | undefined;
1383
+ organizationId?: string | null | undefined;
1384
+ }[];
1385
+ }, {
1386
+ templates: {
1387
+ name: string;
1388
+ id: number;
1389
+ createdAt: string;
1390
+ updatedAt: string;
1391
+ slug: string;
1392
+ isActive: boolean;
1393
+ ownerId: string;
1394
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1395
+ category: "system" | "marketing" | "transactional";
1396
+ isArchived: boolean;
1397
+ description?: string | null | undefined;
1398
+ organizationId?: string | null | undefined;
1399
+ }[];
1400
+ }>;
1401
+ export declare const getEmailTemplateResponseSchema: z.ZodObject<{
1402
+ template: z.ZodObject<{
1403
+ id: z.ZodNumber;
1404
+ name: z.ZodString;
1405
+ slug: z.ZodString;
1406
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1407
+ ownerId: z.ZodString;
1408
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1409
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1410
+ category: z.ZodEnum<["system", "marketing", "transactional"]>;
1411
+ isActive: z.ZodBoolean;
1412
+ isArchived: z.ZodBoolean;
1413
+ createdAt: z.ZodString;
1414
+ updatedAt: z.ZodString;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ name: string;
1417
+ id: number;
1418
+ createdAt: string;
1419
+ updatedAt: string;
1420
+ slug: string;
1421
+ isActive: boolean;
1422
+ ownerId: string;
1423
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1424
+ category: "system" | "marketing" | "transactional";
1425
+ isArchived: boolean;
1426
+ description?: string | null | undefined;
1427
+ organizationId?: string | null | undefined;
1428
+ }, {
1429
+ name: string;
1430
+ id: number;
1431
+ createdAt: string;
1432
+ updatedAt: string;
1433
+ slug: string;
1434
+ isActive: boolean;
1435
+ ownerId: string;
1436
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1437
+ category: "system" | "marketing" | "transactional";
1438
+ isArchived: boolean;
1439
+ description?: string | null | undefined;
1440
+ organizationId?: string | null | undefined;
1441
+ }>;
1442
+ versions: z.ZodArray<z.ZodObject<{
1443
+ id: z.ZodNumber;
1444
+ templateId: z.ZodNumber;
1445
+ version: z.ZodNumber;
1446
+ subject: z.ZodString;
1447
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1448
+ unlayerDesign: z.ZodOptional<z.ZodUnknown>;
1449
+ builderDocument: z.ZodOptional<z.ZodUnknown>;
1450
+ html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1451
+ reactComponent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1452
+ reactPropsSchema: z.ZodOptional<z.ZodUnknown>;
1453
+ variables: z.ZodArray<z.ZodObject<{
1454
+ key: z.ZodString;
1455
+ label: z.ZodString;
1456
+ type: z.ZodEnum<["string", "number", "url", "currency", "date"]>;
1457
+ required: z.ZodBoolean;
1458
+ defaultValue: z.ZodOptional<z.ZodUnknown>;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ type: "string" | "number" | "date" | "url" | "currency";
1461
+ label: string;
1462
+ required: boolean;
1463
+ key: string;
1464
+ defaultValue?: unknown;
1465
+ }, {
1466
+ type: "string" | "number" | "date" | "url" | "currency";
1467
+ label: string;
1468
+ required: boolean;
1469
+ key: string;
1470
+ defaultValue?: unknown;
1471
+ }>, "many">;
1472
+ createdBy: z.ZodString;
1473
+ createdAt: z.ZodString;
1474
+ isPublished: z.ZodBoolean;
1475
+ }, "strip", z.ZodTypeAny, {
1476
+ id: number;
1477
+ createdAt: string;
1478
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1479
+ templateId: number;
1480
+ version: number;
1481
+ subject: string;
1482
+ variables: {
1483
+ type: "string" | "number" | "date" | "url" | "currency";
1484
+ label: string;
1485
+ required: boolean;
1486
+ key: string;
1487
+ defaultValue?: unknown;
1488
+ }[];
1489
+ createdBy: string;
1490
+ isPublished: boolean;
1491
+ unlayerDesign?: unknown;
1492
+ builderDocument?: unknown;
1493
+ html?: string | null | undefined;
1494
+ reactComponent?: string | null | undefined;
1495
+ reactPropsSchema?: unknown;
1496
+ }, {
1497
+ id: number;
1498
+ createdAt: string;
1499
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1500
+ templateId: number;
1501
+ version: number;
1502
+ subject: string;
1503
+ variables: {
1504
+ type: "string" | "number" | "date" | "url" | "currency";
1505
+ label: string;
1506
+ required: boolean;
1507
+ key: string;
1508
+ defaultValue?: unknown;
1509
+ }[];
1510
+ createdBy: string;
1511
+ isPublished: boolean;
1512
+ unlayerDesign?: unknown;
1513
+ builderDocument?: unknown;
1514
+ html?: string | null | undefined;
1515
+ reactComponent?: string | null | undefined;
1516
+ reactPropsSchema?: unknown;
1517
+ }>, "many">;
1518
+ }, "strip", z.ZodTypeAny, {
1519
+ template: {
1520
+ name: string;
1521
+ id: number;
1522
+ createdAt: string;
1523
+ updatedAt: string;
1524
+ slug: string;
1525
+ isActive: boolean;
1526
+ ownerId: string;
1527
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1528
+ category: "system" | "marketing" | "transactional";
1529
+ isArchived: boolean;
1530
+ description?: string | null | undefined;
1531
+ organizationId?: string | null | undefined;
1532
+ };
1533
+ versions: {
1534
+ id: number;
1535
+ createdAt: string;
1536
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1537
+ templateId: number;
1538
+ version: number;
1539
+ subject: string;
1540
+ variables: {
1541
+ type: "string" | "number" | "date" | "url" | "currency";
1542
+ label: string;
1543
+ required: boolean;
1544
+ key: string;
1545
+ defaultValue?: unknown;
1546
+ }[];
1547
+ createdBy: string;
1548
+ isPublished: boolean;
1549
+ unlayerDesign?: unknown;
1550
+ builderDocument?: unknown;
1551
+ html?: string | null | undefined;
1552
+ reactComponent?: string | null | undefined;
1553
+ reactPropsSchema?: unknown;
1554
+ }[];
1555
+ }, {
1556
+ template: {
1557
+ name: string;
1558
+ id: number;
1559
+ createdAt: string;
1560
+ updatedAt: string;
1561
+ slug: string;
1562
+ isActive: boolean;
1563
+ ownerId: string;
1564
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1565
+ category: "system" | "marketing" | "transactional";
1566
+ isArchived: boolean;
1567
+ description?: string | null | undefined;
1568
+ organizationId?: string | null | undefined;
1569
+ };
1570
+ versions: {
1571
+ id: number;
1572
+ createdAt: string;
1573
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1574
+ templateId: number;
1575
+ version: number;
1576
+ subject: string;
1577
+ variables: {
1578
+ type: "string" | "number" | "date" | "url" | "currency";
1579
+ label: string;
1580
+ required: boolean;
1581
+ key: string;
1582
+ defaultValue?: unknown;
1583
+ }[];
1584
+ createdBy: string;
1585
+ isPublished: boolean;
1586
+ unlayerDesign?: unknown;
1587
+ builderDocument?: unknown;
1588
+ html?: string | null | undefined;
1589
+ reactComponent?: string | null | undefined;
1590
+ reactPropsSchema?: unknown;
1591
+ }[];
1592
+ }>;
1593
+ export declare const createEmailTemplateInputSchema: z.ZodObject<{
1594
+ name: z.ZodString;
1595
+ slug: z.ZodString;
1596
+ description: z.ZodOptional<z.ZodString>;
1597
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1598
+ category: z.ZodEnum<["system", "marketing", "transactional"]>;
1599
+ isActive: z.ZodOptional<z.ZodBoolean>;
1600
+ }, "strip", z.ZodTypeAny, {
1601
+ name: string;
1602
+ slug: string;
1603
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1604
+ category: "system" | "marketing" | "transactional";
1605
+ description?: string | undefined;
1606
+ isActive?: boolean | undefined;
1607
+ }, {
1608
+ name: string;
1609
+ slug: string;
1610
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1611
+ category: "system" | "marketing" | "transactional";
1612
+ description?: string | undefined;
1613
+ isActive?: boolean | undefined;
1614
+ }>;
1615
+ export declare const createEmailTemplateResponseSchema: z.ZodObject<{
1616
+ template: z.ZodObject<{
1617
+ id: z.ZodNumber;
1618
+ name: z.ZodString;
1619
+ slug: z.ZodString;
1620
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1621
+ ownerId: z.ZodString;
1622
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1623
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1624
+ category: z.ZodEnum<["system", "marketing", "transactional"]>;
1625
+ isActive: z.ZodBoolean;
1626
+ isArchived: z.ZodBoolean;
1627
+ createdAt: z.ZodString;
1628
+ updatedAt: z.ZodString;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ name: string;
1631
+ id: number;
1632
+ createdAt: string;
1633
+ updatedAt: string;
1634
+ slug: string;
1635
+ isActive: boolean;
1636
+ ownerId: string;
1637
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1638
+ category: "system" | "marketing" | "transactional";
1639
+ isArchived: boolean;
1640
+ description?: string | null | undefined;
1641
+ organizationId?: string | null | undefined;
1642
+ }, {
1643
+ name: string;
1644
+ id: number;
1645
+ createdAt: string;
1646
+ updatedAt: string;
1647
+ slug: string;
1648
+ isActive: boolean;
1649
+ ownerId: string;
1650
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1651
+ category: "system" | "marketing" | "transactional";
1652
+ isArchived: boolean;
1653
+ description?: string | null | undefined;
1654
+ organizationId?: string | null | undefined;
1655
+ }>;
1656
+ }, "strip", z.ZodTypeAny, {
1657
+ template: {
1658
+ name: string;
1659
+ id: number;
1660
+ createdAt: string;
1661
+ updatedAt: string;
1662
+ slug: string;
1663
+ isActive: boolean;
1664
+ ownerId: string;
1665
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1666
+ category: "system" | "marketing" | "transactional";
1667
+ isArchived: boolean;
1668
+ description?: string | null | undefined;
1669
+ organizationId?: string | null | undefined;
1670
+ };
1671
+ }, {
1672
+ template: {
1673
+ name: string;
1674
+ id: number;
1675
+ createdAt: string;
1676
+ updatedAt: string;
1677
+ slug: string;
1678
+ isActive: boolean;
1679
+ ownerId: string;
1680
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1681
+ category: "system" | "marketing" | "transactional";
1682
+ isArchived: boolean;
1683
+ description?: string | null | undefined;
1684
+ organizationId?: string | null | undefined;
1685
+ };
1686
+ }>;
1687
+ export declare const createEmailTemplateVersionInputSchema: z.ZodObject<{
1688
+ subject: z.ZodString;
1689
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1690
+ unlayerDesign: z.ZodOptional<z.ZodUnknown>;
1691
+ builderDocument: z.ZodOptional<z.ZodUnknown>;
1692
+ html: z.ZodOptional<z.ZodString>;
1693
+ reactComponent: z.ZodOptional<z.ZodString>;
1694
+ reactPropsSchema: z.ZodOptional<z.ZodUnknown>;
1695
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1696
+ key: z.ZodString;
1697
+ label: z.ZodString;
1698
+ type: z.ZodEnum<["string", "number", "url", "currency", "date"]>;
1699
+ required: z.ZodBoolean;
1700
+ defaultValue: z.ZodOptional<z.ZodUnknown>;
1701
+ }, "strip", z.ZodTypeAny, {
1702
+ type: "string" | "number" | "date" | "url" | "currency";
1703
+ label: string;
1704
+ required: boolean;
1705
+ key: string;
1706
+ defaultValue?: unknown;
1707
+ }, {
1708
+ type: "string" | "number" | "date" | "url" | "currency";
1709
+ label: string;
1710
+ required: boolean;
1711
+ key: string;
1712
+ defaultValue?: unknown;
1713
+ }>, "many">>;
1714
+ isPublished: z.ZodOptional<z.ZodBoolean>;
1715
+ }, "strip", z.ZodTypeAny, {
1716
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1717
+ subject: string;
1718
+ unlayerDesign?: unknown;
1719
+ builderDocument?: unknown;
1720
+ html?: string | undefined;
1721
+ reactComponent?: string | undefined;
1722
+ reactPropsSchema?: unknown;
1723
+ variables?: {
1724
+ type: "string" | "number" | "date" | "url" | "currency";
1725
+ label: string;
1726
+ required: boolean;
1727
+ key: string;
1728
+ defaultValue?: unknown;
1729
+ }[] | undefined;
1730
+ isPublished?: boolean | undefined;
1731
+ }, {
1732
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1733
+ subject: string;
1734
+ unlayerDesign?: unknown;
1735
+ builderDocument?: unknown;
1736
+ html?: string | undefined;
1737
+ reactComponent?: string | undefined;
1738
+ reactPropsSchema?: unknown;
1739
+ variables?: {
1740
+ type: "string" | "number" | "date" | "url" | "currency";
1741
+ label: string;
1742
+ required: boolean;
1743
+ key: string;
1744
+ defaultValue?: unknown;
1745
+ }[] | undefined;
1746
+ isPublished?: boolean | undefined;
1747
+ }>;
1748
+ export declare const createEmailTemplateVersionResponseSchema: z.ZodObject<{
1749
+ version: z.ZodObject<{
1750
+ id: z.ZodNumber;
1751
+ templateId: z.ZodNumber;
1752
+ version: z.ZodNumber;
1753
+ subject: z.ZodString;
1754
+ renderer: z.ZodEnum<["unlayer", "react-email", "native-email-builder"]>;
1755
+ unlayerDesign: z.ZodOptional<z.ZodUnknown>;
1756
+ builderDocument: z.ZodOptional<z.ZodUnknown>;
1757
+ html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1758
+ reactComponent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1759
+ reactPropsSchema: z.ZodOptional<z.ZodUnknown>;
1760
+ variables: z.ZodArray<z.ZodObject<{
1761
+ key: z.ZodString;
1762
+ label: z.ZodString;
1763
+ type: z.ZodEnum<["string", "number", "url", "currency", "date"]>;
1764
+ required: z.ZodBoolean;
1765
+ defaultValue: z.ZodOptional<z.ZodUnknown>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ type: "string" | "number" | "date" | "url" | "currency";
1768
+ label: string;
1769
+ required: boolean;
1770
+ key: string;
1771
+ defaultValue?: unknown;
1772
+ }, {
1773
+ type: "string" | "number" | "date" | "url" | "currency";
1774
+ label: string;
1775
+ required: boolean;
1776
+ key: string;
1777
+ defaultValue?: unknown;
1778
+ }>, "many">;
1779
+ createdBy: z.ZodString;
1780
+ createdAt: z.ZodString;
1781
+ isPublished: z.ZodBoolean;
1782
+ }, "strip", z.ZodTypeAny, {
1783
+ id: number;
1784
+ createdAt: string;
1785
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1786
+ templateId: number;
1787
+ version: number;
1788
+ subject: string;
1789
+ variables: {
1790
+ type: "string" | "number" | "date" | "url" | "currency";
1791
+ label: string;
1792
+ required: boolean;
1793
+ key: string;
1794
+ defaultValue?: unknown;
1795
+ }[];
1796
+ createdBy: string;
1797
+ isPublished: boolean;
1798
+ unlayerDesign?: unknown;
1799
+ builderDocument?: unknown;
1800
+ html?: string | null | undefined;
1801
+ reactComponent?: string | null | undefined;
1802
+ reactPropsSchema?: unknown;
1803
+ }, {
1804
+ id: number;
1805
+ createdAt: string;
1806
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1807
+ templateId: number;
1808
+ version: number;
1809
+ subject: string;
1810
+ variables: {
1811
+ type: "string" | "number" | "date" | "url" | "currency";
1812
+ label: string;
1813
+ required: boolean;
1814
+ key: string;
1815
+ defaultValue?: unknown;
1816
+ }[];
1817
+ createdBy: string;
1818
+ isPublished: boolean;
1819
+ unlayerDesign?: unknown;
1820
+ builderDocument?: unknown;
1821
+ html?: string | null | undefined;
1822
+ reactComponent?: string | null | undefined;
1823
+ reactPropsSchema?: unknown;
1824
+ }>;
1825
+ }, "strip", z.ZodTypeAny, {
1826
+ version: {
1827
+ id: number;
1828
+ createdAt: string;
1829
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1830
+ templateId: number;
1831
+ version: number;
1832
+ subject: string;
1833
+ variables: {
1834
+ type: "string" | "number" | "date" | "url" | "currency";
1835
+ label: string;
1836
+ required: boolean;
1837
+ key: string;
1838
+ defaultValue?: unknown;
1839
+ }[];
1840
+ createdBy: string;
1841
+ isPublished: boolean;
1842
+ unlayerDesign?: unknown;
1843
+ builderDocument?: unknown;
1844
+ html?: string | null | undefined;
1845
+ reactComponent?: string | null | undefined;
1846
+ reactPropsSchema?: unknown;
1847
+ };
1848
+ }, {
1849
+ version: {
1850
+ id: number;
1851
+ createdAt: string;
1852
+ renderer: "unlayer" | "react-email" | "native-email-builder";
1853
+ templateId: number;
1854
+ version: number;
1855
+ subject: string;
1856
+ variables: {
1857
+ type: "string" | "number" | "date" | "url" | "currency";
1858
+ label: string;
1859
+ required: boolean;
1860
+ key: string;
1861
+ defaultValue?: unknown;
1862
+ }[];
1863
+ createdBy: string;
1864
+ isPublished: boolean;
1865
+ unlayerDesign?: unknown;
1866
+ builderDocument?: unknown;
1867
+ html?: string | null | undefined;
1868
+ reactComponent?: string | null | undefined;
1869
+ reactPropsSchema?: unknown;
1870
+ };
1871
+ }>;
1872
+ export type CollectionFieldType = z.infer<typeof collectionFieldTypeSchema>;
1873
+ export type CollectionFieldInput = z.infer<typeof collectionFieldInputSchema>;
1874
+ export type CollectionField = z.infer<typeof collectionFieldSchema>;
1875
+ export type Collection = z.infer<typeof collectionSchema>;
1876
+ export type CreateCollectionInput = z.infer<typeof createCollectionInputSchema>;
1877
+ export type CreateCollectionResponse = z.infer<typeof createCollectionResponseSchema>;
1878
+ export type ListCollectionsResponse = z.infer<typeof listCollectionsResponseSchema>;
1879
+ export type GetCollectionResponse = z.infer<typeof getCollectionResponseSchema>;
1880
+ export type CollectionRow = z.infer<typeof collectionRowSchema>;
1881
+ export type ListRowsInput = z.infer<typeof listRowsInputSchema>;
1882
+ export type ListRowsResponse = z.infer<typeof listRowsResponseSchema>;
1883
+ export type UpsertRowInput = z.infer<typeof upsertRowInputSchema>;
1884
+ export type UpsertRowResponse = z.infer<typeof upsertRowResponseSchema>;
1885
+ export type QueryFilter = z.infer<typeof queryFilterSchema>;
1886
+ export type QueryRowsInput = z.infer<typeof queryRowsInputSchema>;
1887
+ export type QueryRowsResponse = z.infer<typeof queryRowsResponseSchema>;
1888
+ export type SiteAssetInput = z.infer<typeof siteAssetInputSchema>;
1889
+ export type SiteAsset = z.infer<typeof siteAssetSchema>;
1890
+ export type UploadSiteAssetResponse = z.infer<typeof uploadSiteAssetResponseSchema>;
1891
+ export type ExecuteActionInput = z.infer<typeof executeActionInputSchema>;
1892
+ export type ExecuteActionResponse = z.infer<typeof executeActionResponseSchema>;
1893
+ export type AuthIntrospectResponse = z.infer<typeof authIntrospectResponseSchema>;
1894
+ export type EmailTemplateRenderer = z.infer<typeof emailTemplateRendererSchema>;
1895
+ export type EmailTemplateCategory = z.infer<typeof emailTemplateCategorySchema>;
1896
+ export type EmailTemplateVariable = z.infer<typeof emailTemplateVariableSchema>;
1897
+ export type EmailTemplateSummary = z.infer<typeof emailTemplateSummarySchema>;
1898
+ export type EmailTemplateVersion = z.infer<typeof emailTemplateVersionSchema>;
1899
+ export type ListEmailTemplatesInput = z.infer<typeof listEmailTemplatesInputSchema>;
1900
+ export type ListEmailTemplatesResponse = z.infer<typeof listEmailTemplatesResponseSchema>;
1901
+ export type GetEmailTemplateResponse = z.infer<typeof getEmailTemplateResponseSchema>;
1902
+ export type CreateEmailTemplateInput = z.infer<typeof createEmailTemplateInputSchema>;
1903
+ export type CreateEmailTemplateResponse = z.infer<typeof createEmailTemplateResponseSchema>;
1904
+ export type CreateEmailTemplateVersionInput = z.infer<typeof createEmailTemplateVersionInputSchema>;
1905
+ export type CreateEmailTemplateVersionResponse = z.infer<typeof createEmailTemplateVersionResponseSchema>;
1906
+ export type Follower = z.infer<typeof followerSchema>;
1907
+ export type FollowerJoinInput = z.infer<typeof followerJoinInputSchema>;
1908
+ export type FollowerJoinResponse = z.infer<typeof followerJoinResponseSchema>;
1909
+ export type FollowerMeInput = z.infer<typeof followerMeInputSchema>;
1910
+ export type FollowerMeResponse = z.infer<typeof followerMeResponseSchema>;
1911
+ export type FollowerEditInput = z.infer<typeof followerEditInputSchema>;
1912
+ export type FollowerEditResponse = z.infer<typeof followerEditResponseSchema>;
1913
+ export type FollowerLeaveInput = z.infer<typeof followerLeaveInputSchema>;
1914
+ export type FollowerLeaveResponse = z.infer<typeof followerLeaveResponseSchema>;
1915
+ export type DashboardSessionResponse = z.infer<typeof dashboardSessionResponseSchema>;
1916
+ //# sourceMappingURL=contracts.d.ts.map