@dakkitor/api-contracts 1.1.135 → 1.1.137

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 (42) hide show
  1. package/dist/abilities/abilities.contract.d.ts +13 -19
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +18 -33
  4. package/dist/abilities/admin.abilities.json +10 -0
  5. package/dist/abilities/first-agent.abilities.json +17 -2
  6. package/dist/abilities/second-agent.abilities.json +9 -1
  7. package/dist/actives/actives.contract.d.ts +6986 -6296
  8. package/dist/actives/actives.contract.d.ts.map +1 -1
  9. package/dist/agent-client-links/agent-client-links.contract.d.ts +2151 -702
  10. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  11. package/dist/agent-client-links/agent-client-links.contract.js +56 -2
  12. package/dist/bookings/bookings.contract.d.ts +26279 -22681
  13. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  14. package/dist/bookings/bookings.contract.js +169 -36
  15. package/dist/client-contacts/client-contacts.contract.d.ts +460 -460
  16. package/dist/clients/clients.contract.d.ts +263 -197
  17. package/dist/clients/clients.contract.d.ts.map +1 -1
  18. package/dist/clients/clients.contract.js +50 -6
  19. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1620 -1620
  20. package/dist/collaborations/collaborations.contract.d.ts +1456 -1456
  21. package/dist/collaborations/collaborations.contract.js +2 -2
  22. package/dist/cron-executions/cron-executions.contract.d.ts +163 -39
  23. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
  24. package/dist/cron-executions/cron-executions.contract.js +14 -0
  25. package/dist/dashboards/agent-daily-metrics.contract.d.ts +173 -803
  26. package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -1
  27. package/dist/dashboards/agent-daily-metrics.contract.js +45 -108
  28. package/dist/dashboards/dashboard-widgets.contract.d.ts +388 -282
  29. package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
  30. package/dist/dashboards/dashboard-widgets.contract.js +77 -32
  31. package/dist/dashboards/dashboard.contract.d.ts +215 -305
  32. package/dist/index.d.ts +3 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +3 -0
  35. package/dist/jobs/jobs.contract.d.ts +2885 -2885
  36. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +1340 -0
  37. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts.map +1 -0
  38. package/dist/kpi-impersonation/kpi-impersonation.contract.js +146 -0
  39. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +535 -139
  40. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
  41. package/dist/lead-distribution/agent-lead-distribution.contract.js +57 -1
  42. package/package.json +1 -1
@@ -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
- email: string;
10
9
  id: string;
11
10
  firstName: string;
12
11
  lastName: string;
13
- }, {
14
12
  email: string;
13
+ }, {
15
14
  id: string;
16
15
  firstName: string;
17
16
  lastName: string;
17
+ email: string;
18
18
  }>;
19
19
  export declare const ClientContactSchema: z.ZodObject<{
20
20
  id: z.ZodString;
@@ -23,7 +23,7 @@ export declare const ClientContactSchema: z.ZodObject<{
23
23
  id: z.ZodString;
24
24
  name: z.ZodString;
25
25
  crn: z.ZodNullable<z.ZodString>;
26
- govLink: z.ZodString;
26
+ govLink: z.ZodNullable<z.ZodString>;
27
27
  soleTrader: z.ZodBoolean;
28
28
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
29
29
  director: z.ZodString;
@@ -34,15 +34,15 @@ export declare const ClientContactSchema: z.ZodObject<{
34
34
  lastName: z.ZodString;
35
35
  email: z.ZodString;
36
36
  }, "strip", z.ZodTypeAny, {
37
- email: string;
38
37
  id: string;
39
38
  firstName: string;
40
39
  lastName: string;
41
- }, {
42
40
  email: string;
41
+ }, {
43
42
  id: string;
44
43
  firstName: string;
45
44
  lastName: string;
45
+ email: string;
46
46
  }>>>;
47
47
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
48
48
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -54,41 +54,41 @@ export declare const ClientContactSchema: z.ZodObject<{
54
54
  agentId: string;
55
55
  }>>>;
56
56
  }, "strip", z.ZodTypeAny, {
57
- name: string;
58
57
  id: string;
59
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
60
- createdAt: string;
61
- updatedAt: string;
58
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
59
+ name: string;
62
60
  crn: string | null;
63
- govLink: string;
61
+ govLink: string | null;
64
62
  soleTrader: boolean;
65
63
  director: string;
64
+ createdAt: string;
65
+ updatedAt: string;
66
66
  blacklistReason?: string | null | undefined;
67
67
  lastUpdatedBy?: {
68
- email: string;
69
68
  id: string;
70
69
  firstName: string;
71
70
  lastName: string;
71
+ email: string;
72
72
  } | null | undefined;
73
73
  agentClientLinks?: {
74
74
  agentId: string;
75
75
  } | null | undefined;
76
76
  }, {
77
- name: string;
78
77
  id: string;
79
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
80
- createdAt: string | Date;
81
- updatedAt: string | Date;
78
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
79
+ name: string;
82
80
  crn: string | null;
83
- govLink: string;
81
+ govLink: string | null;
84
82
  soleTrader: boolean;
85
83
  director: string;
84
+ createdAt: string | Date;
85
+ updatedAt: string | Date;
86
86
  blacklistReason?: string | null | undefined;
87
87
  lastUpdatedBy?: {
88
- email: string;
89
88
  id: string;
90
89
  firstName: string;
91
90
  lastName: string;
91
+ email: string;
92
92
  } | null | undefined;
93
93
  agentClientLinks?: {
94
94
  agentId: string;
@@ -105,95 +105,95 @@ export declare const ClientContactSchema: z.ZodObject<{
105
105
  lastName: z.ZodString;
106
106
  email: z.ZodString;
107
107
  }, "strip", z.ZodTypeAny, {
108
- email: string;
109
108
  id: string;
110
109
  firstName: string;
111
110
  lastName: string;
112
- }, {
113
111
  email: string;
112
+ }, {
114
113
  id: string;
115
114
  firstName: string;
116
115
  lastName: string;
116
+ email: string;
117
117
  }>;
118
118
  createdById: z.ZodString;
119
119
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
120
120
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
121
121
  }, "strip", z.ZodTypeAny, {
122
- name: string;
123
- email: string | null;
124
- phone: string;
125
- createdBy: {
126
- email: string;
127
- id: string;
128
- firstName: string;
129
- lastName: string;
130
- };
131
122
  id: string;
123
+ email: string | null;
124
+ name: string;
132
125
  createdAt: string;
133
126
  updatedAt: string;
127
+ clientId: string;
134
128
  client: {
135
- name: string;
136
129
  id: string;
137
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
138
- createdAt: string;
139
- updatedAt: string;
130
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
131
+ name: string;
140
132
  crn: string | null;
141
- govLink: string;
133
+ govLink: string | null;
142
134
  soleTrader: boolean;
143
135
  director: string;
136
+ createdAt: string;
137
+ updatedAt: string;
144
138
  blacklistReason?: string | null | undefined;
145
139
  lastUpdatedBy?: {
146
- email: string;
147
140
  id: string;
148
141
  firstName: string;
149
142
  lastName: string;
143
+ email: string;
150
144
  } | null | undefined;
151
145
  agentClientLinks?: {
152
146
  agentId: string;
153
147
  } | null | undefined;
154
148
  };
155
- clientId: string;
156
- createdById: string;
157
- source?: string | undefined;
158
- position?: string | undefined;
159
- }, {
160
- name: string;
161
- email: string | null;
162
149
  phone: string;
163
150
  createdBy: {
164
- email: string;
165
151
  id: string;
166
152
  firstName: string;
167
153
  lastName: string;
154
+ email: string;
168
155
  };
156
+ createdById: string;
157
+ position?: string | undefined;
158
+ source?: string | undefined;
159
+ }, {
169
160
  id: string;
161
+ email: string | null;
162
+ name: string;
170
163
  createdAt: string | Date;
171
164
  updatedAt: string | Date;
165
+ clientId: string;
172
166
  client: {
173
- name: string;
174
167
  id: string;
175
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
176
- createdAt: string | Date;
177
- updatedAt: string | Date;
168
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
169
+ name: string;
178
170
  crn: string | null;
179
- govLink: string;
171
+ govLink: string | null;
180
172
  soleTrader: boolean;
181
173
  director: string;
174
+ createdAt: string | Date;
175
+ updatedAt: string | Date;
182
176
  blacklistReason?: string | null | undefined;
183
177
  lastUpdatedBy?: {
184
- email: string;
185
178
  id: string;
186
179
  firstName: string;
187
180
  lastName: string;
181
+ email: string;
188
182
  } | null | undefined;
189
183
  agentClientLinks?: {
190
184
  agentId: string;
191
185
  } | null | undefined;
192
186
  };
193
- clientId: string;
187
+ phone: string;
188
+ createdBy: {
189
+ id: string;
190
+ firstName: string;
191
+ lastName: string;
192
+ email: string;
193
+ };
194
194
  createdById: string;
195
- source?: string | undefined;
196
195
  position?: string | undefined;
196
+ source?: string | undefined;
197
197
  }>;
198
198
  export declare const CreateClientContactSchema: z.ZodObject<{
199
199
  client: z.ZodObject<{
@@ -210,22 +210,22 @@ export declare const CreateClientContactSchema: z.ZodObject<{
210
210
  source: z.ZodOptional<z.ZodString>;
211
211
  }, "strip", z.ZodTypeAny, {
212
212
  name: string;
213
- phone: string;
214
213
  client: {
215
214
  id: string;
216
215
  };
216
+ phone: string;
217
217
  email?: string | undefined;
218
- source?: string | undefined;
219
218
  position?: string | undefined;
219
+ source?: string | undefined;
220
220
  }, {
221
221
  name: string;
222
- phone: string;
223
222
  client: {
224
223
  id: string;
225
224
  };
225
+ phone: string;
226
226
  email?: string | undefined;
227
- source?: string | undefined;
228
227
  position?: string | undefined;
228
+ source?: string | undefined;
229
229
  }>;
230
230
  export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
231
231
  client: z.ZodObject<{
@@ -244,14 +244,14 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
244
244
  name: string;
245
245
  phone: string;
246
246
  email?: string | undefined;
247
- source?: string | undefined;
248
247
  position?: string | undefined;
248
+ source?: string | undefined;
249
249
  }, {
250
250
  name: string;
251
251
  phone: string;
252
252
  email?: string | undefined;
253
- source?: string | undefined;
254
253
  position?: string | undefined;
254
+ source?: string | undefined;
255
255
  }>;
256
256
  export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
257
257
  client: z.ZodOptional<z.ZodObject<{
@@ -267,17 +267,17 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
267
267
  email: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
268
268
  source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
269
269
  }, "client">, "strip", z.ZodTypeAny, {
270
- name?: string | undefined;
271
270
  email?: string | undefined;
271
+ name?: string | undefined;
272
+ position?: string | undefined;
272
273
  phone?: string | undefined;
273
274
  source?: string | undefined;
274
- position?: string | undefined;
275
275
  }, {
276
- name?: string | undefined;
277
276
  email?: string | undefined;
277
+ name?: string | undefined;
278
+ position?: string | undefined;
278
279
  phone?: string | undefined;
279
280
  source?: string | undefined;
280
- position?: string | undefined;
281
281
  }>;
282
282
  export declare const FilterClientContactSchema: z.ZodObject<{
283
283
  limit: z.ZodDefault<z.ZodNumber>;
@@ -293,29 +293,29 @@ export declare const FilterClientContactSchema: z.ZodObject<{
293
293
  sortBy: z.ZodDefault<z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>>;
294
294
  sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
295
295
  }, "strip", z.ZodTypeAny, {
296
- sortBy: "name" | "email" | "createdAt" | "updatedAt" | "position";
297
- sortOrder: "ASC" | "DESC";
298
- page: number;
299
296
  limit: number;
300
- name?: string | undefined;
297
+ page: number;
298
+ sortBy: "email" | "name" | "createdAt" | "updatedAt" | "position";
299
+ sortOrder: "ASC" | "DESC";
301
300
  email?: string | undefined;
301
+ name?: string | undefined;
302
+ position?: string | undefined;
303
+ clientId?: string | undefined;
302
304
  phone?: string | undefined;
303
305
  source?: string | undefined;
304
- clientId?: string | undefined;
305
306
  createdById?: string | undefined;
306
- position?: string | undefined;
307
307
  }, {
308
- name?: string | undefined;
309
308
  email?: string | undefined;
310
- phone?: string | undefined;
311
- sortBy?: "name" | "email" | "createdAt" | "updatedAt" | "position" | undefined;
312
- sortOrder?: "ASC" | "DESC" | undefined;
313
- page?: number | undefined;
309
+ name?: string | undefined;
314
310
  limit?: number | undefined;
315
- source?: string | undefined;
311
+ page?: number | undefined;
312
+ sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
313
+ sortOrder?: "ASC" | "DESC" | undefined;
314
+ position?: string | undefined;
316
315
  clientId?: string | undefined;
316
+ phone?: string | undefined;
317
+ source?: string | undefined;
317
318
  createdById?: string | undefined;
318
- position?: string | undefined;
319
319
  }>;
320
320
  export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
321
321
  items: z.ZodArray<z.ZodObject<{
@@ -325,7 +325,7 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
325
325
  id: z.ZodString;
326
326
  name: z.ZodString;
327
327
  crn: z.ZodNullable<z.ZodString>;
328
- govLink: z.ZodString;
328
+ govLink: z.ZodNullable<z.ZodString>;
329
329
  soleTrader: z.ZodBoolean;
330
330
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
331
331
  director: z.ZodString;
@@ -336,15 +336,15 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
336
336
  lastName: z.ZodString;
337
337
  email: z.ZodString;
338
338
  }, "strip", z.ZodTypeAny, {
339
- email: string;
340
339
  id: string;
341
340
  firstName: string;
342
341
  lastName: string;
343
- }, {
344
342
  email: string;
343
+ }, {
345
344
  id: string;
346
345
  firstName: string;
347
346
  lastName: string;
347
+ email: string;
348
348
  }>>>;
349
349
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
350
350
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -356,41 +356,41 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
356
356
  agentId: string;
357
357
  }>>>;
358
358
  }, "strip", z.ZodTypeAny, {
359
- name: string;
360
359
  id: string;
361
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
362
- createdAt: string;
363
- updatedAt: string;
360
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
361
+ name: string;
364
362
  crn: string | null;
365
- govLink: string;
363
+ govLink: string | null;
366
364
  soleTrader: boolean;
367
365
  director: string;
366
+ createdAt: string;
367
+ updatedAt: string;
368
368
  blacklistReason?: string | null | undefined;
369
369
  lastUpdatedBy?: {
370
- email: string;
371
370
  id: string;
372
371
  firstName: string;
373
372
  lastName: string;
373
+ email: string;
374
374
  } | null | undefined;
375
375
  agentClientLinks?: {
376
376
  agentId: string;
377
377
  } | null | undefined;
378
378
  }, {
379
- name: string;
380
379
  id: string;
381
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
382
- createdAt: string | Date;
383
- updatedAt: string | Date;
380
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
381
+ name: string;
384
382
  crn: string | null;
385
- govLink: string;
383
+ govLink: string | null;
386
384
  soleTrader: boolean;
387
385
  director: string;
386
+ createdAt: string | Date;
387
+ updatedAt: string | Date;
388
388
  blacklistReason?: string | null | undefined;
389
389
  lastUpdatedBy?: {
390
- email: string;
391
390
  id: string;
392
391
  firstName: string;
393
392
  lastName: string;
393
+ email: string;
394
394
  } | null | undefined;
395
395
  agentClientLinks?: {
396
396
  agentId: string;
@@ -407,95 +407,95 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
407
407
  lastName: z.ZodString;
408
408
  email: z.ZodString;
409
409
  }, "strip", z.ZodTypeAny, {
410
- email: string;
411
410
  id: string;
412
411
  firstName: string;
413
412
  lastName: string;
414
- }, {
415
413
  email: string;
414
+ }, {
416
415
  id: string;
417
416
  firstName: string;
418
417
  lastName: string;
418
+ email: string;
419
419
  }>;
420
420
  createdById: z.ZodString;
421
421
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
422
422
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
423
423
  }, "strip", z.ZodTypeAny, {
424
- name: string;
425
- email: string | null;
426
- phone: string;
427
- createdBy: {
428
- email: string;
429
- id: string;
430
- firstName: string;
431
- lastName: string;
432
- };
433
424
  id: string;
425
+ email: string | null;
426
+ name: string;
434
427
  createdAt: string;
435
428
  updatedAt: string;
429
+ clientId: string;
436
430
  client: {
437
- name: string;
438
431
  id: string;
439
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
440
- createdAt: string;
441
- updatedAt: string;
432
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
433
+ name: string;
442
434
  crn: string | null;
443
- govLink: string;
435
+ govLink: string | null;
444
436
  soleTrader: boolean;
445
437
  director: string;
438
+ createdAt: string;
439
+ updatedAt: string;
446
440
  blacklistReason?: string | null | undefined;
447
441
  lastUpdatedBy?: {
448
- email: string;
449
442
  id: string;
450
443
  firstName: string;
451
444
  lastName: string;
445
+ email: string;
452
446
  } | null | undefined;
453
447
  agentClientLinks?: {
454
448
  agentId: string;
455
449
  } | null | undefined;
456
450
  };
457
- clientId: string;
458
- createdById: string;
459
- source?: string | undefined;
460
- position?: string | undefined;
461
- }, {
462
- name: string;
463
- email: string | null;
464
451
  phone: string;
465
452
  createdBy: {
466
- email: string;
467
453
  id: string;
468
454
  firstName: string;
469
455
  lastName: string;
456
+ email: string;
470
457
  };
458
+ createdById: string;
459
+ position?: string | undefined;
460
+ source?: string | undefined;
461
+ }, {
471
462
  id: string;
463
+ email: string | null;
464
+ name: string;
472
465
  createdAt: string | Date;
473
466
  updatedAt: string | Date;
467
+ clientId: string;
474
468
  client: {
475
- name: string;
476
469
  id: string;
477
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
478
- createdAt: string | Date;
479
- updatedAt: string | Date;
470
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
471
+ name: string;
480
472
  crn: string | null;
481
- govLink: string;
473
+ govLink: string | null;
482
474
  soleTrader: boolean;
483
475
  director: string;
476
+ createdAt: string | Date;
477
+ updatedAt: string | Date;
484
478
  blacklistReason?: string | null | undefined;
485
479
  lastUpdatedBy?: {
486
- email: string;
487
480
  id: string;
488
481
  firstName: string;
489
482
  lastName: string;
483
+ email: string;
490
484
  } | null | undefined;
491
485
  agentClientLinks?: {
492
486
  agentId: string;
493
487
  } | null | undefined;
494
488
  };
495
- clientId: string;
489
+ phone: string;
490
+ createdBy: {
491
+ id: string;
492
+ firstName: string;
493
+ lastName: string;
494
+ email: string;
495
+ };
496
496
  createdById: string;
497
- source?: string | undefined;
498
497
  position?: string | undefined;
498
+ source?: string | undefined;
499
499
  }>, "many">;
500
500
  totalCount: z.ZodNumber;
501
501
  limit: z.ZodNumber;
@@ -505,43 +505,43 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
505
505
  }, "strip", z.ZodTypeAny, {
506
506
  limit: number;
507
507
  items: {
508
- name: string;
509
- email: string | null;
510
- phone: string;
511
- createdBy: {
512
- email: string;
513
- id: string;
514
- firstName: string;
515
- lastName: string;
516
- };
517
508
  id: string;
509
+ email: string | null;
510
+ name: string;
518
511
  createdAt: string;
519
512
  updatedAt: string;
513
+ clientId: string;
520
514
  client: {
521
- name: string;
522
515
  id: string;
523
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
524
- createdAt: string;
525
- updatedAt: string;
516
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
517
+ name: string;
526
518
  crn: string | null;
527
- govLink: string;
519
+ govLink: string | null;
528
520
  soleTrader: boolean;
529
521
  director: string;
522
+ createdAt: string;
523
+ updatedAt: string;
530
524
  blacklistReason?: string | null | undefined;
531
525
  lastUpdatedBy?: {
532
- email: string;
533
526
  id: string;
534
527
  firstName: string;
535
528
  lastName: string;
529
+ email: string;
536
530
  } | null | undefined;
537
531
  agentClientLinks?: {
538
532
  agentId: string;
539
533
  } | null | undefined;
540
534
  };
541
- clientId: string;
535
+ phone: string;
536
+ createdBy: {
537
+ id: string;
538
+ firstName: string;
539
+ lastName: string;
540
+ email: string;
541
+ };
542
542
  createdById: string;
543
- source?: string | undefined;
544
543
  position?: string | undefined;
544
+ source?: string | undefined;
545
545
  }[];
546
546
  totalCount: number;
547
547
  skip: number;
@@ -550,43 +550,43 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
550
550
  }, {
551
551
  limit: number;
552
552
  items: {
553
- name: string;
554
- email: string | null;
555
- phone: string;
556
- createdBy: {
557
- email: string;
558
- id: string;
559
- firstName: string;
560
- lastName: string;
561
- };
562
553
  id: string;
554
+ email: string | null;
555
+ name: string;
563
556
  createdAt: string | Date;
564
557
  updatedAt: string | Date;
558
+ clientId: string;
565
559
  client: {
566
- name: string;
567
560
  id: string;
568
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
569
- createdAt: string | Date;
570
- updatedAt: string | Date;
561
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
562
+ name: string;
571
563
  crn: string | null;
572
- govLink: string;
564
+ govLink: string | null;
573
565
  soleTrader: boolean;
574
566
  director: string;
567
+ createdAt: string | Date;
568
+ updatedAt: string | Date;
575
569
  blacklistReason?: string | null | undefined;
576
570
  lastUpdatedBy?: {
577
- email: string;
578
571
  id: string;
579
572
  firstName: string;
580
573
  lastName: string;
574
+ email: string;
581
575
  } | null | undefined;
582
576
  agentClientLinks?: {
583
577
  agentId: string;
584
578
  } | null | undefined;
585
579
  };
586
- clientId: string;
580
+ phone: string;
581
+ createdBy: {
582
+ id: string;
583
+ firstName: string;
584
+ lastName: string;
585
+ email: string;
586
+ };
587
587
  createdById: string;
588
- source?: string | undefined;
589
588
  position?: string | undefined;
589
+ source?: string | undefined;
590
590
  }[];
591
591
  totalCount: number;
592
592
  skip: number;
@@ -623,22 +623,22 @@ export declare const clientContactsContractRouter: {
623
623
  source: z.ZodOptional<z.ZodString>;
624
624
  }, "strip", z.ZodTypeAny, {
625
625
  name: string;
626
- phone: string;
627
626
  client: {
628
627
  id: string;
629
628
  };
629
+ phone: string;
630
630
  email?: string | undefined;
631
- source?: string | undefined;
632
631
  position?: string | undefined;
632
+ source?: string | undefined;
633
633
  }, {
634
634
  name: string;
635
- phone: string;
636
635
  client: {
637
636
  id: string;
638
637
  };
638
+ phone: string;
639
639
  email?: string | undefined;
640
- source?: string | undefined;
641
640
  position?: string | undefined;
641
+ source?: string | undefined;
642
642
  }>;
643
643
  path: "/v2/client-contacts";
644
644
  responses: {
@@ -749,7 +749,7 @@ export declare const clientContactsContractRouter: {
749
749
  id: z.ZodString;
750
750
  name: z.ZodString;
751
751
  crn: z.ZodNullable<z.ZodString>;
752
- govLink: z.ZodString;
752
+ govLink: z.ZodNullable<z.ZodString>;
753
753
  soleTrader: z.ZodBoolean;
754
754
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
755
755
  director: z.ZodString;
@@ -760,15 +760,15 @@ export declare const clientContactsContractRouter: {
760
760
  lastName: z.ZodString;
761
761
  email: z.ZodString;
762
762
  }, "strip", z.ZodTypeAny, {
763
- email: string;
764
763
  id: string;
765
764
  firstName: string;
766
765
  lastName: string;
767
- }, {
768
766
  email: string;
767
+ }, {
769
768
  id: string;
770
769
  firstName: string;
771
770
  lastName: string;
771
+ email: string;
772
772
  }>>>;
773
773
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
774
774
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -780,41 +780,41 @@ export declare const clientContactsContractRouter: {
780
780
  agentId: string;
781
781
  }>>>;
782
782
  }, "strip", z.ZodTypeAny, {
783
- name: string;
784
783
  id: string;
785
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
786
- createdAt: string;
787
- updatedAt: string;
784
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
785
+ name: string;
788
786
  crn: string | null;
789
- govLink: string;
787
+ govLink: string | null;
790
788
  soleTrader: boolean;
791
789
  director: string;
790
+ createdAt: string;
791
+ updatedAt: string;
792
792
  blacklistReason?: string | null | undefined;
793
793
  lastUpdatedBy?: {
794
- email: string;
795
794
  id: string;
796
795
  firstName: string;
797
796
  lastName: string;
797
+ email: string;
798
798
  } | null | undefined;
799
799
  agentClientLinks?: {
800
800
  agentId: string;
801
801
  } | null | undefined;
802
802
  }, {
803
- name: string;
804
803
  id: string;
805
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
806
- createdAt: string | Date;
807
- updatedAt: string | Date;
804
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
805
+ name: string;
808
806
  crn: string | null;
809
- govLink: string;
807
+ govLink: string | null;
810
808
  soleTrader: boolean;
811
809
  director: string;
810
+ createdAt: string | Date;
811
+ updatedAt: string | Date;
812
812
  blacklistReason?: string | null | undefined;
813
813
  lastUpdatedBy?: {
814
- email: string;
815
814
  id: string;
816
815
  firstName: string;
817
816
  lastName: string;
817
+ email: string;
818
818
  } | null | undefined;
819
819
  agentClientLinks?: {
820
820
  agentId: string;
@@ -831,95 +831,95 @@ export declare const clientContactsContractRouter: {
831
831
  lastName: z.ZodString;
832
832
  email: z.ZodString;
833
833
  }, "strip", z.ZodTypeAny, {
834
- email: string;
835
834
  id: string;
836
835
  firstName: string;
837
836
  lastName: string;
838
- }, {
839
837
  email: string;
838
+ }, {
840
839
  id: string;
841
840
  firstName: string;
842
841
  lastName: string;
842
+ email: string;
843
843
  }>;
844
844
  createdById: z.ZodString;
845
845
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
846
846
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
847
847
  }, "strip", z.ZodTypeAny, {
848
- name: string;
849
- email: string | null;
850
- phone: string;
851
- createdBy: {
852
- email: string;
853
- id: string;
854
- firstName: string;
855
- lastName: string;
856
- };
857
848
  id: string;
849
+ email: string | null;
850
+ name: string;
858
851
  createdAt: string;
859
852
  updatedAt: string;
853
+ clientId: string;
860
854
  client: {
861
- name: string;
862
855
  id: string;
863
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
864
- createdAt: string;
865
- updatedAt: string;
856
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
857
+ name: string;
866
858
  crn: string | null;
867
- govLink: string;
859
+ govLink: string | null;
868
860
  soleTrader: boolean;
869
861
  director: string;
862
+ createdAt: string;
863
+ updatedAt: string;
870
864
  blacklistReason?: string | null | undefined;
871
865
  lastUpdatedBy?: {
872
- email: string;
873
866
  id: string;
874
867
  firstName: string;
875
868
  lastName: string;
869
+ email: string;
876
870
  } | null | undefined;
877
871
  agentClientLinks?: {
878
872
  agentId: string;
879
873
  } | null | undefined;
880
874
  };
881
- clientId: string;
882
- createdById: string;
883
- source?: string | undefined;
884
- position?: string | undefined;
885
- }, {
886
- name: string;
887
- email: string | null;
888
875
  phone: string;
889
876
  createdBy: {
890
- email: string;
891
877
  id: string;
892
878
  firstName: string;
893
879
  lastName: string;
880
+ email: string;
894
881
  };
882
+ createdById: string;
883
+ position?: string | undefined;
884
+ source?: string | undefined;
885
+ }, {
895
886
  id: string;
887
+ email: string | null;
888
+ name: string;
896
889
  createdAt: string | Date;
897
890
  updatedAt: string | Date;
891
+ clientId: string;
898
892
  client: {
899
- name: string;
900
893
  id: string;
901
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
902
- createdAt: string | Date;
903
- updatedAt: string | Date;
894
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
895
+ name: string;
904
896
  crn: string | null;
905
- govLink: string;
897
+ govLink: string | null;
906
898
  soleTrader: boolean;
907
899
  director: string;
900
+ createdAt: string | Date;
901
+ updatedAt: string | Date;
908
902
  blacklistReason?: string | null | undefined;
909
903
  lastUpdatedBy?: {
910
- email: string;
911
904
  id: string;
912
905
  firstName: string;
913
906
  lastName: string;
907
+ email: string;
914
908
  } | null | undefined;
915
909
  agentClientLinks?: {
916
910
  agentId: string;
917
911
  } | null | undefined;
918
912
  };
919
- clientId: string;
913
+ phone: string;
914
+ createdBy: {
915
+ id: string;
916
+ firstName: string;
917
+ lastName: string;
918
+ email: string;
919
+ };
920
920
  createdById: string;
921
- source?: string | undefined;
922
921
  position?: string | undefined;
922
+ source?: string | undefined;
923
923
  }>;
924
924
  409: z.ZodObject<{
925
925
  statusCode: z.ZodNumber;
@@ -978,14 +978,14 @@ export declare const clientContactsContractRouter: {
978
978
  name: string;
979
979
  phone: string;
980
980
  email?: string | undefined;
981
- source?: string | undefined;
982
981
  position?: string | undefined;
982
+ source?: string | undefined;
983
983
  }, {
984
984
  name: string;
985
985
  phone: string;
986
986
  email?: string | undefined;
987
- source?: string | undefined;
988
987
  position?: string | undefined;
988
+ source?: string | undefined;
989
989
  }>;
990
990
  path: "/v2/client-contacts/client/:clientId";
991
991
  responses: {
@@ -1096,7 +1096,7 @@ export declare const clientContactsContractRouter: {
1096
1096
  id: z.ZodString;
1097
1097
  name: z.ZodString;
1098
1098
  crn: z.ZodNullable<z.ZodString>;
1099
- govLink: z.ZodString;
1099
+ govLink: z.ZodNullable<z.ZodString>;
1100
1100
  soleTrader: z.ZodBoolean;
1101
1101
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1102
1102
  director: z.ZodString;
@@ -1107,15 +1107,15 @@ export declare const clientContactsContractRouter: {
1107
1107
  lastName: z.ZodString;
1108
1108
  email: z.ZodString;
1109
1109
  }, "strip", z.ZodTypeAny, {
1110
- email: string;
1111
1110
  id: string;
1112
1111
  firstName: string;
1113
1112
  lastName: string;
1114
- }, {
1115
1113
  email: string;
1114
+ }, {
1116
1115
  id: string;
1117
1116
  firstName: string;
1118
1117
  lastName: string;
1118
+ email: string;
1119
1119
  }>>>;
1120
1120
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1121
1121
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1127,41 +1127,41 @@ export declare const clientContactsContractRouter: {
1127
1127
  agentId: string;
1128
1128
  }>>>;
1129
1129
  }, "strip", z.ZodTypeAny, {
1130
- name: string;
1131
1130
  id: string;
1132
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1133
- createdAt: string;
1134
- updatedAt: string;
1131
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1132
+ name: string;
1135
1133
  crn: string | null;
1136
- govLink: string;
1134
+ govLink: string | null;
1137
1135
  soleTrader: boolean;
1138
1136
  director: string;
1137
+ createdAt: string;
1138
+ updatedAt: string;
1139
1139
  blacklistReason?: string | null | undefined;
1140
1140
  lastUpdatedBy?: {
1141
- email: string;
1142
1141
  id: string;
1143
1142
  firstName: string;
1144
1143
  lastName: string;
1144
+ email: string;
1145
1145
  } | null | undefined;
1146
1146
  agentClientLinks?: {
1147
1147
  agentId: string;
1148
1148
  } | null | undefined;
1149
1149
  }, {
1150
- name: string;
1151
1150
  id: string;
1152
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1153
- createdAt: string | Date;
1154
- updatedAt: string | Date;
1151
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1152
+ name: string;
1155
1153
  crn: string | null;
1156
- govLink: string;
1154
+ govLink: string | null;
1157
1155
  soleTrader: boolean;
1158
1156
  director: string;
1157
+ createdAt: string | Date;
1158
+ updatedAt: string | Date;
1159
1159
  blacklistReason?: string | null | undefined;
1160
1160
  lastUpdatedBy?: {
1161
- email: string;
1162
1161
  id: string;
1163
1162
  firstName: string;
1164
1163
  lastName: string;
1164
+ email: string;
1165
1165
  } | null | undefined;
1166
1166
  agentClientLinks?: {
1167
1167
  agentId: string;
@@ -1178,95 +1178,95 @@ export declare const clientContactsContractRouter: {
1178
1178
  lastName: z.ZodString;
1179
1179
  email: z.ZodString;
1180
1180
  }, "strip", z.ZodTypeAny, {
1181
- email: string;
1182
1181
  id: string;
1183
1182
  firstName: string;
1184
1183
  lastName: string;
1185
- }, {
1186
1184
  email: string;
1185
+ }, {
1187
1186
  id: string;
1188
1187
  firstName: string;
1189
1188
  lastName: string;
1189
+ email: string;
1190
1190
  }>;
1191
1191
  createdById: z.ZodString;
1192
1192
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1193
1193
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1194
1194
  }, "strip", z.ZodTypeAny, {
1195
- name: string;
1196
- email: string | null;
1197
- phone: string;
1198
- createdBy: {
1199
- email: string;
1200
- id: string;
1201
- firstName: string;
1202
- lastName: string;
1203
- };
1204
1195
  id: string;
1196
+ email: string | null;
1197
+ name: string;
1205
1198
  createdAt: string;
1206
1199
  updatedAt: string;
1200
+ clientId: string;
1207
1201
  client: {
1208
- name: string;
1209
1202
  id: string;
1210
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1211
- createdAt: string;
1212
- updatedAt: string;
1203
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1204
+ name: string;
1213
1205
  crn: string | null;
1214
- govLink: string;
1206
+ govLink: string | null;
1215
1207
  soleTrader: boolean;
1216
1208
  director: string;
1209
+ createdAt: string;
1210
+ updatedAt: string;
1217
1211
  blacklistReason?: string | null | undefined;
1218
1212
  lastUpdatedBy?: {
1219
- email: string;
1220
1213
  id: string;
1221
1214
  firstName: string;
1222
1215
  lastName: string;
1216
+ email: string;
1223
1217
  } | null | undefined;
1224
1218
  agentClientLinks?: {
1225
1219
  agentId: string;
1226
1220
  } | null | undefined;
1227
1221
  };
1228
- clientId: string;
1229
- createdById: string;
1230
- source?: string | undefined;
1231
- position?: string | undefined;
1232
- }, {
1233
- name: string;
1234
- email: string | null;
1235
1222
  phone: string;
1236
1223
  createdBy: {
1237
- email: string;
1238
1224
  id: string;
1239
1225
  firstName: string;
1240
1226
  lastName: string;
1227
+ email: string;
1241
1228
  };
1229
+ createdById: string;
1230
+ position?: string | undefined;
1231
+ source?: string | undefined;
1232
+ }, {
1242
1233
  id: string;
1234
+ email: string | null;
1235
+ name: string;
1243
1236
  createdAt: string | Date;
1244
1237
  updatedAt: string | Date;
1238
+ clientId: string;
1245
1239
  client: {
1246
- name: string;
1247
1240
  id: string;
1248
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1249
- createdAt: string | Date;
1250
- updatedAt: string | Date;
1241
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1242
+ name: string;
1251
1243
  crn: string | null;
1252
- govLink: string;
1244
+ govLink: string | null;
1253
1245
  soleTrader: boolean;
1254
1246
  director: string;
1247
+ createdAt: string | Date;
1248
+ updatedAt: string | Date;
1255
1249
  blacklistReason?: string | null | undefined;
1256
1250
  lastUpdatedBy?: {
1257
- email: string;
1258
1251
  id: string;
1259
1252
  firstName: string;
1260
1253
  lastName: string;
1254
+ email: string;
1261
1255
  } | null | undefined;
1262
1256
  agentClientLinks?: {
1263
1257
  agentId: string;
1264
1258
  } | null | undefined;
1265
1259
  };
1266
- clientId: string;
1260
+ phone: string;
1261
+ createdBy: {
1262
+ id: string;
1263
+ firstName: string;
1264
+ lastName: string;
1265
+ email: string;
1266
+ };
1267
1267
  createdById: string;
1268
- source?: string | undefined;
1269
1268
  position?: string | undefined;
1269
+ source?: string | undefined;
1270
1270
  }>;
1271
1271
  409: z.ZodObject<{
1272
1272
  statusCode: z.ZodNumber;
@@ -1296,6 +1296,9 @@ export declare const clientContactsContractRouter: {
1296
1296
  };
1297
1297
  };
1298
1298
  findAll: {
1299
+ metadata: {
1300
+ tags: string[];
1301
+ };
1299
1302
  query: z.ZodObject<{
1300
1303
  limit: z.ZodDefault<z.ZodNumber>;
1301
1304
  page: z.ZodDefault<z.ZodNumber>;
@@ -1310,33 +1313,30 @@ export declare const clientContactsContractRouter: {
1310
1313
  sortBy: z.ZodDefault<z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>>;
1311
1314
  sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
1312
1315
  }, "strip", z.ZodTypeAny, {
1313
- sortBy: "name" | "email" | "createdAt" | "updatedAt" | "position";
1314
- sortOrder: "ASC" | "DESC";
1315
- page: number;
1316
1316
  limit: number;
1317
- name?: string | undefined;
1317
+ page: number;
1318
+ sortBy: "email" | "name" | "createdAt" | "updatedAt" | "position";
1319
+ sortOrder: "ASC" | "DESC";
1318
1320
  email?: string | undefined;
1321
+ name?: string | undefined;
1322
+ position?: string | undefined;
1323
+ clientId?: string | undefined;
1319
1324
  phone?: string | undefined;
1320
1325
  source?: string | undefined;
1321
- clientId?: string | undefined;
1322
1326
  createdById?: string | undefined;
1323
- position?: string | undefined;
1324
1327
  }, {
1325
- name?: string | undefined;
1326
1328
  email?: string | undefined;
1327
- phone?: string | undefined;
1328
- sortBy?: "name" | "email" | "createdAt" | "updatedAt" | "position" | undefined;
1329
- sortOrder?: "ASC" | "DESC" | undefined;
1330
- page?: number | undefined;
1329
+ name?: string | undefined;
1331
1330
  limit?: number | undefined;
1332
- source?: string | undefined;
1331
+ page?: number | undefined;
1332
+ sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
1333
+ sortOrder?: "ASC" | "DESC" | undefined;
1334
+ position?: string | undefined;
1333
1335
  clientId?: string | undefined;
1336
+ phone?: string | undefined;
1337
+ source?: string | undefined;
1334
1338
  createdById?: string | undefined;
1335
- position?: string | undefined;
1336
1339
  }>;
1337
- metadata: {
1338
- tags: string[];
1339
- };
1340
1340
  summary: "Get all client contacts";
1341
1341
  method: "GET";
1342
1342
  path: "/v2/client-contacts";
@@ -1449,7 +1449,7 @@ export declare const clientContactsContractRouter: {
1449
1449
  id: z.ZodString;
1450
1450
  name: z.ZodString;
1451
1451
  crn: z.ZodNullable<z.ZodString>;
1452
- govLink: z.ZodString;
1452
+ govLink: z.ZodNullable<z.ZodString>;
1453
1453
  soleTrader: z.ZodBoolean;
1454
1454
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1455
1455
  director: z.ZodString;
@@ -1460,15 +1460,15 @@ export declare const clientContactsContractRouter: {
1460
1460
  lastName: z.ZodString;
1461
1461
  email: z.ZodString;
1462
1462
  }, "strip", z.ZodTypeAny, {
1463
- email: string;
1464
1463
  id: string;
1465
1464
  firstName: string;
1466
1465
  lastName: string;
1467
- }, {
1468
1466
  email: string;
1467
+ }, {
1469
1468
  id: string;
1470
1469
  firstName: string;
1471
1470
  lastName: string;
1471
+ email: string;
1472
1472
  }>>>;
1473
1473
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1474
1474
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1480,41 +1480,41 @@ export declare const clientContactsContractRouter: {
1480
1480
  agentId: string;
1481
1481
  }>>>;
1482
1482
  }, "strip", z.ZodTypeAny, {
1483
- name: string;
1484
1483
  id: string;
1485
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1486
- createdAt: string;
1487
- updatedAt: string;
1484
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1485
+ name: string;
1488
1486
  crn: string | null;
1489
- govLink: string;
1487
+ govLink: string | null;
1490
1488
  soleTrader: boolean;
1491
1489
  director: string;
1490
+ createdAt: string;
1491
+ updatedAt: string;
1492
1492
  blacklistReason?: string | null | undefined;
1493
1493
  lastUpdatedBy?: {
1494
- email: string;
1495
1494
  id: string;
1496
1495
  firstName: string;
1497
1496
  lastName: string;
1497
+ email: string;
1498
1498
  } | null | undefined;
1499
1499
  agentClientLinks?: {
1500
1500
  agentId: string;
1501
1501
  } | null | undefined;
1502
1502
  }, {
1503
- name: string;
1504
1503
  id: string;
1505
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1506
- createdAt: string | Date;
1507
- updatedAt: string | Date;
1504
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1505
+ name: string;
1508
1506
  crn: string | null;
1509
- govLink: string;
1507
+ govLink: string | null;
1510
1508
  soleTrader: boolean;
1511
1509
  director: string;
1510
+ createdAt: string | Date;
1511
+ updatedAt: string | Date;
1512
1512
  blacklistReason?: string | null | undefined;
1513
1513
  lastUpdatedBy?: {
1514
- email: string;
1515
1514
  id: string;
1516
1515
  firstName: string;
1517
1516
  lastName: string;
1517
+ email: string;
1518
1518
  } | null | undefined;
1519
1519
  agentClientLinks?: {
1520
1520
  agentId: string;
@@ -1531,95 +1531,95 @@ export declare const clientContactsContractRouter: {
1531
1531
  lastName: z.ZodString;
1532
1532
  email: z.ZodString;
1533
1533
  }, "strip", z.ZodTypeAny, {
1534
- email: string;
1535
1534
  id: string;
1536
1535
  firstName: string;
1537
1536
  lastName: string;
1538
- }, {
1539
1537
  email: string;
1538
+ }, {
1540
1539
  id: string;
1541
1540
  firstName: string;
1542
1541
  lastName: string;
1542
+ email: string;
1543
1543
  }>;
1544
1544
  createdById: z.ZodString;
1545
1545
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1546
1546
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1547
1547
  }, "strip", z.ZodTypeAny, {
1548
- name: string;
1549
- email: string | null;
1550
- phone: string;
1551
- createdBy: {
1552
- email: string;
1553
- id: string;
1554
- firstName: string;
1555
- lastName: string;
1556
- };
1557
1548
  id: string;
1549
+ email: string | null;
1550
+ name: string;
1558
1551
  createdAt: string;
1559
1552
  updatedAt: string;
1553
+ clientId: string;
1560
1554
  client: {
1561
- name: string;
1562
1555
  id: string;
1563
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1564
- createdAt: string;
1565
- updatedAt: string;
1556
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1557
+ name: string;
1566
1558
  crn: string | null;
1567
- govLink: string;
1559
+ govLink: string | null;
1568
1560
  soleTrader: boolean;
1569
1561
  director: string;
1562
+ createdAt: string;
1563
+ updatedAt: string;
1570
1564
  blacklistReason?: string | null | undefined;
1571
1565
  lastUpdatedBy?: {
1572
- email: string;
1573
1566
  id: string;
1574
1567
  firstName: string;
1575
1568
  lastName: string;
1576
- } | null | undefined;
1577
- agentClientLinks?: {
1578
- agentId: string;
1579
- } | null | undefined;
1580
- };
1581
- clientId: string;
1582
- createdById: string;
1583
- source?: string | undefined;
1584
- position?: string | undefined;
1585
- }, {
1586
- name: string;
1587
- email: string | null;
1569
+ email: string;
1570
+ } | null | undefined;
1571
+ agentClientLinks?: {
1572
+ agentId: string;
1573
+ } | null | undefined;
1574
+ };
1588
1575
  phone: string;
1589
1576
  createdBy: {
1590
- email: string;
1591
1577
  id: string;
1592
1578
  firstName: string;
1593
1579
  lastName: string;
1580
+ email: string;
1594
1581
  };
1582
+ createdById: string;
1583
+ position?: string | undefined;
1584
+ source?: string | undefined;
1585
+ }, {
1595
1586
  id: string;
1587
+ email: string | null;
1588
+ name: string;
1596
1589
  createdAt: string | Date;
1597
1590
  updatedAt: string | Date;
1591
+ clientId: string;
1598
1592
  client: {
1599
- name: string;
1600
1593
  id: string;
1601
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1602
- createdAt: string | Date;
1603
- updatedAt: string | Date;
1594
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1595
+ name: string;
1604
1596
  crn: string | null;
1605
- govLink: string;
1597
+ govLink: string | null;
1606
1598
  soleTrader: boolean;
1607
1599
  director: string;
1600
+ createdAt: string | Date;
1601
+ updatedAt: string | Date;
1608
1602
  blacklistReason?: string | null | undefined;
1609
1603
  lastUpdatedBy?: {
1610
- email: string;
1611
1604
  id: string;
1612
1605
  firstName: string;
1613
1606
  lastName: string;
1607
+ email: string;
1614
1608
  } | null | undefined;
1615
1609
  agentClientLinks?: {
1616
1610
  agentId: string;
1617
1611
  } | null | undefined;
1618
1612
  };
1619
- clientId: string;
1613
+ phone: string;
1614
+ createdBy: {
1615
+ id: string;
1616
+ firstName: string;
1617
+ lastName: string;
1618
+ email: string;
1619
+ };
1620
1620
  createdById: string;
1621
- source?: string | undefined;
1622
1621
  position?: string | undefined;
1622
+ source?: string | undefined;
1623
1623
  }>, "many">;
1624
1624
  totalCount: z.ZodNumber;
1625
1625
  limit: z.ZodNumber;
@@ -1629,43 +1629,43 @@ export declare const clientContactsContractRouter: {
1629
1629
  }, "strip", z.ZodTypeAny, {
1630
1630
  limit: number;
1631
1631
  items: {
1632
- name: string;
1633
- email: string | null;
1634
- phone: string;
1635
- createdBy: {
1636
- email: string;
1637
- id: string;
1638
- firstName: string;
1639
- lastName: string;
1640
- };
1641
1632
  id: string;
1633
+ email: string | null;
1634
+ name: string;
1642
1635
  createdAt: string;
1643
1636
  updatedAt: string;
1637
+ clientId: string;
1644
1638
  client: {
1645
- name: string;
1646
1639
  id: string;
1647
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1648
- createdAt: string;
1649
- updatedAt: string;
1640
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1641
+ name: string;
1650
1642
  crn: string | null;
1651
- govLink: string;
1643
+ govLink: string | null;
1652
1644
  soleTrader: boolean;
1653
1645
  director: string;
1646
+ createdAt: string;
1647
+ updatedAt: string;
1654
1648
  blacklistReason?: string | null | undefined;
1655
1649
  lastUpdatedBy?: {
1656
- email: string;
1657
1650
  id: string;
1658
1651
  firstName: string;
1659
1652
  lastName: string;
1653
+ email: string;
1660
1654
  } | null | undefined;
1661
1655
  agentClientLinks?: {
1662
1656
  agentId: string;
1663
1657
  } | null | undefined;
1664
1658
  };
1665
- clientId: string;
1659
+ phone: string;
1660
+ createdBy: {
1661
+ id: string;
1662
+ firstName: string;
1663
+ lastName: string;
1664
+ email: string;
1665
+ };
1666
1666
  createdById: string;
1667
- source?: string | undefined;
1668
1667
  position?: string | undefined;
1668
+ source?: string | undefined;
1669
1669
  }[];
1670
1670
  totalCount: number;
1671
1671
  skip: number;
@@ -1674,43 +1674,43 @@ export declare const clientContactsContractRouter: {
1674
1674
  }, {
1675
1675
  limit: number;
1676
1676
  items: {
1677
- name: string;
1678
- email: string | null;
1679
- phone: string;
1680
- createdBy: {
1681
- email: string;
1682
- id: string;
1683
- firstName: string;
1684
- lastName: string;
1685
- };
1686
1677
  id: string;
1678
+ email: string | null;
1679
+ name: string;
1687
1680
  createdAt: string | Date;
1688
1681
  updatedAt: string | Date;
1682
+ clientId: string;
1689
1683
  client: {
1690
- name: string;
1691
1684
  id: string;
1692
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1693
- createdAt: string | Date;
1694
- updatedAt: string | Date;
1685
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1686
+ name: string;
1695
1687
  crn: string | null;
1696
- govLink: string;
1688
+ govLink: string | null;
1697
1689
  soleTrader: boolean;
1698
1690
  director: string;
1691
+ createdAt: string | Date;
1692
+ updatedAt: string | Date;
1699
1693
  blacklistReason?: string | null | undefined;
1700
1694
  lastUpdatedBy?: {
1701
- email: string;
1702
1695
  id: string;
1703
1696
  firstName: string;
1704
1697
  lastName: string;
1698
+ email: string;
1705
1699
  } | null | undefined;
1706
1700
  agentClientLinks?: {
1707
1701
  agentId: string;
1708
1702
  } | null | undefined;
1709
1703
  };
1710
- clientId: string;
1704
+ phone: string;
1705
+ createdBy: {
1706
+ id: string;
1707
+ firstName: string;
1708
+ lastName: string;
1709
+ email: string;
1710
+ };
1711
1711
  createdById: string;
1712
- source?: string | undefined;
1713
1712
  position?: string | undefined;
1713
+ source?: string | undefined;
1714
1714
  }[];
1715
1715
  totalCount: number;
1716
1716
  skip: number;
@@ -1841,7 +1841,7 @@ export declare const clientContactsContractRouter: {
1841
1841
  id: z.ZodString;
1842
1842
  name: z.ZodString;
1843
1843
  crn: z.ZodNullable<z.ZodString>;
1844
- govLink: z.ZodString;
1844
+ govLink: z.ZodNullable<z.ZodString>;
1845
1845
  soleTrader: z.ZodBoolean;
1846
1846
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1847
1847
  director: z.ZodString;
@@ -1852,15 +1852,15 @@ export declare const clientContactsContractRouter: {
1852
1852
  lastName: z.ZodString;
1853
1853
  email: z.ZodString;
1854
1854
  }, "strip", z.ZodTypeAny, {
1855
- email: string;
1856
1855
  id: string;
1857
1856
  firstName: string;
1858
1857
  lastName: string;
1859
- }, {
1860
1858
  email: string;
1859
+ }, {
1861
1860
  id: string;
1862
1861
  firstName: string;
1863
1862
  lastName: string;
1863
+ email: string;
1864
1864
  }>>>;
1865
1865
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1866
1866
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1872,41 +1872,41 @@ export declare const clientContactsContractRouter: {
1872
1872
  agentId: string;
1873
1873
  }>>>;
1874
1874
  }, "strip", z.ZodTypeAny, {
1875
- name: string;
1876
1875
  id: string;
1877
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1878
- createdAt: string;
1879
- updatedAt: string;
1876
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1877
+ name: string;
1880
1878
  crn: string | null;
1881
- govLink: string;
1879
+ govLink: string | null;
1882
1880
  soleTrader: boolean;
1883
1881
  director: string;
1882
+ createdAt: string;
1883
+ updatedAt: string;
1884
1884
  blacklistReason?: string | null | undefined;
1885
1885
  lastUpdatedBy?: {
1886
- email: string;
1887
1886
  id: string;
1888
1887
  firstName: string;
1889
1888
  lastName: string;
1889
+ email: string;
1890
1890
  } | null | undefined;
1891
1891
  agentClientLinks?: {
1892
1892
  agentId: string;
1893
1893
  } | null | undefined;
1894
1894
  }, {
1895
- name: string;
1896
1895
  id: string;
1897
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1898
- createdAt: string | Date;
1899
- updatedAt: string | Date;
1896
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1897
+ name: string;
1900
1898
  crn: string | null;
1901
- govLink: string;
1899
+ govLink: string | null;
1902
1900
  soleTrader: boolean;
1903
1901
  director: string;
1902
+ createdAt: string | Date;
1903
+ updatedAt: string | Date;
1904
1904
  blacklistReason?: string | null | undefined;
1905
1905
  lastUpdatedBy?: {
1906
- email: string;
1907
1906
  id: string;
1908
1907
  firstName: string;
1909
1908
  lastName: string;
1909
+ email: string;
1910
1910
  } | null | undefined;
1911
1911
  agentClientLinks?: {
1912
1912
  agentId: string;
@@ -1923,95 +1923,95 @@ export declare const clientContactsContractRouter: {
1923
1923
  lastName: z.ZodString;
1924
1924
  email: z.ZodString;
1925
1925
  }, "strip", z.ZodTypeAny, {
1926
- email: string;
1927
1926
  id: string;
1928
1927
  firstName: string;
1929
1928
  lastName: string;
1930
- }, {
1931
1929
  email: string;
1930
+ }, {
1932
1931
  id: string;
1933
1932
  firstName: string;
1934
1933
  lastName: string;
1934
+ email: string;
1935
1935
  }>;
1936
1936
  createdById: z.ZodString;
1937
1937
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1938
1938
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1939
1939
  }, "strip", z.ZodTypeAny, {
1940
- name: string;
1941
- email: string | null;
1942
- phone: string;
1943
- createdBy: {
1944
- email: string;
1945
- id: string;
1946
- firstName: string;
1947
- lastName: string;
1948
- };
1949
1940
  id: string;
1941
+ email: string | null;
1942
+ name: string;
1950
1943
  createdAt: string;
1951
1944
  updatedAt: string;
1945
+ clientId: string;
1952
1946
  client: {
1953
- name: string;
1954
1947
  id: string;
1955
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1956
- createdAt: string;
1957
- updatedAt: string;
1948
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1949
+ name: string;
1958
1950
  crn: string | null;
1959
- govLink: string;
1951
+ govLink: string | null;
1960
1952
  soleTrader: boolean;
1961
1953
  director: string;
1954
+ createdAt: string;
1955
+ updatedAt: string;
1962
1956
  blacklistReason?: string | null | undefined;
1963
1957
  lastUpdatedBy?: {
1964
- email: string;
1965
1958
  id: string;
1966
1959
  firstName: string;
1967
1960
  lastName: string;
1961
+ email: string;
1968
1962
  } | null | undefined;
1969
1963
  agentClientLinks?: {
1970
1964
  agentId: string;
1971
1965
  } | null | undefined;
1972
1966
  };
1973
- clientId: string;
1974
- createdById: string;
1975
- source?: string | undefined;
1976
- position?: string | undefined;
1977
- }, {
1978
- name: string;
1979
- email: string | null;
1980
1967
  phone: string;
1981
1968
  createdBy: {
1982
- email: string;
1983
1969
  id: string;
1984
1970
  firstName: string;
1985
1971
  lastName: string;
1972
+ email: string;
1986
1973
  };
1974
+ createdById: string;
1975
+ position?: string | undefined;
1976
+ source?: string | undefined;
1977
+ }, {
1987
1978
  id: string;
1979
+ email: string | null;
1980
+ name: string;
1988
1981
  createdAt: string | Date;
1989
1982
  updatedAt: string | Date;
1983
+ clientId: string;
1990
1984
  client: {
1991
- name: string;
1992
1985
  id: string;
1993
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1994
- createdAt: string | Date;
1995
- updatedAt: string | Date;
1986
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1987
+ name: string;
1996
1988
  crn: string | null;
1997
- govLink: string;
1989
+ govLink: string | null;
1998
1990
  soleTrader: boolean;
1999
1991
  director: string;
1992
+ createdAt: string | Date;
1993
+ updatedAt: string | Date;
2000
1994
  blacklistReason?: string | null | undefined;
2001
1995
  lastUpdatedBy?: {
2002
- email: string;
2003
1996
  id: string;
2004
1997
  firstName: string;
2005
1998
  lastName: string;
1999
+ email: string;
2006
2000
  } | null | undefined;
2007
2001
  agentClientLinks?: {
2008
2002
  agentId: string;
2009
2003
  } | null | undefined;
2010
2004
  };
2011
- clientId: string;
2005
+ phone: string;
2006
+ createdBy: {
2007
+ id: string;
2008
+ firstName: string;
2009
+ lastName: string;
2010
+ email: string;
2011
+ };
2012
2012
  createdById: string;
2013
- source?: string | undefined;
2014
2013
  position?: string | undefined;
2014
+ source?: string | undefined;
2015
2015
  }>;
2016
2016
  404: z.ZodObject<{
2017
2017
  statusCode: z.ZodNumber;
@@ -2067,17 +2067,17 @@ export declare const clientContactsContractRouter: {
2067
2067
  email: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
2068
2068
  source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2069
2069
  }, "client">, "strip", z.ZodTypeAny, {
2070
- name?: string | undefined;
2071
2070
  email?: string | undefined;
2071
+ name?: string | undefined;
2072
+ position?: string | undefined;
2072
2073
  phone?: string | undefined;
2073
2074
  source?: string | undefined;
2074
- position?: string | undefined;
2075
2075
  }, {
2076
- name?: string | undefined;
2077
2076
  email?: string | undefined;
2077
+ name?: string | undefined;
2078
+ position?: string | undefined;
2078
2079
  phone?: string | undefined;
2079
2080
  source?: string | undefined;
2080
- position?: string | undefined;
2081
2081
  }>;
2082
2082
  path: "/v2/client-contacts/:contactId";
2083
2083
  responses: {
@@ -2188,7 +2188,7 @@ export declare const clientContactsContractRouter: {
2188
2188
  id: z.ZodString;
2189
2189
  name: z.ZodString;
2190
2190
  crn: z.ZodNullable<z.ZodString>;
2191
- govLink: z.ZodString;
2191
+ govLink: z.ZodNullable<z.ZodString>;
2192
2192
  soleTrader: z.ZodBoolean;
2193
2193
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
2194
2194
  director: z.ZodString;
@@ -2199,15 +2199,15 @@ export declare const clientContactsContractRouter: {
2199
2199
  lastName: z.ZodString;
2200
2200
  email: z.ZodString;
2201
2201
  }, "strip", z.ZodTypeAny, {
2202
- email: string;
2203
2202
  id: string;
2204
2203
  firstName: string;
2205
2204
  lastName: string;
2206
- }, {
2207
2205
  email: string;
2206
+ }, {
2208
2207
  id: string;
2209
2208
  firstName: string;
2210
2209
  lastName: string;
2210
+ email: 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>;
@@ -2219,41 +2219,41 @@ export declare const clientContactsContractRouter: {
2219
2219
  agentId: string;
2220
2220
  }>>>;
2221
2221
  }, "strip", z.ZodTypeAny, {
2222
- name: string;
2223
2222
  id: string;
2224
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2225
- createdAt: string;
2226
- updatedAt: string;
2223
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2224
+ name: string;
2227
2225
  crn: string | null;
2228
- govLink: string;
2226
+ govLink: string | null;
2229
2227
  soleTrader: boolean;
2230
2228
  director: string;
2229
+ createdAt: string;
2230
+ updatedAt: string;
2231
2231
  blacklistReason?: string | null | undefined;
2232
2232
  lastUpdatedBy?: {
2233
- email: string;
2234
2233
  id: string;
2235
2234
  firstName: string;
2236
2235
  lastName: string;
2236
+ email: string;
2237
2237
  } | null | undefined;
2238
2238
  agentClientLinks?: {
2239
2239
  agentId: string;
2240
2240
  } | null | undefined;
2241
2241
  }, {
2242
- name: string;
2243
2242
  id: string;
2244
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2245
- createdAt: string | Date;
2246
- updatedAt: string | Date;
2243
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2244
+ name: string;
2247
2245
  crn: string | null;
2248
- govLink: string;
2246
+ govLink: string | null;
2249
2247
  soleTrader: boolean;
2250
2248
  director: string;
2249
+ createdAt: string | Date;
2250
+ updatedAt: string | Date;
2251
2251
  blacklistReason?: string | null | undefined;
2252
2252
  lastUpdatedBy?: {
2253
- email: string;
2254
2253
  id: string;
2255
2254
  firstName: string;
2256
2255
  lastName: string;
2256
+ email: string;
2257
2257
  } | null | undefined;
2258
2258
  agentClientLinks?: {
2259
2259
  agentId: string;
@@ -2270,95 +2270,95 @@ export declare const clientContactsContractRouter: {
2270
2270
  lastName: z.ZodString;
2271
2271
  email: z.ZodString;
2272
2272
  }, "strip", z.ZodTypeAny, {
2273
- email: string;
2274
2273
  id: string;
2275
2274
  firstName: string;
2276
2275
  lastName: string;
2277
- }, {
2278
2276
  email: string;
2277
+ }, {
2279
2278
  id: string;
2280
2279
  firstName: string;
2281
2280
  lastName: string;
2281
+ email: string;
2282
2282
  }>;
2283
2283
  createdById: z.ZodString;
2284
2284
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2285
2285
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2286
2286
  }, "strip", z.ZodTypeAny, {
2287
- name: string;
2288
- email: string | null;
2289
- phone: string;
2290
- createdBy: {
2291
- email: string;
2292
- id: string;
2293
- firstName: string;
2294
- lastName: string;
2295
- };
2296
2287
  id: string;
2288
+ email: string | null;
2289
+ name: string;
2297
2290
  createdAt: string;
2298
2291
  updatedAt: string;
2292
+ clientId: string;
2299
2293
  client: {
2300
- name: string;
2301
2294
  id: string;
2302
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2303
- createdAt: string;
2304
- updatedAt: string;
2295
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2296
+ name: string;
2305
2297
  crn: string | null;
2306
- govLink: string;
2298
+ govLink: string | null;
2307
2299
  soleTrader: boolean;
2308
2300
  director: string;
2301
+ createdAt: string;
2302
+ updatedAt: string;
2309
2303
  blacklistReason?: string | null | undefined;
2310
2304
  lastUpdatedBy?: {
2311
- email: string;
2312
2305
  id: string;
2313
2306
  firstName: string;
2314
2307
  lastName: string;
2308
+ email: string;
2315
2309
  } | null | undefined;
2316
2310
  agentClientLinks?: {
2317
2311
  agentId: string;
2318
2312
  } | null | undefined;
2319
2313
  };
2320
- clientId: string;
2321
- createdById: string;
2322
- source?: string | undefined;
2323
- position?: string | undefined;
2324
- }, {
2325
- name: string;
2326
- email: string | null;
2327
2314
  phone: string;
2328
2315
  createdBy: {
2329
- email: string;
2330
2316
  id: string;
2331
2317
  firstName: string;
2332
2318
  lastName: string;
2319
+ email: string;
2333
2320
  };
2321
+ createdById: string;
2322
+ position?: string | undefined;
2323
+ source?: string | undefined;
2324
+ }, {
2334
2325
  id: string;
2326
+ email: string | null;
2327
+ name: string;
2335
2328
  createdAt: string | Date;
2336
2329
  updatedAt: string | Date;
2330
+ clientId: string;
2337
2331
  client: {
2338
- name: string;
2339
2332
  id: string;
2340
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2341
- createdAt: string | Date;
2342
- updatedAt: string | Date;
2333
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2334
+ name: string;
2343
2335
  crn: string | null;
2344
- govLink: string;
2336
+ govLink: string | null;
2345
2337
  soleTrader: boolean;
2346
2338
  director: string;
2339
+ createdAt: string | Date;
2340
+ updatedAt: string | Date;
2347
2341
  blacklistReason?: string | null | undefined;
2348
2342
  lastUpdatedBy?: {
2349
- email: string;
2350
2343
  id: string;
2351
2344
  firstName: string;
2352
2345
  lastName: string;
2346
+ email: string;
2353
2347
  } | null | undefined;
2354
2348
  agentClientLinks?: {
2355
2349
  agentId: string;
2356
2350
  } | null | undefined;
2357
2351
  };
2358
- clientId: string;
2352
+ phone: string;
2353
+ createdBy: {
2354
+ id: string;
2355
+ firstName: string;
2356
+ lastName: string;
2357
+ email: string;
2358
+ };
2359
2359
  createdById: string;
2360
- source?: string | undefined;
2361
2360
  position?: string | undefined;
2361
+ source?: string | undefined;
2362
2362
  }>;
2363
2363
  404: z.ZodObject<{
2364
2364
  statusCode: z.ZodNumber;