@dakkitor/api-contracts 1.1.86 → 1.1.87
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/abilities/first-agent.abilities.json +2 -1
- package/dist/abilities/second-agent.abilities.json +4 -2
- package/dist/actives/actives.contract.d.ts +6261 -6217
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +27 -8
- package/dist/bookings/bookings.contract.d.ts +2989 -2989
- package/dist/jobs/jobs.contract.d.ts +1170 -41
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +44 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
/**
|
|
3
3
|
* Job Status Enum
|
|
4
4
|
*/
|
|
5
|
-
export declare const JobStatusSchema: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
5
|
+
export declare const JobStatusSchema: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>;
|
|
6
6
|
/**
|
|
7
7
|
* Job Sortable Fields Enum
|
|
8
8
|
*/
|
|
@@ -82,7 +82,7 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
82
82
|
description: z.ZodString;
|
|
83
83
|
numberOfPositions: z.ZodNumber;
|
|
84
84
|
workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
85
|
-
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
85
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>;
|
|
86
86
|
pay: z.ZodObject<{
|
|
87
87
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
88
88
|
rate: z.ZodNumber;
|
|
@@ -668,7 +668,7 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
669
|
description: string;
|
|
670
670
|
numberOfPositions: number;
|
|
671
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
671
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
672
672
|
createdAt: string;
|
|
673
673
|
updatedAt: string;
|
|
674
674
|
id: string;
|
|
@@ -787,7 +787,7 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
787
787
|
}, {
|
|
788
788
|
description: string;
|
|
789
789
|
numberOfPositions: number;
|
|
790
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
790
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
791
791
|
createdAt: string | Date;
|
|
792
792
|
updatedAt: string | Date;
|
|
793
793
|
id: string;
|
|
@@ -955,11 +955,11 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
955
955
|
qualificationId: string;
|
|
956
956
|
qualificationTypeId?: string | null | undefined;
|
|
957
957
|
}>, "many">>;
|
|
958
|
-
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
958
|
+
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>>;
|
|
959
959
|
}, "strip", z.ZodTypeAny, {
|
|
960
960
|
description: string;
|
|
961
961
|
numberOfPositions: number;
|
|
962
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
962
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
963
963
|
workHours: number;
|
|
964
964
|
pay: {
|
|
965
965
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -992,7 +992,90 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
992
992
|
currentCollaboration: {
|
|
993
993
|
id: string;
|
|
994
994
|
};
|
|
995
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
995
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | undefined;
|
|
996
|
+
workHours?: number | undefined;
|
|
997
|
+
location?: {
|
|
998
|
+
address?: string | null | undefined;
|
|
999
|
+
postcode?: string | null | undefined;
|
|
1000
|
+
} | undefined;
|
|
1001
|
+
jobQualifications?: {
|
|
1002
|
+
qualificationId: string;
|
|
1003
|
+
qualificationTypeId?: string | null | undefined;
|
|
1004
|
+
}[] | undefined;
|
|
1005
|
+
}>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Create Draft Job Schema - For bot-created jobs without collaboration
|
|
1008
|
+
*/
|
|
1009
|
+
export declare const CreateDraftJobSchema: z.ZodObject<{
|
|
1010
|
+
description: z.ZodString;
|
|
1011
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
1012
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1013
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1014
|
+
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
address?: string | null | undefined;
|
|
1016
|
+
postcode?: string | null | undefined;
|
|
1017
|
+
}, {
|
|
1018
|
+
address?: string | null | undefined;
|
|
1019
|
+
postcode?: string | null | undefined;
|
|
1020
|
+
}>>;
|
|
1021
|
+
numberOfPositions: z.ZodNumber;
|
|
1022
|
+
workHours: z.ZodDefault<z.ZodNumber>;
|
|
1023
|
+
pay: z.ZodObject<{
|
|
1024
|
+
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
1025
|
+
rate: z.ZodNumber;
|
|
1026
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1027
|
+
receivedRate: z.ZodNumber;
|
|
1028
|
+
}, "strip", z.ZodTypeAny, {
|
|
1029
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1030
|
+
rate: number;
|
|
1031
|
+
receivedRate: number;
|
|
1032
|
+
rateMax?: number | null | undefined;
|
|
1033
|
+
}, {
|
|
1034
|
+
rate: number;
|
|
1035
|
+
receivedRate: number;
|
|
1036
|
+
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
1037
|
+
rateMax?: number | null | undefined;
|
|
1038
|
+
}>;
|
|
1039
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
1040
|
+
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1041
|
+
qualificationId: z.ZodString;
|
|
1042
|
+
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1043
|
+
}, "strip", z.ZodTypeAny, {
|
|
1044
|
+
qualificationId: string;
|
|
1045
|
+
qualificationTypeId?: string | null | undefined;
|
|
1046
|
+
}, {
|
|
1047
|
+
qualificationId: string;
|
|
1048
|
+
qualificationTypeId?: string | null | undefined;
|
|
1049
|
+
}>, "many">>;
|
|
1050
|
+
}, "strip", z.ZodTypeAny, {
|
|
1051
|
+
description: string;
|
|
1052
|
+
numberOfPositions: number;
|
|
1053
|
+
workHours: number;
|
|
1054
|
+
pay: {
|
|
1055
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1056
|
+
rate: number;
|
|
1057
|
+
receivedRate: number;
|
|
1058
|
+
rateMax?: number | null | undefined;
|
|
1059
|
+
};
|
|
1060
|
+
tradeId: string;
|
|
1061
|
+
location?: {
|
|
1062
|
+
address?: string | null | undefined;
|
|
1063
|
+
postcode?: string | null | undefined;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
jobQualifications?: {
|
|
1066
|
+
qualificationId: string;
|
|
1067
|
+
qualificationTypeId?: string | null | undefined;
|
|
1068
|
+
}[] | undefined;
|
|
1069
|
+
}, {
|
|
1070
|
+
description: string;
|
|
1071
|
+
numberOfPositions: number;
|
|
1072
|
+
pay: {
|
|
1073
|
+
rate: number;
|
|
1074
|
+
receivedRate: number;
|
|
1075
|
+
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
1076
|
+
rateMax?: number | null | undefined;
|
|
1077
|
+
};
|
|
1078
|
+
tradeId: string;
|
|
996
1079
|
workHours?: number | undefined;
|
|
997
1080
|
location?: {
|
|
998
1081
|
address?: string | null | undefined;
|
|
@@ -1054,11 +1137,11 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
1054
1137
|
qualificationId: string;
|
|
1055
1138
|
qualificationTypeId?: string | null | undefined;
|
|
1056
1139
|
}>, "many">>;
|
|
1057
|
-
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
1140
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>>;
|
|
1058
1141
|
}, "strip", z.ZodTypeAny, {
|
|
1059
1142
|
description?: string | undefined;
|
|
1060
1143
|
numberOfPositions?: number | undefined;
|
|
1061
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
1144
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | undefined;
|
|
1062
1145
|
workHours?: number | undefined;
|
|
1063
1146
|
pay?: {
|
|
1064
1147
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -1081,7 +1164,7 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
1081
1164
|
}, {
|
|
1082
1165
|
description?: string | undefined;
|
|
1083
1166
|
numberOfPositions?: number | undefined;
|
|
1084
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
1167
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | undefined;
|
|
1085
1168
|
workHours?: number | undefined;
|
|
1086
1169
|
pay?: {
|
|
1087
1170
|
rate: number;
|
|
@@ -1130,7 +1213,7 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1130
1213
|
qualificationId?: string | undefined;
|
|
1131
1214
|
qualificationTypeId?: string | undefined;
|
|
1132
1215
|
}>, "many">>;
|
|
1133
|
-
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>>;
|
|
1216
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>>>;
|
|
1134
1217
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1135
1218
|
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1136
1219
|
companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1159,7 +1242,7 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1159
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1160
1243
|
limit: number;
|
|
1161
1244
|
page: number;
|
|
1162
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1245
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | null | undefined;
|
|
1163
1246
|
createdAt?: {
|
|
1164
1247
|
from?: string | null | undefined;
|
|
1165
1248
|
to?: string | null | undefined;
|
|
@@ -1183,7 +1266,7 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1183
1266
|
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1184
1267
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1185
1268
|
}, {
|
|
1186
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1269
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | null | undefined;
|
|
1187
1270
|
createdAt?: {
|
|
1188
1271
|
from?: string | null | undefined;
|
|
1189
1272
|
to?: string | null | undefined;
|
|
@@ -1215,7 +1298,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1215
1298
|
description: z.ZodString;
|
|
1216
1299
|
numberOfPositions: z.ZodNumber;
|
|
1217
1300
|
workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1218
|
-
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
1301
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>;
|
|
1219
1302
|
pay: z.ZodObject<{
|
|
1220
1303
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
1221
1304
|
rate: z.ZodNumber;
|
|
@@ -1801,7 +1884,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1801
1884
|
}, "strip", z.ZodTypeAny, {
|
|
1802
1885
|
description: string;
|
|
1803
1886
|
numberOfPositions: number;
|
|
1804
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1887
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
1805
1888
|
createdAt: string;
|
|
1806
1889
|
updatedAt: string;
|
|
1807
1890
|
id: string;
|
|
@@ -1920,7 +2003,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1920
2003
|
}, {
|
|
1921
2004
|
description: string;
|
|
1922
2005
|
numberOfPositions: number;
|
|
1923
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2006
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
1924
2007
|
createdAt: string | Date;
|
|
1925
2008
|
updatedAt: string | Date;
|
|
1926
2009
|
id: string;
|
|
@@ -2047,7 +2130,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2047
2130
|
items: {
|
|
2048
2131
|
description: string;
|
|
2049
2132
|
numberOfPositions: number;
|
|
2050
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2133
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
2051
2134
|
createdAt: string;
|
|
2052
2135
|
updatedAt: string;
|
|
2053
2136
|
id: string;
|
|
@@ -2173,7 +2256,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2173
2256
|
items: {
|
|
2174
2257
|
description: string;
|
|
2175
2258
|
numberOfPositions: number;
|
|
2176
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2259
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
2177
2260
|
createdAt: string | Date;
|
|
2178
2261
|
updatedAt: string | Date;
|
|
2179
2262
|
id: string;
|
|
@@ -2297,6 +2380,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2297
2380
|
}>;
|
|
2298
2381
|
export type Job = z.infer<typeof JobSchema>;
|
|
2299
2382
|
export type CreateJob = z.infer<typeof CreateJobSchema>;
|
|
2383
|
+
export type CreateDraftJob = z.infer<typeof CreateDraftJobSchema>;
|
|
2300
2384
|
export type UpdateJob = z.infer<typeof UpdateJobSchema>;
|
|
2301
2385
|
export type FilterJob = z.infer<typeof FilterJobSchema>;
|
|
2302
2386
|
export type PaginatedJobResponse = z.infer<typeof PaginatedJobResponseSchema>;
|
|
@@ -2358,11 +2442,11 @@ export declare const jobsContractRouter: {
|
|
|
2358
2442
|
qualificationId: string;
|
|
2359
2443
|
qualificationTypeId?: string | null | undefined;
|
|
2360
2444
|
}>, "many">>;
|
|
2361
|
-
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
2445
|
+
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>>;
|
|
2362
2446
|
}, "strip", z.ZodTypeAny, {
|
|
2363
2447
|
description: string;
|
|
2364
2448
|
numberOfPositions: number;
|
|
2365
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2449
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
2366
2450
|
workHours: number;
|
|
2367
2451
|
pay: {
|
|
2368
2452
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -2395,7 +2479,7 @@ export declare const jobsContractRouter: {
|
|
|
2395
2479
|
currentCollaboration: {
|
|
2396
2480
|
id: string;
|
|
2397
2481
|
};
|
|
2398
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
2482
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | undefined;
|
|
2399
2483
|
workHours?: number | undefined;
|
|
2400
2484
|
location?: {
|
|
2401
2485
|
address?: string | null | undefined;
|
|
@@ -2513,7 +2597,1052 @@ export declare const jobsContractRouter: {
|
|
|
2513
2597
|
description: z.ZodString;
|
|
2514
2598
|
numberOfPositions: z.ZodNumber;
|
|
2515
2599
|
workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2516
|
-
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
2600
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>;
|
|
2601
|
+
pay: z.ZodObject<{
|
|
2602
|
+
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
2603
|
+
rate: z.ZodNumber;
|
|
2604
|
+
rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
2605
|
+
receivedRate: z.ZodNumber;
|
|
2606
|
+
}, "strip", z.ZodTypeAny, {
|
|
2607
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2608
|
+
rate: number;
|
|
2609
|
+
receivedRate: number;
|
|
2610
|
+
rateMax?: number | null | undefined;
|
|
2611
|
+
}, {
|
|
2612
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2613
|
+
rate: number;
|
|
2614
|
+
receivedRate: number;
|
|
2615
|
+
rateMax?: number | null | undefined;
|
|
2616
|
+
}>;
|
|
2617
|
+
location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2618
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2619
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2620
|
+
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2621
|
+
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2622
|
+
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2623
|
+
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2624
|
+
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2625
|
+
}, "strip", z.ZodTypeAny, {
|
|
2626
|
+
address?: string | null | undefined;
|
|
2627
|
+
postcode?: string | null | undefined;
|
|
2628
|
+
county?: string | null | undefined;
|
|
2629
|
+
adminDistrict?: string | null | undefined;
|
|
2630
|
+
builtUpArea?: string | null | undefined;
|
|
2631
|
+
postTown?: string | null | undefined;
|
|
2632
|
+
areaCovered?: string | null | undefined;
|
|
2633
|
+
}, {
|
|
2634
|
+
address?: string | null | undefined;
|
|
2635
|
+
postcode?: string | null | undefined;
|
|
2636
|
+
county?: string | null | undefined;
|
|
2637
|
+
adminDistrict?: string | null | undefined;
|
|
2638
|
+
builtUpArea?: string | null | undefined;
|
|
2639
|
+
postTown?: string | null | undefined;
|
|
2640
|
+
areaCovered?: string | null | undefined;
|
|
2641
|
+
}>>>;
|
|
2642
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
2643
|
+
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2644
|
+
id: z.ZodString;
|
|
2645
|
+
qualificationId: z.ZodString;
|
|
2646
|
+
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2647
|
+
}, "strip", z.ZodTypeAny, {
|
|
2648
|
+
id: string;
|
|
2649
|
+
qualificationId: string;
|
|
2650
|
+
qualificationTypeId?: string | null | undefined;
|
|
2651
|
+
}, {
|
|
2652
|
+
id: string;
|
|
2653
|
+
qualificationId: string;
|
|
2654
|
+
qualificationTypeId?: string | null | undefined;
|
|
2655
|
+
}>, "many">>>;
|
|
2656
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2657
|
+
id: z.ZodString;
|
|
2658
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2659
|
+
id: z.ZodString;
|
|
2660
|
+
name: z.ZodString;
|
|
2661
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2662
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2663
|
+
}, "strip", z.ZodTypeAny, {
|
|
2664
|
+
createdAt: string;
|
|
2665
|
+
updatedAt: string;
|
|
2666
|
+
id: string;
|
|
2667
|
+
name: string;
|
|
2668
|
+
}, {
|
|
2669
|
+
createdAt: string | Date;
|
|
2670
|
+
updatedAt: string | Date;
|
|
2671
|
+
id: string;
|
|
2672
|
+
name: string;
|
|
2673
|
+
}>>>;
|
|
2674
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2675
|
+
id: z.ZodString;
|
|
2676
|
+
name: z.ZodString;
|
|
2677
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2678
|
+
govLink: z.ZodString;
|
|
2679
|
+
soleTrader: z.ZodBoolean;
|
|
2680
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2681
|
+
director: z.ZodString;
|
|
2682
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2683
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2684
|
+
id: z.ZodString;
|
|
2685
|
+
firstName: z.ZodString;
|
|
2686
|
+
lastName: z.ZodString;
|
|
2687
|
+
email: z.ZodString;
|
|
2688
|
+
}, "strip", z.ZodTypeAny, {
|
|
2689
|
+
id: string;
|
|
2690
|
+
firstName: string;
|
|
2691
|
+
lastName: string;
|
|
2692
|
+
email: string;
|
|
2693
|
+
}, {
|
|
2694
|
+
id: string;
|
|
2695
|
+
firstName: string;
|
|
2696
|
+
lastName: string;
|
|
2697
|
+
email: string;
|
|
2698
|
+
}>>>;
|
|
2699
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2700
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2701
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2702
|
+
agentId: z.ZodString;
|
|
2703
|
+
}, "strip", z.ZodTypeAny, {
|
|
2704
|
+
agentId: string;
|
|
2705
|
+
}, {
|
|
2706
|
+
agentId: string;
|
|
2707
|
+
}>>>;
|
|
2708
|
+
}, "strip", z.ZodTypeAny, {
|
|
2709
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2710
|
+
createdAt: string;
|
|
2711
|
+
updatedAt: string;
|
|
2712
|
+
id: string;
|
|
2713
|
+
name: string;
|
|
2714
|
+
crn: string | null;
|
|
2715
|
+
govLink: string;
|
|
2716
|
+
soleTrader: boolean;
|
|
2717
|
+
director: string;
|
|
2718
|
+
blacklistReason?: string | null | undefined;
|
|
2719
|
+
lastUpdatedBy?: {
|
|
2720
|
+
id: string;
|
|
2721
|
+
firstName: string;
|
|
2722
|
+
lastName: string;
|
|
2723
|
+
email: string;
|
|
2724
|
+
} | null | undefined;
|
|
2725
|
+
agentClientLinks?: {
|
|
2726
|
+
agentId: string;
|
|
2727
|
+
} | null | undefined;
|
|
2728
|
+
}, {
|
|
2729
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2730
|
+
createdAt: string | Date;
|
|
2731
|
+
updatedAt: string | Date;
|
|
2732
|
+
id: string;
|
|
2733
|
+
name: string;
|
|
2734
|
+
crn: string | null;
|
|
2735
|
+
govLink: string;
|
|
2736
|
+
soleTrader: boolean;
|
|
2737
|
+
director: string;
|
|
2738
|
+
blacklistReason?: string | null | undefined;
|
|
2739
|
+
lastUpdatedBy?: {
|
|
2740
|
+
id: string;
|
|
2741
|
+
firstName: string;
|
|
2742
|
+
lastName: string;
|
|
2743
|
+
email: string;
|
|
2744
|
+
} | null | undefined;
|
|
2745
|
+
agentClientLinks?: {
|
|
2746
|
+
agentId: string;
|
|
2747
|
+
} | null | undefined;
|
|
2748
|
+
}>>>;
|
|
2749
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2750
|
+
id: z.ZodString;
|
|
2751
|
+
firstName: z.ZodString;
|
|
2752
|
+
lastName: z.ZodString;
|
|
2753
|
+
email: z.ZodString;
|
|
2754
|
+
phone: z.ZodString;
|
|
2755
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
2756
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
2757
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2758
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2759
|
+
}, "strip", z.ZodTypeAny, {
|
|
2760
|
+
createdAt: string;
|
|
2761
|
+
updatedAt: string;
|
|
2762
|
+
id: string;
|
|
2763
|
+
firstName: string;
|
|
2764
|
+
lastName: string;
|
|
2765
|
+
email: string;
|
|
2766
|
+
phone: string;
|
|
2767
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2768
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2769
|
+
}, {
|
|
2770
|
+
createdAt: string | Date;
|
|
2771
|
+
updatedAt: string | Date;
|
|
2772
|
+
id: string;
|
|
2773
|
+
firstName: string;
|
|
2774
|
+
lastName: string;
|
|
2775
|
+
email: string;
|
|
2776
|
+
phone: string;
|
|
2777
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2778
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2779
|
+
}>>>;
|
|
2780
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
2781
|
+
userId: z.ZodString;
|
|
2782
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2783
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2784
|
+
} & {
|
|
2785
|
+
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2786
|
+
id: z.ZodString;
|
|
2787
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2788
|
+
id: z.ZodString;
|
|
2789
|
+
name: z.ZodString;
|
|
2790
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2791
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2792
|
+
}, "strip", z.ZodTypeAny, {
|
|
2793
|
+
createdAt: string;
|
|
2794
|
+
updatedAt: string;
|
|
2795
|
+
id: string;
|
|
2796
|
+
name: string;
|
|
2797
|
+
}, {
|
|
2798
|
+
createdAt: string | Date;
|
|
2799
|
+
updatedAt: string | Date;
|
|
2800
|
+
id: string;
|
|
2801
|
+
name: string;
|
|
2802
|
+
}>>>;
|
|
2803
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2804
|
+
id: z.ZodString;
|
|
2805
|
+
name: z.ZodString;
|
|
2806
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2807
|
+
govLink: z.ZodString;
|
|
2808
|
+
soleTrader: z.ZodBoolean;
|
|
2809
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2810
|
+
director: z.ZodString;
|
|
2811
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2812
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2813
|
+
id: z.ZodString;
|
|
2814
|
+
firstName: z.ZodString;
|
|
2815
|
+
lastName: z.ZodString;
|
|
2816
|
+
email: z.ZodString;
|
|
2817
|
+
}, "strip", z.ZodTypeAny, {
|
|
2818
|
+
id: string;
|
|
2819
|
+
firstName: string;
|
|
2820
|
+
lastName: string;
|
|
2821
|
+
email: string;
|
|
2822
|
+
}, {
|
|
2823
|
+
id: string;
|
|
2824
|
+
firstName: string;
|
|
2825
|
+
lastName: string;
|
|
2826
|
+
email: string;
|
|
2827
|
+
}>>>;
|
|
2828
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2829
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2830
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2831
|
+
agentId: z.ZodString;
|
|
2832
|
+
}, "strip", z.ZodTypeAny, {
|
|
2833
|
+
agentId: string;
|
|
2834
|
+
}, {
|
|
2835
|
+
agentId: string;
|
|
2836
|
+
}>>>;
|
|
2837
|
+
}, "strip", z.ZodTypeAny, {
|
|
2838
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2839
|
+
createdAt: string;
|
|
2840
|
+
updatedAt: string;
|
|
2841
|
+
id: string;
|
|
2842
|
+
name: string;
|
|
2843
|
+
crn: string | null;
|
|
2844
|
+
govLink: string;
|
|
2845
|
+
soleTrader: boolean;
|
|
2846
|
+
director: string;
|
|
2847
|
+
blacklistReason?: string | null | undefined;
|
|
2848
|
+
lastUpdatedBy?: {
|
|
2849
|
+
id: string;
|
|
2850
|
+
firstName: string;
|
|
2851
|
+
lastName: string;
|
|
2852
|
+
email: string;
|
|
2853
|
+
} | null | undefined;
|
|
2854
|
+
agentClientLinks?: {
|
|
2855
|
+
agentId: string;
|
|
2856
|
+
} | null | undefined;
|
|
2857
|
+
}, {
|
|
2858
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2859
|
+
createdAt: string | Date;
|
|
2860
|
+
updatedAt: string | Date;
|
|
2861
|
+
id: string;
|
|
2862
|
+
name: string;
|
|
2863
|
+
crn: string | null;
|
|
2864
|
+
govLink: string;
|
|
2865
|
+
soleTrader: boolean;
|
|
2866
|
+
director: string;
|
|
2867
|
+
blacklistReason?: string | null | undefined;
|
|
2868
|
+
lastUpdatedBy?: {
|
|
2869
|
+
id: string;
|
|
2870
|
+
firstName: string;
|
|
2871
|
+
lastName: string;
|
|
2872
|
+
email: string;
|
|
2873
|
+
} | null | undefined;
|
|
2874
|
+
agentClientLinks?: {
|
|
2875
|
+
agentId: string;
|
|
2876
|
+
} | null | undefined;
|
|
2877
|
+
}>>>;
|
|
2878
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2879
|
+
id: z.ZodString;
|
|
2880
|
+
firstName: z.ZodString;
|
|
2881
|
+
lastName: z.ZodString;
|
|
2882
|
+
email: z.ZodString;
|
|
2883
|
+
phone: z.ZodString;
|
|
2884
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
2885
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
2886
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2887
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2888
|
+
}, "strip", z.ZodTypeAny, {
|
|
2889
|
+
createdAt: string;
|
|
2890
|
+
updatedAt: string;
|
|
2891
|
+
id: string;
|
|
2892
|
+
firstName: string;
|
|
2893
|
+
lastName: string;
|
|
2894
|
+
email: string;
|
|
2895
|
+
phone: string;
|
|
2896
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2897
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2898
|
+
}, {
|
|
2899
|
+
createdAt: string | Date;
|
|
2900
|
+
updatedAt: string | Date;
|
|
2901
|
+
id: string;
|
|
2902
|
+
firstName: string;
|
|
2903
|
+
lastName: string;
|
|
2904
|
+
email: string;
|
|
2905
|
+
phone: string;
|
|
2906
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2907
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2908
|
+
}>>>;
|
|
2909
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
2910
|
+
userId: z.ZodString;
|
|
2911
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2912
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2913
|
+
}, "strip", z.ZodTypeAny, {
|
|
2914
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2915
|
+
createdAt: string;
|
|
2916
|
+
updatedAt: string;
|
|
2917
|
+
id: string;
|
|
2918
|
+
userId: string;
|
|
2919
|
+
company?: {
|
|
2920
|
+
createdAt: string;
|
|
2921
|
+
updatedAt: string;
|
|
2922
|
+
id: string;
|
|
2923
|
+
name: string;
|
|
2924
|
+
} | null | undefined;
|
|
2925
|
+
client?: {
|
|
2926
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2927
|
+
createdAt: string;
|
|
2928
|
+
updatedAt: string;
|
|
2929
|
+
id: string;
|
|
2930
|
+
name: string;
|
|
2931
|
+
crn: string | null;
|
|
2932
|
+
govLink: string;
|
|
2933
|
+
soleTrader: boolean;
|
|
2934
|
+
director: string;
|
|
2935
|
+
blacklistReason?: string | null | undefined;
|
|
2936
|
+
lastUpdatedBy?: {
|
|
2937
|
+
id: string;
|
|
2938
|
+
firstName: string;
|
|
2939
|
+
lastName: string;
|
|
2940
|
+
email: string;
|
|
2941
|
+
} | null | undefined;
|
|
2942
|
+
agentClientLinks?: {
|
|
2943
|
+
agentId: string;
|
|
2944
|
+
} | null | undefined;
|
|
2945
|
+
} | null | undefined;
|
|
2946
|
+
user?: {
|
|
2947
|
+
createdAt: string;
|
|
2948
|
+
updatedAt: string;
|
|
2949
|
+
id: string;
|
|
2950
|
+
firstName: string;
|
|
2951
|
+
lastName: string;
|
|
2952
|
+
email: string;
|
|
2953
|
+
phone: string;
|
|
2954
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2955
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2956
|
+
} | null | undefined;
|
|
2957
|
+
}, {
|
|
2958
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2959
|
+
createdAt: string | Date;
|
|
2960
|
+
updatedAt: string | Date;
|
|
2961
|
+
id: string;
|
|
2962
|
+
userId: string;
|
|
2963
|
+
company?: {
|
|
2964
|
+
createdAt: string | Date;
|
|
2965
|
+
updatedAt: string | Date;
|
|
2966
|
+
id: string;
|
|
2967
|
+
name: string;
|
|
2968
|
+
} | null | undefined;
|
|
2969
|
+
client?: {
|
|
2970
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2971
|
+
createdAt: string | Date;
|
|
2972
|
+
updatedAt: string | Date;
|
|
2973
|
+
id: string;
|
|
2974
|
+
name: string;
|
|
2975
|
+
crn: string | null;
|
|
2976
|
+
govLink: string;
|
|
2977
|
+
soleTrader: boolean;
|
|
2978
|
+
director: string;
|
|
2979
|
+
blacklistReason?: string | null | undefined;
|
|
2980
|
+
lastUpdatedBy?: {
|
|
2981
|
+
id: string;
|
|
2982
|
+
firstName: string;
|
|
2983
|
+
lastName: string;
|
|
2984
|
+
email: string;
|
|
2985
|
+
} | null | undefined;
|
|
2986
|
+
agentClientLinks?: {
|
|
2987
|
+
agentId: string;
|
|
2988
|
+
} | null | undefined;
|
|
2989
|
+
} | null | undefined;
|
|
2990
|
+
user?: {
|
|
2991
|
+
createdAt: string | Date;
|
|
2992
|
+
updatedAt: string | Date;
|
|
2993
|
+
id: string;
|
|
2994
|
+
firstName: string;
|
|
2995
|
+
lastName: string;
|
|
2996
|
+
email: string;
|
|
2997
|
+
phone: string;
|
|
2998
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2999
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3000
|
+
} | null | undefined;
|
|
3001
|
+
}>>>;
|
|
3002
|
+
}, "strip", z.ZodTypeAny, {
|
|
3003
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3004
|
+
createdAt: string;
|
|
3005
|
+
updatedAt: string;
|
|
3006
|
+
id: string;
|
|
3007
|
+
userId: string;
|
|
3008
|
+
company?: {
|
|
3009
|
+
createdAt: string;
|
|
3010
|
+
updatedAt: string;
|
|
3011
|
+
id: string;
|
|
3012
|
+
name: string;
|
|
3013
|
+
} | null | undefined;
|
|
3014
|
+
client?: {
|
|
3015
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3016
|
+
createdAt: string;
|
|
3017
|
+
updatedAt: string;
|
|
3018
|
+
id: string;
|
|
3019
|
+
name: string;
|
|
3020
|
+
crn: string | null;
|
|
3021
|
+
govLink: string;
|
|
3022
|
+
soleTrader: boolean;
|
|
3023
|
+
director: string;
|
|
3024
|
+
blacklistReason?: string | null | undefined;
|
|
3025
|
+
lastUpdatedBy?: {
|
|
3026
|
+
id: string;
|
|
3027
|
+
firstName: string;
|
|
3028
|
+
lastName: string;
|
|
3029
|
+
email: string;
|
|
3030
|
+
} | null | undefined;
|
|
3031
|
+
agentClientLinks?: {
|
|
3032
|
+
agentId: string;
|
|
3033
|
+
} | null | undefined;
|
|
3034
|
+
} | null | undefined;
|
|
3035
|
+
user?: {
|
|
3036
|
+
createdAt: string;
|
|
3037
|
+
updatedAt: string;
|
|
3038
|
+
id: string;
|
|
3039
|
+
firstName: string;
|
|
3040
|
+
lastName: string;
|
|
3041
|
+
email: string;
|
|
3042
|
+
phone: string;
|
|
3043
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3044
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3045
|
+
} | null | undefined;
|
|
3046
|
+
newCollaboration?: {
|
|
3047
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3048
|
+
createdAt: string;
|
|
3049
|
+
updatedAt: string;
|
|
3050
|
+
id: string;
|
|
3051
|
+
userId: string;
|
|
3052
|
+
company?: {
|
|
3053
|
+
createdAt: string;
|
|
3054
|
+
updatedAt: string;
|
|
3055
|
+
id: string;
|
|
3056
|
+
name: string;
|
|
3057
|
+
} | null | undefined;
|
|
3058
|
+
client?: {
|
|
3059
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3060
|
+
createdAt: string;
|
|
3061
|
+
updatedAt: string;
|
|
3062
|
+
id: string;
|
|
3063
|
+
name: string;
|
|
3064
|
+
crn: string | null;
|
|
3065
|
+
govLink: string;
|
|
3066
|
+
soleTrader: boolean;
|
|
3067
|
+
director: string;
|
|
3068
|
+
blacklistReason?: string | null | undefined;
|
|
3069
|
+
lastUpdatedBy?: {
|
|
3070
|
+
id: string;
|
|
3071
|
+
firstName: string;
|
|
3072
|
+
lastName: string;
|
|
3073
|
+
email: string;
|
|
3074
|
+
} | null | undefined;
|
|
3075
|
+
agentClientLinks?: {
|
|
3076
|
+
agentId: string;
|
|
3077
|
+
} | null | undefined;
|
|
3078
|
+
} | null | undefined;
|
|
3079
|
+
user?: {
|
|
3080
|
+
createdAt: string;
|
|
3081
|
+
updatedAt: string;
|
|
3082
|
+
id: string;
|
|
3083
|
+
firstName: string;
|
|
3084
|
+
lastName: string;
|
|
3085
|
+
email: string;
|
|
3086
|
+
phone: string;
|
|
3087
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3088
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3089
|
+
} | null | undefined;
|
|
3090
|
+
} | null | undefined;
|
|
3091
|
+
}, {
|
|
3092
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3093
|
+
createdAt: string | Date;
|
|
3094
|
+
updatedAt: string | Date;
|
|
3095
|
+
id: string;
|
|
3096
|
+
userId: string;
|
|
3097
|
+
company?: {
|
|
3098
|
+
createdAt: string | Date;
|
|
3099
|
+
updatedAt: string | Date;
|
|
3100
|
+
id: string;
|
|
3101
|
+
name: string;
|
|
3102
|
+
} | null | undefined;
|
|
3103
|
+
client?: {
|
|
3104
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3105
|
+
createdAt: string | Date;
|
|
3106
|
+
updatedAt: string | Date;
|
|
3107
|
+
id: string;
|
|
3108
|
+
name: string;
|
|
3109
|
+
crn: string | null;
|
|
3110
|
+
govLink: string;
|
|
3111
|
+
soleTrader: boolean;
|
|
3112
|
+
director: string;
|
|
3113
|
+
blacklistReason?: string | null | undefined;
|
|
3114
|
+
lastUpdatedBy?: {
|
|
3115
|
+
id: string;
|
|
3116
|
+
firstName: string;
|
|
3117
|
+
lastName: string;
|
|
3118
|
+
email: string;
|
|
3119
|
+
} | null | undefined;
|
|
3120
|
+
agentClientLinks?: {
|
|
3121
|
+
agentId: string;
|
|
3122
|
+
} | null | undefined;
|
|
3123
|
+
} | null | undefined;
|
|
3124
|
+
user?: {
|
|
3125
|
+
createdAt: string | Date;
|
|
3126
|
+
updatedAt: string | Date;
|
|
3127
|
+
id: string;
|
|
3128
|
+
firstName: string;
|
|
3129
|
+
lastName: string;
|
|
3130
|
+
email: string;
|
|
3131
|
+
phone: string;
|
|
3132
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3133
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3134
|
+
} | null | undefined;
|
|
3135
|
+
newCollaboration?: {
|
|
3136
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3137
|
+
createdAt: string | Date;
|
|
3138
|
+
updatedAt: string | Date;
|
|
3139
|
+
id: string;
|
|
3140
|
+
userId: string;
|
|
3141
|
+
company?: {
|
|
3142
|
+
createdAt: string | Date;
|
|
3143
|
+
updatedAt: string | Date;
|
|
3144
|
+
id: string;
|
|
3145
|
+
name: string;
|
|
3146
|
+
} | null | undefined;
|
|
3147
|
+
client?: {
|
|
3148
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3149
|
+
createdAt: string | Date;
|
|
3150
|
+
updatedAt: string | Date;
|
|
3151
|
+
id: string;
|
|
3152
|
+
name: string;
|
|
3153
|
+
crn: string | null;
|
|
3154
|
+
govLink: string;
|
|
3155
|
+
soleTrader: boolean;
|
|
3156
|
+
director: string;
|
|
3157
|
+
blacklistReason?: string | null | undefined;
|
|
3158
|
+
lastUpdatedBy?: {
|
|
3159
|
+
id: string;
|
|
3160
|
+
firstName: string;
|
|
3161
|
+
lastName: string;
|
|
3162
|
+
email: string;
|
|
3163
|
+
} | null | undefined;
|
|
3164
|
+
agentClientLinks?: {
|
|
3165
|
+
agentId: string;
|
|
3166
|
+
} | null | undefined;
|
|
3167
|
+
} | null | undefined;
|
|
3168
|
+
user?: {
|
|
3169
|
+
createdAt: string | Date;
|
|
3170
|
+
updatedAt: string | Date;
|
|
3171
|
+
id: string;
|
|
3172
|
+
firstName: string;
|
|
3173
|
+
lastName: string;
|
|
3174
|
+
email: string;
|
|
3175
|
+
phone: string;
|
|
3176
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3177
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3178
|
+
} | null | undefined;
|
|
3179
|
+
} | null | undefined;
|
|
3180
|
+
}>>>;
|
|
3181
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3182
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3183
|
+
}, "strip", z.ZodTypeAny, {
|
|
3184
|
+
description: string;
|
|
3185
|
+
numberOfPositions: number;
|
|
3186
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
3187
|
+
createdAt: string;
|
|
3188
|
+
updatedAt: string;
|
|
3189
|
+
id: string;
|
|
3190
|
+
pay: {
|
|
3191
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3192
|
+
rate: number;
|
|
3193
|
+
receivedRate: number;
|
|
3194
|
+
rateMax?: number | null | undefined;
|
|
3195
|
+
};
|
|
3196
|
+
tradeId: string;
|
|
3197
|
+
jobQualifications: {
|
|
3198
|
+
id: string;
|
|
3199
|
+
qualificationId: string;
|
|
3200
|
+
qualificationTypeId?: string | null | undefined;
|
|
3201
|
+
}[];
|
|
3202
|
+
workHours?: number | null | undefined;
|
|
3203
|
+
location?: {
|
|
3204
|
+
address?: string | null | undefined;
|
|
3205
|
+
postcode?: string | null | undefined;
|
|
3206
|
+
county?: string | null | undefined;
|
|
3207
|
+
adminDistrict?: string | null | undefined;
|
|
3208
|
+
builtUpArea?: string | null | undefined;
|
|
3209
|
+
postTown?: string | null | undefined;
|
|
3210
|
+
areaCovered?: string | null | undefined;
|
|
3211
|
+
} | null | undefined;
|
|
3212
|
+
currentCollaboration?: {
|
|
3213
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3214
|
+
createdAt: string;
|
|
3215
|
+
updatedAt: string;
|
|
3216
|
+
id: string;
|
|
3217
|
+
userId: string;
|
|
3218
|
+
company?: {
|
|
3219
|
+
createdAt: string;
|
|
3220
|
+
updatedAt: string;
|
|
3221
|
+
id: string;
|
|
3222
|
+
name: string;
|
|
3223
|
+
} | null | undefined;
|
|
3224
|
+
client?: {
|
|
3225
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3226
|
+
createdAt: string;
|
|
3227
|
+
updatedAt: string;
|
|
3228
|
+
id: string;
|
|
3229
|
+
name: string;
|
|
3230
|
+
crn: string | null;
|
|
3231
|
+
govLink: string;
|
|
3232
|
+
soleTrader: boolean;
|
|
3233
|
+
director: string;
|
|
3234
|
+
blacklistReason?: string | null | undefined;
|
|
3235
|
+
lastUpdatedBy?: {
|
|
3236
|
+
id: string;
|
|
3237
|
+
firstName: string;
|
|
3238
|
+
lastName: string;
|
|
3239
|
+
email: string;
|
|
3240
|
+
} | null | undefined;
|
|
3241
|
+
agentClientLinks?: {
|
|
3242
|
+
agentId: string;
|
|
3243
|
+
} | null | undefined;
|
|
3244
|
+
} | null | undefined;
|
|
3245
|
+
user?: {
|
|
3246
|
+
createdAt: string;
|
|
3247
|
+
updatedAt: string;
|
|
3248
|
+
id: string;
|
|
3249
|
+
firstName: string;
|
|
3250
|
+
lastName: string;
|
|
3251
|
+
email: string;
|
|
3252
|
+
phone: string;
|
|
3253
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3254
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3255
|
+
} | null | undefined;
|
|
3256
|
+
newCollaboration?: {
|
|
3257
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3258
|
+
createdAt: string;
|
|
3259
|
+
updatedAt: string;
|
|
3260
|
+
id: string;
|
|
3261
|
+
userId: string;
|
|
3262
|
+
company?: {
|
|
3263
|
+
createdAt: string;
|
|
3264
|
+
updatedAt: string;
|
|
3265
|
+
id: string;
|
|
3266
|
+
name: string;
|
|
3267
|
+
} | null | undefined;
|
|
3268
|
+
client?: {
|
|
3269
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3270
|
+
createdAt: string;
|
|
3271
|
+
updatedAt: string;
|
|
3272
|
+
id: string;
|
|
3273
|
+
name: string;
|
|
3274
|
+
crn: string | null;
|
|
3275
|
+
govLink: string;
|
|
3276
|
+
soleTrader: boolean;
|
|
3277
|
+
director: string;
|
|
3278
|
+
blacklistReason?: string | null | undefined;
|
|
3279
|
+
lastUpdatedBy?: {
|
|
3280
|
+
id: string;
|
|
3281
|
+
firstName: string;
|
|
3282
|
+
lastName: string;
|
|
3283
|
+
email: string;
|
|
3284
|
+
} | null | undefined;
|
|
3285
|
+
agentClientLinks?: {
|
|
3286
|
+
agentId: string;
|
|
3287
|
+
} | null | undefined;
|
|
3288
|
+
} | null | undefined;
|
|
3289
|
+
user?: {
|
|
3290
|
+
createdAt: string;
|
|
3291
|
+
updatedAt: string;
|
|
3292
|
+
id: string;
|
|
3293
|
+
firstName: string;
|
|
3294
|
+
lastName: string;
|
|
3295
|
+
email: string;
|
|
3296
|
+
phone: string;
|
|
3297
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3298
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3299
|
+
} | null | undefined;
|
|
3300
|
+
} | null | undefined;
|
|
3301
|
+
} | null | undefined;
|
|
3302
|
+
}, {
|
|
3303
|
+
description: string;
|
|
3304
|
+
numberOfPositions: number;
|
|
3305
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
3306
|
+
createdAt: string | Date;
|
|
3307
|
+
updatedAt: string | Date;
|
|
3308
|
+
id: string;
|
|
3309
|
+
pay: {
|
|
3310
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3311
|
+
rate: number;
|
|
3312
|
+
receivedRate: number;
|
|
3313
|
+
rateMax?: number | null | undefined;
|
|
3314
|
+
};
|
|
3315
|
+
tradeId: string;
|
|
3316
|
+
workHours?: number | null | undefined;
|
|
3317
|
+
location?: {
|
|
3318
|
+
address?: string | null | undefined;
|
|
3319
|
+
postcode?: string | null | undefined;
|
|
3320
|
+
county?: string | null | undefined;
|
|
3321
|
+
adminDistrict?: string | null | undefined;
|
|
3322
|
+
builtUpArea?: string | null | undefined;
|
|
3323
|
+
postTown?: string | null | undefined;
|
|
3324
|
+
areaCovered?: string | null | undefined;
|
|
3325
|
+
} | null | undefined;
|
|
3326
|
+
jobQualifications?: {
|
|
3327
|
+
id: string;
|
|
3328
|
+
qualificationId: string;
|
|
3329
|
+
qualificationTypeId?: string | null | undefined;
|
|
3330
|
+
}[] | undefined;
|
|
3331
|
+
currentCollaboration?: {
|
|
3332
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3333
|
+
createdAt: string | Date;
|
|
3334
|
+
updatedAt: string | Date;
|
|
3335
|
+
id: string;
|
|
3336
|
+
userId: string;
|
|
3337
|
+
company?: {
|
|
3338
|
+
createdAt: string | Date;
|
|
3339
|
+
updatedAt: string | Date;
|
|
3340
|
+
id: string;
|
|
3341
|
+
name: string;
|
|
3342
|
+
} | null | undefined;
|
|
3343
|
+
client?: {
|
|
3344
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3345
|
+
createdAt: string | Date;
|
|
3346
|
+
updatedAt: string | Date;
|
|
3347
|
+
id: string;
|
|
3348
|
+
name: string;
|
|
3349
|
+
crn: string | null;
|
|
3350
|
+
govLink: string;
|
|
3351
|
+
soleTrader: boolean;
|
|
3352
|
+
director: string;
|
|
3353
|
+
blacklistReason?: string | null | undefined;
|
|
3354
|
+
lastUpdatedBy?: {
|
|
3355
|
+
id: string;
|
|
3356
|
+
firstName: string;
|
|
3357
|
+
lastName: string;
|
|
3358
|
+
email: string;
|
|
3359
|
+
} | null | undefined;
|
|
3360
|
+
agentClientLinks?: {
|
|
3361
|
+
agentId: string;
|
|
3362
|
+
} | null | undefined;
|
|
3363
|
+
} | null | undefined;
|
|
3364
|
+
user?: {
|
|
3365
|
+
createdAt: string | Date;
|
|
3366
|
+
updatedAt: string | Date;
|
|
3367
|
+
id: string;
|
|
3368
|
+
firstName: string;
|
|
3369
|
+
lastName: string;
|
|
3370
|
+
email: string;
|
|
3371
|
+
phone: string;
|
|
3372
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3373
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3374
|
+
} | null | undefined;
|
|
3375
|
+
newCollaboration?: {
|
|
3376
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3377
|
+
createdAt: string | Date;
|
|
3378
|
+
updatedAt: string | Date;
|
|
3379
|
+
id: string;
|
|
3380
|
+
userId: string;
|
|
3381
|
+
company?: {
|
|
3382
|
+
createdAt: string | Date;
|
|
3383
|
+
updatedAt: string | Date;
|
|
3384
|
+
id: string;
|
|
3385
|
+
name: string;
|
|
3386
|
+
} | null | undefined;
|
|
3387
|
+
client?: {
|
|
3388
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3389
|
+
createdAt: string | Date;
|
|
3390
|
+
updatedAt: string | Date;
|
|
3391
|
+
id: string;
|
|
3392
|
+
name: string;
|
|
3393
|
+
crn: string | null;
|
|
3394
|
+
govLink: string;
|
|
3395
|
+
soleTrader: boolean;
|
|
3396
|
+
director: string;
|
|
3397
|
+
blacklistReason?: string | null | undefined;
|
|
3398
|
+
lastUpdatedBy?: {
|
|
3399
|
+
id: string;
|
|
3400
|
+
firstName: string;
|
|
3401
|
+
lastName: string;
|
|
3402
|
+
email: string;
|
|
3403
|
+
} | null | undefined;
|
|
3404
|
+
agentClientLinks?: {
|
|
3405
|
+
agentId: string;
|
|
3406
|
+
} | null | undefined;
|
|
3407
|
+
} | null | undefined;
|
|
3408
|
+
user?: {
|
|
3409
|
+
createdAt: string | Date;
|
|
3410
|
+
updatedAt: string | Date;
|
|
3411
|
+
id: string;
|
|
3412
|
+
firstName: string;
|
|
3413
|
+
lastName: string;
|
|
3414
|
+
email: string;
|
|
3415
|
+
phone: string;
|
|
3416
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3417
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
3418
|
+
} | null | undefined;
|
|
3419
|
+
} | null | undefined;
|
|
3420
|
+
} | null | undefined;
|
|
3421
|
+
}>;
|
|
3422
|
+
409: z.ZodObject<{
|
|
3423
|
+
statusCode: z.ZodNumber;
|
|
3424
|
+
message: z.ZodString;
|
|
3425
|
+
code: z.ZodString;
|
|
3426
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
3427
|
+
timestamp: z.ZodString;
|
|
3428
|
+
path: z.ZodString;
|
|
3429
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
3430
|
+
}, "strip", z.ZodTypeAny, {
|
|
3431
|
+
code: string;
|
|
3432
|
+
path: string;
|
|
3433
|
+
message: string;
|
|
3434
|
+
statusCode: number;
|
|
3435
|
+
timestamp: string;
|
|
3436
|
+
details?: unknown;
|
|
3437
|
+
correlationId?: string | undefined;
|
|
3438
|
+
}, {
|
|
3439
|
+
code: string;
|
|
3440
|
+
path: string;
|
|
3441
|
+
message: string;
|
|
3442
|
+
statusCode: number;
|
|
3443
|
+
timestamp: string;
|
|
3444
|
+
details?: unknown;
|
|
3445
|
+
correlationId?: string | undefined;
|
|
3446
|
+
}>;
|
|
3447
|
+
};
|
|
3448
|
+
};
|
|
3449
|
+
createDraft: {
|
|
3450
|
+
metadata: {
|
|
3451
|
+
tags: string[];
|
|
3452
|
+
openApi: {
|
|
3453
|
+
operationId: string;
|
|
3454
|
+
};
|
|
3455
|
+
};
|
|
3456
|
+
summary: "Create a draft job (without collaboration)";
|
|
3457
|
+
method: "POST";
|
|
3458
|
+
body: z.ZodObject<{
|
|
3459
|
+
description: z.ZodString;
|
|
3460
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
3461
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3462
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3463
|
+
}, "strip", z.ZodTypeAny, {
|
|
3464
|
+
address?: string | null | undefined;
|
|
3465
|
+
postcode?: string | null | undefined;
|
|
3466
|
+
}, {
|
|
3467
|
+
address?: string | null | undefined;
|
|
3468
|
+
postcode?: string | null | undefined;
|
|
3469
|
+
}>>;
|
|
3470
|
+
numberOfPositions: z.ZodNumber;
|
|
3471
|
+
workHours: z.ZodDefault<z.ZodNumber>;
|
|
3472
|
+
pay: z.ZodObject<{
|
|
3473
|
+
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
3474
|
+
rate: z.ZodNumber;
|
|
3475
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3476
|
+
receivedRate: z.ZodNumber;
|
|
3477
|
+
}, "strip", z.ZodTypeAny, {
|
|
3478
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3479
|
+
rate: number;
|
|
3480
|
+
receivedRate: number;
|
|
3481
|
+
rateMax?: number | null | undefined;
|
|
3482
|
+
}, {
|
|
3483
|
+
rate: number;
|
|
3484
|
+
receivedRate: number;
|
|
3485
|
+
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
3486
|
+
rateMax?: number | null | undefined;
|
|
3487
|
+
}>;
|
|
3488
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
3489
|
+
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3490
|
+
qualificationId: z.ZodString;
|
|
3491
|
+
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
3492
|
+
}, "strip", z.ZodTypeAny, {
|
|
3493
|
+
qualificationId: string;
|
|
3494
|
+
qualificationTypeId?: string | null | undefined;
|
|
3495
|
+
}, {
|
|
3496
|
+
qualificationId: string;
|
|
3497
|
+
qualificationTypeId?: string | null | undefined;
|
|
3498
|
+
}>, "many">>;
|
|
3499
|
+
}, "strip", z.ZodTypeAny, {
|
|
3500
|
+
description: string;
|
|
3501
|
+
numberOfPositions: number;
|
|
3502
|
+
workHours: number;
|
|
3503
|
+
pay: {
|
|
3504
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
3505
|
+
rate: number;
|
|
3506
|
+
receivedRate: number;
|
|
3507
|
+
rateMax?: number | null | undefined;
|
|
3508
|
+
};
|
|
3509
|
+
tradeId: string;
|
|
3510
|
+
location?: {
|
|
3511
|
+
address?: string | null | undefined;
|
|
3512
|
+
postcode?: string | null | undefined;
|
|
3513
|
+
} | undefined;
|
|
3514
|
+
jobQualifications?: {
|
|
3515
|
+
qualificationId: string;
|
|
3516
|
+
qualificationTypeId?: string | null | undefined;
|
|
3517
|
+
}[] | undefined;
|
|
3518
|
+
}, {
|
|
3519
|
+
description: string;
|
|
3520
|
+
numberOfPositions: number;
|
|
3521
|
+
pay: {
|
|
3522
|
+
rate: number;
|
|
3523
|
+
receivedRate: number;
|
|
3524
|
+
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
3525
|
+
rateMax?: number | null | undefined;
|
|
3526
|
+
};
|
|
3527
|
+
tradeId: string;
|
|
3528
|
+
workHours?: number | undefined;
|
|
3529
|
+
location?: {
|
|
3530
|
+
address?: string | null | undefined;
|
|
3531
|
+
postcode?: string | null | undefined;
|
|
3532
|
+
} | undefined;
|
|
3533
|
+
jobQualifications?: {
|
|
3534
|
+
qualificationId: string;
|
|
3535
|
+
qualificationTypeId?: string | null | undefined;
|
|
3536
|
+
}[] | undefined;
|
|
3537
|
+
}>;
|
|
3538
|
+
path: "/v2/jobs/draft";
|
|
3539
|
+
responses: {
|
|
3540
|
+
400: z.ZodObject<{
|
|
3541
|
+
statusCode: z.ZodNumber;
|
|
3542
|
+
message: z.ZodString;
|
|
3543
|
+
code: z.ZodString;
|
|
3544
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
3545
|
+
timestamp: z.ZodString;
|
|
3546
|
+
path: z.ZodString;
|
|
3547
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
3548
|
+
}, "strip", z.ZodTypeAny, {
|
|
3549
|
+
code: string;
|
|
3550
|
+
path: string;
|
|
3551
|
+
message: string;
|
|
3552
|
+
statusCode: number;
|
|
3553
|
+
timestamp: string;
|
|
3554
|
+
details?: unknown;
|
|
3555
|
+
correlationId?: string | undefined;
|
|
3556
|
+
}, {
|
|
3557
|
+
code: string;
|
|
3558
|
+
path: string;
|
|
3559
|
+
message: string;
|
|
3560
|
+
statusCode: number;
|
|
3561
|
+
timestamp: string;
|
|
3562
|
+
details?: unknown;
|
|
3563
|
+
correlationId?: string | undefined;
|
|
3564
|
+
}>;
|
|
3565
|
+
401: z.ZodObject<{
|
|
3566
|
+
statusCode: z.ZodNumber;
|
|
3567
|
+
message: z.ZodString;
|
|
3568
|
+
code: z.ZodString;
|
|
3569
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
3570
|
+
timestamp: z.ZodString;
|
|
3571
|
+
path: z.ZodString;
|
|
3572
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
3573
|
+
}, "strip", z.ZodTypeAny, {
|
|
3574
|
+
code: string;
|
|
3575
|
+
path: string;
|
|
3576
|
+
message: string;
|
|
3577
|
+
statusCode: number;
|
|
3578
|
+
timestamp: string;
|
|
3579
|
+
details?: unknown;
|
|
3580
|
+
correlationId?: string | undefined;
|
|
3581
|
+
}, {
|
|
3582
|
+
code: string;
|
|
3583
|
+
path: string;
|
|
3584
|
+
message: string;
|
|
3585
|
+
statusCode: number;
|
|
3586
|
+
timestamp: string;
|
|
3587
|
+
details?: unknown;
|
|
3588
|
+
correlationId?: string | undefined;
|
|
3589
|
+
}>;
|
|
3590
|
+
403: z.ZodObject<{
|
|
3591
|
+
statusCode: z.ZodNumber;
|
|
3592
|
+
message: z.ZodString;
|
|
3593
|
+
code: z.ZodString;
|
|
3594
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
3595
|
+
timestamp: z.ZodString;
|
|
3596
|
+
path: z.ZodString;
|
|
3597
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
3598
|
+
}, "strip", z.ZodTypeAny, {
|
|
3599
|
+
code: string;
|
|
3600
|
+
path: string;
|
|
3601
|
+
message: string;
|
|
3602
|
+
statusCode: number;
|
|
3603
|
+
timestamp: string;
|
|
3604
|
+
details?: unknown;
|
|
3605
|
+
correlationId?: string | undefined;
|
|
3606
|
+
}, {
|
|
3607
|
+
code: string;
|
|
3608
|
+
path: string;
|
|
3609
|
+
message: string;
|
|
3610
|
+
statusCode: number;
|
|
3611
|
+
timestamp: string;
|
|
3612
|
+
details?: unknown;
|
|
3613
|
+
correlationId?: string | undefined;
|
|
3614
|
+
}>;
|
|
3615
|
+
500: z.ZodObject<{
|
|
3616
|
+
statusCode: z.ZodNumber;
|
|
3617
|
+
message: z.ZodString;
|
|
3618
|
+
code: z.ZodString;
|
|
3619
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
3620
|
+
timestamp: z.ZodString;
|
|
3621
|
+
path: z.ZodString;
|
|
3622
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
3623
|
+
}, "strip", z.ZodTypeAny, {
|
|
3624
|
+
code: string;
|
|
3625
|
+
path: string;
|
|
3626
|
+
message: string;
|
|
3627
|
+
statusCode: number;
|
|
3628
|
+
timestamp: string;
|
|
3629
|
+
details?: unknown;
|
|
3630
|
+
correlationId?: string | undefined;
|
|
3631
|
+
}, {
|
|
3632
|
+
code: string;
|
|
3633
|
+
path: string;
|
|
3634
|
+
message: string;
|
|
3635
|
+
statusCode: number;
|
|
3636
|
+
timestamp: string;
|
|
3637
|
+
details?: unknown;
|
|
3638
|
+
correlationId?: string | undefined;
|
|
3639
|
+
}>;
|
|
3640
|
+
201: z.ZodObject<{
|
|
3641
|
+
id: z.ZodString;
|
|
3642
|
+
description: z.ZodString;
|
|
3643
|
+
numberOfPositions: z.ZodNumber;
|
|
3644
|
+
workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3645
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>;
|
|
2517
3646
|
pay: z.ZodObject<{
|
|
2518
3647
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
2519
3648
|
rate: z.ZodNumber;
|
|
@@ -3099,7 +4228,7 @@ export declare const jobsContractRouter: {
|
|
|
3099
4228
|
}, "strip", z.ZodTypeAny, {
|
|
3100
4229
|
description: string;
|
|
3101
4230
|
numberOfPositions: number;
|
|
3102
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4231
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
3103
4232
|
createdAt: string;
|
|
3104
4233
|
updatedAt: string;
|
|
3105
4234
|
id: string;
|
|
@@ -3218,7 +4347,7 @@ export declare const jobsContractRouter: {
|
|
|
3218
4347
|
}, {
|
|
3219
4348
|
description: string;
|
|
3220
4349
|
numberOfPositions: number;
|
|
3221
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4350
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
3222
4351
|
createdAt: string | Date;
|
|
3223
4352
|
updatedAt: string | Date;
|
|
3224
4353
|
id: string;
|
|
@@ -3394,7 +4523,7 @@ export declare const jobsContractRouter: {
|
|
|
3394
4523
|
qualificationId?: string | undefined;
|
|
3395
4524
|
qualificationTypeId?: string | undefined;
|
|
3396
4525
|
}>, "many">>;
|
|
3397
|
-
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>>;
|
|
4526
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>>>;
|
|
3398
4527
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3399
4528
|
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3400
4529
|
companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3423,7 +4552,7 @@ export declare const jobsContractRouter: {
|
|
|
3423
4552
|
}, "strip", z.ZodTypeAny, {
|
|
3424
4553
|
limit: number;
|
|
3425
4554
|
page: number;
|
|
3426
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
4555
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | null | undefined;
|
|
3427
4556
|
createdAt?: {
|
|
3428
4557
|
from?: string | null | undefined;
|
|
3429
4558
|
to?: string | null | undefined;
|
|
@@ -3447,7 +4576,7 @@ export declare const jobsContractRouter: {
|
|
|
3447
4576
|
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
3448
4577
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3449
4578
|
}, {
|
|
3450
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
4579
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | null | undefined;
|
|
3451
4580
|
createdAt?: {
|
|
3452
4581
|
from?: string | null | undefined;
|
|
3453
4582
|
to?: string | null | undefined;
|
|
@@ -3583,7 +4712,7 @@ export declare const jobsContractRouter: {
|
|
|
3583
4712
|
description: z.ZodString;
|
|
3584
4713
|
numberOfPositions: z.ZodNumber;
|
|
3585
4714
|
workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3586
|
-
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
4715
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>;
|
|
3587
4716
|
pay: z.ZodObject<{
|
|
3588
4717
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
3589
4718
|
rate: z.ZodNumber;
|
|
@@ -4169,7 +5298,7 @@ export declare const jobsContractRouter: {
|
|
|
4169
5298
|
}, "strip", z.ZodTypeAny, {
|
|
4170
5299
|
description: string;
|
|
4171
5300
|
numberOfPositions: number;
|
|
4172
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5301
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
4173
5302
|
createdAt: string;
|
|
4174
5303
|
updatedAt: string;
|
|
4175
5304
|
id: string;
|
|
@@ -4288,7 +5417,7 @@ export declare const jobsContractRouter: {
|
|
|
4288
5417
|
}, {
|
|
4289
5418
|
description: string;
|
|
4290
5419
|
numberOfPositions: number;
|
|
4291
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5420
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
4292
5421
|
createdAt: string | Date;
|
|
4293
5422
|
updatedAt: string | Date;
|
|
4294
5423
|
id: string;
|
|
@@ -4415,7 +5544,7 @@ export declare const jobsContractRouter: {
|
|
|
4415
5544
|
items: {
|
|
4416
5545
|
description: string;
|
|
4417
5546
|
numberOfPositions: number;
|
|
4418
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5547
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
4419
5548
|
createdAt: string;
|
|
4420
5549
|
updatedAt: string;
|
|
4421
5550
|
id: string;
|
|
@@ -4541,7 +5670,7 @@ export declare const jobsContractRouter: {
|
|
|
4541
5670
|
items: {
|
|
4542
5671
|
description: string;
|
|
4543
5672
|
numberOfPositions: number;
|
|
4544
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5673
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
4545
5674
|
createdAt: string | Date;
|
|
4546
5675
|
updatedAt: string | Date;
|
|
4547
5676
|
id: string;
|
|
@@ -4788,7 +5917,7 @@ export declare const jobsContractRouter: {
|
|
|
4788
5917
|
description: z.ZodString;
|
|
4789
5918
|
numberOfPositions: z.ZodNumber;
|
|
4790
5919
|
workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4791
|
-
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
5920
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>;
|
|
4792
5921
|
pay: z.ZodObject<{
|
|
4793
5922
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
4794
5923
|
rate: z.ZodNumber;
|
|
@@ -5374,7 +6503,7 @@ export declare const jobsContractRouter: {
|
|
|
5374
6503
|
}, "strip", z.ZodTypeAny, {
|
|
5375
6504
|
description: string;
|
|
5376
6505
|
numberOfPositions: number;
|
|
5377
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6506
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
5378
6507
|
createdAt: string;
|
|
5379
6508
|
updatedAt: string;
|
|
5380
6509
|
id: string;
|
|
@@ -5493,7 +6622,7 @@ export declare const jobsContractRouter: {
|
|
|
5493
6622
|
}, {
|
|
5494
6623
|
description: string;
|
|
5495
6624
|
numberOfPositions: number;
|
|
5496
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6625
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
5497
6626
|
createdAt: string | Date;
|
|
5498
6627
|
updatedAt: string | Date;
|
|
5499
6628
|
id: string;
|
|
@@ -5701,11 +6830,11 @@ export declare const jobsContractRouter: {
|
|
|
5701
6830
|
qualificationId: string;
|
|
5702
6831
|
qualificationTypeId?: string | null | undefined;
|
|
5703
6832
|
}>, "many">>;
|
|
5704
|
-
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
6833
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>>;
|
|
5705
6834
|
}, "strip", z.ZodTypeAny, {
|
|
5706
6835
|
description?: string | undefined;
|
|
5707
6836
|
numberOfPositions?: number | undefined;
|
|
5708
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
6837
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | undefined;
|
|
5709
6838
|
workHours?: number | undefined;
|
|
5710
6839
|
pay?: {
|
|
5711
6840
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -5728,7 +6857,7 @@ export declare const jobsContractRouter: {
|
|
|
5728
6857
|
}, {
|
|
5729
6858
|
description?: string | undefined;
|
|
5730
6859
|
numberOfPositions?: number | undefined;
|
|
5731
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
6860
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION" | undefined;
|
|
5732
6861
|
workHours?: number | undefined;
|
|
5733
6862
|
pay?: {
|
|
5734
6863
|
rate: number;
|
|
@@ -5856,7 +6985,7 @@ export declare const jobsContractRouter: {
|
|
|
5856
6985
|
description: z.ZodString;
|
|
5857
6986
|
numberOfPositions: z.ZodNumber;
|
|
5858
6987
|
workHours: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
5859
|
-
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
|
|
6988
|
+
status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT_MISSING_COLLABORATION"]>;
|
|
5860
6989
|
pay: z.ZodObject<{
|
|
5861
6990
|
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
5862
6991
|
rate: z.ZodNumber;
|
|
@@ -6442,7 +7571,7 @@ export declare const jobsContractRouter: {
|
|
|
6442
7571
|
}, "strip", z.ZodTypeAny, {
|
|
6443
7572
|
description: string;
|
|
6444
7573
|
numberOfPositions: number;
|
|
6445
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
7574
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
6446
7575
|
createdAt: string;
|
|
6447
7576
|
updatedAt: string;
|
|
6448
7577
|
id: string;
|
|
@@ -6561,7 +7690,7 @@ export declare const jobsContractRouter: {
|
|
|
6561
7690
|
}, {
|
|
6562
7691
|
description: string;
|
|
6563
7692
|
numberOfPositions: number;
|
|
6564
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
7693
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT_MISSING_COLLABORATION";
|
|
6565
7694
|
createdAt: string | Date;
|
|
6566
7695
|
updatedAt: string | Date;
|
|
6567
7696
|
id: string;
|