@dakkitor/api-contracts 1.1.9 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/actives/actives.contract.d.ts +263 -263
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +9 -17
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +1905 -0
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -0
  6. package/dist/agent-client-links/agent-client-links.contract.js +127 -0
  7. package/dist/auth/auth.contract.d.ts +319 -0
  8. package/dist/auth/auth.contract.d.ts.map +1 -0
  9. package/dist/auth/auth.contract.js +63 -0
  10. package/dist/bookings/bookings.contract.d.ts +2183 -0
  11. package/dist/bookings/bookings.contract.d.ts.map +1 -0
  12. package/dist/bookings/bookings.contract.js +278 -0
  13. package/dist/call-history/call-history.contract.d.ts +1164 -0
  14. package/dist/call-history/call-history.contract.d.ts.map +1 -0
  15. package/dist/call-history/call-history.contract.js +254 -0
  16. package/dist/client-contacts/client-contacts.contract.d.ts +421 -472
  17. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  18. package/dist/client-contacts/client-contacts.contract.js +26 -15
  19. package/dist/clients/clients.contract.d.ts +336 -308
  20. package/dist/clients/clients.contract.d.ts.map +1 -1
  21. package/dist/clients/clients.contract.js +49 -52
  22. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3013 -0
  23. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -0
  24. package/dist/collaboration-checkings/collaboration-checkings.contract.js +247 -0
  25. package/dist/collaborations/collaborations.contract.d.ts +2229 -0
  26. package/dist/collaborations/collaborations.contract.d.ts.map +1 -0
  27. package/dist/collaborations/collaborations.contract.js +284 -0
  28. package/dist/common/common-schemas.d.ts +120 -0
  29. package/dist/common/common-schemas.d.ts.map +1 -0
  30. package/dist/common/common-schemas.js +296 -0
  31. package/dist/common/error-schemas.d.ts +6 -6
  32. package/dist/common/openapi-metadata.d.ts +6 -0
  33. package/dist/common/openapi-metadata.d.ts.map +1 -1
  34. package/dist/common/pagination-query.schema.d.ts +17 -0
  35. package/dist/common/pagination-query.schema.d.ts.map +1 -0
  36. package/dist/common/pagination-query.schema.js +15 -0
  37. package/dist/common/pagination.schema.d.ts +2 -2
  38. package/dist/companies/companies.contract.d.ts +1108 -0
  39. package/dist/companies/companies.contract.d.ts.map +1 -0
  40. package/dist/companies/companies.contract.js +164 -0
  41. package/dist/cron-executions/cron-executions.contract.d.ts +1643 -0
  42. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -0
  43. package/dist/cron-executions/cron-executions.contract.js +271 -0
  44. package/dist/curated-workers/curated-workers.contract.d.ts +3183 -0
  45. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -0
  46. package/dist/curated-workers/curated-workers.contract.js +444 -0
  47. package/dist/dashboards/agent-daily-metrics.contract.d.ts +639 -0
  48. package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -0
  49. package/dist/dashboards/agent-daily-metrics.contract.js +118 -0
  50. package/dist/files/files.contract.d.ts +1258 -0
  51. package/dist/files/files.contract.d.ts.map +1 -0
  52. package/dist/files/files.contract.js +205 -0
  53. package/dist/health/health.contract.d.ts +161 -0
  54. package/dist/health/health.contract.d.ts.map +1 -0
  55. package/dist/health/health.contract.js +52 -0
  56. package/dist/index.d.ts +28596 -3088
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +68 -0
  59. package/dist/jobs/jobs.contract.d.ts +2303 -0
  60. package/dist/jobs/jobs.contract.d.ts.map +1 -0
  61. package/dist/jobs/jobs.contract.js +295 -0
  62. package/dist/lead-assignments/lead-assignments.contract.d.ts +1826 -0
  63. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -0
  64. package/dist/lead-assignments/lead-assignments.contract.js +187 -0
  65. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +1147 -0
  66. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -0
  67. package/dist/lead-distribution/agent-lead-distribution.contract.js +154 -0
  68. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +1085 -0
  69. package/dist/lead-distribution/lead-distribution-config.contract.d.ts.map +1 -0
  70. package/dist/lead-distribution/lead-distribution-config.contract.js +196 -0
  71. package/dist/leads/leads.contract.d.ts +1690 -0
  72. package/dist/leads/leads.contract.d.ts.map +1 -0
  73. package/dist/leads/leads.contract.js +328 -0
  74. package/dist/locations/locations.contract.d.ts +974 -0
  75. package/dist/locations/locations.contract.d.ts.map +1 -0
  76. package/dist/locations/locations.contract.js +154 -0
  77. package/dist/postcodes/postcodes.contract.d.ts +370 -0
  78. package/dist/postcodes/postcodes.contract.d.ts.map +1 -0
  79. package/dist/postcodes/postcodes.contract.js +90 -0
  80. package/dist/qualifications/qualifications.contract.d.ts +1489 -0
  81. package/dist/qualifications/qualifications.contract.d.ts.map +1 -0
  82. package/dist/qualifications/qualifications.contract.js +215 -0
  83. package/dist/trades/trades.contract.d.ts +799 -0
  84. package/dist/trades/trades.contract.d.ts.map +1 -0
  85. package/dist/trades/trades.contract.js +112 -0
  86. package/dist/users/users.contract.d.ts +315 -299
  87. package/dist/users/users.contract.d.ts.map +1 -1
  88. package/dist/users/users.contract.js +13 -29
  89. package/dist/workers/workers.contract.d.ts +3376 -0
  90. package/dist/workers/workers.contract.d.ts.map +1 -0
  91. package/dist/workers/workers.contract.js +363 -0
  92. package/package.json +4 -3
@@ -2,7 +2,6 @@ import { z } from 'zod';
2
2
  declare const ActiveStatusSchema: z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>;
3
3
  declare const ActiveStatusFilterTypeSchema: z.ZodEnum<["SECOND_AGENT", "FIRST_AGENT", "BOTH", "EITHER"]>;
4
4
  declare const ActiveSortableFieldsSchema: z.ZodEnum<["date", "payRate", "status", "createdAt", "updatedAt"]>;
5
- declare const RateUnitSchema: z.ZodEnum<["DAILY", "HOURLY"]>;
6
5
  export declare const ActiveSchema: z.ZodObject<{
7
6
  id: z.ZodString;
8
7
  date: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -33,10 +32,8 @@ export declare const ActiveSchema: z.ZodObject<{
33
32
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
34
33
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
35
34
  }, "strip", z.ZodTypeAny, {
36
- date: string;
37
- createdAt: string;
38
- updatedAt: string;
39
35
  id: string;
36
+ date: string;
40
37
  pay: {
41
38
  rate: number;
42
39
  unit: "DAILY" | "HOURLY";
@@ -51,11 +48,11 @@ export declare const ActiveSchema: z.ZodObject<{
51
48
  booking: {
52
49
  id: string;
53
50
  };
51
+ createdAt: string;
52
+ updatedAt: string;
54
53
  }, {
55
- date: string | Date;
56
- createdAt: string | Date;
57
- updatedAt: string | Date;
58
54
  id: string;
55
+ date: string | Date;
59
56
  pay: {
60
57
  rate: number;
61
58
  unit: "DAILY" | "HOURLY";
@@ -70,6 +67,8 @@ export declare const ActiveSchema: z.ZodObject<{
70
67
  booking: {
71
68
  id: string;
72
69
  };
70
+ createdAt: string | Date;
71
+ updatedAt: string | Date;
73
72
  }>;
74
73
  export declare const CreateActiveSchema: z.ZodObject<{
75
74
  date: z.ZodString;
@@ -142,16 +141,17 @@ export declare const UpdateActiveSchema: z.ZodObject<{
142
141
  export declare const FilterActiveSchema: z.ZodObject<{
143
142
  limit: z.ZodDefault<z.ZodNumber>;
144
143
  page: z.ZodDefault<z.ZodNumber>;
144
+ } & {
145
145
  bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
146
146
  date: z.ZodNullable<z.ZodOptional<z.ZodObject<{
147
- from: z.ZodOptional<z.ZodString>;
148
- to: z.ZodOptional<z.ZodString>;
147
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
148
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
149
149
  }, "strip", z.ZodTypeAny, {
150
- from?: string | undefined;
151
- to?: string | undefined;
150
+ from?: string | null | undefined;
151
+ to?: string | null | undefined;
152
152
  }, {
153
- from?: string | undefined;
154
- to?: string | undefined;
153
+ from?: string | null | undefined;
154
+ to?: string | null | undefined;
155
155
  }>>>;
156
156
  pay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
157
157
  min: z.ZodOptional<z.ZodNumber>;
@@ -174,14 +174,14 @@ export declare const FilterActiveSchema: z.ZodObject<{
174
174
  filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
175
175
  }>>>;
176
176
  createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
177
- from: z.ZodOptional<z.ZodString>;
178
- to: z.ZodOptional<z.ZodString>;
177
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
178
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
179
  }, "strip", z.ZodTypeAny, {
180
- from?: string | undefined;
181
- to?: string | undefined;
180
+ from?: string | null | undefined;
181
+ to?: string | null | undefined;
182
182
  }, {
183
- from?: string | undefined;
184
- to?: string | undefined;
183
+ from?: string | null | undefined;
184
+ to?: string | null | undefined;
185
185
  }>>>;
186
186
  sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["date", "payRate", "status", "createdAt", "updatedAt"]>>>;
187
187
  sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
@@ -193,41 +193,41 @@ export declare const FilterActiveSchema: z.ZodObject<{
193
193
  status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
194
194
  } | null | undefined;
195
195
  date?: {
196
- from?: string | undefined;
197
- to?: string | undefined;
198
- } | null | undefined;
199
- createdAt?: {
200
- from?: string | undefined;
201
- to?: string | undefined;
196
+ from?: string | null | undefined;
197
+ to?: string | null | undefined;
202
198
  } | null | undefined;
203
199
  pay?: {
204
200
  min?: number | undefined;
205
201
  max?: number | undefined;
206
202
  } | null | undefined;
203
+ createdAt?: {
204
+ from?: string | null | undefined;
205
+ to?: string | null | undefined;
206
+ } | null | undefined;
207
207
  bookingId?: string | null | undefined;
208
- sortBy?: "status" | "date" | "payRate" | "createdAt" | "updatedAt" | null | undefined;
208
+ sortBy?: "status" | "date" | "createdAt" | "updatedAt" | "payRate" | null | undefined;
209
209
  sortOrder?: "ASC" | "DESC" | null | undefined;
210
210
  }, {
211
211
  status?: {
212
212
  status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
213
213
  filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
214
214
  } | null | undefined;
215
- limit?: number | undefined;
216
215
  date?: {
217
- from?: string | undefined;
218
- to?: string | undefined;
219
- } | null | undefined;
220
- createdAt?: {
221
- from?: string | undefined;
222
- to?: string | undefined;
216
+ from?: string | null | undefined;
217
+ to?: string | null | undefined;
223
218
  } | null | undefined;
224
219
  pay?: {
225
220
  min?: number | undefined;
226
221
  max?: number | undefined;
227
222
  } | null | undefined;
223
+ createdAt?: {
224
+ from?: string | null | undefined;
225
+ to?: string | null | undefined;
226
+ } | null | undefined;
227
+ limit?: number | undefined;
228
228
  page?: number | undefined;
229
229
  bookingId?: string | null | undefined;
230
- sortBy?: "status" | "date" | "payRate" | "createdAt" | "updatedAt" | null | undefined;
230
+ sortBy?: "status" | "date" | "createdAt" | "updatedAt" | "payRate" | null | undefined;
231
231
  sortOrder?: "ASC" | "DESC" | null | undefined;
232
232
  }>;
233
233
  export declare const PaginatedActiveResponseSchema: z.ZodObject<{
@@ -261,10 +261,8 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
261
261
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
262
262
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
263
263
  }, "strip", z.ZodTypeAny, {
264
- date: string;
265
- createdAt: string;
266
- updatedAt: string;
267
264
  id: string;
265
+ date: string;
268
266
  pay: {
269
267
  rate: number;
270
268
  unit: "DAILY" | "HOURLY";
@@ -279,11 +277,11 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
279
277
  booking: {
280
278
  id: string;
281
279
  };
280
+ createdAt: string;
281
+ updatedAt: string;
282
282
  }, {
283
- date: string | Date;
284
- createdAt: string | Date;
285
- updatedAt: string | Date;
286
283
  id: string;
284
+ date: string | Date;
287
285
  pay: {
288
286
  rate: number;
289
287
  unit: "DAILY" | "HOURLY";
@@ -298,6 +296,8 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
298
296
  booking: {
299
297
  id: string;
300
298
  };
299
+ createdAt: string | Date;
300
+ updatedAt: string | Date;
301
301
  }>, "many">;
302
302
  totalCount: z.ZodNumber;
303
303
  limit: z.ZodNumber;
@@ -305,11 +305,10 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
305
305
  currentPage: z.ZodNumber;
306
306
  totalPages: z.ZodNumber;
307
307
  }, "strip", z.ZodTypeAny, {
308
+ limit: number;
308
309
  items: {
309
- date: string;
310
- createdAt: string;
311
- updatedAt: string;
312
310
  id: string;
311
+ date: string;
313
312
  pay: {
314
313
  rate: number;
315
314
  unit: "DAILY" | "HOURLY";
@@ -324,18 +323,18 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
324
323
  booking: {
325
324
  id: string;
326
325
  };
326
+ createdAt: string;
327
+ updatedAt: string;
327
328
  }[];
328
329
  totalCount: number;
329
- limit: number;
330
330
  skip: number;
331
331
  currentPage: number;
332
332
  totalPages: number;
333
333
  }, {
334
+ limit: number;
334
335
  items: {
335
- date: string | Date;
336
- createdAt: string | Date;
337
- updatedAt: string | Date;
338
336
  id: string;
337
+ date: string | Date;
339
338
  pay: {
340
339
  rate: number;
341
340
  unit: "DAILY" | "HOURLY";
@@ -350,9 +349,10 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
350
349
  booking: {
351
350
  id: string;
352
351
  };
352
+ createdAt: string | Date;
353
+ updatedAt: string | Date;
353
354
  }[];
354
355
  totalCount: number;
355
- limit: number;
356
356
  skip: number;
357
357
  currentPage: number;
358
358
  totalPages: number;
@@ -360,12 +360,11 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
360
360
  export type ActiveStatus = z.infer<typeof ActiveStatusSchema>;
361
361
  export type ActiveStatusFilterType = z.infer<typeof ActiveStatusFilterTypeSchema>;
362
362
  export type ActiveSortableFields = z.infer<typeof ActiveSortableFieldsSchema>;
363
- export type RateUnit = z.infer<typeof RateUnitSchema>;
364
- export type ActiveV2 = z.infer<typeof ActiveSchema>;
365
- export type CreateActiveV2 = z.infer<typeof CreateActiveSchema>;
366
- export type UpdateActiveV2 = z.infer<typeof UpdateActiveSchema>;
367
- export type FilterActiveV2 = z.infer<typeof FilterActiveSchema>;
368
- export type PaginatedActiveResponseV2 = z.infer<typeof PaginatedActiveResponseSchema>;
363
+ export type Active = z.infer<typeof ActiveSchema>;
364
+ export type CreateActive = z.infer<typeof CreateActiveSchema>;
365
+ export type UpdateActive = z.infer<typeof UpdateActiveSchema>;
366
+ export type FilterActive = z.infer<typeof FilterActiveSchema>;
367
+ export type PaginatedActiveResponse = z.infer<typeof PaginatedActiveResponseSchema>;
369
368
  export declare const activesContractRouter: {
370
369
  create: {
371
370
  metadata: {
@@ -428,19 +427,19 @@ export declare const activesContractRouter: {
428
427
  path: z.ZodString;
429
428
  correlationId: z.ZodOptional<z.ZodString>;
430
429
  }, "strip", z.ZodTypeAny, {
431
- statusCode: number;
432
- message: string;
433
430
  code: string;
434
- timestamp: string;
435
431
  path: string;
432
+ message: string;
433
+ statusCode: number;
434
+ timestamp: string;
436
435
  details?: unknown;
437
436
  correlationId?: string | undefined;
438
437
  }, {
439
- statusCode: number;
440
- message: string;
441
438
  code: string;
442
- timestamp: string;
443
439
  path: string;
440
+ message: string;
441
+ statusCode: number;
442
+ timestamp: string;
444
443
  details?: unknown;
445
444
  correlationId?: string | undefined;
446
445
  }>;
@@ -453,19 +452,19 @@ export declare const activesContractRouter: {
453
452
  path: z.ZodString;
454
453
  correlationId: z.ZodOptional<z.ZodString>;
455
454
  }, "strip", z.ZodTypeAny, {
456
- statusCode: number;
457
- message: string;
458
455
  code: string;
459
- timestamp: string;
460
456
  path: string;
457
+ message: string;
458
+ statusCode: number;
459
+ timestamp: string;
461
460
  details?: unknown;
462
461
  correlationId?: string | undefined;
463
462
  }, {
464
- statusCode: number;
465
- message: string;
466
463
  code: string;
467
- timestamp: string;
468
464
  path: string;
465
+ message: string;
466
+ statusCode: number;
467
+ timestamp: string;
469
468
  details?: unknown;
470
469
  correlationId?: string | undefined;
471
470
  }>;
@@ -478,19 +477,19 @@ export declare const activesContractRouter: {
478
477
  path: z.ZodString;
479
478
  correlationId: z.ZodOptional<z.ZodString>;
480
479
  }, "strip", z.ZodTypeAny, {
481
- statusCode: number;
482
- message: string;
483
480
  code: string;
484
- timestamp: string;
485
481
  path: string;
482
+ message: string;
483
+ statusCode: number;
484
+ timestamp: string;
486
485
  details?: unknown;
487
486
  correlationId?: string | undefined;
488
487
  }, {
489
- statusCode: number;
490
- message: string;
491
488
  code: string;
492
- timestamp: string;
493
489
  path: string;
490
+ message: string;
491
+ statusCode: number;
492
+ timestamp: string;
494
493
  details?: unknown;
495
494
  correlationId?: string | undefined;
496
495
  }>;
@@ -503,19 +502,19 @@ export declare const activesContractRouter: {
503
502
  path: z.ZodString;
504
503
  correlationId: z.ZodOptional<z.ZodString>;
505
504
  }, "strip", z.ZodTypeAny, {
506
- statusCode: number;
507
- message: string;
508
505
  code: string;
509
- timestamp: string;
510
506
  path: string;
507
+ message: string;
508
+ statusCode: number;
509
+ timestamp: string;
511
510
  details?: unknown;
512
511
  correlationId?: string | undefined;
513
512
  }, {
514
- statusCode: number;
515
- message: string;
516
513
  code: string;
517
- timestamp: string;
518
514
  path: string;
515
+ message: string;
516
+ statusCode: number;
517
+ timestamp: string;
519
518
  details?: unknown;
520
519
  correlationId?: string | undefined;
521
520
  }>;
@@ -549,10 +548,8 @@ export declare const activesContractRouter: {
549
548
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
550
549
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
551
550
  }, "strip", z.ZodTypeAny, {
552
- date: string;
553
- createdAt: string;
554
- updatedAt: string;
555
551
  id: string;
552
+ date: string;
556
553
  pay: {
557
554
  rate: number;
558
555
  unit: "DAILY" | "HOURLY";
@@ -567,11 +564,11 @@ export declare const activesContractRouter: {
567
564
  booking: {
568
565
  id: string;
569
566
  };
567
+ createdAt: string;
568
+ updatedAt: string;
570
569
  }, {
571
- date: string | Date;
572
- createdAt: string | Date;
573
- updatedAt: string | Date;
574
570
  id: string;
571
+ date: string | Date;
575
572
  pay: {
576
573
  rate: number;
577
574
  unit: "DAILY" | "HOURLY";
@@ -586,6 +583,8 @@ export declare const activesContractRouter: {
586
583
  booking: {
587
584
  id: string;
588
585
  };
586
+ createdAt: string | Date;
587
+ updatedAt: string | Date;
589
588
  }>;
590
589
  404: z.ZodObject<{
591
590
  statusCode: z.ZodNumber;
@@ -596,19 +595,19 @@ export declare const activesContractRouter: {
596
595
  path: z.ZodString;
597
596
  correlationId: z.ZodOptional<z.ZodString>;
598
597
  }, "strip", z.ZodTypeAny, {
599
- statusCode: number;
600
- message: string;
601
598
  code: string;
602
- timestamp: string;
603
599
  path: string;
600
+ message: string;
601
+ statusCode: number;
602
+ timestamp: string;
604
603
  details?: unknown;
605
604
  correlationId?: string | undefined;
606
605
  }, {
607
- statusCode: number;
608
- message: string;
609
606
  code: string;
610
- timestamp: string;
611
607
  path: string;
608
+ message: string;
609
+ statusCode: number;
610
+ timestamp: string;
612
611
  details?: unknown;
613
612
  correlationId?: string | undefined;
614
613
  }>;
@@ -621,19 +620,19 @@ export declare const activesContractRouter: {
621
620
  path: z.ZodString;
622
621
  correlationId: z.ZodOptional<z.ZodString>;
623
622
  }, "strip", z.ZodTypeAny, {
624
- statusCode: number;
625
- message: string;
626
623
  code: string;
627
- timestamp: string;
628
624
  path: string;
625
+ message: string;
626
+ statusCode: number;
627
+ timestamp: string;
629
628
  details?: unknown;
630
629
  correlationId?: string | undefined;
631
630
  }, {
632
- statusCode: number;
633
- message: string;
634
631
  code: string;
635
- timestamp: string;
636
632
  path: string;
633
+ message: string;
634
+ statusCode: number;
635
+ timestamp: string;
637
636
  details?: unknown;
638
637
  correlationId?: string | undefined;
639
638
  }>;
@@ -649,16 +648,17 @@ export declare const activesContractRouter: {
649
648
  query: z.ZodObject<{
650
649
  limit: z.ZodDefault<z.ZodNumber>;
651
650
  page: z.ZodDefault<z.ZodNumber>;
651
+ } & {
652
652
  bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
653
653
  date: z.ZodNullable<z.ZodOptional<z.ZodObject<{
654
- from: z.ZodOptional<z.ZodString>;
655
- to: z.ZodOptional<z.ZodString>;
654
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
655
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
656
656
  }, "strip", z.ZodTypeAny, {
657
- from?: string | undefined;
658
- to?: string | undefined;
657
+ from?: string | null | undefined;
658
+ to?: string | null | undefined;
659
659
  }, {
660
- from?: string | undefined;
661
- to?: string | undefined;
660
+ from?: string | null | undefined;
661
+ to?: string | null | undefined;
662
662
  }>>>;
663
663
  pay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
664
664
  min: z.ZodOptional<z.ZodNumber>;
@@ -681,14 +681,14 @@ export declare const activesContractRouter: {
681
681
  filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
682
682
  }>>>;
683
683
  createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
684
- from: z.ZodOptional<z.ZodString>;
685
- to: z.ZodOptional<z.ZodString>;
684
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
685
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
686
686
  }, "strip", z.ZodTypeAny, {
687
- from?: string | undefined;
688
- to?: string | undefined;
687
+ from?: string | null | undefined;
688
+ to?: string | null | undefined;
689
689
  }, {
690
- from?: string | undefined;
691
- to?: string | undefined;
690
+ from?: string | null | undefined;
691
+ to?: string | null | undefined;
692
692
  }>>>;
693
693
  sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["date", "payRate", "status", "createdAt", "updatedAt"]>>>;
694
694
  sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
@@ -700,41 +700,41 @@ export declare const activesContractRouter: {
700
700
  status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
701
701
  } | null | undefined;
702
702
  date?: {
703
- from?: string | undefined;
704
- to?: string | undefined;
705
- } | null | undefined;
706
- createdAt?: {
707
- from?: string | undefined;
708
- to?: string | undefined;
703
+ from?: string | null | undefined;
704
+ to?: string | null | undefined;
709
705
  } | null | undefined;
710
706
  pay?: {
711
707
  min?: number | undefined;
712
708
  max?: number | undefined;
713
709
  } | null | undefined;
710
+ createdAt?: {
711
+ from?: string | null | undefined;
712
+ to?: string | null | undefined;
713
+ } | null | undefined;
714
714
  bookingId?: string | null | undefined;
715
- sortBy?: "status" | "date" | "payRate" | "createdAt" | "updatedAt" | null | undefined;
715
+ sortBy?: "status" | "date" | "createdAt" | "updatedAt" | "payRate" | null | undefined;
716
716
  sortOrder?: "ASC" | "DESC" | null | undefined;
717
717
  }, {
718
718
  status?: {
719
719
  status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
720
720
  filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
721
721
  } | null | undefined;
722
- limit?: number | undefined;
723
722
  date?: {
724
- from?: string | undefined;
725
- to?: string | undefined;
726
- } | null | undefined;
727
- createdAt?: {
728
- from?: string | undefined;
729
- to?: string | undefined;
723
+ from?: string | null | undefined;
724
+ to?: string | null | undefined;
730
725
  } | null | undefined;
731
726
  pay?: {
732
727
  min?: number | undefined;
733
728
  max?: number | undefined;
734
729
  } | null | undefined;
730
+ createdAt?: {
731
+ from?: string | null | undefined;
732
+ to?: string | null | undefined;
733
+ } | null | undefined;
734
+ limit?: number | undefined;
735
735
  page?: number | undefined;
736
736
  bookingId?: string | null | undefined;
737
- sortBy?: "status" | "date" | "payRate" | "createdAt" | "updatedAt" | null | undefined;
737
+ sortBy?: "status" | "date" | "createdAt" | "updatedAt" | "payRate" | null | undefined;
738
738
  sortOrder?: "ASC" | "DESC" | null | undefined;
739
739
  }>;
740
740
  summary: "Get all active records";
@@ -750,19 +750,19 @@ export declare const activesContractRouter: {
750
750
  path: z.ZodString;
751
751
  correlationId: z.ZodOptional<z.ZodString>;
752
752
  }, "strip", z.ZodTypeAny, {
753
- statusCode: number;
754
- message: string;
755
753
  code: string;
756
- timestamp: string;
757
754
  path: string;
755
+ message: string;
756
+ statusCode: number;
757
+ timestamp: string;
758
758
  details?: unknown;
759
759
  correlationId?: string | undefined;
760
760
  }, {
761
- statusCode: number;
762
- message: string;
763
761
  code: string;
764
- timestamp: string;
765
762
  path: string;
763
+ message: string;
764
+ statusCode: number;
765
+ timestamp: string;
766
766
  details?: unknown;
767
767
  correlationId?: string | undefined;
768
768
  }>;
@@ -775,19 +775,19 @@ export declare const activesContractRouter: {
775
775
  path: z.ZodString;
776
776
  correlationId: z.ZodOptional<z.ZodString>;
777
777
  }, "strip", z.ZodTypeAny, {
778
- statusCode: number;
779
- message: string;
780
778
  code: string;
781
- timestamp: string;
782
779
  path: string;
780
+ message: string;
781
+ statusCode: number;
782
+ timestamp: string;
783
783
  details?: unknown;
784
784
  correlationId?: string | undefined;
785
785
  }, {
786
- statusCode: number;
787
- message: string;
788
786
  code: string;
789
- timestamp: string;
790
787
  path: string;
788
+ message: string;
789
+ statusCode: number;
790
+ timestamp: string;
791
791
  details?: unknown;
792
792
  correlationId?: string | undefined;
793
793
  }>;
@@ -800,19 +800,19 @@ export declare const activesContractRouter: {
800
800
  path: z.ZodString;
801
801
  correlationId: z.ZodOptional<z.ZodString>;
802
802
  }, "strip", z.ZodTypeAny, {
803
- statusCode: number;
804
- message: string;
805
803
  code: string;
806
- timestamp: string;
807
804
  path: string;
805
+ message: string;
806
+ statusCode: number;
807
+ timestamp: string;
808
808
  details?: unknown;
809
809
  correlationId?: string | undefined;
810
810
  }, {
811
- statusCode: number;
812
- message: string;
813
811
  code: string;
814
- timestamp: string;
815
812
  path: string;
813
+ message: string;
814
+ statusCode: number;
815
+ timestamp: string;
816
816
  details?: unknown;
817
817
  correlationId?: string | undefined;
818
818
  }>;
@@ -825,19 +825,19 @@ export declare const activesContractRouter: {
825
825
  path: z.ZodString;
826
826
  correlationId: z.ZodOptional<z.ZodString>;
827
827
  }, "strip", z.ZodTypeAny, {
828
- statusCode: number;
829
- message: string;
830
828
  code: string;
831
- timestamp: string;
832
829
  path: string;
830
+ message: string;
831
+ statusCode: number;
832
+ timestamp: string;
833
833
  details?: unknown;
834
834
  correlationId?: string | undefined;
835
835
  }, {
836
- statusCode: number;
837
- message: string;
838
836
  code: string;
839
- timestamp: string;
840
837
  path: string;
838
+ message: string;
839
+ statusCode: number;
840
+ timestamp: string;
841
841
  details?: unknown;
842
842
  correlationId?: string | undefined;
843
843
  }>;
@@ -872,10 +872,8 @@ export declare const activesContractRouter: {
872
872
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
873
873
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
874
874
  }, "strip", z.ZodTypeAny, {
875
- date: string;
876
- createdAt: string;
877
- updatedAt: string;
878
875
  id: string;
876
+ date: string;
879
877
  pay: {
880
878
  rate: number;
881
879
  unit: "DAILY" | "HOURLY";
@@ -890,11 +888,11 @@ export declare const activesContractRouter: {
890
888
  booking: {
891
889
  id: string;
892
890
  };
891
+ createdAt: string;
892
+ updatedAt: string;
893
893
  }, {
894
- date: string | Date;
895
- createdAt: string | Date;
896
- updatedAt: string | Date;
897
894
  id: string;
895
+ date: string | Date;
898
896
  pay: {
899
897
  rate: number;
900
898
  unit: "DAILY" | "HOURLY";
@@ -909,6 +907,8 @@ export declare const activesContractRouter: {
909
907
  booking: {
910
908
  id: string;
911
909
  };
910
+ createdAt: string | Date;
911
+ updatedAt: string | Date;
912
912
  }>, "many">;
913
913
  totalCount: z.ZodNumber;
914
914
  limit: z.ZodNumber;
@@ -916,11 +916,10 @@ export declare const activesContractRouter: {
916
916
  currentPage: z.ZodNumber;
917
917
  totalPages: z.ZodNumber;
918
918
  }, "strip", z.ZodTypeAny, {
919
+ limit: number;
919
920
  items: {
920
- date: string;
921
- createdAt: string;
922
- updatedAt: string;
923
921
  id: string;
922
+ date: string;
924
923
  pay: {
925
924
  rate: number;
926
925
  unit: "DAILY" | "HOURLY";
@@ -935,18 +934,18 @@ export declare const activesContractRouter: {
935
934
  booking: {
936
935
  id: string;
937
936
  };
937
+ createdAt: string;
938
+ updatedAt: string;
938
939
  }[];
939
940
  totalCount: number;
940
- limit: number;
941
941
  skip: number;
942
942
  currentPage: number;
943
943
  totalPages: number;
944
944
  }, {
945
+ limit: number;
945
946
  items: {
946
- date: string | Date;
947
- createdAt: string | Date;
948
- updatedAt: string | Date;
949
947
  id: string;
948
+ date: string | Date;
950
949
  pay: {
951
950
  rate: number;
952
951
  unit: "DAILY" | "HOURLY";
@@ -961,9 +960,10 @@ export declare const activesContractRouter: {
961
960
  booking: {
962
961
  id: string;
963
962
  };
963
+ createdAt: string | Date;
964
+ updatedAt: string | Date;
964
965
  }[];
965
966
  totalCount: number;
966
- limit: number;
967
967
  skip: number;
968
968
  currentPage: number;
969
969
  totalPages: number;
@@ -997,19 +997,19 @@ export declare const activesContractRouter: {
997
997
  path: z.ZodString;
998
998
  correlationId: z.ZodOptional<z.ZodString>;
999
999
  }, "strip", z.ZodTypeAny, {
1000
- statusCode: number;
1001
- message: string;
1002
1000
  code: string;
1003
- timestamp: string;
1004
1001
  path: string;
1002
+ message: string;
1003
+ statusCode: number;
1004
+ timestamp: string;
1005
1005
  details?: unknown;
1006
1006
  correlationId?: string | undefined;
1007
1007
  }, {
1008
- statusCode: number;
1009
- message: string;
1010
1008
  code: string;
1011
- timestamp: string;
1012
1009
  path: string;
1010
+ message: string;
1011
+ statusCode: number;
1012
+ timestamp: string;
1013
1013
  details?: unknown;
1014
1014
  correlationId?: string | undefined;
1015
1015
  }>;
@@ -1022,19 +1022,19 @@ export declare const activesContractRouter: {
1022
1022
  path: z.ZodString;
1023
1023
  correlationId: z.ZodOptional<z.ZodString>;
1024
1024
  }, "strip", z.ZodTypeAny, {
1025
- statusCode: number;
1026
- message: string;
1027
1025
  code: string;
1028
- timestamp: string;
1029
1026
  path: string;
1027
+ message: string;
1028
+ statusCode: number;
1029
+ timestamp: string;
1030
1030
  details?: unknown;
1031
1031
  correlationId?: string | undefined;
1032
1032
  }, {
1033
- statusCode: number;
1034
- message: string;
1035
1033
  code: string;
1036
- timestamp: string;
1037
1034
  path: string;
1035
+ message: string;
1036
+ statusCode: number;
1037
+ timestamp: string;
1038
1038
  details?: unknown;
1039
1039
  correlationId?: string | undefined;
1040
1040
  }>;
@@ -1047,19 +1047,19 @@ export declare const activesContractRouter: {
1047
1047
  path: z.ZodString;
1048
1048
  correlationId: z.ZodOptional<z.ZodString>;
1049
1049
  }, "strip", z.ZodTypeAny, {
1050
- statusCode: number;
1051
- message: string;
1052
1050
  code: string;
1053
- timestamp: string;
1054
1051
  path: string;
1052
+ message: string;
1053
+ statusCode: number;
1054
+ timestamp: string;
1055
1055
  details?: unknown;
1056
1056
  correlationId?: string | undefined;
1057
1057
  }, {
1058
- statusCode: number;
1059
- message: string;
1060
1058
  code: string;
1061
- timestamp: string;
1062
1059
  path: string;
1060
+ message: string;
1061
+ statusCode: number;
1062
+ timestamp: string;
1063
1063
  details?: unknown;
1064
1064
  correlationId?: string | undefined;
1065
1065
  }>;
@@ -1072,19 +1072,19 @@ export declare const activesContractRouter: {
1072
1072
  path: z.ZodString;
1073
1073
  correlationId: z.ZodOptional<z.ZodString>;
1074
1074
  }, "strip", z.ZodTypeAny, {
1075
- statusCode: number;
1076
- message: string;
1077
1075
  code: string;
1078
- timestamp: string;
1079
1076
  path: string;
1077
+ message: string;
1078
+ statusCode: number;
1079
+ timestamp: string;
1080
1080
  details?: unknown;
1081
1081
  correlationId?: string | undefined;
1082
1082
  }, {
1083
- statusCode: number;
1084
- message: string;
1085
1083
  code: string;
1086
- timestamp: string;
1087
1084
  path: string;
1085
+ message: string;
1086
+ statusCode: number;
1087
+ timestamp: string;
1088
1088
  details?: unknown;
1089
1089
  correlationId?: string | undefined;
1090
1090
  }>;
@@ -1118,10 +1118,8 @@ export declare const activesContractRouter: {
1118
1118
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1119
1119
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1120
1120
  }, "strip", z.ZodTypeAny, {
1121
- date: string;
1122
- createdAt: string;
1123
- updatedAt: string;
1124
1121
  id: string;
1122
+ date: string;
1125
1123
  pay: {
1126
1124
  rate: number;
1127
1125
  unit: "DAILY" | "HOURLY";
@@ -1136,11 +1134,11 @@ export declare const activesContractRouter: {
1136
1134
  booking: {
1137
1135
  id: string;
1138
1136
  };
1137
+ createdAt: string;
1138
+ updatedAt: string;
1139
1139
  }, {
1140
- date: string | Date;
1141
- createdAt: string | Date;
1142
- updatedAt: string | Date;
1143
1140
  id: string;
1141
+ date: string | Date;
1144
1142
  pay: {
1145
1143
  rate: number;
1146
1144
  unit: "DAILY" | "HOURLY";
@@ -1155,6 +1153,8 @@ export declare const activesContractRouter: {
1155
1153
  booking: {
1156
1154
  id: string;
1157
1155
  };
1156
+ createdAt: string | Date;
1157
+ updatedAt: string | Date;
1158
1158
  }>;
1159
1159
  404: z.ZodObject<{
1160
1160
  statusCode: z.ZodNumber;
@@ -1165,19 +1165,19 @@ export declare const activesContractRouter: {
1165
1165
  path: z.ZodString;
1166
1166
  correlationId: z.ZodOptional<z.ZodString>;
1167
1167
  }, "strip", z.ZodTypeAny, {
1168
- statusCode: number;
1169
- message: string;
1170
1168
  code: string;
1171
- timestamp: string;
1172
1169
  path: string;
1170
+ message: string;
1171
+ statusCode: number;
1172
+ timestamp: string;
1173
1173
  details?: unknown;
1174
1174
  correlationId?: string | undefined;
1175
1175
  }, {
1176
- statusCode: number;
1177
- message: string;
1178
1176
  code: string;
1179
- timestamp: string;
1180
1177
  path: string;
1178
+ message: string;
1179
+ statusCode: number;
1180
+ timestamp: string;
1181
1181
  details?: unknown;
1182
1182
  correlationId?: string | undefined;
1183
1183
  }>;
@@ -1244,19 +1244,19 @@ export declare const activesContractRouter: {
1244
1244
  path: z.ZodString;
1245
1245
  correlationId: z.ZodOptional<z.ZodString>;
1246
1246
  }, "strip", z.ZodTypeAny, {
1247
- statusCode: number;
1248
- message: string;
1249
1247
  code: string;
1250
- timestamp: string;
1251
1248
  path: string;
1249
+ message: string;
1250
+ statusCode: number;
1251
+ timestamp: string;
1252
1252
  details?: unknown;
1253
1253
  correlationId?: string | undefined;
1254
1254
  }, {
1255
- statusCode: number;
1256
- message: string;
1257
1255
  code: string;
1258
- timestamp: string;
1259
1256
  path: string;
1257
+ message: string;
1258
+ statusCode: number;
1259
+ timestamp: string;
1260
1260
  details?: unknown;
1261
1261
  correlationId?: string | undefined;
1262
1262
  }>;
@@ -1269,19 +1269,19 @@ export declare const activesContractRouter: {
1269
1269
  path: z.ZodString;
1270
1270
  correlationId: z.ZodOptional<z.ZodString>;
1271
1271
  }, "strip", z.ZodTypeAny, {
1272
- statusCode: number;
1273
- message: string;
1274
1272
  code: string;
1275
- timestamp: string;
1276
1273
  path: string;
1274
+ message: string;
1275
+ statusCode: number;
1276
+ timestamp: string;
1277
1277
  details?: unknown;
1278
1278
  correlationId?: string | undefined;
1279
1279
  }, {
1280
- statusCode: number;
1281
- message: string;
1282
1280
  code: string;
1283
- timestamp: string;
1284
1281
  path: string;
1282
+ message: string;
1283
+ statusCode: number;
1284
+ timestamp: string;
1285
1285
  details?: unknown;
1286
1286
  correlationId?: string | undefined;
1287
1287
  }>;
@@ -1294,19 +1294,19 @@ export declare const activesContractRouter: {
1294
1294
  path: z.ZodString;
1295
1295
  correlationId: z.ZodOptional<z.ZodString>;
1296
1296
  }, "strip", z.ZodTypeAny, {
1297
- statusCode: number;
1298
- message: string;
1299
1297
  code: string;
1300
- timestamp: string;
1301
1298
  path: string;
1299
+ message: string;
1300
+ statusCode: number;
1301
+ timestamp: string;
1302
1302
  details?: unknown;
1303
1303
  correlationId?: string | undefined;
1304
1304
  }, {
1305
- statusCode: number;
1306
- message: string;
1307
1305
  code: string;
1308
- timestamp: string;
1309
1306
  path: string;
1307
+ message: string;
1308
+ statusCode: number;
1309
+ timestamp: string;
1310
1310
  details?: unknown;
1311
1311
  correlationId?: string | undefined;
1312
1312
  }>;
@@ -1319,19 +1319,19 @@ export declare const activesContractRouter: {
1319
1319
  path: z.ZodString;
1320
1320
  correlationId: z.ZodOptional<z.ZodString>;
1321
1321
  }, "strip", z.ZodTypeAny, {
1322
- statusCode: number;
1323
- message: string;
1324
1322
  code: string;
1325
- timestamp: string;
1326
1323
  path: string;
1324
+ message: string;
1325
+ statusCode: number;
1326
+ timestamp: string;
1327
1327
  details?: unknown;
1328
1328
  correlationId?: string | undefined;
1329
1329
  }, {
1330
- statusCode: number;
1331
- message: string;
1332
1330
  code: string;
1333
- timestamp: string;
1334
1331
  path: string;
1332
+ message: string;
1333
+ statusCode: number;
1334
+ timestamp: string;
1335
1335
  details?: unknown;
1336
1336
  correlationId?: string | undefined;
1337
1337
  }>;
@@ -1365,10 +1365,8 @@ export declare const activesContractRouter: {
1365
1365
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1366
1366
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1367
1367
  }, "strip", z.ZodTypeAny, {
1368
- date: string;
1369
- createdAt: string;
1370
- updatedAt: string;
1371
1368
  id: string;
1369
+ date: string;
1372
1370
  pay: {
1373
1371
  rate: number;
1374
1372
  unit: "DAILY" | "HOURLY";
@@ -1383,11 +1381,11 @@ export declare const activesContractRouter: {
1383
1381
  booking: {
1384
1382
  id: string;
1385
1383
  };
1384
+ createdAt: string;
1385
+ updatedAt: string;
1386
1386
  }, {
1387
- date: string | Date;
1388
- createdAt: string | Date;
1389
- updatedAt: string | Date;
1390
1387
  id: string;
1388
+ date: string | Date;
1391
1389
  pay: {
1392
1390
  rate: number;
1393
1391
  unit: "DAILY" | "HOURLY";
@@ -1402,6 +1400,8 @@ export declare const activesContractRouter: {
1402
1400
  booking: {
1403
1401
  id: string;
1404
1402
  };
1403
+ createdAt: string | Date;
1404
+ updatedAt: string | Date;
1405
1405
  }>;
1406
1406
  404: z.ZodObject<{
1407
1407
  statusCode: z.ZodNumber;
@@ -1412,19 +1412,19 @@ export declare const activesContractRouter: {
1412
1412
  path: z.ZodString;
1413
1413
  correlationId: z.ZodOptional<z.ZodString>;
1414
1414
  }, "strip", z.ZodTypeAny, {
1415
- statusCode: number;
1416
- message: string;
1417
1415
  code: string;
1418
- timestamp: string;
1419
1416
  path: string;
1417
+ message: string;
1418
+ statusCode: number;
1419
+ timestamp: string;
1420
1420
  details?: unknown;
1421
1421
  correlationId?: string | undefined;
1422
1422
  }, {
1423
- statusCode: number;
1424
- message: string;
1425
1423
  code: string;
1426
- timestamp: string;
1427
1424
  path: string;
1425
+ message: string;
1426
+ statusCode: number;
1427
+ timestamp: string;
1428
1428
  details?: unknown;
1429
1429
  correlationId?: string | undefined;
1430
1430
  }>;
@@ -1458,19 +1458,19 @@ export declare const activesContractRouter: {
1458
1458
  path: z.ZodString;
1459
1459
  correlationId: z.ZodOptional<z.ZodString>;
1460
1460
  }, "strip", z.ZodTypeAny, {
1461
- statusCode: number;
1462
- message: string;
1463
1461
  code: string;
1464
- timestamp: string;
1465
1462
  path: string;
1463
+ message: string;
1464
+ statusCode: number;
1465
+ timestamp: string;
1466
1466
  details?: unknown;
1467
1467
  correlationId?: string | undefined;
1468
1468
  }, {
1469
- statusCode: number;
1470
- message: string;
1471
1469
  code: string;
1472
- timestamp: string;
1473
1470
  path: string;
1471
+ message: string;
1472
+ statusCode: number;
1473
+ timestamp: string;
1474
1474
  details?: unknown;
1475
1475
  correlationId?: string | undefined;
1476
1476
  }>;
@@ -1483,19 +1483,19 @@ export declare const activesContractRouter: {
1483
1483
  path: z.ZodString;
1484
1484
  correlationId: z.ZodOptional<z.ZodString>;
1485
1485
  }, "strip", z.ZodTypeAny, {
1486
- statusCode: number;
1487
- message: string;
1488
1486
  code: string;
1489
- timestamp: string;
1490
1487
  path: string;
1488
+ message: string;
1489
+ statusCode: number;
1490
+ timestamp: string;
1491
1491
  details?: unknown;
1492
1492
  correlationId?: string | undefined;
1493
1493
  }, {
1494
- statusCode: number;
1495
- message: string;
1496
1494
  code: string;
1497
- timestamp: string;
1498
1495
  path: string;
1496
+ message: string;
1497
+ statusCode: number;
1498
+ timestamp: string;
1499
1499
  details?: unknown;
1500
1500
  correlationId?: string | undefined;
1501
1501
  }>;
@@ -1508,19 +1508,19 @@ export declare const activesContractRouter: {
1508
1508
  path: z.ZodString;
1509
1509
  correlationId: z.ZodOptional<z.ZodString>;
1510
1510
  }, "strip", z.ZodTypeAny, {
1511
- statusCode: number;
1512
- message: string;
1513
1511
  code: string;
1514
- timestamp: string;
1515
1512
  path: string;
1513
+ message: string;
1514
+ statusCode: number;
1515
+ timestamp: string;
1516
1516
  details?: unknown;
1517
1517
  correlationId?: string | undefined;
1518
1518
  }, {
1519
- statusCode: number;
1520
- message: string;
1521
1519
  code: string;
1522
- timestamp: string;
1523
1520
  path: string;
1521
+ message: string;
1522
+ statusCode: number;
1523
+ timestamp: string;
1524
1524
  details?: unknown;
1525
1525
  correlationId?: string | undefined;
1526
1526
  }>;
@@ -1533,19 +1533,19 @@ export declare const activesContractRouter: {
1533
1533
  path: z.ZodString;
1534
1534
  correlationId: z.ZodOptional<z.ZodString>;
1535
1535
  }, "strip", z.ZodTypeAny, {
1536
- statusCode: number;
1537
- message: string;
1538
1536
  code: string;
1539
- timestamp: string;
1540
1537
  path: string;
1538
+ message: string;
1539
+ statusCode: number;
1540
+ timestamp: string;
1541
1541
  details?: unknown;
1542
1542
  correlationId?: string | undefined;
1543
1543
  }, {
1544
- statusCode: number;
1545
- message: string;
1546
1544
  code: string;
1547
- timestamp: string;
1548
1545
  path: string;
1546
+ message: string;
1547
+ statusCode: number;
1548
+ timestamp: string;
1549
1549
  details?: unknown;
1550
1550
  correlationId?: string | undefined;
1551
1551
  }>;
@@ -1559,19 +1559,19 @@ export declare const activesContractRouter: {
1559
1559
  path: z.ZodString;
1560
1560
  correlationId: z.ZodOptional<z.ZodString>;
1561
1561
  }, "strip", z.ZodTypeAny, {
1562
- statusCode: number;
1563
- message: string;
1564
1562
  code: string;
1565
- timestamp: string;
1566
1563
  path: string;
1564
+ message: string;
1565
+ statusCode: number;
1566
+ timestamp: string;
1567
1567
  details?: unknown;
1568
1568
  correlationId?: string | undefined;
1569
1569
  }, {
1570
- statusCode: number;
1571
- message: string;
1572
1570
  code: string;
1573
- timestamp: string;
1574
1571
  path: string;
1572
+ message: string;
1573
+ statusCode: number;
1574
+ timestamp: string;
1575
1575
  details?: unknown;
1576
1576
  correlationId?: string | undefined;
1577
1577
  }>;