@dakkitor/api-contracts 1.1.131 → 1.1.133

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 (63) hide show
  1. package/dist/abilities/abilities.contract.d.ts +19 -13
  2. package/dist/abilities/abilities.contract.js +33 -18
  3. package/dist/abilities/first-agent.abilities.json +68 -56
  4. package/dist/abilities/second-agent.abilities.json +3 -3
  5. package/dist/abilities/team-leads.json +3 -6
  6. package/dist/actives/actives.contract.d.ts +6313 -6313
  7. package/dist/actives/actives.contract.js +92 -92
  8. package/dist/agent-client-links/agent-client-links.contract.d.ts +511 -511
  9. package/dist/auth/auth.contract.d.ts +16 -16
  10. package/dist/bookings/bookings.contract.d.ts +23378 -23378
  11. package/dist/call-history/call-history.contract.d.ts +366 -366
  12. package/dist/call-history/call-history.contract.js +67 -67
  13. package/dist/client-contacts/client-contacts.contract.d.ts +159 -159
  14. package/dist/clients/clients.contract.d.ts +72 -72
  15. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1330 -1330
  16. package/dist/collaborations/collaborations.contract.d.ts +1198 -1198
  17. package/dist/common/call-rating.schema.d.ts +12 -12
  18. package/dist/common/call-rating.schema.js +48 -40
  19. package/dist/common/common-schemas.d.ts +4 -4
  20. package/dist/common/common-schemas.d.ts.map +1 -1
  21. package/dist/common/common-schemas.js +1 -2
  22. package/dist/common/error-schemas.d.ts +11 -5
  23. package/dist/common/error-schemas.js +11 -8
  24. package/dist/common/openapi-metadata.d.ts +54 -44
  25. package/dist/common/openapi-metadata.js +135 -129
  26. package/dist/common/pagination-query.schema.d.ts +11 -5
  27. package/dist/common/pagination-query.schema.js +11 -8
  28. package/dist/companies/companies.contract.d.ts +40 -40
  29. package/dist/cron-executions/cron-executions.contract.d.ts +14 -14
  30. package/dist/curated-workers/curated-workers.contract.d.ts +211 -211
  31. package/dist/dashboards/agent-daily-metrics.contract.d.ts +798 -616
  32. package/dist/dashboards/agent-daily-metrics.contract.js +100 -89
  33. package/dist/dashboards/dashboard-widgets.contract.d.ts +75 -75
  34. package/dist/dashboards/dashboard-widgets.contract.js +89 -89
  35. package/dist/dashboards/dashboard.contract.d.ts +305 -215
  36. package/dist/files/files.contract.d.ts +1544 -1177
  37. package/dist/files/files.contract.js +177 -162
  38. package/dist/health/health.contract.d.ts +191 -144
  39. package/dist/health/health.contract.js +53 -40
  40. package/dist/index.d.ts +67 -67
  41. package/dist/jobs/jobs.contract.d.ts +2553 -2553
  42. package/dist/jobs/jobs.contract.js +150 -150
  43. package/dist/lead-assignments/lead-assignments.contract.d.ts +587 -587
  44. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +239 -239
  45. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +25 -25
  46. package/dist/leads/leads.contract.d.ts +108 -108
  47. package/dist/leads/leads.contract.js +119 -119
  48. package/dist/locations/locations.contract.d.ts +7 -7
  49. package/dist/monitoring/monitoring.contract.d.ts +13 -13
  50. package/dist/monitoring/monitoring.contract.js +37 -37
  51. package/dist/own-research/own-research.contract.d.ts +535 -134
  52. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  53. package/dist/own-research/own-research.contract.js +88 -56
  54. package/dist/postcodes/postcodes.contract.d.ts +24 -24
  55. package/dist/qualifications/qualifications.contract.d.ts +1898 -1387
  56. package/dist/qualifications/qualifications.contract.js +193 -171
  57. package/dist/trades/trades.contract.d.ts +991 -763
  58. package/dist/trades/trades.contract.js +111 -89
  59. package/dist/users/users.contract.d.ts +202 -202
  60. package/dist/users/users.contract.js +121 -121
  61. package/dist/workers/workers.contract.d.ts +710 -710
  62. package/dist/workers/workers.contract.js +150 -150
  63. package/package.json +1 -1
@@ -55,10 +55,10 @@ export declare const ClientContactSchema: z.ZodObject<{
55
55
  }>>>;
56
56
  }, "strip", z.ZodTypeAny, {
57
57
  name: string;
58
+ id: string;
59
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
58
60
  createdAt: string;
59
61
  updatedAt: string;
60
- id: string;
61
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
62
62
  crn: string | null;
63
63
  govLink: string;
64
64
  soleTrader: boolean;
@@ -75,10 +75,10 @@ export declare const ClientContactSchema: z.ZodObject<{
75
75
  } | null | undefined;
76
76
  }, {
77
77
  name: string;
78
+ id: string;
79
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
78
80
  createdAt: string | Date;
79
81
  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;
@@ -122,8 +122,6 @@ export declare const ClientContactSchema: z.ZodObject<{
122
122
  name: string;
123
123
  email: string | null;
124
124
  phone: string;
125
- createdAt: string;
126
- updatedAt: string;
127
125
  createdBy: {
128
126
  email: string;
129
127
  id: string;
@@ -131,13 +129,14 @@ export declare const ClientContactSchema: z.ZodObject<{
131
129
  lastName: string;
132
130
  };
133
131
  id: string;
134
- clientId: string;
132
+ createdAt: string;
133
+ updatedAt: string;
135
134
  client: {
136
135
  name: string;
136
+ id: string;
137
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
137
138
  createdAt: string;
138
139
  updatedAt: string;
139
- id: string;
140
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
141
140
  crn: string | null;
142
141
  govLink: string;
143
142
  soleTrader: boolean;
@@ -153,15 +152,14 @@ export declare const ClientContactSchema: z.ZodObject<{
153
152
  agentId: string;
154
153
  } | null | undefined;
155
154
  };
155
+ clientId: string;
156
156
  createdById: string;
157
- position?: string | undefined;
158
157
  source?: string | undefined;
158
+ position?: string | undefined;
159
159
  }, {
160
160
  name: string;
161
161
  email: string | null;
162
162
  phone: string;
163
- createdAt: string | Date;
164
- updatedAt: string | Date;
165
163
  createdBy: {
166
164
  email: string;
167
165
  id: string;
@@ -169,13 +167,14 @@ export declare const ClientContactSchema: z.ZodObject<{
169
167
  lastName: string;
170
168
  };
171
169
  id: string;
172
- clientId: string;
170
+ createdAt: string | Date;
171
+ updatedAt: string | Date;
173
172
  client: {
174
173
  name: string;
174
+ id: string;
175
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
175
176
  createdAt: string | Date;
176
177
  updatedAt: string | Date;
177
- id: string;
178
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
179
178
  crn: string | null;
180
179
  govLink: string;
181
180
  soleTrader: boolean;
@@ -191,9 +190,10 @@ export declare const ClientContactSchema: z.ZodObject<{
191
190
  agentId: string;
192
191
  } | null | undefined;
193
192
  };
193
+ clientId: string;
194
194
  createdById: string;
195
- position?: string | undefined;
196
195
  source?: string | undefined;
196
+ position?: string | undefined;
197
197
  }>;
198
198
  export declare const CreateClientContactSchema: z.ZodObject<{
199
199
  client: z.ZodObject<{
@@ -215,8 +215,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
215
215
  id: string;
216
216
  };
217
217
  email?: string | undefined;
218
- position?: string | undefined;
219
218
  source?: string | undefined;
219
+ position?: string | undefined;
220
220
  }, {
221
221
  name: string;
222
222
  phone: string;
@@ -224,8 +224,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
224
224
  id: string;
225
225
  };
226
226
  email?: string | undefined;
227
- position?: string | undefined;
228
227
  source?: string | undefined;
228
+ position?: 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
- position?: string | undefined;
248
247
  source?: string | undefined;
248
+ position?: string | undefined;
249
249
  }, {
250
250
  name: string;
251
251
  phone: string;
252
252
  email?: string | undefined;
253
- position?: string | undefined;
254
253
  source?: string | undefined;
254
+ position?: string | undefined;
255
255
  }>;
256
256
  export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
257
257
  client: z.ZodOptional<z.ZodObject<{
@@ -270,14 +270,14 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
270
270
  name?: string | undefined;
271
271
  email?: string | undefined;
272
272
  phone?: string | undefined;
273
- position?: string | undefined;
274
273
  source?: string | undefined;
274
+ position?: string | undefined;
275
275
  }, {
276
276
  name?: string | undefined;
277
277
  email?: string | undefined;
278
278
  phone?: string | undefined;
279
- position?: string | undefined;
280
279
  source?: string | undefined;
280
+ position?: string | undefined;
281
281
  }>;
282
282
  export declare const FilterClientContactSchema: z.ZodObject<{
283
283
  limit: z.ZodDefault<z.ZodNumber>;
@@ -300,10 +300,10 @@ export declare const FilterClientContactSchema: z.ZodObject<{
300
300
  name?: string | undefined;
301
301
  email?: string | undefined;
302
302
  phone?: string | undefined;
303
- position?: string | undefined;
304
- clientId?: string | undefined;
305
303
  source?: string | undefined;
304
+ clientId?: string | undefined;
306
305
  createdById?: string | undefined;
306
+ position?: string | undefined;
307
307
  }, {
308
308
  name?: string | undefined;
309
309
  email?: string | undefined;
@@ -312,10 +312,10 @@ export declare const FilterClientContactSchema: z.ZodObject<{
312
312
  sortOrder?: "ASC" | "DESC" | undefined;
313
313
  page?: number | undefined;
314
314
  limit?: number | undefined;
315
- position?: string | undefined;
316
- clientId?: string | undefined;
317
315
  source?: string | undefined;
316
+ clientId?: string | undefined;
318
317
  createdById?: string | undefined;
318
+ position?: string | undefined;
319
319
  }>;
320
320
  export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
321
321
  items: z.ZodArray<z.ZodObject<{
@@ -357,10 +357,10 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
357
357
  }>>>;
358
358
  }, "strip", z.ZodTypeAny, {
359
359
  name: string;
360
+ id: string;
361
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
360
362
  createdAt: string;
361
363
  updatedAt: string;
362
- id: string;
363
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
364
364
  crn: string | null;
365
365
  govLink: string;
366
366
  soleTrader: boolean;
@@ -377,10 +377,10 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
377
377
  } | null | undefined;
378
378
  }, {
379
379
  name: string;
380
+ id: string;
381
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
380
382
  createdAt: string | Date;
381
383
  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;
@@ -424,8 +424,6 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
424
424
  name: string;
425
425
  email: string | null;
426
426
  phone: string;
427
- createdAt: string;
428
- updatedAt: string;
429
427
  createdBy: {
430
428
  email: string;
431
429
  id: string;
@@ -433,13 +431,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
433
431
  lastName: string;
434
432
  };
435
433
  id: string;
436
- clientId: string;
434
+ createdAt: string;
435
+ updatedAt: string;
437
436
  client: {
438
437
  name: string;
438
+ id: string;
439
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
439
440
  createdAt: string;
440
441
  updatedAt: string;
441
- id: string;
442
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
443
442
  crn: string | null;
444
443
  govLink: string;
445
444
  soleTrader: boolean;
@@ -455,15 +454,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
455
454
  agentId: string;
456
455
  } | null | undefined;
457
456
  };
457
+ clientId: string;
458
458
  createdById: string;
459
- position?: string | undefined;
460
459
  source?: string | undefined;
460
+ position?: string | undefined;
461
461
  }, {
462
462
  name: string;
463
463
  email: string | null;
464
464
  phone: string;
465
- createdAt: string | Date;
466
- updatedAt: string | Date;
467
465
  createdBy: {
468
466
  email: string;
469
467
  id: string;
@@ -471,13 +469,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
471
469
  lastName: string;
472
470
  };
473
471
  id: string;
474
- clientId: string;
472
+ createdAt: string | Date;
473
+ updatedAt: string | Date;
475
474
  client: {
476
475
  name: string;
476
+ id: string;
477
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
477
478
  createdAt: string | Date;
478
479
  updatedAt: string | Date;
479
- id: string;
480
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
481
480
  crn: string | null;
482
481
  govLink: string;
483
482
  soleTrader: boolean;
@@ -493,9 +492,10 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
493
492
  agentId: string;
494
493
  } | null | undefined;
495
494
  };
495
+ clientId: string;
496
496
  createdById: string;
497
- position?: string | undefined;
498
497
  source?: string | undefined;
498
+ position?: string | undefined;
499
499
  }>, "many">;
500
500
  totalCount: z.ZodNumber;
501
501
  limit: z.ZodNumber;
@@ -508,8 +508,6 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
508
508
  name: string;
509
509
  email: string | null;
510
510
  phone: string;
511
- createdAt: string;
512
- updatedAt: string;
513
511
  createdBy: {
514
512
  email: string;
515
513
  id: string;
@@ -517,13 +515,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
517
515
  lastName: string;
518
516
  };
519
517
  id: string;
520
- clientId: string;
518
+ createdAt: string;
519
+ updatedAt: string;
521
520
  client: {
522
521
  name: string;
522
+ id: string;
523
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
523
524
  createdAt: string;
524
525
  updatedAt: string;
525
- id: string;
526
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
527
526
  crn: string | null;
528
527
  govLink: string;
529
528
  soleTrader: boolean;
@@ -539,9 +538,10 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
539
538
  agentId: string;
540
539
  } | null | undefined;
541
540
  };
541
+ clientId: string;
542
542
  createdById: string;
543
- position?: string | undefined;
544
543
  source?: string | undefined;
544
+ position?: string | undefined;
545
545
  }[];
546
546
  totalCount: number;
547
547
  skip: number;
@@ -553,8 +553,6 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
553
553
  name: string;
554
554
  email: string | null;
555
555
  phone: string;
556
- createdAt: string | Date;
557
- updatedAt: string | Date;
558
556
  createdBy: {
559
557
  email: string;
560
558
  id: string;
@@ -562,13 +560,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
562
560
  lastName: string;
563
561
  };
564
562
  id: string;
565
- clientId: string;
563
+ createdAt: string | Date;
564
+ updatedAt: string | Date;
566
565
  client: {
567
566
  name: string;
567
+ id: string;
568
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
568
569
  createdAt: string | Date;
569
570
  updatedAt: string | Date;
570
- id: string;
571
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
572
571
  crn: string | null;
573
572
  govLink: string;
574
573
  soleTrader: boolean;
@@ -584,9 +583,10 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
584
583
  agentId: string;
585
584
  } | null | undefined;
586
585
  };
586
+ clientId: string;
587
587
  createdById: string;
588
- position?: string | undefined;
589
588
  source?: string | undefined;
589
+ position?: string | undefined;
590
590
  }[];
591
591
  totalCount: number;
592
592
  skip: number;
@@ -628,8 +628,8 @@ export declare const clientContactsContractRouter: {
628
628
  id: string;
629
629
  };
630
630
  email?: string | undefined;
631
- position?: string | undefined;
632
631
  source?: string | undefined;
632
+ position?: string | undefined;
633
633
  }, {
634
634
  name: string;
635
635
  phone: string;
@@ -637,8 +637,8 @@ export declare const clientContactsContractRouter: {
637
637
  id: string;
638
638
  };
639
639
  email?: string | undefined;
640
- position?: string | undefined;
641
640
  source?: string | undefined;
641
+ position?: string | undefined;
642
642
  }>;
643
643
  path: "/v2/client-contacts";
644
644
  responses: {
@@ -781,10 +781,10 @@ export declare const clientContactsContractRouter: {
781
781
  }>>>;
782
782
  }, "strip", z.ZodTypeAny, {
783
783
  name: string;
784
+ id: string;
785
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
784
786
  createdAt: string;
785
787
  updatedAt: string;
786
- id: string;
787
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
788
788
  crn: string | null;
789
789
  govLink: string;
790
790
  soleTrader: boolean;
@@ -801,10 +801,10 @@ export declare const clientContactsContractRouter: {
801
801
  } | null | undefined;
802
802
  }, {
803
803
  name: string;
804
+ id: string;
805
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
804
806
  createdAt: string | Date;
805
807
  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;
@@ -848,8 +848,6 @@ export declare const clientContactsContractRouter: {
848
848
  name: string;
849
849
  email: string | null;
850
850
  phone: string;
851
- createdAt: string;
852
- updatedAt: string;
853
851
  createdBy: {
854
852
  email: string;
855
853
  id: string;
@@ -857,13 +855,14 @@ export declare const clientContactsContractRouter: {
857
855
  lastName: string;
858
856
  };
859
857
  id: string;
860
- clientId: string;
858
+ createdAt: string;
859
+ updatedAt: string;
861
860
  client: {
862
861
  name: string;
862
+ id: string;
863
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
863
864
  createdAt: string;
864
865
  updatedAt: string;
865
- id: string;
866
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
867
866
  crn: string | null;
868
867
  govLink: string;
869
868
  soleTrader: boolean;
@@ -879,15 +878,14 @@ export declare const clientContactsContractRouter: {
879
878
  agentId: string;
880
879
  } | null | undefined;
881
880
  };
881
+ clientId: string;
882
882
  createdById: string;
883
- position?: string | undefined;
884
883
  source?: string | undefined;
884
+ position?: string | undefined;
885
885
  }, {
886
886
  name: string;
887
887
  email: string | null;
888
888
  phone: string;
889
- createdAt: string | Date;
890
- updatedAt: string | Date;
891
889
  createdBy: {
892
890
  email: string;
893
891
  id: string;
@@ -895,13 +893,14 @@ export declare const clientContactsContractRouter: {
895
893
  lastName: string;
896
894
  };
897
895
  id: string;
898
- clientId: string;
896
+ createdAt: string | Date;
897
+ updatedAt: string | Date;
899
898
  client: {
900
899
  name: string;
900
+ id: string;
901
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
901
902
  createdAt: string | Date;
902
903
  updatedAt: string | Date;
903
- id: string;
904
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
905
904
  crn: string | null;
906
905
  govLink: string;
907
906
  soleTrader: boolean;
@@ -917,9 +916,10 @@ export declare const clientContactsContractRouter: {
917
916
  agentId: string;
918
917
  } | null | undefined;
919
918
  };
919
+ clientId: string;
920
920
  createdById: string;
921
- position?: string | undefined;
922
921
  source?: string | undefined;
922
+ position?: 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
- position?: string | undefined;
982
981
  source?: string | undefined;
982
+ position?: string | undefined;
983
983
  }, {
984
984
  name: string;
985
985
  phone: string;
986
986
  email?: string | undefined;
987
- position?: string | undefined;
988
987
  source?: string | undefined;
988
+ position?: string | undefined;
989
989
  }>;
990
990
  path: "/v2/client-contacts/client/:clientId";
991
991
  responses: {
@@ -1128,10 +1128,10 @@ export declare const clientContactsContractRouter: {
1128
1128
  }>>>;
1129
1129
  }, "strip", z.ZodTypeAny, {
1130
1130
  name: string;
1131
+ id: string;
1132
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1131
1133
  createdAt: string;
1132
1134
  updatedAt: string;
1133
- id: string;
1134
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1135
1135
  crn: string | null;
1136
1136
  govLink: string;
1137
1137
  soleTrader: boolean;
@@ -1148,10 +1148,10 @@ export declare const clientContactsContractRouter: {
1148
1148
  } | null | undefined;
1149
1149
  }, {
1150
1150
  name: string;
1151
+ id: string;
1152
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1151
1153
  createdAt: string | Date;
1152
1154
  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;
@@ -1195,8 +1195,6 @@ export declare const clientContactsContractRouter: {
1195
1195
  name: string;
1196
1196
  email: string | null;
1197
1197
  phone: string;
1198
- createdAt: string;
1199
- updatedAt: string;
1200
1198
  createdBy: {
1201
1199
  email: string;
1202
1200
  id: string;
@@ -1204,13 +1202,14 @@ export declare const clientContactsContractRouter: {
1204
1202
  lastName: string;
1205
1203
  };
1206
1204
  id: string;
1207
- clientId: string;
1205
+ createdAt: string;
1206
+ updatedAt: string;
1208
1207
  client: {
1209
1208
  name: string;
1209
+ id: string;
1210
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1210
1211
  createdAt: string;
1211
1212
  updatedAt: string;
1212
- id: string;
1213
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1214
1213
  crn: string | null;
1215
1214
  govLink: string;
1216
1215
  soleTrader: boolean;
@@ -1226,15 +1225,14 @@ export declare const clientContactsContractRouter: {
1226
1225
  agentId: string;
1227
1226
  } | null | undefined;
1228
1227
  };
1228
+ clientId: string;
1229
1229
  createdById: string;
1230
- position?: string | undefined;
1231
1230
  source?: string | undefined;
1231
+ position?: string | undefined;
1232
1232
  }, {
1233
1233
  name: string;
1234
1234
  email: string | null;
1235
1235
  phone: string;
1236
- createdAt: string | Date;
1237
- updatedAt: string | Date;
1238
1236
  createdBy: {
1239
1237
  email: string;
1240
1238
  id: string;
@@ -1242,13 +1240,14 @@ export declare const clientContactsContractRouter: {
1242
1240
  lastName: string;
1243
1241
  };
1244
1242
  id: string;
1245
- clientId: string;
1243
+ createdAt: string | Date;
1244
+ updatedAt: string | Date;
1246
1245
  client: {
1247
1246
  name: string;
1247
+ id: string;
1248
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1248
1249
  createdAt: string | Date;
1249
1250
  updatedAt: string | Date;
1250
- id: string;
1251
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1252
1251
  crn: string | null;
1253
1252
  govLink: string;
1254
1253
  soleTrader: boolean;
@@ -1264,9 +1263,10 @@ export declare const clientContactsContractRouter: {
1264
1263
  agentId: string;
1265
1264
  } | null | undefined;
1266
1265
  };
1266
+ clientId: string;
1267
1267
  createdById: string;
1268
- position?: string | undefined;
1269
1268
  source?: string | undefined;
1269
+ position?: string | undefined;
1270
1270
  }>;
1271
1271
  409: z.ZodObject<{
1272
1272
  statusCode: z.ZodNumber;
@@ -1296,9 +1296,6 @@ export declare const clientContactsContractRouter: {
1296
1296
  };
1297
1297
  };
1298
1298
  findAll: {
1299
- metadata: {
1300
- tags: string[];
1301
- };
1302
1299
  query: z.ZodObject<{
1303
1300
  limit: z.ZodDefault<z.ZodNumber>;
1304
1301
  page: z.ZodDefault<z.ZodNumber>;
@@ -1320,10 +1317,10 @@ export declare const clientContactsContractRouter: {
1320
1317
  name?: string | undefined;
1321
1318
  email?: string | undefined;
1322
1319
  phone?: string | undefined;
1323
- position?: string | undefined;
1324
- clientId?: string | undefined;
1325
1320
  source?: string | undefined;
1321
+ clientId?: string | undefined;
1326
1322
  createdById?: string | undefined;
1323
+ position?: string | undefined;
1327
1324
  }, {
1328
1325
  name?: string | undefined;
1329
1326
  email?: string | undefined;
@@ -1332,11 +1329,14 @@ export declare const clientContactsContractRouter: {
1332
1329
  sortOrder?: "ASC" | "DESC" | undefined;
1333
1330
  page?: number | undefined;
1334
1331
  limit?: number | undefined;
1335
- position?: string | undefined;
1336
- clientId?: string | undefined;
1337
1332
  source?: string | undefined;
1333
+ clientId?: string | undefined;
1338
1334
  createdById?: string | undefined;
1335
+ position?: string | undefined;
1339
1336
  }>;
1337
+ metadata: {
1338
+ tags: string[];
1339
+ };
1340
1340
  summary: "Get all client contacts";
1341
1341
  method: "GET";
1342
1342
  path: "/v2/client-contacts";
@@ -1481,10 +1481,10 @@ export declare const clientContactsContractRouter: {
1481
1481
  }>>>;
1482
1482
  }, "strip", z.ZodTypeAny, {
1483
1483
  name: string;
1484
+ id: string;
1485
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1484
1486
  createdAt: string;
1485
1487
  updatedAt: string;
1486
- id: string;
1487
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1488
1488
  crn: string | null;
1489
1489
  govLink: string;
1490
1490
  soleTrader: boolean;
@@ -1501,10 +1501,10 @@ export declare const clientContactsContractRouter: {
1501
1501
  } | null | undefined;
1502
1502
  }, {
1503
1503
  name: string;
1504
+ id: string;
1505
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1504
1506
  createdAt: string | Date;
1505
1507
  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;
@@ -1548,8 +1548,6 @@ export declare const clientContactsContractRouter: {
1548
1548
  name: string;
1549
1549
  email: string | null;
1550
1550
  phone: string;
1551
- createdAt: string;
1552
- updatedAt: string;
1553
1551
  createdBy: {
1554
1552
  email: string;
1555
1553
  id: string;
@@ -1557,13 +1555,14 @@ export declare const clientContactsContractRouter: {
1557
1555
  lastName: string;
1558
1556
  };
1559
1557
  id: string;
1560
- clientId: string;
1558
+ createdAt: string;
1559
+ updatedAt: string;
1561
1560
  client: {
1562
1561
  name: string;
1562
+ id: string;
1563
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1563
1564
  createdAt: string;
1564
1565
  updatedAt: string;
1565
- id: string;
1566
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1567
1566
  crn: string | null;
1568
1567
  govLink: string;
1569
1568
  soleTrader: boolean;
@@ -1579,15 +1578,14 @@ export declare const clientContactsContractRouter: {
1579
1578
  agentId: string;
1580
1579
  } | null | undefined;
1581
1580
  };
1581
+ clientId: string;
1582
1582
  createdById: string;
1583
- position?: string | undefined;
1584
1583
  source?: string | undefined;
1584
+ position?: string | undefined;
1585
1585
  }, {
1586
1586
  name: string;
1587
1587
  email: string | null;
1588
1588
  phone: string;
1589
- createdAt: string | Date;
1590
- updatedAt: string | Date;
1591
1589
  createdBy: {
1592
1590
  email: string;
1593
1591
  id: string;
@@ -1595,13 +1593,14 @@ export declare const clientContactsContractRouter: {
1595
1593
  lastName: string;
1596
1594
  };
1597
1595
  id: string;
1598
- clientId: string;
1596
+ createdAt: string | Date;
1597
+ updatedAt: string | Date;
1599
1598
  client: {
1600
1599
  name: string;
1600
+ id: string;
1601
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1601
1602
  createdAt: string | Date;
1602
1603
  updatedAt: string | Date;
1603
- id: string;
1604
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1605
1604
  crn: string | null;
1606
1605
  govLink: string;
1607
1606
  soleTrader: boolean;
@@ -1617,9 +1616,10 @@ export declare const clientContactsContractRouter: {
1617
1616
  agentId: string;
1618
1617
  } | null | undefined;
1619
1618
  };
1619
+ clientId: string;
1620
1620
  createdById: string;
1621
- position?: string | undefined;
1622
1621
  source?: string | undefined;
1622
+ position?: string | undefined;
1623
1623
  }>, "many">;
1624
1624
  totalCount: z.ZodNumber;
1625
1625
  limit: z.ZodNumber;
@@ -1632,8 +1632,6 @@ export declare const clientContactsContractRouter: {
1632
1632
  name: string;
1633
1633
  email: string | null;
1634
1634
  phone: string;
1635
- createdAt: string;
1636
- updatedAt: string;
1637
1635
  createdBy: {
1638
1636
  email: string;
1639
1637
  id: string;
@@ -1641,13 +1639,14 @@ export declare const clientContactsContractRouter: {
1641
1639
  lastName: string;
1642
1640
  };
1643
1641
  id: string;
1644
- clientId: string;
1642
+ createdAt: string;
1643
+ updatedAt: string;
1645
1644
  client: {
1646
1645
  name: string;
1646
+ id: string;
1647
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1647
1648
  createdAt: string;
1648
1649
  updatedAt: string;
1649
- id: string;
1650
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1651
1650
  crn: string | null;
1652
1651
  govLink: string;
1653
1652
  soleTrader: boolean;
@@ -1663,9 +1662,10 @@ export declare const clientContactsContractRouter: {
1663
1662
  agentId: string;
1664
1663
  } | null | undefined;
1665
1664
  };
1665
+ clientId: string;
1666
1666
  createdById: string;
1667
- position?: string | undefined;
1668
1667
  source?: string | undefined;
1668
+ position?: string | undefined;
1669
1669
  }[];
1670
1670
  totalCount: number;
1671
1671
  skip: number;
@@ -1677,8 +1677,6 @@ export declare const clientContactsContractRouter: {
1677
1677
  name: string;
1678
1678
  email: string | null;
1679
1679
  phone: string;
1680
- createdAt: string | Date;
1681
- updatedAt: string | Date;
1682
1680
  createdBy: {
1683
1681
  email: string;
1684
1682
  id: string;
@@ -1686,13 +1684,14 @@ export declare const clientContactsContractRouter: {
1686
1684
  lastName: string;
1687
1685
  };
1688
1686
  id: string;
1689
- clientId: string;
1687
+ createdAt: string | Date;
1688
+ updatedAt: string | Date;
1690
1689
  client: {
1691
1690
  name: string;
1691
+ id: string;
1692
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1692
1693
  createdAt: string | Date;
1693
1694
  updatedAt: string | Date;
1694
- id: string;
1695
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1696
1695
  crn: string | null;
1697
1696
  govLink: string;
1698
1697
  soleTrader: boolean;
@@ -1708,9 +1707,10 @@ export declare const clientContactsContractRouter: {
1708
1707
  agentId: string;
1709
1708
  } | null | undefined;
1710
1709
  };
1710
+ clientId: string;
1711
1711
  createdById: string;
1712
- position?: string | undefined;
1713
1712
  source?: string | undefined;
1713
+ position?: string | undefined;
1714
1714
  }[];
1715
1715
  totalCount: number;
1716
1716
  skip: number;
@@ -1873,10 +1873,10 @@ export declare const clientContactsContractRouter: {
1873
1873
  }>>>;
1874
1874
  }, "strip", z.ZodTypeAny, {
1875
1875
  name: string;
1876
+ id: string;
1877
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1876
1878
  createdAt: string;
1877
1879
  updatedAt: string;
1878
- id: string;
1879
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1880
1880
  crn: string | null;
1881
1881
  govLink: string;
1882
1882
  soleTrader: boolean;
@@ -1893,10 +1893,10 @@ export declare const clientContactsContractRouter: {
1893
1893
  } | null | undefined;
1894
1894
  }, {
1895
1895
  name: string;
1896
+ id: string;
1897
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1896
1898
  createdAt: string | Date;
1897
1899
  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;
@@ -1940,8 +1940,6 @@ export declare const clientContactsContractRouter: {
1940
1940
  name: string;
1941
1941
  email: string | null;
1942
1942
  phone: string;
1943
- createdAt: string;
1944
- updatedAt: string;
1945
1943
  createdBy: {
1946
1944
  email: string;
1947
1945
  id: string;
@@ -1949,13 +1947,14 @@ export declare const clientContactsContractRouter: {
1949
1947
  lastName: string;
1950
1948
  };
1951
1949
  id: string;
1952
- clientId: string;
1950
+ createdAt: string;
1951
+ updatedAt: string;
1953
1952
  client: {
1954
1953
  name: string;
1954
+ id: string;
1955
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1955
1956
  createdAt: string;
1956
1957
  updatedAt: string;
1957
- id: string;
1958
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1959
1958
  crn: string | null;
1960
1959
  govLink: string;
1961
1960
  soleTrader: boolean;
@@ -1971,15 +1970,14 @@ export declare const clientContactsContractRouter: {
1971
1970
  agentId: string;
1972
1971
  } | null | undefined;
1973
1972
  };
1973
+ clientId: string;
1974
1974
  createdById: string;
1975
- position?: string | undefined;
1976
1975
  source?: string | undefined;
1976
+ position?: string | undefined;
1977
1977
  }, {
1978
1978
  name: string;
1979
1979
  email: string | null;
1980
1980
  phone: string;
1981
- createdAt: string | Date;
1982
- updatedAt: string | Date;
1983
1981
  createdBy: {
1984
1982
  email: string;
1985
1983
  id: string;
@@ -1987,13 +1985,14 @@ export declare const clientContactsContractRouter: {
1987
1985
  lastName: string;
1988
1986
  };
1989
1987
  id: string;
1990
- clientId: string;
1988
+ createdAt: string | Date;
1989
+ updatedAt: string | Date;
1991
1990
  client: {
1992
1991
  name: string;
1992
+ id: string;
1993
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1993
1994
  createdAt: string | Date;
1994
1995
  updatedAt: string | Date;
1995
- id: string;
1996
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1997
1996
  crn: string | null;
1998
1997
  govLink: string;
1999
1998
  soleTrader: boolean;
@@ -2009,9 +2008,10 @@ export declare const clientContactsContractRouter: {
2009
2008
  agentId: string;
2010
2009
  } | null | undefined;
2011
2010
  };
2011
+ clientId: string;
2012
2012
  createdById: string;
2013
- position?: string | undefined;
2014
2013
  source?: string | undefined;
2014
+ position?: string | undefined;
2015
2015
  }>;
2016
2016
  404: z.ZodObject<{
2017
2017
  statusCode: z.ZodNumber;
@@ -2070,14 +2070,14 @@ export declare const clientContactsContractRouter: {
2070
2070
  name?: string | undefined;
2071
2071
  email?: string | undefined;
2072
2072
  phone?: string | undefined;
2073
- position?: string | undefined;
2074
2073
  source?: string | undefined;
2074
+ position?: string | undefined;
2075
2075
  }, {
2076
2076
  name?: string | undefined;
2077
2077
  email?: string | undefined;
2078
2078
  phone?: string | undefined;
2079
- position?: string | undefined;
2080
2079
  source?: string | undefined;
2080
+ position?: string | undefined;
2081
2081
  }>;
2082
2082
  path: "/v2/client-contacts/:contactId";
2083
2083
  responses: {
@@ -2220,10 +2220,10 @@ export declare const clientContactsContractRouter: {
2220
2220
  }>>>;
2221
2221
  }, "strip", z.ZodTypeAny, {
2222
2222
  name: string;
2223
+ id: string;
2224
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2223
2225
  createdAt: string;
2224
2226
  updatedAt: string;
2225
- id: string;
2226
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2227
2227
  crn: string | null;
2228
2228
  govLink: string;
2229
2229
  soleTrader: boolean;
@@ -2240,10 +2240,10 @@ export declare const clientContactsContractRouter: {
2240
2240
  } | null | undefined;
2241
2241
  }, {
2242
2242
  name: string;
2243
+ id: string;
2244
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2243
2245
  createdAt: string | Date;
2244
2246
  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;
@@ -2287,8 +2287,6 @@ export declare const clientContactsContractRouter: {
2287
2287
  name: string;
2288
2288
  email: string | null;
2289
2289
  phone: string;
2290
- createdAt: string;
2291
- updatedAt: string;
2292
2290
  createdBy: {
2293
2291
  email: string;
2294
2292
  id: string;
@@ -2296,13 +2294,14 @@ export declare const clientContactsContractRouter: {
2296
2294
  lastName: string;
2297
2295
  };
2298
2296
  id: string;
2299
- clientId: string;
2297
+ createdAt: string;
2298
+ updatedAt: string;
2300
2299
  client: {
2301
2300
  name: string;
2301
+ id: string;
2302
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2302
2303
  createdAt: string;
2303
2304
  updatedAt: string;
2304
- id: string;
2305
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2306
2305
  crn: string | null;
2307
2306
  govLink: string;
2308
2307
  soleTrader: boolean;
@@ -2318,15 +2317,14 @@ export declare const clientContactsContractRouter: {
2318
2317
  agentId: string;
2319
2318
  } | null | undefined;
2320
2319
  };
2320
+ clientId: string;
2321
2321
  createdById: string;
2322
- position?: string | undefined;
2323
2322
  source?: string | undefined;
2323
+ position?: string | undefined;
2324
2324
  }, {
2325
2325
  name: string;
2326
2326
  email: string | null;
2327
2327
  phone: string;
2328
- createdAt: string | Date;
2329
- updatedAt: string | Date;
2330
2328
  createdBy: {
2331
2329
  email: string;
2332
2330
  id: string;
@@ -2334,13 +2332,14 @@ export declare const clientContactsContractRouter: {
2334
2332
  lastName: string;
2335
2333
  };
2336
2334
  id: string;
2337
- clientId: string;
2335
+ createdAt: string | Date;
2336
+ updatedAt: string | Date;
2338
2337
  client: {
2339
2338
  name: string;
2339
+ id: string;
2340
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2340
2341
  createdAt: string | Date;
2341
2342
  updatedAt: string | Date;
2342
- id: string;
2343
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2344
2343
  crn: string | null;
2345
2344
  govLink: string;
2346
2345
  soleTrader: boolean;
@@ -2356,9 +2355,10 @@ export declare const clientContactsContractRouter: {
2356
2355
  agentId: string;
2357
2356
  } | null | undefined;
2358
2357
  };
2358
+ clientId: string;
2359
2359
  createdById: string;
2360
- position?: string | undefined;
2361
2360
  source?: string | undefined;
2361
+ position?: string | undefined;
2362
2362
  }>;
2363
2363
  404: z.ZodObject<{
2364
2364
  statusCode: z.ZodNumber;