@kl1/contracts 1.0.70 → 1.0.72

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 (50) hide show
  1. package/dist/index.js +13 -19
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +13 -19
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +1110 -2579
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +222 -519
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +228 -482
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/comment/index.d.ts +222 -547
  12. package/dist/src/comment/index.d.ts.map +1 -1
  13. package/dist/src/comment/schema.d.ts +66 -165
  14. package/dist/src/comment/schema.d.ts.map +1 -1
  15. package/dist/src/contact/index.d.ts +1496 -1003
  16. package/dist/src/contact/index.d.ts.map +1 -1
  17. package/dist/src/contact/schema.d.ts +72 -200
  18. package/dist/src/contact/schema.d.ts.map +1 -1
  19. package/dist/src/contact/validation.d.ts +317 -806
  20. package/dist/src/contact/validation.d.ts.map +1 -1
  21. package/dist/src/contract.d.ts +6029 -8827
  22. package/dist/src/contract.d.ts.map +1 -1
  23. package/dist/src/custom-field-upload/schema.d.ts +2 -2
  24. package/dist/src/cx-log/index.d.ts +234 -573
  25. package/dist/src/cx-log/index.d.ts.map +1 -1
  26. package/dist/src/cx-log/schema.d.ts +198 -495
  27. package/dist/src/cx-log/schema.d.ts.map +1 -1
  28. package/dist/src/instagram/index.d.ts +138 -265
  29. package/dist/src/instagram/index.d.ts.map +1 -1
  30. package/dist/src/line/index.d.ts +138 -265
  31. package/dist/src/line/index.d.ts.map +1 -1
  32. package/dist/src/mail/mail-contract.d.ts +1330 -1330
  33. package/dist/src/mail/message-contract.d.ts +56 -56
  34. package/dist/src/mail/room-contract.d.ts +1258 -1258
  35. package/dist/src/mail/schemas/message.schema.d.ts +33 -33
  36. package/dist/src/mail/schemas/room-validation.schema.d.ts +420 -420
  37. package/dist/src/mail/schemas/room.schema.d.ts +284 -284
  38. package/dist/src/messenger/index.d.ts +138 -265
  39. package/dist/src/messenger/index.d.ts.map +1 -1
  40. package/dist/src/telephony-cdr/index.d.ts +198 -495
  41. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  42. package/dist/src/telephony-cdr/schema.d.ts +54 -139
  43. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  44. package/dist/src/ticket/index.d.ts +338 -818
  45. package/dist/src/ticket/index.d.ts.map +1 -1
  46. package/dist/src/ticket/schema.d.ts +54 -139
  47. package/dist/src/ticket/schema.d.ts.map +1 -1
  48. package/dist/src/viber/index.d.ts +138 -265
  49. package/dist/src/viber/index.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -125,12 +125,890 @@ export declare const contactContract: {
125
125
  responses: {
126
126
  201: z.ZodObject<{
127
127
  requestId: z.ZodString;
128
- message: z.ZodString;
128
+ data: z.ZodObject<{
129
+ id: z.ZodString;
130
+ createdAt: z.ZodDate;
131
+ updatedAt: z.ZodDate;
132
+ deletedAt: z.ZodNullable<z.ZodDate>;
133
+ name: z.ZodString;
134
+ address: z.ZodNullable<z.ZodString>;
135
+ channel: z.ZodNullable<z.ZodString>;
136
+ notes: z.ZodNullable<z.ZodString>;
137
+ contactProfile: z.ZodNullable<z.ZodString>;
138
+ socialProfileUrl: z.ZodNullable<z.ZodString>;
139
+ tags: z.ZodArray<z.ZodObject<{
140
+ id: z.ZodString;
141
+ createdAt: z.ZodDate;
142
+ updatedAt: z.ZodDate;
143
+ deletedAt: z.ZodNullable<z.ZodDate>;
144
+ name: z.ZodString;
145
+ }, "strip", z.ZodTypeAny, {
146
+ id: string;
147
+ name: string;
148
+ createdAt: Date;
149
+ updatedAt: Date;
150
+ deletedAt: Date | null;
151
+ }, {
152
+ id: string;
153
+ name: string;
154
+ createdAt: Date;
155
+ updatedAt: Date;
156
+ deletedAt: Date | null;
157
+ }>, "many">;
158
+ company: z.ZodNullable<z.ZodObject<Omit<{
159
+ id: z.ZodString;
160
+ createdAt: z.ZodDate;
161
+ updatedAt: z.ZodDate;
162
+ deletedAt: z.ZodNullable<z.ZodDate>;
163
+ name: z.ZodOptional<z.ZodString>;
164
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
+ id: z.ZodString;
169
+ createdAt: z.ZodDate;
170
+ updatedAt: z.ZodDate;
171
+ deletedAt: z.ZodNullable<z.ZodDate>;
172
+ textValue: z.ZodNullable<z.ZodString>;
173
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
174
+ numberValue: z.ZodNullable<z.ZodNumber>;
175
+ dateValue: z.ZodNullable<z.ZodDate>;
176
+ attribute: z.ZodObject<Omit<{
177
+ id: z.ZodString;
178
+ createdAt: z.ZodDate;
179
+ updatedAt: z.ZodDate;
180
+ deletedAt: z.ZodNullable<z.ZodDate>;
181
+ systemName: z.ZodString;
182
+ displayName: z.ZodString;
183
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
184
+ position: z.ZodNumber;
185
+ isDefault: z.ZodBoolean;
186
+ isArchived: z.ZodBoolean;
187
+ isRequired: z.ZodBoolean;
188
+ isUnique: z.ZodBoolean;
189
+ options: z.ZodArray<z.ZodObject<{
190
+ position: z.ZodNumber;
191
+ value: z.ZodString;
192
+ label: z.ZodString;
193
+ isDefault: z.ZodBoolean;
194
+ id: z.ZodString;
195
+ }, "strip", z.ZodTypeAny, {
196
+ id: string;
197
+ position: number;
198
+ value: string;
199
+ label: string;
200
+ isDefault: boolean;
201
+ }, {
202
+ id: string;
203
+ position: number;
204
+ value: string;
205
+ label: string;
206
+ isDefault: boolean;
207
+ }>, "many">;
208
+ group: z.ZodObject<{
209
+ id: z.ZodString;
210
+ createdAt: z.ZodDate;
211
+ updatedAt: z.ZodDate;
212
+ deletedAt: z.ZodNullable<z.ZodDate>;
213
+ systemName: z.ZodString;
214
+ displayName: z.ZodString;
215
+ }, "strip", z.ZodTypeAny, {
216
+ id: string;
217
+ createdAt: Date;
218
+ updatedAt: Date;
219
+ deletedAt: Date | null;
220
+ systemName: string;
221
+ displayName: string;
222
+ }, {
223
+ id: string;
224
+ createdAt: Date;
225
+ updatedAt: Date;
226
+ deletedAt: Date | null;
227
+ systemName: string;
228
+ displayName: string;
229
+ }>;
230
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
231
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
232
+ id: string;
233
+ position: number;
234
+ createdAt: Date;
235
+ updatedAt: Date;
236
+ deletedAt: Date | null;
237
+ systemName: string;
238
+ displayName: string;
239
+ isDefault: boolean;
240
+ isArchived: boolean;
241
+ isRequired: boolean;
242
+ isUnique: boolean;
243
+ }, {
244
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
245
+ id: string;
246
+ position: number;
247
+ createdAt: Date;
248
+ updatedAt: Date;
249
+ deletedAt: Date | null;
250
+ systemName: string;
251
+ displayName: string;
252
+ isDefault: boolean;
253
+ isArchived: boolean;
254
+ isRequired: boolean;
255
+ isUnique: boolean;
256
+ }>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ id: string;
259
+ createdAt: Date;
260
+ updatedAt: Date;
261
+ deletedAt: Date | null;
262
+ attribute: {
263
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
264
+ id: string;
265
+ position: number;
266
+ createdAt: Date;
267
+ updatedAt: Date;
268
+ deletedAt: Date | null;
269
+ systemName: string;
270
+ displayName: string;
271
+ isDefault: boolean;
272
+ isArchived: boolean;
273
+ isRequired: boolean;
274
+ isUnique: boolean;
275
+ };
276
+ textValue: string | null;
277
+ booleanValue: boolean | null;
278
+ numberValue: number | null;
279
+ dateValue: Date | null;
280
+ }, {
281
+ id: string;
282
+ createdAt: Date;
283
+ updatedAt: Date;
284
+ deletedAt: Date | null;
285
+ attribute: {
286
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
287
+ id: string;
288
+ position: number;
289
+ createdAt: Date;
290
+ updatedAt: Date;
291
+ deletedAt: Date | null;
292
+ systemName: string;
293
+ displayName: string;
294
+ isDefault: boolean;
295
+ isArchived: boolean;
296
+ isRequired: boolean;
297
+ isUnique: boolean;
298
+ };
299
+ textValue: string | null;
300
+ booleanValue: boolean | null;
301
+ numberValue: number | null;
302
+ dateValue: Date | null;
303
+ }>, "many">>;
304
+ }, "customFields">, "strip", z.ZodTypeAny, {
305
+ id: string;
306
+ createdAt: Date;
307
+ updatedAt: Date;
308
+ deletedAt: Date | null;
309
+ address?: string | null | undefined;
310
+ name?: string | undefined;
311
+ phone?: string | null | undefined;
312
+ industry?: string | null | undefined;
313
+ }, {
314
+ id: string;
315
+ createdAt: Date;
316
+ updatedAt: Date;
317
+ deletedAt: Date | null;
318
+ address?: string | null | undefined;
319
+ name?: string | undefined;
320
+ phone?: string | null | undefined;
321
+ industry?: string | null | undefined;
322
+ }>>;
323
+ customFields: z.ZodArray<z.ZodObject<{
324
+ id: z.ZodString;
325
+ createdAt: z.ZodDate;
326
+ updatedAt: z.ZodDate;
327
+ deletedAt: z.ZodNullable<z.ZodDate>;
328
+ textValue: z.ZodNullable<z.ZodString>;
329
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
330
+ numberValue: z.ZodNullable<z.ZodNumber>;
331
+ dateValue: z.ZodNullable<z.ZodDate>;
332
+ attribute: z.ZodObject<Omit<{
333
+ id: z.ZodString;
334
+ createdAt: z.ZodDate;
335
+ updatedAt: z.ZodDate;
336
+ deletedAt: z.ZodNullable<z.ZodDate>;
337
+ systemName: z.ZodString;
338
+ displayName: z.ZodString;
339
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
340
+ position: z.ZodNumber;
341
+ isDefault: z.ZodBoolean;
342
+ isArchived: z.ZodBoolean;
343
+ isRequired: z.ZodBoolean;
344
+ isUnique: z.ZodBoolean;
345
+ options: z.ZodArray<z.ZodObject<{
346
+ position: z.ZodNumber;
347
+ value: z.ZodString;
348
+ label: z.ZodString;
349
+ isDefault: z.ZodBoolean;
350
+ id: z.ZodString;
351
+ }, "strip", z.ZodTypeAny, {
352
+ id: string;
353
+ position: number;
354
+ value: string;
355
+ label: string;
356
+ isDefault: boolean;
357
+ }, {
358
+ id: string;
359
+ position: number;
360
+ value: string;
361
+ label: string;
362
+ isDefault: boolean;
363
+ }>, "many">;
364
+ group: z.ZodObject<{
365
+ id: z.ZodString;
366
+ createdAt: z.ZodDate;
367
+ updatedAt: z.ZodDate;
368
+ deletedAt: z.ZodNullable<z.ZodDate>;
369
+ systemName: z.ZodString;
370
+ displayName: z.ZodString;
371
+ }, "strip", z.ZodTypeAny, {
372
+ id: string;
373
+ createdAt: Date;
374
+ updatedAt: Date;
375
+ deletedAt: Date | null;
376
+ systemName: string;
377
+ displayName: string;
378
+ }, {
379
+ id: string;
380
+ createdAt: Date;
381
+ updatedAt: Date;
382
+ deletedAt: Date | null;
383
+ systemName: string;
384
+ displayName: string;
385
+ }>;
386
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
387
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
388
+ id: string;
389
+ position: number;
390
+ createdAt: Date;
391
+ updatedAt: Date;
392
+ deletedAt: Date | null;
393
+ systemName: string;
394
+ displayName: string;
395
+ isDefault: boolean;
396
+ isArchived: boolean;
397
+ isRequired: boolean;
398
+ isUnique: boolean;
399
+ }, {
400
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
401
+ id: string;
402
+ position: number;
403
+ createdAt: Date;
404
+ updatedAt: Date;
405
+ deletedAt: Date | null;
406
+ systemName: string;
407
+ displayName: string;
408
+ isDefault: boolean;
409
+ isArchived: boolean;
410
+ isRequired: boolean;
411
+ isUnique: boolean;
412
+ }>;
413
+ uploads: z.ZodArray<z.ZodObject<{
414
+ id: z.ZodString;
415
+ createdAt: z.ZodDate;
416
+ updatedAt: z.ZodDate;
417
+ deletedAt: z.ZodNullable<z.ZodDate>;
418
+ bucketName: z.ZodString;
419
+ fileName: z.ZodString;
420
+ fileSize: z.ZodNumber;
421
+ fileKey: z.ZodString;
422
+ fileUrl: z.ZodNullable<z.ZodString>;
423
+ status: z.ZodOptional<z.ZodString>;
424
+ }, "strip", z.ZodTypeAny, {
425
+ id: string;
426
+ createdAt: Date;
427
+ updatedAt: Date;
428
+ deletedAt: Date | null;
429
+ fileName: string;
430
+ fileKey: string;
431
+ bucketName: string;
432
+ fileSize: number;
433
+ fileUrl: string | null;
434
+ status?: string | undefined;
435
+ }, {
436
+ id: string;
437
+ createdAt: Date;
438
+ updatedAt: Date;
439
+ deletedAt: Date | null;
440
+ fileName: string;
441
+ fileKey: string;
442
+ bucketName: string;
443
+ fileSize: number;
444
+ fileUrl: string | null;
445
+ status?: string | undefined;
446
+ }>, "many">;
447
+ }, "strip", z.ZodTypeAny, {
448
+ id: string;
449
+ createdAt: Date;
450
+ updatedAt: Date;
451
+ deletedAt: Date | null;
452
+ attribute: {
453
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
454
+ id: string;
455
+ position: number;
456
+ createdAt: Date;
457
+ updatedAt: Date;
458
+ deletedAt: Date | null;
459
+ systemName: string;
460
+ displayName: string;
461
+ isDefault: boolean;
462
+ isArchived: boolean;
463
+ isRequired: boolean;
464
+ isUnique: boolean;
465
+ };
466
+ textValue: string | null;
467
+ booleanValue: boolean | null;
468
+ numberValue: number | null;
469
+ dateValue: Date | null;
470
+ uploads: {
471
+ id: string;
472
+ createdAt: Date;
473
+ updatedAt: Date;
474
+ deletedAt: Date | null;
475
+ fileName: string;
476
+ fileKey: string;
477
+ bucketName: string;
478
+ fileSize: number;
479
+ fileUrl: string | null;
480
+ status?: string | undefined;
481
+ }[];
482
+ }, {
483
+ id: string;
484
+ createdAt: Date;
485
+ updatedAt: Date;
486
+ deletedAt: Date | null;
487
+ attribute: {
488
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
489
+ id: string;
490
+ position: number;
491
+ createdAt: Date;
492
+ updatedAt: Date;
493
+ deletedAt: Date | null;
494
+ systemName: string;
495
+ displayName: string;
496
+ isDefault: boolean;
497
+ isArchived: boolean;
498
+ isRequired: boolean;
499
+ isUnique: boolean;
500
+ };
501
+ textValue: string | null;
502
+ booleanValue: boolean | null;
503
+ numberValue: number | null;
504
+ dateValue: Date | null;
505
+ uploads: {
506
+ id: string;
507
+ createdAt: Date;
508
+ updatedAt: Date;
509
+ deletedAt: Date | null;
510
+ fileName: string;
511
+ fileKey: string;
512
+ bucketName: string;
513
+ fileSize: number;
514
+ fileUrl: string | null;
515
+ status?: string | undefined;
516
+ }[];
517
+ }>, "many">;
518
+ contactEmails: z.ZodArray<z.ZodObject<{
519
+ id: z.ZodString;
520
+ createdAt: z.ZodDate;
521
+ updatedAt: z.ZodDate;
522
+ deletedAt: z.ZodNullable<z.ZodDate>;
523
+ email: z.ZodString;
524
+ isPrimary: z.ZodBoolean;
525
+ }, "strip", z.ZodTypeAny, {
526
+ id: string;
527
+ isPrimary: boolean;
528
+ email: string;
529
+ createdAt: Date;
530
+ updatedAt: Date;
531
+ deletedAt: Date | null;
532
+ }, {
533
+ id: string;
534
+ isPrimary: boolean;
535
+ email: string;
536
+ createdAt: Date;
537
+ updatedAt: Date;
538
+ deletedAt: Date | null;
539
+ }>, "many">;
540
+ contactPhones: z.ZodArray<z.ZodObject<{
541
+ id: z.ZodString;
542
+ createdAt: z.ZodDate;
543
+ updatedAt: z.ZodDate;
544
+ deletedAt: z.ZodNullable<z.ZodDate>;
545
+ phone: z.ZodString;
546
+ isPrimary: z.ZodBoolean;
547
+ }, "strip", z.ZodTypeAny, {
548
+ id: string;
549
+ isPrimary: boolean;
550
+ createdAt: Date;
551
+ updatedAt: Date;
552
+ deletedAt: Date | null;
553
+ phone: string;
554
+ }, {
555
+ id: string;
556
+ isPrimary: boolean;
557
+ createdAt: Date;
558
+ updatedAt: Date;
559
+ deletedAt: Date | null;
560
+ phone: string;
561
+ }>, "many">;
562
+ activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
563
+ id: z.ZodString;
564
+ createdAt: z.ZodDate;
565
+ updatedAt: z.ZodDate;
566
+ deletedAt: z.ZodNullable<z.ZodDate>;
567
+ entityId: z.ZodString;
568
+ description: z.ZodString;
569
+ entityType: z.ZodObject<{
570
+ id: z.ZodString;
571
+ createdAt: z.ZodDate;
572
+ updatedAt: z.ZodDate;
573
+ deletedAt: z.ZodNullable<z.ZodDate>;
574
+ entity: z.ZodString;
575
+ description: z.ZodNullable<z.ZodString>;
576
+ }, "strip", z.ZodTypeAny, {
577
+ id: string;
578
+ description: string | null;
579
+ createdAt: Date;
580
+ updatedAt: Date;
581
+ deletedAt: Date | null;
582
+ entity: string;
583
+ }, {
584
+ id: string;
585
+ description: string | null;
586
+ createdAt: Date;
587
+ updatedAt: Date;
588
+ deletedAt: Date | null;
589
+ entity: string;
590
+ }>;
591
+ }, "strip", z.ZodTypeAny, {
592
+ id: string;
593
+ description: string;
594
+ createdAt: Date;
595
+ updatedAt: Date;
596
+ deletedAt: Date | null;
597
+ entityId: string;
598
+ entityType: {
599
+ id: string;
600
+ description: string | null;
601
+ createdAt: Date;
602
+ updatedAt: Date;
603
+ deletedAt: Date | null;
604
+ entity: string;
605
+ };
606
+ }, {
607
+ id: string;
608
+ description: string;
609
+ createdAt: Date;
610
+ updatedAt: Date;
611
+ deletedAt: Date | null;
612
+ entityId: string;
613
+ entityType: {
614
+ id: string;
615
+ description: string | null;
616
+ createdAt: Date;
617
+ updatedAt: Date;
618
+ deletedAt: Date | null;
619
+ entity: string;
620
+ };
621
+ }>, "many">>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ id: string;
624
+ channel: string | null;
625
+ address: string | null;
626
+ name: string;
627
+ createdAt: Date;
628
+ updatedAt: Date;
629
+ deletedAt: Date | null;
630
+ customFields: {
631
+ id: string;
632
+ createdAt: Date;
633
+ updatedAt: Date;
634
+ deletedAt: Date | null;
635
+ attribute: {
636
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
637
+ id: string;
638
+ position: number;
639
+ createdAt: Date;
640
+ updatedAt: Date;
641
+ deletedAt: Date | null;
642
+ systemName: string;
643
+ displayName: string;
644
+ isDefault: boolean;
645
+ isArchived: boolean;
646
+ isRequired: boolean;
647
+ isUnique: boolean;
648
+ };
649
+ textValue: string | null;
650
+ booleanValue: boolean | null;
651
+ numberValue: number | null;
652
+ dateValue: Date | null;
653
+ uploads: {
654
+ id: string;
655
+ createdAt: Date;
656
+ updatedAt: Date;
657
+ deletedAt: Date | null;
658
+ fileName: string;
659
+ fileKey: string;
660
+ bucketName: string;
661
+ fileSize: number;
662
+ fileUrl: string | null;
663
+ status?: string | undefined;
664
+ }[];
665
+ }[];
666
+ company: {
667
+ id: string;
668
+ createdAt: Date;
669
+ updatedAt: Date;
670
+ deletedAt: Date | null;
671
+ address?: string | null | undefined;
672
+ name?: string | undefined;
673
+ phone?: string | null | undefined;
674
+ industry?: string | null | undefined;
675
+ } | null;
676
+ notes: string | null;
677
+ contactProfile: string | null;
678
+ socialProfileUrl: string | null;
679
+ tags: {
680
+ id: string;
681
+ name: string;
682
+ createdAt: Date;
683
+ updatedAt: Date;
684
+ deletedAt: Date | null;
685
+ }[];
686
+ contactEmails: {
687
+ id: string;
688
+ isPrimary: boolean;
689
+ email: string;
690
+ createdAt: Date;
691
+ updatedAt: Date;
692
+ deletedAt: Date | null;
693
+ }[];
694
+ contactPhones: {
695
+ id: string;
696
+ isPrimary: boolean;
697
+ createdAt: Date;
698
+ updatedAt: Date;
699
+ deletedAt: Date | null;
700
+ phone: string;
701
+ }[];
702
+ activityLogs?: {
703
+ id: string;
704
+ description: string;
705
+ createdAt: Date;
706
+ updatedAt: Date;
707
+ deletedAt: Date | null;
708
+ entityId: string;
709
+ entityType: {
710
+ id: string;
711
+ description: string | null;
712
+ createdAt: Date;
713
+ updatedAt: Date;
714
+ deletedAt: Date | null;
715
+ entity: string;
716
+ };
717
+ }[] | undefined;
718
+ }, {
719
+ id: string;
720
+ channel: string | null;
721
+ address: string | null;
722
+ name: string;
723
+ createdAt: Date;
724
+ updatedAt: Date;
725
+ deletedAt: Date | null;
726
+ customFields: {
727
+ id: string;
728
+ createdAt: Date;
729
+ updatedAt: Date;
730
+ deletedAt: Date | null;
731
+ attribute: {
732
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
733
+ id: string;
734
+ position: number;
735
+ createdAt: Date;
736
+ updatedAt: Date;
737
+ deletedAt: Date | null;
738
+ systemName: string;
739
+ displayName: string;
740
+ isDefault: boolean;
741
+ isArchived: boolean;
742
+ isRequired: boolean;
743
+ isUnique: boolean;
744
+ };
745
+ textValue: string | null;
746
+ booleanValue: boolean | null;
747
+ numberValue: number | null;
748
+ dateValue: Date | null;
749
+ uploads: {
750
+ id: string;
751
+ createdAt: Date;
752
+ updatedAt: Date;
753
+ deletedAt: Date | null;
754
+ fileName: string;
755
+ fileKey: string;
756
+ bucketName: string;
757
+ fileSize: number;
758
+ fileUrl: string | null;
759
+ status?: string | undefined;
760
+ }[];
761
+ }[];
762
+ company: {
763
+ id: string;
764
+ createdAt: Date;
765
+ updatedAt: Date;
766
+ deletedAt: Date | null;
767
+ address?: string | null | undefined;
768
+ name?: string | undefined;
769
+ phone?: string | null | undefined;
770
+ industry?: string | null | undefined;
771
+ } | null;
772
+ notes: string | null;
773
+ contactProfile: string | null;
774
+ socialProfileUrl: string | null;
775
+ tags: {
776
+ id: string;
777
+ name: string;
778
+ createdAt: Date;
779
+ updatedAt: Date;
780
+ deletedAt: Date | null;
781
+ }[];
782
+ contactEmails: {
783
+ id: string;
784
+ isPrimary: boolean;
785
+ email: string;
786
+ createdAt: Date;
787
+ updatedAt: Date;
788
+ deletedAt: Date | null;
789
+ }[];
790
+ contactPhones: {
791
+ id: string;
792
+ isPrimary: boolean;
793
+ createdAt: Date;
794
+ updatedAt: Date;
795
+ deletedAt: Date | null;
796
+ phone: string;
797
+ }[];
798
+ activityLogs?: {
799
+ id: string;
800
+ description: string;
801
+ createdAt: Date;
802
+ updatedAt: Date;
803
+ deletedAt: Date | null;
804
+ entityId: string;
805
+ entityType: {
806
+ id: string;
807
+ description: string | null;
808
+ createdAt: Date;
809
+ updatedAt: Date;
810
+ deletedAt: Date | null;
811
+ entity: string;
812
+ };
813
+ }[] | undefined;
814
+ }>;
129
815
  }, "strip", z.ZodTypeAny, {
130
- message: string;
816
+ data: {
817
+ id: string;
818
+ channel: string | null;
819
+ address: string | null;
820
+ name: string;
821
+ createdAt: Date;
822
+ updatedAt: Date;
823
+ deletedAt: Date | null;
824
+ customFields: {
825
+ id: string;
826
+ createdAt: Date;
827
+ updatedAt: Date;
828
+ deletedAt: Date | null;
829
+ attribute: {
830
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
831
+ id: string;
832
+ position: number;
833
+ createdAt: Date;
834
+ updatedAt: Date;
835
+ deletedAt: Date | null;
836
+ systemName: string;
837
+ displayName: string;
838
+ isDefault: boolean;
839
+ isArchived: boolean;
840
+ isRequired: boolean;
841
+ isUnique: boolean;
842
+ };
843
+ textValue: string | null;
844
+ booleanValue: boolean | null;
845
+ numberValue: number | null;
846
+ dateValue: Date | null;
847
+ uploads: {
848
+ id: string;
849
+ createdAt: Date;
850
+ updatedAt: Date;
851
+ deletedAt: Date | null;
852
+ fileName: string;
853
+ fileKey: string;
854
+ bucketName: string;
855
+ fileSize: number;
856
+ fileUrl: string | null;
857
+ status?: string | undefined;
858
+ }[];
859
+ }[];
860
+ company: {
861
+ id: string;
862
+ createdAt: Date;
863
+ updatedAt: Date;
864
+ deletedAt: Date | null;
865
+ address?: string | null | undefined;
866
+ name?: string | undefined;
867
+ phone?: string | null | undefined;
868
+ industry?: string | null | undefined;
869
+ } | null;
870
+ notes: string | null;
871
+ contactProfile: string | null;
872
+ socialProfileUrl: string | null;
873
+ tags: {
874
+ id: string;
875
+ name: string;
876
+ createdAt: Date;
877
+ updatedAt: Date;
878
+ deletedAt: Date | null;
879
+ }[];
880
+ contactEmails: {
881
+ id: string;
882
+ isPrimary: boolean;
883
+ email: string;
884
+ createdAt: Date;
885
+ updatedAt: Date;
886
+ deletedAt: Date | null;
887
+ }[];
888
+ contactPhones: {
889
+ id: string;
890
+ isPrimary: boolean;
891
+ createdAt: Date;
892
+ updatedAt: Date;
893
+ deletedAt: Date | null;
894
+ phone: string;
895
+ }[];
896
+ activityLogs?: {
897
+ id: string;
898
+ description: string;
899
+ createdAt: Date;
900
+ updatedAt: Date;
901
+ deletedAt: Date | null;
902
+ entityId: string;
903
+ entityType: {
904
+ id: string;
905
+ description: string | null;
906
+ createdAt: Date;
907
+ updatedAt: Date;
908
+ deletedAt: Date | null;
909
+ entity: string;
910
+ };
911
+ }[] | undefined;
912
+ };
131
913
  requestId: string;
132
914
  }, {
133
- message: string;
915
+ data: {
916
+ id: string;
917
+ channel: string | null;
918
+ address: string | null;
919
+ name: string;
920
+ createdAt: Date;
921
+ updatedAt: Date;
922
+ deletedAt: Date | null;
923
+ customFields: {
924
+ id: string;
925
+ createdAt: Date;
926
+ updatedAt: Date;
927
+ deletedAt: Date | null;
928
+ attribute: {
929
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
930
+ id: string;
931
+ position: number;
932
+ createdAt: Date;
933
+ updatedAt: Date;
934
+ deletedAt: Date | null;
935
+ systemName: string;
936
+ displayName: string;
937
+ isDefault: boolean;
938
+ isArchived: boolean;
939
+ isRequired: boolean;
940
+ isUnique: boolean;
941
+ };
942
+ textValue: string | null;
943
+ booleanValue: boolean | null;
944
+ numberValue: number | null;
945
+ dateValue: Date | null;
946
+ uploads: {
947
+ id: string;
948
+ createdAt: Date;
949
+ updatedAt: Date;
950
+ deletedAt: Date | null;
951
+ fileName: string;
952
+ fileKey: string;
953
+ bucketName: string;
954
+ fileSize: number;
955
+ fileUrl: string | null;
956
+ status?: string | undefined;
957
+ }[];
958
+ }[];
959
+ company: {
960
+ id: string;
961
+ createdAt: Date;
962
+ updatedAt: Date;
963
+ deletedAt: Date | null;
964
+ address?: string | null | undefined;
965
+ name?: string | undefined;
966
+ phone?: string | null | undefined;
967
+ industry?: string | null | undefined;
968
+ } | null;
969
+ notes: string | null;
970
+ contactProfile: string | null;
971
+ socialProfileUrl: string | null;
972
+ tags: {
973
+ id: string;
974
+ name: string;
975
+ createdAt: Date;
976
+ updatedAt: Date;
977
+ deletedAt: Date | null;
978
+ }[];
979
+ contactEmails: {
980
+ id: string;
981
+ isPrimary: boolean;
982
+ email: string;
983
+ createdAt: Date;
984
+ updatedAt: Date;
985
+ deletedAt: Date | null;
986
+ }[];
987
+ contactPhones: {
988
+ id: string;
989
+ isPrimary: boolean;
990
+ createdAt: Date;
991
+ updatedAt: Date;
992
+ deletedAt: Date | null;
993
+ phone: string;
994
+ }[];
995
+ activityLogs?: {
996
+ id: string;
997
+ description: string;
998
+ createdAt: Date;
999
+ updatedAt: Date;
1000
+ deletedAt: Date | null;
1001
+ entityId: string;
1002
+ entityType: {
1003
+ id: string;
1004
+ description: string | null;
1005
+ createdAt: Date;
1006
+ updatedAt: Date;
1007
+ deletedAt: Date | null;
1008
+ entity: string;
1009
+ };
1010
+ }[] | undefined;
1011
+ };
134
1012
  requestId: string;
135
1013
  }>;
136
1014
  400: z.ZodObject<{
@@ -566,77 +1444,34 @@ export declare const contactContract: {
566
1444
  createdAt: z.ZodDate;
567
1445
  updatedAt: z.ZodDate;
568
1446
  deletedAt: z.ZodNullable<z.ZodDate>;
569
- customFieldId: z.ZodString;
570
- upload: z.ZodObject<{
571
- id: z.ZodString;
572
- createdAt: z.ZodDate;
573
- updatedAt: z.ZodDate;
574
- deletedAt: z.ZodNullable<z.ZodDate>;
575
- bucketName: z.ZodString;
576
- fileName: z.ZodString;
577
- fileSize: z.ZodNumber;
578
- fileKey: z.ZodString;
579
- fileUrl: z.ZodNullable<z.ZodString>;
580
- status: z.ZodOptional<z.ZodString>;
581
- }, "strip", z.ZodTypeAny, {
582
- id: string;
583
- createdAt: Date;
584
- updatedAt: Date;
585
- deletedAt: Date | null;
586
- fileName: string;
587
- fileKey: string;
588
- bucketName: string;
589
- fileSize: number;
590
- fileUrl: string | null;
591
- status?: string | undefined;
592
- }, {
593
- id: string;
594
- createdAt: Date;
595
- updatedAt: Date;
596
- deletedAt: Date | null;
597
- fileName: string;
598
- fileKey: string;
599
- bucketName: string;
600
- fileSize: number;
601
- fileUrl: string | null;
602
- status?: string | undefined;
603
- }>;
1447
+ bucketName: z.ZodString;
1448
+ fileName: z.ZodString;
1449
+ fileSize: z.ZodNumber;
1450
+ fileKey: z.ZodString;
1451
+ fileUrl: z.ZodNullable<z.ZodString>;
1452
+ status: z.ZodOptional<z.ZodString>;
604
1453
  }, "strip", z.ZodTypeAny, {
605
1454
  id: string;
606
1455
  createdAt: Date;
607
1456
  updatedAt: Date;
608
1457
  deletedAt: Date | null;
609
- customFieldId: string;
610
- upload: {
611
- id: string;
612
- createdAt: Date;
613
- updatedAt: Date;
614
- deletedAt: Date | null;
615
- fileName: string;
616
- fileKey: string;
617
- bucketName: string;
618
- fileSize: number;
619
- fileUrl: string | null;
620
- status?: string | undefined;
621
- };
1458
+ fileName: string;
1459
+ fileKey: string;
1460
+ bucketName: string;
1461
+ fileSize: number;
1462
+ fileUrl: string | null;
1463
+ status?: string | undefined;
622
1464
  }, {
623
1465
  id: string;
624
1466
  createdAt: Date;
625
1467
  updatedAt: Date;
626
1468
  deletedAt: Date | null;
627
- customFieldId: string;
628
- upload: {
629
- id: string;
630
- createdAt: Date;
631
- updatedAt: Date;
632
- deletedAt: Date | null;
633
- fileName: string;
634
- fileKey: string;
635
- bucketName: string;
636
- fileSize: number;
637
- fileUrl: string | null;
638
- status?: string | undefined;
639
- };
1469
+ fileName: string;
1470
+ fileKey: string;
1471
+ bucketName: string;
1472
+ fileSize: number;
1473
+ fileUrl: string | null;
1474
+ status?: string | undefined;
640
1475
  }>, "many">;
641
1476
  }, "strip", z.ZodTypeAny, {
642
1477
  id: string;
@@ -666,19 +1501,12 @@ export declare const contactContract: {
666
1501
  createdAt: Date;
667
1502
  updatedAt: Date;
668
1503
  deletedAt: Date | null;
669
- customFieldId: string;
670
- upload: {
671
- id: string;
672
- createdAt: Date;
673
- updatedAt: Date;
674
- deletedAt: Date | null;
675
- fileName: string;
676
- fileKey: string;
677
- bucketName: string;
678
- fileSize: number;
679
- fileUrl: string | null;
680
- status?: string | undefined;
681
- };
1504
+ fileName: string;
1505
+ fileKey: string;
1506
+ bucketName: string;
1507
+ fileSize: number;
1508
+ fileUrl: string | null;
1509
+ status?: string | undefined;
682
1510
  }[];
683
1511
  }, {
684
1512
  id: string;
@@ -708,19 +1536,12 @@ export declare const contactContract: {
708
1536
  createdAt: Date;
709
1537
  updatedAt: Date;
710
1538
  deletedAt: Date | null;
711
- customFieldId: string;
712
- upload: {
713
- id: string;
714
- createdAt: Date;
715
- updatedAt: Date;
716
- deletedAt: Date | null;
717
- fileName: string;
718
- fileKey: string;
719
- bucketName: string;
720
- fileSize: number;
721
- fileUrl: string | null;
722
- status?: string | undefined;
723
- };
1539
+ fileName: string;
1540
+ fileKey: string;
1541
+ bucketName: string;
1542
+ fileSize: number;
1543
+ fileUrl: string | null;
1544
+ status?: string | undefined;
724
1545
  }[];
725
1546
  }>, "many">;
726
1547
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -863,19 +1684,12 @@ export declare const contactContract: {
863
1684
  createdAt: Date;
864
1685
  updatedAt: Date;
865
1686
  deletedAt: Date | null;
866
- customFieldId: string;
867
- upload: {
868
- id: string;
869
- createdAt: Date;
870
- updatedAt: Date;
871
- deletedAt: Date | null;
872
- fileName: string;
873
- fileKey: string;
874
- bucketName: string;
875
- fileSize: number;
876
- fileUrl: string | null;
877
- status?: string | undefined;
878
- };
1687
+ fileName: string;
1688
+ fileKey: string;
1689
+ bucketName: string;
1690
+ fileSize: number;
1691
+ fileUrl: string | null;
1692
+ status?: string | undefined;
879
1693
  }[];
880
1694
  }[];
881
1695
  company: {
@@ -966,19 +1780,12 @@ export declare const contactContract: {
966
1780
  createdAt: Date;
967
1781
  updatedAt: Date;
968
1782
  deletedAt: Date | null;
969
- customFieldId: string;
970
- upload: {
971
- id: string;
972
- createdAt: Date;
973
- updatedAt: Date;
974
- deletedAt: Date | null;
975
- fileName: string;
976
- fileKey: string;
977
- bucketName: string;
978
- fileSize: number;
979
- fileUrl: string | null;
980
- status?: string | undefined;
981
- };
1783
+ fileName: string;
1784
+ fileKey: string;
1785
+ bucketName: string;
1786
+ fileSize: number;
1787
+ fileUrl: string | null;
1788
+ status?: string | undefined;
982
1789
  }[];
983
1790
  }[];
984
1791
  company: {
@@ -1071,19 +1878,12 @@ export declare const contactContract: {
1071
1878
  createdAt: Date;
1072
1879
  updatedAt: Date;
1073
1880
  deletedAt: Date | null;
1074
- customFieldId: string;
1075
- upload: {
1076
- id: string;
1077
- createdAt: Date;
1078
- updatedAt: Date;
1079
- deletedAt: Date | null;
1080
- fileName: string;
1081
- fileKey: string;
1082
- bucketName: string;
1083
- fileSize: number;
1084
- fileUrl: string | null;
1085
- status?: string | undefined;
1086
- };
1881
+ fileName: string;
1882
+ fileKey: string;
1883
+ bucketName: string;
1884
+ fileSize: number;
1885
+ fileUrl: string | null;
1886
+ status?: string | undefined;
1087
1887
  }[];
1088
1888
  }[];
1089
1889
  company: {
@@ -1181,19 +1981,12 @@ export declare const contactContract: {
1181
1981
  createdAt: Date;
1182
1982
  updatedAt: Date;
1183
1983
  deletedAt: Date | null;
1184
- customFieldId: string;
1185
- upload: {
1186
- id: string;
1187
- createdAt: Date;
1188
- updatedAt: Date;
1189
- deletedAt: Date | null;
1190
- fileName: string;
1191
- fileKey: string;
1192
- bucketName: string;
1193
- fileSize: number;
1194
- fileUrl: string | null;
1195
- status?: string | undefined;
1196
- };
1984
+ fileName: string;
1985
+ fileKey: string;
1986
+ bucketName: string;
1987
+ fileSize: number;
1988
+ fileUrl: string | null;
1989
+ status?: string | undefined;
1197
1990
  }[];
1198
1991
  }[];
1199
1992
  company: {
@@ -1638,77 +2431,34 @@ export declare const contactContract: {
1638
2431
  createdAt: z.ZodDate;
1639
2432
  updatedAt: z.ZodDate;
1640
2433
  deletedAt: z.ZodNullable<z.ZodDate>;
1641
- customFieldId: z.ZodString;
1642
- upload: z.ZodObject<{
1643
- id: z.ZodString;
1644
- createdAt: z.ZodDate;
1645
- updatedAt: z.ZodDate;
1646
- deletedAt: z.ZodNullable<z.ZodDate>;
1647
- bucketName: z.ZodString;
1648
- fileName: z.ZodString;
1649
- fileSize: z.ZodNumber;
1650
- fileKey: z.ZodString;
1651
- fileUrl: z.ZodNullable<z.ZodString>;
1652
- status: z.ZodOptional<z.ZodString>;
1653
- }, "strip", z.ZodTypeAny, {
1654
- id: string;
1655
- createdAt: Date;
1656
- updatedAt: Date;
1657
- deletedAt: Date | null;
1658
- fileName: string;
1659
- fileKey: string;
1660
- bucketName: string;
1661
- fileSize: number;
1662
- fileUrl: string | null;
1663
- status?: string | undefined;
1664
- }, {
1665
- id: string;
1666
- createdAt: Date;
1667
- updatedAt: Date;
1668
- deletedAt: Date | null;
1669
- fileName: string;
1670
- fileKey: string;
1671
- bucketName: string;
1672
- fileSize: number;
1673
- fileUrl: string | null;
1674
- status?: string | undefined;
1675
- }>;
2434
+ bucketName: z.ZodString;
2435
+ fileName: z.ZodString;
2436
+ fileSize: z.ZodNumber;
2437
+ fileKey: z.ZodString;
2438
+ fileUrl: z.ZodNullable<z.ZodString>;
2439
+ status: z.ZodOptional<z.ZodString>;
1676
2440
  }, "strip", z.ZodTypeAny, {
1677
2441
  id: string;
1678
2442
  createdAt: Date;
1679
2443
  updatedAt: Date;
1680
2444
  deletedAt: Date | null;
1681
- customFieldId: string;
1682
- upload: {
1683
- id: string;
1684
- createdAt: Date;
1685
- updatedAt: Date;
1686
- deletedAt: Date | null;
1687
- fileName: string;
1688
- fileKey: string;
1689
- bucketName: string;
1690
- fileSize: number;
1691
- fileUrl: string | null;
1692
- status?: string | undefined;
1693
- };
2445
+ fileName: string;
2446
+ fileKey: string;
2447
+ bucketName: string;
2448
+ fileSize: number;
2449
+ fileUrl: string | null;
2450
+ status?: string | undefined;
1694
2451
  }, {
1695
2452
  id: string;
1696
2453
  createdAt: Date;
1697
2454
  updatedAt: Date;
1698
2455
  deletedAt: Date | null;
1699
- customFieldId: string;
1700
- upload: {
1701
- id: string;
1702
- createdAt: Date;
1703
- updatedAt: Date;
1704
- deletedAt: Date | null;
1705
- fileName: string;
1706
- fileKey: string;
1707
- bucketName: string;
1708
- fileSize: number;
1709
- fileUrl: string | null;
1710
- status?: string | undefined;
1711
- };
2456
+ fileName: string;
2457
+ fileKey: string;
2458
+ bucketName: string;
2459
+ fileSize: number;
2460
+ fileUrl: string | null;
2461
+ status?: string | undefined;
1712
2462
  }>, "many">;
1713
2463
  }, "strip", z.ZodTypeAny, {
1714
2464
  id: string;
@@ -1738,19 +2488,12 @@ export declare const contactContract: {
1738
2488
  createdAt: Date;
1739
2489
  updatedAt: Date;
1740
2490
  deletedAt: Date | null;
1741
- customFieldId: string;
1742
- upload: {
1743
- id: string;
1744
- createdAt: Date;
1745
- updatedAt: Date;
1746
- deletedAt: Date | null;
1747
- fileName: string;
1748
- fileKey: string;
1749
- bucketName: string;
1750
- fileSize: number;
1751
- fileUrl: string | null;
1752
- status?: string | undefined;
1753
- };
2491
+ fileName: string;
2492
+ fileKey: string;
2493
+ bucketName: string;
2494
+ fileSize: number;
2495
+ fileUrl: string | null;
2496
+ status?: string | undefined;
1754
2497
  }[];
1755
2498
  }, {
1756
2499
  id: string;
@@ -1780,19 +2523,12 @@ export declare const contactContract: {
1780
2523
  createdAt: Date;
1781
2524
  updatedAt: Date;
1782
2525
  deletedAt: Date | null;
1783
- customFieldId: string;
1784
- upload: {
1785
- id: string;
1786
- createdAt: Date;
1787
- updatedAt: Date;
1788
- deletedAt: Date | null;
1789
- fileName: string;
1790
- fileKey: string;
1791
- bucketName: string;
1792
- fileSize: number;
1793
- fileUrl: string | null;
1794
- status?: string | undefined;
1795
- };
2526
+ fileName: string;
2527
+ fileKey: string;
2528
+ bucketName: string;
2529
+ fileSize: number;
2530
+ fileUrl: string | null;
2531
+ status?: string | undefined;
1796
2532
  }[];
1797
2533
  }>, "many">;
1798
2534
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1935,19 +2671,12 @@ export declare const contactContract: {
1935
2671
  createdAt: Date;
1936
2672
  updatedAt: Date;
1937
2673
  deletedAt: Date | null;
1938
- customFieldId: string;
1939
- upload: {
1940
- id: string;
1941
- createdAt: Date;
1942
- updatedAt: Date;
1943
- deletedAt: Date | null;
1944
- fileName: string;
1945
- fileKey: string;
1946
- bucketName: string;
1947
- fileSize: number;
1948
- fileUrl: string | null;
1949
- status?: string | undefined;
1950
- };
2674
+ fileName: string;
2675
+ fileKey: string;
2676
+ bucketName: string;
2677
+ fileSize: number;
2678
+ fileUrl: string | null;
2679
+ status?: string | undefined;
1951
2680
  }[];
1952
2681
  }[];
1953
2682
  company: {
@@ -2038,19 +2767,12 @@ export declare const contactContract: {
2038
2767
  createdAt: Date;
2039
2768
  updatedAt: Date;
2040
2769
  deletedAt: Date | null;
2041
- customFieldId: string;
2042
- upload: {
2043
- id: string;
2044
- createdAt: Date;
2045
- updatedAt: Date;
2046
- deletedAt: Date | null;
2047
- fileName: string;
2048
- fileKey: string;
2049
- bucketName: string;
2050
- fileSize: number;
2051
- fileUrl: string | null;
2052
- status?: string | undefined;
2053
- };
2770
+ fileName: string;
2771
+ fileKey: string;
2772
+ bucketName: string;
2773
+ fileSize: number;
2774
+ fileUrl: string | null;
2775
+ status?: string | undefined;
2054
2776
  }[];
2055
2777
  }[];
2056
2778
  company: {
@@ -2143,19 +2865,12 @@ export declare const contactContract: {
2143
2865
  createdAt: Date;
2144
2866
  updatedAt: Date;
2145
2867
  deletedAt: Date | null;
2146
- customFieldId: string;
2147
- upload: {
2148
- id: string;
2149
- createdAt: Date;
2150
- updatedAt: Date;
2151
- deletedAt: Date | null;
2152
- fileName: string;
2153
- fileKey: string;
2154
- bucketName: string;
2155
- fileSize: number;
2156
- fileUrl: string | null;
2157
- status?: string | undefined;
2158
- };
2868
+ fileName: string;
2869
+ fileKey: string;
2870
+ bucketName: string;
2871
+ fileSize: number;
2872
+ fileUrl: string | null;
2873
+ status?: string | undefined;
2159
2874
  }[];
2160
2875
  }[];
2161
2876
  company: {
@@ -2253,19 +2968,12 @@ export declare const contactContract: {
2253
2968
  createdAt: Date;
2254
2969
  updatedAt: Date;
2255
2970
  deletedAt: Date | null;
2256
- customFieldId: string;
2257
- upload: {
2258
- id: string;
2259
- createdAt: Date;
2260
- updatedAt: Date;
2261
- deletedAt: Date | null;
2262
- fileName: string;
2263
- fileKey: string;
2264
- bucketName: string;
2265
- fileSize: number;
2266
- fileUrl: string | null;
2267
- status?: string | undefined;
2268
- };
2971
+ fileName: string;
2972
+ fileKey: string;
2973
+ bucketName: string;
2974
+ fileSize: number;
2975
+ fileUrl: string | null;
2976
+ status?: string | undefined;
2269
2977
  }[];
2270
2978
  }[];
2271
2979
  company: {
@@ -2803,77 +3511,34 @@ export declare const contactContract: {
2803
3511
  createdAt: z.ZodDate;
2804
3512
  updatedAt: z.ZodDate;
2805
3513
  deletedAt: z.ZodNullable<z.ZodDate>;
2806
- customFieldId: z.ZodString;
2807
- upload: z.ZodObject<{
2808
- id: z.ZodString;
2809
- createdAt: z.ZodDate;
2810
- updatedAt: z.ZodDate;
2811
- deletedAt: z.ZodNullable<z.ZodDate>;
2812
- bucketName: z.ZodString;
2813
- fileName: z.ZodString;
2814
- fileSize: z.ZodNumber;
2815
- fileKey: z.ZodString;
2816
- fileUrl: z.ZodNullable<z.ZodString>;
2817
- status: z.ZodOptional<z.ZodString>;
2818
- }, "strip", z.ZodTypeAny, {
2819
- id: string;
2820
- createdAt: Date;
2821
- updatedAt: Date;
2822
- deletedAt: Date | null;
2823
- fileName: string;
2824
- fileKey: string;
2825
- bucketName: string;
2826
- fileSize: number;
2827
- fileUrl: string | null;
2828
- status?: string | undefined;
2829
- }, {
2830
- id: string;
2831
- createdAt: Date;
2832
- updatedAt: Date;
2833
- deletedAt: Date | null;
2834
- fileName: string;
2835
- fileKey: string;
2836
- bucketName: string;
2837
- fileSize: number;
2838
- fileUrl: string | null;
2839
- status?: string | undefined;
2840
- }>;
3514
+ bucketName: z.ZodString;
3515
+ fileName: z.ZodString;
3516
+ fileSize: z.ZodNumber;
3517
+ fileKey: z.ZodString;
3518
+ fileUrl: z.ZodNullable<z.ZodString>;
3519
+ status: z.ZodOptional<z.ZodString>;
2841
3520
  }, "strip", z.ZodTypeAny, {
2842
3521
  id: string;
2843
3522
  createdAt: Date;
2844
3523
  updatedAt: Date;
2845
3524
  deletedAt: Date | null;
2846
- customFieldId: string;
2847
- upload: {
2848
- id: string;
2849
- createdAt: Date;
2850
- updatedAt: Date;
2851
- deletedAt: Date | null;
2852
- fileName: string;
2853
- fileKey: string;
2854
- bucketName: string;
2855
- fileSize: number;
2856
- fileUrl: string | null;
2857
- status?: string | undefined;
2858
- };
3525
+ fileName: string;
3526
+ fileKey: string;
3527
+ bucketName: string;
3528
+ fileSize: number;
3529
+ fileUrl: string | null;
3530
+ status?: string | undefined;
2859
3531
  }, {
2860
3532
  id: string;
2861
3533
  createdAt: Date;
2862
3534
  updatedAt: Date;
2863
3535
  deletedAt: Date | null;
2864
- customFieldId: string;
2865
- upload: {
2866
- id: string;
2867
- createdAt: Date;
2868
- updatedAt: Date;
2869
- deletedAt: Date | null;
2870
- fileName: string;
2871
- fileKey: string;
2872
- bucketName: string;
2873
- fileSize: number;
2874
- fileUrl: string | null;
2875
- status?: string | undefined;
2876
- };
3536
+ fileName: string;
3537
+ fileKey: string;
3538
+ bucketName: string;
3539
+ fileSize: number;
3540
+ fileUrl: string | null;
3541
+ status?: string | undefined;
2877
3542
  }>, "many">;
2878
3543
  }, "strip", z.ZodTypeAny, {
2879
3544
  id: string;
@@ -2903,19 +3568,12 @@ export declare const contactContract: {
2903
3568
  createdAt: Date;
2904
3569
  updatedAt: Date;
2905
3570
  deletedAt: Date | null;
2906
- customFieldId: string;
2907
- upload: {
2908
- id: string;
2909
- createdAt: Date;
2910
- updatedAt: Date;
2911
- deletedAt: Date | null;
2912
- fileName: string;
2913
- fileKey: string;
2914
- bucketName: string;
2915
- fileSize: number;
2916
- fileUrl: string | null;
2917
- status?: string | undefined;
2918
- };
3571
+ fileName: string;
3572
+ fileKey: string;
3573
+ bucketName: string;
3574
+ fileSize: number;
3575
+ fileUrl: string | null;
3576
+ status?: string | undefined;
2919
3577
  }[];
2920
3578
  }, {
2921
3579
  id: string;
@@ -2945,19 +3603,12 @@ export declare const contactContract: {
2945
3603
  createdAt: Date;
2946
3604
  updatedAt: Date;
2947
3605
  deletedAt: Date | null;
2948
- customFieldId: string;
2949
- upload: {
2950
- id: string;
2951
- createdAt: Date;
2952
- updatedAt: Date;
2953
- deletedAt: Date | null;
2954
- fileName: string;
2955
- fileKey: string;
2956
- bucketName: string;
2957
- fileSize: number;
2958
- fileUrl: string | null;
2959
- status?: string | undefined;
2960
- };
3606
+ fileName: string;
3607
+ fileKey: string;
3608
+ bucketName: string;
3609
+ fileSize: number;
3610
+ fileUrl: string | null;
3611
+ status?: string | undefined;
2961
3612
  }[];
2962
3613
  }>, "many">;
2963
3614
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3100,19 +3751,12 @@ export declare const contactContract: {
3100
3751
  createdAt: Date;
3101
3752
  updatedAt: Date;
3102
3753
  deletedAt: Date | null;
3103
- customFieldId: string;
3104
- upload: {
3105
- id: string;
3106
- createdAt: Date;
3107
- updatedAt: Date;
3108
- deletedAt: Date | null;
3109
- fileName: string;
3110
- fileKey: string;
3111
- bucketName: string;
3112
- fileSize: number;
3113
- fileUrl: string | null;
3114
- status?: string | undefined;
3115
- };
3754
+ fileName: string;
3755
+ fileKey: string;
3756
+ bucketName: string;
3757
+ fileSize: number;
3758
+ fileUrl: string | null;
3759
+ status?: string | undefined;
3116
3760
  }[];
3117
3761
  }[];
3118
3762
  company: {
@@ -3203,19 +3847,12 @@ export declare const contactContract: {
3203
3847
  createdAt: Date;
3204
3848
  updatedAt: Date;
3205
3849
  deletedAt: Date | null;
3206
- customFieldId: string;
3207
- upload: {
3208
- id: string;
3209
- createdAt: Date;
3210
- updatedAt: Date;
3211
- deletedAt: Date | null;
3212
- fileName: string;
3213
- fileKey: string;
3214
- bucketName: string;
3215
- fileSize: number;
3216
- fileUrl: string | null;
3217
- status?: string | undefined;
3218
- };
3850
+ fileName: string;
3851
+ fileKey: string;
3852
+ bucketName: string;
3853
+ fileSize: number;
3854
+ fileUrl: string | null;
3855
+ status?: string | undefined;
3219
3856
  }[];
3220
3857
  }[];
3221
3858
  company: {
@@ -3308,19 +3945,12 @@ export declare const contactContract: {
3308
3945
  createdAt: Date;
3309
3946
  updatedAt: Date;
3310
3947
  deletedAt: Date | null;
3311
- customFieldId: string;
3312
- upload: {
3313
- id: string;
3314
- createdAt: Date;
3315
- updatedAt: Date;
3316
- deletedAt: Date | null;
3317
- fileName: string;
3318
- fileKey: string;
3319
- bucketName: string;
3320
- fileSize: number;
3321
- fileUrl: string | null;
3322
- status?: string | undefined;
3323
- };
3948
+ fileName: string;
3949
+ fileKey: string;
3950
+ bucketName: string;
3951
+ fileSize: number;
3952
+ fileUrl: string | null;
3953
+ status?: string | undefined;
3324
3954
  }[];
3325
3955
  }[];
3326
3956
  company: {
@@ -3414,19 +4044,12 @@ export declare const contactContract: {
3414
4044
  createdAt: Date;
3415
4045
  updatedAt: Date;
3416
4046
  deletedAt: Date | null;
3417
- customFieldId: string;
3418
- upload: {
3419
- id: string;
3420
- createdAt: Date;
3421
- updatedAt: Date;
3422
- deletedAt: Date | null;
3423
- fileName: string;
3424
- fileKey: string;
3425
- bucketName: string;
3426
- fileSize: number;
3427
- fileUrl: string | null;
3428
- status?: string | undefined;
3429
- };
4047
+ fileName: string;
4048
+ fileKey: string;
4049
+ bucketName: string;
4050
+ fileSize: number;
4051
+ fileUrl: string | null;
4052
+ status?: string | undefined;
3430
4053
  }[];
3431
4054
  }[];
3432
4055
  company: {
@@ -3949,77 +4572,34 @@ export declare const contactContract: {
3949
4572
  createdAt: z.ZodDate;
3950
4573
  updatedAt: z.ZodDate;
3951
4574
  deletedAt: z.ZodNullable<z.ZodDate>;
3952
- customFieldId: z.ZodString;
3953
- upload: z.ZodObject<{
3954
- id: z.ZodString;
3955
- createdAt: z.ZodDate;
3956
- updatedAt: z.ZodDate;
3957
- deletedAt: z.ZodNullable<z.ZodDate>;
3958
- bucketName: z.ZodString;
3959
- fileName: z.ZodString;
3960
- fileSize: z.ZodNumber;
3961
- fileKey: z.ZodString;
3962
- fileUrl: z.ZodNullable<z.ZodString>;
3963
- status: z.ZodOptional<z.ZodString>;
3964
- }, "strip", z.ZodTypeAny, {
3965
- id: string;
3966
- createdAt: Date;
3967
- updatedAt: Date;
3968
- deletedAt: Date | null;
3969
- fileName: string;
3970
- fileKey: string;
3971
- bucketName: string;
3972
- fileSize: number;
3973
- fileUrl: string | null;
3974
- status?: string | undefined;
3975
- }, {
3976
- id: string;
3977
- createdAt: Date;
3978
- updatedAt: Date;
3979
- deletedAt: Date | null;
3980
- fileName: string;
3981
- fileKey: string;
3982
- bucketName: string;
3983
- fileSize: number;
3984
- fileUrl: string | null;
3985
- status?: string | undefined;
3986
- }>;
4575
+ bucketName: z.ZodString;
4576
+ fileName: z.ZodString;
4577
+ fileSize: z.ZodNumber;
4578
+ fileKey: z.ZodString;
4579
+ fileUrl: z.ZodNullable<z.ZodString>;
4580
+ status: z.ZodOptional<z.ZodString>;
3987
4581
  }, "strip", z.ZodTypeAny, {
3988
4582
  id: string;
3989
4583
  createdAt: Date;
3990
4584
  updatedAt: Date;
3991
4585
  deletedAt: Date | null;
3992
- customFieldId: string;
3993
- upload: {
3994
- id: string;
3995
- createdAt: Date;
3996
- updatedAt: Date;
3997
- deletedAt: Date | null;
3998
- fileName: string;
3999
- fileKey: string;
4000
- bucketName: string;
4001
- fileSize: number;
4002
- fileUrl: string | null;
4003
- status?: string | undefined;
4004
- };
4586
+ fileName: string;
4587
+ fileKey: string;
4588
+ bucketName: string;
4589
+ fileSize: number;
4590
+ fileUrl: string | null;
4591
+ status?: string | undefined;
4005
4592
  }, {
4006
4593
  id: string;
4007
4594
  createdAt: Date;
4008
4595
  updatedAt: Date;
4009
4596
  deletedAt: Date | null;
4010
- customFieldId: string;
4011
- upload: {
4012
- id: string;
4013
- createdAt: Date;
4014
- updatedAt: Date;
4015
- deletedAt: Date | null;
4016
- fileName: string;
4017
- fileKey: string;
4018
- bucketName: string;
4019
- fileSize: number;
4020
- fileUrl: string | null;
4021
- status?: string | undefined;
4022
- };
4597
+ fileName: string;
4598
+ fileKey: string;
4599
+ bucketName: string;
4600
+ fileSize: number;
4601
+ fileUrl: string | null;
4602
+ status?: string | undefined;
4023
4603
  }>, "many">;
4024
4604
  }, "strip", z.ZodTypeAny, {
4025
4605
  id: string;
@@ -4049,19 +4629,12 @@ export declare const contactContract: {
4049
4629
  createdAt: Date;
4050
4630
  updatedAt: Date;
4051
4631
  deletedAt: Date | null;
4052
- customFieldId: string;
4053
- upload: {
4054
- id: string;
4055
- createdAt: Date;
4056
- updatedAt: Date;
4057
- deletedAt: Date | null;
4058
- fileName: string;
4059
- fileKey: string;
4060
- bucketName: string;
4061
- fileSize: number;
4062
- fileUrl: string | null;
4063
- status?: string | undefined;
4064
- };
4632
+ fileName: string;
4633
+ fileKey: string;
4634
+ bucketName: string;
4635
+ fileSize: number;
4636
+ fileUrl: string | null;
4637
+ status?: string | undefined;
4065
4638
  }[];
4066
4639
  }, {
4067
4640
  id: string;
@@ -4091,19 +4664,12 @@ export declare const contactContract: {
4091
4664
  createdAt: Date;
4092
4665
  updatedAt: Date;
4093
4666
  deletedAt: Date | null;
4094
- customFieldId: string;
4095
- upload: {
4096
- id: string;
4097
- createdAt: Date;
4098
- updatedAt: Date;
4099
- deletedAt: Date | null;
4100
- fileName: string;
4101
- fileKey: string;
4102
- bucketName: string;
4103
- fileSize: number;
4104
- fileUrl: string | null;
4105
- status?: string | undefined;
4106
- };
4667
+ fileName: string;
4668
+ fileKey: string;
4669
+ bucketName: string;
4670
+ fileSize: number;
4671
+ fileUrl: string | null;
4672
+ status?: string | undefined;
4107
4673
  }[];
4108
4674
  }>, "many">;
4109
4675
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -4246,19 +4812,12 @@ export declare const contactContract: {
4246
4812
  createdAt: Date;
4247
4813
  updatedAt: Date;
4248
4814
  deletedAt: Date | null;
4249
- customFieldId: string;
4250
- upload: {
4251
- id: string;
4252
- createdAt: Date;
4253
- updatedAt: Date;
4254
- deletedAt: Date | null;
4255
- fileName: string;
4256
- fileKey: string;
4257
- bucketName: string;
4258
- fileSize: number;
4259
- fileUrl: string | null;
4260
- status?: string | undefined;
4261
- };
4815
+ fileName: string;
4816
+ fileKey: string;
4817
+ bucketName: string;
4818
+ fileSize: number;
4819
+ fileUrl: string | null;
4820
+ status?: string | undefined;
4262
4821
  }[];
4263
4822
  }[];
4264
4823
  company: {
@@ -4349,19 +4908,12 @@ export declare const contactContract: {
4349
4908
  createdAt: Date;
4350
4909
  updatedAt: Date;
4351
4910
  deletedAt: Date | null;
4352
- customFieldId: string;
4353
- upload: {
4354
- id: string;
4355
- createdAt: Date;
4356
- updatedAt: Date;
4357
- deletedAt: Date | null;
4358
- fileName: string;
4359
- fileKey: string;
4360
- bucketName: string;
4361
- fileSize: number;
4362
- fileUrl: string | null;
4363
- status?: string | undefined;
4364
- };
4911
+ fileName: string;
4912
+ fileKey: string;
4913
+ bucketName: string;
4914
+ fileSize: number;
4915
+ fileUrl: string | null;
4916
+ status?: string | undefined;
4365
4917
  }[];
4366
4918
  }[];
4367
4919
  company: {
@@ -4454,19 +5006,12 @@ export declare const contactContract: {
4454
5006
  createdAt: Date;
4455
5007
  updatedAt: Date;
4456
5008
  deletedAt: Date | null;
4457
- customFieldId: string;
4458
- upload: {
4459
- id: string;
4460
- createdAt: Date;
4461
- updatedAt: Date;
4462
- deletedAt: Date | null;
4463
- fileName: string;
4464
- fileKey: string;
4465
- bucketName: string;
4466
- fileSize: number;
4467
- fileUrl: string | null;
4468
- status?: string | undefined;
4469
- };
5009
+ fileName: string;
5010
+ fileKey: string;
5011
+ bucketName: string;
5012
+ fileSize: number;
5013
+ fileUrl: string | null;
5014
+ status?: string | undefined;
4470
5015
  }[];
4471
5016
  }[];
4472
5017
  company: {
@@ -4560,19 +5105,12 @@ export declare const contactContract: {
4560
5105
  createdAt: Date;
4561
5106
  updatedAt: Date;
4562
5107
  deletedAt: Date | null;
4563
- customFieldId: string;
4564
- upload: {
4565
- id: string;
4566
- createdAt: Date;
4567
- updatedAt: Date;
4568
- deletedAt: Date | null;
4569
- fileName: string;
4570
- fileKey: string;
4571
- bucketName: string;
4572
- fileSize: number;
4573
- fileUrl: string | null;
4574
- status?: string | undefined;
4575
- };
5108
+ fileName: string;
5109
+ fileKey: string;
5110
+ bucketName: string;
5111
+ fileSize: number;
5112
+ fileUrl: string | null;
5113
+ status?: string | undefined;
4576
5114
  }[];
4577
5115
  }[];
4578
5116
  company: {
@@ -5006,77 +5544,34 @@ export declare const contactContract: {
5006
5544
  createdAt: z.ZodDate;
5007
5545
  updatedAt: z.ZodDate;
5008
5546
  deletedAt: z.ZodNullable<z.ZodDate>;
5009
- customFieldId: z.ZodString;
5010
- upload: z.ZodObject<{
5011
- id: z.ZodString;
5012
- createdAt: z.ZodDate;
5013
- updatedAt: z.ZodDate;
5014
- deletedAt: z.ZodNullable<z.ZodDate>;
5015
- bucketName: z.ZodString;
5016
- fileName: z.ZodString;
5017
- fileSize: z.ZodNumber;
5018
- fileKey: z.ZodString;
5019
- fileUrl: z.ZodNullable<z.ZodString>;
5020
- status: z.ZodOptional<z.ZodString>;
5021
- }, "strip", z.ZodTypeAny, {
5022
- id: string;
5023
- createdAt: Date;
5024
- updatedAt: Date;
5025
- deletedAt: Date | null;
5026
- fileName: string;
5027
- fileKey: string;
5028
- bucketName: string;
5029
- fileSize: number;
5030
- fileUrl: string | null;
5031
- status?: string | undefined;
5032
- }, {
5033
- id: string;
5034
- createdAt: Date;
5035
- updatedAt: Date;
5036
- deletedAt: Date | null;
5037
- fileName: string;
5038
- fileKey: string;
5039
- bucketName: string;
5040
- fileSize: number;
5041
- fileUrl: string | null;
5042
- status?: string | undefined;
5043
- }>;
5547
+ bucketName: z.ZodString;
5548
+ fileName: z.ZodString;
5549
+ fileSize: z.ZodNumber;
5550
+ fileKey: z.ZodString;
5551
+ fileUrl: z.ZodNullable<z.ZodString>;
5552
+ status: z.ZodOptional<z.ZodString>;
5044
5553
  }, "strip", z.ZodTypeAny, {
5045
5554
  id: string;
5046
5555
  createdAt: Date;
5047
5556
  updatedAt: Date;
5048
- deletedAt: Date | null;
5049
- customFieldId: string;
5050
- upload: {
5051
- id: string;
5052
- createdAt: Date;
5053
- updatedAt: Date;
5054
- deletedAt: Date | null;
5055
- fileName: string;
5056
- fileKey: string;
5057
- bucketName: string;
5058
- fileSize: number;
5059
- fileUrl: string | null;
5060
- status?: string | undefined;
5061
- };
5557
+ deletedAt: Date | null;
5558
+ fileName: string;
5559
+ fileKey: string;
5560
+ bucketName: string;
5561
+ fileSize: number;
5562
+ fileUrl: string | null;
5563
+ status?: string | undefined;
5062
5564
  }, {
5063
5565
  id: string;
5064
5566
  createdAt: Date;
5065
5567
  updatedAt: Date;
5066
5568
  deletedAt: Date | null;
5067
- customFieldId: string;
5068
- upload: {
5069
- id: string;
5070
- createdAt: Date;
5071
- updatedAt: Date;
5072
- deletedAt: Date | null;
5073
- fileName: string;
5074
- fileKey: string;
5075
- bucketName: string;
5076
- fileSize: number;
5077
- fileUrl: string | null;
5078
- status?: string | undefined;
5079
- };
5569
+ fileName: string;
5570
+ fileKey: string;
5571
+ bucketName: string;
5572
+ fileSize: number;
5573
+ fileUrl: string | null;
5574
+ status?: string | undefined;
5080
5575
  }>, "many">;
5081
5576
  }, "strip", z.ZodTypeAny, {
5082
5577
  id: string;
@@ -5106,19 +5601,12 @@ export declare const contactContract: {
5106
5601
  createdAt: Date;
5107
5602
  updatedAt: Date;
5108
5603
  deletedAt: Date | null;
5109
- customFieldId: string;
5110
- upload: {
5111
- id: string;
5112
- createdAt: Date;
5113
- updatedAt: Date;
5114
- deletedAt: Date | null;
5115
- fileName: string;
5116
- fileKey: string;
5117
- bucketName: string;
5118
- fileSize: number;
5119
- fileUrl: string | null;
5120
- status?: string | undefined;
5121
- };
5604
+ fileName: string;
5605
+ fileKey: string;
5606
+ bucketName: string;
5607
+ fileSize: number;
5608
+ fileUrl: string | null;
5609
+ status?: string | undefined;
5122
5610
  }[];
5123
5611
  }, {
5124
5612
  id: string;
@@ -5148,19 +5636,12 @@ export declare const contactContract: {
5148
5636
  createdAt: Date;
5149
5637
  updatedAt: Date;
5150
5638
  deletedAt: Date | null;
5151
- customFieldId: string;
5152
- upload: {
5153
- id: string;
5154
- createdAt: Date;
5155
- updatedAt: Date;
5156
- deletedAt: Date | null;
5157
- fileName: string;
5158
- fileKey: string;
5159
- bucketName: string;
5160
- fileSize: number;
5161
- fileUrl: string | null;
5162
- status?: string | undefined;
5163
- };
5639
+ fileName: string;
5640
+ fileKey: string;
5641
+ bucketName: string;
5642
+ fileSize: number;
5643
+ fileUrl: string | null;
5644
+ status?: string | undefined;
5164
5645
  }[];
5165
5646
  }>, "many">;
5166
5647
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -5303,19 +5784,12 @@ export declare const contactContract: {
5303
5784
  createdAt: Date;
5304
5785
  updatedAt: Date;
5305
5786
  deletedAt: Date | null;
5306
- customFieldId: string;
5307
- upload: {
5308
- id: string;
5309
- createdAt: Date;
5310
- updatedAt: Date;
5311
- deletedAt: Date | null;
5312
- fileName: string;
5313
- fileKey: string;
5314
- bucketName: string;
5315
- fileSize: number;
5316
- fileUrl: string | null;
5317
- status?: string | undefined;
5318
- };
5787
+ fileName: string;
5788
+ fileKey: string;
5789
+ bucketName: string;
5790
+ fileSize: number;
5791
+ fileUrl: string | null;
5792
+ status?: string | undefined;
5319
5793
  }[];
5320
5794
  }[];
5321
5795
  company: {
@@ -5406,19 +5880,12 @@ export declare const contactContract: {
5406
5880
  createdAt: Date;
5407
5881
  updatedAt: Date;
5408
5882
  deletedAt: Date | null;
5409
- customFieldId: string;
5410
- upload: {
5411
- id: string;
5412
- createdAt: Date;
5413
- updatedAt: Date;
5414
- deletedAt: Date | null;
5415
- fileName: string;
5416
- fileKey: string;
5417
- bucketName: string;
5418
- fileSize: number;
5419
- fileUrl: string | null;
5420
- status?: string | undefined;
5421
- };
5883
+ fileName: string;
5884
+ fileKey: string;
5885
+ bucketName: string;
5886
+ fileSize: number;
5887
+ fileUrl: string | null;
5888
+ status?: string | undefined;
5422
5889
  }[];
5423
5890
  }[];
5424
5891
  company: {
@@ -5511,19 +5978,12 @@ export declare const contactContract: {
5511
5978
  createdAt: Date;
5512
5979
  updatedAt: Date;
5513
5980
  deletedAt: Date | null;
5514
- customFieldId: string;
5515
- upload: {
5516
- id: string;
5517
- createdAt: Date;
5518
- updatedAt: Date;
5519
- deletedAt: Date | null;
5520
- fileName: string;
5521
- fileKey: string;
5522
- bucketName: string;
5523
- fileSize: number;
5524
- fileUrl: string | null;
5525
- status?: string | undefined;
5526
- };
5981
+ fileName: string;
5982
+ fileKey: string;
5983
+ bucketName: string;
5984
+ fileSize: number;
5985
+ fileUrl: string | null;
5986
+ status?: string | undefined;
5527
5987
  }[];
5528
5988
  }[];
5529
5989
  company: {
@@ -5617,19 +6077,12 @@ export declare const contactContract: {
5617
6077
  createdAt: Date;
5618
6078
  updatedAt: Date;
5619
6079
  deletedAt: Date | null;
5620
- customFieldId: string;
5621
- upload: {
5622
- id: string;
5623
- createdAt: Date;
5624
- updatedAt: Date;
5625
- deletedAt: Date | null;
5626
- fileName: string;
5627
- fileKey: string;
5628
- bucketName: string;
5629
- fileSize: number;
5630
- fileUrl: string | null;
5631
- status?: string | undefined;
5632
- };
6080
+ fileName: string;
6081
+ fileKey: string;
6082
+ bucketName: string;
6083
+ fileSize: number;
6084
+ fileUrl: string | null;
6085
+ status?: string | undefined;
5633
6086
  }[];
5634
6087
  }[];
5635
6088
  company: {
@@ -6125,77 +6578,34 @@ export declare const contactContract: {
6125
6578
  createdAt: z.ZodDate;
6126
6579
  updatedAt: z.ZodDate;
6127
6580
  deletedAt: z.ZodNullable<z.ZodDate>;
6128
- customFieldId: z.ZodString;
6129
- upload: z.ZodObject<{
6130
- id: z.ZodString;
6131
- createdAt: z.ZodDate;
6132
- updatedAt: z.ZodDate;
6133
- deletedAt: z.ZodNullable<z.ZodDate>;
6134
- bucketName: z.ZodString;
6135
- fileName: z.ZodString;
6136
- fileSize: z.ZodNumber;
6137
- fileKey: z.ZodString;
6138
- fileUrl: z.ZodNullable<z.ZodString>;
6139
- status: z.ZodOptional<z.ZodString>;
6140
- }, "strip", z.ZodTypeAny, {
6141
- id: string;
6142
- createdAt: Date;
6143
- updatedAt: Date;
6144
- deletedAt: Date | null;
6145
- fileName: string;
6146
- fileKey: string;
6147
- bucketName: string;
6148
- fileSize: number;
6149
- fileUrl: string | null;
6150
- status?: string | undefined;
6151
- }, {
6152
- id: string;
6153
- createdAt: Date;
6154
- updatedAt: Date;
6155
- deletedAt: Date | null;
6156
- fileName: string;
6157
- fileKey: string;
6158
- bucketName: string;
6159
- fileSize: number;
6160
- fileUrl: string | null;
6161
- status?: string | undefined;
6162
- }>;
6581
+ bucketName: z.ZodString;
6582
+ fileName: z.ZodString;
6583
+ fileSize: z.ZodNumber;
6584
+ fileKey: z.ZodString;
6585
+ fileUrl: z.ZodNullable<z.ZodString>;
6586
+ status: z.ZodOptional<z.ZodString>;
6163
6587
  }, "strip", z.ZodTypeAny, {
6164
6588
  id: string;
6165
6589
  createdAt: Date;
6166
6590
  updatedAt: Date;
6167
6591
  deletedAt: Date | null;
6168
- customFieldId: string;
6169
- upload: {
6170
- id: string;
6171
- createdAt: Date;
6172
- updatedAt: Date;
6173
- deletedAt: Date | null;
6174
- fileName: string;
6175
- fileKey: string;
6176
- bucketName: string;
6177
- fileSize: number;
6178
- fileUrl: string | null;
6179
- status?: string | undefined;
6180
- };
6592
+ fileName: string;
6593
+ fileKey: string;
6594
+ bucketName: string;
6595
+ fileSize: number;
6596
+ fileUrl: string | null;
6597
+ status?: string | undefined;
6181
6598
  }, {
6182
6599
  id: string;
6183
6600
  createdAt: Date;
6184
6601
  updatedAt: Date;
6185
6602
  deletedAt: Date | null;
6186
- customFieldId: string;
6187
- upload: {
6188
- id: string;
6189
- createdAt: Date;
6190
- updatedAt: Date;
6191
- deletedAt: Date | null;
6192
- fileName: string;
6193
- fileKey: string;
6194
- bucketName: string;
6195
- fileSize: number;
6196
- fileUrl: string | null;
6197
- status?: string | undefined;
6198
- };
6603
+ fileName: string;
6604
+ fileKey: string;
6605
+ bucketName: string;
6606
+ fileSize: number;
6607
+ fileUrl: string | null;
6608
+ status?: string | undefined;
6199
6609
  }>, "many">;
6200
6610
  }, "strip", z.ZodTypeAny, {
6201
6611
  id: string;
@@ -6225,19 +6635,12 @@ export declare const contactContract: {
6225
6635
  createdAt: Date;
6226
6636
  updatedAt: Date;
6227
6637
  deletedAt: Date | null;
6228
- customFieldId: string;
6229
- upload: {
6230
- id: string;
6231
- createdAt: Date;
6232
- updatedAt: Date;
6233
- deletedAt: Date | null;
6234
- fileName: string;
6235
- fileKey: string;
6236
- bucketName: string;
6237
- fileSize: number;
6238
- fileUrl: string | null;
6239
- status?: string | undefined;
6240
- };
6638
+ fileName: string;
6639
+ fileKey: string;
6640
+ bucketName: string;
6641
+ fileSize: number;
6642
+ fileUrl: string | null;
6643
+ status?: string | undefined;
6241
6644
  }[];
6242
6645
  }, {
6243
6646
  id: string;
@@ -6267,19 +6670,12 @@ export declare const contactContract: {
6267
6670
  createdAt: Date;
6268
6671
  updatedAt: Date;
6269
6672
  deletedAt: Date | null;
6270
- customFieldId: string;
6271
- upload: {
6272
- id: string;
6273
- createdAt: Date;
6274
- updatedAt: Date;
6275
- deletedAt: Date | null;
6276
- fileName: string;
6277
- fileKey: string;
6278
- bucketName: string;
6279
- fileSize: number;
6280
- fileUrl: string | null;
6281
- status?: string | undefined;
6282
- };
6673
+ fileName: string;
6674
+ fileKey: string;
6675
+ bucketName: string;
6676
+ fileSize: number;
6677
+ fileUrl: string | null;
6678
+ status?: string | undefined;
6283
6679
  }[];
6284
6680
  }>, "many">;
6285
6681
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6422,19 +6818,12 @@ export declare const contactContract: {
6422
6818
  createdAt: Date;
6423
6819
  updatedAt: Date;
6424
6820
  deletedAt: Date | null;
6425
- customFieldId: string;
6426
- upload: {
6427
- id: string;
6428
- createdAt: Date;
6429
- updatedAt: Date;
6430
- deletedAt: Date | null;
6431
- fileName: string;
6432
- fileKey: string;
6433
- bucketName: string;
6434
- fileSize: number;
6435
- fileUrl: string | null;
6436
- status?: string | undefined;
6437
- };
6821
+ fileName: string;
6822
+ fileKey: string;
6823
+ bucketName: string;
6824
+ fileSize: number;
6825
+ fileUrl: string | null;
6826
+ status?: string | undefined;
6438
6827
  }[];
6439
6828
  }[];
6440
6829
  company: {
@@ -6525,19 +6914,12 @@ export declare const contactContract: {
6525
6914
  createdAt: Date;
6526
6915
  updatedAt: Date;
6527
6916
  deletedAt: Date | null;
6528
- customFieldId: string;
6529
- upload: {
6530
- id: string;
6531
- createdAt: Date;
6532
- updatedAt: Date;
6533
- deletedAt: Date | null;
6534
- fileName: string;
6535
- fileKey: string;
6536
- bucketName: string;
6537
- fileSize: number;
6538
- fileUrl: string | null;
6539
- status?: string | undefined;
6540
- };
6917
+ fileName: string;
6918
+ fileKey: string;
6919
+ bucketName: string;
6920
+ fileSize: number;
6921
+ fileUrl: string | null;
6922
+ status?: string | undefined;
6541
6923
  }[];
6542
6924
  }[];
6543
6925
  company: {
@@ -6630,19 +7012,12 @@ export declare const contactContract: {
6630
7012
  createdAt: Date;
6631
7013
  updatedAt: Date;
6632
7014
  deletedAt: Date | null;
6633
- customFieldId: string;
6634
- upload: {
6635
- id: string;
6636
- createdAt: Date;
6637
- updatedAt: Date;
6638
- deletedAt: Date | null;
6639
- fileName: string;
6640
- fileKey: string;
6641
- bucketName: string;
6642
- fileSize: number;
6643
- fileUrl: string | null;
6644
- status?: string | undefined;
6645
- };
7015
+ fileName: string;
7016
+ fileKey: string;
7017
+ bucketName: string;
7018
+ fileSize: number;
7019
+ fileUrl: string | null;
7020
+ status?: string | undefined;
6646
7021
  }[];
6647
7022
  }[];
6648
7023
  company: {
@@ -6736,19 +7111,12 @@ export declare const contactContract: {
6736
7111
  createdAt: Date;
6737
7112
  updatedAt: Date;
6738
7113
  deletedAt: Date | null;
6739
- customFieldId: string;
6740
- upload: {
6741
- id: string;
6742
- createdAt: Date;
6743
- updatedAt: Date;
6744
- deletedAt: Date | null;
6745
- fileName: string;
6746
- fileKey: string;
6747
- bucketName: string;
6748
- fileSize: number;
6749
- fileUrl: string | null;
6750
- status?: string | undefined;
6751
- };
7114
+ fileName: string;
7115
+ fileKey: string;
7116
+ bucketName: string;
7117
+ fileSize: number;
7118
+ fileUrl: string | null;
7119
+ status?: string | undefined;
6752
7120
  }[];
6753
7121
  }[];
6754
7122
  company: {
@@ -7064,51 +7432,52 @@ export declare const contactContract: {
7064
7432
  'x-client-timezone'?: string | undefined;
7065
7433
  }>>>;
7066
7434
  };
7067
- addAttachments: {
7435
+ createContactAttachmentRecords: {
7068
7436
  body: z.ZodObject<{
7437
+ contactId: z.ZodString;
7069
7438
  attributeId: z.ZodString;
7070
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
7439
+ contactAttachmentRecords: z.ZodArray<z.ZodObject<{
7071
7440
  bucketName: z.ZodString;
7072
7441
  fileKey: z.ZodString;
7073
7442
  fileName: z.ZodString;
7074
7443
  fileSize: z.ZodNumber;
7444
+ url: z.ZodString;
7075
7445
  }, "strip", z.ZodTypeAny, {
7446
+ url: string;
7076
7447
  fileName: string;
7077
7448
  fileKey: string;
7078
7449
  bucketName: string;
7079
7450
  fileSize: number;
7080
7451
  }, {
7452
+ url: string;
7081
7453
  fileName: string;
7082
7454
  fileKey: string;
7083
7455
  bucketName: string;
7084
7456
  fileSize: number;
7085
- }>, "many">>;
7457
+ }>, "many">;
7086
7458
  }, "strip", z.ZodTypeAny, {
7087
7459
  attributeId: string;
7088
- attachments?: {
7460
+ contactId: string;
7461
+ contactAttachmentRecords: {
7462
+ url: string;
7089
7463
  fileName: string;
7090
7464
  fileKey: string;
7091
7465
  bucketName: string;
7092
7466
  fileSize: number;
7093
- }[] | undefined;
7467
+ }[];
7094
7468
  }, {
7095
7469
  attributeId: string;
7096
- attachments?: {
7470
+ contactId: string;
7471
+ contactAttachmentRecords: {
7472
+ url: string;
7097
7473
  fileName: string;
7098
7474
  fileKey: string;
7099
7475
  bucketName: string;
7100
7476
  fileSize: number;
7101
- }[] | undefined;
7477
+ }[];
7102
7478
  }>;
7103
- summary: " attachment information from pre-uploaded files in AWS S3 to contacts.";
7479
+ summary: "Create a new contact attachment";
7104
7480
  method: "POST";
7105
- pathParams: z.ZodObject<{
7106
- id: z.ZodString;
7107
- }, "strip", z.ZodTypeAny, {
7108
- id: string;
7109
- }, {
7110
- id: string;
7111
- }>;
7112
7481
  responses: {
7113
7482
  201: z.ZodObject<{
7114
7483
  requestId: z.ZodString;
@@ -7121,30 +7490,191 @@ export declare const contactContract: {
7121
7490
  booleanValue: z.ZodNullable<z.ZodBoolean>;
7122
7491
  numberValue: z.ZodNullable<z.ZodNumber>;
7123
7492
  dateValue: z.ZodNullable<z.ZodDate>;
7124
- entityId: z.ZodString;
7125
- attributeId: z.ZodString;
7493
+ attribute: z.ZodObject<Omit<{
7494
+ id: z.ZodString;
7495
+ createdAt: z.ZodDate;
7496
+ updatedAt: z.ZodDate;
7497
+ deletedAt: z.ZodNullable<z.ZodDate>;
7498
+ systemName: z.ZodString;
7499
+ displayName: z.ZodString;
7500
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
7501
+ position: z.ZodNumber;
7502
+ isDefault: z.ZodBoolean;
7503
+ isArchived: z.ZodBoolean;
7504
+ isRequired: z.ZodBoolean;
7505
+ isUnique: z.ZodBoolean;
7506
+ options: z.ZodArray<z.ZodObject<{
7507
+ position: z.ZodNumber;
7508
+ value: z.ZodString;
7509
+ label: z.ZodString;
7510
+ isDefault: z.ZodBoolean;
7511
+ id: z.ZodString;
7512
+ }, "strip", z.ZodTypeAny, {
7513
+ id: string;
7514
+ position: number;
7515
+ value: string;
7516
+ label: string;
7517
+ isDefault: boolean;
7518
+ }, {
7519
+ id: string;
7520
+ position: number;
7521
+ value: string;
7522
+ label: string;
7523
+ isDefault: boolean;
7524
+ }>, "many">;
7525
+ group: z.ZodObject<{
7526
+ id: z.ZodString;
7527
+ createdAt: z.ZodDate;
7528
+ updatedAt: z.ZodDate;
7529
+ deletedAt: z.ZodNullable<z.ZodDate>;
7530
+ systemName: z.ZodString;
7531
+ displayName: z.ZodString;
7532
+ }, "strip", z.ZodTypeAny, {
7533
+ id: string;
7534
+ createdAt: Date;
7535
+ updatedAt: Date;
7536
+ deletedAt: Date | null;
7537
+ systemName: string;
7538
+ displayName: string;
7539
+ }, {
7540
+ id: string;
7541
+ createdAt: Date;
7542
+ updatedAt: Date;
7543
+ deletedAt: Date | null;
7544
+ systemName: string;
7545
+ displayName: string;
7546
+ }>;
7547
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
7548
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7549
+ id: string;
7550
+ position: number;
7551
+ createdAt: Date;
7552
+ updatedAt: Date;
7553
+ deletedAt: Date | null;
7554
+ systemName: string;
7555
+ displayName: string;
7556
+ isDefault: boolean;
7557
+ isArchived: boolean;
7558
+ isRequired: boolean;
7559
+ isUnique: boolean;
7560
+ }, {
7561
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7562
+ id: string;
7563
+ position: number;
7564
+ createdAt: Date;
7565
+ updatedAt: Date;
7566
+ deletedAt: Date | null;
7567
+ systemName: string;
7568
+ displayName: string;
7569
+ isDefault: boolean;
7570
+ isArchived: boolean;
7571
+ isRequired: boolean;
7572
+ isUnique: boolean;
7573
+ }>;
7574
+ uploads: z.ZodArray<z.ZodObject<{
7575
+ id: z.ZodString;
7576
+ createdAt: z.ZodDate;
7577
+ updatedAt: z.ZodDate;
7578
+ deletedAt: z.ZodNullable<z.ZodDate>;
7579
+ bucketName: z.ZodString;
7580
+ fileName: z.ZodString;
7581
+ fileSize: z.ZodNumber;
7582
+ fileKey: z.ZodString;
7583
+ fileUrl: z.ZodNullable<z.ZodString>;
7584
+ status: z.ZodOptional<z.ZodString>;
7585
+ }, "strip", z.ZodTypeAny, {
7586
+ id: string;
7587
+ createdAt: Date;
7588
+ updatedAt: Date;
7589
+ deletedAt: Date | null;
7590
+ fileName: string;
7591
+ fileKey: string;
7592
+ bucketName: string;
7593
+ fileSize: number;
7594
+ fileUrl: string | null;
7595
+ status?: string | undefined;
7596
+ }, {
7597
+ id: string;
7598
+ createdAt: Date;
7599
+ updatedAt: Date;
7600
+ deletedAt: Date | null;
7601
+ fileName: string;
7602
+ fileKey: string;
7603
+ bucketName: string;
7604
+ fileSize: number;
7605
+ fileUrl: string | null;
7606
+ status?: string | undefined;
7607
+ }>, "many">;
7126
7608
  }, "strip", z.ZodTypeAny, {
7127
7609
  id: string;
7128
7610
  createdAt: Date;
7129
7611
  updatedAt: Date;
7130
7612
  deletedAt: Date | null;
7131
- entityId: string;
7132
- attributeId: string;
7613
+ attribute: {
7614
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7615
+ id: string;
7616
+ position: number;
7617
+ createdAt: Date;
7618
+ updatedAt: Date;
7619
+ deletedAt: Date | null;
7620
+ systemName: string;
7621
+ displayName: string;
7622
+ isDefault: boolean;
7623
+ isArchived: boolean;
7624
+ isRequired: boolean;
7625
+ isUnique: boolean;
7626
+ };
7133
7627
  textValue: string | null;
7134
7628
  booleanValue: boolean | null;
7135
7629
  numberValue: number | null;
7136
7630
  dateValue: Date | null;
7631
+ uploads: {
7632
+ id: string;
7633
+ createdAt: Date;
7634
+ updatedAt: Date;
7635
+ deletedAt: Date | null;
7636
+ fileName: string;
7637
+ fileKey: string;
7638
+ bucketName: string;
7639
+ fileSize: number;
7640
+ fileUrl: string | null;
7641
+ status?: string | undefined;
7642
+ }[];
7137
7643
  }, {
7138
7644
  id: string;
7139
7645
  createdAt: Date;
7140
7646
  updatedAt: Date;
7141
7647
  deletedAt: Date | null;
7142
- entityId: string;
7143
- attributeId: string;
7648
+ attribute: {
7649
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7650
+ id: string;
7651
+ position: number;
7652
+ createdAt: Date;
7653
+ updatedAt: Date;
7654
+ deletedAt: Date | null;
7655
+ systemName: string;
7656
+ displayName: string;
7657
+ isDefault: boolean;
7658
+ isArchived: boolean;
7659
+ isRequired: boolean;
7660
+ isUnique: boolean;
7661
+ };
7144
7662
  textValue: string | null;
7145
7663
  booleanValue: boolean | null;
7146
7664
  numberValue: number | null;
7147
7665
  dateValue: Date | null;
7666
+ uploads: {
7667
+ id: string;
7668
+ createdAt: Date;
7669
+ updatedAt: Date;
7670
+ deletedAt: Date | null;
7671
+ fileName: string;
7672
+ fileKey: string;
7673
+ bucketName: string;
7674
+ fileSize: number;
7675
+ fileUrl: string | null;
7676
+ status?: string | undefined;
7677
+ }[];
7148
7678
  }>;
7149
7679
  }, "strip", z.ZodTypeAny, {
7150
7680
  message: {
@@ -7152,12 +7682,36 @@ export declare const contactContract: {
7152
7682
  createdAt: Date;
7153
7683
  updatedAt: Date;
7154
7684
  deletedAt: Date | null;
7155
- entityId: string;
7156
- attributeId: string;
7685
+ attribute: {
7686
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7687
+ id: string;
7688
+ position: number;
7689
+ createdAt: Date;
7690
+ updatedAt: Date;
7691
+ deletedAt: Date | null;
7692
+ systemName: string;
7693
+ displayName: string;
7694
+ isDefault: boolean;
7695
+ isArchived: boolean;
7696
+ isRequired: boolean;
7697
+ isUnique: boolean;
7698
+ };
7157
7699
  textValue: string | null;
7158
7700
  booleanValue: boolean | null;
7159
7701
  numberValue: number | null;
7160
7702
  dateValue: Date | null;
7703
+ uploads: {
7704
+ id: string;
7705
+ createdAt: Date;
7706
+ updatedAt: Date;
7707
+ deletedAt: Date | null;
7708
+ fileName: string;
7709
+ fileKey: string;
7710
+ bucketName: string;
7711
+ fileSize: number;
7712
+ fileUrl: string | null;
7713
+ status?: string | undefined;
7714
+ }[];
7161
7715
  };
7162
7716
  requestId: string;
7163
7717
  }, {
@@ -7166,12 +7720,36 @@ export declare const contactContract: {
7166
7720
  createdAt: Date;
7167
7721
  updatedAt: Date;
7168
7722
  deletedAt: Date | null;
7169
- entityId: string;
7170
- attributeId: string;
7723
+ attribute: {
7724
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7725
+ id: string;
7726
+ position: number;
7727
+ createdAt: Date;
7728
+ updatedAt: Date;
7729
+ deletedAt: Date | null;
7730
+ systemName: string;
7731
+ displayName: string;
7732
+ isDefault: boolean;
7733
+ isArchived: boolean;
7734
+ isRequired: boolean;
7735
+ isUnique: boolean;
7736
+ };
7171
7737
  textValue: string | null;
7172
7738
  booleanValue: boolean | null;
7173
7739
  numberValue: number | null;
7174
7740
  dateValue: Date | null;
7741
+ uploads: {
7742
+ id: string;
7743
+ createdAt: Date;
7744
+ updatedAt: Date;
7745
+ deletedAt: Date | null;
7746
+ fileName: string;
7747
+ fileKey: string;
7748
+ bucketName: string;
7749
+ fileSize: number;
7750
+ fileUrl: string | null;
7751
+ status?: string | undefined;
7752
+ }[];
7175
7753
  };
7176
7754
  requestId: string;
7177
7755
  }>;
@@ -7227,7 +7805,7 @@ export declare const contactContract: {
7227
7805
  error?: any;
7228
7806
  }>;
7229
7807
  };
7230
- path: "contact/:id/attachments";
7808
+ path: "contact/attachments";
7231
7809
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7232
7810
  'x-tenant': z.ZodString;
7233
7811
  authorization: z.ZodString;
@@ -7548,77 +8126,34 @@ export declare const contactContract: {
7548
8126
  createdAt: z.ZodDate;
7549
8127
  updatedAt: z.ZodDate;
7550
8128
  deletedAt: z.ZodNullable<z.ZodDate>;
7551
- customFieldId: z.ZodString;
7552
- upload: z.ZodObject<{
7553
- id: z.ZodString;
7554
- createdAt: z.ZodDate;
7555
- updatedAt: z.ZodDate;
7556
- deletedAt: z.ZodNullable<z.ZodDate>;
7557
- bucketName: z.ZodString;
7558
- fileName: z.ZodString;
7559
- fileSize: z.ZodNumber;
7560
- fileKey: z.ZodString;
7561
- fileUrl: z.ZodNullable<z.ZodString>;
7562
- status: z.ZodOptional<z.ZodString>;
7563
- }, "strip", z.ZodTypeAny, {
7564
- id: string;
7565
- createdAt: Date;
7566
- updatedAt: Date;
7567
- deletedAt: Date | null;
7568
- fileName: string;
7569
- fileKey: string;
7570
- bucketName: string;
7571
- fileSize: number;
7572
- fileUrl: string | null;
7573
- status?: string | undefined;
7574
- }, {
7575
- id: string;
7576
- createdAt: Date;
7577
- updatedAt: Date;
7578
- deletedAt: Date | null;
7579
- fileName: string;
7580
- fileKey: string;
7581
- bucketName: string;
7582
- fileSize: number;
7583
- fileUrl: string | null;
7584
- status?: string | undefined;
7585
- }>;
8129
+ bucketName: z.ZodString;
8130
+ fileName: z.ZodString;
8131
+ fileSize: z.ZodNumber;
8132
+ fileKey: z.ZodString;
8133
+ fileUrl: z.ZodNullable<z.ZodString>;
8134
+ status: z.ZodOptional<z.ZodString>;
7586
8135
  }, "strip", z.ZodTypeAny, {
7587
8136
  id: string;
7588
8137
  createdAt: Date;
7589
8138
  updatedAt: Date;
7590
8139
  deletedAt: Date | null;
7591
- customFieldId: string;
7592
- upload: {
7593
- id: string;
7594
- createdAt: Date;
7595
- updatedAt: Date;
7596
- deletedAt: Date | null;
7597
- fileName: string;
7598
- fileKey: string;
7599
- bucketName: string;
7600
- fileSize: number;
7601
- fileUrl: string | null;
7602
- status?: string | undefined;
7603
- };
8140
+ fileName: string;
8141
+ fileKey: string;
8142
+ bucketName: string;
8143
+ fileSize: number;
8144
+ fileUrl: string | null;
8145
+ status?: string | undefined;
7604
8146
  }, {
7605
8147
  id: string;
7606
8148
  createdAt: Date;
7607
8149
  updatedAt: Date;
7608
8150
  deletedAt: Date | null;
7609
- customFieldId: string;
7610
- upload: {
7611
- id: string;
7612
- createdAt: Date;
7613
- updatedAt: Date;
7614
- deletedAt: Date | null;
7615
- fileName: string;
7616
- fileKey: string;
7617
- bucketName: string;
7618
- fileSize: number;
7619
- fileUrl: string | null;
7620
- status?: string | undefined;
7621
- };
8151
+ fileName: string;
8152
+ fileKey: string;
8153
+ bucketName: string;
8154
+ fileSize: number;
8155
+ fileUrl: string | null;
8156
+ status?: string | undefined;
7622
8157
  }>, "many">;
7623
8158
  }, "strip", z.ZodTypeAny, {
7624
8159
  id: string;
@@ -7648,19 +8183,12 @@ export declare const contactContract: {
7648
8183
  createdAt: Date;
7649
8184
  updatedAt: Date;
7650
8185
  deletedAt: Date | null;
7651
- customFieldId: string;
7652
- upload: {
7653
- id: string;
7654
- createdAt: Date;
7655
- updatedAt: Date;
7656
- deletedAt: Date | null;
7657
- fileName: string;
7658
- fileKey: string;
7659
- bucketName: string;
7660
- fileSize: number;
7661
- fileUrl: string | null;
7662
- status?: string | undefined;
7663
- };
8186
+ fileName: string;
8187
+ fileKey: string;
8188
+ bucketName: string;
8189
+ fileSize: number;
8190
+ fileUrl: string | null;
8191
+ status?: string | undefined;
7664
8192
  }[];
7665
8193
  }, {
7666
8194
  id: string;
@@ -7690,19 +8218,12 @@ export declare const contactContract: {
7690
8218
  createdAt: Date;
7691
8219
  updatedAt: Date;
7692
8220
  deletedAt: Date | null;
7693
- customFieldId: string;
7694
- upload: {
7695
- id: string;
7696
- createdAt: Date;
7697
- updatedAt: Date;
7698
- deletedAt: Date | null;
7699
- fileName: string;
7700
- fileKey: string;
7701
- bucketName: string;
7702
- fileSize: number;
7703
- fileUrl: string | null;
7704
- status?: string | undefined;
7705
- };
8221
+ fileName: string;
8222
+ fileKey: string;
8223
+ bucketName: string;
8224
+ fileSize: number;
8225
+ fileUrl: string | null;
8226
+ status?: string | undefined;
7706
8227
  }[];
7707
8228
  }>, "many">;
7708
8229
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -7845,19 +8366,12 @@ export declare const contactContract: {
7845
8366
  createdAt: Date;
7846
8367
  updatedAt: Date;
7847
8368
  deletedAt: Date | null;
7848
- customFieldId: string;
7849
- upload: {
7850
- id: string;
7851
- createdAt: Date;
7852
- updatedAt: Date;
7853
- deletedAt: Date | null;
7854
- fileName: string;
7855
- fileKey: string;
7856
- bucketName: string;
7857
- fileSize: number;
7858
- fileUrl: string | null;
7859
- status?: string | undefined;
7860
- };
8369
+ fileName: string;
8370
+ fileKey: string;
8371
+ bucketName: string;
8372
+ fileSize: number;
8373
+ fileUrl: string | null;
8374
+ status?: string | undefined;
7861
8375
  }[];
7862
8376
  }[];
7863
8377
  company: {
@@ -7948,19 +8462,12 @@ export declare const contactContract: {
7948
8462
  createdAt: Date;
7949
8463
  updatedAt: Date;
7950
8464
  deletedAt: Date | null;
7951
- customFieldId: string;
7952
- upload: {
7953
- id: string;
7954
- createdAt: Date;
7955
- updatedAt: Date;
7956
- deletedAt: Date | null;
7957
- fileName: string;
7958
- fileKey: string;
7959
- bucketName: string;
7960
- fileSize: number;
7961
- fileUrl: string | null;
7962
- status?: string | undefined;
7963
- };
8465
+ fileName: string;
8466
+ fileKey: string;
8467
+ bucketName: string;
8468
+ fileSize: number;
8469
+ fileUrl: string | null;
8470
+ status?: string | undefined;
7964
8471
  }[];
7965
8472
  }[];
7966
8473
  company: {
@@ -8053,19 +8560,12 @@ export declare const contactContract: {
8053
8560
  createdAt: Date;
8054
8561
  updatedAt: Date;
8055
8562
  deletedAt: Date | null;
8056
- customFieldId: string;
8057
- upload: {
8058
- id: string;
8059
- createdAt: Date;
8060
- updatedAt: Date;
8061
- deletedAt: Date | null;
8062
- fileName: string;
8063
- fileKey: string;
8064
- bucketName: string;
8065
- fileSize: number;
8066
- fileUrl: string | null;
8067
- status?: string | undefined;
8068
- };
8563
+ fileName: string;
8564
+ fileKey: string;
8565
+ bucketName: string;
8566
+ fileSize: number;
8567
+ fileUrl: string | null;
8568
+ status?: string | undefined;
8069
8569
  }[];
8070
8570
  }[];
8071
8571
  company: {
@@ -8159,19 +8659,12 @@ export declare const contactContract: {
8159
8659
  createdAt: Date;
8160
8660
  updatedAt: Date;
8161
8661
  deletedAt: Date | null;
8162
- customFieldId: string;
8163
- upload: {
8164
- id: string;
8165
- createdAt: Date;
8166
- updatedAt: Date;
8167
- deletedAt: Date | null;
8168
- fileName: string;
8169
- fileKey: string;
8170
- bucketName: string;
8171
- fileSize: number;
8172
- fileUrl: string | null;
8173
- status?: string | undefined;
8174
- };
8662
+ fileName: string;
8663
+ fileKey: string;
8664
+ bucketName: string;
8665
+ fileSize: number;
8666
+ fileUrl: string | null;
8667
+ status?: string | undefined;
8175
8668
  }[];
8176
8669
  }[];
8177
8670
  company: {