@dakkitor/api-contracts 1.1.4 → 1.1.6

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.
@@ -1,4 +1,10 @@
1
1
  import { z } from 'zod';
2
+ declare const ClientStatusSchema: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
3
+ declare const SortOrderSchema: z.ZodEnum<["ASC", "DESC"]>;
4
+ declare const ClientSortableFieldsSchema: z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>;
5
+ export type ClientStatus = z.infer<typeof ClientStatusSchema>;
6
+ export type SortOrder = z.infer<typeof SortOrderSchema>;
7
+ export type ClientSortableFields = z.infer<typeof ClientSortableFieldsSchema>;
2
8
  export declare const ClientUserSchema: z.ZodObject<{
3
9
  id: z.ZodString;
4
10
  firstName: z.ZodString;
@@ -39,8 +45,8 @@ export declare const ClientSchema: z.ZodObject<{
39
45
  lastName: string;
40
46
  email: string;
41
47
  }>;
42
- createdAt: z.ZodString;
43
- updatedAt: z.ZodString;
48
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
49
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
44
50
  version: z.ZodNumber;
45
51
  agentClientLinks: z.ZodObject<{
46
52
  agentId: z.ZodString;
@@ -51,19 +57,19 @@ export declare const ClientSchema: z.ZodObject<{
51
57
  }>;
52
58
  }, "strip", z.ZodTypeAny, {
53
59
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
60
+ createdAt: string;
61
+ updatedAt: string;
54
62
  id: string;
55
63
  name: string;
64
+ director: string;
56
65
  crn: string;
57
66
  govLink: string;
58
- director: string;
59
67
  lastUpdatedBy: {
60
68
  id: string;
61
69
  firstName: string;
62
70
  lastName: string;
63
71
  email: string;
64
72
  };
65
- createdAt: string;
66
- updatedAt: string;
67
73
  version: number;
68
74
  agentClientLinks: {
69
75
  agentId: string;
@@ -71,19 +77,19 @@ export declare const ClientSchema: z.ZodObject<{
71
77
  blacklistReason?: string | null | undefined;
72
78
  }, {
73
79
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
80
+ createdAt: string | Date;
81
+ updatedAt: string | Date;
74
82
  id: string;
75
83
  name: string;
84
+ director: string;
76
85
  crn: string;
77
86
  govLink: string;
78
- director: string;
79
87
  lastUpdatedBy: {
80
88
  id: string;
81
89
  firstName: string;
82
90
  lastName: string;
83
91
  email: string;
84
92
  };
85
- createdAt: string;
86
- updatedAt: string;
87
93
  version: number;
88
94
  agentClientLinks: {
89
95
  agentId: string;
@@ -96,12 +102,12 @@ export declare const CreateClientSchema: z.ZodObject<{
96
102
  director: z.ZodString;
97
103
  }, "strip", z.ZodTypeAny, {
98
104
  name: string;
99
- govLink: string;
100
105
  director: string;
106
+ govLink: string;
101
107
  }, {
102
108
  name: string;
103
- govLink: string;
104
109
  director: string;
110
+ govLink: string;
105
111
  }>;
106
112
  export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
107
113
  name: z.ZodOptional<z.ZodString>;
@@ -112,43 +118,70 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
112
118
  }, "strip", z.ZodTypeAny, {
113
119
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
114
120
  name?: string | undefined;
115
- govLink?: string | undefined;
116
121
  director?: string | undefined;
122
+ govLink?: string | undefined;
117
123
  blacklistReason?: string | null | undefined;
118
124
  }, {
119
125
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
120
126
  name?: string | undefined;
121
- govLink?: string | undefined;
122
127
  director?: string | undefined;
128
+ govLink?: string | undefined;
123
129
  blacklistReason?: string | null | undefined;
124
130
  }>, {
125
131
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
126
132
  name?: string | undefined;
127
- govLink?: string | undefined;
128
133
  director?: string | undefined;
134
+ govLink?: string | undefined;
129
135
  blacklistReason?: string | null | undefined;
130
136
  }, {
131
137
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
132
138
  name?: string | undefined;
133
- govLink?: string | undefined;
134
139
  director?: string | undefined;
140
+ govLink?: string | undefined;
135
141
  blacklistReason?: string | null | undefined;
136
142
  }>;
137
143
  export declare const FilterClientSchema: z.ZodObject<{
138
144
  limit: z.ZodDefault<z.ZodNumber>;
139
145
  page: z.ZodDefault<z.ZodNumber>;
140
- search: z.ZodOptional<z.ZodString>;
141
- status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
146
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
+ status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>>;
148
+ director: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
150
+ from: z.ZodOptional<z.ZodString>;
151
+ to: z.ZodOptional<z.ZodString>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ from?: string | undefined;
154
+ to?: string | undefined;
155
+ }, {
156
+ from?: string | undefined;
157
+ to?: string | undefined;
158
+ }>>>;
159
+ sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>>>;
160
+ sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
142
161
  }, "strip", z.ZodTypeAny, {
143
162
  limit: number;
144
163
  page: number;
145
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
146
- search?: string | undefined;
164
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
165
+ createdAt?: {
166
+ from?: string | undefined;
167
+ to?: string | undefined;
168
+ } | null | undefined;
169
+ sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
170
+ sortOrder?: "ASC" | "DESC" | null | undefined;
171
+ name?: string | null | undefined;
172
+ director?: string | null | undefined;
147
173
  }, {
148
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
174
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
149
175
  limit?: number | undefined;
176
+ createdAt?: {
177
+ from?: string | undefined;
178
+ to?: string | undefined;
179
+ } | null | undefined;
150
180
  page?: number | undefined;
151
- search?: string | undefined;
181
+ sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
182
+ sortOrder?: "ASC" | "DESC" | null | undefined;
183
+ name?: string | null | undefined;
184
+ director?: string | null | undefined;
152
185
  }>;
153
186
  export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
154
187
  id: z.ZodString;
@@ -161,11 +194,14 @@ export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
161
194
  name: string;
162
195
  }>;
163
196
  export declare const AutocompleteQuerySchema: z.ZodObject<{
164
- search: z.ZodOptional<z.ZodString>;
197
+ query: z.ZodOptional<z.ZodString>;
198
+ id: z.ZodOptional<z.ZodString>;
165
199
  }, "strip", z.ZodTypeAny, {
166
- search?: string | undefined;
200
+ id?: string | undefined;
201
+ query?: string | undefined;
167
202
  }, {
168
- search?: string | undefined;
203
+ id?: string | undefined;
204
+ query?: string | undefined;
169
205
  }>;
170
206
  export declare const PaginatedResponseSchema: z.ZodObject<{
171
207
  items: z.ZodArray<z.ZodObject<{
@@ -192,8 +228,8 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
192
228
  lastName: string;
193
229
  email: string;
194
230
  }>;
195
- createdAt: z.ZodString;
196
- updatedAt: z.ZodString;
231
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
232
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
197
233
  version: z.ZodNumber;
198
234
  agentClientLinks: z.ZodObject<{
199
235
  agentId: z.ZodString;
@@ -204,19 +240,19 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
204
240
  }>;
205
241
  }, "strip", z.ZodTypeAny, {
206
242
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
243
+ createdAt: string;
244
+ updatedAt: string;
207
245
  id: string;
208
246
  name: string;
247
+ director: string;
209
248
  crn: string;
210
249
  govLink: string;
211
- director: string;
212
250
  lastUpdatedBy: {
213
251
  id: string;
214
252
  firstName: string;
215
253
  lastName: string;
216
254
  email: string;
217
255
  };
218
- createdAt: string;
219
- updatedAt: string;
220
256
  version: number;
221
257
  agentClientLinks: {
222
258
  agentId: string;
@@ -224,19 +260,19 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
224
260
  blacklistReason?: string | null | undefined;
225
261
  }, {
226
262
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
263
+ createdAt: string | Date;
264
+ updatedAt: string | Date;
227
265
  id: string;
228
266
  name: string;
267
+ director: string;
229
268
  crn: string;
230
269
  govLink: string;
231
- director: string;
232
270
  lastUpdatedBy: {
233
271
  id: string;
234
272
  firstName: string;
235
273
  lastName: string;
236
274
  email: string;
237
275
  };
238
- createdAt: string;
239
- updatedAt: string;
240
276
  version: number;
241
277
  agentClientLinks: {
242
278
  agentId: string;
@@ -251,19 +287,19 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
251
287
  }, "strip", z.ZodTypeAny, {
252
288
  items: {
253
289
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
290
+ createdAt: string;
291
+ updatedAt: string;
254
292
  id: string;
255
293
  name: string;
294
+ director: string;
256
295
  crn: string;
257
296
  govLink: string;
258
- director: string;
259
297
  lastUpdatedBy: {
260
298
  id: string;
261
299
  firstName: string;
262
300
  lastName: string;
263
301
  email: string;
264
302
  };
265
- createdAt: string;
266
- updatedAt: string;
267
303
  version: number;
268
304
  agentClientLinks: {
269
305
  agentId: string;
@@ -278,19 +314,19 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
278
314
  }, {
279
315
  items: {
280
316
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
317
+ createdAt: string | Date;
318
+ updatedAt: string | Date;
281
319
  id: string;
282
320
  name: string;
321
+ director: string;
283
322
  crn: string;
284
323
  govLink: string;
285
- director: string;
286
324
  lastUpdatedBy: {
287
325
  id: string;
288
326
  firstName: string;
289
327
  lastName: string;
290
328
  email: string;
291
329
  };
292
- createdAt: string;
293
- updatedAt: string;
294
330
  version: number;
295
331
  agentClientLinks: {
296
332
  agentId: string;
@@ -312,6 +348,12 @@ export type AutocompleteQueryV2 = z.infer<typeof AutocompleteQuerySchema>;
312
348
  export type PaginatedResponseV2 = z.infer<typeof PaginatedResponseSchema>;
313
349
  export declare const clientsContractRouter: {
314
350
  create: {
351
+ metadata: {
352
+ tags: string[];
353
+ openApi: {
354
+ operationId: string;
355
+ };
356
+ };
315
357
  summary: "Create a new client";
316
358
  method: "POST";
317
359
  body: z.ZodObject<{
@@ -320,12 +362,12 @@ export declare const clientsContractRouter: {
320
362
  director: z.ZodString;
321
363
  }, "strip", z.ZodTypeAny, {
322
364
  name: string;
323
- govLink: string;
324
365
  director: string;
366
+ govLink: string;
325
367
  }, {
326
368
  name: string;
327
- govLink: string;
328
369
  director: string;
370
+ govLink: string;
329
371
  }>;
330
372
  path: "/v2/clients";
331
373
  responses: {
@@ -453,8 +495,8 @@ export declare const clientsContractRouter: {
453
495
  lastName: string;
454
496
  email: string;
455
497
  }>;
456
- createdAt: z.ZodString;
457
- updatedAt: z.ZodString;
498
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
499
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
458
500
  version: z.ZodNumber;
459
501
  agentClientLinks: z.ZodObject<{
460
502
  agentId: z.ZodString;
@@ -465,19 +507,19 @@ export declare const clientsContractRouter: {
465
507
  }>;
466
508
  }, "strip", z.ZodTypeAny, {
467
509
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
510
+ createdAt: string;
511
+ updatedAt: string;
468
512
  id: string;
469
513
  name: string;
514
+ director: string;
470
515
  crn: string;
471
516
  govLink: string;
472
- director: string;
473
517
  lastUpdatedBy: {
474
518
  id: string;
475
519
  firstName: string;
476
520
  lastName: string;
477
521
  email: string;
478
522
  };
479
- createdAt: string;
480
- updatedAt: string;
481
523
  version: number;
482
524
  agentClientLinks: {
483
525
  agentId: string;
@@ -485,19 +527,19 @@ export declare const clientsContractRouter: {
485
527
  blacklistReason?: string | null | undefined;
486
528
  }, {
487
529
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
530
+ createdAt: string | Date;
531
+ updatedAt: string | Date;
488
532
  id: string;
489
533
  name: string;
534
+ director: string;
490
535
  crn: string;
491
536
  govLink: string;
492
- director: string;
493
537
  lastUpdatedBy: {
494
538
  id: string;
495
539
  firstName: string;
496
540
  lastName: string;
497
541
  email: string;
498
542
  };
499
- createdAt: string;
500
- updatedAt: string;
501
543
  version: number;
502
544
  agentClientLinks: {
503
545
  agentId: string;
@@ -532,21 +574,54 @@ export declare const clientsContractRouter: {
532
574
  };
533
575
  };
534
576
  findAll: {
577
+ metadata: {
578
+ tags: string[];
579
+ openApi: {
580
+ operationId: string;
581
+ };
582
+ };
535
583
  query: z.ZodObject<{
536
584
  limit: z.ZodDefault<z.ZodNumber>;
537
585
  page: z.ZodDefault<z.ZodNumber>;
538
- search: z.ZodOptional<z.ZodString>;
539
- status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
586
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
587
+ status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>>;
588
+ director: z.ZodNullable<z.ZodOptional<z.ZodString>>;
589
+ createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
590
+ from: z.ZodOptional<z.ZodString>;
591
+ to: z.ZodOptional<z.ZodString>;
592
+ }, "strip", z.ZodTypeAny, {
593
+ from?: string | undefined;
594
+ to?: string | undefined;
595
+ }, {
596
+ from?: string | undefined;
597
+ to?: string | undefined;
598
+ }>>>;
599
+ sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>>>;
600
+ sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
540
601
  }, "strip", z.ZodTypeAny, {
541
602
  limit: number;
542
603
  page: number;
543
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
544
- search?: string | undefined;
604
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
605
+ createdAt?: {
606
+ from?: string | undefined;
607
+ to?: string | undefined;
608
+ } | null | undefined;
609
+ sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
610
+ sortOrder?: "ASC" | "DESC" | null | undefined;
611
+ name?: string | null | undefined;
612
+ director?: string | null | undefined;
545
613
  }, {
546
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
614
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
547
615
  limit?: number | undefined;
616
+ createdAt?: {
617
+ from?: string | undefined;
618
+ to?: string | undefined;
619
+ } | null | undefined;
548
620
  page?: number | undefined;
549
- search?: string | undefined;
621
+ sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
622
+ sortOrder?: "ASC" | "DESC" | null | undefined;
623
+ name?: string | null | undefined;
624
+ director?: string | null | undefined;
550
625
  }>;
551
626
  summary: "Get all clients";
552
627
  method: "GET";
@@ -677,8 +752,8 @@ export declare const clientsContractRouter: {
677
752
  lastName: string;
678
753
  email: string;
679
754
  }>;
680
- createdAt: z.ZodString;
681
- updatedAt: z.ZodString;
755
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
756
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
682
757
  version: z.ZodNumber;
683
758
  agentClientLinks: z.ZodObject<{
684
759
  agentId: z.ZodString;
@@ -689,19 +764,19 @@ export declare const clientsContractRouter: {
689
764
  }>;
690
765
  }, "strip", z.ZodTypeAny, {
691
766
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
767
+ createdAt: string;
768
+ updatedAt: string;
692
769
  id: string;
693
770
  name: string;
771
+ director: string;
694
772
  crn: string;
695
773
  govLink: string;
696
- director: string;
697
774
  lastUpdatedBy: {
698
775
  id: string;
699
776
  firstName: string;
700
777
  lastName: string;
701
778
  email: string;
702
779
  };
703
- createdAt: string;
704
- updatedAt: string;
705
780
  version: number;
706
781
  agentClientLinks: {
707
782
  agentId: string;
@@ -709,19 +784,19 @@ export declare const clientsContractRouter: {
709
784
  blacklistReason?: string | null | undefined;
710
785
  }, {
711
786
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
787
+ createdAt: string | Date;
788
+ updatedAt: string | Date;
712
789
  id: string;
713
790
  name: string;
791
+ director: string;
714
792
  crn: string;
715
793
  govLink: string;
716
- director: string;
717
794
  lastUpdatedBy: {
718
795
  id: string;
719
796
  firstName: string;
720
797
  lastName: string;
721
798
  email: string;
722
799
  };
723
- createdAt: string;
724
- updatedAt: string;
725
800
  version: number;
726
801
  agentClientLinks: {
727
802
  agentId: string;
@@ -736,19 +811,19 @@ export declare const clientsContractRouter: {
736
811
  }, "strip", z.ZodTypeAny, {
737
812
  items: {
738
813
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
814
+ createdAt: string;
815
+ updatedAt: string;
739
816
  id: string;
740
817
  name: string;
818
+ director: string;
741
819
  crn: string;
742
820
  govLink: string;
743
- director: string;
744
821
  lastUpdatedBy: {
745
822
  id: string;
746
823
  firstName: string;
747
824
  lastName: string;
748
825
  email: string;
749
826
  };
750
- createdAt: string;
751
- updatedAt: string;
752
827
  version: number;
753
828
  agentClientLinks: {
754
829
  agentId: string;
@@ -763,19 +838,19 @@ export declare const clientsContractRouter: {
763
838
  }, {
764
839
  items: {
765
840
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
841
+ createdAt: string | Date;
842
+ updatedAt: string | Date;
766
843
  id: string;
767
844
  name: string;
845
+ director: string;
768
846
  crn: string;
769
847
  govLink: string;
770
- director: string;
771
848
  lastUpdatedBy: {
772
849
  id: string;
773
850
  firstName: string;
774
851
  lastName: string;
775
852
  email: string;
776
853
  };
777
- createdAt: string;
778
- updatedAt: string;
779
854
  version: number;
780
855
  agentClientLinks: {
781
856
  agentId: string;
@@ -791,12 +866,21 @@ export declare const clientsContractRouter: {
791
866
  };
792
867
  };
793
868
  autocomplete: {
869
+ metadata: {
870
+ tags: string[];
871
+ openApi: {
872
+ operationId: string;
873
+ };
874
+ };
794
875
  query: z.ZodObject<{
795
- search: z.ZodOptional<z.ZodString>;
876
+ query: z.ZodOptional<z.ZodString>;
877
+ id: z.ZodOptional<z.ZodString>;
796
878
  }, "strip", z.ZodTypeAny, {
797
- search?: string | undefined;
879
+ id?: string | undefined;
880
+ query?: string | undefined;
798
881
  }, {
799
- search?: string | undefined;
882
+ id?: string | undefined;
883
+ query?: string | undefined;
800
884
  }>;
801
885
  summary: "Get clients for autocomplete";
802
886
  method: "GET";
@@ -915,6 +999,12 @@ export declare const clientsContractRouter: {
915
999
  };
916
1000
  };
917
1001
  findOne: {
1002
+ metadata: {
1003
+ tags: string[];
1004
+ openApi: {
1005
+ operationId: string;
1006
+ };
1007
+ };
918
1008
  pathParams: z.ZodObject<{
919
1009
  id: z.ZodString;
920
1010
  }, "strip", z.ZodTypeAny, {
@@ -1050,8 +1140,8 @@ export declare const clientsContractRouter: {
1050
1140
  lastName: string;
1051
1141
  email: string;
1052
1142
  }>;
1053
- createdAt: z.ZodString;
1054
- updatedAt: z.ZodString;
1143
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1144
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1055
1145
  version: z.ZodNumber;
1056
1146
  agentClientLinks: z.ZodObject<{
1057
1147
  agentId: z.ZodString;
@@ -1062,19 +1152,19 @@ export declare const clientsContractRouter: {
1062
1152
  }>;
1063
1153
  }, "strip", z.ZodTypeAny, {
1064
1154
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1155
+ createdAt: string;
1156
+ updatedAt: string;
1065
1157
  id: string;
1066
1158
  name: string;
1159
+ director: string;
1067
1160
  crn: string;
1068
1161
  govLink: string;
1069
- director: string;
1070
1162
  lastUpdatedBy: {
1071
1163
  id: string;
1072
1164
  firstName: string;
1073
1165
  lastName: string;
1074
1166
  email: string;
1075
1167
  };
1076
- createdAt: string;
1077
- updatedAt: string;
1078
1168
  version: number;
1079
1169
  agentClientLinks: {
1080
1170
  agentId: string;
@@ -1082,19 +1172,19 @@ export declare const clientsContractRouter: {
1082
1172
  blacklistReason?: string | null | undefined;
1083
1173
  }, {
1084
1174
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1175
+ createdAt: string | Date;
1176
+ updatedAt: string | Date;
1085
1177
  id: string;
1086
1178
  name: string;
1179
+ director: string;
1087
1180
  crn: string;
1088
1181
  govLink: string;
1089
- director: string;
1090
1182
  lastUpdatedBy: {
1091
1183
  id: string;
1092
1184
  firstName: string;
1093
1185
  lastName: string;
1094
1186
  email: string;
1095
1187
  };
1096
- createdAt: string;
1097
- updatedAt: string;
1098
1188
  version: number;
1099
1189
  agentClientLinks: {
1100
1190
  agentId: string;
@@ -1129,6 +1219,12 @@ export declare const clientsContractRouter: {
1129
1219
  };
1130
1220
  };
1131
1221
  update: {
1222
+ metadata: {
1223
+ tags: string[];
1224
+ openApi: {
1225
+ operationId: string;
1226
+ };
1227
+ };
1132
1228
  pathParams: z.ZodObject<{
1133
1229
  id: z.ZodString;
1134
1230
  }, "strip", z.ZodTypeAny, {
@@ -1147,26 +1243,26 @@ export declare const clientsContractRouter: {
1147
1243
  }, "strip", z.ZodTypeAny, {
1148
1244
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1149
1245
  name?: string | undefined;
1150
- govLink?: string | undefined;
1151
1246
  director?: string | undefined;
1247
+ govLink?: string | undefined;
1152
1248
  blacklistReason?: string | null | undefined;
1153
1249
  }, {
1154
1250
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1155
1251
  name?: string | undefined;
1156
- govLink?: string | undefined;
1157
1252
  director?: string | undefined;
1253
+ govLink?: string | undefined;
1158
1254
  blacklistReason?: string | null | undefined;
1159
1255
  }>, {
1160
1256
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1161
1257
  name?: string | undefined;
1162
- govLink?: string | undefined;
1163
1258
  director?: string | undefined;
1259
+ govLink?: string | undefined;
1164
1260
  blacklistReason?: string | null | undefined;
1165
1261
  }, {
1166
1262
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1167
1263
  name?: string | undefined;
1168
- govLink?: string | undefined;
1169
1264
  director?: string | undefined;
1265
+ govLink?: string | undefined;
1170
1266
  blacklistReason?: string | null | undefined;
1171
1267
  }>;
1172
1268
  path: "/v2/clients/:id";
@@ -1295,8 +1391,8 @@ export declare const clientsContractRouter: {
1295
1391
  lastName: string;
1296
1392
  email: string;
1297
1393
  }>;
1298
- createdAt: z.ZodString;
1299
- updatedAt: z.ZodString;
1394
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1395
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1300
1396
  version: z.ZodNumber;
1301
1397
  agentClientLinks: z.ZodObject<{
1302
1398
  agentId: z.ZodString;
@@ -1307,19 +1403,19 @@ export declare const clientsContractRouter: {
1307
1403
  }>;
1308
1404
  }, "strip", z.ZodTypeAny, {
1309
1405
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1406
+ createdAt: string;
1407
+ updatedAt: string;
1310
1408
  id: string;
1311
1409
  name: string;
1410
+ director: string;
1312
1411
  crn: string;
1313
1412
  govLink: string;
1314
- director: string;
1315
1413
  lastUpdatedBy: {
1316
1414
  id: string;
1317
1415
  firstName: string;
1318
1416
  lastName: string;
1319
1417
  email: string;
1320
1418
  };
1321
- createdAt: string;
1322
- updatedAt: string;
1323
1419
  version: number;
1324
1420
  agentClientLinks: {
1325
1421
  agentId: string;
@@ -1327,19 +1423,19 @@ export declare const clientsContractRouter: {
1327
1423
  blacklistReason?: string | null | undefined;
1328
1424
  }, {
1329
1425
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1426
+ createdAt: string | Date;
1427
+ updatedAt: string | Date;
1330
1428
  id: string;
1331
1429
  name: string;
1430
+ director: string;
1332
1431
  crn: string;
1333
1432
  govLink: string;
1334
- director: string;
1335
1433
  lastUpdatedBy: {
1336
1434
  id: string;
1337
1435
  firstName: string;
1338
1436
  lastName: string;
1339
1437
  email: string;
1340
1438
  };
1341
- createdAt: string;
1342
- updatedAt: string;
1343
1439
  version: number;
1344
1440
  agentClientLinks: {
1345
1441
  agentId: string;
@@ -1399,6 +1495,12 @@ export declare const clientsContractRouter: {
1399
1495
  };
1400
1496
  };
1401
1497
  remove: {
1498
+ metadata: {
1499
+ tags: string[];
1500
+ openApi: {
1501
+ operationId: string;
1502
+ };
1503
+ };
1402
1504
  pathParams: z.ZodObject<{
1403
1505
  id: z.ZodString;
1404
1506
  }, "strip", z.ZodTypeAny, {
@@ -1511,7 +1613,7 @@ export declare const clientsContractRouter: {
1511
1613
  details?: unknown;
1512
1614
  correlationId?: string | undefined;
1513
1615
  }>;
1514
- 204: typeof import("@ts-rest/core").ContractNoBody;
1616
+ 224: z.ZodUndefined;
1515
1617
  404: z.ZodObject<{
1516
1618
  statusCode: z.ZodNumber;
1517
1619
  message: z.ZodString;
@@ -1540,4 +1642,5 @@ export declare const clientsContractRouter: {
1540
1642
  };
1541
1643
  };
1542
1644
  };
1645
+ export {};
1543
1646
  //# sourceMappingURL=clients.contract.d.ts.map