@dakkitor/api-contracts 1.1.127 → 1.1.129

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