@dakkitor/api-contracts 1.1.100 → 1.1.102
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 +4 -1
- package/dist/actives/actives.contract.d.ts +4231 -4231
- package/dist/auth/auth.contract.d.ts +8 -8
- package/dist/bookings/bookings.contract.d.ts +15265 -15265
- package/dist/call-history/call-history.contract.d.ts +422 -422
- package/dist/curated-workers/curated-workers.contract.d.ts +256 -256
- package/dist/jobs/jobs.contract.d.ts +224 -40
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +47 -3
- package/dist/lead-assignments/lead-assignments.contract.d.ts +378 -378
- package/dist/leads/leads.contract.d.ts +115 -115
- package/dist/workers/workers.contract.d.ts +339 -339
- package/package.json +1 -1
|
@@ -910,7 +910,7 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
910
910
|
/**
|
|
911
911
|
* Create Job Schema
|
|
912
912
|
*/
|
|
913
|
-
export declare const CreateJobSchema: z.ZodObject<{
|
|
913
|
+
export declare const CreateJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
914
914
|
description: z.ZodString;
|
|
915
915
|
location: z.ZodOptional<z.ZodObject<{
|
|
916
916
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -941,13 +941,13 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
941
941
|
rateMax?: number | null | undefined;
|
|
942
942
|
}>;
|
|
943
943
|
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
944
|
-
currentCollaboration: z.ZodObject<{
|
|
944
|
+
currentCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
945
945
|
id: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
946
946
|
}, "strip", z.ZodTypeAny, {
|
|
947
947
|
id: string;
|
|
948
948
|
}, {
|
|
949
949
|
id: string;
|
|
950
|
-
}
|
|
950
|
+
}>>>;
|
|
951
951
|
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
952
952
|
qualificationId: z.ZodString;
|
|
953
953
|
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -958,11 +958,10 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
958
958
|
qualificationId: string;
|
|
959
959
|
qualificationTypeId?: string | null | undefined;
|
|
960
960
|
}>, "many">>;
|
|
961
|
-
status: z.
|
|
961
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT"]>>;
|
|
962
962
|
}, "strip", z.ZodTypeAny, {
|
|
963
963
|
description: string;
|
|
964
964
|
numberOfPositions: number;
|
|
965
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT";
|
|
966
965
|
workHours: number;
|
|
967
966
|
pay: {
|
|
968
967
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -971,9 +970,30 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
971
970
|
rateMax?: number | null | undefined;
|
|
972
971
|
};
|
|
973
972
|
tradeId: string;
|
|
974
|
-
|
|
973
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
974
|
+
location?: {
|
|
975
|
+
address?: string | null | undefined;
|
|
976
|
+
postcode?: string | null | undefined;
|
|
977
|
+
} | undefined;
|
|
978
|
+
jobQualifications?: {
|
|
979
|
+
qualificationId: string;
|
|
980
|
+
qualificationTypeId?: string | null | undefined;
|
|
981
|
+
}[] | undefined;
|
|
982
|
+
currentCollaboration?: {
|
|
975
983
|
id: string;
|
|
984
|
+
} | null | undefined;
|
|
985
|
+
}, {
|
|
986
|
+
description: string;
|
|
987
|
+
numberOfPositions: number;
|
|
988
|
+
pay: {
|
|
989
|
+
rate: number;
|
|
990
|
+
receivedRate: number;
|
|
991
|
+
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
992
|
+
rateMax?: number | null | undefined;
|
|
976
993
|
};
|
|
994
|
+
tradeId: string;
|
|
995
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
996
|
+
workHours?: number | undefined;
|
|
977
997
|
location?: {
|
|
978
998
|
address?: string | null | undefined;
|
|
979
999
|
postcode?: string | null | undefined;
|
|
@@ -982,6 +1002,32 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
982
1002
|
qualificationId: string;
|
|
983
1003
|
qualificationTypeId?: string | null | undefined;
|
|
984
1004
|
}[] | undefined;
|
|
1005
|
+
currentCollaboration?: {
|
|
1006
|
+
id: string;
|
|
1007
|
+
} | null | undefined;
|
|
1008
|
+
}>, {
|
|
1009
|
+
description: string;
|
|
1010
|
+
numberOfPositions: number;
|
|
1011
|
+
workHours: number;
|
|
1012
|
+
pay: {
|
|
1013
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1014
|
+
rate: number;
|
|
1015
|
+
receivedRate: number;
|
|
1016
|
+
rateMax?: number | null | undefined;
|
|
1017
|
+
};
|
|
1018
|
+
tradeId: string;
|
|
1019
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
1020
|
+
location?: {
|
|
1021
|
+
address?: string | null | undefined;
|
|
1022
|
+
postcode?: string | null | undefined;
|
|
1023
|
+
} | undefined;
|
|
1024
|
+
jobQualifications?: {
|
|
1025
|
+
qualificationId: string;
|
|
1026
|
+
qualificationTypeId?: string | null | undefined;
|
|
1027
|
+
}[] | undefined;
|
|
1028
|
+
currentCollaboration?: {
|
|
1029
|
+
id: string;
|
|
1030
|
+
} | null | undefined;
|
|
985
1031
|
}, {
|
|
986
1032
|
description: string;
|
|
987
1033
|
numberOfPositions: number;
|
|
@@ -992,9 +1038,52 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
992
1038
|
rateMax?: number | null | undefined;
|
|
993
1039
|
};
|
|
994
1040
|
tradeId: string;
|
|
995
|
-
|
|
1041
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
1042
|
+
workHours?: number | undefined;
|
|
1043
|
+
location?: {
|
|
1044
|
+
address?: string | null | undefined;
|
|
1045
|
+
postcode?: string | null | undefined;
|
|
1046
|
+
} | undefined;
|
|
1047
|
+
jobQualifications?: {
|
|
1048
|
+
qualificationId: string;
|
|
1049
|
+
qualificationTypeId?: string | null | undefined;
|
|
1050
|
+
}[] | undefined;
|
|
1051
|
+
currentCollaboration?: {
|
|
1052
|
+
id: string;
|
|
1053
|
+
} | null | undefined;
|
|
1054
|
+
}>, {
|
|
1055
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT";
|
|
1056
|
+
description: string;
|
|
1057
|
+
numberOfPositions: number;
|
|
1058
|
+
workHours: number;
|
|
1059
|
+
pay: {
|
|
1060
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1061
|
+
rate: number;
|
|
1062
|
+
receivedRate: number;
|
|
1063
|
+
rateMax?: number | null | undefined;
|
|
1064
|
+
};
|
|
1065
|
+
tradeId: string;
|
|
1066
|
+
location?: {
|
|
1067
|
+
address?: string | null | undefined;
|
|
1068
|
+
postcode?: string | null | undefined;
|
|
1069
|
+
} | undefined;
|
|
1070
|
+
jobQualifications?: {
|
|
1071
|
+
qualificationId: string;
|
|
1072
|
+
qualificationTypeId?: string | null | undefined;
|
|
1073
|
+
}[] | undefined;
|
|
1074
|
+
currentCollaboration?: {
|
|
996
1075
|
id: string;
|
|
1076
|
+
} | null | undefined;
|
|
1077
|
+
}, {
|
|
1078
|
+
description: string;
|
|
1079
|
+
numberOfPositions: number;
|
|
1080
|
+
pay: {
|
|
1081
|
+
rate: number;
|
|
1082
|
+
receivedRate: number;
|
|
1083
|
+
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
1084
|
+
rateMax?: number | null | undefined;
|
|
997
1085
|
};
|
|
1086
|
+
tradeId: string;
|
|
998
1087
|
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
999
1088
|
workHours?: number | undefined;
|
|
1000
1089
|
location?: {
|
|
@@ -1005,6 +1094,9 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
1005
1094
|
qualificationId: string;
|
|
1006
1095
|
qualificationTypeId?: string | null | undefined;
|
|
1007
1096
|
}[] | undefined;
|
|
1097
|
+
currentCollaboration?: {
|
|
1098
|
+
id: string;
|
|
1099
|
+
} | null | undefined;
|
|
1008
1100
|
}>;
|
|
1009
1101
|
/**
|
|
1010
1102
|
* Create Draft Job Schema - For bot-created jobs without collaboration
|
|
@@ -1123,13 +1215,17 @@ export declare const UpdateJobSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1123
1215
|
rateMax?: number | null | undefined;
|
|
1124
1216
|
}>>;
|
|
1125
1217
|
tradeId: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
|
1126
|
-
currentCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1127
|
-
id: z.ZodString
|
|
1218
|
+
currentCollaboration: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1219
|
+
id: z.ZodEffects<z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodString>>, string | undefined, unknown>;
|
|
1128
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1129
|
-
id
|
|
1221
|
+
id?: string | undefined;
|
|
1130
1222
|
}, {
|
|
1131
|
-
id
|
|
1132
|
-
}
|
|
1223
|
+
id?: unknown;
|
|
1224
|
+
}>>>, {
|
|
1225
|
+
id?: string | undefined;
|
|
1226
|
+
} | null | undefined, unknown>, {
|
|
1227
|
+
id?: string | undefined;
|
|
1228
|
+
} | null | undefined, unknown>;
|
|
1133
1229
|
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1134
1230
|
qualificationId: z.ZodString;
|
|
1135
1231
|
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -1162,7 +1258,7 @@ export declare const UpdateJobSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1162
1258
|
qualificationTypeId?: string | null | undefined;
|
|
1163
1259
|
}[] | undefined;
|
|
1164
1260
|
currentCollaboration?: {
|
|
1165
|
-
id
|
|
1261
|
+
id?: string | undefined;
|
|
1166
1262
|
} | null | undefined;
|
|
1167
1263
|
}, {
|
|
1168
1264
|
description?: string | undefined;
|
|
@@ -1184,9 +1280,7 @@ export declare const UpdateJobSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1184
1280
|
qualificationId: string;
|
|
1185
1281
|
qualificationTypeId?: string | null | undefined;
|
|
1186
1282
|
}[] | undefined;
|
|
1187
|
-
currentCollaboration?:
|
|
1188
|
-
id: string;
|
|
1189
|
-
} | null | undefined;
|
|
1283
|
+
currentCollaboration?: unknown;
|
|
1190
1284
|
}>, {
|
|
1191
1285
|
description?: string | undefined;
|
|
1192
1286
|
numberOfPositions?: number | undefined;
|
|
@@ -1208,7 +1302,7 @@ export declare const UpdateJobSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1208
1302
|
qualificationTypeId?: string | null | undefined;
|
|
1209
1303
|
}[] | undefined;
|
|
1210
1304
|
currentCollaboration?: {
|
|
1211
|
-
id
|
|
1305
|
+
id?: string | undefined;
|
|
1212
1306
|
} | null | undefined;
|
|
1213
1307
|
}, {
|
|
1214
1308
|
description?: string | undefined;
|
|
@@ -1230,9 +1324,7 @@ export declare const UpdateJobSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1230
1324
|
qualificationId: string;
|
|
1231
1325
|
qualificationTypeId?: string | null | undefined;
|
|
1232
1326
|
}[] | undefined;
|
|
1233
|
-
currentCollaboration?:
|
|
1234
|
-
id: string;
|
|
1235
|
-
} | null | undefined;
|
|
1327
|
+
currentCollaboration?: unknown;
|
|
1236
1328
|
}>;
|
|
1237
1329
|
/**
|
|
1238
1330
|
* Filter Job Schema
|
|
@@ -4628,7 +4720,7 @@ export declare const jobsContractRouter: {
|
|
|
4628
4720
|
};
|
|
4629
4721
|
summary: "Create a new job";
|
|
4630
4722
|
method: "POST";
|
|
4631
|
-
body: z.ZodObject<{
|
|
4723
|
+
body: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
4632
4724
|
description: z.ZodString;
|
|
4633
4725
|
location: z.ZodOptional<z.ZodObject<{
|
|
4634
4726
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -4659,13 +4751,13 @@ export declare const jobsContractRouter: {
|
|
|
4659
4751
|
rateMax?: number | null | undefined;
|
|
4660
4752
|
}>;
|
|
4661
4753
|
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
4662
|
-
currentCollaboration: z.ZodObject<{
|
|
4754
|
+
currentCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4663
4755
|
id: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
4664
4756
|
}, "strip", z.ZodTypeAny, {
|
|
4665
4757
|
id: string;
|
|
4666
4758
|
}, {
|
|
4667
4759
|
id: string;
|
|
4668
|
-
}
|
|
4760
|
+
}>>>;
|
|
4669
4761
|
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4670
4762
|
qualificationId: z.ZodString;
|
|
4671
4763
|
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -4676,11 +4768,10 @@ export declare const jobsContractRouter: {
|
|
|
4676
4768
|
qualificationId: string;
|
|
4677
4769
|
qualificationTypeId?: string | null | undefined;
|
|
4678
4770
|
}>, "many">>;
|
|
4679
|
-
status: z.
|
|
4771
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE", "DRAFT"]>>;
|
|
4680
4772
|
}, "strip", z.ZodTypeAny, {
|
|
4681
4773
|
description: string;
|
|
4682
4774
|
numberOfPositions: number;
|
|
4683
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT";
|
|
4684
4775
|
workHours: number;
|
|
4685
4776
|
pay: {
|
|
4686
4777
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -4689,9 +4780,30 @@ export declare const jobsContractRouter: {
|
|
|
4689
4780
|
rateMax?: number | null | undefined;
|
|
4690
4781
|
};
|
|
4691
4782
|
tradeId: string;
|
|
4692
|
-
|
|
4783
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
4784
|
+
location?: {
|
|
4785
|
+
address?: string | null | undefined;
|
|
4786
|
+
postcode?: string | null | undefined;
|
|
4787
|
+
} | undefined;
|
|
4788
|
+
jobQualifications?: {
|
|
4789
|
+
qualificationId: string;
|
|
4790
|
+
qualificationTypeId?: string | null | undefined;
|
|
4791
|
+
}[] | undefined;
|
|
4792
|
+
currentCollaboration?: {
|
|
4693
4793
|
id: string;
|
|
4794
|
+
} | null | undefined;
|
|
4795
|
+
}, {
|
|
4796
|
+
description: string;
|
|
4797
|
+
numberOfPositions: number;
|
|
4798
|
+
pay: {
|
|
4799
|
+
rate: number;
|
|
4800
|
+
receivedRate: number;
|
|
4801
|
+
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
4802
|
+
rateMax?: number | null | undefined;
|
|
4694
4803
|
};
|
|
4804
|
+
tradeId: string;
|
|
4805
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
4806
|
+
workHours?: number | undefined;
|
|
4695
4807
|
location?: {
|
|
4696
4808
|
address?: string | null | undefined;
|
|
4697
4809
|
postcode?: string | null | undefined;
|
|
@@ -4700,6 +4812,32 @@ export declare const jobsContractRouter: {
|
|
|
4700
4812
|
qualificationId: string;
|
|
4701
4813
|
qualificationTypeId?: string | null | undefined;
|
|
4702
4814
|
}[] | undefined;
|
|
4815
|
+
currentCollaboration?: {
|
|
4816
|
+
id: string;
|
|
4817
|
+
} | null | undefined;
|
|
4818
|
+
}>, {
|
|
4819
|
+
description: string;
|
|
4820
|
+
numberOfPositions: number;
|
|
4821
|
+
workHours: number;
|
|
4822
|
+
pay: {
|
|
4823
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
4824
|
+
rate: number;
|
|
4825
|
+
receivedRate: number;
|
|
4826
|
+
rateMax?: number | null | undefined;
|
|
4827
|
+
};
|
|
4828
|
+
tradeId: string;
|
|
4829
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
4830
|
+
location?: {
|
|
4831
|
+
address?: string | null | undefined;
|
|
4832
|
+
postcode?: string | null | undefined;
|
|
4833
|
+
} | undefined;
|
|
4834
|
+
jobQualifications?: {
|
|
4835
|
+
qualificationId: string;
|
|
4836
|
+
qualificationTypeId?: string | null | undefined;
|
|
4837
|
+
}[] | undefined;
|
|
4838
|
+
currentCollaboration?: {
|
|
4839
|
+
id: string;
|
|
4840
|
+
} | null | undefined;
|
|
4703
4841
|
}, {
|
|
4704
4842
|
description: string;
|
|
4705
4843
|
numberOfPositions: number;
|
|
@@ -4710,9 +4848,52 @@ export declare const jobsContractRouter: {
|
|
|
4710
4848
|
rateMax?: number | null | undefined;
|
|
4711
4849
|
};
|
|
4712
4850
|
tradeId: string;
|
|
4713
|
-
|
|
4851
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
4852
|
+
workHours?: number | undefined;
|
|
4853
|
+
location?: {
|
|
4854
|
+
address?: string | null | undefined;
|
|
4855
|
+
postcode?: string | null | undefined;
|
|
4856
|
+
} | undefined;
|
|
4857
|
+
jobQualifications?: {
|
|
4858
|
+
qualificationId: string;
|
|
4859
|
+
qualificationTypeId?: string | null | undefined;
|
|
4860
|
+
}[] | undefined;
|
|
4861
|
+
currentCollaboration?: {
|
|
4862
|
+
id: string;
|
|
4863
|
+
} | null | undefined;
|
|
4864
|
+
}>, {
|
|
4865
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT";
|
|
4866
|
+
description: string;
|
|
4867
|
+
numberOfPositions: number;
|
|
4868
|
+
workHours: number;
|
|
4869
|
+
pay: {
|
|
4870
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
4871
|
+
rate: number;
|
|
4872
|
+
receivedRate: number;
|
|
4873
|
+
rateMax?: number | null | undefined;
|
|
4874
|
+
};
|
|
4875
|
+
tradeId: string;
|
|
4876
|
+
location?: {
|
|
4877
|
+
address?: string | null | undefined;
|
|
4878
|
+
postcode?: string | null | undefined;
|
|
4879
|
+
} | undefined;
|
|
4880
|
+
jobQualifications?: {
|
|
4881
|
+
qualificationId: string;
|
|
4882
|
+
qualificationTypeId?: string | null | undefined;
|
|
4883
|
+
}[] | undefined;
|
|
4884
|
+
currentCollaboration?: {
|
|
4714
4885
|
id: string;
|
|
4886
|
+
} | null | undefined;
|
|
4887
|
+
}, {
|
|
4888
|
+
description: string;
|
|
4889
|
+
numberOfPositions: number;
|
|
4890
|
+
pay: {
|
|
4891
|
+
rate: number;
|
|
4892
|
+
receivedRate: number;
|
|
4893
|
+
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
4894
|
+
rateMax?: number | null | undefined;
|
|
4715
4895
|
};
|
|
4896
|
+
tradeId: string;
|
|
4716
4897
|
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | "DRAFT" | undefined;
|
|
4717
4898
|
workHours?: number | undefined;
|
|
4718
4899
|
location?: {
|
|
@@ -4723,6 +4904,9 @@ export declare const jobsContractRouter: {
|
|
|
4723
4904
|
qualificationId: string;
|
|
4724
4905
|
qualificationTypeId?: string | null | undefined;
|
|
4725
4906
|
}[] | undefined;
|
|
4907
|
+
currentCollaboration?: {
|
|
4908
|
+
id: string;
|
|
4909
|
+
} | null | undefined;
|
|
4726
4910
|
}>;
|
|
4727
4911
|
path: "/v2/jobs";
|
|
4728
4912
|
responses: {
|
|
@@ -10269,13 +10453,17 @@ export declare const jobsContractRouter: {
|
|
|
10269
10453
|
rateMax?: number | null | undefined;
|
|
10270
10454
|
}>>;
|
|
10271
10455
|
tradeId: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
|
10272
|
-
currentCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
10273
|
-
id: z.ZodString
|
|
10456
|
+
currentCollaboration: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
10457
|
+
id: z.ZodEffects<z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodString>>, string | undefined, unknown>;
|
|
10274
10458
|
}, "strip", z.ZodTypeAny, {
|
|
10275
|
-
id
|
|
10459
|
+
id?: string | undefined;
|
|
10276
10460
|
}, {
|
|
10277
|
-
id
|
|
10278
|
-
}
|
|
10461
|
+
id?: unknown;
|
|
10462
|
+
}>>>, {
|
|
10463
|
+
id?: string | undefined;
|
|
10464
|
+
} | null | undefined, unknown>, {
|
|
10465
|
+
id?: string | undefined;
|
|
10466
|
+
} | null | undefined, unknown>;
|
|
10279
10467
|
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10280
10468
|
qualificationId: z.ZodString;
|
|
10281
10469
|
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -10308,7 +10496,7 @@ export declare const jobsContractRouter: {
|
|
|
10308
10496
|
qualificationTypeId?: string | null | undefined;
|
|
10309
10497
|
}[] | undefined;
|
|
10310
10498
|
currentCollaboration?: {
|
|
10311
|
-
id
|
|
10499
|
+
id?: string | undefined;
|
|
10312
10500
|
} | null | undefined;
|
|
10313
10501
|
}, {
|
|
10314
10502
|
description?: string | undefined;
|
|
@@ -10330,9 +10518,7 @@ export declare const jobsContractRouter: {
|
|
|
10330
10518
|
qualificationId: string;
|
|
10331
10519
|
qualificationTypeId?: string | null | undefined;
|
|
10332
10520
|
}[] | undefined;
|
|
10333
|
-
currentCollaboration?:
|
|
10334
|
-
id: string;
|
|
10335
|
-
} | null | undefined;
|
|
10521
|
+
currentCollaboration?: unknown;
|
|
10336
10522
|
}>, {
|
|
10337
10523
|
description?: string | undefined;
|
|
10338
10524
|
numberOfPositions?: number | undefined;
|
|
@@ -10354,7 +10540,7 @@ export declare const jobsContractRouter: {
|
|
|
10354
10540
|
qualificationTypeId?: string | null | undefined;
|
|
10355
10541
|
}[] | undefined;
|
|
10356
10542
|
currentCollaboration?: {
|
|
10357
|
-
id
|
|
10543
|
+
id?: string | undefined;
|
|
10358
10544
|
} | null | undefined;
|
|
10359
10545
|
}, {
|
|
10360
10546
|
description?: string | undefined;
|
|
@@ -10376,9 +10562,7 @@ export declare const jobsContractRouter: {
|
|
|
10376
10562
|
qualificationId: string;
|
|
10377
10563
|
qualificationTypeId?: string | null | undefined;
|
|
10378
10564
|
}[] | undefined;
|
|
10379
|
-
currentCollaboration?:
|
|
10380
|
-
id: string;
|
|
10381
|
-
} | null | undefined;
|
|
10565
|
+
currentCollaboration?: unknown;
|
|
10382
10566
|
}>;
|
|
10383
10567
|
path: "/v2/jobs/:id";
|
|
10384
10568
|
responses: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobs.contract.d.ts","sourceRoot":"","sources":["../../contracts/jobs/jobs.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB;;GAEG;AACH,eAAO,MAAM,eAAe,0EAM1B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB,qFAQM,CAAC;AAE3C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACx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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+F9B,CAAC"}
|
|
@@ -170,12 +170,36 @@ exports.CreateJobSchema = zod_1.z
|
|
|
170
170
|
.pipe(zod_1.z.string().uuid())
|
|
171
171
|
.describe('Search Collaboration by Client'),
|
|
172
172
|
})
|
|
173
|
+
.optional()
|
|
174
|
+
.nullable()
|
|
173
175
|
.describe('Current Collaboration'),
|
|
174
176
|
jobQualifications: zod_1.z
|
|
175
177
|
.array(exports.CreateJobQualificationSchema)
|
|
176
178
|
.optional()
|
|
177
179
|
.describe('Job Qualifications'),
|
|
178
|
-
status: exports.JobStatusSchema.
|
|
180
|
+
status: exports.JobStatusSchema.optional().describe('Job Status'),
|
|
181
|
+
})
|
|
182
|
+
.superRefine((data, ctx) => {
|
|
183
|
+
// If no collaboration is provided, status must be DRAFT (or will default to DRAFT)
|
|
184
|
+
const hasCollaboration = data.currentCollaboration && data.currentCollaboration.id;
|
|
185
|
+
if (!hasCollaboration) {
|
|
186
|
+
// If status is explicitly set to non-DRAFT, fail validation
|
|
187
|
+
if (data.status !== undefined && data.status !== 'DRAFT') {
|
|
188
|
+
ctx.addIssue({
|
|
189
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
190
|
+
message: 'A collaboration is required when creating a job with non-draft status.',
|
|
191
|
+
path: ['currentCollaboration'],
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
})
|
|
196
|
+
.transform((data) => {
|
|
197
|
+
// If no collaboration, default status to DRAFT
|
|
198
|
+
const hasCollaboration = data.currentCollaboration && data.currentCollaboration.id;
|
|
199
|
+
return {
|
|
200
|
+
...data,
|
|
201
|
+
status: hasCollaboration ? (data.status ?? 'AVAILABLE') : 'DRAFT',
|
|
202
|
+
};
|
|
179
203
|
})
|
|
180
204
|
.openapi({ title: 'CreateJob' });
|
|
181
205
|
/**
|
|
@@ -236,8 +260,28 @@ exports.UpdateJobSchema = zod_1.z
|
|
|
236
260
|
.pipe(zod_1.z.string().uuid())
|
|
237
261
|
.optional()
|
|
238
262
|
.describe('Trade'),
|
|
239
|
-
currentCollaboration:
|
|
240
|
-
.
|
|
263
|
+
currentCollaboration: zod_1.z
|
|
264
|
+
.preprocess((val) => (val === '' ? null : val), zod_1.z
|
|
265
|
+
.object({
|
|
266
|
+
id: zod_1.z
|
|
267
|
+
.preprocess((val) => (val === '' ? undefined : val), zod_1.z
|
|
268
|
+
.string()
|
|
269
|
+
.min(1, { message: 'Collaboration is required' })
|
|
270
|
+
.pipe(zod_1.z.string().uuid())
|
|
271
|
+
.optional())
|
|
272
|
+
.describe('Search Collaboration by Client'),
|
|
273
|
+
})
|
|
274
|
+
.optional()
|
|
275
|
+
.nullable())
|
|
276
|
+
.transform((val) => {
|
|
277
|
+
// If val is an object (and not null) but has no keys or id is missing/undefined, return null
|
|
278
|
+
if (val &&
|
|
279
|
+
typeof val === 'object' &&
|
|
280
|
+
(Object.keys(val).length === 0 || !val.id)) {
|
|
281
|
+
return null;
|
|
282
|
+
}
|
|
283
|
+
return val;
|
|
284
|
+
})
|
|
241
285
|
.describe('Current Collaboration'),
|
|
242
286
|
jobQualifications: zod_1.z
|
|
243
287
|
.array(exports.CreateJobQualificationSchema)
|