@dakkitor/api-contracts 1.1.14 → 1.1.15
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 +252 -252
- package/dist/bookings/bookings.contract.d.ts +370 -370
- package/dist/bookings/bookings.contract.js +4 -4
- package/dist/index.d.ts +440 -440
- package/package.json +1 -1
|
@@ -68,32 +68,33 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
68
68
|
}>;
|
|
69
69
|
job: z.ZodObject<{
|
|
70
70
|
id: z.ZodString;
|
|
71
|
-
|
|
71
|
+
description: z.ZodString;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
id: string;
|
|
74
|
-
|
|
74
|
+
description: string;
|
|
75
75
|
}, {
|
|
76
76
|
id: string;
|
|
77
|
-
|
|
77
|
+
description: string;
|
|
78
78
|
}>;
|
|
79
79
|
userId: z.ZodString;
|
|
80
80
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
81
81
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
83
|
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";
|
|
84
|
+
startDate: string;
|
|
84
85
|
createdAt: string;
|
|
85
86
|
updatedAt: string;
|
|
86
87
|
id: string;
|
|
87
|
-
pay: {
|
|
88
|
-
rate: number;
|
|
89
|
-
unit: "DAILY" | "HOURLY";
|
|
90
|
-
};
|
|
91
|
-
startDate: string;
|
|
92
88
|
worker: {
|
|
93
89
|
id: string;
|
|
94
90
|
firstName: string;
|
|
95
91
|
lastName: string;
|
|
96
92
|
};
|
|
93
|
+
pay: {
|
|
94
|
+
rate: number;
|
|
95
|
+
unit: "DAILY" | "HOURLY";
|
|
96
|
+
};
|
|
97
|
+
userId: string;
|
|
97
98
|
user: {
|
|
98
99
|
id: string;
|
|
99
100
|
firstName: string;
|
|
@@ -102,25 +103,25 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
102
103
|
};
|
|
103
104
|
job: {
|
|
104
105
|
id: string;
|
|
105
|
-
|
|
106
|
+
description: string;
|
|
106
107
|
};
|
|
107
|
-
userId: string;
|
|
108
108
|
endDate?: string | null | undefined;
|
|
109
109
|
}, {
|
|
110
110
|
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";
|
|
111
|
+
startDate: string | Date;
|
|
111
112
|
createdAt: string | Date;
|
|
112
113
|
updatedAt: string | Date;
|
|
113
114
|
id: string;
|
|
114
|
-
pay: {
|
|
115
|
-
rate: number;
|
|
116
|
-
unit: "DAILY" | "HOURLY";
|
|
117
|
-
};
|
|
118
|
-
startDate: string | Date;
|
|
119
115
|
worker: {
|
|
120
116
|
id: string;
|
|
121
117
|
firstName: string;
|
|
122
118
|
lastName: string;
|
|
123
119
|
};
|
|
120
|
+
pay: {
|
|
121
|
+
rate: number;
|
|
122
|
+
unit: "DAILY" | "HOURLY";
|
|
123
|
+
};
|
|
124
|
+
userId: string;
|
|
124
125
|
user: {
|
|
125
126
|
id: string;
|
|
126
127
|
firstName: string;
|
|
@@ -129,15 +130,13 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
129
130
|
};
|
|
130
131
|
job: {
|
|
131
132
|
id: string;
|
|
132
|
-
|
|
133
|
+
description: string;
|
|
133
134
|
};
|
|
134
|
-
userId: string;
|
|
135
135
|
endDate?: string | Date | null | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
138
138
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
|
-
date: string;
|
|
141
140
|
createdAt: string;
|
|
142
141
|
updatedAt: string;
|
|
143
142
|
id: string;
|
|
@@ -145,6 +144,7 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
145
144
|
rate: number;
|
|
146
145
|
unit: "DAILY" | "HOURLY";
|
|
147
146
|
};
|
|
147
|
+
date: string;
|
|
148
148
|
comment: string | null;
|
|
149
149
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
150
150
|
statusSaUpdatedAt: string | null;
|
|
@@ -154,19 +154,20 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
154
154
|
hoursWorkedUpdatedAt: string | null;
|
|
155
155
|
booking: {
|
|
156
156
|
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";
|
|
157
|
+
startDate: string;
|
|
157
158
|
createdAt: string;
|
|
158
159
|
updatedAt: string;
|
|
159
160
|
id: string;
|
|
160
|
-
pay: {
|
|
161
|
-
rate: number;
|
|
162
|
-
unit: "DAILY" | "HOURLY";
|
|
163
|
-
};
|
|
164
|
-
startDate: string;
|
|
165
161
|
worker: {
|
|
166
162
|
id: string;
|
|
167
163
|
firstName: string;
|
|
168
164
|
lastName: string;
|
|
169
165
|
};
|
|
166
|
+
pay: {
|
|
167
|
+
rate: number;
|
|
168
|
+
unit: "DAILY" | "HOURLY";
|
|
169
|
+
};
|
|
170
|
+
userId: string;
|
|
170
171
|
user: {
|
|
171
172
|
id: string;
|
|
172
173
|
firstName: string;
|
|
@@ -175,13 +176,11 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
175
176
|
};
|
|
176
177
|
job: {
|
|
177
178
|
id: string;
|
|
178
|
-
|
|
179
|
+
description: string;
|
|
179
180
|
};
|
|
180
|
-
userId: string;
|
|
181
181
|
endDate?: string | null | undefined;
|
|
182
182
|
};
|
|
183
183
|
}, {
|
|
184
|
-
date: string | Date;
|
|
185
184
|
createdAt: string | Date;
|
|
186
185
|
updatedAt: string | Date;
|
|
187
186
|
id: string;
|
|
@@ -189,6 +188,7 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
189
188
|
rate: number;
|
|
190
189
|
unit: "DAILY" | "HOURLY";
|
|
191
190
|
};
|
|
191
|
+
date: string | Date;
|
|
192
192
|
comment: string | null;
|
|
193
193
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
194
194
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -198,19 +198,20 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
198
198
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
199
199
|
booking: {
|
|
200
200
|
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";
|
|
201
|
+
startDate: string | Date;
|
|
201
202
|
createdAt: string | Date;
|
|
202
203
|
updatedAt: string | Date;
|
|
203
204
|
id: string;
|
|
204
|
-
pay: {
|
|
205
|
-
rate: number;
|
|
206
|
-
unit: "DAILY" | "HOURLY";
|
|
207
|
-
};
|
|
208
|
-
startDate: string | Date;
|
|
209
205
|
worker: {
|
|
210
206
|
id: string;
|
|
211
207
|
firstName: string;
|
|
212
208
|
lastName: string;
|
|
213
209
|
};
|
|
210
|
+
pay: {
|
|
211
|
+
rate: number;
|
|
212
|
+
unit: "DAILY" | "HOURLY";
|
|
213
|
+
};
|
|
214
|
+
userId: string;
|
|
214
215
|
user: {
|
|
215
216
|
id: string;
|
|
216
217
|
firstName: string;
|
|
@@ -219,9 +220,8 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
219
220
|
};
|
|
220
221
|
job: {
|
|
221
222
|
id: string;
|
|
222
|
-
|
|
223
|
+
description: string;
|
|
223
224
|
};
|
|
224
|
-
userId: string;
|
|
225
225
|
endDate?: string | Date | null | undefined;
|
|
226
226
|
};
|
|
227
227
|
}>;
|
|
@@ -241,20 +241,20 @@ export declare const CreateActiveSchema: z.ZodObject<{
|
|
|
241
241
|
statusSa: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
242
242
|
statusFa: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
date: string;
|
|
245
244
|
pay: {
|
|
246
245
|
rate: number;
|
|
247
246
|
unit: "DAILY" | "HOURLY";
|
|
248
247
|
};
|
|
248
|
+
date: string;
|
|
249
249
|
comment?: string | undefined;
|
|
250
250
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
251
251
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
252
252
|
}, {
|
|
253
|
-
date: string;
|
|
254
253
|
pay: {
|
|
255
254
|
rate: number;
|
|
256
255
|
unit: "DAILY" | "HOURLY";
|
|
257
256
|
};
|
|
257
|
+
date: string;
|
|
258
258
|
comment?: string | undefined;
|
|
259
259
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
260
260
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -343,10 +343,6 @@ export declare const FilterActiveSchema: z.ZodObject<{
|
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
344
|
limit: number;
|
|
345
345
|
page: number;
|
|
346
|
-
date?: {
|
|
347
|
-
from?: string | null | undefined;
|
|
348
|
-
to?: string | null | undefined;
|
|
349
|
-
} | null | undefined;
|
|
350
346
|
status?: {
|
|
351
347
|
filterType: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER";
|
|
352
348
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -359,14 +355,14 @@ export declare const FilterActiveSchema: z.ZodObject<{
|
|
|
359
355
|
min?: number | undefined;
|
|
360
356
|
max?: number | undefined;
|
|
361
357
|
} | null | undefined;
|
|
362
|
-
|
|
363
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
358
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
364
359
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
365
|
-
}, {
|
|
366
360
|
date?: {
|
|
367
361
|
from?: string | null | undefined;
|
|
368
362
|
to?: string | null | undefined;
|
|
369
363
|
} | null | undefined;
|
|
364
|
+
bookingId?: string | null | undefined;
|
|
365
|
+
}, {
|
|
370
366
|
status?: {
|
|
371
367
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
372
368
|
filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
|
|
@@ -381,9 +377,13 @@ export declare const FilterActiveSchema: z.ZodObject<{
|
|
|
381
377
|
} | null | undefined;
|
|
382
378
|
limit?: number | undefined;
|
|
383
379
|
page?: number | undefined;
|
|
384
|
-
|
|
385
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
380
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
386
381
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
382
|
+
date?: {
|
|
383
|
+
from?: string | null | undefined;
|
|
384
|
+
to?: string | null | undefined;
|
|
385
|
+
} | null | undefined;
|
|
386
|
+
bookingId?: string | null | undefined;
|
|
387
387
|
}>;
|
|
388
388
|
export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
389
389
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -452,32 +452,33 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
452
452
|
}>;
|
|
453
453
|
job: z.ZodObject<{
|
|
454
454
|
id: z.ZodString;
|
|
455
|
-
|
|
455
|
+
description: z.ZodString;
|
|
456
456
|
}, "strip", z.ZodTypeAny, {
|
|
457
457
|
id: string;
|
|
458
|
-
|
|
458
|
+
description: string;
|
|
459
459
|
}, {
|
|
460
460
|
id: string;
|
|
461
|
-
|
|
461
|
+
description: string;
|
|
462
462
|
}>;
|
|
463
463
|
userId: z.ZodString;
|
|
464
464
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
465
465
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
467
|
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";
|
|
468
|
+
startDate: string;
|
|
468
469
|
createdAt: string;
|
|
469
470
|
updatedAt: string;
|
|
470
471
|
id: string;
|
|
471
|
-
pay: {
|
|
472
|
-
rate: number;
|
|
473
|
-
unit: "DAILY" | "HOURLY";
|
|
474
|
-
};
|
|
475
|
-
startDate: string;
|
|
476
472
|
worker: {
|
|
477
473
|
id: string;
|
|
478
474
|
firstName: string;
|
|
479
475
|
lastName: string;
|
|
480
476
|
};
|
|
477
|
+
pay: {
|
|
478
|
+
rate: number;
|
|
479
|
+
unit: "DAILY" | "HOURLY";
|
|
480
|
+
};
|
|
481
|
+
userId: string;
|
|
481
482
|
user: {
|
|
482
483
|
id: string;
|
|
483
484
|
firstName: string;
|
|
@@ -486,25 +487,25 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
486
487
|
};
|
|
487
488
|
job: {
|
|
488
489
|
id: string;
|
|
489
|
-
|
|
490
|
+
description: string;
|
|
490
491
|
};
|
|
491
|
-
userId: string;
|
|
492
492
|
endDate?: string | null | undefined;
|
|
493
493
|
}, {
|
|
494
494
|
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";
|
|
495
|
+
startDate: string | Date;
|
|
495
496
|
createdAt: string | Date;
|
|
496
497
|
updatedAt: string | Date;
|
|
497
498
|
id: string;
|
|
498
|
-
pay: {
|
|
499
|
-
rate: number;
|
|
500
|
-
unit: "DAILY" | "HOURLY";
|
|
501
|
-
};
|
|
502
|
-
startDate: string | Date;
|
|
503
499
|
worker: {
|
|
504
500
|
id: string;
|
|
505
501
|
firstName: string;
|
|
506
502
|
lastName: string;
|
|
507
503
|
};
|
|
504
|
+
pay: {
|
|
505
|
+
rate: number;
|
|
506
|
+
unit: "DAILY" | "HOURLY";
|
|
507
|
+
};
|
|
508
|
+
userId: string;
|
|
508
509
|
user: {
|
|
509
510
|
id: string;
|
|
510
511
|
firstName: string;
|
|
@@ -513,15 +514,13 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
513
514
|
};
|
|
514
515
|
job: {
|
|
515
516
|
id: string;
|
|
516
|
-
|
|
517
|
+
description: string;
|
|
517
518
|
};
|
|
518
|
-
userId: string;
|
|
519
519
|
endDate?: string | Date | null | undefined;
|
|
520
520
|
}>;
|
|
521
521
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
522
522
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
523
523
|
}, "strip", z.ZodTypeAny, {
|
|
524
|
-
date: string;
|
|
525
524
|
createdAt: string;
|
|
526
525
|
updatedAt: string;
|
|
527
526
|
id: string;
|
|
@@ -529,6 +528,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
529
528
|
rate: number;
|
|
530
529
|
unit: "DAILY" | "HOURLY";
|
|
531
530
|
};
|
|
531
|
+
date: string;
|
|
532
532
|
comment: string | null;
|
|
533
533
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
534
534
|
statusSaUpdatedAt: string | null;
|
|
@@ -538,19 +538,20 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
538
538
|
hoursWorkedUpdatedAt: string | null;
|
|
539
539
|
booking: {
|
|
540
540
|
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";
|
|
541
|
+
startDate: string;
|
|
541
542
|
createdAt: string;
|
|
542
543
|
updatedAt: string;
|
|
543
544
|
id: string;
|
|
544
|
-
pay: {
|
|
545
|
-
rate: number;
|
|
546
|
-
unit: "DAILY" | "HOURLY";
|
|
547
|
-
};
|
|
548
|
-
startDate: string;
|
|
549
545
|
worker: {
|
|
550
546
|
id: string;
|
|
551
547
|
firstName: string;
|
|
552
548
|
lastName: string;
|
|
553
549
|
};
|
|
550
|
+
pay: {
|
|
551
|
+
rate: number;
|
|
552
|
+
unit: "DAILY" | "HOURLY";
|
|
553
|
+
};
|
|
554
|
+
userId: string;
|
|
554
555
|
user: {
|
|
555
556
|
id: string;
|
|
556
557
|
firstName: string;
|
|
@@ -559,13 +560,11 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
559
560
|
};
|
|
560
561
|
job: {
|
|
561
562
|
id: string;
|
|
562
|
-
|
|
563
|
+
description: string;
|
|
563
564
|
};
|
|
564
|
-
userId: string;
|
|
565
565
|
endDate?: string | null | undefined;
|
|
566
566
|
};
|
|
567
567
|
}, {
|
|
568
|
-
date: string | Date;
|
|
569
568
|
createdAt: string | Date;
|
|
570
569
|
updatedAt: string | Date;
|
|
571
570
|
id: string;
|
|
@@ -573,6 +572,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
573
572
|
rate: number;
|
|
574
573
|
unit: "DAILY" | "HOURLY";
|
|
575
574
|
};
|
|
575
|
+
date: string | Date;
|
|
576
576
|
comment: string | null;
|
|
577
577
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
578
578
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -582,19 +582,20 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
582
582
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
583
583
|
booking: {
|
|
584
584
|
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";
|
|
585
|
+
startDate: string | Date;
|
|
585
586
|
createdAt: string | Date;
|
|
586
587
|
updatedAt: string | Date;
|
|
587
588
|
id: string;
|
|
588
|
-
pay: {
|
|
589
|
-
rate: number;
|
|
590
|
-
unit: "DAILY" | "HOURLY";
|
|
591
|
-
};
|
|
592
|
-
startDate: string | Date;
|
|
593
589
|
worker: {
|
|
594
590
|
id: string;
|
|
595
591
|
firstName: string;
|
|
596
592
|
lastName: string;
|
|
597
593
|
};
|
|
594
|
+
pay: {
|
|
595
|
+
rate: number;
|
|
596
|
+
unit: "DAILY" | "HOURLY";
|
|
597
|
+
};
|
|
598
|
+
userId: string;
|
|
598
599
|
user: {
|
|
599
600
|
id: string;
|
|
600
601
|
firstName: string;
|
|
@@ -603,9 +604,8 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
603
604
|
};
|
|
604
605
|
job: {
|
|
605
606
|
id: string;
|
|
606
|
-
|
|
607
|
+
description: string;
|
|
607
608
|
};
|
|
608
|
-
userId: string;
|
|
609
609
|
endDate?: string | Date | null | undefined;
|
|
610
610
|
};
|
|
611
611
|
}>, "many">;
|
|
@@ -617,7 +617,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
617
617
|
}, "strip", z.ZodTypeAny, {
|
|
618
618
|
limit: number;
|
|
619
619
|
items: {
|
|
620
|
-
date: string;
|
|
621
620
|
createdAt: string;
|
|
622
621
|
updatedAt: string;
|
|
623
622
|
id: string;
|
|
@@ -625,6 +624,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
625
624
|
rate: number;
|
|
626
625
|
unit: "DAILY" | "HOURLY";
|
|
627
626
|
};
|
|
627
|
+
date: string;
|
|
628
628
|
comment: string | null;
|
|
629
629
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
630
630
|
statusSaUpdatedAt: string | null;
|
|
@@ -634,19 +634,20 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
634
634
|
hoursWorkedUpdatedAt: string | null;
|
|
635
635
|
booking: {
|
|
636
636
|
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";
|
|
637
|
+
startDate: string;
|
|
637
638
|
createdAt: string;
|
|
638
639
|
updatedAt: string;
|
|
639
640
|
id: string;
|
|
640
|
-
pay: {
|
|
641
|
-
rate: number;
|
|
642
|
-
unit: "DAILY" | "HOURLY";
|
|
643
|
-
};
|
|
644
|
-
startDate: string;
|
|
645
641
|
worker: {
|
|
646
642
|
id: string;
|
|
647
643
|
firstName: string;
|
|
648
644
|
lastName: string;
|
|
649
645
|
};
|
|
646
|
+
pay: {
|
|
647
|
+
rate: number;
|
|
648
|
+
unit: "DAILY" | "HOURLY";
|
|
649
|
+
};
|
|
650
|
+
userId: string;
|
|
650
651
|
user: {
|
|
651
652
|
id: string;
|
|
652
653
|
firstName: string;
|
|
@@ -655,9 +656,8 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
655
656
|
};
|
|
656
657
|
job: {
|
|
657
658
|
id: string;
|
|
658
|
-
|
|
659
|
+
description: string;
|
|
659
660
|
};
|
|
660
|
-
userId: string;
|
|
661
661
|
endDate?: string | null | undefined;
|
|
662
662
|
};
|
|
663
663
|
}[];
|
|
@@ -668,7 +668,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
668
668
|
}, {
|
|
669
669
|
limit: number;
|
|
670
670
|
items: {
|
|
671
|
-
date: string | Date;
|
|
672
671
|
createdAt: string | Date;
|
|
673
672
|
updatedAt: string | Date;
|
|
674
673
|
id: string;
|
|
@@ -676,6 +675,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
676
675
|
rate: number;
|
|
677
676
|
unit: "DAILY" | "HOURLY";
|
|
678
677
|
};
|
|
678
|
+
date: string | Date;
|
|
679
679
|
comment: string | null;
|
|
680
680
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
681
681
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -685,19 +685,20 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
685
685
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
686
686
|
booking: {
|
|
687
687
|
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";
|
|
688
|
+
startDate: string | Date;
|
|
688
689
|
createdAt: string | Date;
|
|
689
690
|
updatedAt: string | Date;
|
|
690
691
|
id: string;
|
|
691
|
-
pay: {
|
|
692
|
-
rate: number;
|
|
693
|
-
unit: "DAILY" | "HOURLY";
|
|
694
|
-
};
|
|
695
|
-
startDate: string | Date;
|
|
696
692
|
worker: {
|
|
697
693
|
id: string;
|
|
698
694
|
firstName: string;
|
|
699
695
|
lastName: string;
|
|
700
696
|
};
|
|
697
|
+
pay: {
|
|
698
|
+
rate: number;
|
|
699
|
+
unit: "DAILY" | "HOURLY";
|
|
700
|
+
};
|
|
701
|
+
userId: string;
|
|
701
702
|
user: {
|
|
702
703
|
id: string;
|
|
703
704
|
firstName: string;
|
|
@@ -706,9 +707,8 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
706
707
|
};
|
|
707
708
|
job: {
|
|
708
709
|
id: string;
|
|
709
|
-
|
|
710
|
+
description: string;
|
|
710
711
|
};
|
|
711
|
-
userId: string;
|
|
712
712
|
endDate?: string | Date | null | undefined;
|
|
713
713
|
};
|
|
714
714
|
}[];
|
|
@@ -758,20 +758,20 @@ export declare const activesContractRouter: {
|
|
|
758
758
|
statusSa: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
759
759
|
statusFa: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
760
760
|
}, "strip", z.ZodTypeAny, {
|
|
761
|
-
date: string;
|
|
762
761
|
pay: {
|
|
763
762
|
rate: number;
|
|
764
763
|
unit: "DAILY" | "HOURLY";
|
|
765
764
|
};
|
|
765
|
+
date: string;
|
|
766
766
|
comment?: string | undefined;
|
|
767
767
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
768
768
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
769
769
|
}, {
|
|
770
|
-
date: string;
|
|
771
770
|
pay: {
|
|
772
771
|
rate: number;
|
|
773
772
|
unit: "DAILY" | "HOURLY";
|
|
774
773
|
};
|
|
774
|
+
date: string;
|
|
775
775
|
comment?: string | undefined;
|
|
776
776
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
777
777
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -944,32 +944,33 @@ export declare const activesContractRouter: {
|
|
|
944
944
|
}>;
|
|
945
945
|
job: z.ZodObject<{
|
|
946
946
|
id: z.ZodString;
|
|
947
|
-
|
|
947
|
+
description: z.ZodString;
|
|
948
948
|
}, "strip", z.ZodTypeAny, {
|
|
949
949
|
id: string;
|
|
950
|
-
|
|
950
|
+
description: string;
|
|
951
951
|
}, {
|
|
952
952
|
id: string;
|
|
953
|
-
|
|
953
|
+
description: string;
|
|
954
954
|
}>;
|
|
955
955
|
userId: z.ZodString;
|
|
956
956
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
957
957
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
958
958
|
}, "strip", z.ZodTypeAny, {
|
|
959
959
|
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";
|
|
960
|
+
startDate: string;
|
|
960
961
|
createdAt: string;
|
|
961
962
|
updatedAt: string;
|
|
962
963
|
id: string;
|
|
963
|
-
pay: {
|
|
964
|
-
rate: number;
|
|
965
|
-
unit: "DAILY" | "HOURLY";
|
|
966
|
-
};
|
|
967
|
-
startDate: string;
|
|
968
964
|
worker: {
|
|
969
965
|
id: string;
|
|
970
966
|
firstName: string;
|
|
971
967
|
lastName: string;
|
|
972
968
|
};
|
|
969
|
+
pay: {
|
|
970
|
+
rate: number;
|
|
971
|
+
unit: "DAILY" | "HOURLY";
|
|
972
|
+
};
|
|
973
|
+
userId: string;
|
|
973
974
|
user: {
|
|
974
975
|
id: string;
|
|
975
976
|
firstName: string;
|
|
@@ -978,25 +979,25 @@ export declare const activesContractRouter: {
|
|
|
978
979
|
};
|
|
979
980
|
job: {
|
|
980
981
|
id: string;
|
|
981
|
-
|
|
982
|
+
description: string;
|
|
982
983
|
};
|
|
983
|
-
userId: string;
|
|
984
984
|
endDate?: string | null | undefined;
|
|
985
985
|
}, {
|
|
986
986
|
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";
|
|
987
|
+
startDate: string | Date;
|
|
987
988
|
createdAt: string | Date;
|
|
988
989
|
updatedAt: string | Date;
|
|
989
990
|
id: string;
|
|
990
|
-
pay: {
|
|
991
|
-
rate: number;
|
|
992
|
-
unit: "DAILY" | "HOURLY";
|
|
993
|
-
};
|
|
994
|
-
startDate: string | Date;
|
|
995
991
|
worker: {
|
|
996
992
|
id: string;
|
|
997
993
|
firstName: string;
|
|
998
994
|
lastName: string;
|
|
999
995
|
};
|
|
996
|
+
pay: {
|
|
997
|
+
rate: number;
|
|
998
|
+
unit: "DAILY" | "HOURLY";
|
|
999
|
+
};
|
|
1000
|
+
userId: string;
|
|
1000
1001
|
user: {
|
|
1001
1002
|
id: string;
|
|
1002
1003
|
firstName: string;
|
|
@@ -1005,15 +1006,13 @@ export declare const activesContractRouter: {
|
|
|
1005
1006
|
};
|
|
1006
1007
|
job: {
|
|
1007
1008
|
id: string;
|
|
1008
|
-
|
|
1009
|
+
description: string;
|
|
1009
1010
|
};
|
|
1010
|
-
userId: string;
|
|
1011
1011
|
endDate?: string | Date | null | undefined;
|
|
1012
1012
|
}>;
|
|
1013
1013
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1014
1014
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1015
1015
|
}, "strip", z.ZodTypeAny, {
|
|
1016
|
-
date: string;
|
|
1017
1016
|
createdAt: string;
|
|
1018
1017
|
updatedAt: string;
|
|
1019
1018
|
id: string;
|
|
@@ -1021,6 +1020,7 @@ export declare const activesContractRouter: {
|
|
|
1021
1020
|
rate: number;
|
|
1022
1021
|
unit: "DAILY" | "HOURLY";
|
|
1023
1022
|
};
|
|
1023
|
+
date: string;
|
|
1024
1024
|
comment: string | null;
|
|
1025
1025
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1026
1026
|
statusSaUpdatedAt: string | null;
|
|
@@ -1030,19 +1030,20 @@ export declare const activesContractRouter: {
|
|
|
1030
1030
|
hoursWorkedUpdatedAt: string | null;
|
|
1031
1031
|
booking: {
|
|
1032
1032
|
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";
|
|
1033
|
+
startDate: string;
|
|
1033
1034
|
createdAt: string;
|
|
1034
1035
|
updatedAt: string;
|
|
1035
1036
|
id: string;
|
|
1036
|
-
pay: {
|
|
1037
|
-
rate: number;
|
|
1038
|
-
unit: "DAILY" | "HOURLY";
|
|
1039
|
-
};
|
|
1040
|
-
startDate: string;
|
|
1041
1037
|
worker: {
|
|
1042
1038
|
id: string;
|
|
1043
1039
|
firstName: string;
|
|
1044
1040
|
lastName: string;
|
|
1045
1041
|
};
|
|
1042
|
+
pay: {
|
|
1043
|
+
rate: number;
|
|
1044
|
+
unit: "DAILY" | "HOURLY";
|
|
1045
|
+
};
|
|
1046
|
+
userId: string;
|
|
1046
1047
|
user: {
|
|
1047
1048
|
id: string;
|
|
1048
1049
|
firstName: string;
|
|
@@ -1051,13 +1052,11 @@ export declare const activesContractRouter: {
|
|
|
1051
1052
|
};
|
|
1052
1053
|
job: {
|
|
1053
1054
|
id: string;
|
|
1054
|
-
|
|
1055
|
+
description: string;
|
|
1055
1056
|
};
|
|
1056
|
-
userId: string;
|
|
1057
1057
|
endDate?: string | null | undefined;
|
|
1058
1058
|
};
|
|
1059
1059
|
}, {
|
|
1060
|
-
date: string | Date;
|
|
1061
1060
|
createdAt: string | Date;
|
|
1062
1061
|
updatedAt: string | Date;
|
|
1063
1062
|
id: string;
|
|
@@ -1065,6 +1064,7 @@ export declare const activesContractRouter: {
|
|
|
1065
1064
|
rate: number;
|
|
1066
1065
|
unit: "DAILY" | "HOURLY";
|
|
1067
1066
|
};
|
|
1067
|
+
date: string | Date;
|
|
1068
1068
|
comment: string | null;
|
|
1069
1069
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1070
1070
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -1074,19 +1074,20 @@ export declare const activesContractRouter: {
|
|
|
1074
1074
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
1075
1075
|
booking: {
|
|
1076
1076
|
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";
|
|
1077
|
+
startDate: string | Date;
|
|
1077
1078
|
createdAt: string | Date;
|
|
1078
1079
|
updatedAt: string | Date;
|
|
1079
1080
|
id: string;
|
|
1080
|
-
pay: {
|
|
1081
|
-
rate: number;
|
|
1082
|
-
unit: "DAILY" | "HOURLY";
|
|
1083
|
-
};
|
|
1084
|
-
startDate: string | Date;
|
|
1085
1081
|
worker: {
|
|
1086
1082
|
id: string;
|
|
1087
1083
|
firstName: string;
|
|
1088
1084
|
lastName: string;
|
|
1089
1085
|
};
|
|
1086
|
+
pay: {
|
|
1087
|
+
rate: number;
|
|
1088
|
+
unit: "DAILY" | "HOURLY";
|
|
1089
|
+
};
|
|
1090
|
+
userId: string;
|
|
1090
1091
|
user: {
|
|
1091
1092
|
id: string;
|
|
1092
1093
|
firstName: string;
|
|
@@ -1095,9 +1096,8 @@ export declare const activesContractRouter: {
|
|
|
1095
1096
|
};
|
|
1096
1097
|
job: {
|
|
1097
1098
|
id: string;
|
|
1098
|
-
|
|
1099
|
+
description: string;
|
|
1099
1100
|
};
|
|
1100
|
-
userId: string;
|
|
1101
1101
|
endDate?: string | Date | null | undefined;
|
|
1102
1102
|
};
|
|
1103
1103
|
}>;
|
|
@@ -1210,10 +1210,6 @@ export declare const activesContractRouter: {
|
|
|
1210
1210
|
}, "strip", z.ZodTypeAny, {
|
|
1211
1211
|
limit: number;
|
|
1212
1212
|
page: number;
|
|
1213
|
-
date?: {
|
|
1214
|
-
from?: string | null | undefined;
|
|
1215
|
-
to?: string | null | undefined;
|
|
1216
|
-
} | null | undefined;
|
|
1217
1213
|
status?: {
|
|
1218
1214
|
filterType: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER";
|
|
1219
1215
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -1226,14 +1222,14 @@ export declare const activesContractRouter: {
|
|
|
1226
1222
|
min?: number | undefined;
|
|
1227
1223
|
max?: number | undefined;
|
|
1228
1224
|
} | null | undefined;
|
|
1229
|
-
|
|
1230
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1225
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
1231
1226
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1232
|
-
}, {
|
|
1233
1227
|
date?: {
|
|
1234
1228
|
from?: string | null | undefined;
|
|
1235
1229
|
to?: string | null | undefined;
|
|
1236
1230
|
} | null | undefined;
|
|
1231
|
+
bookingId?: string | null | undefined;
|
|
1232
|
+
}, {
|
|
1237
1233
|
status?: {
|
|
1238
1234
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
1239
1235
|
filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
|
|
@@ -1248,9 +1244,13 @@ export declare const activesContractRouter: {
|
|
|
1248
1244
|
} | null | undefined;
|
|
1249
1245
|
limit?: number | undefined;
|
|
1250
1246
|
page?: number | undefined;
|
|
1251
|
-
|
|
1252
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1247
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
1253
1248
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1249
|
+
date?: {
|
|
1250
|
+
from?: string | null | undefined;
|
|
1251
|
+
to?: string | null | undefined;
|
|
1252
|
+
} | null | undefined;
|
|
1253
|
+
bookingId?: string | null | undefined;
|
|
1254
1254
|
}>;
|
|
1255
1255
|
summary: "Get all active records";
|
|
1256
1256
|
method: "GET";
|
|
@@ -1423,32 +1423,33 @@ export declare const activesContractRouter: {
|
|
|
1423
1423
|
}>;
|
|
1424
1424
|
job: z.ZodObject<{
|
|
1425
1425
|
id: z.ZodString;
|
|
1426
|
-
|
|
1426
|
+
description: z.ZodString;
|
|
1427
1427
|
}, "strip", z.ZodTypeAny, {
|
|
1428
1428
|
id: string;
|
|
1429
|
-
|
|
1429
|
+
description: string;
|
|
1430
1430
|
}, {
|
|
1431
1431
|
id: string;
|
|
1432
|
-
|
|
1432
|
+
description: string;
|
|
1433
1433
|
}>;
|
|
1434
1434
|
userId: z.ZodString;
|
|
1435
1435
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1436
1436
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1437
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1438
1438
|
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";
|
|
1439
|
+
startDate: string;
|
|
1439
1440
|
createdAt: string;
|
|
1440
1441
|
updatedAt: string;
|
|
1441
1442
|
id: string;
|
|
1442
|
-
pay: {
|
|
1443
|
-
rate: number;
|
|
1444
|
-
unit: "DAILY" | "HOURLY";
|
|
1445
|
-
};
|
|
1446
|
-
startDate: string;
|
|
1447
1443
|
worker: {
|
|
1448
1444
|
id: string;
|
|
1449
1445
|
firstName: string;
|
|
1450
1446
|
lastName: string;
|
|
1451
1447
|
};
|
|
1448
|
+
pay: {
|
|
1449
|
+
rate: number;
|
|
1450
|
+
unit: "DAILY" | "HOURLY";
|
|
1451
|
+
};
|
|
1452
|
+
userId: string;
|
|
1452
1453
|
user: {
|
|
1453
1454
|
id: string;
|
|
1454
1455
|
firstName: string;
|
|
@@ -1457,25 +1458,25 @@ export declare const activesContractRouter: {
|
|
|
1457
1458
|
};
|
|
1458
1459
|
job: {
|
|
1459
1460
|
id: string;
|
|
1460
|
-
|
|
1461
|
+
description: string;
|
|
1461
1462
|
};
|
|
1462
|
-
userId: string;
|
|
1463
1463
|
endDate?: string | null | undefined;
|
|
1464
1464
|
}, {
|
|
1465
1465
|
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";
|
|
1466
|
+
startDate: string | Date;
|
|
1466
1467
|
createdAt: string | Date;
|
|
1467
1468
|
updatedAt: string | Date;
|
|
1468
1469
|
id: string;
|
|
1469
|
-
pay: {
|
|
1470
|
-
rate: number;
|
|
1471
|
-
unit: "DAILY" | "HOURLY";
|
|
1472
|
-
};
|
|
1473
|
-
startDate: string | Date;
|
|
1474
1470
|
worker: {
|
|
1475
1471
|
id: string;
|
|
1476
1472
|
firstName: string;
|
|
1477
1473
|
lastName: string;
|
|
1478
1474
|
};
|
|
1475
|
+
pay: {
|
|
1476
|
+
rate: number;
|
|
1477
|
+
unit: "DAILY" | "HOURLY";
|
|
1478
|
+
};
|
|
1479
|
+
userId: string;
|
|
1479
1480
|
user: {
|
|
1480
1481
|
id: string;
|
|
1481
1482
|
firstName: string;
|
|
@@ -1484,15 +1485,13 @@ export declare const activesContractRouter: {
|
|
|
1484
1485
|
};
|
|
1485
1486
|
job: {
|
|
1486
1487
|
id: string;
|
|
1487
|
-
|
|
1488
|
+
description: string;
|
|
1488
1489
|
};
|
|
1489
|
-
userId: string;
|
|
1490
1490
|
endDate?: string | Date | null | undefined;
|
|
1491
1491
|
}>;
|
|
1492
1492
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1493
1493
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1494
1494
|
}, "strip", z.ZodTypeAny, {
|
|
1495
|
-
date: string;
|
|
1496
1495
|
createdAt: string;
|
|
1497
1496
|
updatedAt: string;
|
|
1498
1497
|
id: string;
|
|
@@ -1500,6 +1499,7 @@ export declare const activesContractRouter: {
|
|
|
1500
1499
|
rate: number;
|
|
1501
1500
|
unit: "DAILY" | "HOURLY";
|
|
1502
1501
|
};
|
|
1502
|
+
date: string;
|
|
1503
1503
|
comment: string | null;
|
|
1504
1504
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1505
1505
|
statusSaUpdatedAt: string | null;
|
|
@@ -1509,19 +1509,20 @@ export declare const activesContractRouter: {
|
|
|
1509
1509
|
hoursWorkedUpdatedAt: string | null;
|
|
1510
1510
|
booking: {
|
|
1511
1511
|
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";
|
|
1512
|
+
startDate: string;
|
|
1512
1513
|
createdAt: string;
|
|
1513
1514
|
updatedAt: string;
|
|
1514
1515
|
id: string;
|
|
1515
|
-
pay: {
|
|
1516
|
-
rate: number;
|
|
1517
|
-
unit: "DAILY" | "HOURLY";
|
|
1518
|
-
};
|
|
1519
|
-
startDate: string;
|
|
1520
1516
|
worker: {
|
|
1521
1517
|
id: string;
|
|
1522
1518
|
firstName: string;
|
|
1523
1519
|
lastName: string;
|
|
1524
1520
|
};
|
|
1521
|
+
pay: {
|
|
1522
|
+
rate: number;
|
|
1523
|
+
unit: "DAILY" | "HOURLY";
|
|
1524
|
+
};
|
|
1525
|
+
userId: string;
|
|
1525
1526
|
user: {
|
|
1526
1527
|
id: string;
|
|
1527
1528
|
firstName: string;
|
|
@@ -1530,13 +1531,11 @@ export declare const activesContractRouter: {
|
|
|
1530
1531
|
};
|
|
1531
1532
|
job: {
|
|
1532
1533
|
id: string;
|
|
1533
|
-
|
|
1534
|
+
description: string;
|
|
1534
1535
|
};
|
|
1535
|
-
userId: string;
|
|
1536
1536
|
endDate?: string | null | undefined;
|
|
1537
1537
|
};
|
|
1538
1538
|
}, {
|
|
1539
|
-
date: string | Date;
|
|
1540
1539
|
createdAt: string | Date;
|
|
1541
1540
|
updatedAt: string | Date;
|
|
1542
1541
|
id: string;
|
|
@@ -1544,6 +1543,7 @@ export declare const activesContractRouter: {
|
|
|
1544
1543
|
rate: number;
|
|
1545
1544
|
unit: "DAILY" | "HOURLY";
|
|
1546
1545
|
};
|
|
1546
|
+
date: string | Date;
|
|
1547
1547
|
comment: string | null;
|
|
1548
1548
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1549
1549
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -1553,19 +1553,20 @@ export declare const activesContractRouter: {
|
|
|
1553
1553
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
1554
1554
|
booking: {
|
|
1555
1555
|
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";
|
|
1556
|
+
startDate: string | Date;
|
|
1556
1557
|
createdAt: string | Date;
|
|
1557
1558
|
updatedAt: string | Date;
|
|
1558
1559
|
id: string;
|
|
1559
|
-
pay: {
|
|
1560
|
-
rate: number;
|
|
1561
|
-
unit: "DAILY" | "HOURLY";
|
|
1562
|
-
};
|
|
1563
|
-
startDate: string | Date;
|
|
1564
1560
|
worker: {
|
|
1565
1561
|
id: string;
|
|
1566
1562
|
firstName: string;
|
|
1567
1563
|
lastName: string;
|
|
1568
1564
|
};
|
|
1565
|
+
pay: {
|
|
1566
|
+
rate: number;
|
|
1567
|
+
unit: "DAILY" | "HOURLY";
|
|
1568
|
+
};
|
|
1569
|
+
userId: string;
|
|
1569
1570
|
user: {
|
|
1570
1571
|
id: string;
|
|
1571
1572
|
firstName: string;
|
|
@@ -1574,9 +1575,8 @@ export declare const activesContractRouter: {
|
|
|
1574
1575
|
};
|
|
1575
1576
|
job: {
|
|
1576
1577
|
id: string;
|
|
1577
|
-
|
|
1578
|
+
description: string;
|
|
1578
1579
|
};
|
|
1579
|
-
userId: string;
|
|
1580
1580
|
endDate?: string | Date | null | undefined;
|
|
1581
1581
|
};
|
|
1582
1582
|
}>, "many">;
|
|
@@ -1588,7 +1588,6 @@ export declare const activesContractRouter: {
|
|
|
1588
1588
|
}, "strip", z.ZodTypeAny, {
|
|
1589
1589
|
limit: number;
|
|
1590
1590
|
items: {
|
|
1591
|
-
date: string;
|
|
1592
1591
|
createdAt: string;
|
|
1593
1592
|
updatedAt: string;
|
|
1594
1593
|
id: string;
|
|
@@ -1596,6 +1595,7 @@ export declare const activesContractRouter: {
|
|
|
1596
1595
|
rate: number;
|
|
1597
1596
|
unit: "DAILY" | "HOURLY";
|
|
1598
1597
|
};
|
|
1598
|
+
date: string;
|
|
1599
1599
|
comment: string | null;
|
|
1600
1600
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1601
1601
|
statusSaUpdatedAt: string | null;
|
|
@@ -1605,19 +1605,20 @@ export declare const activesContractRouter: {
|
|
|
1605
1605
|
hoursWorkedUpdatedAt: string | null;
|
|
1606
1606
|
booking: {
|
|
1607
1607
|
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";
|
|
1608
|
+
startDate: string;
|
|
1608
1609
|
createdAt: string;
|
|
1609
1610
|
updatedAt: string;
|
|
1610
1611
|
id: string;
|
|
1611
|
-
pay: {
|
|
1612
|
-
rate: number;
|
|
1613
|
-
unit: "DAILY" | "HOURLY";
|
|
1614
|
-
};
|
|
1615
|
-
startDate: string;
|
|
1616
1612
|
worker: {
|
|
1617
1613
|
id: string;
|
|
1618
1614
|
firstName: string;
|
|
1619
1615
|
lastName: string;
|
|
1620
1616
|
};
|
|
1617
|
+
pay: {
|
|
1618
|
+
rate: number;
|
|
1619
|
+
unit: "DAILY" | "HOURLY";
|
|
1620
|
+
};
|
|
1621
|
+
userId: string;
|
|
1621
1622
|
user: {
|
|
1622
1623
|
id: string;
|
|
1623
1624
|
firstName: string;
|
|
@@ -1626,9 +1627,8 @@ export declare const activesContractRouter: {
|
|
|
1626
1627
|
};
|
|
1627
1628
|
job: {
|
|
1628
1629
|
id: string;
|
|
1629
|
-
|
|
1630
|
+
description: string;
|
|
1630
1631
|
};
|
|
1631
|
-
userId: string;
|
|
1632
1632
|
endDate?: string | null | undefined;
|
|
1633
1633
|
};
|
|
1634
1634
|
}[];
|
|
@@ -1639,7 +1639,6 @@ export declare const activesContractRouter: {
|
|
|
1639
1639
|
}, {
|
|
1640
1640
|
limit: number;
|
|
1641
1641
|
items: {
|
|
1642
|
-
date: string | Date;
|
|
1643
1642
|
createdAt: string | Date;
|
|
1644
1643
|
updatedAt: string | Date;
|
|
1645
1644
|
id: string;
|
|
@@ -1647,6 +1646,7 @@ export declare const activesContractRouter: {
|
|
|
1647
1646
|
rate: number;
|
|
1648
1647
|
unit: "DAILY" | "HOURLY";
|
|
1649
1648
|
};
|
|
1649
|
+
date: string | Date;
|
|
1650
1650
|
comment: string | null;
|
|
1651
1651
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1652
1652
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -1656,19 +1656,20 @@ export declare const activesContractRouter: {
|
|
|
1656
1656
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
1657
1657
|
booking: {
|
|
1658
1658
|
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";
|
|
1659
|
+
startDate: string | Date;
|
|
1659
1660
|
createdAt: string | Date;
|
|
1660
1661
|
updatedAt: string | Date;
|
|
1661
1662
|
id: string;
|
|
1662
|
-
pay: {
|
|
1663
|
-
rate: number;
|
|
1664
|
-
unit: "DAILY" | "HOURLY";
|
|
1665
|
-
};
|
|
1666
|
-
startDate: string | Date;
|
|
1667
1663
|
worker: {
|
|
1668
1664
|
id: string;
|
|
1669
1665
|
firstName: string;
|
|
1670
1666
|
lastName: string;
|
|
1671
1667
|
};
|
|
1668
|
+
pay: {
|
|
1669
|
+
rate: number;
|
|
1670
|
+
unit: "DAILY" | "HOURLY";
|
|
1671
|
+
};
|
|
1672
|
+
userId: string;
|
|
1672
1673
|
user: {
|
|
1673
1674
|
id: string;
|
|
1674
1675
|
firstName: string;
|
|
@@ -1677,9 +1678,8 @@ export declare const activesContractRouter: {
|
|
|
1677
1678
|
};
|
|
1678
1679
|
job: {
|
|
1679
1680
|
id: string;
|
|
1680
|
-
|
|
1681
|
+
description: string;
|
|
1681
1682
|
};
|
|
1682
|
-
userId: string;
|
|
1683
1683
|
endDate?: string | Date | null | undefined;
|
|
1684
1684
|
};
|
|
1685
1685
|
}[];
|
|
@@ -1874,32 +1874,33 @@ export declare const activesContractRouter: {
|
|
|
1874
1874
|
}>;
|
|
1875
1875
|
job: z.ZodObject<{
|
|
1876
1876
|
id: z.ZodString;
|
|
1877
|
-
|
|
1877
|
+
description: z.ZodString;
|
|
1878
1878
|
}, "strip", z.ZodTypeAny, {
|
|
1879
1879
|
id: string;
|
|
1880
|
-
|
|
1880
|
+
description: string;
|
|
1881
1881
|
}, {
|
|
1882
1882
|
id: string;
|
|
1883
|
-
|
|
1883
|
+
description: string;
|
|
1884
1884
|
}>;
|
|
1885
1885
|
userId: z.ZodString;
|
|
1886
1886
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1887
1887
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1888
1888
|
}, "strip", z.ZodTypeAny, {
|
|
1889
1889
|
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";
|
|
1890
|
+
startDate: string;
|
|
1890
1891
|
createdAt: string;
|
|
1891
1892
|
updatedAt: string;
|
|
1892
1893
|
id: string;
|
|
1893
|
-
pay: {
|
|
1894
|
-
rate: number;
|
|
1895
|
-
unit: "DAILY" | "HOURLY";
|
|
1896
|
-
};
|
|
1897
|
-
startDate: string;
|
|
1898
1894
|
worker: {
|
|
1899
1895
|
id: string;
|
|
1900
1896
|
firstName: string;
|
|
1901
1897
|
lastName: string;
|
|
1902
1898
|
};
|
|
1899
|
+
pay: {
|
|
1900
|
+
rate: number;
|
|
1901
|
+
unit: "DAILY" | "HOURLY";
|
|
1902
|
+
};
|
|
1903
|
+
userId: string;
|
|
1903
1904
|
user: {
|
|
1904
1905
|
id: string;
|
|
1905
1906
|
firstName: string;
|
|
@@ -1908,25 +1909,25 @@ export declare const activesContractRouter: {
|
|
|
1908
1909
|
};
|
|
1909
1910
|
job: {
|
|
1910
1911
|
id: string;
|
|
1911
|
-
|
|
1912
|
+
description: string;
|
|
1912
1913
|
};
|
|
1913
|
-
userId: string;
|
|
1914
1914
|
endDate?: string | null | undefined;
|
|
1915
1915
|
}, {
|
|
1916
1916
|
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";
|
|
1917
|
+
startDate: string | Date;
|
|
1917
1918
|
createdAt: string | Date;
|
|
1918
1919
|
updatedAt: string | Date;
|
|
1919
1920
|
id: string;
|
|
1920
|
-
pay: {
|
|
1921
|
-
rate: number;
|
|
1922
|
-
unit: "DAILY" | "HOURLY";
|
|
1923
|
-
};
|
|
1924
|
-
startDate: string | Date;
|
|
1925
1921
|
worker: {
|
|
1926
1922
|
id: string;
|
|
1927
1923
|
firstName: string;
|
|
1928
1924
|
lastName: string;
|
|
1929
1925
|
};
|
|
1926
|
+
pay: {
|
|
1927
|
+
rate: number;
|
|
1928
|
+
unit: "DAILY" | "HOURLY";
|
|
1929
|
+
};
|
|
1930
|
+
userId: string;
|
|
1930
1931
|
user: {
|
|
1931
1932
|
id: string;
|
|
1932
1933
|
firstName: string;
|
|
@@ -1935,15 +1936,13 @@ export declare const activesContractRouter: {
|
|
|
1935
1936
|
};
|
|
1936
1937
|
job: {
|
|
1937
1938
|
id: string;
|
|
1938
|
-
|
|
1939
|
+
description: string;
|
|
1939
1940
|
};
|
|
1940
|
-
userId: string;
|
|
1941
1941
|
endDate?: string | Date | null | undefined;
|
|
1942
1942
|
}>;
|
|
1943
1943
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1944
1944
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1945
1945
|
}, "strip", z.ZodTypeAny, {
|
|
1946
|
-
date: string;
|
|
1947
1946
|
createdAt: string;
|
|
1948
1947
|
updatedAt: string;
|
|
1949
1948
|
id: string;
|
|
@@ -1951,6 +1950,7 @@ export declare const activesContractRouter: {
|
|
|
1951
1950
|
rate: number;
|
|
1952
1951
|
unit: "DAILY" | "HOURLY";
|
|
1953
1952
|
};
|
|
1953
|
+
date: string;
|
|
1954
1954
|
comment: string | null;
|
|
1955
1955
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
1956
1956
|
statusSaUpdatedAt: string | null;
|
|
@@ -1960,19 +1960,20 @@ export declare const activesContractRouter: {
|
|
|
1960
1960
|
hoursWorkedUpdatedAt: string | null;
|
|
1961
1961
|
booking: {
|
|
1962
1962
|
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";
|
|
1963
|
+
startDate: string;
|
|
1963
1964
|
createdAt: string;
|
|
1964
1965
|
updatedAt: string;
|
|
1965
1966
|
id: string;
|
|
1966
|
-
pay: {
|
|
1967
|
-
rate: number;
|
|
1968
|
-
unit: "DAILY" | "HOURLY";
|
|
1969
|
-
};
|
|
1970
|
-
startDate: string;
|
|
1971
1967
|
worker: {
|
|
1972
1968
|
id: string;
|
|
1973
1969
|
firstName: string;
|
|
1974
1970
|
lastName: string;
|
|
1975
1971
|
};
|
|
1972
|
+
pay: {
|
|
1973
|
+
rate: number;
|
|
1974
|
+
unit: "DAILY" | "HOURLY";
|
|
1975
|
+
};
|
|
1976
|
+
userId: string;
|
|
1976
1977
|
user: {
|
|
1977
1978
|
id: string;
|
|
1978
1979
|
firstName: string;
|
|
@@ -1981,13 +1982,11 @@ export declare const activesContractRouter: {
|
|
|
1981
1982
|
};
|
|
1982
1983
|
job: {
|
|
1983
1984
|
id: string;
|
|
1984
|
-
|
|
1985
|
+
description: string;
|
|
1985
1986
|
};
|
|
1986
|
-
userId: string;
|
|
1987
1987
|
endDate?: string | null | undefined;
|
|
1988
1988
|
};
|
|
1989
1989
|
}, {
|
|
1990
|
-
date: string | Date;
|
|
1991
1990
|
createdAt: string | Date;
|
|
1992
1991
|
updatedAt: string | Date;
|
|
1993
1992
|
id: string;
|
|
@@ -1995,6 +1994,7 @@ export declare const activesContractRouter: {
|
|
|
1995
1994
|
rate: number;
|
|
1996
1995
|
unit: "DAILY" | "HOURLY";
|
|
1997
1996
|
};
|
|
1997
|
+
date: string | Date;
|
|
1998
1998
|
comment: string | null;
|
|
1999
1999
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2000
2000
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -2004,19 +2004,20 @@ export declare const activesContractRouter: {
|
|
|
2004
2004
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
2005
2005
|
booking: {
|
|
2006
2006
|
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";
|
|
2007
|
+
startDate: string | Date;
|
|
2007
2008
|
createdAt: string | Date;
|
|
2008
2009
|
updatedAt: string | Date;
|
|
2009
2010
|
id: string;
|
|
2010
|
-
pay: {
|
|
2011
|
-
rate: number;
|
|
2012
|
-
unit: "DAILY" | "HOURLY";
|
|
2013
|
-
};
|
|
2014
|
-
startDate: string | Date;
|
|
2015
2011
|
worker: {
|
|
2016
2012
|
id: string;
|
|
2017
2013
|
firstName: string;
|
|
2018
2014
|
lastName: string;
|
|
2019
2015
|
};
|
|
2016
|
+
pay: {
|
|
2017
|
+
rate: number;
|
|
2018
|
+
unit: "DAILY" | "HOURLY";
|
|
2019
|
+
};
|
|
2020
|
+
userId: string;
|
|
2020
2021
|
user: {
|
|
2021
2022
|
id: string;
|
|
2022
2023
|
firstName: string;
|
|
@@ -2025,9 +2026,8 @@ export declare const activesContractRouter: {
|
|
|
2025
2026
|
};
|
|
2026
2027
|
job: {
|
|
2027
2028
|
id: string;
|
|
2028
|
-
|
|
2029
|
+
description: string;
|
|
2029
2030
|
};
|
|
2030
|
-
userId: string;
|
|
2031
2031
|
endDate?: string | Date | null | undefined;
|
|
2032
2032
|
};
|
|
2033
2033
|
}>;
|
|
@@ -2276,32 +2276,33 @@ export declare const activesContractRouter: {
|
|
|
2276
2276
|
}>;
|
|
2277
2277
|
job: z.ZodObject<{
|
|
2278
2278
|
id: z.ZodString;
|
|
2279
|
-
|
|
2279
|
+
description: z.ZodString;
|
|
2280
2280
|
}, "strip", z.ZodTypeAny, {
|
|
2281
2281
|
id: string;
|
|
2282
|
-
|
|
2282
|
+
description: string;
|
|
2283
2283
|
}, {
|
|
2284
2284
|
id: string;
|
|
2285
|
-
|
|
2285
|
+
description: string;
|
|
2286
2286
|
}>;
|
|
2287
2287
|
userId: z.ZodString;
|
|
2288
2288
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2289
2289
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2290
2290
|
}, "strip", z.ZodTypeAny, {
|
|
2291
2291
|
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";
|
|
2292
|
+
startDate: string;
|
|
2292
2293
|
createdAt: string;
|
|
2293
2294
|
updatedAt: string;
|
|
2294
2295
|
id: string;
|
|
2295
|
-
pay: {
|
|
2296
|
-
rate: number;
|
|
2297
|
-
unit: "DAILY" | "HOURLY";
|
|
2298
|
-
};
|
|
2299
|
-
startDate: string;
|
|
2300
2296
|
worker: {
|
|
2301
2297
|
id: string;
|
|
2302
2298
|
firstName: string;
|
|
2303
2299
|
lastName: string;
|
|
2304
2300
|
};
|
|
2301
|
+
pay: {
|
|
2302
|
+
rate: number;
|
|
2303
|
+
unit: "DAILY" | "HOURLY";
|
|
2304
|
+
};
|
|
2305
|
+
userId: string;
|
|
2305
2306
|
user: {
|
|
2306
2307
|
id: string;
|
|
2307
2308
|
firstName: string;
|
|
@@ -2310,25 +2311,25 @@ export declare const activesContractRouter: {
|
|
|
2310
2311
|
};
|
|
2311
2312
|
job: {
|
|
2312
2313
|
id: string;
|
|
2313
|
-
|
|
2314
|
+
description: string;
|
|
2314
2315
|
};
|
|
2315
|
-
userId: string;
|
|
2316
2316
|
endDate?: string | null | undefined;
|
|
2317
2317
|
}, {
|
|
2318
2318
|
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";
|
|
2319
|
+
startDate: string | Date;
|
|
2319
2320
|
createdAt: string | Date;
|
|
2320
2321
|
updatedAt: string | Date;
|
|
2321
2322
|
id: string;
|
|
2322
|
-
pay: {
|
|
2323
|
-
rate: number;
|
|
2324
|
-
unit: "DAILY" | "HOURLY";
|
|
2325
|
-
};
|
|
2326
|
-
startDate: string | Date;
|
|
2327
2323
|
worker: {
|
|
2328
2324
|
id: string;
|
|
2329
2325
|
firstName: string;
|
|
2330
2326
|
lastName: string;
|
|
2331
2327
|
};
|
|
2328
|
+
pay: {
|
|
2329
|
+
rate: number;
|
|
2330
|
+
unit: "DAILY" | "HOURLY";
|
|
2331
|
+
};
|
|
2332
|
+
userId: string;
|
|
2332
2333
|
user: {
|
|
2333
2334
|
id: string;
|
|
2334
2335
|
firstName: string;
|
|
@@ -2337,15 +2338,13 @@ export declare const activesContractRouter: {
|
|
|
2337
2338
|
};
|
|
2338
2339
|
job: {
|
|
2339
2340
|
id: string;
|
|
2340
|
-
|
|
2341
|
+
description: string;
|
|
2341
2342
|
};
|
|
2342
|
-
userId: string;
|
|
2343
2343
|
endDate?: string | Date | null | undefined;
|
|
2344
2344
|
}>;
|
|
2345
2345
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2346
2346
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2347
2347
|
}, "strip", z.ZodTypeAny, {
|
|
2348
|
-
date: string;
|
|
2349
2348
|
createdAt: string;
|
|
2350
2349
|
updatedAt: string;
|
|
2351
2350
|
id: string;
|
|
@@ -2353,6 +2352,7 @@ export declare const activesContractRouter: {
|
|
|
2353
2352
|
rate: number;
|
|
2354
2353
|
unit: "DAILY" | "HOURLY";
|
|
2355
2354
|
};
|
|
2355
|
+
date: string;
|
|
2356
2356
|
comment: string | null;
|
|
2357
2357
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2358
2358
|
statusSaUpdatedAt: string | null;
|
|
@@ -2362,19 +2362,20 @@ export declare const activesContractRouter: {
|
|
|
2362
2362
|
hoursWorkedUpdatedAt: string | null;
|
|
2363
2363
|
booking: {
|
|
2364
2364
|
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";
|
|
2365
|
+
startDate: string;
|
|
2365
2366
|
createdAt: string;
|
|
2366
2367
|
updatedAt: string;
|
|
2367
2368
|
id: string;
|
|
2368
|
-
pay: {
|
|
2369
|
-
rate: number;
|
|
2370
|
-
unit: "DAILY" | "HOURLY";
|
|
2371
|
-
};
|
|
2372
|
-
startDate: string;
|
|
2373
2369
|
worker: {
|
|
2374
2370
|
id: string;
|
|
2375
2371
|
firstName: string;
|
|
2376
2372
|
lastName: string;
|
|
2377
2373
|
};
|
|
2374
|
+
pay: {
|
|
2375
|
+
rate: number;
|
|
2376
|
+
unit: "DAILY" | "HOURLY";
|
|
2377
|
+
};
|
|
2378
|
+
userId: string;
|
|
2378
2379
|
user: {
|
|
2379
2380
|
id: string;
|
|
2380
2381
|
firstName: string;
|
|
@@ -2383,13 +2384,11 @@ export declare const activesContractRouter: {
|
|
|
2383
2384
|
};
|
|
2384
2385
|
job: {
|
|
2385
2386
|
id: string;
|
|
2386
|
-
|
|
2387
|
+
description: string;
|
|
2387
2388
|
};
|
|
2388
|
-
userId: string;
|
|
2389
2389
|
endDate?: string | null | undefined;
|
|
2390
2390
|
};
|
|
2391
2391
|
}, {
|
|
2392
|
-
date: string | Date;
|
|
2393
2392
|
createdAt: string | Date;
|
|
2394
2393
|
updatedAt: string | Date;
|
|
2395
2394
|
id: string;
|
|
@@ -2397,6 +2396,7 @@ export declare const activesContractRouter: {
|
|
|
2397
2396
|
rate: number;
|
|
2398
2397
|
unit: "DAILY" | "HOURLY";
|
|
2399
2398
|
};
|
|
2399
|
+
date: string | Date;
|
|
2400
2400
|
comment: string | null;
|
|
2401
2401
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2402
2402
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -2406,19 +2406,20 @@ export declare const activesContractRouter: {
|
|
|
2406
2406
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
2407
2407
|
booking: {
|
|
2408
2408
|
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";
|
|
2409
|
+
startDate: string | Date;
|
|
2409
2410
|
createdAt: string | Date;
|
|
2410
2411
|
updatedAt: string | Date;
|
|
2411
2412
|
id: string;
|
|
2412
|
-
pay: {
|
|
2413
|
-
rate: number;
|
|
2414
|
-
unit: "DAILY" | "HOURLY";
|
|
2415
|
-
};
|
|
2416
|
-
startDate: string | Date;
|
|
2417
2413
|
worker: {
|
|
2418
2414
|
id: string;
|
|
2419
2415
|
firstName: string;
|
|
2420
2416
|
lastName: string;
|
|
2421
2417
|
};
|
|
2418
|
+
pay: {
|
|
2419
|
+
rate: number;
|
|
2420
|
+
unit: "DAILY" | "HOURLY";
|
|
2421
|
+
};
|
|
2422
|
+
userId: string;
|
|
2422
2423
|
user: {
|
|
2423
2424
|
id: string;
|
|
2424
2425
|
firstName: string;
|
|
@@ -2427,9 +2428,8 @@ export declare const activesContractRouter: {
|
|
|
2427
2428
|
};
|
|
2428
2429
|
job: {
|
|
2429
2430
|
id: string;
|
|
2430
|
-
|
|
2431
|
+
description: string;
|
|
2431
2432
|
};
|
|
2432
|
-
userId: string;
|
|
2433
2433
|
endDate?: string | Date | null | undefined;
|
|
2434
2434
|
};
|
|
2435
2435
|
}>;
|