@dakkitor/api-contracts 1.1.3 → 1.1.5

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,20 @@
1
1
  import { z } from 'zod';
2
+ export declare const ClientUserSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ firstName: z.ZodString;
5
+ lastName: z.ZodString;
6
+ email: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ id: string;
9
+ firstName: string;
10
+ lastName: string;
11
+ email: string;
12
+ }, {
13
+ id: string;
14
+ firstName: string;
15
+ lastName: string;
16
+ email: string;
17
+ }>;
2
18
  export declare const ClientSchema: z.ZodObject<{
3
19
  id: z.ZodString;
4
20
  name: z.ZodString;
@@ -35,19 +51,19 @@ export declare const ClientSchema: z.ZodObject<{
35
51
  }>;
36
52
  }, "strip", z.ZodTypeAny, {
37
53
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
38
- id: string;
39
54
  name: string;
55
+ director: string;
56
+ createdAt: string;
57
+ updatedAt: string;
58
+ id: string;
40
59
  crn: string;
41
60
  govLink: string;
42
- director: string;
43
61
  lastUpdatedBy: {
44
62
  id: string;
45
63
  firstName: string;
46
64
  lastName: string;
47
65
  email: string;
48
66
  };
49
- createdAt: string;
50
- updatedAt: string;
51
67
  version: number;
52
68
  agentClientLinks: {
53
69
  agentId: string;
@@ -55,19 +71,19 @@ export declare const ClientSchema: z.ZodObject<{
55
71
  blacklistReason?: string | null | undefined;
56
72
  }, {
57
73
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
58
- id: string;
59
74
  name: string;
75
+ director: string;
76
+ createdAt: string;
77
+ updatedAt: string;
78
+ id: string;
60
79
  crn: string;
61
80
  govLink: string;
62
- director: string;
63
81
  lastUpdatedBy: {
64
82
  id: string;
65
83
  firstName: string;
66
84
  lastName: string;
67
85
  email: string;
68
86
  };
69
- createdAt: string;
70
- updatedAt: string;
71
87
  version: number;
72
88
  agentClientLinks: {
73
89
  agentId: string;
@@ -80,12 +96,12 @@ export declare const CreateClientSchema: z.ZodObject<{
80
96
  director: z.ZodString;
81
97
  }, "strip", z.ZodTypeAny, {
82
98
  name: string;
83
- govLink: string;
84
99
  director: string;
100
+ govLink: string;
85
101
  }, {
86
102
  name: string;
87
- govLink: string;
88
103
  director: string;
104
+ govLink: string;
89
105
  }>;
90
106
  export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
91
107
  name: z.ZodOptional<z.ZodString>;
@@ -96,63 +112,93 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
96
112
  }, "strip", z.ZodTypeAny, {
97
113
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
98
114
  name?: string | undefined;
99
- govLink?: string | undefined;
100
115
  director?: string | undefined;
116
+ govLink?: string | undefined;
101
117
  blacklistReason?: string | null | undefined;
102
118
  }, {
103
119
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
104
120
  name?: string | undefined;
105
- govLink?: string | undefined;
106
121
  director?: string | undefined;
122
+ govLink?: string | undefined;
107
123
  blacklistReason?: string | null | undefined;
108
124
  }>, {
109
125
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
110
126
  name?: string | undefined;
111
- govLink?: string | undefined;
112
127
  director?: string | undefined;
128
+ govLink?: string | undefined;
113
129
  blacklistReason?: string | null | undefined;
114
130
  }, {
115
131
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
116
132
  name?: string | undefined;
117
- govLink?: string | undefined;
118
133
  director?: string | undefined;
134
+ govLink?: string | undefined;
119
135
  blacklistReason?: string | null | undefined;
120
136
  }>;
121
137
  export declare const FilterClientSchema: z.ZodObject<{
122
138
  limit: z.ZodDefault<z.ZodNumber>;
123
139
  page: z.ZodDefault<z.ZodNumber>;
124
- search: z.ZodOptional<z.ZodString>;
140
+ name: z.ZodOptional<z.ZodString>;
125
141
  status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
142
+ director: z.ZodOptional<z.ZodString>;
143
+ createdAt: z.ZodOptional<z.ZodObject<{
144
+ from: z.ZodOptional<z.ZodString>;
145
+ to: z.ZodOptional<z.ZodString>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ from?: string | undefined;
148
+ to?: string | undefined;
149
+ }, {
150
+ from?: string | undefined;
151
+ to?: string | undefined;
152
+ }>>;
153
+ sortBy: z.ZodOptional<z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>>;
154
+ sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
126
155
  }, "strip", z.ZodTypeAny, {
127
156
  limit: number;
128
157
  page: number;
129
158
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
130
- search?: string | undefined;
159
+ name?: string | undefined;
160
+ director?: string | undefined;
161
+ createdAt?: {
162
+ from?: string | undefined;
163
+ to?: string | undefined;
164
+ } | undefined;
165
+ sortBy?: "name" | "director" | "createdAt" | "updatedAt" | undefined;
166
+ sortOrder?: "ASC" | "DESC" | undefined;
131
167
  }, {
132
168
  status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
133
169
  limit?: number | undefined;
170
+ name?: string | undefined;
171
+ director?: string | undefined;
172
+ createdAt?: {
173
+ from?: string | undefined;
174
+ to?: string | undefined;
175
+ } | undefined;
134
176
  page?: number | undefined;
135
- search?: string | undefined;
177
+ sortBy?: "name" | "director" | "createdAt" | "updatedAt" | undefined;
178
+ sortOrder?: "ASC" | "DESC" | undefined;
136
179
  }>;
137
180
  export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
138
181
  id: z.ZodString;
139
182
  name: z.ZodString;
140
183
  }, "strip", z.ZodTypeAny, {
141
- id: string;
142
184
  name: string;
143
- }, {
144
185
  id: string;
186
+ }, {
145
187
  name: string;
188
+ id: string;
146
189
  }>;
147
190
  export declare const AutocompleteQuerySchema: z.ZodObject<{
148
- search: z.ZodOptional<z.ZodString>;
191
+ query: z.ZodOptional<z.ZodString>;
192
+ id: z.ZodOptional<z.ZodString>;
149
193
  }, "strip", z.ZodTypeAny, {
150
- search?: string | undefined;
194
+ id?: string | undefined;
195
+ query?: string | undefined;
151
196
  }, {
152
- search?: string | undefined;
197
+ id?: string | undefined;
198
+ query?: string | undefined;
153
199
  }>;
154
200
  export declare const PaginatedResponseSchema: z.ZodObject<{
155
- data: z.ZodArray<z.ZodObject<{
201
+ items: z.ZodArray<z.ZodObject<{
156
202
  id: z.ZodString;
157
203
  name: z.ZodString;
158
204
  crn: z.ZodString;
@@ -188,19 +234,19 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
188
234
  }>;
189
235
  }, "strip", z.ZodTypeAny, {
190
236
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
191
- id: string;
192
237
  name: string;
238
+ director: string;
239
+ createdAt: string;
240
+ updatedAt: string;
241
+ id: string;
193
242
  crn: string;
194
243
  govLink: string;
195
- director: string;
196
244
  lastUpdatedBy: {
197
245
  id: string;
198
246
  firstName: string;
199
247
  lastName: string;
200
248
  email: string;
201
249
  };
202
- createdAt: string;
203
- updatedAt: string;
204
250
  version: number;
205
251
  agentClientLinks: {
206
252
  agentId: string;
@@ -208,78 +254,84 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
208
254
  blacklistReason?: string | null | undefined;
209
255
  }, {
210
256
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
211
- id: string;
212
257
  name: string;
258
+ director: string;
259
+ createdAt: string;
260
+ updatedAt: string;
261
+ id: string;
213
262
  crn: string;
214
263
  govLink: string;
215
- director: string;
216
264
  lastUpdatedBy: {
217
265
  id: string;
218
266
  firstName: string;
219
267
  lastName: string;
220
268
  email: string;
221
269
  };
222
- createdAt: string;
223
- updatedAt: string;
224
270
  version: number;
225
271
  agentClientLinks: {
226
272
  agentId: string;
227
273
  };
228
274
  blacklistReason?: string | null | undefined;
229
275
  }>, "many">;
230
- total: z.ZodNumber;
276
+ totalCount: z.ZodNumber;
231
277
  limit: z.ZodNumber;
232
278
  skip: z.ZodNumber;
279
+ currentPage: z.ZodNumber;
280
+ totalPages: z.ZodNumber;
233
281
  }, "strip", z.ZodTypeAny, {
234
- data: {
282
+ items: {
235
283
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
236
- id: string;
237
284
  name: string;
285
+ director: string;
286
+ createdAt: string;
287
+ updatedAt: string;
288
+ id: string;
238
289
  crn: string;
239
290
  govLink: string;
240
- director: string;
241
291
  lastUpdatedBy: {
242
292
  id: string;
243
293
  firstName: string;
244
294
  lastName: string;
245
295
  email: string;
246
296
  };
247
- createdAt: string;
248
- updatedAt: string;
249
297
  version: number;
250
298
  agentClientLinks: {
251
299
  agentId: string;
252
300
  };
253
301
  blacklistReason?: string | null | undefined;
254
302
  }[];
255
- total: number;
303
+ totalCount: number;
256
304
  limit: number;
257
305
  skip: number;
306
+ currentPage: number;
307
+ totalPages: number;
258
308
  }, {
259
- data: {
309
+ items: {
260
310
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
261
- id: string;
262
311
  name: string;
312
+ director: string;
313
+ createdAt: string;
314
+ updatedAt: string;
315
+ id: string;
263
316
  crn: string;
264
317
  govLink: string;
265
- director: string;
266
318
  lastUpdatedBy: {
267
319
  id: string;
268
320
  firstName: string;
269
321
  lastName: string;
270
322
  email: string;
271
323
  };
272
- createdAt: string;
273
- updatedAt: string;
274
324
  version: number;
275
325
  agentClientLinks: {
276
326
  agentId: string;
277
327
  };
278
328
  blacklistReason?: string | null | undefined;
279
329
  }[];
280
- total: number;
330
+ totalCount: number;
281
331
  limit: number;
282
332
  skip: number;
333
+ currentPage: number;
334
+ totalPages: number;
283
335
  }>;
284
336
  export type ClientV2 = z.infer<typeof ClientSchema>;
285
337
  export type CreateClientV2 = z.infer<typeof CreateClientSchema>;
@@ -288,12 +340,126 @@ export type FilterClientV2 = z.infer<typeof FilterClientSchema>;
288
340
  export type ClientAutocompleteResponseV2 = z.infer<typeof ClientAutocompleteResponseSchema>;
289
341
  export type AutocompleteQueryV2 = z.infer<typeof AutocompleteQuerySchema>;
290
342
  export type PaginatedResponseV2 = z.infer<typeof PaginatedResponseSchema>;
291
- declare const clientsContractConfig: {
292
- readonly create: {
293
- readonly method: "POST";
294
- readonly path: "/v2/clients";
295
- readonly responses: {
296
- readonly 201: z.ZodObject<{
343
+ export declare const clientsContractRouter: {
344
+ create: {
345
+ summary: "Create a new client";
346
+ method: "POST";
347
+ body: z.ZodObject<{
348
+ name: z.ZodString;
349
+ govLink: z.ZodString;
350
+ director: z.ZodString;
351
+ }, "strip", z.ZodTypeAny, {
352
+ name: string;
353
+ director: string;
354
+ govLink: string;
355
+ }, {
356
+ name: string;
357
+ director: string;
358
+ govLink: string;
359
+ }>;
360
+ path: "/v2/clients";
361
+ responses: {
362
+ 400: z.ZodObject<{
363
+ statusCode: z.ZodNumber;
364
+ message: z.ZodString;
365
+ code: z.ZodString;
366
+ details: z.ZodOptional<z.ZodUnknown>;
367
+ timestamp: z.ZodString;
368
+ path: z.ZodString;
369
+ correlationId: z.ZodOptional<z.ZodString>;
370
+ }, "strip", z.ZodTypeAny, {
371
+ statusCode: number;
372
+ message: string;
373
+ code: string;
374
+ timestamp: string;
375
+ path: string;
376
+ details?: unknown;
377
+ correlationId?: string | undefined;
378
+ }, {
379
+ statusCode: number;
380
+ message: string;
381
+ code: string;
382
+ timestamp: string;
383
+ path: string;
384
+ details?: unknown;
385
+ correlationId?: string | undefined;
386
+ }>;
387
+ 401: z.ZodObject<{
388
+ statusCode: z.ZodNumber;
389
+ message: z.ZodString;
390
+ code: z.ZodString;
391
+ details: z.ZodOptional<z.ZodUnknown>;
392
+ timestamp: z.ZodString;
393
+ path: z.ZodString;
394
+ correlationId: z.ZodOptional<z.ZodString>;
395
+ }, "strip", z.ZodTypeAny, {
396
+ statusCode: number;
397
+ message: string;
398
+ code: string;
399
+ timestamp: string;
400
+ path: string;
401
+ details?: unknown;
402
+ correlationId?: string | undefined;
403
+ }, {
404
+ statusCode: number;
405
+ message: string;
406
+ code: string;
407
+ timestamp: string;
408
+ path: string;
409
+ details?: unknown;
410
+ correlationId?: string | undefined;
411
+ }>;
412
+ 403: z.ZodObject<{
413
+ statusCode: z.ZodNumber;
414
+ message: z.ZodString;
415
+ code: z.ZodString;
416
+ details: z.ZodOptional<z.ZodUnknown>;
417
+ timestamp: z.ZodString;
418
+ path: z.ZodString;
419
+ correlationId: z.ZodOptional<z.ZodString>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ statusCode: number;
422
+ message: string;
423
+ code: string;
424
+ timestamp: string;
425
+ path: string;
426
+ details?: unknown;
427
+ correlationId?: string | undefined;
428
+ }, {
429
+ statusCode: number;
430
+ message: string;
431
+ code: string;
432
+ timestamp: string;
433
+ path: string;
434
+ details?: unknown;
435
+ correlationId?: string | undefined;
436
+ }>;
437
+ 500: z.ZodObject<{
438
+ statusCode: z.ZodNumber;
439
+ message: z.ZodString;
440
+ code: z.ZodString;
441
+ details: z.ZodOptional<z.ZodUnknown>;
442
+ timestamp: z.ZodString;
443
+ path: z.ZodString;
444
+ correlationId: z.ZodOptional<z.ZodString>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ statusCode: number;
447
+ message: string;
448
+ code: string;
449
+ timestamp: string;
450
+ path: string;
451
+ details?: unknown;
452
+ correlationId?: string | undefined;
453
+ }, {
454
+ statusCode: number;
455
+ message: string;
456
+ code: string;
457
+ timestamp: string;
458
+ path: string;
459
+ details?: unknown;
460
+ correlationId?: string | undefined;
461
+ }>;
462
+ 201: z.ZodObject<{
297
463
  id: z.ZodString;
298
464
  name: z.ZodString;
299
465
  crn: z.ZodString;
@@ -329,19 +495,19 @@ declare const clientsContractConfig: {
329
495
  }>;
330
496
  }, "strip", z.ZodTypeAny, {
331
497
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
332
- id: string;
333
498
  name: string;
499
+ director: string;
500
+ createdAt: string;
501
+ updatedAt: string;
502
+ id: string;
334
503
  crn: string;
335
504
  govLink: string;
336
- director: string;
337
505
  lastUpdatedBy: {
338
506
  id: string;
339
507
  firstName: string;
340
508
  lastName: string;
341
509
  email: string;
342
510
  };
343
- createdAt: string;
344
- updatedAt: string;
345
511
  version: number;
346
512
  agentClientLinks: {
347
513
  agentId: string;
@@ -349,26 +515,26 @@ declare const clientsContractConfig: {
349
515
  blacklistReason?: string | null | undefined;
350
516
  }, {
351
517
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
352
- id: string;
353
518
  name: string;
519
+ director: string;
520
+ createdAt: string;
521
+ updatedAt: string;
522
+ id: string;
354
523
  crn: string;
355
524
  govLink: string;
356
- director: string;
357
525
  lastUpdatedBy: {
358
526
  id: string;
359
527
  firstName: string;
360
528
  lastName: string;
361
529
  email: string;
362
530
  };
363
- createdAt: string;
364
- updatedAt: string;
365
531
  version: number;
366
532
  agentClientLinks: {
367
533
  agentId: string;
368
534
  };
369
535
  blacklistReason?: string | null | undefined;
370
536
  }>;
371
- readonly 400: z.ZodObject<{
537
+ 409: z.ZodObject<{
372
538
  statusCode: z.ZodNumber;
373
539
  message: z.ZodString;
374
540
  code: z.ZodString;
@@ -393,7 +559,57 @@ declare const clientsContractConfig: {
393
559
  details?: unknown;
394
560
  correlationId?: string | undefined;
395
561
  }>;
396
- readonly 401: z.ZodObject<{
562
+ };
563
+ };
564
+ findAll: {
565
+ query: z.ZodObject<{
566
+ limit: z.ZodDefault<z.ZodNumber>;
567
+ page: z.ZodDefault<z.ZodNumber>;
568
+ name: z.ZodOptional<z.ZodString>;
569
+ status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
570
+ director: z.ZodOptional<z.ZodString>;
571
+ createdAt: z.ZodOptional<z.ZodObject<{
572
+ from: z.ZodOptional<z.ZodString>;
573
+ to: z.ZodOptional<z.ZodString>;
574
+ }, "strip", z.ZodTypeAny, {
575
+ from?: string | undefined;
576
+ to?: string | undefined;
577
+ }, {
578
+ from?: string | undefined;
579
+ to?: string | undefined;
580
+ }>>;
581
+ sortBy: z.ZodOptional<z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>>;
582
+ sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ limit: number;
585
+ page: number;
586
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
587
+ name?: string | undefined;
588
+ director?: string | undefined;
589
+ createdAt?: {
590
+ from?: string | undefined;
591
+ to?: string | undefined;
592
+ } | undefined;
593
+ sortBy?: "name" | "director" | "createdAt" | "updatedAt" | undefined;
594
+ sortOrder?: "ASC" | "DESC" | undefined;
595
+ }, {
596
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
597
+ limit?: number | undefined;
598
+ name?: string | undefined;
599
+ director?: string | undefined;
600
+ createdAt?: {
601
+ from?: string | undefined;
602
+ to?: string | undefined;
603
+ } | undefined;
604
+ page?: number | undefined;
605
+ sortBy?: "name" | "director" | "createdAt" | "updatedAt" | undefined;
606
+ sortOrder?: "ASC" | "DESC" | undefined;
607
+ }>;
608
+ summary: "Get all clients";
609
+ method: "GET";
610
+ path: "/v2/clients";
611
+ responses: {
612
+ 400: z.ZodObject<{
397
613
  statusCode: z.ZodNumber;
398
614
  message: z.ZodString;
399
615
  code: z.ZodString;
@@ -418,7 +634,7 @@ declare const clientsContractConfig: {
418
634
  details?: unknown;
419
635
  correlationId?: string | undefined;
420
636
  }>;
421
- readonly 403: z.ZodObject<{
637
+ 401: z.ZodObject<{
422
638
  statusCode: z.ZodNumber;
423
639
  message: z.ZodString;
424
640
  code: z.ZodString;
@@ -443,7 +659,7 @@ declare const clientsContractConfig: {
443
659
  details?: unknown;
444
660
  correlationId?: string | undefined;
445
661
  }>;
446
- readonly 409: z.ZodObject<{
662
+ 403: z.ZodObject<{
447
663
  statusCode: z.ZodNumber;
448
664
  message: z.ZodString;
449
665
  code: z.ZodString;
@@ -468,7 +684,7 @@ declare const clientsContractConfig: {
468
684
  details?: unknown;
469
685
  correlationId?: string | undefined;
470
686
  }>;
471
- readonly 500: z.ZodObject<{
687
+ 500: z.ZodObject<{
472
688
  statusCode: z.ZodNumber;
473
689
  message: z.ZodString;
474
690
  code: z.ZodString;
@@ -493,28 +709,8 @@ declare const clientsContractConfig: {
493
709
  details?: unknown;
494
710
  correlationId?: string | undefined;
495
711
  }>;
496
- };
497
- readonly body: z.ZodObject<{
498
- name: z.ZodString;
499
- govLink: z.ZodString;
500
- director: z.ZodString;
501
- }, "strip", z.ZodTypeAny, {
502
- name: string;
503
- govLink: string;
504
- director: string;
505
- }, {
506
- name: string;
507
- govLink: string;
508
- director: string;
509
- }>;
510
- readonly summary: "Create a new client";
511
- };
512
- readonly findAll: {
513
- readonly method: "GET";
514
- readonly path: "/v2/clients";
515
- readonly responses: {
516
- readonly 200: z.ZodObject<{
517
- data: z.ZodArray<z.ZodObject<{
712
+ 200: z.ZodObject<{
713
+ items: z.ZodArray<z.ZodObject<{
518
714
  id: z.ZodString;
519
715
  name: z.ZodString;
520
716
  crn: z.ZodString;
@@ -550,19 +746,19 @@ declare const clientsContractConfig: {
550
746
  }>;
551
747
  }, "strip", z.ZodTypeAny, {
552
748
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
553
- id: string;
554
749
  name: string;
750
+ director: string;
751
+ createdAt: string;
752
+ updatedAt: string;
753
+ id: string;
555
754
  crn: string;
556
755
  govLink: string;
557
- director: string;
558
756
  lastUpdatedBy: {
559
757
  id: string;
560
758
  firstName: string;
561
759
  lastName: string;
562
760
  email: string;
563
761
  };
564
- createdAt: string;
565
- updatedAt: string;
566
762
  version: number;
567
763
  agentClientLinks: {
568
764
  agentId: string;
@@ -570,80 +766,103 @@ declare const clientsContractConfig: {
570
766
  blacklistReason?: string | null | undefined;
571
767
  }, {
572
768
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
573
- id: string;
574
769
  name: string;
770
+ director: string;
771
+ createdAt: string;
772
+ updatedAt: string;
773
+ id: string;
575
774
  crn: string;
576
775
  govLink: string;
577
- director: string;
578
776
  lastUpdatedBy: {
579
777
  id: string;
580
778
  firstName: string;
581
779
  lastName: string;
582
780
  email: string;
583
781
  };
584
- createdAt: string;
585
- updatedAt: string;
586
782
  version: number;
587
783
  agentClientLinks: {
588
784
  agentId: string;
589
785
  };
590
786
  blacklistReason?: string | null | undefined;
591
787
  }>, "many">;
592
- total: z.ZodNumber;
788
+ totalCount: z.ZodNumber;
593
789
  limit: z.ZodNumber;
594
790
  skip: z.ZodNumber;
791
+ currentPage: z.ZodNumber;
792
+ totalPages: z.ZodNumber;
595
793
  }, "strip", z.ZodTypeAny, {
596
- data: {
794
+ items: {
597
795
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
598
- id: string;
599
796
  name: string;
797
+ director: string;
798
+ createdAt: string;
799
+ updatedAt: string;
800
+ id: string;
600
801
  crn: string;
601
802
  govLink: string;
602
- director: string;
603
803
  lastUpdatedBy: {
604
804
  id: string;
605
805
  firstName: string;
606
806
  lastName: string;
607
807
  email: string;
608
808
  };
609
- createdAt: string;
610
- updatedAt: string;
611
809
  version: number;
612
810
  agentClientLinks: {
613
811
  agentId: string;
614
812
  };
615
813
  blacklistReason?: string | null | undefined;
616
814
  }[];
617
- total: number;
815
+ totalCount: number;
618
816
  limit: number;
619
817
  skip: number;
818
+ currentPage: number;
819
+ totalPages: number;
620
820
  }, {
621
- data: {
821
+ items: {
622
822
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
623
- id: string;
624
823
  name: string;
824
+ director: string;
825
+ createdAt: string;
826
+ updatedAt: string;
827
+ id: string;
625
828
  crn: string;
626
829
  govLink: string;
627
- director: string;
628
830
  lastUpdatedBy: {
629
831
  id: string;
630
832
  firstName: string;
631
833
  lastName: string;
632
834
  email: string;
633
835
  };
634
- createdAt: string;
635
- updatedAt: string;
636
836
  version: number;
637
837
  agentClientLinks: {
638
838
  agentId: string;
639
839
  };
640
840
  blacklistReason?: string | null | undefined;
641
841
  }[];
642
- total: number;
842
+ totalCount: number;
643
843
  limit: number;
644
844
  skip: number;
845
+ currentPage: number;
846
+ totalPages: number;
645
847
  }>;
646
- readonly 400: z.ZodObject<{
848
+ };
849
+ };
850
+ autocomplete: {
851
+ query: z.ZodObject<{
852
+ query: z.ZodOptional<z.ZodString>;
853
+ id: z.ZodOptional<z.ZodString>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ id?: string | undefined;
856
+ query?: string | undefined;
857
+ }, {
858
+ id?: string | undefined;
859
+ query?: string | undefined;
860
+ }>;
861
+ summary: "Get clients for autocomplete";
862
+ method: "GET";
863
+ path: "/v2/clients/autocomplete";
864
+ responses: {
865
+ 400: z.ZodObject<{
647
866
  statusCode: z.ZodNumber;
648
867
  message: z.ZodString;
649
868
  code: z.ZodString;
@@ -668,7 +887,7 @@ declare const clientsContractConfig: {
668
887
  details?: unknown;
669
888
  correlationId?: string | undefined;
670
889
  }>;
671
- readonly 401: z.ZodObject<{
890
+ 401: z.ZodObject<{
672
891
  statusCode: z.ZodNumber;
673
892
  message: z.ZodString;
674
893
  code: z.ZodString;
@@ -693,7 +912,7 @@ declare const clientsContractConfig: {
693
912
  details?: unknown;
694
913
  correlationId?: string | undefined;
695
914
  }>;
696
- readonly 403: z.ZodObject<{
915
+ 403: z.ZodObject<{
697
916
  statusCode: z.ZodNumber;
698
917
  message: z.ZodString;
699
918
  code: z.ZodString;
@@ -718,7 +937,7 @@ declare const clientsContractConfig: {
718
937
  details?: unknown;
719
938
  correlationId?: string | undefined;
720
939
  }>;
721
- readonly 500: z.ZodObject<{
940
+ 500: z.ZodObject<{
722
941
  statusCode: z.ZodNumber;
723
942
  message: z.ZodString;
724
943
  code: z.ZodString;
@@ -743,40 +962,31 @@ declare const clientsContractConfig: {
743
962
  details?: unknown;
744
963
  correlationId?: string | undefined;
745
964
  }>;
746
- };
747
- readonly query: z.ZodObject<{
748
- limit: z.ZodDefault<z.ZodNumber>;
749
- page: z.ZodDefault<z.ZodNumber>;
750
- search: z.ZodOptional<z.ZodString>;
751
- status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
752
- }, "strip", z.ZodTypeAny, {
753
- limit: number;
754
- page: number;
755
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
756
- search?: string | undefined;
757
- }, {
758
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
759
- limit?: number | undefined;
760
- page?: number | undefined;
761
- search?: string | undefined;
762
- }>;
763
- readonly summary: "Get all clients";
764
- };
765
- readonly autocomplete: {
766
- readonly method: "GET";
767
- readonly path: "/v2/clients/autocomplete";
768
- readonly responses: {
769
- readonly 200: z.ZodArray<z.ZodObject<{
965
+ 200: z.ZodArray<z.ZodObject<{
770
966
  id: z.ZodString;
771
967
  name: z.ZodString;
772
968
  }, "strip", z.ZodTypeAny, {
773
- id: string;
774
969
  name: string;
775
- }, {
776
970
  id: string;
971
+ }, {
777
972
  name: string;
973
+ id: string;
778
974
  }>, "many">;
779
- readonly 400: z.ZodObject<{
975
+ };
976
+ };
977
+ findOne: {
978
+ pathParams: z.ZodObject<{
979
+ id: z.ZodString;
980
+ }, "strip", z.ZodTypeAny, {
981
+ id: string;
982
+ }, {
983
+ id: string;
984
+ }>;
985
+ summary: "Get a client by ID";
986
+ method: "GET";
987
+ path: "/v2/clients/:id";
988
+ responses: {
989
+ 400: z.ZodObject<{
780
990
  statusCode: z.ZodNumber;
781
991
  message: z.ZodString;
782
992
  code: z.ZodString;
@@ -801,7 +1011,7 @@ declare const clientsContractConfig: {
801
1011
  details?: unknown;
802
1012
  correlationId?: string | undefined;
803
1013
  }>;
804
- readonly 401: z.ZodObject<{
1014
+ 401: z.ZodObject<{
805
1015
  statusCode: z.ZodNumber;
806
1016
  message: z.ZodString;
807
1017
  code: z.ZodString;
@@ -826,7 +1036,7 @@ declare const clientsContractConfig: {
826
1036
  details?: unknown;
827
1037
  correlationId?: string | undefined;
828
1038
  }>;
829
- readonly 403: z.ZodObject<{
1039
+ 403: z.ZodObject<{
830
1040
  statusCode: z.ZodNumber;
831
1041
  message: z.ZodString;
832
1042
  code: z.ZodString;
@@ -851,7 +1061,7 @@ declare const clientsContractConfig: {
851
1061
  details?: unknown;
852
1062
  correlationId?: string | undefined;
853
1063
  }>;
854
- readonly 500: z.ZodObject<{
1064
+ 500: z.ZodObject<{
855
1065
  statusCode: z.ZodNumber;
856
1066
  message: z.ZodString;
857
1067
  code: z.ZodString;
@@ -876,21 +1086,7 @@ declare const clientsContractConfig: {
876
1086
  details?: unknown;
877
1087
  correlationId?: string | undefined;
878
1088
  }>;
879
- };
880
- readonly query: z.ZodObject<{
881
- search: z.ZodOptional<z.ZodString>;
882
- }, "strip", z.ZodTypeAny, {
883
- search?: string | undefined;
884
- }, {
885
- search?: string | undefined;
886
- }>;
887
- readonly summary: "Get clients for autocomplete";
888
- };
889
- readonly findOne: {
890
- readonly method: "GET";
891
- readonly path: "/v2/clients/:id";
892
- readonly responses: {
893
- readonly 200: z.ZodObject<{
1089
+ 200: z.ZodObject<{
894
1090
  id: z.ZodString;
895
1091
  name: z.ZodString;
896
1092
  crn: z.ZodString;
@@ -926,19 +1122,19 @@ declare const clientsContractConfig: {
926
1122
  }>;
927
1123
  }, "strip", z.ZodTypeAny, {
928
1124
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
929
- id: string;
930
1125
  name: string;
1126
+ director: string;
1127
+ createdAt: string;
1128
+ updatedAt: string;
1129
+ id: string;
931
1130
  crn: string;
932
1131
  govLink: string;
933
- director: string;
934
1132
  lastUpdatedBy: {
935
1133
  id: string;
936
1134
  firstName: string;
937
1135
  lastName: string;
938
1136
  email: string;
939
1137
  };
940
- createdAt: string;
941
- updatedAt: string;
942
1138
  version: number;
943
1139
  agentClientLinks: {
944
1140
  agentId: string;
@@ -946,26 +1142,26 @@ declare const clientsContractConfig: {
946
1142
  blacklistReason?: string | null | undefined;
947
1143
  }, {
948
1144
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
949
- id: string;
950
1145
  name: string;
1146
+ director: string;
1147
+ createdAt: string;
1148
+ updatedAt: string;
1149
+ id: string;
951
1150
  crn: string;
952
1151
  govLink: string;
953
- director: string;
954
1152
  lastUpdatedBy: {
955
1153
  id: string;
956
1154
  firstName: string;
957
1155
  lastName: string;
958
1156
  email: string;
959
1157
  };
960
- createdAt: string;
961
- updatedAt: string;
962
1158
  version: number;
963
1159
  agentClientLinks: {
964
1160
  agentId: string;
965
1161
  };
966
1162
  blacklistReason?: string | null | undefined;
967
1163
  }>;
968
- readonly 400: z.ZodObject<{
1164
+ 404: z.ZodObject<{
969
1165
  statusCode: z.ZodNumber;
970
1166
  message: z.ZodString;
971
1167
  code: z.ZodString;
@@ -990,7 +1186,52 @@ declare const clientsContractConfig: {
990
1186
  details?: unknown;
991
1187
  correlationId?: string | undefined;
992
1188
  }>;
993
- readonly 401: z.ZodObject<{
1189
+ };
1190
+ };
1191
+ update: {
1192
+ pathParams: z.ZodObject<{
1193
+ id: z.ZodString;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ id: string;
1196
+ }, {
1197
+ id: string;
1198
+ }>;
1199
+ summary: "Update a client";
1200
+ method: "PATCH";
1201
+ body: z.ZodEffects<z.ZodObject<{
1202
+ name: z.ZodOptional<z.ZodString>;
1203
+ govLink: z.ZodOptional<z.ZodString>;
1204
+ director: z.ZodOptional<z.ZodString>;
1205
+ status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
1206
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1207
+ }, "strip", z.ZodTypeAny, {
1208
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1209
+ name?: string | undefined;
1210
+ director?: string | undefined;
1211
+ govLink?: string | undefined;
1212
+ blacklistReason?: string | null | undefined;
1213
+ }, {
1214
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1215
+ name?: string | undefined;
1216
+ director?: string | undefined;
1217
+ govLink?: string | undefined;
1218
+ blacklistReason?: string | null | undefined;
1219
+ }>, {
1220
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1221
+ name?: string | undefined;
1222
+ director?: string | undefined;
1223
+ govLink?: string | undefined;
1224
+ blacklistReason?: string | null | undefined;
1225
+ }, {
1226
+ status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1227
+ name?: string | undefined;
1228
+ director?: string | undefined;
1229
+ govLink?: string | undefined;
1230
+ blacklistReason?: string | null | undefined;
1231
+ }>;
1232
+ path: "/v2/clients/:id";
1233
+ responses: {
1234
+ 400: z.ZodObject<{
994
1235
  statusCode: z.ZodNumber;
995
1236
  message: z.ZodString;
996
1237
  code: z.ZodString;
@@ -1015,7 +1256,7 @@ declare const clientsContractConfig: {
1015
1256
  details?: unknown;
1016
1257
  correlationId?: string | undefined;
1017
1258
  }>;
1018
- readonly 403: z.ZodObject<{
1259
+ 401: z.ZodObject<{
1019
1260
  statusCode: z.ZodNumber;
1020
1261
  message: z.ZodString;
1021
1262
  code: z.ZodString;
@@ -1040,7 +1281,7 @@ declare const clientsContractConfig: {
1040
1281
  details?: unknown;
1041
1282
  correlationId?: string | undefined;
1042
1283
  }>;
1043
- readonly 404: z.ZodObject<{
1284
+ 403: z.ZodObject<{
1044
1285
  statusCode: z.ZodNumber;
1045
1286
  message: z.ZodString;
1046
1287
  code: z.ZodString;
@@ -1065,7 +1306,7 @@ declare const clientsContractConfig: {
1065
1306
  details?: unknown;
1066
1307
  correlationId?: string | undefined;
1067
1308
  }>;
1068
- readonly 500: z.ZodObject<{
1309
+ 500: z.ZodObject<{
1069
1310
  statusCode: z.ZodNumber;
1070
1311
  message: z.ZodString;
1071
1312
  code: z.ZodString;
@@ -1090,21 +1331,7 @@ declare const clientsContractConfig: {
1090
1331
  details?: unknown;
1091
1332
  correlationId?: string | undefined;
1092
1333
  }>;
1093
- };
1094
- readonly pathParams: z.ZodObject<{
1095
- id: z.ZodString;
1096
- }, "strip", z.ZodTypeAny, {
1097
- id: string;
1098
- }, {
1099
- id: string;
1100
- }>;
1101
- readonly summary: "Get a client by ID";
1102
- };
1103
- readonly update: {
1104
- readonly method: "PATCH";
1105
- readonly path: "/v2/clients/:id";
1106
- readonly responses: {
1107
- readonly 200: z.ZodObject<{
1334
+ 200: z.ZodObject<{
1108
1335
  id: z.ZodString;
1109
1336
  name: z.ZodString;
1110
1337
  crn: z.ZodString;
@@ -1140,19 +1367,19 @@ declare const clientsContractConfig: {
1140
1367
  }>;
1141
1368
  }, "strip", z.ZodTypeAny, {
1142
1369
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1143
- id: string;
1144
1370
  name: string;
1371
+ director: string;
1372
+ createdAt: string;
1373
+ updatedAt: string;
1374
+ id: string;
1145
1375
  crn: string;
1146
1376
  govLink: string;
1147
- director: string;
1148
1377
  lastUpdatedBy: {
1149
1378
  id: string;
1150
1379
  firstName: string;
1151
1380
  lastName: string;
1152
1381
  email: string;
1153
1382
  };
1154
- createdAt: string;
1155
- updatedAt: string;
1156
1383
  version: number;
1157
1384
  agentClientLinks: {
1158
1385
  agentId: string;
@@ -1160,126 +1387,26 @@ declare const clientsContractConfig: {
1160
1387
  blacklistReason?: string | null | undefined;
1161
1388
  }, {
1162
1389
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1163
- id: string;
1164
1390
  name: string;
1391
+ director: string;
1392
+ createdAt: string;
1393
+ updatedAt: string;
1394
+ id: string;
1165
1395
  crn: string;
1166
1396
  govLink: string;
1167
- director: string;
1168
1397
  lastUpdatedBy: {
1169
1398
  id: string;
1170
1399
  firstName: string;
1171
1400
  lastName: string;
1172
1401
  email: string;
1173
1402
  };
1174
- createdAt: string;
1175
- updatedAt: string;
1176
1403
  version: number;
1177
1404
  agentClientLinks: {
1178
1405
  agentId: string;
1179
1406
  };
1180
1407
  blacklistReason?: string | null | undefined;
1181
1408
  }>;
1182
- readonly 400: z.ZodObject<{
1183
- statusCode: z.ZodNumber;
1184
- message: z.ZodString;
1185
- code: z.ZodString;
1186
- details: z.ZodOptional<z.ZodUnknown>;
1187
- timestamp: z.ZodString;
1188
- path: z.ZodString;
1189
- correlationId: z.ZodOptional<z.ZodString>;
1190
- }, "strip", z.ZodTypeAny, {
1191
- statusCode: number;
1192
- message: string;
1193
- code: string;
1194
- timestamp: string;
1195
- path: string;
1196
- details?: unknown;
1197
- correlationId?: string | undefined;
1198
- }, {
1199
- statusCode: number;
1200
- message: string;
1201
- code: string;
1202
- timestamp: string;
1203
- path: string;
1204
- details?: unknown;
1205
- correlationId?: string | undefined;
1206
- }>;
1207
- readonly 401: z.ZodObject<{
1208
- statusCode: z.ZodNumber;
1209
- message: z.ZodString;
1210
- code: z.ZodString;
1211
- details: z.ZodOptional<z.ZodUnknown>;
1212
- timestamp: z.ZodString;
1213
- path: z.ZodString;
1214
- correlationId: z.ZodOptional<z.ZodString>;
1215
- }, "strip", z.ZodTypeAny, {
1216
- statusCode: number;
1217
- message: string;
1218
- code: string;
1219
- timestamp: string;
1220
- path: string;
1221
- details?: unknown;
1222
- correlationId?: string | undefined;
1223
- }, {
1224
- statusCode: number;
1225
- message: string;
1226
- code: string;
1227
- timestamp: string;
1228
- path: string;
1229
- details?: unknown;
1230
- correlationId?: string | undefined;
1231
- }>;
1232
- readonly 403: z.ZodObject<{
1233
- statusCode: z.ZodNumber;
1234
- message: z.ZodString;
1235
- code: z.ZodString;
1236
- details: z.ZodOptional<z.ZodUnknown>;
1237
- timestamp: z.ZodString;
1238
- path: z.ZodString;
1239
- correlationId: z.ZodOptional<z.ZodString>;
1240
- }, "strip", z.ZodTypeAny, {
1241
- statusCode: number;
1242
- message: string;
1243
- code: string;
1244
- timestamp: string;
1245
- path: string;
1246
- details?: unknown;
1247
- correlationId?: string | undefined;
1248
- }, {
1249
- statusCode: number;
1250
- message: string;
1251
- code: string;
1252
- timestamp: string;
1253
- path: string;
1254
- details?: unknown;
1255
- correlationId?: string | undefined;
1256
- }>;
1257
- readonly 404: z.ZodObject<{
1258
- statusCode: z.ZodNumber;
1259
- message: z.ZodString;
1260
- code: z.ZodString;
1261
- details: z.ZodOptional<z.ZodUnknown>;
1262
- timestamp: z.ZodString;
1263
- path: z.ZodString;
1264
- correlationId: z.ZodOptional<z.ZodString>;
1265
- }, "strip", z.ZodTypeAny, {
1266
- statusCode: number;
1267
- message: string;
1268
- code: string;
1269
- timestamp: string;
1270
- path: string;
1271
- details?: unknown;
1272
- correlationId?: string | undefined;
1273
- }, {
1274
- statusCode: number;
1275
- message: string;
1276
- code: string;
1277
- timestamp: string;
1278
- path: string;
1279
- details?: unknown;
1280
- correlationId?: string | undefined;
1281
- }>;
1282
- readonly 409: z.ZodObject<{
1409
+ 404: z.ZodObject<{
1283
1410
  statusCode: z.ZodNumber;
1284
1411
  message: z.ZodString;
1285
1412
  code: z.ZodString;
@@ -1304,7 +1431,7 @@ declare const clientsContractConfig: {
1304
1431
  details?: unknown;
1305
1432
  correlationId?: string | undefined;
1306
1433
  }>;
1307
- readonly 500: z.ZodObject<{
1434
+ 409: z.ZodObject<{
1308
1435
  statusCode: z.ZodNumber;
1309
1436
  message: z.ZodString;
1310
1437
  code: z.ZodString;
@@ -1330,52 +1457,21 @@ declare const clientsContractConfig: {
1330
1457
  correlationId?: string | undefined;
1331
1458
  }>;
1332
1459
  };
1333
- readonly pathParams: z.ZodObject<{
1460
+ };
1461
+ remove: {
1462
+ pathParams: z.ZodObject<{
1334
1463
  id: z.ZodString;
1335
1464
  }, "strip", z.ZodTypeAny, {
1336
1465
  id: string;
1337
1466
  }, {
1338
1467
  id: string;
1339
1468
  }>;
1340
- readonly body: z.ZodEffects<z.ZodObject<{
1341
- name: z.ZodOptional<z.ZodString>;
1342
- govLink: z.ZodOptional<z.ZodString>;
1343
- director: z.ZodOptional<z.ZodString>;
1344
- status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
1345
- blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1346
- }, "strip", z.ZodTypeAny, {
1347
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1348
- name?: string | undefined;
1349
- govLink?: string | undefined;
1350
- director?: string | undefined;
1351
- blacklistReason?: string | null | undefined;
1352
- }, {
1353
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1354
- name?: string | undefined;
1355
- govLink?: string | undefined;
1356
- director?: string | undefined;
1357
- blacklistReason?: string | null | undefined;
1358
- }>, {
1359
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1360
- name?: string | undefined;
1361
- govLink?: string | undefined;
1362
- director?: string | undefined;
1363
- blacklistReason?: string | null | undefined;
1364
- }, {
1365
- status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
1366
- name?: string | undefined;
1367
- govLink?: string | undefined;
1368
- director?: string | undefined;
1369
- blacklistReason?: string | null | undefined;
1370
- }>;
1371
- readonly summary: "Update a client";
1372
- };
1373
- readonly remove: {
1374
- readonly method: "DELETE";
1375
- readonly path: "/v2/clients/:id";
1376
- readonly responses: {
1377
- readonly 204: z.ZodNull;
1378
- readonly 400: z.ZodObject<{
1469
+ summary: "Delete a client";
1470
+ method: "DELETE";
1471
+ body: typeof import("@ts-rest/core").ContractNoBody;
1472
+ path: "/v2/clients/:id";
1473
+ responses: {
1474
+ 400: z.ZodObject<{
1379
1475
  statusCode: z.ZodNumber;
1380
1476
  message: z.ZodString;
1381
1477
  code: z.ZodString;
@@ -1400,7 +1496,7 @@ declare const clientsContractConfig: {
1400
1496
  details?: unknown;
1401
1497
  correlationId?: string | undefined;
1402
1498
  }>;
1403
- readonly 401: z.ZodObject<{
1499
+ 401: z.ZodObject<{
1404
1500
  statusCode: z.ZodNumber;
1405
1501
  message: z.ZodString;
1406
1502
  code: z.ZodString;
@@ -1425,7 +1521,7 @@ declare const clientsContractConfig: {
1425
1521
  details?: unknown;
1426
1522
  correlationId?: string | undefined;
1427
1523
  }>;
1428
- readonly 403: z.ZodObject<{
1524
+ 403: z.ZodObject<{
1429
1525
  statusCode: z.ZodNumber;
1430
1526
  message: z.ZodString;
1431
1527
  code: z.ZodString;
@@ -1450,7 +1546,7 @@ declare const clientsContractConfig: {
1450
1546
  details?: unknown;
1451
1547
  correlationId?: string | undefined;
1452
1548
  }>;
1453
- readonly 404: z.ZodObject<{
1549
+ 500: z.ZodObject<{
1454
1550
  statusCode: z.ZodNumber;
1455
1551
  message: z.ZodString;
1456
1552
  code: z.ZodString;
@@ -1475,7 +1571,8 @@ declare const clientsContractConfig: {
1475
1571
  details?: unknown;
1476
1572
  correlationId?: string | undefined;
1477
1573
  }>;
1478
- readonly 500: z.ZodObject<{
1574
+ 204: z.ZodUndefined;
1575
+ 404: z.ZodObject<{
1479
1576
  statusCode: z.ZodNumber;
1480
1577
  message: z.ZodString;
1481
1578
  code: z.ZodString;
@@ -1501,17 +1598,6 @@ declare const clientsContractConfig: {
1501
1598
  correlationId?: string | undefined;
1502
1599
  }>;
1503
1600
  };
1504
- readonly pathParams: z.ZodObject<{
1505
- id: z.ZodString;
1506
- }, "strip", z.ZodTypeAny, {
1507
- id: string;
1508
- }, {
1509
- id: string;
1510
- }>;
1511
- readonly body: z.ZodUndefined;
1512
- readonly summary: "Delete a client";
1513
1601
  };
1514
1602
  };
1515
- export declare const clientsContract: typeof clientsContractConfig;
1516
- export {};
1517
1603
  //# sourceMappingURL=clients.contract.d.ts.map