@dakkitor/api-contracts 1.1.1 → 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.
@@ -92,12 +92,101 @@ export type CreateClientContactV2 = z.infer<typeof CreateClientContactSchema>;
92
92
  export type CreateClientContactBodyV2 = z.infer<typeof CreateClientContactBodySchema>;
93
93
  export type UpdateClientContactV2 = z.infer<typeof UpdateClientContactSchema>;
94
94
  export type FilterClientContactV2 = z.infer<typeof FilterClientContactSchema>;
95
- export declare const clientContactsContract: {
96
- create: {
97
- [x: string]: any;
98
- summary: "Create a new client contact";
99
- method: "POST";
100
- body: z.ZodObject<{
95
+ declare const clientContactsContractConfig: {
96
+ readonly create: {
97
+ readonly method: "POST";
98
+ readonly path: "/v2/client-contacts";
99
+ readonly responses: {
100
+ readonly 201: z.ZodObject<{
101
+ id: z.ZodUUID;
102
+ clientId: z.ZodUUID;
103
+ client: z.ZodObject<{
104
+ id: z.ZodUUID;
105
+ name: z.ZodString;
106
+ crn: z.ZodString;
107
+ govLink: z.ZodURL;
108
+ status: z.ZodEnum<{
109
+ APPROVED: "APPROVED";
110
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
111
+ BLACKLISTED: "BLACKLISTED";
112
+ }>;
113
+ director: z.ZodString;
114
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ lastUpdatedBy: z.ZodObject<{
116
+ id: z.ZodUUID;
117
+ firstName: z.ZodString;
118
+ lastName: z.ZodString;
119
+ email: z.ZodEmail;
120
+ }, z.core.$strip>;
121
+ createdAt: z.ZodISODateTime;
122
+ updatedAt: z.ZodISODateTime;
123
+ version: z.ZodNumber;
124
+ agentClientLinks: z.ZodObject<{
125
+ agentId: z.ZodString;
126
+ }, z.core.$strip>;
127
+ }, z.core.$strip>;
128
+ name: z.ZodString;
129
+ position: z.ZodOptional<z.ZodString>;
130
+ phone: z.ZodString;
131
+ email: z.ZodEmail;
132
+ source: z.ZodOptional<z.ZodString>;
133
+ createdBy: z.ZodObject<{
134
+ id: z.ZodUUID;
135
+ firstName: z.ZodString;
136
+ lastName: z.ZodString;
137
+ email: z.ZodEmail;
138
+ }, z.core.$strip>;
139
+ createdAt: z.ZodCoercedDate<unknown>;
140
+ updatedAt: z.ZodCoercedDate<unknown>;
141
+ version: z.ZodNumber;
142
+ }, z.core.$strip>;
143
+ readonly 400: z.ZodObject<{
144
+ statusCode: z.ZodNumber;
145
+ message: z.ZodString;
146
+ code: z.ZodString;
147
+ details: z.ZodOptional<z.ZodUnknown>;
148
+ timestamp: z.ZodString;
149
+ path: z.ZodString;
150
+ correlationId: z.ZodOptional<z.ZodString>;
151
+ }, z.core.$strip>;
152
+ readonly 401: z.ZodObject<{
153
+ statusCode: z.ZodNumber;
154
+ message: z.ZodString;
155
+ code: z.ZodString;
156
+ details: z.ZodOptional<z.ZodUnknown>;
157
+ timestamp: z.ZodString;
158
+ path: z.ZodString;
159
+ correlationId: z.ZodOptional<z.ZodString>;
160
+ }, z.core.$strip>;
161
+ readonly 403: z.ZodObject<{
162
+ statusCode: z.ZodNumber;
163
+ message: z.ZodString;
164
+ code: z.ZodString;
165
+ details: z.ZodOptional<z.ZodUnknown>;
166
+ timestamp: z.ZodString;
167
+ path: z.ZodString;
168
+ correlationId: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$strip>;
170
+ readonly 409: z.ZodObject<{
171
+ statusCode: z.ZodNumber;
172
+ message: z.ZodString;
173
+ code: z.ZodString;
174
+ details: z.ZodOptional<z.ZodUnknown>;
175
+ timestamp: z.ZodString;
176
+ path: z.ZodString;
177
+ correlationId: z.ZodOptional<z.ZodString>;
178
+ }, z.core.$strip>;
179
+ readonly 500: z.ZodObject<{
180
+ statusCode: z.ZodNumber;
181
+ message: z.ZodString;
182
+ code: z.ZodString;
183
+ details: z.ZodOptional<z.ZodUnknown>;
184
+ timestamp: z.ZodString;
185
+ path: z.ZodString;
186
+ correlationId: z.ZodOptional<z.ZodString>;
187
+ }, z.core.$strip>;
188
+ };
189
+ readonly body: z.ZodObject<{
101
190
  client: z.ZodObject<{
102
191
  id: z.ZodUUID;
103
192
  }, z.core.$strip>;
@@ -107,25 +196,203 @@ export declare const clientContactsContract: {
107
196
  email: z.ZodEmail;
108
197
  source: z.ZodOptional<z.ZodString>;
109
198
  }, z.core.$strip>;
199
+ readonly summary: "Create a new client contact";
110
200
  };
111
- createByClientId: {
112
- [x: string]: any;
113
- pathParams: z.ZodObject<{
201
+ readonly createByClientId: {
202
+ readonly method: "POST";
203
+ readonly path: "/v2/client-contacts/client/:clientId";
204
+ readonly responses: {
205
+ readonly 201: z.ZodObject<{
206
+ id: z.ZodUUID;
207
+ clientId: z.ZodUUID;
208
+ client: z.ZodObject<{
209
+ id: z.ZodUUID;
210
+ name: z.ZodString;
211
+ crn: z.ZodString;
212
+ govLink: z.ZodURL;
213
+ status: z.ZodEnum<{
214
+ APPROVED: "APPROVED";
215
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
216
+ BLACKLISTED: "BLACKLISTED";
217
+ }>;
218
+ director: z.ZodString;
219
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ lastUpdatedBy: z.ZodObject<{
221
+ id: z.ZodUUID;
222
+ firstName: z.ZodString;
223
+ lastName: z.ZodString;
224
+ email: z.ZodEmail;
225
+ }, z.core.$strip>;
226
+ createdAt: z.ZodISODateTime;
227
+ updatedAt: z.ZodISODateTime;
228
+ version: z.ZodNumber;
229
+ agentClientLinks: z.ZodObject<{
230
+ agentId: z.ZodString;
231
+ }, z.core.$strip>;
232
+ }, z.core.$strip>;
233
+ name: z.ZodString;
234
+ position: z.ZodOptional<z.ZodString>;
235
+ phone: z.ZodString;
236
+ email: z.ZodEmail;
237
+ source: z.ZodOptional<z.ZodString>;
238
+ createdBy: z.ZodObject<{
239
+ id: z.ZodUUID;
240
+ firstName: z.ZodString;
241
+ lastName: z.ZodString;
242
+ email: z.ZodEmail;
243
+ }, z.core.$strip>;
244
+ createdAt: z.ZodCoercedDate<unknown>;
245
+ updatedAt: z.ZodCoercedDate<unknown>;
246
+ version: z.ZodNumber;
247
+ }, z.core.$strip>;
248
+ readonly 400: z.ZodObject<{
249
+ statusCode: z.ZodNumber;
250
+ message: z.ZodString;
251
+ code: z.ZodString;
252
+ details: z.ZodOptional<z.ZodUnknown>;
253
+ timestamp: z.ZodString;
254
+ path: z.ZodString;
255
+ correlationId: z.ZodOptional<z.ZodString>;
256
+ }, z.core.$strip>;
257
+ readonly 401: z.ZodObject<{
258
+ statusCode: z.ZodNumber;
259
+ message: z.ZodString;
260
+ code: z.ZodString;
261
+ details: z.ZodOptional<z.ZodUnknown>;
262
+ timestamp: z.ZodString;
263
+ path: z.ZodString;
264
+ correlationId: z.ZodOptional<z.ZodString>;
265
+ }, z.core.$strip>;
266
+ readonly 403: z.ZodObject<{
267
+ statusCode: z.ZodNumber;
268
+ message: z.ZodString;
269
+ code: z.ZodString;
270
+ details: z.ZodOptional<z.ZodUnknown>;
271
+ timestamp: z.ZodString;
272
+ path: z.ZodString;
273
+ correlationId: z.ZodOptional<z.ZodString>;
274
+ }, z.core.$strip>;
275
+ readonly 409: z.ZodObject<{
276
+ statusCode: z.ZodNumber;
277
+ message: z.ZodString;
278
+ code: z.ZodString;
279
+ details: z.ZodOptional<z.ZodUnknown>;
280
+ timestamp: z.ZodString;
281
+ path: z.ZodString;
282
+ correlationId: z.ZodOptional<z.ZodString>;
283
+ }, z.core.$strip>;
284
+ readonly 500: z.ZodObject<{
285
+ statusCode: z.ZodNumber;
286
+ message: z.ZodString;
287
+ code: z.ZodString;
288
+ details: z.ZodOptional<z.ZodUnknown>;
289
+ timestamp: z.ZodString;
290
+ path: z.ZodString;
291
+ correlationId: z.ZodOptional<z.ZodString>;
292
+ }, z.core.$strip>;
293
+ };
294
+ readonly pathParams: z.ZodObject<{
114
295
  clientId: z.ZodUUID;
115
296
  }, z.core.$strip>;
116
- summary: "Create a new contact for a specific client";
117
- method: "POST";
118
- body: z.ZodObject<{
297
+ readonly body: z.ZodObject<{
119
298
  email: z.ZodEmail;
120
299
  name: z.ZodString;
121
300
  position: z.ZodOptional<z.ZodString>;
122
301
  phone: z.ZodString;
123
302
  source: z.ZodOptional<z.ZodString>;
124
303
  }, z.core.$strip>;
304
+ readonly summary: "Create a new contact for a specific client";
125
305
  };
126
- findAll: {
127
- [x: string]: any;
128
- query: z.ZodObject<{
306
+ readonly findAll: {
307
+ readonly method: "GET";
308
+ readonly path: "/v2/client-contacts";
309
+ readonly responses: {
310
+ readonly 200: z.ZodObject<{
311
+ data: z.ZodArray<z.ZodObject<{
312
+ id: z.ZodUUID;
313
+ clientId: z.ZodUUID;
314
+ client: z.ZodObject<{
315
+ id: z.ZodUUID;
316
+ name: z.ZodString;
317
+ crn: z.ZodString;
318
+ govLink: z.ZodURL;
319
+ status: z.ZodEnum<{
320
+ APPROVED: "APPROVED";
321
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
322
+ BLACKLISTED: "BLACKLISTED";
323
+ }>;
324
+ director: z.ZodString;
325
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
+ lastUpdatedBy: z.ZodObject<{
327
+ id: z.ZodUUID;
328
+ firstName: z.ZodString;
329
+ lastName: z.ZodString;
330
+ email: z.ZodEmail;
331
+ }, z.core.$strip>;
332
+ createdAt: z.ZodISODateTime;
333
+ updatedAt: z.ZodISODateTime;
334
+ version: z.ZodNumber;
335
+ agentClientLinks: z.ZodObject<{
336
+ agentId: z.ZodString;
337
+ }, z.core.$strip>;
338
+ }, z.core.$strip>;
339
+ name: z.ZodString;
340
+ position: z.ZodOptional<z.ZodString>;
341
+ phone: z.ZodString;
342
+ email: z.ZodEmail;
343
+ source: z.ZodOptional<z.ZodString>;
344
+ createdBy: z.ZodObject<{
345
+ id: z.ZodUUID;
346
+ firstName: z.ZodString;
347
+ lastName: z.ZodString;
348
+ email: z.ZodEmail;
349
+ }, z.core.$strip>;
350
+ createdAt: z.ZodCoercedDate<unknown>;
351
+ updatedAt: z.ZodCoercedDate<unknown>;
352
+ version: z.ZodNumber;
353
+ }, z.core.$strip>>;
354
+ total: z.ZodNumber;
355
+ limit: z.ZodNumber;
356
+ skip: z.ZodNumber;
357
+ }, z.core.$strip>;
358
+ readonly 400: z.ZodObject<{
359
+ statusCode: z.ZodNumber;
360
+ message: z.ZodString;
361
+ code: z.ZodString;
362
+ details: z.ZodOptional<z.ZodUnknown>;
363
+ timestamp: z.ZodString;
364
+ path: z.ZodString;
365
+ correlationId: z.ZodOptional<z.ZodString>;
366
+ }, z.core.$strip>;
367
+ readonly 401: z.ZodObject<{
368
+ statusCode: z.ZodNumber;
369
+ message: z.ZodString;
370
+ code: z.ZodString;
371
+ details: z.ZodOptional<z.ZodUnknown>;
372
+ timestamp: z.ZodString;
373
+ path: z.ZodString;
374
+ correlationId: z.ZodOptional<z.ZodString>;
375
+ }, z.core.$strip>;
376
+ readonly 403: z.ZodObject<{
377
+ statusCode: z.ZodNumber;
378
+ message: z.ZodString;
379
+ code: z.ZodString;
380
+ details: z.ZodOptional<z.ZodUnknown>;
381
+ timestamp: z.ZodString;
382
+ path: z.ZodString;
383
+ correlationId: z.ZodOptional<z.ZodString>;
384
+ }, z.core.$strip>;
385
+ readonly 500: z.ZodObject<{
386
+ statusCode: z.ZodNumber;
387
+ message: z.ZodString;
388
+ code: z.ZodString;
389
+ details: z.ZodOptional<z.ZodUnknown>;
390
+ timestamp: z.ZodString;
391
+ path: z.ZodString;
392
+ correlationId: z.ZodOptional<z.ZodString>;
393
+ }, z.core.$strip>;
394
+ };
395
+ readonly query: z.ZodObject<{
129
396
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
130
397
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
131
398
  name: z.ZodOptional<z.ZodString>;
@@ -145,25 +412,212 @@ export declare const clientContactsContract: {
145
412
  DESC: "DESC";
146
413
  }>>;
147
414
  }, z.core.$strip>;
148
- summary: "Get all client contacts";
149
- method: "GET";
415
+ readonly summary: "Get all client contacts";
150
416
  };
151
- findOne: {
152
- [x: string]: any;
153
- pathParams: z.ZodObject<{
417
+ readonly findOne: {
418
+ readonly method: "GET";
419
+ readonly path: "/v2/client-contacts/:contactId";
420
+ readonly responses: {
421
+ readonly 200: z.ZodObject<{
422
+ id: z.ZodUUID;
423
+ clientId: z.ZodUUID;
424
+ client: z.ZodObject<{
425
+ id: z.ZodUUID;
426
+ name: z.ZodString;
427
+ crn: z.ZodString;
428
+ govLink: z.ZodURL;
429
+ status: z.ZodEnum<{
430
+ APPROVED: "APPROVED";
431
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
432
+ BLACKLISTED: "BLACKLISTED";
433
+ }>;
434
+ director: z.ZodString;
435
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
436
+ lastUpdatedBy: z.ZodObject<{
437
+ id: z.ZodUUID;
438
+ firstName: z.ZodString;
439
+ lastName: z.ZodString;
440
+ email: z.ZodEmail;
441
+ }, z.core.$strip>;
442
+ createdAt: z.ZodISODateTime;
443
+ updatedAt: z.ZodISODateTime;
444
+ version: z.ZodNumber;
445
+ agentClientLinks: z.ZodObject<{
446
+ agentId: z.ZodString;
447
+ }, z.core.$strip>;
448
+ }, z.core.$strip>;
449
+ name: z.ZodString;
450
+ position: z.ZodOptional<z.ZodString>;
451
+ phone: z.ZodString;
452
+ email: z.ZodEmail;
453
+ source: z.ZodOptional<z.ZodString>;
454
+ createdBy: z.ZodObject<{
455
+ id: z.ZodUUID;
456
+ firstName: z.ZodString;
457
+ lastName: z.ZodString;
458
+ email: z.ZodEmail;
459
+ }, z.core.$strip>;
460
+ createdAt: z.ZodCoercedDate<unknown>;
461
+ updatedAt: z.ZodCoercedDate<unknown>;
462
+ version: z.ZodNumber;
463
+ }, z.core.$strip>;
464
+ readonly 400: z.ZodObject<{
465
+ statusCode: z.ZodNumber;
466
+ message: z.ZodString;
467
+ code: z.ZodString;
468
+ details: z.ZodOptional<z.ZodUnknown>;
469
+ timestamp: z.ZodString;
470
+ path: z.ZodString;
471
+ correlationId: z.ZodOptional<z.ZodString>;
472
+ }, z.core.$strip>;
473
+ readonly 401: z.ZodObject<{
474
+ statusCode: z.ZodNumber;
475
+ message: z.ZodString;
476
+ code: z.ZodString;
477
+ details: z.ZodOptional<z.ZodUnknown>;
478
+ timestamp: z.ZodString;
479
+ path: z.ZodString;
480
+ correlationId: z.ZodOptional<z.ZodString>;
481
+ }, z.core.$strip>;
482
+ readonly 403: z.ZodObject<{
483
+ statusCode: z.ZodNumber;
484
+ message: z.ZodString;
485
+ code: z.ZodString;
486
+ details: z.ZodOptional<z.ZodUnknown>;
487
+ timestamp: z.ZodString;
488
+ path: z.ZodString;
489
+ correlationId: z.ZodOptional<z.ZodString>;
490
+ }, z.core.$strip>;
491
+ readonly 404: z.ZodObject<{
492
+ statusCode: z.ZodNumber;
493
+ message: z.ZodString;
494
+ code: z.ZodString;
495
+ details: z.ZodOptional<z.ZodUnknown>;
496
+ timestamp: z.ZodString;
497
+ path: z.ZodString;
498
+ correlationId: z.ZodOptional<z.ZodString>;
499
+ }, z.core.$strip>;
500
+ readonly 500: z.ZodObject<{
501
+ statusCode: z.ZodNumber;
502
+ message: z.ZodString;
503
+ code: z.ZodString;
504
+ details: z.ZodOptional<z.ZodUnknown>;
505
+ timestamp: z.ZodString;
506
+ path: z.ZodString;
507
+ correlationId: z.ZodOptional<z.ZodString>;
508
+ }, z.core.$strip>;
509
+ };
510
+ readonly pathParams: z.ZodObject<{
154
511
  contactId: z.ZodUUID;
155
512
  }, z.core.$strip>;
156
- summary: "Get a client contact by ID";
157
- method: "GET";
513
+ readonly summary: "Get a client contact by ID";
158
514
  };
159
- update: {
160
- [x: string]: any;
161
- pathParams: z.ZodObject<{
515
+ readonly update: {
516
+ readonly method: "PATCH";
517
+ readonly path: "/v2/client-contacts/:contactId";
518
+ readonly responses: {
519
+ readonly 200: z.ZodObject<{
520
+ id: z.ZodUUID;
521
+ clientId: z.ZodUUID;
522
+ client: z.ZodObject<{
523
+ id: z.ZodUUID;
524
+ name: z.ZodString;
525
+ crn: z.ZodString;
526
+ govLink: z.ZodURL;
527
+ status: z.ZodEnum<{
528
+ APPROVED: "APPROVED";
529
+ PENDING_VERIFICATION: "PENDING_VERIFICATION";
530
+ BLACKLISTED: "BLACKLISTED";
531
+ }>;
532
+ director: z.ZodString;
533
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
534
+ lastUpdatedBy: z.ZodObject<{
535
+ id: z.ZodUUID;
536
+ firstName: z.ZodString;
537
+ lastName: z.ZodString;
538
+ email: z.ZodEmail;
539
+ }, z.core.$strip>;
540
+ createdAt: z.ZodISODateTime;
541
+ updatedAt: z.ZodISODateTime;
542
+ version: z.ZodNumber;
543
+ agentClientLinks: z.ZodObject<{
544
+ agentId: z.ZodString;
545
+ }, z.core.$strip>;
546
+ }, z.core.$strip>;
547
+ name: z.ZodString;
548
+ position: z.ZodOptional<z.ZodString>;
549
+ phone: z.ZodString;
550
+ email: z.ZodEmail;
551
+ source: z.ZodOptional<z.ZodString>;
552
+ createdBy: z.ZodObject<{
553
+ id: z.ZodUUID;
554
+ firstName: z.ZodString;
555
+ lastName: z.ZodString;
556
+ email: z.ZodEmail;
557
+ }, z.core.$strip>;
558
+ createdAt: z.ZodCoercedDate<unknown>;
559
+ updatedAt: z.ZodCoercedDate<unknown>;
560
+ version: z.ZodNumber;
561
+ }, z.core.$strip>;
562
+ readonly 400: z.ZodObject<{
563
+ statusCode: z.ZodNumber;
564
+ message: z.ZodString;
565
+ code: z.ZodString;
566
+ details: z.ZodOptional<z.ZodUnknown>;
567
+ timestamp: z.ZodString;
568
+ path: z.ZodString;
569
+ correlationId: z.ZodOptional<z.ZodString>;
570
+ }, z.core.$strip>;
571
+ readonly 401: z.ZodObject<{
572
+ statusCode: z.ZodNumber;
573
+ message: z.ZodString;
574
+ code: z.ZodString;
575
+ details: z.ZodOptional<z.ZodUnknown>;
576
+ timestamp: z.ZodString;
577
+ path: z.ZodString;
578
+ correlationId: z.ZodOptional<z.ZodString>;
579
+ }, z.core.$strip>;
580
+ readonly 403: z.ZodObject<{
581
+ statusCode: z.ZodNumber;
582
+ message: z.ZodString;
583
+ code: z.ZodString;
584
+ details: z.ZodOptional<z.ZodUnknown>;
585
+ timestamp: z.ZodString;
586
+ path: z.ZodString;
587
+ correlationId: z.ZodOptional<z.ZodString>;
588
+ }, z.core.$strip>;
589
+ readonly 404: z.ZodObject<{
590
+ statusCode: z.ZodNumber;
591
+ message: z.ZodString;
592
+ code: z.ZodString;
593
+ details: z.ZodOptional<z.ZodUnknown>;
594
+ timestamp: z.ZodString;
595
+ path: z.ZodString;
596
+ correlationId: z.ZodOptional<z.ZodString>;
597
+ }, z.core.$strip>;
598
+ readonly 409: z.ZodObject<{
599
+ statusCode: z.ZodNumber;
600
+ message: z.ZodString;
601
+ code: z.ZodString;
602
+ details: z.ZodOptional<z.ZodUnknown>;
603
+ timestamp: z.ZodString;
604
+ path: z.ZodString;
605
+ correlationId: z.ZodOptional<z.ZodString>;
606
+ }, z.core.$strip>;
607
+ readonly 500: z.ZodObject<{
608
+ statusCode: z.ZodNumber;
609
+ message: z.ZodString;
610
+ code: z.ZodString;
611
+ details: z.ZodOptional<z.ZodUnknown>;
612
+ timestamp: z.ZodString;
613
+ path: z.ZodString;
614
+ correlationId: z.ZodOptional<z.ZodString>;
615
+ }, z.core.$strip>;
616
+ };
617
+ readonly pathParams: z.ZodObject<{
162
618
  contactId: z.ZodUUID;
163
619
  }, z.core.$strip>;
164
- summary: "Update a client contact";
165
- method: "PATCH";
166
- body: z.ZodObject<{
620
+ readonly body: z.ZodObject<{
167
621
  email: z.ZodOptional<z.ZodEmail>;
168
622
  name: z.ZodOptional<z.ZodString>;
169
623
  version: z.ZodNumber;
@@ -171,15 +625,66 @@ export declare const clientContactsContract: {
171
625
  phone: z.ZodOptional<z.ZodString>;
172
626
  source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
173
627
  }, z.core.$strip>;
628
+ readonly summary: "Update a client contact";
174
629
  };
175
- remove: {
176
- [x: string]: any;
177
- pathParams: z.ZodObject<{
630
+ readonly remove: {
631
+ readonly method: "DELETE";
632
+ readonly path: "/v2/client-contacts/:contactId";
633
+ readonly responses: {
634
+ readonly 204: typeof import("@ts-rest/core").ContractNoBody;
635
+ readonly 400: z.ZodObject<{
636
+ statusCode: z.ZodNumber;
637
+ message: z.ZodString;
638
+ code: z.ZodString;
639
+ details: z.ZodOptional<z.ZodUnknown>;
640
+ timestamp: z.ZodString;
641
+ path: z.ZodString;
642
+ correlationId: z.ZodOptional<z.ZodString>;
643
+ }, z.core.$strip>;
644
+ readonly 401: z.ZodObject<{
645
+ statusCode: z.ZodNumber;
646
+ message: z.ZodString;
647
+ code: z.ZodString;
648
+ details: z.ZodOptional<z.ZodUnknown>;
649
+ timestamp: z.ZodString;
650
+ path: z.ZodString;
651
+ correlationId: z.ZodOptional<z.ZodString>;
652
+ }, z.core.$strip>;
653
+ readonly 403: z.ZodObject<{
654
+ statusCode: z.ZodNumber;
655
+ message: z.ZodString;
656
+ code: z.ZodString;
657
+ details: z.ZodOptional<z.ZodUnknown>;
658
+ timestamp: z.ZodString;
659
+ path: z.ZodString;
660
+ correlationId: z.ZodOptional<z.ZodString>;
661
+ }, z.core.$strip>;
662
+ readonly 404: z.ZodObject<{
663
+ statusCode: z.ZodNumber;
664
+ message: z.ZodString;
665
+ code: z.ZodString;
666
+ details: z.ZodOptional<z.ZodUnknown>;
667
+ timestamp: z.ZodString;
668
+ path: z.ZodString;
669
+ correlationId: z.ZodOptional<z.ZodString>;
670
+ }, z.core.$strip>;
671
+ readonly 500: z.ZodObject<{
672
+ statusCode: z.ZodNumber;
673
+ message: z.ZodString;
674
+ code: z.ZodString;
675
+ details: z.ZodOptional<z.ZodUnknown>;
676
+ timestamp: z.ZodString;
677
+ path: z.ZodString;
678
+ correlationId: z.ZodOptional<z.ZodString>;
679
+ }, z.core.$strip>;
680
+ };
681
+ readonly pathParams: z.ZodObject<{
178
682
  contactId: z.ZodUUID;
179
683
  }, z.core.$strip>;
180
- summary: "Delete a client contact";
181
- method: "DELETE";
182
- body: typeof import("@ts-rest/core").ContractNoBody;
684
+ readonly body: typeof import("@ts-rest/core").ContractNoBody;
685
+ readonly summary: "Delete a client contact";
183
686
  };
184
687
  };
688
+ export declare const clientContactsContract: typeof clientContactsContractConfig;
689
+ export {};
185
690
  //# sourceMappingURL=client-contacts.contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-contacts.contract.d.ts","sourceRoot":"","sources":["../../contracts/client-contacts/client-contacts.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4BxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAa9B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;iBAOpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;iBAExC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;iBAIb,CAAC;AAE1B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;iBAapC,CAAC;AAIH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,6BAA6B,CACrC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE9E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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