@dakkitor/api-contracts 1.1.9 → 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 (92) hide show
  1. package/dist/actives/actives.contract.d.ts +263 -263
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +9 -17
  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 +2183 -0
  11. package/dist/bookings/bookings.contract.d.ts.map +1 -0
  12. package/dist/bookings/bookings.contract.js +278 -0
  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 +421 -472
  17. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  18. package/dist/client-contacts/client-contacts.contract.js +26 -15
  19. package/dist/clients/clients.contract.d.ts +336 -308
  20. package/dist/clients/clients.contract.d.ts.map +1 -1
  21. package/dist/clients/clients.contract.js +49 -52
  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 +120 -0
  29. package/dist/common/common-schemas.d.ts.map +1 -0
  30. package/dist/common/common-schemas.js +296 -0
  31. package/dist/common/error-schemas.d.ts +6 -6
  32. package/dist/common/openapi-metadata.d.ts +6 -0
  33. package/dist/common/openapi-metadata.d.ts.map +1 -1
  34. package/dist/common/pagination-query.schema.d.ts +17 -0
  35. package/dist/common/pagination-query.schema.d.ts.map +1 -0
  36. package/dist/common/pagination-query.schema.js +15 -0
  37. package/dist/common/pagination.schema.d.ts +2 -2
  38. package/dist/companies/companies.contract.d.ts +1108 -0
  39. package/dist/companies/companies.contract.d.ts.map +1 -0
  40. package/dist/companies/companies.contract.js +164 -0
  41. package/dist/cron-executions/cron-executions.contract.d.ts +1643 -0
  42. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -0
  43. package/dist/cron-executions/cron-executions.contract.js +271 -0
  44. package/dist/curated-workers/curated-workers.contract.d.ts +3183 -0
  45. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -0
  46. package/dist/curated-workers/curated-workers.contract.js +444 -0
  47. package/dist/dashboards/agent-daily-metrics.contract.d.ts +639 -0
  48. package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -0
  49. package/dist/dashboards/agent-daily-metrics.contract.js +118 -0
  50. package/dist/files/files.contract.d.ts +1258 -0
  51. package/dist/files/files.contract.d.ts.map +1 -0
  52. package/dist/files/files.contract.js +205 -0
  53. package/dist/health/health.contract.d.ts +161 -0
  54. package/dist/health/health.contract.d.ts.map +1 -0
  55. package/dist/health/health.contract.js +52 -0
  56. package/dist/index.d.ts +28596 -3088
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +68 -0
  59. package/dist/jobs/jobs.contract.d.ts +2303 -0
  60. package/dist/jobs/jobs.contract.d.ts.map +1 -0
  61. package/dist/jobs/jobs.contract.js +295 -0
  62. package/dist/lead-assignments/lead-assignments.contract.d.ts +1826 -0
  63. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -0
  64. package/dist/lead-assignments/lead-assignments.contract.js +187 -0
  65. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +1147 -0
  66. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -0
  67. package/dist/lead-distribution/agent-lead-distribution.contract.js +154 -0
  68. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +1085 -0
  69. package/dist/lead-distribution/lead-distribution-config.contract.d.ts.map +1 -0
  70. package/dist/lead-distribution/lead-distribution-config.contract.js +196 -0
  71. package/dist/leads/leads.contract.d.ts +1690 -0
  72. package/dist/leads/leads.contract.d.ts.map +1 -0
  73. package/dist/leads/leads.contract.js +328 -0
  74. package/dist/locations/locations.contract.d.ts +974 -0
  75. package/dist/locations/locations.contract.d.ts.map +1 -0
  76. package/dist/locations/locations.contract.js +154 -0
  77. package/dist/postcodes/postcodes.contract.d.ts +370 -0
  78. package/dist/postcodes/postcodes.contract.d.ts.map +1 -0
  79. package/dist/postcodes/postcodes.contract.js +90 -0
  80. package/dist/qualifications/qualifications.contract.d.ts +1489 -0
  81. package/dist/qualifications/qualifications.contract.d.ts.map +1 -0
  82. package/dist/qualifications/qualifications.contract.js +215 -0
  83. package/dist/trades/trades.contract.d.ts +799 -0
  84. package/dist/trades/trades.contract.d.ts.map +1 -0
  85. package/dist/trades/trades.contract.js +112 -0
  86. package/dist/users/users.contract.d.ts +315 -299
  87. package/dist/users/users.contract.d.ts.map +1 -1
  88. package/dist/users/users.contract.js +13 -29
  89. package/dist/workers/workers.contract.d.ts +3376 -0
  90. package/dist/workers/workers.contract.d.ts.map +1 -0
  91. package/dist/workers/workers.contract.js +363 -0
  92. 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
- name: string;
125
118
  email: string;
126
- version: number;
119
+ name: string;
120
+ createdAt: string;
121
+ updatedAt: string;
127
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
- name: string;
163
154
  email: string;
164
- version: number;
155
+ name: string;
156
+ createdAt: string | Date;
157
+ updatedAt: string | Date;
165
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
  };
@@ -208,8 +200,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
208
200
  email: z.ZodString;
209
201
  source: z.ZodOptional<z.ZodString>;
210
202
  }, "strip", z.ZodTypeAny, {
211
- name: string;
212
203
  email: string;
204
+ name: string;
213
205
  client: {
214
206
  id: string;
215
207
  };
@@ -217,8 +209,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
217
209
  position?: string | undefined;
218
210
  source?: string | undefined;
219
211
  }, {
220
- name: string;
221
212
  email: string;
213
+ name: string;
222
214
  client: {
223
215
  id: string;
224
216
  };
@@ -240,14 +232,14 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
240
232
  email: z.ZodString;
241
233
  source: z.ZodOptional<z.ZodString>;
242
234
  }, "client">, "strip", z.ZodTypeAny, {
243
- name: string;
244
235
  email: string;
236
+ name: string;
245
237
  phone: string;
246
238
  position?: string | undefined;
247
239
  source?: string | undefined;
248
240
  }, {
249
- name: string;
250
241
  email: string;
242
+ name: string;
251
243
  phone: string;
252
244
  position?: string | undefined;
253
245
  source?: string | undefined;
@@ -265,26 +257,23 @@ 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
- name?: string | undefined;
273
261
  email?: string | undefined;
274
- position?: string | undefined;
262
+ name?: string | undefined;
275
263
  phone?: string | undefined;
264
+ position?: string | undefined;
276
265
  source?: string | undefined;
277
266
  }, {
278
- version: number;
279
- name?: string | undefined;
280
267
  email?: string | undefined;
281
- position?: string | undefined;
268
+ name?: 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<{
286
- page: z.ZodDefault<z.ZodNumber>;
287
274
  limit: z.ZodDefault<z.ZodNumber>;
275
+ page: z.ZodDefault<z.ZodNumber>;
276
+ } & {
288
277
  name: z.ZodOptional<z.ZodString>;
289
278
  email: z.ZodOptional<z.ZodString>;
290
279
  phone: z.ZodOptional<z.ZodString>;
@@ -295,20 +284,20 @@ export declare const FilterClientContactSchema: z.ZodObject<{
295
284
  }, "strip", z.ZodTypeAny, {
296
285
  limit: number;
297
286
  page: number;
298
- sortBy: "createdAt" | "updatedAt" | "name" | "email" | "position";
287
+ sortBy: "email" | "name" | "createdAt" | "updatedAt" | "position";
299
288
  sortOrder: "ASC" | "DESC";
300
- name?: string | undefined;
301
289
  email?: string | undefined;
290
+ name?: string | undefined;
302
291
  clientId?: string | undefined;
303
292
  phone?: string | undefined;
304
293
  createdById?: string | undefined;
305
294
  }, {
295
+ email?: string | undefined;
296
+ name?: string | undefined;
306
297
  limit?: number | undefined;
307
298
  page?: number | undefined;
308
- sortBy?: "createdAt" | "updatedAt" | "name" | "email" | "position" | undefined;
299
+ sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
309
300
  sortOrder?: "ASC" | "DESC" | undefined;
310
- name?: string | undefined;
311
- email?: string | undefined;
312
301
  clientId?: string | undefined;
313
302
  phone?: string | undefined;
314
303
  createdById?: string | undefined;
@@ -343,7 +332,6 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
343
332
  }>;
344
333
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
345
334
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
346
- version: z.ZodNumber;
347
335
  agentClientLinks: z.ZodObject<{
348
336
  agentId: z.ZodString;
349
337
  }, "strip", z.ZodTypeAny, {
@@ -352,41 +340,39 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
352
340
  agentId: string;
353
341
  }>;
354
342
  }, "strip", z.ZodTypeAny, {
355
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
356
- createdAt: string;
357
- updatedAt: string;
358
343
  id: string;
344
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
359
345
  name: string;
360
- director: string;
361
346
  crn: string;
362
347
  govLink: string;
348
+ director: string;
363
349
  lastUpdatedBy: {
364
350
  id: string;
365
351
  firstName: string;
366
352
  lastName: string;
367
353
  email: string;
368
354
  };
369
- version: number;
355
+ createdAt: string;
356
+ updatedAt: string;
370
357
  agentClientLinks: {
371
358
  agentId: string;
372
359
  };
373
360
  blacklistReason?: string | null | undefined;
374
361
  }, {
375
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
376
- createdAt: string | Date;
377
- updatedAt: string | Date;
378
362
  id: string;
363
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
379
364
  name: string;
380
- director: string;
381
365
  crn: string;
382
366
  govLink: string;
367
+ director: string;
383
368
  lastUpdatedBy: {
384
369
  id: string;
385
370
  firstName: string;
386
371
  lastName: string;
387
372
  email: string;
388
373
  };
389
- version: number;
374
+ createdAt: string | Date;
375
+ updatedAt: string | Date;
390
376
  agentClientLinks: {
391
377
  agentId: string;
392
378
  };
@@ -415,31 +401,28 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
415
401
  }>;
416
402
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
417
403
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
418
- version: z.ZodNumber;
419
404
  }, "strip", z.ZodTypeAny, {
420
- createdAt: string;
421
- updatedAt: string;
422
405
  id: string;
423
- name: string;
424
406
  email: string;
425
- version: number;
407
+ name: string;
408
+ createdAt: string;
409
+ updatedAt: string;
426
410
  clientId: string;
427
411
  client: {
428
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
429
- createdAt: string;
430
- updatedAt: string;
431
412
  id: string;
413
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
432
414
  name: string;
433
- director: string;
434
415
  crn: string;
435
416
  govLink: string;
417
+ director: string;
436
418
  lastUpdatedBy: {
437
419
  id: string;
438
420
  firstName: string;
439
421
  lastName: string;
440
422
  email: string;
441
423
  };
442
- version: number;
424
+ createdAt: string;
425
+ updatedAt: string;
443
426
  agentClientLinks: {
444
427
  agentId: string;
445
428
  };
@@ -455,29 +438,27 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
455
438
  position?: string | undefined;
456
439
  source?: string | undefined;
457
440
  }, {
458
- createdAt: string | Date;
459
- updatedAt: string | Date;
460
441
  id: string;
461
- name: string;
462
442
  email: string;
463
- version: number;
443
+ name: string;
444
+ createdAt: string | Date;
445
+ updatedAt: string | Date;
464
446
  clientId: string;
465
447
  client: {
466
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
467
- createdAt: string | Date;
468
- updatedAt: string | Date;
469
448
  id: string;
449
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
470
450
  name: string;
471
- director: string;
472
451
  crn: string;
473
452
  govLink: string;
453
+ director: string;
474
454
  lastUpdatedBy: {
475
455
  id: string;
476
456
  firstName: string;
477
457
  lastName: string;
478
458
  email: string;
479
459
  };
480
- version: number;
460
+ createdAt: string | Date;
461
+ updatedAt: string | Date;
481
462
  agentClientLinks: {
482
463
  agentId: string;
483
464
  };
@@ -499,30 +480,29 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
499
480
  currentPage: z.ZodNumber;
500
481
  totalPages: z.ZodNumber;
501
482
  }, "strip", z.ZodTypeAny, {
483
+ limit: number;
502
484
  items: {
503
- createdAt: string;
504
- updatedAt: string;
505
485
  id: string;
506
- name: string;
507
486
  email: string;
508
- version: number;
487
+ name: string;
488
+ createdAt: string;
489
+ updatedAt: string;
509
490
  clientId: string;
510
491
  client: {
511
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
512
- createdAt: string;
513
- updatedAt: string;
514
492
  id: string;
493
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
515
494
  name: string;
516
- director: string;
517
495
  crn: string;
518
496
  govLink: string;
497
+ director: string;
519
498
  lastUpdatedBy: {
520
499
  id: string;
521
500
  firstName: string;
522
501
  lastName: string;
523
502
  email: string;
524
503
  };
525
- version: number;
504
+ createdAt: string;
505
+ updatedAt: string;
526
506
  agentClientLinks: {
527
507
  agentId: string;
528
508
  };
@@ -539,35 +519,33 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
539
519
  source?: string | undefined;
540
520
  }[];
541
521
  totalCount: number;
542
- limit: number;
543
522
  skip: number;
544
523
  currentPage: number;
545
524
  totalPages: number;
546
525
  }, {
526
+ limit: number;
547
527
  items: {
548
- createdAt: string | Date;
549
- updatedAt: string | Date;
550
528
  id: string;
551
- name: string;
552
529
  email: string;
553
- version: number;
530
+ name: string;
531
+ createdAt: string | Date;
532
+ updatedAt: string | Date;
554
533
  clientId: string;
555
534
  client: {
556
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
557
- createdAt: string | Date;
558
- updatedAt: string | Date;
559
535
  id: string;
536
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
560
537
  name: string;
561
- director: string;
562
538
  crn: string;
563
539
  govLink: string;
540
+ director: string;
564
541
  lastUpdatedBy: {
565
542
  id: string;
566
543
  firstName: string;
567
544
  lastName: string;
568
545
  email: string;
569
546
  };
570
- version: number;
547
+ createdAt: string | Date;
548
+ updatedAt: string | Date;
571
549
  agentClientLinks: {
572
550
  agentId: string;
573
551
  };
@@ -584,19 +562,22 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
584
562
  source?: string | undefined;
585
563
  }[];
586
564
  totalCount: number;
587
- limit: number;
588
565
  skip: number;
589
566
  currentPage: number;
590
567
  totalPages: number;
591
568
  }>;
592
- export type ClientContactV2 = z.infer<typeof ClientContactSchema>;
593
- export type CreateClientContactV2 = z.infer<typeof CreateClientContactSchema>;
594
- export type CreateClientContactBodyV2 = z.infer<typeof CreateClientContactBodySchema>;
595
- export type UpdateClientContactV2 = z.infer<typeof UpdateClientContactSchema>;
596
- export type FilterClientContactV2 = z.infer<typeof FilterClientContactSchema>;
597
- export type ClientContactPaginatedResponseV2 = z.infer<typeof ClientContactPaginatedResponseSchema>;
569
+ export type ClientContactUser = z.infer<typeof ClientContactUserSchema>;
570
+ export type ClientContact = z.infer<typeof ClientContactSchema>;
571
+ export type CreateClientContact = z.infer<typeof CreateClientContactSchema>;
572
+ export type CreateClientContactBody = z.infer<typeof CreateClientContactBodySchema>;
573
+ export type UpdateClientContact = z.infer<typeof UpdateClientContactSchema>;
574
+ export type FilterClientContact = z.infer<typeof FilterClientContactSchema>;
575
+ export type ClientContactPaginatedResponse = z.infer<typeof ClientContactPaginatedResponseSchema>;
598
576
  export declare const clientContactsContractRouter: {
599
577
  create: {
578
+ metadata: {
579
+ tags: string[];
580
+ };
600
581
  summary: "Create a new client contact";
601
582
  method: "POST";
602
583
  body: z.ZodObject<{
@@ -613,8 +594,8 @@ export declare const clientContactsContractRouter: {
613
594
  email: z.ZodString;
614
595
  source: z.ZodOptional<z.ZodString>;
615
596
  }, "strip", z.ZodTypeAny, {
616
- name: string;
617
597
  email: string;
598
+ name: string;
618
599
  client: {
619
600
  id: string;
620
601
  };
@@ -622,8 +603,8 @@ export declare const clientContactsContractRouter: {
622
603
  position?: string | undefined;
623
604
  source?: string | undefined;
624
605
  }, {
625
- name: string;
626
606
  email: string;
607
+ name: string;
627
608
  client: {
628
609
  id: string;
629
610
  };
@@ -642,19 +623,19 @@ export declare const clientContactsContractRouter: {
642
623
  path: z.ZodString;
643
624
  correlationId: z.ZodOptional<z.ZodString>;
644
625
  }, "strip", z.ZodTypeAny, {
645
- statusCode: number;
646
- message: string;
647
626
  code: string;
648
- timestamp: string;
649
627
  path: string;
628
+ message: string;
629
+ statusCode: number;
630
+ timestamp: string;
650
631
  details?: unknown;
651
632
  correlationId?: string | undefined;
652
633
  }, {
653
- statusCode: number;
654
- message: string;
655
634
  code: string;
656
- timestamp: string;
657
635
  path: string;
636
+ message: string;
637
+ statusCode: number;
638
+ timestamp: string;
658
639
  details?: unknown;
659
640
  correlationId?: string | undefined;
660
641
  }>;
@@ -667,19 +648,19 @@ export declare const clientContactsContractRouter: {
667
648
  path: z.ZodString;
668
649
  correlationId: z.ZodOptional<z.ZodString>;
669
650
  }, "strip", z.ZodTypeAny, {
670
- statusCode: number;
671
- message: string;
672
651
  code: string;
673
- timestamp: string;
674
652
  path: string;
653
+ message: string;
654
+ statusCode: number;
655
+ timestamp: string;
675
656
  details?: unknown;
676
657
  correlationId?: string | undefined;
677
658
  }, {
678
- statusCode: number;
679
- message: string;
680
659
  code: string;
681
- timestamp: string;
682
660
  path: string;
661
+ message: string;
662
+ statusCode: number;
663
+ timestamp: string;
683
664
  details?: unknown;
684
665
  correlationId?: string | undefined;
685
666
  }>;
@@ -692,19 +673,19 @@ export declare const clientContactsContractRouter: {
692
673
  path: z.ZodString;
693
674
  correlationId: z.ZodOptional<z.ZodString>;
694
675
  }, "strip", z.ZodTypeAny, {
695
- statusCode: number;
696
- message: string;
697
676
  code: string;
698
- timestamp: string;
699
677
  path: string;
678
+ message: string;
679
+ statusCode: number;
680
+ timestamp: string;
700
681
  details?: unknown;
701
682
  correlationId?: string | undefined;
702
683
  }, {
703
- statusCode: number;
704
- message: string;
705
684
  code: string;
706
- timestamp: string;
707
685
  path: string;
686
+ message: string;
687
+ statusCode: number;
688
+ timestamp: string;
708
689
  details?: unknown;
709
690
  correlationId?: string | undefined;
710
691
  }>;
@@ -717,19 +698,19 @@ export declare const clientContactsContractRouter: {
717
698
  path: z.ZodString;
718
699
  correlationId: z.ZodOptional<z.ZodString>;
719
700
  }, "strip", z.ZodTypeAny, {
720
- statusCode: number;
721
- message: string;
722
701
  code: string;
723
- timestamp: string;
724
702
  path: string;
703
+ message: string;
704
+ statusCode: number;
705
+ timestamp: string;
725
706
  details?: unknown;
726
707
  correlationId?: string | undefined;
727
708
  }, {
728
- statusCode: number;
729
- message: string;
730
709
  code: string;
731
- timestamp: string;
732
710
  path: string;
711
+ message: string;
712
+ statusCode: number;
713
+ timestamp: string;
733
714
  details?: unknown;
734
715
  correlationId?: string | undefined;
735
716
  }>;
@@ -762,7 +743,6 @@ export declare const clientContactsContractRouter: {
762
743
  }>;
763
744
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
764
745
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
765
- version: z.ZodNumber;
766
746
  agentClientLinks: z.ZodObject<{
767
747
  agentId: z.ZodString;
768
748
  }, "strip", z.ZodTypeAny, {
@@ -771,41 +751,39 @@ export declare const clientContactsContractRouter: {
771
751
  agentId: string;
772
752
  }>;
773
753
  }, "strip", z.ZodTypeAny, {
774
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
775
- createdAt: string;
776
- updatedAt: string;
777
754
  id: string;
755
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
778
756
  name: string;
779
- director: string;
780
757
  crn: string;
781
758
  govLink: string;
759
+ director: string;
782
760
  lastUpdatedBy: {
783
761
  id: string;
784
762
  firstName: string;
785
763
  lastName: string;
786
764
  email: string;
787
765
  };
788
- version: number;
766
+ createdAt: string;
767
+ updatedAt: string;
789
768
  agentClientLinks: {
790
769
  agentId: string;
791
770
  };
792
771
  blacklistReason?: string | null | undefined;
793
772
  }, {
794
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
795
- createdAt: string | Date;
796
- updatedAt: string | Date;
797
773
  id: string;
774
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
798
775
  name: string;
799
- director: string;
800
776
  crn: string;
801
777
  govLink: string;
778
+ director: string;
802
779
  lastUpdatedBy: {
803
780
  id: string;
804
781
  firstName: string;
805
782
  lastName: string;
806
783
  email: string;
807
784
  };
808
- version: number;
785
+ createdAt: string | Date;
786
+ updatedAt: string | Date;
809
787
  agentClientLinks: {
810
788
  agentId: string;
811
789
  };
@@ -834,31 +812,28 @@ export declare const clientContactsContractRouter: {
834
812
  }>;
835
813
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
836
814
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
837
- version: z.ZodNumber;
838
815
  }, "strip", z.ZodTypeAny, {
839
- createdAt: string;
840
- updatedAt: string;
841
816
  id: string;
842
- name: string;
843
817
  email: string;
844
- version: number;
818
+ name: string;
819
+ createdAt: string;
820
+ updatedAt: string;
845
821
  clientId: string;
846
822
  client: {
847
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
848
- createdAt: string;
849
- updatedAt: string;
850
823
  id: string;
824
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
851
825
  name: string;
852
- director: string;
853
826
  crn: string;
854
827
  govLink: string;
828
+ director: string;
855
829
  lastUpdatedBy: {
856
830
  id: string;
857
831
  firstName: string;
858
832
  lastName: string;
859
833
  email: string;
860
834
  };
861
- version: number;
835
+ createdAt: string;
836
+ updatedAt: string;
862
837
  agentClientLinks: {
863
838
  agentId: string;
864
839
  };
@@ -874,29 +849,27 @@ export declare const clientContactsContractRouter: {
874
849
  position?: string | undefined;
875
850
  source?: string | undefined;
876
851
  }, {
877
- createdAt: string | Date;
878
- updatedAt: string | Date;
879
852
  id: string;
880
- name: string;
881
853
  email: string;
882
- version: number;
854
+ name: string;
855
+ createdAt: string | Date;
856
+ updatedAt: string | Date;
883
857
  clientId: string;
884
858
  client: {
885
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
886
- createdAt: string | Date;
887
- updatedAt: string | Date;
888
859
  id: string;
860
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
889
861
  name: string;
890
- director: string;
891
862
  crn: string;
892
863
  govLink: string;
864
+ director: string;
893
865
  lastUpdatedBy: {
894
866
  id: string;
895
867
  firstName: string;
896
868
  lastName: string;
897
869
  email: string;
898
870
  };
899
- version: number;
871
+ createdAt: string | Date;
872
+ updatedAt: string | Date;
900
873
  agentClientLinks: {
901
874
  agentId: string;
902
875
  };
@@ -921,25 +894,28 @@ export declare const clientContactsContractRouter: {
921
894
  path: z.ZodString;
922
895
  correlationId: z.ZodOptional<z.ZodString>;
923
896
  }, "strip", z.ZodTypeAny, {
924
- statusCode: number;
925
- message: string;
926
897
  code: string;
927
- timestamp: string;
928
898
  path: string;
899
+ message: string;
900
+ statusCode: number;
901
+ timestamp: string;
929
902
  details?: unknown;
930
903
  correlationId?: string | undefined;
931
904
  }, {
932
- statusCode: number;
933
- message: string;
934
905
  code: string;
935
- timestamp: string;
936
906
  path: string;
907
+ message: string;
908
+ statusCode: number;
909
+ timestamp: string;
937
910
  details?: unknown;
938
911
  correlationId?: string | undefined;
939
912
  }>;
940
913
  };
941
914
  };
942
915
  createByClientId: {
916
+ metadata: {
917
+ tags: string[];
918
+ };
943
919
  pathParams: z.ZodObject<{
944
920
  clientId: z.ZodString;
945
921
  }, "strip", z.ZodTypeAny, {
@@ -963,14 +939,14 @@ export declare const clientContactsContractRouter: {
963
939
  email: z.ZodString;
964
940
  source: z.ZodOptional<z.ZodString>;
965
941
  }, "client">, "strip", z.ZodTypeAny, {
966
- name: string;
967
942
  email: string;
943
+ name: string;
968
944
  phone: string;
969
945
  position?: string | undefined;
970
946
  source?: string | undefined;
971
947
  }, {
972
- name: string;
973
948
  email: string;
949
+ name: string;
974
950
  phone: string;
975
951
  position?: string | undefined;
976
952
  source?: string | undefined;
@@ -986,19 +962,19 @@ export declare const clientContactsContractRouter: {
986
962
  path: z.ZodString;
987
963
  correlationId: z.ZodOptional<z.ZodString>;
988
964
  }, "strip", z.ZodTypeAny, {
989
- statusCode: number;
990
- message: string;
991
965
  code: string;
992
- timestamp: string;
993
966
  path: string;
967
+ message: string;
968
+ statusCode: number;
969
+ timestamp: string;
994
970
  details?: unknown;
995
971
  correlationId?: string | undefined;
996
972
  }, {
997
- statusCode: number;
998
- message: string;
999
973
  code: string;
1000
- timestamp: string;
1001
974
  path: string;
975
+ message: string;
976
+ statusCode: number;
977
+ timestamp: string;
1002
978
  details?: unknown;
1003
979
  correlationId?: string | undefined;
1004
980
  }>;
@@ -1011,19 +987,19 @@ export declare const clientContactsContractRouter: {
1011
987
  path: z.ZodString;
1012
988
  correlationId: z.ZodOptional<z.ZodString>;
1013
989
  }, "strip", z.ZodTypeAny, {
1014
- statusCode: number;
1015
- message: string;
1016
990
  code: string;
1017
- timestamp: string;
1018
991
  path: string;
992
+ message: string;
993
+ statusCode: number;
994
+ timestamp: string;
1019
995
  details?: unknown;
1020
996
  correlationId?: string | undefined;
1021
997
  }, {
1022
- statusCode: number;
1023
- message: string;
1024
998
  code: string;
1025
- timestamp: string;
1026
999
  path: string;
1000
+ message: string;
1001
+ statusCode: number;
1002
+ timestamp: string;
1027
1003
  details?: unknown;
1028
1004
  correlationId?: string | undefined;
1029
1005
  }>;
@@ -1036,19 +1012,19 @@ export declare const clientContactsContractRouter: {
1036
1012
  path: z.ZodString;
1037
1013
  correlationId: z.ZodOptional<z.ZodString>;
1038
1014
  }, "strip", z.ZodTypeAny, {
1039
- statusCode: number;
1040
- message: string;
1041
1015
  code: string;
1042
- timestamp: string;
1043
1016
  path: string;
1017
+ message: string;
1018
+ statusCode: number;
1019
+ timestamp: string;
1044
1020
  details?: unknown;
1045
1021
  correlationId?: string | undefined;
1046
1022
  }, {
1047
- statusCode: number;
1048
- message: string;
1049
1023
  code: string;
1050
- timestamp: string;
1051
1024
  path: string;
1025
+ message: string;
1026
+ statusCode: number;
1027
+ timestamp: string;
1052
1028
  details?: unknown;
1053
1029
  correlationId?: string | undefined;
1054
1030
  }>;
@@ -1061,19 +1037,19 @@ export declare const clientContactsContractRouter: {
1061
1037
  path: z.ZodString;
1062
1038
  correlationId: z.ZodOptional<z.ZodString>;
1063
1039
  }, "strip", z.ZodTypeAny, {
1064
- statusCode: number;
1065
- message: string;
1066
1040
  code: string;
1067
- timestamp: string;
1068
1041
  path: string;
1042
+ message: string;
1043
+ statusCode: number;
1044
+ timestamp: string;
1069
1045
  details?: unknown;
1070
1046
  correlationId?: string | undefined;
1071
1047
  }, {
1072
- statusCode: number;
1073
- message: string;
1074
1048
  code: string;
1075
- timestamp: string;
1076
1049
  path: string;
1050
+ message: string;
1051
+ statusCode: number;
1052
+ timestamp: string;
1077
1053
  details?: unknown;
1078
1054
  correlationId?: string | undefined;
1079
1055
  }>;
@@ -1106,7 +1082,6 @@ export declare const clientContactsContractRouter: {
1106
1082
  }>;
1107
1083
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1108
1084
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1109
- version: z.ZodNumber;
1110
1085
  agentClientLinks: z.ZodObject<{
1111
1086
  agentId: z.ZodString;
1112
1087
  }, "strip", z.ZodTypeAny, {
@@ -1115,41 +1090,39 @@ export declare const clientContactsContractRouter: {
1115
1090
  agentId: string;
1116
1091
  }>;
1117
1092
  }, "strip", z.ZodTypeAny, {
1118
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1119
- createdAt: string;
1120
- updatedAt: string;
1121
1093
  id: string;
1094
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1122
1095
  name: string;
1123
- director: string;
1124
1096
  crn: string;
1125
1097
  govLink: string;
1098
+ director: string;
1126
1099
  lastUpdatedBy: {
1127
1100
  id: string;
1128
1101
  firstName: string;
1129
1102
  lastName: string;
1130
1103
  email: string;
1131
1104
  };
1132
- version: number;
1105
+ createdAt: string;
1106
+ updatedAt: string;
1133
1107
  agentClientLinks: {
1134
1108
  agentId: string;
1135
1109
  };
1136
1110
  blacklistReason?: string | null | undefined;
1137
1111
  }, {
1138
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1139
- createdAt: string | Date;
1140
- updatedAt: string | Date;
1141
1112
  id: string;
1113
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1142
1114
  name: string;
1143
- director: string;
1144
1115
  crn: string;
1145
1116
  govLink: string;
1117
+ director: string;
1146
1118
  lastUpdatedBy: {
1147
1119
  id: string;
1148
1120
  firstName: string;
1149
1121
  lastName: string;
1150
1122
  email: string;
1151
1123
  };
1152
- version: number;
1124
+ createdAt: string | Date;
1125
+ updatedAt: string | Date;
1153
1126
  agentClientLinks: {
1154
1127
  agentId: string;
1155
1128
  };
@@ -1178,31 +1151,28 @@ export declare const clientContactsContractRouter: {
1178
1151
  }>;
1179
1152
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1180
1153
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1181
- version: z.ZodNumber;
1182
1154
  }, "strip", z.ZodTypeAny, {
1183
- createdAt: string;
1184
- updatedAt: string;
1185
1155
  id: string;
1186
- name: string;
1187
1156
  email: string;
1188
- version: number;
1157
+ name: string;
1158
+ createdAt: string;
1159
+ updatedAt: string;
1189
1160
  clientId: string;
1190
1161
  client: {
1191
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1192
- createdAt: string;
1193
- updatedAt: string;
1194
1162
  id: string;
1163
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1195
1164
  name: string;
1196
- director: string;
1197
1165
  crn: string;
1198
1166
  govLink: string;
1167
+ director: string;
1199
1168
  lastUpdatedBy: {
1200
1169
  id: string;
1201
1170
  firstName: string;
1202
1171
  lastName: string;
1203
1172
  email: string;
1204
1173
  };
1205
- version: number;
1174
+ createdAt: string;
1175
+ updatedAt: string;
1206
1176
  agentClientLinks: {
1207
1177
  agentId: string;
1208
1178
  };
@@ -1218,29 +1188,27 @@ export declare const clientContactsContractRouter: {
1218
1188
  position?: string | undefined;
1219
1189
  source?: string | undefined;
1220
1190
  }, {
1221
- createdAt: string | Date;
1222
- updatedAt: string | Date;
1223
1191
  id: string;
1224
- name: string;
1225
1192
  email: string;
1226
- version: number;
1193
+ name: string;
1194
+ createdAt: string | Date;
1195
+ updatedAt: string | Date;
1227
1196
  clientId: string;
1228
1197
  client: {
1229
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1230
- createdAt: string | Date;
1231
- updatedAt: string | Date;
1232
1198
  id: string;
1199
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1233
1200
  name: string;
1234
- director: string;
1235
1201
  crn: string;
1236
1202
  govLink: string;
1203
+ director: string;
1237
1204
  lastUpdatedBy: {
1238
1205
  id: string;
1239
1206
  firstName: string;
1240
1207
  lastName: string;
1241
1208
  email: string;
1242
1209
  };
1243
- version: number;
1210
+ createdAt: string | Date;
1211
+ updatedAt: string | Date;
1244
1212
  agentClientLinks: {
1245
1213
  agentId: string;
1246
1214
  };
@@ -1265,28 +1233,32 @@ export declare const clientContactsContractRouter: {
1265
1233
  path: z.ZodString;
1266
1234
  correlationId: z.ZodOptional<z.ZodString>;
1267
1235
  }, "strip", z.ZodTypeAny, {
1268
- statusCode: number;
1269
- message: string;
1270
1236
  code: string;
1271
- timestamp: string;
1272
1237
  path: string;
1238
+ message: string;
1239
+ statusCode: number;
1240
+ timestamp: string;
1273
1241
  details?: unknown;
1274
1242
  correlationId?: string | undefined;
1275
1243
  }, {
1276
- statusCode: number;
1277
- message: string;
1278
1244
  code: string;
1279
- timestamp: string;
1280
1245
  path: string;
1246
+ message: string;
1247
+ statusCode: number;
1248
+ timestamp: string;
1281
1249
  details?: unknown;
1282
1250
  correlationId?: string | undefined;
1283
1251
  }>;
1284
1252
  };
1285
1253
  };
1286
1254
  findAll: {
1255
+ metadata: {
1256
+ tags: string[];
1257
+ };
1287
1258
  query: z.ZodObject<{
1288
- page: z.ZodDefault<z.ZodNumber>;
1289
1259
  limit: z.ZodDefault<z.ZodNumber>;
1260
+ page: z.ZodDefault<z.ZodNumber>;
1261
+ } & {
1290
1262
  name: z.ZodOptional<z.ZodString>;
1291
1263
  email: z.ZodOptional<z.ZodString>;
1292
1264
  phone: z.ZodOptional<z.ZodString>;
@@ -1297,20 +1269,20 @@ export declare const clientContactsContractRouter: {
1297
1269
  }, "strip", z.ZodTypeAny, {
1298
1270
  limit: number;
1299
1271
  page: number;
1300
- sortBy: "createdAt" | "updatedAt" | "name" | "email" | "position";
1272
+ sortBy: "email" | "name" | "createdAt" | "updatedAt" | "position";
1301
1273
  sortOrder: "ASC" | "DESC";
1302
- name?: string | undefined;
1303
1274
  email?: string | undefined;
1275
+ name?: string | undefined;
1304
1276
  clientId?: string | undefined;
1305
1277
  phone?: string | undefined;
1306
1278
  createdById?: string | undefined;
1307
1279
  }, {
1280
+ email?: string | undefined;
1281
+ name?: string | undefined;
1308
1282
  limit?: number | undefined;
1309
1283
  page?: number | undefined;
1310
- sortBy?: "createdAt" | "updatedAt" | "name" | "email" | "position" | undefined;
1284
+ sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
1311
1285
  sortOrder?: "ASC" | "DESC" | undefined;
1312
- name?: string | undefined;
1313
- email?: string | undefined;
1314
1286
  clientId?: string | undefined;
1315
1287
  phone?: string | undefined;
1316
1288
  createdById?: string | undefined;
@@ -1328,19 +1300,19 @@ export declare const clientContactsContractRouter: {
1328
1300
  path: z.ZodString;
1329
1301
  correlationId: z.ZodOptional<z.ZodString>;
1330
1302
  }, "strip", z.ZodTypeAny, {
1331
- statusCode: number;
1332
- message: string;
1333
1303
  code: string;
1334
- timestamp: string;
1335
1304
  path: string;
1305
+ message: string;
1306
+ statusCode: number;
1307
+ timestamp: string;
1336
1308
  details?: unknown;
1337
1309
  correlationId?: string | undefined;
1338
1310
  }, {
1339
- statusCode: number;
1340
- message: string;
1341
1311
  code: string;
1342
- timestamp: string;
1343
1312
  path: string;
1313
+ message: string;
1314
+ statusCode: number;
1315
+ timestamp: string;
1344
1316
  details?: unknown;
1345
1317
  correlationId?: string | undefined;
1346
1318
  }>;
@@ -1353,19 +1325,19 @@ export declare const clientContactsContractRouter: {
1353
1325
  path: z.ZodString;
1354
1326
  correlationId: z.ZodOptional<z.ZodString>;
1355
1327
  }, "strip", z.ZodTypeAny, {
1356
- statusCode: number;
1357
- message: string;
1358
1328
  code: string;
1359
- timestamp: string;
1360
1329
  path: string;
1330
+ message: string;
1331
+ statusCode: number;
1332
+ timestamp: string;
1361
1333
  details?: unknown;
1362
1334
  correlationId?: string | undefined;
1363
1335
  }, {
1364
- statusCode: number;
1365
- message: string;
1366
1336
  code: string;
1367
- timestamp: string;
1368
1337
  path: string;
1338
+ message: string;
1339
+ statusCode: number;
1340
+ timestamp: string;
1369
1341
  details?: unknown;
1370
1342
  correlationId?: string | undefined;
1371
1343
  }>;
@@ -1378,19 +1350,19 @@ export declare const clientContactsContractRouter: {
1378
1350
  path: z.ZodString;
1379
1351
  correlationId: z.ZodOptional<z.ZodString>;
1380
1352
  }, "strip", z.ZodTypeAny, {
1381
- statusCode: number;
1382
- message: string;
1383
1353
  code: string;
1384
- timestamp: string;
1385
1354
  path: string;
1355
+ message: string;
1356
+ statusCode: number;
1357
+ timestamp: string;
1386
1358
  details?: unknown;
1387
1359
  correlationId?: string | undefined;
1388
1360
  }, {
1389
- statusCode: number;
1390
- message: string;
1391
1361
  code: string;
1392
- timestamp: string;
1393
1362
  path: string;
1363
+ message: string;
1364
+ statusCode: number;
1365
+ timestamp: string;
1394
1366
  details?: unknown;
1395
1367
  correlationId?: string | undefined;
1396
1368
  }>;
@@ -1403,19 +1375,19 @@ export declare const clientContactsContractRouter: {
1403
1375
  path: z.ZodString;
1404
1376
  correlationId: z.ZodOptional<z.ZodString>;
1405
1377
  }, "strip", z.ZodTypeAny, {
1406
- statusCode: number;
1407
- message: string;
1408
1378
  code: string;
1409
- timestamp: string;
1410
1379
  path: string;
1380
+ message: string;
1381
+ statusCode: number;
1382
+ timestamp: string;
1411
1383
  details?: unknown;
1412
1384
  correlationId?: string | undefined;
1413
1385
  }, {
1414
- statusCode: number;
1415
- message: string;
1416
1386
  code: string;
1417
- timestamp: string;
1418
1387
  path: string;
1388
+ message: string;
1389
+ statusCode: number;
1390
+ timestamp: string;
1419
1391
  details?: unknown;
1420
1392
  correlationId?: string | undefined;
1421
1393
  }>;
@@ -1449,7 +1421,6 @@ export declare const clientContactsContractRouter: {
1449
1421
  }>;
1450
1422
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1451
1423
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1452
- version: z.ZodNumber;
1453
1424
  agentClientLinks: z.ZodObject<{
1454
1425
  agentId: z.ZodString;
1455
1426
  }, "strip", z.ZodTypeAny, {
@@ -1458,41 +1429,39 @@ export declare const clientContactsContractRouter: {
1458
1429
  agentId: string;
1459
1430
  }>;
1460
1431
  }, "strip", z.ZodTypeAny, {
1461
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1462
- createdAt: string;
1463
- updatedAt: string;
1464
1432
  id: string;
1433
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1465
1434
  name: string;
1466
- director: string;
1467
1435
  crn: string;
1468
1436
  govLink: string;
1437
+ director: string;
1469
1438
  lastUpdatedBy: {
1470
1439
  id: string;
1471
1440
  firstName: string;
1472
1441
  lastName: string;
1473
1442
  email: string;
1474
1443
  };
1475
- version: number;
1444
+ createdAt: string;
1445
+ updatedAt: string;
1476
1446
  agentClientLinks: {
1477
1447
  agentId: string;
1478
1448
  };
1479
1449
  blacklistReason?: string | null | undefined;
1480
1450
  }, {
1481
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1482
- createdAt: string | Date;
1483
- updatedAt: string | Date;
1484
1451
  id: string;
1452
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1485
1453
  name: string;
1486
- director: string;
1487
1454
  crn: string;
1488
1455
  govLink: string;
1456
+ director: string;
1489
1457
  lastUpdatedBy: {
1490
1458
  id: string;
1491
1459
  firstName: string;
1492
1460
  lastName: string;
1493
1461
  email: string;
1494
1462
  };
1495
- version: number;
1463
+ createdAt: string | Date;
1464
+ updatedAt: string | Date;
1496
1465
  agentClientLinks: {
1497
1466
  agentId: string;
1498
1467
  };
@@ -1521,31 +1490,28 @@ export declare const clientContactsContractRouter: {
1521
1490
  }>;
1522
1491
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1523
1492
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1524
- version: z.ZodNumber;
1525
1493
  }, "strip", z.ZodTypeAny, {
1526
- createdAt: string;
1527
- updatedAt: string;
1528
1494
  id: string;
1529
- name: string;
1530
1495
  email: string;
1531
- version: number;
1496
+ name: string;
1497
+ createdAt: string;
1498
+ updatedAt: string;
1532
1499
  clientId: string;
1533
1500
  client: {
1534
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1535
- createdAt: string;
1536
- updatedAt: string;
1537
1501
  id: string;
1502
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1538
1503
  name: string;
1539
- director: string;
1540
1504
  crn: string;
1541
1505
  govLink: string;
1506
+ director: string;
1542
1507
  lastUpdatedBy: {
1543
1508
  id: string;
1544
1509
  firstName: string;
1545
1510
  lastName: string;
1546
1511
  email: string;
1547
1512
  };
1548
- version: number;
1513
+ createdAt: string;
1514
+ updatedAt: string;
1549
1515
  agentClientLinks: {
1550
1516
  agentId: string;
1551
1517
  };
@@ -1561,29 +1527,27 @@ export declare const clientContactsContractRouter: {
1561
1527
  position?: string | undefined;
1562
1528
  source?: string | undefined;
1563
1529
  }, {
1564
- createdAt: string | Date;
1565
- updatedAt: string | Date;
1566
1530
  id: string;
1567
- name: string;
1568
1531
  email: string;
1569
- version: number;
1532
+ name: string;
1533
+ createdAt: string | Date;
1534
+ updatedAt: string | Date;
1570
1535
  clientId: string;
1571
1536
  client: {
1572
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1573
- createdAt: string | Date;
1574
- updatedAt: string | Date;
1575
1537
  id: string;
1538
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1576
1539
  name: string;
1577
- director: string;
1578
1540
  crn: string;
1579
1541
  govLink: string;
1542
+ director: string;
1580
1543
  lastUpdatedBy: {
1581
1544
  id: string;
1582
1545
  firstName: string;
1583
1546
  lastName: string;
1584
1547
  email: string;
1585
1548
  };
1586
- version: number;
1549
+ createdAt: string | Date;
1550
+ updatedAt: string | Date;
1587
1551
  agentClientLinks: {
1588
1552
  agentId: string;
1589
1553
  };
@@ -1605,30 +1569,29 @@ export declare const clientContactsContractRouter: {
1605
1569
  currentPage: z.ZodNumber;
1606
1570
  totalPages: z.ZodNumber;
1607
1571
  }, "strip", z.ZodTypeAny, {
1572
+ limit: number;
1608
1573
  items: {
1609
- createdAt: string;
1610
- updatedAt: string;
1611
1574
  id: string;
1612
- name: string;
1613
1575
  email: string;
1614
- version: number;
1576
+ name: string;
1577
+ createdAt: string;
1578
+ updatedAt: string;
1615
1579
  clientId: string;
1616
1580
  client: {
1617
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1618
- createdAt: string;
1619
- updatedAt: string;
1620
1581
  id: string;
1582
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1621
1583
  name: string;
1622
- director: string;
1623
1584
  crn: string;
1624
1585
  govLink: string;
1586
+ director: string;
1625
1587
  lastUpdatedBy: {
1626
1588
  id: string;
1627
1589
  firstName: string;
1628
1590
  lastName: string;
1629
1591
  email: string;
1630
1592
  };
1631
- version: number;
1593
+ createdAt: string;
1594
+ updatedAt: string;
1632
1595
  agentClientLinks: {
1633
1596
  agentId: string;
1634
1597
  };
@@ -1645,35 +1608,33 @@ export declare const clientContactsContractRouter: {
1645
1608
  source?: string | undefined;
1646
1609
  }[];
1647
1610
  totalCount: number;
1648
- limit: number;
1649
1611
  skip: number;
1650
1612
  currentPage: number;
1651
1613
  totalPages: number;
1652
1614
  }, {
1615
+ limit: number;
1653
1616
  items: {
1654
- createdAt: string | Date;
1655
- updatedAt: string | Date;
1656
1617
  id: string;
1657
- name: string;
1658
1618
  email: string;
1659
- version: number;
1619
+ name: string;
1620
+ createdAt: string | Date;
1621
+ updatedAt: string | Date;
1660
1622
  clientId: string;
1661
1623
  client: {
1662
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1663
- createdAt: string | Date;
1664
- updatedAt: string | Date;
1665
1624
  id: string;
1625
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1666
1626
  name: string;
1667
- director: string;
1668
1627
  crn: string;
1669
1628
  govLink: string;
1629
+ director: string;
1670
1630
  lastUpdatedBy: {
1671
1631
  id: string;
1672
1632
  firstName: string;
1673
1633
  lastName: string;
1674
1634
  email: string;
1675
1635
  };
1676
- version: number;
1636
+ createdAt: string | Date;
1637
+ updatedAt: string | Date;
1677
1638
  agentClientLinks: {
1678
1639
  agentId: string;
1679
1640
  };
@@ -1690,7 +1651,6 @@ export declare const clientContactsContractRouter: {
1690
1651
  source?: string | undefined;
1691
1652
  }[];
1692
1653
  totalCount: number;
1693
- limit: number;
1694
1654
  skip: number;
1695
1655
  currentPage: number;
1696
1656
  totalPages: number;
@@ -1698,6 +1658,9 @@ export declare const clientContactsContractRouter: {
1698
1658
  };
1699
1659
  };
1700
1660
  findOne: {
1661
+ metadata: {
1662
+ tags: string[];
1663
+ };
1701
1664
  pathParams: z.ZodObject<{
1702
1665
  contactId: z.ZodString;
1703
1666
  }, "strip", z.ZodTypeAny, {
@@ -1718,19 +1681,19 @@ export declare const clientContactsContractRouter: {
1718
1681
  path: z.ZodString;
1719
1682
  correlationId: z.ZodOptional<z.ZodString>;
1720
1683
  }, "strip", z.ZodTypeAny, {
1721
- statusCode: number;
1722
- message: string;
1723
1684
  code: string;
1724
- timestamp: string;
1725
1685
  path: string;
1686
+ message: string;
1687
+ statusCode: number;
1688
+ timestamp: string;
1726
1689
  details?: unknown;
1727
1690
  correlationId?: string | undefined;
1728
1691
  }, {
1729
- statusCode: number;
1730
- message: string;
1731
1692
  code: string;
1732
- timestamp: string;
1733
1693
  path: string;
1694
+ message: string;
1695
+ statusCode: number;
1696
+ timestamp: string;
1734
1697
  details?: unknown;
1735
1698
  correlationId?: string | undefined;
1736
1699
  }>;
@@ -1743,19 +1706,19 @@ export declare const clientContactsContractRouter: {
1743
1706
  path: z.ZodString;
1744
1707
  correlationId: z.ZodOptional<z.ZodString>;
1745
1708
  }, "strip", z.ZodTypeAny, {
1746
- statusCode: number;
1747
- message: string;
1748
1709
  code: string;
1749
- timestamp: string;
1750
1710
  path: string;
1711
+ message: string;
1712
+ statusCode: number;
1713
+ timestamp: string;
1751
1714
  details?: unknown;
1752
1715
  correlationId?: string | undefined;
1753
1716
  }, {
1754
- statusCode: number;
1755
- message: string;
1756
1717
  code: string;
1757
- timestamp: string;
1758
1718
  path: string;
1719
+ message: string;
1720
+ statusCode: number;
1721
+ timestamp: string;
1759
1722
  details?: unknown;
1760
1723
  correlationId?: string | undefined;
1761
1724
  }>;
@@ -1768,19 +1731,19 @@ export declare const clientContactsContractRouter: {
1768
1731
  path: z.ZodString;
1769
1732
  correlationId: z.ZodOptional<z.ZodString>;
1770
1733
  }, "strip", z.ZodTypeAny, {
1771
- statusCode: number;
1772
- message: string;
1773
1734
  code: string;
1774
- timestamp: string;
1775
1735
  path: string;
1736
+ message: string;
1737
+ statusCode: number;
1738
+ timestamp: string;
1776
1739
  details?: unknown;
1777
1740
  correlationId?: string | undefined;
1778
1741
  }, {
1779
- statusCode: number;
1780
- message: string;
1781
1742
  code: string;
1782
- timestamp: string;
1783
1743
  path: string;
1744
+ message: string;
1745
+ statusCode: number;
1746
+ timestamp: string;
1784
1747
  details?: unknown;
1785
1748
  correlationId?: string | undefined;
1786
1749
  }>;
@@ -1793,19 +1756,19 @@ export declare const clientContactsContractRouter: {
1793
1756
  path: z.ZodString;
1794
1757
  correlationId: z.ZodOptional<z.ZodString>;
1795
1758
  }, "strip", z.ZodTypeAny, {
1796
- statusCode: number;
1797
- message: string;
1798
1759
  code: string;
1799
- timestamp: string;
1800
1760
  path: string;
1761
+ message: string;
1762
+ statusCode: number;
1763
+ timestamp: string;
1801
1764
  details?: unknown;
1802
1765
  correlationId?: string | undefined;
1803
1766
  }, {
1804
- statusCode: number;
1805
- message: string;
1806
1767
  code: string;
1807
- timestamp: string;
1808
1768
  path: string;
1769
+ message: string;
1770
+ statusCode: number;
1771
+ timestamp: string;
1809
1772
  details?: unknown;
1810
1773
  correlationId?: string | undefined;
1811
1774
  }>;
@@ -1838,7 +1801,6 @@ export declare const clientContactsContractRouter: {
1838
1801
  }>;
1839
1802
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1840
1803
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1841
- version: z.ZodNumber;
1842
1804
  agentClientLinks: z.ZodObject<{
1843
1805
  agentId: z.ZodString;
1844
1806
  }, "strip", z.ZodTypeAny, {
@@ -1847,41 +1809,39 @@ export declare const clientContactsContractRouter: {
1847
1809
  agentId: string;
1848
1810
  }>;
1849
1811
  }, "strip", z.ZodTypeAny, {
1850
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1851
- createdAt: string;
1852
- updatedAt: string;
1853
1812
  id: string;
1813
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1854
1814
  name: string;
1855
- director: string;
1856
1815
  crn: string;
1857
1816
  govLink: string;
1817
+ director: string;
1858
1818
  lastUpdatedBy: {
1859
1819
  id: string;
1860
1820
  firstName: string;
1861
1821
  lastName: string;
1862
1822
  email: string;
1863
1823
  };
1864
- version: number;
1824
+ createdAt: string;
1825
+ updatedAt: string;
1865
1826
  agentClientLinks: {
1866
1827
  agentId: string;
1867
1828
  };
1868
1829
  blacklistReason?: string | null | undefined;
1869
1830
  }, {
1870
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1871
- createdAt: string | Date;
1872
- updatedAt: string | Date;
1873
1831
  id: string;
1832
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1874
1833
  name: string;
1875
- director: string;
1876
1834
  crn: string;
1877
1835
  govLink: string;
1836
+ director: string;
1878
1837
  lastUpdatedBy: {
1879
1838
  id: string;
1880
1839
  firstName: string;
1881
1840
  lastName: string;
1882
1841
  email: string;
1883
1842
  };
1884
- version: number;
1843
+ createdAt: string | Date;
1844
+ updatedAt: string | Date;
1885
1845
  agentClientLinks: {
1886
1846
  agentId: string;
1887
1847
  };
@@ -1910,31 +1870,28 @@ export declare const clientContactsContractRouter: {
1910
1870
  }>;
1911
1871
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1912
1872
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1913
- version: z.ZodNumber;
1914
1873
  }, "strip", z.ZodTypeAny, {
1915
- createdAt: string;
1916
- updatedAt: string;
1917
1874
  id: string;
1918
- name: string;
1919
1875
  email: string;
1920
- version: number;
1876
+ name: string;
1877
+ createdAt: string;
1878
+ updatedAt: string;
1921
1879
  clientId: string;
1922
1880
  client: {
1923
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1924
- createdAt: string;
1925
- updatedAt: string;
1926
1881
  id: string;
1882
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1927
1883
  name: string;
1928
- director: string;
1929
1884
  crn: string;
1930
1885
  govLink: string;
1886
+ director: string;
1931
1887
  lastUpdatedBy: {
1932
1888
  id: string;
1933
1889
  firstName: string;
1934
1890
  lastName: string;
1935
1891
  email: string;
1936
1892
  };
1937
- version: number;
1893
+ createdAt: string;
1894
+ updatedAt: string;
1938
1895
  agentClientLinks: {
1939
1896
  agentId: string;
1940
1897
  };
@@ -1950,29 +1907,27 @@ export declare const clientContactsContractRouter: {
1950
1907
  position?: string | undefined;
1951
1908
  source?: string | undefined;
1952
1909
  }, {
1953
- createdAt: string | Date;
1954
- updatedAt: string | Date;
1955
1910
  id: string;
1956
- name: string;
1957
1911
  email: string;
1958
- version: number;
1912
+ name: string;
1913
+ createdAt: string | Date;
1914
+ updatedAt: string | Date;
1959
1915
  clientId: string;
1960
1916
  client: {
1961
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1962
- createdAt: string | Date;
1963
- updatedAt: string | Date;
1964
1917
  id: string;
1918
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1965
1919
  name: string;
1966
- director: string;
1967
1920
  crn: string;
1968
1921
  govLink: string;
1922
+ director: string;
1969
1923
  lastUpdatedBy: {
1970
1924
  id: string;
1971
1925
  firstName: string;
1972
1926
  lastName: string;
1973
1927
  email: string;
1974
1928
  };
1975
- version: number;
1929
+ createdAt: string | Date;
1930
+ updatedAt: string | Date;
1976
1931
  agentClientLinks: {
1977
1932
  agentId: string;
1978
1933
  };
@@ -1997,25 +1952,28 @@ export declare const clientContactsContractRouter: {
1997
1952
  path: z.ZodString;
1998
1953
  correlationId: z.ZodOptional<z.ZodString>;
1999
1954
  }, "strip", z.ZodTypeAny, {
2000
- statusCode: number;
2001
- message: string;
2002
1955
  code: string;
2003
- timestamp: string;
2004
1956
  path: string;
1957
+ message: string;
1958
+ statusCode: number;
1959
+ timestamp: string;
2005
1960
  details?: unknown;
2006
1961
  correlationId?: string | undefined;
2007
1962
  }, {
2008
- statusCode: number;
2009
- message: string;
2010
1963
  code: string;
2011
- timestamp: string;
2012
1964
  path: string;
1965
+ message: string;
1966
+ statusCode: number;
1967
+ timestamp: string;
2013
1968
  details?: unknown;
2014
1969
  correlationId?: string | undefined;
2015
1970
  }>;
2016
1971
  };
2017
1972
  };
2018
1973
  update: {
1974
+ metadata: {
1975
+ tags: string[];
1976
+ };
2019
1977
  pathParams: z.ZodObject<{
2020
1978
  contactId: z.ZodString;
2021
1979
  }, "strip", z.ZodTypeAny, {
@@ -2038,21 +1996,17 @@ export declare const clientContactsContractRouter: {
2038
1996
  phone: z.ZodOptional<z.ZodString>;
2039
1997
  email: z.ZodOptional<z.ZodString>;
2040
1998
  source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2041
- } & {
2042
- version: z.ZodNumber;
2043
1999
  }, "client">, "strip", z.ZodTypeAny, {
2044
- version: number;
2045
- name?: string | undefined;
2046
2000
  email?: string | undefined;
2047
- position?: string | undefined;
2001
+ name?: string | undefined;
2048
2002
  phone?: string | undefined;
2003
+ position?: string | undefined;
2049
2004
  source?: string | undefined;
2050
2005
  }, {
2051
- version: number;
2052
- name?: string | undefined;
2053
2006
  email?: string | undefined;
2054
- position?: string | undefined;
2007
+ name?: string | undefined;
2055
2008
  phone?: string | undefined;
2009
+ position?: string | undefined;
2056
2010
  source?: string | undefined;
2057
2011
  }>;
2058
2012
  path: "/v2/client-contacts/:contactId";
@@ -2066,19 +2020,19 @@ export declare const clientContactsContractRouter: {
2066
2020
  path: z.ZodString;
2067
2021
  correlationId: z.ZodOptional<z.ZodString>;
2068
2022
  }, "strip", z.ZodTypeAny, {
2069
- statusCode: number;
2070
- message: string;
2071
2023
  code: string;
2072
- timestamp: string;
2073
2024
  path: string;
2025
+ message: string;
2026
+ statusCode: number;
2027
+ timestamp: string;
2074
2028
  details?: unknown;
2075
2029
  correlationId?: string | undefined;
2076
2030
  }, {
2077
- statusCode: number;
2078
- message: string;
2079
2031
  code: string;
2080
- timestamp: string;
2081
2032
  path: string;
2033
+ message: string;
2034
+ statusCode: number;
2035
+ timestamp: string;
2082
2036
  details?: unknown;
2083
2037
  correlationId?: string | undefined;
2084
2038
  }>;
@@ -2091,19 +2045,19 @@ export declare const clientContactsContractRouter: {
2091
2045
  path: z.ZodString;
2092
2046
  correlationId: z.ZodOptional<z.ZodString>;
2093
2047
  }, "strip", z.ZodTypeAny, {
2094
- statusCode: number;
2095
- message: string;
2096
2048
  code: string;
2097
- timestamp: string;
2098
2049
  path: string;
2050
+ message: string;
2051
+ statusCode: number;
2052
+ timestamp: string;
2099
2053
  details?: unknown;
2100
2054
  correlationId?: string | undefined;
2101
2055
  }, {
2102
- statusCode: number;
2103
- message: string;
2104
2056
  code: string;
2105
- timestamp: string;
2106
2057
  path: string;
2058
+ message: string;
2059
+ statusCode: number;
2060
+ timestamp: string;
2107
2061
  details?: unknown;
2108
2062
  correlationId?: string | undefined;
2109
2063
  }>;
@@ -2116,19 +2070,19 @@ export declare const clientContactsContractRouter: {
2116
2070
  path: z.ZodString;
2117
2071
  correlationId: z.ZodOptional<z.ZodString>;
2118
2072
  }, "strip", z.ZodTypeAny, {
2119
- statusCode: number;
2120
- message: string;
2121
2073
  code: string;
2122
- timestamp: string;
2123
2074
  path: string;
2075
+ message: string;
2076
+ statusCode: number;
2077
+ timestamp: string;
2124
2078
  details?: unknown;
2125
2079
  correlationId?: string | undefined;
2126
2080
  }, {
2127
- statusCode: number;
2128
- message: string;
2129
2081
  code: string;
2130
- timestamp: string;
2131
2082
  path: string;
2083
+ message: string;
2084
+ statusCode: number;
2085
+ timestamp: string;
2132
2086
  details?: unknown;
2133
2087
  correlationId?: string | undefined;
2134
2088
  }>;
@@ -2141,19 +2095,19 @@ export declare const clientContactsContractRouter: {
2141
2095
  path: z.ZodString;
2142
2096
  correlationId: z.ZodOptional<z.ZodString>;
2143
2097
  }, "strip", z.ZodTypeAny, {
2144
- statusCode: number;
2145
- message: string;
2146
2098
  code: string;
2147
- timestamp: string;
2148
2099
  path: string;
2100
+ message: string;
2101
+ statusCode: number;
2102
+ timestamp: string;
2149
2103
  details?: unknown;
2150
2104
  correlationId?: string | undefined;
2151
2105
  }, {
2152
- statusCode: number;
2153
- message: string;
2154
2106
  code: string;
2155
- timestamp: string;
2156
2107
  path: string;
2108
+ message: string;
2109
+ statusCode: number;
2110
+ timestamp: string;
2157
2111
  details?: unknown;
2158
2112
  correlationId?: string | undefined;
2159
2113
  }>;
@@ -2186,7 +2140,6 @@ export declare const clientContactsContractRouter: {
2186
2140
  }>;
2187
2141
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2188
2142
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2189
- version: z.ZodNumber;
2190
2143
  agentClientLinks: z.ZodObject<{
2191
2144
  agentId: z.ZodString;
2192
2145
  }, "strip", z.ZodTypeAny, {
@@ -2195,41 +2148,39 @@ export declare const clientContactsContractRouter: {
2195
2148
  agentId: string;
2196
2149
  }>;
2197
2150
  }, "strip", z.ZodTypeAny, {
2198
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2199
- createdAt: string;
2200
- updatedAt: string;
2201
2151
  id: string;
2152
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2202
2153
  name: string;
2203
- director: string;
2204
2154
  crn: string;
2205
2155
  govLink: string;
2156
+ director: string;
2206
2157
  lastUpdatedBy: {
2207
2158
  id: string;
2208
2159
  firstName: string;
2209
2160
  lastName: string;
2210
2161
  email: string;
2211
2162
  };
2212
- version: number;
2163
+ createdAt: string;
2164
+ updatedAt: string;
2213
2165
  agentClientLinks: {
2214
2166
  agentId: string;
2215
2167
  };
2216
2168
  blacklistReason?: string | null | undefined;
2217
2169
  }, {
2218
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2219
- createdAt: string | Date;
2220
- updatedAt: string | Date;
2221
2170
  id: string;
2171
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2222
2172
  name: string;
2223
- director: string;
2224
2173
  crn: string;
2225
2174
  govLink: string;
2175
+ director: string;
2226
2176
  lastUpdatedBy: {
2227
2177
  id: string;
2228
2178
  firstName: string;
2229
2179
  lastName: string;
2230
2180
  email: string;
2231
2181
  };
2232
- version: number;
2182
+ createdAt: string | Date;
2183
+ updatedAt: string | Date;
2233
2184
  agentClientLinks: {
2234
2185
  agentId: string;
2235
2186
  };
@@ -2258,31 +2209,28 @@ export declare const clientContactsContractRouter: {
2258
2209
  }>;
2259
2210
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2260
2211
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2261
- version: z.ZodNumber;
2262
2212
  }, "strip", z.ZodTypeAny, {
2263
- createdAt: string;
2264
- updatedAt: string;
2265
2213
  id: string;
2266
- name: string;
2267
2214
  email: string;
2268
- version: number;
2215
+ name: string;
2216
+ createdAt: string;
2217
+ updatedAt: string;
2269
2218
  clientId: string;
2270
2219
  client: {
2271
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2272
- createdAt: string;
2273
- updatedAt: string;
2274
2220
  id: string;
2221
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2275
2222
  name: string;
2276
- director: string;
2277
2223
  crn: string;
2278
2224
  govLink: string;
2225
+ director: string;
2279
2226
  lastUpdatedBy: {
2280
2227
  id: string;
2281
2228
  firstName: string;
2282
2229
  lastName: string;
2283
2230
  email: string;
2284
2231
  };
2285
- version: number;
2232
+ createdAt: string;
2233
+ updatedAt: string;
2286
2234
  agentClientLinks: {
2287
2235
  agentId: string;
2288
2236
  };
@@ -2298,29 +2246,27 @@ export declare const clientContactsContractRouter: {
2298
2246
  position?: string | undefined;
2299
2247
  source?: string | undefined;
2300
2248
  }, {
2301
- createdAt: string | Date;
2302
- updatedAt: string | Date;
2303
2249
  id: string;
2304
- name: string;
2305
2250
  email: string;
2306
- version: number;
2251
+ name: string;
2252
+ createdAt: string | Date;
2253
+ updatedAt: string | Date;
2307
2254
  clientId: string;
2308
2255
  client: {
2309
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2310
- createdAt: string | Date;
2311
- updatedAt: string | Date;
2312
2256
  id: string;
2257
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2313
2258
  name: string;
2314
- director: string;
2315
2259
  crn: string;
2316
2260
  govLink: string;
2261
+ director: string;
2317
2262
  lastUpdatedBy: {
2318
2263
  id: string;
2319
2264
  firstName: string;
2320
2265
  lastName: string;
2321
2266
  email: string;
2322
2267
  };
2323
- version: number;
2268
+ createdAt: string | Date;
2269
+ updatedAt: string | Date;
2324
2270
  agentClientLinks: {
2325
2271
  agentId: string;
2326
2272
  };
@@ -2345,19 +2291,19 @@ export declare const clientContactsContractRouter: {
2345
2291
  path: z.ZodString;
2346
2292
  correlationId: z.ZodOptional<z.ZodString>;
2347
2293
  }, "strip", z.ZodTypeAny, {
2348
- statusCode: number;
2349
- message: string;
2350
2294
  code: string;
2351
- timestamp: string;
2352
2295
  path: string;
2296
+ message: string;
2297
+ statusCode: number;
2298
+ timestamp: string;
2353
2299
  details?: unknown;
2354
2300
  correlationId?: string | undefined;
2355
2301
  }, {
2356
- statusCode: number;
2357
- message: string;
2358
2302
  code: string;
2359
- timestamp: string;
2360
2303
  path: string;
2304
+ message: string;
2305
+ statusCode: number;
2306
+ timestamp: string;
2361
2307
  details?: unknown;
2362
2308
  correlationId?: string | undefined;
2363
2309
  }>;
@@ -2370,25 +2316,28 @@ export declare const clientContactsContractRouter: {
2370
2316
  path: z.ZodString;
2371
2317
  correlationId: z.ZodOptional<z.ZodString>;
2372
2318
  }, "strip", z.ZodTypeAny, {
2373
- statusCode: number;
2374
- message: string;
2375
2319
  code: string;
2376
- timestamp: string;
2377
2320
  path: string;
2321
+ message: string;
2322
+ statusCode: number;
2323
+ timestamp: string;
2378
2324
  details?: unknown;
2379
2325
  correlationId?: string | undefined;
2380
2326
  }, {
2381
- statusCode: number;
2382
- message: string;
2383
2327
  code: string;
2384
- timestamp: string;
2385
2328
  path: string;
2329
+ message: string;
2330
+ statusCode: number;
2331
+ timestamp: string;
2386
2332
  details?: unknown;
2387
2333
  correlationId?: string | undefined;
2388
2334
  }>;
2389
2335
  };
2390
2336
  };
2391
2337
  remove: {
2338
+ metadata: {
2339
+ tags: string[];
2340
+ };
2392
2341
  pathParams: z.ZodObject<{
2393
2342
  contactId: z.ZodString;
2394
2343
  }, "strip", z.ZodTypeAny, {
@@ -2410,19 +2359,19 @@ export declare const clientContactsContractRouter: {
2410
2359
  path: z.ZodString;
2411
2360
  correlationId: z.ZodOptional<z.ZodString>;
2412
2361
  }, "strip", z.ZodTypeAny, {
2413
- statusCode: number;
2414
- message: string;
2415
2362
  code: string;
2416
- timestamp: string;
2417
2363
  path: string;
2364
+ message: string;
2365
+ statusCode: number;
2366
+ timestamp: string;
2418
2367
  details?: unknown;
2419
2368
  correlationId?: string | undefined;
2420
2369
  }, {
2421
- statusCode: number;
2422
- message: string;
2423
2370
  code: string;
2424
- timestamp: string;
2425
2371
  path: string;
2372
+ message: string;
2373
+ statusCode: number;
2374
+ timestamp: string;
2426
2375
  details?: unknown;
2427
2376
  correlationId?: string | undefined;
2428
2377
  }>;
@@ -2435,19 +2384,19 @@ export declare const clientContactsContractRouter: {
2435
2384
  path: z.ZodString;
2436
2385
  correlationId: z.ZodOptional<z.ZodString>;
2437
2386
  }, "strip", z.ZodTypeAny, {
2438
- statusCode: number;
2439
- message: string;
2440
2387
  code: string;
2441
- timestamp: string;
2442
2388
  path: string;
2389
+ message: string;
2390
+ statusCode: number;
2391
+ timestamp: string;
2443
2392
  details?: unknown;
2444
2393
  correlationId?: string | undefined;
2445
2394
  }, {
2446
- statusCode: number;
2447
- message: string;
2448
2395
  code: string;
2449
- timestamp: string;
2450
2396
  path: string;
2397
+ message: string;
2398
+ statusCode: number;
2399
+ timestamp: string;
2451
2400
  details?: unknown;
2452
2401
  correlationId?: string | undefined;
2453
2402
  }>;
@@ -2460,19 +2409,19 @@ export declare const clientContactsContractRouter: {
2460
2409
  path: z.ZodString;
2461
2410
  correlationId: z.ZodOptional<z.ZodString>;
2462
2411
  }, "strip", z.ZodTypeAny, {
2463
- statusCode: number;
2464
- message: string;
2465
2412
  code: string;
2466
- timestamp: string;
2467
2413
  path: string;
2414
+ message: string;
2415
+ statusCode: number;
2416
+ timestamp: string;
2468
2417
  details?: unknown;
2469
2418
  correlationId?: string | undefined;
2470
2419
  }, {
2471
- statusCode: number;
2472
- message: string;
2473
2420
  code: string;
2474
- timestamp: string;
2475
2421
  path: string;
2422
+ message: string;
2423
+ statusCode: number;
2424
+ timestamp: string;
2476
2425
  details?: unknown;
2477
2426
  correlationId?: string | undefined;
2478
2427
  }>;
@@ -2485,19 +2434,19 @@ export declare const clientContactsContractRouter: {
2485
2434
  path: z.ZodString;
2486
2435
  correlationId: z.ZodOptional<z.ZodString>;
2487
2436
  }, "strip", z.ZodTypeAny, {
2488
- statusCode: number;
2489
- message: string;
2490
2437
  code: string;
2491
- timestamp: string;
2492
2438
  path: string;
2439
+ message: string;
2440
+ statusCode: number;
2441
+ timestamp: string;
2493
2442
  details?: unknown;
2494
2443
  correlationId?: string | undefined;
2495
2444
  }, {
2496
- statusCode: number;
2497
- message: string;
2498
2445
  code: string;
2499
- timestamp: string;
2500
2446
  path: string;
2447
+ message: string;
2448
+ statusCode: number;
2449
+ timestamp: string;
2501
2450
  details?: unknown;
2502
2451
  correlationId?: string | undefined;
2503
2452
  }>;
@@ -2511,19 +2460,19 @@ export declare const clientContactsContractRouter: {
2511
2460
  path: z.ZodString;
2512
2461
  correlationId: z.ZodOptional<z.ZodString>;
2513
2462
  }, "strip", z.ZodTypeAny, {
2514
- statusCode: number;
2515
- message: string;
2516
2463
  code: string;
2517
- timestamp: string;
2518
2464
  path: string;
2465
+ message: string;
2466
+ statusCode: number;
2467
+ timestamp: string;
2519
2468
  details?: unknown;
2520
2469
  correlationId?: string | undefined;
2521
2470
  }, {
2522
- statusCode: number;
2523
- message: string;
2524
2471
  code: string;
2525
- timestamp: string;
2526
2472
  path: string;
2473
+ message: string;
2474
+ statusCode: number;
2475
+ timestamp: string;
2527
2476
  details?: unknown;
2528
2477
  correlationId?: string | undefined;
2529
2478
  }>;