@dakkitor/api-contracts 1.1.10 → 1.1.11

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 (87) hide show
  1. package/dist/actives/actives.contract.d.ts +104 -104
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +3 -6
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +1905 -0
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -0
  6. package/dist/agent-client-links/agent-client-links.contract.js +127 -0
  7. package/dist/auth/auth.contract.d.ts +319 -0
  8. package/dist/auth/auth.contract.d.ts.map +1 -0
  9. package/dist/auth/auth.contract.js +63 -0
  10. package/dist/bookings/bookings.contract.d.ts +273 -182
  11. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  12. package/dist/bookings/bookings.contract.js +25 -33
  13. package/dist/call-history/call-history.contract.d.ts +1164 -0
  14. package/dist/call-history/call-history.contract.d.ts.map +1 -0
  15. package/dist/call-history/call-history.contract.js +254 -0
  16. package/dist/client-contacts/client-contacts.contract.d.ts +215 -268
  17. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  18. package/dist/client-contacts/client-contacts.contract.js +21 -10
  19. package/dist/clients/clients.contract.d.ts +153 -125
  20. package/dist/clients/clients.contract.d.ts.map +1 -1
  21. package/dist/clients/clients.contract.js +44 -29
  22. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3013 -0
  23. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -0
  24. package/dist/collaboration-checkings/collaboration-checkings.contract.js +247 -0
  25. package/dist/collaborations/collaborations.contract.d.ts +2229 -0
  26. package/dist/collaborations/collaborations.contract.d.ts.map +1 -0
  27. package/dist/collaborations/collaborations.contract.js +284 -0
  28. package/dist/common/common-schemas.d.ts +100 -0
  29. package/dist/common/common-schemas.d.ts.map +1 -1
  30. package/dist/common/common-schemas.js +268 -1
  31. package/dist/common/openapi-metadata.d.ts +6 -0
  32. package/dist/common/openapi-metadata.d.ts.map +1 -1
  33. package/dist/companies/companies.contract.d.ts +1108 -0
  34. package/dist/companies/companies.contract.d.ts.map +1 -0
  35. package/dist/companies/companies.contract.js +164 -0
  36. package/dist/cron-executions/cron-executions.contract.d.ts +1643 -0
  37. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -0
  38. package/dist/cron-executions/cron-executions.contract.js +271 -0
  39. package/dist/curated-workers/curated-workers.contract.d.ts +3183 -0
  40. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -0
  41. package/dist/curated-workers/curated-workers.contract.js +444 -0
  42. package/dist/dashboards/agent-daily-metrics.contract.d.ts +639 -0
  43. package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -0
  44. package/dist/dashboards/agent-daily-metrics.contract.js +118 -0
  45. package/dist/files/files.contract.d.ts +1258 -0
  46. package/dist/files/files.contract.d.ts.map +1 -0
  47. package/dist/files/files.contract.js +205 -0
  48. package/dist/health/health.contract.d.ts +161 -0
  49. package/dist/health/health.contract.d.ts.map +1 -0
  50. package/dist/health/health.contract.js +52 -0
  51. package/dist/index.d.ts +27370 -3319
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +63 -0
  54. package/dist/jobs/jobs.contract.d.ts +2303 -0
  55. package/dist/jobs/jobs.contract.d.ts.map +1 -0
  56. package/dist/jobs/jobs.contract.js +295 -0
  57. package/dist/lead-assignments/lead-assignments.contract.d.ts +1826 -0
  58. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -0
  59. package/dist/lead-assignments/lead-assignments.contract.js +187 -0
  60. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +1147 -0
  61. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -0
  62. package/dist/lead-distribution/agent-lead-distribution.contract.js +154 -0
  63. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +1085 -0
  64. package/dist/lead-distribution/lead-distribution-config.contract.d.ts.map +1 -0
  65. package/dist/lead-distribution/lead-distribution-config.contract.js +196 -0
  66. package/dist/leads/leads.contract.d.ts +1690 -0
  67. package/dist/leads/leads.contract.d.ts.map +1 -0
  68. package/dist/leads/leads.contract.js +328 -0
  69. package/dist/locations/locations.contract.d.ts +974 -0
  70. package/dist/locations/locations.contract.d.ts.map +1 -0
  71. package/dist/locations/locations.contract.js +154 -0
  72. package/dist/postcodes/postcodes.contract.d.ts +370 -0
  73. package/dist/postcodes/postcodes.contract.d.ts.map +1 -0
  74. package/dist/postcodes/postcodes.contract.js +90 -0
  75. package/dist/qualifications/qualifications.contract.d.ts +1489 -0
  76. package/dist/qualifications/qualifications.contract.d.ts.map +1 -0
  77. package/dist/qualifications/qualifications.contract.js +215 -0
  78. package/dist/trades/trades.contract.d.ts +799 -0
  79. package/dist/trades/trades.contract.d.ts.map +1 -0
  80. package/dist/trades/trades.contract.js +112 -0
  81. package/dist/users/users.contract.d.ts +102 -96
  82. package/dist/users/users.contract.d.ts.map +1 -1
  83. package/dist/users/users.contract.js +9 -21
  84. package/dist/workers/workers.contract.d.ts +3376 -0
  85. package/dist/workers/workers.contract.d.ts.map +1 -0
  86. package/dist/workers/workers.contract.js +363 -0
  87. package/package.json +4 -3
@@ -44,7 +44,6 @@ export declare const ClientContactSchema: z.ZodObject<{
44
44
  }>;
45
45
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
46
46
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
47
- version: z.ZodNumber;
48
47
  agentClientLinks: z.ZodObject<{
49
48
  agentId: z.ZodString;
50
49
  }, "strip", z.ZodTypeAny, {
@@ -53,41 +52,39 @@ export declare const ClientContactSchema: z.ZodObject<{
53
52
  agentId: string;
54
53
  }>;
55
54
  }, "strip", z.ZodTypeAny, {
56
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
57
- createdAt: string;
58
- updatedAt: string;
59
55
  id: string;
56
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
60
57
  name: string;
61
- director: string;
62
58
  crn: string;
63
59
  govLink: string;
60
+ director: string;
64
61
  lastUpdatedBy: {
65
62
  id: string;
66
63
  firstName: string;
67
64
  lastName: string;
68
65
  email: string;
69
66
  };
70
- version: number;
67
+ createdAt: string;
68
+ updatedAt: string;
71
69
  agentClientLinks: {
72
70
  agentId: string;
73
71
  };
74
72
  blacklistReason?: string | null | undefined;
75
73
  }, {
76
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
77
- createdAt: string | Date;
78
- updatedAt: string | Date;
79
74
  id: string;
75
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
80
76
  name: string;
81
- director: string;
82
77
  crn: string;
83
78
  govLink: string;
79
+ director: string;
84
80
  lastUpdatedBy: {
85
81
  id: string;
86
82
  firstName: string;
87
83
  lastName: string;
88
84
  email: string;
89
85
  };
90
- version: number;
86
+ createdAt: string | Date;
87
+ updatedAt: string | Date;
91
88
  agentClientLinks: {
92
89
  agentId: string;
93
90
  };
@@ -116,31 +113,28 @@ export declare const ClientContactSchema: z.ZodObject<{
116
113
  }>;
117
114
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
118
115
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
119
- version: z.ZodNumber;
120
116
  }, "strip", z.ZodTypeAny, {
121
- createdAt: string;
122
- updatedAt: string;
123
117
  id: string;
124
- clientId: string;
125
118
  email: string;
126
119
  name: string;
127
- version: number;
120
+ createdAt: string;
121
+ updatedAt: string;
122
+ clientId: string;
128
123
  client: {
129
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
130
- createdAt: string;
131
- updatedAt: string;
132
124
  id: string;
125
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
133
126
  name: string;
134
- director: string;
135
127
  crn: string;
136
128
  govLink: string;
129
+ director: string;
137
130
  lastUpdatedBy: {
138
131
  id: string;
139
132
  firstName: string;
140
133
  lastName: string;
141
134
  email: string;
142
135
  };
143
- version: number;
136
+ createdAt: string;
137
+ updatedAt: string;
144
138
  agentClientLinks: {
145
139
  agentId: string;
146
140
  };
@@ -156,29 +150,27 @@ export declare const ClientContactSchema: z.ZodObject<{
156
150
  position?: string | undefined;
157
151
  source?: string | undefined;
158
152
  }, {
159
- createdAt: string | Date;
160
- updatedAt: string | Date;
161
153
  id: string;
162
- clientId: string;
163
154
  email: string;
164
155
  name: string;
165
- version: number;
156
+ createdAt: string | Date;
157
+ updatedAt: string | Date;
158
+ clientId: string;
166
159
  client: {
167
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
168
- createdAt: string | Date;
169
- updatedAt: string | Date;
170
160
  id: string;
161
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
171
162
  name: string;
172
- director: string;
173
163
  crn: string;
174
164
  govLink: string;
165
+ director: string;
175
166
  lastUpdatedBy: {
176
167
  id: string;
177
168
  firstName: string;
178
169
  lastName: string;
179
170
  email: string;
180
171
  };
181
- version: number;
172
+ createdAt: string | Date;
173
+ updatedAt: string | Date;
182
174
  agentClientLinks: {
183
175
  agentId: string;
184
176
  };
@@ -265,21 +257,17 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
265
257
  phone: z.ZodOptional<z.ZodString>;
266
258
  email: z.ZodOptional<z.ZodString>;
267
259
  source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
268
- } & {
269
- version: z.ZodNumber;
270
260
  }, "client">, "strip", z.ZodTypeAny, {
271
- version: number;
272
261
  email?: string | undefined;
273
262
  name?: string | undefined;
274
- position?: string | undefined;
275
263
  phone?: string | undefined;
264
+ position?: string | undefined;
276
265
  source?: string | undefined;
277
266
  }, {
278
- version: number;
279
267
  email?: string | undefined;
280
268
  name?: string | undefined;
281
- position?: string | undefined;
282
269
  phone?: string | undefined;
270
+ position?: string | undefined;
283
271
  source?: string | undefined;
284
272
  }>;
285
273
  export declare const FilterClientContactSchema: z.ZodObject<{
@@ -296,21 +284,21 @@ export declare const FilterClientContactSchema: z.ZodObject<{
296
284
  }, "strip", z.ZodTypeAny, {
297
285
  limit: number;
298
286
  page: number;
299
- sortBy: "createdAt" | "updatedAt" | "email" | "name" | "position";
287
+ sortBy: "email" | "name" | "createdAt" | "updatedAt" | "position";
300
288
  sortOrder: "ASC" | "DESC";
301
- clientId?: string | undefined;
302
289
  email?: string | undefined;
303
290
  name?: string | undefined;
291
+ clientId?: string | undefined;
304
292
  phone?: string | undefined;
305
293
  createdById?: string | undefined;
306
294
  }, {
295
+ email?: string | undefined;
296
+ name?: string | undefined;
307
297
  limit?: number | undefined;
308
298
  page?: number | undefined;
309
- sortBy?: "createdAt" | "updatedAt" | "email" | "name" | "position" | undefined;
299
+ sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
310
300
  sortOrder?: "ASC" | "DESC" | undefined;
311
301
  clientId?: string | undefined;
312
- email?: string | undefined;
313
- name?: string | undefined;
314
302
  phone?: string | undefined;
315
303
  createdById?: string | undefined;
316
304
  }>;
@@ -344,7 +332,6 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
344
332
  }>;
345
333
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
346
334
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
347
- version: z.ZodNumber;
348
335
  agentClientLinks: z.ZodObject<{
349
336
  agentId: z.ZodString;
350
337
  }, "strip", z.ZodTypeAny, {
@@ -353,41 +340,39 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
353
340
  agentId: string;
354
341
  }>;
355
342
  }, "strip", z.ZodTypeAny, {
356
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
357
- createdAt: string;
358
- updatedAt: string;
359
343
  id: string;
344
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
360
345
  name: string;
361
- director: string;
362
346
  crn: string;
363
347
  govLink: string;
348
+ director: string;
364
349
  lastUpdatedBy: {
365
350
  id: string;
366
351
  firstName: string;
367
352
  lastName: string;
368
353
  email: string;
369
354
  };
370
- version: number;
355
+ createdAt: string;
356
+ updatedAt: string;
371
357
  agentClientLinks: {
372
358
  agentId: string;
373
359
  };
374
360
  blacklistReason?: string | null | undefined;
375
361
  }, {
376
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
377
- createdAt: string | Date;
378
- updatedAt: string | Date;
379
362
  id: string;
363
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
380
364
  name: string;
381
- director: string;
382
365
  crn: string;
383
366
  govLink: string;
367
+ director: string;
384
368
  lastUpdatedBy: {
385
369
  id: string;
386
370
  firstName: string;
387
371
  lastName: string;
388
372
  email: string;
389
373
  };
390
- version: number;
374
+ createdAt: string | Date;
375
+ updatedAt: string | Date;
391
376
  agentClientLinks: {
392
377
  agentId: string;
393
378
  };
@@ -416,31 +401,28 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
416
401
  }>;
417
402
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
418
403
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
419
- version: z.ZodNumber;
420
404
  }, "strip", z.ZodTypeAny, {
421
- createdAt: string;
422
- updatedAt: string;
423
405
  id: string;
424
- clientId: string;
425
406
  email: string;
426
407
  name: string;
427
- version: number;
408
+ createdAt: string;
409
+ updatedAt: string;
410
+ clientId: string;
428
411
  client: {
429
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
430
- createdAt: string;
431
- updatedAt: string;
432
412
  id: string;
413
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
433
414
  name: string;
434
- director: string;
435
415
  crn: string;
436
416
  govLink: string;
417
+ director: string;
437
418
  lastUpdatedBy: {
438
419
  id: string;
439
420
  firstName: string;
440
421
  lastName: string;
441
422
  email: string;
442
423
  };
443
- version: number;
424
+ createdAt: string;
425
+ updatedAt: string;
444
426
  agentClientLinks: {
445
427
  agentId: string;
446
428
  };
@@ -456,29 +438,27 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
456
438
  position?: string | undefined;
457
439
  source?: string | undefined;
458
440
  }, {
459
- createdAt: string | Date;
460
- updatedAt: string | Date;
461
441
  id: string;
462
- clientId: string;
463
442
  email: string;
464
443
  name: string;
465
- version: number;
444
+ createdAt: string | Date;
445
+ updatedAt: string | Date;
446
+ clientId: string;
466
447
  client: {
467
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
468
- createdAt: string | Date;
469
- updatedAt: string | Date;
470
448
  id: string;
449
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
471
450
  name: string;
472
- director: string;
473
451
  crn: string;
474
452
  govLink: string;
453
+ director: string;
475
454
  lastUpdatedBy: {
476
455
  id: string;
477
456
  firstName: string;
478
457
  lastName: string;
479
458
  email: string;
480
459
  };
481
- version: number;
460
+ createdAt: string | Date;
461
+ updatedAt: string | Date;
482
462
  agentClientLinks: {
483
463
  agentId: string;
484
464
  };
@@ -502,29 +482,27 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
502
482
  }, "strip", z.ZodTypeAny, {
503
483
  limit: number;
504
484
  items: {
505
- createdAt: string;
506
- updatedAt: string;
507
485
  id: string;
508
- clientId: string;
509
486
  email: string;
510
487
  name: string;
511
- version: number;
488
+ createdAt: string;
489
+ updatedAt: string;
490
+ clientId: string;
512
491
  client: {
513
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
514
- createdAt: string;
515
- updatedAt: string;
516
492
  id: string;
493
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
517
494
  name: string;
518
- director: string;
519
495
  crn: string;
520
496
  govLink: string;
497
+ director: string;
521
498
  lastUpdatedBy: {
522
499
  id: string;
523
500
  firstName: string;
524
501
  lastName: string;
525
502
  email: string;
526
503
  };
527
- version: number;
504
+ createdAt: string;
505
+ updatedAt: string;
528
506
  agentClientLinks: {
529
507
  agentId: string;
530
508
  };
@@ -547,29 +525,27 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
547
525
  }, {
548
526
  limit: number;
549
527
  items: {
550
- createdAt: string | Date;
551
- updatedAt: string | Date;
552
528
  id: string;
553
- clientId: string;
554
529
  email: string;
555
530
  name: string;
556
- version: number;
531
+ createdAt: string | Date;
532
+ updatedAt: string | Date;
533
+ clientId: string;
557
534
  client: {
558
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
559
- createdAt: string | Date;
560
- updatedAt: string | Date;
561
535
  id: string;
536
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
562
537
  name: string;
563
- director: string;
564
538
  crn: string;
565
539
  govLink: string;
540
+ director: string;
566
541
  lastUpdatedBy: {
567
542
  id: string;
568
543
  firstName: string;
569
544
  lastName: string;
570
545
  email: string;
571
546
  };
572
- version: number;
547
+ createdAt: string | Date;
548
+ updatedAt: string | Date;
573
549
  agentClientLinks: {
574
550
  agentId: string;
575
551
  };
@@ -590,6 +566,7 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
590
566
  currentPage: number;
591
567
  totalPages: number;
592
568
  }>;
569
+ export type ClientContactUser = z.infer<typeof ClientContactUserSchema>;
593
570
  export type ClientContact = z.infer<typeof ClientContactSchema>;
594
571
  export type CreateClientContact = z.infer<typeof CreateClientContactSchema>;
595
572
  export type CreateClientContactBody = z.infer<typeof CreateClientContactBodySchema>;
@@ -598,6 +575,9 @@ export type FilterClientContact = z.infer<typeof FilterClientContactSchema>;
598
575
  export type ClientContactPaginatedResponse = z.infer<typeof ClientContactPaginatedResponseSchema>;
599
576
  export declare const clientContactsContractRouter: {
600
577
  create: {
578
+ metadata: {
579
+ tags: string[];
580
+ };
601
581
  summary: "Create a new client contact";
602
582
  method: "POST";
603
583
  body: z.ZodObject<{
@@ -763,7 +743,6 @@ export declare const clientContactsContractRouter: {
763
743
  }>;
764
744
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
765
745
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
766
- version: z.ZodNumber;
767
746
  agentClientLinks: z.ZodObject<{
768
747
  agentId: z.ZodString;
769
748
  }, "strip", z.ZodTypeAny, {
@@ -772,41 +751,39 @@ export declare const clientContactsContractRouter: {
772
751
  agentId: string;
773
752
  }>;
774
753
  }, "strip", z.ZodTypeAny, {
775
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
776
- createdAt: string;
777
- updatedAt: string;
778
754
  id: string;
755
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
779
756
  name: string;
780
- director: string;
781
757
  crn: string;
782
758
  govLink: string;
759
+ director: string;
783
760
  lastUpdatedBy: {
784
761
  id: string;
785
762
  firstName: string;
786
763
  lastName: string;
787
764
  email: string;
788
765
  };
789
- version: number;
766
+ createdAt: string;
767
+ updatedAt: string;
790
768
  agentClientLinks: {
791
769
  agentId: string;
792
770
  };
793
771
  blacklistReason?: string | null | undefined;
794
772
  }, {
795
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
796
- createdAt: string | Date;
797
- updatedAt: string | Date;
798
773
  id: string;
774
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
799
775
  name: string;
800
- director: string;
801
776
  crn: string;
802
777
  govLink: string;
778
+ director: string;
803
779
  lastUpdatedBy: {
804
780
  id: string;
805
781
  firstName: string;
806
782
  lastName: string;
807
783
  email: string;
808
784
  };
809
- version: number;
785
+ createdAt: string | Date;
786
+ updatedAt: string | Date;
810
787
  agentClientLinks: {
811
788
  agentId: string;
812
789
  };
@@ -835,31 +812,28 @@ export declare const clientContactsContractRouter: {
835
812
  }>;
836
813
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
837
814
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
838
- version: z.ZodNumber;
839
815
  }, "strip", z.ZodTypeAny, {
840
- createdAt: string;
841
- updatedAt: string;
842
816
  id: string;
843
- clientId: string;
844
817
  email: string;
845
818
  name: string;
846
- version: number;
819
+ createdAt: string;
820
+ updatedAt: string;
821
+ clientId: string;
847
822
  client: {
848
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
849
- createdAt: string;
850
- updatedAt: string;
851
823
  id: string;
824
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
852
825
  name: string;
853
- director: string;
854
826
  crn: string;
855
827
  govLink: string;
828
+ director: string;
856
829
  lastUpdatedBy: {
857
830
  id: string;
858
831
  firstName: string;
859
832
  lastName: string;
860
833
  email: string;
861
834
  };
862
- version: number;
835
+ createdAt: string;
836
+ updatedAt: string;
863
837
  agentClientLinks: {
864
838
  agentId: string;
865
839
  };
@@ -875,29 +849,27 @@ export declare const clientContactsContractRouter: {
875
849
  position?: string | undefined;
876
850
  source?: string | undefined;
877
851
  }, {
878
- createdAt: string | Date;
879
- updatedAt: string | Date;
880
852
  id: string;
881
- clientId: string;
882
853
  email: string;
883
854
  name: string;
884
- version: number;
855
+ createdAt: string | Date;
856
+ updatedAt: string | Date;
857
+ clientId: string;
885
858
  client: {
886
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
887
- createdAt: string | Date;
888
- updatedAt: string | Date;
889
859
  id: string;
860
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
890
861
  name: string;
891
- director: string;
892
862
  crn: string;
893
863
  govLink: string;
864
+ director: string;
894
865
  lastUpdatedBy: {
895
866
  id: string;
896
867
  firstName: string;
897
868
  lastName: string;
898
869
  email: string;
899
870
  };
900
- version: number;
871
+ createdAt: string | Date;
872
+ updatedAt: string | Date;
901
873
  agentClientLinks: {
902
874
  agentId: string;
903
875
  };
@@ -941,6 +913,9 @@ export declare const clientContactsContractRouter: {
941
913
  };
942
914
  };
943
915
  createByClientId: {
916
+ metadata: {
917
+ tags: string[];
918
+ };
944
919
  pathParams: z.ZodObject<{
945
920
  clientId: z.ZodString;
946
921
  }, "strip", z.ZodTypeAny, {
@@ -1107,7 +1082,6 @@ export declare const clientContactsContractRouter: {
1107
1082
  }>;
1108
1083
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1109
1084
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1110
- version: z.ZodNumber;
1111
1085
  agentClientLinks: z.ZodObject<{
1112
1086
  agentId: z.ZodString;
1113
1087
  }, "strip", z.ZodTypeAny, {
@@ -1116,41 +1090,39 @@ export declare const clientContactsContractRouter: {
1116
1090
  agentId: string;
1117
1091
  }>;
1118
1092
  }, "strip", z.ZodTypeAny, {
1119
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1120
- createdAt: string;
1121
- updatedAt: string;
1122
1093
  id: string;
1094
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1123
1095
  name: string;
1124
- director: string;
1125
1096
  crn: string;
1126
1097
  govLink: string;
1098
+ director: string;
1127
1099
  lastUpdatedBy: {
1128
1100
  id: string;
1129
1101
  firstName: string;
1130
1102
  lastName: string;
1131
1103
  email: string;
1132
1104
  };
1133
- version: number;
1105
+ createdAt: string;
1106
+ updatedAt: string;
1134
1107
  agentClientLinks: {
1135
1108
  agentId: string;
1136
1109
  };
1137
1110
  blacklistReason?: string | null | undefined;
1138
1111
  }, {
1139
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1140
- createdAt: string | Date;
1141
- updatedAt: string | Date;
1142
1112
  id: string;
1113
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1143
1114
  name: string;
1144
- director: string;
1145
1115
  crn: string;
1146
1116
  govLink: string;
1117
+ director: string;
1147
1118
  lastUpdatedBy: {
1148
1119
  id: string;
1149
1120
  firstName: string;
1150
1121
  lastName: string;
1151
1122
  email: string;
1152
1123
  };
1153
- version: number;
1124
+ createdAt: string | Date;
1125
+ updatedAt: string | Date;
1154
1126
  agentClientLinks: {
1155
1127
  agentId: string;
1156
1128
  };
@@ -1179,31 +1151,28 @@ export declare const clientContactsContractRouter: {
1179
1151
  }>;
1180
1152
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1181
1153
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1182
- version: z.ZodNumber;
1183
1154
  }, "strip", z.ZodTypeAny, {
1184
- createdAt: string;
1185
- updatedAt: string;
1186
1155
  id: string;
1187
- clientId: string;
1188
1156
  email: string;
1189
1157
  name: string;
1190
- version: number;
1158
+ createdAt: string;
1159
+ updatedAt: string;
1160
+ clientId: string;
1191
1161
  client: {
1192
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1193
- createdAt: string;
1194
- updatedAt: string;
1195
1162
  id: string;
1163
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1196
1164
  name: string;
1197
- director: string;
1198
1165
  crn: string;
1199
1166
  govLink: string;
1167
+ director: string;
1200
1168
  lastUpdatedBy: {
1201
1169
  id: string;
1202
1170
  firstName: string;
1203
1171
  lastName: string;
1204
1172
  email: string;
1205
1173
  };
1206
- version: number;
1174
+ createdAt: string;
1175
+ updatedAt: string;
1207
1176
  agentClientLinks: {
1208
1177
  agentId: string;
1209
1178
  };
@@ -1219,29 +1188,27 @@ export declare const clientContactsContractRouter: {
1219
1188
  position?: string | undefined;
1220
1189
  source?: string | undefined;
1221
1190
  }, {
1222
- createdAt: string | Date;
1223
- updatedAt: string | Date;
1224
1191
  id: string;
1225
- clientId: string;
1226
1192
  email: string;
1227
1193
  name: string;
1228
- version: number;
1194
+ createdAt: string | Date;
1195
+ updatedAt: string | Date;
1196
+ clientId: string;
1229
1197
  client: {
1230
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1231
- createdAt: string | Date;
1232
- updatedAt: string | Date;
1233
1198
  id: string;
1199
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1234
1200
  name: string;
1235
- director: string;
1236
1201
  crn: string;
1237
1202
  govLink: string;
1203
+ director: string;
1238
1204
  lastUpdatedBy: {
1239
1205
  id: string;
1240
1206
  firstName: string;
1241
1207
  lastName: string;
1242
1208
  email: string;
1243
1209
  };
1244
- version: number;
1210
+ createdAt: string | Date;
1211
+ updatedAt: string | Date;
1245
1212
  agentClientLinks: {
1246
1213
  agentId: string;
1247
1214
  };
@@ -1285,6 +1252,9 @@ export declare const clientContactsContractRouter: {
1285
1252
  };
1286
1253
  };
1287
1254
  findAll: {
1255
+ metadata: {
1256
+ tags: string[];
1257
+ };
1288
1258
  query: z.ZodObject<{
1289
1259
  limit: z.ZodDefault<z.ZodNumber>;
1290
1260
  page: z.ZodDefault<z.ZodNumber>;
@@ -1299,21 +1269,21 @@ export declare const clientContactsContractRouter: {
1299
1269
  }, "strip", z.ZodTypeAny, {
1300
1270
  limit: number;
1301
1271
  page: number;
1302
- sortBy: "createdAt" | "updatedAt" | "email" | "name" | "position";
1272
+ sortBy: "email" | "name" | "createdAt" | "updatedAt" | "position";
1303
1273
  sortOrder: "ASC" | "DESC";
1304
- clientId?: string | undefined;
1305
1274
  email?: string | undefined;
1306
1275
  name?: string | undefined;
1276
+ clientId?: string | undefined;
1307
1277
  phone?: string | undefined;
1308
1278
  createdById?: string | undefined;
1309
1279
  }, {
1280
+ email?: string | undefined;
1281
+ name?: string | undefined;
1310
1282
  limit?: number | undefined;
1311
1283
  page?: number | undefined;
1312
- sortBy?: "createdAt" | "updatedAt" | "email" | "name" | "position" | undefined;
1284
+ sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
1313
1285
  sortOrder?: "ASC" | "DESC" | undefined;
1314
1286
  clientId?: string | undefined;
1315
- email?: string | undefined;
1316
- name?: string | undefined;
1317
1287
  phone?: string | undefined;
1318
1288
  createdById?: string | undefined;
1319
1289
  }>;
@@ -1451,7 +1421,6 @@ export declare const clientContactsContractRouter: {
1451
1421
  }>;
1452
1422
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1453
1423
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1454
- version: z.ZodNumber;
1455
1424
  agentClientLinks: z.ZodObject<{
1456
1425
  agentId: z.ZodString;
1457
1426
  }, "strip", z.ZodTypeAny, {
@@ -1460,41 +1429,39 @@ export declare const clientContactsContractRouter: {
1460
1429
  agentId: string;
1461
1430
  }>;
1462
1431
  }, "strip", z.ZodTypeAny, {
1463
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1464
- createdAt: string;
1465
- updatedAt: string;
1466
1432
  id: string;
1433
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1467
1434
  name: string;
1468
- director: string;
1469
1435
  crn: string;
1470
1436
  govLink: string;
1437
+ director: string;
1471
1438
  lastUpdatedBy: {
1472
1439
  id: string;
1473
1440
  firstName: string;
1474
1441
  lastName: string;
1475
1442
  email: string;
1476
1443
  };
1477
- version: number;
1444
+ createdAt: string;
1445
+ updatedAt: string;
1478
1446
  agentClientLinks: {
1479
1447
  agentId: string;
1480
1448
  };
1481
1449
  blacklistReason?: string | null | undefined;
1482
1450
  }, {
1483
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1484
- createdAt: string | Date;
1485
- updatedAt: string | Date;
1486
1451
  id: string;
1452
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1487
1453
  name: string;
1488
- director: string;
1489
1454
  crn: string;
1490
1455
  govLink: string;
1456
+ director: string;
1491
1457
  lastUpdatedBy: {
1492
1458
  id: string;
1493
1459
  firstName: string;
1494
1460
  lastName: string;
1495
1461
  email: string;
1496
1462
  };
1497
- version: number;
1463
+ createdAt: string | Date;
1464
+ updatedAt: string | Date;
1498
1465
  agentClientLinks: {
1499
1466
  agentId: string;
1500
1467
  };
@@ -1523,31 +1490,28 @@ export declare const clientContactsContractRouter: {
1523
1490
  }>;
1524
1491
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1525
1492
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1526
- version: z.ZodNumber;
1527
1493
  }, "strip", z.ZodTypeAny, {
1528
- createdAt: string;
1529
- updatedAt: string;
1530
1494
  id: string;
1531
- clientId: string;
1532
1495
  email: string;
1533
1496
  name: string;
1534
- version: number;
1497
+ createdAt: string;
1498
+ updatedAt: string;
1499
+ clientId: string;
1535
1500
  client: {
1536
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1537
- createdAt: string;
1538
- updatedAt: string;
1539
1501
  id: string;
1502
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1540
1503
  name: string;
1541
- director: string;
1542
1504
  crn: string;
1543
1505
  govLink: string;
1506
+ director: string;
1544
1507
  lastUpdatedBy: {
1545
1508
  id: string;
1546
1509
  firstName: string;
1547
1510
  lastName: string;
1548
1511
  email: string;
1549
1512
  };
1550
- version: number;
1513
+ createdAt: string;
1514
+ updatedAt: string;
1551
1515
  agentClientLinks: {
1552
1516
  agentId: string;
1553
1517
  };
@@ -1563,29 +1527,27 @@ export declare const clientContactsContractRouter: {
1563
1527
  position?: string | undefined;
1564
1528
  source?: string | undefined;
1565
1529
  }, {
1566
- createdAt: string | Date;
1567
- updatedAt: string | Date;
1568
1530
  id: string;
1569
- clientId: string;
1570
1531
  email: string;
1571
1532
  name: string;
1572
- version: number;
1533
+ createdAt: string | Date;
1534
+ updatedAt: string | Date;
1535
+ clientId: string;
1573
1536
  client: {
1574
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1575
- createdAt: string | Date;
1576
- updatedAt: string | Date;
1577
1537
  id: string;
1538
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1578
1539
  name: string;
1579
- director: string;
1580
1540
  crn: string;
1581
1541
  govLink: string;
1542
+ director: string;
1582
1543
  lastUpdatedBy: {
1583
1544
  id: string;
1584
1545
  firstName: string;
1585
1546
  lastName: string;
1586
1547
  email: string;
1587
1548
  };
1588
- version: number;
1549
+ createdAt: string | Date;
1550
+ updatedAt: string | Date;
1589
1551
  agentClientLinks: {
1590
1552
  agentId: string;
1591
1553
  };
@@ -1609,29 +1571,27 @@ export declare const clientContactsContractRouter: {
1609
1571
  }, "strip", z.ZodTypeAny, {
1610
1572
  limit: number;
1611
1573
  items: {
1612
- createdAt: string;
1613
- updatedAt: string;
1614
1574
  id: string;
1615
- clientId: string;
1616
1575
  email: string;
1617
1576
  name: string;
1618
- version: number;
1577
+ createdAt: string;
1578
+ updatedAt: string;
1579
+ clientId: string;
1619
1580
  client: {
1620
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1621
- createdAt: string;
1622
- updatedAt: string;
1623
1581
  id: string;
1582
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1624
1583
  name: string;
1625
- director: string;
1626
1584
  crn: string;
1627
1585
  govLink: string;
1586
+ director: string;
1628
1587
  lastUpdatedBy: {
1629
1588
  id: string;
1630
1589
  firstName: string;
1631
1590
  lastName: string;
1632
1591
  email: string;
1633
1592
  };
1634
- version: number;
1593
+ createdAt: string;
1594
+ updatedAt: string;
1635
1595
  agentClientLinks: {
1636
1596
  agentId: string;
1637
1597
  };
@@ -1654,29 +1614,27 @@ export declare const clientContactsContractRouter: {
1654
1614
  }, {
1655
1615
  limit: number;
1656
1616
  items: {
1657
- createdAt: string | Date;
1658
- updatedAt: string | Date;
1659
1617
  id: string;
1660
- clientId: string;
1661
1618
  email: string;
1662
1619
  name: string;
1663
- version: number;
1620
+ createdAt: string | Date;
1621
+ updatedAt: string | Date;
1622
+ clientId: string;
1664
1623
  client: {
1665
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1666
- createdAt: string | Date;
1667
- updatedAt: string | Date;
1668
1624
  id: string;
1625
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1669
1626
  name: string;
1670
- director: string;
1671
1627
  crn: string;
1672
1628
  govLink: string;
1629
+ director: string;
1673
1630
  lastUpdatedBy: {
1674
1631
  id: string;
1675
1632
  firstName: string;
1676
1633
  lastName: string;
1677
1634
  email: string;
1678
1635
  };
1679
- version: number;
1636
+ createdAt: string | Date;
1637
+ updatedAt: string | Date;
1680
1638
  agentClientLinks: {
1681
1639
  agentId: string;
1682
1640
  };
@@ -1700,6 +1658,9 @@ export declare const clientContactsContractRouter: {
1700
1658
  };
1701
1659
  };
1702
1660
  findOne: {
1661
+ metadata: {
1662
+ tags: string[];
1663
+ };
1703
1664
  pathParams: z.ZodObject<{
1704
1665
  contactId: z.ZodString;
1705
1666
  }, "strip", z.ZodTypeAny, {
@@ -1840,7 +1801,6 @@ export declare const clientContactsContractRouter: {
1840
1801
  }>;
1841
1802
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1842
1803
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1843
- version: z.ZodNumber;
1844
1804
  agentClientLinks: z.ZodObject<{
1845
1805
  agentId: z.ZodString;
1846
1806
  }, "strip", z.ZodTypeAny, {
@@ -1849,41 +1809,39 @@ export declare const clientContactsContractRouter: {
1849
1809
  agentId: string;
1850
1810
  }>;
1851
1811
  }, "strip", z.ZodTypeAny, {
1852
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1853
- createdAt: string;
1854
- updatedAt: string;
1855
1812
  id: string;
1813
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1856
1814
  name: string;
1857
- director: string;
1858
1815
  crn: string;
1859
1816
  govLink: string;
1817
+ director: string;
1860
1818
  lastUpdatedBy: {
1861
1819
  id: string;
1862
1820
  firstName: string;
1863
1821
  lastName: string;
1864
1822
  email: string;
1865
1823
  };
1866
- version: number;
1824
+ createdAt: string;
1825
+ updatedAt: string;
1867
1826
  agentClientLinks: {
1868
1827
  agentId: string;
1869
1828
  };
1870
1829
  blacklistReason?: string | null | undefined;
1871
1830
  }, {
1872
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1873
- createdAt: string | Date;
1874
- updatedAt: string | Date;
1875
1831
  id: string;
1832
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1876
1833
  name: string;
1877
- director: string;
1878
1834
  crn: string;
1879
1835
  govLink: string;
1836
+ director: string;
1880
1837
  lastUpdatedBy: {
1881
1838
  id: string;
1882
1839
  firstName: string;
1883
1840
  lastName: string;
1884
1841
  email: string;
1885
1842
  };
1886
- version: number;
1843
+ createdAt: string | Date;
1844
+ updatedAt: string | Date;
1887
1845
  agentClientLinks: {
1888
1846
  agentId: string;
1889
1847
  };
@@ -1912,31 +1870,28 @@ export declare const clientContactsContractRouter: {
1912
1870
  }>;
1913
1871
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1914
1872
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1915
- version: z.ZodNumber;
1916
1873
  }, "strip", z.ZodTypeAny, {
1917
- createdAt: string;
1918
- updatedAt: string;
1919
1874
  id: string;
1920
- clientId: string;
1921
1875
  email: string;
1922
1876
  name: string;
1923
- version: number;
1877
+ createdAt: string;
1878
+ updatedAt: string;
1879
+ clientId: string;
1924
1880
  client: {
1925
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1926
- createdAt: string;
1927
- updatedAt: string;
1928
1881
  id: string;
1882
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1929
1883
  name: string;
1930
- director: string;
1931
1884
  crn: string;
1932
1885
  govLink: string;
1886
+ director: string;
1933
1887
  lastUpdatedBy: {
1934
1888
  id: string;
1935
1889
  firstName: string;
1936
1890
  lastName: string;
1937
1891
  email: string;
1938
1892
  };
1939
- version: number;
1893
+ createdAt: string;
1894
+ updatedAt: string;
1940
1895
  agentClientLinks: {
1941
1896
  agentId: string;
1942
1897
  };
@@ -1952,29 +1907,27 @@ export declare const clientContactsContractRouter: {
1952
1907
  position?: string | undefined;
1953
1908
  source?: string | undefined;
1954
1909
  }, {
1955
- createdAt: string | Date;
1956
- updatedAt: string | Date;
1957
1910
  id: string;
1958
- clientId: string;
1959
1911
  email: string;
1960
1912
  name: string;
1961
- version: number;
1913
+ createdAt: string | Date;
1914
+ updatedAt: string | Date;
1915
+ clientId: string;
1962
1916
  client: {
1963
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1964
- createdAt: string | Date;
1965
- updatedAt: string | Date;
1966
1917
  id: string;
1918
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1967
1919
  name: string;
1968
- director: string;
1969
1920
  crn: string;
1970
1921
  govLink: string;
1922
+ director: string;
1971
1923
  lastUpdatedBy: {
1972
1924
  id: string;
1973
1925
  firstName: string;
1974
1926
  lastName: string;
1975
1927
  email: string;
1976
1928
  };
1977
- version: number;
1929
+ createdAt: string | Date;
1930
+ updatedAt: string | Date;
1978
1931
  agentClientLinks: {
1979
1932
  agentId: string;
1980
1933
  };
@@ -2018,6 +1971,9 @@ export declare const clientContactsContractRouter: {
2018
1971
  };
2019
1972
  };
2020
1973
  update: {
1974
+ metadata: {
1975
+ tags: string[];
1976
+ };
2021
1977
  pathParams: z.ZodObject<{
2022
1978
  contactId: z.ZodString;
2023
1979
  }, "strip", z.ZodTypeAny, {
@@ -2040,21 +1996,17 @@ export declare const clientContactsContractRouter: {
2040
1996
  phone: z.ZodOptional<z.ZodString>;
2041
1997
  email: z.ZodOptional<z.ZodString>;
2042
1998
  source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2043
- } & {
2044
- version: z.ZodNumber;
2045
1999
  }, "client">, "strip", z.ZodTypeAny, {
2046
- version: number;
2047
2000
  email?: string | undefined;
2048
2001
  name?: string | undefined;
2049
- position?: string | undefined;
2050
2002
  phone?: string | undefined;
2003
+ position?: string | undefined;
2051
2004
  source?: string | undefined;
2052
2005
  }, {
2053
- version: number;
2054
2006
  email?: string | undefined;
2055
2007
  name?: string | undefined;
2056
- position?: string | undefined;
2057
2008
  phone?: string | undefined;
2009
+ position?: string | undefined;
2058
2010
  source?: string | undefined;
2059
2011
  }>;
2060
2012
  path: "/v2/client-contacts/:contactId";
@@ -2188,7 +2140,6 @@ export declare const clientContactsContractRouter: {
2188
2140
  }>;
2189
2141
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2190
2142
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2191
- version: z.ZodNumber;
2192
2143
  agentClientLinks: z.ZodObject<{
2193
2144
  agentId: z.ZodString;
2194
2145
  }, "strip", z.ZodTypeAny, {
@@ -2197,41 +2148,39 @@ export declare const clientContactsContractRouter: {
2197
2148
  agentId: string;
2198
2149
  }>;
2199
2150
  }, "strip", z.ZodTypeAny, {
2200
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2201
- createdAt: string;
2202
- updatedAt: string;
2203
2151
  id: string;
2152
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2204
2153
  name: string;
2205
- director: string;
2206
2154
  crn: string;
2207
2155
  govLink: string;
2156
+ director: string;
2208
2157
  lastUpdatedBy: {
2209
2158
  id: string;
2210
2159
  firstName: string;
2211
2160
  lastName: string;
2212
2161
  email: string;
2213
2162
  };
2214
- version: number;
2163
+ createdAt: string;
2164
+ updatedAt: string;
2215
2165
  agentClientLinks: {
2216
2166
  agentId: string;
2217
2167
  };
2218
2168
  blacklistReason?: string | null | undefined;
2219
2169
  }, {
2220
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2221
- createdAt: string | Date;
2222
- updatedAt: string | Date;
2223
2170
  id: string;
2171
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2224
2172
  name: string;
2225
- director: string;
2226
2173
  crn: string;
2227
2174
  govLink: string;
2175
+ director: string;
2228
2176
  lastUpdatedBy: {
2229
2177
  id: string;
2230
2178
  firstName: string;
2231
2179
  lastName: string;
2232
2180
  email: string;
2233
2181
  };
2234
- version: number;
2182
+ createdAt: string | Date;
2183
+ updatedAt: string | Date;
2235
2184
  agentClientLinks: {
2236
2185
  agentId: string;
2237
2186
  };
@@ -2260,31 +2209,28 @@ export declare const clientContactsContractRouter: {
2260
2209
  }>;
2261
2210
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2262
2211
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2263
- version: z.ZodNumber;
2264
2212
  }, "strip", z.ZodTypeAny, {
2265
- createdAt: string;
2266
- updatedAt: string;
2267
2213
  id: string;
2268
- clientId: string;
2269
2214
  email: string;
2270
2215
  name: string;
2271
- version: number;
2216
+ createdAt: string;
2217
+ updatedAt: string;
2218
+ clientId: string;
2272
2219
  client: {
2273
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2274
- createdAt: string;
2275
- updatedAt: string;
2276
2220
  id: string;
2221
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2277
2222
  name: string;
2278
- director: string;
2279
2223
  crn: string;
2280
2224
  govLink: string;
2225
+ director: string;
2281
2226
  lastUpdatedBy: {
2282
2227
  id: string;
2283
2228
  firstName: string;
2284
2229
  lastName: string;
2285
2230
  email: string;
2286
2231
  };
2287
- version: number;
2232
+ createdAt: string;
2233
+ updatedAt: string;
2288
2234
  agentClientLinks: {
2289
2235
  agentId: string;
2290
2236
  };
@@ -2300,29 +2246,27 @@ export declare const clientContactsContractRouter: {
2300
2246
  position?: string | undefined;
2301
2247
  source?: string | undefined;
2302
2248
  }, {
2303
- createdAt: string | Date;
2304
- updatedAt: string | Date;
2305
2249
  id: string;
2306
- clientId: string;
2307
2250
  email: string;
2308
2251
  name: string;
2309
- version: number;
2252
+ createdAt: string | Date;
2253
+ updatedAt: string | Date;
2254
+ clientId: string;
2310
2255
  client: {
2311
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2312
- createdAt: string | Date;
2313
- updatedAt: string | Date;
2314
2256
  id: string;
2257
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2315
2258
  name: string;
2316
- director: string;
2317
2259
  crn: string;
2318
2260
  govLink: string;
2261
+ director: string;
2319
2262
  lastUpdatedBy: {
2320
2263
  id: string;
2321
2264
  firstName: string;
2322
2265
  lastName: string;
2323
2266
  email: string;
2324
2267
  };
2325
- version: number;
2268
+ createdAt: string | Date;
2269
+ updatedAt: string | Date;
2326
2270
  agentClientLinks: {
2327
2271
  agentId: string;
2328
2272
  };
@@ -2391,6 +2335,9 @@ export declare const clientContactsContractRouter: {
2391
2335
  };
2392
2336
  };
2393
2337
  remove: {
2338
+ metadata: {
2339
+ tags: string[];
2340
+ };
2394
2341
  pathParams: z.ZodObject<{
2395
2342
  contactId: z.ZodString;
2396
2343
  }, "strip", z.ZodTypeAny, {