@dakkitor/api-contracts 1.1.10 → 1.1.12

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 (89) hide show
  1. package/dist/actives/actives.contract.d.ts +59 -60
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +16 -19
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +1909 -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 +371 -280
  11. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  12. package/dist/bookings/bookings.contract.js +25 -33
  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 +375 -426
  17. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  18. package/dist/client-contacts/client-contacts.contract.js +24 -13
  19. package/dist/clients/clients.contract.d.ts +317 -289
  20. package/dist/clients/clients.contract.d.ts.map +1 -1
  21. package/dist/clients/clients.contract.js +44 -29
  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 +100 -0
  29. package/dist/common/common-schemas.d.ts.map +1 -1
  30. package/dist/common/common-schemas.js +268 -1
  31. package/dist/common/error-schemas.d.ts +7 -7
  32. package/dist/common/error-schemas.d.ts.map +1 -1
  33. package/dist/common/openapi-metadata.d.ts +6 -0
  34. package/dist/common/openapi-metadata.d.ts.map +1 -1
  35. package/dist/companies/companies.contract.d.ts +1108 -0
  36. package/dist/companies/companies.contract.d.ts.map +1 -0
  37. package/dist/companies/companies.contract.js +164 -0
  38. package/dist/cron-executions/cron-executions.contract.d.ts +1643 -0
  39. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -0
  40. package/dist/cron-executions/cron-executions.contract.js +271 -0
  41. package/dist/curated-workers/curated-workers.contract.d.ts +3183 -0
  42. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -0
  43. package/dist/curated-workers/curated-workers.contract.js +444 -0
  44. package/dist/dashboards/agent-daily-metrics.contract.d.ts +639 -0
  45. package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -0
  46. package/dist/dashboards/agent-daily-metrics.contract.js +118 -0
  47. package/dist/files/files.contract.d.ts +1258 -0
  48. package/dist/files/files.contract.d.ts.map +1 -0
  49. package/dist/files/files.contract.js +205 -0
  50. package/dist/health/health.contract.d.ts +161 -0
  51. package/dist/health/health.contract.d.ts.map +1 -0
  52. package/dist/health/health.contract.js +52 -0
  53. package/dist/index.d.ts +27393 -3342
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +63 -0
  56. package/dist/jobs/jobs.contract.d.ts +2303 -0
  57. package/dist/jobs/jobs.contract.d.ts.map +1 -0
  58. package/dist/jobs/jobs.contract.js +295 -0
  59. package/dist/lead-assignments/lead-assignments.contract.d.ts +1826 -0
  60. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -0
  61. package/dist/lead-assignments/lead-assignments.contract.js +187 -0
  62. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +1147 -0
  63. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -0
  64. package/dist/lead-distribution/agent-lead-distribution.contract.js +154 -0
  65. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +1085 -0
  66. package/dist/lead-distribution/lead-distribution-config.contract.d.ts.map +1 -0
  67. package/dist/lead-distribution/lead-distribution-config.contract.js +196 -0
  68. package/dist/leads/leads.contract.d.ts +1690 -0
  69. package/dist/leads/leads.contract.d.ts.map +1 -0
  70. package/dist/leads/leads.contract.js +328 -0
  71. package/dist/locations/locations.contract.d.ts +974 -0
  72. package/dist/locations/locations.contract.d.ts.map +1 -0
  73. package/dist/locations/locations.contract.js +154 -0
  74. package/dist/postcodes/postcodes.contract.d.ts +370 -0
  75. package/dist/postcodes/postcodes.contract.d.ts.map +1 -0
  76. package/dist/postcodes/postcodes.contract.js +90 -0
  77. package/dist/qualifications/qualifications.contract.d.ts +1489 -0
  78. package/dist/qualifications/qualifications.contract.d.ts.map +1 -0
  79. package/dist/qualifications/qualifications.contract.js +215 -0
  80. package/dist/trades/trades.contract.d.ts +799 -0
  81. package/dist/trades/trades.contract.d.ts.map +1 -0
  82. package/dist/trades/trades.contract.js +112 -0
  83. package/dist/users/users.contract.d.ts +162 -152
  84. package/dist/users/users.contract.d.ts.map +1 -1
  85. package/dist/users/users.contract.js +16 -28
  86. package/dist/workers/workers.contract.d.ts +3376 -0
  87. package/dist/workers/workers.contract.d.ts.map +1 -0
  88. package/dist/workers/workers.contract.js +363 -0
  89. package/package.json +4 -3
@@ -0,0 +1,2303 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Job Status Enum
4
+ */
5
+ export declare const JobStatusSchema: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
6
+ /**
7
+ * Job Sortable Fields Enum
8
+ */
9
+ export declare const JobSortableFieldsSchema: z.ZodEnum<["description", "numberOfPositions", "status", "createdAt", "updatedAt"]>;
10
+ export type JobStatus = z.infer<typeof JobStatusSchema>;
11
+ export type JobSortableFields = z.infer<typeof JobSortableFieldsSchema>;
12
+ /**
13
+ * Pay Schema - Nested object for job payment details
14
+ */
15
+ export declare const PaySchema: z.ZodObject<{
16
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
17
+ rate: z.ZodNumber;
18
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
+ receivedRate: z.ZodNumber;
20
+ }, "strip", z.ZodTypeAny, {
21
+ rate: number;
22
+ rateUnit: "DAILY" | "HOURLY";
23
+ receivedRate: number;
24
+ rateMax?: number | null | undefined;
25
+ }, {
26
+ rate: number;
27
+ rateUnit: "DAILY" | "HOURLY";
28
+ receivedRate: number;
29
+ rateMax?: number | null | undefined;
30
+ }>;
31
+ export declare const CreatePaySchema: z.ZodObject<{
32
+ rateUnit: z.ZodOptional<z.ZodEnum<["DAILY", "HOURLY"]>>;
33
+ rate: z.ZodNumber;
34
+ rateMax: z.ZodOptional<z.ZodNumber>;
35
+ receivedRate: z.ZodNumber;
36
+ }, "strip", z.ZodTypeAny, {
37
+ rate: number;
38
+ receivedRate: number;
39
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
40
+ rateMax?: number | undefined;
41
+ }, {
42
+ rate: number;
43
+ receivedRate: number;
44
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
45
+ rateMax?: number | undefined;
46
+ }>;
47
+ export type Pay = z.infer<typeof PaySchema>;
48
+ export type CreatePay = z.infer<typeof CreatePaySchema>;
49
+ /**
50
+ * Job Qualification Schemas
51
+ */
52
+ export declare const JobQualificationSchema: z.ZodObject<{
53
+ id: z.ZodString;
54
+ qualificationId: z.ZodString;
55
+ qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ id: string;
58
+ qualificationId: string;
59
+ qualificationTypeId?: string | null | undefined;
60
+ }, {
61
+ id: string;
62
+ qualificationId: string;
63
+ qualificationTypeId?: string | null | undefined;
64
+ }>;
65
+ export declare const CreateJobQualificationSchema: z.ZodObject<{
66
+ qualificationId: z.ZodString;
67
+ qualificationTypeId: z.ZodOptional<z.ZodString>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ qualificationId: string;
70
+ qualificationTypeId?: string | undefined;
71
+ }, {
72
+ qualificationId: string;
73
+ qualificationTypeId?: string | undefined;
74
+ }>;
75
+ export type JobQualification = z.infer<typeof JobQualificationSchema>;
76
+ export type CreateJobQualification = z.infer<typeof CreateJobQualificationSchema>;
77
+ /**
78
+ * Main Job Schema
79
+ */
80
+ export declare const JobSchema: z.ZodObject<{
81
+ id: z.ZodString;
82
+ description: z.ZodString;
83
+ numberOfPositions: z.ZodNumber;
84
+ workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
85
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
86
+ pay: z.ZodObject<{
87
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
88
+ rate: z.ZodNumber;
89
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
90
+ receivedRate: z.ZodNumber;
91
+ }, "strip", z.ZodTypeAny, {
92
+ rate: number;
93
+ rateUnit: "DAILY" | "HOURLY";
94
+ receivedRate: number;
95
+ rateMax?: number | null | undefined;
96
+ }, {
97
+ rate: number;
98
+ rateUnit: "DAILY" | "HOURLY";
99
+ receivedRate: number;
100
+ rateMax?: number | null | undefined;
101
+ }>;
102
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
103
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
104
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
105
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
106
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
107
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
108
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
110
+ }, "strip", z.ZodTypeAny, {
111
+ address?: string | null | undefined;
112
+ postcode?: string | null | undefined;
113
+ county?: string | null | undefined;
114
+ adminDistrict?: string | null | undefined;
115
+ builtUpArea?: string | null | undefined;
116
+ postTown?: string | null | undefined;
117
+ areaCovered?: string | null | undefined;
118
+ }, {
119
+ address?: string | null | undefined;
120
+ postcode?: string | null | undefined;
121
+ county?: string | null | undefined;
122
+ adminDistrict?: string | null | undefined;
123
+ builtUpArea?: string | null | undefined;
124
+ postTown?: string | null | undefined;
125
+ areaCovered?: string | null | undefined;
126
+ }>>>;
127
+ tradeId: z.ZodString;
128
+ jobQualifications: z.ZodArray<z.ZodObject<{
129
+ id: z.ZodString;
130
+ qualificationId: z.ZodString;
131
+ qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ id: string;
134
+ qualificationId: string;
135
+ qualificationTypeId?: string | null | undefined;
136
+ }, {
137
+ id: string;
138
+ qualificationId: string;
139
+ qualificationTypeId?: string | null | undefined;
140
+ }>, "many">;
141
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
142
+ id: z.ZodString;
143
+ }, "strip", z.ZodTypeAny, {
144
+ id: string;
145
+ }, {
146
+ id: string;
147
+ }>>>;
148
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
149
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
152
+ description: string;
153
+ id: string;
154
+ createdAt: string;
155
+ updatedAt: string;
156
+ pay: {
157
+ rate: number;
158
+ rateUnit: "DAILY" | "HOURLY";
159
+ receivedRate: number;
160
+ rateMax?: number | null | undefined;
161
+ };
162
+ tradeId: string;
163
+ numberOfPositions: number;
164
+ jobQualifications: {
165
+ id: string;
166
+ qualificationId: string;
167
+ qualificationTypeId?: string | null | undefined;
168
+ }[];
169
+ location?: {
170
+ address?: string | null | undefined;
171
+ postcode?: string | null | undefined;
172
+ county?: string | null | undefined;
173
+ adminDistrict?: string | null | undefined;
174
+ builtUpArea?: string | null | undefined;
175
+ postTown?: string | null | undefined;
176
+ areaCovered?: string | null | undefined;
177
+ } | null | undefined;
178
+ workHours?: number | null | undefined;
179
+ currentCollaboration?: {
180
+ id: string;
181
+ } | null | undefined;
182
+ }, {
183
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
184
+ description: string;
185
+ id: string;
186
+ createdAt: string | Date;
187
+ updatedAt: string | Date;
188
+ pay: {
189
+ rate: number;
190
+ rateUnit: "DAILY" | "HOURLY";
191
+ receivedRate: number;
192
+ rateMax?: number | null | undefined;
193
+ };
194
+ tradeId: string;
195
+ numberOfPositions: number;
196
+ jobQualifications: {
197
+ id: string;
198
+ qualificationId: string;
199
+ qualificationTypeId?: string | null | undefined;
200
+ }[];
201
+ location?: {
202
+ address?: string | null | undefined;
203
+ postcode?: string | null | undefined;
204
+ county?: string | null | undefined;
205
+ adminDistrict?: string | null | undefined;
206
+ builtUpArea?: string | null | undefined;
207
+ postTown?: string | null | undefined;
208
+ areaCovered?: string | null | undefined;
209
+ } | null | undefined;
210
+ workHours?: number | null | undefined;
211
+ currentCollaboration?: {
212
+ id: string;
213
+ } | null | undefined;
214
+ }>;
215
+ /**
216
+ * Create Job Schema
217
+ */
218
+ export declare const CreateJobSchema: z.ZodObject<{
219
+ description: z.ZodString;
220
+ location: z.ZodOptional<z.ZodObject<{
221
+ address: z.ZodOptional<z.ZodString>;
222
+ postcode: z.ZodOptional<z.ZodString>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ address?: string | undefined;
225
+ postcode?: string | undefined;
226
+ }, {
227
+ address?: string | undefined;
228
+ postcode?: string | undefined;
229
+ }>>;
230
+ numberOfPositions: z.ZodNumber;
231
+ workHours: z.ZodOptional<z.ZodNumber>;
232
+ pay: z.ZodObject<{
233
+ rateUnit: z.ZodOptional<z.ZodEnum<["DAILY", "HOURLY"]>>;
234
+ rate: z.ZodNumber;
235
+ rateMax: z.ZodOptional<z.ZodNumber>;
236
+ receivedRate: z.ZodNumber;
237
+ }, "strip", z.ZodTypeAny, {
238
+ rate: number;
239
+ receivedRate: number;
240
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
241
+ rateMax?: number | undefined;
242
+ }, {
243
+ rate: number;
244
+ receivedRate: number;
245
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
246
+ rateMax?: number | undefined;
247
+ }>;
248
+ tradeId: z.ZodString;
249
+ currentCollaboration: z.ZodObject<{
250
+ id: z.ZodString;
251
+ }, "strip", z.ZodTypeAny, {
252
+ id: string;
253
+ }, {
254
+ id: string;
255
+ }>;
256
+ jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
257
+ qualificationId: z.ZodString;
258
+ qualificationTypeId: z.ZodOptional<z.ZodString>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ qualificationId: string;
261
+ qualificationTypeId?: string | undefined;
262
+ }, {
263
+ qualificationId: string;
264
+ qualificationTypeId?: string | undefined;
265
+ }>, "many">>;
266
+ status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ description: string;
269
+ pay: {
270
+ rate: number;
271
+ receivedRate: number;
272
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
273
+ rateMax?: number | undefined;
274
+ };
275
+ tradeId: string;
276
+ numberOfPositions: number;
277
+ currentCollaboration: {
278
+ id: string;
279
+ };
280
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
281
+ location?: {
282
+ address?: string | undefined;
283
+ postcode?: string | undefined;
284
+ } | undefined;
285
+ workHours?: number | undefined;
286
+ jobQualifications?: {
287
+ qualificationId: string;
288
+ qualificationTypeId?: string | undefined;
289
+ }[] | undefined;
290
+ }, {
291
+ description: string;
292
+ pay: {
293
+ rate: number;
294
+ receivedRate: number;
295
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
296
+ rateMax?: number | undefined;
297
+ };
298
+ tradeId: string;
299
+ numberOfPositions: number;
300
+ currentCollaboration: {
301
+ id: string;
302
+ };
303
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
304
+ location?: {
305
+ address?: string | undefined;
306
+ postcode?: string | undefined;
307
+ } | undefined;
308
+ workHours?: number | undefined;
309
+ jobQualifications?: {
310
+ qualificationId: string;
311
+ qualificationTypeId?: string | undefined;
312
+ }[] | undefined;
313
+ }>;
314
+ /**
315
+ * Update Job Schema
316
+ */
317
+ export declare const UpdateJobSchema: z.ZodObject<{
318
+ description: z.ZodOptional<z.ZodString>;
319
+ location: z.ZodOptional<z.ZodObject<{
320
+ address: z.ZodOptional<z.ZodString>;
321
+ postcode: z.ZodOptional<z.ZodString>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ address?: string | undefined;
324
+ postcode?: string | undefined;
325
+ }, {
326
+ address?: string | undefined;
327
+ postcode?: string | undefined;
328
+ }>>;
329
+ numberOfPositions: z.ZodOptional<z.ZodNumber>;
330
+ workHours: z.ZodOptional<z.ZodNumber>;
331
+ pay: z.ZodOptional<z.ZodObject<{
332
+ rateUnit: z.ZodOptional<z.ZodEnum<["DAILY", "HOURLY"]>>;
333
+ rate: z.ZodNumber;
334
+ rateMax: z.ZodOptional<z.ZodNumber>;
335
+ receivedRate: z.ZodNumber;
336
+ }, "strip", z.ZodTypeAny, {
337
+ rate: number;
338
+ receivedRate: number;
339
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
340
+ rateMax?: number | undefined;
341
+ }, {
342
+ rate: number;
343
+ receivedRate: number;
344
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
345
+ rateMax?: number | undefined;
346
+ }>>;
347
+ tradeId: z.ZodOptional<z.ZodString>;
348
+ currentCollaboration: z.ZodOptional<z.ZodObject<{
349
+ id: z.ZodString;
350
+ }, "strip", z.ZodTypeAny, {
351
+ id: string;
352
+ }, {
353
+ id: string;
354
+ }>>;
355
+ jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
356
+ qualificationId: z.ZodString;
357
+ qualificationTypeId: z.ZodOptional<z.ZodString>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ qualificationId: string;
360
+ qualificationTypeId?: string | undefined;
361
+ }, {
362
+ qualificationId: string;
363
+ qualificationTypeId?: string | undefined;
364
+ }>, "many">>;
365
+ status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
368
+ description?: string | undefined;
369
+ pay?: {
370
+ rate: number;
371
+ receivedRate: number;
372
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
373
+ rateMax?: number | undefined;
374
+ } | undefined;
375
+ tradeId?: string | undefined;
376
+ location?: {
377
+ address?: string | undefined;
378
+ postcode?: string | undefined;
379
+ } | undefined;
380
+ numberOfPositions?: number | undefined;
381
+ workHours?: number | undefined;
382
+ jobQualifications?: {
383
+ qualificationId: string;
384
+ qualificationTypeId?: string | undefined;
385
+ }[] | undefined;
386
+ currentCollaboration?: {
387
+ id: string;
388
+ } | undefined;
389
+ }, {
390
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
391
+ description?: string | undefined;
392
+ pay?: {
393
+ rate: number;
394
+ receivedRate: number;
395
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
396
+ rateMax?: number | undefined;
397
+ } | undefined;
398
+ tradeId?: string | undefined;
399
+ location?: {
400
+ address?: string | undefined;
401
+ postcode?: string | undefined;
402
+ } | undefined;
403
+ numberOfPositions?: number | undefined;
404
+ workHours?: number | undefined;
405
+ jobQualifications?: {
406
+ qualificationId: string;
407
+ qualificationTypeId?: string | undefined;
408
+ }[] | undefined;
409
+ currentCollaboration?: {
410
+ id: string;
411
+ } | undefined;
412
+ }>;
413
+ /**
414
+ * Filter Job Schema
415
+ */
416
+ export declare const FilterJobSchema: z.ZodObject<{
417
+ limit: z.ZodDefault<z.ZodNumber>;
418
+ page: z.ZodDefault<z.ZodNumber>;
419
+ } & {
420
+ tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
421
+ status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>>;
422
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
423
+ distance: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
424
+ pay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
425
+ minRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
426
+ maxRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ minRate?: number | null | undefined;
429
+ maxRate?: number | null | undefined;
430
+ }, {
431
+ minRate?: number | null | undefined;
432
+ maxRate?: number | null | undefined;
433
+ }>>>;
434
+ createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
435
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
436
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ from?: string | null | undefined;
439
+ to?: string | null | undefined;
440
+ }, {
441
+ from?: string | null | undefined;
442
+ to?: string | null | undefined;
443
+ }>>>;
444
+ sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["description", "numberOfPositions", "status", "createdAt", "updatedAt"]>>>;
445
+ sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ limit: number;
448
+ page: number;
449
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
450
+ createdAt?: {
451
+ from?: string | null | undefined;
452
+ to?: string | null | undefined;
453
+ } | null | undefined;
454
+ sortBy?: "status" | "description" | "createdAt" | "updatedAt" | "numberOfPositions" | null | undefined;
455
+ sortOrder?: "ASC" | "DESC" | null | undefined;
456
+ pay?: {
457
+ minRate?: number | null | undefined;
458
+ maxRate?: number | null | undefined;
459
+ } | null | undefined;
460
+ tradeId?: string | null | undefined;
461
+ postcode?: string | null | undefined;
462
+ distance?: number | null | undefined;
463
+ }, {
464
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
465
+ createdAt?: {
466
+ from?: string | null | undefined;
467
+ to?: string | null | undefined;
468
+ } | null | undefined;
469
+ limit?: number | undefined;
470
+ page?: number | undefined;
471
+ sortBy?: "status" | "description" | "createdAt" | "updatedAt" | "numberOfPositions" | null | undefined;
472
+ sortOrder?: "ASC" | "DESC" | null | undefined;
473
+ pay?: {
474
+ minRate?: number | null | undefined;
475
+ maxRate?: number | null | undefined;
476
+ } | null | undefined;
477
+ tradeId?: string | null | undefined;
478
+ postcode?: string | null | undefined;
479
+ distance?: number | null | undefined;
480
+ }>;
481
+ export declare const PaginatedJobResponseSchema: z.ZodObject<{
482
+ items: z.ZodArray<z.ZodObject<{
483
+ id: z.ZodString;
484
+ description: z.ZodString;
485
+ numberOfPositions: z.ZodNumber;
486
+ workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
487
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
488
+ pay: z.ZodObject<{
489
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
490
+ rate: z.ZodNumber;
491
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
492
+ receivedRate: z.ZodNumber;
493
+ }, "strip", z.ZodTypeAny, {
494
+ rate: number;
495
+ rateUnit: "DAILY" | "HOURLY";
496
+ receivedRate: number;
497
+ rateMax?: number | null | undefined;
498
+ }, {
499
+ rate: number;
500
+ rateUnit: "DAILY" | "HOURLY";
501
+ receivedRate: number;
502
+ rateMax?: number | null | undefined;
503
+ }>;
504
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
505
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
506
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
507
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
508
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
509
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
510
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
511
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
512
+ }, "strip", z.ZodTypeAny, {
513
+ address?: string | null | undefined;
514
+ postcode?: string | null | undefined;
515
+ county?: string | null | undefined;
516
+ adminDistrict?: string | null | undefined;
517
+ builtUpArea?: string | null | undefined;
518
+ postTown?: string | null | undefined;
519
+ areaCovered?: string | null | undefined;
520
+ }, {
521
+ address?: string | null | undefined;
522
+ postcode?: string | null | undefined;
523
+ county?: string | null | undefined;
524
+ adminDistrict?: string | null | undefined;
525
+ builtUpArea?: string | null | undefined;
526
+ postTown?: string | null | undefined;
527
+ areaCovered?: string | null | undefined;
528
+ }>>>;
529
+ tradeId: z.ZodString;
530
+ jobQualifications: z.ZodArray<z.ZodObject<{
531
+ id: z.ZodString;
532
+ qualificationId: z.ZodString;
533
+ qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
534
+ }, "strip", z.ZodTypeAny, {
535
+ id: string;
536
+ qualificationId: string;
537
+ qualificationTypeId?: string | null | undefined;
538
+ }, {
539
+ id: string;
540
+ qualificationId: string;
541
+ qualificationTypeId?: string | null | undefined;
542
+ }>, "many">;
543
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
544
+ id: z.ZodString;
545
+ }, "strip", z.ZodTypeAny, {
546
+ id: string;
547
+ }, {
548
+ id: string;
549
+ }>>>;
550
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
551
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
552
+ }, "strip", z.ZodTypeAny, {
553
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
554
+ description: string;
555
+ id: string;
556
+ createdAt: string;
557
+ updatedAt: string;
558
+ pay: {
559
+ rate: number;
560
+ rateUnit: "DAILY" | "HOURLY";
561
+ receivedRate: number;
562
+ rateMax?: number | null | undefined;
563
+ };
564
+ tradeId: string;
565
+ numberOfPositions: number;
566
+ jobQualifications: {
567
+ id: string;
568
+ qualificationId: string;
569
+ qualificationTypeId?: string | null | undefined;
570
+ }[];
571
+ location?: {
572
+ address?: string | null | undefined;
573
+ postcode?: string | null | undefined;
574
+ county?: string | null | undefined;
575
+ adminDistrict?: string | null | undefined;
576
+ builtUpArea?: string | null | undefined;
577
+ postTown?: string | null | undefined;
578
+ areaCovered?: string | null | undefined;
579
+ } | null | undefined;
580
+ workHours?: number | null | undefined;
581
+ currentCollaboration?: {
582
+ id: string;
583
+ } | null | undefined;
584
+ }, {
585
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
586
+ description: string;
587
+ id: string;
588
+ createdAt: string | Date;
589
+ updatedAt: string | Date;
590
+ pay: {
591
+ rate: number;
592
+ rateUnit: "DAILY" | "HOURLY";
593
+ receivedRate: number;
594
+ rateMax?: number | null | undefined;
595
+ };
596
+ tradeId: string;
597
+ numberOfPositions: number;
598
+ jobQualifications: {
599
+ id: string;
600
+ qualificationId: string;
601
+ qualificationTypeId?: string | null | undefined;
602
+ }[];
603
+ location?: {
604
+ address?: string | null | undefined;
605
+ postcode?: string | null | undefined;
606
+ county?: string | null | undefined;
607
+ adminDistrict?: string | null | undefined;
608
+ builtUpArea?: string | null | undefined;
609
+ postTown?: string | null | undefined;
610
+ areaCovered?: string | null | undefined;
611
+ } | null | undefined;
612
+ workHours?: number | null | undefined;
613
+ currentCollaboration?: {
614
+ id: string;
615
+ } | null | undefined;
616
+ }>, "many">;
617
+ totalCount: z.ZodNumber;
618
+ limit: z.ZodNumber;
619
+ skip: z.ZodNumber;
620
+ currentPage: z.ZodNumber;
621
+ totalPages: z.ZodNumber;
622
+ }, "strip", z.ZodTypeAny, {
623
+ items: {
624
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
625
+ description: string;
626
+ id: string;
627
+ createdAt: string;
628
+ updatedAt: string;
629
+ pay: {
630
+ rate: number;
631
+ rateUnit: "DAILY" | "HOURLY";
632
+ receivedRate: number;
633
+ rateMax?: number | null | undefined;
634
+ };
635
+ tradeId: string;
636
+ numberOfPositions: number;
637
+ jobQualifications: {
638
+ id: string;
639
+ qualificationId: string;
640
+ qualificationTypeId?: string | null | undefined;
641
+ }[];
642
+ location?: {
643
+ address?: string | null | undefined;
644
+ postcode?: string | null | undefined;
645
+ county?: string | null | undefined;
646
+ adminDistrict?: string | null | undefined;
647
+ builtUpArea?: string | null | undefined;
648
+ postTown?: string | null | undefined;
649
+ areaCovered?: string | null | undefined;
650
+ } | null | undefined;
651
+ workHours?: number | null | undefined;
652
+ currentCollaboration?: {
653
+ id: string;
654
+ } | null | undefined;
655
+ }[];
656
+ totalCount: number;
657
+ limit: number;
658
+ skip: number;
659
+ currentPage: number;
660
+ totalPages: number;
661
+ }, {
662
+ items: {
663
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
664
+ description: string;
665
+ id: string;
666
+ createdAt: string | Date;
667
+ updatedAt: string | Date;
668
+ pay: {
669
+ rate: number;
670
+ rateUnit: "DAILY" | "HOURLY";
671
+ receivedRate: number;
672
+ rateMax?: number | null | undefined;
673
+ };
674
+ tradeId: string;
675
+ numberOfPositions: number;
676
+ jobQualifications: {
677
+ id: string;
678
+ qualificationId: string;
679
+ qualificationTypeId?: string | null | undefined;
680
+ }[];
681
+ location?: {
682
+ address?: string | null | undefined;
683
+ postcode?: string | null | undefined;
684
+ county?: string | null | undefined;
685
+ adminDistrict?: string | null | undefined;
686
+ builtUpArea?: string | null | undefined;
687
+ postTown?: string | null | undefined;
688
+ areaCovered?: string | null | undefined;
689
+ } | null | undefined;
690
+ workHours?: number | null | undefined;
691
+ currentCollaboration?: {
692
+ id: string;
693
+ } | null | undefined;
694
+ }[];
695
+ totalCount: number;
696
+ limit: number;
697
+ skip: number;
698
+ currentPage: number;
699
+ totalPages: number;
700
+ }>;
701
+ export type Job = z.infer<typeof JobSchema>;
702
+ export type CreateJob = z.infer<typeof CreateJobSchema>;
703
+ export type UpdateJob = z.infer<typeof UpdateJobSchema>;
704
+ export type FilterJob = z.infer<typeof FilterJobSchema>;
705
+ export type PaginatedJobResponse = z.infer<typeof PaginatedJobResponseSchema>;
706
+ export declare const jobsContractRouter: {
707
+ create: {
708
+ metadata: {
709
+ tags: string[];
710
+ openApi: {
711
+ operationId: string;
712
+ };
713
+ };
714
+ summary: "Create a new job";
715
+ method: "POST";
716
+ body: z.ZodObject<{
717
+ description: z.ZodString;
718
+ location: z.ZodOptional<z.ZodObject<{
719
+ address: z.ZodOptional<z.ZodString>;
720
+ postcode: z.ZodOptional<z.ZodString>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ address?: string | undefined;
723
+ postcode?: string | undefined;
724
+ }, {
725
+ address?: string | undefined;
726
+ postcode?: string | undefined;
727
+ }>>;
728
+ numberOfPositions: z.ZodNumber;
729
+ workHours: z.ZodOptional<z.ZodNumber>;
730
+ pay: z.ZodObject<{
731
+ rateUnit: z.ZodOptional<z.ZodEnum<["DAILY", "HOURLY"]>>;
732
+ rate: z.ZodNumber;
733
+ rateMax: z.ZodOptional<z.ZodNumber>;
734
+ receivedRate: z.ZodNumber;
735
+ }, "strip", z.ZodTypeAny, {
736
+ rate: number;
737
+ receivedRate: number;
738
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
739
+ rateMax?: number | undefined;
740
+ }, {
741
+ rate: number;
742
+ receivedRate: number;
743
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
744
+ rateMax?: number | undefined;
745
+ }>;
746
+ tradeId: z.ZodString;
747
+ currentCollaboration: z.ZodObject<{
748
+ id: z.ZodString;
749
+ }, "strip", z.ZodTypeAny, {
750
+ id: string;
751
+ }, {
752
+ id: string;
753
+ }>;
754
+ jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
755
+ qualificationId: z.ZodString;
756
+ qualificationTypeId: z.ZodOptional<z.ZodString>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ qualificationId: string;
759
+ qualificationTypeId?: string | undefined;
760
+ }, {
761
+ qualificationId: string;
762
+ qualificationTypeId?: string | undefined;
763
+ }>, "many">>;
764
+ status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ description: string;
767
+ pay: {
768
+ rate: number;
769
+ receivedRate: number;
770
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
771
+ rateMax?: number | undefined;
772
+ };
773
+ tradeId: string;
774
+ numberOfPositions: number;
775
+ currentCollaboration: {
776
+ id: string;
777
+ };
778
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
779
+ location?: {
780
+ address?: string | undefined;
781
+ postcode?: string | undefined;
782
+ } | undefined;
783
+ workHours?: number | undefined;
784
+ jobQualifications?: {
785
+ qualificationId: string;
786
+ qualificationTypeId?: string | undefined;
787
+ }[] | undefined;
788
+ }, {
789
+ description: string;
790
+ pay: {
791
+ rate: number;
792
+ receivedRate: number;
793
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
794
+ rateMax?: number | undefined;
795
+ };
796
+ tradeId: string;
797
+ numberOfPositions: number;
798
+ currentCollaboration: {
799
+ id: string;
800
+ };
801
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
802
+ location?: {
803
+ address?: string | undefined;
804
+ postcode?: string | undefined;
805
+ } | undefined;
806
+ workHours?: number | undefined;
807
+ jobQualifications?: {
808
+ qualificationId: string;
809
+ qualificationTypeId?: string | undefined;
810
+ }[] | undefined;
811
+ }>;
812
+ path: "/v2/jobs";
813
+ responses: {
814
+ 400: z.ZodObject<{
815
+ statusCode: z.ZodNumber;
816
+ message: z.ZodString;
817
+ code: z.ZodString;
818
+ details: z.ZodOptional<z.ZodUnknown>;
819
+ timestamp: z.ZodString;
820
+ path: z.ZodString;
821
+ correlationId: z.ZodOptional<z.ZodString>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ statusCode: number;
824
+ message: string;
825
+ code: string;
826
+ timestamp: string;
827
+ path: string;
828
+ details?: unknown;
829
+ correlationId?: string | undefined;
830
+ }, {
831
+ statusCode: number;
832
+ message: string;
833
+ code: string;
834
+ timestamp: string;
835
+ path: string;
836
+ details?: unknown;
837
+ correlationId?: string | undefined;
838
+ }>;
839
+ 401: z.ZodObject<{
840
+ statusCode: z.ZodNumber;
841
+ message: z.ZodString;
842
+ code: z.ZodString;
843
+ details: z.ZodOptional<z.ZodUnknown>;
844
+ timestamp: z.ZodString;
845
+ path: z.ZodString;
846
+ correlationId: z.ZodOptional<z.ZodString>;
847
+ }, "strip", z.ZodTypeAny, {
848
+ statusCode: number;
849
+ message: string;
850
+ code: string;
851
+ timestamp: string;
852
+ path: string;
853
+ details?: unknown;
854
+ correlationId?: string | undefined;
855
+ }, {
856
+ statusCode: number;
857
+ message: string;
858
+ code: string;
859
+ timestamp: string;
860
+ path: string;
861
+ details?: unknown;
862
+ correlationId?: string | undefined;
863
+ }>;
864
+ 403: z.ZodObject<{
865
+ statusCode: z.ZodNumber;
866
+ message: z.ZodString;
867
+ code: z.ZodString;
868
+ details: z.ZodOptional<z.ZodUnknown>;
869
+ timestamp: z.ZodString;
870
+ path: z.ZodString;
871
+ correlationId: z.ZodOptional<z.ZodString>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ statusCode: number;
874
+ message: string;
875
+ code: string;
876
+ timestamp: string;
877
+ path: string;
878
+ details?: unknown;
879
+ correlationId?: string | undefined;
880
+ }, {
881
+ statusCode: number;
882
+ message: string;
883
+ code: string;
884
+ timestamp: string;
885
+ path: string;
886
+ details?: unknown;
887
+ correlationId?: string | undefined;
888
+ }>;
889
+ 500: z.ZodObject<{
890
+ statusCode: z.ZodNumber;
891
+ message: z.ZodString;
892
+ code: z.ZodString;
893
+ details: z.ZodOptional<z.ZodUnknown>;
894
+ timestamp: z.ZodString;
895
+ path: z.ZodString;
896
+ correlationId: z.ZodOptional<z.ZodString>;
897
+ }, "strip", z.ZodTypeAny, {
898
+ statusCode: number;
899
+ message: string;
900
+ code: string;
901
+ timestamp: string;
902
+ path: string;
903
+ details?: unknown;
904
+ correlationId?: string | undefined;
905
+ }, {
906
+ statusCode: number;
907
+ message: string;
908
+ code: string;
909
+ timestamp: string;
910
+ path: string;
911
+ details?: unknown;
912
+ correlationId?: string | undefined;
913
+ }>;
914
+ 201: z.ZodObject<{
915
+ id: z.ZodString;
916
+ description: z.ZodString;
917
+ numberOfPositions: z.ZodNumber;
918
+ workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
919
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
920
+ pay: z.ZodObject<{
921
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
922
+ rate: z.ZodNumber;
923
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
924
+ receivedRate: z.ZodNumber;
925
+ }, "strip", z.ZodTypeAny, {
926
+ rate: number;
927
+ rateUnit: "DAILY" | "HOURLY";
928
+ receivedRate: number;
929
+ rateMax?: number | null | undefined;
930
+ }, {
931
+ rate: number;
932
+ rateUnit: "DAILY" | "HOURLY";
933
+ receivedRate: number;
934
+ rateMax?: number | null | undefined;
935
+ }>;
936
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
937
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
938
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
939
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
940
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
941
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
942
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
943
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
944
+ }, "strip", z.ZodTypeAny, {
945
+ address?: string | null | undefined;
946
+ postcode?: string | null | undefined;
947
+ county?: string | null | undefined;
948
+ adminDistrict?: string | null | undefined;
949
+ builtUpArea?: string | null | undefined;
950
+ postTown?: string | null | undefined;
951
+ areaCovered?: string | null | undefined;
952
+ }, {
953
+ address?: string | null | undefined;
954
+ postcode?: string | null | undefined;
955
+ county?: string | null | undefined;
956
+ adminDistrict?: string | null | undefined;
957
+ builtUpArea?: string | null | undefined;
958
+ postTown?: string | null | undefined;
959
+ areaCovered?: string | null | undefined;
960
+ }>>>;
961
+ tradeId: z.ZodString;
962
+ jobQualifications: z.ZodArray<z.ZodObject<{
963
+ id: z.ZodString;
964
+ qualificationId: z.ZodString;
965
+ qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
966
+ }, "strip", z.ZodTypeAny, {
967
+ id: string;
968
+ qualificationId: string;
969
+ qualificationTypeId?: string | null | undefined;
970
+ }, {
971
+ id: string;
972
+ qualificationId: string;
973
+ qualificationTypeId?: string | null | undefined;
974
+ }>, "many">;
975
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
976
+ id: z.ZodString;
977
+ }, "strip", z.ZodTypeAny, {
978
+ id: string;
979
+ }, {
980
+ id: string;
981
+ }>>>;
982
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
983
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
984
+ }, "strip", z.ZodTypeAny, {
985
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
986
+ description: string;
987
+ id: string;
988
+ createdAt: string;
989
+ updatedAt: string;
990
+ pay: {
991
+ rate: number;
992
+ rateUnit: "DAILY" | "HOURLY";
993
+ receivedRate: number;
994
+ rateMax?: number | null | undefined;
995
+ };
996
+ tradeId: string;
997
+ numberOfPositions: number;
998
+ jobQualifications: {
999
+ id: string;
1000
+ qualificationId: string;
1001
+ qualificationTypeId?: string | null | undefined;
1002
+ }[];
1003
+ location?: {
1004
+ address?: string | null | undefined;
1005
+ postcode?: string | null | undefined;
1006
+ county?: string | null | undefined;
1007
+ adminDistrict?: string | null | undefined;
1008
+ builtUpArea?: string | null | undefined;
1009
+ postTown?: string | null | undefined;
1010
+ areaCovered?: string | null | undefined;
1011
+ } | null | undefined;
1012
+ workHours?: number | null | undefined;
1013
+ currentCollaboration?: {
1014
+ id: string;
1015
+ } | null | undefined;
1016
+ }, {
1017
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
1018
+ description: string;
1019
+ id: string;
1020
+ createdAt: string | Date;
1021
+ updatedAt: string | Date;
1022
+ pay: {
1023
+ rate: number;
1024
+ rateUnit: "DAILY" | "HOURLY";
1025
+ receivedRate: number;
1026
+ rateMax?: number | null | undefined;
1027
+ };
1028
+ tradeId: string;
1029
+ numberOfPositions: number;
1030
+ jobQualifications: {
1031
+ id: string;
1032
+ qualificationId: string;
1033
+ qualificationTypeId?: string | null | undefined;
1034
+ }[];
1035
+ location?: {
1036
+ address?: string | null | undefined;
1037
+ postcode?: string | null | undefined;
1038
+ county?: string | null | undefined;
1039
+ adminDistrict?: string | null | undefined;
1040
+ builtUpArea?: string | null | undefined;
1041
+ postTown?: string | null | undefined;
1042
+ areaCovered?: string | null | undefined;
1043
+ } | null | undefined;
1044
+ workHours?: number | null | undefined;
1045
+ currentCollaboration?: {
1046
+ id: string;
1047
+ } | null | undefined;
1048
+ }>;
1049
+ 409: z.ZodObject<{
1050
+ statusCode: z.ZodNumber;
1051
+ message: z.ZodString;
1052
+ code: z.ZodString;
1053
+ details: z.ZodOptional<z.ZodUnknown>;
1054
+ timestamp: z.ZodString;
1055
+ path: z.ZodString;
1056
+ correlationId: z.ZodOptional<z.ZodString>;
1057
+ }, "strip", z.ZodTypeAny, {
1058
+ statusCode: number;
1059
+ message: string;
1060
+ code: string;
1061
+ timestamp: string;
1062
+ path: string;
1063
+ details?: unknown;
1064
+ correlationId?: string | undefined;
1065
+ }, {
1066
+ statusCode: number;
1067
+ message: string;
1068
+ code: string;
1069
+ timestamp: string;
1070
+ path: string;
1071
+ details?: unknown;
1072
+ correlationId?: string | undefined;
1073
+ }>;
1074
+ };
1075
+ };
1076
+ findAll: {
1077
+ metadata: {
1078
+ tags: string[];
1079
+ openApi: {
1080
+ operationId: string;
1081
+ };
1082
+ };
1083
+ query: z.ZodObject<{
1084
+ limit: z.ZodDefault<z.ZodNumber>;
1085
+ page: z.ZodDefault<z.ZodNumber>;
1086
+ } & {
1087
+ tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1088
+ status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>>;
1089
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1090
+ distance: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1091
+ pay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1092
+ minRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1093
+ maxRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1094
+ }, "strip", z.ZodTypeAny, {
1095
+ minRate?: number | null | undefined;
1096
+ maxRate?: number | null | undefined;
1097
+ }, {
1098
+ minRate?: number | null | undefined;
1099
+ maxRate?: number | null | undefined;
1100
+ }>>>;
1101
+ createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1102
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1103
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ from?: string | null | undefined;
1106
+ to?: string | null | undefined;
1107
+ }, {
1108
+ from?: string | null | undefined;
1109
+ to?: string | null | undefined;
1110
+ }>>>;
1111
+ sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["description", "numberOfPositions", "status", "createdAt", "updatedAt"]>>>;
1112
+ sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ limit: number;
1115
+ page: number;
1116
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
1117
+ createdAt?: {
1118
+ from?: string | null | undefined;
1119
+ to?: string | null | undefined;
1120
+ } | null | undefined;
1121
+ sortBy?: "status" | "description" | "createdAt" | "updatedAt" | "numberOfPositions" | null | undefined;
1122
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1123
+ pay?: {
1124
+ minRate?: number | null | undefined;
1125
+ maxRate?: number | null | undefined;
1126
+ } | null | undefined;
1127
+ tradeId?: string | null | undefined;
1128
+ postcode?: string | null | undefined;
1129
+ distance?: number | null | undefined;
1130
+ }, {
1131
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
1132
+ createdAt?: {
1133
+ from?: string | null | undefined;
1134
+ to?: string | null | undefined;
1135
+ } | null | undefined;
1136
+ limit?: number | undefined;
1137
+ page?: number | undefined;
1138
+ sortBy?: "status" | "description" | "createdAt" | "updatedAt" | "numberOfPositions" | null | undefined;
1139
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1140
+ pay?: {
1141
+ minRate?: number | null | undefined;
1142
+ maxRate?: number | null | undefined;
1143
+ } | null | undefined;
1144
+ tradeId?: string | null | undefined;
1145
+ postcode?: string | null | undefined;
1146
+ distance?: number | null | undefined;
1147
+ }>;
1148
+ summary: "Get all jobs";
1149
+ method: "GET";
1150
+ path: "/v2/jobs";
1151
+ responses: {
1152
+ 400: z.ZodObject<{
1153
+ statusCode: z.ZodNumber;
1154
+ message: z.ZodString;
1155
+ code: z.ZodString;
1156
+ details: z.ZodOptional<z.ZodUnknown>;
1157
+ timestamp: z.ZodString;
1158
+ path: z.ZodString;
1159
+ correlationId: z.ZodOptional<z.ZodString>;
1160
+ }, "strip", z.ZodTypeAny, {
1161
+ statusCode: number;
1162
+ message: string;
1163
+ code: string;
1164
+ timestamp: string;
1165
+ path: string;
1166
+ details?: unknown;
1167
+ correlationId?: string | undefined;
1168
+ }, {
1169
+ statusCode: number;
1170
+ message: string;
1171
+ code: string;
1172
+ timestamp: string;
1173
+ path: string;
1174
+ details?: unknown;
1175
+ correlationId?: string | undefined;
1176
+ }>;
1177
+ 401: z.ZodObject<{
1178
+ statusCode: z.ZodNumber;
1179
+ message: z.ZodString;
1180
+ code: z.ZodString;
1181
+ details: z.ZodOptional<z.ZodUnknown>;
1182
+ timestamp: z.ZodString;
1183
+ path: z.ZodString;
1184
+ correlationId: z.ZodOptional<z.ZodString>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ statusCode: number;
1187
+ message: string;
1188
+ code: string;
1189
+ timestamp: string;
1190
+ path: string;
1191
+ details?: unknown;
1192
+ correlationId?: string | undefined;
1193
+ }, {
1194
+ statusCode: number;
1195
+ message: string;
1196
+ code: string;
1197
+ timestamp: string;
1198
+ path: string;
1199
+ details?: unknown;
1200
+ correlationId?: string | undefined;
1201
+ }>;
1202
+ 403: z.ZodObject<{
1203
+ statusCode: z.ZodNumber;
1204
+ message: z.ZodString;
1205
+ code: z.ZodString;
1206
+ details: z.ZodOptional<z.ZodUnknown>;
1207
+ timestamp: z.ZodString;
1208
+ path: z.ZodString;
1209
+ correlationId: z.ZodOptional<z.ZodString>;
1210
+ }, "strip", z.ZodTypeAny, {
1211
+ statusCode: number;
1212
+ message: string;
1213
+ code: string;
1214
+ timestamp: string;
1215
+ path: string;
1216
+ details?: unknown;
1217
+ correlationId?: string | undefined;
1218
+ }, {
1219
+ statusCode: number;
1220
+ message: string;
1221
+ code: string;
1222
+ timestamp: string;
1223
+ path: string;
1224
+ details?: unknown;
1225
+ correlationId?: string | undefined;
1226
+ }>;
1227
+ 500: z.ZodObject<{
1228
+ statusCode: z.ZodNumber;
1229
+ message: z.ZodString;
1230
+ code: z.ZodString;
1231
+ details: z.ZodOptional<z.ZodUnknown>;
1232
+ timestamp: z.ZodString;
1233
+ path: z.ZodString;
1234
+ correlationId: z.ZodOptional<z.ZodString>;
1235
+ }, "strip", z.ZodTypeAny, {
1236
+ statusCode: number;
1237
+ message: string;
1238
+ code: string;
1239
+ timestamp: string;
1240
+ path: string;
1241
+ details?: unknown;
1242
+ correlationId?: string | undefined;
1243
+ }, {
1244
+ statusCode: number;
1245
+ message: string;
1246
+ code: string;
1247
+ timestamp: string;
1248
+ path: string;
1249
+ details?: unknown;
1250
+ correlationId?: string | undefined;
1251
+ }>;
1252
+ 200: z.ZodObject<{
1253
+ items: z.ZodArray<z.ZodObject<{
1254
+ id: z.ZodString;
1255
+ description: z.ZodString;
1256
+ numberOfPositions: z.ZodNumber;
1257
+ workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1258
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
1259
+ pay: z.ZodObject<{
1260
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1261
+ rate: z.ZodNumber;
1262
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1263
+ receivedRate: z.ZodNumber;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ rate: number;
1266
+ rateUnit: "DAILY" | "HOURLY";
1267
+ receivedRate: number;
1268
+ rateMax?: number | null | undefined;
1269
+ }, {
1270
+ rate: number;
1271
+ rateUnit: "DAILY" | "HOURLY";
1272
+ receivedRate: number;
1273
+ rateMax?: number | null | undefined;
1274
+ }>;
1275
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1276
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1277
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1278
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1279
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1280
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1281
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1282
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1283
+ }, "strip", z.ZodTypeAny, {
1284
+ address?: string | null | undefined;
1285
+ postcode?: string | null | undefined;
1286
+ county?: string | null | undefined;
1287
+ adminDistrict?: string | null | undefined;
1288
+ builtUpArea?: string | null | undefined;
1289
+ postTown?: string | null | undefined;
1290
+ areaCovered?: string | null | undefined;
1291
+ }, {
1292
+ address?: string | null | undefined;
1293
+ postcode?: string | null | undefined;
1294
+ county?: string | null | undefined;
1295
+ adminDistrict?: string | null | undefined;
1296
+ builtUpArea?: string | null | undefined;
1297
+ postTown?: string | null | undefined;
1298
+ areaCovered?: string | null | undefined;
1299
+ }>>>;
1300
+ tradeId: z.ZodString;
1301
+ jobQualifications: z.ZodArray<z.ZodObject<{
1302
+ id: z.ZodString;
1303
+ qualificationId: z.ZodString;
1304
+ qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ id: string;
1307
+ qualificationId: string;
1308
+ qualificationTypeId?: string | null | undefined;
1309
+ }, {
1310
+ id: string;
1311
+ qualificationId: string;
1312
+ qualificationTypeId?: string | null | undefined;
1313
+ }>, "many">;
1314
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1315
+ id: z.ZodString;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ id: string;
1318
+ }, {
1319
+ id: string;
1320
+ }>>>;
1321
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1322
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1323
+ }, "strip", z.ZodTypeAny, {
1324
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
1325
+ description: string;
1326
+ id: string;
1327
+ createdAt: string;
1328
+ updatedAt: string;
1329
+ pay: {
1330
+ rate: number;
1331
+ rateUnit: "DAILY" | "HOURLY";
1332
+ receivedRate: number;
1333
+ rateMax?: number | null | undefined;
1334
+ };
1335
+ tradeId: string;
1336
+ numberOfPositions: number;
1337
+ jobQualifications: {
1338
+ id: string;
1339
+ qualificationId: string;
1340
+ qualificationTypeId?: string | null | undefined;
1341
+ }[];
1342
+ location?: {
1343
+ address?: string | null | undefined;
1344
+ postcode?: string | null | undefined;
1345
+ county?: string | null | undefined;
1346
+ adminDistrict?: string | null | undefined;
1347
+ builtUpArea?: string | null | undefined;
1348
+ postTown?: string | null | undefined;
1349
+ areaCovered?: string | null | undefined;
1350
+ } | null | undefined;
1351
+ workHours?: number | null | undefined;
1352
+ currentCollaboration?: {
1353
+ id: string;
1354
+ } | null | undefined;
1355
+ }, {
1356
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
1357
+ description: string;
1358
+ id: string;
1359
+ createdAt: string | Date;
1360
+ updatedAt: string | Date;
1361
+ pay: {
1362
+ rate: number;
1363
+ rateUnit: "DAILY" | "HOURLY";
1364
+ receivedRate: number;
1365
+ rateMax?: number | null | undefined;
1366
+ };
1367
+ tradeId: string;
1368
+ numberOfPositions: number;
1369
+ jobQualifications: {
1370
+ id: string;
1371
+ qualificationId: string;
1372
+ qualificationTypeId?: string | null | undefined;
1373
+ }[];
1374
+ location?: {
1375
+ address?: string | null | undefined;
1376
+ postcode?: string | null | undefined;
1377
+ county?: string | null | undefined;
1378
+ adminDistrict?: string | null | undefined;
1379
+ builtUpArea?: string | null | undefined;
1380
+ postTown?: string | null | undefined;
1381
+ areaCovered?: string | null | undefined;
1382
+ } | null | undefined;
1383
+ workHours?: number | null | undefined;
1384
+ currentCollaboration?: {
1385
+ id: string;
1386
+ } | null | undefined;
1387
+ }>, "many">;
1388
+ totalCount: z.ZodNumber;
1389
+ limit: z.ZodNumber;
1390
+ skip: z.ZodNumber;
1391
+ currentPage: z.ZodNumber;
1392
+ totalPages: z.ZodNumber;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ items: {
1395
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
1396
+ description: string;
1397
+ id: string;
1398
+ createdAt: string;
1399
+ updatedAt: string;
1400
+ pay: {
1401
+ rate: number;
1402
+ rateUnit: "DAILY" | "HOURLY";
1403
+ receivedRate: number;
1404
+ rateMax?: number | null | undefined;
1405
+ };
1406
+ tradeId: string;
1407
+ numberOfPositions: number;
1408
+ jobQualifications: {
1409
+ id: string;
1410
+ qualificationId: string;
1411
+ qualificationTypeId?: string | null | undefined;
1412
+ }[];
1413
+ location?: {
1414
+ address?: string | null | undefined;
1415
+ postcode?: string | null | undefined;
1416
+ county?: string | null | undefined;
1417
+ adminDistrict?: string | null | undefined;
1418
+ builtUpArea?: string | null | undefined;
1419
+ postTown?: string | null | undefined;
1420
+ areaCovered?: string | null | undefined;
1421
+ } | null | undefined;
1422
+ workHours?: number | null | undefined;
1423
+ currentCollaboration?: {
1424
+ id: string;
1425
+ } | null | undefined;
1426
+ }[];
1427
+ totalCount: number;
1428
+ limit: number;
1429
+ skip: number;
1430
+ currentPage: number;
1431
+ totalPages: number;
1432
+ }, {
1433
+ items: {
1434
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
1435
+ description: string;
1436
+ id: string;
1437
+ createdAt: string | Date;
1438
+ updatedAt: string | Date;
1439
+ pay: {
1440
+ rate: number;
1441
+ rateUnit: "DAILY" | "HOURLY";
1442
+ receivedRate: number;
1443
+ rateMax?: number | null | undefined;
1444
+ };
1445
+ tradeId: string;
1446
+ numberOfPositions: number;
1447
+ jobQualifications: {
1448
+ id: string;
1449
+ qualificationId: string;
1450
+ qualificationTypeId?: string | null | undefined;
1451
+ }[];
1452
+ location?: {
1453
+ address?: string | null | undefined;
1454
+ postcode?: string | null | undefined;
1455
+ county?: string | null | undefined;
1456
+ adminDistrict?: string | null | undefined;
1457
+ builtUpArea?: string | null | undefined;
1458
+ postTown?: string | null | undefined;
1459
+ areaCovered?: string | null | undefined;
1460
+ } | null | undefined;
1461
+ workHours?: number | null | undefined;
1462
+ currentCollaboration?: {
1463
+ id: string;
1464
+ } | null | undefined;
1465
+ }[];
1466
+ totalCount: number;
1467
+ limit: number;
1468
+ skip: number;
1469
+ currentPage: number;
1470
+ totalPages: number;
1471
+ }>;
1472
+ };
1473
+ };
1474
+ findOne: {
1475
+ metadata: {
1476
+ tags: string[];
1477
+ openApi: {
1478
+ operationId: string;
1479
+ };
1480
+ };
1481
+ pathParams: z.ZodObject<{
1482
+ id: z.ZodString;
1483
+ }, "strip", z.ZodTypeAny, {
1484
+ id: string;
1485
+ }, {
1486
+ id: string;
1487
+ }>;
1488
+ summary: "Get a job by ID";
1489
+ method: "GET";
1490
+ path: "/v2/jobs/:id";
1491
+ responses: {
1492
+ 400: z.ZodObject<{
1493
+ statusCode: z.ZodNumber;
1494
+ message: z.ZodString;
1495
+ code: z.ZodString;
1496
+ details: z.ZodOptional<z.ZodUnknown>;
1497
+ timestamp: z.ZodString;
1498
+ path: z.ZodString;
1499
+ correlationId: z.ZodOptional<z.ZodString>;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ statusCode: number;
1502
+ message: string;
1503
+ code: string;
1504
+ timestamp: string;
1505
+ path: string;
1506
+ details?: unknown;
1507
+ correlationId?: string | undefined;
1508
+ }, {
1509
+ statusCode: number;
1510
+ message: string;
1511
+ code: string;
1512
+ timestamp: string;
1513
+ path: string;
1514
+ details?: unknown;
1515
+ correlationId?: string | undefined;
1516
+ }>;
1517
+ 401: z.ZodObject<{
1518
+ statusCode: z.ZodNumber;
1519
+ message: z.ZodString;
1520
+ code: z.ZodString;
1521
+ details: z.ZodOptional<z.ZodUnknown>;
1522
+ timestamp: z.ZodString;
1523
+ path: z.ZodString;
1524
+ correlationId: z.ZodOptional<z.ZodString>;
1525
+ }, "strip", z.ZodTypeAny, {
1526
+ statusCode: number;
1527
+ message: string;
1528
+ code: string;
1529
+ timestamp: string;
1530
+ path: string;
1531
+ details?: unknown;
1532
+ correlationId?: string | undefined;
1533
+ }, {
1534
+ statusCode: number;
1535
+ message: string;
1536
+ code: string;
1537
+ timestamp: string;
1538
+ path: string;
1539
+ details?: unknown;
1540
+ correlationId?: string | undefined;
1541
+ }>;
1542
+ 403: z.ZodObject<{
1543
+ statusCode: z.ZodNumber;
1544
+ message: z.ZodString;
1545
+ code: z.ZodString;
1546
+ details: z.ZodOptional<z.ZodUnknown>;
1547
+ timestamp: z.ZodString;
1548
+ path: z.ZodString;
1549
+ correlationId: z.ZodOptional<z.ZodString>;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ statusCode: number;
1552
+ message: string;
1553
+ code: string;
1554
+ timestamp: string;
1555
+ path: string;
1556
+ details?: unknown;
1557
+ correlationId?: string | undefined;
1558
+ }, {
1559
+ statusCode: number;
1560
+ message: string;
1561
+ code: string;
1562
+ timestamp: string;
1563
+ path: string;
1564
+ details?: unknown;
1565
+ correlationId?: string | undefined;
1566
+ }>;
1567
+ 500: z.ZodObject<{
1568
+ statusCode: z.ZodNumber;
1569
+ message: z.ZodString;
1570
+ code: z.ZodString;
1571
+ details: z.ZodOptional<z.ZodUnknown>;
1572
+ timestamp: z.ZodString;
1573
+ path: z.ZodString;
1574
+ correlationId: z.ZodOptional<z.ZodString>;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ statusCode: number;
1577
+ message: string;
1578
+ code: string;
1579
+ timestamp: string;
1580
+ path: string;
1581
+ details?: unknown;
1582
+ correlationId?: string | undefined;
1583
+ }, {
1584
+ statusCode: number;
1585
+ message: string;
1586
+ code: string;
1587
+ timestamp: string;
1588
+ path: string;
1589
+ details?: unknown;
1590
+ correlationId?: string | undefined;
1591
+ }>;
1592
+ 200: z.ZodObject<{
1593
+ id: z.ZodString;
1594
+ description: z.ZodString;
1595
+ numberOfPositions: z.ZodNumber;
1596
+ workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1597
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
1598
+ pay: z.ZodObject<{
1599
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1600
+ rate: z.ZodNumber;
1601
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1602
+ receivedRate: z.ZodNumber;
1603
+ }, "strip", z.ZodTypeAny, {
1604
+ rate: number;
1605
+ rateUnit: "DAILY" | "HOURLY";
1606
+ receivedRate: number;
1607
+ rateMax?: number | null | undefined;
1608
+ }, {
1609
+ rate: number;
1610
+ rateUnit: "DAILY" | "HOURLY";
1611
+ receivedRate: number;
1612
+ rateMax?: number | null | undefined;
1613
+ }>;
1614
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1615
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1616
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1617
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1618
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1619
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1620
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1621
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1622
+ }, "strip", z.ZodTypeAny, {
1623
+ address?: string | null | undefined;
1624
+ postcode?: string | null | undefined;
1625
+ county?: string | null | undefined;
1626
+ adminDistrict?: string | null | undefined;
1627
+ builtUpArea?: string | null | undefined;
1628
+ postTown?: string | null | undefined;
1629
+ areaCovered?: string | null | undefined;
1630
+ }, {
1631
+ address?: string | null | undefined;
1632
+ postcode?: string | null | undefined;
1633
+ county?: string | null | undefined;
1634
+ adminDistrict?: string | null | undefined;
1635
+ builtUpArea?: string | null | undefined;
1636
+ postTown?: string | null | undefined;
1637
+ areaCovered?: string | null | undefined;
1638
+ }>>>;
1639
+ tradeId: z.ZodString;
1640
+ jobQualifications: z.ZodArray<z.ZodObject<{
1641
+ id: z.ZodString;
1642
+ qualificationId: z.ZodString;
1643
+ qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1644
+ }, "strip", z.ZodTypeAny, {
1645
+ id: string;
1646
+ qualificationId: string;
1647
+ qualificationTypeId?: string | null | undefined;
1648
+ }, {
1649
+ id: string;
1650
+ qualificationId: string;
1651
+ qualificationTypeId?: string | null | undefined;
1652
+ }>, "many">;
1653
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1654
+ id: z.ZodString;
1655
+ }, "strip", z.ZodTypeAny, {
1656
+ id: string;
1657
+ }, {
1658
+ id: string;
1659
+ }>>>;
1660
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1661
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1662
+ }, "strip", z.ZodTypeAny, {
1663
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
1664
+ description: string;
1665
+ id: string;
1666
+ createdAt: string;
1667
+ updatedAt: string;
1668
+ pay: {
1669
+ rate: number;
1670
+ rateUnit: "DAILY" | "HOURLY";
1671
+ receivedRate: number;
1672
+ rateMax?: number | null | undefined;
1673
+ };
1674
+ tradeId: string;
1675
+ numberOfPositions: number;
1676
+ jobQualifications: {
1677
+ id: string;
1678
+ qualificationId: string;
1679
+ qualificationTypeId?: string | null | undefined;
1680
+ }[];
1681
+ location?: {
1682
+ address?: string | null | undefined;
1683
+ postcode?: string | null | undefined;
1684
+ county?: string | null | undefined;
1685
+ adminDistrict?: string | null | undefined;
1686
+ builtUpArea?: string | null | undefined;
1687
+ postTown?: string | null | undefined;
1688
+ areaCovered?: string | null | undefined;
1689
+ } | null | undefined;
1690
+ workHours?: number | null | undefined;
1691
+ currentCollaboration?: {
1692
+ id: string;
1693
+ } | null | undefined;
1694
+ }, {
1695
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
1696
+ description: string;
1697
+ id: string;
1698
+ createdAt: string | Date;
1699
+ updatedAt: string | Date;
1700
+ pay: {
1701
+ rate: number;
1702
+ rateUnit: "DAILY" | "HOURLY";
1703
+ receivedRate: number;
1704
+ rateMax?: number | null | undefined;
1705
+ };
1706
+ tradeId: string;
1707
+ numberOfPositions: number;
1708
+ jobQualifications: {
1709
+ id: string;
1710
+ qualificationId: string;
1711
+ qualificationTypeId?: string | null | undefined;
1712
+ }[];
1713
+ location?: {
1714
+ address?: string | null | undefined;
1715
+ postcode?: string | null | undefined;
1716
+ county?: string | null | undefined;
1717
+ adminDistrict?: string | null | undefined;
1718
+ builtUpArea?: string | null | undefined;
1719
+ postTown?: string | null | undefined;
1720
+ areaCovered?: string | null | undefined;
1721
+ } | null | undefined;
1722
+ workHours?: number | null | undefined;
1723
+ currentCollaboration?: {
1724
+ id: string;
1725
+ } | null | undefined;
1726
+ }>;
1727
+ 404: z.ZodObject<{
1728
+ statusCode: z.ZodNumber;
1729
+ message: z.ZodString;
1730
+ code: z.ZodString;
1731
+ details: z.ZodOptional<z.ZodUnknown>;
1732
+ timestamp: z.ZodString;
1733
+ path: z.ZodString;
1734
+ correlationId: z.ZodOptional<z.ZodString>;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ statusCode: number;
1737
+ message: string;
1738
+ code: string;
1739
+ timestamp: string;
1740
+ path: string;
1741
+ details?: unknown;
1742
+ correlationId?: string | undefined;
1743
+ }, {
1744
+ statusCode: number;
1745
+ message: string;
1746
+ code: string;
1747
+ timestamp: string;
1748
+ path: string;
1749
+ details?: unknown;
1750
+ correlationId?: string | undefined;
1751
+ }>;
1752
+ };
1753
+ };
1754
+ update: {
1755
+ metadata: {
1756
+ tags: string[];
1757
+ openApi: {
1758
+ operationId: string;
1759
+ };
1760
+ };
1761
+ pathParams: z.ZodObject<{
1762
+ id: z.ZodString;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ id: string;
1765
+ }, {
1766
+ id: string;
1767
+ }>;
1768
+ summary: "Update a job";
1769
+ method: "PATCH";
1770
+ body: z.ZodObject<{
1771
+ description: z.ZodOptional<z.ZodString>;
1772
+ location: z.ZodOptional<z.ZodObject<{
1773
+ address: z.ZodOptional<z.ZodString>;
1774
+ postcode: z.ZodOptional<z.ZodString>;
1775
+ }, "strip", z.ZodTypeAny, {
1776
+ address?: string | undefined;
1777
+ postcode?: string | undefined;
1778
+ }, {
1779
+ address?: string | undefined;
1780
+ postcode?: string | undefined;
1781
+ }>>;
1782
+ numberOfPositions: z.ZodOptional<z.ZodNumber>;
1783
+ workHours: z.ZodOptional<z.ZodNumber>;
1784
+ pay: z.ZodOptional<z.ZodObject<{
1785
+ rateUnit: z.ZodOptional<z.ZodEnum<["DAILY", "HOURLY"]>>;
1786
+ rate: z.ZodNumber;
1787
+ rateMax: z.ZodOptional<z.ZodNumber>;
1788
+ receivedRate: z.ZodNumber;
1789
+ }, "strip", z.ZodTypeAny, {
1790
+ rate: number;
1791
+ receivedRate: number;
1792
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
1793
+ rateMax?: number | undefined;
1794
+ }, {
1795
+ rate: number;
1796
+ receivedRate: number;
1797
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
1798
+ rateMax?: number | undefined;
1799
+ }>>;
1800
+ tradeId: z.ZodOptional<z.ZodString>;
1801
+ currentCollaboration: z.ZodOptional<z.ZodObject<{
1802
+ id: z.ZodString;
1803
+ }, "strip", z.ZodTypeAny, {
1804
+ id: string;
1805
+ }, {
1806
+ id: string;
1807
+ }>>;
1808
+ jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
1809
+ qualificationId: z.ZodString;
1810
+ qualificationTypeId: z.ZodOptional<z.ZodString>;
1811
+ }, "strip", z.ZodTypeAny, {
1812
+ qualificationId: string;
1813
+ qualificationTypeId?: string | undefined;
1814
+ }, {
1815
+ qualificationId: string;
1816
+ qualificationTypeId?: string | undefined;
1817
+ }>, "many">>;
1818
+ status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
1819
+ }, "strip", z.ZodTypeAny, {
1820
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
1821
+ description?: string | undefined;
1822
+ pay?: {
1823
+ rate: number;
1824
+ receivedRate: number;
1825
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
1826
+ rateMax?: number | undefined;
1827
+ } | undefined;
1828
+ tradeId?: string | undefined;
1829
+ location?: {
1830
+ address?: string | undefined;
1831
+ postcode?: string | undefined;
1832
+ } | undefined;
1833
+ numberOfPositions?: number | undefined;
1834
+ workHours?: number | undefined;
1835
+ jobQualifications?: {
1836
+ qualificationId: string;
1837
+ qualificationTypeId?: string | undefined;
1838
+ }[] | undefined;
1839
+ currentCollaboration?: {
1840
+ id: string;
1841
+ } | undefined;
1842
+ }, {
1843
+ status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
1844
+ description?: string | undefined;
1845
+ pay?: {
1846
+ rate: number;
1847
+ receivedRate: number;
1848
+ rateUnit?: "DAILY" | "HOURLY" | undefined;
1849
+ rateMax?: number | undefined;
1850
+ } | undefined;
1851
+ tradeId?: string | undefined;
1852
+ location?: {
1853
+ address?: string | undefined;
1854
+ postcode?: string | undefined;
1855
+ } | undefined;
1856
+ numberOfPositions?: number | undefined;
1857
+ workHours?: number | undefined;
1858
+ jobQualifications?: {
1859
+ qualificationId: string;
1860
+ qualificationTypeId?: string | undefined;
1861
+ }[] | undefined;
1862
+ currentCollaboration?: {
1863
+ id: string;
1864
+ } | undefined;
1865
+ }>;
1866
+ path: "/v2/jobs/:id";
1867
+ responses: {
1868
+ 400: z.ZodObject<{
1869
+ statusCode: z.ZodNumber;
1870
+ message: z.ZodString;
1871
+ code: z.ZodString;
1872
+ details: z.ZodOptional<z.ZodUnknown>;
1873
+ timestamp: z.ZodString;
1874
+ path: z.ZodString;
1875
+ correlationId: z.ZodOptional<z.ZodString>;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ statusCode: number;
1878
+ message: string;
1879
+ code: string;
1880
+ timestamp: string;
1881
+ path: string;
1882
+ details?: unknown;
1883
+ correlationId?: string | undefined;
1884
+ }, {
1885
+ statusCode: number;
1886
+ message: string;
1887
+ code: string;
1888
+ timestamp: string;
1889
+ path: string;
1890
+ details?: unknown;
1891
+ correlationId?: string | undefined;
1892
+ }>;
1893
+ 401: z.ZodObject<{
1894
+ statusCode: z.ZodNumber;
1895
+ message: z.ZodString;
1896
+ code: z.ZodString;
1897
+ details: z.ZodOptional<z.ZodUnknown>;
1898
+ timestamp: z.ZodString;
1899
+ path: z.ZodString;
1900
+ correlationId: z.ZodOptional<z.ZodString>;
1901
+ }, "strip", z.ZodTypeAny, {
1902
+ statusCode: number;
1903
+ message: string;
1904
+ code: string;
1905
+ timestamp: string;
1906
+ path: string;
1907
+ details?: unknown;
1908
+ correlationId?: string | undefined;
1909
+ }, {
1910
+ statusCode: number;
1911
+ message: string;
1912
+ code: string;
1913
+ timestamp: string;
1914
+ path: string;
1915
+ details?: unknown;
1916
+ correlationId?: string | undefined;
1917
+ }>;
1918
+ 403: z.ZodObject<{
1919
+ statusCode: z.ZodNumber;
1920
+ message: z.ZodString;
1921
+ code: z.ZodString;
1922
+ details: z.ZodOptional<z.ZodUnknown>;
1923
+ timestamp: z.ZodString;
1924
+ path: z.ZodString;
1925
+ correlationId: z.ZodOptional<z.ZodString>;
1926
+ }, "strip", z.ZodTypeAny, {
1927
+ statusCode: number;
1928
+ message: string;
1929
+ code: string;
1930
+ timestamp: string;
1931
+ path: string;
1932
+ details?: unknown;
1933
+ correlationId?: string | undefined;
1934
+ }, {
1935
+ statusCode: number;
1936
+ message: string;
1937
+ code: string;
1938
+ timestamp: string;
1939
+ path: string;
1940
+ details?: unknown;
1941
+ correlationId?: string | undefined;
1942
+ }>;
1943
+ 500: z.ZodObject<{
1944
+ statusCode: z.ZodNumber;
1945
+ message: z.ZodString;
1946
+ code: z.ZodString;
1947
+ details: z.ZodOptional<z.ZodUnknown>;
1948
+ timestamp: z.ZodString;
1949
+ path: z.ZodString;
1950
+ correlationId: z.ZodOptional<z.ZodString>;
1951
+ }, "strip", z.ZodTypeAny, {
1952
+ statusCode: number;
1953
+ message: string;
1954
+ code: string;
1955
+ timestamp: string;
1956
+ path: string;
1957
+ details?: unknown;
1958
+ correlationId?: string | undefined;
1959
+ }, {
1960
+ statusCode: number;
1961
+ message: string;
1962
+ code: string;
1963
+ timestamp: string;
1964
+ path: string;
1965
+ details?: unknown;
1966
+ correlationId?: string | undefined;
1967
+ }>;
1968
+ 200: z.ZodObject<{
1969
+ id: z.ZodString;
1970
+ description: z.ZodString;
1971
+ numberOfPositions: z.ZodNumber;
1972
+ workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1973
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
1974
+ pay: z.ZodObject<{
1975
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1976
+ rate: z.ZodNumber;
1977
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1978
+ receivedRate: z.ZodNumber;
1979
+ }, "strip", z.ZodTypeAny, {
1980
+ rate: number;
1981
+ rateUnit: "DAILY" | "HOURLY";
1982
+ receivedRate: number;
1983
+ rateMax?: number | null | undefined;
1984
+ }, {
1985
+ rate: number;
1986
+ rateUnit: "DAILY" | "HOURLY";
1987
+ receivedRate: number;
1988
+ rateMax?: number | null | undefined;
1989
+ }>;
1990
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1991
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1992
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1993
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1994
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1995
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1996
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1997
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1998
+ }, "strip", z.ZodTypeAny, {
1999
+ address?: string | null | undefined;
2000
+ postcode?: string | null | undefined;
2001
+ county?: string | null | undefined;
2002
+ adminDistrict?: string | null | undefined;
2003
+ builtUpArea?: string | null | undefined;
2004
+ postTown?: string | null | undefined;
2005
+ areaCovered?: string | null | undefined;
2006
+ }, {
2007
+ address?: string | null | undefined;
2008
+ postcode?: string | null | undefined;
2009
+ county?: string | null | undefined;
2010
+ adminDistrict?: string | null | undefined;
2011
+ builtUpArea?: string | null | undefined;
2012
+ postTown?: string | null | undefined;
2013
+ areaCovered?: string | null | undefined;
2014
+ }>>>;
2015
+ tradeId: z.ZodString;
2016
+ jobQualifications: z.ZodArray<z.ZodObject<{
2017
+ id: z.ZodString;
2018
+ qualificationId: z.ZodString;
2019
+ qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2020
+ }, "strip", z.ZodTypeAny, {
2021
+ id: string;
2022
+ qualificationId: string;
2023
+ qualificationTypeId?: string | null | undefined;
2024
+ }, {
2025
+ id: string;
2026
+ qualificationId: string;
2027
+ qualificationTypeId?: string | null | undefined;
2028
+ }>, "many">;
2029
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2030
+ id: z.ZodString;
2031
+ }, "strip", z.ZodTypeAny, {
2032
+ id: string;
2033
+ }, {
2034
+ id: string;
2035
+ }>>>;
2036
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2037
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2038
+ }, "strip", z.ZodTypeAny, {
2039
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
2040
+ description: string;
2041
+ id: string;
2042
+ createdAt: string;
2043
+ updatedAt: string;
2044
+ pay: {
2045
+ rate: number;
2046
+ rateUnit: "DAILY" | "HOURLY";
2047
+ receivedRate: number;
2048
+ rateMax?: number | null | undefined;
2049
+ };
2050
+ tradeId: string;
2051
+ numberOfPositions: number;
2052
+ jobQualifications: {
2053
+ id: string;
2054
+ qualificationId: string;
2055
+ qualificationTypeId?: string | null | undefined;
2056
+ }[];
2057
+ location?: {
2058
+ address?: string | null | undefined;
2059
+ postcode?: string | null | undefined;
2060
+ county?: string | null | undefined;
2061
+ adminDistrict?: string | null | undefined;
2062
+ builtUpArea?: string | null | undefined;
2063
+ postTown?: string | null | undefined;
2064
+ areaCovered?: string | null | undefined;
2065
+ } | null | undefined;
2066
+ workHours?: number | null | undefined;
2067
+ currentCollaboration?: {
2068
+ id: string;
2069
+ } | null | undefined;
2070
+ }, {
2071
+ status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
2072
+ description: string;
2073
+ id: string;
2074
+ createdAt: string | Date;
2075
+ updatedAt: string | Date;
2076
+ pay: {
2077
+ rate: number;
2078
+ rateUnit: "DAILY" | "HOURLY";
2079
+ receivedRate: number;
2080
+ rateMax?: number | null | undefined;
2081
+ };
2082
+ tradeId: string;
2083
+ numberOfPositions: number;
2084
+ jobQualifications: {
2085
+ id: string;
2086
+ qualificationId: string;
2087
+ qualificationTypeId?: string | null | undefined;
2088
+ }[];
2089
+ location?: {
2090
+ address?: string | null | undefined;
2091
+ postcode?: string | null | undefined;
2092
+ county?: string | null | undefined;
2093
+ adminDistrict?: string | null | undefined;
2094
+ builtUpArea?: string | null | undefined;
2095
+ postTown?: string | null | undefined;
2096
+ areaCovered?: string | null | undefined;
2097
+ } | null | undefined;
2098
+ workHours?: number | null | undefined;
2099
+ currentCollaboration?: {
2100
+ id: string;
2101
+ } | null | undefined;
2102
+ }>;
2103
+ 404: z.ZodObject<{
2104
+ statusCode: z.ZodNumber;
2105
+ message: z.ZodString;
2106
+ code: z.ZodString;
2107
+ details: z.ZodOptional<z.ZodUnknown>;
2108
+ timestamp: z.ZodString;
2109
+ path: z.ZodString;
2110
+ correlationId: z.ZodOptional<z.ZodString>;
2111
+ }, "strip", z.ZodTypeAny, {
2112
+ statusCode: number;
2113
+ message: string;
2114
+ code: string;
2115
+ timestamp: string;
2116
+ path: string;
2117
+ details?: unknown;
2118
+ correlationId?: string | undefined;
2119
+ }, {
2120
+ statusCode: number;
2121
+ message: string;
2122
+ code: string;
2123
+ timestamp: string;
2124
+ path: string;
2125
+ details?: unknown;
2126
+ correlationId?: string | undefined;
2127
+ }>;
2128
+ 409: z.ZodObject<{
2129
+ statusCode: z.ZodNumber;
2130
+ message: z.ZodString;
2131
+ code: z.ZodString;
2132
+ details: z.ZodOptional<z.ZodUnknown>;
2133
+ timestamp: z.ZodString;
2134
+ path: z.ZodString;
2135
+ correlationId: z.ZodOptional<z.ZodString>;
2136
+ }, "strip", z.ZodTypeAny, {
2137
+ statusCode: number;
2138
+ message: string;
2139
+ code: string;
2140
+ timestamp: string;
2141
+ path: string;
2142
+ details?: unknown;
2143
+ correlationId?: string | undefined;
2144
+ }, {
2145
+ statusCode: number;
2146
+ message: string;
2147
+ code: string;
2148
+ timestamp: string;
2149
+ path: string;
2150
+ details?: unknown;
2151
+ correlationId?: string | undefined;
2152
+ }>;
2153
+ };
2154
+ };
2155
+ remove: {
2156
+ metadata: {
2157
+ tags: string[];
2158
+ openApi: {
2159
+ operationId: string;
2160
+ };
2161
+ };
2162
+ pathParams: z.ZodObject<{
2163
+ id: z.ZodString;
2164
+ }, "strip", z.ZodTypeAny, {
2165
+ id: string;
2166
+ }, {
2167
+ id: string;
2168
+ }>;
2169
+ summary: "Delete a job";
2170
+ method: "DELETE";
2171
+ body: typeof import("@ts-rest/core").ContractNoBody;
2172
+ path: "/v2/jobs/:id";
2173
+ responses: {
2174
+ 400: z.ZodObject<{
2175
+ statusCode: z.ZodNumber;
2176
+ message: z.ZodString;
2177
+ code: z.ZodString;
2178
+ details: z.ZodOptional<z.ZodUnknown>;
2179
+ timestamp: z.ZodString;
2180
+ path: z.ZodString;
2181
+ correlationId: z.ZodOptional<z.ZodString>;
2182
+ }, "strip", z.ZodTypeAny, {
2183
+ statusCode: number;
2184
+ message: string;
2185
+ code: string;
2186
+ timestamp: string;
2187
+ path: string;
2188
+ details?: unknown;
2189
+ correlationId?: string | undefined;
2190
+ }, {
2191
+ statusCode: number;
2192
+ message: string;
2193
+ code: string;
2194
+ timestamp: string;
2195
+ path: string;
2196
+ details?: unknown;
2197
+ correlationId?: string | undefined;
2198
+ }>;
2199
+ 401: z.ZodObject<{
2200
+ statusCode: z.ZodNumber;
2201
+ message: z.ZodString;
2202
+ code: z.ZodString;
2203
+ details: z.ZodOptional<z.ZodUnknown>;
2204
+ timestamp: z.ZodString;
2205
+ path: z.ZodString;
2206
+ correlationId: z.ZodOptional<z.ZodString>;
2207
+ }, "strip", z.ZodTypeAny, {
2208
+ statusCode: number;
2209
+ message: string;
2210
+ code: string;
2211
+ timestamp: string;
2212
+ path: string;
2213
+ details?: unknown;
2214
+ correlationId?: string | undefined;
2215
+ }, {
2216
+ statusCode: number;
2217
+ message: string;
2218
+ code: string;
2219
+ timestamp: string;
2220
+ path: string;
2221
+ details?: unknown;
2222
+ correlationId?: string | undefined;
2223
+ }>;
2224
+ 403: z.ZodObject<{
2225
+ statusCode: z.ZodNumber;
2226
+ message: z.ZodString;
2227
+ code: z.ZodString;
2228
+ details: z.ZodOptional<z.ZodUnknown>;
2229
+ timestamp: z.ZodString;
2230
+ path: z.ZodString;
2231
+ correlationId: z.ZodOptional<z.ZodString>;
2232
+ }, "strip", z.ZodTypeAny, {
2233
+ statusCode: number;
2234
+ message: string;
2235
+ code: string;
2236
+ timestamp: string;
2237
+ path: string;
2238
+ details?: unknown;
2239
+ correlationId?: string | undefined;
2240
+ }, {
2241
+ statusCode: number;
2242
+ message: string;
2243
+ code: string;
2244
+ timestamp: string;
2245
+ path: string;
2246
+ details?: unknown;
2247
+ correlationId?: string | undefined;
2248
+ }>;
2249
+ 500: z.ZodObject<{
2250
+ statusCode: z.ZodNumber;
2251
+ message: z.ZodString;
2252
+ code: z.ZodString;
2253
+ details: z.ZodOptional<z.ZodUnknown>;
2254
+ timestamp: z.ZodString;
2255
+ path: z.ZodString;
2256
+ correlationId: z.ZodOptional<z.ZodString>;
2257
+ }, "strip", z.ZodTypeAny, {
2258
+ statusCode: number;
2259
+ message: string;
2260
+ code: string;
2261
+ timestamp: string;
2262
+ path: string;
2263
+ details?: unknown;
2264
+ correlationId?: string | undefined;
2265
+ }, {
2266
+ statusCode: number;
2267
+ message: string;
2268
+ code: string;
2269
+ timestamp: string;
2270
+ path: string;
2271
+ details?: unknown;
2272
+ correlationId?: string | undefined;
2273
+ }>;
2274
+ 204: z.ZodUndefined;
2275
+ 404: z.ZodObject<{
2276
+ statusCode: z.ZodNumber;
2277
+ message: z.ZodString;
2278
+ code: z.ZodString;
2279
+ details: z.ZodOptional<z.ZodUnknown>;
2280
+ timestamp: z.ZodString;
2281
+ path: z.ZodString;
2282
+ correlationId: z.ZodOptional<z.ZodString>;
2283
+ }, "strip", z.ZodTypeAny, {
2284
+ statusCode: number;
2285
+ message: string;
2286
+ code: string;
2287
+ timestamp: string;
2288
+ path: string;
2289
+ details?: unknown;
2290
+ correlationId?: string | undefined;
2291
+ }, {
2292
+ statusCode: number;
2293
+ message: string;
2294
+ code: string;
2295
+ timestamp: string;
2296
+ path: string;
2297
+ details?: unknown;
2298
+ correlationId?: string | undefined;
2299
+ }>;
2300
+ };
2301
+ };
2302
+ };
2303
+ //# sourceMappingURL=jobs.contract.d.ts.map