@dakkitor/api-contracts 1.1.20 → 1.1.22
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.
- package/dist/actives/actives.contract.d.ts +5228 -384
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +4729 -439
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +7 -42
- package/dist/collaborations/collaborations.contract.d.ts +379 -379
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -4
- package/dist/index.d.ts +54 -33101
- package/dist/index.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.d.ts +1270 -400
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +8 -13
- package/dist/workers/workers.contract.d.ts +418 -418
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +5 -1
- package/package.json +1 -1
|
@@ -15,16 +15,16 @@ export type JobSortableFields = z.infer<typeof JobSortableFieldsSchema>;
|
|
|
15
15
|
export declare const PaySchema: z.ZodObject<{
|
|
16
16
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
17
17
|
rate: z.ZodNumber;
|
|
18
|
-
rateMax: z.
|
|
18
|
+
rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
19
19
|
receivedRate: z.ZodNumber;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
rate: number;
|
|
22
21
|
rateUnit: "DAILY" | "HOURLY";
|
|
22
|
+
rate: number;
|
|
23
23
|
receivedRate: number;
|
|
24
24
|
rateMax?: number | null | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
rate: number;
|
|
27
26
|
rateUnit: "DAILY" | "HOURLY";
|
|
27
|
+
rate: number;
|
|
28
28
|
receivedRate: number;
|
|
29
29
|
rateMax?: number | null | undefined;
|
|
30
30
|
}>;
|
|
@@ -86,16 +86,16 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
86
86
|
pay: z.ZodObject<{
|
|
87
87
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
88
88
|
rate: z.ZodNumber;
|
|
89
|
-
rateMax: z.
|
|
89
|
+
rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
90
90
|
receivedRate: z.ZodNumber;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
rate: number;
|
|
93
92
|
rateUnit: "DAILY" | "HOURLY";
|
|
93
|
+
rate: number;
|
|
94
94
|
receivedRate: number;
|
|
95
95
|
rateMax?: number | null | undefined;
|
|
96
96
|
}, {
|
|
97
|
-
rate: number;
|
|
98
97
|
rateUnit: "DAILY" | "HOURLY";
|
|
98
|
+
rate: number;
|
|
99
99
|
receivedRate: number;
|
|
100
100
|
rateMax?: number | null | undefined;
|
|
101
101
|
}>;
|
|
@@ -125,7 +125,7 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
125
125
|
areaCovered?: string | null | undefined;
|
|
126
126
|
}>>>;
|
|
127
127
|
tradeId: z.ZodString;
|
|
128
|
-
jobQualifications: z.ZodArray<z.ZodObject<{
|
|
128
|
+
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
129
129
|
id: z.ZodString;
|
|
130
130
|
qualificationId: z.ZodString;
|
|
131
131
|
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -137,35 +137,149 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
137
137
|
id: string;
|
|
138
138
|
qualificationId: string;
|
|
139
139
|
qualificationTypeId?: string | null | undefined;
|
|
140
|
-
}>, "many"
|
|
141
|
-
currentCollaboration: z.
|
|
140
|
+
}>, "many">>>;
|
|
141
|
+
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
142
142
|
id: z.ZodString;
|
|
143
|
+
company: z.ZodObject<{
|
|
144
|
+
id: z.ZodString;
|
|
145
|
+
name: z.ZodString;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
id: string;
|
|
148
|
+
name: string;
|
|
149
|
+
}, {
|
|
150
|
+
id: string;
|
|
151
|
+
name: string;
|
|
152
|
+
}>;
|
|
153
|
+
client: z.ZodObject<{
|
|
154
|
+
id: z.ZodString;
|
|
155
|
+
name: z.ZodString;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
id: string;
|
|
158
|
+
name: string;
|
|
159
|
+
}, {
|
|
160
|
+
id: string;
|
|
161
|
+
name: string;
|
|
162
|
+
}>;
|
|
163
|
+
user: z.ZodObject<{
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
firstName: z.ZodString;
|
|
166
|
+
lastName: z.ZodString;
|
|
167
|
+
email: z.ZodString;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
id: string;
|
|
170
|
+
firstName: string;
|
|
171
|
+
lastName: string;
|
|
172
|
+
email: string;
|
|
173
|
+
}, {
|
|
174
|
+
id: string;
|
|
175
|
+
firstName: string;
|
|
176
|
+
lastName: string;
|
|
177
|
+
email: string;
|
|
178
|
+
}>;
|
|
179
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
180
|
+
userId: z.ZodString;
|
|
181
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
182
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
183
|
+
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
184
|
+
id: z.ZodString;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
id: string;
|
|
187
|
+
}, {
|
|
188
|
+
id: string;
|
|
189
|
+
}>>>;
|
|
143
190
|
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
192
|
+
createdAt: string;
|
|
193
|
+
updatedAt: string;
|
|
144
194
|
id: string;
|
|
195
|
+
company: {
|
|
196
|
+
id: string;
|
|
197
|
+
name: string;
|
|
198
|
+
};
|
|
199
|
+
client: {
|
|
200
|
+
id: string;
|
|
201
|
+
name: string;
|
|
202
|
+
};
|
|
203
|
+
user: {
|
|
204
|
+
id: string;
|
|
205
|
+
firstName: string;
|
|
206
|
+
lastName: string;
|
|
207
|
+
email: string;
|
|
208
|
+
};
|
|
209
|
+
userId: string;
|
|
210
|
+
newCollaboration?: {
|
|
211
|
+
id: string;
|
|
212
|
+
} | null | undefined;
|
|
145
213
|
}, {
|
|
214
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
215
|
+
createdAt: string | Date;
|
|
216
|
+
updatedAt: string | Date;
|
|
146
217
|
id: string;
|
|
147
|
-
|
|
218
|
+
company: {
|
|
219
|
+
id: string;
|
|
220
|
+
name: string;
|
|
221
|
+
};
|
|
222
|
+
client: {
|
|
223
|
+
id: string;
|
|
224
|
+
name: string;
|
|
225
|
+
};
|
|
226
|
+
user: {
|
|
227
|
+
id: string;
|
|
228
|
+
firstName: string;
|
|
229
|
+
lastName: string;
|
|
230
|
+
email: string;
|
|
231
|
+
};
|
|
232
|
+
userId: string;
|
|
233
|
+
newCollaboration?: {
|
|
234
|
+
id: string;
|
|
235
|
+
} | null | undefined;
|
|
236
|
+
}>>;
|
|
148
237
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
149
238
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
150
239
|
}, "strip", z.ZodTypeAny, {
|
|
151
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
152
240
|
description: string;
|
|
153
|
-
|
|
241
|
+
numberOfPositions: number;
|
|
242
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
154
243
|
createdAt: string;
|
|
155
244
|
updatedAt: string;
|
|
245
|
+
id: string;
|
|
156
246
|
pay: {
|
|
157
|
-
rate: number;
|
|
158
247
|
rateUnit: "DAILY" | "HOURLY";
|
|
248
|
+
rate: number;
|
|
159
249
|
receivedRate: number;
|
|
160
250
|
rateMax?: number | null | undefined;
|
|
161
251
|
};
|
|
162
252
|
tradeId: string;
|
|
163
|
-
numberOfPositions: number;
|
|
164
253
|
jobQualifications: {
|
|
165
254
|
id: string;
|
|
166
255
|
qualificationId: string;
|
|
167
256
|
qualificationTypeId?: string | null | undefined;
|
|
168
257
|
}[];
|
|
258
|
+
currentCollaboration: {
|
|
259
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
260
|
+
createdAt: string;
|
|
261
|
+
updatedAt: string;
|
|
262
|
+
id: string;
|
|
263
|
+
company: {
|
|
264
|
+
id: string;
|
|
265
|
+
name: string;
|
|
266
|
+
};
|
|
267
|
+
client: {
|
|
268
|
+
id: string;
|
|
269
|
+
name: string;
|
|
270
|
+
};
|
|
271
|
+
user: {
|
|
272
|
+
id: string;
|
|
273
|
+
firstName: string;
|
|
274
|
+
lastName: string;
|
|
275
|
+
email: string;
|
|
276
|
+
};
|
|
277
|
+
userId: string;
|
|
278
|
+
newCollaboration?: {
|
|
279
|
+
id: string;
|
|
280
|
+
} | null | undefined;
|
|
281
|
+
} | null;
|
|
282
|
+
workHours?: number | null | undefined;
|
|
169
283
|
location?: {
|
|
170
284
|
address?: string | null | undefined;
|
|
171
285
|
postcode?: string | null | undefined;
|
|
@@ -175,29 +289,45 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
175
289
|
postTown?: string | null | undefined;
|
|
176
290
|
areaCovered?: string | null | undefined;
|
|
177
291
|
} | null | undefined;
|
|
178
|
-
workHours?: number | null | undefined;
|
|
179
|
-
currentCollaboration?: {
|
|
180
|
-
id: string;
|
|
181
|
-
} | null | undefined;
|
|
182
292
|
}, {
|
|
183
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
184
293
|
description: string;
|
|
185
|
-
|
|
294
|
+
numberOfPositions: number;
|
|
295
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
186
296
|
createdAt: string | Date;
|
|
187
297
|
updatedAt: string | Date;
|
|
298
|
+
id: string;
|
|
188
299
|
pay: {
|
|
189
|
-
rate: number;
|
|
190
300
|
rateUnit: "DAILY" | "HOURLY";
|
|
301
|
+
rate: number;
|
|
191
302
|
receivedRate: number;
|
|
192
303
|
rateMax?: number | null | undefined;
|
|
193
304
|
};
|
|
194
305
|
tradeId: string;
|
|
195
|
-
|
|
196
|
-
|
|
306
|
+
currentCollaboration: {
|
|
307
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
308
|
+
createdAt: string | Date;
|
|
309
|
+
updatedAt: string | Date;
|
|
197
310
|
id: string;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
311
|
+
company: {
|
|
312
|
+
id: string;
|
|
313
|
+
name: string;
|
|
314
|
+
};
|
|
315
|
+
client: {
|
|
316
|
+
id: string;
|
|
317
|
+
name: string;
|
|
318
|
+
};
|
|
319
|
+
user: {
|
|
320
|
+
id: string;
|
|
321
|
+
firstName: string;
|
|
322
|
+
lastName: string;
|
|
323
|
+
email: string;
|
|
324
|
+
};
|
|
325
|
+
userId: string;
|
|
326
|
+
newCollaboration?: {
|
|
327
|
+
id: string;
|
|
328
|
+
} | null | undefined;
|
|
329
|
+
} | null;
|
|
330
|
+
workHours?: number | null | undefined;
|
|
201
331
|
location?: {
|
|
202
332
|
address?: string | null | undefined;
|
|
203
333
|
postcode?: string | null | undefined;
|
|
@@ -207,10 +337,11 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
207
337
|
postTown?: string | null | undefined;
|
|
208
338
|
areaCovered?: string | null | undefined;
|
|
209
339
|
} | null | undefined;
|
|
210
|
-
|
|
211
|
-
currentCollaboration?: {
|
|
340
|
+
jobQualifications?: {
|
|
212
341
|
id: string;
|
|
213
|
-
|
|
342
|
+
qualificationId: string;
|
|
343
|
+
qualificationTypeId?: string | null | undefined;
|
|
344
|
+
}[] | undefined;
|
|
214
345
|
}>;
|
|
215
346
|
/**
|
|
216
347
|
* Create Job Schema
|
|
@@ -266,6 +397,7 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
266
397
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
267
398
|
}, "strip", z.ZodTypeAny, {
|
|
268
399
|
description: string;
|
|
400
|
+
numberOfPositions: number;
|
|
269
401
|
pay: {
|
|
270
402
|
rate: number;
|
|
271
403
|
receivedRate: number;
|
|
@@ -273,22 +405,22 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
273
405
|
rateMax?: number | undefined;
|
|
274
406
|
};
|
|
275
407
|
tradeId: string;
|
|
276
|
-
numberOfPositions: number;
|
|
277
408
|
currentCollaboration: {
|
|
278
409
|
id: string;
|
|
279
410
|
};
|
|
280
|
-
status?: "
|
|
411
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
412
|
+
workHours?: number | undefined;
|
|
281
413
|
location?: {
|
|
282
414
|
address?: string | undefined;
|
|
283
415
|
postcode?: string | undefined;
|
|
284
416
|
} | undefined;
|
|
285
|
-
workHours?: number | undefined;
|
|
286
417
|
jobQualifications?: {
|
|
287
418
|
qualificationId: string;
|
|
288
419
|
qualificationTypeId?: string | undefined;
|
|
289
420
|
}[] | undefined;
|
|
290
421
|
}, {
|
|
291
422
|
description: string;
|
|
423
|
+
numberOfPositions: number;
|
|
292
424
|
pay: {
|
|
293
425
|
rate: number;
|
|
294
426
|
receivedRate: number;
|
|
@@ -296,16 +428,15 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
296
428
|
rateMax?: number | undefined;
|
|
297
429
|
};
|
|
298
430
|
tradeId: string;
|
|
299
|
-
numberOfPositions: number;
|
|
300
431
|
currentCollaboration: {
|
|
301
432
|
id: string;
|
|
302
433
|
};
|
|
303
|
-
status?: "
|
|
434
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
435
|
+
workHours?: number | undefined;
|
|
304
436
|
location?: {
|
|
305
437
|
address?: string | undefined;
|
|
306
438
|
postcode?: string | undefined;
|
|
307
439
|
} | undefined;
|
|
308
|
-
workHours?: number | undefined;
|
|
309
440
|
jobQualifications?: {
|
|
310
441
|
qualificationId: string;
|
|
311
442
|
qualificationTypeId?: string | undefined;
|
|
@@ -364,21 +495,21 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
364
495
|
}>, "many">>;
|
|
365
496
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
366
497
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
368
498
|
description?: string | undefined;
|
|
499
|
+
numberOfPositions?: number | undefined;
|
|
500
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
501
|
+
workHours?: number | undefined;
|
|
369
502
|
pay?: {
|
|
370
503
|
rate: number;
|
|
371
504
|
receivedRate: number;
|
|
372
505
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
373
506
|
rateMax?: number | undefined;
|
|
374
507
|
} | undefined;
|
|
375
|
-
tradeId?: string | undefined;
|
|
376
508
|
location?: {
|
|
377
509
|
address?: string | undefined;
|
|
378
510
|
postcode?: string | undefined;
|
|
379
511
|
} | undefined;
|
|
380
|
-
|
|
381
|
-
workHours?: number | undefined;
|
|
512
|
+
tradeId?: string | undefined;
|
|
382
513
|
jobQualifications?: {
|
|
383
514
|
qualificationId: string;
|
|
384
515
|
qualificationTypeId?: string | undefined;
|
|
@@ -387,21 +518,21 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
387
518
|
id: string;
|
|
388
519
|
} | undefined;
|
|
389
520
|
}, {
|
|
390
|
-
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
391
521
|
description?: string | undefined;
|
|
522
|
+
numberOfPositions?: number | undefined;
|
|
523
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
524
|
+
workHours?: number | undefined;
|
|
392
525
|
pay?: {
|
|
393
526
|
rate: number;
|
|
394
527
|
receivedRate: number;
|
|
395
528
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
396
529
|
rateMax?: number | undefined;
|
|
397
530
|
} | undefined;
|
|
398
|
-
tradeId?: string | undefined;
|
|
399
531
|
location?: {
|
|
400
532
|
address?: string | undefined;
|
|
401
533
|
postcode?: string | undefined;
|
|
402
534
|
} | undefined;
|
|
403
|
-
|
|
404
|
-
workHours?: number | undefined;
|
|
535
|
+
tradeId?: string | undefined;
|
|
405
536
|
jobQualifications?: {
|
|
406
537
|
qualificationId: string;
|
|
407
538
|
qualificationTypeId?: string | undefined;
|
|
@@ -446,37 +577,37 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
446
577
|
}, "strip", z.ZodTypeAny, {
|
|
447
578
|
limit: number;
|
|
448
579
|
page: number;
|
|
449
|
-
status?: "
|
|
580
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
450
581
|
createdAt?: {
|
|
451
582
|
from?: string | null | undefined;
|
|
452
583
|
to?: string | null | undefined;
|
|
453
584
|
} | null | undefined;
|
|
454
|
-
sortBy?: "status" | "description" | "createdAt" | "updatedAt" | "numberOfPositions" | null | undefined;
|
|
455
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
456
585
|
pay?: {
|
|
457
586
|
minRate?: number | null | undefined;
|
|
458
587
|
maxRate?: number | null | undefined;
|
|
459
588
|
} | null | undefined;
|
|
460
|
-
tradeId?: string | null | undefined;
|
|
461
589
|
postcode?: string | null | undefined;
|
|
590
|
+
tradeId?: string | null | undefined;
|
|
462
591
|
distance?: number | null | undefined;
|
|
592
|
+
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
593
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
463
594
|
}, {
|
|
464
|
-
status?: "
|
|
595
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
465
596
|
createdAt?: {
|
|
466
597
|
from?: string | null | undefined;
|
|
467
598
|
to?: string | null | undefined;
|
|
468
599
|
} | 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
600
|
pay?: {
|
|
474
601
|
minRate?: number | null | undefined;
|
|
475
602
|
maxRate?: number | null | undefined;
|
|
476
603
|
} | null | undefined;
|
|
477
|
-
tradeId?: string | null | undefined;
|
|
478
604
|
postcode?: string | null | undefined;
|
|
605
|
+
tradeId?: string | null | undefined;
|
|
606
|
+
limit?: number | undefined;
|
|
607
|
+
page?: number | undefined;
|
|
479
608
|
distance?: number | null | undefined;
|
|
609
|
+
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
610
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
480
611
|
}>;
|
|
481
612
|
export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
482
613
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -488,16 +619,16 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
488
619
|
pay: z.ZodObject<{
|
|
489
620
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
490
621
|
rate: z.ZodNumber;
|
|
491
|
-
rateMax: z.
|
|
622
|
+
rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
492
623
|
receivedRate: z.ZodNumber;
|
|
493
624
|
}, "strip", z.ZodTypeAny, {
|
|
494
|
-
rate: number;
|
|
495
625
|
rateUnit: "DAILY" | "HOURLY";
|
|
626
|
+
rate: number;
|
|
496
627
|
receivedRate: number;
|
|
497
628
|
rateMax?: number | null | undefined;
|
|
498
629
|
}, {
|
|
499
|
-
rate: number;
|
|
500
630
|
rateUnit: "DAILY" | "HOURLY";
|
|
631
|
+
rate: number;
|
|
501
632
|
receivedRate: number;
|
|
502
633
|
rateMax?: number | null | undefined;
|
|
503
634
|
}>;
|
|
@@ -527,7 +658,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
527
658
|
areaCovered?: string | null | undefined;
|
|
528
659
|
}>>>;
|
|
529
660
|
tradeId: z.ZodString;
|
|
530
|
-
jobQualifications: z.ZodArray<z.ZodObject<{
|
|
661
|
+
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
531
662
|
id: z.ZodString;
|
|
532
663
|
qualificationId: z.ZodString;
|
|
533
664
|
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -539,35 +670,149 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
539
670
|
id: string;
|
|
540
671
|
qualificationId: string;
|
|
541
672
|
qualificationTypeId?: string | null | undefined;
|
|
542
|
-
}>, "many"
|
|
543
|
-
currentCollaboration: z.
|
|
673
|
+
}>, "many">>>;
|
|
674
|
+
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
544
675
|
id: z.ZodString;
|
|
676
|
+
company: z.ZodObject<{
|
|
677
|
+
id: z.ZodString;
|
|
678
|
+
name: z.ZodString;
|
|
679
|
+
}, "strip", z.ZodTypeAny, {
|
|
680
|
+
id: string;
|
|
681
|
+
name: string;
|
|
682
|
+
}, {
|
|
683
|
+
id: string;
|
|
684
|
+
name: string;
|
|
685
|
+
}>;
|
|
686
|
+
client: z.ZodObject<{
|
|
687
|
+
id: z.ZodString;
|
|
688
|
+
name: z.ZodString;
|
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
|
690
|
+
id: string;
|
|
691
|
+
name: string;
|
|
692
|
+
}, {
|
|
693
|
+
id: string;
|
|
694
|
+
name: string;
|
|
695
|
+
}>;
|
|
696
|
+
user: z.ZodObject<{
|
|
697
|
+
id: z.ZodString;
|
|
698
|
+
firstName: z.ZodString;
|
|
699
|
+
lastName: z.ZodString;
|
|
700
|
+
email: z.ZodString;
|
|
701
|
+
}, "strip", z.ZodTypeAny, {
|
|
702
|
+
id: string;
|
|
703
|
+
firstName: string;
|
|
704
|
+
lastName: string;
|
|
705
|
+
email: string;
|
|
706
|
+
}, {
|
|
707
|
+
id: string;
|
|
708
|
+
firstName: string;
|
|
709
|
+
lastName: string;
|
|
710
|
+
email: string;
|
|
711
|
+
}>;
|
|
712
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
713
|
+
userId: z.ZodString;
|
|
714
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
715
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
716
|
+
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
717
|
+
id: z.ZodString;
|
|
718
|
+
}, "strip", z.ZodTypeAny, {
|
|
719
|
+
id: string;
|
|
720
|
+
}, {
|
|
721
|
+
id: string;
|
|
722
|
+
}>>>;
|
|
545
723
|
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
725
|
+
createdAt: string;
|
|
726
|
+
updatedAt: string;
|
|
546
727
|
id: string;
|
|
728
|
+
company: {
|
|
729
|
+
id: string;
|
|
730
|
+
name: string;
|
|
731
|
+
};
|
|
732
|
+
client: {
|
|
733
|
+
id: string;
|
|
734
|
+
name: string;
|
|
735
|
+
};
|
|
736
|
+
user: {
|
|
737
|
+
id: string;
|
|
738
|
+
firstName: string;
|
|
739
|
+
lastName: string;
|
|
740
|
+
email: string;
|
|
741
|
+
};
|
|
742
|
+
userId: string;
|
|
743
|
+
newCollaboration?: {
|
|
744
|
+
id: string;
|
|
745
|
+
} | null | undefined;
|
|
547
746
|
}, {
|
|
747
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
748
|
+
createdAt: string | Date;
|
|
749
|
+
updatedAt: string | Date;
|
|
548
750
|
id: string;
|
|
549
|
-
|
|
751
|
+
company: {
|
|
752
|
+
id: string;
|
|
753
|
+
name: string;
|
|
754
|
+
};
|
|
755
|
+
client: {
|
|
756
|
+
id: string;
|
|
757
|
+
name: string;
|
|
758
|
+
};
|
|
759
|
+
user: {
|
|
760
|
+
id: string;
|
|
761
|
+
firstName: string;
|
|
762
|
+
lastName: string;
|
|
763
|
+
email: string;
|
|
764
|
+
};
|
|
765
|
+
userId: string;
|
|
766
|
+
newCollaboration?: {
|
|
767
|
+
id: string;
|
|
768
|
+
} | null | undefined;
|
|
769
|
+
}>>;
|
|
550
770
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
551
771
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
552
772
|
}, "strip", z.ZodTypeAny, {
|
|
553
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
554
773
|
description: string;
|
|
555
|
-
|
|
774
|
+
numberOfPositions: number;
|
|
775
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
556
776
|
createdAt: string;
|
|
557
777
|
updatedAt: string;
|
|
778
|
+
id: string;
|
|
558
779
|
pay: {
|
|
559
|
-
rate: number;
|
|
560
780
|
rateUnit: "DAILY" | "HOURLY";
|
|
781
|
+
rate: number;
|
|
561
782
|
receivedRate: number;
|
|
562
783
|
rateMax?: number | null | undefined;
|
|
563
784
|
};
|
|
564
785
|
tradeId: string;
|
|
565
|
-
numberOfPositions: number;
|
|
566
786
|
jobQualifications: {
|
|
567
787
|
id: string;
|
|
568
788
|
qualificationId: string;
|
|
569
789
|
qualificationTypeId?: string | null | undefined;
|
|
570
790
|
}[];
|
|
791
|
+
currentCollaboration: {
|
|
792
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
793
|
+
createdAt: string;
|
|
794
|
+
updatedAt: string;
|
|
795
|
+
id: string;
|
|
796
|
+
company: {
|
|
797
|
+
id: string;
|
|
798
|
+
name: string;
|
|
799
|
+
};
|
|
800
|
+
client: {
|
|
801
|
+
id: string;
|
|
802
|
+
name: string;
|
|
803
|
+
};
|
|
804
|
+
user: {
|
|
805
|
+
id: string;
|
|
806
|
+
firstName: string;
|
|
807
|
+
lastName: string;
|
|
808
|
+
email: string;
|
|
809
|
+
};
|
|
810
|
+
userId: string;
|
|
811
|
+
newCollaboration?: {
|
|
812
|
+
id: string;
|
|
813
|
+
} | null | undefined;
|
|
814
|
+
} | null;
|
|
815
|
+
workHours?: number | null | undefined;
|
|
571
816
|
location?: {
|
|
572
817
|
address?: string | null | undefined;
|
|
573
818
|
postcode?: string | null | undefined;
|
|
@@ -577,29 +822,45 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
577
822
|
postTown?: string | null | undefined;
|
|
578
823
|
areaCovered?: string | null | undefined;
|
|
579
824
|
} | null | undefined;
|
|
580
|
-
workHours?: number | null | undefined;
|
|
581
|
-
currentCollaboration?: {
|
|
582
|
-
id: string;
|
|
583
|
-
} | null | undefined;
|
|
584
825
|
}, {
|
|
585
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
586
826
|
description: string;
|
|
587
|
-
|
|
827
|
+
numberOfPositions: number;
|
|
828
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
588
829
|
createdAt: string | Date;
|
|
589
830
|
updatedAt: string | Date;
|
|
831
|
+
id: string;
|
|
590
832
|
pay: {
|
|
591
|
-
rate: number;
|
|
592
833
|
rateUnit: "DAILY" | "HOURLY";
|
|
834
|
+
rate: number;
|
|
593
835
|
receivedRate: number;
|
|
594
836
|
rateMax?: number | null | undefined;
|
|
595
837
|
};
|
|
596
838
|
tradeId: string;
|
|
597
|
-
|
|
598
|
-
|
|
839
|
+
currentCollaboration: {
|
|
840
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
841
|
+
createdAt: string | Date;
|
|
842
|
+
updatedAt: string | Date;
|
|
599
843
|
id: string;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
844
|
+
company: {
|
|
845
|
+
id: string;
|
|
846
|
+
name: string;
|
|
847
|
+
};
|
|
848
|
+
client: {
|
|
849
|
+
id: string;
|
|
850
|
+
name: string;
|
|
851
|
+
};
|
|
852
|
+
user: {
|
|
853
|
+
id: string;
|
|
854
|
+
firstName: string;
|
|
855
|
+
lastName: string;
|
|
856
|
+
email: string;
|
|
857
|
+
};
|
|
858
|
+
userId: string;
|
|
859
|
+
newCollaboration?: {
|
|
860
|
+
id: string;
|
|
861
|
+
} | null | undefined;
|
|
862
|
+
} | null;
|
|
863
|
+
workHours?: number | null | undefined;
|
|
603
864
|
location?: {
|
|
604
865
|
address?: string | null | undefined;
|
|
605
866
|
postcode?: string | null | undefined;
|
|
@@ -609,10 +870,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
609
870
|
postTown?: string | null | undefined;
|
|
610
871
|
areaCovered?: string | null | undefined;
|
|
611
872
|
} | null | undefined;
|
|
612
|
-
|
|
613
|
-
currentCollaboration?: {
|
|
873
|
+
jobQualifications?: {
|
|
614
874
|
id: string;
|
|
615
|
-
|
|
875
|
+
qualificationId: string;
|
|
876
|
+
qualificationTypeId?: string | null | undefined;
|
|
877
|
+
}[] | undefined;
|
|
616
878
|
}>, "many">;
|
|
617
879
|
totalCount: z.ZodNumber;
|
|
618
880
|
limit: z.ZodNumber;
|
|
@@ -620,25 +882,51 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
620
882
|
currentPage: z.ZodNumber;
|
|
621
883
|
totalPages: z.ZodNumber;
|
|
622
884
|
}, "strip", z.ZodTypeAny, {
|
|
885
|
+
limit: number;
|
|
623
886
|
items: {
|
|
624
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
625
887
|
description: string;
|
|
626
|
-
|
|
888
|
+
numberOfPositions: number;
|
|
889
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
627
890
|
createdAt: string;
|
|
628
891
|
updatedAt: string;
|
|
892
|
+
id: string;
|
|
629
893
|
pay: {
|
|
630
|
-
rate: number;
|
|
631
894
|
rateUnit: "DAILY" | "HOURLY";
|
|
895
|
+
rate: number;
|
|
632
896
|
receivedRate: number;
|
|
633
897
|
rateMax?: number | null | undefined;
|
|
634
898
|
};
|
|
635
899
|
tradeId: string;
|
|
636
|
-
numberOfPositions: number;
|
|
637
900
|
jobQualifications: {
|
|
638
901
|
id: string;
|
|
639
902
|
qualificationId: string;
|
|
640
903
|
qualificationTypeId?: string | null | undefined;
|
|
641
904
|
}[];
|
|
905
|
+
currentCollaboration: {
|
|
906
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
907
|
+
createdAt: string;
|
|
908
|
+
updatedAt: string;
|
|
909
|
+
id: string;
|
|
910
|
+
company: {
|
|
911
|
+
id: string;
|
|
912
|
+
name: string;
|
|
913
|
+
};
|
|
914
|
+
client: {
|
|
915
|
+
id: string;
|
|
916
|
+
name: string;
|
|
917
|
+
};
|
|
918
|
+
user: {
|
|
919
|
+
id: string;
|
|
920
|
+
firstName: string;
|
|
921
|
+
lastName: string;
|
|
922
|
+
email: string;
|
|
923
|
+
};
|
|
924
|
+
userId: string;
|
|
925
|
+
newCollaboration?: {
|
|
926
|
+
id: string;
|
|
927
|
+
} | null | undefined;
|
|
928
|
+
} | null;
|
|
929
|
+
workHours?: number | null | undefined;
|
|
642
930
|
location?: {
|
|
643
931
|
address?: string | null | undefined;
|
|
644
932
|
postcode?: string | null | undefined;
|
|
@@ -648,36 +936,52 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
648
936
|
postTown?: string | null | undefined;
|
|
649
937
|
areaCovered?: string | null | undefined;
|
|
650
938
|
} | null | undefined;
|
|
651
|
-
workHours?: number | null | undefined;
|
|
652
|
-
currentCollaboration?: {
|
|
653
|
-
id: string;
|
|
654
|
-
} | null | undefined;
|
|
655
939
|
}[];
|
|
656
940
|
totalCount: number;
|
|
657
|
-
limit: number;
|
|
658
941
|
skip: number;
|
|
659
942
|
currentPage: number;
|
|
660
943
|
totalPages: number;
|
|
661
944
|
}, {
|
|
945
|
+
limit: number;
|
|
662
946
|
items: {
|
|
663
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
664
947
|
description: string;
|
|
665
|
-
|
|
948
|
+
numberOfPositions: number;
|
|
949
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
666
950
|
createdAt: string | Date;
|
|
667
951
|
updatedAt: string | Date;
|
|
952
|
+
id: string;
|
|
668
953
|
pay: {
|
|
669
|
-
rate: number;
|
|
670
954
|
rateUnit: "DAILY" | "HOURLY";
|
|
955
|
+
rate: number;
|
|
671
956
|
receivedRate: number;
|
|
672
957
|
rateMax?: number | null | undefined;
|
|
673
958
|
};
|
|
674
959
|
tradeId: string;
|
|
675
|
-
|
|
676
|
-
|
|
960
|
+
currentCollaboration: {
|
|
961
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
962
|
+
createdAt: string | Date;
|
|
963
|
+
updatedAt: string | Date;
|
|
677
964
|
id: string;
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
965
|
+
company: {
|
|
966
|
+
id: string;
|
|
967
|
+
name: string;
|
|
968
|
+
};
|
|
969
|
+
client: {
|
|
970
|
+
id: string;
|
|
971
|
+
name: string;
|
|
972
|
+
};
|
|
973
|
+
user: {
|
|
974
|
+
id: string;
|
|
975
|
+
firstName: string;
|
|
976
|
+
lastName: string;
|
|
977
|
+
email: string;
|
|
978
|
+
};
|
|
979
|
+
userId: string;
|
|
980
|
+
newCollaboration?: {
|
|
981
|
+
id: string;
|
|
982
|
+
} | null | undefined;
|
|
983
|
+
} | null;
|
|
984
|
+
workHours?: number | null | undefined;
|
|
681
985
|
location?: {
|
|
682
986
|
address?: string | null | undefined;
|
|
683
987
|
postcode?: string | null | undefined;
|
|
@@ -687,13 +991,13 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
687
991
|
postTown?: string | null | undefined;
|
|
688
992
|
areaCovered?: string | null | undefined;
|
|
689
993
|
} | null | undefined;
|
|
690
|
-
|
|
691
|
-
currentCollaboration?: {
|
|
994
|
+
jobQualifications?: {
|
|
692
995
|
id: string;
|
|
693
|
-
|
|
996
|
+
qualificationId: string;
|
|
997
|
+
qualificationTypeId?: string | null | undefined;
|
|
998
|
+
}[] | undefined;
|
|
694
999
|
}[];
|
|
695
1000
|
totalCount: number;
|
|
696
|
-
limit: number;
|
|
697
1001
|
skip: number;
|
|
698
1002
|
currentPage: number;
|
|
699
1003
|
totalPages: number;
|
|
@@ -764,6 +1068,7 @@ export declare const jobsContractRouter: {
|
|
|
764
1068
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
765
1069
|
}, "strip", z.ZodTypeAny, {
|
|
766
1070
|
description: string;
|
|
1071
|
+
numberOfPositions: number;
|
|
767
1072
|
pay: {
|
|
768
1073
|
rate: number;
|
|
769
1074
|
receivedRate: number;
|
|
@@ -771,22 +1076,22 @@ export declare const jobsContractRouter: {
|
|
|
771
1076
|
rateMax?: number | undefined;
|
|
772
1077
|
};
|
|
773
1078
|
tradeId: string;
|
|
774
|
-
numberOfPositions: number;
|
|
775
1079
|
currentCollaboration: {
|
|
776
1080
|
id: string;
|
|
777
1081
|
};
|
|
778
|
-
status?: "
|
|
1082
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
1083
|
+
workHours?: number | undefined;
|
|
779
1084
|
location?: {
|
|
780
1085
|
address?: string | undefined;
|
|
781
1086
|
postcode?: string | undefined;
|
|
782
1087
|
} | undefined;
|
|
783
|
-
workHours?: number | undefined;
|
|
784
1088
|
jobQualifications?: {
|
|
785
1089
|
qualificationId: string;
|
|
786
1090
|
qualificationTypeId?: string | undefined;
|
|
787
1091
|
}[] | undefined;
|
|
788
1092
|
}, {
|
|
789
1093
|
description: string;
|
|
1094
|
+
numberOfPositions: number;
|
|
790
1095
|
pay: {
|
|
791
1096
|
rate: number;
|
|
792
1097
|
receivedRate: number;
|
|
@@ -794,16 +1099,15 @@ export declare const jobsContractRouter: {
|
|
|
794
1099
|
rateMax?: number | undefined;
|
|
795
1100
|
};
|
|
796
1101
|
tradeId: string;
|
|
797
|
-
numberOfPositions: number;
|
|
798
1102
|
currentCollaboration: {
|
|
799
1103
|
id: string;
|
|
800
1104
|
};
|
|
801
|
-
status?: "
|
|
1105
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
1106
|
+
workHours?: number | undefined;
|
|
802
1107
|
location?: {
|
|
803
1108
|
address?: string | undefined;
|
|
804
1109
|
postcode?: string | undefined;
|
|
805
1110
|
} | undefined;
|
|
806
|
-
workHours?: number | undefined;
|
|
807
1111
|
jobQualifications?: {
|
|
808
1112
|
qualificationId: string;
|
|
809
1113
|
qualificationTypeId?: string | undefined;
|
|
@@ -820,19 +1124,19 @@ export declare const jobsContractRouter: {
|
|
|
820
1124
|
path: z.ZodString;
|
|
821
1125
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
822
1126
|
}, "strip", z.ZodTypeAny, {
|
|
823
|
-
statusCode: number;
|
|
824
|
-
message: string;
|
|
825
1127
|
code: string;
|
|
826
|
-
timestamp: string;
|
|
827
1128
|
path: string;
|
|
1129
|
+
message: string;
|
|
1130
|
+
statusCode: number;
|
|
1131
|
+
timestamp: string;
|
|
828
1132
|
details?: unknown;
|
|
829
1133
|
correlationId?: string | undefined;
|
|
830
1134
|
}, {
|
|
831
|
-
statusCode: number;
|
|
832
|
-
message: string;
|
|
833
1135
|
code: string;
|
|
834
|
-
timestamp: string;
|
|
835
1136
|
path: string;
|
|
1137
|
+
message: string;
|
|
1138
|
+
statusCode: number;
|
|
1139
|
+
timestamp: string;
|
|
836
1140
|
details?: unknown;
|
|
837
1141
|
correlationId?: string | undefined;
|
|
838
1142
|
}>;
|
|
@@ -845,19 +1149,19 @@ export declare const jobsContractRouter: {
|
|
|
845
1149
|
path: z.ZodString;
|
|
846
1150
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
847
1151
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
-
statusCode: number;
|
|
849
|
-
message: string;
|
|
850
1152
|
code: string;
|
|
851
|
-
timestamp: string;
|
|
852
1153
|
path: string;
|
|
1154
|
+
message: string;
|
|
1155
|
+
statusCode: number;
|
|
1156
|
+
timestamp: string;
|
|
853
1157
|
details?: unknown;
|
|
854
1158
|
correlationId?: string | undefined;
|
|
855
1159
|
}, {
|
|
856
|
-
statusCode: number;
|
|
857
|
-
message: string;
|
|
858
1160
|
code: string;
|
|
859
|
-
timestamp: string;
|
|
860
1161
|
path: string;
|
|
1162
|
+
message: string;
|
|
1163
|
+
statusCode: number;
|
|
1164
|
+
timestamp: string;
|
|
861
1165
|
details?: unknown;
|
|
862
1166
|
correlationId?: string | undefined;
|
|
863
1167
|
}>;
|
|
@@ -870,19 +1174,19 @@ export declare const jobsContractRouter: {
|
|
|
870
1174
|
path: z.ZodString;
|
|
871
1175
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
872
1176
|
}, "strip", z.ZodTypeAny, {
|
|
873
|
-
statusCode: number;
|
|
874
|
-
message: string;
|
|
875
1177
|
code: string;
|
|
876
|
-
timestamp: string;
|
|
877
1178
|
path: string;
|
|
1179
|
+
message: string;
|
|
1180
|
+
statusCode: number;
|
|
1181
|
+
timestamp: string;
|
|
878
1182
|
details?: unknown;
|
|
879
1183
|
correlationId?: string | undefined;
|
|
880
1184
|
}, {
|
|
881
|
-
statusCode: number;
|
|
882
|
-
message: string;
|
|
883
1185
|
code: string;
|
|
884
|
-
timestamp: string;
|
|
885
1186
|
path: string;
|
|
1187
|
+
message: string;
|
|
1188
|
+
statusCode: number;
|
|
1189
|
+
timestamp: string;
|
|
886
1190
|
details?: unknown;
|
|
887
1191
|
correlationId?: string | undefined;
|
|
888
1192
|
}>;
|
|
@@ -895,19 +1199,19 @@ export declare const jobsContractRouter: {
|
|
|
895
1199
|
path: z.ZodString;
|
|
896
1200
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
897
1201
|
}, "strip", z.ZodTypeAny, {
|
|
898
|
-
statusCode: number;
|
|
899
|
-
message: string;
|
|
900
1202
|
code: string;
|
|
901
|
-
timestamp: string;
|
|
902
1203
|
path: string;
|
|
1204
|
+
message: string;
|
|
1205
|
+
statusCode: number;
|
|
1206
|
+
timestamp: string;
|
|
903
1207
|
details?: unknown;
|
|
904
1208
|
correlationId?: string | undefined;
|
|
905
1209
|
}, {
|
|
906
|
-
statusCode: number;
|
|
907
|
-
message: string;
|
|
908
1210
|
code: string;
|
|
909
|
-
timestamp: string;
|
|
910
1211
|
path: string;
|
|
1212
|
+
message: string;
|
|
1213
|
+
statusCode: number;
|
|
1214
|
+
timestamp: string;
|
|
911
1215
|
details?: unknown;
|
|
912
1216
|
correlationId?: string | undefined;
|
|
913
1217
|
}>;
|
|
@@ -920,16 +1224,16 @@ export declare const jobsContractRouter: {
|
|
|
920
1224
|
pay: z.ZodObject<{
|
|
921
1225
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
922
1226
|
rate: z.ZodNumber;
|
|
923
|
-
rateMax: z.
|
|
1227
|
+
rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
924
1228
|
receivedRate: z.ZodNumber;
|
|
925
1229
|
}, "strip", z.ZodTypeAny, {
|
|
926
|
-
rate: number;
|
|
927
1230
|
rateUnit: "DAILY" | "HOURLY";
|
|
1231
|
+
rate: number;
|
|
928
1232
|
receivedRate: number;
|
|
929
1233
|
rateMax?: number | null | undefined;
|
|
930
1234
|
}, {
|
|
931
|
-
rate: number;
|
|
932
1235
|
rateUnit: "DAILY" | "HOURLY";
|
|
1236
|
+
rate: number;
|
|
933
1237
|
receivedRate: number;
|
|
934
1238
|
rateMax?: number | null | undefined;
|
|
935
1239
|
}>;
|
|
@@ -959,7 +1263,7 @@ export declare const jobsContractRouter: {
|
|
|
959
1263
|
areaCovered?: string | null | undefined;
|
|
960
1264
|
}>>>;
|
|
961
1265
|
tradeId: z.ZodString;
|
|
962
|
-
jobQualifications: z.ZodArray<z.ZodObject<{
|
|
1266
|
+
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
963
1267
|
id: z.ZodString;
|
|
964
1268
|
qualificationId: z.ZodString;
|
|
965
1269
|
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -971,35 +1275,149 @@ export declare const jobsContractRouter: {
|
|
|
971
1275
|
id: string;
|
|
972
1276
|
qualificationId: string;
|
|
973
1277
|
qualificationTypeId?: string | null | undefined;
|
|
974
|
-
}>, "many"
|
|
975
|
-
currentCollaboration: z.
|
|
1278
|
+
}>, "many">>>;
|
|
1279
|
+
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
976
1280
|
id: z.ZodString;
|
|
1281
|
+
company: z.ZodObject<{
|
|
1282
|
+
id: z.ZodString;
|
|
1283
|
+
name: z.ZodString;
|
|
1284
|
+
}, "strip", z.ZodTypeAny, {
|
|
1285
|
+
id: string;
|
|
1286
|
+
name: string;
|
|
1287
|
+
}, {
|
|
1288
|
+
id: string;
|
|
1289
|
+
name: string;
|
|
1290
|
+
}>;
|
|
1291
|
+
client: z.ZodObject<{
|
|
1292
|
+
id: z.ZodString;
|
|
1293
|
+
name: z.ZodString;
|
|
1294
|
+
}, "strip", z.ZodTypeAny, {
|
|
1295
|
+
id: string;
|
|
1296
|
+
name: string;
|
|
1297
|
+
}, {
|
|
1298
|
+
id: string;
|
|
1299
|
+
name: string;
|
|
1300
|
+
}>;
|
|
1301
|
+
user: z.ZodObject<{
|
|
1302
|
+
id: z.ZodString;
|
|
1303
|
+
firstName: z.ZodString;
|
|
1304
|
+
lastName: z.ZodString;
|
|
1305
|
+
email: z.ZodString;
|
|
1306
|
+
}, "strip", z.ZodTypeAny, {
|
|
1307
|
+
id: string;
|
|
1308
|
+
firstName: string;
|
|
1309
|
+
lastName: string;
|
|
1310
|
+
email: string;
|
|
1311
|
+
}, {
|
|
1312
|
+
id: string;
|
|
1313
|
+
firstName: string;
|
|
1314
|
+
lastName: string;
|
|
1315
|
+
email: string;
|
|
1316
|
+
}>;
|
|
1317
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
1318
|
+
userId: z.ZodString;
|
|
1319
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1320
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1321
|
+
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1322
|
+
id: z.ZodString;
|
|
1323
|
+
}, "strip", z.ZodTypeAny, {
|
|
1324
|
+
id: string;
|
|
1325
|
+
}, {
|
|
1326
|
+
id: string;
|
|
1327
|
+
}>>>;
|
|
977
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1329
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1330
|
+
createdAt: string;
|
|
1331
|
+
updatedAt: string;
|
|
978
1332
|
id: string;
|
|
1333
|
+
company: {
|
|
1334
|
+
id: string;
|
|
1335
|
+
name: string;
|
|
1336
|
+
};
|
|
1337
|
+
client: {
|
|
1338
|
+
id: string;
|
|
1339
|
+
name: string;
|
|
1340
|
+
};
|
|
1341
|
+
user: {
|
|
1342
|
+
id: string;
|
|
1343
|
+
firstName: string;
|
|
1344
|
+
lastName: string;
|
|
1345
|
+
email: string;
|
|
1346
|
+
};
|
|
1347
|
+
userId: string;
|
|
1348
|
+
newCollaboration?: {
|
|
1349
|
+
id: string;
|
|
1350
|
+
} | null | undefined;
|
|
979
1351
|
}, {
|
|
1352
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1353
|
+
createdAt: string | Date;
|
|
1354
|
+
updatedAt: string | Date;
|
|
980
1355
|
id: string;
|
|
981
|
-
|
|
1356
|
+
company: {
|
|
1357
|
+
id: string;
|
|
1358
|
+
name: string;
|
|
1359
|
+
};
|
|
1360
|
+
client: {
|
|
1361
|
+
id: string;
|
|
1362
|
+
name: string;
|
|
1363
|
+
};
|
|
1364
|
+
user: {
|
|
1365
|
+
id: string;
|
|
1366
|
+
firstName: string;
|
|
1367
|
+
lastName: string;
|
|
1368
|
+
email: string;
|
|
1369
|
+
};
|
|
1370
|
+
userId: string;
|
|
1371
|
+
newCollaboration?: {
|
|
1372
|
+
id: string;
|
|
1373
|
+
} | null | undefined;
|
|
1374
|
+
}>>;
|
|
982
1375
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
983
1376
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
984
1377
|
}, "strip", z.ZodTypeAny, {
|
|
985
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
986
1378
|
description: string;
|
|
987
|
-
|
|
1379
|
+
numberOfPositions: number;
|
|
1380
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
988
1381
|
createdAt: string;
|
|
989
1382
|
updatedAt: string;
|
|
1383
|
+
id: string;
|
|
990
1384
|
pay: {
|
|
991
|
-
rate: number;
|
|
992
1385
|
rateUnit: "DAILY" | "HOURLY";
|
|
1386
|
+
rate: number;
|
|
993
1387
|
receivedRate: number;
|
|
994
1388
|
rateMax?: number | null | undefined;
|
|
995
1389
|
};
|
|
996
1390
|
tradeId: string;
|
|
997
|
-
numberOfPositions: number;
|
|
998
1391
|
jobQualifications: {
|
|
999
1392
|
id: string;
|
|
1000
1393
|
qualificationId: string;
|
|
1001
1394
|
qualificationTypeId?: string | null | undefined;
|
|
1002
1395
|
}[];
|
|
1396
|
+
currentCollaboration: {
|
|
1397
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1398
|
+
createdAt: string;
|
|
1399
|
+
updatedAt: string;
|
|
1400
|
+
id: string;
|
|
1401
|
+
company: {
|
|
1402
|
+
id: string;
|
|
1403
|
+
name: string;
|
|
1404
|
+
};
|
|
1405
|
+
client: {
|
|
1406
|
+
id: string;
|
|
1407
|
+
name: string;
|
|
1408
|
+
};
|
|
1409
|
+
user: {
|
|
1410
|
+
id: string;
|
|
1411
|
+
firstName: string;
|
|
1412
|
+
lastName: string;
|
|
1413
|
+
email: string;
|
|
1414
|
+
};
|
|
1415
|
+
userId: string;
|
|
1416
|
+
newCollaboration?: {
|
|
1417
|
+
id: string;
|
|
1418
|
+
} | null | undefined;
|
|
1419
|
+
} | null;
|
|
1420
|
+
workHours?: number | null | undefined;
|
|
1003
1421
|
location?: {
|
|
1004
1422
|
address?: string | null | undefined;
|
|
1005
1423
|
postcode?: string | null | undefined;
|
|
@@ -1009,29 +1427,45 @@ export declare const jobsContractRouter: {
|
|
|
1009
1427
|
postTown?: string | null | undefined;
|
|
1010
1428
|
areaCovered?: string | null | undefined;
|
|
1011
1429
|
} | null | undefined;
|
|
1012
|
-
workHours?: number | null | undefined;
|
|
1013
|
-
currentCollaboration?: {
|
|
1014
|
-
id: string;
|
|
1015
|
-
} | null | undefined;
|
|
1016
1430
|
}, {
|
|
1017
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1018
1431
|
description: string;
|
|
1019
|
-
|
|
1432
|
+
numberOfPositions: number;
|
|
1433
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1020
1434
|
createdAt: string | Date;
|
|
1021
1435
|
updatedAt: string | Date;
|
|
1436
|
+
id: string;
|
|
1022
1437
|
pay: {
|
|
1023
|
-
rate: number;
|
|
1024
1438
|
rateUnit: "DAILY" | "HOURLY";
|
|
1439
|
+
rate: number;
|
|
1025
1440
|
receivedRate: number;
|
|
1026
1441
|
rateMax?: number | null | undefined;
|
|
1027
1442
|
};
|
|
1028
1443
|
tradeId: string;
|
|
1029
|
-
|
|
1030
|
-
|
|
1444
|
+
currentCollaboration: {
|
|
1445
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1446
|
+
createdAt: string | Date;
|
|
1447
|
+
updatedAt: string | Date;
|
|
1031
1448
|
id: string;
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1449
|
+
company: {
|
|
1450
|
+
id: string;
|
|
1451
|
+
name: string;
|
|
1452
|
+
};
|
|
1453
|
+
client: {
|
|
1454
|
+
id: string;
|
|
1455
|
+
name: string;
|
|
1456
|
+
};
|
|
1457
|
+
user: {
|
|
1458
|
+
id: string;
|
|
1459
|
+
firstName: string;
|
|
1460
|
+
lastName: string;
|
|
1461
|
+
email: string;
|
|
1462
|
+
};
|
|
1463
|
+
userId: string;
|
|
1464
|
+
newCollaboration?: {
|
|
1465
|
+
id: string;
|
|
1466
|
+
} | null | undefined;
|
|
1467
|
+
} | null;
|
|
1468
|
+
workHours?: number | null | undefined;
|
|
1035
1469
|
location?: {
|
|
1036
1470
|
address?: string | null | undefined;
|
|
1037
1471
|
postcode?: string | null | undefined;
|
|
@@ -1041,10 +1475,11 @@ export declare const jobsContractRouter: {
|
|
|
1041
1475
|
postTown?: string | null | undefined;
|
|
1042
1476
|
areaCovered?: string | null | undefined;
|
|
1043
1477
|
} | null | undefined;
|
|
1044
|
-
|
|
1045
|
-
currentCollaboration?: {
|
|
1478
|
+
jobQualifications?: {
|
|
1046
1479
|
id: string;
|
|
1047
|
-
|
|
1480
|
+
qualificationId: string;
|
|
1481
|
+
qualificationTypeId?: string | null | undefined;
|
|
1482
|
+
}[] | undefined;
|
|
1048
1483
|
}>;
|
|
1049
1484
|
409: z.ZodObject<{
|
|
1050
1485
|
statusCode: z.ZodNumber;
|
|
@@ -1055,19 +1490,19 @@ export declare const jobsContractRouter: {
|
|
|
1055
1490
|
path: z.ZodString;
|
|
1056
1491
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1057
1492
|
}, "strip", z.ZodTypeAny, {
|
|
1058
|
-
statusCode: number;
|
|
1059
|
-
message: string;
|
|
1060
1493
|
code: string;
|
|
1061
|
-
timestamp: string;
|
|
1062
1494
|
path: string;
|
|
1495
|
+
message: string;
|
|
1496
|
+
statusCode: number;
|
|
1497
|
+
timestamp: string;
|
|
1063
1498
|
details?: unknown;
|
|
1064
1499
|
correlationId?: string | undefined;
|
|
1065
1500
|
}, {
|
|
1066
|
-
statusCode: number;
|
|
1067
|
-
message: string;
|
|
1068
1501
|
code: string;
|
|
1069
|
-
timestamp: string;
|
|
1070
1502
|
path: string;
|
|
1503
|
+
message: string;
|
|
1504
|
+
statusCode: number;
|
|
1505
|
+
timestamp: string;
|
|
1071
1506
|
details?: unknown;
|
|
1072
1507
|
correlationId?: string | undefined;
|
|
1073
1508
|
}>;
|
|
@@ -1113,37 +1548,37 @@ export declare const jobsContractRouter: {
|
|
|
1113
1548
|
}, "strip", z.ZodTypeAny, {
|
|
1114
1549
|
limit: number;
|
|
1115
1550
|
page: number;
|
|
1116
|
-
status?: "
|
|
1551
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1117
1552
|
createdAt?: {
|
|
1118
1553
|
from?: string | null | undefined;
|
|
1119
1554
|
to?: string | null | undefined;
|
|
1120
1555
|
} | null | undefined;
|
|
1121
|
-
sortBy?: "status" | "description" | "createdAt" | "updatedAt" | "numberOfPositions" | null | undefined;
|
|
1122
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1123
1556
|
pay?: {
|
|
1124
1557
|
minRate?: number | null | undefined;
|
|
1125
1558
|
maxRate?: number | null | undefined;
|
|
1126
1559
|
} | null | undefined;
|
|
1127
|
-
tradeId?: string | null | undefined;
|
|
1128
1560
|
postcode?: string | null | undefined;
|
|
1561
|
+
tradeId?: string | null | undefined;
|
|
1129
1562
|
distance?: number | null | undefined;
|
|
1563
|
+
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1564
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1130
1565
|
}, {
|
|
1131
|
-
status?: "
|
|
1566
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1132
1567
|
createdAt?: {
|
|
1133
1568
|
from?: string | null | undefined;
|
|
1134
1569
|
to?: string | null | undefined;
|
|
1135
1570
|
} | 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
1571
|
pay?: {
|
|
1141
1572
|
minRate?: number | null | undefined;
|
|
1142
1573
|
maxRate?: number | null | undefined;
|
|
1143
1574
|
} | null | undefined;
|
|
1144
|
-
tradeId?: string | null | undefined;
|
|
1145
1575
|
postcode?: string | null | undefined;
|
|
1576
|
+
tradeId?: string | null | undefined;
|
|
1577
|
+
limit?: number | undefined;
|
|
1578
|
+
page?: number | undefined;
|
|
1146
1579
|
distance?: number | null | undefined;
|
|
1580
|
+
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1581
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1147
1582
|
}>;
|
|
1148
1583
|
summary: "Get all jobs";
|
|
1149
1584
|
method: "GET";
|
|
@@ -1158,19 +1593,19 @@ export declare const jobsContractRouter: {
|
|
|
1158
1593
|
path: z.ZodString;
|
|
1159
1594
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1160
1595
|
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
statusCode: number;
|
|
1162
|
-
message: string;
|
|
1163
1596
|
code: string;
|
|
1164
|
-
timestamp: string;
|
|
1165
1597
|
path: string;
|
|
1598
|
+
message: string;
|
|
1599
|
+
statusCode: number;
|
|
1600
|
+
timestamp: string;
|
|
1166
1601
|
details?: unknown;
|
|
1167
1602
|
correlationId?: string | undefined;
|
|
1168
1603
|
}, {
|
|
1169
|
-
statusCode: number;
|
|
1170
|
-
message: string;
|
|
1171
1604
|
code: string;
|
|
1172
|
-
timestamp: string;
|
|
1173
1605
|
path: string;
|
|
1606
|
+
message: string;
|
|
1607
|
+
statusCode: number;
|
|
1608
|
+
timestamp: string;
|
|
1174
1609
|
details?: unknown;
|
|
1175
1610
|
correlationId?: string | undefined;
|
|
1176
1611
|
}>;
|
|
@@ -1183,19 +1618,19 @@ export declare const jobsContractRouter: {
|
|
|
1183
1618
|
path: z.ZodString;
|
|
1184
1619
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1185
1620
|
}, "strip", z.ZodTypeAny, {
|
|
1186
|
-
statusCode: number;
|
|
1187
|
-
message: string;
|
|
1188
1621
|
code: string;
|
|
1189
|
-
timestamp: string;
|
|
1190
1622
|
path: string;
|
|
1623
|
+
message: string;
|
|
1624
|
+
statusCode: number;
|
|
1625
|
+
timestamp: string;
|
|
1191
1626
|
details?: unknown;
|
|
1192
1627
|
correlationId?: string | undefined;
|
|
1193
1628
|
}, {
|
|
1194
|
-
statusCode: number;
|
|
1195
|
-
message: string;
|
|
1196
1629
|
code: string;
|
|
1197
|
-
timestamp: string;
|
|
1198
1630
|
path: string;
|
|
1631
|
+
message: string;
|
|
1632
|
+
statusCode: number;
|
|
1633
|
+
timestamp: string;
|
|
1199
1634
|
details?: unknown;
|
|
1200
1635
|
correlationId?: string | undefined;
|
|
1201
1636
|
}>;
|
|
@@ -1208,19 +1643,19 @@ export declare const jobsContractRouter: {
|
|
|
1208
1643
|
path: z.ZodString;
|
|
1209
1644
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1210
1645
|
}, "strip", z.ZodTypeAny, {
|
|
1211
|
-
statusCode: number;
|
|
1212
|
-
message: string;
|
|
1213
1646
|
code: string;
|
|
1214
|
-
timestamp: string;
|
|
1215
1647
|
path: string;
|
|
1648
|
+
message: string;
|
|
1649
|
+
statusCode: number;
|
|
1650
|
+
timestamp: string;
|
|
1216
1651
|
details?: unknown;
|
|
1217
1652
|
correlationId?: string | undefined;
|
|
1218
1653
|
}, {
|
|
1219
|
-
statusCode: number;
|
|
1220
|
-
message: string;
|
|
1221
1654
|
code: string;
|
|
1222
|
-
timestamp: string;
|
|
1223
1655
|
path: string;
|
|
1656
|
+
message: string;
|
|
1657
|
+
statusCode: number;
|
|
1658
|
+
timestamp: string;
|
|
1224
1659
|
details?: unknown;
|
|
1225
1660
|
correlationId?: string | undefined;
|
|
1226
1661
|
}>;
|
|
@@ -1233,19 +1668,19 @@ export declare const jobsContractRouter: {
|
|
|
1233
1668
|
path: z.ZodString;
|
|
1234
1669
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1235
1670
|
}, "strip", z.ZodTypeAny, {
|
|
1236
|
-
statusCode: number;
|
|
1237
|
-
message: string;
|
|
1238
1671
|
code: string;
|
|
1239
|
-
timestamp: string;
|
|
1240
1672
|
path: string;
|
|
1673
|
+
message: string;
|
|
1674
|
+
statusCode: number;
|
|
1675
|
+
timestamp: string;
|
|
1241
1676
|
details?: unknown;
|
|
1242
1677
|
correlationId?: string | undefined;
|
|
1243
1678
|
}, {
|
|
1244
|
-
statusCode: number;
|
|
1245
|
-
message: string;
|
|
1246
1679
|
code: string;
|
|
1247
|
-
timestamp: string;
|
|
1248
1680
|
path: string;
|
|
1681
|
+
message: string;
|
|
1682
|
+
statusCode: number;
|
|
1683
|
+
timestamp: string;
|
|
1249
1684
|
details?: unknown;
|
|
1250
1685
|
correlationId?: string | undefined;
|
|
1251
1686
|
}>;
|
|
@@ -1259,16 +1694,16 @@ export declare const jobsContractRouter: {
|
|
|
1259
1694
|
pay: z.ZodObject<{
|
|
1260
1695
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
1261
1696
|
rate: z.ZodNumber;
|
|
1262
|
-
rateMax: z.
|
|
1697
|
+
rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
1263
1698
|
receivedRate: z.ZodNumber;
|
|
1264
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1265
|
-
rate: number;
|
|
1266
1700
|
rateUnit: "DAILY" | "HOURLY";
|
|
1701
|
+
rate: number;
|
|
1267
1702
|
receivedRate: number;
|
|
1268
1703
|
rateMax?: number | null | undefined;
|
|
1269
1704
|
}, {
|
|
1270
|
-
rate: number;
|
|
1271
1705
|
rateUnit: "DAILY" | "HOURLY";
|
|
1706
|
+
rate: number;
|
|
1272
1707
|
receivedRate: number;
|
|
1273
1708
|
rateMax?: number | null | undefined;
|
|
1274
1709
|
}>;
|
|
@@ -1298,7 +1733,7 @@ export declare const jobsContractRouter: {
|
|
|
1298
1733
|
areaCovered?: string | null | undefined;
|
|
1299
1734
|
}>>>;
|
|
1300
1735
|
tradeId: z.ZodString;
|
|
1301
|
-
jobQualifications: z.ZodArray<z.ZodObject<{
|
|
1736
|
+
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1302
1737
|
id: z.ZodString;
|
|
1303
1738
|
qualificationId: z.ZodString;
|
|
1304
1739
|
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1310,36 +1745,150 @@ export declare const jobsContractRouter: {
|
|
|
1310
1745
|
id: string;
|
|
1311
1746
|
qualificationId: string;
|
|
1312
1747
|
qualificationTypeId?: string | null | undefined;
|
|
1313
|
-
}>, "many"
|
|
1314
|
-
currentCollaboration: z.
|
|
1748
|
+
}>, "many">>>;
|
|
1749
|
+
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
1315
1750
|
id: z.ZodString;
|
|
1751
|
+
company: z.ZodObject<{
|
|
1752
|
+
id: z.ZodString;
|
|
1753
|
+
name: z.ZodString;
|
|
1754
|
+
}, "strip", z.ZodTypeAny, {
|
|
1755
|
+
id: string;
|
|
1756
|
+
name: string;
|
|
1757
|
+
}, {
|
|
1758
|
+
id: string;
|
|
1759
|
+
name: string;
|
|
1760
|
+
}>;
|
|
1761
|
+
client: z.ZodObject<{
|
|
1762
|
+
id: z.ZodString;
|
|
1763
|
+
name: z.ZodString;
|
|
1764
|
+
}, "strip", z.ZodTypeAny, {
|
|
1765
|
+
id: string;
|
|
1766
|
+
name: string;
|
|
1767
|
+
}, {
|
|
1768
|
+
id: string;
|
|
1769
|
+
name: string;
|
|
1770
|
+
}>;
|
|
1771
|
+
user: z.ZodObject<{
|
|
1772
|
+
id: z.ZodString;
|
|
1773
|
+
firstName: z.ZodString;
|
|
1774
|
+
lastName: z.ZodString;
|
|
1775
|
+
email: z.ZodString;
|
|
1776
|
+
}, "strip", z.ZodTypeAny, {
|
|
1777
|
+
id: string;
|
|
1778
|
+
firstName: string;
|
|
1779
|
+
lastName: string;
|
|
1780
|
+
email: string;
|
|
1781
|
+
}, {
|
|
1782
|
+
id: string;
|
|
1783
|
+
firstName: string;
|
|
1784
|
+
lastName: string;
|
|
1785
|
+
email: string;
|
|
1786
|
+
}>;
|
|
1787
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
1788
|
+
userId: z.ZodString;
|
|
1789
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1790
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1791
|
+
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1792
|
+
id: z.ZodString;
|
|
1793
|
+
}, "strip", z.ZodTypeAny, {
|
|
1794
|
+
id: string;
|
|
1795
|
+
}, {
|
|
1796
|
+
id: string;
|
|
1797
|
+
}>>>;
|
|
1316
1798
|
}, "strip", z.ZodTypeAny, {
|
|
1799
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1800
|
+
createdAt: string;
|
|
1801
|
+
updatedAt: string;
|
|
1317
1802
|
id: string;
|
|
1803
|
+
company: {
|
|
1804
|
+
id: string;
|
|
1805
|
+
name: string;
|
|
1806
|
+
};
|
|
1807
|
+
client: {
|
|
1808
|
+
id: string;
|
|
1809
|
+
name: string;
|
|
1810
|
+
};
|
|
1811
|
+
user: {
|
|
1812
|
+
id: string;
|
|
1813
|
+
firstName: string;
|
|
1814
|
+
lastName: string;
|
|
1815
|
+
email: string;
|
|
1816
|
+
};
|
|
1817
|
+
userId: string;
|
|
1818
|
+
newCollaboration?: {
|
|
1819
|
+
id: string;
|
|
1820
|
+
} | null | undefined;
|
|
1318
1821
|
}, {
|
|
1822
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1823
|
+
createdAt: string | Date;
|
|
1824
|
+
updatedAt: string | Date;
|
|
1319
1825
|
id: string;
|
|
1320
|
-
|
|
1826
|
+
company: {
|
|
1827
|
+
id: string;
|
|
1828
|
+
name: string;
|
|
1829
|
+
};
|
|
1830
|
+
client: {
|
|
1831
|
+
id: string;
|
|
1832
|
+
name: string;
|
|
1833
|
+
};
|
|
1834
|
+
user: {
|
|
1835
|
+
id: string;
|
|
1836
|
+
firstName: string;
|
|
1837
|
+
lastName: string;
|
|
1838
|
+
email: string;
|
|
1839
|
+
};
|
|
1840
|
+
userId: string;
|
|
1841
|
+
newCollaboration?: {
|
|
1842
|
+
id: string;
|
|
1843
|
+
} | null | undefined;
|
|
1844
|
+
}>>;
|
|
1321
1845
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1322
1846
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1323
1847
|
}, "strip", z.ZodTypeAny, {
|
|
1324
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1325
1848
|
description: string;
|
|
1326
|
-
|
|
1849
|
+
numberOfPositions: number;
|
|
1850
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1327
1851
|
createdAt: string;
|
|
1328
1852
|
updatedAt: string;
|
|
1853
|
+
id: string;
|
|
1329
1854
|
pay: {
|
|
1330
|
-
rate: number;
|
|
1331
1855
|
rateUnit: "DAILY" | "HOURLY";
|
|
1856
|
+
rate: number;
|
|
1332
1857
|
receivedRate: number;
|
|
1333
1858
|
rateMax?: number | null | undefined;
|
|
1334
1859
|
};
|
|
1335
1860
|
tradeId: string;
|
|
1336
|
-
numberOfPositions: number;
|
|
1337
1861
|
jobQualifications: {
|
|
1338
1862
|
id: string;
|
|
1339
1863
|
qualificationId: string;
|
|
1340
1864
|
qualificationTypeId?: string | null | undefined;
|
|
1341
1865
|
}[];
|
|
1342
|
-
|
|
1866
|
+
currentCollaboration: {
|
|
1867
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1868
|
+
createdAt: string;
|
|
1869
|
+
updatedAt: string;
|
|
1870
|
+
id: string;
|
|
1871
|
+
company: {
|
|
1872
|
+
id: string;
|
|
1873
|
+
name: string;
|
|
1874
|
+
};
|
|
1875
|
+
client: {
|
|
1876
|
+
id: string;
|
|
1877
|
+
name: string;
|
|
1878
|
+
};
|
|
1879
|
+
user: {
|
|
1880
|
+
id: string;
|
|
1881
|
+
firstName: string;
|
|
1882
|
+
lastName: string;
|
|
1883
|
+
email: string;
|
|
1884
|
+
};
|
|
1885
|
+
userId: string;
|
|
1886
|
+
newCollaboration?: {
|
|
1887
|
+
id: string;
|
|
1888
|
+
} | null | undefined;
|
|
1889
|
+
} | null;
|
|
1890
|
+
workHours?: number | null | undefined;
|
|
1891
|
+
location?: {
|
|
1343
1892
|
address?: string | null | undefined;
|
|
1344
1893
|
postcode?: string | null | undefined;
|
|
1345
1894
|
county?: string | null | undefined;
|
|
@@ -1348,29 +1897,45 @@ export declare const jobsContractRouter: {
|
|
|
1348
1897
|
postTown?: string | null | undefined;
|
|
1349
1898
|
areaCovered?: string | null | undefined;
|
|
1350
1899
|
} | null | undefined;
|
|
1351
|
-
workHours?: number | null | undefined;
|
|
1352
|
-
currentCollaboration?: {
|
|
1353
|
-
id: string;
|
|
1354
|
-
} | null | undefined;
|
|
1355
1900
|
}, {
|
|
1356
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1357
1901
|
description: string;
|
|
1358
|
-
|
|
1902
|
+
numberOfPositions: number;
|
|
1903
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1359
1904
|
createdAt: string | Date;
|
|
1360
1905
|
updatedAt: string | Date;
|
|
1906
|
+
id: string;
|
|
1361
1907
|
pay: {
|
|
1362
|
-
rate: number;
|
|
1363
1908
|
rateUnit: "DAILY" | "HOURLY";
|
|
1909
|
+
rate: number;
|
|
1364
1910
|
receivedRate: number;
|
|
1365
1911
|
rateMax?: number | null | undefined;
|
|
1366
1912
|
};
|
|
1367
1913
|
tradeId: string;
|
|
1368
|
-
|
|
1369
|
-
|
|
1914
|
+
currentCollaboration: {
|
|
1915
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1916
|
+
createdAt: string | Date;
|
|
1917
|
+
updatedAt: string | Date;
|
|
1370
1918
|
id: string;
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1919
|
+
company: {
|
|
1920
|
+
id: string;
|
|
1921
|
+
name: string;
|
|
1922
|
+
};
|
|
1923
|
+
client: {
|
|
1924
|
+
id: string;
|
|
1925
|
+
name: string;
|
|
1926
|
+
};
|
|
1927
|
+
user: {
|
|
1928
|
+
id: string;
|
|
1929
|
+
firstName: string;
|
|
1930
|
+
lastName: string;
|
|
1931
|
+
email: string;
|
|
1932
|
+
};
|
|
1933
|
+
userId: string;
|
|
1934
|
+
newCollaboration?: {
|
|
1935
|
+
id: string;
|
|
1936
|
+
} | null | undefined;
|
|
1937
|
+
} | null;
|
|
1938
|
+
workHours?: number | null | undefined;
|
|
1374
1939
|
location?: {
|
|
1375
1940
|
address?: string | null | undefined;
|
|
1376
1941
|
postcode?: string | null | undefined;
|
|
@@ -1380,10 +1945,11 @@ export declare const jobsContractRouter: {
|
|
|
1380
1945
|
postTown?: string | null | undefined;
|
|
1381
1946
|
areaCovered?: string | null | undefined;
|
|
1382
1947
|
} | null | undefined;
|
|
1383
|
-
|
|
1384
|
-
currentCollaboration?: {
|
|
1948
|
+
jobQualifications?: {
|
|
1385
1949
|
id: string;
|
|
1386
|
-
|
|
1950
|
+
qualificationId: string;
|
|
1951
|
+
qualificationTypeId?: string | null | undefined;
|
|
1952
|
+
}[] | undefined;
|
|
1387
1953
|
}>, "many">;
|
|
1388
1954
|
totalCount: z.ZodNumber;
|
|
1389
1955
|
limit: z.ZodNumber;
|
|
@@ -1391,25 +1957,51 @@ export declare const jobsContractRouter: {
|
|
|
1391
1957
|
currentPage: z.ZodNumber;
|
|
1392
1958
|
totalPages: z.ZodNumber;
|
|
1393
1959
|
}, "strip", z.ZodTypeAny, {
|
|
1960
|
+
limit: number;
|
|
1394
1961
|
items: {
|
|
1395
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1396
1962
|
description: string;
|
|
1397
|
-
|
|
1963
|
+
numberOfPositions: number;
|
|
1964
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1398
1965
|
createdAt: string;
|
|
1399
1966
|
updatedAt: string;
|
|
1967
|
+
id: string;
|
|
1400
1968
|
pay: {
|
|
1401
|
-
rate: number;
|
|
1402
1969
|
rateUnit: "DAILY" | "HOURLY";
|
|
1970
|
+
rate: number;
|
|
1403
1971
|
receivedRate: number;
|
|
1404
1972
|
rateMax?: number | null | undefined;
|
|
1405
1973
|
};
|
|
1406
1974
|
tradeId: string;
|
|
1407
|
-
numberOfPositions: number;
|
|
1408
1975
|
jobQualifications: {
|
|
1409
1976
|
id: string;
|
|
1410
1977
|
qualificationId: string;
|
|
1411
1978
|
qualificationTypeId?: string | null | undefined;
|
|
1412
1979
|
}[];
|
|
1980
|
+
currentCollaboration: {
|
|
1981
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1982
|
+
createdAt: string;
|
|
1983
|
+
updatedAt: string;
|
|
1984
|
+
id: string;
|
|
1985
|
+
company: {
|
|
1986
|
+
id: string;
|
|
1987
|
+
name: string;
|
|
1988
|
+
};
|
|
1989
|
+
client: {
|
|
1990
|
+
id: string;
|
|
1991
|
+
name: string;
|
|
1992
|
+
};
|
|
1993
|
+
user: {
|
|
1994
|
+
id: string;
|
|
1995
|
+
firstName: string;
|
|
1996
|
+
lastName: string;
|
|
1997
|
+
email: string;
|
|
1998
|
+
};
|
|
1999
|
+
userId: string;
|
|
2000
|
+
newCollaboration?: {
|
|
2001
|
+
id: string;
|
|
2002
|
+
} | null | undefined;
|
|
2003
|
+
} | null;
|
|
2004
|
+
workHours?: number | null | undefined;
|
|
1413
2005
|
location?: {
|
|
1414
2006
|
address?: string | null | undefined;
|
|
1415
2007
|
postcode?: string | null | undefined;
|
|
@@ -1419,36 +2011,52 @@ export declare const jobsContractRouter: {
|
|
|
1419
2011
|
postTown?: string | null | undefined;
|
|
1420
2012
|
areaCovered?: string | null | undefined;
|
|
1421
2013
|
} | null | undefined;
|
|
1422
|
-
workHours?: number | null | undefined;
|
|
1423
|
-
currentCollaboration?: {
|
|
1424
|
-
id: string;
|
|
1425
|
-
} | null | undefined;
|
|
1426
2014
|
}[];
|
|
1427
2015
|
totalCount: number;
|
|
1428
|
-
limit: number;
|
|
1429
2016
|
skip: number;
|
|
1430
2017
|
currentPage: number;
|
|
1431
2018
|
totalPages: number;
|
|
1432
2019
|
}, {
|
|
2020
|
+
limit: number;
|
|
1433
2021
|
items: {
|
|
1434
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1435
2022
|
description: string;
|
|
1436
|
-
|
|
2023
|
+
numberOfPositions: number;
|
|
2024
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1437
2025
|
createdAt: string | Date;
|
|
1438
2026
|
updatedAt: string | Date;
|
|
2027
|
+
id: string;
|
|
1439
2028
|
pay: {
|
|
1440
|
-
rate: number;
|
|
1441
2029
|
rateUnit: "DAILY" | "HOURLY";
|
|
2030
|
+
rate: number;
|
|
1442
2031
|
receivedRate: number;
|
|
1443
2032
|
rateMax?: number | null | undefined;
|
|
1444
2033
|
};
|
|
1445
2034
|
tradeId: string;
|
|
1446
|
-
|
|
1447
|
-
|
|
2035
|
+
currentCollaboration: {
|
|
2036
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2037
|
+
createdAt: string | Date;
|
|
2038
|
+
updatedAt: string | Date;
|
|
1448
2039
|
id: string;
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
2040
|
+
company: {
|
|
2041
|
+
id: string;
|
|
2042
|
+
name: string;
|
|
2043
|
+
};
|
|
2044
|
+
client: {
|
|
2045
|
+
id: string;
|
|
2046
|
+
name: string;
|
|
2047
|
+
};
|
|
2048
|
+
user: {
|
|
2049
|
+
id: string;
|
|
2050
|
+
firstName: string;
|
|
2051
|
+
lastName: string;
|
|
2052
|
+
email: string;
|
|
2053
|
+
};
|
|
2054
|
+
userId: string;
|
|
2055
|
+
newCollaboration?: {
|
|
2056
|
+
id: string;
|
|
2057
|
+
} | null | undefined;
|
|
2058
|
+
} | null;
|
|
2059
|
+
workHours?: number | null | undefined;
|
|
1452
2060
|
location?: {
|
|
1453
2061
|
address?: string | null | undefined;
|
|
1454
2062
|
postcode?: string | null | undefined;
|
|
@@ -1458,13 +2066,13 @@ export declare const jobsContractRouter: {
|
|
|
1458
2066
|
postTown?: string | null | undefined;
|
|
1459
2067
|
areaCovered?: string | null | undefined;
|
|
1460
2068
|
} | null | undefined;
|
|
1461
|
-
|
|
1462
|
-
currentCollaboration?: {
|
|
2069
|
+
jobQualifications?: {
|
|
1463
2070
|
id: string;
|
|
1464
|
-
|
|
2071
|
+
qualificationId: string;
|
|
2072
|
+
qualificationTypeId?: string | null | undefined;
|
|
2073
|
+
}[] | undefined;
|
|
1465
2074
|
}[];
|
|
1466
2075
|
totalCount: number;
|
|
1467
|
-
limit: number;
|
|
1468
2076
|
skip: number;
|
|
1469
2077
|
currentPage: number;
|
|
1470
2078
|
totalPages: number;
|
|
@@ -1498,19 +2106,19 @@ export declare const jobsContractRouter: {
|
|
|
1498
2106
|
path: z.ZodString;
|
|
1499
2107
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1500
2108
|
}, "strip", z.ZodTypeAny, {
|
|
1501
|
-
statusCode: number;
|
|
1502
|
-
message: string;
|
|
1503
2109
|
code: string;
|
|
1504
|
-
timestamp: string;
|
|
1505
2110
|
path: string;
|
|
2111
|
+
message: string;
|
|
2112
|
+
statusCode: number;
|
|
2113
|
+
timestamp: string;
|
|
1506
2114
|
details?: unknown;
|
|
1507
2115
|
correlationId?: string | undefined;
|
|
1508
2116
|
}, {
|
|
1509
|
-
statusCode: number;
|
|
1510
|
-
message: string;
|
|
1511
2117
|
code: string;
|
|
1512
|
-
timestamp: string;
|
|
1513
2118
|
path: string;
|
|
2119
|
+
message: string;
|
|
2120
|
+
statusCode: number;
|
|
2121
|
+
timestamp: string;
|
|
1514
2122
|
details?: unknown;
|
|
1515
2123
|
correlationId?: string | undefined;
|
|
1516
2124
|
}>;
|
|
@@ -1523,19 +2131,19 @@ export declare const jobsContractRouter: {
|
|
|
1523
2131
|
path: z.ZodString;
|
|
1524
2132
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1525
2133
|
}, "strip", z.ZodTypeAny, {
|
|
1526
|
-
statusCode: number;
|
|
1527
|
-
message: string;
|
|
1528
2134
|
code: string;
|
|
1529
|
-
timestamp: string;
|
|
1530
2135
|
path: string;
|
|
2136
|
+
message: string;
|
|
2137
|
+
statusCode: number;
|
|
2138
|
+
timestamp: string;
|
|
1531
2139
|
details?: unknown;
|
|
1532
2140
|
correlationId?: string | undefined;
|
|
1533
2141
|
}, {
|
|
1534
|
-
statusCode: number;
|
|
1535
|
-
message: string;
|
|
1536
2142
|
code: string;
|
|
1537
|
-
timestamp: string;
|
|
1538
2143
|
path: string;
|
|
2144
|
+
message: string;
|
|
2145
|
+
statusCode: number;
|
|
2146
|
+
timestamp: string;
|
|
1539
2147
|
details?: unknown;
|
|
1540
2148
|
correlationId?: string | undefined;
|
|
1541
2149
|
}>;
|
|
@@ -1548,19 +2156,19 @@ export declare const jobsContractRouter: {
|
|
|
1548
2156
|
path: z.ZodString;
|
|
1549
2157
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1550
2158
|
}, "strip", z.ZodTypeAny, {
|
|
1551
|
-
statusCode: number;
|
|
1552
|
-
message: string;
|
|
1553
2159
|
code: string;
|
|
1554
|
-
timestamp: string;
|
|
1555
2160
|
path: string;
|
|
2161
|
+
message: string;
|
|
2162
|
+
statusCode: number;
|
|
2163
|
+
timestamp: string;
|
|
1556
2164
|
details?: unknown;
|
|
1557
2165
|
correlationId?: string | undefined;
|
|
1558
2166
|
}, {
|
|
1559
|
-
statusCode: number;
|
|
1560
|
-
message: string;
|
|
1561
2167
|
code: string;
|
|
1562
|
-
timestamp: string;
|
|
1563
2168
|
path: string;
|
|
2169
|
+
message: string;
|
|
2170
|
+
statusCode: number;
|
|
2171
|
+
timestamp: string;
|
|
1564
2172
|
details?: unknown;
|
|
1565
2173
|
correlationId?: string | undefined;
|
|
1566
2174
|
}>;
|
|
@@ -1573,19 +2181,19 @@ export declare const jobsContractRouter: {
|
|
|
1573
2181
|
path: z.ZodString;
|
|
1574
2182
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1575
2183
|
}, "strip", z.ZodTypeAny, {
|
|
1576
|
-
statusCode: number;
|
|
1577
|
-
message: string;
|
|
1578
2184
|
code: string;
|
|
1579
|
-
timestamp: string;
|
|
1580
2185
|
path: string;
|
|
2186
|
+
message: string;
|
|
2187
|
+
statusCode: number;
|
|
2188
|
+
timestamp: string;
|
|
1581
2189
|
details?: unknown;
|
|
1582
2190
|
correlationId?: string | undefined;
|
|
1583
2191
|
}, {
|
|
1584
|
-
statusCode: number;
|
|
1585
|
-
message: string;
|
|
1586
2192
|
code: string;
|
|
1587
|
-
timestamp: string;
|
|
1588
2193
|
path: string;
|
|
2194
|
+
message: string;
|
|
2195
|
+
statusCode: number;
|
|
2196
|
+
timestamp: string;
|
|
1589
2197
|
details?: unknown;
|
|
1590
2198
|
correlationId?: string | undefined;
|
|
1591
2199
|
}>;
|
|
@@ -1598,16 +2206,16 @@ export declare const jobsContractRouter: {
|
|
|
1598
2206
|
pay: z.ZodObject<{
|
|
1599
2207
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
1600
2208
|
rate: z.ZodNumber;
|
|
1601
|
-
rateMax: z.
|
|
2209
|
+
rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
1602
2210
|
receivedRate: z.ZodNumber;
|
|
1603
2211
|
}, "strip", z.ZodTypeAny, {
|
|
1604
|
-
rate: number;
|
|
1605
2212
|
rateUnit: "DAILY" | "HOURLY";
|
|
2213
|
+
rate: number;
|
|
1606
2214
|
receivedRate: number;
|
|
1607
2215
|
rateMax?: number | null | undefined;
|
|
1608
2216
|
}, {
|
|
1609
|
-
rate: number;
|
|
1610
2217
|
rateUnit: "DAILY" | "HOURLY";
|
|
2218
|
+
rate: number;
|
|
1611
2219
|
receivedRate: number;
|
|
1612
2220
|
rateMax?: number | null | undefined;
|
|
1613
2221
|
}>;
|
|
@@ -1637,7 +2245,7 @@ export declare const jobsContractRouter: {
|
|
|
1637
2245
|
areaCovered?: string | null | undefined;
|
|
1638
2246
|
}>>>;
|
|
1639
2247
|
tradeId: z.ZodString;
|
|
1640
|
-
jobQualifications: z.ZodArray<z.ZodObject<{
|
|
2248
|
+
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1641
2249
|
id: z.ZodString;
|
|
1642
2250
|
qualificationId: z.ZodString;
|
|
1643
2251
|
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1649,35 +2257,149 @@ export declare const jobsContractRouter: {
|
|
|
1649
2257
|
id: string;
|
|
1650
2258
|
qualificationId: string;
|
|
1651
2259
|
qualificationTypeId?: string | null | undefined;
|
|
1652
|
-
}>, "many"
|
|
1653
|
-
currentCollaboration: z.
|
|
2260
|
+
}>, "many">>>;
|
|
2261
|
+
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
1654
2262
|
id: z.ZodString;
|
|
2263
|
+
company: z.ZodObject<{
|
|
2264
|
+
id: z.ZodString;
|
|
2265
|
+
name: z.ZodString;
|
|
2266
|
+
}, "strip", z.ZodTypeAny, {
|
|
2267
|
+
id: string;
|
|
2268
|
+
name: string;
|
|
2269
|
+
}, {
|
|
2270
|
+
id: string;
|
|
2271
|
+
name: string;
|
|
2272
|
+
}>;
|
|
2273
|
+
client: z.ZodObject<{
|
|
2274
|
+
id: z.ZodString;
|
|
2275
|
+
name: z.ZodString;
|
|
2276
|
+
}, "strip", z.ZodTypeAny, {
|
|
2277
|
+
id: string;
|
|
2278
|
+
name: string;
|
|
2279
|
+
}, {
|
|
2280
|
+
id: string;
|
|
2281
|
+
name: string;
|
|
2282
|
+
}>;
|
|
2283
|
+
user: z.ZodObject<{
|
|
2284
|
+
id: z.ZodString;
|
|
2285
|
+
firstName: z.ZodString;
|
|
2286
|
+
lastName: z.ZodString;
|
|
2287
|
+
email: z.ZodString;
|
|
2288
|
+
}, "strip", z.ZodTypeAny, {
|
|
2289
|
+
id: string;
|
|
2290
|
+
firstName: string;
|
|
2291
|
+
lastName: string;
|
|
2292
|
+
email: string;
|
|
2293
|
+
}, {
|
|
2294
|
+
id: string;
|
|
2295
|
+
firstName: string;
|
|
2296
|
+
lastName: string;
|
|
2297
|
+
email: string;
|
|
2298
|
+
}>;
|
|
2299
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
2300
|
+
userId: z.ZodString;
|
|
2301
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2302
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2303
|
+
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2304
|
+
id: z.ZodString;
|
|
2305
|
+
}, "strip", z.ZodTypeAny, {
|
|
2306
|
+
id: string;
|
|
2307
|
+
}, {
|
|
2308
|
+
id: string;
|
|
2309
|
+
}>>>;
|
|
1655
2310
|
}, "strip", z.ZodTypeAny, {
|
|
2311
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2312
|
+
createdAt: string;
|
|
2313
|
+
updatedAt: string;
|
|
1656
2314
|
id: string;
|
|
2315
|
+
company: {
|
|
2316
|
+
id: string;
|
|
2317
|
+
name: string;
|
|
2318
|
+
};
|
|
2319
|
+
client: {
|
|
2320
|
+
id: string;
|
|
2321
|
+
name: string;
|
|
2322
|
+
};
|
|
2323
|
+
user: {
|
|
2324
|
+
id: string;
|
|
2325
|
+
firstName: string;
|
|
2326
|
+
lastName: string;
|
|
2327
|
+
email: string;
|
|
2328
|
+
};
|
|
2329
|
+
userId: string;
|
|
2330
|
+
newCollaboration?: {
|
|
2331
|
+
id: string;
|
|
2332
|
+
} | null | undefined;
|
|
1657
2333
|
}, {
|
|
2334
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2335
|
+
createdAt: string | Date;
|
|
2336
|
+
updatedAt: string | Date;
|
|
1658
2337
|
id: string;
|
|
1659
|
-
|
|
2338
|
+
company: {
|
|
2339
|
+
id: string;
|
|
2340
|
+
name: string;
|
|
2341
|
+
};
|
|
2342
|
+
client: {
|
|
2343
|
+
id: string;
|
|
2344
|
+
name: string;
|
|
2345
|
+
};
|
|
2346
|
+
user: {
|
|
2347
|
+
id: string;
|
|
2348
|
+
firstName: string;
|
|
2349
|
+
lastName: string;
|
|
2350
|
+
email: string;
|
|
2351
|
+
};
|
|
2352
|
+
userId: string;
|
|
2353
|
+
newCollaboration?: {
|
|
2354
|
+
id: string;
|
|
2355
|
+
} | null | undefined;
|
|
2356
|
+
}>>;
|
|
1660
2357
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1661
2358
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1662
2359
|
}, "strip", z.ZodTypeAny, {
|
|
1663
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1664
2360
|
description: string;
|
|
1665
|
-
|
|
2361
|
+
numberOfPositions: number;
|
|
2362
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1666
2363
|
createdAt: string;
|
|
1667
2364
|
updatedAt: string;
|
|
2365
|
+
id: string;
|
|
1668
2366
|
pay: {
|
|
1669
|
-
rate: number;
|
|
1670
2367
|
rateUnit: "DAILY" | "HOURLY";
|
|
2368
|
+
rate: number;
|
|
1671
2369
|
receivedRate: number;
|
|
1672
2370
|
rateMax?: number | null | undefined;
|
|
1673
2371
|
};
|
|
1674
2372
|
tradeId: string;
|
|
1675
|
-
numberOfPositions: number;
|
|
1676
2373
|
jobQualifications: {
|
|
1677
2374
|
id: string;
|
|
1678
2375
|
qualificationId: string;
|
|
1679
2376
|
qualificationTypeId?: string | null | undefined;
|
|
1680
2377
|
}[];
|
|
2378
|
+
currentCollaboration: {
|
|
2379
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2380
|
+
createdAt: string;
|
|
2381
|
+
updatedAt: string;
|
|
2382
|
+
id: string;
|
|
2383
|
+
company: {
|
|
2384
|
+
id: string;
|
|
2385
|
+
name: string;
|
|
2386
|
+
};
|
|
2387
|
+
client: {
|
|
2388
|
+
id: string;
|
|
2389
|
+
name: string;
|
|
2390
|
+
};
|
|
2391
|
+
user: {
|
|
2392
|
+
id: string;
|
|
2393
|
+
firstName: string;
|
|
2394
|
+
lastName: string;
|
|
2395
|
+
email: string;
|
|
2396
|
+
};
|
|
2397
|
+
userId: string;
|
|
2398
|
+
newCollaboration?: {
|
|
2399
|
+
id: string;
|
|
2400
|
+
} | null | undefined;
|
|
2401
|
+
} | null;
|
|
2402
|
+
workHours?: number | null | undefined;
|
|
1681
2403
|
location?: {
|
|
1682
2404
|
address?: string | null | undefined;
|
|
1683
2405
|
postcode?: string | null | undefined;
|
|
@@ -1687,29 +2409,45 @@ export declare const jobsContractRouter: {
|
|
|
1687
2409
|
postTown?: string | null | undefined;
|
|
1688
2410
|
areaCovered?: string | null | undefined;
|
|
1689
2411
|
} | null | undefined;
|
|
1690
|
-
workHours?: number | null | undefined;
|
|
1691
|
-
currentCollaboration?: {
|
|
1692
|
-
id: string;
|
|
1693
|
-
} | null | undefined;
|
|
1694
2412
|
}, {
|
|
1695
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1696
2413
|
description: string;
|
|
1697
|
-
|
|
2414
|
+
numberOfPositions: number;
|
|
2415
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1698
2416
|
createdAt: string | Date;
|
|
1699
2417
|
updatedAt: string | Date;
|
|
2418
|
+
id: string;
|
|
1700
2419
|
pay: {
|
|
1701
|
-
rate: number;
|
|
1702
2420
|
rateUnit: "DAILY" | "HOURLY";
|
|
2421
|
+
rate: number;
|
|
1703
2422
|
receivedRate: number;
|
|
1704
2423
|
rateMax?: number | null | undefined;
|
|
1705
2424
|
};
|
|
1706
2425
|
tradeId: string;
|
|
1707
|
-
|
|
1708
|
-
|
|
2426
|
+
currentCollaboration: {
|
|
2427
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2428
|
+
createdAt: string | Date;
|
|
2429
|
+
updatedAt: string | Date;
|
|
1709
2430
|
id: string;
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
2431
|
+
company: {
|
|
2432
|
+
id: string;
|
|
2433
|
+
name: string;
|
|
2434
|
+
};
|
|
2435
|
+
client: {
|
|
2436
|
+
id: string;
|
|
2437
|
+
name: string;
|
|
2438
|
+
};
|
|
2439
|
+
user: {
|
|
2440
|
+
id: string;
|
|
2441
|
+
firstName: string;
|
|
2442
|
+
lastName: string;
|
|
2443
|
+
email: string;
|
|
2444
|
+
};
|
|
2445
|
+
userId: string;
|
|
2446
|
+
newCollaboration?: {
|
|
2447
|
+
id: string;
|
|
2448
|
+
} | null | undefined;
|
|
2449
|
+
} | null;
|
|
2450
|
+
workHours?: number | null | undefined;
|
|
1713
2451
|
location?: {
|
|
1714
2452
|
address?: string | null | undefined;
|
|
1715
2453
|
postcode?: string | null | undefined;
|
|
@@ -1719,10 +2457,11 @@ export declare const jobsContractRouter: {
|
|
|
1719
2457
|
postTown?: string | null | undefined;
|
|
1720
2458
|
areaCovered?: string | null | undefined;
|
|
1721
2459
|
} | null | undefined;
|
|
1722
|
-
|
|
1723
|
-
currentCollaboration?: {
|
|
2460
|
+
jobQualifications?: {
|
|
1724
2461
|
id: string;
|
|
1725
|
-
|
|
2462
|
+
qualificationId: string;
|
|
2463
|
+
qualificationTypeId?: string | null | undefined;
|
|
2464
|
+
}[] | undefined;
|
|
1726
2465
|
}>;
|
|
1727
2466
|
404: z.ZodObject<{
|
|
1728
2467
|
statusCode: z.ZodNumber;
|
|
@@ -1733,19 +2472,19 @@ export declare const jobsContractRouter: {
|
|
|
1733
2472
|
path: z.ZodString;
|
|
1734
2473
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1735
2474
|
}, "strip", z.ZodTypeAny, {
|
|
1736
|
-
statusCode: number;
|
|
1737
|
-
message: string;
|
|
1738
2475
|
code: string;
|
|
1739
|
-
timestamp: string;
|
|
1740
2476
|
path: string;
|
|
2477
|
+
message: string;
|
|
2478
|
+
statusCode: number;
|
|
2479
|
+
timestamp: string;
|
|
1741
2480
|
details?: unknown;
|
|
1742
2481
|
correlationId?: string | undefined;
|
|
1743
2482
|
}, {
|
|
1744
|
-
statusCode: number;
|
|
1745
|
-
message: string;
|
|
1746
2483
|
code: string;
|
|
1747
|
-
timestamp: string;
|
|
1748
2484
|
path: string;
|
|
2485
|
+
message: string;
|
|
2486
|
+
statusCode: number;
|
|
2487
|
+
timestamp: string;
|
|
1749
2488
|
details?: unknown;
|
|
1750
2489
|
correlationId?: string | undefined;
|
|
1751
2490
|
}>;
|
|
@@ -1817,21 +2556,21 @@ export declare const jobsContractRouter: {
|
|
|
1817
2556
|
}>, "many">>;
|
|
1818
2557
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
1819
2558
|
}, "strip", z.ZodTypeAny, {
|
|
1820
|
-
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
1821
2559
|
description?: string | undefined;
|
|
2560
|
+
numberOfPositions?: number | undefined;
|
|
2561
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
2562
|
+
workHours?: number | undefined;
|
|
1822
2563
|
pay?: {
|
|
1823
2564
|
rate: number;
|
|
1824
2565
|
receivedRate: number;
|
|
1825
2566
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
1826
2567
|
rateMax?: number | undefined;
|
|
1827
2568
|
} | undefined;
|
|
1828
|
-
tradeId?: string | undefined;
|
|
1829
2569
|
location?: {
|
|
1830
2570
|
address?: string | undefined;
|
|
1831
2571
|
postcode?: string | undefined;
|
|
1832
2572
|
} | undefined;
|
|
1833
|
-
|
|
1834
|
-
workHours?: number | undefined;
|
|
2573
|
+
tradeId?: string | undefined;
|
|
1835
2574
|
jobQualifications?: {
|
|
1836
2575
|
qualificationId: string;
|
|
1837
2576
|
qualificationTypeId?: string | undefined;
|
|
@@ -1840,21 +2579,21 @@ export declare const jobsContractRouter: {
|
|
|
1840
2579
|
id: string;
|
|
1841
2580
|
} | undefined;
|
|
1842
2581
|
}, {
|
|
1843
|
-
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
1844
2582
|
description?: string | undefined;
|
|
2583
|
+
numberOfPositions?: number | undefined;
|
|
2584
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
2585
|
+
workHours?: number | undefined;
|
|
1845
2586
|
pay?: {
|
|
1846
2587
|
rate: number;
|
|
1847
2588
|
receivedRate: number;
|
|
1848
2589
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
1849
2590
|
rateMax?: number | undefined;
|
|
1850
2591
|
} | undefined;
|
|
1851
|
-
tradeId?: string | undefined;
|
|
1852
2592
|
location?: {
|
|
1853
2593
|
address?: string | undefined;
|
|
1854
2594
|
postcode?: string | undefined;
|
|
1855
2595
|
} | undefined;
|
|
1856
|
-
|
|
1857
|
-
workHours?: number | undefined;
|
|
2596
|
+
tradeId?: string | undefined;
|
|
1858
2597
|
jobQualifications?: {
|
|
1859
2598
|
qualificationId: string;
|
|
1860
2599
|
qualificationTypeId?: string | undefined;
|
|
@@ -1874,19 +2613,19 @@ export declare const jobsContractRouter: {
|
|
|
1874
2613
|
path: z.ZodString;
|
|
1875
2614
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1876
2615
|
}, "strip", z.ZodTypeAny, {
|
|
1877
|
-
statusCode: number;
|
|
1878
|
-
message: string;
|
|
1879
2616
|
code: string;
|
|
1880
|
-
timestamp: string;
|
|
1881
2617
|
path: string;
|
|
2618
|
+
message: string;
|
|
2619
|
+
statusCode: number;
|
|
2620
|
+
timestamp: string;
|
|
1882
2621
|
details?: unknown;
|
|
1883
2622
|
correlationId?: string | undefined;
|
|
1884
2623
|
}, {
|
|
1885
|
-
statusCode: number;
|
|
1886
|
-
message: string;
|
|
1887
2624
|
code: string;
|
|
1888
|
-
timestamp: string;
|
|
1889
2625
|
path: string;
|
|
2626
|
+
message: string;
|
|
2627
|
+
statusCode: number;
|
|
2628
|
+
timestamp: string;
|
|
1890
2629
|
details?: unknown;
|
|
1891
2630
|
correlationId?: string | undefined;
|
|
1892
2631
|
}>;
|
|
@@ -1899,19 +2638,19 @@ export declare const jobsContractRouter: {
|
|
|
1899
2638
|
path: z.ZodString;
|
|
1900
2639
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1901
2640
|
}, "strip", z.ZodTypeAny, {
|
|
1902
|
-
statusCode: number;
|
|
1903
|
-
message: string;
|
|
1904
2641
|
code: string;
|
|
1905
|
-
timestamp: string;
|
|
1906
2642
|
path: string;
|
|
2643
|
+
message: string;
|
|
2644
|
+
statusCode: number;
|
|
2645
|
+
timestamp: string;
|
|
1907
2646
|
details?: unknown;
|
|
1908
2647
|
correlationId?: string | undefined;
|
|
1909
2648
|
}, {
|
|
1910
|
-
statusCode: number;
|
|
1911
|
-
message: string;
|
|
1912
2649
|
code: string;
|
|
1913
|
-
timestamp: string;
|
|
1914
2650
|
path: string;
|
|
2651
|
+
message: string;
|
|
2652
|
+
statusCode: number;
|
|
2653
|
+
timestamp: string;
|
|
1915
2654
|
details?: unknown;
|
|
1916
2655
|
correlationId?: string | undefined;
|
|
1917
2656
|
}>;
|
|
@@ -1924,19 +2663,19 @@ export declare const jobsContractRouter: {
|
|
|
1924
2663
|
path: z.ZodString;
|
|
1925
2664
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1926
2665
|
}, "strip", z.ZodTypeAny, {
|
|
1927
|
-
statusCode: number;
|
|
1928
|
-
message: string;
|
|
1929
2666
|
code: string;
|
|
1930
|
-
timestamp: string;
|
|
1931
2667
|
path: string;
|
|
2668
|
+
message: string;
|
|
2669
|
+
statusCode: number;
|
|
2670
|
+
timestamp: string;
|
|
1932
2671
|
details?: unknown;
|
|
1933
2672
|
correlationId?: string | undefined;
|
|
1934
2673
|
}, {
|
|
1935
|
-
statusCode: number;
|
|
1936
|
-
message: string;
|
|
1937
2674
|
code: string;
|
|
1938
|
-
timestamp: string;
|
|
1939
2675
|
path: string;
|
|
2676
|
+
message: string;
|
|
2677
|
+
statusCode: number;
|
|
2678
|
+
timestamp: string;
|
|
1940
2679
|
details?: unknown;
|
|
1941
2680
|
correlationId?: string | undefined;
|
|
1942
2681
|
}>;
|
|
@@ -1949,19 +2688,19 @@ export declare const jobsContractRouter: {
|
|
|
1949
2688
|
path: z.ZodString;
|
|
1950
2689
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1951
2690
|
}, "strip", z.ZodTypeAny, {
|
|
1952
|
-
statusCode: number;
|
|
1953
|
-
message: string;
|
|
1954
2691
|
code: string;
|
|
1955
|
-
timestamp: string;
|
|
1956
2692
|
path: string;
|
|
2693
|
+
message: string;
|
|
2694
|
+
statusCode: number;
|
|
2695
|
+
timestamp: string;
|
|
1957
2696
|
details?: unknown;
|
|
1958
2697
|
correlationId?: string | undefined;
|
|
1959
2698
|
}, {
|
|
1960
|
-
statusCode: number;
|
|
1961
|
-
message: string;
|
|
1962
2699
|
code: string;
|
|
1963
|
-
timestamp: string;
|
|
1964
2700
|
path: string;
|
|
2701
|
+
message: string;
|
|
2702
|
+
statusCode: number;
|
|
2703
|
+
timestamp: string;
|
|
1965
2704
|
details?: unknown;
|
|
1966
2705
|
correlationId?: string | undefined;
|
|
1967
2706
|
}>;
|
|
@@ -1974,16 +2713,16 @@ export declare const jobsContractRouter: {
|
|
|
1974
2713
|
pay: z.ZodObject<{
|
|
1975
2714
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
1976
2715
|
rate: z.ZodNumber;
|
|
1977
|
-
rateMax: z.
|
|
2716
|
+
rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
1978
2717
|
receivedRate: z.ZodNumber;
|
|
1979
2718
|
}, "strip", z.ZodTypeAny, {
|
|
1980
|
-
rate: number;
|
|
1981
2719
|
rateUnit: "DAILY" | "HOURLY";
|
|
2720
|
+
rate: number;
|
|
1982
2721
|
receivedRate: number;
|
|
1983
2722
|
rateMax?: number | null | undefined;
|
|
1984
2723
|
}, {
|
|
1985
|
-
rate: number;
|
|
1986
2724
|
rateUnit: "DAILY" | "HOURLY";
|
|
2725
|
+
rate: number;
|
|
1987
2726
|
receivedRate: number;
|
|
1988
2727
|
rateMax?: number | null | undefined;
|
|
1989
2728
|
}>;
|
|
@@ -2013,7 +2752,7 @@ export declare const jobsContractRouter: {
|
|
|
2013
2752
|
areaCovered?: string | null | undefined;
|
|
2014
2753
|
}>>>;
|
|
2015
2754
|
tradeId: z.ZodString;
|
|
2016
|
-
jobQualifications: z.ZodArray<z.ZodObject<{
|
|
2755
|
+
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2017
2756
|
id: z.ZodString;
|
|
2018
2757
|
qualificationId: z.ZodString;
|
|
2019
2758
|
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2025,35 +2764,149 @@ export declare const jobsContractRouter: {
|
|
|
2025
2764
|
id: string;
|
|
2026
2765
|
qualificationId: string;
|
|
2027
2766
|
qualificationTypeId?: string | null | undefined;
|
|
2028
|
-
}>, "many"
|
|
2029
|
-
currentCollaboration: z.
|
|
2767
|
+
}>, "many">>>;
|
|
2768
|
+
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
2030
2769
|
id: z.ZodString;
|
|
2770
|
+
company: z.ZodObject<{
|
|
2771
|
+
id: z.ZodString;
|
|
2772
|
+
name: z.ZodString;
|
|
2773
|
+
}, "strip", z.ZodTypeAny, {
|
|
2774
|
+
id: string;
|
|
2775
|
+
name: string;
|
|
2776
|
+
}, {
|
|
2777
|
+
id: string;
|
|
2778
|
+
name: string;
|
|
2779
|
+
}>;
|
|
2780
|
+
client: z.ZodObject<{
|
|
2781
|
+
id: z.ZodString;
|
|
2782
|
+
name: z.ZodString;
|
|
2783
|
+
}, "strip", z.ZodTypeAny, {
|
|
2784
|
+
id: string;
|
|
2785
|
+
name: string;
|
|
2786
|
+
}, {
|
|
2787
|
+
id: string;
|
|
2788
|
+
name: string;
|
|
2789
|
+
}>;
|
|
2790
|
+
user: z.ZodObject<{
|
|
2791
|
+
id: z.ZodString;
|
|
2792
|
+
firstName: z.ZodString;
|
|
2793
|
+
lastName: z.ZodString;
|
|
2794
|
+
email: z.ZodString;
|
|
2795
|
+
}, "strip", z.ZodTypeAny, {
|
|
2796
|
+
id: string;
|
|
2797
|
+
firstName: string;
|
|
2798
|
+
lastName: string;
|
|
2799
|
+
email: string;
|
|
2800
|
+
}, {
|
|
2801
|
+
id: string;
|
|
2802
|
+
firstName: string;
|
|
2803
|
+
lastName: string;
|
|
2804
|
+
email: string;
|
|
2805
|
+
}>;
|
|
2806
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
2807
|
+
userId: z.ZodString;
|
|
2808
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2809
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2810
|
+
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2811
|
+
id: z.ZodString;
|
|
2812
|
+
}, "strip", z.ZodTypeAny, {
|
|
2813
|
+
id: string;
|
|
2814
|
+
}, {
|
|
2815
|
+
id: string;
|
|
2816
|
+
}>>>;
|
|
2031
2817
|
}, "strip", z.ZodTypeAny, {
|
|
2818
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2819
|
+
createdAt: string;
|
|
2820
|
+
updatedAt: string;
|
|
2032
2821
|
id: string;
|
|
2822
|
+
company: {
|
|
2823
|
+
id: string;
|
|
2824
|
+
name: string;
|
|
2825
|
+
};
|
|
2826
|
+
client: {
|
|
2827
|
+
id: string;
|
|
2828
|
+
name: string;
|
|
2829
|
+
};
|
|
2830
|
+
user: {
|
|
2831
|
+
id: string;
|
|
2832
|
+
firstName: string;
|
|
2833
|
+
lastName: string;
|
|
2834
|
+
email: string;
|
|
2835
|
+
};
|
|
2836
|
+
userId: string;
|
|
2837
|
+
newCollaboration?: {
|
|
2838
|
+
id: string;
|
|
2839
|
+
} | null | undefined;
|
|
2033
2840
|
}, {
|
|
2841
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2842
|
+
createdAt: string | Date;
|
|
2843
|
+
updatedAt: string | Date;
|
|
2034
2844
|
id: string;
|
|
2035
|
-
|
|
2845
|
+
company: {
|
|
2846
|
+
id: string;
|
|
2847
|
+
name: string;
|
|
2848
|
+
};
|
|
2849
|
+
client: {
|
|
2850
|
+
id: string;
|
|
2851
|
+
name: string;
|
|
2852
|
+
};
|
|
2853
|
+
user: {
|
|
2854
|
+
id: string;
|
|
2855
|
+
firstName: string;
|
|
2856
|
+
lastName: string;
|
|
2857
|
+
email: string;
|
|
2858
|
+
};
|
|
2859
|
+
userId: string;
|
|
2860
|
+
newCollaboration?: {
|
|
2861
|
+
id: string;
|
|
2862
|
+
} | null | undefined;
|
|
2863
|
+
}>>;
|
|
2036
2864
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2037
2865
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2038
2866
|
}, "strip", z.ZodTypeAny, {
|
|
2039
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
2040
2867
|
description: string;
|
|
2041
|
-
|
|
2868
|
+
numberOfPositions: number;
|
|
2869
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2042
2870
|
createdAt: string;
|
|
2043
2871
|
updatedAt: string;
|
|
2872
|
+
id: string;
|
|
2044
2873
|
pay: {
|
|
2045
|
-
rate: number;
|
|
2046
2874
|
rateUnit: "DAILY" | "HOURLY";
|
|
2875
|
+
rate: number;
|
|
2047
2876
|
receivedRate: number;
|
|
2048
2877
|
rateMax?: number | null | undefined;
|
|
2049
2878
|
};
|
|
2050
2879
|
tradeId: string;
|
|
2051
|
-
numberOfPositions: number;
|
|
2052
2880
|
jobQualifications: {
|
|
2053
2881
|
id: string;
|
|
2054
2882
|
qualificationId: string;
|
|
2055
2883
|
qualificationTypeId?: string | null | undefined;
|
|
2056
2884
|
}[];
|
|
2885
|
+
currentCollaboration: {
|
|
2886
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2887
|
+
createdAt: string;
|
|
2888
|
+
updatedAt: string;
|
|
2889
|
+
id: string;
|
|
2890
|
+
company: {
|
|
2891
|
+
id: string;
|
|
2892
|
+
name: string;
|
|
2893
|
+
};
|
|
2894
|
+
client: {
|
|
2895
|
+
id: string;
|
|
2896
|
+
name: string;
|
|
2897
|
+
};
|
|
2898
|
+
user: {
|
|
2899
|
+
id: string;
|
|
2900
|
+
firstName: string;
|
|
2901
|
+
lastName: string;
|
|
2902
|
+
email: string;
|
|
2903
|
+
};
|
|
2904
|
+
userId: string;
|
|
2905
|
+
newCollaboration?: {
|
|
2906
|
+
id: string;
|
|
2907
|
+
} | null | undefined;
|
|
2908
|
+
} | null;
|
|
2909
|
+
workHours?: number | null | undefined;
|
|
2057
2910
|
location?: {
|
|
2058
2911
|
address?: string | null | undefined;
|
|
2059
2912
|
postcode?: string | null | undefined;
|
|
@@ -2063,29 +2916,45 @@ export declare const jobsContractRouter: {
|
|
|
2063
2916
|
postTown?: string | null | undefined;
|
|
2064
2917
|
areaCovered?: string | null | undefined;
|
|
2065
2918
|
} | null | undefined;
|
|
2066
|
-
workHours?: number | null | undefined;
|
|
2067
|
-
currentCollaboration?: {
|
|
2068
|
-
id: string;
|
|
2069
|
-
} | null | undefined;
|
|
2070
2919
|
}, {
|
|
2071
|
-
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
2072
2920
|
description: string;
|
|
2073
|
-
|
|
2921
|
+
numberOfPositions: number;
|
|
2922
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2074
2923
|
createdAt: string | Date;
|
|
2075
2924
|
updatedAt: string | Date;
|
|
2925
|
+
id: string;
|
|
2076
2926
|
pay: {
|
|
2077
|
-
rate: number;
|
|
2078
2927
|
rateUnit: "DAILY" | "HOURLY";
|
|
2928
|
+
rate: number;
|
|
2079
2929
|
receivedRate: number;
|
|
2080
2930
|
rateMax?: number | null | undefined;
|
|
2081
2931
|
};
|
|
2082
2932
|
tradeId: string;
|
|
2083
|
-
|
|
2084
|
-
|
|
2933
|
+
currentCollaboration: {
|
|
2934
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2935
|
+
createdAt: string | Date;
|
|
2936
|
+
updatedAt: string | Date;
|
|
2085
2937
|
id: string;
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2938
|
+
company: {
|
|
2939
|
+
id: string;
|
|
2940
|
+
name: string;
|
|
2941
|
+
};
|
|
2942
|
+
client: {
|
|
2943
|
+
id: string;
|
|
2944
|
+
name: string;
|
|
2945
|
+
};
|
|
2946
|
+
user: {
|
|
2947
|
+
id: string;
|
|
2948
|
+
firstName: string;
|
|
2949
|
+
lastName: string;
|
|
2950
|
+
email: string;
|
|
2951
|
+
};
|
|
2952
|
+
userId: string;
|
|
2953
|
+
newCollaboration?: {
|
|
2954
|
+
id: string;
|
|
2955
|
+
} | null | undefined;
|
|
2956
|
+
} | null;
|
|
2957
|
+
workHours?: number | null | undefined;
|
|
2089
2958
|
location?: {
|
|
2090
2959
|
address?: string | null | undefined;
|
|
2091
2960
|
postcode?: string | null | undefined;
|
|
@@ -2095,10 +2964,11 @@ export declare const jobsContractRouter: {
|
|
|
2095
2964
|
postTown?: string | null | undefined;
|
|
2096
2965
|
areaCovered?: string | null | undefined;
|
|
2097
2966
|
} | null | undefined;
|
|
2098
|
-
|
|
2099
|
-
currentCollaboration?: {
|
|
2967
|
+
jobQualifications?: {
|
|
2100
2968
|
id: string;
|
|
2101
|
-
|
|
2969
|
+
qualificationId: string;
|
|
2970
|
+
qualificationTypeId?: string | null | undefined;
|
|
2971
|
+
}[] | undefined;
|
|
2102
2972
|
}>;
|
|
2103
2973
|
404: z.ZodObject<{
|
|
2104
2974
|
statusCode: z.ZodNumber;
|
|
@@ -2109,19 +2979,19 @@ export declare const jobsContractRouter: {
|
|
|
2109
2979
|
path: z.ZodString;
|
|
2110
2980
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2111
2981
|
}, "strip", z.ZodTypeAny, {
|
|
2112
|
-
statusCode: number;
|
|
2113
|
-
message: string;
|
|
2114
2982
|
code: string;
|
|
2115
|
-
timestamp: string;
|
|
2116
2983
|
path: string;
|
|
2984
|
+
message: string;
|
|
2985
|
+
statusCode: number;
|
|
2986
|
+
timestamp: string;
|
|
2117
2987
|
details?: unknown;
|
|
2118
2988
|
correlationId?: string | undefined;
|
|
2119
2989
|
}, {
|
|
2120
|
-
statusCode: number;
|
|
2121
|
-
message: string;
|
|
2122
2990
|
code: string;
|
|
2123
|
-
timestamp: string;
|
|
2124
2991
|
path: string;
|
|
2992
|
+
message: string;
|
|
2993
|
+
statusCode: number;
|
|
2994
|
+
timestamp: string;
|
|
2125
2995
|
details?: unknown;
|
|
2126
2996
|
correlationId?: string | undefined;
|
|
2127
2997
|
}>;
|
|
@@ -2134,19 +3004,19 @@ export declare const jobsContractRouter: {
|
|
|
2134
3004
|
path: z.ZodString;
|
|
2135
3005
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2136
3006
|
}, "strip", z.ZodTypeAny, {
|
|
2137
|
-
statusCode: number;
|
|
2138
|
-
message: string;
|
|
2139
3007
|
code: string;
|
|
2140
|
-
timestamp: string;
|
|
2141
3008
|
path: string;
|
|
3009
|
+
message: string;
|
|
3010
|
+
statusCode: number;
|
|
3011
|
+
timestamp: string;
|
|
2142
3012
|
details?: unknown;
|
|
2143
3013
|
correlationId?: string | undefined;
|
|
2144
3014
|
}, {
|
|
2145
|
-
statusCode: number;
|
|
2146
|
-
message: string;
|
|
2147
3015
|
code: string;
|
|
2148
|
-
timestamp: string;
|
|
2149
3016
|
path: string;
|
|
3017
|
+
message: string;
|
|
3018
|
+
statusCode: number;
|
|
3019
|
+
timestamp: string;
|
|
2150
3020
|
details?: unknown;
|
|
2151
3021
|
correlationId?: string | undefined;
|
|
2152
3022
|
}>;
|
|
@@ -2180,19 +3050,19 @@ export declare const jobsContractRouter: {
|
|
|
2180
3050
|
path: z.ZodString;
|
|
2181
3051
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2182
3052
|
}, "strip", z.ZodTypeAny, {
|
|
2183
|
-
statusCode: number;
|
|
2184
|
-
message: string;
|
|
2185
3053
|
code: string;
|
|
2186
|
-
timestamp: string;
|
|
2187
3054
|
path: string;
|
|
3055
|
+
message: string;
|
|
3056
|
+
statusCode: number;
|
|
3057
|
+
timestamp: string;
|
|
2188
3058
|
details?: unknown;
|
|
2189
3059
|
correlationId?: string | undefined;
|
|
2190
3060
|
}, {
|
|
2191
|
-
statusCode: number;
|
|
2192
|
-
message: string;
|
|
2193
3061
|
code: string;
|
|
2194
|
-
timestamp: string;
|
|
2195
3062
|
path: string;
|
|
3063
|
+
message: string;
|
|
3064
|
+
statusCode: number;
|
|
3065
|
+
timestamp: string;
|
|
2196
3066
|
details?: unknown;
|
|
2197
3067
|
correlationId?: string | undefined;
|
|
2198
3068
|
}>;
|
|
@@ -2205,19 +3075,19 @@ export declare const jobsContractRouter: {
|
|
|
2205
3075
|
path: z.ZodString;
|
|
2206
3076
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2207
3077
|
}, "strip", z.ZodTypeAny, {
|
|
2208
|
-
statusCode: number;
|
|
2209
|
-
message: string;
|
|
2210
3078
|
code: string;
|
|
2211
|
-
timestamp: string;
|
|
2212
3079
|
path: string;
|
|
3080
|
+
message: string;
|
|
3081
|
+
statusCode: number;
|
|
3082
|
+
timestamp: string;
|
|
2213
3083
|
details?: unknown;
|
|
2214
3084
|
correlationId?: string | undefined;
|
|
2215
3085
|
}, {
|
|
2216
|
-
statusCode: number;
|
|
2217
|
-
message: string;
|
|
2218
3086
|
code: string;
|
|
2219
|
-
timestamp: string;
|
|
2220
3087
|
path: string;
|
|
3088
|
+
message: string;
|
|
3089
|
+
statusCode: number;
|
|
3090
|
+
timestamp: string;
|
|
2221
3091
|
details?: unknown;
|
|
2222
3092
|
correlationId?: string | undefined;
|
|
2223
3093
|
}>;
|
|
@@ -2230,19 +3100,19 @@ export declare const jobsContractRouter: {
|
|
|
2230
3100
|
path: z.ZodString;
|
|
2231
3101
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2232
3102
|
}, "strip", z.ZodTypeAny, {
|
|
2233
|
-
statusCode: number;
|
|
2234
|
-
message: string;
|
|
2235
3103
|
code: string;
|
|
2236
|
-
timestamp: string;
|
|
2237
3104
|
path: string;
|
|
3105
|
+
message: string;
|
|
3106
|
+
statusCode: number;
|
|
3107
|
+
timestamp: string;
|
|
2238
3108
|
details?: unknown;
|
|
2239
3109
|
correlationId?: string | undefined;
|
|
2240
3110
|
}, {
|
|
2241
|
-
statusCode: number;
|
|
2242
|
-
message: string;
|
|
2243
3111
|
code: string;
|
|
2244
|
-
timestamp: string;
|
|
2245
3112
|
path: string;
|
|
3113
|
+
message: string;
|
|
3114
|
+
statusCode: number;
|
|
3115
|
+
timestamp: string;
|
|
2246
3116
|
details?: unknown;
|
|
2247
3117
|
correlationId?: string | undefined;
|
|
2248
3118
|
}>;
|
|
@@ -2255,19 +3125,19 @@ export declare const jobsContractRouter: {
|
|
|
2255
3125
|
path: z.ZodString;
|
|
2256
3126
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2257
3127
|
}, "strip", z.ZodTypeAny, {
|
|
2258
|
-
statusCode: number;
|
|
2259
|
-
message: string;
|
|
2260
3128
|
code: string;
|
|
2261
|
-
timestamp: string;
|
|
2262
3129
|
path: string;
|
|
3130
|
+
message: string;
|
|
3131
|
+
statusCode: number;
|
|
3132
|
+
timestamp: string;
|
|
2263
3133
|
details?: unknown;
|
|
2264
3134
|
correlationId?: string | undefined;
|
|
2265
3135
|
}, {
|
|
2266
|
-
statusCode: number;
|
|
2267
|
-
message: string;
|
|
2268
3136
|
code: string;
|
|
2269
|
-
timestamp: string;
|
|
2270
3137
|
path: string;
|
|
3138
|
+
message: string;
|
|
3139
|
+
statusCode: number;
|
|
3140
|
+
timestamp: string;
|
|
2271
3141
|
details?: unknown;
|
|
2272
3142
|
correlationId?: string | undefined;
|
|
2273
3143
|
}>;
|
|
@@ -2281,19 +3151,19 @@ export declare const jobsContractRouter: {
|
|
|
2281
3151
|
path: z.ZodString;
|
|
2282
3152
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2283
3153
|
}, "strip", z.ZodTypeAny, {
|
|
2284
|
-
statusCode: number;
|
|
2285
|
-
message: string;
|
|
2286
3154
|
code: string;
|
|
2287
|
-
timestamp: string;
|
|
2288
3155
|
path: string;
|
|
3156
|
+
message: string;
|
|
3157
|
+
statusCode: number;
|
|
3158
|
+
timestamp: string;
|
|
2289
3159
|
details?: unknown;
|
|
2290
3160
|
correlationId?: string | undefined;
|
|
2291
3161
|
}, {
|
|
2292
|
-
statusCode: number;
|
|
2293
|
-
message: string;
|
|
2294
3162
|
code: string;
|
|
2295
|
-
timestamp: string;
|
|
2296
3163
|
path: string;
|
|
3164
|
+
message: string;
|
|
3165
|
+
statusCode: number;
|
|
3166
|
+
timestamp: string;
|
|
2297
3167
|
details?: unknown;
|
|
2298
3168
|
correlationId?: string | undefined;
|
|
2299
3169
|
}>;
|