@dakkitor/api-contracts 1.1.27 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +5955 -1711
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +0 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +336 -336
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +2 -0
- package/dist/bookings/bookings.contract.d.ts +4557 -383
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +6 -6
- package/dist/call-history/call-history.contract.d.ts +1190 -276
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +11 -28
- package/dist/client-contacts/client-contacts.contract.d.ts +571 -534
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +4 -1
- package/dist/clients/clients.contract.d.ts +380 -380
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +8 -2
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3349 -1023
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.js +3 -10
- package/dist/collaborations/collaborations.contract.d.ts +2934 -219
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +19 -33
- package/dist/common/call-rating.schema.d.ts +31 -0
- package/dist/common/call-rating.schema.d.ts.map +1 -0
- package/dist/common/call-rating.schema.js +63 -0
- package/dist/common/common-schemas.d.ts +6 -6
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +5 -7
- package/dist/common/error-schemas.d.ts +6 -6
- package/dist/companies/companies.contract.d.ts +212 -212
- package/dist/cron-executions/cron-executions.contract.d.ts +228 -228
- package/dist/curated-workers/curated-workers.contract.d.ts +374 -374
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +6 -13
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +120 -120
- package/dist/files/files.contract.d.ts +228 -228
- package/dist/health/health.contract.d.ts +22 -22
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/jobs/jobs.contract.d.ts +3274 -268
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +37 -18
- package/dist/lead-assignments/lead-assignments.contract.d.ts +278 -278
- package/dist/lead-assignments/lead-assignments.contract.js +2 -2
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +146 -146
- package/dist/leads/leads.contract.d.ts +319 -319
- package/dist/locations/locations.contract.d.ts +161 -161
- package/dist/postcodes/postcodes.contract.d.ts +66 -66
- package/dist/qualifications/qualifications.contract.d.ts +256 -256
- package/dist/trades/trades.contract.d.ts +160 -160
- package/dist/users/users.contract.d.ts +8 -8
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +2 -3
- package/dist/workers/workers.contract.d.ts +245 -266
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +22 -21
- package/package.json +1 -1
- package/dist/common/api-responses.d.ts +0 -105
- package/dist/common/api-responses.d.ts.map +0 -1
- package/dist/common/api-responses.js +0 -107
|
@@ -29,20 +29,20 @@ export declare const PaySchema: z.ZodObject<{
|
|
|
29
29
|
rateMax?: number | null | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
export declare const CreatePaySchema: z.ZodObject<{
|
|
32
|
-
rateUnit: z.
|
|
32
|
+
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
33
33
|
rate: z.ZodNumber;
|
|
34
|
-
rateMax: z.ZodOptional<z.ZodNumber
|
|
34
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
35
35
|
receivedRate: z.ZodNumber;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
37
38
|
rate: number;
|
|
38
39
|
receivedRate: number;
|
|
39
|
-
|
|
40
|
-
rateMax?: number | undefined;
|
|
40
|
+
rateMax?: number | null | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
rate: number;
|
|
43
43
|
receivedRate: number;
|
|
44
44
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
45
|
-
rateMax?: number | undefined;
|
|
45
|
+
rateMax?: number | null | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
export type Pay = z.infer<typeof PaySchema>;
|
|
48
48
|
export type CreatePay = z.infer<typeof CreatePaySchema>;
|
|
@@ -64,13 +64,13 @@ export declare const JobQualificationSchema: z.ZodObject<{
|
|
|
64
64
|
}>;
|
|
65
65
|
export declare const CreateJobQualificationSchema: z.ZodObject<{
|
|
66
66
|
qualificationId: z.ZodString;
|
|
67
|
-
qualificationTypeId: z.ZodOptional<z.ZodString
|
|
67
|
+
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
qualificationId: string;
|
|
70
|
-
qualificationTypeId?: string | undefined;
|
|
70
|
+
qualificationTypeId?: string | null | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
qualificationId: string;
|
|
73
|
-
qualificationTypeId?: string | undefined;
|
|
73
|
+
qualificationTypeId?: string | null | undefined;
|
|
74
74
|
}>;
|
|
75
75
|
export type JobQualification = z.infer<typeof JobQualificationSchema>;
|
|
76
76
|
export type CreateJobQualification = z.infer<typeof CreateJobQualificationSchema>;
|
|
@@ -124,7 +124,7 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
124
124
|
postTown?: string | null | undefined;
|
|
125
125
|
areaCovered?: string | null | undefined;
|
|
126
126
|
}>>>;
|
|
127
|
-
tradeId: z.ZodString
|
|
127
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
128
128
|
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
129
129
|
id: z.ZodString;
|
|
130
130
|
qualificationId: z.ZodString;
|
|
@@ -140,27 +140,95 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
140
140
|
}>, "many">>>;
|
|
141
141
|
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
142
142
|
id: z.ZodString;
|
|
143
|
-
company: z.ZodOptional<z.ZodObject<{
|
|
143
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
144
144
|
id: z.ZodString;
|
|
145
145
|
name: z.ZodString;
|
|
146
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
147
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
146
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
createdAt: string;
|
|
150
|
+
updatedAt: string;
|
|
147
151
|
id: string;
|
|
148
152
|
name: string;
|
|
149
153
|
}, {
|
|
154
|
+
createdAt: string | Date;
|
|
155
|
+
updatedAt: string | Date;
|
|
150
156
|
id: string;
|
|
151
157
|
name: string;
|
|
152
|
-
}
|
|
153
|
-
client: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
}>>>;
|
|
159
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
154
160
|
id: z.ZodString;
|
|
155
161
|
name: z.ZodString;
|
|
162
|
+
crn: z.ZodString;
|
|
163
|
+
govLink: z.ZodString;
|
|
164
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
165
|
+
director: z.ZodString;
|
|
166
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
168
|
+
id: z.ZodString;
|
|
169
|
+
firstName: z.ZodString;
|
|
170
|
+
lastName: z.ZodString;
|
|
171
|
+
email: z.ZodString;
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
id: string;
|
|
174
|
+
firstName: string;
|
|
175
|
+
lastName: string;
|
|
176
|
+
email: string;
|
|
177
|
+
}, {
|
|
178
|
+
id: string;
|
|
179
|
+
firstName: string;
|
|
180
|
+
lastName: string;
|
|
181
|
+
email: string;
|
|
182
|
+
}>>>;
|
|
183
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
184
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
185
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
186
|
+
agentId: z.ZodString;
|
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
agentId: string;
|
|
189
|
+
}, {
|
|
190
|
+
agentId: string;
|
|
191
|
+
}>>>;
|
|
156
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
194
|
+
createdAt: string;
|
|
195
|
+
updatedAt: string;
|
|
157
196
|
id: string;
|
|
158
197
|
name: string;
|
|
198
|
+
crn: string;
|
|
199
|
+
govLink: string;
|
|
200
|
+
director: string;
|
|
201
|
+
blacklistReason?: string | null | undefined;
|
|
202
|
+
lastUpdatedBy?: {
|
|
203
|
+
id: string;
|
|
204
|
+
firstName: string;
|
|
205
|
+
lastName: string;
|
|
206
|
+
email: string;
|
|
207
|
+
} | null | undefined;
|
|
208
|
+
agentClientLinks?: {
|
|
209
|
+
agentId: string;
|
|
210
|
+
} | null | undefined;
|
|
159
211
|
}, {
|
|
212
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
213
|
+
createdAt: string | Date;
|
|
214
|
+
updatedAt: string | Date;
|
|
160
215
|
id: string;
|
|
161
216
|
name: string;
|
|
162
|
-
|
|
163
|
-
|
|
217
|
+
crn: string;
|
|
218
|
+
govLink: string;
|
|
219
|
+
director: string;
|
|
220
|
+
blacklistReason?: string | null | undefined;
|
|
221
|
+
lastUpdatedBy?: {
|
|
222
|
+
id: string;
|
|
223
|
+
firstName: string;
|
|
224
|
+
lastName: string;
|
|
225
|
+
email: string;
|
|
226
|
+
} | null | undefined;
|
|
227
|
+
agentClientLinks?: {
|
|
228
|
+
agentId: string;
|
|
229
|
+
} | null | undefined;
|
|
230
|
+
}>>>;
|
|
231
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
164
232
|
id: z.ZodString;
|
|
165
233
|
firstName: z.ZodString;
|
|
166
234
|
lastName: z.ZodString;
|
|
@@ -175,63 +243,352 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
175
243
|
firstName: string;
|
|
176
244
|
lastName: string;
|
|
177
245
|
email: string;
|
|
178
|
-
}
|
|
246
|
+
}>>>;
|
|
179
247
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
180
248
|
userId: z.ZodString;
|
|
181
249
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
182
250
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
251
|
+
} & {
|
|
183
252
|
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
184
253
|
id: z.ZodString;
|
|
254
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
255
|
+
id: z.ZodString;
|
|
256
|
+
name: z.ZodString;
|
|
257
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
258
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
createdAt: string;
|
|
261
|
+
updatedAt: string;
|
|
262
|
+
id: string;
|
|
263
|
+
name: string;
|
|
264
|
+
}, {
|
|
265
|
+
createdAt: string | Date;
|
|
266
|
+
updatedAt: string | Date;
|
|
267
|
+
id: string;
|
|
268
|
+
name: string;
|
|
269
|
+
}>>>;
|
|
270
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
271
|
+
id: z.ZodString;
|
|
272
|
+
name: z.ZodString;
|
|
273
|
+
crn: z.ZodString;
|
|
274
|
+
govLink: z.ZodString;
|
|
275
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
276
|
+
director: z.ZodString;
|
|
277
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
279
|
+
id: z.ZodString;
|
|
280
|
+
firstName: z.ZodString;
|
|
281
|
+
lastName: z.ZodString;
|
|
282
|
+
email: z.ZodString;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
id: string;
|
|
285
|
+
firstName: string;
|
|
286
|
+
lastName: string;
|
|
287
|
+
email: string;
|
|
288
|
+
}, {
|
|
289
|
+
id: string;
|
|
290
|
+
firstName: string;
|
|
291
|
+
lastName: string;
|
|
292
|
+
email: string;
|
|
293
|
+
}>>>;
|
|
294
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
295
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
296
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
297
|
+
agentId: z.ZodString;
|
|
298
|
+
}, "strip", z.ZodTypeAny, {
|
|
299
|
+
agentId: string;
|
|
300
|
+
}, {
|
|
301
|
+
agentId: string;
|
|
302
|
+
}>>>;
|
|
303
|
+
}, "strip", z.ZodTypeAny, {
|
|
304
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
305
|
+
createdAt: string;
|
|
306
|
+
updatedAt: string;
|
|
307
|
+
id: string;
|
|
308
|
+
name: string;
|
|
309
|
+
crn: string;
|
|
310
|
+
govLink: string;
|
|
311
|
+
director: string;
|
|
312
|
+
blacklistReason?: string | null | undefined;
|
|
313
|
+
lastUpdatedBy?: {
|
|
314
|
+
id: string;
|
|
315
|
+
firstName: string;
|
|
316
|
+
lastName: string;
|
|
317
|
+
email: string;
|
|
318
|
+
} | null | undefined;
|
|
319
|
+
agentClientLinks?: {
|
|
320
|
+
agentId: string;
|
|
321
|
+
} | null | undefined;
|
|
322
|
+
}, {
|
|
323
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
324
|
+
createdAt: string | Date;
|
|
325
|
+
updatedAt: string | Date;
|
|
326
|
+
id: string;
|
|
327
|
+
name: string;
|
|
328
|
+
crn: string;
|
|
329
|
+
govLink: string;
|
|
330
|
+
director: string;
|
|
331
|
+
blacklistReason?: string | null | undefined;
|
|
332
|
+
lastUpdatedBy?: {
|
|
333
|
+
id: string;
|
|
334
|
+
firstName: string;
|
|
335
|
+
lastName: string;
|
|
336
|
+
email: string;
|
|
337
|
+
} | null | undefined;
|
|
338
|
+
agentClientLinks?: {
|
|
339
|
+
agentId: string;
|
|
340
|
+
} | null | undefined;
|
|
341
|
+
}>>>;
|
|
342
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
firstName: z.ZodString;
|
|
345
|
+
lastName: z.ZodString;
|
|
346
|
+
email: z.ZodString;
|
|
347
|
+
}, "strip", z.ZodTypeAny, {
|
|
348
|
+
id: string;
|
|
349
|
+
firstName: string;
|
|
350
|
+
lastName: string;
|
|
351
|
+
email: string;
|
|
352
|
+
}, {
|
|
353
|
+
id: string;
|
|
354
|
+
firstName: string;
|
|
355
|
+
lastName: string;
|
|
356
|
+
email: string;
|
|
357
|
+
}>>>;
|
|
358
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
359
|
+
userId: z.ZodString;
|
|
360
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
361
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
185
362
|
}, "strip", z.ZodTypeAny, {
|
|
363
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
364
|
+
createdAt: string;
|
|
365
|
+
updatedAt: string;
|
|
186
366
|
id: string;
|
|
367
|
+
userId: string;
|
|
368
|
+
company?: {
|
|
369
|
+
createdAt: string;
|
|
370
|
+
updatedAt: string;
|
|
371
|
+
id: string;
|
|
372
|
+
name: string;
|
|
373
|
+
} | null | undefined;
|
|
374
|
+
client?: {
|
|
375
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
376
|
+
createdAt: string;
|
|
377
|
+
updatedAt: string;
|
|
378
|
+
id: string;
|
|
379
|
+
name: string;
|
|
380
|
+
crn: string;
|
|
381
|
+
govLink: string;
|
|
382
|
+
director: string;
|
|
383
|
+
blacklistReason?: string | null | undefined;
|
|
384
|
+
lastUpdatedBy?: {
|
|
385
|
+
id: string;
|
|
386
|
+
firstName: string;
|
|
387
|
+
lastName: string;
|
|
388
|
+
email: string;
|
|
389
|
+
} | null | undefined;
|
|
390
|
+
agentClientLinks?: {
|
|
391
|
+
agentId: string;
|
|
392
|
+
} | null | undefined;
|
|
393
|
+
} | null | undefined;
|
|
394
|
+
user?: {
|
|
395
|
+
id: string;
|
|
396
|
+
firstName: string;
|
|
397
|
+
lastName: string;
|
|
398
|
+
email: string;
|
|
399
|
+
} | null | undefined;
|
|
187
400
|
}, {
|
|
401
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
402
|
+
createdAt: string | Date;
|
|
403
|
+
updatedAt: string | Date;
|
|
188
404
|
id: string;
|
|
405
|
+
userId: string;
|
|
406
|
+
company?: {
|
|
407
|
+
createdAt: string | Date;
|
|
408
|
+
updatedAt: string | Date;
|
|
409
|
+
id: string;
|
|
410
|
+
name: string;
|
|
411
|
+
} | null | undefined;
|
|
412
|
+
client?: {
|
|
413
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
414
|
+
createdAt: string | Date;
|
|
415
|
+
updatedAt: string | Date;
|
|
416
|
+
id: string;
|
|
417
|
+
name: string;
|
|
418
|
+
crn: string;
|
|
419
|
+
govLink: string;
|
|
420
|
+
director: string;
|
|
421
|
+
blacklistReason?: string | null | undefined;
|
|
422
|
+
lastUpdatedBy?: {
|
|
423
|
+
id: string;
|
|
424
|
+
firstName: string;
|
|
425
|
+
lastName: string;
|
|
426
|
+
email: string;
|
|
427
|
+
} | null | undefined;
|
|
428
|
+
agentClientLinks?: {
|
|
429
|
+
agentId: string;
|
|
430
|
+
} | null | undefined;
|
|
431
|
+
} | null | undefined;
|
|
432
|
+
user?: {
|
|
433
|
+
id: string;
|
|
434
|
+
firstName: string;
|
|
435
|
+
lastName: string;
|
|
436
|
+
email: string;
|
|
437
|
+
} | null | undefined;
|
|
189
438
|
}>>>;
|
|
190
439
|
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
status: "
|
|
440
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
192
441
|
createdAt: string;
|
|
193
442
|
updatedAt: string;
|
|
194
443
|
id: string;
|
|
195
444
|
userId: string;
|
|
196
445
|
company?: {
|
|
446
|
+
createdAt: string;
|
|
447
|
+
updatedAt: string;
|
|
197
448
|
id: string;
|
|
198
449
|
name: string;
|
|
199
|
-
} | undefined;
|
|
450
|
+
} | null | undefined;
|
|
200
451
|
client?: {
|
|
452
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
453
|
+
createdAt: string;
|
|
454
|
+
updatedAt: string;
|
|
201
455
|
id: string;
|
|
202
456
|
name: string;
|
|
203
|
-
|
|
457
|
+
crn: string;
|
|
458
|
+
govLink: string;
|
|
459
|
+
director: string;
|
|
460
|
+
blacklistReason?: string | null | undefined;
|
|
461
|
+
lastUpdatedBy?: {
|
|
462
|
+
id: string;
|
|
463
|
+
firstName: string;
|
|
464
|
+
lastName: string;
|
|
465
|
+
email: string;
|
|
466
|
+
} | null | undefined;
|
|
467
|
+
agentClientLinks?: {
|
|
468
|
+
agentId: string;
|
|
469
|
+
} | null | undefined;
|
|
470
|
+
} | null | undefined;
|
|
204
471
|
user?: {
|
|
205
472
|
id: string;
|
|
206
473
|
firstName: string;
|
|
207
474
|
lastName: string;
|
|
208
475
|
email: string;
|
|
209
|
-
} | undefined;
|
|
476
|
+
} | null | undefined;
|
|
210
477
|
newCollaboration?: {
|
|
478
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
479
|
+
createdAt: string;
|
|
480
|
+
updatedAt: string;
|
|
211
481
|
id: string;
|
|
482
|
+
userId: string;
|
|
483
|
+
company?: {
|
|
484
|
+
createdAt: string;
|
|
485
|
+
updatedAt: string;
|
|
486
|
+
id: string;
|
|
487
|
+
name: string;
|
|
488
|
+
} | null | undefined;
|
|
489
|
+
client?: {
|
|
490
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
491
|
+
createdAt: string;
|
|
492
|
+
updatedAt: string;
|
|
493
|
+
id: string;
|
|
494
|
+
name: string;
|
|
495
|
+
crn: string;
|
|
496
|
+
govLink: string;
|
|
497
|
+
director: string;
|
|
498
|
+
blacklistReason?: string | null | undefined;
|
|
499
|
+
lastUpdatedBy?: {
|
|
500
|
+
id: string;
|
|
501
|
+
firstName: string;
|
|
502
|
+
lastName: string;
|
|
503
|
+
email: string;
|
|
504
|
+
} | null | undefined;
|
|
505
|
+
agentClientLinks?: {
|
|
506
|
+
agentId: string;
|
|
507
|
+
} | null | undefined;
|
|
508
|
+
} | null | undefined;
|
|
509
|
+
user?: {
|
|
510
|
+
id: string;
|
|
511
|
+
firstName: string;
|
|
512
|
+
lastName: string;
|
|
513
|
+
email: string;
|
|
514
|
+
} | null | undefined;
|
|
212
515
|
} | null | undefined;
|
|
213
516
|
}, {
|
|
214
|
-
status: "
|
|
517
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
215
518
|
createdAt: string | Date;
|
|
216
519
|
updatedAt: string | Date;
|
|
217
520
|
id: string;
|
|
218
521
|
userId: string;
|
|
219
522
|
company?: {
|
|
523
|
+
createdAt: string | Date;
|
|
524
|
+
updatedAt: string | Date;
|
|
220
525
|
id: string;
|
|
221
526
|
name: string;
|
|
222
|
-
} | undefined;
|
|
527
|
+
} | null | undefined;
|
|
223
528
|
client?: {
|
|
529
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
530
|
+
createdAt: string | Date;
|
|
531
|
+
updatedAt: string | Date;
|
|
224
532
|
id: string;
|
|
225
533
|
name: string;
|
|
226
|
-
|
|
534
|
+
crn: string;
|
|
535
|
+
govLink: string;
|
|
536
|
+
director: string;
|
|
537
|
+
blacklistReason?: string | null | undefined;
|
|
538
|
+
lastUpdatedBy?: {
|
|
539
|
+
id: string;
|
|
540
|
+
firstName: string;
|
|
541
|
+
lastName: string;
|
|
542
|
+
email: string;
|
|
543
|
+
} | null | undefined;
|
|
544
|
+
agentClientLinks?: {
|
|
545
|
+
agentId: string;
|
|
546
|
+
} | null | undefined;
|
|
547
|
+
} | null | undefined;
|
|
227
548
|
user?: {
|
|
228
549
|
id: string;
|
|
229
550
|
firstName: string;
|
|
230
551
|
lastName: string;
|
|
231
552
|
email: string;
|
|
232
|
-
} | undefined;
|
|
553
|
+
} | null | undefined;
|
|
233
554
|
newCollaboration?: {
|
|
555
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
556
|
+
createdAt: string | Date;
|
|
557
|
+
updatedAt: string | Date;
|
|
234
558
|
id: string;
|
|
559
|
+
userId: string;
|
|
560
|
+
company?: {
|
|
561
|
+
createdAt: string | Date;
|
|
562
|
+
updatedAt: string | Date;
|
|
563
|
+
id: string;
|
|
564
|
+
name: string;
|
|
565
|
+
} | null | undefined;
|
|
566
|
+
client?: {
|
|
567
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
568
|
+
createdAt: string | Date;
|
|
569
|
+
updatedAt: string | Date;
|
|
570
|
+
id: string;
|
|
571
|
+
name: string;
|
|
572
|
+
crn: string;
|
|
573
|
+
govLink: string;
|
|
574
|
+
director: string;
|
|
575
|
+
blacklistReason?: string | null | undefined;
|
|
576
|
+
lastUpdatedBy?: {
|
|
577
|
+
id: string;
|
|
578
|
+
firstName: string;
|
|
579
|
+
lastName: string;
|
|
580
|
+
email: string;
|
|
581
|
+
} | null | undefined;
|
|
582
|
+
agentClientLinks?: {
|
|
583
|
+
agentId: string;
|
|
584
|
+
} | null | undefined;
|
|
585
|
+
} | null | undefined;
|
|
586
|
+
user?: {
|
|
587
|
+
id: string;
|
|
588
|
+
firstName: string;
|
|
589
|
+
lastName: string;
|
|
590
|
+
email: string;
|
|
591
|
+
} | null | undefined;
|
|
235
592
|
} | null | undefined;
|
|
236
593
|
}>>>;
|
|
237
594
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -266,31 +623,85 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
266
623
|
areaCovered?: string | null | undefined;
|
|
267
624
|
} | null | undefined;
|
|
268
625
|
currentCollaboration?: {
|
|
269
|
-
status: "
|
|
626
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
270
627
|
createdAt: string;
|
|
271
628
|
updatedAt: string;
|
|
272
629
|
id: string;
|
|
273
630
|
userId: string;
|
|
274
631
|
company?: {
|
|
632
|
+
createdAt: string;
|
|
633
|
+
updatedAt: string;
|
|
275
634
|
id: string;
|
|
276
635
|
name: string;
|
|
277
|
-
} | undefined;
|
|
636
|
+
} | null | undefined;
|
|
278
637
|
client?: {
|
|
638
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
639
|
+
createdAt: string;
|
|
640
|
+
updatedAt: string;
|
|
279
641
|
id: string;
|
|
280
642
|
name: string;
|
|
281
|
-
|
|
643
|
+
crn: string;
|
|
644
|
+
govLink: string;
|
|
645
|
+
director: string;
|
|
646
|
+
blacklistReason?: string | null | undefined;
|
|
647
|
+
lastUpdatedBy?: {
|
|
648
|
+
id: string;
|
|
649
|
+
firstName: string;
|
|
650
|
+
lastName: string;
|
|
651
|
+
email: string;
|
|
652
|
+
} | null | undefined;
|
|
653
|
+
agentClientLinks?: {
|
|
654
|
+
agentId: string;
|
|
655
|
+
} | null | undefined;
|
|
656
|
+
} | null | undefined;
|
|
282
657
|
user?: {
|
|
283
658
|
id: string;
|
|
284
659
|
firstName: string;
|
|
285
660
|
lastName: string;
|
|
286
661
|
email: string;
|
|
287
|
-
} | undefined;
|
|
662
|
+
} | null | undefined;
|
|
288
663
|
newCollaboration?: {
|
|
664
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
665
|
+
createdAt: string;
|
|
666
|
+
updatedAt: string;
|
|
289
667
|
id: string;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
668
|
+
userId: string;
|
|
669
|
+
company?: {
|
|
670
|
+
createdAt: string;
|
|
671
|
+
updatedAt: string;
|
|
672
|
+
id: string;
|
|
673
|
+
name: string;
|
|
674
|
+
} | null | undefined;
|
|
675
|
+
client?: {
|
|
676
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
677
|
+
createdAt: string;
|
|
678
|
+
updatedAt: string;
|
|
679
|
+
id: string;
|
|
680
|
+
name: string;
|
|
681
|
+
crn: string;
|
|
682
|
+
govLink: string;
|
|
683
|
+
director: string;
|
|
684
|
+
blacklistReason?: string | null | undefined;
|
|
685
|
+
lastUpdatedBy?: {
|
|
686
|
+
id: string;
|
|
687
|
+
firstName: string;
|
|
688
|
+
lastName: string;
|
|
689
|
+
email: string;
|
|
690
|
+
} | null | undefined;
|
|
691
|
+
agentClientLinks?: {
|
|
692
|
+
agentId: string;
|
|
693
|
+
} | null | undefined;
|
|
694
|
+
} | null | undefined;
|
|
695
|
+
user?: {
|
|
696
|
+
id: string;
|
|
697
|
+
firstName: string;
|
|
698
|
+
lastName: string;
|
|
699
|
+
email: string;
|
|
700
|
+
} | null | undefined;
|
|
701
|
+
} | null | undefined;
|
|
702
|
+
} | null | undefined;
|
|
703
|
+
}, {
|
|
704
|
+
description: string;
|
|
294
705
|
numberOfPositions: number;
|
|
295
706
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
296
707
|
createdAt: string | Date;
|
|
@@ -319,27 +730,81 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
319
730
|
qualificationTypeId?: string | null | undefined;
|
|
320
731
|
}[] | undefined;
|
|
321
732
|
currentCollaboration?: {
|
|
322
|
-
status: "
|
|
733
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
323
734
|
createdAt: string | Date;
|
|
324
735
|
updatedAt: string | Date;
|
|
325
736
|
id: string;
|
|
326
737
|
userId: string;
|
|
327
738
|
company?: {
|
|
739
|
+
createdAt: string | Date;
|
|
740
|
+
updatedAt: string | Date;
|
|
328
741
|
id: string;
|
|
329
742
|
name: string;
|
|
330
|
-
} | undefined;
|
|
743
|
+
} | null | undefined;
|
|
331
744
|
client?: {
|
|
745
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
746
|
+
createdAt: string | Date;
|
|
747
|
+
updatedAt: string | Date;
|
|
332
748
|
id: string;
|
|
333
749
|
name: string;
|
|
334
|
-
|
|
750
|
+
crn: string;
|
|
751
|
+
govLink: string;
|
|
752
|
+
director: string;
|
|
753
|
+
blacklistReason?: string | null | undefined;
|
|
754
|
+
lastUpdatedBy?: {
|
|
755
|
+
id: string;
|
|
756
|
+
firstName: string;
|
|
757
|
+
lastName: string;
|
|
758
|
+
email: string;
|
|
759
|
+
} | null | undefined;
|
|
760
|
+
agentClientLinks?: {
|
|
761
|
+
agentId: string;
|
|
762
|
+
} | null | undefined;
|
|
763
|
+
} | null | undefined;
|
|
335
764
|
user?: {
|
|
336
765
|
id: string;
|
|
337
766
|
firstName: string;
|
|
338
767
|
lastName: string;
|
|
339
768
|
email: string;
|
|
340
|
-
} | undefined;
|
|
769
|
+
} | null | undefined;
|
|
341
770
|
newCollaboration?: {
|
|
771
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
772
|
+
createdAt: string | Date;
|
|
773
|
+
updatedAt: string | Date;
|
|
342
774
|
id: string;
|
|
775
|
+
userId: string;
|
|
776
|
+
company?: {
|
|
777
|
+
createdAt: string | Date;
|
|
778
|
+
updatedAt: string | Date;
|
|
779
|
+
id: string;
|
|
780
|
+
name: string;
|
|
781
|
+
} | null | undefined;
|
|
782
|
+
client?: {
|
|
783
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
784
|
+
createdAt: string | Date;
|
|
785
|
+
updatedAt: string | Date;
|
|
786
|
+
id: string;
|
|
787
|
+
name: string;
|
|
788
|
+
crn: string;
|
|
789
|
+
govLink: string;
|
|
790
|
+
director: string;
|
|
791
|
+
blacklistReason?: string | null | undefined;
|
|
792
|
+
lastUpdatedBy?: {
|
|
793
|
+
id: string;
|
|
794
|
+
firstName: string;
|
|
795
|
+
lastName: string;
|
|
796
|
+
email: string;
|
|
797
|
+
} | null | undefined;
|
|
798
|
+
agentClientLinks?: {
|
|
799
|
+
agentId: string;
|
|
800
|
+
} | null | undefined;
|
|
801
|
+
} | null | undefined;
|
|
802
|
+
user?: {
|
|
803
|
+
id: string;
|
|
804
|
+
firstName: string;
|
|
805
|
+
lastName: string;
|
|
806
|
+
email: string;
|
|
807
|
+
} | null | undefined;
|
|
343
808
|
} | null | undefined;
|
|
344
809
|
} | null | undefined;
|
|
345
810
|
}>;
|
|
@@ -349,36 +814,36 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
349
814
|
export declare const CreateJobSchema: z.ZodObject<{
|
|
350
815
|
description: z.ZodString;
|
|
351
816
|
location: z.ZodOptional<z.ZodObject<{
|
|
352
|
-
address: z.ZodOptional<z.ZodString
|
|
353
|
-
postcode: z.ZodOptional<z.ZodString
|
|
817
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
818
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
354
819
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
address?: string | undefined;
|
|
356
|
-
postcode?: string | undefined;
|
|
820
|
+
address?: string | null | undefined;
|
|
821
|
+
postcode?: string | null | undefined;
|
|
357
822
|
}, {
|
|
358
|
-
address?: string | undefined;
|
|
359
|
-
postcode?: string | undefined;
|
|
823
|
+
address?: string | null | undefined;
|
|
824
|
+
postcode?: string | null | undefined;
|
|
360
825
|
}>>;
|
|
361
826
|
numberOfPositions: z.ZodNumber;
|
|
362
827
|
workHours: z.ZodOptional<z.ZodNumber>;
|
|
363
828
|
pay: z.ZodObject<{
|
|
364
|
-
rateUnit: z.
|
|
829
|
+
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
365
830
|
rate: z.ZodNumber;
|
|
366
|
-
rateMax: z.ZodOptional<z.ZodNumber
|
|
831
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
367
832
|
receivedRate: z.ZodNumber;
|
|
368
833
|
}, "strip", z.ZodTypeAny, {
|
|
834
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
369
835
|
rate: number;
|
|
370
836
|
receivedRate: number;
|
|
371
|
-
|
|
372
|
-
rateMax?: number | undefined;
|
|
837
|
+
rateMax?: number | null | undefined;
|
|
373
838
|
}, {
|
|
374
839
|
rate: number;
|
|
375
840
|
receivedRate: number;
|
|
376
841
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
377
|
-
rateMax?: number | undefined;
|
|
842
|
+
rateMax?: number | null | undefined;
|
|
378
843
|
}>;
|
|
379
|
-
tradeId: z.ZodString
|
|
844
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
380
845
|
currentCollaboration: z.ZodObject<{
|
|
381
|
-
id: z.ZodString
|
|
846
|
+
id: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
382
847
|
}, "strip", z.ZodTypeAny, {
|
|
383
848
|
id: string;
|
|
384
849
|
}, {
|
|
@@ -386,37 +851,37 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
386
851
|
}>;
|
|
387
852
|
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
388
853
|
qualificationId: z.ZodString;
|
|
389
|
-
qualificationTypeId: z.ZodOptional<z.ZodString
|
|
854
|
+
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
390
855
|
}, "strip", z.ZodTypeAny, {
|
|
391
856
|
qualificationId: string;
|
|
392
|
-
qualificationTypeId?: string | undefined;
|
|
857
|
+
qualificationTypeId?: string | null | undefined;
|
|
393
858
|
}, {
|
|
394
859
|
qualificationId: string;
|
|
395
|
-
qualificationTypeId?: string | undefined;
|
|
860
|
+
qualificationTypeId?: string | null | undefined;
|
|
396
861
|
}>, "many">>;
|
|
397
|
-
status: z.
|
|
862
|
+
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
398
863
|
}, "strip", z.ZodTypeAny, {
|
|
399
864
|
description: string;
|
|
400
865
|
numberOfPositions: number;
|
|
866
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
401
867
|
pay: {
|
|
868
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
402
869
|
rate: number;
|
|
403
870
|
receivedRate: number;
|
|
404
|
-
|
|
405
|
-
rateMax?: number | undefined;
|
|
871
|
+
rateMax?: number | null | undefined;
|
|
406
872
|
};
|
|
407
873
|
tradeId: string;
|
|
408
874
|
currentCollaboration: {
|
|
409
875
|
id: string;
|
|
410
876
|
};
|
|
411
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
412
877
|
workHours?: number | undefined;
|
|
413
878
|
location?: {
|
|
414
|
-
address?: string | undefined;
|
|
415
|
-
postcode?: string | undefined;
|
|
879
|
+
address?: string | null | undefined;
|
|
880
|
+
postcode?: string | null | undefined;
|
|
416
881
|
} | undefined;
|
|
417
882
|
jobQualifications?: {
|
|
418
883
|
qualificationId: string;
|
|
419
|
-
qualificationTypeId?: string | undefined;
|
|
884
|
+
qualificationTypeId?: string | null | undefined;
|
|
420
885
|
}[] | undefined;
|
|
421
886
|
}, {
|
|
422
887
|
description: string;
|
|
@@ -425,7 +890,7 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
425
890
|
rate: number;
|
|
426
891
|
receivedRate: number;
|
|
427
892
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
428
|
-
rateMax?: number | undefined;
|
|
893
|
+
rateMax?: number | null | undefined;
|
|
429
894
|
};
|
|
430
895
|
tradeId: string;
|
|
431
896
|
currentCollaboration: {
|
|
@@ -434,12 +899,12 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
434
899
|
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
435
900
|
workHours?: number | undefined;
|
|
436
901
|
location?: {
|
|
437
|
-
address?: string | undefined;
|
|
438
|
-
postcode?: string | undefined;
|
|
902
|
+
address?: string | null | undefined;
|
|
903
|
+
postcode?: string | null | undefined;
|
|
439
904
|
} | undefined;
|
|
440
905
|
jobQualifications?: {
|
|
441
906
|
qualificationId: string;
|
|
442
|
-
qualificationTypeId?: string | undefined;
|
|
907
|
+
qualificationTypeId?: string | null | undefined;
|
|
443
908
|
}[] | undefined;
|
|
444
909
|
}>;
|
|
445
910
|
/**
|
|
@@ -448,34 +913,34 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
448
913
|
export declare const UpdateJobSchema: z.ZodObject<{
|
|
449
914
|
description: z.ZodOptional<z.ZodString>;
|
|
450
915
|
location: z.ZodOptional<z.ZodObject<{
|
|
451
|
-
address: z.ZodOptional<z.ZodString
|
|
452
|
-
postcode: z.ZodOptional<z.ZodString
|
|
916
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
917
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
453
918
|
}, "strip", z.ZodTypeAny, {
|
|
454
|
-
address?: string | undefined;
|
|
455
|
-
postcode?: string | undefined;
|
|
919
|
+
address?: string | null | undefined;
|
|
920
|
+
postcode?: string | null | undefined;
|
|
456
921
|
}, {
|
|
457
|
-
address?: string | undefined;
|
|
458
|
-
postcode?: string | undefined;
|
|
922
|
+
address?: string | null | undefined;
|
|
923
|
+
postcode?: string | null | undefined;
|
|
459
924
|
}>>;
|
|
460
925
|
numberOfPositions: z.ZodOptional<z.ZodNumber>;
|
|
461
926
|
workHours: z.ZodOptional<z.ZodNumber>;
|
|
462
927
|
pay: z.ZodOptional<z.ZodObject<{
|
|
463
|
-
rateUnit: z.
|
|
928
|
+
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
464
929
|
rate: z.ZodNumber;
|
|
465
|
-
rateMax: z.ZodOptional<z.ZodNumber
|
|
930
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
466
931
|
receivedRate: z.ZodNumber;
|
|
467
932
|
}, "strip", z.ZodTypeAny, {
|
|
933
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
468
934
|
rate: number;
|
|
469
935
|
receivedRate: number;
|
|
470
|
-
|
|
471
|
-
rateMax?: number | undefined;
|
|
936
|
+
rateMax?: number | null | undefined;
|
|
472
937
|
}, {
|
|
473
938
|
rate: number;
|
|
474
939
|
receivedRate: number;
|
|
475
940
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
476
|
-
rateMax?: number | undefined;
|
|
941
|
+
rateMax?: number | null | undefined;
|
|
477
942
|
}>>;
|
|
478
|
-
tradeId: z.ZodOptional<z.ZodString
|
|
943
|
+
tradeId: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
|
479
944
|
currentCollaboration: z.ZodOptional<z.ZodObject<{
|
|
480
945
|
id: z.ZodString;
|
|
481
946
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -485,13 +950,13 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
485
950
|
}>>;
|
|
486
951
|
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
487
952
|
qualificationId: z.ZodString;
|
|
488
|
-
qualificationTypeId: z.ZodOptional<z.ZodString
|
|
953
|
+
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
489
954
|
}, "strip", z.ZodTypeAny, {
|
|
490
955
|
qualificationId: string;
|
|
491
|
-
qualificationTypeId?: string | undefined;
|
|
956
|
+
qualificationTypeId?: string | null | undefined;
|
|
492
957
|
}, {
|
|
493
958
|
qualificationId: string;
|
|
494
|
-
qualificationTypeId?: string | undefined;
|
|
959
|
+
qualificationTypeId?: string | null | undefined;
|
|
495
960
|
}>, "many">>;
|
|
496
961
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
497
962
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -500,19 +965,19 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
500
965
|
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
501
966
|
workHours?: number | undefined;
|
|
502
967
|
pay?: {
|
|
968
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
503
969
|
rate: number;
|
|
504
970
|
receivedRate: number;
|
|
505
|
-
|
|
506
|
-
rateMax?: number | undefined;
|
|
971
|
+
rateMax?: number | null | undefined;
|
|
507
972
|
} | undefined;
|
|
508
973
|
location?: {
|
|
509
|
-
address?: string | undefined;
|
|
510
|
-
postcode?: string | undefined;
|
|
974
|
+
address?: string | null | undefined;
|
|
975
|
+
postcode?: string | null | undefined;
|
|
511
976
|
} | undefined;
|
|
512
977
|
tradeId?: string | undefined;
|
|
513
978
|
jobQualifications?: {
|
|
514
979
|
qualificationId: string;
|
|
515
|
-
qualificationTypeId?: string | undefined;
|
|
980
|
+
qualificationTypeId?: string | null | undefined;
|
|
516
981
|
}[] | undefined;
|
|
517
982
|
currentCollaboration?: {
|
|
518
983
|
id: string;
|
|
@@ -526,16 +991,16 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
526
991
|
rate: number;
|
|
527
992
|
receivedRate: number;
|
|
528
993
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
529
|
-
rateMax?: number | undefined;
|
|
994
|
+
rateMax?: number | null | undefined;
|
|
530
995
|
} | undefined;
|
|
531
996
|
location?: {
|
|
532
|
-
address?: string | undefined;
|
|
533
|
-
postcode?: string | undefined;
|
|
997
|
+
address?: string | null | undefined;
|
|
998
|
+
postcode?: string | null | undefined;
|
|
534
999
|
} | undefined;
|
|
535
1000
|
tradeId?: string | undefined;
|
|
536
1001
|
jobQualifications?: {
|
|
537
1002
|
qualificationId: string;
|
|
538
|
-
qualificationTypeId?: string | undefined;
|
|
1003
|
+
qualificationTypeId?: string | null | undefined;
|
|
539
1004
|
}[] | undefined;
|
|
540
1005
|
currentCollaboration?: {
|
|
541
1006
|
id: string;
|
|
@@ -657,7 +1122,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
657
1122
|
postTown?: string | null | undefined;
|
|
658
1123
|
areaCovered?: string | null | undefined;
|
|
659
1124
|
}>>>;
|
|
660
|
-
tradeId: z.ZodString
|
|
1125
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
661
1126
|
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
662
1127
|
id: z.ZodString;
|
|
663
1128
|
qualificationId: z.ZodString;
|
|
@@ -673,27 +1138,95 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
673
1138
|
}>, "many">>>;
|
|
674
1139
|
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
675
1140
|
id: z.ZodString;
|
|
676
|
-
company: z.ZodOptional<z.ZodObject<{
|
|
1141
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
677
1142
|
id: z.ZodString;
|
|
678
1143
|
name: z.ZodString;
|
|
1144
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1145
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
679
1146
|
}, "strip", z.ZodTypeAny, {
|
|
1147
|
+
createdAt: string;
|
|
1148
|
+
updatedAt: string;
|
|
680
1149
|
id: string;
|
|
681
1150
|
name: string;
|
|
682
1151
|
}, {
|
|
1152
|
+
createdAt: string | Date;
|
|
1153
|
+
updatedAt: string | Date;
|
|
683
1154
|
id: string;
|
|
684
1155
|
name: string;
|
|
685
|
-
}
|
|
686
|
-
client: z.ZodOptional<z.ZodObject<{
|
|
1156
|
+
}>>>;
|
|
1157
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
687
1158
|
id: z.ZodString;
|
|
688
1159
|
name: z.ZodString;
|
|
1160
|
+
crn: z.ZodString;
|
|
1161
|
+
govLink: z.ZodString;
|
|
1162
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1163
|
+
director: z.ZodString;
|
|
1164
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1165
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1166
|
+
id: z.ZodString;
|
|
1167
|
+
firstName: z.ZodString;
|
|
1168
|
+
lastName: z.ZodString;
|
|
1169
|
+
email: z.ZodString;
|
|
1170
|
+
}, "strip", z.ZodTypeAny, {
|
|
1171
|
+
id: string;
|
|
1172
|
+
firstName: string;
|
|
1173
|
+
lastName: string;
|
|
1174
|
+
email: string;
|
|
1175
|
+
}, {
|
|
1176
|
+
id: string;
|
|
1177
|
+
firstName: string;
|
|
1178
|
+
lastName: string;
|
|
1179
|
+
email: string;
|
|
1180
|
+
}>>>;
|
|
1181
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1182
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1183
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1184
|
+
agentId: z.ZodString;
|
|
1185
|
+
}, "strip", z.ZodTypeAny, {
|
|
1186
|
+
agentId: string;
|
|
1187
|
+
}, {
|
|
1188
|
+
agentId: string;
|
|
1189
|
+
}>>>;
|
|
689
1190
|
}, "strip", z.ZodTypeAny, {
|
|
1191
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1192
|
+
createdAt: string;
|
|
1193
|
+
updatedAt: string;
|
|
690
1194
|
id: string;
|
|
691
1195
|
name: string;
|
|
1196
|
+
crn: string;
|
|
1197
|
+
govLink: string;
|
|
1198
|
+
director: string;
|
|
1199
|
+
blacklistReason?: string | null | undefined;
|
|
1200
|
+
lastUpdatedBy?: {
|
|
1201
|
+
id: string;
|
|
1202
|
+
firstName: string;
|
|
1203
|
+
lastName: string;
|
|
1204
|
+
email: string;
|
|
1205
|
+
} | null | undefined;
|
|
1206
|
+
agentClientLinks?: {
|
|
1207
|
+
agentId: string;
|
|
1208
|
+
} | null | undefined;
|
|
692
1209
|
}, {
|
|
1210
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1211
|
+
createdAt: string | Date;
|
|
1212
|
+
updatedAt: string | Date;
|
|
693
1213
|
id: string;
|
|
694
1214
|
name: string;
|
|
695
|
-
|
|
696
|
-
|
|
1215
|
+
crn: string;
|
|
1216
|
+
govLink: string;
|
|
1217
|
+
director: string;
|
|
1218
|
+
blacklistReason?: string | null | undefined;
|
|
1219
|
+
lastUpdatedBy?: {
|
|
1220
|
+
id: string;
|
|
1221
|
+
firstName: string;
|
|
1222
|
+
lastName: string;
|
|
1223
|
+
email: string;
|
|
1224
|
+
} | null | undefined;
|
|
1225
|
+
agentClientLinks?: {
|
|
1226
|
+
agentId: string;
|
|
1227
|
+
} | null | undefined;
|
|
1228
|
+
}>>>;
|
|
1229
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
697
1230
|
id: z.ZodString;
|
|
698
1231
|
firstName: z.ZodString;
|
|
699
1232
|
lastName: z.ZodString;
|
|
@@ -708,63 +1241,352 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
708
1241
|
firstName: string;
|
|
709
1242
|
lastName: string;
|
|
710
1243
|
email: string;
|
|
711
|
-
}
|
|
1244
|
+
}>>>;
|
|
712
1245
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
713
1246
|
userId: z.ZodString;
|
|
714
1247
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
715
1248
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1249
|
+
} & {
|
|
716
1250
|
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
717
1251
|
id: z.ZodString;
|
|
1252
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1253
|
+
id: z.ZodString;
|
|
1254
|
+
name: z.ZodString;
|
|
1255
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1256
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1257
|
+
}, "strip", z.ZodTypeAny, {
|
|
1258
|
+
createdAt: string;
|
|
1259
|
+
updatedAt: string;
|
|
1260
|
+
id: string;
|
|
1261
|
+
name: string;
|
|
1262
|
+
}, {
|
|
1263
|
+
createdAt: string | Date;
|
|
1264
|
+
updatedAt: string | Date;
|
|
1265
|
+
id: string;
|
|
1266
|
+
name: string;
|
|
1267
|
+
}>>>;
|
|
1268
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1269
|
+
id: z.ZodString;
|
|
1270
|
+
name: z.ZodString;
|
|
1271
|
+
crn: z.ZodString;
|
|
1272
|
+
govLink: z.ZodString;
|
|
1273
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1274
|
+
director: z.ZodString;
|
|
1275
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1276
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1277
|
+
id: z.ZodString;
|
|
1278
|
+
firstName: z.ZodString;
|
|
1279
|
+
lastName: z.ZodString;
|
|
1280
|
+
email: z.ZodString;
|
|
1281
|
+
}, "strip", z.ZodTypeAny, {
|
|
1282
|
+
id: string;
|
|
1283
|
+
firstName: string;
|
|
1284
|
+
lastName: string;
|
|
1285
|
+
email: string;
|
|
1286
|
+
}, {
|
|
1287
|
+
id: string;
|
|
1288
|
+
firstName: string;
|
|
1289
|
+
lastName: string;
|
|
1290
|
+
email: string;
|
|
1291
|
+
}>>>;
|
|
1292
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1293
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1294
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1295
|
+
agentId: z.ZodString;
|
|
1296
|
+
}, "strip", z.ZodTypeAny, {
|
|
1297
|
+
agentId: string;
|
|
1298
|
+
}, {
|
|
1299
|
+
agentId: string;
|
|
1300
|
+
}>>>;
|
|
1301
|
+
}, "strip", z.ZodTypeAny, {
|
|
1302
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1303
|
+
createdAt: string;
|
|
1304
|
+
updatedAt: string;
|
|
1305
|
+
id: string;
|
|
1306
|
+
name: string;
|
|
1307
|
+
crn: string;
|
|
1308
|
+
govLink: string;
|
|
1309
|
+
director: string;
|
|
1310
|
+
blacklistReason?: string | null | undefined;
|
|
1311
|
+
lastUpdatedBy?: {
|
|
1312
|
+
id: string;
|
|
1313
|
+
firstName: string;
|
|
1314
|
+
lastName: string;
|
|
1315
|
+
email: string;
|
|
1316
|
+
} | null | undefined;
|
|
1317
|
+
agentClientLinks?: {
|
|
1318
|
+
agentId: string;
|
|
1319
|
+
} | null | undefined;
|
|
1320
|
+
}, {
|
|
1321
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1322
|
+
createdAt: string | Date;
|
|
1323
|
+
updatedAt: string | Date;
|
|
1324
|
+
id: string;
|
|
1325
|
+
name: string;
|
|
1326
|
+
crn: string;
|
|
1327
|
+
govLink: string;
|
|
1328
|
+
director: string;
|
|
1329
|
+
blacklistReason?: string | null | undefined;
|
|
1330
|
+
lastUpdatedBy?: {
|
|
1331
|
+
id: string;
|
|
1332
|
+
firstName: string;
|
|
1333
|
+
lastName: string;
|
|
1334
|
+
email: string;
|
|
1335
|
+
} | null | undefined;
|
|
1336
|
+
agentClientLinks?: {
|
|
1337
|
+
agentId: string;
|
|
1338
|
+
} | null | undefined;
|
|
1339
|
+
}>>>;
|
|
1340
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1341
|
+
id: z.ZodString;
|
|
1342
|
+
firstName: z.ZodString;
|
|
1343
|
+
lastName: z.ZodString;
|
|
1344
|
+
email: z.ZodString;
|
|
1345
|
+
}, "strip", z.ZodTypeAny, {
|
|
1346
|
+
id: string;
|
|
1347
|
+
firstName: string;
|
|
1348
|
+
lastName: string;
|
|
1349
|
+
email: string;
|
|
1350
|
+
}, {
|
|
1351
|
+
id: string;
|
|
1352
|
+
firstName: string;
|
|
1353
|
+
lastName: string;
|
|
1354
|
+
email: string;
|
|
1355
|
+
}>>>;
|
|
1356
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
1357
|
+
userId: z.ZodString;
|
|
1358
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1359
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
718
1360
|
}, "strip", z.ZodTypeAny, {
|
|
1361
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1362
|
+
createdAt: string;
|
|
1363
|
+
updatedAt: string;
|
|
719
1364
|
id: string;
|
|
1365
|
+
userId: string;
|
|
1366
|
+
company?: {
|
|
1367
|
+
createdAt: string;
|
|
1368
|
+
updatedAt: string;
|
|
1369
|
+
id: string;
|
|
1370
|
+
name: string;
|
|
1371
|
+
} | null | undefined;
|
|
1372
|
+
client?: {
|
|
1373
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1374
|
+
createdAt: string;
|
|
1375
|
+
updatedAt: string;
|
|
1376
|
+
id: string;
|
|
1377
|
+
name: string;
|
|
1378
|
+
crn: string;
|
|
1379
|
+
govLink: string;
|
|
1380
|
+
director: string;
|
|
1381
|
+
blacklistReason?: string | null | undefined;
|
|
1382
|
+
lastUpdatedBy?: {
|
|
1383
|
+
id: string;
|
|
1384
|
+
firstName: string;
|
|
1385
|
+
lastName: string;
|
|
1386
|
+
email: string;
|
|
1387
|
+
} | null | undefined;
|
|
1388
|
+
agentClientLinks?: {
|
|
1389
|
+
agentId: string;
|
|
1390
|
+
} | null | undefined;
|
|
1391
|
+
} | null | undefined;
|
|
1392
|
+
user?: {
|
|
1393
|
+
id: string;
|
|
1394
|
+
firstName: string;
|
|
1395
|
+
lastName: string;
|
|
1396
|
+
email: string;
|
|
1397
|
+
} | null | undefined;
|
|
720
1398
|
}, {
|
|
1399
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1400
|
+
createdAt: string | Date;
|
|
1401
|
+
updatedAt: string | Date;
|
|
721
1402
|
id: string;
|
|
1403
|
+
userId: string;
|
|
1404
|
+
company?: {
|
|
1405
|
+
createdAt: string | Date;
|
|
1406
|
+
updatedAt: string | Date;
|
|
1407
|
+
id: string;
|
|
1408
|
+
name: string;
|
|
1409
|
+
} | null | undefined;
|
|
1410
|
+
client?: {
|
|
1411
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1412
|
+
createdAt: string | Date;
|
|
1413
|
+
updatedAt: string | Date;
|
|
1414
|
+
id: string;
|
|
1415
|
+
name: string;
|
|
1416
|
+
crn: string;
|
|
1417
|
+
govLink: string;
|
|
1418
|
+
director: string;
|
|
1419
|
+
blacklistReason?: string | null | undefined;
|
|
1420
|
+
lastUpdatedBy?: {
|
|
1421
|
+
id: string;
|
|
1422
|
+
firstName: string;
|
|
1423
|
+
lastName: string;
|
|
1424
|
+
email: string;
|
|
1425
|
+
} | null | undefined;
|
|
1426
|
+
agentClientLinks?: {
|
|
1427
|
+
agentId: string;
|
|
1428
|
+
} | null | undefined;
|
|
1429
|
+
} | null | undefined;
|
|
1430
|
+
user?: {
|
|
1431
|
+
id: string;
|
|
1432
|
+
firstName: string;
|
|
1433
|
+
lastName: string;
|
|
1434
|
+
email: string;
|
|
1435
|
+
} | null | undefined;
|
|
722
1436
|
}>>>;
|
|
723
1437
|
}, "strip", z.ZodTypeAny, {
|
|
724
|
-
status: "
|
|
1438
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
725
1439
|
createdAt: string;
|
|
726
1440
|
updatedAt: string;
|
|
727
1441
|
id: string;
|
|
728
1442
|
userId: string;
|
|
729
1443
|
company?: {
|
|
1444
|
+
createdAt: string;
|
|
1445
|
+
updatedAt: string;
|
|
730
1446
|
id: string;
|
|
731
1447
|
name: string;
|
|
732
|
-
} | undefined;
|
|
1448
|
+
} | null | undefined;
|
|
733
1449
|
client?: {
|
|
1450
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1451
|
+
createdAt: string;
|
|
1452
|
+
updatedAt: string;
|
|
734
1453
|
id: string;
|
|
735
1454
|
name: string;
|
|
736
|
-
|
|
1455
|
+
crn: string;
|
|
1456
|
+
govLink: string;
|
|
1457
|
+
director: string;
|
|
1458
|
+
blacklistReason?: string | null | undefined;
|
|
1459
|
+
lastUpdatedBy?: {
|
|
1460
|
+
id: string;
|
|
1461
|
+
firstName: string;
|
|
1462
|
+
lastName: string;
|
|
1463
|
+
email: string;
|
|
1464
|
+
} | null | undefined;
|
|
1465
|
+
agentClientLinks?: {
|
|
1466
|
+
agentId: string;
|
|
1467
|
+
} | null | undefined;
|
|
1468
|
+
} | null | undefined;
|
|
737
1469
|
user?: {
|
|
738
1470
|
id: string;
|
|
739
1471
|
firstName: string;
|
|
740
1472
|
lastName: string;
|
|
741
1473
|
email: string;
|
|
742
|
-
} | undefined;
|
|
1474
|
+
} | null | undefined;
|
|
743
1475
|
newCollaboration?: {
|
|
1476
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1477
|
+
createdAt: string;
|
|
1478
|
+
updatedAt: string;
|
|
744
1479
|
id: string;
|
|
1480
|
+
userId: string;
|
|
1481
|
+
company?: {
|
|
1482
|
+
createdAt: string;
|
|
1483
|
+
updatedAt: string;
|
|
1484
|
+
id: string;
|
|
1485
|
+
name: string;
|
|
1486
|
+
} | null | undefined;
|
|
1487
|
+
client?: {
|
|
1488
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1489
|
+
createdAt: string;
|
|
1490
|
+
updatedAt: string;
|
|
1491
|
+
id: string;
|
|
1492
|
+
name: string;
|
|
1493
|
+
crn: string;
|
|
1494
|
+
govLink: string;
|
|
1495
|
+
director: string;
|
|
1496
|
+
blacklistReason?: string | null | undefined;
|
|
1497
|
+
lastUpdatedBy?: {
|
|
1498
|
+
id: string;
|
|
1499
|
+
firstName: string;
|
|
1500
|
+
lastName: string;
|
|
1501
|
+
email: string;
|
|
1502
|
+
} | null | undefined;
|
|
1503
|
+
agentClientLinks?: {
|
|
1504
|
+
agentId: string;
|
|
1505
|
+
} | null | undefined;
|
|
1506
|
+
} | null | undefined;
|
|
1507
|
+
user?: {
|
|
1508
|
+
id: string;
|
|
1509
|
+
firstName: string;
|
|
1510
|
+
lastName: string;
|
|
1511
|
+
email: string;
|
|
1512
|
+
} | null | undefined;
|
|
745
1513
|
} | null | undefined;
|
|
746
1514
|
}, {
|
|
747
|
-
status: "
|
|
1515
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
748
1516
|
createdAt: string | Date;
|
|
749
1517
|
updatedAt: string | Date;
|
|
750
1518
|
id: string;
|
|
751
1519
|
userId: string;
|
|
752
1520
|
company?: {
|
|
1521
|
+
createdAt: string | Date;
|
|
1522
|
+
updatedAt: string | Date;
|
|
753
1523
|
id: string;
|
|
754
1524
|
name: string;
|
|
755
|
-
} | undefined;
|
|
1525
|
+
} | null | undefined;
|
|
756
1526
|
client?: {
|
|
1527
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1528
|
+
createdAt: string | Date;
|
|
1529
|
+
updatedAt: string | Date;
|
|
757
1530
|
id: string;
|
|
758
1531
|
name: string;
|
|
759
|
-
|
|
1532
|
+
crn: string;
|
|
1533
|
+
govLink: string;
|
|
1534
|
+
director: string;
|
|
1535
|
+
blacklistReason?: string | null | undefined;
|
|
1536
|
+
lastUpdatedBy?: {
|
|
1537
|
+
id: string;
|
|
1538
|
+
firstName: string;
|
|
1539
|
+
lastName: string;
|
|
1540
|
+
email: string;
|
|
1541
|
+
} | null | undefined;
|
|
1542
|
+
agentClientLinks?: {
|
|
1543
|
+
agentId: string;
|
|
1544
|
+
} | null | undefined;
|
|
1545
|
+
} | null | undefined;
|
|
760
1546
|
user?: {
|
|
761
1547
|
id: string;
|
|
762
1548
|
firstName: string;
|
|
763
1549
|
lastName: string;
|
|
764
1550
|
email: string;
|
|
765
|
-
} | undefined;
|
|
1551
|
+
} | null | undefined;
|
|
766
1552
|
newCollaboration?: {
|
|
1553
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1554
|
+
createdAt: string | Date;
|
|
1555
|
+
updatedAt: string | Date;
|
|
767
1556
|
id: string;
|
|
1557
|
+
userId: string;
|
|
1558
|
+
company?: {
|
|
1559
|
+
createdAt: string | Date;
|
|
1560
|
+
updatedAt: string | Date;
|
|
1561
|
+
id: string;
|
|
1562
|
+
name: string;
|
|
1563
|
+
} | null | undefined;
|
|
1564
|
+
client?: {
|
|
1565
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1566
|
+
createdAt: string | Date;
|
|
1567
|
+
updatedAt: string | Date;
|
|
1568
|
+
id: string;
|
|
1569
|
+
name: string;
|
|
1570
|
+
crn: string;
|
|
1571
|
+
govLink: string;
|
|
1572
|
+
director: string;
|
|
1573
|
+
blacklistReason?: string | null | undefined;
|
|
1574
|
+
lastUpdatedBy?: {
|
|
1575
|
+
id: string;
|
|
1576
|
+
firstName: string;
|
|
1577
|
+
lastName: string;
|
|
1578
|
+
email: string;
|
|
1579
|
+
} | null | undefined;
|
|
1580
|
+
agentClientLinks?: {
|
|
1581
|
+
agentId: string;
|
|
1582
|
+
} | null | undefined;
|
|
1583
|
+
} | null | undefined;
|
|
1584
|
+
user?: {
|
|
1585
|
+
id: string;
|
|
1586
|
+
firstName: string;
|
|
1587
|
+
lastName: string;
|
|
1588
|
+
email: string;
|
|
1589
|
+
} | null | undefined;
|
|
768
1590
|
} | null | undefined;
|
|
769
1591
|
}>>>;
|
|
770
1592
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -799,27 +1621,81 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
799
1621
|
areaCovered?: string | null | undefined;
|
|
800
1622
|
} | null | undefined;
|
|
801
1623
|
currentCollaboration?: {
|
|
802
|
-
status: "
|
|
1624
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
803
1625
|
createdAt: string;
|
|
804
1626
|
updatedAt: string;
|
|
805
1627
|
id: string;
|
|
806
1628
|
userId: string;
|
|
807
1629
|
company?: {
|
|
1630
|
+
createdAt: string;
|
|
1631
|
+
updatedAt: string;
|
|
808
1632
|
id: string;
|
|
809
1633
|
name: string;
|
|
810
|
-
} | undefined;
|
|
1634
|
+
} | null | undefined;
|
|
811
1635
|
client?: {
|
|
1636
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1637
|
+
createdAt: string;
|
|
1638
|
+
updatedAt: string;
|
|
812
1639
|
id: string;
|
|
813
1640
|
name: string;
|
|
814
|
-
|
|
1641
|
+
crn: string;
|
|
1642
|
+
govLink: string;
|
|
1643
|
+
director: string;
|
|
1644
|
+
blacklistReason?: string | null | undefined;
|
|
1645
|
+
lastUpdatedBy?: {
|
|
1646
|
+
id: string;
|
|
1647
|
+
firstName: string;
|
|
1648
|
+
lastName: string;
|
|
1649
|
+
email: string;
|
|
1650
|
+
} | null | undefined;
|
|
1651
|
+
agentClientLinks?: {
|
|
1652
|
+
agentId: string;
|
|
1653
|
+
} | null | undefined;
|
|
1654
|
+
} | null | undefined;
|
|
815
1655
|
user?: {
|
|
816
1656
|
id: string;
|
|
817
1657
|
firstName: string;
|
|
818
1658
|
lastName: string;
|
|
819
1659
|
email: string;
|
|
820
|
-
} | undefined;
|
|
1660
|
+
} | null | undefined;
|
|
821
1661
|
newCollaboration?: {
|
|
1662
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1663
|
+
createdAt: string;
|
|
1664
|
+
updatedAt: string;
|
|
822
1665
|
id: string;
|
|
1666
|
+
userId: string;
|
|
1667
|
+
company?: {
|
|
1668
|
+
createdAt: string;
|
|
1669
|
+
updatedAt: string;
|
|
1670
|
+
id: string;
|
|
1671
|
+
name: string;
|
|
1672
|
+
} | null | undefined;
|
|
1673
|
+
client?: {
|
|
1674
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1675
|
+
createdAt: string;
|
|
1676
|
+
updatedAt: string;
|
|
1677
|
+
id: string;
|
|
1678
|
+
name: string;
|
|
1679
|
+
crn: string;
|
|
1680
|
+
govLink: string;
|
|
1681
|
+
director: string;
|
|
1682
|
+
blacklistReason?: string | null | undefined;
|
|
1683
|
+
lastUpdatedBy?: {
|
|
1684
|
+
id: string;
|
|
1685
|
+
firstName: string;
|
|
1686
|
+
lastName: string;
|
|
1687
|
+
email: string;
|
|
1688
|
+
} | null | undefined;
|
|
1689
|
+
agentClientLinks?: {
|
|
1690
|
+
agentId: string;
|
|
1691
|
+
} | null | undefined;
|
|
1692
|
+
} | null | undefined;
|
|
1693
|
+
user?: {
|
|
1694
|
+
id: string;
|
|
1695
|
+
firstName: string;
|
|
1696
|
+
lastName: string;
|
|
1697
|
+
email: string;
|
|
1698
|
+
} | null | undefined;
|
|
823
1699
|
} | null | undefined;
|
|
824
1700
|
} | null | undefined;
|
|
825
1701
|
}, {
|
|
@@ -852,27 +1728,81 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
852
1728
|
qualificationTypeId?: string | null | undefined;
|
|
853
1729
|
}[] | undefined;
|
|
854
1730
|
currentCollaboration?: {
|
|
855
|
-
status: "
|
|
1731
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
856
1732
|
createdAt: string | Date;
|
|
857
1733
|
updatedAt: string | Date;
|
|
858
1734
|
id: string;
|
|
859
1735
|
userId: string;
|
|
860
1736
|
company?: {
|
|
1737
|
+
createdAt: string | Date;
|
|
1738
|
+
updatedAt: string | Date;
|
|
861
1739
|
id: string;
|
|
862
1740
|
name: string;
|
|
863
|
-
} | undefined;
|
|
1741
|
+
} | null | undefined;
|
|
864
1742
|
client?: {
|
|
1743
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1744
|
+
createdAt: string | Date;
|
|
1745
|
+
updatedAt: string | Date;
|
|
865
1746
|
id: string;
|
|
866
1747
|
name: string;
|
|
867
|
-
|
|
1748
|
+
crn: string;
|
|
1749
|
+
govLink: string;
|
|
1750
|
+
director: string;
|
|
1751
|
+
blacklistReason?: string | null | undefined;
|
|
1752
|
+
lastUpdatedBy?: {
|
|
1753
|
+
id: string;
|
|
1754
|
+
firstName: string;
|
|
1755
|
+
lastName: string;
|
|
1756
|
+
email: string;
|
|
1757
|
+
} | null | undefined;
|
|
1758
|
+
agentClientLinks?: {
|
|
1759
|
+
agentId: string;
|
|
1760
|
+
} | null | undefined;
|
|
1761
|
+
} | null | undefined;
|
|
868
1762
|
user?: {
|
|
869
1763
|
id: string;
|
|
870
1764
|
firstName: string;
|
|
871
1765
|
lastName: string;
|
|
872
1766
|
email: string;
|
|
873
|
-
} | undefined;
|
|
1767
|
+
} | null | undefined;
|
|
874
1768
|
newCollaboration?: {
|
|
1769
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1770
|
+
createdAt: string | Date;
|
|
1771
|
+
updatedAt: string | Date;
|
|
875
1772
|
id: string;
|
|
1773
|
+
userId: string;
|
|
1774
|
+
company?: {
|
|
1775
|
+
createdAt: string | Date;
|
|
1776
|
+
updatedAt: string | Date;
|
|
1777
|
+
id: string;
|
|
1778
|
+
name: string;
|
|
1779
|
+
} | null | undefined;
|
|
1780
|
+
client?: {
|
|
1781
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1782
|
+
createdAt: string | Date;
|
|
1783
|
+
updatedAt: string | Date;
|
|
1784
|
+
id: string;
|
|
1785
|
+
name: string;
|
|
1786
|
+
crn: string;
|
|
1787
|
+
govLink: string;
|
|
1788
|
+
director: string;
|
|
1789
|
+
blacklistReason?: string | null | undefined;
|
|
1790
|
+
lastUpdatedBy?: {
|
|
1791
|
+
id: string;
|
|
1792
|
+
firstName: string;
|
|
1793
|
+
lastName: string;
|
|
1794
|
+
email: string;
|
|
1795
|
+
} | null | undefined;
|
|
1796
|
+
agentClientLinks?: {
|
|
1797
|
+
agentId: string;
|
|
1798
|
+
} | null | undefined;
|
|
1799
|
+
} | null | undefined;
|
|
1800
|
+
user?: {
|
|
1801
|
+
id: string;
|
|
1802
|
+
firstName: string;
|
|
1803
|
+
lastName: string;
|
|
1804
|
+
email: string;
|
|
1805
|
+
} | null | undefined;
|
|
876
1806
|
} | null | undefined;
|
|
877
1807
|
} | null | undefined;
|
|
878
1808
|
}>, "many">;
|
|
@@ -913,27 +1843,81 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
913
1843
|
areaCovered?: string | null | undefined;
|
|
914
1844
|
} | null | undefined;
|
|
915
1845
|
currentCollaboration?: {
|
|
916
|
-
status: "
|
|
1846
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
917
1847
|
createdAt: string;
|
|
918
1848
|
updatedAt: string;
|
|
919
1849
|
id: string;
|
|
920
1850
|
userId: string;
|
|
921
1851
|
company?: {
|
|
1852
|
+
createdAt: string;
|
|
1853
|
+
updatedAt: string;
|
|
922
1854
|
id: string;
|
|
923
1855
|
name: string;
|
|
924
|
-
} | undefined;
|
|
1856
|
+
} | null | undefined;
|
|
925
1857
|
client?: {
|
|
1858
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1859
|
+
createdAt: string;
|
|
1860
|
+
updatedAt: string;
|
|
926
1861
|
id: string;
|
|
927
1862
|
name: string;
|
|
928
|
-
|
|
1863
|
+
crn: string;
|
|
1864
|
+
govLink: string;
|
|
1865
|
+
director: string;
|
|
1866
|
+
blacklistReason?: string | null | undefined;
|
|
1867
|
+
lastUpdatedBy?: {
|
|
1868
|
+
id: string;
|
|
1869
|
+
firstName: string;
|
|
1870
|
+
lastName: string;
|
|
1871
|
+
email: string;
|
|
1872
|
+
} | null | undefined;
|
|
1873
|
+
agentClientLinks?: {
|
|
1874
|
+
agentId: string;
|
|
1875
|
+
} | null | undefined;
|
|
1876
|
+
} | null | undefined;
|
|
929
1877
|
user?: {
|
|
930
1878
|
id: string;
|
|
931
1879
|
firstName: string;
|
|
932
1880
|
lastName: string;
|
|
933
1881
|
email: string;
|
|
934
|
-
} | undefined;
|
|
1882
|
+
} | null | undefined;
|
|
935
1883
|
newCollaboration?: {
|
|
1884
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1885
|
+
createdAt: string;
|
|
1886
|
+
updatedAt: string;
|
|
936
1887
|
id: string;
|
|
1888
|
+
userId: string;
|
|
1889
|
+
company?: {
|
|
1890
|
+
createdAt: string;
|
|
1891
|
+
updatedAt: string;
|
|
1892
|
+
id: string;
|
|
1893
|
+
name: string;
|
|
1894
|
+
} | null | undefined;
|
|
1895
|
+
client?: {
|
|
1896
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1897
|
+
createdAt: string;
|
|
1898
|
+
updatedAt: string;
|
|
1899
|
+
id: string;
|
|
1900
|
+
name: string;
|
|
1901
|
+
crn: string;
|
|
1902
|
+
govLink: string;
|
|
1903
|
+
director: string;
|
|
1904
|
+
blacklistReason?: string | null | undefined;
|
|
1905
|
+
lastUpdatedBy?: {
|
|
1906
|
+
id: string;
|
|
1907
|
+
firstName: string;
|
|
1908
|
+
lastName: string;
|
|
1909
|
+
email: string;
|
|
1910
|
+
} | null | undefined;
|
|
1911
|
+
agentClientLinks?: {
|
|
1912
|
+
agentId: string;
|
|
1913
|
+
} | null | undefined;
|
|
1914
|
+
} | null | undefined;
|
|
1915
|
+
user?: {
|
|
1916
|
+
id: string;
|
|
1917
|
+
firstName: string;
|
|
1918
|
+
lastName: string;
|
|
1919
|
+
email: string;
|
|
1920
|
+
} | null | undefined;
|
|
937
1921
|
} | null | undefined;
|
|
938
1922
|
} | null | undefined;
|
|
939
1923
|
}[];
|
|
@@ -973,27 +1957,81 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
973
1957
|
qualificationTypeId?: string | null | undefined;
|
|
974
1958
|
}[] | undefined;
|
|
975
1959
|
currentCollaboration?: {
|
|
976
|
-
status: "
|
|
1960
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
977
1961
|
createdAt: string | Date;
|
|
978
1962
|
updatedAt: string | Date;
|
|
979
1963
|
id: string;
|
|
980
1964
|
userId: string;
|
|
981
1965
|
company?: {
|
|
1966
|
+
createdAt: string | Date;
|
|
1967
|
+
updatedAt: string | Date;
|
|
982
1968
|
id: string;
|
|
983
1969
|
name: string;
|
|
984
|
-
} | undefined;
|
|
1970
|
+
} | null | undefined;
|
|
985
1971
|
client?: {
|
|
1972
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1973
|
+
createdAt: string | Date;
|
|
1974
|
+
updatedAt: string | Date;
|
|
986
1975
|
id: string;
|
|
987
1976
|
name: string;
|
|
988
|
-
|
|
1977
|
+
crn: string;
|
|
1978
|
+
govLink: string;
|
|
1979
|
+
director: string;
|
|
1980
|
+
blacklistReason?: string | null | undefined;
|
|
1981
|
+
lastUpdatedBy?: {
|
|
1982
|
+
id: string;
|
|
1983
|
+
firstName: string;
|
|
1984
|
+
lastName: string;
|
|
1985
|
+
email: string;
|
|
1986
|
+
} | null | undefined;
|
|
1987
|
+
agentClientLinks?: {
|
|
1988
|
+
agentId: string;
|
|
1989
|
+
} | null | undefined;
|
|
1990
|
+
} | null | undefined;
|
|
989
1991
|
user?: {
|
|
990
1992
|
id: string;
|
|
991
1993
|
firstName: string;
|
|
992
1994
|
lastName: string;
|
|
993
1995
|
email: string;
|
|
994
|
-
} | undefined;
|
|
1996
|
+
} | null | undefined;
|
|
995
1997
|
newCollaboration?: {
|
|
1998
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1999
|
+
createdAt: string | Date;
|
|
2000
|
+
updatedAt: string | Date;
|
|
996
2001
|
id: string;
|
|
2002
|
+
userId: string;
|
|
2003
|
+
company?: {
|
|
2004
|
+
createdAt: string | Date;
|
|
2005
|
+
updatedAt: string | Date;
|
|
2006
|
+
id: string;
|
|
2007
|
+
name: string;
|
|
2008
|
+
} | null | undefined;
|
|
2009
|
+
client?: {
|
|
2010
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2011
|
+
createdAt: string | Date;
|
|
2012
|
+
updatedAt: string | Date;
|
|
2013
|
+
id: string;
|
|
2014
|
+
name: string;
|
|
2015
|
+
crn: string;
|
|
2016
|
+
govLink: string;
|
|
2017
|
+
director: string;
|
|
2018
|
+
blacklistReason?: string | null | undefined;
|
|
2019
|
+
lastUpdatedBy?: {
|
|
2020
|
+
id: string;
|
|
2021
|
+
firstName: string;
|
|
2022
|
+
lastName: string;
|
|
2023
|
+
email: string;
|
|
2024
|
+
} | null | undefined;
|
|
2025
|
+
agentClientLinks?: {
|
|
2026
|
+
agentId: string;
|
|
2027
|
+
} | null | undefined;
|
|
2028
|
+
} | null | undefined;
|
|
2029
|
+
user?: {
|
|
2030
|
+
id: string;
|
|
2031
|
+
firstName: string;
|
|
2032
|
+
lastName: string;
|
|
2033
|
+
email: string;
|
|
2034
|
+
} | null | undefined;
|
|
997
2035
|
} | null | undefined;
|
|
998
2036
|
} | null | undefined;
|
|
999
2037
|
}[];
|
|
@@ -1020,36 +2058,36 @@ export declare const jobsContractRouter: {
|
|
|
1020
2058
|
body: z.ZodObject<{
|
|
1021
2059
|
description: z.ZodString;
|
|
1022
2060
|
location: z.ZodOptional<z.ZodObject<{
|
|
1023
|
-
address: z.ZodOptional<z.ZodString
|
|
1024
|
-
postcode: z.ZodOptional<z.ZodString
|
|
2061
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2062
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1025
2063
|
}, "strip", z.ZodTypeAny, {
|
|
1026
|
-
address?: string | undefined;
|
|
1027
|
-
postcode?: string | undefined;
|
|
2064
|
+
address?: string | null | undefined;
|
|
2065
|
+
postcode?: string | null | undefined;
|
|
1028
2066
|
}, {
|
|
1029
|
-
address?: string | undefined;
|
|
1030
|
-
postcode?: string | undefined;
|
|
2067
|
+
address?: string | null | undefined;
|
|
2068
|
+
postcode?: string | null | undefined;
|
|
1031
2069
|
}>>;
|
|
1032
2070
|
numberOfPositions: z.ZodNumber;
|
|
1033
2071
|
workHours: z.ZodOptional<z.ZodNumber>;
|
|
1034
2072
|
pay: z.ZodObject<{
|
|
1035
|
-
rateUnit: z.
|
|
2073
|
+
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
1036
2074
|
rate: z.ZodNumber;
|
|
1037
|
-
rateMax: z.ZodOptional<z.ZodNumber
|
|
2075
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1038
2076
|
receivedRate: z.ZodNumber;
|
|
1039
2077
|
}, "strip", z.ZodTypeAny, {
|
|
2078
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1040
2079
|
rate: number;
|
|
1041
2080
|
receivedRate: number;
|
|
1042
|
-
|
|
1043
|
-
rateMax?: number | undefined;
|
|
2081
|
+
rateMax?: number | null | undefined;
|
|
1044
2082
|
}, {
|
|
1045
2083
|
rate: number;
|
|
1046
2084
|
receivedRate: number;
|
|
1047
2085
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
1048
|
-
rateMax?: number | undefined;
|
|
2086
|
+
rateMax?: number | null | undefined;
|
|
1049
2087
|
}>;
|
|
1050
|
-
tradeId: z.ZodString
|
|
2088
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
1051
2089
|
currentCollaboration: z.ZodObject<{
|
|
1052
|
-
id: z.ZodString
|
|
2090
|
+
id: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
1053
2091
|
}, "strip", z.ZodTypeAny, {
|
|
1054
2092
|
id: string;
|
|
1055
2093
|
}, {
|
|
@@ -1057,37 +2095,37 @@ export declare const jobsContractRouter: {
|
|
|
1057
2095
|
}>;
|
|
1058
2096
|
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1059
2097
|
qualificationId: z.ZodString;
|
|
1060
|
-
qualificationTypeId: z.ZodOptional<z.ZodString
|
|
2098
|
+
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1061
2099
|
}, "strip", z.ZodTypeAny, {
|
|
1062
2100
|
qualificationId: string;
|
|
1063
|
-
qualificationTypeId?: string | undefined;
|
|
2101
|
+
qualificationTypeId?: string | null | undefined;
|
|
1064
2102
|
}, {
|
|
1065
2103
|
qualificationId: string;
|
|
1066
|
-
qualificationTypeId?: string | undefined;
|
|
2104
|
+
qualificationTypeId?: string | null | undefined;
|
|
1067
2105
|
}>, "many">>;
|
|
1068
|
-
status: z.
|
|
2106
|
+
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
1069
2107
|
}, "strip", z.ZodTypeAny, {
|
|
1070
2108
|
description: string;
|
|
1071
2109
|
numberOfPositions: number;
|
|
2110
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1072
2111
|
pay: {
|
|
2112
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
1073
2113
|
rate: number;
|
|
1074
2114
|
receivedRate: number;
|
|
1075
|
-
|
|
1076
|
-
rateMax?: number | undefined;
|
|
2115
|
+
rateMax?: number | null | undefined;
|
|
1077
2116
|
};
|
|
1078
2117
|
tradeId: string;
|
|
1079
2118
|
currentCollaboration: {
|
|
1080
2119
|
id: string;
|
|
1081
2120
|
};
|
|
1082
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
1083
2121
|
workHours?: number | undefined;
|
|
1084
2122
|
location?: {
|
|
1085
|
-
address?: string | undefined;
|
|
1086
|
-
postcode?: string | undefined;
|
|
2123
|
+
address?: string | null | undefined;
|
|
2124
|
+
postcode?: string | null | undefined;
|
|
1087
2125
|
} | undefined;
|
|
1088
2126
|
jobQualifications?: {
|
|
1089
2127
|
qualificationId: string;
|
|
1090
|
-
qualificationTypeId?: string | undefined;
|
|
2128
|
+
qualificationTypeId?: string | null | undefined;
|
|
1091
2129
|
}[] | undefined;
|
|
1092
2130
|
}, {
|
|
1093
2131
|
description: string;
|
|
@@ -1096,7 +2134,7 @@ export declare const jobsContractRouter: {
|
|
|
1096
2134
|
rate: number;
|
|
1097
2135
|
receivedRate: number;
|
|
1098
2136
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
1099
|
-
rateMax?: number | undefined;
|
|
2137
|
+
rateMax?: number | null | undefined;
|
|
1100
2138
|
};
|
|
1101
2139
|
tradeId: string;
|
|
1102
2140
|
currentCollaboration: {
|
|
@@ -1105,12 +2143,12 @@ export declare const jobsContractRouter: {
|
|
|
1105
2143
|
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
1106
2144
|
workHours?: number | undefined;
|
|
1107
2145
|
location?: {
|
|
1108
|
-
address?: string | undefined;
|
|
1109
|
-
postcode?: string | undefined;
|
|
2146
|
+
address?: string | null | undefined;
|
|
2147
|
+
postcode?: string | null | undefined;
|
|
1110
2148
|
} | undefined;
|
|
1111
2149
|
jobQualifications?: {
|
|
1112
2150
|
qualificationId: string;
|
|
1113
|
-
qualificationTypeId?: string | undefined;
|
|
2151
|
+
qualificationTypeId?: string | null | undefined;
|
|
1114
2152
|
}[] | undefined;
|
|
1115
2153
|
}>;
|
|
1116
2154
|
path: "/v2/jobs";
|
|
@@ -1262,7 +2300,7 @@ export declare const jobsContractRouter: {
|
|
|
1262
2300
|
postTown?: string | null | undefined;
|
|
1263
2301
|
areaCovered?: string | null | undefined;
|
|
1264
2302
|
}>>>;
|
|
1265
|
-
tradeId: z.ZodString
|
|
2303
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
1266
2304
|
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1267
2305
|
id: z.ZodString;
|
|
1268
2306
|
qualificationId: z.ZodString;
|
|
@@ -1278,27 +2316,95 @@ export declare const jobsContractRouter: {
|
|
|
1278
2316
|
}>, "many">>>;
|
|
1279
2317
|
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1280
2318
|
id: z.ZodString;
|
|
1281
|
-
company: z.ZodOptional<z.ZodObject<{
|
|
2319
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1282
2320
|
id: z.ZodString;
|
|
1283
2321
|
name: z.ZodString;
|
|
2322
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2323
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1284
2324
|
}, "strip", z.ZodTypeAny, {
|
|
2325
|
+
createdAt: string;
|
|
2326
|
+
updatedAt: string;
|
|
1285
2327
|
id: string;
|
|
1286
2328
|
name: string;
|
|
1287
2329
|
}, {
|
|
2330
|
+
createdAt: string | Date;
|
|
2331
|
+
updatedAt: string | Date;
|
|
1288
2332
|
id: string;
|
|
1289
2333
|
name: string;
|
|
1290
|
-
}
|
|
1291
|
-
client: z.ZodOptional<z.ZodObject<{
|
|
2334
|
+
}>>>;
|
|
2335
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1292
2336
|
id: z.ZodString;
|
|
1293
2337
|
name: z.ZodString;
|
|
2338
|
+
crn: z.ZodString;
|
|
2339
|
+
govLink: z.ZodString;
|
|
2340
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2341
|
+
director: z.ZodString;
|
|
2342
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2343
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2344
|
+
id: z.ZodString;
|
|
2345
|
+
firstName: z.ZodString;
|
|
2346
|
+
lastName: z.ZodString;
|
|
2347
|
+
email: z.ZodString;
|
|
2348
|
+
}, "strip", z.ZodTypeAny, {
|
|
2349
|
+
id: string;
|
|
2350
|
+
firstName: string;
|
|
2351
|
+
lastName: string;
|
|
2352
|
+
email: string;
|
|
2353
|
+
}, {
|
|
2354
|
+
id: string;
|
|
2355
|
+
firstName: string;
|
|
2356
|
+
lastName: string;
|
|
2357
|
+
email: string;
|
|
2358
|
+
}>>>;
|
|
2359
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2360
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2361
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2362
|
+
agentId: z.ZodString;
|
|
2363
|
+
}, "strip", z.ZodTypeAny, {
|
|
2364
|
+
agentId: string;
|
|
2365
|
+
}, {
|
|
2366
|
+
agentId: string;
|
|
2367
|
+
}>>>;
|
|
1294
2368
|
}, "strip", z.ZodTypeAny, {
|
|
2369
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2370
|
+
createdAt: string;
|
|
2371
|
+
updatedAt: string;
|
|
1295
2372
|
id: string;
|
|
1296
2373
|
name: string;
|
|
2374
|
+
crn: string;
|
|
2375
|
+
govLink: string;
|
|
2376
|
+
director: string;
|
|
2377
|
+
blacklistReason?: string | null | undefined;
|
|
2378
|
+
lastUpdatedBy?: {
|
|
2379
|
+
id: string;
|
|
2380
|
+
firstName: string;
|
|
2381
|
+
lastName: string;
|
|
2382
|
+
email: string;
|
|
2383
|
+
} | null | undefined;
|
|
2384
|
+
agentClientLinks?: {
|
|
2385
|
+
agentId: string;
|
|
2386
|
+
} | null | undefined;
|
|
1297
2387
|
}, {
|
|
2388
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2389
|
+
createdAt: string | Date;
|
|
2390
|
+
updatedAt: string | Date;
|
|
1298
2391
|
id: string;
|
|
1299
2392
|
name: string;
|
|
1300
|
-
|
|
1301
|
-
|
|
2393
|
+
crn: string;
|
|
2394
|
+
govLink: string;
|
|
2395
|
+
director: string;
|
|
2396
|
+
blacklistReason?: string | null | undefined;
|
|
2397
|
+
lastUpdatedBy?: {
|
|
2398
|
+
id: string;
|
|
2399
|
+
firstName: string;
|
|
2400
|
+
lastName: string;
|
|
2401
|
+
email: string;
|
|
2402
|
+
} | null | undefined;
|
|
2403
|
+
agentClientLinks?: {
|
|
2404
|
+
agentId: string;
|
|
2405
|
+
} | null | undefined;
|
|
2406
|
+
}>>>;
|
|
2407
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1302
2408
|
id: z.ZodString;
|
|
1303
2409
|
firstName: z.ZodString;
|
|
1304
2410
|
lastName: z.ZodString;
|
|
@@ -1313,63 +2419,352 @@ export declare const jobsContractRouter: {
|
|
|
1313
2419
|
firstName: string;
|
|
1314
2420
|
lastName: string;
|
|
1315
2421
|
email: string;
|
|
1316
|
-
}
|
|
2422
|
+
}>>>;
|
|
1317
2423
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
1318
2424
|
userId: z.ZodString;
|
|
1319
2425
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1320
2426
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2427
|
+
} & {
|
|
1321
2428
|
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1322
2429
|
id: z.ZodString;
|
|
2430
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2431
|
+
id: z.ZodString;
|
|
2432
|
+
name: z.ZodString;
|
|
2433
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2434
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2435
|
+
}, "strip", z.ZodTypeAny, {
|
|
2436
|
+
createdAt: string;
|
|
2437
|
+
updatedAt: string;
|
|
2438
|
+
id: string;
|
|
2439
|
+
name: string;
|
|
2440
|
+
}, {
|
|
2441
|
+
createdAt: string | Date;
|
|
2442
|
+
updatedAt: string | Date;
|
|
2443
|
+
id: string;
|
|
2444
|
+
name: string;
|
|
2445
|
+
}>>>;
|
|
2446
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2447
|
+
id: z.ZodString;
|
|
2448
|
+
name: z.ZodString;
|
|
2449
|
+
crn: z.ZodString;
|
|
2450
|
+
govLink: z.ZodString;
|
|
2451
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2452
|
+
director: z.ZodString;
|
|
2453
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2454
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2455
|
+
id: z.ZodString;
|
|
2456
|
+
firstName: z.ZodString;
|
|
2457
|
+
lastName: z.ZodString;
|
|
2458
|
+
email: z.ZodString;
|
|
2459
|
+
}, "strip", z.ZodTypeAny, {
|
|
2460
|
+
id: string;
|
|
2461
|
+
firstName: string;
|
|
2462
|
+
lastName: string;
|
|
2463
|
+
email: string;
|
|
2464
|
+
}, {
|
|
2465
|
+
id: string;
|
|
2466
|
+
firstName: string;
|
|
2467
|
+
lastName: string;
|
|
2468
|
+
email: string;
|
|
2469
|
+
}>>>;
|
|
2470
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2471
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2472
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2473
|
+
agentId: z.ZodString;
|
|
2474
|
+
}, "strip", z.ZodTypeAny, {
|
|
2475
|
+
agentId: string;
|
|
2476
|
+
}, {
|
|
2477
|
+
agentId: string;
|
|
2478
|
+
}>>>;
|
|
2479
|
+
}, "strip", z.ZodTypeAny, {
|
|
2480
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2481
|
+
createdAt: string;
|
|
2482
|
+
updatedAt: string;
|
|
2483
|
+
id: string;
|
|
2484
|
+
name: string;
|
|
2485
|
+
crn: string;
|
|
2486
|
+
govLink: string;
|
|
2487
|
+
director: string;
|
|
2488
|
+
blacklistReason?: string | null | undefined;
|
|
2489
|
+
lastUpdatedBy?: {
|
|
2490
|
+
id: string;
|
|
2491
|
+
firstName: string;
|
|
2492
|
+
lastName: string;
|
|
2493
|
+
email: string;
|
|
2494
|
+
} | null | undefined;
|
|
2495
|
+
agentClientLinks?: {
|
|
2496
|
+
agentId: string;
|
|
2497
|
+
} | null | undefined;
|
|
2498
|
+
}, {
|
|
2499
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2500
|
+
createdAt: string | Date;
|
|
2501
|
+
updatedAt: string | Date;
|
|
2502
|
+
id: string;
|
|
2503
|
+
name: string;
|
|
2504
|
+
crn: string;
|
|
2505
|
+
govLink: string;
|
|
2506
|
+
director: string;
|
|
2507
|
+
blacklistReason?: string | null | undefined;
|
|
2508
|
+
lastUpdatedBy?: {
|
|
2509
|
+
id: string;
|
|
2510
|
+
firstName: string;
|
|
2511
|
+
lastName: string;
|
|
2512
|
+
email: string;
|
|
2513
|
+
} | null | undefined;
|
|
2514
|
+
agentClientLinks?: {
|
|
2515
|
+
agentId: string;
|
|
2516
|
+
} | null | undefined;
|
|
2517
|
+
}>>>;
|
|
2518
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2519
|
+
id: z.ZodString;
|
|
2520
|
+
firstName: z.ZodString;
|
|
2521
|
+
lastName: z.ZodString;
|
|
2522
|
+
email: z.ZodString;
|
|
2523
|
+
}, "strip", z.ZodTypeAny, {
|
|
2524
|
+
id: string;
|
|
2525
|
+
firstName: string;
|
|
2526
|
+
lastName: string;
|
|
2527
|
+
email: string;
|
|
2528
|
+
}, {
|
|
2529
|
+
id: string;
|
|
2530
|
+
firstName: string;
|
|
2531
|
+
lastName: string;
|
|
2532
|
+
email: string;
|
|
2533
|
+
}>>>;
|
|
2534
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
2535
|
+
userId: z.ZodString;
|
|
2536
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2537
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1323
2538
|
}, "strip", z.ZodTypeAny, {
|
|
2539
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2540
|
+
createdAt: string;
|
|
2541
|
+
updatedAt: string;
|
|
1324
2542
|
id: string;
|
|
2543
|
+
userId: string;
|
|
2544
|
+
company?: {
|
|
2545
|
+
createdAt: string;
|
|
2546
|
+
updatedAt: string;
|
|
2547
|
+
id: string;
|
|
2548
|
+
name: string;
|
|
2549
|
+
} | null | undefined;
|
|
2550
|
+
client?: {
|
|
2551
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2552
|
+
createdAt: string;
|
|
2553
|
+
updatedAt: string;
|
|
2554
|
+
id: string;
|
|
2555
|
+
name: string;
|
|
2556
|
+
crn: string;
|
|
2557
|
+
govLink: string;
|
|
2558
|
+
director: string;
|
|
2559
|
+
blacklistReason?: string | null | undefined;
|
|
2560
|
+
lastUpdatedBy?: {
|
|
2561
|
+
id: string;
|
|
2562
|
+
firstName: string;
|
|
2563
|
+
lastName: string;
|
|
2564
|
+
email: string;
|
|
2565
|
+
} | null | undefined;
|
|
2566
|
+
agentClientLinks?: {
|
|
2567
|
+
agentId: string;
|
|
2568
|
+
} | null | undefined;
|
|
2569
|
+
} | null | undefined;
|
|
2570
|
+
user?: {
|
|
2571
|
+
id: string;
|
|
2572
|
+
firstName: string;
|
|
2573
|
+
lastName: string;
|
|
2574
|
+
email: string;
|
|
2575
|
+
} | null | undefined;
|
|
1325
2576
|
}, {
|
|
2577
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2578
|
+
createdAt: string | Date;
|
|
2579
|
+
updatedAt: string | Date;
|
|
1326
2580
|
id: string;
|
|
2581
|
+
userId: string;
|
|
2582
|
+
company?: {
|
|
2583
|
+
createdAt: string | Date;
|
|
2584
|
+
updatedAt: string | Date;
|
|
2585
|
+
id: string;
|
|
2586
|
+
name: string;
|
|
2587
|
+
} | null | undefined;
|
|
2588
|
+
client?: {
|
|
2589
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2590
|
+
createdAt: string | Date;
|
|
2591
|
+
updatedAt: string | Date;
|
|
2592
|
+
id: string;
|
|
2593
|
+
name: string;
|
|
2594
|
+
crn: string;
|
|
2595
|
+
govLink: string;
|
|
2596
|
+
director: string;
|
|
2597
|
+
blacklistReason?: string | null | undefined;
|
|
2598
|
+
lastUpdatedBy?: {
|
|
2599
|
+
id: string;
|
|
2600
|
+
firstName: string;
|
|
2601
|
+
lastName: string;
|
|
2602
|
+
email: string;
|
|
2603
|
+
} | null | undefined;
|
|
2604
|
+
agentClientLinks?: {
|
|
2605
|
+
agentId: string;
|
|
2606
|
+
} | null | undefined;
|
|
2607
|
+
} | null | undefined;
|
|
2608
|
+
user?: {
|
|
2609
|
+
id: string;
|
|
2610
|
+
firstName: string;
|
|
2611
|
+
lastName: string;
|
|
2612
|
+
email: string;
|
|
2613
|
+
} | null | undefined;
|
|
1327
2614
|
}>>>;
|
|
1328
2615
|
}, "strip", z.ZodTypeAny, {
|
|
1329
|
-
status: "
|
|
2616
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1330
2617
|
createdAt: string;
|
|
1331
2618
|
updatedAt: string;
|
|
1332
2619
|
id: string;
|
|
1333
2620
|
userId: string;
|
|
1334
2621
|
company?: {
|
|
2622
|
+
createdAt: string;
|
|
2623
|
+
updatedAt: string;
|
|
1335
2624
|
id: string;
|
|
1336
2625
|
name: string;
|
|
1337
|
-
} | undefined;
|
|
2626
|
+
} | null | undefined;
|
|
1338
2627
|
client?: {
|
|
2628
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2629
|
+
createdAt: string;
|
|
2630
|
+
updatedAt: string;
|
|
1339
2631
|
id: string;
|
|
1340
2632
|
name: string;
|
|
1341
|
-
|
|
2633
|
+
crn: string;
|
|
2634
|
+
govLink: string;
|
|
2635
|
+
director: string;
|
|
2636
|
+
blacklistReason?: string | null | undefined;
|
|
2637
|
+
lastUpdatedBy?: {
|
|
2638
|
+
id: string;
|
|
2639
|
+
firstName: string;
|
|
2640
|
+
lastName: string;
|
|
2641
|
+
email: string;
|
|
2642
|
+
} | null | undefined;
|
|
2643
|
+
agentClientLinks?: {
|
|
2644
|
+
agentId: string;
|
|
2645
|
+
} | null | undefined;
|
|
2646
|
+
} | null | undefined;
|
|
1342
2647
|
user?: {
|
|
1343
2648
|
id: string;
|
|
1344
2649
|
firstName: string;
|
|
1345
2650
|
lastName: string;
|
|
1346
2651
|
email: string;
|
|
1347
|
-
} | undefined;
|
|
2652
|
+
} | null | undefined;
|
|
1348
2653
|
newCollaboration?: {
|
|
2654
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2655
|
+
createdAt: string;
|
|
2656
|
+
updatedAt: string;
|
|
1349
2657
|
id: string;
|
|
2658
|
+
userId: string;
|
|
2659
|
+
company?: {
|
|
2660
|
+
createdAt: string;
|
|
2661
|
+
updatedAt: string;
|
|
2662
|
+
id: string;
|
|
2663
|
+
name: string;
|
|
2664
|
+
} | null | undefined;
|
|
2665
|
+
client?: {
|
|
2666
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2667
|
+
createdAt: string;
|
|
2668
|
+
updatedAt: string;
|
|
2669
|
+
id: string;
|
|
2670
|
+
name: string;
|
|
2671
|
+
crn: string;
|
|
2672
|
+
govLink: string;
|
|
2673
|
+
director: string;
|
|
2674
|
+
blacklistReason?: string | null | undefined;
|
|
2675
|
+
lastUpdatedBy?: {
|
|
2676
|
+
id: string;
|
|
2677
|
+
firstName: string;
|
|
2678
|
+
lastName: string;
|
|
2679
|
+
email: string;
|
|
2680
|
+
} | null | undefined;
|
|
2681
|
+
agentClientLinks?: {
|
|
2682
|
+
agentId: string;
|
|
2683
|
+
} | null | undefined;
|
|
2684
|
+
} | null | undefined;
|
|
2685
|
+
user?: {
|
|
2686
|
+
id: string;
|
|
2687
|
+
firstName: string;
|
|
2688
|
+
lastName: string;
|
|
2689
|
+
email: string;
|
|
2690
|
+
} | null | undefined;
|
|
1350
2691
|
} | null | undefined;
|
|
1351
2692
|
}, {
|
|
1352
|
-
status: "
|
|
2693
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1353
2694
|
createdAt: string | Date;
|
|
1354
2695
|
updatedAt: string | Date;
|
|
1355
2696
|
id: string;
|
|
1356
2697
|
userId: string;
|
|
1357
2698
|
company?: {
|
|
2699
|
+
createdAt: string | Date;
|
|
2700
|
+
updatedAt: string | Date;
|
|
1358
2701
|
id: string;
|
|
1359
2702
|
name: string;
|
|
1360
|
-
} | undefined;
|
|
2703
|
+
} | null | undefined;
|
|
1361
2704
|
client?: {
|
|
2705
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2706
|
+
createdAt: string | Date;
|
|
2707
|
+
updatedAt: string | Date;
|
|
1362
2708
|
id: string;
|
|
1363
2709
|
name: string;
|
|
1364
|
-
|
|
2710
|
+
crn: string;
|
|
2711
|
+
govLink: string;
|
|
2712
|
+
director: string;
|
|
2713
|
+
blacklistReason?: string | null | undefined;
|
|
2714
|
+
lastUpdatedBy?: {
|
|
2715
|
+
id: string;
|
|
2716
|
+
firstName: string;
|
|
2717
|
+
lastName: string;
|
|
2718
|
+
email: string;
|
|
2719
|
+
} | null | undefined;
|
|
2720
|
+
agentClientLinks?: {
|
|
2721
|
+
agentId: string;
|
|
2722
|
+
} | null | undefined;
|
|
2723
|
+
} | null | undefined;
|
|
1365
2724
|
user?: {
|
|
1366
2725
|
id: string;
|
|
1367
2726
|
firstName: string;
|
|
1368
2727
|
lastName: string;
|
|
1369
2728
|
email: string;
|
|
1370
|
-
} | undefined;
|
|
2729
|
+
} | null | undefined;
|
|
1371
2730
|
newCollaboration?: {
|
|
2731
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2732
|
+
createdAt: string | Date;
|
|
2733
|
+
updatedAt: string | Date;
|
|
1372
2734
|
id: string;
|
|
2735
|
+
userId: string;
|
|
2736
|
+
company?: {
|
|
2737
|
+
createdAt: string | Date;
|
|
2738
|
+
updatedAt: string | Date;
|
|
2739
|
+
id: string;
|
|
2740
|
+
name: string;
|
|
2741
|
+
} | null | undefined;
|
|
2742
|
+
client?: {
|
|
2743
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2744
|
+
createdAt: string | Date;
|
|
2745
|
+
updatedAt: string | Date;
|
|
2746
|
+
id: string;
|
|
2747
|
+
name: string;
|
|
2748
|
+
crn: string;
|
|
2749
|
+
govLink: string;
|
|
2750
|
+
director: string;
|
|
2751
|
+
blacklistReason?: string | null | undefined;
|
|
2752
|
+
lastUpdatedBy?: {
|
|
2753
|
+
id: string;
|
|
2754
|
+
firstName: string;
|
|
2755
|
+
lastName: string;
|
|
2756
|
+
email: string;
|
|
2757
|
+
} | null | undefined;
|
|
2758
|
+
agentClientLinks?: {
|
|
2759
|
+
agentId: string;
|
|
2760
|
+
} | null | undefined;
|
|
2761
|
+
} | null | undefined;
|
|
2762
|
+
user?: {
|
|
2763
|
+
id: string;
|
|
2764
|
+
firstName: string;
|
|
2765
|
+
lastName: string;
|
|
2766
|
+
email: string;
|
|
2767
|
+
} | null | undefined;
|
|
1373
2768
|
} | null | undefined;
|
|
1374
2769
|
}>>>;
|
|
1375
2770
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1404,27 +2799,81 @@ export declare const jobsContractRouter: {
|
|
|
1404
2799
|
areaCovered?: string | null | undefined;
|
|
1405
2800
|
} | null | undefined;
|
|
1406
2801
|
currentCollaboration?: {
|
|
1407
|
-
status: "
|
|
2802
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1408
2803
|
createdAt: string;
|
|
1409
2804
|
updatedAt: string;
|
|
1410
2805
|
id: string;
|
|
1411
2806
|
userId: string;
|
|
1412
2807
|
company?: {
|
|
2808
|
+
createdAt: string;
|
|
2809
|
+
updatedAt: string;
|
|
1413
2810
|
id: string;
|
|
1414
2811
|
name: string;
|
|
1415
|
-
} | undefined;
|
|
2812
|
+
} | null | undefined;
|
|
1416
2813
|
client?: {
|
|
2814
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2815
|
+
createdAt: string;
|
|
2816
|
+
updatedAt: string;
|
|
1417
2817
|
id: string;
|
|
1418
2818
|
name: string;
|
|
1419
|
-
|
|
2819
|
+
crn: string;
|
|
2820
|
+
govLink: string;
|
|
2821
|
+
director: string;
|
|
2822
|
+
blacklistReason?: string | null | undefined;
|
|
2823
|
+
lastUpdatedBy?: {
|
|
2824
|
+
id: string;
|
|
2825
|
+
firstName: string;
|
|
2826
|
+
lastName: string;
|
|
2827
|
+
email: string;
|
|
2828
|
+
} | null | undefined;
|
|
2829
|
+
agentClientLinks?: {
|
|
2830
|
+
agentId: string;
|
|
2831
|
+
} | null | undefined;
|
|
2832
|
+
} | null | undefined;
|
|
1420
2833
|
user?: {
|
|
1421
2834
|
id: string;
|
|
1422
2835
|
firstName: string;
|
|
1423
2836
|
lastName: string;
|
|
1424
2837
|
email: string;
|
|
1425
|
-
} | undefined;
|
|
2838
|
+
} | null | undefined;
|
|
1426
2839
|
newCollaboration?: {
|
|
2840
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2841
|
+
createdAt: string;
|
|
2842
|
+
updatedAt: string;
|
|
1427
2843
|
id: string;
|
|
2844
|
+
userId: string;
|
|
2845
|
+
company?: {
|
|
2846
|
+
createdAt: string;
|
|
2847
|
+
updatedAt: string;
|
|
2848
|
+
id: string;
|
|
2849
|
+
name: string;
|
|
2850
|
+
} | null | undefined;
|
|
2851
|
+
client?: {
|
|
2852
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2853
|
+
createdAt: string;
|
|
2854
|
+
updatedAt: string;
|
|
2855
|
+
id: string;
|
|
2856
|
+
name: string;
|
|
2857
|
+
crn: string;
|
|
2858
|
+
govLink: string;
|
|
2859
|
+
director: string;
|
|
2860
|
+
blacklistReason?: string | null | undefined;
|
|
2861
|
+
lastUpdatedBy?: {
|
|
2862
|
+
id: string;
|
|
2863
|
+
firstName: string;
|
|
2864
|
+
lastName: string;
|
|
2865
|
+
email: string;
|
|
2866
|
+
} | null | undefined;
|
|
2867
|
+
agentClientLinks?: {
|
|
2868
|
+
agentId: string;
|
|
2869
|
+
} | null | undefined;
|
|
2870
|
+
} | null | undefined;
|
|
2871
|
+
user?: {
|
|
2872
|
+
id: string;
|
|
2873
|
+
firstName: string;
|
|
2874
|
+
lastName: string;
|
|
2875
|
+
email: string;
|
|
2876
|
+
} | null | undefined;
|
|
1428
2877
|
} | null | undefined;
|
|
1429
2878
|
} | null | undefined;
|
|
1430
2879
|
}, {
|
|
@@ -1457,27 +2906,81 @@ export declare const jobsContractRouter: {
|
|
|
1457
2906
|
qualificationTypeId?: string | null | undefined;
|
|
1458
2907
|
}[] | undefined;
|
|
1459
2908
|
currentCollaboration?: {
|
|
1460
|
-
status: "
|
|
2909
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1461
2910
|
createdAt: string | Date;
|
|
1462
2911
|
updatedAt: string | Date;
|
|
1463
2912
|
id: string;
|
|
1464
2913
|
userId: string;
|
|
1465
2914
|
company?: {
|
|
2915
|
+
createdAt: string | Date;
|
|
2916
|
+
updatedAt: string | Date;
|
|
1466
2917
|
id: string;
|
|
1467
2918
|
name: string;
|
|
1468
|
-
} | undefined;
|
|
2919
|
+
} | null | undefined;
|
|
1469
2920
|
client?: {
|
|
2921
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2922
|
+
createdAt: string | Date;
|
|
2923
|
+
updatedAt: string | Date;
|
|
1470
2924
|
id: string;
|
|
1471
2925
|
name: string;
|
|
1472
|
-
|
|
2926
|
+
crn: string;
|
|
2927
|
+
govLink: string;
|
|
2928
|
+
director: string;
|
|
2929
|
+
blacklistReason?: string | null | undefined;
|
|
2930
|
+
lastUpdatedBy?: {
|
|
2931
|
+
id: string;
|
|
2932
|
+
firstName: string;
|
|
2933
|
+
lastName: string;
|
|
2934
|
+
email: string;
|
|
2935
|
+
} | null | undefined;
|
|
2936
|
+
agentClientLinks?: {
|
|
2937
|
+
agentId: string;
|
|
2938
|
+
} | null | undefined;
|
|
2939
|
+
} | null | undefined;
|
|
1473
2940
|
user?: {
|
|
1474
2941
|
id: string;
|
|
1475
2942
|
firstName: string;
|
|
1476
2943
|
lastName: string;
|
|
1477
2944
|
email: string;
|
|
1478
|
-
} | undefined;
|
|
2945
|
+
} | null | undefined;
|
|
1479
2946
|
newCollaboration?: {
|
|
2947
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2948
|
+
createdAt: string | Date;
|
|
2949
|
+
updatedAt: string | Date;
|
|
1480
2950
|
id: string;
|
|
2951
|
+
userId: string;
|
|
2952
|
+
company?: {
|
|
2953
|
+
createdAt: string | Date;
|
|
2954
|
+
updatedAt: string | Date;
|
|
2955
|
+
id: string;
|
|
2956
|
+
name: string;
|
|
2957
|
+
} | null | undefined;
|
|
2958
|
+
client?: {
|
|
2959
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2960
|
+
createdAt: string | Date;
|
|
2961
|
+
updatedAt: string | Date;
|
|
2962
|
+
id: string;
|
|
2963
|
+
name: string;
|
|
2964
|
+
crn: string;
|
|
2965
|
+
govLink: string;
|
|
2966
|
+
director: string;
|
|
2967
|
+
blacklistReason?: string | null | undefined;
|
|
2968
|
+
lastUpdatedBy?: {
|
|
2969
|
+
id: string;
|
|
2970
|
+
firstName: string;
|
|
2971
|
+
lastName: string;
|
|
2972
|
+
email: string;
|
|
2973
|
+
} | null | undefined;
|
|
2974
|
+
agentClientLinks?: {
|
|
2975
|
+
agentId: string;
|
|
2976
|
+
} | null | undefined;
|
|
2977
|
+
} | null | undefined;
|
|
2978
|
+
user?: {
|
|
2979
|
+
id: string;
|
|
2980
|
+
firstName: string;
|
|
2981
|
+
lastName: string;
|
|
2982
|
+
email: string;
|
|
2983
|
+
} | null | undefined;
|
|
1481
2984
|
} | null | undefined;
|
|
1482
2985
|
} | null | undefined;
|
|
1483
2986
|
}>;
|
|
@@ -1732,7 +3235,7 @@ export declare const jobsContractRouter: {
|
|
|
1732
3235
|
postTown?: string | null | undefined;
|
|
1733
3236
|
areaCovered?: string | null | undefined;
|
|
1734
3237
|
}>>>;
|
|
1735
|
-
tradeId: z.ZodString
|
|
3238
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
1736
3239
|
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1737
3240
|
id: z.ZodString;
|
|
1738
3241
|
qualificationId: z.ZodString;
|
|
@@ -1748,27 +3251,95 @@ export declare const jobsContractRouter: {
|
|
|
1748
3251
|
}>, "many">>>;
|
|
1749
3252
|
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1750
3253
|
id: z.ZodString;
|
|
1751
|
-
company: z.ZodOptional<z.ZodObject<{
|
|
3254
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1752
3255
|
id: z.ZodString;
|
|
1753
3256
|
name: z.ZodString;
|
|
3257
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3258
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1754
3259
|
}, "strip", z.ZodTypeAny, {
|
|
3260
|
+
createdAt: string;
|
|
3261
|
+
updatedAt: string;
|
|
1755
3262
|
id: string;
|
|
1756
3263
|
name: string;
|
|
1757
3264
|
}, {
|
|
3265
|
+
createdAt: string | Date;
|
|
3266
|
+
updatedAt: string | Date;
|
|
1758
3267
|
id: string;
|
|
1759
3268
|
name: string;
|
|
1760
|
-
}
|
|
1761
|
-
client: z.ZodOptional<z.ZodObject<{
|
|
3269
|
+
}>>>;
|
|
3270
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1762
3271
|
id: z.ZodString;
|
|
1763
3272
|
name: z.ZodString;
|
|
3273
|
+
crn: z.ZodString;
|
|
3274
|
+
govLink: z.ZodString;
|
|
3275
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3276
|
+
director: z.ZodString;
|
|
3277
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3278
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3279
|
+
id: z.ZodString;
|
|
3280
|
+
firstName: z.ZodString;
|
|
3281
|
+
lastName: z.ZodString;
|
|
3282
|
+
email: z.ZodString;
|
|
3283
|
+
}, "strip", z.ZodTypeAny, {
|
|
3284
|
+
id: string;
|
|
3285
|
+
firstName: string;
|
|
3286
|
+
lastName: string;
|
|
3287
|
+
email: string;
|
|
3288
|
+
}, {
|
|
3289
|
+
id: string;
|
|
3290
|
+
firstName: string;
|
|
3291
|
+
lastName: string;
|
|
3292
|
+
email: string;
|
|
3293
|
+
}>>>;
|
|
3294
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3295
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3296
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3297
|
+
agentId: z.ZodString;
|
|
3298
|
+
}, "strip", z.ZodTypeAny, {
|
|
3299
|
+
agentId: string;
|
|
3300
|
+
}, {
|
|
3301
|
+
agentId: string;
|
|
3302
|
+
}>>>;
|
|
1764
3303
|
}, "strip", z.ZodTypeAny, {
|
|
3304
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3305
|
+
createdAt: string;
|
|
3306
|
+
updatedAt: string;
|
|
1765
3307
|
id: string;
|
|
1766
3308
|
name: string;
|
|
3309
|
+
crn: string;
|
|
3310
|
+
govLink: string;
|
|
3311
|
+
director: string;
|
|
3312
|
+
blacklistReason?: string | null | undefined;
|
|
3313
|
+
lastUpdatedBy?: {
|
|
3314
|
+
id: string;
|
|
3315
|
+
firstName: string;
|
|
3316
|
+
lastName: string;
|
|
3317
|
+
email: string;
|
|
3318
|
+
} | null | undefined;
|
|
3319
|
+
agentClientLinks?: {
|
|
3320
|
+
agentId: string;
|
|
3321
|
+
} | null | undefined;
|
|
1767
3322
|
}, {
|
|
3323
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3324
|
+
createdAt: string | Date;
|
|
3325
|
+
updatedAt: string | Date;
|
|
1768
3326
|
id: string;
|
|
1769
3327
|
name: string;
|
|
1770
|
-
|
|
1771
|
-
|
|
3328
|
+
crn: string;
|
|
3329
|
+
govLink: string;
|
|
3330
|
+
director: string;
|
|
3331
|
+
blacklistReason?: string | null | undefined;
|
|
3332
|
+
lastUpdatedBy?: {
|
|
3333
|
+
id: string;
|
|
3334
|
+
firstName: string;
|
|
3335
|
+
lastName: string;
|
|
3336
|
+
email: string;
|
|
3337
|
+
} | null | undefined;
|
|
3338
|
+
agentClientLinks?: {
|
|
3339
|
+
agentId: string;
|
|
3340
|
+
} | null | undefined;
|
|
3341
|
+
}>>>;
|
|
3342
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1772
3343
|
id: z.ZodString;
|
|
1773
3344
|
firstName: z.ZodString;
|
|
1774
3345
|
lastName: z.ZodString;
|
|
@@ -1783,63 +3354,352 @@ export declare const jobsContractRouter: {
|
|
|
1783
3354
|
firstName: string;
|
|
1784
3355
|
lastName: string;
|
|
1785
3356
|
email: string;
|
|
1786
|
-
}
|
|
3357
|
+
}>>>;
|
|
1787
3358
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
1788
3359
|
userId: z.ZodString;
|
|
1789
3360
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1790
3361
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3362
|
+
} & {
|
|
1791
3363
|
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1792
3364
|
id: z.ZodString;
|
|
3365
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3366
|
+
id: z.ZodString;
|
|
3367
|
+
name: z.ZodString;
|
|
3368
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3369
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3370
|
+
}, "strip", z.ZodTypeAny, {
|
|
3371
|
+
createdAt: string;
|
|
3372
|
+
updatedAt: string;
|
|
3373
|
+
id: string;
|
|
3374
|
+
name: string;
|
|
3375
|
+
}, {
|
|
3376
|
+
createdAt: string | Date;
|
|
3377
|
+
updatedAt: string | Date;
|
|
3378
|
+
id: string;
|
|
3379
|
+
name: string;
|
|
3380
|
+
}>>>;
|
|
3381
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3382
|
+
id: z.ZodString;
|
|
3383
|
+
name: z.ZodString;
|
|
3384
|
+
crn: z.ZodString;
|
|
3385
|
+
govLink: z.ZodString;
|
|
3386
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3387
|
+
director: z.ZodString;
|
|
3388
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3389
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3390
|
+
id: z.ZodString;
|
|
3391
|
+
firstName: z.ZodString;
|
|
3392
|
+
lastName: z.ZodString;
|
|
3393
|
+
email: z.ZodString;
|
|
3394
|
+
}, "strip", z.ZodTypeAny, {
|
|
3395
|
+
id: string;
|
|
3396
|
+
firstName: string;
|
|
3397
|
+
lastName: string;
|
|
3398
|
+
email: string;
|
|
3399
|
+
}, {
|
|
3400
|
+
id: string;
|
|
3401
|
+
firstName: string;
|
|
3402
|
+
lastName: string;
|
|
3403
|
+
email: string;
|
|
3404
|
+
}>>>;
|
|
3405
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3406
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3407
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3408
|
+
agentId: z.ZodString;
|
|
3409
|
+
}, "strip", z.ZodTypeAny, {
|
|
3410
|
+
agentId: string;
|
|
3411
|
+
}, {
|
|
3412
|
+
agentId: string;
|
|
3413
|
+
}>>>;
|
|
3414
|
+
}, "strip", z.ZodTypeAny, {
|
|
3415
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3416
|
+
createdAt: string;
|
|
3417
|
+
updatedAt: string;
|
|
3418
|
+
id: string;
|
|
3419
|
+
name: string;
|
|
3420
|
+
crn: string;
|
|
3421
|
+
govLink: string;
|
|
3422
|
+
director: string;
|
|
3423
|
+
blacklistReason?: string | null | undefined;
|
|
3424
|
+
lastUpdatedBy?: {
|
|
3425
|
+
id: string;
|
|
3426
|
+
firstName: string;
|
|
3427
|
+
lastName: string;
|
|
3428
|
+
email: string;
|
|
3429
|
+
} | null | undefined;
|
|
3430
|
+
agentClientLinks?: {
|
|
3431
|
+
agentId: string;
|
|
3432
|
+
} | null | undefined;
|
|
3433
|
+
}, {
|
|
3434
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3435
|
+
createdAt: string | Date;
|
|
3436
|
+
updatedAt: string | Date;
|
|
3437
|
+
id: string;
|
|
3438
|
+
name: string;
|
|
3439
|
+
crn: string;
|
|
3440
|
+
govLink: string;
|
|
3441
|
+
director: string;
|
|
3442
|
+
blacklistReason?: string | null | undefined;
|
|
3443
|
+
lastUpdatedBy?: {
|
|
3444
|
+
id: string;
|
|
3445
|
+
firstName: string;
|
|
3446
|
+
lastName: string;
|
|
3447
|
+
email: string;
|
|
3448
|
+
} | null | undefined;
|
|
3449
|
+
agentClientLinks?: {
|
|
3450
|
+
agentId: string;
|
|
3451
|
+
} | null | undefined;
|
|
3452
|
+
}>>>;
|
|
3453
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3454
|
+
id: z.ZodString;
|
|
3455
|
+
firstName: z.ZodString;
|
|
3456
|
+
lastName: z.ZodString;
|
|
3457
|
+
email: z.ZodString;
|
|
3458
|
+
}, "strip", z.ZodTypeAny, {
|
|
3459
|
+
id: string;
|
|
3460
|
+
firstName: string;
|
|
3461
|
+
lastName: string;
|
|
3462
|
+
email: string;
|
|
3463
|
+
}, {
|
|
3464
|
+
id: string;
|
|
3465
|
+
firstName: string;
|
|
3466
|
+
lastName: string;
|
|
3467
|
+
email: string;
|
|
3468
|
+
}>>>;
|
|
3469
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
3470
|
+
userId: z.ZodString;
|
|
3471
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3472
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1793
3473
|
}, "strip", z.ZodTypeAny, {
|
|
3474
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3475
|
+
createdAt: string;
|
|
3476
|
+
updatedAt: string;
|
|
1794
3477
|
id: string;
|
|
3478
|
+
userId: string;
|
|
3479
|
+
company?: {
|
|
3480
|
+
createdAt: string;
|
|
3481
|
+
updatedAt: string;
|
|
3482
|
+
id: string;
|
|
3483
|
+
name: string;
|
|
3484
|
+
} | null | undefined;
|
|
3485
|
+
client?: {
|
|
3486
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3487
|
+
createdAt: string;
|
|
3488
|
+
updatedAt: string;
|
|
3489
|
+
id: string;
|
|
3490
|
+
name: string;
|
|
3491
|
+
crn: string;
|
|
3492
|
+
govLink: string;
|
|
3493
|
+
director: string;
|
|
3494
|
+
blacklistReason?: string | null | undefined;
|
|
3495
|
+
lastUpdatedBy?: {
|
|
3496
|
+
id: string;
|
|
3497
|
+
firstName: string;
|
|
3498
|
+
lastName: string;
|
|
3499
|
+
email: string;
|
|
3500
|
+
} | null | undefined;
|
|
3501
|
+
agentClientLinks?: {
|
|
3502
|
+
agentId: string;
|
|
3503
|
+
} | null | undefined;
|
|
3504
|
+
} | null | undefined;
|
|
3505
|
+
user?: {
|
|
3506
|
+
id: string;
|
|
3507
|
+
firstName: string;
|
|
3508
|
+
lastName: string;
|
|
3509
|
+
email: string;
|
|
3510
|
+
} | null | undefined;
|
|
1795
3511
|
}, {
|
|
3512
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3513
|
+
createdAt: string | Date;
|
|
3514
|
+
updatedAt: string | Date;
|
|
1796
3515
|
id: string;
|
|
3516
|
+
userId: string;
|
|
3517
|
+
company?: {
|
|
3518
|
+
createdAt: string | Date;
|
|
3519
|
+
updatedAt: string | Date;
|
|
3520
|
+
id: string;
|
|
3521
|
+
name: string;
|
|
3522
|
+
} | null | undefined;
|
|
3523
|
+
client?: {
|
|
3524
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3525
|
+
createdAt: string | Date;
|
|
3526
|
+
updatedAt: string | Date;
|
|
3527
|
+
id: string;
|
|
3528
|
+
name: string;
|
|
3529
|
+
crn: string;
|
|
3530
|
+
govLink: string;
|
|
3531
|
+
director: string;
|
|
3532
|
+
blacklistReason?: string | null | undefined;
|
|
3533
|
+
lastUpdatedBy?: {
|
|
3534
|
+
id: string;
|
|
3535
|
+
firstName: string;
|
|
3536
|
+
lastName: string;
|
|
3537
|
+
email: string;
|
|
3538
|
+
} | null | undefined;
|
|
3539
|
+
agentClientLinks?: {
|
|
3540
|
+
agentId: string;
|
|
3541
|
+
} | null | undefined;
|
|
3542
|
+
} | null | undefined;
|
|
3543
|
+
user?: {
|
|
3544
|
+
id: string;
|
|
3545
|
+
firstName: string;
|
|
3546
|
+
lastName: string;
|
|
3547
|
+
email: string;
|
|
3548
|
+
} | null | undefined;
|
|
1797
3549
|
}>>>;
|
|
1798
3550
|
}, "strip", z.ZodTypeAny, {
|
|
1799
|
-
status: "
|
|
3551
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1800
3552
|
createdAt: string;
|
|
1801
3553
|
updatedAt: string;
|
|
1802
3554
|
id: string;
|
|
1803
3555
|
userId: string;
|
|
1804
3556
|
company?: {
|
|
3557
|
+
createdAt: string;
|
|
3558
|
+
updatedAt: string;
|
|
1805
3559
|
id: string;
|
|
1806
3560
|
name: string;
|
|
1807
|
-
} | undefined;
|
|
3561
|
+
} | null | undefined;
|
|
1808
3562
|
client?: {
|
|
3563
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3564
|
+
createdAt: string;
|
|
3565
|
+
updatedAt: string;
|
|
1809
3566
|
id: string;
|
|
1810
3567
|
name: string;
|
|
1811
|
-
|
|
3568
|
+
crn: string;
|
|
3569
|
+
govLink: string;
|
|
3570
|
+
director: string;
|
|
3571
|
+
blacklistReason?: string | null | undefined;
|
|
3572
|
+
lastUpdatedBy?: {
|
|
3573
|
+
id: string;
|
|
3574
|
+
firstName: string;
|
|
3575
|
+
lastName: string;
|
|
3576
|
+
email: string;
|
|
3577
|
+
} | null | undefined;
|
|
3578
|
+
agentClientLinks?: {
|
|
3579
|
+
agentId: string;
|
|
3580
|
+
} | null | undefined;
|
|
3581
|
+
} | null | undefined;
|
|
1812
3582
|
user?: {
|
|
1813
3583
|
id: string;
|
|
1814
3584
|
firstName: string;
|
|
1815
3585
|
lastName: string;
|
|
1816
3586
|
email: string;
|
|
1817
|
-
} | undefined;
|
|
3587
|
+
} | null | undefined;
|
|
1818
3588
|
newCollaboration?: {
|
|
3589
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3590
|
+
createdAt: string;
|
|
3591
|
+
updatedAt: string;
|
|
1819
3592
|
id: string;
|
|
3593
|
+
userId: string;
|
|
3594
|
+
company?: {
|
|
3595
|
+
createdAt: string;
|
|
3596
|
+
updatedAt: string;
|
|
3597
|
+
id: string;
|
|
3598
|
+
name: string;
|
|
3599
|
+
} | null | undefined;
|
|
3600
|
+
client?: {
|
|
3601
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3602
|
+
createdAt: string;
|
|
3603
|
+
updatedAt: string;
|
|
3604
|
+
id: string;
|
|
3605
|
+
name: string;
|
|
3606
|
+
crn: string;
|
|
3607
|
+
govLink: string;
|
|
3608
|
+
director: string;
|
|
3609
|
+
blacklistReason?: string | null | undefined;
|
|
3610
|
+
lastUpdatedBy?: {
|
|
3611
|
+
id: string;
|
|
3612
|
+
firstName: string;
|
|
3613
|
+
lastName: string;
|
|
3614
|
+
email: string;
|
|
3615
|
+
} | null | undefined;
|
|
3616
|
+
agentClientLinks?: {
|
|
3617
|
+
agentId: string;
|
|
3618
|
+
} | null | undefined;
|
|
3619
|
+
} | null | undefined;
|
|
3620
|
+
user?: {
|
|
3621
|
+
id: string;
|
|
3622
|
+
firstName: string;
|
|
3623
|
+
lastName: string;
|
|
3624
|
+
email: string;
|
|
3625
|
+
} | null | undefined;
|
|
1820
3626
|
} | null | undefined;
|
|
1821
3627
|
}, {
|
|
1822
|
-
status: "
|
|
3628
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1823
3629
|
createdAt: string | Date;
|
|
1824
3630
|
updatedAt: string | Date;
|
|
1825
3631
|
id: string;
|
|
1826
3632
|
userId: string;
|
|
1827
3633
|
company?: {
|
|
3634
|
+
createdAt: string | Date;
|
|
3635
|
+
updatedAt: string | Date;
|
|
1828
3636
|
id: string;
|
|
1829
3637
|
name: string;
|
|
1830
|
-
} | undefined;
|
|
3638
|
+
} | null | undefined;
|
|
1831
3639
|
client?: {
|
|
3640
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3641
|
+
createdAt: string | Date;
|
|
3642
|
+
updatedAt: string | Date;
|
|
1832
3643
|
id: string;
|
|
1833
3644
|
name: string;
|
|
1834
|
-
|
|
3645
|
+
crn: string;
|
|
3646
|
+
govLink: string;
|
|
3647
|
+
director: string;
|
|
3648
|
+
blacklistReason?: string | null | undefined;
|
|
3649
|
+
lastUpdatedBy?: {
|
|
3650
|
+
id: string;
|
|
3651
|
+
firstName: string;
|
|
3652
|
+
lastName: string;
|
|
3653
|
+
email: string;
|
|
3654
|
+
} | null | undefined;
|
|
3655
|
+
agentClientLinks?: {
|
|
3656
|
+
agentId: string;
|
|
3657
|
+
} | null | undefined;
|
|
3658
|
+
} | null | undefined;
|
|
1835
3659
|
user?: {
|
|
1836
3660
|
id: string;
|
|
1837
3661
|
firstName: string;
|
|
1838
3662
|
lastName: string;
|
|
1839
3663
|
email: string;
|
|
1840
|
-
} | undefined;
|
|
3664
|
+
} | null | undefined;
|
|
1841
3665
|
newCollaboration?: {
|
|
3666
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3667
|
+
createdAt: string | Date;
|
|
3668
|
+
updatedAt: string | Date;
|
|
1842
3669
|
id: string;
|
|
3670
|
+
userId: string;
|
|
3671
|
+
company?: {
|
|
3672
|
+
createdAt: string | Date;
|
|
3673
|
+
updatedAt: string | Date;
|
|
3674
|
+
id: string;
|
|
3675
|
+
name: string;
|
|
3676
|
+
} | null | undefined;
|
|
3677
|
+
client?: {
|
|
3678
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3679
|
+
createdAt: string | Date;
|
|
3680
|
+
updatedAt: string | Date;
|
|
3681
|
+
id: string;
|
|
3682
|
+
name: string;
|
|
3683
|
+
crn: string;
|
|
3684
|
+
govLink: string;
|
|
3685
|
+
director: string;
|
|
3686
|
+
blacklistReason?: string | null | undefined;
|
|
3687
|
+
lastUpdatedBy?: {
|
|
3688
|
+
id: string;
|
|
3689
|
+
firstName: string;
|
|
3690
|
+
lastName: string;
|
|
3691
|
+
email: string;
|
|
3692
|
+
} | null | undefined;
|
|
3693
|
+
agentClientLinks?: {
|
|
3694
|
+
agentId: string;
|
|
3695
|
+
} | null | undefined;
|
|
3696
|
+
} | null | undefined;
|
|
3697
|
+
user?: {
|
|
3698
|
+
id: string;
|
|
3699
|
+
firstName: string;
|
|
3700
|
+
lastName: string;
|
|
3701
|
+
email: string;
|
|
3702
|
+
} | null | undefined;
|
|
1843
3703
|
} | null | undefined;
|
|
1844
3704
|
}>>>;
|
|
1845
3705
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1874,27 +3734,81 @@ export declare const jobsContractRouter: {
|
|
|
1874
3734
|
areaCovered?: string | null | undefined;
|
|
1875
3735
|
} | null | undefined;
|
|
1876
3736
|
currentCollaboration?: {
|
|
1877
|
-
status: "
|
|
3737
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1878
3738
|
createdAt: string;
|
|
1879
3739
|
updatedAt: string;
|
|
1880
3740
|
id: string;
|
|
1881
3741
|
userId: string;
|
|
1882
3742
|
company?: {
|
|
3743
|
+
createdAt: string;
|
|
3744
|
+
updatedAt: string;
|
|
1883
3745
|
id: string;
|
|
1884
3746
|
name: string;
|
|
1885
|
-
} | undefined;
|
|
3747
|
+
} | null | undefined;
|
|
1886
3748
|
client?: {
|
|
3749
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3750
|
+
createdAt: string;
|
|
3751
|
+
updatedAt: string;
|
|
1887
3752
|
id: string;
|
|
1888
3753
|
name: string;
|
|
1889
|
-
|
|
3754
|
+
crn: string;
|
|
3755
|
+
govLink: string;
|
|
3756
|
+
director: string;
|
|
3757
|
+
blacklistReason?: string | null | undefined;
|
|
3758
|
+
lastUpdatedBy?: {
|
|
3759
|
+
id: string;
|
|
3760
|
+
firstName: string;
|
|
3761
|
+
lastName: string;
|
|
3762
|
+
email: string;
|
|
3763
|
+
} | null | undefined;
|
|
3764
|
+
agentClientLinks?: {
|
|
3765
|
+
agentId: string;
|
|
3766
|
+
} | null | undefined;
|
|
3767
|
+
} | null | undefined;
|
|
1890
3768
|
user?: {
|
|
1891
3769
|
id: string;
|
|
1892
3770
|
firstName: string;
|
|
1893
3771
|
lastName: string;
|
|
1894
3772
|
email: string;
|
|
1895
|
-
} | undefined;
|
|
3773
|
+
} | null | undefined;
|
|
1896
3774
|
newCollaboration?: {
|
|
3775
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3776
|
+
createdAt: string;
|
|
3777
|
+
updatedAt: string;
|
|
1897
3778
|
id: string;
|
|
3779
|
+
userId: string;
|
|
3780
|
+
company?: {
|
|
3781
|
+
createdAt: string;
|
|
3782
|
+
updatedAt: string;
|
|
3783
|
+
id: string;
|
|
3784
|
+
name: string;
|
|
3785
|
+
} | null | undefined;
|
|
3786
|
+
client?: {
|
|
3787
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3788
|
+
createdAt: string;
|
|
3789
|
+
updatedAt: string;
|
|
3790
|
+
id: string;
|
|
3791
|
+
name: string;
|
|
3792
|
+
crn: string;
|
|
3793
|
+
govLink: string;
|
|
3794
|
+
director: string;
|
|
3795
|
+
blacklistReason?: string | null | undefined;
|
|
3796
|
+
lastUpdatedBy?: {
|
|
3797
|
+
id: string;
|
|
3798
|
+
firstName: string;
|
|
3799
|
+
lastName: string;
|
|
3800
|
+
email: string;
|
|
3801
|
+
} | null | undefined;
|
|
3802
|
+
agentClientLinks?: {
|
|
3803
|
+
agentId: string;
|
|
3804
|
+
} | null | undefined;
|
|
3805
|
+
} | null | undefined;
|
|
3806
|
+
user?: {
|
|
3807
|
+
id: string;
|
|
3808
|
+
firstName: string;
|
|
3809
|
+
lastName: string;
|
|
3810
|
+
email: string;
|
|
3811
|
+
} | null | undefined;
|
|
1898
3812
|
} | null | undefined;
|
|
1899
3813
|
} | null | undefined;
|
|
1900
3814
|
}, {
|
|
@@ -1927,27 +3841,81 @@ export declare const jobsContractRouter: {
|
|
|
1927
3841
|
qualificationTypeId?: string | null | undefined;
|
|
1928
3842
|
}[] | undefined;
|
|
1929
3843
|
currentCollaboration?: {
|
|
1930
|
-
status: "
|
|
3844
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1931
3845
|
createdAt: string | Date;
|
|
1932
3846
|
updatedAt: string | Date;
|
|
1933
3847
|
id: string;
|
|
1934
3848
|
userId: string;
|
|
1935
3849
|
company?: {
|
|
3850
|
+
createdAt: string | Date;
|
|
3851
|
+
updatedAt: string | Date;
|
|
1936
3852
|
id: string;
|
|
1937
3853
|
name: string;
|
|
1938
|
-
} | undefined;
|
|
3854
|
+
} | null | undefined;
|
|
1939
3855
|
client?: {
|
|
3856
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3857
|
+
createdAt: string | Date;
|
|
3858
|
+
updatedAt: string | Date;
|
|
1940
3859
|
id: string;
|
|
1941
3860
|
name: string;
|
|
1942
|
-
|
|
3861
|
+
crn: string;
|
|
3862
|
+
govLink: string;
|
|
3863
|
+
director: string;
|
|
3864
|
+
blacklistReason?: string | null | undefined;
|
|
3865
|
+
lastUpdatedBy?: {
|
|
3866
|
+
id: string;
|
|
3867
|
+
firstName: string;
|
|
3868
|
+
lastName: string;
|
|
3869
|
+
email: string;
|
|
3870
|
+
} | null | undefined;
|
|
3871
|
+
agentClientLinks?: {
|
|
3872
|
+
agentId: string;
|
|
3873
|
+
} | null | undefined;
|
|
3874
|
+
} | null | undefined;
|
|
1943
3875
|
user?: {
|
|
1944
3876
|
id: string;
|
|
1945
3877
|
firstName: string;
|
|
1946
3878
|
lastName: string;
|
|
1947
3879
|
email: string;
|
|
1948
|
-
} | undefined;
|
|
3880
|
+
} | null | undefined;
|
|
1949
3881
|
newCollaboration?: {
|
|
3882
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3883
|
+
createdAt: string | Date;
|
|
3884
|
+
updatedAt: string | Date;
|
|
1950
3885
|
id: string;
|
|
3886
|
+
userId: string;
|
|
3887
|
+
company?: {
|
|
3888
|
+
createdAt: string | Date;
|
|
3889
|
+
updatedAt: string | Date;
|
|
3890
|
+
id: string;
|
|
3891
|
+
name: string;
|
|
3892
|
+
} | null | undefined;
|
|
3893
|
+
client?: {
|
|
3894
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3895
|
+
createdAt: string | Date;
|
|
3896
|
+
updatedAt: string | Date;
|
|
3897
|
+
id: string;
|
|
3898
|
+
name: string;
|
|
3899
|
+
crn: string;
|
|
3900
|
+
govLink: string;
|
|
3901
|
+
director: string;
|
|
3902
|
+
blacklistReason?: string | null | undefined;
|
|
3903
|
+
lastUpdatedBy?: {
|
|
3904
|
+
id: string;
|
|
3905
|
+
firstName: string;
|
|
3906
|
+
lastName: string;
|
|
3907
|
+
email: string;
|
|
3908
|
+
} | null | undefined;
|
|
3909
|
+
agentClientLinks?: {
|
|
3910
|
+
agentId: string;
|
|
3911
|
+
} | null | undefined;
|
|
3912
|
+
} | null | undefined;
|
|
3913
|
+
user?: {
|
|
3914
|
+
id: string;
|
|
3915
|
+
firstName: string;
|
|
3916
|
+
lastName: string;
|
|
3917
|
+
email: string;
|
|
3918
|
+
} | null | undefined;
|
|
1951
3919
|
} | null | undefined;
|
|
1952
3920
|
} | null | undefined;
|
|
1953
3921
|
}>, "many">;
|
|
@@ -1988,27 +3956,81 @@ export declare const jobsContractRouter: {
|
|
|
1988
3956
|
areaCovered?: string | null | undefined;
|
|
1989
3957
|
} | null | undefined;
|
|
1990
3958
|
currentCollaboration?: {
|
|
1991
|
-
status: "
|
|
3959
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1992
3960
|
createdAt: string;
|
|
1993
3961
|
updatedAt: string;
|
|
1994
3962
|
id: string;
|
|
1995
3963
|
userId: string;
|
|
1996
3964
|
company?: {
|
|
3965
|
+
createdAt: string;
|
|
3966
|
+
updatedAt: string;
|
|
1997
3967
|
id: string;
|
|
1998
3968
|
name: string;
|
|
1999
|
-
} | undefined;
|
|
3969
|
+
} | null | undefined;
|
|
2000
3970
|
client?: {
|
|
3971
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3972
|
+
createdAt: string;
|
|
3973
|
+
updatedAt: string;
|
|
2001
3974
|
id: string;
|
|
2002
3975
|
name: string;
|
|
2003
|
-
|
|
3976
|
+
crn: string;
|
|
3977
|
+
govLink: string;
|
|
3978
|
+
director: string;
|
|
3979
|
+
blacklistReason?: string | null | undefined;
|
|
3980
|
+
lastUpdatedBy?: {
|
|
3981
|
+
id: string;
|
|
3982
|
+
firstName: string;
|
|
3983
|
+
lastName: string;
|
|
3984
|
+
email: string;
|
|
3985
|
+
} | null | undefined;
|
|
3986
|
+
agentClientLinks?: {
|
|
3987
|
+
agentId: string;
|
|
3988
|
+
} | null | undefined;
|
|
3989
|
+
} | null | undefined;
|
|
2004
3990
|
user?: {
|
|
2005
3991
|
id: string;
|
|
2006
3992
|
firstName: string;
|
|
2007
3993
|
lastName: string;
|
|
2008
3994
|
email: string;
|
|
2009
|
-
} | undefined;
|
|
3995
|
+
} | null | undefined;
|
|
2010
3996
|
newCollaboration?: {
|
|
3997
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3998
|
+
createdAt: string;
|
|
3999
|
+
updatedAt: string;
|
|
2011
4000
|
id: string;
|
|
4001
|
+
userId: string;
|
|
4002
|
+
company?: {
|
|
4003
|
+
createdAt: string;
|
|
4004
|
+
updatedAt: string;
|
|
4005
|
+
id: string;
|
|
4006
|
+
name: string;
|
|
4007
|
+
} | null | undefined;
|
|
4008
|
+
client?: {
|
|
4009
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4010
|
+
createdAt: string;
|
|
4011
|
+
updatedAt: string;
|
|
4012
|
+
id: string;
|
|
4013
|
+
name: string;
|
|
4014
|
+
crn: string;
|
|
4015
|
+
govLink: string;
|
|
4016
|
+
director: string;
|
|
4017
|
+
blacklistReason?: string | null | undefined;
|
|
4018
|
+
lastUpdatedBy?: {
|
|
4019
|
+
id: string;
|
|
4020
|
+
firstName: string;
|
|
4021
|
+
lastName: string;
|
|
4022
|
+
email: string;
|
|
4023
|
+
} | null | undefined;
|
|
4024
|
+
agentClientLinks?: {
|
|
4025
|
+
agentId: string;
|
|
4026
|
+
} | null | undefined;
|
|
4027
|
+
} | null | undefined;
|
|
4028
|
+
user?: {
|
|
4029
|
+
id: string;
|
|
4030
|
+
firstName: string;
|
|
4031
|
+
lastName: string;
|
|
4032
|
+
email: string;
|
|
4033
|
+
} | null | undefined;
|
|
2012
4034
|
} | null | undefined;
|
|
2013
4035
|
} | null | undefined;
|
|
2014
4036
|
}[];
|
|
@@ -2048,27 +4070,81 @@ export declare const jobsContractRouter: {
|
|
|
2048
4070
|
qualificationTypeId?: string | null | undefined;
|
|
2049
4071
|
}[] | undefined;
|
|
2050
4072
|
currentCollaboration?: {
|
|
2051
|
-
status: "
|
|
4073
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2052
4074
|
createdAt: string | Date;
|
|
2053
4075
|
updatedAt: string | Date;
|
|
2054
4076
|
id: string;
|
|
2055
4077
|
userId: string;
|
|
2056
4078
|
company?: {
|
|
4079
|
+
createdAt: string | Date;
|
|
4080
|
+
updatedAt: string | Date;
|
|
2057
4081
|
id: string;
|
|
2058
4082
|
name: string;
|
|
2059
|
-
} | undefined;
|
|
4083
|
+
} | null | undefined;
|
|
2060
4084
|
client?: {
|
|
4085
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4086
|
+
createdAt: string | Date;
|
|
4087
|
+
updatedAt: string | Date;
|
|
2061
4088
|
id: string;
|
|
2062
4089
|
name: string;
|
|
2063
|
-
|
|
4090
|
+
crn: string;
|
|
4091
|
+
govLink: string;
|
|
4092
|
+
director: string;
|
|
4093
|
+
blacklistReason?: string | null | undefined;
|
|
4094
|
+
lastUpdatedBy?: {
|
|
4095
|
+
id: string;
|
|
4096
|
+
firstName: string;
|
|
4097
|
+
lastName: string;
|
|
4098
|
+
email: string;
|
|
4099
|
+
} | null | undefined;
|
|
4100
|
+
agentClientLinks?: {
|
|
4101
|
+
agentId: string;
|
|
4102
|
+
} | null | undefined;
|
|
4103
|
+
} | null | undefined;
|
|
2064
4104
|
user?: {
|
|
2065
4105
|
id: string;
|
|
2066
4106
|
firstName: string;
|
|
2067
4107
|
lastName: string;
|
|
2068
4108
|
email: string;
|
|
2069
|
-
} | undefined;
|
|
4109
|
+
} | null | undefined;
|
|
2070
4110
|
newCollaboration?: {
|
|
4111
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4112
|
+
createdAt: string | Date;
|
|
4113
|
+
updatedAt: string | Date;
|
|
2071
4114
|
id: string;
|
|
4115
|
+
userId: string;
|
|
4116
|
+
company?: {
|
|
4117
|
+
createdAt: string | Date;
|
|
4118
|
+
updatedAt: string | Date;
|
|
4119
|
+
id: string;
|
|
4120
|
+
name: string;
|
|
4121
|
+
} | null | undefined;
|
|
4122
|
+
client?: {
|
|
4123
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4124
|
+
createdAt: string | Date;
|
|
4125
|
+
updatedAt: string | Date;
|
|
4126
|
+
id: string;
|
|
4127
|
+
name: string;
|
|
4128
|
+
crn: string;
|
|
4129
|
+
govLink: string;
|
|
4130
|
+
director: string;
|
|
4131
|
+
blacklistReason?: string | null | undefined;
|
|
4132
|
+
lastUpdatedBy?: {
|
|
4133
|
+
id: string;
|
|
4134
|
+
firstName: string;
|
|
4135
|
+
lastName: string;
|
|
4136
|
+
email: string;
|
|
4137
|
+
} | null | undefined;
|
|
4138
|
+
agentClientLinks?: {
|
|
4139
|
+
agentId: string;
|
|
4140
|
+
} | null | undefined;
|
|
4141
|
+
} | null | undefined;
|
|
4142
|
+
user?: {
|
|
4143
|
+
id: string;
|
|
4144
|
+
firstName: string;
|
|
4145
|
+
lastName: string;
|
|
4146
|
+
email: string;
|
|
4147
|
+
} | null | undefined;
|
|
2072
4148
|
} | null | undefined;
|
|
2073
4149
|
} | null | undefined;
|
|
2074
4150
|
}[];
|
|
@@ -2244,7 +4320,7 @@ export declare const jobsContractRouter: {
|
|
|
2244
4320
|
postTown?: string | null | undefined;
|
|
2245
4321
|
areaCovered?: string | null | undefined;
|
|
2246
4322
|
}>>>;
|
|
2247
|
-
tradeId: z.ZodString
|
|
4323
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
2248
4324
|
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2249
4325
|
id: z.ZodString;
|
|
2250
4326
|
qualificationId: z.ZodString;
|
|
@@ -2260,27 +4336,95 @@ export declare const jobsContractRouter: {
|
|
|
2260
4336
|
}>, "many">>>;
|
|
2261
4337
|
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2262
4338
|
id: z.ZodString;
|
|
2263
|
-
company: z.ZodOptional<z.ZodObject<{
|
|
4339
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2264
4340
|
id: z.ZodString;
|
|
2265
4341
|
name: z.ZodString;
|
|
4342
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4343
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2266
4344
|
}, "strip", z.ZodTypeAny, {
|
|
4345
|
+
createdAt: string;
|
|
4346
|
+
updatedAt: string;
|
|
2267
4347
|
id: string;
|
|
2268
4348
|
name: string;
|
|
2269
4349
|
}, {
|
|
4350
|
+
createdAt: string | Date;
|
|
4351
|
+
updatedAt: string | Date;
|
|
2270
4352
|
id: string;
|
|
2271
4353
|
name: string;
|
|
2272
|
-
}
|
|
2273
|
-
client: z.ZodOptional<z.ZodObject<{
|
|
4354
|
+
}>>>;
|
|
4355
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2274
4356
|
id: z.ZodString;
|
|
2275
4357
|
name: z.ZodString;
|
|
4358
|
+
crn: z.ZodString;
|
|
4359
|
+
govLink: z.ZodString;
|
|
4360
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
4361
|
+
director: z.ZodString;
|
|
4362
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4363
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4364
|
+
id: z.ZodString;
|
|
4365
|
+
firstName: z.ZodString;
|
|
4366
|
+
lastName: z.ZodString;
|
|
4367
|
+
email: z.ZodString;
|
|
4368
|
+
}, "strip", z.ZodTypeAny, {
|
|
4369
|
+
id: string;
|
|
4370
|
+
firstName: string;
|
|
4371
|
+
lastName: string;
|
|
4372
|
+
email: string;
|
|
4373
|
+
}, {
|
|
4374
|
+
id: string;
|
|
4375
|
+
firstName: string;
|
|
4376
|
+
lastName: string;
|
|
4377
|
+
email: string;
|
|
4378
|
+
}>>>;
|
|
4379
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4380
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4381
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4382
|
+
agentId: z.ZodString;
|
|
4383
|
+
}, "strip", z.ZodTypeAny, {
|
|
4384
|
+
agentId: string;
|
|
4385
|
+
}, {
|
|
4386
|
+
agentId: string;
|
|
4387
|
+
}>>>;
|
|
2276
4388
|
}, "strip", z.ZodTypeAny, {
|
|
4389
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4390
|
+
createdAt: string;
|
|
4391
|
+
updatedAt: string;
|
|
2277
4392
|
id: string;
|
|
2278
4393
|
name: string;
|
|
4394
|
+
crn: string;
|
|
4395
|
+
govLink: string;
|
|
4396
|
+
director: string;
|
|
4397
|
+
blacklistReason?: string | null | undefined;
|
|
4398
|
+
lastUpdatedBy?: {
|
|
4399
|
+
id: string;
|
|
4400
|
+
firstName: string;
|
|
4401
|
+
lastName: string;
|
|
4402
|
+
email: string;
|
|
4403
|
+
} | null | undefined;
|
|
4404
|
+
agentClientLinks?: {
|
|
4405
|
+
agentId: string;
|
|
4406
|
+
} | null | undefined;
|
|
2279
4407
|
}, {
|
|
4408
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4409
|
+
createdAt: string | Date;
|
|
4410
|
+
updatedAt: string | Date;
|
|
2280
4411
|
id: string;
|
|
2281
4412
|
name: string;
|
|
2282
|
-
|
|
2283
|
-
|
|
4413
|
+
crn: string;
|
|
4414
|
+
govLink: string;
|
|
4415
|
+
director: string;
|
|
4416
|
+
blacklistReason?: string | null | undefined;
|
|
4417
|
+
lastUpdatedBy?: {
|
|
4418
|
+
id: string;
|
|
4419
|
+
firstName: string;
|
|
4420
|
+
lastName: string;
|
|
4421
|
+
email: string;
|
|
4422
|
+
} | null | undefined;
|
|
4423
|
+
agentClientLinks?: {
|
|
4424
|
+
agentId: string;
|
|
4425
|
+
} | null | undefined;
|
|
4426
|
+
}>>>;
|
|
4427
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2284
4428
|
id: z.ZodString;
|
|
2285
4429
|
firstName: z.ZodString;
|
|
2286
4430
|
lastName: z.ZodString;
|
|
@@ -2295,63 +4439,352 @@ export declare const jobsContractRouter: {
|
|
|
2295
4439
|
firstName: string;
|
|
2296
4440
|
lastName: string;
|
|
2297
4441
|
email: string;
|
|
2298
|
-
}
|
|
4442
|
+
}>>>;
|
|
2299
4443
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
2300
4444
|
userId: z.ZodString;
|
|
2301
4445
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2302
4446
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4447
|
+
} & {
|
|
2303
4448
|
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2304
4449
|
id: z.ZodString;
|
|
4450
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4451
|
+
id: z.ZodString;
|
|
4452
|
+
name: z.ZodString;
|
|
4453
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4454
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4455
|
+
}, "strip", z.ZodTypeAny, {
|
|
4456
|
+
createdAt: string;
|
|
4457
|
+
updatedAt: string;
|
|
4458
|
+
id: string;
|
|
4459
|
+
name: string;
|
|
4460
|
+
}, {
|
|
4461
|
+
createdAt: string | Date;
|
|
4462
|
+
updatedAt: string | Date;
|
|
4463
|
+
id: string;
|
|
4464
|
+
name: string;
|
|
4465
|
+
}>>>;
|
|
4466
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4467
|
+
id: z.ZodString;
|
|
4468
|
+
name: z.ZodString;
|
|
4469
|
+
crn: z.ZodString;
|
|
4470
|
+
govLink: z.ZodString;
|
|
4471
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
4472
|
+
director: z.ZodString;
|
|
4473
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4474
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4475
|
+
id: z.ZodString;
|
|
4476
|
+
firstName: z.ZodString;
|
|
4477
|
+
lastName: z.ZodString;
|
|
4478
|
+
email: z.ZodString;
|
|
4479
|
+
}, "strip", z.ZodTypeAny, {
|
|
4480
|
+
id: string;
|
|
4481
|
+
firstName: string;
|
|
4482
|
+
lastName: string;
|
|
4483
|
+
email: string;
|
|
4484
|
+
}, {
|
|
4485
|
+
id: string;
|
|
4486
|
+
firstName: string;
|
|
4487
|
+
lastName: string;
|
|
4488
|
+
email: string;
|
|
4489
|
+
}>>>;
|
|
4490
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4491
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4492
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4493
|
+
agentId: z.ZodString;
|
|
4494
|
+
}, "strip", z.ZodTypeAny, {
|
|
4495
|
+
agentId: string;
|
|
4496
|
+
}, {
|
|
4497
|
+
agentId: string;
|
|
4498
|
+
}>>>;
|
|
4499
|
+
}, "strip", z.ZodTypeAny, {
|
|
4500
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4501
|
+
createdAt: string;
|
|
4502
|
+
updatedAt: string;
|
|
4503
|
+
id: string;
|
|
4504
|
+
name: string;
|
|
4505
|
+
crn: string;
|
|
4506
|
+
govLink: string;
|
|
4507
|
+
director: string;
|
|
4508
|
+
blacklistReason?: string | null | undefined;
|
|
4509
|
+
lastUpdatedBy?: {
|
|
4510
|
+
id: string;
|
|
4511
|
+
firstName: string;
|
|
4512
|
+
lastName: string;
|
|
4513
|
+
email: string;
|
|
4514
|
+
} | null | undefined;
|
|
4515
|
+
agentClientLinks?: {
|
|
4516
|
+
agentId: string;
|
|
4517
|
+
} | null | undefined;
|
|
4518
|
+
}, {
|
|
4519
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4520
|
+
createdAt: string | Date;
|
|
4521
|
+
updatedAt: string | Date;
|
|
4522
|
+
id: string;
|
|
4523
|
+
name: string;
|
|
4524
|
+
crn: string;
|
|
4525
|
+
govLink: string;
|
|
4526
|
+
director: string;
|
|
4527
|
+
blacklistReason?: string | null | undefined;
|
|
4528
|
+
lastUpdatedBy?: {
|
|
4529
|
+
id: string;
|
|
4530
|
+
firstName: string;
|
|
4531
|
+
lastName: string;
|
|
4532
|
+
email: string;
|
|
4533
|
+
} | null | undefined;
|
|
4534
|
+
agentClientLinks?: {
|
|
4535
|
+
agentId: string;
|
|
4536
|
+
} | null | undefined;
|
|
4537
|
+
}>>>;
|
|
4538
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4539
|
+
id: z.ZodString;
|
|
4540
|
+
firstName: z.ZodString;
|
|
4541
|
+
lastName: z.ZodString;
|
|
4542
|
+
email: z.ZodString;
|
|
4543
|
+
}, "strip", z.ZodTypeAny, {
|
|
4544
|
+
id: string;
|
|
4545
|
+
firstName: string;
|
|
4546
|
+
lastName: string;
|
|
4547
|
+
email: string;
|
|
4548
|
+
}, {
|
|
4549
|
+
id: string;
|
|
4550
|
+
firstName: string;
|
|
4551
|
+
lastName: string;
|
|
4552
|
+
email: string;
|
|
4553
|
+
}>>>;
|
|
4554
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
4555
|
+
userId: z.ZodString;
|
|
4556
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4557
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2305
4558
|
}, "strip", z.ZodTypeAny, {
|
|
4559
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4560
|
+
createdAt: string;
|
|
4561
|
+
updatedAt: string;
|
|
2306
4562
|
id: string;
|
|
4563
|
+
userId: string;
|
|
4564
|
+
company?: {
|
|
4565
|
+
createdAt: string;
|
|
4566
|
+
updatedAt: string;
|
|
4567
|
+
id: string;
|
|
4568
|
+
name: string;
|
|
4569
|
+
} | null | undefined;
|
|
4570
|
+
client?: {
|
|
4571
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4572
|
+
createdAt: string;
|
|
4573
|
+
updatedAt: string;
|
|
4574
|
+
id: string;
|
|
4575
|
+
name: string;
|
|
4576
|
+
crn: string;
|
|
4577
|
+
govLink: string;
|
|
4578
|
+
director: string;
|
|
4579
|
+
blacklistReason?: string | null | undefined;
|
|
4580
|
+
lastUpdatedBy?: {
|
|
4581
|
+
id: string;
|
|
4582
|
+
firstName: string;
|
|
4583
|
+
lastName: string;
|
|
4584
|
+
email: string;
|
|
4585
|
+
} | null | undefined;
|
|
4586
|
+
agentClientLinks?: {
|
|
4587
|
+
agentId: string;
|
|
4588
|
+
} | null | undefined;
|
|
4589
|
+
} | null | undefined;
|
|
4590
|
+
user?: {
|
|
4591
|
+
id: string;
|
|
4592
|
+
firstName: string;
|
|
4593
|
+
lastName: string;
|
|
4594
|
+
email: string;
|
|
4595
|
+
} | null | undefined;
|
|
2307
4596
|
}, {
|
|
4597
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4598
|
+
createdAt: string | Date;
|
|
4599
|
+
updatedAt: string | Date;
|
|
2308
4600
|
id: string;
|
|
4601
|
+
userId: string;
|
|
4602
|
+
company?: {
|
|
4603
|
+
createdAt: string | Date;
|
|
4604
|
+
updatedAt: string | Date;
|
|
4605
|
+
id: string;
|
|
4606
|
+
name: string;
|
|
4607
|
+
} | null | undefined;
|
|
4608
|
+
client?: {
|
|
4609
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4610
|
+
createdAt: string | Date;
|
|
4611
|
+
updatedAt: string | Date;
|
|
4612
|
+
id: string;
|
|
4613
|
+
name: string;
|
|
4614
|
+
crn: string;
|
|
4615
|
+
govLink: string;
|
|
4616
|
+
director: string;
|
|
4617
|
+
blacklistReason?: string | null | undefined;
|
|
4618
|
+
lastUpdatedBy?: {
|
|
4619
|
+
id: string;
|
|
4620
|
+
firstName: string;
|
|
4621
|
+
lastName: string;
|
|
4622
|
+
email: string;
|
|
4623
|
+
} | null | undefined;
|
|
4624
|
+
agentClientLinks?: {
|
|
4625
|
+
agentId: string;
|
|
4626
|
+
} | null | undefined;
|
|
4627
|
+
} | null | undefined;
|
|
4628
|
+
user?: {
|
|
4629
|
+
id: string;
|
|
4630
|
+
firstName: string;
|
|
4631
|
+
lastName: string;
|
|
4632
|
+
email: string;
|
|
4633
|
+
} | null | undefined;
|
|
2309
4634
|
}>>>;
|
|
2310
4635
|
}, "strip", z.ZodTypeAny, {
|
|
2311
|
-
status: "
|
|
4636
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2312
4637
|
createdAt: string;
|
|
2313
4638
|
updatedAt: string;
|
|
2314
4639
|
id: string;
|
|
2315
4640
|
userId: string;
|
|
2316
4641
|
company?: {
|
|
4642
|
+
createdAt: string;
|
|
4643
|
+
updatedAt: string;
|
|
2317
4644
|
id: string;
|
|
2318
4645
|
name: string;
|
|
2319
|
-
} | undefined;
|
|
4646
|
+
} | null | undefined;
|
|
2320
4647
|
client?: {
|
|
4648
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4649
|
+
createdAt: string;
|
|
4650
|
+
updatedAt: string;
|
|
2321
4651
|
id: string;
|
|
2322
4652
|
name: string;
|
|
2323
|
-
|
|
4653
|
+
crn: string;
|
|
4654
|
+
govLink: string;
|
|
4655
|
+
director: string;
|
|
4656
|
+
blacklistReason?: string | null | undefined;
|
|
4657
|
+
lastUpdatedBy?: {
|
|
4658
|
+
id: string;
|
|
4659
|
+
firstName: string;
|
|
4660
|
+
lastName: string;
|
|
4661
|
+
email: string;
|
|
4662
|
+
} | null | undefined;
|
|
4663
|
+
agentClientLinks?: {
|
|
4664
|
+
agentId: string;
|
|
4665
|
+
} | null | undefined;
|
|
4666
|
+
} | null | undefined;
|
|
2324
4667
|
user?: {
|
|
2325
4668
|
id: string;
|
|
2326
4669
|
firstName: string;
|
|
2327
4670
|
lastName: string;
|
|
2328
4671
|
email: string;
|
|
2329
|
-
} | undefined;
|
|
4672
|
+
} | null | undefined;
|
|
2330
4673
|
newCollaboration?: {
|
|
4674
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4675
|
+
createdAt: string;
|
|
4676
|
+
updatedAt: string;
|
|
2331
4677
|
id: string;
|
|
4678
|
+
userId: string;
|
|
4679
|
+
company?: {
|
|
4680
|
+
createdAt: string;
|
|
4681
|
+
updatedAt: string;
|
|
4682
|
+
id: string;
|
|
4683
|
+
name: string;
|
|
4684
|
+
} | null | undefined;
|
|
4685
|
+
client?: {
|
|
4686
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4687
|
+
createdAt: string;
|
|
4688
|
+
updatedAt: string;
|
|
4689
|
+
id: string;
|
|
4690
|
+
name: string;
|
|
4691
|
+
crn: string;
|
|
4692
|
+
govLink: string;
|
|
4693
|
+
director: string;
|
|
4694
|
+
blacklistReason?: string | null | undefined;
|
|
4695
|
+
lastUpdatedBy?: {
|
|
4696
|
+
id: string;
|
|
4697
|
+
firstName: string;
|
|
4698
|
+
lastName: string;
|
|
4699
|
+
email: string;
|
|
4700
|
+
} | null | undefined;
|
|
4701
|
+
agentClientLinks?: {
|
|
4702
|
+
agentId: string;
|
|
4703
|
+
} | null | undefined;
|
|
4704
|
+
} | null | undefined;
|
|
4705
|
+
user?: {
|
|
4706
|
+
id: string;
|
|
4707
|
+
firstName: string;
|
|
4708
|
+
lastName: string;
|
|
4709
|
+
email: string;
|
|
4710
|
+
} | null | undefined;
|
|
2332
4711
|
} | null | undefined;
|
|
2333
4712
|
}, {
|
|
2334
|
-
status: "
|
|
4713
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2335
4714
|
createdAt: string | Date;
|
|
2336
4715
|
updatedAt: string | Date;
|
|
2337
4716
|
id: string;
|
|
2338
4717
|
userId: string;
|
|
2339
4718
|
company?: {
|
|
4719
|
+
createdAt: string | Date;
|
|
4720
|
+
updatedAt: string | Date;
|
|
2340
4721
|
id: string;
|
|
2341
4722
|
name: string;
|
|
2342
|
-
} | undefined;
|
|
4723
|
+
} | null | undefined;
|
|
2343
4724
|
client?: {
|
|
4725
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4726
|
+
createdAt: string | Date;
|
|
4727
|
+
updatedAt: string | Date;
|
|
2344
4728
|
id: string;
|
|
2345
4729
|
name: string;
|
|
2346
|
-
|
|
4730
|
+
crn: string;
|
|
4731
|
+
govLink: string;
|
|
4732
|
+
director: string;
|
|
4733
|
+
blacklistReason?: string | null | undefined;
|
|
4734
|
+
lastUpdatedBy?: {
|
|
4735
|
+
id: string;
|
|
4736
|
+
firstName: string;
|
|
4737
|
+
lastName: string;
|
|
4738
|
+
email: string;
|
|
4739
|
+
} | null | undefined;
|
|
4740
|
+
agentClientLinks?: {
|
|
4741
|
+
agentId: string;
|
|
4742
|
+
} | null | undefined;
|
|
4743
|
+
} | null | undefined;
|
|
2347
4744
|
user?: {
|
|
2348
4745
|
id: string;
|
|
2349
4746
|
firstName: string;
|
|
2350
4747
|
lastName: string;
|
|
2351
4748
|
email: string;
|
|
2352
|
-
} | undefined;
|
|
4749
|
+
} | null | undefined;
|
|
2353
4750
|
newCollaboration?: {
|
|
4751
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4752
|
+
createdAt: string | Date;
|
|
4753
|
+
updatedAt: string | Date;
|
|
2354
4754
|
id: string;
|
|
4755
|
+
userId: string;
|
|
4756
|
+
company?: {
|
|
4757
|
+
createdAt: string | Date;
|
|
4758
|
+
updatedAt: string | Date;
|
|
4759
|
+
id: string;
|
|
4760
|
+
name: string;
|
|
4761
|
+
} | null | undefined;
|
|
4762
|
+
client?: {
|
|
4763
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4764
|
+
createdAt: string | Date;
|
|
4765
|
+
updatedAt: string | Date;
|
|
4766
|
+
id: string;
|
|
4767
|
+
name: string;
|
|
4768
|
+
crn: string;
|
|
4769
|
+
govLink: string;
|
|
4770
|
+
director: string;
|
|
4771
|
+
blacklistReason?: string | null | undefined;
|
|
4772
|
+
lastUpdatedBy?: {
|
|
4773
|
+
id: string;
|
|
4774
|
+
firstName: string;
|
|
4775
|
+
lastName: string;
|
|
4776
|
+
email: string;
|
|
4777
|
+
} | null | undefined;
|
|
4778
|
+
agentClientLinks?: {
|
|
4779
|
+
agentId: string;
|
|
4780
|
+
} | null | undefined;
|
|
4781
|
+
} | null | undefined;
|
|
4782
|
+
user?: {
|
|
4783
|
+
id: string;
|
|
4784
|
+
firstName: string;
|
|
4785
|
+
lastName: string;
|
|
4786
|
+
email: string;
|
|
4787
|
+
} | null | undefined;
|
|
2355
4788
|
} | null | undefined;
|
|
2356
4789
|
}>>>;
|
|
2357
4790
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2386,27 +4819,81 @@ export declare const jobsContractRouter: {
|
|
|
2386
4819
|
areaCovered?: string | null | undefined;
|
|
2387
4820
|
} | null | undefined;
|
|
2388
4821
|
currentCollaboration?: {
|
|
2389
|
-
status: "
|
|
4822
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2390
4823
|
createdAt: string;
|
|
2391
4824
|
updatedAt: string;
|
|
2392
4825
|
id: string;
|
|
2393
4826
|
userId: string;
|
|
2394
4827
|
company?: {
|
|
4828
|
+
createdAt: string;
|
|
4829
|
+
updatedAt: string;
|
|
2395
4830
|
id: string;
|
|
2396
4831
|
name: string;
|
|
2397
|
-
} | undefined;
|
|
4832
|
+
} | null | undefined;
|
|
2398
4833
|
client?: {
|
|
4834
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4835
|
+
createdAt: string;
|
|
4836
|
+
updatedAt: string;
|
|
2399
4837
|
id: string;
|
|
2400
4838
|
name: string;
|
|
2401
|
-
|
|
4839
|
+
crn: string;
|
|
4840
|
+
govLink: string;
|
|
4841
|
+
director: string;
|
|
4842
|
+
blacklistReason?: string | null | undefined;
|
|
4843
|
+
lastUpdatedBy?: {
|
|
4844
|
+
id: string;
|
|
4845
|
+
firstName: string;
|
|
4846
|
+
lastName: string;
|
|
4847
|
+
email: string;
|
|
4848
|
+
} | null | undefined;
|
|
4849
|
+
agentClientLinks?: {
|
|
4850
|
+
agentId: string;
|
|
4851
|
+
} | null | undefined;
|
|
4852
|
+
} | null | undefined;
|
|
2402
4853
|
user?: {
|
|
2403
4854
|
id: string;
|
|
2404
4855
|
firstName: string;
|
|
2405
4856
|
lastName: string;
|
|
2406
4857
|
email: string;
|
|
2407
|
-
} | undefined;
|
|
4858
|
+
} | null | undefined;
|
|
2408
4859
|
newCollaboration?: {
|
|
4860
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4861
|
+
createdAt: string;
|
|
4862
|
+
updatedAt: string;
|
|
2409
4863
|
id: string;
|
|
4864
|
+
userId: string;
|
|
4865
|
+
company?: {
|
|
4866
|
+
createdAt: string;
|
|
4867
|
+
updatedAt: string;
|
|
4868
|
+
id: string;
|
|
4869
|
+
name: string;
|
|
4870
|
+
} | null | undefined;
|
|
4871
|
+
client?: {
|
|
4872
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4873
|
+
createdAt: string;
|
|
4874
|
+
updatedAt: string;
|
|
4875
|
+
id: string;
|
|
4876
|
+
name: string;
|
|
4877
|
+
crn: string;
|
|
4878
|
+
govLink: string;
|
|
4879
|
+
director: string;
|
|
4880
|
+
blacklistReason?: string | null | undefined;
|
|
4881
|
+
lastUpdatedBy?: {
|
|
4882
|
+
id: string;
|
|
4883
|
+
firstName: string;
|
|
4884
|
+
lastName: string;
|
|
4885
|
+
email: string;
|
|
4886
|
+
} | null | undefined;
|
|
4887
|
+
agentClientLinks?: {
|
|
4888
|
+
agentId: string;
|
|
4889
|
+
} | null | undefined;
|
|
4890
|
+
} | null | undefined;
|
|
4891
|
+
user?: {
|
|
4892
|
+
id: string;
|
|
4893
|
+
firstName: string;
|
|
4894
|
+
lastName: string;
|
|
4895
|
+
email: string;
|
|
4896
|
+
} | null | undefined;
|
|
2410
4897
|
} | null | undefined;
|
|
2411
4898
|
} | null | undefined;
|
|
2412
4899
|
}, {
|
|
@@ -2439,27 +4926,81 @@ export declare const jobsContractRouter: {
|
|
|
2439
4926
|
qualificationTypeId?: string | null | undefined;
|
|
2440
4927
|
}[] | undefined;
|
|
2441
4928
|
currentCollaboration?: {
|
|
2442
|
-
status: "
|
|
4929
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2443
4930
|
createdAt: string | Date;
|
|
2444
4931
|
updatedAt: string | Date;
|
|
2445
4932
|
id: string;
|
|
2446
4933
|
userId: string;
|
|
2447
4934
|
company?: {
|
|
4935
|
+
createdAt: string | Date;
|
|
4936
|
+
updatedAt: string | Date;
|
|
2448
4937
|
id: string;
|
|
2449
4938
|
name: string;
|
|
2450
|
-
} | undefined;
|
|
4939
|
+
} | null | undefined;
|
|
2451
4940
|
client?: {
|
|
4941
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4942
|
+
createdAt: string | Date;
|
|
4943
|
+
updatedAt: string | Date;
|
|
2452
4944
|
id: string;
|
|
2453
4945
|
name: string;
|
|
2454
|
-
|
|
4946
|
+
crn: string;
|
|
4947
|
+
govLink: string;
|
|
4948
|
+
director: string;
|
|
4949
|
+
blacklistReason?: string | null | undefined;
|
|
4950
|
+
lastUpdatedBy?: {
|
|
4951
|
+
id: string;
|
|
4952
|
+
firstName: string;
|
|
4953
|
+
lastName: string;
|
|
4954
|
+
email: string;
|
|
4955
|
+
} | null | undefined;
|
|
4956
|
+
agentClientLinks?: {
|
|
4957
|
+
agentId: string;
|
|
4958
|
+
} | null | undefined;
|
|
4959
|
+
} | null | undefined;
|
|
2455
4960
|
user?: {
|
|
2456
4961
|
id: string;
|
|
2457
4962
|
firstName: string;
|
|
2458
4963
|
lastName: string;
|
|
2459
4964
|
email: string;
|
|
2460
|
-
} | undefined;
|
|
4965
|
+
} | null | undefined;
|
|
2461
4966
|
newCollaboration?: {
|
|
4967
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4968
|
+
createdAt: string | Date;
|
|
4969
|
+
updatedAt: string | Date;
|
|
2462
4970
|
id: string;
|
|
4971
|
+
userId: string;
|
|
4972
|
+
company?: {
|
|
4973
|
+
createdAt: string | Date;
|
|
4974
|
+
updatedAt: string | Date;
|
|
4975
|
+
id: string;
|
|
4976
|
+
name: string;
|
|
4977
|
+
} | null | undefined;
|
|
4978
|
+
client?: {
|
|
4979
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4980
|
+
createdAt: string | Date;
|
|
4981
|
+
updatedAt: string | Date;
|
|
4982
|
+
id: string;
|
|
4983
|
+
name: string;
|
|
4984
|
+
crn: string;
|
|
4985
|
+
govLink: string;
|
|
4986
|
+
director: string;
|
|
4987
|
+
blacklistReason?: string | null | undefined;
|
|
4988
|
+
lastUpdatedBy?: {
|
|
4989
|
+
id: string;
|
|
4990
|
+
firstName: string;
|
|
4991
|
+
lastName: string;
|
|
4992
|
+
email: string;
|
|
4993
|
+
} | null | undefined;
|
|
4994
|
+
agentClientLinks?: {
|
|
4995
|
+
agentId: string;
|
|
4996
|
+
} | null | undefined;
|
|
4997
|
+
} | null | undefined;
|
|
4998
|
+
user?: {
|
|
4999
|
+
id: string;
|
|
5000
|
+
firstName: string;
|
|
5001
|
+
lastName: string;
|
|
5002
|
+
email: string;
|
|
5003
|
+
} | null | undefined;
|
|
2463
5004
|
} | null | undefined;
|
|
2464
5005
|
} | null | undefined;
|
|
2465
5006
|
}>;
|
|
@@ -2509,34 +5050,34 @@ export declare const jobsContractRouter: {
|
|
|
2509
5050
|
body: z.ZodObject<{
|
|
2510
5051
|
description: z.ZodOptional<z.ZodString>;
|
|
2511
5052
|
location: z.ZodOptional<z.ZodObject<{
|
|
2512
|
-
address: z.ZodOptional<z.ZodString
|
|
2513
|
-
postcode: z.ZodOptional<z.ZodString
|
|
5053
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5054
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2514
5055
|
}, "strip", z.ZodTypeAny, {
|
|
2515
|
-
address?: string | undefined;
|
|
2516
|
-
postcode?: string | undefined;
|
|
5056
|
+
address?: string | null | undefined;
|
|
5057
|
+
postcode?: string | null | undefined;
|
|
2517
5058
|
}, {
|
|
2518
|
-
address?: string | undefined;
|
|
2519
|
-
postcode?: string | undefined;
|
|
5059
|
+
address?: string | null | undefined;
|
|
5060
|
+
postcode?: string | null | undefined;
|
|
2520
5061
|
}>>;
|
|
2521
5062
|
numberOfPositions: z.ZodOptional<z.ZodNumber>;
|
|
2522
5063
|
workHours: z.ZodOptional<z.ZodNumber>;
|
|
2523
5064
|
pay: z.ZodOptional<z.ZodObject<{
|
|
2524
|
-
rateUnit: z.
|
|
5065
|
+
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
2525
5066
|
rate: z.ZodNumber;
|
|
2526
|
-
rateMax: z.ZodOptional<z.ZodNumber
|
|
5067
|
+
rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2527
5068
|
receivedRate: z.ZodNumber;
|
|
2528
5069
|
}, "strip", z.ZodTypeAny, {
|
|
5070
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2529
5071
|
rate: number;
|
|
2530
5072
|
receivedRate: number;
|
|
2531
|
-
|
|
2532
|
-
rateMax?: number | undefined;
|
|
5073
|
+
rateMax?: number | null | undefined;
|
|
2533
5074
|
}, {
|
|
2534
5075
|
rate: number;
|
|
2535
5076
|
receivedRate: number;
|
|
2536
5077
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
2537
|
-
rateMax?: number | undefined;
|
|
5078
|
+
rateMax?: number | null | undefined;
|
|
2538
5079
|
}>>;
|
|
2539
|
-
tradeId: z.ZodOptional<z.ZodString
|
|
5080
|
+
tradeId: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
|
2540
5081
|
currentCollaboration: z.ZodOptional<z.ZodObject<{
|
|
2541
5082
|
id: z.ZodString;
|
|
2542
5083
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2546,13 +5087,13 @@ export declare const jobsContractRouter: {
|
|
|
2546
5087
|
}>>;
|
|
2547
5088
|
jobQualifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2548
5089
|
qualificationId: z.ZodString;
|
|
2549
|
-
qualificationTypeId: z.ZodOptional<z.ZodString
|
|
5090
|
+
qualificationTypeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2550
5091
|
}, "strip", z.ZodTypeAny, {
|
|
2551
5092
|
qualificationId: string;
|
|
2552
|
-
qualificationTypeId?: string | undefined;
|
|
5093
|
+
qualificationTypeId?: string | null | undefined;
|
|
2553
5094
|
}, {
|
|
2554
5095
|
qualificationId: string;
|
|
2555
|
-
qualificationTypeId?: string | undefined;
|
|
5096
|
+
qualificationTypeId?: string | null | undefined;
|
|
2556
5097
|
}>, "many">>;
|
|
2557
5098
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
2558
5099
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2561,19 +5102,19 @@ export declare const jobsContractRouter: {
|
|
|
2561
5102
|
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
2562
5103
|
workHours?: number | undefined;
|
|
2563
5104
|
pay?: {
|
|
5105
|
+
rateUnit: "DAILY" | "HOURLY";
|
|
2564
5106
|
rate: number;
|
|
2565
5107
|
receivedRate: number;
|
|
2566
|
-
|
|
2567
|
-
rateMax?: number | undefined;
|
|
5108
|
+
rateMax?: number | null | undefined;
|
|
2568
5109
|
} | undefined;
|
|
2569
5110
|
location?: {
|
|
2570
|
-
address?: string | undefined;
|
|
2571
|
-
postcode?: string | undefined;
|
|
5111
|
+
address?: string | null | undefined;
|
|
5112
|
+
postcode?: string | null | undefined;
|
|
2572
5113
|
} | undefined;
|
|
2573
5114
|
tradeId?: string | undefined;
|
|
2574
5115
|
jobQualifications?: {
|
|
2575
5116
|
qualificationId: string;
|
|
2576
|
-
qualificationTypeId?: string | undefined;
|
|
5117
|
+
qualificationTypeId?: string | null | undefined;
|
|
2577
5118
|
}[] | undefined;
|
|
2578
5119
|
currentCollaboration?: {
|
|
2579
5120
|
id: string;
|
|
@@ -2587,16 +5128,16 @@ export declare const jobsContractRouter: {
|
|
|
2587
5128
|
rate: number;
|
|
2588
5129
|
receivedRate: number;
|
|
2589
5130
|
rateUnit?: "DAILY" | "HOURLY" | undefined;
|
|
2590
|
-
rateMax?: number | undefined;
|
|
5131
|
+
rateMax?: number | null | undefined;
|
|
2591
5132
|
} | undefined;
|
|
2592
5133
|
location?: {
|
|
2593
|
-
address?: string | undefined;
|
|
2594
|
-
postcode?: string | undefined;
|
|
5134
|
+
address?: string | null | undefined;
|
|
5135
|
+
postcode?: string | null | undefined;
|
|
2595
5136
|
} | undefined;
|
|
2596
5137
|
tradeId?: string | undefined;
|
|
2597
5138
|
jobQualifications?: {
|
|
2598
5139
|
qualificationId: string;
|
|
2599
|
-
qualificationTypeId?: string | undefined;
|
|
5140
|
+
qualificationTypeId?: string | null | undefined;
|
|
2600
5141
|
}[] | undefined;
|
|
2601
5142
|
currentCollaboration?: {
|
|
2602
5143
|
id: string;
|
|
@@ -2751,7 +5292,7 @@ export declare const jobsContractRouter: {
|
|
|
2751
5292
|
postTown?: string | null | undefined;
|
|
2752
5293
|
areaCovered?: string | null | undefined;
|
|
2753
5294
|
}>>>;
|
|
2754
|
-
tradeId: z.ZodString
|
|
5295
|
+
tradeId: z.ZodPipeline<z.ZodString, z.ZodString>;
|
|
2755
5296
|
jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2756
5297
|
id: z.ZodString;
|
|
2757
5298
|
qualificationId: z.ZodString;
|
|
@@ -2767,27 +5308,95 @@ export declare const jobsContractRouter: {
|
|
|
2767
5308
|
}>, "many">>>;
|
|
2768
5309
|
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2769
5310
|
id: z.ZodString;
|
|
2770
|
-
company: z.ZodOptional<z.ZodObject<{
|
|
5311
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2771
5312
|
id: z.ZodString;
|
|
2772
5313
|
name: z.ZodString;
|
|
5314
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5315
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2773
5316
|
}, "strip", z.ZodTypeAny, {
|
|
5317
|
+
createdAt: string;
|
|
5318
|
+
updatedAt: string;
|
|
2774
5319
|
id: string;
|
|
2775
5320
|
name: string;
|
|
2776
5321
|
}, {
|
|
5322
|
+
createdAt: string | Date;
|
|
5323
|
+
updatedAt: string | Date;
|
|
2777
5324
|
id: string;
|
|
2778
5325
|
name: string;
|
|
2779
|
-
}
|
|
2780
|
-
client: z.ZodOptional<z.ZodObject<{
|
|
5326
|
+
}>>>;
|
|
5327
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2781
5328
|
id: z.ZodString;
|
|
2782
5329
|
name: z.ZodString;
|
|
5330
|
+
crn: z.ZodString;
|
|
5331
|
+
govLink: z.ZodString;
|
|
5332
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
5333
|
+
director: z.ZodString;
|
|
5334
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5335
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5336
|
+
id: z.ZodString;
|
|
5337
|
+
firstName: z.ZodString;
|
|
5338
|
+
lastName: z.ZodString;
|
|
5339
|
+
email: z.ZodString;
|
|
5340
|
+
}, "strip", z.ZodTypeAny, {
|
|
5341
|
+
id: string;
|
|
5342
|
+
firstName: string;
|
|
5343
|
+
lastName: string;
|
|
5344
|
+
email: string;
|
|
5345
|
+
}, {
|
|
5346
|
+
id: string;
|
|
5347
|
+
firstName: string;
|
|
5348
|
+
lastName: string;
|
|
5349
|
+
email: string;
|
|
5350
|
+
}>>>;
|
|
5351
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5352
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5353
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5354
|
+
agentId: z.ZodString;
|
|
5355
|
+
}, "strip", z.ZodTypeAny, {
|
|
5356
|
+
agentId: string;
|
|
5357
|
+
}, {
|
|
5358
|
+
agentId: string;
|
|
5359
|
+
}>>>;
|
|
2783
5360
|
}, "strip", z.ZodTypeAny, {
|
|
5361
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5362
|
+
createdAt: string;
|
|
5363
|
+
updatedAt: string;
|
|
2784
5364
|
id: string;
|
|
2785
5365
|
name: string;
|
|
5366
|
+
crn: string;
|
|
5367
|
+
govLink: string;
|
|
5368
|
+
director: string;
|
|
5369
|
+
blacklistReason?: string | null | undefined;
|
|
5370
|
+
lastUpdatedBy?: {
|
|
5371
|
+
id: string;
|
|
5372
|
+
firstName: string;
|
|
5373
|
+
lastName: string;
|
|
5374
|
+
email: string;
|
|
5375
|
+
} | null | undefined;
|
|
5376
|
+
agentClientLinks?: {
|
|
5377
|
+
agentId: string;
|
|
5378
|
+
} | null | undefined;
|
|
2786
5379
|
}, {
|
|
5380
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5381
|
+
createdAt: string | Date;
|
|
5382
|
+
updatedAt: string | Date;
|
|
2787
5383
|
id: string;
|
|
2788
5384
|
name: string;
|
|
2789
|
-
|
|
2790
|
-
|
|
5385
|
+
crn: string;
|
|
5386
|
+
govLink: string;
|
|
5387
|
+
director: string;
|
|
5388
|
+
blacklistReason?: string | null | undefined;
|
|
5389
|
+
lastUpdatedBy?: {
|
|
5390
|
+
id: string;
|
|
5391
|
+
firstName: string;
|
|
5392
|
+
lastName: string;
|
|
5393
|
+
email: string;
|
|
5394
|
+
} | null | undefined;
|
|
5395
|
+
agentClientLinks?: {
|
|
5396
|
+
agentId: string;
|
|
5397
|
+
} | null | undefined;
|
|
5398
|
+
}>>>;
|
|
5399
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2791
5400
|
id: z.ZodString;
|
|
2792
5401
|
firstName: z.ZodString;
|
|
2793
5402
|
lastName: z.ZodString;
|
|
@@ -2802,63 +5411,352 @@ export declare const jobsContractRouter: {
|
|
|
2802
5411
|
firstName: string;
|
|
2803
5412
|
lastName: string;
|
|
2804
5413
|
email: string;
|
|
2805
|
-
}
|
|
5414
|
+
}>>>;
|
|
2806
5415
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
2807
5416
|
userId: z.ZodString;
|
|
2808
5417
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2809
5418
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5419
|
+
} & {
|
|
2810
5420
|
newCollaboration: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2811
5421
|
id: z.ZodString;
|
|
5422
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5423
|
+
id: z.ZodString;
|
|
5424
|
+
name: z.ZodString;
|
|
5425
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5426
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5427
|
+
}, "strip", z.ZodTypeAny, {
|
|
5428
|
+
createdAt: string;
|
|
5429
|
+
updatedAt: string;
|
|
5430
|
+
id: string;
|
|
5431
|
+
name: string;
|
|
5432
|
+
}, {
|
|
5433
|
+
createdAt: string | Date;
|
|
5434
|
+
updatedAt: string | Date;
|
|
5435
|
+
id: string;
|
|
5436
|
+
name: string;
|
|
5437
|
+
}>>>;
|
|
5438
|
+
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5439
|
+
id: z.ZodString;
|
|
5440
|
+
name: z.ZodString;
|
|
5441
|
+
crn: z.ZodString;
|
|
5442
|
+
govLink: z.ZodString;
|
|
5443
|
+
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
5444
|
+
director: z.ZodString;
|
|
5445
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5446
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5447
|
+
id: z.ZodString;
|
|
5448
|
+
firstName: z.ZodString;
|
|
5449
|
+
lastName: z.ZodString;
|
|
5450
|
+
email: z.ZodString;
|
|
5451
|
+
}, "strip", z.ZodTypeAny, {
|
|
5452
|
+
id: string;
|
|
5453
|
+
firstName: string;
|
|
5454
|
+
lastName: string;
|
|
5455
|
+
email: string;
|
|
5456
|
+
}, {
|
|
5457
|
+
id: string;
|
|
5458
|
+
firstName: string;
|
|
5459
|
+
lastName: string;
|
|
5460
|
+
email: string;
|
|
5461
|
+
}>>>;
|
|
5462
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5463
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5464
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5465
|
+
agentId: z.ZodString;
|
|
5466
|
+
}, "strip", z.ZodTypeAny, {
|
|
5467
|
+
agentId: string;
|
|
5468
|
+
}, {
|
|
5469
|
+
agentId: string;
|
|
5470
|
+
}>>>;
|
|
5471
|
+
}, "strip", z.ZodTypeAny, {
|
|
5472
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5473
|
+
createdAt: string;
|
|
5474
|
+
updatedAt: string;
|
|
5475
|
+
id: string;
|
|
5476
|
+
name: string;
|
|
5477
|
+
crn: string;
|
|
5478
|
+
govLink: string;
|
|
5479
|
+
director: string;
|
|
5480
|
+
blacklistReason?: string | null | undefined;
|
|
5481
|
+
lastUpdatedBy?: {
|
|
5482
|
+
id: string;
|
|
5483
|
+
firstName: string;
|
|
5484
|
+
lastName: string;
|
|
5485
|
+
email: string;
|
|
5486
|
+
} | null | undefined;
|
|
5487
|
+
agentClientLinks?: {
|
|
5488
|
+
agentId: string;
|
|
5489
|
+
} | null | undefined;
|
|
5490
|
+
}, {
|
|
5491
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5492
|
+
createdAt: string | Date;
|
|
5493
|
+
updatedAt: string | Date;
|
|
5494
|
+
id: string;
|
|
5495
|
+
name: string;
|
|
5496
|
+
crn: string;
|
|
5497
|
+
govLink: string;
|
|
5498
|
+
director: string;
|
|
5499
|
+
blacklistReason?: string | null | undefined;
|
|
5500
|
+
lastUpdatedBy?: {
|
|
5501
|
+
id: string;
|
|
5502
|
+
firstName: string;
|
|
5503
|
+
lastName: string;
|
|
5504
|
+
email: string;
|
|
5505
|
+
} | null | undefined;
|
|
5506
|
+
agentClientLinks?: {
|
|
5507
|
+
agentId: string;
|
|
5508
|
+
} | null | undefined;
|
|
5509
|
+
}>>>;
|
|
5510
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5511
|
+
id: z.ZodString;
|
|
5512
|
+
firstName: z.ZodString;
|
|
5513
|
+
lastName: z.ZodString;
|
|
5514
|
+
email: z.ZodString;
|
|
5515
|
+
}, "strip", z.ZodTypeAny, {
|
|
5516
|
+
id: string;
|
|
5517
|
+
firstName: string;
|
|
5518
|
+
lastName: string;
|
|
5519
|
+
email: string;
|
|
5520
|
+
}, {
|
|
5521
|
+
id: string;
|
|
5522
|
+
firstName: string;
|
|
5523
|
+
lastName: string;
|
|
5524
|
+
email: string;
|
|
5525
|
+
}>>>;
|
|
5526
|
+
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
5527
|
+
userId: z.ZodString;
|
|
5528
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5529
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2812
5530
|
}, "strip", z.ZodTypeAny, {
|
|
5531
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5532
|
+
createdAt: string;
|
|
5533
|
+
updatedAt: string;
|
|
2813
5534
|
id: string;
|
|
5535
|
+
userId: string;
|
|
5536
|
+
company?: {
|
|
5537
|
+
createdAt: string;
|
|
5538
|
+
updatedAt: string;
|
|
5539
|
+
id: string;
|
|
5540
|
+
name: string;
|
|
5541
|
+
} | null | undefined;
|
|
5542
|
+
client?: {
|
|
5543
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5544
|
+
createdAt: string;
|
|
5545
|
+
updatedAt: string;
|
|
5546
|
+
id: string;
|
|
5547
|
+
name: string;
|
|
5548
|
+
crn: string;
|
|
5549
|
+
govLink: string;
|
|
5550
|
+
director: string;
|
|
5551
|
+
blacklistReason?: string | null | undefined;
|
|
5552
|
+
lastUpdatedBy?: {
|
|
5553
|
+
id: string;
|
|
5554
|
+
firstName: string;
|
|
5555
|
+
lastName: string;
|
|
5556
|
+
email: string;
|
|
5557
|
+
} | null | undefined;
|
|
5558
|
+
agentClientLinks?: {
|
|
5559
|
+
agentId: string;
|
|
5560
|
+
} | null | undefined;
|
|
5561
|
+
} | null | undefined;
|
|
5562
|
+
user?: {
|
|
5563
|
+
id: string;
|
|
5564
|
+
firstName: string;
|
|
5565
|
+
lastName: string;
|
|
5566
|
+
email: string;
|
|
5567
|
+
} | null | undefined;
|
|
2814
5568
|
}, {
|
|
5569
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5570
|
+
createdAt: string | Date;
|
|
5571
|
+
updatedAt: string | Date;
|
|
2815
5572
|
id: string;
|
|
5573
|
+
userId: string;
|
|
5574
|
+
company?: {
|
|
5575
|
+
createdAt: string | Date;
|
|
5576
|
+
updatedAt: string | Date;
|
|
5577
|
+
id: string;
|
|
5578
|
+
name: string;
|
|
5579
|
+
} | null | undefined;
|
|
5580
|
+
client?: {
|
|
5581
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5582
|
+
createdAt: string | Date;
|
|
5583
|
+
updatedAt: string | Date;
|
|
5584
|
+
id: string;
|
|
5585
|
+
name: string;
|
|
5586
|
+
crn: string;
|
|
5587
|
+
govLink: string;
|
|
5588
|
+
director: string;
|
|
5589
|
+
blacklistReason?: string | null | undefined;
|
|
5590
|
+
lastUpdatedBy?: {
|
|
5591
|
+
id: string;
|
|
5592
|
+
firstName: string;
|
|
5593
|
+
lastName: string;
|
|
5594
|
+
email: string;
|
|
5595
|
+
} | null | undefined;
|
|
5596
|
+
agentClientLinks?: {
|
|
5597
|
+
agentId: string;
|
|
5598
|
+
} | null | undefined;
|
|
5599
|
+
} | null | undefined;
|
|
5600
|
+
user?: {
|
|
5601
|
+
id: string;
|
|
5602
|
+
firstName: string;
|
|
5603
|
+
lastName: string;
|
|
5604
|
+
email: string;
|
|
5605
|
+
} | null | undefined;
|
|
2816
5606
|
}>>>;
|
|
2817
5607
|
}, "strip", z.ZodTypeAny, {
|
|
2818
|
-
status: "
|
|
5608
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2819
5609
|
createdAt: string;
|
|
2820
5610
|
updatedAt: string;
|
|
2821
5611
|
id: string;
|
|
2822
5612
|
userId: string;
|
|
2823
5613
|
company?: {
|
|
5614
|
+
createdAt: string;
|
|
5615
|
+
updatedAt: string;
|
|
2824
5616
|
id: string;
|
|
2825
5617
|
name: string;
|
|
2826
|
-
} | undefined;
|
|
5618
|
+
} | null | undefined;
|
|
2827
5619
|
client?: {
|
|
5620
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5621
|
+
createdAt: string;
|
|
5622
|
+
updatedAt: string;
|
|
2828
5623
|
id: string;
|
|
2829
5624
|
name: string;
|
|
2830
|
-
|
|
5625
|
+
crn: string;
|
|
5626
|
+
govLink: string;
|
|
5627
|
+
director: string;
|
|
5628
|
+
blacklistReason?: string | null | undefined;
|
|
5629
|
+
lastUpdatedBy?: {
|
|
5630
|
+
id: string;
|
|
5631
|
+
firstName: string;
|
|
5632
|
+
lastName: string;
|
|
5633
|
+
email: string;
|
|
5634
|
+
} | null | undefined;
|
|
5635
|
+
agentClientLinks?: {
|
|
5636
|
+
agentId: string;
|
|
5637
|
+
} | null | undefined;
|
|
5638
|
+
} | null | undefined;
|
|
2831
5639
|
user?: {
|
|
2832
5640
|
id: string;
|
|
2833
5641
|
firstName: string;
|
|
2834
5642
|
lastName: string;
|
|
2835
5643
|
email: string;
|
|
2836
|
-
} | undefined;
|
|
5644
|
+
} | null | undefined;
|
|
2837
5645
|
newCollaboration?: {
|
|
5646
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5647
|
+
createdAt: string;
|
|
5648
|
+
updatedAt: string;
|
|
2838
5649
|
id: string;
|
|
5650
|
+
userId: string;
|
|
5651
|
+
company?: {
|
|
5652
|
+
createdAt: string;
|
|
5653
|
+
updatedAt: string;
|
|
5654
|
+
id: string;
|
|
5655
|
+
name: string;
|
|
5656
|
+
} | null | undefined;
|
|
5657
|
+
client?: {
|
|
5658
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5659
|
+
createdAt: string;
|
|
5660
|
+
updatedAt: string;
|
|
5661
|
+
id: string;
|
|
5662
|
+
name: string;
|
|
5663
|
+
crn: string;
|
|
5664
|
+
govLink: string;
|
|
5665
|
+
director: string;
|
|
5666
|
+
blacklistReason?: string | null | undefined;
|
|
5667
|
+
lastUpdatedBy?: {
|
|
5668
|
+
id: string;
|
|
5669
|
+
firstName: string;
|
|
5670
|
+
lastName: string;
|
|
5671
|
+
email: string;
|
|
5672
|
+
} | null | undefined;
|
|
5673
|
+
agentClientLinks?: {
|
|
5674
|
+
agentId: string;
|
|
5675
|
+
} | null | undefined;
|
|
5676
|
+
} | null | undefined;
|
|
5677
|
+
user?: {
|
|
5678
|
+
id: string;
|
|
5679
|
+
firstName: string;
|
|
5680
|
+
lastName: string;
|
|
5681
|
+
email: string;
|
|
5682
|
+
} | null | undefined;
|
|
2839
5683
|
} | null | undefined;
|
|
2840
5684
|
}, {
|
|
2841
|
-
status: "
|
|
5685
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2842
5686
|
createdAt: string | Date;
|
|
2843
5687
|
updatedAt: string | Date;
|
|
2844
5688
|
id: string;
|
|
2845
5689
|
userId: string;
|
|
2846
5690
|
company?: {
|
|
5691
|
+
createdAt: string | Date;
|
|
5692
|
+
updatedAt: string | Date;
|
|
2847
5693
|
id: string;
|
|
2848
5694
|
name: string;
|
|
2849
|
-
} | undefined;
|
|
5695
|
+
} | null | undefined;
|
|
2850
5696
|
client?: {
|
|
5697
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5698
|
+
createdAt: string | Date;
|
|
5699
|
+
updatedAt: string | Date;
|
|
2851
5700
|
id: string;
|
|
2852
5701
|
name: string;
|
|
2853
|
-
|
|
5702
|
+
crn: string;
|
|
5703
|
+
govLink: string;
|
|
5704
|
+
director: string;
|
|
5705
|
+
blacklistReason?: string | null | undefined;
|
|
5706
|
+
lastUpdatedBy?: {
|
|
5707
|
+
id: string;
|
|
5708
|
+
firstName: string;
|
|
5709
|
+
lastName: string;
|
|
5710
|
+
email: string;
|
|
5711
|
+
} | null | undefined;
|
|
5712
|
+
agentClientLinks?: {
|
|
5713
|
+
agentId: string;
|
|
5714
|
+
} | null | undefined;
|
|
5715
|
+
} | null | undefined;
|
|
2854
5716
|
user?: {
|
|
2855
5717
|
id: string;
|
|
2856
5718
|
firstName: string;
|
|
2857
5719
|
lastName: string;
|
|
2858
5720
|
email: string;
|
|
2859
|
-
} | undefined;
|
|
5721
|
+
} | null | undefined;
|
|
2860
5722
|
newCollaboration?: {
|
|
5723
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5724
|
+
createdAt: string | Date;
|
|
5725
|
+
updatedAt: string | Date;
|
|
2861
5726
|
id: string;
|
|
5727
|
+
userId: string;
|
|
5728
|
+
company?: {
|
|
5729
|
+
createdAt: string | Date;
|
|
5730
|
+
updatedAt: string | Date;
|
|
5731
|
+
id: string;
|
|
5732
|
+
name: string;
|
|
5733
|
+
} | null | undefined;
|
|
5734
|
+
client?: {
|
|
5735
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5736
|
+
createdAt: string | Date;
|
|
5737
|
+
updatedAt: string | Date;
|
|
5738
|
+
id: string;
|
|
5739
|
+
name: string;
|
|
5740
|
+
crn: string;
|
|
5741
|
+
govLink: string;
|
|
5742
|
+
director: string;
|
|
5743
|
+
blacklistReason?: string | null | undefined;
|
|
5744
|
+
lastUpdatedBy?: {
|
|
5745
|
+
id: string;
|
|
5746
|
+
firstName: string;
|
|
5747
|
+
lastName: string;
|
|
5748
|
+
email: string;
|
|
5749
|
+
} | null | undefined;
|
|
5750
|
+
agentClientLinks?: {
|
|
5751
|
+
agentId: string;
|
|
5752
|
+
} | null | undefined;
|
|
5753
|
+
} | null | undefined;
|
|
5754
|
+
user?: {
|
|
5755
|
+
id: string;
|
|
5756
|
+
firstName: string;
|
|
5757
|
+
lastName: string;
|
|
5758
|
+
email: string;
|
|
5759
|
+
} | null | undefined;
|
|
2862
5760
|
} | null | undefined;
|
|
2863
5761
|
}>>>;
|
|
2864
5762
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2893,27 +5791,81 @@ export declare const jobsContractRouter: {
|
|
|
2893
5791
|
areaCovered?: string | null | undefined;
|
|
2894
5792
|
} | null | undefined;
|
|
2895
5793
|
currentCollaboration?: {
|
|
2896
|
-
status: "
|
|
5794
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2897
5795
|
createdAt: string;
|
|
2898
5796
|
updatedAt: string;
|
|
2899
5797
|
id: string;
|
|
2900
5798
|
userId: string;
|
|
2901
5799
|
company?: {
|
|
5800
|
+
createdAt: string;
|
|
5801
|
+
updatedAt: string;
|
|
2902
5802
|
id: string;
|
|
2903
5803
|
name: string;
|
|
2904
|
-
} | undefined;
|
|
5804
|
+
} | null | undefined;
|
|
2905
5805
|
client?: {
|
|
5806
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5807
|
+
createdAt: string;
|
|
5808
|
+
updatedAt: string;
|
|
2906
5809
|
id: string;
|
|
2907
5810
|
name: string;
|
|
2908
|
-
|
|
5811
|
+
crn: string;
|
|
5812
|
+
govLink: string;
|
|
5813
|
+
director: string;
|
|
5814
|
+
blacklistReason?: string | null | undefined;
|
|
5815
|
+
lastUpdatedBy?: {
|
|
5816
|
+
id: string;
|
|
5817
|
+
firstName: string;
|
|
5818
|
+
lastName: string;
|
|
5819
|
+
email: string;
|
|
5820
|
+
} | null | undefined;
|
|
5821
|
+
agentClientLinks?: {
|
|
5822
|
+
agentId: string;
|
|
5823
|
+
} | null | undefined;
|
|
5824
|
+
} | null | undefined;
|
|
2909
5825
|
user?: {
|
|
2910
5826
|
id: string;
|
|
2911
5827
|
firstName: string;
|
|
2912
5828
|
lastName: string;
|
|
2913
5829
|
email: string;
|
|
2914
|
-
} | undefined;
|
|
5830
|
+
} | null | undefined;
|
|
2915
5831
|
newCollaboration?: {
|
|
5832
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5833
|
+
createdAt: string;
|
|
5834
|
+
updatedAt: string;
|
|
2916
5835
|
id: string;
|
|
5836
|
+
userId: string;
|
|
5837
|
+
company?: {
|
|
5838
|
+
createdAt: string;
|
|
5839
|
+
updatedAt: string;
|
|
5840
|
+
id: string;
|
|
5841
|
+
name: string;
|
|
5842
|
+
} | null | undefined;
|
|
5843
|
+
client?: {
|
|
5844
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5845
|
+
createdAt: string;
|
|
5846
|
+
updatedAt: string;
|
|
5847
|
+
id: string;
|
|
5848
|
+
name: string;
|
|
5849
|
+
crn: string;
|
|
5850
|
+
govLink: string;
|
|
5851
|
+
director: string;
|
|
5852
|
+
blacklistReason?: string | null | undefined;
|
|
5853
|
+
lastUpdatedBy?: {
|
|
5854
|
+
id: string;
|
|
5855
|
+
firstName: string;
|
|
5856
|
+
lastName: string;
|
|
5857
|
+
email: string;
|
|
5858
|
+
} | null | undefined;
|
|
5859
|
+
agentClientLinks?: {
|
|
5860
|
+
agentId: string;
|
|
5861
|
+
} | null | undefined;
|
|
5862
|
+
} | null | undefined;
|
|
5863
|
+
user?: {
|
|
5864
|
+
id: string;
|
|
5865
|
+
firstName: string;
|
|
5866
|
+
lastName: string;
|
|
5867
|
+
email: string;
|
|
5868
|
+
} | null | undefined;
|
|
2917
5869
|
} | null | undefined;
|
|
2918
5870
|
} | null | undefined;
|
|
2919
5871
|
}, {
|
|
@@ -2946,27 +5898,81 @@ export declare const jobsContractRouter: {
|
|
|
2946
5898
|
qualificationTypeId?: string | null | undefined;
|
|
2947
5899
|
}[] | undefined;
|
|
2948
5900
|
currentCollaboration?: {
|
|
2949
|
-
status: "
|
|
5901
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2950
5902
|
createdAt: string | Date;
|
|
2951
5903
|
updatedAt: string | Date;
|
|
2952
5904
|
id: string;
|
|
2953
5905
|
userId: string;
|
|
2954
5906
|
company?: {
|
|
5907
|
+
createdAt: string | Date;
|
|
5908
|
+
updatedAt: string | Date;
|
|
2955
5909
|
id: string;
|
|
2956
5910
|
name: string;
|
|
2957
|
-
} | undefined;
|
|
5911
|
+
} | null | undefined;
|
|
2958
5912
|
client?: {
|
|
5913
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5914
|
+
createdAt: string | Date;
|
|
5915
|
+
updatedAt: string | Date;
|
|
2959
5916
|
id: string;
|
|
2960
5917
|
name: string;
|
|
2961
|
-
|
|
5918
|
+
crn: string;
|
|
5919
|
+
govLink: string;
|
|
5920
|
+
director: string;
|
|
5921
|
+
blacklistReason?: string | null | undefined;
|
|
5922
|
+
lastUpdatedBy?: {
|
|
5923
|
+
id: string;
|
|
5924
|
+
firstName: string;
|
|
5925
|
+
lastName: string;
|
|
5926
|
+
email: string;
|
|
5927
|
+
} | null | undefined;
|
|
5928
|
+
agentClientLinks?: {
|
|
5929
|
+
agentId: string;
|
|
5930
|
+
} | null | undefined;
|
|
5931
|
+
} | null | undefined;
|
|
2962
5932
|
user?: {
|
|
2963
5933
|
id: string;
|
|
2964
5934
|
firstName: string;
|
|
2965
5935
|
lastName: string;
|
|
2966
5936
|
email: string;
|
|
2967
|
-
} | undefined;
|
|
5937
|
+
} | null | undefined;
|
|
2968
5938
|
newCollaboration?: {
|
|
5939
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5940
|
+
createdAt: string | Date;
|
|
5941
|
+
updatedAt: string | Date;
|
|
2969
5942
|
id: string;
|
|
5943
|
+
userId: string;
|
|
5944
|
+
company?: {
|
|
5945
|
+
createdAt: string | Date;
|
|
5946
|
+
updatedAt: string | Date;
|
|
5947
|
+
id: string;
|
|
5948
|
+
name: string;
|
|
5949
|
+
} | null | undefined;
|
|
5950
|
+
client?: {
|
|
5951
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5952
|
+
createdAt: string | Date;
|
|
5953
|
+
updatedAt: string | Date;
|
|
5954
|
+
id: string;
|
|
5955
|
+
name: string;
|
|
5956
|
+
crn: string;
|
|
5957
|
+
govLink: string;
|
|
5958
|
+
director: string;
|
|
5959
|
+
blacklistReason?: string | null | undefined;
|
|
5960
|
+
lastUpdatedBy?: {
|
|
5961
|
+
id: string;
|
|
5962
|
+
firstName: string;
|
|
5963
|
+
lastName: string;
|
|
5964
|
+
email: string;
|
|
5965
|
+
} | null | undefined;
|
|
5966
|
+
agentClientLinks?: {
|
|
5967
|
+
agentId: string;
|
|
5968
|
+
} | null | undefined;
|
|
5969
|
+
} | null | undefined;
|
|
5970
|
+
user?: {
|
|
5971
|
+
id: string;
|
|
5972
|
+
firstName: string;
|
|
5973
|
+
lastName: string;
|
|
5974
|
+
email: string;
|
|
5975
|
+
} | null | undefined;
|
|
2970
5976
|
} | null | undefined;
|
|
2971
5977
|
} | null | undefined;
|
|
2972
5978
|
}>;
|