@dakkitor/api-contracts 1.1.0 → 1.1.2

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,9 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const ClientSchema: z.ZodObject<{
3
- id: z.ZodString;
3
+ id: z.ZodUUID;
4
4
  name: z.ZodString;
5
5
  crn: z.ZodString;
6
- govLink: z.ZodString;
6
+ govLink: z.ZodURL;
7
7
  status: z.ZodEnum<{
8
8
  APPROVED: "APPROVED";
9
9
  PENDING_VERIFICATION: "PENDING_VERIFICATION";
@@ -12,13 +12,13 @@ export declare const ClientSchema: z.ZodObject<{
12
12
  director: z.ZodString;
13
13
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  lastUpdatedBy: z.ZodObject<{
15
- id: z.ZodString;
15
+ id: z.ZodUUID;
16
16
  firstName: z.ZodString;
17
17
  lastName: z.ZodString;
18
- email: z.ZodString;
18
+ email: z.ZodEmail;
19
19
  }, z.core.$strip>;
20
- createdAt: z.ZodDate;
21
- updatedAt: z.ZodDate;
20
+ createdAt: z.ZodISODateTime;
21
+ updatedAt: z.ZodISODateTime;
22
22
  version: z.ZodNumber;
23
23
  agentClientLinks: z.ZodObject<{
24
24
  agentId: z.ZodString;
@@ -26,12 +26,12 @@ export declare const ClientSchema: z.ZodObject<{
26
26
  }, z.core.$strip>;
27
27
  export declare const CreateClientSchema: z.ZodObject<{
28
28
  name: z.ZodString;
29
- govLink: z.ZodString;
29
+ govLink: z.ZodURL;
30
30
  director: z.ZodString;
31
31
  }, z.core.$strip>;
32
32
  export declare const UpdateClientSchema: z.ZodObject<{
33
33
  name: z.ZodOptional<z.ZodString>;
34
- govLink: z.ZodOptional<z.ZodString>;
34
+ govLink: z.ZodOptional<z.ZodURL>;
35
35
  director: z.ZodOptional<z.ZodString>;
36
36
  status: z.ZodOptional<z.ZodEnum<{
37
37
  APPROVED: "APPROVED";
@@ -59,10 +59,10 @@ export declare const AutocompleteQuerySchema: z.ZodObject<{
59
59
  }, z.core.$strip>;
60
60
  export declare const PaginatedResponseSchema: z.ZodObject<{
61
61
  data: z.ZodArray<z.ZodObject<{
62
- id: z.ZodString;
62
+ id: z.ZodUUID;
63
63
  name: z.ZodString;
64
64
  crn: z.ZodString;
65
- govLink: z.ZodString;
65
+ govLink: z.ZodURL;
66
66
  status: z.ZodEnum<{
67
67
  APPROVED: "APPROVED";
68
68
  PENDING_VERIFICATION: "PENDING_VERIFICATION";
@@ -71,13 +71,13 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
71
71
  director: z.ZodString;
72
72
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
73
  lastUpdatedBy: z.ZodObject<{
74
- id: z.ZodString;
74
+ id: z.ZodUUID;
75
75
  firstName: z.ZodString;
76
76
  lastName: z.ZodString;
77
- email: z.ZodString;
77
+ email: z.ZodEmail;
78
78
  }, z.core.$strip>;
79
- createdAt: z.ZodDate;
80
- updatedAt: z.ZodDate;
79
+ createdAt: z.ZodISODateTime;
80
+ updatedAt: z.ZodISODateTime;
81
81
  version: z.ZodNumber;
82
82
  agentClientLinks: z.ZodObject<{
83
83
  agentId: z.ZodString;
@@ -94,20 +94,161 @@ export type FilterClientV2 = z.infer<typeof FilterClientSchema>;
94
94
  export type ClientAutocompleteResponseV2 = z.infer<typeof ClientAutocompleteResponseSchema>;
95
95
  export type AutocompleteQueryV2 = z.infer<typeof AutocompleteQuerySchema>;
96
96
  export type PaginatedResponseV2 = z.infer<typeof PaginatedResponseSchema>;
97
- export declare const clientsContract: {
98
- create: {
99
- [x: string]: any;
100
- summary: "Create a new client";
101
- method: "POST";
102
- body: z.ZodObject<{
97
+ declare const clientsContractConfig: {
98
+ readonly create: {
99
+ readonly method: "POST";
100
+ readonly path: "/v2/clients";
101
+ readonly responses: {
102
+ readonly 201: z.ZodObject<{
103
+ id: z.ZodUUID;
104
+ name: z.ZodString;
105
+ crn: z.ZodString;
106
+ govLink: z.ZodURL;
107
+ status: z.ZodEnum<{
108
+ APPROVED: "APPROVED";
109
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
110
+ BLACKLISTED: "BLACKLISTED";
111
+ }>;
112
+ director: z.ZodString;
113
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
114
+ lastUpdatedBy: z.ZodObject<{
115
+ id: z.ZodUUID;
116
+ firstName: z.ZodString;
117
+ lastName: z.ZodString;
118
+ email: z.ZodEmail;
119
+ }, z.core.$strip>;
120
+ createdAt: z.ZodISODateTime;
121
+ updatedAt: z.ZodISODateTime;
122
+ version: z.ZodNumber;
123
+ agentClientLinks: z.ZodObject<{
124
+ agentId: z.ZodString;
125
+ }, z.core.$strip>;
126
+ }, z.core.$strip>;
127
+ readonly 400: z.ZodObject<{
128
+ statusCode: z.ZodNumber;
129
+ message: z.ZodString;
130
+ code: z.ZodString;
131
+ details: z.ZodOptional<z.ZodUnknown>;
132
+ timestamp: z.ZodString;
133
+ path: z.ZodString;
134
+ correlationId: z.ZodOptional<z.ZodString>;
135
+ }, z.core.$strip>;
136
+ readonly 401: z.ZodObject<{
137
+ statusCode: z.ZodNumber;
138
+ message: z.ZodString;
139
+ code: z.ZodString;
140
+ details: z.ZodOptional<z.ZodUnknown>;
141
+ timestamp: z.ZodString;
142
+ path: z.ZodString;
143
+ correlationId: z.ZodOptional<z.ZodString>;
144
+ }, z.core.$strip>;
145
+ readonly 403: z.ZodObject<{
146
+ statusCode: z.ZodNumber;
147
+ message: z.ZodString;
148
+ code: z.ZodString;
149
+ details: z.ZodOptional<z.ZodUnknown>;
150
+ timestamp: z.ZodString;
151
+ path: z.ZodString;
152
+ correlationId: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strip>;
154
+ readonly 409: z.ZodObject<{
155
+ statusCode: z.ZodNumber;
156
+ message: z.ZodString;
157
+ code: z.ZodString;
158
+ details: z.ZodOptional<z.ZodUnknown>;
159
+ timestamp: z.ZodString;
160
+ path: z.ZodString;
161
+ correlationId: z.ZodOptional<z.ZodString>;
162
+ }, z.core.$strip>;
163
+ readonly 500: z.ZodObject<{
164
+ statusCode: z.ZodNumber;
165
+ message: z.ZodString;
166
+ code: z.ZodString;
167
+ details: z.ZodOptional<z.ZodUnknown>;
168
+ timestamp: z.ZodString;
169
+ path: z.ZodString;
170
+ correlationId: z.ZodOptional<z.ZodString>;
171
+ }, z.core.$strip>;
172
+ };
173
+ readonly body: z.ZodObject<{
103
174
  name: z.ZodString;
104
- govLink: z.ZodString;
175
+ govLink: z.ZodURL;
105
176
  director: z.ZodString;
106
177
  }, z.core.$strip>;
178
+ readonly summary: "Create a new client";
107
179
  };
108
- findAll: {
109
- [x: string]: any;
110
- query: z.ZodObject<{
180
+ readonly findAll: {
181
+ readonly method: "GET";
182
+ readonly path: "/v2/clients";
183
+ readonly responses: {
184
+ readonly 200: z.ZodObject<{
185
+ data: z.ZodArray<z.ZodObject<{
186
+ id: z.ZodUUID;
187
+ name: z.ZodString;
188
+ crn: z.ZodString;
189
+ govLink: z.ZodURL;
190
+ status: z.ZodEnum<{
191
+ APPROVED: "APPROVED";
192
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
193
+ BLACKLISTED: "BLACKLISTED";
194
+ }>;
195
+ director: z.ZodString;
196
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
+ lastUpdatedBy: z.ZodObject<{
198
+ id: z.ZodUUID;
199
+ firstName: z.ZodString;
200
+ lastName: z.ZodString;
201
+ email: z.ZodEmail;
202
+ }, z.core.$strip>;
203
+ createdAt: z.ZodISODateTime;
204
+ updatedAt: z.ZodISODateTime;
205
+ version: z.ZodNumber;
206
+ agentClientLinks: z.ZodObject<{
207
+ agentId: z.ZodString;
208
+ }, z.core.$strip>;
209
+ }, z.core.$strip>>;
210
+ total: z.ZodNumber;
211
+ limit: z.ZodNumber;
212
+ skip: z.ZodNumber;
213
+ }, z.core.$strip>;
214
+ readonly 400: z.ZodObject<{
215
+ statusCode: z.ZodNumber;
216
+ message: z.ZodString;
217
+ code: z.ZodString;
218
+ details: z.ZodOptional<z.ZodUnknown>;
219
+ timestamp: z.ZodString;
220
+ path: z.ZodString;
221
+ correlationId: z.ZodOptional<z.ZodString>;
222
+ }, z.core.$strip>;
223
+ readonly 401: z.ZodObject<{
224
+ statusCode: z.ZodNumber;
225
+ message: z.ZodString;
226
+ code: z.ZodString;
227
+ details: z.ZodOptional<z.ZodUnknown>;
228
+ timestamp: z.ZodString;
229
+ path: z.ZodString;
230
+ correlationId: z.ZodOptional<z.ZodString>;
231
+ }, z.core.$strip>;
232
+ readonly 403: z.ZodObject<{
233
+ statusCode: z.ZodNumber;
234
+ message: z.ZodString;
235
+ code: z.ZodString;
236
+ details: z.ZodOptional<z.ZodUnknown>;
237
+ timestamp: z.ZodString;
238
+ path: z.ZodString;
239
+ correlationId: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strip>;
241
+ readonly 500: z.ZodObject<{
242
+ statusCode: z.ZodNumber;
243
+ message: z.ZodString;
244
+ code: z.ZodString;
245
+ details: z.ZodOptional<z.ZodUnknown>;
246
+ timestamp: z.ZodString;
247
+ path: z.ZodString;
248
+ correlationId: z.ZodOptional<z.ZodString>;
249
+ }, z.core.$strip>;
250
+ };
251
+ readonly query: z.ZodObject<{
111
252
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
112
253
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
113
254
  search: z.ZodOptional<z.ZodString>;
@@ -117,35 +258,228 @@ export declare const clientsContract: {
117
258
  BLACKLISTED: "BLACKLISTED";
118
259
  }>>;
119
260
  }, z.core.$strip>;
120
- summary: "Get all clients";
121
- method: "GET";
261
+ readonly summary: "Get all clients";
122
262
  };
123
- autocomplete: {
124
- [x: string]: any;
125
- query: z.ZodObject<{
263
+ readonly autocomplete: {
264
+ readonly method: "GET";
265
+ readonly path: "/v2/clients/autocomplete";
266
+ readonly responses: {
267
+ readonly 200: z.ZodArray<z.ZodObject<{
268
+ id: z.ZodString;
269
+ name: z.ZodString;
270
+ }, z.core.$strip>>;
271
+ readonly 400: z.ZodObject<{
272
+ statusCode: z.ZodNumber;
273
+ message: z.ZodString;
274
+ code: z.ZodString;
275
+ details: z.ZodOptional<z.ZodUnknown>;
276
+ timestamp: z.ZodString;
277
+ path: z.ZodString;
278
+ correlationId: z.ZodOptional<z.ZodString>;
279
+ }, z.core.$strip>;
280
+ readonly 401: z.ZodObject<{
281
+ statusCode: z.ZodNumber;
282
+ message: z.ZodString;
283
+ code: z.ZodString;
284
+ details: z.ZodOptional<z.ZodUnknown>;
285
+ timestamp: z.ZodString;
286
+ path: z.ZodString;
287
+ correlationId: z.ZodOptional<z.ZodString>;
288
+ }, z.core.$strip>;
289
+ readonly 403: z.ZodObject<{
290
+ statusCode: z.ZodNumber;
291
+ message: z.ZodString;
292
+ code: z.ZodString;
293
+ details: z.ZodOptional<z.ZodUnknown>;
294
+ timestamp: z.ZodString;
295
+ path: z.ZodString;
296
+ correlationId: z.ZodOptional<z.ZodString>;
297
+ }, z.core.$strip>;
298
+ readonly 500: z.ZodObject<{
299
+ statusCode: z.ZodNumber;
300
+ message: z.ZodString;
301
+ code: z.ZodString;
302
+ details: z.ZodOptional<z.ZodUnknown>;
303
+ timestamp: z.ZodString;
304
+ path: z.ZodString;
305
+ correlationId: z.ZodOptional<z.ZodString>;
306
+ }, z.core.$strip>;
307
+ };
308
+ readonly query: z.ZodObject<{
126
309
  search: z.ZodOptional<z.ZodString>;
127
310
  }, z.core.$strip>;
128
- summary: "Get clients for autocomplete";
129
- method: "GET";
311
+ readonly summary: "Get clients for autocomplete";
130
312
  };
131
- findOne: {
132
- [x: string]: any;
133
- pathParams: z.ZodObject<{
134
- id: z.ZodString;
313
+ readonly findOne: {
314
+ readonly method: "GET";
315
+ readonly path: "/v2/clients/:id";
316
+ readonly responses: {
317
+ readonly 200: z.ZodObject<{
318
+ id: z.ZodUUID;
319
+ name: z.ZodString;
320
+ crn: z.ZodString;
321
+ govLink: z.ZodURL;
322
+ status: z.ZodEnum<{
323
+ APPROVED: "APPROVED";
324
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
325
+ BLACKLISTED: "BLACKLISTED";
326
+ }>;
327
+ director: z.ZodString;
328
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
329
+ lastUpdatedBy: z.ZodObject<{
330
+ id: z.ZodUUID;
331
+ firstName: z.ZodString;
332
+ lastName: z.ZodString;
333
+ email: z.ZodEmail;
334
+ }, z.core.$strip>;
335
+ createdAt: z.ZodISODateTime;
336
+ updatedAt: z.ZodISODateTime;
337
+ version: z.ZodNumber;
338
+ agentClientLinks: z.ZodObject<{
339
+ agentId: z.ZodString;
340
+ }, z.core.$strip>;
341
+ }, z.core.$strip>;
342
+ readonly 400: z.ZodObject<{
343
+ statusCode: z.ZodNumber;
344
+ message: z.ZodString;
345
+ code: z.ZodString;
346
+ details: z.ZodOptional<z.ZodUnknown>;
347
+ timestamp: z.ZodString;
348
+ path: z.ZodString;
349
+ correlationId: z.ZodOptional<z.ZodString>;
350
+ }, z.core.$strip>;
351
+ readonly 401: z.ZodObject<{
352
+ statusCode: z.ZodNumber;
353
+ message: z.ZodString;
354
+ code: z.ZodString;
355
+ details: z.ZodOptional<z.ZodUnknown>;
356
+ timestamp: z.ZodString;
357
+ path: z.ZodString;
358
+ correlationId: z.ZodOptional<z.ZodString>;
359
+ }, z.core.$strip>;
360
+ readonly 403: z.ZodObject<{
361
+ statusCode: z.ZodNumber;
362
+ message: z.ZodString;
363
+ code: z.ZodString;
364
+ details: z.ZodOptional<z.ZodUnknown>;
365
+ timestamp: z.ZodString;
366
+ path: z.ZodString;
367
+ correlationId: z.ZodOptional<z.ZodString>;
368
+ }, z.core.$strip>;
369
+ readonly 404: z.ZodObject<{
370
+ statusCode: z.ZodNumber;
371
+ message: z.ZodString;
372
+ code: z.ZodString;
373
+ details: z.ZodOptional<z.ZodUnknown>;
374
+ timestamp: z.ZodString;
375
+ path: z.ZodString;
376
+ correlationId: z.ZodOptional<z.ZodString>;
377
+ }, z.core.$strip>;
378
+ readonly 500: z.ZodObject<{
379
+ statusCode: z.ZodNumber;
380
+ message: z.ZodString;
381
+ code: z.ZodString;
382
+ details: z.ZodOptional<z.ZodUnknown>;
383
+ timestamp: z.ZodString;
384
+ path: z.ZodString;
385
+ correlationId: z.ZodOptional<z.ZodString>;
386
+ }, z.core.$strip>;
387
+ };
388
+ readonly pathParams: z.ZodObject<{
389
+ id: z.ZodUUID;
135
390
  }, z.core.$strip>;
136
- summary: "Get a client by ID";
137
- method: "GET";
391
+ readonly summary: "Get a client by ID";
138
392
  };
139
- update: {
140
- [x: string]: any;
141
- pathParams: z.ZodObject<{
142
- id: z.ZodString;
393
+ readonly update: {
394
+ readonly method: "PATCH";
395
+ readonly path: "/v2/clients/:id";
396
+ readonly responses: {
397
+ readonly 200: z.ZodObject<{
398
+ id: z.ZodUUID;
399
+ name: z.ZodString;
400
+ crn: z.ZodString;
401
+ govLink: z.ZodURL;
402
+ status: z.ZodEnum<{
403
+ APPROVED: "APPROVED";
404
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
405
+ BLACKLISTED: "BLACKLISTED";
406
+ }>;
407
+ director: z.ZodString;
408
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
409
+ lastUpdatedBy: z.ZodObject<{
410
+ id: z.ZodUUID;
411
+ firstName: z.ZodString;
412
+ lastName: z.ZodString;
413
+ email: z.ZodEmail;
414
+ }, z.core.$strip>;
415
+ createdAt: z.ZodISODateTime;
416
+ updatedAt: z.ZodISODateTime;
417
+ version: z.ZodNumber;
418
+ agentClientLinks: z.ZodObject<{
419
+ agentId: z.ZodString;
420
+ }, z.core.$strip>;
421
+ }, z.core.$strip>;
422
+ readonly 400: z.ZodObject<{
423
+ statusCode: z.ZodNumber;
424
+ message: z.ZodString;
425
+ code: z.ZodString;
426
+ details: z.ZodOptional<z.ZodUnknown>;
427
+ timestamp: z.ZodString;
428
+ path: z.ZodString;
429
+ correlationId: z.ZodOptional<z.ZodString>;
430
+ }, z.core.$strip>;
431
+ readonly 401: z.ZodObject<{
432
+ statusCode: z.ZodNumber;
433
+ message: z.ZodString;
434
+ code: z.ZodString;
435
+ details: z.ZodOptional<z.ZodUnknown>;
436
+ timestamp: z.ZodString;
437
+ path: z.ZodString;
438
+ correlationId: z.ZodOptional<z.ZodString>;
439
+ }, z.core.$strip>;
440
+ readonly 403: z.ZodObject<{
441
+ statusCode: z.ZodNumber;
442
+ message: z.ZodString;
443
+ code: z.ZodString;
444
+ details: z.ZodOptional<z.ZodUnknown>;
445
+ timestamp: z.ZodString;
446
+ path: z.ZodString;
447
+ correlationId: z.ZodOptional<z.ZodString>;
448
+ }, z.core.$strip>;
449
+ readonly 404: z.ZodObject<{
450
+ statusCode: z.ZodNumber;
451
+ message: z.ZodString;
452
+ code: z.ZodString;
453
+ details: z.ZodOptional<z.ZodUnknown>;
454
+ timestamp: z.ZodString;
455
+ path: z.ZodString;
456
+ correlationId: z.ZodOptional<z.ZodString>;
457
+ }, z.core.$strip>;
458
+ readonly 409: z.ZodObject<{
459
+ statusCode: z.ZodNumber;
460
+ message: z.ZodString;
461
+ code: z.ZodString;
462
+ details: z.ZodOptional<z.ZodUnknown>;
463
+ timestamp: z.ZodString;
464
+ path: z.ZodString;
465
+ correlationId: z.ZodOptional<z.ZodString>;
466
+ }, z.core.$strip>;
467
+ readonly 500: z.ZodObject<{
468
+ statusCode: z.ZodNumber;
469
+ message: z.ZodString;
470
+ code: z.ZodString;
471
+ details: z.ZodOptional<z.ZodUnknown>;
472
+ timestamp: z.ZodString;
473
+ path: z.ZodString;
474
+ correlationId: z.ZodOptional<z.ZodString>;
475
+ }, z.core.$strip>;
476
+ };
477
+ readonly pathParams: z.ZodObject<{
478
+ id: z.ZodUUID;
143
479
  }, z.core.$strip>;
144
- summary: "Update a client";
145
- method: "PATCH";
146
- body: z.ZodObject<{
480
+ readonly body: z.ZodObject<{
147
481
  name: z.ZodOptional<z.ZodString>;
148
- govLink: z.ZodOptional<z.ZodString>;
482
+ govLink: z.ZodOptional<z.ZodURL>;
149
483
  director: z.ZodOptional<z.ZodString>;
150
484
  status: z.ZodOptional<z.ZodEnum<{
151
485
  APPROVED: "APPROVED";
@@ -154,15 +488,66 @@ export declare const clientsContract: {
154
488
  }>>;
155
489
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
490
  }, z.core.$strip>;
491
+ readonly summary: "Update a client";
157
492
  };
158
- remove: {
159
- [x: string]: any;
160
- pathParams: z.ZodObject<{
161
- id: z.ZodString;
493
+ readonly remove: {
494
+ readonly method: "DELETE";
495
+ readonly path: "/v2/clients/:id";
496
+ readonly responses: {
497
+ readonly 204: z.ZodNull;
498
+ readonly 400: z.ZodObject<{
499
+ statusCode: z.ZodNumber;
500
+ message: z.ZodString;
501
+ code: z.ZodString;
502
+ details: z.ZodOptional<z.ZodUnknown>;
503
+ timestamp: z.ZodString;
504
+ path: z.ZodString;
505
+ correlationId: z.ZodOptional<z.ZodString>;
506
+ }, z.core.$strip>;
507
+ readonly 401: z.ZodObject<{
508
+ statusCode: z.ZodNumber;
509
+ message: z.ZodString;
510
+ code: z.ZodString;
511
+ details: z.ZodOptional<z.ZodUnknown>;
512
+ timestamp: z.ZodString;
513
+ path: z.ZodString;
514
+ correlationId: z.ZodOptional<z.ZodString>;
515
+ }, z.core.$strip>;
516
+ readonly 403: z.ZodObject<{
517
+ statusCode: z.ZodNumber;
518
+ message: z.ZodString;
519
+ code: z.ZodString;
520
+ details: z.ZodOptional<z.ZodUnknown>;
521
+ timestamp: z.ZodString;
522
+ path: z.ZodString;
523
+ correlationId: z.ZodOptional<z.ZodString>;
524
+ }, z.core.$strip>;
525
+ readonly 404: z.ZodObject<{
526
+ statusCode: z.ZodNumber;
527
+ message: z.ZodString;
528
+ code: z.ZodString;
529
+ details: z.ZodOptional<z.ZodUnknown>;
530
+ timestamp: z.ZodString;
531
+ path: z.ZodString;
532
+ correlationId: z.ZodOptional<z.ZodString>;
533
+ }, z.core.$strip>;
534
+ readonly 500: z.ZodObject<{
535
+ statusCode: z.ZodNumber;
536
+ message: z.ZodString;
537
+ code: z.ZodString;
538
+ details: z.ZodOptional<z.ZodUnknown>;
539
+ timestamp: z.ZodString;
540
+ path: z.ZodString;
541
+ correlationId: z.ZodOptional<z.ZodString>;
542
+ }, z.core.$strip>;
543
+ };
544
+ readonly pathParams: z.ZodObject<{
545
+ id: z.ZodUUID;
162
546
  }, z.core.$strip>;
163
- summary: "Delete a client";
164
- method: "DELETE";
165
- body: z.ZodUndefined;
547
+ readonly body: z.ZodUndefined;
548
+ readonly summary: "Delete a client";
166
549
  };
167
550
  };
551
+ export declare const clientsContract: typeof clientsContractConfig;
552
+ export {};
168
553
  //# sourceMappingURL=clients.contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"clients.contract.d.ts","sourceRoot":"","sources":["../../contracts/clients/clients.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;iBAiBvB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;iBA4B5B,CAAC;AAEJ,eAAO,MAAM,kBAAkB;;;;;;;;;iBAK7B,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAC;AAEH,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKlC,CAAC;AAIH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,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