@dakkitor/api-contracts 1.1.27 → 1.1.28

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 (54) hide show
  1. package/dist/actives/actives.contract.d.ts +4899 -597
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +0 -1
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +487 -487
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  6. package/dist/agent-client-links/agent-client-links.contract.js +2 -0
  7. package/dist/auth/auth.contract.d.ts +4 -4
  8. package/dist/bookings/bookings.contract.d.ts +5657 -1430
  9. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  10. package/dist/bookings/bookings.contract.js +6 -6
  11. package/dist/call-history/call-history.contract.d.ts +1188 -262
  12. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  13. package/dist/call-history/call-history.contract.js +3 -4
  14. package/dist/client-contacts/client-contacts.contract.d.ts +515 -515
  15. package/dist/clients/clients.contract.d.ts +380 -380
  16. package/dist/clients/clients.contract.d.ts.map +1 -1
  17. package/dist/clients/clients.contract.js +8 -2
  18. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3349 -1023
  19. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
  20. package/dist/collaboration-checkings/collaboration-checkings.contract.js +3 -10
  21. package/dist/collaborations/collaborations.contract.d.ts +2934 -219
  22. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  23. package/dist/collaborations/collaborations.contract.js +19 -33
  24. package/dist/common/common-schemas.d.ts +6 -6
  25. package/dist/common/common-schemas.d.ts.map +1 -1
  26. package/dist/common/common-schemas.js +3 -5
  27. package/dist/common/error-schemas.d.ts +6 -6
  28. package/dist/companies/companies.contract.d.ts +212 -212
  29. package/dist/cron-executions/cron-executions.contract.d.ts +228 -228
  30. package/dist/curated-workers/curated-workers.contract.d.ts +366 -366
  31. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  32. package/dist/curated-workers/curated-workers.contract.js +4 -10
  33. package/dist/dashboards/agent-daily-metrics.contract.d.ts +120 -120
  34. package/dist/files/files.contract.d.ts +228 -228
  35. package/dist/health/health.contract.d.ts +22 -22
  36. package/dist/jobs/jobs.contract.d.ts +3517 -511
  37. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  38. package/dist/jobs/jobs.contract.js +36 -17
  39. package/dist/lead-assignments/lead-assignments.contract.d.ts +272 -272
  40. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +63 -63
  41. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +146 -146
  42. package/dist/leads/leads.contract.d.ts +316 -316
  43. package/dist/locations/locations.contract.d.ts +161 -161
  44. package/dist/postcodes/postcodes.contract.d.ts +66 -66
  45. package/dist/qualifications/qualifications.contract.d.ts +256 -256
  46. package/dist/trades/trades.contract.d.ts +160 -160
  47. package/dist/users/users.contract.d.ts +100 -100
  48. package/dist/workers/workers.contract.d.ts +129 -75
  49. package/dist/workers/workers.contract.d.ts.map +1 -1
  50. package/dist/workers/workers.contract.js +20 -13
  51. package/package.json +1 -1
  52. package/dist/common/api-responses.d.ts +0 -105
  53. package/dist/common/api-responses.d.ts.map +0 -1
  54. package/dist/common/api-responses.js +0 -107
@@ -6,15 +6,15 @@ export declare const ClientContactUserSchema: z.ZodObject<{
6
6
  lastName: z.ZodString;
7
7
  email: z.ZodString;
8
8
  }, "strip", z.ZodTypeAny, {
9
- lastName: string;
9
+ id: string;
10
10
  firstName: string;
11
+ lastName: string;
11
12
  email: string;
12
- id: string;
13
13
  }, {
14
- lastName: string;
14
+ id: string;
15
15
  firstName: string;
16
+ lastName: string;
16
17
  email: string;
17
- id: string;
18
18
  }>;
19
19
  export declare const ClientContactSchema: z.ZodObject<{
20
20
  id: z.ZodString;
@@ -27,69 +27,69 @@ export declare const ClientContactSchema: z.ZodObject<{
27
27
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
28
28
  director: z.ZodString;
29
29
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- lastUpdatedBy: z.ZodObject<{
30
+ lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
31
  id: z.ZodString;
32
32
  firstName: z.ZodString;
33
33
  lastName: z.ZodString;
34
34
  email: z.ZodString;
35
35
  }, "strip", z.ZodTypeAny, {
36
- lastName: string;
36
+ id: string;
37
37
  firstName: string;
38
+ lastName: string;
38
39
  email: string;
39
- id: string;
40
40
  }, {
41
- lastName: string;
41
+ id: string;
42
42
  firstName: string;
43
+ lastName: string;
43
44
  email: string;
44
- id: string;
45
- }>;
45
+ }>>>;
46
46
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
47
47
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
48
- agentClientLinks: z.ZodObject<{
48
+ agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
49
  agentId: z.ZodString;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  agentId: string;
52
52
  }, {
53
53
  agentId: string;
54
- }>;
54
+ }>>>;
55
55
  }, "strip", z.ZodTypeAny, {
56
- createdAt: string;
57
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
56
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
58
57
  id: string;
58
+ createdAt: string;
59
59
  updatedAt: string;
60
60
  name: string;
61
61
  crn: string;
62
62
  govLink: string;
63
63
  director: string;
64
- lastUpdatedBy: {
65
- lastName: string;
64
+ blacklistReason?: string | null | undefined;
65
+ lastUpdatedBy?: {
66
+ id: string;
66
67
  firstName: string;
68
+ lastName: string;
67
69
  email: string;
68
- id: string;
69
- };
70
- agentClientLinks: {
70
+ } | null | undefined;
71
+ agentClientLinks?: {
71
72
  agentId: string;
72
- };
73
- blacklistReason?: string | null | undefined;
73
+ } | null | undefined;
74
74
  }, {
75
- createdAt: string | Date;
76
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
75
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
77
76
  id: string;
77
+ createdAt: string | Date;
78
78
  updatedAt: string | Date;
79
79
  name: string;
80
80
  crn: string;
81
81
  govLink: string;
82
82
  director: string;
83
- lastUpdatedBy: {
84
- lastName: string;
83
+ blacklistReason?: string | null | undefined;
84
+ lastUpdatedBy?: {
85
+ id: string;
85
86
  firstName: string;
87
+ lastName: string;
86
88
  email: string;
87
- id: string;
88
- };
89
- agentClientLinks: {
89
+ } | null | undefined;
90
+ agentClientLinks?: {
90
91
  agentId: string;
91
- };
92
- blacklistReason?: string | null | undefined;
92
+ } | null | undefined;
93
93
  }>;
94
94
  name: z.ZodString;
95
95
  position: z.ZodOptional<z.ZodString>;
@@ -102,90 +102,90 @@ export declare const ClientContactSchema: z.ZodObject<{
102
102
  lastName: z.ZodString;
103
103
  email: z.ZodString;
104
104
  }, "strip", z.ZodTypeAny, {
105
- lastName: string;
105
+ id: string;
106
106
  firstName: string;
107
+ lastName: string;
107
108
  email: string;
108
- id: string;
109
109
  }, {
110
- lastName: string;
110
+ id: string;
111
111
  firstName: string;
112
+ lastName: string;
112
113
  email: string;
113
- id: string;
114
114
  }>;
115
115
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
116
116
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
117
117
  }, "strip", z.ZodTypeAny, {
118
+ id: string;
118
119
  email: string;
119
- phone: string;
120
120
  createdAt: string;
121
- id: string;
122
121
  updatedAt: string;
123
122
  name: string;
124
- clientId: string;
123
+ phone: string;
125
124
  client: {
126
- createdAt: string;
127
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
125
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
128
126
  id: string;
127
+ createdAt: string;
129
128
  updatedAt: string;
130
129
  name: string;
131
130
  crn: string;
132
131
  govLink: string;
133
132
  director: string;
134
- lastUpdatedBy: {
135
- lastName: string;
133
+ blacklistReason?: string | null | undefined;
134
+ lastUpdatedBy?: {
135
+ id: string;
136
136
  firstName: string;
137
+ lastName: string;
137
138
  email: string;
138
- id: string;
139
- };
140
- agentClientLinks: {
139
+ } | null | undefined;
140
+ agentClientLinks?: {
141
141
  agentId: string;
142
- };
143
- blacklistReason?: string | null | undefined;
142
+ } | null | undefined;
144
143
  };
144
+ clientId: string;
145
145
  createdBy: {
146
- lastName: string;
146
+ id: string;
147
147
  firstName: string;
148
+ lastName: string;
148
149
  email: string;
149
- id: string;
150
150
  };
151
- position?: string | undefined;
152
151
  source?: string | undefined;
152
+ position?: string | undefined;
153
153
  }, {
154
+ id: string;
154
155
  email: string;
155
- phone: string;
156
156
  createdAt: string | Date;
157
- id: string;
158
157
  updatedAt: string | Date;
159
158
  name: string;
160
- clientId: string;
159
+ phone: string;
161
160
  client: {
162
- createdAt: string | Date;
163
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
161
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
164
162
  id: string;
163
+ createdAt: string | Date;
165
164
  updatedAt: string | Date;
166
165
  name: string;
167
166
  crn: string;
168
167
  govLink: string;
169
168
  director: string;
170
- lastUpdatedBy: {
171
- lastName: string;
169
+ blacklistReason?: string | null | undefined;
170
+ lastUpdatedBy?: {
171
+ id: string;
172
172
  firstName: string;
173
+ lastName: string;
173
174
  email: string;
174
- id: string;
175
- };
176
- agentClientLinks: {
175
+ } | null | undefined;
176
+ agentClientLinks?: {
177
177
  agentId: string;
178
- };
179
- blacklistReason?: string | null | undefined;
178
+ } | null | undefined;
180
179
  };
180
+ clientId: string;
181
181
  createdBy: {
182
- lastName: string;
182
+ id: string;
183
183
  firstName: string;
184
+ lastName: string;
184
185
  email: string;
185
- id: string;
186
186
  };
187
- position?: string | undefined;
188
187
  source?: string | undefined;
188
+ position?: string | undefined;
189
189
  }>;
190
190
  export declare const CreateClientContactSchema: z.ZodObject<{
191
191
  client: z.ZodObject<{
@@ -202,22 +202,22 @@ export declare const CreateClientContactSchema: z.ZodObject<{
202
202
  source: z.ZodOptional<z.ZodString>;
203
203
  }, "strip", z.ZodTypeAny, {
204
204
  email: string;
205
- phone: string;
206
205
  name: string;
206
+ phone: string;
207
207
  client: {
208
208
  id: string;
209
209
  };
210
- position?: string | undefined;
211
210
  source?: string | undefined;
211
+ position?: string | undefined;
212
212
  }, {
213
213
  email: string;
214
- phone: string;
215
214
  name: string;
215
+ phone: string;
216
216
  client: {
217
217
  id: string;
218
218
  };
219
- position?: string | undefined;
220
219
  source?: string | undefined;
220
+ position?: string | undefined;
221
221
  }>;
222
222
  export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
223
223
  client: z.ZodObject<{
@@ -234,16 +234,16 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
234
234
  source: z.ZodOptional<z.ZodString>;
235
235
  }, "client">, "strip", z.ZodTypeAny, {
236
236
  email: string;
237
- phone: string;
238
237
  name: string;
239
- position?: string | undefined;
238
+ phone: string;
240
239
  source?: string | undefined;
240
+ position?: string | undefined;
241
241
  }, {
242
242
  email: string;
243
- phone: string;
244
243
  name: string;
245
- position?: string | undefined;
244
+ phone: string;
246
245
  source?: string | undefined;
246
+ position?: string | undefined;
247
247
  }>;
248
248
  export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
249
249
  client: z.ZodOptional<z.ZodObject<{
@@ -260,16 +260,16 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
260
260
  source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
261
261
  }, "client">, "strip", z.ZodTypeAny, {
262
262
  email?: string | undefined;
263
- phone?: string | undefined;
264
263
  name?: string | undefined;
265
- position?: string | undefined;
266
264
  source?: string | undefined;
265
+ phone?: string | undefined;
266
+ position?: string | undefined;
267
267
  }, {
268
268
  email?: string | undefined;
269
- phone?: string | undefined;
270
269
  name?: string | undefined;
271
- position?: string | undefined;
272
270
  source?: string | undefined;
271
+ phone?: string | undefined;
272
+ position?: string | undefined;
273
273
  }>;
274
274
  export declare const FilterClientContactSchema: z.ZodObject<{
275
275
  limit: z.ZodDefault<z.ZodNumber>;
@@ -288,18 +288,18 @@ export declare const FilterClientContactSchema: z.ZodObject<{
288
288
  sortBy: "email" | "createdAt" | "updatedAt" | "name" | "position";
289
289
  sortOrder: "ASC" | "DESC";
290
290
  email?: string | undefined;
291
- phone?: string | undefined;
292
291
  name?: string | undefined;
292
+ phone?: string | undefined;
293
293
  clientId?: string | undefined;
294
294
  createdById?: string | undefined;
295
295
  }, {
296
296
  email?: string | undefined;
297
- phone?: string | undefined;
298
297
  limit?: number | undefined;
299
298
  page?: number | undefined;
300
299
  name?: string | undefined;
301
300
  sortBy?: "email" | "createdAt" | "updatedAt" | "name" | "position" | undefined;
302
301
  sortOrder?: "ASC" | "DESC" | undefined;
302
+ phone?: string | undefined;
303
303
  clientId?: string | undefined;
304
304
  createdById?: string | undefined;
305
305
  }>;
@@ -315,69 +315,69 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
315
315
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
316
316
  director: z.ZodString;
317
317
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
- lastUpdatedBy: z.ZodObject<{
318
+ lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
319
319
  id: z.ZodString;
320
320
  firstName: z.ZodString;
321
321
  lastName: z.ZodString;
322
322
  email: z.ZodString;
323
323
  }, "strip", z.ZodTypeAny, {
324
- lastName: string;
324
+ id: string;
325
325
  firstName: string;
326
+ lastName: string;
326
327
  email: string;
327
- id: string;
328
328
  }, {
329
- lastName: string;
329
+ id: string;
330
330
  firstName: string;
331
+ lastName: string;
331
332
  email: string;
332
- id: string;
333
- }>;
333
+ }>>>;
334
334
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
335
335
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
336
- agentClientLinks: z.ZodObject<{
336
+ agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
337
337
  agentId: z.ZodString;
338
338
  }, "strip", z.ZodTypeAny, {
339
339
  agentId: string;
340
340
  }, {
341
341
  agentId: string;
342
- }>;
342
+ }>>>;
343
343
  }, "strip", z.ZodTypeAny, {
344
- createdAt: string;
345
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
344
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
346
345
  id: string;
346
+ createdAt: string;
347
347
  updatedAt: string;
348
348
  name: string;
349
349
  crn: string;
350
350
  govLink: string;
351
351
  director: string;
352
- lastUpdatedBy: {
353
- lastName: string;
352
+ blacklistReason?: string | null | undefined;
353
+ lastUpdatedBy?: {
354
+ id: string;
354
355
  firstName: string;
356
+ lastName: string;
355
357
  email: string;
356
- id: string;
357
- };
358
- agentClientLinks: {
358
+ } | null | undefined;
359
+ agentClientLinks?: {
359
360
  agentId: string;
360
- };
361
- blacklistReason?: string | null | undefined;
361
+ } | null | undefined;
362
362
  }, {
363
- createdAt: string | Date;
364
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
363
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
365
364
  id: string;
365
+ createdAt: string | Date;
366
366
  updatedAt: string | Date;
367
367
  name: string;
368
368
  crn: string;
369
369
  govLink: string;
370
370
  director: string;
371
- lastUpdatedBy: {
372
- lastName: string;
371
+ blacklistReason?: string | null | undefined;
372
+ lastUpdatedBy?: {
373
+ id: string;
373
374
  firstName: string;
375
+ lastName: string;
374
376
  email: string;
375
- id: string;
376
- };
377
- agentClientLinks: {
377
+ } | null | undefined;
378
+ agentClientLinks?: {
378
379
  agentId: string;
379
- };
380
- blacklistReason?: string | null | undefined;
380
+ } | null | undefined;
381
381
  }>;
382
382
  name: z.ZodString;
383
383
  position: z.ZodOptional<z.ZodString>;
@@ -390,90 +390,90 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
390
390
  lastName: z.ZodString;
391
391
  email: z.ZodString;
392
392
  }, "strip", z.ZodTypeAny, {
393
- lastName: string;
393
+ id: string;
394
394
  firstName: string;
395
+ lastName: string;
395
396
  email: string;
396
- id: string;
397
397
  }, {
398
- lastName: string;
398
+ id: string;
399
399
  firstName: string;
400
+ lastName: string;
400
401
  email: string;
401
- id: string;
402
402
  }>;
403
403
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
404
404
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
405
405
  }, "strip", z.ZodTypeAny, {
406
+ id: string;
406
407
  email: string;
407
- phone: string;
408
408
  createdAt: string;
409
- id: string;
410
409
  updatedAt: string;
411
410
  name: string;
412
- clientId: string;
411
+ phone: string;
413
412
  client: {
414
- createdAt: string;
415
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
413
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
416
414
  id: string;
415
+ createdAt: string;
417
416
  updatedAt: string;
418
417
  name: string;
419
418
  crn: string;
420
419
  govLink: string;
421
420
  director: string;
422
- lastUpdatedBy: {
423
- lastName: string;
421
+ blacklistReason?: string | null | undefined;
422
+ lastUpdatedBy?: {
423
+ id: string;
424
424
  firstName: string;
425
+ lastName: string;
425
426
  email: string;
426
- id: string;
427
- };
428
- agentClientLinks: {
427
+ } | null | undefined;
428
+ agentClientLinks?: {
429
429
  agentId: string;
430
- };
431
- blacklistReason?: string | null | undefined;
430
+ } | null | undefined;
432
431
  };
432
+ clientId: string;
433
433
  createdBy: {
434
- lastName: string;
434
+ id: string;
435
435
  firstName: string;
436
+ lastName: string;
436
437
  email: string;
437
- id: string;
438
438
  };
439
- position?: string | undefined;
440
439
  source?: string | undefined;
440
+ position?: string | undefined;
441
441
  }, {
442
+ id: string;
442
443
  email: string;
443
- phone: string;
444
444
  createdAt: string | Date;
445
- id: string;
446
445
  updatedAt: string | Date;
447
446
  name: string;
448
- clientId: string;
447
+ phone: string;
449
448
  client: {
450
- createdAt: string | Date;
451
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
449
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
452
450
  id: string;
451
+ createdAt: string | Date;
453
452
  updatedAt: string | Date;
454
453
  name: string;
455
454
  crn: string;
456
455
  govLink: string;
457
456
  director: string;
458
- lastUpdatedBy: {
459
- lastName: string;
457
+ blacklistReason?: string | null | undefined;
458
+ lastUpdatedBy?: {
459
+ id: string;
460
460
  firstName: string;
461
+ lastName: string;
461
462
  email: string;
462
- id: string;
463
- };
464
- agentClientLinks: {
463
+ } | null | undefined;
464
+ agentClientLinks?: {
465
465
  agentId: string;
466
- };
467
- blacklistReason?: string | null | undefined;
466
+ } | null | undefined;
468
467
  };
468
+ clientId: string;
469
469
  createdBy: {
470
- lastName: string;
470
+ id: string;
471
471
  firstName: string;
472
+ lastName: string;
472
473
  email: string;
473
- id: string;
474
474
  };
475
- position?: string | undefined;
476
475
  source?: string | undefined;
476
+ position?: string | undefined;
477
477
  }>, "many">;
478
478
  totalCount: z.ZodNumber;
479
479
  limit: z.ZodNumber;
@@ -483,41 +483,41 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
483
483
  }, "strip", z.ZodTypeAny, {
484
484
  limit: number;
485
485
  items: {
486
+ id: string;
486
487
  email: string;
487
- phone: string;
488
488
  createdAt: string;
489
- id: string;
490
489
  updatedAt: string;
491
490
  name: string;
492
- clientId: string;
491
+ phone: string;
493
492
  client: {
494
- createdAt: string;
495
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
493
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
496
494
  id: string;
495
+ createdAt: string;
497
496
  updatedAt: string;
498
497
  name: string;
499
498
  crn: string;
500
499
  govLink: string;
501
500
  director: string;
502
- lastUpdatedBy: {
503
- lastName: string;
501
+ blacklistReason?: string | null | undefined;
502
+ lastUpdatedBy?: {
503
+ id: string;
504
504
  firstName: string;
505
+ lastName: string;
505
506
  email: string;
506
- id: string;
507
- };
508
- agentClientLinks: {
507
+ } | null | undefined;
508
+ agentClientLinks?: {
509
509
  agentId: string;
510
- };
511
- blacklistReason?: string | null | undefined;
510
+ } | null | undefined;
512
511
  };
512
+ clientId: string;
513
513
  createdBy: {
514
- lastName: string;
514
+ id: string;
515
515
  firstName: string;
516
+ lastName: string;
516
517
  email: string;
517
- id: string;
518
518
  };
519
- position?: string | undefined;
520
519
  source?: string | undefined;
520
+ position?: string | undefined;
521
521
  }[];
522
522
  totalCount: number;
523
523
  skip: number;
@@ -526,41 +526,41 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
526
526
  }, {
527
527
  limit: number;
528
528
  items: {
529
+ id: string;
529
530
  email: string;
530
- phone: string;
531
531
  createdAt: string | Date;
532
- id: string;
533
532
  updatedAt: string | Date;
534
533
  name: string;
535
- clientId: string;
534
+ phone: string;
536
535
  client: {
537
- createdAt: string | Date;
538
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
536
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
539
537
  id: string;
538
+ createdAt: string | Date;
540
539
  updatedAt: string | Date;
541
540
  name: string;
542
541
  crn: string;
543
542
  govLink: string;
544
543
  director: string;
545
- lastUpdatedBy: {
546
- lastName: string;
544
+ blacklistReason?: string | null | undefined;
545
+ lastUpdatedBy?: {
546
+ id: string;
547
547
  firstName: string;
548
+ lastName: string;
548
549
  email: string;
549
- id: string;
550
- };
551
- agentClientLinks: {
550
+ } | null | undefined;
551
+ agentClientLinks?: {
552
552
  agentId: string;
553
- };
554
- blacklistReason?: string | null | undefined;
553
+ } | null | undefined;
555
554
  };
555
+ clientId: string;
556
556
  createdBy: {
557
- lastName: string;
557
+ id: string;
558
558
  firstName: string;
559
+ lastName: string;
559
560
  email: string;
560
- id: string;
561
561
  };
562
- position?: string | undefined;
563
562
  source?: string | undefined;
563
+ position?: string | undefined;
564
564
  }[];
565
565
  totalCount: number;
566
566
  skip: number;
@@ -597,22 +597,22 @@ export declare const clientContactsContractRouter: {
597
597
  source: z.ZodOptional<z.ZodString>;
598
598
  }, "strip", z.ZodTypeAny, {
599
599
  email: string;
600
- phone: string;
601
600
  name: string;
601
+ phone: string;
602
602
  client: {
603
603
  id: string;
604
604
  };
605
- position?: string | undefined;
606
605
  source?: string | undefined;
606
+ position?: string | undefined;
607
607
  }, {
608
608
  email: string;
609
- phone: string;
610
609
  name: string;
610
+ phone: string;
611
611
  client: {
612
612
  id: string;
613
613
  };
614
- position?: string | undefined;
615
614
  source?: string | undefined;
615
+ position?: string | undefined;
616
616
  }>;
617
617
  path: "/v2/client-contacts";
618
618
  responses: {
@@ -727,69 +727,69 @@ export declare const clientContactsContractRouter: {
727
727
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
728
728
  director: z.ZodString;
729
729
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
730
- lastUpdatedBy: z.ZodObject<{
730
+ lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
731
731
  id: z.ZodString;
732
732
  firstName: z.ZodString;
733
733
  lastName: z.ZodString;
734
734
  email: z.ZodString;
735
735
  }, "strip", z.ZodTypeAny, {
736
- lastName: string;
736
+ id: string;
737
737
  firstName: string;
738
+ lastName: string;
738
739
  email: string;
739
- id: string;
740
740
  }, {
741
- lastName: string;
741
+ id: string;
742
742
  firstName: string;
743
+ lastName: string;
743
744
  email: string;
744
- id: string;
745
- }>;
745
+ }>>>;
746
746
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
747
747
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
748
- agentClientLinks: z.ZodObject<{
748
+ agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
749
749
  agentId: z.ZodString;
750
750
  }, "strip", z.ZodTypeAny, {
751
751
  agentId: string;
752
752
  }, {
753
753
  agentId: string;
754
- }>;
754
+ }>>>;
755
755
  }, "strip", z.ZodTypeAny, {
756
- createdAt: string;
757
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
756
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
758
757
  id: string;
758
+ createdAt: string;
759
759
  updatedAt: string;
760
760
  name: string;
761
761
  crn: string;
762
762
  govLink: string;
763
763
  director: string;
764
- lastUpdatedBy: {
765
- lastName: string;
764
+ blacklistReason?: string | null | undefined;
765
+ lastUpdatedBy?: {
766
+ id: string;
766
767
  firstName: string;
768
+ lastName: string;
767
769
  email: string;
768
- id: string;
769
- };
770
- agentClientLinks: {
770
+ } | null | undefined;
771
+ agentClientLinks?: {
771
772
  agentId: string;
772
- };
773
- blacklistReason?: string | null | undefined;
773
+ } | null | undefined;
774
774
  }, {
775
- createdAt: string | Date;
776
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
775
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
777
776
  id: string;
777
+ createdAt: string | Date;
778
778
  updatedAt: string | Date;
779
779
  name: string;
780
780
  crn: string;
781
781
  govLink: string;
782
782
  director: string;
783
- lastUpdatedBy: {
784
- lastName: string;
783
+ blacklistReason?: string | null | undefined;
784
+ lastUpdatedBy?: {
785
+ id: string;
785
786
  firstName: string;
787
+ lastName: string;
786
788
  email: string;
787
- id: string;
788
- };
789
- agentClientLinks: {
789
+ } | null | undefined;
790
+ agentClientLinks?: {
790
791
  agentId: string;
791
- };
792
- blacklistReason?: string | null | undefined;
792
+ } | null | undefined;
793
793
  }>;
794
794
  name: z.ZodString;
795
795
  position: z.ZodOptional<z.ZodString>;
@@ -802,90 +802,90 @@ export declare const clientContactsContractRouter: {
802
802
  lastName: z.ZodString;
803
803
  email: z.ZodString;
804
804
  }, "strip", z.ZodTypeAny, {
805
- lastName: string;
805
+ id: string;
806
806
  firstName: string;
807
+ lastName: string;
807
808
  email: string;
808
- id: string;
809
809
  }, {
810
- lastName: string;
810
+ id: string;
811
811
  firstName: string;
812
+ lastName: string;
812
813
  email: string;
813
- id: string;
814
814
  }>;
815
815
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
816
816
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
817
817
  }, "strip", z.ZodTypeAny, {
818
+ id: string;
818
819
  email: string;
819
- phone: string;
820
820
  createdAt: string;
821
- id: string;
822
821
  updatedAt: string;
823
822
  name: string;
824
- clientId: string;
823
+ phone: string;
825
824
  client: {
826
- createdAt: string;
827
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
825
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
828
826
  id: string;
827
+ createdAt: string;
829
828
  updatedAt: string;
830
829
  name: string;
831
830
  crn: string;
832
831
  govLink: string;
833
832
  director: string;
834
- lastUpdatedBy: {
835
- lastName: string;
833
+ blacklistReason?: string | null | undefined;
834
+ lastUpdatedBy?: {
835
+ id: string;
836
836
  firstName: string;
837
+ lastName: string;
837
838
  email: string;
838
- id: string;
839
- };
840
- agentClientLinks: {
839
+ } | null | undefined;
840
+ agentClientLinks?: {
841
841
  agentId: string;
842
- };
843
- blacklistReason?: string | null | undefined;
842
+ } | null | undefined;
844
843
  };
844
+ clientId: string;
845
845
  createdBy: {
846
- lastName: string;
846
+ id: string;
847
847
  firstName: string;
848
+ lastName: string;
848
849
  email: string;
849
- id: string;
850
850
  };
851
- position?: string | undefined;
852
851
  source?: string | undefined;
852
+ position?: string | undefined;
853
853
  }, {
854
+ id: string;
854
855
  email: string;
855
- phone: string;
856
856
  createdAt: string | Date;
857
- id: string;
858
857
  updatedAt: string | Date;
859
858
  name: string;
860
- clientId: string;
859
+ phone: string;
861
860
  client: {
862
- createdAt: string | Date;
863
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
861
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
864
862
  id: string;
863
+ createdAt: string | Date;
865
864
  updatedAt: string | Date;
866
865
  name: string;
867
866
  crn: string;
868
867
  govLink: string;
869
868
  director: string;
870
- lastUpdatedBy: {
871
- lastName: string;
869
+ blacklistReason?: string | null | undefined;
870
+ lastUpdatedBy?: {
871
+ id: string;
872
872
  firstName: string;
873
+ lastName: string;
873
874
  email: string;
874
- id: string;
875
- };
876
- agentClientLinks: {
875
+ } | null | undefined;
876
+ agentClientLinks?: {
877
877
  agentId: string;
878
- };
879
- blacklistReason?: string | null | undefined;
878
+ } | null | undefined;
880
879
  };
880
+ clientId: string;
881
881
  createdBy: {
882
- lastName: string;
882
+ id: string;
883
883
  firstName: string;
884
+ lastName: string;
884
885
  email: string;
885
- id: string;
886
886
  };
887
- position?: string | undefined;
888
887
  source?: string | undefined;
888
+ position?: string | undefined;
889
889
  }>;
890
890
  409: z.ZodObject<{
891
891
  statusCode: z.ZodNumber;
@@ -942,16 +942,16 @@ export declare const clientContactsContractRouter: {
942
942
  source: z.ZodOptional<z.ZodString>;
943
943
  }, "client">, "strip", z.ZodTypeAny, {
944
944
  email: string;
945
- phone: string;
946
945
  name: string;
947
- position?: string | undefined;
946
+ phone: string;
948
947
  source?: string | undefined;
948
+ position?: string | undefined;
949
949
  }, {
950
950
  email: string;
951
- phone: string;
952
951
  name: string;
953
- position?: string | undefined;
952
+ phone: string;
954
953
  source?: string | undefined;
954
+ position?: string | undefined;
955
955
  }>;
956
956
  path: "/v2/client-contacts/client/:clientId";
957
957
  responses: {
@@ -1066,69 +1066,69 @@ export declare const clientContactsContractRouter: {
1066
1066
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1067
1067
  director: z.ZodString;
1068
1068
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
- lastUpdatedBy: z.ZodObject<{
1069
+ lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1070
1070
  id: z.ZodString;
1071
1071
  firstName: z.ZodString;
1072
1072
  lastName: z.ZodString;
1073
1073
  email: z.ZodString;
1074
1074
  }, "strip", z.ZodTypeAny, {
1075
- lastName: string;
1075
+ id: string;
1076
1076
  firstName: string;
1077
+ lastName: string;
1077
1078
  email: string;
1078
- id: string;
1079
1079
  }, {
1080
- lastName: string;
1080
+ id: string;
1081
1081
  firstName: string;
1082
+ lastName: string;
1082
1083
  email: string;
1083
- id: string;
1084
- }>;
1084
+ }>>>;
1085
1085
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1086
1086
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1087
- agentClientLinks: z.ZodObject<{
1087
+ agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1088
1088
  agentId: z.ZodString;
1089
1089
  }, "strip", z.ZodTypeAny, {
1090
1090
  agentId: string;
1091
1091
  }, {
1092
1092
  agentId: string;
1093
- }>;
1093
+ }>>>;
1094
1094
  }, "strip", z.ZodTypeAny, {
1095
- createdAt: string;
1096
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1095
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1097
1096
  id: string;
1097
+ createdAt: string;
1098
1098
  updatedAt: string;
1099
1099
  name: string;
1100
1100
  crn: string;
1101
1101
  govLink: string;
1102
1102
  director: string;
1103
- lastUpdatedBy: {
1104
- lastName: string;
1103
+ blacklistReason?: string | null | undefined;
1104
+ lastUpdatedBy?: {
1105
+ id: string;
1105
1106
  firstName: string;
1107
+ lastName: string;
1106
1108
  email: string;
1107
- id: string;
1108
- };
1109
- agentClientLinks: {
1109
+ } | null | undefined;
1110
+ agentClientLinks?: {
1110
1111
  agentId: string;
1111
- };
1112
- blacklistReason?: string | null | undefined;
1112
+ } | null | undefined;
1113
1113
  }, {
1114
- createdAt: string | Date;
1115
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1114
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1116
1115
  id: string;
1116
+ createdAt: string | Date;
1117
1117
  updatedAt: string | Date;
1118
1118
  name: string;
1119
1119
  crn: string;
1120
1120
  govLink: string;
1121
1121
  director: string;
1122
- lastUpdatedBy: {
1123
- lastName: string;
1122
+ blacklistReason?: string | null | undefined;
1123
+ lastUpdatedBy?: {
1124
+ id: string;
1124
1125
  firstName: string;
1126
+ lastName: string;
1125
1127
  email: string;
1126
- id: string;
1127
- };
1128
- agentClientLinks: {
1128
+ } | null | undefined;
1129
+ agentClientLinks?: {
1129
1130
  agentId: string;
1130
- };
1131
- blacklistReason?: string | null | undefined;
1131
+ } | null | undefined;
1132
1132
  }>;
1133
1133
  name: z.ZodString;
1134
1134
  position: z.ZodOptional<z.ZodString>;
@@ -1141,90 +1141,90 @@ export declare const clientContactsContractRouter: {
1141
1141
  lastName: z.ZodString;
1142
1142
  email: z.ZodString;
1143
1143
  }, "strip", z.ZodTypeAny, {
1144
- lastName: string;
1144
+ id: string;
1145
1145
  firstName: string;
1146
+ lastName: string;
1146
1147
  email: string;
1147
- id: string;
1148
1148
  }, {
1149
- lastName: string;
1149
+ id: string;
1150
1150
  firstName: string;
1151
+ lastName: string;
1151
1152
  email: string;
1152
- id: string;
1153
1153
  }>;
1154
1154
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1155
1155
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1156
1156
  }, "strip", z.ZodTypeAny, {
1157
+ id: string;
1157
1158
  email: string;
1158
- phone: string;
1159
1159
  createdAt: string;
1160
- id: string;
1161
1160
  updatedAt: string;
1162
1161
  name: string;
1163
- clientId: string;
1162
+ phone: string;
1164
1163
  client: {
1165
- createdAt: string;
1166
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1164
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1167
1165
  id: string;
1166
+ createdAt: string;
1168
1167
  updatedAt: string;
1169
1168
  name: string;
1170
1169
  crn: string;
1171
1170
  govLink: string;
1172
1171
  director: string;
1173
- lastUpdatedBy: {
1174
- lastName: string;
1172
+ blacklistReason?: string | null | undefined;
1173
+ lastUpdatedBy?: {
1174
+ id: string;
1175
1175
  firstName: string;
1176
+ lastName: string;
1176
1177
  email: string;
1177
- id: string;
1178
- };
1179
- agentClientLinks: {
1178
+ } | null | undefined;
1179
+ agentClientLinks?: {
1180
1180
  agentId: string;
1181
- };
1182
- blacklistReason?: string | null | undefined;
1181
+ } | null | undefined;
1183
1182
  };
1183
+ clientId: string;
1184
1184
  createdBy: {
1185
- lastName: string;
1185
+ id: string;
1186
1186
  firstName: string;
1187
+ lastName: string;
1187
1188
  email: string;
1188
- id: string;
1189
1189
  };
1190
- position?: string | undefined;
1191
1190
  source?: string | undefined;
1191
+ position?: string | undefined;
1192
1192
  }, {
1193
+ id: string;
1193
1194
  email: string;
1194
- phone: string;
1195
1195
  createdAt: string | Date;
1196
- id: string;
1197
1196
  updatedAt: string | Date;
1198
1197
  name: string;
1199
- clientId: string;
1198
+ phone: string;
1200
1199
  client: {
1201
- createdAt: string | Date;
1202
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1200
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1203
1201
  id: string;
1202
+ createdAt: string | Date;
1204
1203
  updatedAt: string | Date;
1205
1204
  name: string;
1206
1205
  crn: string;
1207
1206
  govLink: string;
1208
1207
  director: string;
1209
- lastUpdatedBy: {
1210
- lastName: string;
1208
+ blacklistReason?: string | null | undefined;
1209
+ lastUpdatedBy?: {
1210
+ id: string;
1211
1211
  firstName: string;
1212
+ lastName: string;
1212
1213
  email: string;
1213
- id: string;
1214
- };
1215
- agentClientLinks: {
1214
+ } | null | undefined;
1215
+ agentClientLinks?: {
1216
1216
  agentId: string;
1217
- };
1218
- blacklistReason?: string | null | undefined;
1217
+ } | null | undefined;
1219
1218
  };
1219
+ clientId: string;
1220
1220
  createdBy: {
1221
- lastName: string;
1221
+ id: string;
1222
1222
  firstName: string;
1223
+ lastName: string;
1223
1224
  email: string;
1224
- id: string;
1225
1225
  };
1226
- position?: string | undefined;
1227
1226
  source?: string | undefined;
1227
+ position?: string | undefined;
1228
1228
  }>;
1229
1229
  409: z.ZodObject<{
1230
1230
  statusCode: z.ZodNumber;
@@ -1254,9 +1254,6 @@ export declare const clientContactsContractRouter: {
1254
1254
  };
1255
1255
  };
1256
1256
  findAll: {
1257
- metadata: {
1258
- tags: string[];
1259
- };
1260
1257
  query: z.ZodObject<{
1261
1258
  limit: z.ZodDefault<z.ZodNumber>;
1262
1259
  page: z.ZodDefault<z.ZodNumber>;
@@ -1274,21 +1271,24 @@ export declare const clientContactsContractRouter: {
1274
1271
  sortBy: "email" | "createdAt" | "updatedAt" | "name" | "position";
1275
1272
  sortOrder: "ASC" | "DESC";
1276
1273
  email?: string | undefined;
1277
- phone?: string | undefined;
1278
1274
  name?: string | undefined;
1275
+ phone?: string | undefined;
1279
1276
  clientId?: string | undefined;
1280
1277
  createdById?: string | undefined;
1281
1278
  }, {
1282
1279
  email?: string | undefined;
1283
- phone?: string | undefined;
1284
1280
  limit?: number | undefined;
1285
1281
  page?: number | undefined;
1286
1282
  name?: string | undefined;
1287
1283
  sortBy?: "email" | "createdAt" | "updatedAt" | "name" | "position" | undefined;
1288
1284
  sortOrder?: "ASC" | "DESC" | undefined;
1285
+ phone?: string | undefined;
1289
1286
  clientId?: string | undefined;
1290
1287
  createdById?: string | undefined;
1291
1288
  }>;
1289
+ metadata: {
1290
+ tags: string[];
1291
+ };
1292
1292
  summary: "Get all client contacts";
1293
1293
  method: "GET";
1294
1294
  path: "/v2/client-contacts";
@@ -1405,69 +1405,69 @@ export declare const clientContactsContractRouter: {
1405
1405
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1406
1406
  director: z.ZodString;
1407
1407
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1408
- lastUpdatedBy: z.ZodObject<{
1408
+ lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1409
1409
  id: z.ZodString;
1410
1410
  firstName: z.ZodString;
1411
1411
  lastName: z.ZodString;
1412
1412
  email: z.ZodString;
1413
1413
  }, "strip", z.ZodTypeAny, {
1414
- lastName: string;
1414
+ id: string;
1415
1415
  firstName: string;
1416
+ lastName: string;
1416
1417
  email: string;
1417
- id: string;
1418
1418
  }, {
1419
- lastName: string;
1419
+ id: string;
1420
1420
  firstName: string;
1421
+ lastName: string;
1421
1422
  email: string;
1422
- id: string;
1423
- }>;
1423
+ }>>>;
1424
1424
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1425
1425
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1426
- agentClientLinks: z.ZodObject<{
1426
+ agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1427
1427
  agentId: z.ZodString;
1428
1428
  }, "strip", z.ZodTypeAny, {
1429
1429
  agentId: string;
1430
1430
  }, {
1431
1431
  agentId: string;
1432
- }>;
1432
+ }>>>;
1433
1433
  }, "strip", z.ZodTypeAny, {
1434
- createdAt: string;
1435
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1434
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1436
1435
  id: string;
1436
+ createdAt: string;
1437
1437
  updatedAt: string;
1438
1438
  name: string;
1439
1439
  crn: string;
1440
1440
  govLink: string;
1441
1441
  director: string;
1442
- lastUpdatedBy: {
1443
- lastName: string;
1442
+ blacklistReason?: string | null | undefined;
1443
+ lastUpdatedBy?: {
1444
+ id: string;
1444
1445
  firstName: string;
1446
+ lastName: string;
1445
1447
  email: string;
1446
- id: string;
1447
- };
1448
- agentClientLinks: {
1448
+ } | null | undefined;
1449
+ agentClientLinks?: {
1449
1450
  agentId: string;
1450
- };
1451
- blacklistReason?: string | null | undefined;
1451
+ } | null | undefined;
1452
1452
  }, {
1453
- createdAt: string | Date;
1454
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1453
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1455
1454
  id: string;
1455
+ createdAt: string | Date;
1456
1456
  updatedAt: string | Date;
1457
1457
  name: string;
1458
1458
  crn: string;
1459
1459
  govLink: string;
1460
1460
  director: string;
1461
- lastUpdatedBy: {
1462
- lastName: string;
1461
+ blacklistReason?: string | null | undefined;
1462
+ lastUpdatedBy?: {
1463
+ id: string;
1463
1464
  firstName: string;
1465
+ lastName: string;
1464
1466
  email: string;
1465
- id: string;
1466
- };
1467
- agentClientLinks: {
1467
+ } | null | undefined;
1468
+ agentClientLinks?: {
1468
1469
  agentId: string;
1469
- };
1470
- blacklistReason?: string | null | undefined;
1470
+ } | null | undefined;
1471
1471
  }>;
1472
1472
  name: z.ZodString;
1473
1473
  position: z.ZodOptional<z.ZodString>;
@@ -1480,90 +1480,90 @@ export declare const clientContactsContractRouter: {
1480
1480
  lastName: z.ZodString;
1481
1481
  email: z.ZodString;
1482
1482
  }, "strip", z.ZodTypeAny, {
1483
- lastName: string;
1483
+ id: string;
1484
1484
  firstName: string;
1485
+ lastName: string;
1485
1486
  email: string;
1486
- id: string;
1487
1487
  }, {
1488
- lastName: string;
1488
+ id: string;
1489
1489
  firstName: string;
1490
+ lastName: string;
1490
1491
  email: string;
1491
- id: string;
1492
1492
  }>;
1493
1493
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1494
1494
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1495
1495
  }, "strip", z.ZodTypeAny, {
1496
+ id: string;
1496
1497
  email: string;
1497
- phone: string;
1498
1498
  createdAt: string;
1499
- id: string;
1500
1499
  updatedAt: string;
1501
1500
  name: string;
1502
- clientId: string;
1501
+ phone: string;
1503
1502
  client: {
1504
- createdAt: string;
1505
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1503
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1506
1504
  id: string;
1505
+ createdAt: string;
1507
1506
  updatedAt: string;
1508
1507
  name: string;
1509
1508
  crn: string;
1510
1509
  govLink: string;
1511
1510
  director: string;
1512
- lastUpdatedBy: {
1513
- lastName: string;
1511
+ blacklistReason?: string | null | undefined;
1512
+ lastUpdatedBy?: {
1513
+ id: string;
1514
1514
  firstName: string;
1515
+ lastName: string;
1515
1516
  email: string;
1516
- id: string;
1517
- };
1518
- agentClientLinks: {
1517
+ } | null | undefined;
1518
+ agentClientLinks?: {
1519
1519
  agentId: string;
1520
- };
1521
- blacklistReason?: string | null | undefined;
1520
+ } | null | undefined;
1522
1521
  };
1522
+ clientId: string;
1523
1523
  createdBy: {
1524
- lastName: string;
1524
+ id: string;
1525
1525
  firstName: string;
1526
+ lastName: string;
1526
1527
  email: string;
1527
- id: string;
1528
1528
  };
1529
- position?: string | undefined;
1530
1529
  source?: string | undefined;
1530
+ position?: string | undefined;
1531
1531
  }, {
1532
+ id: string;
1532
1533
  email: string;
1533
- phone: string;
1534
1534
  createdAt: string | Date;
1535
- id: string;
1536
1535
  updatedAt: string | Date;
1537
1536
  name: string;
1538
- clientId: string;
1537
+ phone: string;
1539
1538
  client: {
1540
- createdAt: string | Date;
1541
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1539
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1542
1540
  id: string;
1541
+ createdAt: string | Date;
1543
1542
  updatedAt: string | Date;
1544
1543
  name: string;
1545
1544
  crn: string;
1546
1545
  govLink: string;
1547
1546
  director: string;
1548
- lastUpdatedBy: {
1549
- lastName: string;
1547
+ blacklistReason?: string | null | undefined;
1548
+ lastUpdatedBy?: {
1549
+ id: string;
1550
1550
  firstName: string;
1551
+ lastName: string;
1551
1552
  email: string;
1552
- id: string;
1553
- };
1554
- agentClientLinks: {
1553
+ } | null | undefined;
1554
+ agentClientLinks?: {
1555
1555
  agentId: string;
1556
- };
1557
- blacklistReason?: string | null | undefined;
1556
+ } | null | undefined;
1558
1557
  };
1558
+ clientId: string;
1559
1559
  createdBy: {
1560
- lastName: string;
1560
+ id: string;
1561
1561
  firstName: string;
1562
+ lastName: string;
1562
1563
  email: string;
1563
- id: string;
1564
1564
  };
1565
- position?: string | undefined;
1566
1565
  source?: string | undefined;
1566
+ position?: string | undefined;
1567
1567
  }>, "many">;
1568
1568
  totalCount: z.ZodNumber;
1569
1569
  limit: z.ZodNumber;
@@ -1573,41 +1573,41 @@ export declare const clientContactsContractRouter: {
1573
1573
  }, "strip", z.ZodTypeAny, {
1574
1574
  limit: number;
1575
1575
  items: {
1576
+ id: string;
1576
1577
  email: string;
1577
- phone: string;
1578
1578
  createdAt: string;
1579
- id: string;
1580
1579
  updatedAt: string;
1581
1580
  name: string;
1582
- clientId: string;
1581
+ phone: string;
1583
1582
  client: {
1584
- createdAt: string;
1585
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1583
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1586
1584
  id: string;
1585
+ createdAt: string;
1587
1586
  updatedAt: string;
1588
1587
  name: string;
1589
1588
  crn: string;
1590
1589
  govLink: string;
1591
1590
  director: string;
1592
- lastUpdatedBy: {
1593
- lastName: string;
1591
+ blacklistReason?: string | null | undefined;
1592
+ lastUpdatedBy?: {
1593
+ id: string;
1594
1594
  firstName: string;
1595
+ lastName: string;
1595
1596
  email: string;
1596
- id: string;
1597
- };
1598
- agentClientLinks: {
1597
+ } | null | undefined;
1598
+ agentClientLinks?: {
1599
1599
  agentId: string;
1600
- };
1601
- blacklistReason?: string | null | undefined;
1600
+ } | null | undefined;
1602
1601
  };
1602
+ clientId: string;
1603
1603
  createdBy: {
1604
- lastName: string;
1604
+ id: string;
1605
1605
  firstName: string;
1606
+ lastName: string;
1606
1607
  email: string;
1607
- id: string;
1608
1608
  };
1609
- position?: string | undefined;
1610
1609
  source?: string | undefined;
1610
+ position?: string | undefined;
1611
1611
  }[];
1612
1612
  totalCount: number;
1613
1613
  skip: number;
@@ -1616,41 +1616,41 @@ export declare const clientContactsContractRouter: {
1616
1616
  }, {
1617
1617
  limit: number;
1618
1618
  items: {
1619
+ id: string;
1619
1620
  email: string;
1620
- phone: string;
1621
1621
  createdAt: string | Date;
1622
- id: string;
1623
1622
  updatedAt: string | Date;
1624
1623
  name: string;
1625
- clientId: string;
1624
+ phone: string;
1626
1625
  client: {
1627
- createdAt: string | Date;
1628
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1626
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1629
1627
  id: string;
1628
+ createdAt: string | Date;
1630
1629
  updatedAt: string | Date;
1631
1630
  name: string;
1632
1631
  crn: string;
1633
1632
  govLink: string;
1634
1633
  director: string;
1635
- lastUpdatedBy: {
1636
- lastName: string;
1634
+ blacklistReason?: string | null | undefined;
1635
+ lastUpdatedBy?: {
1636
+ id: string;
1637
1637
  firstName: string;
1638
+ lastName: string;
1638
1639
  email: string;
1639
- id: string;
1640
- };
1641
- agentClientLinks: {
1640
+ } | null | undefined;
1641
+ agentClientLinks?: {
1642
1642
  agentId: string;
1643
- };
1644
- blacklistReason?: string | null | undefined;
1643
+ } | null | undefined;
1645
1644
  };
1645
+ clientId: string;
1646
1646
  createdBy: {
1647
- lastName: string;
1647
+ id: string;
1648
1648
  firstName: string;
1649
+ lastName: string;
1649
1650
  email: string;
1650
- id: string;
1651
1651
  };
1652
- position?: string | undefined;
1653
1652
  source?: string | undefined;
1653
+ position?: string | undefined;
1654
1654
  }[];
1655
1655
  totalCount: number;
1656
1656
  skip: number;
@@ -1785,69 +1785,69 @@ export declare const clientContactsContractRouter: {
1785
1785
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1786
1786
  director: z.ZodString;
1787
1787
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1788
- lastUpdatedBy: z.ZodObject<{
1788
+ lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1789
1789
  id: z.ZodString;
1790
1790
  firstName: z.ZodString;
1791
1791
  lastName: z.ZodString;
1792
1792
  email: z.ZodString;
1793
1793
  }, "strip", z.ZodTypeAny, {
1794
- lastName: string;
1794
+ id: string;
1795
1795
  firstName: string;
1796
+ lastName: string;
1796
1797
  email: string;
1797
- id: string;
1798
1798
  }, {
1799
- lastName: string;
1799
+ id: string;
1800
1800
  firstName: string;
1801
+ lastName: string;
1801
1802
  email: string;
1802
- id: string;
1803
- }>;
1803
+ }>>>;
1804
1804
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1805
1805
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1806
- agentClientLinks: z.ZodObject<{
1806
+ agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1807
1807
  agentId: z.ZodString;
1808
1808
  }, "strip", z.ZodTypeAny, {
1809
1809
  agentId: string;
1810
1810
  }, {
1811
1811
  agentId: string;
1812
- }>;
1812
+ }>>>;
1813
1813
  }, "strip", z.ZodTypeAny, {
1814
- createdAt: string;
1815
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1814
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1816
1815
  id: string;
1816
+ createdAt: string;
1817
1817
  updatedAt: string;
1818
1818
  name: string;
1819
1819
  crn: string;
1820
1820
  govLink: string;
1821
1821
  director: string;
1822
- lastUpdatedBy: {
1823
- lastName: string;
1822
+ blacklistReason?: string | null | undefined;
1823
+ lastUpdatedBy?: {
1824
+ id: string;
1824
1825
  firstName: string;
1826
+ lastName: string;
1825
1827
  email: string;
1826
- id: string;
1827
- };
1828
- agentClientLinks: {
1828
+ } | null | undefined;
1829
+ agentClientLinks?: {
1829
1830
  agentId: string;
1830
- };
1831
- blacklistReason?: string | null | undefined;
1831
+ } | null | undefined;
1832
1832
  }, {
1833
- createdAt: string | Date;
1834
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1833
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1835
1834
  id: string;
1835
+ createdAt: string | Date;
1836
1836
  updatedAt: string | Date;
1837
1837
  name: string;
1838
1838
  crn: string;
1839
1839
  govLink: string;
1840
1840
  director: string;
1841
- lastUpdatedBy: {
1842
- lastName: string;
1841
+ blacklistReason?: string | null | undefined;
1842
+ lastUpdatedBy?: {
1843
+ id: string;
1843
1844
  firstName: string;
1845
+ lastName: string;
1844
1846
  email: string;
1845
- id: string;
1846
- };
1847
- agentClientLinks: {
1847
+ } | null | undefined;
1848
+ agentClientLinks?: {
1848
1849
  agentId: string;
1849
- };
1850
- blacklistReason?: string | null | undefined;
1850
+ } | null | undefined;
1851
1851
  }>;
1852
1852
  name: z.ZodString;
1853
1853
  position: z.ZodOptional<z.ZodString>;
@@ -1860,90 +1860,90 @@ export declare const clientContactsContractRouter: {
1860
1860
  lastName: z.ZodString;
1861
1861
  email: z.ZodString;
1862
1862
  }, "strip", z.ZodTypeAny, {
1863
- lastName: string;
1863
+ id: string;
1864
1864
  firstName: string;
1865
+ lastName: string;
1865
1866
  email: string;
1866
- id: string;
1867
1867
  }, {
1868
- lastName: string;
1868
+ id: string;
1869
1869
  firstName: string;
1870
+ lastName: string;
1870
1871
  email: string;
1871
- id: string;
1872
1872
  }>;
1873
1873
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1874
1874
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1875
1875
  }, "strip", z.ZodTypeAny, {
1876
+ id: string;
1876
1877
  email: string;
1877
- phone: string;
1878
1878
  createdAt: string;
1879
- id: string;
1880
1879
  updatedAt: string;
1881
1880
  name: string;
1882
- clientId: string;
1881
+ phone: string;
1883
1882
  client: {
1884
- createdAt: string;
1885
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1883
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1886
1884
  id: string;
1885
+ createdAt: string;
1887
1886
  updatedAt: string;
1888
1887
  name: string;
1889
1888
  crn: string;
1890
1889
  govLink: string;
1891
1890
  director: string;
1892
- lastUpdatedBy: {
1893
- lastName: string;
1891
+ blacklistReason?: string | null | undefined;
1892
+ lastUpdatedBy?: {
1893
+ id: string;
1894
1894
  firstName: string;
1895
+ lastName: string;
1895
1896
  email: string;
1896
- id: string;
1897
- };
1898
- agentClientLinks: {
1897
+ } | null | undefined;
1898
+ agentClientLinks?: {
1899
1899
  agentId: string;
1900
- };
1901
- blacklistReason?: string | null | undefined;
1900
+ } | null | undefined;
1902
1901
  };
1902
+ clientId: string;
1903
1903
  createdBy: {
1904
- lastName: string;
1904
+ id: string;
1905
1905
  firstName: string;
1906
+ lastName: string;
1906
1907
  email: string;
1907
- id: string;
1908
1908
  };
1909
- position?: string | undefined;
1910
1909
  source?: string | undefined;
1910
+ position?: string | undefined;
1911
1911
  }, {
1912
+ id: string;
1912
1913
  email: string;
1913
- phone: string;
1914
1914
  createdAt: string | Date;
1915
- id: string;
1916
1915
  updatedAt: string | Date;
1917
1916
  name: string;
1918
- clientId: string;
1917
+ phone: string;
1919
1918
  client: {
1920
- createdAt: string | Date;
1921
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1919
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1922
1920
  id: string;
1921
+ createdAt: string | Date;
1923
1922
  updatedAt: string | Date;
1924
1923
  name: string;
1925
1924
  crn: string;
1926
1925
  govLink: string;
1927
1926
  director: string;
1928
- lastUpdatedBy: {
1929
- lastName: string;
1927
+ blacklistReason?: string | null | undefined;
1928
+ lastUpdatedBy?: {
1929
+ id: string;
1930
1930
  firstName: string;
1931
+ lastName: string;
1931
1932
  email: string;
1932
- id: string;
1933
- };
1934
- agentClientLinks: {
1933
+ } | null | undefined;
1934
+ agentClientLinks?: {
1935
1935
  agentId: string;
1936
- };
1937
- blacklistReason?: string | null | undefined;
1936
+ } | null | undefined;
1938
1937
  };
1938
+ clientId: string;
1939
1939
  createdBy: {
1940
- lastName: string;
1940
+ id: string;
1941
1941
  firstName: string;
1942
+ lastName: string;
1942
1943
  email: string;
1943
- id: string;
1944
1944
  };
1945
- position?: string | undefined;
1946
1945
  source?: string | undefined;
1946
+ position?: string | undefined;
1947
1947
  }>;
1948
1948
  404: z.ZodObject<{
1949
1949
  statusCode: z.ZodNumber;
@@ -2000,16 +2000,16 @@ export declare const clientContactsContractRouter: {
2000
2000
  source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2001
2001
  }, "client">, "strip", z.ZodTypeAny, {
2002
2002
  email?: string | undefined;
2003
- phone?: string | undefined;
2004
2003
  name?: string | undefined;
2005
- position?: string | undefined;
2006
2004
  source?: string | undefined;
2005
+ phone?: string | undefined;
2006
+ position?: string | undefined;
2007
2007
  }, {
2008
2008
  email?: string | undefined;
2009
- phone?: string | undefined;
2010
2009
  name?: string | undefined;
2011
- position?: string | undefined;
2012
2010
  source?: string | undefined;
2011
+ phone?: string | undefined;
2012
+ position?: string | undefined;
2013
2013
  }>;
2014
2014
  path: "/v2/client-contacts/:contactId";
2015
2015
  responses: {
@@ -2124,69 +2124,69 @@ export declare const clientContactsContractRouter: {
2124
2124
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
2125
2125
  director: z.ZodString;
2126
2126
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2127
- lastUpdatedBy: z.ZodObject<{
2127
+ lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2128
2128
  id: z.ZodString;
2129
2129
  firstName: z.ZodString;
2130
2130
  lastName: z.ZodString;
2131
2131
  email: z.ZodString;
2132
2132
  }, "strip", z.ZodTypeAny, {
2133
- lastName: string;
2133
+ id: string;
2134
2134
  firstName: string;
2135
+ lastName: string;
2135
2136
  email: string;
2136
- id: string;
2137
2137
  }, {
2138
- lastName: string;
2138
+ id: string;
2139
2139
  firstName: string;
2140
+ lastName: string;
2140
2141
  email: string;
2141
- id: string;
2142
- }>;
2142
+ }>>>;
2143
2143
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2144
2144
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2145
- agentClientLinks: z.ZodObject<{
2145
+ agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2146
2146
  agentId: z.ZodString;
2147
2147
  }, "strip", z.ZodTypeAny, {
2148
2148
  agentId: string;
2149
2149
  }, {
2150
2150
  agentId: string;
2151
- }>;
2151
+ }>>>;
2152
2152
  }, "strip", z.ZodTypeAny, {
2153
- createdAt: string;
2154
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2153
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2155
2154
  id: string;
2155
+ createdAt: string;
2156
2156
  updatedAt: string;
2157
2157
  name: string;
2158
2158
  crn: string;
2159
2159
  govLink: string;
2160
2160
  director: string;
2161
- lastUpdatedBy: {
2162
- lastName: string;
2161
+ blacklistReason?: string | null | undefined;
2162
+ lastUpdatedBy?: {
2163
+ id: string;
2163
2164
  firstName: string;
2165
+ lastName: string;
2164
2166
  email: string;
2165
- id: string;
2166
- };
2167
- agentClientLinks: {
2167
+ } | null | undefined;
2168
+ agentClientLinks?: {
2168
2169
  agentId: string;
2169
- };
2170
- blacklistReason?: string | null | undefined;
2170
+ } | null | undefined;
2171
2171
  }, {
2172
- createdAt: string | Date;
2173
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2172
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2174
2173
  id: string;
2174
+ createdAt: string | Date;
2175
2175
  updatedAt: string | Date;
2176
2176
  name: string;
2177
2177
  crn: string;
2178
2178
  govLink: string;
2179
2179
  director: string;
2180
- lastUpdatedBy: {
2181
- lastName: string;
2180
+ blacklistReason?: string | null | undefined;
2181
+ lastUpdatedBy?: {
2182
+ id: string;
2182
2183
  firstName: string;
2184
+ lastName: string;
2183
2185
  email: string;
2184
- id: string;
2185
- };
2186
- agentClientLinks: {
2186
+ } | null | undefined;
2187
+ agentClientLinks?: {
2187
2188
  agentId: string;
2188
- };
2189
- blacklistReason?: string | null | undefined;
2189
+ } | null | undefined;
2190
2190
  }>;
2191
2191
  name: z.ZodString;
2192
2192
  position: z.ZodOptional<z.ZodString>;
@@ -2199,90 +2199,90 @@ export declare const clientContactsContractRouter: {
2199
2199
  lastName: z.ZodString;
2200
2200
  email: z.ZodString;
2201
2201
  }, "strip", z.ZodTypeAny, {
2202
- lastName: string;
2202
+ id: string;
2203
2203
  firstName: string;
2204
+ lastName: string;
2204
2205
  email: string;
2205
- id: string;
2206
2206
  }, {
2207
- lastName: string;
2207
+ id: string;
2208
2208
  firstName: string;
2209
+ lastName: string;
2209
2210
  email: string;
2210
- id: string;
2211
2211
  }>;
2212
2212
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2213
2213
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2214
2214
  }, "strip", z.ZodTypeAny, {
2215
+ id: string;
2215
2216
  email: string;
2216
- phone: string;
2217
2217
  createdAt: string;
2218
- id: string;
2219
2218
  updatedAt: string;
2220
2219
  name: string;
2221
- clientId: string;
2220
+ phone: string;
2222
2221
  client: {
2223
- createdAt: string;
2224
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2222
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2225
2223
  id: string;
2224
+ createdAt: string;
2226
2225
  updatedAt: string;
2227
2226
  name: string;
2228
2227
  crn: string;
2229
2228
  govLink: string;
2230
2229
  director: string;
2231
- lastUpdatedBy: {
2232
- lastName: string;
2230
+ blacklistReason?: string | null | undefined;
2231
+ lastUpdatedBy?: {
2232
+ id: string;
2233
2233
  firstName: string;
2234
+ lastName: string;
2234
2235
  email: string;
2235
- id: string;
2236
- };
2237
- agentClientLinks: {
2236
+ } | null | undefined;
2237
+ agentClientLinks?: {
2238
2238
  agentId: string;
2239
- };
2240
- blacklistReason?: string | null | undefined;
2239
+ } | null | undefined;
2241
2240
  };
2241
+ clientId: string;
2242
2242
  createdBy: {
2243
- lastName: string;
2243
+ id: string;
2244
2244
  firstName: string;
2245
+ lastName: string;
2245
2246
  email: string;
2246
- id: string;
2247
2247
  };
2248
- position?: string | undefined;
2249
2248
  source?: string | undefined;
2249
+ position?: string | undefined;
2250
2250
  }, {
2251
+ id: string;
2251
2252
  email: string;
2252
- phone: string;
2253
2253
  createdAt: string | Date;
2254
- id: string;
2255
2254
  updatedAt: string | Date;
2256
2255
  name: string;
2257
- clientId: string;
2256
+ phone: string;
2258
2257
  client: {
2259
- createdAt: string | Date;
2260
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2258
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2261
2259
  id: string;
2260
+ createdAt: string | Date;
2262
2261
  updatedAt: string | Date;
2263
2262
  name: string;
2264
2263
  crn: string;
2265
2264
  govLink: string;
2266
2265
  director: string;
2267
- lastUpdatedBy: {
2268
- lastName: string;
2266
+ blacklistReason?: string | null | undefined;
2267
+ lastUpdatedBy?: {
2268
+ id: string;
2269
2269
  firstName: string;
2270
+ lastName: string;
2270
2271
  email: string;
2271
- id: string;
2272
- };
2273
- agentClientLinks: {
2272
+ } | null | undefined;
2273
+ agentClientLinks?: {
2274
2274
  agentId: string;
2275
- };
2276
- blacklistReason?: string | null | undefined;
2275
+ } | null | undefined;
2277
2276
  };
2277
+ clientId: string;
2278
2278
  createdBy: {
2279
- lastName: string;
2279
+ id: string;
2280
2280
  firstName: string;
2281
+ lastName: string;
2281
2282
  email: string;
2282
- id: string;
2283
2283
  };
2284
- position?: string | undefined;
2285
2284
  source?: string | undefined;
2285
+ position?: string | undefined;
2286
2286
  }>;
2287
2287
  404: z.ZodObject<{
2288
2288
  statusCode: z.ZodNumber;