@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
package/dist/index.d.ts
CHANGED
|
@@ -53,11 +53,11 @@ export declare const apiContractRouter: {
|
|
|
53
53
|
agentId?: string | undefined;
|
|
54
54
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
55
55
|
}, {
|
|
56
|
+
clientId?: string | undefined;
|
|
56
57
|
limit?: number | undefined;
|
|
57
58
|
page?: number | undefined;
|
|
58
59
|
sortBy?: "createdAt" | undefined;
|
|
59
60
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
60
|
-
clientId?: string | undefined;
|
|
61
61
|
agentId?: string | undefined;
|
|
62
62
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
63
63
|
}>;
|
|
@@ -259,7 +259,7 @@ export declare const apiContractRouter: {
|
|
|
259
259
|
lastName: string;
|
|
260
260
|
email: string;
|
|
261
261
|
phone: string;
|
|
262
|
-
roles?: ("
|
|
262
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
263
263
|
}, {
|
|
264
264
|
createdAt: string | Date;
|
|
265
265
|
updatedAt: string | Date;
|
|
@@ -268,7 +268,7 @@ export declare const apiContractRouter: {
|
|
|
268
268
|
lastName: string;
|
|
269
269
|
email: string;
|
|
270
270
|
phone: string;
|
|
271
|
-
roles?: ("
|
|
271
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
272
272
|
}>;
|
|
273
273
|
linkType: import("zod").ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
274
274
|
suggestedChanges: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -291,7 +291,7 @@ export declare const apiContractRouter: {
|
|
|
291
291
|
lastName: string;
|
|
292
292
|
email: string;
|
|
293
293
|
phone: string;
|
|
294
|
-
roles?: ("
|
|
294
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
createdAt: string | Date;
|
|
297
297
|
updatedAt: string | Date;
|
|
@@ -300,7 +300,7 @@ export declare const apiContractRouter: {
|
|
|
300
300
|
lastName: string;
|
|
301
301
|
email: string;
|
|
302
302
|
phone: string;
|
|
303
|
-
roles?: ("
|
|
303
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
304
304
|
}>;
|
|
305
305
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
306
306
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
@@ -338,7 +338,7 @@ export declare const apiContractRouter: {
|
|
|
338
338
|
lastName: string;
|
|
339
339
|
email: string;
|
|
340
340
|
phone: string;
|
|
341
|
-
roles?: ("
|
|
341
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
342
342
|
};
|
|
343
343
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
344
344
|
createdBy: string;
|
|
@@ -350,7 +350,7 @@ export declare const apiContractRouter: {
|
|
|
350
350
|
lastName: string;
|
|
351
351
|
email: string;
|
|
352
352
|
phone: string;
|
|
353
|
-
roles?: ("
|
|
353
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
354
354
|
};
|
|
355
355
|
suggestedChanges?: Record<string, unknown> | undefined;
|
|
356
356
|
appliedChanges?: Record<string, unknown> | undefined;
|
|
@@ -388,7 +388,7 @@ export declare const apiContractRouter: {
|
|
|
388
388
|
lastName: string;
|
|
389
389
|
email: string;
|
|
390
390
|
phone: string;
|
|
391
|
-
roles?: ("
|
|
391
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
392
392
|
};
|
|
393
393
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
394
394
|
createdBy: string;
|
|
@@ -400,7 +400,7 @@ export declare const apiContractRouter: {
|
|
|
400
400
|
lastName: string;
|
|
401
401
|
email: string;
|
|
402
402
|
phone: string;
|
|
403
|
-
roles?: ("
|
|
403
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
404
404
|
};
|
|
405
405
|
suggestedChanges?: Record<string, unknown> | undefined;
|
|
406
406
|
appliedChanges?: Record<string, unknown> | undefined;
|
|
@@ -446,7 +446,7 @@ export declare const apiContractRouter: {
|
|
|
446
446
|
lastName: string;
|
|
447
447
|
email: string;
|
|
448
448
|
phone: string;
|
|
449
|
-
roles?: ("
|
|
449
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
450
450
|
};
|
|
451
451
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
452
452
|
createdBy: string;
|
|
@@ -458,7 +458,7 @@ export declare const apiContractRouter: {
|
|
|
458
458
|
lastName: string;
|
|
459
459
|
email: string;
|
|
460
460
|
phone: string;
|
|
461
|
-
roles?: ("
|
|
461
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
462
462
|
};
|
|
463
463
|
suggestedChanges?: Record<string, unknown> | undefined;
|
|
464
464
|
appliedChanges?: Record<string, unknown> | undefined;
|
|
@@ -503,7 +503,7 @@ export declare const apiContractRouter: {
|
|
|
503
503
|
lastName: string;
|
|
504
504
|
email: string;
|
|
505
505
|
phone: string;
|
|
506
|
-
roles?: ("
|
|
506
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
507
507
|
};
|
|
508
508
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
509
509
|
createdBy: string;
|
|
@@ -515,7 +515,7 @@ export declare const apiContractRouter: {
|
|
|
515
515
|
lastName: string;
|
|
516
516
|
email: string;
|
|
517
517
|
phone: string;
|
|
518
|
-
roles?: ("
|
|
518
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
519
519
|
};
|
|
520
520
|
suggestedChanges?: Record<string, unknown> | undefined;
|
|
521
521
|
appliedChanges?: Record<string, unknown> | undefined;
|
|
@@ -735,7 +735,7 @@ export declare const apiContractRouter: {
|
|
|
735
735
|
lastName: string;
|
|
736
736
|
email: string;
|
|
737
737
|
phone: string;
|
|
738
|
-
roles?: ("
|
|
738
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
739
739
|
}, {
|
|
740
740
|
createdAt: string | Date;
|
|
741
741
|
updatedAt: string | Date;
|
|
@@ -744,7 +744,7 @@ export declare const apiContractRouter: {
|
|
|
744
744
|
lastName: string;
|
|
745
745
|
email: string;
|
|
746
746
|
phone: string;
|
|
747
|
-
roles?: ("
|
|
747
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
748
748
|
}>;
|
|
749
749
|
linkType: import("zod").ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
750
750
|
suggestedChanges: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -767,7 +767,7 @@ export declare const apiContractRouter: {
|
|
|
767
767
|
lastName: string;
|
|
768
768
|
email: string;
|
|
769
769
|
phone: string;
|
|
770
|
-
roles?: ("
|
|
770
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
771
771
|
}, {
|
|
772
772
|
createdAt: string | Date;
|
|
773
773
|
updatedAt: string | Date;
|
|
@@ -776,7 +776,7 @@ export declare const apiContractRouter: {
|
|
|
776
776
|
lastName: string;
|
|
777
777
|
email: string;
|
|
778
778
|
phone: string;
|
|
779
|
-
roles?: ("
|
|
779
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
780
780
|
}>;
|
|
781
781
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
782
782
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
@@ -814,7 +814,7 @@ export declare const apiContractRouter: {
|
|
|
814
814
|
lastName: string;
|
|
815
815
|
email: string;
|
|
816
816
|
phone: string;
|
|
817
|
-
roles?: ("
|
|
817
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
818
818
|
};
|
|
819
819
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
820
820
|
createdBy: string;
|
|
@@ -826,7 +826,7 @@ export declare const apiContractRouter: {
|
|
|
826
826
|
lastName: string;
|
|
827
827
|
email: string;
|
|
828
828
|
phone: string;
|
|
829
|
-
roles?: ("
|
|
829
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
830
830
|
};
|
|
831
831
|
suggestedChanges?: Record<string, unknown> | undefined;
|
|
832
832
|
appliedChanges?: Record<string, unknown> | undefined;
|
|
@@ -864,7 +864,7 @@ export declare const apiContractRouter: {
|
|
|
864
864
|
lastName: string;
|
|
865
865
|
email: string;
|
|
866
866
|
phone: string;
|
|
867
|
-
roles?: ("
|
|
867
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
868
868
|
};
|
|
869
869
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
870
870
|
createdBy: string;
|
|
@@ -876,7 +876,7 @@ export declare const apiContractRouter: {
|
|
|
876
876
|
lastName: string;
|
|
877
877
|
email: string;
|
|
878
878
|
phone: string;
|
|
879
|
-
roles?: ("
|
|
879
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
880
880
|
};
|
|
881
881
|
suggestedChanges?: Record<string, unknown> | undefined;
|
|
882
882
|
appliedChanges?: Record<string, unknown> | undefined;
|
|
@@ -1123,7 +1123,7 @@ export declare const apiContractRouter: {
|
|
|
1123
1123
|
lastName: string;
|
|
1124
1124
|
email: string;
|
|
1125
1125
|
phone: string;
|
|
1126
|
-
roles?: ("
|
|
1126
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1127
1127
|
}, {
|
|
1128
1128
|
createdAt: string | Date;
|
|
1129
1129
|
updatedAt: string | Date;
|
|
@@ -1132,7 +1132,7 @@ export declare const apiContractRouter: {
|
|
|
1132
1132
|
lastName: string;
|
|
1133
1133
|
email: string;
|
|
1134
1134
|
phone: string;
|
|
1135
|
-
roles?: ("
|
|
1135
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1136
1136
|
}>;
|
|
1137
1137
|
linkType: import("zod").ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
1138
1138
|
suggestedChanges: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -1155,7 +1155,7 @@ export declare const apiContractRouter: {
|
|
|
1155
1155
|
lastName: string;
|
|
1156
1156
|
email: string;
|
|
1157
1157
|
phone: string;
|
|
1158
|
-
roles?: ("
|
|
1158
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1159
1159
|
}, {
|
|
1160
1160
|
createdAt: string | Date;
|
|
1161
1161
|
updatedAt: string | Date;
|
|
@@ -1164,7 +1164,7 @@ export declare const apiContractRouter: {
|
|
|
1164
1164
|
lastName: string;
|
|
1165
1165
|
email: string;
|
|
1166
1166
|
phone: string;
|
|
1167
|
-
roles?: ("
|
|
1167
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1168
1168
|
}>;
|
|
1169
1169
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
1170
1170
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
@@ -1202,7 +1202,7 @@ export declare const apiContractRouter: {
|
|
|
1202
1202
|
lastName: string;
|
|
1203
1203
|
email: string;
|
|
1204
1204
|
phone: string;
|
|
1205
|
-
roles?: ("
|
|
1205
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1206
1206
|
};
|
|
1207
1207
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1208
1208
|
createdBy: string;
|
|
@@ -1214,7 +1214,7 @@ export declare const apiContractRouter: {
|
|
|
1214
1214
|
lastName: string;
|
|
1215
1215
|
email: string;
|
|
1216
1216
|
phone: string;
|
|
1217
|
-
roles?: ("
|
|
1217
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1218
1218
|
};
|
|
1219
1219
|
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1220
1220
|
appliedChanges?: Record<string, unknown> | undefined;
|
|
@@ -1252,7 +1252,7 @@ export declare const apiContractRouter: {
|
|
|
1252
1252
|
lastName: string;
|
|
1253
1253
|
email: string;
|
|
1254
1254
|
phone: string;
|
|
1255
|
-
roles?: ("
|
|
1255
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1256
1256
|
};
|
|
1257
1257
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1258
1258
|
createdBy: string;
|
|
@@ -1264,7 +1264,7 @@ export declare const apiContractRouter: {
|
|
|
1264
1264
|
lastName: string;
|
|
1265
1265
|
email: string;
|
|
1266
1266
|
phone: string;
|
|
1267
|
-
roles?: ("
|
|
1267
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1268
1268
|
};
|
|
1269
1269
|
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1270
1270
|
appliedChanges?: Record<string, unknown> | undefined;
|
|
@@ -2252,20 +2252,20 @@ export declare const apiContractRouter: {
|
|
|
2252
2252
|
statusSa: import("zod").ZodOptional<import("zod").ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
2253
2253
|
statusFa: import("zod").ZodOptional<import("zod").ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
|
|
2254
2254
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2255
|
-
date: string;
|
|
2256
2255
|
pay: {
|
|
2257
2256
|
rate: number;
|
|
2258
2257
|
unit: "DAILY" | "HOURLY";
|
|
2259
2258
|
};
|
|
2259
|
+
date: string;
|
|
2260
2260
|
comment?: string | undefined;
|
|
2261
2261
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
2262
2262
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
2263
2263
|
}, {
|
|
2264
|
-
date: string;
|
|
2265
2264
|
pay: {
|
|
2266
2265
|
rate: number;
|
|
2267
2266
|
unit: "DAILY" | "HOURLY";
|
|
2268
2267
|
};
|
|
2268
|
+
date: string;
|
|
2269
2269
|
comment?: string | undefined;
|
|
2270
2270
|
statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
2271
2271
|
statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -2438,32 +2438,33 @@ export declare const apiContractRouter: {
|
|
|
2438
2438
|
}>;
|
|
2439
2439
|
job: import("zod").ZodObject<{
|
|
2440
2440
|
id: import("zod").ZodString;
|
|
2441
|
-
|
|
2441
|
+
description: import("zod").ZodString;
|
|
2442
2442
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2443
2443
|
id: string;
|
|
2444
|
-
|
|
2444
|
+
description: string;
|
|
2445
2445
|
}, {
|
|
2446
2446
|
id: string;
|
|
2447
|
-
|
|
2447
|
+
description: string;
|
|
2448
2448
|
}>;
|
|
2449
2449
|
userId: import("zod").ZodString;
|
|
2450
2450
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2451
2451
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2452
2452
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2453
2453
|
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";
|
|
2454
|
+
startDate: string;
|
|
2454
2455
|
createdAt: string;
|
|
2455
2456
|
updatedAt: string;
|
|
2456
2457
|
id: string;
|
|
2457
|
-
pay: {
|
|
2458
|
-
rate: number;
|
|
2459
|
-
unit: "DAILY" | "HOURLY";
|
|
2460
|
-
};
|
|
2461
|
-
startDate: string;
|
|
2462
2458
|
worker: {
|
|
2463
2459
|
id: string;
|
|
2464
2460
|
firstName: string;
|
|
2465
2461
|
lastName: string;
|
|
2466
2462
|
};
|
|
2463
|
+
pay: {
|
|
2464
|
+
rate: number;
|
|
2465
|
+
unit: "DAILY" | "HOURLY";
|
|
2466
|
+
};
|
|
2467
|
+
userId: string;
|
|
2467
2468
|
user: {
|
|
2468
2469
|
id: string;
|
|
2469
2470
|
firstName: string;
|
|
@@ -2472,25 +2473,25 @@ export declare const apiContractRouter: {
|
|
|
2472
2473
|
};
|
|
2473
2474
|
job: {
|
|
2474
2475
|
id: string;
|
|
2475
|
-
|
|
2476
|
+
description: string;
|
|
2476
2477
|
};
|
|
2477
|
-
userId: string;
|
|
2478
2478
|
endDate?: string | null | undefined;
|
|
2479
2479
|
}, {
|
|
2480
2480
|
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";
|
|
2481
|
+
startDate: string | Date;
|
|
2481
2482
|
createdAt: string | Date;
|
|
2482
2483
|
updatedAt: string | Date;
|
|
2483
2484
|
id: string;
|
|
2484
|
-
pay: {
|
|
2485
|
-
rate: number;
|
|
2486
|
-
unit: "DAILY" | "HOURLY";
|
|
2487
|
-
};
|
|
2488
|
-
startDate: string | Date;
|
|
2489
2485
|
worker: {
|
|
2490
2486
|
id: string;
|
|
2491
2487
|
firstName: string;
|
|
2492
2488
|
lastName: string;
|
|
2493
2489
|
};
|
|
2490
|
+
pay: {
|
|
2491
|
+
rate: number;
|
|
2492
|
+
unit: "DAILY" | "HOURLY";
|
|
2493
|
+
};
|
|
2494
|
+
userId: string;
|
|
2494
2495
|
user: {
|
|
2495
2496
|
id: string;
|
|
2496
2497
|
firstName: string;
|
|
@@ -2499,15 +2500,13 @@ export declare const apiContractRouter: {
|
|
|
2499
2500
|
};
|
|
2500
2501
|
job: {
|
|
2501
2502
|
id: string;
|
|
2502
|
-
|
|
2503
|
+
description: string;
|
|
2503
2504
|
};
|
|
2504
|
-
userId: string;
|
|
2505
2505
|
endDate?: string | Date | null | undefined;
|
|
2506
2506
|
}>;
|
|
2507
2507
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2508
2508
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2509
2509
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2510
|
-
date: string;
|
|
2511
2510
|
createdAt: string;
|
|
2512
2511
|
updatedAt: string;
|
|
2513
2512
|
id: string;
|
|
@@ -2515,6 +2514,7 @@ export declare const apiContractRouter: {
|
|
|
2515
2514
|
rate: number;
|
|
2516
2515
|
unit: "DAILY" | "HOURLY";
|
|
2517
2516
|
};
|
|
2517
|
+
date: string;
|
|
2518
2518
|
comment: string | null;
|
|
2519
2519
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2520
2520
|
statusSaUpdatedAt: string | null;
|
|
@@ -2524,19 +2524,20 @@ export declare const apiContractRouter: {
|
|
|
2524
2524
|
hoursWorkedUpdatedAt: string | null;
|
|
2525
2525
|
booking: {
|
|
2526
2526
|
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";
|
|
2527
|
+
startDate: string;
|
|
2527
2528
|
createdAt: string;
|
|
2528
2529
|
updatedAt: string;
|
|
2529
2530
|
id: string;
|
|
2530
|
-
pay: {
|
|
2531
|
-
rate: number;
|
|
2532
|
-
unit: "DAILY" | "HOURLY";
|
|
2533
|
-
};
|
|
2534
|
-
startDate: string;
|
|
2535
2531
|
worker: {
|
|
2536
2532
|
id: string;
|
|
2537
2533
|
firstName: string;
|
|
2538
2534
|
lastName: string;
|
|
2539
2535
|
};
|
|
2536
|
+
pay: {
|
|
2537
|
+
rate: number;
|
|
2538
|
+
unit: "DAILY" | "HOURLY";
|
|
2539
|
+
};
|
|
2540
|
+
userId: string;
|
|
2540
2541
|
user: {
|
|
2541
2542
|
id: string;
|
|
2542
2543
|
firstName: string;
|
|
@@ -2545,13 +2546,11 @@ export declare const apiContractRouter: {
|
|
|
2545
2546
|
};
|
|
2546
2547
|
job: {
|
|
2547
2548
|
id: string;
|
|
2548
|
-
|
|
2549
|
+
description: string;
|
|
2549
2550
|
};
|
|
2550
|
-
userId: string;
|
|
2551
2551
|
endDate?: string | null | undefined;
|
|
2552
2552
|
};
|
|
2553
2553
|
}, {
|
|
2554
|
-
date: string | Date;
|
|
2555
2554
|
createdAt: string | Date;
|
|
2556
2555
|
updatedAt: string | Date;
|
|
2557
2556
|
id: string;
|
|
@@ -2559,6 +2558,7 @@ export declare const apiContractRouter: {
|
|
|
2559
2558
|
rate: number;
|
|
2560
2559
|
unit: "DAILY" | "HOURLY";
|
|
2561
2560
|
};
|
|
2561
|
+
date: string | Date;
|
|
2562
2562
|
comment: string | null;
|
|
2563
2563
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2564
2564
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -2568,19 +2568,20 @@ export declare const apiContractRouter: {
|
|
|
2568
2568
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
2569
2569
|
booking: {
|
|
2570
2570
|
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";
|
|
2571
|
+
startDate: string | Date;
|
|
2571
2572
|
createdAt: string | Date;
|
|
2572
2573
|
updatedAt: string | Date;
|
|
2573
2574
|
id: string;
|
|
2574
|
-
pay: {
|
|
2575
|
-
rate: number;
|
|
2576
|
-
unit: "DAILY" | "HOURLY";
|
|
2577
|
-
};
|
|
2578
|
-
startDate: string | Date;
|
|
2579
2575
|
worker: {
|
|
2580
2576
|
id: string;
|
|
2581
2577
|
firstName: string;
|
|
2582
2578
|
lastName: string;
|
|
2583
2579
|
};
|
|
2580
|
+
pay: {
|
|
2581
|
+
rate: number;
|
|
2582
|
+
unit: "DAILY" | "HOURLY";
|
|
2583
|
+
};
|
|
2584
|
+
userId: string;
|
|
2584
2585
|
user: {
|
|
2585
2586
|
id: string;
|
|
2586
2587
|
firstName: string;
|
|
@@ -2589,9 +2590,8 @@ export declare const apiContractRouter: {
|
|
|
2589
2590
|
};
|
|
2590
2591
|
job: {
|
|
2591
2592
|
id: string;
|
|
2592
|
-
|
|
2593
|
+
description: string;
|
|
2593
2594
|
};
|
|
2594
|
-
userId: string;
|
|
2595
2595
|
endDate?: string | Date | null | undefined;
|
|
2596
2596
|
};
|
|
2597
2597
|
}>;
|
|
@@ -2704,10 +2704,6 @@ export declare const apiContractRouter: {
|
|
|
2704
2704
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2705
2705
|
limit: number;
|
|
2706
2706
|
page: number;
|
|
2707
|
-
date?: {
|
|
2708
|
-
from?: string | null | undefined;
|
|
2709
|
-
to?: string | null | undefined;
|
|
2710
|
-
} | null | undefined;
|
|
2711
2707
|
status?: {
|
|
2712
2708
|
filterType: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER";
|
|
2713
2709
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
@@ -2720,14 +2716,14 @@ export declare const apiContractRouter: {
|
|
|
2720
2716
|
min?: number | undefined;
|
|
2721
2717
|
max?: number | undefined;
|
|
2722
2718
|
} | null | undefined;
|
|
2723
|
-
|
|
2724
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
2719
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
2725
2720
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
2726
|
-
}, {
|
|
2727
2721
|
date?: {
|
|
2728
2722
|
from?: string | null | undefined;
|
|
2729
2723
|
to?: string | null | undefined;
|
|
2730
2724
|
} | null | undefined;
|
|
2725
|
+
bookingId?: string | null | undefined;
|
|
2726
|
+
}, {
|
|
2731
2727
|
status?: {
|
|
2732
2728
|
status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
|
|
2733
2729
|
filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
|
|
@@ -2742,9 +2738,13 @@ export declare const apiContractRouter: {
|
|
|
2742
2738
|
} | null | undefined;
|
|
2743
2739
|
limit?: number | undefined;
|
|
2744
2740
|
page?: number | undefined;
|
|
2745
|
-
|
|
2746
|
-
sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
2741
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
|
|
2747
2742
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
2743
|
+
date?: {
|
|
2744
|
+
from?: string | null | undefined;
|
|
2745
|
+
to?: string | null | undefined;
|
|
2746
|
+
} | null | undefined;
|
|
2747
|
+
bookingId?: string | null | undefined;
|
|
2748
2748
|
}>;
|
|
2749
2749
|
summary: "Get all active records";
|
|
2750
2750
|
method: "GET";
|
|
@@ -2917,32 +2917,33 @@ export declare const apiContractRouter: {
|
|
|
2917
2917
|
}>;
|
|
2918
2918
|
job: import("zod").ZodObject<{
|
|
2919
2919
|
id: import("zod").ZodString;
|
|
2920
|
-
|
|
2920
|
+
description: import("zod").ZodString;
|
|
2921
2921
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2922
2922
|
id: string;
|
|
2923
|
-
|
|
2923
|
+
description: string;
|
|
2924
2924
|
}, {
|
|
2925
2925
|
id: string;
|
|
2926
|
-
|
|
2926
|
+
description: string;
|
|
2927
2927
|
}>;
|
|
2928
2928
|
userId: import("zod").ZodString;
|
|
2929
2929
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2930
2930
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2931
2931
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2932
2932
|
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";
|
|
2933
|
+
startDate: string;
|
|
2933
2934
|
createdAt: string;
|
|
2934
2935
|
updatedAt: string;
|
|
2935
2936
|
id: string;
|
|
2936
|
-
pay: {
|
|
2937
|
-
rate: number;
|
|
2938
|
-
unit: "DAILY" | "HOURLY";
|
|
2939
|
-
};
|
|
2940
|
-
startDate: string;
|
|
2941
2937
|
worker: {
|
|
2942
2938
|
id: string;
|
|
2943
2939
|
firstName: string;
|
|
2944
2940
|
lastName: string;
|
|
2945
2941
|
};
|
|
2942
|
+
pay: {
|
|
2943
|
+
rate: number;
|
|
2944
|
+
unit: "DAILY" | "HOURLY";
|
|
2945
|
+
};
|
|
2946
|
+
userId: string;
|
|
2946
2947
|
user: {
|
|
2947
2948
|
id: string;
|
|
2948
2949
|
firstName: string;
|
|
@@ -2951,25 +2952,25 @@ export declare const apiContractRouter: {
|
|
|
2951
2952
|
};
|
|
2952
2953
|
job: {
|
|
2953
2954
|
id: string;
|
|
2954
|
-
|
|
2955
|
+
description: string;
|
|
2955
2956
|
};
|
|
2956
|
-
userId: string;
|
|
2957
2957
|
endDate?: string | null | undefined;
|
|
2958
2958
|
}, {
|
|
2959
2959
|
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";
|
|
2960
|
+
startDate: string | Date;
|
|
2960
2961
|
createdAt: string | Date;
|
|
2961
2962
|
updatedAt: string | Date;
|
|
2962
2963
|
id: string;
|
|
2963
|
-
pay: {
|
|
2964
|
-
rate: number;
|
|
2965
|
-
unit: "DAILY" | "HOURLY";
|
|
2966
|
-
};
|
|
2967
|
-
startDate: string | Date;
|
|
2968
2964
|
worker: {
|
|
2969
2965
|
id: string;
|
|
2970
2966
|
firstName: string;
|
|
2971
2967
|
lastName: string;
|
|
2972
2968
|
};
|
|
2969
|
+
pay: {
|
|
2970
|
+
rate: number;
|
|
2971
|
+
unit: "DAILY" | "HOURLY";
|
|
2972
|
+
};
|
|
2973
|
+
userId: string;
|
|
2973
2974
|
user: {
|
|
2974
2975
|
id: string;
|
|
2975
2976
|
firstName: string;
|
|
@@ -2978,15 +2979,13 @@ export declare const apiContractRouter: {
|
|
|
2978
2979
|
};
|
|
2979
2980
|
job: {
|
|
2980
2981
|
id: string;
|
|
2981
|
-
|
|
2982
|
+
description: string;
|
|
2982
2983
|
};
|
|
2983
|
-
userId: string;
|
|
2984
2984
|
endDate?: string | Date | null | undefined;
|
|
2985
2985
|
}>;
|
|
2986
2986
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2987
2987
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2988
2988
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2989
|
-
date: string;
|
|
2990
2989
|
createdAt: string;
|
|
2991
2990
|
updatedAt: string;
|
|
2992
2991
|
id: string;
|
|
@@ -2994,6 +2993,7 @@ export declare const apiContractRouter: {
|
|
|
2994
2993
|
rate: number;
|
|
2995
2994
|
unit: "DAILY" | "HOURLY";
|
|
2996
2995
|
};
|
|
2996
|
+
date: string;
|
|
2997
2997
|
comment: string | null;
|
|
2998
2998
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
2999
2999
|
statusSaUpdatedAt: string | null;
|
|
@@ -3003,19 +3003,20 @@ export declare const apiContractRouter: {
|
|
|
3003
3003
|
hoursWorkedUpdatedAt: string | null;
|
|
3004
3004
|
booking: {
|
|
3005
3005
|
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";
|
|
3006
|
+
startDate: string;
|
|
3006
3007
|
createdAt: string;
|
|
3007
3008
|
updatedAt: string;
|
|
3008
3009
|
id: string;
|
|
3009
|
-
pay: {
|
|
3010
|
-
rate: number;
|
|
3011
|
-
unit: "DAILY" | "HOURLY";
|
|
3012
|
-
};
|
|
3013
|
-
startDate: string;
|
|
3014
3010
|
worker: {
|
|
3015
3011
|
id: string;
|
|
3016
3012
|
firstName: string;
|
|
3017
3013
|
lastName: string;
|
|
3018
3014
|
};
|
|
3015
|
+
pay: {
|
|
3016
|
+
rate: number;
|
|
3017
|
+
unit: "DAILY" | "HOURLY";
|
|
3018
|
+
};
|
|
3019
|
+
userId: string;
|
|
3019
3020
|
user: {
|
|
3020
3021
|
id: string;
|
|
3021
3022
|
firstName: string;
|
|
@@ -3024,13 +3025,11 @@ export declare const apiContractRouter: {
|
|
|
3024
3025
|
};
|
|
3025
3026
|
job: {
|
|
3026
3027
|
id: string;
|
|
3027
|
-
|
|
3028
|
+
description: string;
|
|
3028
3029
|
};
|
|
3029
|
-
userId: string;
|
|
3030
3030
|
endDate?: string | null | undefined;
|
|
3031
3031
|
};
|
|
3032
3032
|
}, {
|
|
3033
|
-
date: string | Date;
|
|
3034
3033
|
createdAt: string | Date;
|
|
3035
3034
|
updatedAt: string | Date;
|
|
3036
3035
|
id: string;
|
|
@@ -3038,6 +3037,7 @@ export declare const apiContractRouter: {
|
|
|
3038
3037
|
rate: number;
|
|
3039
3038
|
unit: "DAILY" | "HOURLY";
|
|
3040
3039
|
};
|
|
3040
|
+
date: string | Date;
|
|
3041
3041
|
comment: string | null;
|
|
3042
3042
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
3043
3043
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -3047,19 +3047,20 @@ export declare const apiContractRouter: {
|
|
|
3047
3047
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
3048
3048
|
booking: {
|
|
3049
3049
|
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";
|
|
3050
|
+
startDate: string | Date;
|
|
3050
3051
|
createdAt: string | Date;
|
|
3051
3052
|
updatedAt: string | Date;
|
|
3052
3053
|
id: string;
|
|
3053
|
-
pay: {
|
|
3054
|
-
rate: number;
|
|
3055
|
-
unit: "DAILY" | "HOURLY";
|
|
3056
|
-
};
|
|
3057
|
-
startDate: string | Date;
|
|
3058
3054
|
worker: {
|
|
3059
3055
|
id: string;
|
|
3060
3056
|
firstName: string;
|
|
3061
3057
|
lastName: string;
|
|
3062
3058
|
};
|
|
3059
|
+
pay: {
|
|
3060
|
+
rate: number;
|
|
3061
|
+
unit: "DAILY" | "HOURLY";
|
|
3062
|
+
};
|
|
3063
|
+
userId: string;
|
|
3063
3064
|
user: {
|
|
3064
3065
|
id: string;
|
|
3065
3066
|
firstName: string;
|
|
@@ -3068,9 +3069,8 @@ export declare const apiContractRouter: {
|
|
|
3068
3069
|
};
|
|
3069
3070
|
job: {
|
|
3070
3071
|
id: string;
|
|
3071
|
-
|
|
3072
|
+
description: string;
|
|
3072
3073
|
};
|
|
3073
|
-
userId: string;
|
|
3074
3074
|
endDate?: string | Date | null | undefined;
|
|
3075
3075
|
};
|
|
3076
3076
|
}>, "many">;
|
|
@@ -3082,7 +3082,6 @@ export declare const apiContractRouter: {
|
|
|
3082
3082
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3083
3083
|
limit: number;
|
|
3084
3084
|
items: {
|
|
3085
|
-
date: string;
|
|
3086
3085
|
createdAt: string;
|
|
3087
3086
|
updatedAt: string;
|
|
3088
3087
|
id: string;
|
|
@@ -3090,6 +3089,7 @@ export declare const apiContractRouter: {
|
|
|
3090
3089
|
rate: number;
|
|
3091
3090
|
unit: "DAILY" | "HOURLY";
|
|
3092
3091
|
};
|
|
3092
|
+
date: string;
|
|
3093
3093
|
comment: string | null;
|
|
3094
3094
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
3095
3095
|
statusSaUpdatedAt: string | null;
|
|
@@ -3099,19 +3099,20 @@ export declare const apiContractRouter: {
|
|
|
3099
3099
|
hoursWorkedUpdatedAt: string | null;
|
|
3100
3100
|
booking: {
|
|
3101
3101
|
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";
|
|
3102
|
+
startDate: string;
|
|
3102
3103
|
createdAt: string;
|
|
3103
3104
|
updatedAt: string;
|
|
3104
3105
|
id: string;
|
|
3105
|
-
pay: {
|
|
3106
|
-
rate: number;
|
|
3107
|
-
unit: "DAILY" | "HOURLY";
|
|
3108
|
-
};
|
|
3109
|
-
startDate: string;
|
|
3110
3106
|
worker: {
|
|
3111
3107
|
id: string;
|
|
3112
3108
|
firstName: string;
|
|
3113
3109
|
lastName: string;
|
|
3114
3110
|
};
|
|
3111
|
+
pay: {
|
|
3112
|
+
rate: number;
|
|
3113
|
+
unit: "DAILY" | "HOURLY";
|
|
3114
|
+
};
|
|
3115
|
+
userId: string;
|
|
3115
3116
|
user: {
|
|
3116
3117
|
id: string;
|
|
3117
3118
|
firstName: string;
|
|
@@ -3120,9 +3121,8 @@ export declare const apiContractRouter: {
|
|
|
3120
3121
|
};
|
|
3121
3122
|
job: {
|
|
3122
3123
|
id: string;
|
|
3123
|
-
|
|
3124
|
+
description: string;
|
|
3124
3125
|
};
|
|
3125
|
-
userId: string;
|
|
3126
3126
|
endDate?: string | null | undefined;
|
|
3127
3127
|
};
|
|
3128
3128
|
}[];
|
|
@@ -3133,7 +3133,6 @@ export declare const apiContractRouter: {
|
|
|
3133
3133
|
}, {
|
|
3134
3134
|
limit: number;
|
|
3135
3135
|
items: {
|
|
3136
|
-
date: string | Date;
|
|
3137
3136
|
createdAt: string | Date;
|
|
3138
3137
|
updatedAt: string | Date;
|
|
3139
3138
|
id: string;
|
|
@@ -3141,6 +3140,7 @@ export declare const apiContractRouter: {
|
|
|
3141
3140
|
rate: number;
|
|
3142
3141
|
unit: "DAILY" | "HOURLY";
|
|
3143
3142
|
};
|
|
3143
|
+
date: string | Date;
|
|
3144
3144
|
comment: string | null;
|
|
3145
3145
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
3146
3146
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -3150,19 +3150,20 @@ export declare const apiContractRouter: {
|
|
|
3150
3150
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
3151
3151
|
booking: {
|
|
3152
3152
|
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";
|
|
3153
|
+
startDate: string | Date;
|
|
3153
3154
|
createdAt: string | Date;
|
|
3154
3155
|
updatedAt: string | Date;
|
|
3155
3156
|
id: string;
|
|
3156
|
-
pay: {
|
|
3157
|
-
rate: number;
|
|
3158
|
-
unit: "DAILY" | "HOURLY";
|
|
3159
|
-
};
|
|
3160
|
-
startDate: string | Date;
|
|
3161
3157
|
worker: {
|
|
3162
3158
|
id: string;
|
|
3163
3159
|
firstName: string;
|
|
3164
3160
|
lastName: string;
|
|
3165
3161
|
};
|
|
3162
|
+
pay: {
|
|
3163
|
+
rate: number;
|
|
3164
|
+
unit: "DAILY" | "HOURLY";
|
|
3165
|
+
};
|
|
3166
|
+
userId: string;
|
|
3166
3167
|
user: {
|
|
3167
3168
|
id: string;
|
|
3168
3169
|
firstName: string;
|
|
@@ -3171,9 +3172,8 @@ export declare const apiContractRouter: {
|
|
|
3171
3172
|
};
|
|
3172
3173
|
job: {
|
|
3173
3174
|
id: string;
|
|
3174
|
-
|
|
3175
|
+
description: string;
|
|
3175
3176
|
};
|
|
3176
|
-
userId: string;
|
|
3177
3177
|
endDate?: string | Date | null | undefined;
|
|
3178
3178
|
};
|
|
3179
3179
|
}[];
|
|
@@ -3368,32 +3368,33 @@ export declare const apiContractRouter: {
|
|
|
3368
3368
|
}>;
|
|
3369
3369
|
job: import("zod").ZodObject<{
|
|
3370
3370
|
id: import("zod").ZodString;
|
|
3371
|
-
|
|
3371
|
+
description: import("zod").ZodString;
|
|
3372
3372
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3373
3373
|
id: string;
|
|
3374
|
-
|
|
3374
|
+
description: string;
|
|
3375
3375
|
}, {
|
|
3376
3376
|
id: string;
|
|
3377
|
-
|
|
3377
|
+
description: string;
|
|
3378
3378
|
}>;
|
|
3379
3379
|
userId: import("zod").ZodString;
|
|
3380
3380
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3381
3381
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3382
3382
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3383
3383
|
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";
|
|
3384
|
+
startDate: string;
|
|
3384
3385
|
createdAt: string;
|
|
3385
3386
|
updatedAt: string;
|
|
3386
3387
|
id: string;
|
|
3387
|
-
pay: {
|
|
3388
|
-
rate: number;
|
|
3389
|
-
unit: "DAILY" | "HOURLY";
|
|
3390
|
-
};
|
|
3391
|
-
startDate: string;
|
|
3392
3388
|
worker: {
|
|
3393
3389
|
id: string;
|
|
3394
3390
|
firstName: string;
|
|
3395
3391
|
lastName: string;
|
|
3396
3392
|
};
|
|
3393
|
+
pay: {
|
|
3394
|
+
rate: number;
|
|
3395
|
+
unit: "DAILY" | "HOURLY";
|
|
3396
|
+
};
|
|
3397
|
+
userId: string;
|
|
3397
3398
|
user: {
|
|
3398
3399
|
id: string;
|
|
3399
3400
|
firstName: string;
|
|
@@ -3402,25 +3403,25 @@ export declare const apiContractRouter: {
|
|
|
3402
3403
|
};
|
|
3403
3404
|
job: {
|
|
3404
3405
|
id: string;
|
|
3405
|
-
|
|
3406
|
+
description: string;
|
|
3406
3407
|
};
|
|
3407
|
-
userId: string;
|
|
3408
3408
|
endDate?: string | null | undefined;
|
|
3409
3409
|
}, {
|
|
3410
3410
|
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";
|
|
3411
|
+
startDate: string | Date;
|
|
3411
3412
|
createdAt: string | Date;
|
|
3412
3413
|
updatedAt: string | Date;
|
|
3413
3414
|
id: string;
|
|
3414
|
-
pay: {
|
|
3415
|
-
rate: number;
|
|
3416
|
-
unit: "DAILY" | "HOURLY";
|
|
3417
|
-
};
|
|
3418
|
-
startDate: string | Date;
|
|
3419
3415
|
worker: {
|
|
3420
3416
|
id: string;
|
|
3421
3417
|
firstName: string;
|
|
3422
3418
|
lastName: string;
|
|
3423
3419
|
};
|
|
3420
|
+
pay: {
|
|
3421
|
+
rate: number;
|
|
3422
|
+
unit: "DAILY" | "HOURLY";
|
|
3423
|
+
};
|
|
3424
|
+
userId: string;
|
|
3424
3425
|
user: {
|
|
3425
3426
|
id: string;
|
|
3426
3427
|
firstName: string;
|
|
@@ -3429,15 +3430,13 @@ export declare const apiContractRouter: {
|
|
|
3429
3430
|
};
|
|
3430
3431
|
job: {
|
|
3431
3432
|
id: string;
|
|
3432
|
-
|
|
3433
|
+
description: string;
|
|
3433
3434
|
};
|
|
3434
|
-
userId: string;
|
|
3435
3435
|
endDate?: string | Date | null | undefined;
|
|
3436
3436
|
}>;
|
|
3437
3437
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3438
3438
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3439
3439
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3440
|
-
date: string;
|
|
3441
3440
|
createdAt: string;
|
|
3442
3441
|
updatedAt: string;
|
|
3443
3442
|
id: string;
|
|
@@ -3445,6 +3444,7 @@ export declare const apiContractRouter: {
|
|
|
3445
3444
|
rate: number;
|
|
3446
3445
|
unit: "DAILY" | "HOURLY";
|
|
3447
3446
|
};
|
|
3447
|
+
date: string;
|
|
3448
3448
|
comment: string | null;
|
|
3449
3449
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
3450
3450
|
statusSaUpdatedAt: string | null;
|
|
@@ -3454,19 +3454,20 @@ export declare const apiContractRouter: {
|
|
|
3454
3454
|
hoursWorkedUpdatedAt: string | null;
|
|
3455
3455
|
booking: {
|
|
3456
3456
|
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";
|
|
3457
|
+
startDate: string;
|
|
3457
3458
|
createdAt: string;
|
|
3458
3459
|
updatedAt: string;
|
|
3459
3460
|
id: string;
|
|
3460
|
-
pay: {
|
|
3461
|
-
rate: number;
|
|
3462
|
-
unit: "DAILY" | "HOURLY";
|
|
3463
|
-
};
|
|
3464
|
-
startDate: string;
|
|
3465
3461
|
worker: {
|
|
3466
3462
|
id: string;
|
|
3467
3463
|
firstName: string;
|
|
3468
3464
|
lastName: string;
|
|
3469
3465
|
};
|
|
3466
|
+
pay: {
|
|
3467
|
+
rate: number;
|
|
3468
|
+
unit: "DAILY" | "HOURLY";
|
|
3469
|
+
};
|
|
3470
|
+
userId: string;
|
|
3470
3471
|
user: {
|
|
3471
3472
|
id: string;
|
|
3472
3473
|
firstName: string;
|
|
@@ -3475,13 +3476,11 @@ export declare const apiContractRouter: {
|
|
|
3475
3476
|
};
|
|
3476
3477
|
job: {
|
|
3477
3478
|
id: string;
|
|
3478
|
-
|
|
3479
|
+
description: string;
|
|
3479
3480
|
};
|
|
3480
|
-
userId: string;
|
|
3481
3481
|
endDate?: string | null | undefined;
|
|
3482
3482
|
};
|
|
3483
3483
|
}, {
|
|
3484
|
-
date: string | Date;
|
|
3485
3484
|
createdAt: string | Date;
|
|
3486
3485
|
updatedAt: string | Date;
|
|
3487
3486
|
id: string;
|
|
@@ -3489,6 +3488,7 @@ export declare const apiContractRouter: {
|
|
|
3489
3488
|
rate: number;
|
|
3490
3489
|
unit: "DAILY" | "HOURLY";
|
|
3491
3490
|
};
|
|
3491
|
+
date: string | Date;
|
|
3492
3492
|
comment: string | null;
|
|
3493
3493
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
3494
3494
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -3498,19 +3498,20 @@ export declare const apiContractRouter: {
|
|
|
3498
3498
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
3499
3499
|
booking: {
|
|
3500
3500
|
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";
|
|
3501
|
+
startDate: string | Date;
|
|
3501
3502
|
createdAt: string | Date;
|
|
3502
3503
|
updatedAt: string | Date;
|
|
3503
3504
|
id: string;
|
|
3504
|
-
pay: {
|
|
3505
|
-
rate: number;
|
|
3506
|
-
unit: "DAILY" | "HOURLY";
|
|
3507
|
-
};
|
|
3508
|
-
startDate: string | Date;
|
|
3509
3505
|
worker: {
|
|
3510
3506
|
id: string;
|
|
3511
3507
|
firstName: string;
|
|
3512
3508
|
lastName: string;
|
|
3513
3509
|
};
|
|
3510
|
+
pay: {
|
|
3511
|
+
rate: number;
|
|
3512
|
+
unit: "DAILY" | "HOURLY";
|
|
3513
|
+
};
|
|
3514
|
+
userId: string;
|
|
3514
3515
|
user: {
|
|
3515
3516
|
id: string;
|
|
3516
3517
|
firstName: string;
|
|
@@ -3519,9 +3520,8 @@ export declare const apiContractRouter: {
|
|
|
3519
3520
|
};
|
|
3520
3521
|
job: {
|
|
3521
3522
|
id: string;
|
|
3522
|
-
|
|
3523
|
+
description: string;
|
|
3523
3524
|
};
|
|
3524
|
-
userId: string;
|
|
3525
3525
|
endDate?: string | Date | null | undefined;
|
|
3526
3526
|
};
|
|
3527
3527
|
}>;
|
|
@@ -3770,32 +3770,33 @@ export declare const apiContractRouter: {
|
|
|
3770
3770
|
}>;
|
|
3771
3771
|
job: import("zod").ZodObject<{
|
|
3772
3772
|
id: import("zod").ZodString;
|
|
3773
|
-
|
|
3773
|
+
description: import("zod").ZodString;
|
|
3774
3774
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3775
3775
|
id: string;
|
|
3776
|
-
|
|
3776
|
+
description: string;
|
|
3777
3777
|
}, {
|
|
3778
3778
|
id: string;
|
|
3779
|
-
|
|
3779
|
+
description: string;
|
|
3780
3780
|
}>;
|
|
3781
3781
|
userId: import("zod").ZodString;
|
|
3782
3782
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3783
3783
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3784
3784
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3785
3785
|
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";
|
|
3786
|
+
startDate: string;
|
|
3786
3787
|
createdAt: string;
|
|
3787
3788
|
updatedAt: string;
|
|
3788
3789
|
id: string;
|
|
3789
|
-
pay: {
|
|
3790
|
-
rate: number;
|
|
3791
|
-
unit: "DAILY" | "HOURLY";
|
|
3792
|
-
};
|
|
3793
|
-
startDate: string;
|
|
3794
3790
|
worker: {
|
|
3795
3791
|
id: string;
|
|
3796
3792
|
firstName: string;
|
|
3797
3793
|
lastName: string;
|
|
3798
3794
|
};
|
|
3795
|
+
pay: {
|
|
3796
|
+
rate: number;
|
|
3797
|
+
unit: "DAILY" | "HOURLY";
|
|
3798
|
+
};
|
|
3799
|
+
userId: string;
|
|
3799
3800
|
user: {
|
|
3800
3801
|
id: string;
|
|
3801
3802
|
firstName: string;
|
|
@@ -3804,25 +3805,25 @@ export declare const apiContractRouter: {
|
|
|
3804
3805
|
};
|
|
3805
3806
|
job: {
|
|
3806
3807
|
id: string;
|
|
3807
|
-
|
|
3808
|
+
description: string;
|
|
3808
3809
|
};
|
|
3809
|
-
userId: string;
|
|
3810
3810
|
endDate?: string | null | undefined;
|
|
3811
3811
|
}, {
|
|
3812
3812
|
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";
|
|
3813
|
+
startDate: string | Date;
|
|
3813
3814
|
createdAt: string | Date;
|
|
3814
3815
|
updatedAt: string | Date;
|
|
3815
3816
|
id: string;
|
|
3816
|
-
pay: {
|
|
3817
|
-
rate: number;
|
|
3818
|
-
unit: "DAILY" | "HOURLY";
|
|
3819
|
-
};
|
|
3820
|
-
startDate: string | Date;
|
|
3821
3817
|
worker: {
|
|
3822
3818
|
id: string;
|
|
3823
3819
|
firstName: string;
|
|
3824
3820
|
lastName: string;
|
|
3825
3821
|
};
|
|
3822
|
+
pay: {
|
|
3823
|
+
rate: number;
|
|
3824
|
+
unit: "DAILY" | "HOURLY";
|
|
3825
|
+
};
|
|
3826
|
+
userId: string;
|
|
3826
3827
|
user: {
|
|
3827
3828
|
id: string;
|
|
3828
3829
|
firstName: string;
|
|
@@ -3831,15 +3832,13 @@ export declare const apiContractRouter: {
|
|
|
3831
3832
|
};
|
|
3832
3833
|
job: {
|
|
3833
3834
|
id: string;
|
|
3834
|
-
|
|
3835
|
+
description: string;
|
|
3835
3836
|
};
|
|
3836
|
-
userId: string;
|
|
3837
3837
|
endDate?: string | Date | null | undefined;
|
|
3838
3838
|
}>;
|
|
3839
3839
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3840
3840
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3841
3841
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3842
|
-
date: string;
|
|
3843
3842
|
createdAt: string;
|
|
3844
3843
|
updatedAt: string;
|
|
3845
3844
|
id: string;
|
|
@@ -3847,6 +3846,7 @@ export declare const apiContractRouter: {
|
|
|
3847
3846
|
rate: number;
|
|
3848
3847
|
unit: "DAILY" | "HOURLY";
|
|
3849
3848
|
};
|
|
3849
|
+
date: string;
|
|
3850
3850
|
comment: string | null;
|
|
3851
3851
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
3852
3852
|
statusSaUpdatedAt: string | null;
|
|
@@ -3856,19 +3856,20 @@ export declare const apiContractRouter: {
|
|
|
3856
3856
|
hoursWorkedUpdatedAt: string | null;
|
|
3857
3857
|
booking: {
|
|
3858
3858
|
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";
|
|
3859
|
+
startDate: string;
|
|
3859
3860
|
createdAt: string;
|
|
3860
3861
|
updatedAt: string;
|
|
3861
3862
|
id: string;
|
|
3862
|
-
pay: {
|
|
3863
|
-
rate: number;
|
|
3864
|
-
unit: "DAILY" | "HOURLY";
|
|
3865
|
-
};
|
|
3866
|
-
startDate: string;
|
|
3867
3863
|
worker: {
|
|
3868
3864
|
id: string;
|
|
3869
3865
|
firstName: string;
|
|
3870
3866
|
lastName: string;
|
|
3871
3867
|
};
|
|
3868
|
+
pay: {
|
|
3869
|
+
rate: number;
|
|
3870
|
+
unit: "DAILY" | "HOURLY";
|
|
3871
|
+
};
|
|
3872
|
+
userId: string;
|
|
3872
3873
|
user: {
|
|
3873
3874
|
id: string;
|
|
3874
3875
|
firstName: string;
|
|
@@ -3877,13 +3878,11 @@ export declare const apiContractRouter: {
|
|
|
3877
3878
|
};
|
|
3878
3879
|
job: {
|
|
3879
3880
|
id: string;
|
|
3880
|
-
|
|
3881
|
+
description: string;
|
|
3881
3882
|
};
|
|
3882
|
-
userId: string;
|
|
3883
3883
|
endDate?: string | null | undefined;
|
|
3884
3884
|
};
|
|
3885
3885
|
}, {
|
|
3886
|
-
date: string | Date;
|
|
3887
3886
|
createdAt: string | Date;
|
|
3888
3887
|
updatedAt: string | Date;
|
|
3889
3888
|
id: string;
|
|
@@ -3891,6 +3890,7 @@ export declare const apiContractRouter: {
|
|
|
3891
3890
|
rate: number;
|
|
3892
3891
|
unit: "DAILY" | "HOURLY";
|
|
3893
3892
|
};
|
|
3893
|
+
date: string | Date;
|
|
3894
3894
|
comment: string | null;
|
|
3895
3895
|
statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
|
|
3896
3896
|
statusSaUpdatedAt: string | Date | null;
|
|
@@ -3900,19 +3900,20 @@ export declare const apiContractRouter: {
|
|
|
3900
3900
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
3901
3901
|
booking: {
|
|
3902
3902
|
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";
|
|
3903
|
+
startDate: string | Date;
|
|
3903
3904
|
createdAt: string | Date;
|
|
3904
3905
|
updatedAt: string | Date;
|
|
3905
3906
|
id: string;
|
|
3906
|
-
pay: {
|
|
3907
|
-
rate: number;
|
|
3908
|
-
unit: "DAILY" | "HOURLY";
|
|
3909
|
-
};
|
|
3910
|
-
startDate: string | Date;
|
|
3911
3907
|
worker: {
|
|
3912
3908
|
id: string;
|
|
3913
3909
|
firstName: string;
|
|
3914
3910
|
lastName: string;
|
|
3915
3911
|
};
|
|
3912
|
+
pay: {
|
|
3913
|
+
rate: number;
|
|
3914
|
+
unit: "DAILY" | "HOURLY";
|
|
3915
|
+
};
|
|
3916
|
+
userId: string;
|
|
3916
3917
|
user: {
|
|
3917
3918
|
id: string;
|
|
3918
3919
|
firstName: string;
|
|
@@ -3921,9 +3922,8 @@ export declare const apiContractRouter: {
|
|
|
3921
3922
|
};
|
|
3922
3923
|
job: {
|
|
3923
3924
|
id: string;
|
|
3924
|
-
|
|
3925
|
+
description: string;
|
|
3925
3926
|
};
|
|
3926
|
-
userId: string;
|
|
3927
3927
|
endDate?: string | Date | null | undefined;
|
|
3928
3928
|
};
|
|
3929
3929
|
}>;
|
|
@@ -4147,22 +4147,22 @@ export declare const apiContractRouter: {
|
|
|
4147
4147
|
id: string;
|
|
4148
4148
|
};
|
|
4149
4149
|
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" | undefined;
|
|
4150
|
+
endDate?: string | null | undefined;
|
|
4150
4151
|
pay?: {
|
|
4151
4152
|
rate: number;
|
|
4152
4153
|
unit: "DAILY" | "HOURLY";
|
|
4153
4154
|
} | undefined;
|
|
4154
|
-
endDate?: string | null | undefined;
|
|
4155
4155
|
}, {
|
|
4156
4156
|
startDate: string;
|
|
4157
4157
|
worker: {
|
|
4158
4158
|
id: string;
|
|
4159
4159
|
};
|
|
4160
4160
|
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" | undefined;
|
|
4161
|
+
endDate?: string | null | undefined;
|
|
4161
4162
|
pay?: {
|
|
4162
4163
|
rate: number;
|
|
4163
4164
|
unit: "DAILY" | "HOURLY";
|
|
4164
4165
|
} | undefined;
|
|
4165
|
-
endDate?: string | null | undefined;
|
|
4166
4166
|
}>, "many">;
|
|
4167
4167
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4168
4168
|
job: {
|
|
@@ -4174,11 +4174,11 @@ export declare const apiContractRouter: {
|
|
|
4174
4174
|
id: string;
|
|
4175
4175
|
};
|
|
4176
4176
|
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" | undefined;
|
|
4177
|
+
endDate?: string | null | undefined;
|
|
4177
4178
|
pay?: {
|
|
4178
4179
|
rate: number;
|
|
4179
4180
|
unit: "DAILY" | "HOURLY";
|
|
4180
4181
|
} | undefined;
|
|
4181
|
-
endDate?: string | null | undefined;
|
|
4182
4182
|
}[];
|
|
4183
4183
|
}, {
|
|
4184
4184
|
job: {
|
|
@@ -4190,11 +4190,11 @@ export declare const apiContractRouter: {
|
|
|
4190
4190
|
id: string;
|
|
4191
4191
|
};
|
|
4192
4192
|
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" | undefined;
|
|
4193
|
+
endDate?: string | null | undefined;
|
|
4193
4194
|
pay?: {
|
|
4194
4195
|
rate: number;
|
|
4195
4196
|
unit: "DAILY" | "HOURLY";
|
|
4196
4197
|
} | undefined;
|
|
4197
|
-
endDate?: string | null | undefined;
|
|
4198
4198
|
}[];
|
|
4199
4199
|
}>;
|
|
4200
4200
|
path: "/v2/bookings";
|
|
@@ -4345,32 +4345,33 @@ export declare const apiContractRouter: {
|
|
|
4345
4345
|
}>;
|
|
4346
4346
|
job: import("zod").ZodObject<{
|
|
4347
4347
|
id: import("zod").ZodString;
|
|
4348
|
-
|
|
4348
|
+
description: import("zod").ZodString;
|
|
4349
4349
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4350
4350
|
id: string;
|
|
4351
|
-
|
|
4351
|
+
description: string;
|
|
4352
4352
|
}, {
|
|
4353
4353
|
id: string;
|
|
4354
|
-
|
|
4354
|
+
description: string;
|
|
4355
4355
|
}>;
|
|
4356
4356
|
userId: import("zod").ZodString;
|
|
4357
4357
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
4358
4358
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
4359
4359
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4360
4360
|
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";
|
|
4361
|
+
startDate: string;
|
|
4361
4362
|
createdAt: string;
|
|
4362
4363
|
updatedAt: string;
|
|
4363
4364
|
id: string;
|
|
4364
|
-
pay: {
|
|
4365
|
-
rate: number;
|
|
4366
|
-
unit: "DAILY" | "HOURLY";
|
|
4367
|
-
};
|
|
4368
|
-
startDate: string;
|
|
4369
4365
|
worker: {
|
|
4370
4366
|
id: string;
|
|
4371
4367
|
firstName: string;
|
|
4372
4368
|
lastName: string;
|
|
4373
4369
|
};
|
|
4370
|
+
pay: {
|
|
4371
|
+
rate: number;
|
|
4372
|
+
unit: "DAILY" | "HOURLY";
|
|
4373
|
+
};
|
|
4374
|
+
userId: string;
|
|
4374
4375
|
user: {
|
|
4375
4376
|
id: string;
|
|
4376
4377
|
firstName: string;
|
|
@@ -4379,25 +4380,25 @@ export declare const apiContractRouter: {
|
|
|
4379
4380
|
};
|
|
4380
4381
|
job: {
|
|
4381
4382
|
id: string;
|
|
4382
|
-
|
|
4383
|
+
description: string;
|
|
4383
4384
|
};
|
|
4384
|
-
userId: string;
|
|
4385
4385
|
endDate?: string | null | undefined;
|
|
4386
4386
|
}, {
|
|
4387
4387
|
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";
|
|
4388
|
+
startDate: string | Date;
|
|
4388
4389
|
createdAt: string | Date;
|
|
4389
4390
|
updatedAt: string | Date;
|
|
4390
4391
|
id: string;
|
|
4391
|
-
pay: {
|
|
4392
|
-
rate: number;
|
|
4393
|
-
unit: "DAILY" | "HOURLY";
|
|
4394
|
-
};
|
|
4395
|
-
startDate: string | Date;
|
|
4396
4392
|
worker: {
|
|
4397
4393
|
id: string;
|
|
4398
4394
|
firstName: string;
|
|
4399
4395
|
lastName: string;
|
|
4400
4396
|
};
|
|
4397
|
+
pay: {
|
|
4398
|
+
rate: number;
|
|
4399
|
+
unit: "DAILY" | "HOURLY";
|
|
4400
|
+
};
|
|
4401
|
+
userId: string;
|
|
4401
4402
|
user: {
|
|
4402
4403
|
id: string;
|
|
4403
4404
|
firstName: string;
|
|
@@ -4406,9 +4407,8 @@ export declare const apiContractRouter: {
|
|
|
4406
4407
|
};
|
|
4407
4408
|
job: {
|
|
4408
4409
|
id: string;
|
|
4409
|
-
|
|
4410
|
+
description: string;
|
|
4410
4411
|
};
|
|
4411
|
-
userId: string;
|
|
4412
4412
|
endDate?: string | Date | null | undefined;
|
|
4413
4413
|
}>, "many">;
|
|
4414
4414
|
409: import("zod").ZodObject<{
|
|
@@ -4506,11 +4506,11 @@ export declare const apiContractRouter: {
|
|
|
4506
4506
|
limit: number;
|
|
4507
4507
|
page: number;
|
|
4508
4508
|
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" | null | undefined;
|
|
4509
|
-
|
|
4509
|
+
startDate?: {
|
|
4510
4510
|
from?: string | null | undefined;
|
|
4511
4511
|
to?: string | null | undefined;
|
|
4512
4512
|
} | null | undefined;
|
|
4513
|
-
|
|
4513
|
+
createdAt?: {
|
|
4514
4514
|
from?: string | null | undefined;
|
|
4515
4515
|
to?: string | null | undefined;
|
|
4516
4516
|
} | null | undefined;
|
|
@@ -4518,25 +4518,25 @@ export declare const apiContractRouter: {
|
|
|
4518
4518
|
from?: string | null | undefined;
|
|
4519
4519
|
to?: string | null | undefined;
|
|
4520
4520
|
} | null | undefined;
|
|
4521
|
+
clientId?: string | null | undefined;
|
|
4522
|
+
companyId?: string | null | undefined;
|
|
4521
4523
|
job?: {
|
|
4522
4524
|
userId?: string | null | undefined;
|
|
4523
4525
|
clientId?: string | null | undefined;
|
|
4524
4526
|
companyId?: string | null | undefined;
|
|
4525
4527
|
tradeId?: string | null | undefined;
|
|
4526
4528
|
} | null | undefined;
|
|
4527
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
4528
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
4529
|
-
clientId?: string | null | undefined;
|
|
4530
4529
|
workerName?: string | null | undefined;
|
|
4531
|
-
|
|
4530
|
+
sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
|
|
4531
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
4532
4532
|
agentName?: string | null | undefined;
|
|
4533
4533
|
}, {
|
|
4534
4534
|
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" | null | undefined;
|
|
4535
|
-
|
|
4535
|
+
startDate?: {
|
|
4536
4536
|
from?: string | null | undefined;
|
|
4537
4537
|
to?: string | null | undefined;
|
|
4538
4538
|
} | null | undefined;
|
|
4539
|
-
|
|
4539
|
+
createdAt?: {
|
|
4540
4540
|
from?: string | null | undefined;
|
|
4541
4541
|
to?: string | null | undefined;
|
|
4542
4542
|
} | null | undefined;
|
|
@@ -4544,6 +4544,8 @@ export declare const apiContractRouter: {
|
|
|
4544
4544
|
from?: string | null | undefined;
|
|
4545
4545
|
to?: string | null | undefined;
|
|
4546
4546
|
} | null | undefined;
|
|
4547
|
+
clientId?: string | null | undefined;
|
|
4548
|
+
companyId?: string | null | undefined;
|
|
4547
4549
|
job?: {
|
|
4548
4550
|
userId?: string | null | undefined;
|
|
4549
4551
|
clientId?: string | null | undefined;
|
|
@@ -4552,11 +4554,9 @@ export declare const apiContractRouter: {
|
|
|
4552
4554
|
} | null | undefined;
|
|
4553
4555
|
limit?: number | undefined;
|
|
4554
4556
|
page?: number | undefined;
|
|
4555
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
4556
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
4557
|
-
clientId?: string | null | undefined;
|
|
4558
4557
|
workerName?: string | null | undefined;
|
|
4559
|
-
|
|
4558
|
+
sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
|
|
4559
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
4560
4560
|
agentName?: string | null | undefined;
|
|
4561
4561
|
}>;
|
|
4562
4562
|
summary: "Get all bookings";
|
|
@@ -4710,32 +4710,33 @@ export declare const apiContractRouter: {
|
|
|
4710
4710
|
}>;
|
|
4711
4711
|
job: import("zod").ZodObject<{
|
|
4712
4712
|
id: import("zod").ZodString;
|
|
4713
|
-
|
|
4713
|
+
description: import("zod").ZodString;
|
|
4714
4714
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4715
4715
|
id: string;
|
|
4716
|
-
|
|
4716
|
+
description: string;
|
|
4717
4717
|
}, {
|
|
4718
4718
|
id: string;
|
|
4719
|
-
|
|
4719
|
+
description: string;
|
|
4720
4720
|
}>;
|
|
4721
4721
|
userId: import("zod").ZodString;
|
|
4722
4722
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
4723
4723
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
4724
4724
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4725
4725
|
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";
|
|
4726
|
+
startDate: string;
|
|
4726
4727
|
createdAt: string;
|
|
4727
4728
|
updatedAt: string;
|
|
4728
4729
|
id: string;
|
|
4729
|
-
pay: {
|
|
4730
|
-
rate: number;
|
|
4731
|
-
unit: "DAILY" | "HOURLY";
|
|
4732
|
-
};
|
|
4733
|
-
startDate: string;
|
|
4734
4730
|
worker: {
|
|
4735
4731
|
id: string;
|
|
4736
4732
|
firstName: string;
|
|
4737
4733
|
lastName: string;
|
|
4738
4734
|
};
|
|
4735
|
+
pay: {
|
|
4736
|
+
rate: number;
|
|
4737
|
+
unit: "DAILY" | "HOURLY";
|
|
4738
|
+
};
|
|
4739
|
+
userId: string;
|
|
4739
4740
|
user: {
|
|
4740
4741
|
id: string;
|
|
4741
4742
|
firstName: string;
|
|
@@ -4744,25 +4745,25 @@ export declare const apiContractRouter: {
|
|
|
4744
4745
|
};
|
|
4745
4746
|
job: {
|
|
4746
4747
|
id: string;
|
|
4747
|
-
|
|
4748
|
+
description: string;
|
|
4748
4749
|
};
|
|
4749
|
-
userId: string;
|
|
4750
4750
|
endDate?: string | null | undefined;
|
|
4751
4751
|
}, {
|
|
4752
4752
|
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";
|
|
4753
|
+
startDate: string | Date;
|
|
4753
4754
|
createdAt: string | Date;
|
|
4754
4755
|
updatedAt: string | Date;
|
|
4755
4756
|
id: string;
|
|
4756
|
-
pay: {
|
|
4757
|
-
rate: number;
|
|
4758
|
-
unit: "DAILY" | "HOURLY";
|
|
4759
|
-
};
|
|
4760
|
-
startDate: string | Date;
|
|
4761
4757
|
worker: {
|
|
4762
4758
|
id: string;
|
|
4763
4759
|
firstName: string;
|
|
4764
4760
|
lastName: string;
|
|
4765
4761
|
};
|
|
4762
|
+
pay: {
|
|
4763
|
+
rate: number;
|
|
4764
|
+
unit: "DAILY" | "HOURLY";
|
|
4765
|
+
};
|
|
4766
|
+
userId: string;
|
|
4766
4767
|
user: {
|
|
4767
4768
|
id: string;
|
|
4768
4769
|
firstName: string;
|
|
@@ -4771,9 +4772,8 @@ export declare const apiContractRouter: {
|
|
|
4771
4772
|
};
|
|
4772
4773
|
job: {
|
|
4773
4774
|
id: string;
|
|
4774
|
-
|
|
4775
|
+
description: string;
|
|
4775
4776
|
};
|
|
4776
|
-
userId: string;
|
|
4777
4777
|
endDate?: string | Date | null | undefined;
|
|
4778
4778
|
}>, "many">;
|
|
4779
4779
|
totalCount: import("zod").ZodNumber;
|
|
@@ -4785,19 +4785,20 @@ export declare const apiContractRouter: {
|
|
|
4785
4785
|
limit: number;
|
|
4786
4786
|
items: {
|
|
4787
4787
|
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";
|
|
4788
|
+
startDate: string;
|
|
4788
4789
|
createdAt: string;
|
|
4789
4790
|
updatedAt: string;
|
|
4790
4791
|
id: string;
|
|
4791
|
-
pay: {
|
|
4792
|
-
rate: number;
|
|
4793
|
-
unit: "DAILY" | "HOURLY";
|
|
4794
|
-
};
|
|
4795
|
-
startDate: string;
|
|
4796
4792
|
worker: {
|
|
4797
4793
|
id: string;
|
|
4798
4794
|
firstName: string;
|
|
4799
4795
|
lastName: string;
|
|
4800
4796
|
};
|
|
4797
|
+
pay: {
|
|
4798
|
+
rate: number;
|
|
4799
|
+
unit: "DAILY" | "HOURLY";
|
|
4800
|
+
};
|
|
4801
|
+
userId: string;
|
|
4801
4802
|
user: {
|
|
4802
4803
|
id: string;
|
|
4803
4804
|
firstName: string;
|
|
@@ -4806,9 +4807,8 @@ export declare const apiContractRouter: {
|
|
|
4806
4807
|
};
|
|
4807
4808
|
job: {
|
|
4808
4809
|
id: string;
|
|
4809
|
-
|
|
4810
|
+
description: string;
|
|
4810
4811
|
};
|
|
4811
|
-
userId: string;
|
|
4812
4812
|
endDate?: string | null | undefined;
|
|
4813
4813
|
}[];
|
|
4814
4814
|
totalCount: number;
|
|
@@ -4819,19 +4819,20 @@ export declare const apiContractRouter: {
|
|
|
4819
4819
|
limit: number;
|
|
4820
4820
|
items: {
|
|
4821
4821
|
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";
|
|
4822
|
+
startDate: string | Date;
|
|
4822
4823
|
createdAt: string | Date;
|
|
4823
4824
|
updatedAt: string | Date;
|
|
4824
4825
|
id: string;
|
|
4825
|
-
pay: {
|
|
4826
|
-
rate: number;
|
|
4827
|
-
unit: "DAILY" | "HOURLY";
|
|
4828
|
-
};
|
|
4829
|
-
startDate: string | Date;
|
|
4830
4826
|
worker: {
|
|
4831
4827
|
id: string;
|
|
4832
4828
|
firstName: string;
|
|
4833
4829
|
lastName: string;
|
|
4834
4830
|
};
|
|
4831
|
+
pay: {
|
|
4832
|
+
rate: number;
|
|
4833
|
+
unit: "DAILY" | "HOURLY";
|
|
4834
|
+
};
|
|
4835
|
+
userId: string;
|
|
4835
4836
|
user: {
|
|
4836
4837
|
id: string;
|
|
4837
4838
|
firstName: string;
|
|
@@ -4840,9 +4841,8 @@ export declare const apiContractRouter: {
|
|
|
4840
4841
|
};
|
|
4841
4842
|
job: {
|
|
4842
4843
|
id: string;
|
|
4843
|
-
|
|
4844
|
+
description: string;
|
|
4844
4845
|
};
|
|
4845
|
-
userId: string;
|
|
4846
4846
|
endDate?: string | Date | null | undefined;
|
|
4847
4847
|
}[];
|
|
4848
4848
|
totalCount: number;
|
|
@@ -5016,32 +5016,33 @@ export declare const apiContractRouter: {
|
|
|
5016
5016
|
}>;
|
|
5017
5017
|
job: import("zod").ZodObject<{
|
|
5018
5018
|
id: import("zod").ZodString;
|
|
5019
|
-
|
|
5019
|
+
description: import("zod").ZodString;
|
|
5020
5020
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5021
5021
|
id: string;
|
|
5022
|
-
|
|
5022
|
+
description: string;
|
|
5023
5023
|
}, {
|
|
5024
5024
|
id: string;
|
|
5025
|
-
|
|
5025
|
+
description: string;
|
|
5026
5026
|
}>;
|
|
5027
5027
|
userId: import("zod").ZodString;
|
|
5028
5028
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
5029
5029
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
5030
5030
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5031
5031
|
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";
|
|
5032
|
+
startDate: string;
|
|
5032
5033
|
createdAt: string;
|
|
5033
5034
|
updatedAt: string;
|
|
5034
5035
|
id: string;
|
|
5035
|
-
pay: {
|
|
5036
|
-
rate: number;
|
|
5037
|
-
unit: "DAILY" | "HOURLY";
|
|
5038
|
-
};
|
|
5039
|
-
startDate: string;
|
|
5040
5036
|
worker: {
|
|
5041
5037
|
id: string;
|
|
5042
5038
|
firstName: string;
|
|
5043
5039
|
lastName: string;
|
|
5044
5040
|
};
|
|
5041
|
+
pay: {
|
|
5042
|
+
rate: number;
|
|
5043
|
+
unit: "DAILY" | "HOURLY";
|
|
5044
|
+
};
|
|
5045
|
+
userId: string;
|
|
5045
5046
|
user: {
|
|
5046
5047
|
id: string;
|
|
5047
5048
|
firstName: string;
|
|
@@ -5050,25 +5051,25 @@ export declare const apiContractRouter: {
|
|
|
5050
5051
|
};
|
|
5051
5052
|
job: {
|
|
5052
5053
|
id: string;
|
|
5053
|
-
|
|
5054
|
+
description: string;
|
|
5054
5055
|
};
|
|
5055
|
-
userId: string;
|
|
5056
5056
|
endDate?: string | null | undefined;
|
|
5057
5057
|
}, {
|
|
5058
5058
|
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";
|
|
5059
|
+
startDate: string | Date;
|
|
5059
5060
|
createdAt: string | Date;
|
|
5060
5061
|
updatedAt: string | Date;
|
|
5061
5062
|
id: string;
|
|
5062
|
-
pay: {
|
|
5063
|
-
rate: number;
|
|
5064
|
-
unit: "DAILY" | "HOURLY";
|
|
5065
|
-
};
|
|
5066
|
-
startDate: string | Date;
|
|
5067
5063
|
worker: {
|
|
5068
5064
|
id: string;
|
|
5069
5065
|
firstName: string;
|
|
5070
5066
|
lastName: string;
|
|
5071
5067
|
};
|
|
5068
|
+
pay: {
|
|
5069
|
+
rate: number;
|
|
5070
|
+
unit: "DAILY" | "HOURLY";
|
|
5071
|
+
};
|
|
5072
|
+
userId: string;
|
|
5072
5073
|
user: {
|
|
5073
5074
|
id: string;
|
|
5074
5075
|
firstName: string;
|
|
@@ -5077,9 +5078,8 @@ export declare const apiContractRouter: {
|
|
|
5077
5078
|
};
|
|
5078
5079
|
job: {
|
|
5079
5080
|
id: string;
|
|
5080
|
-
|
|
5081
|
+
description: string;
|
|
5081
5082
|
};
|
|
5082
|
-
userId: string;
|
|
5083
5083
|
endDate?: string | Date | null | undefined;
|
|
5084
5084
|
}>;
|
|
5085
5085
|
404: import("zod").ZodObject<{
|
|
@@ -5286,32 +5286,33 @@ export declare const apiContractRouter: {
|
|
|
5286
5286
|
}>;
|
|
5287
5287
|
job: import("zod").ZodObject<{
|
|
5288
5288
|
id: import("zod").ZodString;
|
|
5289
|
-
|
|
5289
|
+
description: import("zod").ZodString;
|
|
5290
5290
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5291
5291
|
id: string;
|
|
5292
|
-
|
|
5292
|
+
description: string;
|
|
5293
5293
|
}, {
|
|
5294
5294
|
id: string;
|
|
5295
|
-
|
|
5295
|
+
description: string;
|
|
5296
5296
|
}>;
|
|
5297
5297
|
userId: import("zod").ZodString;
|
|
5298
5298
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
5299
5299
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
5300
5300
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5301
5301
|
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";
|
|
5302
|
+
startDate: string;
|
|
5302
5303
|
createdAt: string;
|
|
5303
5304
|
updatedAt: string;
|
|
5304
5305
|
id: string;
|
|
5305
|
-
pay: {
|
|
5306
|
-
rate: number;
|
|
5307
|
-
unit: "DAILY" | "HOURLY";
|
|
5308
|
-
};
|
|
5309
|
-
startDate: string;
|
|
5310
5306
|
worker: {
|
|
5311
5307
|
id: string;
|
|
5312
5308
|
firstName: string;
|
|
5313
5309
|
lastName: string;
|
|
5314
5310
|
};
|
|
5311
|
+
pay: {
|
|
5312
|
+
rate: number;
|
|
5313
|
+
unit: "DAILY" | "HOURLY";
|
|
5314
|
+
};
|
|
5315
|
+
userId: string;
|
|
5315
5316
|
user: {
|
|
5316
5317
|
id: string;
|
|
5317
5318
|
firstName: string;
|
|
@@ -5320,25 +5321,25 @@ export declare const apiContractRouter: {
|
|
|
5320
5321
|
};
|
|
5321
5322
|
job: {
|
|
5322
5323
|
id: string;
|
|
5323
|
-
|
|
5324
|
+
description: string;
|
|
5324
5325
|
};
|
|
5325
|
-
userId: string;
|
|
5326
5326
|
endDate?: string | null | undefined;
|
|
5327
5327
|
}, {
|
|
5328
5328
|
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";
|
|
5329
|
+
startDate: string | Date;
|
|
5329
5330
|
createdAt: string | Date;
|
|
5330
5331
|
updatedAt: string | Date;
|
|
5331
5332
|
id: string;
|
|
5332
|
-
pay: {
|
|
5333
|
-
rate: number;
|
|
5334
|
-
unit: "DAILY" | "HOURLY";
|
|
5335
|
-
};
|
|
5336
|
-
startDate: string | Date;
|
|
5337
5333
|
worker: {
|
|
5338
5334
|
id: string;
|
|
5339
5335
|
firstName: string;
|
|
5340
5336
|
lastName: string;
|
|
5341
5337
|
};
|
|
5338
|
+
pay: {
|
|
5339
|
+
rate: number;
|
|
5340
|
+
unit: "DAILY" | "HOURLY";
|
|
5341
|
+
};
|
|
5342
|
+
userId: string;
|
|
5342
5343
|
user: {
|
|
5343
5344
|
id: string;
|
|
5344
5345
|
firstName: string;
|
|
@@ -5347,9 +5348,8 @@ export declare const apiContractRouter: {
|
|
|
5347
5348
|
};
|
|
5348
5349
|
job: {
|
|
5349
5350
|
id: string;
|
|
5350
|
-
|
|
5351
|
+
description: string;
|
|
5351
5352
|
};
|
|
5352
|
-
userId: string;
|
|
5353
5353
|
endDate?: string | Date | null | undefined;
|
|
5354
5354
|
}>;
|
|
5355
5355
|
404: import("zod").ZodObject<{
|
|
@@ -7078,8 +7078,8 @@ export declare const apiContractRouter: {
|
|
|
7078
7078
|
createdAt: string;
|
|
7079
7079
|
updatedAt: string;
|
|
7080
7080
|
id: string;
|
|
7081
|
-
email: string;
|
|
7082
7081
|
clientId: string;
|
|
7082
|
+
email: string;
|
|
7083
7083
|
name: string;
|
|
7084
7084
|
client: {
|
|
7085
7085
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -7114,8 +7114,8 @@ export declare const apiContractRouter: {
|
|
|
7114
7114
|
createdAt: string | Date;
|
|
7115
7115
|
updatedAt: string | Date;
|
|
7116
7116
|
id: string;
|
|
7117
|
-
email: string;
|
|
7118
7117
|
clientId: string;
|
|
7118
|
+
email: string;
|
|
7119
7119
|
name: string;
|
|
7120
7120
|
client: {
|
|
7121
7121
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -7417,8 +7417,8 @@ export declare const apiContractRouter: {
|
|
|
7417
7417
|
createdAt: string;
|
|
7418
7418
|
updatedAt: string;
|
|
7419
7419
|
id: string;
|
|
7420
|
-
email: string;
|
|
7421
7420
|
clientId: string;
|
|
7421
|
+
email: string;
|
|
7422
7422
|
name: string;
|
|
7423
7423
|
client: {
|
|
7424
7424
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -7453,8 +7453,8 @@ export declare const apiContractRouter: {
|
|
|
7453
7453
|
createdAt: string | Date;
|
|
7454
7454
|
updatedAt: string | Date;
|
|
7455
7455
|
id: string;
|
|
7456
|
-
email: string;
|
|
7457
7456
|
clientId: string;
|
|
7457
|
+
email: string;
|
|
7458
7458
|
name: string;
|
|
7459
7459
|
client: {
|
|
7460
7460
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -7533,18 +7533,18 @@ export declare const apiContractRouter: {
|
|
|
7533
7533
|
page: number;
|
|
7534
7534
|
sortBy: "createdAt" | "updatedAt" | "email" | "name" | "position";
|
|
7535
7535
|
sortOrder: "ASC" | "DESC";
|
|
7536
|
-
email?: string | undefined;
|
|
7537
7536
|
clientId?: string | undefined;
|
|
7537
|
+
email?: string | undefined;
|
|
7538
7538
|
name?: string | undefined;
|
|
7539
7539
|
phone?: string | undefined;
|
|
7540
7540
|
createdById?: string | undefined;
|
|
7541
7541
|
}, {
|
|
7542
|
+
clientId?: string | undefined;
|
|
7542
7543
|
email?: string | undefined;
|
|
7543
7544
|
limit?: number | undefined;
|
|
7544
7545
|
page?: number | undefined;
|
|
7545
7546
|
sortBy?: "createdAt" | "updatedAt" | "email" | "name" | "position" | undefined;
|
|
7546
7547
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
7547
|
-
clientId?: string | undefined;
|
|
7548
7548
|
name?: string | undefined;
|
|
7549
7549
|
phone?: string | undefined;
|
|
7550
7550
|
createdById?: string | undefined;
|
|
@@ -7756,8 +7756,8 @@ export declare const apiContractRouter: {
|
|
|
7756
7756
|
createdAt: string;
|
|
7757
7757
|
updatedAt: string;
|
|
7758
7758
|
id: string;
|
|
7759
|
-
email: string;
|
|
7760
7759
|
clientId: string;
|
|
7760
|
+
email: string;
|
|
7761
7761
|
name: string;
|
|
7762
7762
|
client: {
|
|
7763
7763
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -7792,8 +7792,8 @@ export declare const apiContractRouter: {
|
|
|
7792
7792
|
createdAt: string | Date;
|
|
7793
7793
|
updatedAt: string | Date;
|
|
7794
7794
|
id: string;
|
|
7795
|
-
email: string;
|
|
7796
7795
|
clientId: string;
|
|
7796
|
+
email: string;
|
|
7797
7797
|
name: string;
|
|
7798
7798
|
client: {
|
|
7799
7799
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -7836,8 +7836,8 @@ export declare const apiContractRouter: {
|
|
|
7836
7836
|
createdAt: string;
|
|
7837
7837
|
updatedAt: string;
|
|
7838
7838
|
id: string;
|
|
7839
|
-
email: string;
|
|
7840
7839
|
clientId: string;
|
|
7840
|
+
email: string;
|
|
7841
7841
|
name: string;
|
|
7842
7842
|
client: {
|
|
7843
7843
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -7879,8 +7879,8 @@ export declare const apiContractRouter: {
|
|
|
7879
7879
|
createdAt: string | Date;
|
|
7880
7880
|
updatedAt: string | Date;
|
|
7881
7881
|
id: string;
|
|
7882
|
-
email: string;
|
|
7883
7882
|
clientId: string;
|
|
7883
|
+
email: string;
|
|
7884
7884
|
name: string;
|
|
7885
7885
|
client: {
|
|
7886
7886
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -8136,8 +8136,8 @@ export declare const apiContractRouter: {
|
|
|
8136
8136
|
createdAt: string;
|
|
8137
8137
|
updatedAt: string;
|
|
8138
8138
|
id: string;
|
|
8139
|
-
email: string;
|
|
8140
8139
|
clientId: string;
|
|
8140
|
+
email: string;
|
|
8141
8141
|
name: string;
|
|
8142
8142
|
client: {
|
|
8143
8143
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -8172,8 +8172,8 @@ export declare const apiContractRouter: {
|
|
|
8172
8172
|
createdAt: string | Date;
|
|
8173
8173
|
updatedAt: string | Date;
|
|
8174
8174
|
id: string;
|
|
8175
|
-
email: string;
|
|
8176
8175
|
clientId: string;
|
|
8176
|
+
email: string;
|
|
8177
8177
|
name: string;
|
|
8178
8178
|
client: {
|
|
8179
8179
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -8475,8 +8475,8 @@ export declare const apiContractRouter: {
|
|
|
8475
8475
|
createdAt: string;
|
|
8476
8476
|
updatedAt: string;
|
|
8477
8477
|
id: string;
|
|
8478
|
-
email: string;
|
|
8479
8478
|
clientId: string;
|
|
8479
|
+
email: string;
|
|
8480
8480
|
name: string;
|
|
8481
8481
|
client: {
|
|
8482
8482
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -8511,8 +8511,8 @@ export declare const apiContractRouter: {
|
|
|
8511
8511
|
createdAt: string | Date;
|
|
8512
8512
|
updatedAt: string | Date;
|
|
8513
8513
|
id: string;
|
|
8514
|
-
email: string;
|
|
8515
8514
|
clientId: string;
|
|
8515
|
+
email: string;
|
|
8516
8516
|
name: string;
|
|
8517
8517
|
client: {
|
|
8518
8518
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -8998,8 +8998,8 @@ export declare const apiContractRouter: {
|
|
|
8998
8998
|
createdAt: string;
|
|
8999
8999
|
updatedAt: string;
|
|
9000
9000
|
id: string;
|
|
9001
|
-
email: string;
|
|
9002
9001
|
clientId: string;
|
|
9002
|
+
email: string;
|
|
9003
9003
|
name: string;
|
|
9004
9004
|
client: {
|
|
9005
9005
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9034,8 +9034,8 @@ export declare const apiContractRouter: {
|
|
|
9034
9034
|
createdAt: string | Date;
|
|
9035
9035
|
updatedAt: string | Date;
|
|
9036
9036
|
id: string;
|
|
9037
|
-
email: string;
|
|
9038
9037
|
clientId: string;
|
|
9038
|
+
email: string;
|
|
9039
9039
|
name: string;
|
|
9040
9040
|
client: {
|
|
9041
9041
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9099,8 +9099,8 @@ export declare const apiContractRouter: {
|
|
|
9099
9099
|
createdAt: string;
|
|
9100
9100
|
updatedAt: string;
|
|
9101
9101
|
id: string;
|
|
9102
|
-
email: string;
|
|
9103
9102
|
clientId: string;
|
|
9103
|
+
email: string;
|
|
9104
9104
|
name: string;
|
|
9105
9105
|
client: {
|
|
9106
9106
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9156,8 +9156,8 @@ export declare const apiContractRouter: {
|
|
|
9156
9156
|
createdAt: string | Date;
|
|
9157
9157
|
updatedAt: string | Date;
|
|
9158
9158
|
id: string;
|
|
9159
|
-
email: string;
|
|
9160
9159
|
clientId: string;
|
|
9160
|
+
email: string;
|
|
9161
9161
|
name: string;
|
|
9162
9162
|
client: {
|
|
9163
9163
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9254,12 +9254,12 @@ export declare const apiContractRouter: {
|
|
|
9254
9254
|
urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
|
|
9255
9255
|
decision?: "PENDING" | "APPROVED" | "REJECTED" | undefined;
|
|
9256
9256
|
}, {
|
|
9257
|
+
clientId?: string | undefined;
|
|
9258
|
+
companyId?: string | undefined;
|
|
9257
9259
|
limit?: number | undefined;
|
|
9258
9260
|
page?: number | undefined;
|
|
9259
9261
|
sortBy?: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp" | undefined;
|
|
9260
9262
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
9261
|
-
clientId?: string | undefined;
|
|
9262
|
-
companyId?: string | undefined;
|
|
9263
9263
|
createdById?: string | undefined;
|
|
9264
9264
|
urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
|
|
9265
9265
|
decision?: "PENDING" | "APPROVED" | "REJECTED" | undefined;
|
|
@@ -9475,8 +9475,8 @@ export declare const apiContractRouter: {
|
|
|
9475
9475
|
createdAt: string;
|
|
9476
9476
|
updatedAt: string;
|
|
9477
9477
|
id: string;
|
|
9478
|
-
email: string;
|
|
9479
9478
|
clientId: string;
|
|
9479
|
+
email: string;
|
|
9480
9480
|
name: string;
|
|
9481
9481
|
client: {
|
|
9482
9482
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9511,8 +9511,8 @@ export declare const apiContractRouter: {
|
|
|
9511
9511
|
createdAt: string | Date;
|
|
9512
9512
|
updatedAt: string | Date;
|
|
9513
9513
|
id: string;
|
|
9514
|
-
email: string;
|
|
9515
9514
|
clientId: string;
|
|
9515
|
+
email: string;
|
|
9516
9516
|
name: string;
|
|
9517
9517
|
client: {
|
|
9518
9518
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9576,8 +9576,8 @@ export declare const apiContractRouter: {
|
|
|
9576
9576
|
createdAt: string;
|
|
9577
9577
|
updatedAt: string;
|
|
9578
9578
|
id: string;
|
|
9579
|
-
email: string;
|
|
9580
9579
|
clientId: string;
|
|
9580
|
+
email: string;
|
|
9581
9581
|
name: string;
|
|
9582
9582
|
client: {
|
|
9583
9583
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9633,8 +9633,8 @@ export declare const apiContractRouter: {
|
|
|
9633
9633
|
createdAt: string | Date;
|
|
9634
9634
|
updatedAt: string | Date;
|
|
9635
9635
|
id: string;
|
|
9636
|
-
email: string;
|
|
9637
9636
|
clientId: string;
|
|
9637
|
+
email: string;
|
|
9638
9638
|
name: string;
|
|
9639
9639
|
client: {
|
|
9640
9640
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9698,8 +9698,8 @@ export declare const apiContractRouter: {
|
|
|
9698
9698
|
createdAt: string;
|
|
9699
9699
|
updatedAt: string;
|
|
9700
9700
|
id: string;
|
|
9701
|
-
email: string;
|
|
9702
9701
|
clientId: string;
|
|
9702
|
+
email: string;
|
|
9703
9703
|
name: string;
|
|
9704
9704
|
client: {
|
|
9705
9705
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -9762,8 +9762,8 @@ export declare const apiContractRouter: {
|
|
|
9762
9762
|
createdAt: string | Date;
|
|
9763
9763
|
updatedAt: string | Date;
|
|
9764
9764
|
id: string;
|
|
9765
|
-
email: string;
|
|
9766
9765
|
clientId: string;
|
|
9766
|
+
email: string;
|
|
9767
9767
|
name: string;
|
|
9768
9768
|
client: {
|
|
9769
9769
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -10035,8 +10035,8 @@ export declare const apiContractRouter: {
|
|
|
10035
10035
|
createdAt: string;
|
|
10036
10036
|
updatedAt: string;
|
|
10037
10037
|
id: string;
|
|
10038
|
-
email: string;
|
|
10039
10038
|
clientId: string;
|
|
10039
|
+
email: string;
|
|
10040
10040
|
name: string;
|
|
10041
10041
|
client: {
|
|
10042
10042
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -10071,8 +10071,8 @@ export declare const apiContractRouter: {
|
|
|
10071
10071
|
createdAt: string | Date;
|
|
10072
10072
|
updatedAt: string | Date;
|
|
10073
10073
|
id: string;
|
|
10074
|
-
email: string;
|
|
10075
10074
|
clientId: string;
|
|
10075
|
+
email: string;
|
|
10076
10076
|
name: string;
|
|
10077
10077
|
client: {
|
|
10078
10078
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -10136,8 +10136,8 @@ export declare const apiContractRouter: {
|
|
|
10136
10136
|
createdAt: string;
|
|
10137
10137
|
updatedAt: string;
|
|
10138
10138
|
id: string;
|
|
10139
|
-
email: string;
|
|
10140
10139
|
clientId: string;
|
|
10140
|
+
email: string;
|
|
10141
10141
|
name: string;
|
|
10142
10142
|
client: {
|
|
10143
10143
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -10193,8 +10193,8 @@ export declare const apiContractRouter: {
|
|
|
10193
10193
|
createdAt: string | Date;
|
|
10194
10194
|
updatedAt: string | Date;
|
|
10195
10195
|
id: string;
|
|
10196
|
-
email: string;
|
|
10197
10196
|
clientId: string;
|
|
10197
|
+
email: string;
|
|
10198
10198
|
name: string;
|
|
10199
10199
|
client: {
|
|
10200
10200
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -10520,8 +10520,8 @@ export declare const apiContractRouter: {
|
|
|
10520
10520
|
createdAt: string;
|
|
10521
10521
|
updatedAt: string;
|
|
10522
10522
|
id: string;
|
|
10523
|
-
email: string;
|
|
10524
10523
|
clientId: string;
|
|
10524
|
+
email: string;
|
|
10525
10525
|
name: string;
|
|
10526
10526
|
client: {
|
|
10527
10527
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -10556,8 +10556,8 @@ export declare const apiContractRouter: {
|
|
|
10556
10556
|
createdAt: string | Date;
|
|
10557
10557
|
updatedAt: string | Date;
|
|
10558
10558
|
id: string;
|
|
10559
|
-
email: string;
|
|
10560
10559
|
clientId: string;
|
|
10560
|
+
email: string;
|
|
10561
10561
|
name: string;
|
|
10562
10562
|
client: {
|
|
10563
10563
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -10621,8 +10621,8 @@ export declare const apiContractRouter: {
|
|
|
10621
10621
|
createdAt: string;
|
|
10622
10622
|
updatedAt: string;
|
|
10623
10623
|
id: string;
|
|
10624
|
-
email: string;
|
|
10625
10624
|
clientId: string;
|
|
10625
|
+
email: string;
|
|
10626
10626
|
name: string;
|
|
10627
10627
|
client: {
|
|
10628
10628
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -10678,8 +10678,8 @@ export declare const apiContractRouter: {
|
|
|
10678
10678
|
createdAt: string | Date;
|
|
10679
10679
|
updatedAt: string | Date;
|
|
10680
10680
|
id: string;
|
|
10681
|
-
email: string;
|
|
10682
10681
|
clientId: string;
|
|
10682
|
+
email: string;
|
|
10683
10683
|
name: string;
|
|
10684
10684
|
client: {
|
|
10685
10685
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
@@ -13949,14 +13949,14 @@ export declare const apiContractRouter: {
|
|
|
13949
13949
|
lastName: string;
|
|
13950
13950
|
email: string;
|
|
13951
13951
|
phone: string;
|
|
13952
|
-
roles?: ("
|
|
13952
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
13953
13953
|
password?: string | undefined;
|
|
13954
13954
|
}, {
|
|
13955
13955
|
firstName: string;
|
|
13956
13956
|
lastName: string;
|
|
13957
13957
|
email: string;
|
|
13958
13958
|
phone: string;
|
|
13959
|
-
roles?: ("
|
|
13959
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
13960
13960
|
password?: string | undefined;
|
|
13961
13961
|
}>;
|
|
13962
13962
|
path: "/v2/users";
|
|
@@ -14078,7 +14078,7 @@ export declare const apiContractRouter: {
|
|
|
14078
14078
|
lastName: string;
|
|
14079
14079
|
email: string;
|
|
14080
14080
|
phone: string;
|
|
14081
|
-
roles?: ("
|
|
14081
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14082
14082
|
}, {
|
|
14083
14083
|
createdAt: string | Date;
|
|
14084
14084
|
updatedAt: string | Date;
|
|
@@ -14087,7 +14087,7 @@ export declare const apiContractRouter: {
|
|
|
14087
14087
|
lastName: string;
|
|
14088
14088
|
email: string;
|
|
14089
14089
|
phone: string;
|
|
14090
|
-
roles?: ("
|
|
14090
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14091
14091
|
}>;
|
|
14092
14092
|
409: import("zod").ZodObject<{
|
|
14093
14093
|
statusCode: import("zod").ZodNumber;
|
|
@@ -14131,10 +14131,10 @@ export declare const apiContractRouter: {
|
|
|
14131
14131
|
values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
14132
14132
|
requireAll: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
14133
14133
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14134
|
-
values?: ("
|
|
14134
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14135
14135
|
requireAll?: boolean | undefined;
|
|
14136
14136
|
}, {
|
|
14137
|
-
values?: ("
|
|
14137
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14138
14138
|
requireAll?: boolean | undefined;
|
|
14139
14139
|
}>>;
|
|
14140
14140
|
sortBy: import("zod").ZodOptional<import("zod").ZodEnum<["lastName", "firstName", "email", "phone", "createdAt"]>>;
|
|
@@ -14148,7 +14148,7 @@ export declare const apiContractRouter: {
|
|
|
14148
14148
|
name?: string | undefined;
|
|
14149
14149
|
phone?: string | undefined;
|
|
14150
14150
|
roles?: {
|
|
14151
|
-
values?: ("
|
|
14151
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14152
14152
|
requireAll?: boolean | undefined;
|
|
14153
14153
|
} | undefined;
|
|
14154
14154
|
}, {
|
|
@@ -14160,7 +14160,7 @@ export declare const apiContractRouter: {
|
|
|
14160
14160
|
name?: string | undefined;
|
|
14161
14161
|
phone?: string | undefined;
|
|
14162
14162
|
roles?: {
|
|
14163
|
-
values?: ("
|
|
14163
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14164
14164
|
requireAll?: boolean | undefined;
|
|
14165
14165
|
} | undefined;
|
|
14166
14166
|
}>;
|
|
@@ -14286,7 +14286,7 @@ export declare const apiContractRouter: {
|
|
|
14286
14286
|
lastName: string;
|
|
14287
14287
|
email: string;
|
|
14288
14288
|
phone: string;
|
|
14289
|
-
roles?: ("
|
|
14289
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14290
14290
|
}, {
|
|
14291
14291
|
createdAt: string | Date;
|
|
14292
14292
|
updatedAt: string | Date;
|
|
@@ -14295,7 +14295,7 @@ export declare const apiContractRouter: {
|
|
|
14295
14295
|
lastName: string;
|
|
14296
14296
|
email: string;
|
|
14297
14297
|
phone: string;
|
|
14298
|
-
roles?: ("
|
|
14298
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14299
14299
|
}>, "many">;
|
|
14300
14300
|
totalCount: import("zod").ZodNumber;
|
|
14301
14301
|
limit: import("zod").ZodNumber;
|
|
@@ -14312,7 +14312,7 @@ export declare const apiContractRouter: {
|
|
|
14312
14312
|
lastName: string;
|
|
14313
14313
|
email: string;
|
|
14314
14314
|
phone: string;
|
|
14315
|
-
roles?: ("
|
|
14315
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14316
14316
|
}[];
|
|
14317
14317
|
totalCount: number;
|
|
14318
14318
|
skip: number;
|
|
@@ -14328,7 +14328,7 @@ export declare const apiContractRouter: {
|
|
|
14328
14328
|
lastName: string;
|
|
14329
14329
|
email: string;
|
|
14330
14330
|
phone: string;
|
|
14331
|
-
roles?: ("
|
|
14331
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14332
14332
|
}[];
|
|
14333
14333
|
totalCount: number;
|
|
14334
14334
|
skip: number;
|
|
@@ -14591,14 +14591,14 @@ export declare const apiContractRouter: {
|
|
|
14591
14591
|
firstName?: string | undefined;
|
|
14592
14592
|
lastName?: string | undefined;
|
|
14593
14593
|
phone?: string | undefined;
|
|
14594
|
-
roles?: ("
|
|
14594
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14595
14595
|
}, {
|
|
14596
14596
|
id: string;
|
|
14597
14597
|
email: string;
|
|
14598
14598
|
firstName?: string | undefined;
|
|
14599
14599
|
lastName?: string | undefined;
|
|
14600
14600
|
phone?: string | undefined;
|
|
14601
|
-
roles?: ("
|
|
14601
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14602
14602
|
}>;
|
|
14603
14603
|
};
|
|
14604
14604
|
};
|
|
@@ -14734,7 +14734,7 @@ export declare const apiContractRouter: {
|
|
|
14734
14734
|
lastName: string;
|
|
14735
14735
|
email: string;
|
|
14736
14736
|
phone: string;
|
|
14737
|
-
roles?: ("
|
|
14737
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14738
14738
|
}, {
|
|
14739
14739
|
createdAt: string | Date;
|
|
14740
14740
|
updatedAt: string | Date;
|
|
@@ -14743,7 +14743,7 @@ export declare const apiContractRouter: {
|
|
|
14743
14743
|
lastName: string;
|
|
14744
14744
|
email: string;
|
|
14745
14745
|
phone: string;
|
|
14746
|
-
roles?: ("
|
|
14746
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14747
14747
|
}>;
|
|
14748
14748
|
404: import("zod").ZodObject<{
|
|
14749
14749
|
statusCode: import("zod").ZodNumber;
|
|
@@ -14797,14 +14797,14 @@ export declare const apiContractRouter: {
|
|
|
14797
14797
|
lastName?: string | undefined;
|
|
14798
14798
|
email?: string | undefined;
|
|
14799
14799
|
phone?: string | undefined;
|
|
14800
|
-
roles?: ("
|
|
14800
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14801
14801
|
password?: string | undefined;
|
|
14802
14802
|
}, {
|
|
14803
14803
|
firstName?: string | undefined;
|
|
14804
14804
|
lastName?: string | undefined;
|
|
14805
14805
|
email?: string | undefined;
|
|
14806
14806
|
phone?: string | undefined;
|
|
14807
|
-
roles?: ("
|
|
14807
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14808
14808
|
password?: string | undefined;
|
|
14809
14809
|
}>;
|
|
14810
14810
|
path: "/v2/users/:id";
|
|
@@ -14926,7 +14926,7 @@ export declare const apiContractRouter: {
|
|
|
14926
14926
|
lastName: string;
|
|
14927
14927
|
email: string;
|
|
14928
14928
|
phone: string;
|
|
14929
|
-
roles?: ("
|
|
14929
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14930
14930
|
}, {
|
|
14931
14931
|
createdAt: string | Date;
|
|
14932
14932
|
updatedAt: string | Date;
|
|
@@ -14935,7 +14935,7 @@ export declare const apiContractRouter: {
|
|
|
14935
14935
|
lastName: string;
|
|
14936
14936
|
email: string;
|
|
14937
14937
|
phone: string;
|
|
14938
|
-
roles?: ("
|
|
14938
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
14939
14939
|
}>;
|
|
14940
14940
|
404: import("zod").ZodObject<{
|
|
14941
14941
|
statusCode: import("zod").ZodNumber;
|
|
@@ -17368,7 +17368,7 @@ export declare const apiContractRouter: {
|
|
|
17368
17368
|
company: {
|
|
17369
17369
|
id: string;
|
|
17370
17370
|
};
|
|
17371
|
-
status?: "
|
|
17371
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
17372
17372
|
user?: {
|
|
17373
17373
|
id: string;
|
|
17374
17374
|
} | undefined;
|
|
@@ -17379,7 +17379,7 @@ export declare const apiContractRouter: {
|
|
|
17379
17379
|
company: {
|
|
17380
17380
|
id: string;
|
|
17381
17381
|
};
|
|
17382
|
-
status?: "
|
|
17382
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
17383
17383
|
user?: {
|
|
17384
17384
|
id: string;
|
|
17385
17385
|
} | undefined;
|
|
@@ -17536,17 +17536,17 @@ export declare const apiContractRouter: {
|
|
|
17536
17536
|
id: string;
|
|
17537
17537
|
}>>>;
|
|
17538
17538
|
}, "strip", import("zod").ZodTypeAny, {
|
|
17539
|
-
status: "
|
|
17539
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
17540
17540
|
createdAt: string;
|
|
17541
17541
|
updatedAt: string;
|
|
17542
17542
|
id: string;
|
|
17543
|
+
userId: string;
|
|
17543
17544
|
user: {
|
|
17544
17545
|
id: string;
|
|
17545
17546
|
firstName: string;
|
|
17546
17547
|
lastName: string;
|
|
17547
17548
|
email: string;
|
|
17548
17549
|
};
|
|
17549
|
-
userId: string;
|
|
17550
17550
|
client: {
|
|
17551
17551
|
id: string;
|
|
17552
17552
|
name: string;
|
|
@@ -17559,17 +17559,17 @@ export declare const apiContractRouter: {
|
|
|
17559
17559
|
id: string;
|
|
17560
17560
|
} | null | undefined;
|
|
17561
17561
|
}, {
|
|
17562
|
-
status: "
|
|
17562
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
17563
17563
|
createdAt: string | Date;
|
|
17564
17564
|
updatedAt: string | Date;
|
|
17565
17565
|
id: string;
|
|
17566
|
+
userId: string;
|
|
17566
17567
|
user: {
|
|
17567
17568
|
id: string;
|
|
17568
17569
|
firstName: string;
|
|
17569
17570
|
lastName: string;
|
|
17570
17571
|
email: string;
|
|
17571
17572
|
};
|
|
17572
|
-
userId: string;
|
|
17573
17573
|
client: {
|
|
17574
17574
|
id: string;
|
|
17575
17575
|
name: string;
|
|
@@ -17629,21 +17629,21 @@ export declare const apiContractRouter: {
|
|
|
17629
17629
|
}, "strip", import("zod").ZodTypeAny, {
|
|
17630
17630
|
limit: number;
|
|
17631
17631
|
page: number;
|
|
17632
|
-
status?: "
|
|
17632
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
17633
17633
|
userId?: string | null | undefined;
|
|
17634
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
17635
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
17636
17634
|
clientId?: string | null | undefined;
|
|
17637
17635
|
companyId?: string | null | undefined;
|
|
17636
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
17637
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
17638
17638
|
}, {
|
|
17639
|
-
status?: "
|
|
17639
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
17640
17640
|
userId?: string | null | undefined;
|
|
17641
|
+
clientId?: string | null | undefined;
|
|
17642
|
+
companyId?: string | null | undefined;
|
|
17641
17643
|
limit?: number | undefined;
|
|
17642
17644
|
page?: number | undefined;
|
|
17643
17645
|
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
17644
17646
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
17645
|
-
clientId?: string | null | undefined;
|
|
17646
|
-
companyId?: string | null | undefined;
|
|
17647
17647
|
}>;
|
|
17648
17648
|
summary: "Get all collaborations";
|
|
17649
17649
|
method: "GET";
|
|
@@ -17800,17 +17800,17 @@ export declare const apiContractRouter: {
|
|
|
17800
17800
|
id: string;
|
|
17801
17801
|
}>>>;
|
|
17802
17802
|
}, "strip", import("zod").ZodTypeAny, {
|
|
17803
|
-
status: "
|
|
17803
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
17804
17804
|
createdAt: string;
|
|
17805
17805
|
updatedAt: string;
|
|
17806
17806
|
id: string;
|
|
17807
|
+
userId: string;
|
|
17807
17808
|
user: {
|
|
17808
17809
|
id: string;
|
|
17809
17810
|
firstName: string;
|
|
17810
17811
|
lastName: string;
|
|
17811
17812
|
email: string;
|
|
17812
17813
|
};
|
|
17813
|
-
userId: string;
|
|
17814
17814
|
client: {
|
|
17815
17815
|
id: string;
|
|
17816
17816
|
name: string;
|
|
@@ -17823,17 +17823,17 @@ export declare const apiContractRouter: {
|
|
|
17823
17823
|
id: string;
|
|
17824
17824
|
} | null | undefined;
|
|
17825
17825
|
}, {
|
|
17826
|
-
status: "
|
|
17826
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
17827
17827
|
createdAt: string | Date;
|
|
17828
17828
|
updatedAt: string | Date;
|
|
17829
17829
|
id: string;
|
|
17830
|
+
userId: string;
|
|
17830
17831
|
user: {
|
|
17831
17832
|
id: string;
|
|
17832
17833
|
firstName: string;
|
|
17833
17834
|
lastName: string;
|
|
17834
17835
|
email: string;
|
|
17835
17836
|
};
|
|
17836
|
-
userId: string;
|
|
17837
17837
|
client: {
|
|
17838
17838
|
id: string;
|
|
17839
17839
|
name: string;
|
|
@@ -17854,17 +17854,17 @@ export declare const apiContractRouter: {
|
|
|
17854
17854
|
}, "strip", import("zod").ZodTypeAny, {
|
|
17855
17855
|
limit: number;
|
|
17856
17856
|
items: {
|
|
17857
|
-
status: "
|
|
17857
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
17858
17858
|
createdAt: string;
|
|
17859
17859
|
updatedAt: string;
|
|
17860
17860
|
id: string;
|
|
17861
|
+
userId: string;
|
|
17861
17862
|
user: {
|
|
17862
17863
|
id: string;
|
|
17863
17864
|
firstName: string;
|
|
17864
17865
|
lastName: string;
|
|
17865
17866
|
email: string;
|
|
17866
17867
|
};
|
|
17867
|
-
userId: string;
|
|
17868
17868
|
client: {
|
|
17869
17869
|
id: string;
|
|
17870
17870
|
name: string;
|
|
@@ -17884,17 +17884,17 @@ export declare const apiContractRouter: {
|
|
|
17884
17884
|
}, {
|
|
17885
17885
|
limit: number;
|
|
17886
17886
|
items: {
|
|
17887
|
-
status: "
|
|
17887
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
17888
17888
|
createdAt: string | Date;
|
|
17889
17889
|
updatedAt: string | Date;
|
|
17890
17890
|
id: string;
|
|
17891
|
+
userId: string;
|
|
17891
17892
|
user: {
|
|
17892
17893
|
id: string;
|
|
17893
17894
|
firstName: string;
|
|
17894
17895
|
lastName: string;
|
|
17895
17896
|
email: string;
|
|
17896
17897
|
};
|
|
17897
|
-
userId: string;
|
|
17898
17898
|
client: {
|
|
17899
17899
|
id: string;
|
|
17900
17900
|
name: string;
|
|
@@ -18256,17 +18256,17 @@ export declare const apiContractRouter: {
|
|
|
18256
18256
|
id: string;
|
|
18257
18257
|
}>>>;
|
|
18258
18258
|
}, "strip", import("zod").ZodTypeAny, {
|
|
18259
|
-
status: "
|
|
18259
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
18260
18260
|
createdAt: string;
|
|
18261
18261
|
updatedAt: string;
|
|
18262
18262
|
id: string;
|
|
18263
|
+
userId: string;
|
|
18263
18264
|
user: {
|
|
18264
18265
|
id: string;
|
|
18265
18266
|
firstName: string;
|
|
18266
18267
|
lastName: string;
|
|
18267
18268
|
email: string;
|
|
18268
18269
|
};
|
|
18269
|
-
userId: string;
|
|
18270
18270
|
client: {
|
|
18271
18271
|
id: string;
|
|
18272
18272
|
name: string;
|
|
@@ -18279,17 +18279,17 @@ export declare const apiContractRouter: {
|
|
|
18279
18279
|
id: string;
|
|
18280
18280
|
} | null | undefined;
|
|
18281
18281
|
}, {
|
|
18282
|
-
status: "
|
|
18282
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
18283
18283
|
createdAt: string | Date;
|
|
18284
18284
|
updatedAt: string | Date;
|
|
18285
18285
|
id: string;
|
|
18286
|
+
userId: string;
|
|
18286
18287
|
user: {
|
|
18287
18288
|
id: string;
|
|
18288
18289
|
firstName: string;
|
|
18289
18290
|
lastName: string;
|
|
18290
18291
|
email: string;
|
|
18291
18292
|
};
|
|
18292
|
-
userId: string;
|
|
18293
18293
|
client: {
|
|
18294
18294
|
id: string;
|
|
18295
18295
|
name: string;
|
|
@@ -18348,9 +18348,9 @@ export declare const apiContractRouter: {
|
|
|
18348
18348
|
body: import("zod").ZodObject<{
|
|
18349
18349
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
18350
18350
|
}, "strip", import("zod").ZodTypeAny, {
|
|
18351
|
-
status?: "
|
|
18351
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
18352
18352
|
}, {
|
|
18353
|
-
status?: "
|
|
18353
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
18354
18354
|
}>;
|
|
18355
18355
|
path: "/v2/collaborations/:id";
|
|
18356
18356
|
responses: {
|
|
@@ -18504,17 +18504,17 @@ export declare const apiContractRouter: {
|
|
|
18504
18504
|
id: string;
|
|
18505
18505
|
}>>>;
|
|
18506
18506
|
}, "strip", import("zod").ZodTypeAny, {
|
|
18507
|
-
status: "
|
|
18507
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
18508
18508
|
createdAt: string;
|
|
18509
18509
|
updatedAt: string;
|
|
18510
18510
|
id: string;
|
|
18511
|
+
userId: string;
|
|
18511
18512
|
user: {
|
|
18512
18513
|
id: string;
|
|
18513
18514
|
firstName: string;
|
|
18514
18515
|
lastName: string;
|
|
18515
18516
|
email: string;
|
|
18516
18517
|
};
|
|
18517
|
-
userId: string;
|
|
18518
18518
|
client: {
|
|
18519
18519
|
id: string;
|
|
18520
18520
|
name: string;
|
|
@@ -18527,17 +18527,17 @@ export declare const apiContractRouter: {
|
|
|
18527
18527
|
id: string;
|
|
18528
18528
|
} | null | undefined;
|
|
18529
18529
|
}, {
|
|
18530
|
-
status: "
|
|
18530
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
18531
18531
|
createdAt: string | Date;
|
|
18532
18532
|
updatedAt: string | Date;
|
|
18533
18533
|
id: string;
|
|
18534
|
+
userId: string;
|
|
18534
18535
|
user: {
|
|
18535
18536
|
id: string;
|
|
18536
18537
|
firstName: string;
|
|
18537
18538
|
lastName: string;
|
|
18538
18539
|
email: string;
|
|
18539
18540
|
};
|
|
18540
|
-
userId: string;
|
|
18541
18541
|
client: {
|
|
18542
18542
|
id: string;
|
|
18543
18543
|
name: string;
|
|
@@ -18788,7 +18788,7 @@ export declare const apiContractRouter: {
|
|
|
18788
18788
|
company: {
|
|
18789
18789
|
id: string;
|
|
18790
18790
|
};
|
|
18791
|
-
status?: "
|
|
18791
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
18792
18792
|
user?: {
|
|
18793
18793
|
id: string;
|
|
18794
18794
|
} | undefined;
|
|
@@ -18799,7 +18799,7 @@ export declare const apiContractRouter: {
|
|
|
18799
18799
|
company: {
|
|
18800
18800
|
id: string;
|
|
18801
18801
|
};
|
|
18802
|
-
status?: "
|
|
18802
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
18803
18803
|
user?: {
|
|
18804
18804
|
id: string;
|
|
18805
18805
|
} | undefined;
|
|
@@ -18956,17 +18956,17 @@ export declare const apiContractRouter: {
|
|
|
18956
18956
|
id: string;
|
|
18957
18957
|
}>>>;
|
|
18958
18958
|
}, "strip", import("zod").ZodTypeAny, {
|
|
18959
|
-
status: "
|
|
18959
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
18960
18960
|
createdAt: string;
|
|
18961
18961
|
updatedAt: string;
|
|
18962
18962
|
id: string;
|
|
18963
|
+
userId: string;
|
|
18963
18964
|
user: {
|
|
18964
18965
|
id: string;
|
|
18965
18966
|
firstName: string;
|
|
18966
18967
|
lastName: string;
|
|
18967
18968
|
email: string;
|
|
18968
18969
|
};
|
|
18969
|
-
userId: string;
|
|
18970
18970
|
client: {
|
|
18971
18971
|
id: string;
|
|
18972
18972
|
name: string;
|
|
@@ -18979,17 +18979,17 @@ export declare const apiContractRouter: {
|
|
|
18979
18979
|
id: string;
|
|
18980
18980
|
} | null | undefined;
|
|
18981
18981
|
}, {
|
|
18982
|
-
status: "
|
|
18982
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
18983
18983
|
createdAt: string | Date;
|
|
18984
18984
|
updatedAt: string | Date;
|
|
18985
18985
|
id: string;
|
|
18986
|
+
userId: string;
|
|
18986
18987
|
user: {
|
|
18987
18988
|
id: string;
|
|
18988
18989
|
firstName: string;
|
|
18989
18990
|
lastName: string;
|
|
18990
18991
|
email: string;
|
|
18991
18992
|
};
|
|
18992
|
-
userId: string;
|
|
18993
18993
|
client: {
|
|
18994
18994
|
id: string;
|
|
18995
18995
|
name: string;
|
|
@@ -19096,8 +19096,8 @@ export declare const apiContractRouter: {
|
|
|
19096
19096
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
19097
19097
|
rateMax?: number | undefined;
|
|
19098
19098
|
};
|
|
19099
|
-
description: string;
|
|
19100
19099
|
tradeId: string;
|
|
19100
|
+
description: string;
|
|
19101
19101
|
numberOfPositions: number;
|
|
19102
19102
|
currentCollaboration: {
|
|
19103
19103
|
id: string;
|
|
@@ -19119,8 +19119,8 @@ export declare const apiContractRouter: {
|
|
|
19119
19119
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
19120
19120
|
rateMax?: number | undefined;
|
|
19121
19121
|
};
|
|
19122
|
-
description: string;
|
|
19123
19122
|
tradeId: string;
|
|
19123
|
+
description: string;
|
|
19124
19124
|
numberOfPositions: number;
|
|
19125
19125
|
currentCollaboration: {
|
|
19126
19126
|
id: string;
|
|
@@ -19319,8 +19319,8 @@ export declare const apiContractRouter: {
|
|
|
19319
19319
|
receivedRate: number;
|
|
19320
19320
|
rateMax?: number | null | undefined;
|
|
19321
19321
|
};
|
|
19322
|
-
description: string;
|
|
19323
19322
|
tradeId: string;
|
|
19323
|
+
description: string;
|
|
19324
19324
|
numberOfPositions: number;
|
|
19325
19325
|
jobQualifications: {
|
|
19326
19326
|
id: string;
|
|
@@ -19351,8 +19351,8 @@ export declare const apiContractRouter: {
|
|
|
19351
19351
|
receivedRate: number;
|
|
19352
19352
|
rateMax?: number | null | undefined;
|
|
19353
19353
|
};
|
|
19354
|
-
description: string;
|
|
19355
19354
|
tradeId: string;
|
|
19355
|
+
description: string;
|
|
19356
19356
|
numberOfPositions: number;
|
|
19357
19357
|
jobQualifications: {
|
|
19358
19358
|
id: string;
|
|
@@ -19449,9 +19449,9 @@ export declare const apiContractRouter: {
|
|
|
19449
19449
|
minRate?: number | null | undefined;
|
|
19450
19450
|
maxRate?: number | null | undefined;
|
|
19451
19451
|
} | null | undefined;
|
|
19452
|
+
tradeId?: string | null | undefined;
|
|
19452
19453
|
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
19453
19454
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
19454
|
-
tradeId?: string | null | undefined;
|
|
19455
19455
|
postcode?: string | null | undefined;
|
|
19456
19456
|
distance?: number | null | undefined;
|
|
19457
19457
|
}, {
|
|
@@ -19464,11 +19464,11 @@ export declare const apiContractRouter: {
|
|
|
19464
19464
|
minRate?: number | null | undefined;
|
|
19465
19465
|
maxRate?: number | null | undefined;
|
|
19466
19466
|
} | null | undefined;
|
|
19467
|
+
tradeId?: string | null | undefined;
|
|
19467
19468
|
limit?: number | undefined;
|
|
19468
19469
|
page?: number | undefined;
|
|
19469
19470
|
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
19470
19471
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
19471
|
-
tradeId?: string | null | undefined;
|
|
19472
19472
|
postcode?: string | null | undefined;
|
|
19473
19473
|
distance?: number | null | undefined;
|
|
19474
19474
|
}>;
|
|
@@ -19658,8 +19658,8 @@ export declare const apiContractRouter: {
|
|
|
19658
19658
|
receivedRate: number;
|
|
19659
19659
|
rateMax?: number | null | undefined;
|
|
19660
19660
|
};
|
|
19661
|
-
description: string;
|
|
19662
19661
|
tradeId: string;
|
|
19662
|
+
description: string;
|
|
19663
19663
|
numberOfPositions: number;
|
|
19664
19664
|
jobQualifications: {
|
|
19665
19665
|
id: string;
|
|
@@ -19690,8 +19690,8 @@ export declare const apiContractRouter: {
|
|
|
19690
19690
|
receivedRate: number;
|
|
19691
19691
|
rateMax?: number | null | undefined;
|
|
19692
19692
|
};
|
|
19693
|
-
description: string;
|
|
19694
19693
|
tradeId: string;
|
|
19694
|
+
description: string;
|
|
19695
19695
|
numberOfPositions: number;
|
|
19696
19696
|
jobQualifications: {
|
|
19697
19697
|
id: string;
|
|
@@ -19730,8 +19730,8 @@ export declare const apiContractRouter: {
|
|
|
19730
19730
|
receivedRate: number;
|
|
19731
19731
|
rateMax?: number | null | undefined;
|
|
19732
19732
|
};
|
|
19733
|
-
description: string;
|
|
19734
19733
|
tradeId: string;
|
|
19734
|
+
description: string;
|
|
19735
19735
|
numberOfPositions: number;
|
|
19736
19736
|
jobQualifications: {
|
|
19737
19737
|
id: string;
|
|
@@ -19769,8 +19769,8 @@ export declare const apiContractRouter: {
|
|
|
19769
19769
|
receivedRate: number;
|
|
19770
19770
|
rateMax?: number | null | undefined;
|
|
19771
19771
|
};
|
|
19772
|
-
description: string;
|
|
19773
19772
|
tradeId: string;
|
|
19773
|
+
description: string;
|
|
19774
19774
|
numberOfPositions: number;
|
|
19775
19775
|
jobQualifications: {
|
|
19776
19776
|
id: string;
|
|
@@ -19997,8 +19997,8 @@ export declare const apiContractRouter: {
|
|
|
19997
19997
|
receivedRate: number;
|
|
19998
19998
|
rateMax?: number | null | undefined;
|
|
19999
19999
|
};
|
|
20000
|
-
description: string;
|
|
20001
20000
|
tradeId: string;
|
|
20001
|
+
description: string;
|
|
20002
20002
|
numberOfPositions: number;
|
|
20003
20003
|
jobQualifications: {
|
|
20004
20004
|
id: string;
|
|
@@ -20029,8 +20029,8 @@ export declare const apiContractRouter: {
|
|
|
20029
20029
|
receivedRate: number;
|
|
20030
20030
|
rateMax?: number | null | undefined;
|
|
20031
20031
|
};
|
|
20032
|
-
description: string;
|
|
20033
20032
|
tradeId: string;
|
|
20033
|
+
description: string;
|
|
20034
20034
|
numberOfPositions: number;
|
|
20035
20035
|
jobQualifications: {
|
|
20036
20036
|
id: string;
|
|
@@ -20151,8 +20151,8 @@ export declare const apiContractRouter: {
|
|
|
20151
20151
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
20152
20152
|
rateMax?: number | undefined;
|
|
20153
20153
|
} | undefined;
|
|
20154
|
-
description?: string | undefined;
|
|
20155
20154
|
tradeId?: string | undefined;
|
|
20155
|
+
description?: string | undefined;
|
|
20156
20156
|
location?: {
|
|
20157
20157
|
address?: string | undefined;
|
|
20158
20158
|
postcode?: string | undefined;
|
|
@@ -20174,8 +20174,8 @@ export declare const apiContractRouter: {
|
|
|
20174
20174
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
20175
20175
|
rateMax?: number | undefined;
|
|
20176
20176
|
} | undefined;
|
|
20177
|
-
description?: string | undefined;
|
|
20178
20177
|
tradeId?: string | undefined;
|
|
20178
|
+
description?: string | undefined;
|
|
20179
20179
|
location?: {
|
|
20180
20180
|
address?: string | undefined;
|
|
20181
20181
|
postcode?: string | undefined;
|
|
@@ -20373,8 +20373,8 @@ export declare const apiContractRouter: {
|
|
|
20373
20373
|
receivedRate: number;
|
|
20374
20374
|
rateMax?: number | null | undefined;
|
|
20375
20375
|
};
|
|
20376
|
-
description: string;
|
|
20377
20376
|
tradeId: string;
|
|
20377
|
+
description: string;
|
|
20378
20378
|
numberOfPositions: number;
|
|
20379
20379
|
jobQualifications: {
|
|
20380
20380
|
id: string;
|
|
@@ -20405,8 +20405,8 @@ export declare const apiContractRouter: {
|
|
|
20405
20405
|
receivedRate: number;
|
|
20406
20406
|
rateMax?: number | null | undefined;
|
|
20407
20407
|
};
|
|
20408
|
-
description: string;
|
|
20409
20408
|
tradeId: string;
|
|
20409
|
+
description: string;
|
|
20410
20410
|
numberOfPositions: number;
|
|
20411
20411
|
jobQualifications: {
|
|
20412
20412
|
id: string;
|
|
@@ -22101,8 +22101,8 @@ export declare const apiContractRouter: {
|
|
|
22101
22101
|
}, "strip", import("zod").ZodTypeAny, {
|
|
22102
22102
|
createdAt: string;
|
|
22103
22103
|
updatedAt: string;
|
|
22104
|
-
id: string;
|
|
22105
22104
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22105
|
+
id: string;
|
|
22106
22106
|
address?: string | null | undefined;
|
|
22107
22107
|
postcode?: string | undefined;
|
|
22108
22108
|
county?: string | null | undefined;
|
|
@@ -22115,8 +22115,8 @@ export declare const apiContractRouter: {
|
|
|
22115
22115
|
}, {
|
|
22116
22116
|
createdAt: string | Date;
|
|
22117
22117
|
updatedAt: string | Date;
|
|
22118
|
-
id: string;
|
|
22119
22118
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22119
|
+
id: string;
|
|
22120
22120
|
address?: string | null | undefined;
|
|
22121
22121
|
postcode?: string | undefined;
|
|
22122
22122
|
county?: string | null | undefined;
|
|
@@ -22265,8 +22265,8 @@ export declare const apiContractRouter: {
|
|
|
22265
22265
|
}, "strip", import("zod").ZodTypeAny, {
|
|
22266
22266
|
createdAt: string;
|
|
22267
22267
|
updatedAt: string;
|
|
22268
|
-
id: string;
|
|
22269
22268
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22269
|
+
id: string;
|
|
22270
22270
|
address?: string | null | undefined;
|
|
22271
22271
|
postcode?: string | undefined;
|
|
22272
22272
|
county?: string | null | undefined;
|
|
@@ -22279,8 +22279,8 @@ export declare const apiContractRouter: {
|
|
|
22279
22279
|
}, {
|
|
22280
22280
|
createdAt: string | Date;
|
|
22281
22281
|
updatedAt: string | Date;
|
|
22282
|
-
id: string;
|
|
22283
22282
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22283
|
+
id: string;
|
|
22284
22284
|
address?: string | null | undefined;
|
|
22285
22285
|
postcode?: string | undefined;
|
|
22286
22286
|
county?: string | null | undefined;
|
|
@@ -22301,8 +22301,8 @@ export declare const apiContractRouter: {
|
|
|
22301
22301
|
items: {
|
|
22302
22302
|
createdAt: string;
|
|
22303
22303
|
updatedAt: string;
|
|
22304
|
-
id: string;
|
|
22305
22304
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22305
|
+
id: string;
|
|
22306
22306
|
address?: string | null | undefined;
|
|
22307
22307
|
postcode?: string | undefined;
|
|
22308
22308
|
county?: string | null | undefined;
|
|
@@ -22322,8 +22322,8 @@ export declare const apiContractRouter: {
|
|
|
22322
22322
|
items: {
|
|
22323
22323
|
createdAt: string | Date;
|
|
22324
22324
|
updatedAt: string | Date;
|
|
22325
|
-
id: string;
|
|
22326
22325
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22326
|
+
id: string;
|
|
22327
22327
|
address?: string | null | undefined;
|
|
22328
22328
|
postcode?: string | undefined;
|
|
22329
22329
|
county?: string | null | undefined;
|
|
@@ -22473,8 +22473,8 @@ export declare const apiContractRouter: {
|
|
|
22473
22473
|
}, "strip", import("zod").ZodTypeAny, {
|
|
22474
22474
|
createdAt: string;
|
|
22475
22475
|
updatedAt: string;
|
|
22476
|
-
id: string;
|
|
22477
22476
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22477
|
+
id: string;
|
|
22478
22478
|
address?: string | null | undefined;
|
|
22479
22479
|
postcode?: string | undefined;
|
|
22480
22480
|
county?: string | null | undefined;
|
|
@@ -22487,8 +22487,8 @@ export declare const apiContractRouter: {
|
|
|
22487
22487
|
}, {
|
|
22488
22488
|
createdAt: string | Date;
|
|
22489
22489
|
updatedAt: string | Date;
|
|
22490
|
-
id: string;
|
|
22491
22490
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22491
|
+
id: string;
|
|
22492
22492
|
address?: string | null | undefined;
|
|
22493
22493
|
postcode?: string | undefined;
|
|
22494
22494
|
county?: string | null | undefined;
|
|
@@ -22668,8 +22668,8 @@ export declare const apiContractRouter: {
|
|
|
22668
22668
|
}, "strip", import("zod").ZodTypeAny, {
|
|
22669
22669
|
createdAt: string;
|
|
22670
22670
|
updatedAt: string;
|
|
22671
|
-
id: string;
|
|
22672
22671
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22672
|
+
id: string;
|
|
22673
22673
|
address?: string | null | undefined;
|
|
22674
22674
|
postcode?: string | undefined;
|
|
22675
22675
|
county?: string | null | undefined;
|
|
@@ -22682,8 +22682,8 @@ export declare const apiContractRouter: {
|
|
|
22682
22682
|
}, {
|
|
22683
22683
|
createdAt: string | Date;
|
|
22684
22684
|
updatedAt: string | Date;
|
|
22685
|
-
id: string;
|
|
22686
22685
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
22686
|
+
id: string;
|
|
22687
22687
|
address?: string | null | undefined;
|
|
22688
22688
|
postcode?: string | undefined;
|
|
22689
22689
|
county?: string | null | undefined;
|
|
@@ -22989,11 +22989,11 @@ export declare const apiContractRouter: {
|
|
|
22989
22989
|
id: import("zod").ZodString;
|
|
22990
22990
|
code: import("zod").ZodString;
|
|
22991
22991
|
}, "strip", import("zod").ZodTypeAny, {
|
|
22992
|
-
id: string;
|
|
22993
22992
|
code: string;
|
|
22994
|
-
}, {
|
|
22995
22993
|
id: string;
|
|
22994
|
+
}, {
|
|
22996
22995
|
code: string;
|
|
22996
|
+
id: string;
|
|
22997
22997
|
}>, "many">;
|
|
22998
22998
|
};
|
|
22999
22999
|
};
|
|
@@ -25332,14 +25332,14 @@ export declare const apiContractRouter: {
|
|
|
25332
25332
|
firstName?: string | undefined;
|
|
25333
25333
|
lastName?: string | undefined;
|
|
25334
25334
|
phone?: string | undefined;
|
|
25335
|
-
roles?: ("
|
|
25335
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
25336
25336
|
}, {
|
|
25337
25337
|
id: string;
|
|
25338
25338
|
email: string;
|
|
25339
25339
|
firstName?: string | undefined;
|
|
25340
25340
|
lastName?: string | undefined;
|
|
25341
25341
|
phone?: string | undefined;
|
|
25342
|
-
roles?: ("
|
|
25342
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
25343
25343
|
}>;
|
|
25344
25344
|
401: import("zod").ZodObject<{
|
|
25345
25345
|
statusCode: import("zod").ZodNumber;
|
|
@@ -28819,7 +28819,7 @@ export declare const apiContractRouter: {
|
|
|
28819
28819
|
lastName: string;
|
|
28820
28820
|
email: string;
|
|
28821
28821
|
phone: string;
|
|
28822
|
-
roles?: ("
|
|
28822
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28823
28823
|
}, {
|
|
28824
28824
|
createdAt: string | Date;
|
|
28825
28825
|
updatedAt: string | Date;
|
|
@@ -28828,7 +28828,7 @@ export declare const apiContractRouter: {
|
|
|
28828
28828
|
lastName: string;
|
|
28829
28829
|
email: string;
|
|
28830
28830
|
phone: string;
|
|
28831
|
-
roles?: ("
|
|
28831
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28832
28832
|
}>>;
|
|
28833
28833
|
assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
28834
28834
|
assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -28852,7 +28852,7 @@ export declare const apiContractRouter: {
|
|
|
28852
28852
|
lastName: string;
|
|
28853
28853
|
email: string;
|
|
28854
28854
|
phone: string;
|
|
28855
|
-
roles?: ("
|
|
28855
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28856
28856
|
} | undefined;
|
|
28857
28857
|
lead?: {
|
|
28858
28858
|
name: string;
|
|
@@ -28875,7 +28875,7 @@ export declare const apiContractRouter: {
|
|
|
28875
28875
|
lastName: string;
|
|
28876
28876
|
email: string;
|
|
28877
28877
|
phone: string;
|
|
28878
|
-
roles?: ("
|
|
28878
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28879
28879
|
} | undefined;
|
|
28880
28880
|
lead?: {
|
|
28881
28881
|
name: string;
|
|
@@ -28913,7 +28913,7 @@ export declare const apiContractRouter: {
|
|
|
28913
28913
|
lastName: string;
|
|
28914
28914
|
email: string;
|
|
28915
28915
|
phone: string;
|
|
28916
|
-
roles?: ("
|
|
28916
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28917
28917
|
}, {
|
|
28918
28918
|
createdAt: string | Date;
|
|
28919
28919
|
updatedAt: string | Date;
|
|
@@ -28922,7 +28922,7 @@ export declare const apiContractRouter: {
|
|
|
28922
28922
|
lastName: string;
|
|
28923
28923
|
email: string;
|
|
28924
28924
|
phone: string;
|
|
28925
|
-
roles?: ("
|
|
28925
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28926
28926
|
}>>;
|
|
28927
28927
|
assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
28928
28928
|
assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -28946,7 +28946,7 @@ export declare const apiContractRouter: {
|
|
|
28946
28946
|
lastName: string;
|
|
28947
28947
|
email: string;
|
|
28948
28948
|
phone: string;
|
|
28949
|
-
roles?: ("
|
|
28949
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28950
28950
|
} | undefined;
|
|
28951
28951
|
lead?: {
|
|
28952
28952
|
name: string;
|
|
@@ -28969,7 +28969,7 @@ export declare const apiContractRouter: {
|
|
|
28969
28969
|
lastName: string;
|
|
28970
28970
|
email: string;
|
|
28971
28971
|
phone: string;
|
|
28972
|
-
roles?: ("
|
|
28972
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28973
28973
|
} | undefined;
|
|
28974
28974
|
lead?: {
|
|
28975
28975
|
name: string;
|
|
@@ -28994,7 +28994,7 @@ export declare const apiContractRouter: {
|
|
|
28994
28994
|
lastName: string;
|
|
28995
28995
|
email: string;
|
|
28996
28996
|
phone: string;
|
|
28997
|
-
roles?: ("
|
|
28997
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
28998
28998
|
} | undefined;
|
|
28999
28999
|
lead?: {
|
|
29000
29000
|
name: string;
|
|
@@ -29018,7 +29018,7 @@ export declare const apiContractRouter: {
|
|
|
29018
29018
|
lastName: string;
|
|
29019
29019
|
email: string;
|
|
29020
29020
|
phone: string;
|
|
29021
|
-
roles?: ("
|
|
29021
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29022
29022
|
} | undefined;
|
|
29023
29023
|
lead?: {
|
|
29024
29024
|
name: string;
|
|
@@ -29043,7 +29043,7 @@ export declare const apiContractRouter: {
|
|
|
29043
29043
|
lastName: string;
|
|
29044
29044
|
email: string;
|
|
29045
29045
|
phone: string;
|
|
29046
|
-
roles?: ("
|
|
29046
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29047
29047
|
} | undefined;
|
|
29048
29048
|
lead?: {
|
|
29049
29049
|
name: string;
|
|
@@ -29067,7 +29067,7 @@ export declare const apiContractRouter: {
|
|
|
29067
29067
|
lastName: string;
|
|
29068
29068
|
email: string;
|
|
29069
29069
|
phone: string;
|
|
29070
|
-
roles?: ("
|
|
29070
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29071
29071
|
} | undefined;
|
|
29072
29072
|
lead?: {
|
|
29073
29073
|
name: string;
|
|
@@ -29241,7 +29241,7 @@ export declare const apiContractRouter: {
|
|
|
29241
29241
|
lastName: string;
|
|
29242
29242
|
email: string;
|
|
29243
29243
|
phone: string;
|
|
29244
|
-
roles?: ("
|
|
29244
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29245
29245
|
}, {
|
|
29246
29246
|
createdAt: string | Date;
|
|
29247
29247
|
updatedAt: string | Date;
|
|
@@ -29250,7 +29250,7 @@ export declare const apiContractRouter: {
|
|
|
29250
29250
|
lastName: string;
|
|
29251
29251
|
email: string;
|
|
29252
29252
|
phone: string;
|
|
29253
|
-
roles?: ("
|
|
29253
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29254
29254
|
}>>;
|
|
29255
29255
|
assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
29256
29256
|
assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -29274,7 +29274,7 @@ export declare const apiContractRouter: {
|
|
|
29274
29274
|
lastName: string;
|
|
29275
29275
|
email: string;
|
|
29276
29276
|
phone: string;
|
|
29277
|
-
roles?: ("
|
|
29277
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29278
29278
|
} | undefined;
|
|
29279
29279
|
lead?: {
|
|
29280
29280
|
name: string;
|
|
@@ -29297,7 +29297,7 @@ export declare const apiContractRouter: {
|
|
|
29297
29297
|
lastName: string;
|
|
29298
29298
|
email: string;
|
|
29299
29299
|
phone: string;
|
|
29300
|
-
roles?: ("
|
|
29300
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29301
29301
|
} | undefined;
|
|
29302
29302
|
lead?: {
|
|
29303
29303
|
name: string;
|
|
@@ -29453,7 +29453,7 @@ export declare const apiContractRouter: {
|
|
|
29453
29453
|
lastName: string;
|
|
29454
29454
|
email: string;
|
|
29455
29455
|
phone: string;
|
|
29456
|
-
roles?: ("
|
|
29456
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29457
29457
|
}, {
|
|
29458
29458
|
createdAt: string | Date;
|
|
29459
29459
|
updatedAt: string | Date;
|
|
@@ -29462,7 +29462,7 @@ export declare const apiContractRouter: {
|
|
|
29462
29462
|
lastName: string;
|
|
29463
29463
|
email: string;
|
|
29464
29464
|
phone: string;
|
|
29465
|
-
roles?: ("
|
|
29465
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29466
29466
|
}>>;
|
|
29467
29467
|
assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
29468
29468
|
assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -29486,7 +29486,7 @@ export declare const apiContractRouter: {
|
|
|
29486
29486
|
lastName: string;
|
|
29487
29487
|
email: string;
|
|
29488
29488
|
phone: string;
|
|
29489
|
-
roles?: ("
|
|
29489
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29490
29490
|
} | undefined;
|
|
29491
29491
|
lead?: {
|
|
29492
29492
|
name: string;
|
|
@@ -29509,7 +29509,7 @@ export declare const apiContractRouter: {
|
|
|
29509
29509
|
lastName: string;
|
|
29510
29510
|
email: string;
|
|
29511
29511
|
phone: string;
|
|
29512
|
-
roles?: ("
|
|
29512
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29513
29513
|
} | undefined;
|
|
29514
29514
|
lead?: {
|
|
29515
29515
|
name: string;
|
|
@@ -29689,7 +29689,7 @@ export declare const apiContractRouter: {
|
|
|
29689
29689
|
lastName: string;
|
|
29690
29690
|
email: string;
|
|
29691
29691
|
phone: string;
|
|
29692
|
-
roles?: ("
|
|
29692
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29693
29693
|
}, {
|
|
29694
29694
|
createdAt: string | Date;
|
|
29695
29695
|
updatedAt: string | Date;
|
|
@@ -29698,7 +29698,7 @@ export declare const apiContractRouter: {
|
|
|
29698
29698
|
lastName: string;
|
|
29699
29699
|
email: string;
|
|
29700
29700
|
phone: string;
|
|
29701
|
-
roles?: ("
|
|
29701
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29702
29702
|
}>>;
|
|
29703
29703
|
assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
29704
29704
|
assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -29722,7 +29722,7 @@ export declare const apiContractRouter: {
|
|
|
29722
29722
|
lastName: string;
|
|
29723
29723
|
email: string;
|
|
29724
29724
|
phone: string;
|
|
29725
|
-
roles?: ("
|
|
29725
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29726
29726
|
} | undefined;
|
|
29727
29727
|
lead?: {
|
|
29728
29728
|
name: string;
|
|
@@ -29745,7 +29745,7 @@ export declare const apiContractRouter: {
|
|
|
29745
29745
|
lastName: string;
|
|
29746
29746
|
email: string;
|
|
29747
29747
|
phone: string;
|
|
29748
|
-
roles?: ("
|
|
29748
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
29749
29749
|
} | undefined;
|
|
29750
29750
|
lead?: {
|
|
29751
29751
|
name: string;
|
|
@@ -30164,7 +30164,7 @@ export declare const apiContractRouter: {
|
|
|
30164
30164
|
lastName: string;
|
|
30165
30165
|
email: string;
|
|
30166
30166
|
phone: string;
|
|
30167
|
-
roles?: ("
|
|
30167
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30168
30168
|
}, {
|
|
30169
30169
|
createdAt: string | Date;
|
|
30170
30170
|
updatedAt: string | Date;
|
|
@@ -30173,7 +30173,7 @@ export declare const apiContractRouter: {
|
|
|
30173
30173
|
lastName: string;
|
|
30174
30174
|
email: string;
|
|
30175
30175
|
phone: string;
|
|
30176
|
-
roles?: ("
|
|
30176
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30177
30177
|
}>;
|
|
30178
30178
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30179
30179
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -30187,7 +30187,7 @@ export declare const apiContractRouter: {
|
|
|
30187
30187
|
lastName: string;
|
|
30188
30188
|
email: string;
|
|
30189
30189
|
phone: string;
|
|
30190
|
-
roles?: ("
|
|
30190
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30191
30191
|
};
|
|
30192
30192
|
leadDistributionConfigId?: string | null | undefined;
|
|
30193
30193
|
}, {
|
|
@@ -30202,7 +30202,7 @@ export declare const apiContractRouter: {
|
|
|
30202
30202
|
lastName: string;
|
|
30203
30203
|
email: string;
|
|
30204
30204
|
phone: string;
|
|
30205
|
-
roles?: ("
|
|
30205
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30206
30206
|
};
|
|
30207
30207
|
leadDistributionConfigId?: string | null | undefined;
|
|
30208
30208
|
}>, "many">;
|
|
@@ -30225,7 +30225,7 @@ export declare const apiContractRouter: {
|
|
|
30225
30225
|
lastName: string;
|
|
30226
30226
|
email: string;
|
|
30227
30227
|
phone: string;
|
|
30228
|
-
roles?: ("
|
|
30228
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30229
30229
|
};
|
|
30230
30230
|
leadDistributionConfigId?: string | null | undefined;
|
|
30231
30231
|
}[];
|
|
@@ -30247,7 +30247,7 @@ export declare const apiContractRouter: {
|
|
|
30247
30247
|
lastName: string;
|
|
30248
30248
|
email: string;
|
|
30249
30249
|
phone: string;
|
|
30250
|
-
roles?: ("
|
|
30250
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30251
30251
|
};
|
|
30252
30252
|
leadDistributionConfigId?: string | null | undefined;
|
|
30253
30253
|
}[];
|
|
@@ -30396,7 +30396,7 @@ export declare const apiContractRouter: {
|
|
|
30396
30396
|
lastName: string;
|
|
30397
30397
|
email: string;
|
|
30398
30398
|
phone: string;
|
|
30399
|
-
roles?: ("
|
|
30399
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30400
30400
|
}, {
|
|
30401
30401
|
createdAt: string | Date;
|
|
30402
30402
|
updatedAt: string | Date;
|
|
@@ -30405,7 +30405,7 @@ export declare const apiContractRouter: {
|
|
|
30405
30405
|
lastName: string;
|
|
30406
30406
|
email: string;
|
|
30407
30407
|
phone: string;
|
|
30408
|
-
roles?: ("
|
|
30408
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30409
30409
|
}>;
|
|
30410
30410
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30411
30411
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -30419,7 +30419,7 @@ export declare const apiContractRouter: {
|
|
|
30419
30419
|
lastName: string;
|
|
30420
30420
|
email: string;
|
|
30421
30421
|
phone: string;
|
|
30422
|
-
roles?: ("
|
|
30422
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30423
30423
|
};
|
|
30424
30424
|
leadDistributionConfigId?: string | null | undefined;
|
|
30425
30425
|
}, {
|
|
@@ -30434,7 +30434,7 @@ export declare const apiContractRouter: {
|
|
|
30434
30434
|
lastName: string;
|
|
30435
30435
|
email: string;
|
|
30436
30436
|
phone: string;
|
|
30437
|
-
roles?: ("
|
|
30437
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30438
30438
|
};
|
|
30439
30439
|
leadDistributionConfigId?: string | null | undefined;
|
|
30440
30440
|
}>;
|