@dakkitor/api-contracts 1.1.14 → 1.1.16
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 +1374 -252
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +1460 -370
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +38 -4
- package/dist/index.d.ts +2030 -730
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -68,32 +68,122 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
68
68
|
}>;
|
|
69
69
|
job: z.ZodObject<{
|
|
70
70
|
id: z.ZodString;
|
|
71
|
-
|
|
71
|
+
description: z.ZodString;
|
|
72
|
+
numberOfPositions: z.ZodNumber;
|
|
73
|
+
workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
74
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
75
|
+
pay: z.ZodObject<{
|
|
76
|
+
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
77
|
+
rate: z.ZodNumber;
|
|
78
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
79
|
+
receivedRate: z.ZodNumber;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
rate: number;
|
|
82
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
83
|
+
receivedRate: number;
|
|
84
|
+
rateMax?: number | null | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
rate: number;
|
|
87
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
88
|
+
receivedRate: number;
|
|
89
|
+
rateMax?: number | null | undefined;
|
|
90
|
+
}>;
|
|
91
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
92
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
93
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
94
|
+
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
95
|
+
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
96
|
+
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
97
|
+
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
98
|
+
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
address?: string | null | undefined;
|
|
101
|
+
postcode?: string | null | undefined;
|
|
102
|
+
county?: string | null | undefined;
|
|
103
|
+
adminDistrict?: string | null | undefined;
|
|
104
|
+
builtUpArea?: string | null | undefined;
|
|
105
|
+
postTown?: string | null | undefined;
|
|
106
|
+
areaCovered?: string | null | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
address?: string | null | undefined;
|
|
109
|
+
postcode?: string | null | undefined;
|
|
110
|
+
county?: string | null | undefined;
|
|
111
|
+
adminDistrict?: string | null | undefined;
|
|
112
|
+
builtUpArea?: string | null | undefined;
|
|
113
|
+
postTown?: string | null | undefined;
|
|
114
|
+
areaCovered?: string | null | undefined;
|
|
115
|
+
}>>>;
|
|
116
|
+
tradeId: z.ZodString;
|
|
117
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
118
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
72
119
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
121
|
+
createdAt: string;
|
|
122
|
+
updatedAt: string;
|
|
73
123
|
id: string;
|
|
74
|
-
|
|
124
|
+
pay: {
|
|
125
|
+
rate: number;
|
|
126
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
127
|
+
receivedRate: number;
|
|
128
|
+
rateMax?: number | null | undefined;
|
|
129
|
+
};
|
|
130
|
+
tradeId: string;
|
|
131
|
+
description: string;
|
|
132
|
+
numberOfPositions: number;
|
|
133
|
+
workHours?: number | null | undefined;
|
|
134
|
+
location?: {
|
|
135
|
+
address?: string | null | undefined;
|
|
136
|
+
postcode?: string | null | undefined;
|
|
137
|
+
county?: string | null | undefined;
|
|
138
|
+
adminDistrict?: string | null | undefined;
|
|
139
|
+
builtUpArea?: string | null | undefined;
|
|
140
|
+
postTown?: string | null | undefined;
|
|
141
|
+
areaCovered?: string | null | undefined;
|
|
142
|
+
} | null | undefined;
|
|
75
143
|
}, {
|
|
144
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
145
|
+
createdAt: string | Date;
|
|
146
|
+
updatedAt: string | Date;
|
|
76
147
|
id: string;
|
|
77
|
-
|
|
148
|
+
pay: {
|
|
149
|
+
rate: number;
|
|
150
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
151
|
+
receivedRate: number;
|
|
152
|
+
rateMax?: number | null | undefined;
|
|
153
|
+
};
|
|
154
|
+
tradeId: string;
|
|
155
|
+
description: string;
|
|
156
|
+
numberOfPositions: number;
|
|
157
|
+
workHours?: number | null | undefined;
|
|
158
|
+
location?: {
|
|
159
|
+
address?: string | null | undefined;
|
|
160
|
+
postcode?: string | null | undefined;
|
|
161
|
+
county?: string | null | undefined;
|
|
162
|
+
adminDistrict?: string | null | undefined;
|
|
163
|
+
builtUpArea?: string | null | undefined;
|
|
164
|
+
postTown?: string | null | undefined;
|
|
165
|
+
areaCovered?: string | null | undefined;
|
|
166
|
+
} | null | undefined;
|
|
78
167
|
}>;
|
|
79
168
|
userId: z.ZodString;
|
|
80
169
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
81
170
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
82
171
|
}, "strip", z.ZodTypeAny, {
|
|
83
172
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
173
|
+
startDate: string;
|
|
84
174
|
createdAt: string;
|
|
85
175
|
updatedAt: string;
|
|
86
176
|
id: string;
|
|
87
|
-
pay: {
|
|
88
|
-
rate: number;
|
|
89
|
-
unit: "DAILY" | "HOURLY";
|
|
90
|
-
};
|
|
91
|
-
startDate: string;
|
|
92
177
|
worker: {
|
|
93
178
|
id: string;
|
|
94
179
|
firstName: string;
|
|
95
180
|
lastName: string;
|
|
96
181
|
};
|
|
182
|
+
pay: {
|
|
183
|
+
rate: number;
|
|
184
|
+
unit: "DAILY" | "HOURLY";
|
|
185
|
+
};
|
|
186
|
+
userId: string;
|
|
97
187
|
user: {
|
|
98
188
|
id: string;
|
|
99
189
|
firstName: string;
|
|
@@ -101,26 +191,47 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
101
191
|
email: string;
|
|
102
192
|
};
|
|
103
193
|
job: {
|
|
194
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
195
|
+
createdAt: string;
|
|
196
|
+
updatedAt: string;
|
|
104
197
|
id: string;
|
|
105
|
-
|
|
198
|
+
pay: {
|
|
199
|
+
rate: number;
|
|
200
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
201
|
+
receivedRate: number;
|
|
202
|
+
rateMax?: number | null | undefined;
|
|
203
|
+
};
|
|
204
|
+
tradeId: string;
|
|
205
|
+
description: string;
|
|
206
|
+
numberOfPositions: number;
|
|
207
|
+
workHours?: number | null | undefined;
|
|
208
|
+
location?: {
|
|
209
|
+
address?: string | null | undefined;
|
|
210
|
+
postcode?: string | null | undefined;
|
|
211
|
+
county?: string | null | undefined;
|
|
212
|
+
adminDistrict?: string | null | undefined;
|
|
213
|
+
builtUpArea?: string | null | undefined;
|
|
214
|
+
postTown?: string | null | undefined;
|
|
215
|
+
areaCovered?: string | null | undefined;
|
|
216
|
+
} | null | undefined;
|
|
106
217
|
};
|
|
107
|
-
userId: string;
|
|
108
218
|
endDate?: string | null | undefined;
|
|
109
219
|
}, {
|
|
110
220
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
221
|
+
startDate: string | Date;
|
|
111
222
|
createdAt: string | Date;
|
|
112
223
|
updatedAt: string | Date;
|
|
113
224
|
id: string;
|
|
114
|
-
pay: {
|
|
115
|
-
rate: number;
|
|
116
|
-
unit: "DAILY" | "HOURLY";
|
|
117
|
-
};
|
|
118
|
-
startDate: string | Date;
|
|
119
225
|
worker: {
|
|
120
226
|
id: string;
|
|
121
227
|
firstName: string;
|
|
122
228
|
lastName: string;
|
|
123
229
|
};
|
|
230
|
+
pay: {
|
|
231
|
+
rate: number;
|
|
232
|
+
unit: "DAILY" | "HOURLY";
|
|
233
|
+
};
|
|
234
|
+
userId: string;
|
|
124
235
|
user: {
|
|
125
236
|
id: string;
|
|
126
237
|
firstName: string;
|
|
@@ -128,16 +239,35 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
128
239
|
email: string;
|
|
129
240
|
};
|
|
130
241
|
job: {
|
|
242
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
243
|
+
createdAt: string | Date;
|
|
244
|
+
updatedAt: string | Date;
|
|
131
245
|
id: string;
|
|
132
|
-
|
|
246
|
+
pay: {
|
|
247
|
+
rate: number;
|
|
248
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
249
|
+
receivedRate: number;
|
|
250
|
+
rateMax?: number | null | undefined;
|
|
251
|
+
};
|
|
252
|
+
tradeId: string;
|
|
253
|
+
description: string;
|
|
254
|
+
numberOfPositions: number;
|
|
255
|
+
workHours?: number | null | undefined;
|
|
256
|
+
location?: {
|
|
257
|
+
address?: string | null | undefined;
|
|
258
|
+
postcode?: string | null | undefined;
|
|
259
|
+
county?: string | null | undefined;
|
|
260
|
+
adminDistrict?: string | null | undefined;
|
|
261
|
+
builtUpArea?: string | null | undefined;
|
|
262
|
+
postTown?: string | null | undefined;
|
|
263
|
+
areaCovered?: string | null | undefined;
|
|
264
|
+
} | null | undefined;
|
|
133
265
|
};
|
|
134
|
-
userId: string;
|
|
135
266
|
endDate?: string | Date | null | undefined;
|
|
136
267
|
}>;
|
|
137
268
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
138
269
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
139
270
|
}, "strip", z.ZodTypeAny, {
|
|
140
|
-
date: string;
|
|
141
271
|
createdAt: string;
|
|
142
272
|
updatedAt: string;
|
|
143
273
|
id: string;
|
|
@@ -145,6 +275,7 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
145
275
|
rate: number;
|
|
146
276
|
unit: "DAILY" | "HOURLY";
|
|
147
277
|
};
|
|
278
|
+
date: string;
|
|
148
279
|
comment: string | null;
|
|
149
280
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
150
281
|
statusSaUpdatedAt: string | null;
|
|
@@ -154,19 +285,20 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
154
285
|
hoursWorkedUpdatedAt: string | null;
|
|
155
286
|
booking: {
|
|
156
287
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
288
|
+
startDate: string;
|
|
157
289
|
createdAt: string;
|
|
158
290
|
updatedAt: string;
|
|
159
291
|
id: string;
|
|
160
|
-
pay: {
|
|
161
|
-
rate: number;
|
|
162
|
-
unit: "DAILY" | "HOURLY";
|
|
163
|
-
};
|
|
164
|
-
startDate: string;
|
|
165
292
|
worker: {
|
|
166
293
|
id: string;
|
|
167
294
|
firstName: string;
|
|
168
295
|
lastName: string;
|
|
169
296
|
};
|
|
297
|
+
pay: {
|
|
298
|
+
rate: number;
|
|
299
|
+
unit: "DAILY" | "HOURLY";
|
|
300
|
+
};
|
|
301
|
+
userId: string;
|
|
170
302
|
user: {
|
|
171
303
|
id: string;
|
|
172
304
|
firstName: string;
|
|
@@ -174,14 +306,33 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
174
306
|
email: string;
|
|
175
307
|
};
|
|
176
308
|
job: {
|
|
309
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
310
|
+
createdAt: string;
|
|
311
|
+
updatedAt: string;
|
|
177
312
|
id: string;
|
|
178
|
-
|
|
313
|
+
pay: {
|
|
314
|
+
rate: number;
|
|
315
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
316
|
+
receivedRate: number;
|
|
317
|
+
rateMax?: number | null | undefined;
|
|
318
|
+
};
|
|
319
|
+
tradeId: string;
|
|
320
|
+
description: string;
|
|
321
|
+
numberOfPositions: number;
|
|
322
|
+
workHours?: number | null | undefined;
|
|
323
|
+
location?: {
|
|
324
|
+
address?: string | null | undefined;
|
|
325
|
+
postcode?: string | null | undefined;
|
|
326
|
+
county?: string | null | undefined;
|
|
327
|
+
adminDistrict?: string | null | undefined;
|
|
328
|
+
builtUpArea?: string | null | undefined;
|
|
329
|
+
postTown?: string | null | undefined;
|
|
330
|
+
areaCovered?: string | null | undefined;
|
|
331
|
+
} | null | undefined;
|
|
179
332
|
};
|
|
180
|
-
userId: string;
|
|
181
333
|
endDate?: string | null | undefined;
|
|
182
334
|
};
|
|
183
335
|
}, {
|
|
184
|
-
date: string | Date;
|
|
185
336
|
createdAt: string | Date;
|
|
186
337
|
updatedAt: string | Date;
|
|
187
338
|
id: string;
|
|
@@ -189,6 +340,7 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
189
340
|
rate: number;
|
|
190
341
|
unit: "DAILY" | "HOURLY";
|
|
191
342
|
};
|
|
343
|
+
date: string | Date;
|
|
192
344
|
comment: string | null;
|
|
193
345
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
194
346
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -198,19 +350,20 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
198
350
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
199
351
|
booking: {
|
|
200
352
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
353
|
+
startDate: string | Date;
|
|
201
354
|
createdAt: string | Date;
|
|
202
355
|
updatedAt: string | Date;
|
|
203
356
|
id: string;
|
|
204
|
-
pay: {
|
|
205
|
-
rate: number;
|
|
206
|
-
unit: "DAILY" | "HOURLY";
|
|
207
|
-
};
|
|
208
|
-
startDate: string | Date;
|
|
209
357
|
worker: {
|
|
210
358
|
id: string;
|
|
211
359
|
firstName: string;
|
|
212
360
|
lastName: string;
|
|
213
361
|
};
|
|
362
|
+
pay: {
|
|
363
|
+
rate: number;
|
|
364
|
+
unit: "DAILY" | "HOURLY";
|
|
365
|
+
};
|
|
366
|
+
userId: string;
|
|
214
367
|
user: {
|
|
215
368
|
id: string;
|
|
216
369
|
firstName: string;
|
|
@@ -218,10 +371,30 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
218
371
|
email: string;
|
|
219
372
|
};
|
|
220
373
|
job: {
|
|
374
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
375
|
+
createdAt: string | Date;
|
|
376
|
+
updatedAt: string | Date;
|
|
221
377
|
id: string;
|
|
222
|
-
|
|
378
|
+
pay: {
|
|
379
|
+
rate: number;
|
|
380
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
381
|
+
receivedRate: number;
|
|
382
|
+
rateMax?: number | null | undefined;
|
|
383
|
+
};
|
|
384
|
+
tradeId: string;
|
|
385
|
+
description: string;
|
|
386
|
+
numberOfPositions: number;
|
|
387
|
+
workHours?: number | null | undefined;
|
|
388
|
+
location?: {
|
|
389
|
+
address?: string | null | undefined;
|
|
390
|
+
postcode?: string | null | undefined;
|
|
391
|
+
county?: string | null | undefined;
|
|
392
|
+
adminDistrict?: string | null | undefined;
|
|
393
|
+
builtUpArea?: string | null | undefined;
|
|
394
|
+
postTown?: string | null | undefined;
|
|
395
|
+
areaCovered?: string | null | undefined;
|
|
396
|
+
} | null | undefined;
|
|
223
397
|
};
|
|
224
|
-
userId: string;
|
|
225
398
|
endDate?: string | Date | null | undefined;
|
|
226
399
|
};
|
|
227
400
|
}>;
|
|
@@ -241,20 +414,20 @@ export declare const CreateActiveSchema: z.ZodObject<{
|
|
|
241
414
|
statusSa: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
242
415
|
statusFa: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
243
416
|
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
date: string;
|
|
245
417
|
pay: {
|
|
246
418
|
rate: number;
|
|
247
419
|
unit: "DAILY" | "HOURLY";
|
|
248
420
|
};
|
|
421
|
+
date: string;
|
|
249
422
|
comment?: string | undefined;
|
|
250
423
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
251
424
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
252
425
|
}, {
|
|
253
|
-
date: string;
|
|
254
426
|
pay: {
|
|
255
427
|
rate: number;
|
|
256
428
|
unit: "DAILY" | "HOURLY";
|
|
257
429
|
};
|
|
430
|
+
date: string;
|
|
258
431
|
comment?: string | undefined;
|
|
259
432
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
260
433
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -343,10 +516,6 @@ export declare const FilterActiveSchema: z.ZodObject<{
|
|
|
343
516
|
}, "strip", z.ZodTypeAny, {
|
|
344
517
|
limit: number;
|
|
345
518
|
page: number;
|
|
346
|
-
date?: {
|
|
347
|
-
from?: string | null | undefined;
|
|
348
|
-
to?: string | null | undefined;
|
|
349
|
-
} | null | undefined;
|
|
350
519
|
status?: {
|
|
351
520
|
filterType: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER";
|
|
352
521
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -359,14 +528,14 @@ export declare const FilterActiveSchema: z.ZodObject<{
|
|
|
359
528
|
min?: number | undefined;
|
|
360
529
|
max?: number | undefined;
|
|
361
530
|
} | null | undefined;
|
|
362
|
-
|
|
363
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
531
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
364
532
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
365
|
-
}, {
|
|
366
533
|
date?: {
|
|
367
534
|
from?: string | null | undefined;
|
|
368
535
|
to?: string | null | undefined;
|
|
369
536
|
} | null | undefined;
|
|
537
|
+
bookingId?: string | null | undefined;
|
|
538
|
+
}, {
|
|
370
539
|
status?: {
|
|
371
540
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
372
541
|
filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
|
|
@@ -381,9 +550,13 @@ export declare const FilterActiveSchema: z.ZodObject<{
|
|
|
381
550
|
} | null | undefined;
|
|
382
551
|
limit?: number | undefined;
|
|
383
552
|
page?: number | undefined;
|
|
384
|
-
|
|
385
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
553
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
386
554
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
555
|
+
date?: {
|
|
556
|
+
from?: string | null | undefined;
|
|
557
|
+
to?: string | null | undefined;
|
|
558
|
+
} | null | undefined;
|
|
559
|
+
bookingId?: string | null | undefined;
|
|
387
560
|
}>;
|
|
388
561
|
export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
389
562
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -452,32 +625,122 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
452
625
|
}>;
|
|
453
626
|
job: z.ZodObject<{
|
|
454
627
|
id: z.ZodString;
|
|
455
|
-
|
|
628
|
+
description: z.ZodString;
|
|
629
|
+
numberOfPositions: z.ZodNumber;
|
|
630
|
+
workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
631
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
632
|
+
pay: z.ZodObject<{
|
|
633
|
+
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
634
|
+
rate: z.ZodNumber;
|
|
635
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
636
|
+
receivedRate: z.ZodNumber;
|
|
637
|
+
}, "strip", z.ZodTypeAny, {
|
|
638
|
+
rate: number;
|
|
639
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
640
|
+
receivedRate: number;
|
|
641
|
+
rateMax?: number | null | undefined;
|
|
642
|
+
}, {
|
|
643
|
+
rate: number;
|
|
644
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
645
|
+
receivedRate: number;
|
|
646
|
+
rateMax?: number | null | undefined;
|
|
647
|
+
}>;
|
|
648
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
649
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
650
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
651
|
+
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
652
|
+
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
653
|
+
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
654
|
+
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
655
|
+
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
656
|
+
}, "strip", z.ZodTypeAny, {
|
|
657
|
+
address?: string | null | undefined;
|
|
658
|
+
postcode?: string | null | undefined;
|
|
659
|
+
county?: string | null | undefined;
|
|
660
|
+
adminDistrict?: string | null | undefined;
|
|
661
|
+
builtUpArea?: string | null | undefined;
|
|
662
|
+
postTown?: string | null | undefined;
|
|
663
|
+
areaCovered?: string | null | undefined;
|
|
664
|
+
}, {
|
|
665
|
+
address?: string | null | undefined;
|
|
666
|
+
postcode?: string | null | undefined;
|
|
667
|
+
county?: string | null | undefined;
|
|
668
|
+
adminDistrict?: string | null | undefined;
|
|
669
|
+
builtUpArea?: string | null | undefined;
|
|
670
|
+
postTown?: string | null | undefined;
|
|
671
|
+
areaCovered?: string | null | undefined;
|
|
672
|
+
}>>>;
|
|
673
|
+
tradeId: z.ZodString;
|
|
674
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
675
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
456
676
|
}, "strip", z.ZodTypeAny, {
|
|
677
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
678
|
+
createdAt: string;
|
|
679
|
+
updatedAt: string;
|
|
457
680
|
id: string;
|
|
458
|
-
|
|
681
|
+
pay: {
|
|
682
|
+
rate: number;
|
|
683
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
684
|
+
receivedRate: number;
|
|
685
|
+
rateMax?: number | null | undefined;
|
|
686
|
+
};
|
|
687
|
+
tradeId: string;
|
|
688
|
+
description: string;
|
|
689
|
+
numberOfPositions: number;
|
|
690
|
+
workHours?: number | null | undefined;
|
|
691
|
+
location?: {
|
|
692
|
+
address?: string | null | undefined;
|
|
693
|
+
postcode?: string | null | undefined;
|
|
694
|
+
county?: string | null | undefined;
|
|
695
|
+
adminDistrict?: string | null | undefined;
|
|
696
|
+
builtUpArea?: string | null | undefined;
|
|
697
|
+
postTown?: string | null | undefined;
|
|
698
|
+
areaCovered?: string | null | undefined;
|
|
699
|
+
} | null | undefined;
|
|
459
700
|
}, {
|
|
701
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
702
|
+
createdAt: string | Date;
|
|
703
|
+
updatedAt: string | Date;
|
|
460
704
|
id: string;
|
|
461
|
-
|
|
705
|
+
pay: {
|
|
706
|
+
rate: number;
|
|
707
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
708
|
+
receivedRate: number;
|
|
709
|
+
rateMax?: number | null | undefined;
|
|
710
|
+
};
|
|
711
|
+
tradeId: string;
|
|
712
|
+
description: string;
|
|
713
|
+
numberOfPositions: number;
|
|
714
|
+
workHours?: number | null | undefined;
|
|
715
|
+
location?: {
|
|
716
|
+
address?: string | null | undefined;
|
|
717
|
+
postcode?: string | null | undefined;
|
|
718
|
+
county?: string | null | undefined;
|
|
719
|
+
adminDistrict?: string | null | undefined;
|
|
720
|
+
builtUpArea?: string | null | undefined;
|
|
721
|
+
postTown?: string | null | undefined;
|
|
722
|
+
areaCovered?: string | null | undefined;
|
|
723
|
+
} | null | undefined;
|
|
462
724
|
}>;
|
|
463
725
|
userId: z.ZodString;
|
|
464
726
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
465
727
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
466
728
|
}, "strip", z.ZodTypeAny, {
|
|
467
729
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
730
|
+
startDate: string;
|
|
468
731
|
createdAt: string;
|
|
469
732
|
updatedAt: string;
|
|
470
733
|
id: string;
|
|
471
|
-
pay: {
|
|
472
|
-
rate: number;
|
|
473
|
-
unit: "DAILY" | "HOURLY";
|
|
474
|
-
};
|
|
475
|
-
startDate: string;
|
|
476
734
|
worker: {
|
|
477
735
|
id: string;
|
|
478
736
|
firstName: string;
|
|
479
737
|
lastName: string;
|
|
480
738
|
};
|
|
739
|
+
pay: {
|
|
740
|
+
rate: number;
|
|
741
|
+
unit: "DAILY" | "HOURLY";
|
|
742
|
+
};
|
|
743
|
+
userId: string;
|
|
481
744
|
user: {
|
|
482
745
|
id: string;
|
|
483
746
|
firstName: string;
|
|
@@ -485,26 +748,47 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
485
748
|
email: string;
|
|
486
749
|
};
|
|
487
750
|
job: {
|
|
751
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
752
|
+
createdAt: string;
|
|
753
|
+
updatedAt: string;
|
|
488
754
|
id: string;
|
|
489
|
-
|
|
755
|
+
pay: {
|
|
756
|
+
rate: number;
|
|
757
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
758
|
+
receivedRate: number;
|
|
759
|
+
rateMax?: number | null | undefined;
|
|
760
|
+
};
|
|
761
|
+
tradeId: string;
|
|
762
|
+
description: string;
|
|
763
|
+
numberOfPositions: number;
|
|
764
|
+
workHours?: number | null | undefined;
|
|
765
|
+
location?: {
|
|
766
|
+
address?: string | null | undefined;
|
|
767
|
+
postcode?: string | null | undefined;
|
|
768
|
+
county?: string | null | undefined;
|
|
769
|
+
adminDistrict?: string | null | undefined;
|
|
770
|
+
builtUpArea?: string | null | undefined;
|
|
771
|
+
postTown?: string | null | undefined;
|
|
772
|
+
areaCovered?: string | null | undefined;
|
|
773
|
+
} | null | undefined;
|
|
490
774
|
};
|
|
491
|
-
userId: string;
|
|
492
775
|
endDate?: string | null | undefined;
|
|
493
776
|
}, {
|
|
494
777
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
778
|
+
startDate: string | Date;
|
|
495
779
|
createdAt: string | Date;
|
|
496
780
|
updatedAt: string | Date;
|
|
497
781
|
id: string;
|
|
498
|
-
pay: {
|
|
499
|
-
rate: number;
|
|
500
|
-
unit: "DAILY" | "HOURLY";
|
|
501
|
-
};
|
|
502
|
-
startDate: string | Date;
|
|
503
782
|
worker: {
|
|
504
783
|
id: string;
|
|
505
784
|
firstName: string;
|
|
506
785
|
lastName: string;
|
|
507
786
|
};
|
|
787
|
+
pay: {
|
|
788
|
+
rate: number;
|
|
789
|
+
unit: "DAILY" | "HOURLY";
|
|
790
|
+
};
|
|
791
|
+
userId: string;
|
|
508
792
|
user: {
|
|
509
793
|
id: string;
|
|
510
794
|
firstName: string;
|
|
@@ -512,16 +796,35 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
512
796
|
email: string;
|
|
513
797
|
};
|
|
514
798
|
job: {
|
|
799
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
800
|
+
createdAt: string | Date;
|
|
801
|
+
updatedAt: string | Date;
|
|
515
802
|
id: string;
|
|
516
|
-
|
|
803
|
+
pay: {
|
|
804
|
+
rate: number;
|
|
805
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
806
|
+
receivedRate: number;
|
|
807
|
+
rateMax?: number | null | undefined;
|
|
808
|
+
};
|
|
809
|
+
tradeId: string;
|
|
810
|
+
description: string;
|
|
811
|
+
numberOfPositions: number;
|
|
812
|
+
workHours?: number | null | undefined;
|
|
813
|
+
location?: {
|
|
814
|
+
address?: string | null | undefined;
|
|
815
|
+
postcode?: string | null | undefined;
|
|
816
|
+
county?: string | null | undefined;
|
|
817
|
+
adminDistrict?: string | null | undefined;
|
|
818
|
+
builtUpArea?: string | null | undefined;
|
|
819
|
+
postTown?: string | null | undefined;
|
|
820
|
+
areaCovered?: string | null | undefined;
|
|
821
|
+
} | null | undefined;
|
|
517
822
|
};
|
|
518
|
-
userId: string;
|
|
519
823
|
endDate?: string | Date | null | undefined;
|
|
520
824
|
}>;
|
|
521
825
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
522
826
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
523
827
|
}, "strip", z.ZodTypeAny, {
|
|
524
|
-
date: string;
|
|
525
828
|
createdAt: string;
|
|
526
829
|
updatedAt: string;
|
|
527
830
|
id: string;
|
|
@@ -529,6 +832,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
529
832
|
rate: number;
|
|
530
833
|
unit: "DAILY" | "HOURLY";
|
|
531
834
|
};
|
|
835
|
+
date: string;
|
|
532
836
|
comment: string | null;
|
|
533
837
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
534
838
|
statusSaUpdatedAt: string | null;
|
|
@@ -538,19 +842,20 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
538
842
|
hoursWorkedUpdatedAt: string | null;
|
|
539
843
|
booking: {
|
|
540
844
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
845
|
+
startDate: string;
|
|
541
846
|
createdAt: string;
|
|
542
847
|
updatedAt: string;
|
|
543
848
|
id: string;
|
|
544
|
-
pay: {
|
|
545
|
-
rate: number;
|
|
546
|
-
unit: "DAILY" | "HOURLY";
|
|
547
|
-
};
|
|
548
|
-
startDate: string;
|
|
549
849
|
worker: {
|
|
550
850
|
id: string;
|
|
551
851
|
firstName: string;
|
|
552
852
|
lastName: string;
|
|
553
853
|
};
|
|
854
|
+
pay: {
|
|
855
|
+
rate: number;
|
|
856
|
+
unit: "DAILY" | "HOURLY";
|
|
857
|
+
};
|
|
858
|
+
userId: string;
|
|
554
859
|
user: {
|
|
555
860
|
id: string;
|
|
556
861
|
firstName: string;
|
|
@@ -558,14 +863,33 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
558
863
|
email: string;
|
|
559
864
|
};
|
|
560
865
|
job: {
|
|
866
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
867
|
+
createdAt: string;
|
|
868
|
+
updatedAt: string;
|
|
561
869
|
id: string;
|
|
562
|
-
|
|
870
|
+
pay: {
|
|
871
|
+
rate: number;
|
|
872
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
873
|
+
receivedRate: number;
|
|
874
|
+
rateMax?: number | null | undefined;
|
|
875
|
+
};
|
|
876
|
+
tradeId: string;
|
|
877
|
+
description: string;
|
|
878
|
+
numberOfPositions: number;
|
|
879
|
+
workHours?: number | null | undefined;
|
|
880
|
+
location?: {
|
|
881
|
+
address?: string | null | undefined;
|
|
882
|
+
postcode?: string | null | undefined;
|
|
883
|
+
county?: string | null | undefined;
|
|
884
|
+
adminDistrict?: string | null | undefined;
|
|
885
|
+
builtUpArea?: string | null | undefined;
|
|
886
|
+
postTown?: string | null | undefined;
|
|
887
|
+
areaCovered?: string | null | undefined;
|
|
888
|
+
} | null | undefined;
|
|
563
889
|
};
|
|
564
|
-
userId: string;
|
|
565
890
|
endDate?: string | null | undefined;
|
|
566
891
|
};
|
|
567
892
|
}, {
|
|
568
|
-
date: string | Date;
|
|
569
893
|
createdAt: string | Date;
|
|
570
894
|
updatedAt: string | Date;
|
|
571
895
|
id: string;
|
|
@@ -573,6 +897,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
573
897
|
rate: number;
|
|
574
898
|
unit: "DAILY" | "HOURLY";
|
|
575
899
|
};
|
|
900
|
+
date: string | Date;
|
|
576
901
|
comment: string | null;
|
|
577
902
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
578
903
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -582,19 +907,20 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
582
907
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
583
908
|
booking: {
|
|
584
909
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
910
|
+
startDate: string | Date;
|
|
585
911
|
createdAt: string | Date;
|
|
586
912
|
updatedAt: string | Date;
|
|
587
913
|
id: string;
|
|
588
|
-
pay: {
|
|
589
|
-
rate: number;
|
|
590
|
-
unit: "DAILY" | "HOURLY";
|
|
591
|
-
};
|
|
592
|
-
startDate: string | Date;
|
|
593
914
|
worker: {
|
|
594
915
|
id: string;
|
|
595
916
|
firstName: string;
|
|
596
917
|
lastName: string;
|
|
597
918
|
};
|
|
919
|
+
pay: {
|
|
920
|
+
rate: number;
|
|
921
|
+
unit: "DAILY" | "HOURLY";
|
|
922
|
+
};
|
|
923
|
+
userId: string;
|
|
598
924
|
user: {
|
|
599
925
|
id: string;
|
|
600
926
|
firstName: string;
|
|
@@ -602,10 +928,30 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
602
928
|
email: string;
|
|
603
929
|
};
|
|
604
930
|
job: {
|
|
931
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
932
|
+
createdAt: string | Date;
|
|
933
|
+
updatedAt: string | Date;
|
|
605
934
|
id: string;
|
|
606
|
-
|
|
935
|
+
pay: {
|
|
936
|
+
rate: number;
|
|
937
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
938
|
+
receivedRate: number;
|
|
939
|
+
rateMax?: number | null | undefined;
|
|
940
|
+
};
|
|
941
|
+
tradeId: string;
|
|
942
|
+
description: string;
|
|
943
|
+
numberOfPositions: number;
|
|
944
|
+
workHours?: number | null | undefined;
|
|
945
|
+
location?: {
|
|
946
|
+
address?: string | null | undefined;
|
|
947
|
+
postcode?: string | null | undefined;
|
|
948
|
+
county?: string | null | undefined;
|
|
949
|
+
adminDistrict?: string | null | undefined;
|
|
950
|
+
builtUpArea?: string | null | undefined;
|
|
951
|
+
postTown?: string | null | undefined;
|
|
952
|
+
areaCovered?: string | null | undefined;
|
|
953
|
+
} | null | undefined;
|
|
607
954
|
};
|
|
608
|
-
userId: string;
|
|
609
955
|
endDate?: string | Date | null | undefined;
|
|
610
956
|
};
|
|
611
957
|
}>, "many">;
|
|
@@ -617,7 +963,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
617
963
|
}, "strip", z.ZodTypeAny, {
|
|
618
964
|
limit: number;
|
|
619
965
|
items: {
|
|
620
|
-
date: string;
|
|
621
966
|
createdAt: string;
|
|
622
967
|
updatedAt: string;
|
|
623
968
|
id: string;
|
|
@@ -625,6 +970,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
625
970
|
rate: number;
|
|
626
971
|
unit: "DAILY" | "HOURLY";
|
|
627
972
|
};
|
|
973
|
+
date: string;
|
|
628
974
|
comment: string | null;
|
|
629
975
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
630
976
|
statusSaUpdatedAt: string | null;
|
|
@@ -634,19 +980,20 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
634
980
|
hoursWorkedUpdatedAt: string | null;
|
|
635
981
|
booking: {
|
|
636
982
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
983
|
+
startDate: string;
|
|
637
984
|
createdAt: string;
|
|
638
985
|
updatedAt: string;
|
|
639
986
|
id: string;
|
|
640
|
-
pay: {
|
|
641
|
-
rate: number;
|
|
642
|
-
unit: "DAILY" | "HOURLY";
|
|
643
|
-
};
|
|
644
|
-
startDate: string;
|
|
645
987
|
worker: {
|
|
646
988
|
id: string;
|
|
647
989
|
firstName: string;
|
|
648
990
|
lastName: string;
|
|
649
991
|
};
|
|
992
|
+
pay: {
|
|
993
|
+
rate: number;
|
|
994
|
+
unit: "DAILY" | "HOURLY";
|
|
995
|
+
};
|
|
996
|
+
userId: string;
|
|
650
997
|
user: {
|
|
651
998
|
id: string;
|
|
652
999
|
firstName: string;
|
|
@@ -654,10 +1001,30 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
654
1001
|
email: string;
|
|
655
1002
|
};
|
|
656
1003
|
job: {
|
|
1004
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1005
|
+
createdAt: string;
|
|
1006
|
+
updatedAt: string;
|
|
657
1007
|
id: string;
|
|
658
|
-
|
|
1008
|
+
pay: {
|
|
1009
|
+
rate: number;
|
|
1010
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1011
|
+
receivedRate: number;
|
|
1012
|
+
rateMax?: number | null | undefined;
|
|
1013
|
+
};
|
|
1014
|
+
tradeId: string;
|
|
1015
|
+
description: string;
|
|
1016
|
+
numberOfPositions: number;
|
|
1017
|
+
workHours?: number | null | undefined;
|
|
1018
|
+
location?: {
|
|
1019
|
+
address?: string | null | undefined;
|
|
1020
|
+
postcode?: string | null | undefined;
|
|
1021
|
+
county?: string | null | undefined;
|
|
1022
|
+
adminDistrict?: string | null | undefined;
|
|
1023
|
+
builtUpArea?: string | null | undefined;
|
|
1024
|
+
postTown?: string | null | undefined;
|
|
1025
|
+
areaCovered?: string | null | undefined;
|
|
1026
|
+
} | null | undefined;
|
|
659
1027
|
};
|
|
660
|
-
userId: string;
|
|
661
1028
|
endDate?: string | null | undefined;
|
|
662
1029
|
};
|
|
663
1030
|
}[];
|
|
@@ -668,7 +1035,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
668
1035
|
}, {
|
|
669
1036
|
limit: number;
|
|
670
1037
|
items: {
|
|
671
|
-
date: string | Date;
|
|
672
1038
|
createdAt: string | Date;
|
|
673
1039
|
updatedAt: string | Date;
|
|
674
1040
|
id: string;
|
|
@@ -676,6 +1042,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
676
1042
|
rate: number;
|
|
677
1043
|
unit: "DAILY" | "HOURLY";
|
|
678
1044
|
};
|
|
1045
|
+
date: string | Date;
|
|
679
1046
|
comment: string | null;
|
|
680
1047
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
681
1048
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -685,19 +1052,20 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
685
1052
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
686
1053
|
booking: {
|
|
687
1054
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1055
|
+
startDate: string | Date;
|
|
688
1056
|
createdAt: string | Date;
|
|
689
1057
|
updatedAt: string | Date;
|
|
690
1058
|
id: string;
|
|
691
|
-
pay: {
|
|
692
|
-
rate: number;
|
|
693
|
-
unit: "DAILY" | "HOURLY";
|
|
694
|
-
};
|
|
695
|
-
startDate: string | Date;
|
|
696
1059
|
worker: {
|
|
697
1060
|
id: string;
|
|
698
1061
|
firstName: string;
|
|
699
1062
|
lastName: string;
|
|
700
1063
|
};
|
|
1064
|
+
pay: {
|
|
1065
|
+
rate: number;
|
|
1066
|
+
unit: "DAILY" | "HOURLY";
|
|
1067
|
+
};
|
|
1068
|
+
userId: string;
|
|
701
1069
|
user: {
|
|
702
1070
|
id: string;
|
|
703
1071
|
firstName: string;
|
|
@@ -705,10 +1073,30 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
705
1073
|
email: string;
|
|
706
1074
|
};
|
|
707
1075
|
job: {
|
|
1076
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1077
|
+
createdAt: string | Date;
|
|
1078
|
+
updatedAt: string | Date;
|
|
708
1079
|
id: string;
|
|
709
|
-
|
|
1080
|
+
pay: {
|
|
1081
|
+
rate: number;
|
|
1082
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1083
|
+
receivedRate: number;
|
|
1084
|
+
rateMax?: number | null | undefined;
|
|
1085
|
+
};
|
|
1086
|
+
tradeId: string;
|
|
1087
|
+
description: string;
|
|
1088
|
+
numberOfPositions: number;
|
|
1089
|
+
workHours?: number | null | undefined;
|
|
1090
|
+
location?: {
|
|
1091
|
+
address?: string | null | undefined;
|
|
1092
|
+
postcode?: string | null | undefined;
|
|
1093
|
+
county?: string | null | undefined;
|
|
1094
|
+
adminDistrict?: string | null | undefined;
|
|
1095
|
+
builtUpArea?: string | null | undefined;
|
|
1096
|
+
postTown?: string | null | undefined;
|
|
1097
|
+
areaCovered?: string | null | undefined;
|
|
1098
|
+
} | null | undefined;
|
|
710
1099
|
};
|
|
711
|
-
userId: string;
|
|
712
1100
|
endDate?: string | Date | null | undefined;
|
|
713
1101
|
};
|
|
714
1102
|
}[];
|
|
@@ -758,20 +1146,20 @@ export declare const activesContractRouter: {
|
|
|
758
1146
|
statusSa: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
759
1147
|
statusFa: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
760
1148
|
}, "strip", z.ZodTypeAny, {
|
|
761
|
-
date: string;
|
|
762
1149
|
pay: {
|
|
763
1150
|
rate: number;
|
|
764
1151
|
unit: "DAILY" | "HOURLY";
|
|
765
1152
|
};
|
|
1153
|
+
date: string;
|
|
766
1154
|
comment?: string | undefined;
|
|
767
1155
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
768
1156
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
769
1157
|
}, {
|
|
770
|
-
date: string;
|
|
771
1158
|
pay: {
|
|
772
1159
|
rate: number;
|
|
773
1160
|
unit: "DAILY" | "HOURLY";
|
|
774
1161
|
};
|
|
1162
|
+
date: string;
|
|
775
1163
|
comment?: string | undefined;
|
|
776
1164
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
777
1165
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -944,32 +1332,122 @@ export declare const activesContractRouter: {
|
|
|
944
1332
|
}>;
|
|
945
1333
|
job: z.ZodObject<{
|
|
946
1334
|
id: z.ZodString;
|
|
947
|
-
|
|
1335
|
+
description: z.ZodString;
|
|
1336
|
+
numberOfPositions: z.ZodNumber;
|
|
1337
|
+
workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1338
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
1339
|
+
pay: z.ZodObject<{
|
|
1340
|
+
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
1341
|
+
rate: z.ZodNumber;
|
|
1342
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1343
|
+
receivedRate: z.ZodNumber;
|
|
1344
|
+
}, "strip", z.ZodTypeAny, {
|
|
1345
|
+
rate: number;
|
|
1346
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1347
|
+
receivedRate: number;
|
|
1348
|
+
rateMax?: number | null | undefined;
|
|
1349
|
+
}, {
|
|
1350
|
+
rate: number;
|
|
1351
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1352
|
+
receivedRate: number;
|
|
1353
|
+
rateMax?: number | null | undefined;
|
|
1354
|
+
}>;
|
|
1355
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1356
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1357
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1358
|
+
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1359
|
+
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1360
|
+
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1361
|
+
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1362
|
+
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1363
|
+
}, "strip", z.ZodTypeAny, {
|
|
1364
|
+
address?: string | null | undefined;
|
|
1365
|
+
postcode?: string | null | undefined;
|
|
1366
|
+
county?: string | null | undefined;
|
|
1367
|
+
adminDistrict?: string | null | undefined;
|
|
1368
|
+
builtUpArea?: string | null | undefined;
|
|
1369
|
+
postTown?: string | null | undefined;
|
|
1370
|
+
areaCovered?: string | null | undefined;
|
|
1371
|
+
}, {
|
|
1372
|
+
address?: string | null | undefined;
|
|
1373
|
+
postcode?: string | null | undefined;
|
|
1374
|
+
county?: string | null | undefined;
|
|
1375
|
+
adminDistrict?: string | null | undefined;
|
|
1376
|
+
builtUpArea?: string | null | undefined;
|
|
1377
|
+
postTown?: string | null | undefined;
|
|
1378
|
+
areaCovered?: string | null | undefined;
|
|
1379
|
+
}>>>;
|
|
1380
|
+
tradeId: z.ZodString;
|
|
1381
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1382
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
948
1383
|
}, "strip", z.ZodTypeAny, {
|
|
1384
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1385
|
+
createdAt: string;
|
|
1386
|
+
updatedAt: string;
|
|
949
1387
|
id: string;
|
|
950
|
-
|
|
1388
|
+
pay: {
|
|
1389
|
+
rate: number;
|
|
1390
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1391
|
+
receivedRate: number;
|
|
1392
|
+
rateMax?: number | null | undefined;
|
|
1393
|
+
};
|
|
1394
|
+
tradeId: string;
|
|
1395
|
+
description: string;
|
|
1396
|
+
numberOfPositions: number;
|
|
1397
|
+
workHours?: number | null | undefined;
|
|
1398
|
+
location?: {
|
|
1399
|
+
address?: string | null | undefined;
|
|
1400
|
+
postcode?: string | null | undefined;
|
|
1401
|
+
county?: string | null | undefined;
|
|
1402
|
+
adminDistrict?: string | null | undefined;
|
|
1403
|
+
builtUpArea?: string | null | undefined;
|
|
1404
|
+
postTown?: string | null | undefined;
|
|
1405
|
+
areaCovered?: string | null | undefined;
|
|
1406
|
+
} | null | undefined;
|
|
951
1407
|
}, {
|
|
1408
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1409
|
+
createdAt: string | Date;
|
|
1410
|
+
updatedAt: string | Date;
|
|
952
1411
|
id: string;
|
|
953
|
-
|
|
1412
|
+
pay: {
|
|
1413
|
+
rate: number;
|
|
1414
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1415
|
+
receivedRate: number;
|
|
1416
|
+
rateMax?: number | null | undefined;
|
|
1417
|
+
};
|
|
1418
|
+
tradeId: string;
|
|
1419
|
+
description: string;
|
|
1420
|
+
numberOfPositions: number;
|
|
1421
|
+
workHours?: number | null | undefined;
|
|
1422
|
+
location?: {
|
|
1423
|
+
address?: string | null | undefined;
|
|
1424
|
+
postcode?: string | null | undefined;
|
|
1425
|
+
county?: string | null | undefined;
|
|
1426
|
+
adminDistrict?: string | null | undefined;
|
|
1427
|
+
builtUpArea?: string | null | undefined;
|
|
1428
|
+
postTown?: string | null | undefined;
|
|
1429
|
+
areaCovered?: string | null | undefined;
|
|
1430
|
+
} | null | undefined;
|
|
954
1431
|
}>;
|
|
955
1432
|
userId: z.ZodString;
|
|
956
1433
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
957
1434
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
958
1435
|
}, "strip", z.ZodTypeAny, {
|
|
959
1436
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1437
|
+
startDate: string;
|
|
960
1438
|
createdAt: string;
|
|
961
1439
|
updatedAt: string;
|
|
962
1440
|
id: string;
|
|
963
|
-
pay: {
|
|
964
|
-
rate: number;
|
|
965
|
-
unit: "DAILY" | "HOURLY";
|
|
966
|
-
};
|
|
967
|
-
startDate: string;
|
|
968
1441
|
worker: {
|
|
969
1442
|
id: string;
|
|
970
1443
|
firstName: string;
|
|
971
1444
|
lastName: string;
|
|
972
1445
|
};
|
|
1446
|
+
pay: {
|
|
1447
|
+
rate: number;
|
|
1448
|
+
unit: "DAILY" | "HOURLY";
|
|
1449
|
+
};
|
|
1450
|
+
userId: string;
|
|
973
1451
|
user: {
|
|
974
1452
|
id: string;
|
|
975
1453
|
firstName: string;
|
|
@@ -977,26 +1455,47 @@ export declare const activesContractRouter: {
|
|
|
977
1455
|
email: string;
|
|
978
1456
|
};
|
|
979
1457
|
job: {
|
|
1458
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1459
|
+
createdAt: string;
|
|
1460
|
+
updatedAt: string;
|
|
980
1461
|
id: string;
|
|
981
|
-
|
|
1462
|
+
pay: {
|
|
1463
|
+
rate: number;
|
|
1464
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1465
|
+
receivedRate: number;
|
|
1466
|
+
rateMax?: number | null | undefined;
|
|
1467
|
+
};
|
|
1468
|
+
tradeId: string;
|
|
1469
|
+
description: string;
|
|
1470
|
+
numberOfPositions: number;
|
|
1471
|
+
workHours?: number | null | undefined;
|
|
1472
|
+
location?: {
|
|
1473
|
+
address?: string | null | undefined;
|
|
1474
|
+
postcode?: string | null | undefined;
|
|
1475
|
+
county?: string | null | undefined;
|
|
1476
|
+
adminDistrict?: string | null | undefined;
|
|
1477
|
+
builtUpArea?: string | null | undefined;
|
|
1478
|
+
postTown?: string | null | undefined;
|
|
1479
|
+
areaCovered?: string | null | undefined;
|
|
1480
|
+
} | null | undefined;
|
|
982
1481
|
};
|
|
983
|
-
userId: string;
|
|
984
1482
|
endDate?: string | null | undefined;
|
|
985
1483
|
}, {
|
|
986
1484
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1485
|
+
startDate: string | Date;
|
|
987
1486
|
createdAt: string | Date;
|
|
988
1487
|
updatedAt: string | Date;
|
|
989
1488
|
id: string;
|
|
990
|
-
pay: {
|
|
991
|
-
rate: number;
|
|
992
|
-
unit: "DAILY" | "HOURLY";
|
|
993
|
-
};
|
|
994
|
-
startDate: string | Date;
|
|
995
1489
|
worker: {
|
|
996
1490
|
id: string;
|
|
997
1491
|
firstName: string;
|
|
998
1492
|
lastName: string;
|
|
999
1493
|
};
|
|
1494
|
+
pay: {
|
|
1495
|
+
rate: number;
|
|
1496
|
+
unit: "DAILY" | "HOURLY";
|
|
1497
|
+
};
|
|
1498
|
+
userId: string;
|
|
1000
1499
|
user: {
|
|
1001
1500
|
id: string;
|
|
1002
1501
|
firstName: string;
|
|
@@ -1004,16 +1503,35 @@ export declare const activesContractRouter: {
|
|
|
1004
1503
|
email: string;
|
|
1005
1504
|
};
|
|
1006
1505
|
job: {
|
|
1506
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1507
|
+
createdAt: string | Date;
|
|
1508
|
+
updatedAt: string | Date;
|
|
1007
1509
|
id: string;
|
|
1008
|
-
|
|
1510
|
+
pay: {
|
|
1511
|
+
rate: number;
|
|
1512
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1513
|
+
receivedRate: number;
|
|
1514
|
+
rateMax?: number | null | undefined;
|
|
1515
|
+
};
|
|
1516
|
+
tradeId: string;
|
|
1517
|
+
description: string;
|
|
1518
|
+
numberOfPositions: number;
|
|
1519
|
+
workHours?: number | null | undefined;
|
|
1520
|
+
location?: {
|
|
1521
|
+
address?: string | null | undefined;
|
|
1522
|
+
postcode?: string | null | undefined;
|
|
1523
|
+
county?: string | null | undefined;
|
|
1524
|
+
adminDistrict?: string | null | undefined;
|
|
1525
|
+
builtUpArea?: string | null | undefined;
|
|
1526
|
+
postTown?: string | null | undefined;
|
|
1527
|
+
areaCovered?: string | null | undefined;
|
|
1528
|
+
} | null | undefined;
|
|
1009
1529
|
};
|
|
1010
|
-
userId: string;
|
|
1011
1530
|
endDate?: string | Date | null | undefined;
|
|
1012
1531
|
}>;
|
|
1013
1532
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1014
1533
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1015
1534
|
}, "strip", z.ZodTypeAny, {
|
|
1016
|
-
date: string;
|
|
1017
1535
|
createdAt: string;
|
|
1018
1536
|
updatedAt: string;
|
|
1019
1537
|
id: string;
|
|
@@ -1021,6 +1539,7 @@ export declare const activesContractRouter: {
|
|
|
1021
1539
|
rate: number;
|
|
1022
1540
|
unit: "DAILY" | "HOURLY";
|
|
1023
1541
|
};
|
|
1542
|
+
date: string;
|
|
1024
1543
|
comment: string | null;
|
|
1025
1544
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1026
1545
|
statusSaUpdatedAt: string | null;
|
|
@@ -1030,19 +1549,20 @@ export declare const activesContractRouter: {
|
|
|
1030
1549
|
hoursWorkedUpdatedAt: string | null;
|
|
1031
1550
|
booking: {
|
|
1032
1551
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1552
|
+
startDate: string;
|
|
1033
1553
|
createdAt: string;
|
|
1034
1554
|
updatedAt: string;
|
|
1035
1555
|
id: string;
|
|
1036
|
-
pay: {
|
|
1037
|
-
rate: number;
|
|
1038
|
-
unit: "DAILY" | "HOURLY";
|
|
1039
|
-
};
|
|
1040
|
-
startDate: string;
|
|
1041
1556
|
worker: {
|
|
1042
1557
|
id: string;
|
|
1043
1558
|
firstName: string;
|
|
1044
1559
|
lastName: string;
|
|
1045
1560
|
};
|
|
1561
|
+
pay: {
|
|
1562
|
+
rate: number;
|
|
1563
|
+
unit: "DAILY" | "HOURLY";
|
|
1564
|
+
};
|
|
1565
|
+
userId: string;
|
|
1046
1566
|
user: {
|
|
1047
1567
|
id: string;
|
|
1048
1568
|
firstName: string;
|
|
@@ -1050,14 +1570,33 @@ export declare const activesContractRouter: {
|
|
|
1050
1570
|
email: string;
|
|
1051
1571
|
};
|
|
1052
1572
|
job: {
|
|
1573
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1574
|
+
createdAt: string;
|
|
1575
|
+
updatedAt: string;
|
|
1053
1576
|
id: string;
|
|
1054
|
-
|
|
1577
|
+
pay: {
|
|
1578
|
+
rate: number;
|
|
1579
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1580
|
+
receivedRate: number;
|
|
1581
|
+
rateMax?: number | null | undefined;
|
|
1582
|
+
};
|
|
1583
|
+
tradeId: string;
|
|
1584
|
+
description: string;
|
|
1585
|
+
numberOfPositions: number;
|
|
1586
|
+
workHours?: number | null | undefined;
|
|
1587
|
+
location?: {
|
|
1588
|
+
address?: string | null | undefined;
|
|
1589
|
+
postcode?: string | null | undefined;
|
|
1590
|
+
county?: string | null | undefined;
|
|
1591
|
+
adminDistrict?: string | null | undefined;
|
|
1592
|
+
builtUpArea?: string | null | undefined;
|
|
1593
|
+
postTown?: string | null | undefined;
|
|
1594
|
+
areaCovered?: string | null | undefined;
|
|
1595
|
+
} | null | undefined;
|
|
1055
1596
|
};
|
|
1056
|
-
userId: string;
|
|
1057
1597
|
endDate?: string | null | undefined;
|
|
1058
1598
|
};
|
|
1059
1599
|
}, {
|
|
1060
|
-
date: string | Date;
|
|
1061
1600
|
createdAt: string | Date;
|
|
1062
1601
|
updatedAt: string | Date;
|
|
1063
1602
|
id: string;
|
|
@@ -1065,6 +1604,7 @@ export declare const activesContractRouter: {
|
|
|
1065
1604
|
rate: number;
|
|
1066
1605
|
unit: "DAILY" | "HOURLY";
|
|
1067
1606
|
};
|
|
1607
|
+
date: string | Date;
|
|
1068
1608
|
comment: string | null;
|
|
1069
1609
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1070
1610
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -1074,19 +1614,20 @@ export declare const activesContractRouter: {
|
|
|
1074
1614
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
1075
1615
|
booking: {
|
|
1076
1616
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1617
|
+
startDate: string | Date;
|
|
1077
1618
|
createdAt: string | Date;
|
|
1078
1619
|
updatedAt: string | Date;
|
|
1079
1620
|
id: string;
|
|
1080
|
-
pay: {
|
|
1081
|
-
rate: number;
|
|
1082
|
-
unit: "DAILY" | "HOURLY";
|
|
1083
|
-
};
|
|
1084
|
-
startDate: string | Date;
|
|
1085
1621
|
worker: {
|
|
1086
1622
|
id: string;
|
|
1087
1623
|
firstName: string;
|
|
1088
1624
|
lastName: string;
|
|
1089
1625
|
};
|
|
1626
|
+
pay: {
|
|
1627
|
+
rate: number;
|
|
1628
|
+
unit: "DAILY" | "HOURLY";
|
|
1629
|
+
};
|
|
1630
|
+
userId: string;
|
|
1090
1631
|
user: {
|
|
1091
1632
|
id: string;
|
|
1092
1633
|
firstName: string;
|
|
@@ -1094,10 +1635,30 @@ export declare const activesContractRouter: {
|
|
|
1094
1635
|
email: string;
|
|
1095
1636
|
};
|
|
1096
1637
|
job: {
|
|
1638
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1639
|
+
createdAt: string | Date;
|
|
1640
|
+
updatedAt: string | Date;
|
|
1097
1641
|
id: string;
|
|
1098
|
-
|
|
1642
|
+
pay: {
|
|
1643
|
+
rate: number;
|
|
1644
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1645
|
+
receivedRate: number;
|
|
1646
|
+
rateMax?: number | null | undefined;
|
|
1647
|
+
};
|
|
1648
|
+
tradeId: string;
|
|
1649
|
+
description: string;
|
|
1650
|
+
numberOfPositions: number;
|
|
1651
|
+
workHours?: number | null | undefined;
|
|
1652
|
+
location?: {
|
|
1653
|
+
address?: string | null | undefined;
|
|
1654
|
+
postcode?: string | null | undefined;
|
|
1655
|
+
county?: string | null | undefined;
|
|
1656
|
+
adminDistrict?: string | null | undefined;
|
|
1657
|
+
builtUpArea?: string | null | undefined;
|
|
1658
|
+
postTown?: string | null | undefined;
|
|
1659
|
+
areaCovered?: string | null | undefined;
|
|
1660
|
+
} | null | undefined;
|
|
1099
1661
|
};
|
|
1100
|
-
userId: string;
|
|
1101
1662
|
endDate?: string | Date | null | undefined;
|
|
1102
1663
|
};
|
|
1103
1664
|
}>;
|
|
@@ -1210,10 +1771,6 @@ export declare const activesContractRouter: {
|
|
|
1210
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1211
1772
|
limit: number;
|
|
1212
1773
|
page: number;
|
|
1213
|
-
date?: {
|
|
1214
|
-
from?: string | null | undefined;
|
|
1215
|
-
to?: string | null | undefined;
|
|
1216
|
-
} | null | undefined;
|
|
1217
1774
|
status?: {
|
|
1218
1775
|
filterType: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER";
|
|
1219
1776
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -1226,14 +1783,14 @@ export declare const activesContractRouter: {
|
|
|
1226
1783
|
min?: number | undefined;
|
|
1227
1784
|
max?: number | undefined;
|
|
1228
1785
|
} | null | undefined;
|
|
1229
|
-
|
|
1230
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1786
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
1231
1787
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1232
|
-
}, {
|
|
1233
1788
|
date?: {
|
|
1234
1789
|
from?: string | null | undefined;
|
|
1235
1790
|
to?: string | null | undefined;
|
|
1236
1791
|
} | null | undefined;
|
|
1792
|
+
bookingId?: string | null | undefined;
|
|
1793
|
+
}, {
|
|
1237
1794
|
status?: {
|
|
1238
1795
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
1239
1796
|
filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
|
|
@@ -1248,9 +1805,13 @@ export declare const activesContractRouter: {
|
|
|
1248
1805
|
} | null | undefined;
|
|
1249
1806
|
limit?: number | undefined;
|
|
1250
1807
|
page?: number | undefined;
|
|
1251
|
-
|
|
1252
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1808
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
1253
1809
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1810
|
+
date?: {
|
|
1811
|
+
from?: string | null | undefined;
|
|
1812
|
+
to?: string | null | undefined;
|
|
1813
|
+
} | null | undefined;
|
|
1814
|
+
bookingId?: string | null | undefined;
|
|
1254
1815
|
}>;
|
|
1255
1816
|
summary: "Get all active records";
|
|
1256
1817
|
method: "GET";
|
|
@@ -1423,32 +1984,122 @@ export declare const activesContractRouter: {
|
|
|
1423
1984
|
}>;
|
|
1424
1985
|
job: z.ZodObject<{
|
|
1425
1986
|
id: z.ZodString;
|
|
1426
|
-
|
|
1987
|
+
description: z.ZodString;
|
|
1988
|
+
numberOfPositions: z.ZodNumber;
|
|
1989
|
+
workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1990
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
1991
|
+
pay: z.ZodObject<{
|
|
1992
|
+
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
1993
|
+
rate: z.ZodNumber;
|
|
1994
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1995
|
+
receivedRate: z.ZodNumber;
|
|
1996
|
+
}, "strip", z.ZodTypeAny, {
|
|
1997
|
+
rate: number;
|
|
1998
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1999
|
+
receivedRate: number;
|
|
2000
|
+
rateMax?: number | null | undefined;
|
|
2001
|
+
}, {
|
|
2002
|
+
rate: number;
|
|
2003
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2004
|
+
receivedRate: number;
|
|
2005
|
+
rateMax?: number | null | undefined;
|
|
2006
|
+
}>;
|
|
2007
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2008
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2009
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2010
|
+
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2011
|
+
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2012
|
+
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2013
|
+
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2014
|
+
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2015
|
+
}, "strip", z.ZodTypeAny, {
|
|
2016
|
+
address?: string | null | undefined;
|
|
2017
|
+
postcode?: string | null | undefined;
|
|
2018
|
+
county?: string | null | undefined;
|
|
2019
|
+
adminDistrict?: string | null | undefined;
|
|
2020
|
+
builtUpArea?: string | null | undefined;
|
|
2021
|
+
postTown?: string | null | undefined;
|
|
2022
|
+
areaCovered?: string | null | undefined;
|
|
2023
|
+
}, {
|
|
2024
|
+
address?: string | null | undefined;
|
|
2025
|
+
postcode?: string | null | undefined;
|
|
2026
|
+
county?: string | null | undefined;
|
|
2027
|
+
adminDistrict?: string | null | undefined;
|
|
2028
|
+
builtUpArea?: string | null | undefined;
|
|
2029
|
+
postTown?: string | null | undefined;
|
|
2030
|
+
areaCovered?: string | null | undefined;
|
|
2031
|
+
}>>>;
|
|
2032
|
+
tradeId: z.ZodString;
|
|
2033
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2034
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1427
2035
|
}, "strip", z.ZodTypeAny, {
|
|
2036
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2037
|
+
createdAt: string;
|
|
2038
|
+
updatedAt: string;
|
|
1428
2039
|
id: string;
|
|
1429
|
-
|
|
2040
|
+
pay: {
|
|
2041
|
+
rate: number;
|
|
2042
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2043
|
+
receivedRate: number;
|
|
2044
|
+
rateMax?: number | null | undefined;
|
|
2045
|
+
};
|
|
2046
|
+
tradeId: string;
|
|
2047
|
+
description: string;
|
|
2048
|
+
numberOfPositions: number;
|
|
2049
|
+
workHours?: number | null | undefined;
|
|
2050
|
+
location?: {
|
|
2051
|
+
address?: string | null | undefined;
|
|
2052
|
+
postcode?: string | null | undefined;
|
|
2053
|
+
county?: string | null | undefined;
|
|
2054
|
+
adminDistrict?: string | null | undefined;
|
|
2055
|
+
builtUpArea?: string | null | undefined;
|
|
2056
|
+
postTown?: string | null | undefined;
|
|
2057
|
+
areaCovered?: string | null | undefined;
|
|
2058
|
+
} | null | undefined;
|
|
1430
2059
|
}, {
|
|
2060
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2061
|
+
createdAt: string | Date;
|
|
2062
|
+
updatedAt: string | Date;
|
|
1431
2063
|
id: string;
|
|
1432
|
-
|
|
2064
|
+
pay: {
|
|
2065
|
+
rate: number;
|
|
2066
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2067
|
+
receivedRate: number;
|
|
2068
|
+
rateMax?: number | null | undefined;
|
|
2069
|
+
};
|
|
2070
|
+
tradeId: string;
|
|
2071
|
+
description: string;
|
|
2072
|
+
numberOfPositions: number;
|
|
2073
|
+
workHours?: number | null | undefined;
|
|
2074
|
+
location?: {
|
|
2075
|
+
address?: string | null | undefined;
|
|
2076
|
+
postcode?: string | null | undefined;
|
|
2077
|
+
county?: string | null | undefined;
|
|
2078
|
+
adminDistrict?: string | null | undefined;
|
|
2079
|
+
builtUpArea?: string | null | undefined;
|
|
2080
|
+
postTown?: string | null | undefined;
|
|
2081
|
+
areaCovered?: string | null | undefined;
|
|
2082
|
+
} | null | undefined;
|
|
1433
2083
|
}>;
|
|
1434
2084
|
userId: z.ZodString;
|
|
1435
2085
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1436
2086
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1437
2087
|
}, "strip", z.ZodTypeAny, {
|
|
1438
2088
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2089
|
+
startDate: string;
|
|
1439
2090
|
createdAt: string;
|
|
1440
2091
|
updatedAt: string;
|
|
1441
2092
|
id: string;
|
|
1442
|
-
pay: {
|
|
1443
|
-
rate: number;
|
|
1444
|
-
unit: "DAILY" | "HOURLY";
|
|
1445
|
-
};
|
|
1446
|
-
startDate: string;
|
|
1447
2093
|
worker: {
|
|
1448
2094
|
id: string;
|
|
1449
2095
|
firstName: string;
|
|
1450
2096
|
lastName: string;
|
|
1451
2097
|
};
|
|
2098
|
+
pay: {
|
|
2099
|
+
rate: number;
|
|
2100
|
+
unit: "DAILY" | "HOURLY";
|
|
2101
|
+
};
|
|
2102
|
+
userId: string;
|
|
1452
2103
|
user: {
|
|
1453
2104
|
id: string;
|
|
1454
2105
|
firstName: string;
|
|
@@ -1456,26 +2107,47 @@ export declare const activesContractRouter: {
|
|
|
1456
2107
|
email: string;
|
|
1457
2108
|
};
|
|
1458
2109
|
job: {
|
|
2110
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2111
|
+
createdAt: string;
|
|
2112
|
+
updatedAt: string;
|
|
1459
2113
|
id: string;
|
|
1460
|
-
|
|
2114
|
+
pay: {
|
|
2115
|
+
rate: number;
|
|
2116
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2117
|
+
receivedRate: number;
|
|
2118
|
+
rateMax?: number | null | undefined;
|
|
2119
|
+
};
|
|
2120
|
+
tradeId: string;
|
|
2121
|
+
description: string;
|
|
2122
|
+
numberOfPositions: number;
|
|
2123
|
+
workHours?: number | null | undefined;
|
|
2124
|
+
location?: {
|
|
2125
|
+
address?: string | null | undefined;
|
|
2126
|
+
postcode?: string | null | undefined;
|
|
2127
|
+
county?: string | null | undefined;
|
|
2128
|
+
adminDistrict?: string | null | undefined;
|
|
2129
|
+
builtUpArea?: string | null | undefined;
|
|
2130
|
+
postTown?: string | null | undefined;
|
|
2131
|
+
areaCovered?: string | null | undefined;
|
|
2132
|
+
} | null | undefined;
|
|
1461
2133
|
};
|
|
1462
|
-
userId: string;
|
|
1463
2134
|
endDate?: string | null | undefined;
|
|
1464
2135
|
}, {
|
|
1465
2136
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2137
|
+
startDate: string | Date;
|
|
1466
2138
|
createdAt: string | Date;
|
|
1467
2139
|
updatedAt: string | Date;
|
|
1468
2140
|
id: string;
|
|
1469
|
-
pay: {
|
|
1470
|
-
rate: number;
|
|
1471
|
-
unit: "DAILY" | "HOURLY";
|
|
1472
|
-
};
|
|
1473
|
-
startDate: string | Date;
|
|
1474
2141
|
worker: {
|
|
1475
2142
|
id: string;
|
|
1476
2143
|
firstName: string;
|
|
1477
2144
|
lastName: string;
|
|
1478
2145
|
};
|
|
2146
|
+
pay: {
|
|
2147
|
+
rate: number;
|
|
2148
|
+
unit: "DAILY" | "HOURLY";
|
|
2149
|
+
};
|
|
2150
|
+
userId: string;
|
|
1479
2151
|
user: {
|
|
1480
2152
|
id: string;
|
|
1481
2153
|
firstName: string;
|
|
@@ -1483,16 +2155,35 @@ export declare const activesContractRouter: {
|
|
|
1483
2155
|
email: string;
|
|
1484
2156
|
};
|
|
1485
2157
|
job: {
|
|
2158
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2159
|
+
createdAt: string | Date;
|
|
2160
|
+
updatedAt: string | Date;
|
|
1486
2161
|
id: string;
|
|
1487
|
-
|
|
2162
|
+
pay: {
|
|
2163
|
+
rate: number;
|
|
2164
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2165
|
+
receivedRate: number;
|
|
2166
|
+
rateMax?: number | null | undefined;
|
|
2167
|
+
};
|
|
2168
|
+
tradeId: string;
|
|
2169
|
+
description: string;
|
|
2170
|
+
numberOfPositions: number;
|
|
2171
|
+
workHours?: number | null | undefined;
|
|
2172
|
+
location?: {
|
|
2173
|
+
address?: string | null | undefined;
|
|
2174
|
+
postcode?: string | null | undefined;
|
|
2175
|
+
county?: string | null | undefined;
|
|
2176
|
+
adminDistrict?: string | null | undefined;
|
|
2177
|
+
builtUpArea?: string | null | undefined;
|
|
2178
|
+
postTown?: string | null | undefined;
|
|
2179
|
+
areaCovered?: string | null | undefined;
|
|
2180
|
+
} | null | undefined;
|
|
1488
2181
|
};
|
|
1489
|
-
userId: string;
|
|
1490
2182
|
endDate?: string | Date | null | undefined;
|
|
1491
2183
|
}>;
|
|
1492
2184
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1493
2185
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1494
2186
|
}, "strip", z.ZodTypeAny, {
|
|
1495
|
-
date: string;
|
|
1496
2187
|
createdAt: string;
|
|
1497
2188
|
updatedAt: string;
|
|
1498
2189
|
id: string;
|
|
@@ -1500,6 +2191,7 @@ export declare const activesContractRouter: {
|
|
|
1500
2191
|
rate: number;
|
|
1501
2192
|
unit: "DAILY" | "HOURLY";
|
|
1502
2193
|
};
|
|
2194
|
+
date: string;
|
|
1503
2195
|
comment: string | null;
|
|
1504
2196
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1505
2197
|
statusSaUpdatedAt: string | null;
|
|
@@ -1509,19 +2201,20 @@ export declare const activesContractRouter: {
|
|
|
1509
2201
|
hoursWorkedUpdatedAt: string | null;
|
|
1510
2202
|
booking: {
|
|
1511
2203
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2204
|
+
startDate: string;
|
|
1512
2205
|
createdAt: string;
|
|
1513
2206
|
updatedAt: string;
|
|
1514
2207
|
id: string;
|
|
1515
|
-
pay: {
|
|
1516
|
-
rate: number;
|
|
1517
|
-
unit: "DAILY" | "HOURLY";
|
|
1518
|
-
};
|
|
1519
|
-
startDate: string;
|
|
1520
2208
|
worker: {
|
|
1521
2209
|
id: string;
|
|
1522
2210
|
firstName: string;
|
|
1523
2211
|
lastName: string;
|
|
1524
2212
|
};
|
|
2213
|
+
pay: {
|
|
2214
|
+
rate: number;
|
|
2215
|
+
unit: "DAILY" | "HOURLY";
|
|
2216
|
+
};
|
|
2217
|
+
userId: string;
|
|
1525
2218
|
user: {
|
|
1526
2219
|
id: string;
|
|
1527
2220
|
firstName: string;
|
|
@@ -1529,14 +2222,33 @@ export declare const activesContractRouter: {
|
|
|
1529
2222
|
email: string;
|
|
1530
2223
|
};
|
|
1531
2224
|
job: {
|
|
2225
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2226
|
+
createdAt: string;
|
|
2227
|
+
updatedAt: string;
|
|
1532
2228
|
id: string;
|
|
1533
|
-
|
|
2229
|
+
pay: {
|
|
2230
|
+
rate: number;
|
|
2231
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2232
|
+
receivedRate: number;
|
|
2233
|
+
rateMax?: number | null | undefined;
|
|
2234
|
+
};
|
|
2235
|
+
tradeId: string;
|
|
2236
|
+
description: string;
|
|
2237
|
+
numberOfPositions: number;
|
|
2238
|
+
workHours?: number | null | undefined;
|
|
2239
|
+
location?: {
|
|
2240
|
+
address?: string | null | undefined;
|
|
2241
|
+
postcode?: string | null | undefined;
|
|
2242
|
+
county?: string | null | undefined;
|
|
2243
|
+
adminDistrict?: string | null | undefined;
|
|
2244
|
+
builtUpArea?: string | null | undefined;
|
|
2245
|
+
postTown?: string | null | undefined;
|
|
2246
|
+
areaCovered?: string | null | undefined;
|
|
2247
|
+
} | null | undefined;
|
|
1534
2248
|
};
|
|
1535
|
-
userId: string;
|
|
1536
2249
|
endDate?: string | null | undefined;
|
|
1537
2250
|
};
|
|
1538
2251
|
}, {
|
|
1539
|
-
date: string | Date;
|
|
1540
2252
|
createdAt: string | Date;
|
|
1541
2253
|
updatedAt: string | Date;
|
|
1542
2254
|
id: string;
|
|
@@ -1544,6 +2256,7 @@ export declare const activesContractRouter: {
|
|
|
1544
2256
|
rate: number;
|
|
1545
2257
|
unit: "DAILY" | "HOURLY";
|
|
1546
2258
|
};
|
|
2259
|
+
date: string | Date;
|
|
1547
2260
|
comment: string | null;
|
|
1548
2261
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1549
2262
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -1553,19 +2266,20 @@ export declare const activesContractRouter: {
|
|
|
1553
2266
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
1554
2267
|
booking: {
|
|
1555
2268
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2269
|
+
startDate: string | Date;
|
|
1556
2270
|
createdAt: string | Date;
|
|
1557
2271
|
updatedAt: string | Date;
|
|
1558
2272
|
id: string;
|
|
1559
|
-
pay: {
|
|
1560
|
-
rate: number;
|
|
1561
|
-
unit: "DAILY" | "HOURLY";
|
|
1562
|
-
};
|
|
1563
|
-
startDate: string | Date;
|
|
1564
2273
|
worker: {
|
|
1565
2274
|
id: string;
|
|
1566
2275
|
firstName: string;
|
|
1567
2276
|
lastName: string;
|
|
1568
2277
|
};
|
|
2278
|
+
pay: {
|
|
2279
|
+
rate: number;
|
|
2280
|
+
unit: "DAILY" | "HOURLY";
|
|
2281
|
+
};
|
|
2282
|
+
userId: string;
|
|
1569
2283
|
user: {
|
|
1570
2284
|
id: string;
|
|
1571
2285
|
firstName: string;
|
|
@@ -1573,10 +2287,30 @@ export declare const activesContractRouter: {
|
|
|
1573
2287
|
email: string;
|
|
1574
2288
|
};
|
|
1575
2289
|
job: {
|
|
2290
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2291
|
+
createdAt: string | Date;
|
|
2292
|
+
updatedAt: string | Date;
|
|
1576
2293
|
id: string;
|
|
1577
|
-
|
|
2294
|
+
pay: {
|
|
2295
|
+
rate: number;
|
|
2296
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2297
|
+
receivedRate: number;
|
|
2298
|
+
rateMax?: number | null | undefined;
|
|
2299
|
+
};
|
|
2300
|
+
tradeId: string;
|
|
2301
|
+
description: string;
|
|
2302
|
+
numberOfPositions: number;
|
|
2303
|
+
workHours?: number | null | undefined;
|
|
2304
|
+
location?: {
|
|
2305
|
+
address?: string | null | undefined;
|
|
2306
|
+
postcode?: string | null | undefined;
|
|
2307
|
+
county?: string | null | undefined;
|
|
2308
|
+
adminDistrict?: string | null | undefined;
|
|
2309
|
+
builtUpArea?: string | null | undefined;
|
|
2310
|
+
postTown?: string | null | undefined;
|
|
2311
|
+
areaCovered?: string | null | undefined;
|
|
2312
|
+
} | null | undefined;
|
|
1578
2313
|
};
|
|
1579
|
-
userId: string;
|
|
1580
2314
|
endDate?: string | Date | null | undefined;
|
|
1581
2315
|
};
|
|
1582
2316
|
}>, "many">;
|
|
@@ -1588,7 +2322,6 @@ export declare const activesContractRouter: {
|
|
|
1588
2322
|
}, "strip", z.ZodTypeAny, {
|
|
1589
2323
|
limit: number;
|
|
1590
2324
|
items: {
|
|
1591
|
-
date: string;
|
|
1592
2325
|
createdAt: string;
|
|
1593
2326
|
updatedAt: string;
|
|
1594
2327
|
id: string;
|
|
@@ -1596,6 +2329,7 @@ export declare const activesContractRouter: {
|
|
|
1596
2329
|
rate: number;
|
|
1597
2330
|
unit: "DAILY" | "HOURLY";
|
|
1598
2331
|
};
|
|
2332
|
+
date: string;
|
|
1599
2333
|
comment: string | null;
|
|
1600
2334
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1601
2335
|
statusSaUpdatedAt: string | null;
|
|
@@ -1605,19 +2339,20 @@ export declare const activesContractRouter: {
|
|
|
1605
2339
|
hoursWorkedUpdatedAt: string | null;
|
|
1606
2340
|
booking: {
|
|
1607
2341
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2342
|
+
startDate: string;
|
|
1608
2343
|
createdAt: string;
|
|
1609
2344
|
updatedAt: string;
|
|
1610
2345
|
id: string;
|
|
1611
|
-
pay: {
|
|
1612
|
-
rate: number;
|
|
1613
|
-
unit: "DAILY" | "HOURLY";
|
|
1614
|
-
};
|
|
1615
|
-
startDate: string;
|
|
1616
2346
|
worker: {
|
|
1617
2347
|
id: string;
|
|
1618
2348
|
firstName: string;
|
|
1619
2349
|
lastName: string;
|
|
1620
2350
|
};
|
|
2351
|
+
pay: {
|
|
2352
|
+
rate: number;
|
|
2353
|
+
unit: "DAILY" | "HOURLY";
|
|
2354
|
+
};
|
|
2355
|
+
userId: string;
|
|
1621
2356
|
user: {
|
|
1622
2357
|
id: string;
|
|
1623
2358
|
firstName: string;
|
|
@@ -1625,10 +2360,30 @@ export declare const activesContractRouter: {
|
|
|
1625
2360
|
email: string;
|
|
1626
2361
|
};
|
|
1627
2362
|
job: {
|
|
2363
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2364
|
+
createdAt: string;
|
|
2365
|
+
updatedAt: string;
|
|
1628
2366
|
id: string;
|
|
1629
|
-
|
|
2367
|
+
pay: {
|
|
2368
|
+
rate: number;
|
|
2369
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2370
|
+
receivedRate: number;
|
|
2371
|
+
rateMax?: number | null | undefined;
|
|
2372
|
+
};
|
|
2373
|
+
tradeId: string;
|
|
2374
|
+
description: string;
|
|
2375
|
+
numberOfPositions: number;
|
|
2376
|
+
workHours?: number | null | undefined;
|
|
2377
|
+
location?: {
|
|
2378
|
+
address?: string | null | undefined;
|
|
2379
|
+
postcode?: string | null | undefined;
|
|
2380
|
+
county?: string | null | undefined;
|
|
2381
|
+
adminDistrict?: string | null | undefined;
|
|
2382
|
+
builtUpArea?: string | null | undefined;
|
|
2383
|
+
postTown?: string | null | undefined;
|
|
2384
|
+
areaCovered?: string | null | undefined;
|
|
2385
|
+
} | null | undefined;
|
|
1630
2386
|
};
|
|
1631
|
-
userId: string;
|
|
1632
2387
|
endDate?: string | null | undefined;
|
|
1633
2388
|
};
|
|
1634
2389
|
}[];
|
|
@@ -1639,7 +2394,6 @@ export declare const activesContractRouter: {
|
|
|
1639
2394
|
}, {
|
|
1640
2395
|
limit: number;
|
|
1641
2396
|
items: {
|
|
1642
|
-
date: string | Date;
|
|
1643
2397
|
createdAt: string | Date;
|
|
1644
2398
|
updatedAt: string | Date;
|
|
1645
2399
|
id: string;
|
|
@@ -1647,6 +2401,7 @@ export declare const activesContractRouter: {
|
|
|
1647
2401
|
rate: number;
|
|
1648
2402
|
unit: "DAILY" | "HOURLY";
|
|
1649
2403
|
};
|
|
2404
|
+
date: string | Date;
|
|
1650
2405
|
comment: string | null;
|
|
1651
2406
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1652
2407
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -1656,19 +2411,20 @@ export declare const activesContractRouter: {
|
|
|
1656
2411
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
1657
2412
|
booking: {
|
|
1658
2413
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2414
|
+
startDate: string | Date;
|
|
1659
2415
|
createdAt: string | Date;
|
|
1660
2416
|
updatedAt: string | Date;
|
|
1661
2417
|
id: string;
|
|
1662
|
-
pay: {
|
|
1663
|
-
rate: number;
|
|
1664
|
-
unit: "DAILY" | "HOURLY";
|
|
1665
|
-
};
|
|
1666
|
-
startDate: string | Date;
|
|
1667
2418
|
worker: {
|
|
1668
2419
|
id: string;
|
|
1669
2420
|
firstName: string;
|
|
1670
2421
|
lastName: string;
|
|
1671
2422
|
};
|
|
2423
|
+
pay: {
|
|
2424
|
+
rate: number;
|
|
2425
|
+
unit: "DAILY" | "HOURLY";
|
|
2426
|
+
};
|
|
2427
|
+
userId: string;
|
|
1672
2428
|
user: {
|
|
1673
2429
|
id: string;
|
|
1674
2430
|
firstName: string;
|
|
@@ -1676,10 +2432,30 @@ export declare const activesContractRouter: {
|
|
|
1676
2432
|
email: string;
|
|
1677
2433
|
};
|
|
1678
2434
|
job: {
|
|
2435
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2436
|
+
createdAt: string | Date;
|
|
2437
|
+
updatedAt: string | Date;
|
|
1679
2438
|
id: string;
|
|
1680
|
-
|
|
2439
|
+
pay: {
|
|
2440
|
+
rate: number;
|
|
2441
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2442
|
+
receivedRate: number;
|
|
2443
|
+
rateMax?: number | null | undefined;
|
|
2444
|
+
};
|
|
2445
|
+
tradeId: string;
|
|
2446
|
+
description: string;
|
|
2447
|
+
numberOfPositions: number;
|
|
2448
|
+
workHours?: number | null | undefined;
|
|
2449
|
+
location?: {
|
|
2450
|
+
address?: string | null | undefined;
|
|
2451
|
+
postcode?: string | null | undefined;
|
|
2452
|
+
county?: string | null | undefined;
|
|
2453
|
+
adminDistrict?: string | null | undefined;
|
|
2454
|
+
builtUpArea?: string | null | undefined;
|
|
2455
|
+
postTown?: string | null | undefined;
|
|
2456
|
+
areaCovered?: string | null | undefined;
|
|
2457
|
+
} | null | undefined;
|
|
1681
2458
|
};
|
|
1682
|
-
userId: string;
|
|
1683
2459
|
endDate?: string | Date | null | undefined;
|
|
1684
2460
|
};
|
|
1685
2461
|
}[];
|
|
@@ -1874,32 +2650,122 @@ export declare const activesContractRouter: {
|
|
|
1874
2650
|
}>;
|
|
1875
2651
|
job: z.ZodObject<{
|
|
1876
2652
|
id: z.ZodString;
|
|
1877
|
-
|
|
2653
|
+
description: z.ZodString;
|
|
2654
|
+
numberOfPositions: z.ZodNumber;
|
|
2655
|
+
workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2656
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
2657
|
+
pay: z.ZodObject<{
|
|
2658
|
+
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
2659
|
+
rate: z.ZodNumber;
|
|
2660
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2661
|
+
receivedRate: z.ZodNumber;
|
|
2662
|
+
}, "strip", z.ZodTypeAny, {
|
|
2663
|
+
rate: number;
|
|
2664
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2665
|
+
receivedRate: number;
|
|
2666
|
+
rateMax?: number | null | undefined;
|
|
2667
|
+
}, {
|
|
2668
|
+
rate: number;
|
|
2669
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2670
|
+
receivedRate: number;
|
|
2671
|
+
rateMax?: number | null | undefined;
|
|
2672
|
+
}>;
|
|
2673
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2674
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2675
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2676
|
+
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2677
|
+
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2678
|
+
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2679
|
+
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2680
|
+
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2681
|
+
}, "strip", z.ZodTypeAny, {
|
|
2682
|
+
address?: string | null | undefined;
|
|
2683
|
+
postcode?: string | null | undefined;
|
|
2684
|
+
county?: string | null | undefined;
|
|
2685
|
+
adminDistrict?: string | null | undefined;
|
|
2686
|
+
builtUpArea?: string | null | undefined;
|
|
2687
|
+
postTown?: string | null | undefined;
|
|
2688
|
+
areaCovered?: string | null | undefined;
|
|
2689
|
+
}, {
|
|
2690
|
+
address?: string | null | undefined;
|
|
2691
|
+
postcode?: string | null | undefined;
|
|
2692
|
+
county?: string | null | undefined;
|
|
2693
|
+
adminDistrict?: string | null | undefined;
|
|
2694
|
+
builtUpArea?: string | null | undefined;
|
|
2695
|
+
postTown?: string | null | undefined;
|
|
2696
|
+
areaCovered?: string | null | undefined;
|
|
2697
|
+
}>>>;
|
|
2698
|
+
tradeId: z.ZodString;
|
|
2699
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2700
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1878
2701
|
}, "strip", z.ZodTypeAny, {
|
|
2702
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2703
|
+
createdAt: string;
|
|
2704
|
+
updatedAt: string;
|
|
1879
2705
|
id: string;
|
|
1880
|
-
|
|
2706
|
+
pay: {
|
|
2707
|
+
rate: number;
|
|
2708
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2709
|
+
receivedRate: number;
|
|
2710
|
+
rateMax?: number | null | undefined;
|
|
2711
|
+
};
|
|
2712
|
+
tradeId: string;
|
|
2713
|
+
description: string;
|
|
2714
|
+
numberOfPositions: number;
|
|
2715
|
+
workHours?: number | null | undefined;
|
|
2716
|
+
location?: {
|
|
2717
|
+
address?: string | null | undefined;
|
|
2718
|
+
postcode?: string | null | undefined;
|
|
2719
|
+
county?: string | null | undefined;
|
|
2720
|
+
adminDistrict?: string | null | undefined;
|
|
2721
|
+
builtUpArea?: string | null | undefined;
|
|
2722
|
+
postTown?: string | null | undefined;
|
|
2723
|
+
areaCovered?: string | null | undefined;
|
|
2724
|
+
} | null | undefined;
|
|
1881
2725
|
}, {
|
|
2726
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2727
|
+
createdAt: string | Date;
|
|
2728
|
+
updatedAt: string | Date;
|
|
1882
2729
|
id: string;
|
|
1883
|
-
|
|
2730
|
+
pay: {
|
|
2731
|
+
rate: number;
|
|
2732
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2733
|
+
receivedRate: number;
|
|
2734
|
+
rateMax?: number | null | undefined;
|
|
2735
|
+
};
|
|
2736
|
+
tradeId: string;
|
|
2737
|
+
description: string;
|
|
2738
|
+
numberOfPositions: number;
|
|
2739
|
+
workHours?: number | null | undefined;
|
|
2740
|
+
location?: {
|
|
2741
|
+
address?: string | null | undefined;
|
|
2742
|
+
postcode?: string | null | undefined;
|
|
2743
|
+
county?: string | null | undefined;
|
|
2744
|
+
adminDistrict?: string | null | undefined;
|
|
2745
|
+
builtUpArea?: string | null | undefined;
|
|
2746
|
+
postTown?: string | null | undefined;
|
|
2747
|
+
areaCovered?: string | null | undefined;
|
|
2748
|
+
} | null | undefined;
|
|
1884
2749
|
}>;
|
|
1885
2750
|
userId: z.ZodString;
|
|
1886
2751
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1887
2752
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1888
2753
|
}, "strip", z.ZodTypeAny, {
|
|
1889
2754
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2755
|
+
startDate: string;
|
|
1890
2756
|
createdAt: string;
|
|
1891
2757
|
updatedAt: string;
|
|
1892
2758
|
id: string;
|
|
1893
|
-
pay: {
|
|
1894
|
-
rate: number;
|
|
1895
|
-
unit: "DAILY" | "HOURLY";
|
|
1896
|
-
};
|
|
1897
|
-
startDate: string;
|
|
1898
2759
|
worker: {
|
|
1899
2760
|
id: string;
|
|
1900
2761
|
firstName: string;
|
|
1901
2762
|
lastName: string;
|
|
1902
2763
|
};
|
|
2764
|
+
pay: {
|
|
2765
|
+
rate: number;
|
|
2766
|
+
unit: "DAILY" | "HOURLY";
|
|
2767
|
+
};
|
|
2768
|
+
userId: string;
|
|
1903
2769
|
user: {
|
|
1904
2770
|
id: string;
|
|
1905
2771
|
firstName: string;
|
|
@@ -1907,26 +2773,47 @@ export declare const activesContractRouter: {
|
|
|
1907
2773
|
email: string;
|
|
1908
2774
|
};
|
|
1909
2775
|
job: {
|
|
2776
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2777
|
+
createdAt: string;
|
|
2778
|
+
updatedAt: string;
|
|
1910
2779
|
id: string;
|
|
1911
|
-
|
|
2780
|
+
pay: {
|
|
2781
|
+
rate: number;
|
|
2782
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2783
|
+
receivedRate: number;
|
|
2784
|
+
rateMax?: number | null | undefined;
|
|
2785
|
+
};
|
|
2786
|
+
tradeId: string;
|
|
2787
|
+
description: string;
|
|
2788
|
+
numberOfPositions: number;
|
|
2789
|
+
workHours?: number | null | undefined;
|
|
2790
|
+
location?: {
|
|
2791
|
+
address?: string | null | undefined;
|
|
2792
|
+
postcode?: string | null | undefined;
|
|
2793
|
+
county?: string | null | undefined;
|
|
2794
|
+
adminDistrict?: string | null | undefined;
|
|
2795
|
+
builtUpArea?: string | null | undefined;
|
|
2796
|
+
postTown?: string | null | undefined;
|
|
2797
|
+
areaCovered?: string | null | undefined;
|
|
2798
|
+
} | null | undefined;
|
|
1912
2799
|
};
|
|
1913
|
-
userId: string;
|
|
1914
2800
|
endDate?: string | null | undefined;
|
|
1915
2801
|
}, {
|
|
1916
2802
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2803
|
+
startDate: string | Date;
|
|
1917
2804
|
createdAt: string | Date;
|
|
1918
2805
|
updatedAt: string | Date;
|
|
1919
2806
|
id: string;
|
|
1920
|
-
pay: {
|
|
1921
|
-
rate: number;
|
|
1922
|
-
unit: "DAILY" | "HOURLY";
|
|
1923
|
-
};
|
|
1924
|
-
startDate: string | Date;
|
|
1925
2807
|
worker: {
|
|
1926
2808
|
id: string;
|
|
1927
2809
|
firstName: string;
|
|
1928
2810
|
lastName: string;
|
|
1929
2811
|
};
|
|
2812
|
+
pay: {
|
|
2813
|
+
rate: number;
|
|
2814
|
+
unit: "DAILY" | "HOURLY";
|
|
2815
|
+
};
|
|
2816
|
+
userId: string;
|
|
1930
2817
|
user: {
|
|
1931
2818
|
id: string;
|
|
1932
2819
|
firstName: string;
|
|
@@ -1934,16 +2821,35 @@ export declare const activesContractRouter: {
|
|
|
1934
2821
|
email: string;
|
|
1935
2822
|
};
|
|
1936
2823
|
job: {
|
|
2824
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2825
|
+
createdAt: string | Date;
|
|
2826
|
+
updatedAt: string | Date;
|
|
1937
2827
|
id: string;
|
|
1938
|
-
|
|
2828
|
+
pay: {
|
|
2829
|
+
rate: number;
|
|
2830
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2831
|
+
receivedRate: number;
|
|
2832
|
+
rateMax?: number | null | undefined;
|
|
2833
|
+
};
|
|
2834
|
+
tradeId: string;
|
|
2835
|
+
description: string;
|
|
2836
|
+
numberOfPositions: number;
|
|
2837
|
+
workHours?: number | null | undefined;
|
|
2838
|
+
location?: {
|
|
2839
|
+
address?: string | null | undefined;
|
|
2840
|
+
postcode?: string | null | undefined;
|
|
2841
|
+
county?: string | null | undefined;
|
|
2842
|
+
adminDistrict?: string | null | undefined;
|
|
2843
|
+
builtUpArea?: string | null | undefined;
|
|
2844
|
+
postTown?: string | null | undefined;
|
|
2845
|
+
areaCovered?: string | null | undefined;
|
|
2846
|
+
} | null | undefined;
|
|
1939
2847
|
};
|
|
1940
|
-
userId: string;
|
|
1941
2848
|
endDate?: string | Date | null | undefined;
|
|
1942
2849
|
}>;
|
|
1943
2850
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1944
2851
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1945
2852
|
}, "strip", z.ZodTypeAny, {
|
|
1946
|
-
date: string;
|
|
1947
2853
|
createdAt: string;
|
|
1948
2854
|
updatedAt: string;
|
|
1949
2855
|
id: string;
|
|
@@ -1951,6 +2857,7 @@ export declare const activesContractRouter: {
|
|
|
1951
2857
|
rate: number;
|
|
1952
2858
|
unit: "DAILY" | "HOURLY";
|
|
1953
2859
|
};
|
|
2860
|
+
date: string;
|
|
1954
2861
|
comment: string | null;
|
|
1955
2862
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1956
2863
|
statusSaUpdatedAt: string | null;
|
|
@@ -1960,19 +2867,20 @@ export declare const activesContractRouter: {
|
|
|
1960
2867
|
hoursWorkedUpdatedAt: string | null;
|
|
1961
2868
|
booking: {
|
|
1962
2869
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2870
|
+
startDate: string;
|
|
1963
2871
|
createdAt: string;
|
|
1964
2872
|
updatedAt: string;
|
|
1965
2873
|
id: string;
|
|
1966
|
-
pay: {
|
|
1967
|
-
rate: number;
|
|
1968
|
-
unit: "DAILY" | "HOURLY";
|
|
1969
|
-
};
|
|
1970
|
-
startDate: string;
|
|
1971
2874
|
worker: {
|
|
1972
2875
|
id: string;
|
|
1973
2876
|
firstName: string;
|
|
1974
2877
|
lastName: string;
|
|
1975
2878
|
};
|
|
2879
|
+
pay: {
|
|
2880
|
+
rate: number;
|
|
2881
|
+
unit: "DAILY" | "HOURLY";
|
|
2882
|
+
};
|
|
2883
|
+
userId: string;
|
|
1976
2884
|
user: {
|
|
1977
2885
|
id: string;
|
|
1978
2886
|
firstName: string;
|
|
@@ -1980,14 +2888,33 @@ export declare const activesContractRouter: {
|
|
|
1980
2888
|
email: string;
|
|
1981
2889
|
};
|
|
1982
2890
|
job: {
|
|
2891
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2892
|
+
createdAt: string;
|
|
2893
|
+
updatedAt: string;
|
|
1983
2894
|
id: string;
|
|
1984
|
-
|
|
2895
|
+
pay: {
|
|
2896
|
+
rate: number;
|
|
2897
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2898
|
+
receivedRate: number;
|
|
2899
|
+
rateMax?: number | null | undefined;
|
|
2900
|
+
};
|
|
2901
|
+
tradeId: string;
|
|
2902
|
+
description: string;
|
|
2903
|
+
numberOfPositions: number;
|
|
2904
|
+
workHours?: number | null | undefined;
|
|
2905
|
+
location?: {
|
|
2906
|
+
address?: string | null | undefined;
|
|
2907
|
+
postcode?: string | null | undefined;
|
|
2908
|
+
county?: string | null | undefined;
|
|
2909
|
+
adminDistrict?: string | null | undefined;
|
|
2910
|
+
builtUpArea?: string | null | undefined;
|
|
2911
|
+
postTown?: string | null | undefined;
|
|
2912
|
+
areaCovered?: string | null | undefined;
|
|
2913
|
+
} | null | undefined;
|
|
1985
2914
|
};
|
|
1986
|
-
userId: string;
|
|
1987
2915
|
endDate?: string | null | undefined;
|
|
1988
2916
|
};
|
|
1989
2917
|
}, {
|
|
1990
|
-
date: string | Date;
|
|
1991
2918
|
createdAt: string | Date;
|
|
1992
2919
|
updatedAt: string | Date;
|
|
1993
2920
|
id: string;
|
|
@@ -1995,6 +2922,7 @@ export declare const activesContractRouter: {
|
|
|
1995
2922
|
rate: number;
|
|
1996
2923
|
unit: "DAILY" | "HOURLY";
|
|
1997
2924
|
};
|
|
2925
|
+
date: string | Date;
|
|
1998
2926
|
comment: string | null;
|
|
1999
2927
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2000
2928
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -2004,19 +2932,20 @@ export declare const activesContractRouter: {
|
|
|
2004
2932
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
2005
2933
|
booking: {
|
|
2006
2934
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2935
|
+
startDate: string | Date;
|
|
2007
2936
|
createdAt: string | Date;
|
|
2008
2937
|
updatedAt: string | Date;
|
|
2009
2938
|
id: string;
|
|
2010
|
-
pay: {
|
|
2011
|
-
rate: number;
|
|
2012
|
-
unit: "DAILY" | "HOURLY";
|
|
2013
|
-
};
|
|
2014
|
-
startDate: string | Date;
|
|
2015
2939
|
worker: {
|
|
2016
2940
|
id: string;
|
|
2017
2941
|
firstName: string;
|
|
2018
2942
|
lastName: string;
|
|
2019
2943
|
};
|
|
2944
|
+
pay: {
|
|
2945
|
+
rate: number;
|
|
2946
|
+
unit: "DAILY" | "HOURLY";
|
|
2947
|
+
};
|
|
2948
|
+
userId: string;
|
|
2020
2949
|
user: {
|
|
2021
2950
|
id: string;
|
|
2022
2951
|
firstName: string;
|
|
@@ -2024,10 +2953,30 @@ export declare const activesContractRouter: {
|
|
|
2024
2953
|
email: string;
|
|
2025
2954
|
};
|
|
2026
2955
|
job: {
|
|
2956
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2957
|
+
createdAt: string | Date;
|
|
2958
|
+
updatedAt: string | Date;
|
|
2027
2959
|
id: string;
|
|
2028
|
-
|
|
2960
|
+
pay: {
|
|
2961
|
+
rate: number;
|
|
2962
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2963
|
+
receivedRate: number;
|
|
2964
|
+
rateMax?: number | null | undefined;
|
|
2965
|
+
};
|
|
2966
|
+
tradeId: string;
|
|
2967
|
+
description: string;
|
|
2968
|
+
numberOfPositions: number;
|
|
2969
|
+
workHours?: number | null | undefined;
|
|
2970
|
+
location?: {
|
|
2971
|
+
address?: string | null | undefined;
|
|
2972
|
+
postcode?: string | null | undefined;
|
|
2973
|
+
county?: string | null | undefined;
|
|
2974
|
+
adminDistrict?: string | null | undefined;
|
|
2975
|
+
builtUpArea?: string | null | undefined;
|
|
2976
|
+
postTown?: string | null | undefined;
|
|
2977
|
+
areaCovered?: string | null | undefined;
|
|
2978
|
+
} | null | undefined;
|
|
2029
2979
|
};
|
|
2030
|
-
userId: string;
|
|
2031
2980
|
endDate?: string | Date | null | undefined;
|
|
2032
2981
|
};
|
|
2033
2982
|
}>;
|
|
@@ -2276,32 +3225,122 @@ export declare const activesContractRouter: {
|
|
|
2276
3225
|
}>;
|
|
2277
3226
|
job: z.ZodObject<{
|
|
2278
3227
|
id: z.ZodString;
|
|
2279
|
-
|
|
3228
|
+
description: z.ZodString;
|
|
3229
|
+
numberOfPositions: z.ZodNumber;
|
|
3230
|
+
workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3231
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
3232
|
+
pay: z.ZodObject<{
|
|
3233
|
+
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
3234
|
+
rate: z.ZodNumber;
|
|
3235
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3236
|
+
receivedRate: z.ZodNumber;
|
|
3237
|
+
}, "strip", z.ZodTypeAny, {
|
|
3238
|
+
rate: number;
|
|
3239
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3240
|
+
receivedRate: number;
|
|
3241
|
+
rateMax?: number | null | undefined;
|
|
3242
|
+
}, {
|
|
3243
|
+
rate: number;
|
|
3244
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3245
|
+
receivedRate: number;
|
|
3246
|
+
rateMax?: number | null | undefined;
|
|
3247
|
+
}>;
|
|
3248
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3249
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3250
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3251
|
+
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3252
|
+
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3253
|
+
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3254
|
+
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3255
|
+
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3256
|
+
}, "strip", z.ZodTypeAny, {
|
|
3257
|
+
address?: string | null | undefined;
|
|
3258
|
+
postcode?: string | null | undefined;
|
|
3259
|
+
county?: string | null | undefined;
|
|
3260
|
+
adminDistrict?: string | null | undefined;
|
|
3261
|
+
builtUpArea?: string | null | undefined;
|
|
3262
|
+
postTown?: string | null | undefined;
|
|
3263
|
+
areaCovered?: string | null | undefined;
|
|
3264
|
+
}, {
|
|
3265
|
+
address?: string | null | undefined;
|
|
3266
|
+
postcode?: string | null | undefined;
|
|
3267
|
+
county?: string | null | undefined;
|
|
3268
|
+
adminDistrict?: string | null | undefined;
|
|
3269
|
+
builtUpArea?: string | null | undefined;
|
|
3270
|
+
postTown?: string | null | undefined;
|
|
3271
|
+
areaCovered?: string | null | undefined;
|
|
3272
|
+
}>>>;
|
|
3273
|
+
tradeId: z.ZodString;
|
|
3274
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3275
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2280
3276
|
}, "strip", z.ZodTypeAny, {
|
|
3277
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3278
|
+
createdAt: string;
|
|
3279
|
+
updatedAt: string;
|
|
2281
3280
|
id: string;
|
|
2282
|
-
|
|
3281
|
+
pay: {
|
|
3282
|
+
rate: number;
|
|
3283
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3284
|
+
receivedRate: number;
|
|
3285
|
+
rateMax?: number | null | undefined;
|
|
3286
|
+
};
|
|
3287
|
+
tradeId: string;
|
|
3288
|
+
description: string;
|
|
3289
|
+
numberOfPositions: number;
|
|
3290
|
+
workHours?: number | null | undefined;
|
|
3291
|
+
location?: {
|
|
3292
|
+
address?: string | null | undefined;
|
|
3293
|
+
postcode?: string | null | undefined;
|
|
3294
|
+
county?: string | null | undefined;
|
|
3295
|
+
adminDistrict?: string | null | undefined;
|
|
3296
|
+
builtUpArea?: string | null | undefined;
|
|
3297
|
+
postTown?: string | null | undefined;
|
|
3298
|
+
areaCovered?: string | null | undefined;
|
|
3299
|
+
} | null | undefined;
|
|
2283
3300
|
}, {
|
|
3301
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3302
|
+
createdAt: string | Date;
|
|
3303
|
+
updatedAt: string | Date;
|
|
2284
3304
|
id: string;
|
|
2285
|
-
|
|
3305
|
+
pay: {
|
|
3306
|
+
rate: number;
|
|
3307
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3308
|
+
receivedRate: number;
|
|
3309
|
+
rateMax?: number | null | undefined;
|
|
3310
|
+
};
|
|
3311
|
+
tradeId: string;
|
|
3312
|
+
description: string;
|
|
3313
|
+
numberOfPositions: number;
|
|
3314
|
+
workHours?: number | null | undefined;
|
|
3315
|
+
location?: {
|
|
3316
|
+
address?: string | null | undefined;
|
|
3317
|
+
postcode?: string | null | undefined;
|
|
3318
|
+
county?: string | null | undefined;
|
|
3319
|
+
adminDistrict?: string | null | undefined;
|
|
3320
|
+
builtUpArea?: string | null | undefined;
|
|
3321
|
+
postTown?: string | null | undefined;
|
|
3322
|
+
areaCovered?: string | null | undefined;
|
|
3323
|
+
} | null | undefined;
|
|
2286
3324
|
}>;
|
|
2287
3325
|
userId: z.ZodString;
|
|
2288
3326
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2289
3327
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2290
3328
|
}, "strip", z.ZodTypeAny, {
|
|
2291
3329
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3330
|
+
startDate: string;
|
|
2292
3331
|
createdAt: string;
|
|
2293
3332
|
updatedAt: string;
|
|
2294
3333
|
id: string;
|
|
2295
|
-
pay: {
|
|
2296
|
-
rate: number;
|
|
2297
|
-
unit: "DAILY" | "HOURLY";
|
|
2298
|
-
};
|
|
2299
|
-
startDate: string;
|
|
2300
3334
|
worker: {
|
|
2301
3335
|
id: string;
|
|
2302
3336
|
firstName: string;
|
|
2303
3337
|
lastName: string;
|
|
2304
3338
|
};
|
|
3339
|
+
pay: {
|
|
3340
|
+
rate: number;
|
|
3341
|
+
unit: "DAILY" | "HOURLY";
|
|
3342
|
+
};
|
|
3343
|
+
userId: string;
|
|
2305
3344
|
user: {
|
|
2306
3345
|
id: string;
|
|
2307
3346
|
firstName: string;
|
|
@@ -2309,26 +3348,47 @@ export declare const activesContractRouter: {
|
|
|
2309
3348
|
email: string;
|
|
2310
3349
|
};
|
|
2311
3350
|
job: {
|
|
3351
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3352
|
+
createdAt: string;
|
|
3353
|
+
updatedAt: string;
|
|
2312
3354
|
id: string;
|
|
2313
|
-
|
|
3355
|
+
pay: {
|
|
3356
|
+
rate: number;
|
|
3357
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3358
|
+
receivedRate: number;
|
|
3359
|
+
rateMax?: number | null | undefined;
|
|
3360
|
+
};
|
|
3361
|
+
tradeId: string;
|
|
3362
|
+
description: string;
|
|
3363
|
+
numberOfPositions: number;
|
|
3364
|
+
workHours?: number | null | undefined;
|
|
3365
|
+
location?: {
|
|
3366
|
+
address?: string | null | undefined;
|
|
3367
|
+
postcode?: string | null | undefined;
|
|
3368
|
+
county?: string | null | undefined;
|
|
3369
|
+
adminDistrict?: string | null | undefined;
|
|
3370
|
+
builtUpArea?: string | null | undefined;
|
|
3371
|
+
postTown?: string | null | undefined;
|
|
3372
|
+
areaCovered?: string | null | undefined;
|
|
3373
|
+
} | null | undefined;
|
|
2314
3374
|
};
|
|
2315
|
-
userId: string;
|
|
2316
3375
|
endDate?: string | null | undefined;
|
|
2317
3376
|
}, {
|
|
2318
3377
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3378
|
+
startDate: string | Date;
|
|
2319
3379
|
createdAt: string | Date;
|
|
2320
3380
|
updatedAt: string | Date;
|
|
2321
3381
|
id: string;
|
|
2322
|
-
pay: {
|
|
2323
|
-
rate: number;
|
|
2324
|
-
unit: "DAILY" | "HOURLY";
|
|
2325
|
-
};
|
|
2326
|
-
startDate: string | Date;
|
|
2327
3382
|
worker: {
|
|
2328
3383
|
id: string;
|
|
2329
3384
|
firstName: string;
|
|
2330
3385
|
lastName: string;
|
|
2331
3386
|
};
|
|
3387
|
+
pay: {
|
|
3388
|
+
rate: number;
|
|
3389
|
+
unit: "DAILY" | "HOURLY";
|
|
3390
|
+
};
|
|
3391
|
+
userId: string;
|
|
2332
3392
|
user: {
|
|
2333
3393
|
id: string;
|
|
2334
3394
|
firstName: string;
|
|
@@ -2336,16 +3396,35 @@ export declare const activesContractRouter: {
|
|
|
2336
3396
|
email: string;
|
|
2337
3397
|
};
|
|
2338
3398
|
job: {
|
|
3399
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3400
|
+
createdAt: string | Date;
|
|
3401
|
+
updatedAt: string | Date;
|
|
2339
3402
|
id: string;
|
|
2340
|
-
|
|
3403
|
+
pay: {
|
|
3404
|
+
rate: number;
|
|
3405
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3406
|
+
receivedRate: number;
|
|
3407
|
+
rateMax?: number | null | undefined;
|
|
3408
|
+
};
|
|
3409
|
+
tradeId: string;
|
|
3410
|
+
description: string;
|
|
3411
|
+
numberOfPositions: number;
|
|
3412
|
+
workHours?: number | null | undefined;
|
|
3413
|
+
location?: {
|
|
3414
|
+
address?: string | null | undefined;
|
|
3415
|
+
postcode?: string | null | undefined;
|
|
3416
|
+
county?: string | null | undefined;
|
|
3417
|
+
adminDistrict?: string | null | undefined;
|
|
3418
|
+
builtUpArea?: string | null | undefined;
|
|
3419
|
+
postTown?: string | null | undefined;
|
|
3420
|
+
areaCovered?: string | null | undefined;
|
|
3421
|
+
} | null | undefined;
|
|
2341
3422
|
};
|
|
2342
|
-
userId: string;
|
|
2343
3423
|
endDate?: string | Date | null | undefined;
|
|
2344
3424
|
}>;
|
|
2345
3425
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2346
3426
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2347
3427
|
}, "strip", z.ZodTypeAny, {
|
|
2348
|
-
date: string;
|
|
2349
3428
|
createdAt: string;
|
|
2350
3429
|
updatedAt: string;
|
|
2351
3430
|
id: string;
|
|
@@ -2353,6 +3432,7 @@ export declare const activesContractRouter: {
|
|
|
2353
3432
|
rate: number;
|
|
2354
3433
|
unit: "DAILY" | "HOURLY";
|
|
2355
3434
|
};
|
|
3435
|
+
date: string;
|
|
2356
3436
|
comment: string | null;
|
|
2357
3437
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2358
3438
|
statusSaUpdatedAt: string | null;
|
|
@@ -2362,19 +3442,20 @@ export declare const activesContractRouter: {
|
|
|
2362
3442
|
hoursWorkedUpdatedAt: string | null;
|
|
2363
3443
|
booking: {
|
|
2364
3444
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3445
|
+
startDate: string;
|
|
2365
3446
|
createdAt: string;
|
|
2366
3447
|
updatedAt: string;
|
|
2367
3448
|
id: string;
|
|
2368
|
-
pay: {
|
|
2369
|
-
rate: number;
|
|
2370
|
-
unit: "DAILY" | "HOURLY";
|
|
2371
|
-
};
|
|
2372
|
-
startDate: string;
|
|
2373
3449
|
worker: {
|
|
2374
3450
|
id: string;
|
|
2375
3451
|
firstName: string;
|
|
2376
3452
|
lastName: string;
|
|
2377
3453
|
};
|
|
3454
|
+
pay: {
|
|
3455
|
+
rate: number;
|
|
3456
|
+
unit: "DAILY" | "HOURLY";
|
|
3457
|
+
};
|
|
3458
|
+
userId: string;
|
|
2378
3459
|
user: {
|
|
2379
3460
|
id: string;
|
|
2380
3461
|
firstName: string;
|
|
@@ -2382,14 +3463,33 @@ export declare const activesContractRouter: {
|
|
|
2382
3463
|
email: string;
|
|
2383
3464
|
};
|
|
2384
3465
|
job: {
|
|
3466
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3467
|
+
createdAt: string;
|
|
3468
|
+
updatedAt: string;
|
|
2385
3469
|
id: string;
|
|
2386
|
-
|
|
3470
|
+
pay: {
|
|
3471
|
+
rate: number;
|
|
3472
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3473
|
+
receivedRate: number;
|
|
3474
|
+
rateMax?: number | null | undefined;
|
|
3475
|
+
};
|
|
3476
|
+
tradeId: string;
|
|
3477
|
+
description: string;
|
|
3478
|
+
numberOfPositions: number;
|
|
3479
|
+
workHours?: number | null | undefined;
|
|
3480
|
+
location?: {
|
|
3481
|
+
address?: string | null | undefined;
|
|
3482
|
+
postcode?: string | null | undefined;
|
|
3483
|
+
county?: string | null | undefined;
|
|
3484
|
+
adminDistrict?: string | null | undefined;
|
|
3485
|
+
builtUpArea?: string | null | undefined;
|
|
3486
|
+
postTown?: string | null | undefined;
|
|
3487
|
+
areaCovered?: string | null | undefined;
|
|
3488
|
+
} | null | undefined;
|
|
2387
3489
|
};
|
|
2388
|
-
userId: string;
|
|
2389
3490
|
endDate?: string | null | undefined;
|
|
2390
3491
|
};
|
|
2391
3492
|
}, {
|
|
2392
|
-
date: string | Date;
|
|
2393
3493
|
createdAt: string | Date;
|
|
2394
3494
|
updatedAt: string | Date;
|
|
2395
3495
|
id: string;
|
|
@@ -2397,6 +3497,7 @@ export declare const activesContractRouter: {
|
|
|
2397
3497
|
rate: number;
|
|
2398
3498
|
unit: "DAILY" | "HOURLY";
|
|
2399
3499
|
};
|
|
3500
|
+
date: string | Date;
|
|
2400
3501
|
comment: string | null;
|
|
2401
3502
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2402
3503
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -2406,19 +3507,20 @@ export declare const activesContractRouter: {
|
|
|
2406
3507
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
2407
3508
|
booking: {
|
|
2408
3509
|
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3510
|
+
startDate: string | Date;
|
|
2409
3511
|
createdAt: string | Date;
|
|
2410
3512
|
updatedAt: string | Date;
|
|
2411
3513
|
id: string;
|
|
2412
|
-
pay: {
|
|
2413
|
-
rate: number;
|
|
2414
|
-
unit: "DAILY" | "HOURLY";
|
|
2415
|
-
};
|
|
2416
|
-
startDate: string | Date;
|
|
2417
3514
|
worker: {
|
|
2418
3515
|
id: string;
|
|
2419
3516
|
firstName: string;
|
|
2420
3517
|
lastName: string;
|
|
2421
3518
|
};
|
|
3519
|
+
pay: {
|
|
3520
|
+
rate: number;
|
|
3521
|
+
unit: "DAILY" | "HOURLY";
|
|
3522
|
+
};
|
|
3523
|
+
userId: string;
|
|
2422
3524
|
user: {
|
|
2423
3525
|
id: string;
|
|
2424
3526
|
firstName: string;
|
|
@@ -2426,10 +3528,30 @@ export declare const activesContractRouter: {
|
|
|
2426
3528
|
email: string;
|
|
2427
3529
|
};
|
|
2428
3530
|
job: {
|
|
3531
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3532
|
+
createdAt: string | Date;
|
|
3533
|
+
updatedAt: string | Date;
|
|
2429
3534
|
id: string;
|
|
2430
|
-
|
|
3535
|
+
pay: {
|
|
3536
|
+
rate: number;
|
|
3537
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3538
|
+
receivedRate: number;
|
|
3539
|
+
rateMax?: number | null | undefined;
|
|
3540
|
+
};
|
|
3541
|
+
tradeId: string;
|
|
3542
|
+
description: string;
|
|
3543
|
+
numberOfPositions: number;
|
|
3544
|
+
workHours?: number | null | undefined;
|
|
3545
|
+
location?: {
|
|
3546
|
+
address?: string | null | undefined;
|
|
3547
|
+
postcode?: string | null | undefined;
|
|
3548
|
+
county?: string | null | undefined;
|
|
3549
|
+
adminDistrict?: string | null | undefined;
|
|
3550
|
+
builtUpArea?: string | null | undefined;
|
|
3551
|
+
postTown?: string | null | undefined;
|
|
3552
|
+
areaCovered?: string | null | undefined;
|
|
3553
|
+
} | null | undefined;
|
|
2431
3554
|
};
|
|
2432
|
-
userId: string;
|
|
2433
3555
|
endDate?: string | Date | null | undefined;
|
|
2434
3556
|
};
|
|
2435
3557
|
}>;
|