@dakkitor/api-contracts 1.1.42 → 1.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/second-agent.abilities.json +1 -0
- package/dist/actives/actives.contract.d.ts +3661 -3509
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +484 -455
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +3248 -3100
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +316 -277
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.d.ts +148 -120
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +10 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1135 -1031
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +918 -826
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.d.ts +1116 -1012
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/package.json +6 -3
|
@@ -146,21 +146,22 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
146
146
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
147
147
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
id: string;
|
|
150
|
+
name: string;
|
|
149
151
|
createdAt: string;
|
|
150
152
|
updatedAt: string;
|
|
153
|
+
}, {
|
|
151
154
|
id: string;
|
|
152
155
|
name: string;
|
|
153
|
-
}, {
|
|
154
156
|
createdAt: string | Date;
|
|
155
157
|
updatedAt: string | Date;
|
|
156
|
-
id: string;
|
|
157
|
-
name: string;
|
|
158
158
|
}>>>;
|
|
159
159
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
160
160
|
id: z.ZodString;
|
|
161
161
|
name: z.ZodString;
|
|
162
|
-
crn: z.ZodString
|
|
162
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
163
163
|
govLink: z.ZodString;
|
|
164
|
+
soleTrader: z.ZodBoolean;
|
|
164
165
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
165
166
|
director: z.ZodString;
|
|
166
167
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -190,14 +191,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
190
191
|
agentId: string;
|
|
191
192
|
}>>>;
|
|
192
193
|
}, "strip", z.ZodTypeAny, {
|
|
193
|
-
createdAt: string;
|
|
194
|
-
updatedAt: string;
|
|
195
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
196
194
|
id: string;
|
|
195
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
197
196
|
name: string;
|
|
198
|
-
crn: string;
|
|
197
|
+
crn: string | null;
|
|
199
198
|
govLink: string;
|
|
199
|
+
soleTrader: boolean;
|
|
200
200
|
director: string;
|
|
201
|
+
createdAt: string;
|
|
202
|
+
updatedAt: string;
|
|
201
203
|
blacklistReason?: string | null | undefined;
|
|
202
204
|
lastUpdatedBy?: {
|
|
203
205
|
id: string;
|
|
@@ -209,14 +211,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
209
211
|
agentId: string;
|
|
210
212
|
} | null | undefined;
|
|
211
213
|
}, {
|
|
212
|
-
createdAt: string | Date;
|
|
213
|
-
updatedAt: string | Date;
|
|
214
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
215
214
|
id: string;
|
|
215
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
216
216
|
name: string;
|
|
217
|
-
crn: string;
|
|
217
|
+
crn: string | null;
|
|
218
218
|
govLink: string;
|
|
219
|
+
soleTrader: boolean;
|
|
219
220
|
director: string;
|
|
221
|
+
createdAt: string | Date;
|
|
222
|
+
updatedAt: string | Date;
|
|
220
223
|
blacklistReason?: string | null | undefined;
|
|
221
224
|
lastUpdatedBy?: {
|
|
222
225
|
id: string;
|
|
@@ -257,21 +260,22 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
257
260
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
258
261
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
259
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
|
+
id: string;
|
|
264
|
+
name: string;
|
|
260
265
|
createdAt: string;
|
|
261
266
|
updatedAt: string;
|
|
267
|
+
}, {
|
|
262
268
|
id: string;
|
|
263
269
|
name: string;
|
|
264
|
-
}, {
|
|
265
270
|
createdAt: string | Date;
|
|
266
271
|
updatedAt: string | Date;
|
|
267
|
-
id: string;
|
|
268
|
-
name: string;
|
|
269
272
|
}>>>;
|
|
270
273
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
271
274
|
id: z.ZodString;
|
|
272
275
|
name: z.ZodString;
|
|
273
|
-
crn: z.ZodString
|
|
276
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
274
277
|
govLink: z.ZodString;
|
|
278
|
+
soleTrader: z.ZodBoolean;
|
|
275
279
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
276
280
|
director: z.ZodString;
|
|
277
281
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -301,14 +305,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
301
305
|
agentId: string;
|
|
302
306
|
}>>>;
|
|
303
307
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
createdAt: string;
|
|
305
|
-
updatedAt: string;
|
|
306
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
307
308
|
id: string;
|
|
309
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
308
310
|
name: string;
|
|
309
|
-
crn: string;
|
|
311
|
+
crn: string | null;
|
|
310
312
|
govLink: string;
|
|
313
|
+
soleTrader: boolean;
|
|
311
314
|
director: string;
|
|
315
|
+
createdAt: string;
|
|
316
|
+
updatedAt: string;
|
|
312
317
|
blacklistReason?: string | null | undefined;
|
|
313
318
|
lastUpdatedBy?: {
|
|
314
319
|
id: string;
|
|
@@ -320,14 +325,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
320
325
|
agentId: string;
|
|
321
326
|
} | null | undefined;
|
|
322
327
|
}, {
|
|
323
|
-
createdAt: string | Date;
|
|
324
|
-
updatedAt: string | Date;
|
|
325
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
326
328
|
id: string;
|
|
329
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
327
330
|
name: string;
|
|
328
|
-
crn: string;
|
|
331
|
+
crn: string | null;
|
|
329
332
|
govLink: string;
|
|
333
|
+
soleTrader: boolean;
|
|
330
334
|
director: string;
|
|
335
|
+
createdAt: string | Date;
|
|
336
|
+
updatedAt: string | Date;
|
|
331
337
|
blacklistReason?: string | null | undefined;
|
|
332
338
|
lastUpdatedBy?: {
|
|
333
339
|
id: string;
|
|
@@ -360,26 +366,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
360
366
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
361
367
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
362
368
|
}, "strip", z.ZodTypeAny, {
|
|
369
|
+
id: string;
|
|
370
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
363
371
|
createdAt: string;
|
|
364
372
|
updatedAt: string;
|
|
365
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
366
|
-
id: string;
|
|
367
373
|
userId: string;
|
|
368
|
-
company?: {
|
|
369
|
-
createdAt: string;
|
|
370
|
-
updatedAt: string;
|
|
371
|
-
id: string;
|
|
372
|
-
name: string;
|
|
373
|
-
} | null | undefined;
|
|
374
374
|
client?: {
|
|
375
|
-
createdAt: string;
|
|
376
|
-
updatedAt: string;
|
|
377
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
378
375
|
id: string;
|
|
376
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
379
377
|
name: string;
|
|
380
|
-
crn: string;
|
|
378
|
+
crn: string | null;
|
|
381
379
|
govLink: string;
|
|
380
|
+
soleTrader: boolean;
|
|
382
381
|
director: string;
|
|
382
|
+
createdAt: string;
|
|
383
|
+
updatedAt: string;
|
|
383
384
|
blacklistReason?: string | null | undefined;
|
|
384
385
|
lastUpdatedBy?: {
|
|
385
386
|
id: string;
|
|
@@ -391,6 +392,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
391
392
|
agentId: string;
|
|
392
393
|
} | null | undefined;
|
|
393
394
|
} | null | undefined;
|
|
395
|
+
company?: {
|
|
396
|
+
id: string;
|
|
397
|
+
name: string;
|
|
398
|
+
createdAt: string;
|
|
399
|
+
updatedAt: string;
|
|
400
|
+
} | null | undefined;
|
|
394
401
|
user?: {
|
|
395
402
|
id: string;
|
|
396
403
|
firstName: string;
|
|
@@ -398,26 +405,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
398
405
|
email: string;
|
|
399
406
|
} | null | undefined;
|
|
400
407
|
}, {
|
|
408
|
+
id: string;
|
|
409
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
401
410
|
createdAt: string | Date;
|
|
402
411
|
updatedAt: string | Date;
|
|
403
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
404
|
-
id: string;
|
|
405
412
|
userId: string;
|
|
406
|
-
company?: {
|
|
407
|
-
createdAt: string | Date;
|
|
408
|
-
updatedAt: string | Date;
|
|
409
|
-
id: string;
|
|
410
|
-
name: string;
|
|
411
|
-
} | null | undefined;
|
|
412
413
|
client?: {
|
|
413
|
-
createdAt: string | Date;
|
|
414
|
-
updatedAt: string | Date;
|
|
415
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
416
414
|
id: string;
|
|
415
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
417
416
|
name: string;
|
|
418
|
-
crn: string;
|
|
417
|
+
crn: string | null;
|
|
419
418
|
govLink: string;
|
|
419
|
+
soleTrader: boolean;
|
|
420
420
|
director: string;
|
|
421
|
+
createdAt: string | Date;
|
|
422
|
+
updatedAt: string | Date;
|
|
421
423
|
blacklistReason?: string | null | undefined;
|
|
422
424
|
lastUpdatedBy?: {
|
|
423
425
|
id: string;
|
|
@@ -429,6 +431,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
429
431
|
agentId: string;
|
|
430
432
|
} | null | undefined;
|
|
431
433
|
} | null | undefined;
|
|
434
|
+
company?: {
|
|
435
|
+
id: string;
|
|
436
|
+
name: string;
|
|
437
|
+
createdAt: string | Date;
|
|
438
|
+
updatedAt: string | Date;
|
|
439
|
+
} | null | undefined;
|
|
432
440
|
user?: {
|
|
433
441
|
id: string;
|
|
434
442
|
firstName: string;
|
|
@@ -437,26 +445,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
437
445
|
} | null | undefined;
|
|
438
446
|
}>>>;
|
|
439
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
id: string;
|
|
449
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
440
450
|
createdAt: string;
|
|
441
451
|
updatedAt: string;
|
|
442
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
443
|
-
id: string;
|
|
444
452
|
userId: string;
|
|
445
|
-
company?: {
|
|
446
|
-
createdAt: string;
|
|
447
|
-
updatedAt: string;
|
|
448
|
-
id: string;
|
|
449
|
-
name: string;
|
|
450
|
-
} | null | undefined;
|
|
451
453
|
client?: {
|
|
452
|
-
createdAt: string;
|
|
453
|
-
updatedAt: string;
|
|
454
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
455
454
|
id: string;
|
|
455
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
456
456
|
name: string;
|
|
457
|
-
crn: string;
|
|
457
|
+
crn: string | null;
|
|
458
458
|
govLink: string;
|
|
459
|
+
soleTrader: boolean;
|
|
459
460
|
director: string;
|
|
461
|
+
createdAt: string;
|
|
462
|
+
updatedAt: string;
|
|
460
463
|
blacklistReason?: string | null | undefined;
|
|
461
464
|
lastUpdatedBy?: {
|
|
462
465
|
id: string;
|
|
@@ -468,6 +471,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
468
471
|
agentId: string;
|
|
469
472
|
} | null | undefined;
|
|
470
473
|
} | null | undefined;
|
|
474
|
+
company?: {
|
|
475
|
+
id: string;
|
|
476
|
+
name: string;
|
|
477
|
+
createdAt: string;
|
|
478
|
+
updatedAt: string;
|
|
479
|
+
} | null | undefined;
|
|
471
480
|
user?: {
|
|
472
481
|
id: string;
|
|
473
482
|
firstName: string;
|
|
@@ -475,26 +484,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
475
484
|
email: string;
|
|
476
485
|
} | null | undefined;
|
|
477
486
|
newCollaboration?: {
|
|
487
|
+
id: string;
|
|
488
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
478
489
|
createdAt: string;
|
|
479
490
|
updatedAt: string;
|
|
480
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
481
|
-
id: string;
|
|
482
491
|
userId: string;
|
|
483
|
-
company?: {
|
|
484
|
-
createdAt: string;
|
|
485
|
-
updatedAt: string;
|
|
486
|
-
id: string;
|
|
487
|
-
name: string;
|
|
488
|
-
} | null | undefined;
|
|
489
492
|
client?: {
|
|
490
|
-
createdAt: string;
|
|
491
|
-
updatedAt: string;
|
|
492
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
493
493
|
id: string;
|
|
494
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
494
495
|
name: string;
|
|
495
|
-
crn: string;
|
|
496
|
+
crn: string | null;
|
|
496
497
|
govLink: string;
|
|
498
|
+
soleTrader: boolean;
|
|
497
499
|
director: string;
|
|
500
|
+
createdAt: string;
|
|
501
|
+
updatedAt: string;
|
|
498
502
|
blacklistReason?: string | null | undefined;
|
|
499
503
|
lastUpdatedBy?: {
|
|
500
504
|
id: string;
|
|
@@ -506,6 +510,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
506
510
|
agentId: string;
|
|
507
511
|
} | null | undefined;
|
|
508
512
|
} | null | undefined;
|
|
513
|
+
company?: {
|
|
514
|
+
id: string;
|
|
515
|
+
name: string;
|
|
516
|
+
createdAt: string;
|
|
517
|
+
updatedAt: string;
|
|
518
|
+
} | null | undefined;
|
|
509
519
|
user?: {
|
|
510
520
|
id: string;
|
|
511
521
|
firstName: string;
|
|
@@ -514,26 +524,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
514
524
|
} | null | undefined;
|
|
515
525
|
} | null | undefined;
|
|
516
526
|
}, {
|
|
527
|
+
id: string;
|
|
528
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
517
529
|
createdAt: string | Date;
|
|
518
530
|
updatedAt: string | Date;
|
|
519
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
520
|
-
id: string;
|
|
521
531
|
userId: string;
|
|
522
|
-
company?: {
|
|
523
|
-
createdAt: string | Date;
|
|
524
|
-
updatedAt: string | Date;
|
|
525
|
-
id: string;
|
|
526
|
-
name: string;
|
|
527
|
-
} | null | undefined;
|
|
528
532
|
client?: {
|
|
529
|
-
createdAt: string | Date;
|
|
530
|
-
updatedAt: string | Date;
|
|
531
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
532
533
|
id: string;
|
|
534
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
533
535
|
name: string;
|
|
534
|
-
crn: string;
|
|
536
|
+
crn: string | null;
|
|
535
537
|
govLink: string;
|
|
538
|
+
soleTrader: boolean;
|
|
536
539
|
director: string;
|
|
540
|
+
createdAt: string | Date;
|
|
541
|
+
updatedAt: string | Date;
|
|
537
542
|
blacklistReason?: string | null | undefined;
|
|
538
543
|
lastUpdatedBy?: {
|
|
539
544
|
id: string;
|
|
@@ -545,6 +550,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
545
550
|
agentId: string;
|
|
546
551
|
} | null | undefined;
|
|
547
552
|
} | null | undefined;
|
|
553
|
+
company?: {
|
|
554
|
+
id: string;
|
|
555
|
+
name: string;
|
|
556
|
+
createdAt: string | Date;
|
|
557
|
+
updatedAt: string | Date;
|
|
558
|
+
} | null | undefined;
|
|
548
559
|
user?: {
|
|
549
560
|
id: string;
|
|
550
561
|
firstName: string;
|
|
@@ -552,26 +563,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
552
563
|
email: string;
|
|
553
564
|
} | null | undefined;
|
|
554
565
|
newCollaboration?: {
|
|
566
|
+
id: string;
|
|
567
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
555
568
|
createdAt: string | Date;
|
|
556
569
|
updatedAt: string | Date;
|
|
557
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
558
|
-
id: string;
|
|
559
570
|
userId: string;
|
|
560
|
-
company?: {
|
|
561
|
-
createdAt: string | Date;
|
|
562
|
-
updatedAt: string | Date;
|
|
563
|
-
id: string;
|
|
564
|
-
name: string;
|
|
565
|
-
} | null | undefined;
|
|
566
571
|
client?: {
|
|
567
|
-
createdAt: string | Date;
|
|
568
|
-
updatedAt: string | Date;
|
|
569
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
570
572
|
id: string;
|
|
573
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
571
574
|
name: string;
|
|
572
|
-
crn: string;
|
|
575
|
+
crn: string | null;
|
|
573
576
|
govLink: string;
|
|
577
|
+
soleTrader: boolean;
|
|
574
578
|
director: string;
|
|
579
|
+
createdAt: string | Date;
|
|
580
|
+
updatedAt: string | Date;
|
|
575
581
|
blacklistReason?: string | null | undefined;
|
|
576
582
|
lastUpdatedBy?: {
|
|
577
583
|
id: string;
|
|
@@ -583,6 +589,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
583
589
|
agentId: string;
|
|
584
590
|
} | null | undefined;
|
|
585
591
|
} | null | undefined;
|
|
592
|
+
company?: {
|
|
593
|
+
id: string;
|
|
594
|
+
name: string;
|
|
595
|
+
createdAt: string | Date;
|
|
596
|
+
updatedAt: string | Date;
|
|
597
|
+
} | null | undefined;
|
|
586
598
|
user?: {
|
|
587
599
|
id: string;
|
|
588
600
|
firstName: string;
|
|
@@ -594,10 +606,10 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
594
606
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
595
607
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
596
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
|
+
id: string;
|
|
610
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
597
611
|
createdAt: string;
|
|
598
612
|
updatedAt: string;
|
|
599
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
600
|
-
id: string;
|
|
601
613
|
description: string;
|
|
602
614
|
numberOfPositions: number;
|
|
603
615
|
pay: {
|
|
@@ -623,26 +635,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
623
635
|
areaCovered?: string | null | undefined;
|
|
624
636
|
} | null | undefined;
|
|
625
637
|
currentCollaboration?: {
|
|
638
|
+
id: string;
|
|
639
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
626
640
|
createdAt: string;
|
|
627
641
|
updatedAt: string;
|
|
628
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
629
|
-
id: string;
|
|
630
642
|
userId: string;
|
|
631
|
-
company?: {
|
|
632
|
-
createdAt: string;
|
|
633
|
-
updatedAt: string;
|
|
634
|
-
id: string;
|
|
635
|
-
name: string;
|
|
636
|
-
} | null | undefined;
|
|
637
643
|
client?: {
|
|
638
|
-
createdAt: string;
|
|
639
|
-
updatedAt: string;
|
|
640
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
641
644
|
id: string;
|
|
645
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
642
646
|
name: string;
|
|
643
|
-
crn: string;
|
|
647
|
+
crn: string | null;
|
|
644
648
|
govLink: string;
|
|
649
|
+
soleTrader: boolean;
|
|
645
650
|
director: string;
|
|
651
|
+
createdAt: string;
|
|
652
|
+
updatedAt: string;
|
|
646
653
|
blacklistReason?: string | null | undefined;
|
|
647
654
|
lastUpdatedBy?: {
|
|
648
655
|
id: string;
|
|
@@ -654,6 +661,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
654
661
|
agentId: string;
|
|
655
662
|
} | null | undefined;
|
|
656
663
|
} | null | undefined;
|
|
664
|
+
company?: {
|
|
665
|
+
id: string;
|
|
666
|
+
name: string;
|
|
667
|
+
createdAt: string;
|
|
668
|
+
updatedAt: string;
|
|
669
|
+
} | null | undefined;
|
|
657
670
|
user?: {
|
|
658
671
|
id: string;
|
|
659
672
|
firstName: string;
|
|
@@ -661,26 +674,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
661
674
|
email: string;
|
|
662
675
|
} | null | undefined;
|
|
663
676
|
newCollaboration?: {
|
|
677
|
+
id: string;
|
|
678
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
664
679
|
createdAt: string;
|
|
665
680
|
updatedAt: string;
|
|
666
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
667
|
-
id: string;
|
|
668
681
|
userId: string;
|
|
669
|
-
company?: {
|
|
670
|
-
createdAt: string;
|
|
671
|
-
updatedAt: string;
|
|
672
|
-
id: string;
|
|
673
|
-
name: string;
|
|
674
|
-
} | null | undefined;
|
|
675
682
|
client?: {
|
|
676
|
-
createdAt: string;
|
|
677
|
-
updatedAt: string;
|
|
678
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
679
683
|
id: string;
|
|
684
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
680
685
|
name: string;
|
|
681
|
-
crn: string;
|
|
686
|
+
crn: string | null;
|
|
682
687
|
govLink: string;
|
|
688
|
+
soleTrader: boolean;
|
|
683
689
|
director: string;
|
|
690
|
+
createdAt: string;
|
|
691
|
+
updatedAt: string;
|
|
684
692
|
blacklistReason?: string | null | undefined;
|
|
685
693
|
lastUpdatedBy?: {
|
|
686
694
|
id: string;
|
|
@@ -692,6 +700,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
692
700
|
agentId: string;
|
|
693
701
|
} | null | undefined;
|
|
694
702
|
} | null | undefined;
|
|
703
|
+
company?: {
|
|
704
|
+
id: string;
|
|
705
|
+
name: string;
|
|
706
|
+
createdAt: string;
|
|
707
|
+
updatedAt: string;
|
|
708
|
+
} | null | undefined;
|
|
695
709
|
user?: {
|
|
696
710
|
id: string;
|
|
697
711
|
firstName: string;
|
|
@@ -701,10 +715,10 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
701
715
|
} | null | undefined;
|
|
702
716
|
} | null | undefined;
|
|
703
717
|
}, {
|
|
718
|
+
id: string;
|
|
719
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
704
720
|
createdAt: string | Date;
|
|
705
721
|
updatedAt: string | Date;
|
|
706
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
707
|
-
id: string;
|
|
708
722
|
description: string;
|
|
709
723
|
numberOfPositions: number;
|
|
710
724
|
pay: {
|
|
@@ -730,26 +744,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
730
744
|
qualificationTypeId?: string | null | undefined;
|
|
731
745
|
}[] | undefined;
|
|
732
746
|
currentCollaboration?: {
|
|
747
|
+
id: string;
|
|
748
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
733
749
|
createdAt: string | Date;
|
|
734
750
|
updatedAt: string | Date;
|
|
735
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
736
|
-
id: string;
|
|
737
751
|
userId: string;
|
|
738
|
-
company?: {
|
|
739
|
-
createdAt: string | Date;
|
|
740
|
-
updatedAt: string | Date;
|
|
741
|
-
id: string;
|
|
742
|
-
name: string;
|
|
743
|
-
} | null | undefined;
|
|
744
752
|
client?: {
|
|
745
|
-
createdAt: string | Date;
|
|
746
|
-
updatedAt: string | Date;
|
|
747
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
748
753
|
id: string;
|
|
754
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
749
755
|
name: string;
|
|
750
|
-
crn: string;
|
|
756
|
+
crn: string | null;
|
|
751
757
|
govLink: string;
|
|
758
|
+
soleTrader: boolean;
|
|
752
759
|
director: string;
|
|
760
|
+
createdAt: string | Date;
|
|
761
|
+
updatedAt: string | Date;
|
|
753
762
|
blacklistReason?: string | null | undefined;
|
|
754
763
|
lastUpdatedBy?: {
|
|
755
764
|
id: string;
|
|
@@ -761,6 +770,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
761
770
|
agentId: string;
|
|
762
771
|
} | null | undefined;
|
|
763
772
|
} | null | undefined;
|
|
773
|
+
company?: {
|
|
774
|
+
id: string;
|
|
775
|
+
name: string;
|
|
776
|
+
createdAt: string | Date;
|
|
777
|
+
updatedAt: string | Date;
|
|
778
|
+
} | null | undefined;
|
|
764
779
|
user?: {
|
|
765
780
|
id: string;
|
|
766
781
|
firstName: string;
|
|
@@ -768,26 +783,21 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
768
783
|
email: string;
|
|
769
784
|
} | null | undefined;
|
|
770
785
|
newCollaboration?: {
|
|
786
|
+
id: string;
|
|
787
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
771
788
|
createdAt: string | Date;
|
|
772
789
|
updatedAt: string | Date;
|
|
773
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
774
|
-
id: string;
|
|
775
790
|
userId: string;
|
|
776
|
-
company?: {
|
|
777
|
-
createdAt: string | Date;
|
|
778
|
-
updatedAt: string | Date;
|
|
779
|
-
id: string;
|
|
780
|
-
name: string;
|
|
781
|
-
} | null | undefined;
|
|
782
791
|
client?: {
|
|
783
|
-
createdAt: string | Date;
|
|
784
|
-
updatedAt: string | Date;
|
|
785
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
786
792
|
id: string;
|
|
793
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
787
794
|
name: string;
|
|
788
|
-
crn: string;
|
|
795
|
+
crn: string | null;
|
|
789
796
|
govLink: string;
|
|
797
|
+
soleTrader: boolean;
|
|
790
798
|
director: string;
|
|
799
|
+
createdAt: string | Date;
|
|
800
|
+
updatedAt: string | Date;
|
|
791
801
|
blacklistReason?: string | null | undefined;
|
|
792
802
|
lastUpdatedBy?: {
|
|
793
803
|
id: string;
|
|
@@ -799,6 +809,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
799
809
|
agentId: string;
|
|
800
810
|
} | null | undefined;
|
|
801
811
|
} | null | undefined;
|
|
812
|
+
company?: {
|
|
813
|
+
id: string;
|
|
814
|
+
name: string;
|
|
815
|
+
createdAt: string | Date;
|
|
816
|
+
updatedAt: string | Date;
|
|
817
|
+
} | null | undefined;
|
|
802
818
|
user?: {
|
|
803
819
|
id: string;
|
|
804
820
|
firstName: string;
|
|
@@ -1055,16 +1071,16 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1055
1071
|
}, "strip", z.ZodTypeAny, {
|
|
1056
1072
|
limit: number;
|
|
1057
1073
|
page: number;
|
|
1074
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1058
1075
|
createdAt?: {
|
|
1059
1076
|
from?: string | null | undefined;
|
|
1060
1077
|
to?: string | null | undefined;
|
|
1061
1078
|
} | null | undefined;
|
|
1062
|
-
|
|
1079
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
1080
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1081
|
+
clientId?: string | null | undefined;
|
|
1063
1082
|
userId?: string | null | undefined;
|
|
1064
1083
|
companyId?: string | null | undefined;
|
|
1065
|
-
clientId?: string | null | undefined;
|
|
1066
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
|
|
1067
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1068
1084
|
pay?: {
|
|
1069
1085
|
minRate?: number | null | undefined;
|
|
1070
1086
|
maxRate?: number | null | undefined;
|
|
@@ -1077,19 +1093,19 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1077
1093
|
}[] | undefined;
|
|
1078
1094
|
distance?: number | null | undefined;
|
|
1079
1095
|
}, {
|
|
1096
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1080
1097
|
createdAt?: {
|
|
1081
1098
|
from?: string | null | undefined;
|
|
1082
1099
|
to?: string | null | undefined;
|
|
1083
1100
|
} | null | undefined;
|
|
1084
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1085
|
-
userId?: string | null | undefined;
|
|
1086
1101
|
limit?: number | undefined;
|
|
1087
1102
|
page?: number | undefined;
|
|
1088
|
-
|
|
1089
|
-
clientId?: string | null | undefined;
|
|
1090
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
|
|
1103
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
1091
1104
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1092
|
-
|
|
1105
|
+
clientId?: string | null | undefined;
|
|
1106
|
+
userId?: string | null | undefined;
|
|
1107
|
+
companyId?: string | null | undefined;
|
|
1108
|
+
pay?: {
|
|
1093
1109
|
minRate?: number | null | undefined;
|
|
1094
1110
|
maxRate?: number | null | undefined;
|
|
1095
1111
|
} | null | undefined;
|
|
@@ -1171,21 +1187,22 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1171
1187
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1172
1188
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1173
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
|
+
id: string;
|
|
1191
|
+
name: string;
|
|
1174
1192
|
createdAt: string;
|
|
1175
1193
|
updatedAt: string;
|
|
1194
|
+
}, {
|
|
1176
1195
|
id: string;
|
|
1177
1196
|
name: string;
|
|
1178
|
-
}, {
|
|
1179
1197
|
createdAt: string | Date;
|
|
1180
1198
|
updatedAt: string | Date;
|
|
1181
|
-
id: string;
|
|
1182
|
-
name: string;
|
|
1183
1199
|
}>>>;
|
|
1184
1200
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1185
1201
|
id: z.ZodString;
|
|
1186
1202
|
name: z.ZodString;
|
|
1187
|
-
crn: z.ZodString
|
|
1203
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1188
1204
|
govLink: z.ZodString;
|
|
1205
|
+
soleTrader: z.ZodBoolean;
|
|
1189
1206
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1190
1207
|
director: z.ZodString;
|
|
1191
1208
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1215,14 +1232,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1215
1232
|
agentId: string;
|
|
1216
1233
|
}>>>;
|
|
1217
1234
|
}, "strip", z.ZodTypeAny, {
|
|
1218
|
-
createdAt: string;
|
|
1219
|
-
updatedAt: string;
|
|
1220
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1221
1235
|
id: string;
|
|
1236
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1222
1237
|
name: string;
|
|
1223
|
-
crn: string;
|
|
1238
|
+
crn: string | null;
|
|
1224
1239
|
govLink: string;
|
|
1240
|
+
soleTrader: boolean;
|
|
1225
1241
|
director: string;
|
|
1242
|
+
createdAt: string;
|
|
1243
|
+
updatedAt: string;
|
|
1226
1244
|
blacklistReason?: string | null | undefined;
|
|
1227
1245
|
lastUpdatedBy?: {
|
|
1228
1246
|
id: string;
|
|
@@ -1234,14 +1252,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1234
1252
|
agentId: string;
|
|
1235
1253
|
} | null | undefined;
|
|
1236
1254
|
}, {
|
|
1237
|
-
createdAt: string | Date;
|
|
1238
|
-
updatedAt: string | Date;
|
|
1239
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1240
1255
|
id: string;
|
|
1256
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1241
1257
|
name: string;
|
|
1242
|
-
crn: string;
|
|
1258
|
+
crn: string | null;
|
|
1243
1259
|
govLink: string;
|
|
1260
|
+
soleTrader: boolean;
|
|
1244
1261
|
director: string;
|
|
1262
|
+
createdAt: string | Date;
|
|
1263
|
+
updatedAt: string | Date;
|
|
1245
1264
|
blacklistReason?: string | null | undefined;
|
|
1246
1265
|
lastUpdatedBy?: {
|
|
1247
1266
|
id: string;
|
|
@@ -1282,21 +1301,22 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1282
1301
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1283
1302
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1284
1303
|
}, "strip", z.ZodTypeAny, {
|
|
1304
|
+
id: string;
|
|
1305
|
+
name: string;
|
|
1285
1306
|
createdAt: string;
|
|
1286
1307
|
updatedAt: string;
|
|
1308
|
+
}, {
|
|
1287
1309
|
id: string;
|
|
1288
1310
|
name: string;
|
|
1289
|
-
}, {
|
|
1290
1311
|
createdAt: string | Date;
|
|
1291
1312
|
updatedAt: string | Date;
|
|
1292
|
-
id: string;
|
|
1293
|
-
name: string;
|
|
1294
1313
|
}>>>;
|
|
1295
1314
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1296
1315
|
id: z.ZodString;
|
|
1297
1316
|
name: z.ZodString;
|
|
1298
|
-
crn: z.ZodString
|
|
1317
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1299
1318
|
govLink: z.ZodString;
|
|
1319
|
+
soleTrader: z.ZodBoolean;
|
|
1300
1320
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1301
1321
|
director: z.ZodString;
|
|
1302
1322
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1326,14 +1346,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1326
1346
|
agentId: string;
|
|
1327
1347
|
}>>>;
|
|
1328
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1329
|
-
createdAt: string;
|
|
1330
|
-
updatedAt: string;
|
|
1331
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1332
1349
|
id: string;
|
|
1350
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1333
1351
|
name: string;
|
|
1334
|
-
crn: string;
|
|
1352
|
+
crn: string | null;
|
|
1335
1353
|
govLink: string;
|
|
1354
|
+
soleTrader: boolean;
|
|
1336
1355
|
director: string;
|
|
1356
|
+
createdAt: string;
|
|
1357
|
+
updatedAt: string;
|
|
1337
1358
|
blacklistReason?: string | null | undefined;
|
|
1338
1359
|
lastUpdatedBy?: {
|
|
1339
1360
|
id: string;
|
|
@@ -1345,14 +1366,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1345
1366
|
agentId: string;
|
|
1346
1367
|
} | null | undefined;
|
|
1347
1368
|
}, {
|
|
1348
|
-
createdAt: string | Date;
|
|
1349
|
-
updatedAt: string | Date;
|
|
1350
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1351
1369
|
id: string;
|
|
1370
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1352
1371
|
name: string;
|
|
1353
|
-
crn: string;
|
|
1372
|
+
crn: string | null;
|
|
1354
1373
|
govLink: string;
|
|
1374
|
+
soleTrader: boolean;
|
|
1355
1375
|
director: string;
|
|
1376
|
+
createdAt: string | Date;
|
|
1377
|
+
updatedAt: string | Date;
|
|
1356
1378
|
blacklistReason?: string | null | undefined;
|
|
1357
1379
|
lastUpdatedBy?: {
|
|
1358
1380
|
id: string;
|
|
@@ -1385,26 +1407,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1385
1407
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1386
1408
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1387
1409
|
}, "strip", z.ZodTypeAny, {
|
|
1410
|
+
id: string;
|
|
1411
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1388
1412
|
createdAt: string;
|
|
1389
1413
|
updatedAt: string;
|
|
1390
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1391
|
-
id: string;
|
|
1392
1414
|
userId: string;
|
|
1393
|
-
company?: {
|
|
1394
|
-
createdAt: string;
|
|
1395
|
-
updatedAt: string;
|
|
1396
|
-
id: string;
|
|
1397
|
-
name: string;
|
|
1398
|
-
} | null | undefined;
|
|
1399
1415
|
client?: {
|
|
1400
|
-
createdAt: string;
|
|
1401
|
-
updatedAt: string;
|
|
1402
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1403
1416
|
id: string;
|
|
1417
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1404
1418
|
name: string;
|
|
1405
|
-
crn: string;
|
|
1419
|
+
crn: string | null;
|
|
1406
1420
|
govLink: string;
|
|
1421
|
+
soleTrader: boolean;
|
|
1407
1422
|
director: string;
|
|
1423
|
+
createdAt: string;
|
|
1424
|
+
updatedAt: string;
|
|
1408
1425
|
blacklistReason?: string | null | undefined;
|
|
1409
1426
|
lastUpdatedBy?: {
|
|
1410
1427
|
id: string;
|
|
@@ -1416,6 +1433,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1416
1433
|
agentId: string;
|
|
1417
1434
|
} | null | undefined;
|
|
1418
1435
|
} | null | undefined;
|
|
1436
|
+
company?: {
|
|
1437
|
+
id: string;
|
|
1438
|
+
name: string;
|
|
1439
|
+
createdAt: string;
|
|
1440
|
+
updatedAt: string;
|
|
1441
|
+
} | null | undefined;
|
|
1419
1442
|
user?: {
|
|
1420
1443
|
id: string;
|
|
1421
1444
|
firstName: string;
|
|
@@ -1423,26 +1446,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1423
1446
|
email: string;
|
|
1424
1447
|
} | null | undefined;
|
|
1425
1448
|
}, {
|
|
1449
|
+
id: string;
|
|
1450
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1426
1451
|
createdAt: string | Date;
|
|
1427
1452
|
updatedAt: string | Date;
|
|
1428
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1429
|
-
id: string;
|
|
1430
1453
|
userId: string;
|
|
1431
|
-
company?: {
|
|
1432
|
-
createdAt: string | Date;
|
|
1433
|
-
updatedAt: string | Date;
|
|
1434
|
-
id: string;
|
|
1435
|
-
name: string;
|
|
1436
|
-
} | null | undefined;
|
|
1437
1454
|
client?: {
|
|
1438
|
-
createdAt: string | Date;
|
|
1439
|
-
updatedAt: string | Date;
|
|
1440
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1441
1455
|
id: string;
|
|
1456
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1442
1457
|
name: string;
|
|
1443
|
-
crn: string;
|
|
1458
|
+
crn: string | null;
|
|
1444
1459
|
govLink: string;
|
|
1460
|
+
soleTrader: boolean;
|
|
1445
1461
|
director: string;
|
|
1462
|
+
createdAt: string | Date;
|
|
1463
|
+
updatedAt: string | Date;
|
|
1446
1464
|
blacklistReason?: string | null | undefined;
|
|
1447
1465
|
lastUpdatedBy?: {
|
|
1448
1466
|
id: string;
|
|
@@ -1454,6 +1472,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1454
1472
|
agentId: string;
|
|
1455
1473
|
} | null | undefined;
|
|
1456
1474
|
} | null | undefined;
|
|
1475
|
+
company?: {
|
|
1476
|
+
id: string;
|
|
1477
|
+
name: string;
|
|
1478
|
+
createdAt: string | Date;
|
|
1479
|
+
updatedAt: string | Date;
|
|
1480
|
+
} | null | undefined;
|
|
1457
1481
|
user?: {
|
|
1458
1482
|
id: string;
|
|
1459
1483
|
firstName: string;
|
|
@@ -1462,26 +1486,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1462
1486
|
} | null | undefined;
|
|
1463
1487
|
}>>>;
|
|
1464
1488
|
}, "strip", z.ZodTypeAny, {
|
|
1489
|
+
id: string;
|
|
1490
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1465
1491
|
createdAt: string;
|
|
1466
1492
|
updatedAt: string;
|
|
1467
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1468
|
-
id: string;
|
|
1469
1493
|
userId: string;
|
|
1470
|
-
company?: {
|
|
1471
|
-
createdAt: string;
|
|
1472
|
-
updatedAt: string;
|
|
1473
|
-
id: string;
|
|
1474
|
-
name: string;
|
|
1475
|
-
} | null | undefined;
|
|
1476
1494
|
client?: {
|
|
1477
|
-
createdAt: string;
|
|
1478
|
-
updatedAt: string;
|
|
1479
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1480
1495
|
id: string;
|
|
1496
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1481
1497
|
name: string;
|
|
1482
|
-
crn: string;
|
|
1498
|
+
crn: string | null;
|
|
1483
1499
|
govLink: string;
|
|
1500
|
+
soleTrader: boolean;
|
|
1484
1501
|
director: string;
|
|
1502
|
+
createdAt: string;
|
|
1503
|
+
updatedAt: string;
|
|
1485
1504
|
blacklistReason?: string | null | undefined;
|
|
1486
1505
|
lastUpdatedBy?: {
|
|
1487
1506
|
id: string;
|
|
@@ -1493,6 +1512,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1493
1512
|
agentId: string;
|
|
1494
1513
|
} | null | undefined;
|
|
1495
1514
|
} | null | undefined;
|
|
1515
|
+
company?: {
|
|
1516
|
+
id: string;
|
|
1517
|
+
name: string;
|
|
1518
|
+
createdAt: string;
|
|
1519
|
+
updatedAt: string;
|
|
1520
|
+
} | null | undefined;
|
|
1496
1521
|
user?: {
|
|
1497
1522
|
id: string;
|
|
1498
1523
|
firstName: string;
|
|
@@ -1500,26 +1525,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1500
1525
|
email: string;
|
|
1501
1526
|
} | null | undefined;
|
|
1502
1527
|
newCollaboration?: {
|
|
1528
|
+
id: string;
|
|
1529
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1503
1530
|
createdAt: string;
|
|
1504
1531
|
updatedAt: string;
|
|
1505
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1506
|
-
id: string;
|
|
1507
1532
|
userId: string;
|
|
1508
|
-
company?: {
|
|
1509
|
-
createdAt: string;
|
|
1510
|
-
updatedAt: string;
|
|
1511
|
-
id: string;
|
|
1512
|
-
name: string;
|
|
1513
|
-
} | null | undefined;
|
|
1514
1533
|
client?: {
|
|
1515
|
-
createdAt: string;
|
|
1516
|
-
updatedAt: string;
|
|
1517
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1518
1534
|
id: string;
|
|
1535
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1519
1536
|
name: string;
|
|
1520
|
-
crn: string;
|
|
1537
|
+
crn: string | null;
|
|
1521
1538
|
govLink: string;
|
|
1539
|
+
soleTrader: boolean;
|
|
1522
1540
|
director: string;
|
|
1541
|
+
createdAt: string;
|
|
1542
|
+
updatedAt: string;
|
|
1523
1543
|
blacklistReason?: string | null | undefined;
|
|
1524
1544
|
lastUpdatedBy?: {
|
|
1525
1545
|
id: string;
|
|
@@ -1531,6 +1551,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1531
1551
|
agentId: string;
|
|
1532
1552
|
} | null | undefined;
|
|
1533
1553
|
} | null | undefined;
|
|
1554
|
+
company?: {
|
|
1555
|
+
id: string;
|
|
1556
|
+
name: string;
|
|
1557
|
+
createdAt: string;
|
|
1558
|
+
updatedAt: string;
|
|
1559
|
+
} | null | undefined;
|
|
1534
1560
|
user?: {
|
|
1535
1561
|
id: string;
|
|
1536
1562
|
firstName: string;
|
|
@@ -1539,26 +1565,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1539
1565
|
} | null | undefined;
|
|
1540
1566
|
} | null | undefined;
|
|
1541
1567
|
}, {
|
|
1568
|
+
id: string;
|
|
1569
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1542
1570
|
createdAt: string | Date;
|
|
1543
1571
|
updatedAt: string | Date;
|
|
1544
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1545
|
-
id: string;
|
|
1546
1572
|
userId: string;
|
|
1547
|
-
company?: {
|
|
1548
|
-
createdAt: string | Date;
|
|
1549
|
-
updatedAt: string | Date;
|
|
1550
|
-
id: string;
|
|
1551
|
-
name: string;
|
|
1552
|
-
} | null | undefined;
|
|
1553
1573
|
client?: {
|
|
1554
|
-
createdAt: string | Date;
|
|
1555
|
-
updatedAt: string | Date;
|
|
1556
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1557
1574
|
id: string;
|
|
1575
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1558
1576
|
name: string;
|
|
1559
|
-
crn: string;
|
|
1577
|
+
crn: string | null;
|
|
1560
1578
|
govLink: string;
|
|
1579
|
+
soleTrader: boolean;
|
|
1561
1580
|
director: string;
|
|
1581
|
+
createdAt: string | Date;
|
|
1582
|
+
updatedAt: string | Date;
|
|
1562
1583
|
blacklistReason?: string | null | undefined;
|
|
1563
1584
|
lastUpdatedBy?: {
|
|
1564
1585
|
id: string;
|
|
@@ -1570,6 +1591,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1570
1591
|
agentId: string;
|
|
1571
1592
|
} | null | undefined;
|
|
1572
1593
|
} | null | undefined;
|
|
1594
|
+
company?: {
|
|
1595
|
+
id: string;
|
|
1596
|
+
name: string;
|
|
1597
|
+
createdAt: string | Date;
|
|
1598
|
+
updatedAt: string | Date;
|
|
1599
|
+
} | null | undefined;
|
|
1573
1600
|
user?: {
|
|
1574
1601
|
id: string;
|
|
1575
1602
|
firstName: string;
|
|
@@ -1577,26 +1604,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1577
1604
|
email: string;
|
|
1578
1605
|
} | null | undefined;
|
|
1579
1606
|
newCollaboration?: {
|
|
1607
|
+
id: string;
|
|
1608
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1580
1609
|
createdAt: string | Date;
|
|
1581
1610
|
updatedAt: string | Date;
|
|
1582
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1583
|
-
id: string;
|
|
1584
1611
|
userId: string;
|
|
1585
|
-
company?: {
|
|
1586
|
-
createdAt: string | Date;
|
|
1587
|
-
updatedAt: string | Date;
|
|
1588
|
-
id: string;
|
|
1589
|
-
name: string;
|
|
1590
|
-
} | null | undefined;
|
|
1591
1612
|
client?: {
|
|
1592
|
-
createdAt: string | Date;
|
|
1593
|
-
updatedAt: string | Date;
|
|
1594
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1595
1613
|
id: string;
|
|
1614
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1596
1615
|
name: string;
|
|
1597
|
-
crn: string;
|
|
1616
|
+
crn: string | null;
|
|
1598
1617
|
govLink: string;
|
|
1618
|
+
soleTrader: boolean;
|
|
1599
1619
|
director: string;
|
|
1620
|
+
createdAt: string | Date;
|
|
1621
|
+
updatedAt: string | Date;
|
|
1600
1622
|
blacklistReason?: string | null | undefined;
|
|
1601
1623
|
lastUpdatedBy?: {
|
|
1602
1624
|
id: string;
|
|
@@ -1608,6 +1630,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1608
1630
|
agentId: string;
|
|
1609
1631
|
} | null | undefined;
|
|
1610
1632
|
} | null | undefined;
|
|
1633
|
+
company?: {
|
|
1634
|
+
id: string;
|
|
1635
|
+
name: string;
|
|
1636
|
+
createdAt: string | Date;
|
|
1637
|
+
updatedAt: string | Date;
|
|
1638
|
+
} | null | undefined;
|
|
1611
1639
|
user?: {
|
|
1612
1640
|
id: string;
|
|
1613
1641
|
firstName: string;
|
|
@@ -1619,10 +1647,10 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1619
1647
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1620
1648
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1621
1649
|
}, "strip", z.ZodTypeAny, {
|
|
1650
|
+
id: string;
|
|
1651
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1622
1652
|
createdAt: string;
|
|
1623
1653
|
updatedAt: string;
|
|
1624
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1625
|
-
id: string;
|
|
1626
1654
|
description: string;
|
|
1627
1655
|
numberOfPositions: number;
|
|
1628
1656
|
pay: {
|
|
@@ -1648,26 +1676,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1648
1676
|
areaCovered?: string | null | undefined;
|
|
1649
1677
|
} | null | undefined;
|
|
1650
1678
|
currentCollaboration?: {
|
|
1679
|
+
id: string;
|
|
1680
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1651
1681
|
createdAt: string;
|
|
1652
1682
|
updatedAt: string;
|
|
1653
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1654
|
-
id: string;
|
|
1655
1683
|
userId: string;
|
|
1656
|
-
company?: {
|
|
1657
|
-
createdAt: string;
|
|
1658
|
-
updatedAt: string;
|
|
1659
|
-
id: string;
|
|
1660
|
-
name: string;
|
|
1661
|
-
} | null | undefined;
|
|
1662
1684
|
client?: {
|
|
1663
|
-
createdAt: string;
|
|
1664
|
-
updatedAt: string;
|
|
1665
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1666
1685
|
id: string;
|
|
1686
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1667
1687
|
name: string;
|
|
1668
|
-
crn: string;
|
|
1688
|
+
crn: string | null;
|
|
1669
1689
|
govLink: string;
|
|
1690
|
+
soleTrader: boolean;
|
|
1670
1691
|
director: string;
|
|
1692
|
+
createdAt: string;
|
|
1693
|
+
updatedAt: string;
|
|
1671
1694
|
blacklistReason?: string | null | undefined;
|
|
1672
1695
|
lastUpdatedBy?: {
|
|
1673
1696
|
id: string;
|
|
@@ -1679,6 +1702,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1679
1702
|
agentId: string;
|
|
1680
1703
|
} | null | undefined;
|
|
1681
1704
|
} | null | undefined;
|
|
1705
|
+
company?: {
|
|
1706
|
+
id: string;
|
|
1707
|
+
name: string;
|
|
1708
|
+
createdAt: string;
|
|
1709
|
+
updatedAt: string;
|
|
1710
|
+
} | null | undefined;
|
|
1682
1711
|
user?: {
|
|
1683
1712
|
id: string;
|
|
1684
1713
|
firstName: string;
|
|
@@ -1686,26 +1715,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1686
1715
|
email: string;
|
|
1687
1716
|
} | null | undefined;
|
|
1688
1717
|
newCollaboration?: {
|
|
1718
|
+
id: string;
|
|
1719
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1689
1720
|
createdAt: string;
|
|
1690
1721
|
updatedAt: string;
|
|
1691
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1692
|
-
id: string;
|
|
1693
1722
|
userId: string;
|
|
1694
|
-
company?: {
|
|
1695
|
-
createdAt: string;
|
|
1696
|
-
updatedAt: string;
|
|
1697
|
-
id: string;
|
|
1698
|
-
name: string;
|
|
1699
|
-
} | null | undefined;
|
|
1700
1723
|
client?: {
|
|
1701
|
-
createdAt: string;
|
|
1702
|
-
updatedAt: string;
|
|
1703
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1704
1724
|
id: string;
|
|
1725
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1705
1726
|
name: string;
|
|
1706
|
-
crn: string;
|
|
1727
|
+
crn: string | null;
|
|
1707
1728
|
govLink: string;
|
|
1729
|
+
soleTrader: boolean;
|
|
1708
1730
|
director: string;
|
|
1731
|
+
createdAt: string;
|
|
1732
|
+
updatedAt: string;
|
|
1709
1733
|
blacklistReason?: string | null | undefined;
|
|
1710
1734
|
lastUpdatedBy?: {
|
|
1711
1735
|
id: string;
|
|
@@ -1717,6 +1741,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1717
1741
|
agentId: string;
|
|
1718
1742
|
} | null | undefined;
|
|
1719
1743
|
} | null | undefined;
|
|
1744
|
+
company?: {
|
|
1745
|
+
id: string;
|
|
1746
|
+
name: string;
|
|
1747
|
+
createdAt: string;
|
|
1748
|
+
updatedAt: string;
|
|
1749
|
+
} | null | undefined;
|
|
1720
1750
|
user?: {
|
|
1721
1751
|
id: string;
|
|
1722
1752
|
firstName: string;
|
|
@@ -1726,10 +1756,10 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1726
1756
|
} | null | undefined;
|
|
1727
1757
|
} | null | undefined;
|
|
1728
1758
|
}, {
|
|
1759
|
+
id: string;
|
|
1760
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1729
1761
|
createdAt: string | Date;
|
|
1730
1762
|
updatedAt: string | Date;
|
|
1731
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1732
|
-
id: string;
|
|
1733
1763
|
description: string;
|
|
1734
1764
|
numberOfPositions: number;
|
|
1735
1765
|
pay: {
|
|
@@ -1755,26 +1785,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1755
1785
|
qualificationTypeId?: string | null | undefined;
|
|
1756
1786
|
}[] | undefined;
|
|
1757
1787
|
currentCollaboration?: {
|
|
1788
|
+
id: string;
|
|
1789
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1758
1790
|
createdAt: string | Date;
|
|
1759
1791
|
updatedAt: string | Date;
|
|
1760
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1761
|
-
id: string;
|
|
1762
1792
|
userId: string;
|
|
1763
|
-
company?: {
|
|
1764
|
-
createdAt: string | Date;
|
|
1765
|
-
updatedAt: string | Date;
|
|
1766
|
-
id: string;
|
|
1767
|
-
name: string;
|
|
1768
|
-
} | null | undefined;
|
|
1769
1793
|
client?: {
|
|
1770
|
-
createdAt: string | Date;
|
|
1771
|
-
updatedAt: string | Date;
|
|
1772
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1773
1794
|
id: string;
|
|
1795
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1774
1796
|
name: string;
|
|
1775
|
-
crn: string;
|
|
1797
|
+
crn: string | null;
|
|
1776
1798
|
govLink: string;
|
|
1799
|
+
soleTrader: boolean;
|
|
1777
1800
|
director: string;
|
|
1801
|
+
createdAt: string | Date;
|
|
1802
|
+
updatedAt: string | Date;
|
|
1778
1803
|
blacklistReason?: string | null | undefined;
|
|
1779
1804
|
lastUpdatedBy?: {
|
|
1780
1805
|
id: string;
|
|
@@ -1786,6 +1811,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1786
1811
|
agentId: string;
|
|
1787
1812
|
} | null | undefined;
|
|
1788
1813
|
} | null | undefined;
|
|
1814
|
+
company?: {
|
|
1815
|
+
id: string;
|
|
1816
|
+
name: string;
|
|
1817
|
+
createdAt: string | Date;
|
|
1818
|
+
updatedAt: string | Date;
|
|
1819
|
+
} | null | undefined;
|
|
1789
1820
|
user?: {
|
|
1790
1821
|
id: string;
|
|
1791
1822
|
firstName: string;
|
|
@@ -1793,26 +1824,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1793
1824
|
email: string;
|
|
1794
1825
|
} | null | undefined;
|
|
1795
1826
|
newCollaboration?: {
|
|
1827
|
+
id: string;
|
|
1828
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1796
1829
|
createdAt: string | Date;
|
|
1797
1830
|
updatedAt: string | Date;
|
|
1798
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1799
|
-
id: string;
|
|
1800
1831
|
userId: string;
|
|
1801
|
-
company?: {
|
|
1802
|
-
createdAt: string | Date;
|
|
1803
|
-
updatedAt: string | Date;
|
|
1804
|
-
id: string;
|
|
1805
|
-
name: string;
|
|
1806
|
-
} | null | undefined;
|
|
1807
1832
|
client?: {
|
|
1808
|
-
createdAt: string | Date;
|
|
1809
|
-
updatedAt: string | Date;
|
|
1810
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1811
1833
|
id: string;
|
|
1834
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1812
1835
|
name: string;
|
|
1813
|
-
crn: string;
|
|
1836
|
+
crn: string | null;
|
|
1814
1837
|
govLink: string;
|
|
1838
|
+
soleTrader: boolean;
|
|
1815
1839
|
director: string;
|
|
1840
|
+
createdAt: string | Date;
|
|
1841
|
+
updatedAt: string | Date;
|
|
1816
1842
|
blacklistReason?: string | null | undefined;
|
|
1817
1843
|
lastUpdatedBy?: {
|
|
1818
1844
|
id: string;
|
|
@@ -1824,6 +1850,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1824
1850
|
agentId: string;
|
|
1825
1851
|
} | null | undefined;
|
|
1826
1852
|
} | null | undefined;
|
|
1853
|
+
company?: {
|
|
1854
|
+
id: string;
|
|
1855
|
+
name: string;
|
|
1856
|
+
createdAt: string | Date;
|
|
1857
|
+
updatedAt: string | Date;
|
|
1858
|
+
} | null | undefined;
|
|
1827
1859
|
user?: {
|
|
1828
1860
|
id: string;
|
|
1829
1861
|
firstName: string;
|
|
@@ -1841,10 +1873,10 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1841
1873
|
}, "strip", z.ZodTypeAny, {
|
|
1842
1874
|
limit: number;
|
|
1843
1875
|
items: {
|
|
1876
|
+
id: string;
|
|
1877
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1844
1878
|
createdAt: string;
|
|
1845
1879
|
updatedAt: string;
|
|
1846
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1847
|
-
id: string;
|
|
1848
1880
|
description: string;
|
|
1849
1881
|
numberOfPositions: number;
|
|
1850
1882
|
pay: {
|
|
@@ -1870,26 +1902,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1870
1902
|
areaCovered?: string | null | undefined;
|
|
1871
1903
|
} | null | undefined;
|
|
1872
1904
|
currentCollaboration?: {
|
|
1905
|
+
id: string;
|
|
1906
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1873
1907
|
createdAt: string;
|
|
1874
1908
|
updatedAt: string;
|
|
1875
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1876
|
-
id: string;
|
|
1877
1909
|
userId: string;
|
|
1878
|
-
company?: {
|
|
1879
|
-
createdAt: string;
|
|
1880
|
-
updatedAt: string;
|
|
1881
|
-
id: string;
|
|
1882
|
-
name: string;
|
|
1883
|
-
} | null | undefined;
|
|
1884
1910
|
client?: {
|
|
1885
|
-
createdAt: string;
|
|
1886
|
-
updatedAt: string;
|
|
1887
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1888
1911
|
id: string;
|
|
1912
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1889
1913
|
name: string;
|
|
1890
|
-
crn: string;
|
|
1914
|
+
crn: string | null;
|
|
1891
1915
|
govLink: string;
|
|
1916
|
+
soleTrader: boolean;
|
|
1892
1917
|
director: string;
|
|
1918
|
+
createdAt: string;
|
|
1919
|
+
updatedAt: string;
|
|
1893
1920
|
blacklistReason?: string | null | undefined;
|
|
1894
1921
|
lastUpdatedBy?: {
|
|
1895
1922
|
id: string;
|
|
@@ -1901,6 +1928,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1901
1928
|
agentId: string;
|
|
1902
1929
|
} | null | undefined;
|
|
1903
1930
|
} | null | undefined;
|
|
1931
|
+
company?: {
|
|
1932
|
+
id: string;
|
|
1933
|
+
name: string;
|
|
1934
|
+
createdAt: string;
|
|
1935
|
+
updatedAt: string;
|
|
1936
|
+
} | null | undefined;
|
|
1904
1937
|
user?: {
|
|
1905
1938
|
id: string;
|
|
1906
1939
|
firstName: string;
|
|
@@ -1908,26 +1941,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1908
1941
|
email: string;
|
|
1909
1942
|
} | null | undefined;
|
|
1910
1943
|
newCollaboration?: {
|
|
1944
|
+
id: string;
|
|
1945
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1911
1946
|
createdAt: string;
|
|
1912
1947
|
updatedAt: string;
|
|
1913
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1914
|
-
id: string;
|
|
1915
1948
|
userId: string;
|
|
1916
|
-
company?: {
|
|
1917
|
-
createdAt: string;
|
|
1918
|
-
updatedAt: string;
|
|
1919
|
-
id: string;
|
|
1920
|
-
name: string;
|
|
1921
|
-
} | null | undefined;
|
|
1922
1949
|
client?: {
|
|
1923
|
-
createdAt: string;
|
|
1924
|
-
updatedAt: string;
|
|
1925
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1926
1950
|
id: string;
|
|
1951
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1927
1952
|
name: string;
|
|
1928
|
-
crn: string;
|
|
1953
|
+
crn: string | null;
|
|
1929
1954
|
govLink: string;
|
|
1955
|
+
soleTrader: boolean;
|
|
1930
1956
|
director: string;
|
|
1957
|
+
createdAt: string;
|
|
1958
|
+
updatedAt: string;
|
|
1931
1959
|
blacklistReason?: string | null | undefined;
|
|
1932
1960
|
lastUpdatedBy?: {
|
|
1933
1961
|
id: string;
|
|
@@ -1939,6 +1967,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1939
1967
|
agentId: string;
|
|
1940
1968
|
} | null | undefined;
|
|
1941
1969
|
} | null | undefined;
|
|
1970
|
+
company?: {
|
|
1971
|
+
id: string;
|
|
1972
|
+
name: string;
|
|
1973
|
+
createdAt: string;
|
|
1974
|
+
updatedAt: string;
|
|
1975
|
+
} | null | undefined;
|
|
1942
1976
|
user?: {
|
|
1943
1977
|
id: string;
|
|
1944
1978
|
firstName: string;
|
|
@@ -1955,10 +1989,10 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1955
1989
|
}, {
|
|
1956
1990
|
limit: number;
|
|
1957
1991
|
items: {
|
|
1992
|
+
id: string;
|
|
1993
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1958
1994
|
createdAt: string | Date;
|
|
1959
1995
|
updatedAt: string | Date;
|
|
1960
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1961
|
-
id: string;
|
|
1962
1996
|
description: string;
|
|
1963
1997
|
numberOfPositions: number;
|
|
1964
1998
|
pay: {
|
|
@@ -1984,26 +2018,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1984
2018
|
qualificationTypeId?: string | null | undefined;
|
|
1985
2019
|
}[] | undefined;
|
|
1986
2020
|
currentCollaboration?: {
|
|
2021
|
+
id: string;
|
|
2022
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1987
2023
|
createdAt: string | Date;
|
|
1988
2024
|
updatedAt: string | Date;
|
|
1989
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1990
|
-
id: string;
|
|
1991
2025
|
userId: string;
|
|
1992
|
-
company?: {
|
|
1993
|
-
createdAt: string | Date;
|
|
1994
|
-
updatedAt: string | Date;
|
|
1995
|
-
id: string;
|
|
1996
|
-
name: string;
|
|
1997
|
-
} | null | undefined;
|
|
1998
2026
|
client?: {
|
|
1999
|
-
createdAt: string | Date;
|
|
2000
|
-
updatedAt: string | Date;
|
|
2001
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2002
2027
|
id: string;
|
|
2028
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2003
2029
|
name: string;
|
|
2004
|
-
crn: string;
|
|
2030
|
+
crn: string | null;
|
|
2005
2031
|
govLink: string;
|
|
2032
|
+
soleTrader: boolean;
|
|
2006
2033
|
director: string;
|
|
2034
|
+
createdAt: string | Date;
|
|
2035
|
+
updatedAt: string | Date;
|
|
2007
2036
|
blacklistReason?: string | null | undefined;
|
|
2008
2037
|
lastUpdatedBy?: {
|
|
2009
2038
|
id: string;
|
|
@@ -2015,6 +2044,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2015
2044
|
agentId: string;
|
|
2016
2045
|
} | null | undefined;
|
|
2017
2046
|
} | null | undefined;
|
|
2047
|
+
company?: {
|
|
2048
|
+
id: string;
|
|
2049
|
+
name: string;
|
|
2050
|
+
createdAt: string | Date;
|
|
2051
|
+
updatedAt: string | Date;
|
|
2052
|
+
} | null | undefined;
|
|
2018
2053
|
user?: {
|
|
2019
2054
|
id: string;
|
|
2020
2055
|
firstName: string;
|
|
@@ -2022,26 +2057,21 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2022
2057
|
email: string;
|
|
2023
2058
|
} | null | undefined;
|
|
2024
2059
|
newCollaboration?: {
|
|
2060
|
+
id: string;
|
|
2061
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2025
2062
|
createdAt: string | Date;
|
|
2026
2063
|
updatedAt: string | Date;
|
|
2027
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2028
|
-
id: string;
|
|
2029
2064
|
userId: string;
|
|
2030
|
-
company?: {
|
|
2031
|
-
createdAt: string | Date;
|
|
2032
|
-
updatedAt: string | Date;
|
|
2033
|
-
id: string;
|
|
2034
|
-
name: string;
|
|
2035
|
-
} | null | undefined;
|
|
2036
2065
|
client?: {
|
|
2037
|
-
createdAt: string | Date;
|
|
2038
|
-
updatedAt: string | Date;
|
|
2039
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2040
2066
|
id: string;
|
|
2067
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2041
2068
|
name: string;
|
|
2042
|
-
crn: string;
|
|
2069
|
+
crn: string | null;
|
|
2043
2070
|
govLink: string;
|
|
2071
|
+
soleTrader: boolean;
|
|
2044
2072
|
director: string;
|
|
2073
|
+
createdAt: string | Date;
|
|
2074
|
+
updatedAt: string | Date;
|
|
2045
2075
|
blacklistReason?: string | null | undefined;
|
|
2046
2076
|
lastUpdatedBy?: {
|
|
2047
2077
|
id: string;
|
|
@@ -2053,6 +2083,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2053
2083
|
agentId: string;
|
|
2054
2084
|
} | null | undefined;
|
|
2055
2085
|
} | null | undefined;
|
|
2086
|
+
company?: {
|
|
2087
|
+
id: string;
|
|
2088
|
+
name: string;
|
|
2089
|
+
createdAt: string | Date;
|
|
2090
|
+
updatedAt: string | Date;
|
|
2091
|
+
} | null | undefined;
|
|
2056
2092
|
user?: {
|
|
2057
2093
|
id: string;
|
|
2058
2094
|
firstName: string;
|
|
@@ -2349,21 +2385,22 @@ export declare const jobsContractRouter: {
|
|
|
2349
2385
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2350
2386
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2351
2387
|
}, "strip", z.ZodTypeAny, {
|
|
2388
|
+
id: string;
|
|
2389
|
+
name: string;
|
|
2352
2390
|
createdAt: string;
|
|
2353
2391
|
updatedAt: string;
|
|
2392
|
+
}, {
|
|
2354
2393
|
id: string;
|
|
2355
2394
|
name: string;
|
|
2356
|
-
}, {
|
|
2357
2395
|
createdAt: string | Date;
|
|
2358
2396
|
updatedAt: string | Date;
|
|
2359
|
-
id: string;
|
|
2360
|
-
name: string;
|
|
2361
2397
|
}>>>;
|
|
2362
2398
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2363
2399
|
id: z.ZodString;
|
|
2364
2400
|
name: z.ZodString;
|
|
2365
|
-
crn: z.ZodString
|
|
2401
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2366
2402
|
govLink: z.ZodString;
|
|
2403
|
+
soleTrader: z.ZodBoolean;
|
|
2367
2404
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2368
2405
|
director: z.ZodString;
|
|
2369
2406
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2393,14 +2430,15 @@ export declare const jobsContractRouter: {
|
|
|
2393
2430
|
agentId: string;
|
|
2394
2431
|
}>>>;
|
|
2395
2432
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
-
createdAt: string;
|
|
2397
|
-
updatedAt: string;
|
|
2398
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2399
2433
|
id: string;
|
|
2434
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2400
2435
|
name: string;
|
|
2401
|
-
crn: string;
|
|
2436
|
+
crn: string | null;
|
|
2402
2437
|
govLink: string;
|
|
2438
|
+
soleTrader: boolean;
|
|
2403
2439
|
director: string;
|
|
2440
|
+
createdAt: string;
|
|
2441
|
+
updatedAt: string;
|
|
2404
2442
|
blacklistReason?: string | null | undefined;
|
|
2405
2443
|
lastUpdatedBy?: {
|
|
2406
2444
|
id: string;
|
|
@@ -2412,14 +2450,15 @@ export declare const jobsContractRouter: {
|
|
|
2412
2450
|
agentId: string;
|
|
2413
2451
|
} | null | undefined;
|
|
2414
2452
|
}, {
|
|
2415
|
-
createdAt: string | Date;
|
|
2416
|
-
updatedAt: string | Date;
|
|
2417
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2418
2453
|
id: string;
|
|
2454
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2419
2455
|
name: string;
|
|
2420
|
-
crn: string;
|
|
2456
|
+
crn: string | null;
|
|
2421
2457
|
govLink: string;
|
|
2458
|
+
soleTrader: boolean;
|
|
2422
2459
|
director: string;
|
|
2460
|
+
createdAt: string | Date;
|
|
2461
|
+
updatedAt: string | Date;
|
|
2423
2462
|
blacklistReason?: string | null | undefined;
|
|
2424
2463
|
lastUpdatedBy?: {
|
|
2425
2464
|
id: string;
|
|
@@ -2460,21 +2499,22 @@ export declare const jobsContractRouter: {
|
|
|
2460
2499
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2461
2500
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2462
2501
|
}, "strip", z.ZodTypeAny, {
|
|
2502
|
+
id: string;
|
|
2503
|
+
name: string;
|
|
2463
2504
|
createdAt: string;
|
|
2464
2505
|
updatedAt: string;
|
|
2506
|
+
}, {
|
|
2465
2507
|
id: string;
|
|
2466
2508
|
name: string;
|
|
2467
|
-
}, {
|
|
2468
2509
|
createdAt: string | Date;
|
|
2469
2510
|
updatedAt: string | Date;
|
|
2470
|
-
id: string;
|
|
2471
|
-
name: string;
|
|
2472
2511
|
}>>>;
|
|
2473
2512
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2474
2513
|
id: z.ZodString;
|
|
2475
2514
|
name: z.ZodString;
|
|
2476
|
-
crn: z.ZodString
|
|
2515
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2477
2516
|
govLink: z.ZodString;
|
|
2517
|
+
soleTrader: z.ZodBoolean;
|
|
2478
2518
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2479
2519
|
director: z.ZodString;
|
|
2480
2520
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2504,14 +2544,15 @@ export declare const jobsContractRouter: {
|
|
|
2504
2544
|
agentId: string;
|
|
2505
2545
|
}>>>;
|
|
2506
2546
|
}, "strip", z.ZodTypeAny, {
|
|
2507
|
-
createdAt: string;
|
|
2508
|
-
updatedAt: string;
|
|
2509
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2510
2547
|
id: string;
|
|
2548
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2511
2549
|
name: string;
|
|
2512
|
-
crn: string;
|
|
2550
|
+
crn: string | null;
|
|
2513
2551
|
govLink: string;
|
|
2552
|
+
soleTrader: boolean;
|
|
2514
2553
|
director: string;
|
|
2554
|
+
createdAt: string;
|
|
2555
|
+
updatedAt: string;
|
|
2515
2556
|
blacklistReason?: string | null | undefined;
|
|
2516
2557
|
lastUpdatedBy?: {
|
|
2517
2558
|
id: string;
|
|
@@ -2523,14 +2564,15 @@ export declare const jobsContractRouter: {
|
|
|
2523
2564
|
agentId: string;
|
|
2524
2565
|
} | null | undefined;
|
|
2525
2566
|
}, {
|
|
2526
|
-
createdAt: string | Date;
|
|
2527
|
-
updatedAt: string | Date;
|
|
2528
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2529
2567
|
id: string;
|
|
2568
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2530
2569
|
name: string;
|
|
2531
|
-
crn: string;
|
|
2570
|
+
crn: string | null;
|
|
2532
2571
|
govLink: string;
|
|
2572
|
+
soleTrader: boolean;
|
|
2533
2573
|
director: string;
|
|
2574
|
+
createdAt: string | Date;
|
|
2575
|
+
updatedAt: string | Date;
|
|
2534
2576
|
blacklistReason?: string | null | undefined;
|
|
2535
2577
|
lastUpdatedBy?: {
|
|
2536
2578
|
id: string;
|
|
@@ -2563,26 +2605,21 @@ export declare const jobsContractRouter: {
|
|
|
2563
2605
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2564
2606
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2565
2607
|
}, "strip", z.ZodTypeAny, {
|
|
2608
|
+
id: string;
|
|
2609
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2566
2610
|
createdAt: string;
|
|
2567
2611
|
updatedAt: string;
|
|
2568
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2569
|
-
id: string;
|
|
2570
2612
|
userId: string;
|
|
2571
|
-
company?: {
|
|
2572
|
-
createdAt: string;
|
|
2573
|
-
updatedAt: string;
|
|
2574
|
-
id: string;
|
|
2575
|
-
name: string;
|
|
2576
|
-
} | null | undefined;
|
|
2577
2613
|
client?: {
|
|
2578
|
-
createdAt: string;
|
|
2579
|
-
updatedAt: string;
|
|
2580
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2581
2614
|
id: string;
|
|
2615
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2582
2616
|
name: string;
|
|
2583
|
-
crn: string;
|
|
2617
|
+
crn: string | null;
|
|
2584
2618
|
govLink: string;
|
|
2619
|
+
soleTrader: boolean;
|
|
2585
2620
|
director: string;
|
|
2621
|
+
createdAt: string;
|
|
2622
|
+
updatedAt: string;
|
|
2586
2623
|
blacklistReason?: string | null | undefined;
|
|
2587
2624
|
lastUpdatedBy?: {
|
|
2588
2625
|
id: string;
|
|
@@ -2594,6 +2631,12 @@ export declare const jobsContractRouter: {
|
|
|
2594
2631
|
agentId: string;
|
|
2595
2632
|
} | null | undefined;
|
|
2596
2633
|
} | null | undefined;
|
|
2634
|
+
company?: {
|
|
2635
|
+
id: string;
|
|
2636
|
+
name: string;
|
|
2637
|
+
createdAt: string;
|
|
2638
|
+
updatedAt: string;
|
|
2639
|
+
} | null | undefined;
|
|
2597
2640
|
user?: {
|
|
2598
2641
|
id: string;
|
|
2599
2642
|
firstName: string;
|
|
@@ -2601,26 +2644,21 @@ export declare const jobsContractRouter: {
|
|
|
2601
2644
|
email: string;
|
|
2602
2645
|
} | null | undefined;
|
|
2603
2646
|
}, {
|
|
2647
|
+
id: string;
|
|
2648
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2604
2649
|
createdAt: string | Date;
|
|
2605
2650
|
updatedAt: string | Date;
|
|
2606
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2607
|
-
id: string;
|
|
2608
2651
|
userId: string;
|
|
2609
|
-
company?: {
|
|
2610
|
-
createdAt: string | Date;
|
|
2611
|
-
updatedAt: string | Date;
|
|
2612
|
-
id: string;
|
|
2613
|
-
name: string;
|
|
2614
|
-
} | null | undefined;
|
|
2615
2652
|
client?: {
|
|
2616
|
-
createdAt: string | Date;
|
|
2617
|
-
updatedAt: string | Date;
|
|
2618
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2619
2653
|
id: string;
|
|
2654
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2620
2655
|
name: string;
|
|
2621
|
-
crn: string;
|
|
2656
|
+
crn: string | null;
|
|
2622
2657
|
govLink: string;
|
|
2658
|
+
soleTrader: boolean;
|
|
2623
2659
|
director: string;
|
|
2660
|
+
createdAt: string | Date;
|
|
2661
|
+
updatedAt: string | Date;
|
|
2624
2662
|
blacklistReason?: string | null | undefined;
|
|
2625
2663
|
lastUpdatedBy?: {
|
|
2626
2664
|
id: string;
|
|
@@ -2632,6 +2670,12 @@ export declare const jobsContractRouter: {
|
|
|
2632
2670
|
agentId: string;
|
|
2633
2671
|
} | null | undefined;
|
|
2634
2672
|
} | null | undefined;
|
|
2673
|
+
company?: {
|
|
2674
|
+
id: string;
|
|
2675
|
+
name: string;
|
|
2676
|
+
createdAt: string | Date;
|
|
2677
|
+
updatedAt: string | Date;
|
|
2678
|
+
} | null | undefined;
|
|
2635
2679
|
user?: {
|
|
2636
2680
|
id: string;
|
|
2637
2681
|
firstName: string;
|
|
@@ -2640,26 +2684,21 @@ export declare const jobsContractRouter: {
|
|
|
2640
2684
|
} | null | undefined;
|
|
2641
2685
|
}>>>;
|
|
2642
2686
|
}, "strip", z.ZodTypeAny, {
|
|
2687
|
+
id: string;
|
|
2688
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2643
2689
|
createdAt: string;
|
|
2644
2690
|
updatedAt: string;
|
|
2645
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2646
|
-
id: string;
|
|
2647
2691
|
userId: string;
|
|
2648
|
-
company?: {
|
|
2649
|
-
createdAt: string;
|
|
2650
|
-
updatedAt: string;
|
|
2651
|
-
id: string;
|
|
2652
|
-
name: string;
|
|
2653
|
-
} | null | undefined;
|
|
2654
2692
|
client?: {
|
|
2655
|
-
createdAt: string;
|
|
2656
|
-
updatedAt: string;
|
|
2657
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2658
2693
|
id: string;
|
|
2694
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2659
2695
|
name: string;
|
|
2660
|
-
crn: string;
|
|
2696
|
+
crn: string | null;
|
|
2661
2697
|
govLink: string;
|
|
2698
|
+
soleTrader: boolean;
|
|
2662
2699
|
director: string;
|
|
2700
|
+
createdAt: string;
|
|
2701
|
+
updatedAt: string;
|
|
2663
2702
|
blacklistReason?: string | null | undefined;
|
|
2664
2703
|
lastUpdatedBy?: {
|
|
2665
2704
|
id: string;
|
|
@@ -2671,6 +2710,12 @@ export declare const jobsContractRouter: {
|
|
|
2671
2710
|
agentId: string;
|
|
2672
2711
|
} | null | undefined;
|
|
2673
2712
|
} | null | undefined;
|
|
2713
|
+
company?: {
|
|
2714
|
+
id: string;
|
|
2715
|
+
name: string;
|
|
2716
|
+
createdAt: string;
|
|
2717
|
+
updatedAt: string;
|
|
2718
|
+
} | null | undefined;
|
|
2674
2719
|
user?: {
|
|
2675
2720
|
id: string;
|
|
2676
2721
|
firstName: string;
|
|
@@ -2678,26 +2723,21 @@ export declare const jobsContractRouter: {
|
|
|
2678
2723
|
email: string;
|
|
2679
2724
|
} | null | undefined;
|
|
2680
2725
|
newCollaboration?: {
|
|
2726
|
+
id: string;
|
|
2727
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2681
2728
|
createdAt: string;
|
|
2682
2729
|
updatedAt: string;
|
|
2683
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2684
|
-
id: string;
|
|
2685
2730
|
userId: string;
|
|
2686
|
-
company?: {
|
|
2687
|
-
createdAt: string;
|
|
2688
|
-
updatedAt: string;
|
|
2689
|
-
id: string;
|
|
2690
|
-
name: string;
|
|
2691
|
-
} | null | undefined;
|
|
2692
2731
|
client?: {
|
|
2693
|
-
createdAt: string;
|
|
2694
|
-
updatedAt: string;
|
|
2695
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2696
2732
|
id: string;
|
|
2733
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2697
2734
|
name: string;
|
|
2698
|
-
crn: string;
|
|
2735
|
+
crn: string | null;
|
|
2699
2736
|
govLink: string;
|
|
2737
|
+
soleTrader: boolean;
|
|
2700
2738
|
director: string;
|
|
2739
|
+
createdAt: string;
|
|
2740
|
+
updatedAt: string;
|
|
2701
2741
|
blacklistReason?: string | null | undefined;
|
|
2702
2742
|
lastUpdatedBy?: {
|
|
2703
2743
|
id: string;
|
|
@@ -2709,6 +2749,12 @@ export declare const jobsContractRouter: {
|
|
|
2709
2749
|
agentId: string;
|
|
2710
2750
|
} | null | undefined;
|
|
2711
2751
|
} | null | undefined;
|
|
2752
|
+
company?: {
|
|
2753
|
+
id: string;
|
|
2754
|
+
name: string;
|
|
2755
|
+
createdAt: string;
|
|
2756
|
+
updatedAt: string;
|
|
2757
|
+
} | null | undefined;
|
|
2712
2758
|
user?: {
|
|
2713
2759
|
id: string;
|
|
2714
2760
|
firstName: string;
|
|
@@ -2717,26 +2763,21 @@ export declare const jobsContractRouter: {
|
|
|
2717
2763
|
} | null | undefined;
|
|
2718
2764
|
} | null | undefined;
|
|
2719
2765
|
}, {
|
|
2766
|
+
id: string;
|
|
2767
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2720
2768
|
createdAt: string | Date;
|
|
2721
2769
|
updatedAt: string | Date;
|
|
2722
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2723
|
-
id: string;
|
|
2724
2770
|
userId: string;
|
|
2725
|
-
company?: {
|
|
2726
|
-
createdAt: string | Date;
|
|
2727
|
-
updatedAt: string | Date;
|
|
2728
|
-
id: string;
|
|
2729
|
-
name: string;
|
|
2730
|
-
} | null | undefined;
|
|
2731
2771
|
client?: {
|
|
2732
|
-
createdAt: string | Date;
|
|
2733
|
-
updatedAt: string | Date;
|
|
2734
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2735
2772
|
id: string;
|
|
2773
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2736
2774
|
name: string;
|
|
2737
|
-
crn: string;
|
|
2775
|
+
crn: string | null;
|
|
2738
2776
|
govLink: string;
|
|
2777
|
+
soleTrader: boolean;
|
|
2739
2778
|
director: string;
|
|
2779
|
+
createdAt: string | Date;
|
|
2780
|
+
updatedAt: string | Date;
|
|
2740
2781
|
blacklistReason?: string | null | undefined;
|
|
2741
2782
|
lastUpdatedBy?: {
|
|
2742
2783
|
id: string;
|
|
@@ -2748,6 +2789,12 @@ export declare const jobsContractRouter: {
|
|
|
2748
2789
|
agentId: string;
|
|
2749
2790
|
} | null | undefined;
|
|
2750
2791
|
} | null | undefined;
|
|
2792
|
+
company?: {
|
|
2793
|
+
id: string;
|
|
2794
|
+
name: string;
|
|
2795
|
+
createdAt: string | Date;
|
|
2796
|
+
updatedAt: string | Date;
|
|
2797
|
+
} | null | undefined;
|
|
2751
2798
|
user?: {
|
|
2752
2799
|
id: string;
|
|
2753
2800
|
firstName: string;
|
|
@@ -2755,26 +2802,21 @@ export declare const jobsContractRouter: {
|
|
|
2755
2802
|
email: string;
|
|
2756
2803
|
} | null | undefined;
|
|
2757
2804
|
newCollaboration?: {
|
|
2805
|
+
id: string;
|
|
2806
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2758
2807
|
createdAt: string | Date;
|
|
2759
2808
|
updatedAt: string | Date;
|
|
2760
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2761
|
-
id: string;
|
|
2762
2809
|
userId: string;
|
|
2763
|
-
company?: {
|
|
2764
|
-
createdAt: string | Date;
|
|
2765
|
-
updatedAt: string | Date;
|
|
2766
|
-
id: string;
|
|
2767
|
-
name: string;
|
|
2768
|
-
} | null | undefined;
|
|
2769
2810
|
client?: {
|
|
2770
|
-
createdAt: string | Date;
|
|
2771
|
-
updatedAt: string | Date;
|
|
2772
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2773
2811
|
id: string;
|
|
2812
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2774
2813
|
name: string;
|
|
2775
|
-
crn: string;
|
|
2814
|
+
crn: string | null;
|
|
2776
2815
|
govLink: string;
|
|
2816
|
+
soleTrader: boolean;
|
|
2777
2817
|
director: string;
|
|
2818
|
+
createdAt: string | Date;
|
|
2819
|
+
updatedAt: string | Date;
|
|
2778
2820
|
blacklistReason?: string | null | undefined;
|
|
2779
2821
|
lastUpdatedBy?: {
|
|
2780
2822
|
id: string;
|
|
@@ -2786,6 +2828,12 @@ export declare const jobsContractRouter: {
|
|
|
2786
2828
|
agentId: string;
|
|
2787
2829
|
} | null | undefined;
|
|
2788
2830
|
} | null | undefined;
|
|
2831
|
+
company?: {
|
|
2832
|
+
id: string;
|
|
2833
|
+
name: string;
|
|
2834
|
+
createdAt: string | Date;
|
|
2835
|
+
updatedAt: string | Date;
|
|
2836
|
+
} | null | undefined;
|
|
2789
2837
|
user?: {
|
|
2790
2838
|
id: string;
|
|
2791
2839
|
firstName: string;
|
|
@@ -2797,10 +2845,10 @@ export declare const jobsContractRouter: {
|
|
|
2797
2845
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2798
2846
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2799
2847
|
}, "strip", z.ZodTypeAny, {
|
|
2848
|
+
id: string;
|
|
2849
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2800
2850
|
createdAt: string;
|
|
2801
2851
|
updatedAt: string;
|
|
2802
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2803
|
-
id: string;
|
|
2804
2852
|
description: string;
|
|
2805
2853
|
numberOfPositions: number;
|
|
2806
2854
|
pay: {
|
|
@@ -2826,26 +2874,21 @@ export declare const jobsContractRouter: {
|
|
|
2826
2874
|
areaCovered?: string | null | undefined;
|
|
2827
2875
|
} | null | undefined;
|
|
2828
2876
|
currentCollaboration?: {
|
|
2877
|
+
id: string;
|
|
2878
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2829
2879
|
createdAt: string;
|
|
2830
2880
|
updatedAt: string;
|
|
2831
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2832
|
-
id: string;
|
|
2833
2881
|
userId: string;
|
|
2834
|
-
company?: {
|
|
2835
|
-
createdAt: string;
|
|
2836
|
-
updatedAt: string;
|
|
2837
|
-
id: string;
|
|
2838
|
-
name: string;
|
|
2839
|
-
} | null | undefined;
|
|
2840
2882
|
client?: {
|
|
2841
|
-
createdAt: string;
|
|
2842
|
-
updatedAt: string;
|
|
2843
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2844
2883
|
id: string;
|
|
2884
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2845
2885
|
name: string;
|
|
2846
|
-
crn: string;
|
|
2886
|
+
crn: string | null;
|
|
2847
2887
|
govLink: string;
|
|
2888
|
+
soleTrader: boolean;
|
|
2848
2889
|
director: string;
|
|
2890
|
+
createdAt: string;
|
|
2891
|
+
updatedAt: string;
|
|
2849
2892
|
blacklistReason?: string | null | undefined;
|
|
2850
2893
|
lastUpdatedBy?: {
|
|
2851
2894
|
id: string;
|
|
@@ -2857,33 +2900,34 @@ export declare const jobsContractRouter: {
|
|
|
2857
2900
|
agentId: string;
|
|
2858
2901
|
} | null | undefined;
|
|
2859
2902
|
} | null | undefined;
|
|
2860
|
-
|
|
2903
|
+
company?: {
|
|
2904
|
+
id: string;
|
|
2905
|
+
name: string;
|
|
2906
|
+
createdAt: string;
|
|
2907
|
+
updatedAt: string;
|
|
2908
|
+
} | null | undefined;
|
|
2909
|
+
user?: {
|
|
2861
2910
|
id: string;
|
|
2862
2911
|
firstName: string;
|
|
2863
2912
|
lastName: string;
|
|
2864
2913
|
email: string;
|
|
2865
2914
|
} | null | undefined;
|
|
2866
2915
|
newCollaboration?: {
|
|
2916
|
+
id: string;
|
|
2917
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2867
2918
|
createdAt: string;
|
|
2868
2919
|
updatedAt: string;
|
|
2869
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2870
|
-
id: string;
|
|
2871
2920
|
userId: string;
|
|
2872
|
-
company?: {
|
|
2873
|
-
createdAt: string;
|
|
2874
|
-
updatedAt: string;
|
|
2875
|
-
id: string;
|
|
2876
|
-
name: string;
|
|
2877
|
-
} | null | undefined;
|
|
2878
2921
|
client?: {
|
|
2879
|
-
createdAt: string;
|
|
2880
|
-
updatedAt: string;
|
|
2881
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2882
2922
|
id: string;
|
|
2923
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2883
2924
|
name: string;
|
|
2884
|
-
crn: string;
|
|
2925
|
+
crn: string | null;
|
|
2885
2926
|
govLink: string;
|
|
2927
|
+
soleTrader: boolean;
|
|
2886
2928
|
director: string;
|
|
2929
|
+
createdAt: string;
|
|
2930
|
+
updatedAt: string;
|
|
2887
2931
|
blacklistReason?: string | null | undefined;
|
|
2888
2932
|
lastUpdatedBy?: {
|
|
2889
2933
|
id: string;
|
|
@@ -2895,6 +2939,12 @@ export declare const jobsContractRouter: {
|
|
|
2895
2939
|
agentId: string;
|
|
2896
2940
|
} | null | undefined;
|
|
2897
2941
|
} | null | undefined;
|
|
2942
|
+
company?: {
|
|
2943
|
+
id: string;
|
|
2944
|
+
name: string;
|
|
2945
|
+
createdAt: string;
|
|
2946
|
+
updatedAt: string;
|
|
2947
|
+
} | null | undefined;
|
|
2898
2948
|
user?: {
|
|
2899
2949
|
id: string;
|
|
2900
2950
|
firstName: string;
|
|
@@ -2904,10 +2954,10 @@ export declare const jobsContractRouter: {
|
|
|
2904
2954
|
} | null | undefined;
|
|
2905
2955
|
} | null | undefined;
|
|
2906
2956
|
}, {
|
|
2957
|
+
id: string;
|
|
2958
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2907
2959
|
createdAt: string | Date;
|
|
2908
2960
|
updatedAt: string | Date;
|
|
2909
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2910
|
-
id: string;
|
|
2911
2961
|
description: string;
|
|
2912
2962
|
numberOfPositions: number;
|
|
2913
2963
|
pay: {
|
|
@@ -2933,26 +2983,21 @@ export declare const jobsContractRouter: {
|
|
|
2933
2983
|
qualificationTypeId?: string | null | undefined;
|
|
2934
2984
|
}[] | undefined;
|
|
2935
2985
|
currentCollaboration?: {
|
|
2986
|
+
id: string;
|
|
2987
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2936
2988
|
createdAt: string | Date;
|
|
2937
2989
|
updatedAt: string | Date;
|
|
2938
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2939
|
-
id: string;
|
|
2940
2990
|
userId: string;
|
|
2941
|
-
company?: {
|
|
2942
|
-
createdAt: string | Date;
|
|
2943
|
-
updatedAt: string | Date;
|
|
2944
|
-
id: string;
|
|
2945
|
-
name: string;
|
|
2946
|
-
} | null | undefined;
|
|
2947
2991
|
client?: {
|
|
2948
|
-
createdAt: string | Date;
|
|
2949
|
-
updatedAt: string | Date;
|
|
2950
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2951
2992
|
id: string;
|
|
2993
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2952
2994
|
name: string;
|
|
2953
|
-
crn: string;
|
|
2995
|
+
crn: string | null;
|
|
2954
2996
|
govLink: string;
|
|
2997
|
+
soleTrader: boolean;
|
|
2955
2998
|
director: string;
|
|
2999
|
+
createdAt: string | Date;
|
|
3000
|
+
updatedAt: string | Date;
|
|
2956
3001
|
blacklistReason?: string | null | undefined;
|
|
2957
3002
|
lastUpdatedBy?: {
|
|
2958
3003
|
id: string;
|
|
@@ -2964,6 +3009,12 @@ export declare const jobsContractRouter: {
|
|
|
2964
3009
|
agentId: string;
|
|
2965
3010
|
} | null | undefined;
|
|
2966
3011
|
} | null | undefined;
|
|
3012
|
+
company?: {
|
|
3013
|
+
id: string;
|
|
3014
|
+
name: string;
|
|
3015
|
+
createdAt: string | Date;
|
|
3016
|
+
updatedAt: string | Date;
|
|
3017
|
+
} | null | undefined;
|
|
2967
3018
|
user?: {
|
|
2968
3019
|
id: string;
|
|
2969
3020
|
firstName: string;
|
|
@@ -2971,26 +3022,21 @@ export declare const jobsContractRouter: {
|
|
|
2971
3022
|
email: string;
|
|
2972
3023
|
} | null | undefined;
|
|
2973
3024
|
newCollaboration?: {
|
|
3025
|
+
id: string;
|
|
3026
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2974
3027
|
createdAt: string | Date;
|
|
2975
3028
|
updatedAt: string | Date;
|
|
2976
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2977
|
-
id: string;
|
|
2978
3029
|
userId: string;
|
|
2979
|
-
company?: {
|
|
2980
|
-
createdAt: string | Date;
|
|
2981
|
-
updatedAt: string | Date;
|
|
2982
|
-
id: string;
|
|
2983
|
-
name: string;
|
|
2984
|
-
} | null | undefined;
|
|
2985
3030
|
client?: {
|
|
2986
|
-
createdAt: string | Date;
|
|
2987
|
-
updatedAt: string | Date;
|
|
2988
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2989
3031
|
id: string;
|
|
3032
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2990
3033
|
name: string;
|
|
2991
|
-
crn: string;
|
|
3034
|
+
crn: string | null;
|
|
2992
3035
|
govLink: string;
|
|
3036
|
+
soleTrader: boolean;
|
|
2993
3037
|
director: string;
|
|
3038
|
+
createdAt: string | Date;
|
|
3039
|
+
updatedAt: string | Date;
|
|
2994
3040
|
blacklistReason?: string | null | undefined;
|
|
2995
3041
|
lastUpdatedBy?: {
|
|
2996
3042
|
id: string;
|
|
@@ -3002,6 +3048,12 @@ export declare const jobsContractRouter: {
|
|
|
3002
3048
|
agentId: string;
|
|
3003
3049
|
} | null | undefined;
|
|
3004
3050
|
} | null | undefined;
|
|
3051
|
+
company?: {
|
|
3052
|
+
id: string;
|
|
3053
|
+
name: string;
|
|
3054
|
+
createdAt: string | Date;
|
|
3055
|
+
updatedAt: string | Date;
|
|
3056
|
+
} | null | undefined;
|
|
3005
3057
|
user?: {
|
|
3006
3058
|
id: string;
|
|
3007
3059
|
firstName: string;
|
|
@@ -3091,16 +3143,16 @@ export declare const jobsContractRouter: {
|
|
|
3091
3143
|
}, "strip", z.ZodTypeAny, {
|
|
3092
3144
|
limit: number;
|
|
3093
3145
|
page: number;
|
|
3146
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
3094
3147
|
createdAt?: {
|
|
3095
3148
|
from?: string | null | undefined;
|
|
3096
3149
|
to?: string | null | undefined;
|
|
3097
3150
|
} | null | undefined;
|
|
3098
|
-
|
|
3151
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
3152
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3153
|
+
clientId?: string | null | undefined;
|
|
3099
3154
|
userId?: string | null | undefined;
|
|
3100
3155
|
companyId?: string | null | undefined;
|
|
3101
|
-
clientId?: string | null | undefined;
|
|
3102
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
|
|
3103
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3104
3156
|
pay?: {
|
|
3105
3157
|
minRate?: number | null | undefined;
|
|
3106
3158
|
maxRate?: number | null | undefined;
|
|
@@ -3113,18 +3165,18 @@ export declare const jobsContractRouter: {
|
|
|
3113
3165
|
}[] | undefined;
|
|
3114
3166
|
distance?: number | null | undefined;
|
|
3115
3167
|
}, {
|
|
3168
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
3116
3169
|
createdAt?: {
|
|
3117
3170
|
from?: string | null | undefined;
|
|
3118
3171
|
to?: string | null | undefined;
|
|
3119
3172
|
} | null | undefined;
|
|
3120
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
3121
|
-
userId?: string | null | undefined;
|
|
3122
3173
|
limit?: number | undefined;
|
|
3123
3174
|
page?: number | undefined;
|
|
3124
|
-
|
|
3125
|
-
clientId?: string | null | undefined;
|
|
3126
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
|
|
3175
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
3127
3176
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3177
|
+
clientId?: string | null | undefined;
|
|
3178
|
+
userId?: string | null | undefined;
|
|
3179
|
+
companyId?: string | null | undefined;
|
|
3128
3180
|
pay?: {
|
|
3129
3181
|
minRate?: number | null | undefined;
|
|
3130
3182
|
maxRate?: number | null | undefined;
|
|
@@ -3311,21 +3363,22 @@ export declare const jobsContractRouter: {
|
|
|
3311
3363
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3312
3364
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3313
3365
|
}, "strip", z.ZodTypeAny, {
|
|
3366
|
+
id: string;
|
|
3367
|
+
name: string;
|
|
3314
3368
|
createdAt: string;
|
|
3315
3369
|
updatedAt: string;
|
|
3370
|
+
}, {
|
|
3316
3371
|
id: string;
|
|
3317
3372
|
name: string;
|
|
3318
|
-
}, {
|
|
3319
3373
|
createdAt: string | Date;
|
|
3320
3374
|
updatedAt: string | Date;
|
|
3321
|
-
id: string;
|
|
3322
|
-
name: string;
|
|
3323
3375
|
}>>>;
|
|
3324
3376
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3325
3377
|
id: z.ZodString;
|
|
3326
3378
|
name: z.ZodString;
|
|
3327
|
-
crn: z.ZodString
|
|
3379
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
3328
3380
|
govLink: z.ZodString;
|
|
3381
|
+
soleTrader: z.ZodBoolean;
|
|
3329
3382
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3330
3383
|
director: z.ZodString;
|
|
3331
3384
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3355,14 +3408,15 @@ export declare const jobsContractRouter: {
|
|
|
3355
3408
|
agentId: string;
|
|
3356
3409
|
}>>>;
|
|
3357
3410
|
}, "strip", z.ZodTypeAny, {
|
|
3358
|
-
createdAt: string;
|
|
3359
|
-
updatedAt: string;
|
|
3360
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3361
3411
|
id: string;
|
|
3412
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3362
3413
|
name: string;
|
|
3363
|
-
crn: string;
|
|
3414
|
+
crn: string | null;
|
|
3364
3415
|
govLink: string;
|
|
3416
|
+
soleTrader: boolean;
|
|
3365
3417
|
director: string;
|
|
3418
|
+
createdAt: string;
|
|
3419
|
+
updatedAt: string;
|
|
3366
3420
|
blacklistReason?: string | null | undefined;
|
|
3367
3421
|
lastUpdatedBy?: {
|
|
3368
3422
|
id: string;
|
|
@@ -3374,14 +3428,15 @@ export declare const jobsContractRouter: {
|
|
|
3374
3428
|
agentId: string;
|
|
3375
3429
|
} | null | undefined;
|
|
3376
3430
|
}, {
|
|
3377
|
-
createdAt: string | Date;
|
|
3378
|
-
updatedAt: string | Date;
|
|
3379
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3380
3431
|
id: string;
|
|
3432
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3381
3433
|
name: string;
|
|
3382
|
-
crn: string;
|
|
3434
|
+
crn: string | null;
|
|
3383
3435
|
govLink: string;
|
|
3436
|
+
soleTrader: boolean;
|
|
3384
3437
|
director: string;
|
|
3438
|
+
createdAt: string | Date;
|
|
3439
|
+
updatedAt: string | Date;
|
|
3385
3440
|
blacklistReason?: string | null | undefined;
|
|
3386
3441
|
lastUpdatedBy?: {
|
|
3387
3442
|
id: string;
|
|
@@ -3422,21 +3477,22 @@ export declare const jobsContractRouter: {
|
|
|
3422
3477
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3423
3478
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3424
3479
|
}, "strip", z.ZodTypeAny, {
|
|
3480
|
+
id: string;
|
|
3481
|
+
name: string;
|
|
3425
3482
|
createdAt: string;
|
|
3426
3483
|
updatedAt: string;
|
|
3484
|
+
}, {
|
|
3427
3485
|
id: string;
|
|
3428
3486
|
name: string;
|
|
3429
|
-
}, {
|
|
3430
3487
|
createdAt: string | Date;
|
|
3431
3488
|
updatedAt: string | Date;
|
|
3432
|
-
id: string;
|
|
3433
|
-
name: string;
|
|
3434
3489
|
}>>>;
|
|
3435
3490
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3436
3491
|
id: z.ZodString;
|
|
3437
3492
|
name: z.ZodString;
|
|
3438
|
-
crn: z.ZodString
|
|
3493
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
3439
3494
|
govLink: z.ZodString;
|
|
3495
|
+
soleTrader: z.ZodBoolean;
|
|
3440
3496
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3441
3497
|
director: z.ZodString;
|
|
3442
3498
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3466,14 +3522,15 @@ export declare const jobsContractRouter: {
|
|
|
3466
3522
|
agentId: string;
|
|
3467
3523
|
}>>>;
|
|
3468
3524
|
}, "strip", z.ZodTypeAny, {
|
|
3469
|
-
createdAt: string;
|
|
3470
|
-
updatedAt: string;
|
|
3471
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3472
3525
|
id: string;
|
|
3526
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3473
3527
|
name: string;
|
|
3474
|
-
crn: string;
|
|
3528
|
+
crn: string | null;
|
|
3475
3529
|
govLink: string;
|
|
3530
|
+
soleTrader: boolean;
|
|
3476
3531
|
director: string;
|
|
3532
|
+
createdAt: string;
|
|
3533
|
+
updatedAt: string;
|
|
3477
3534
|
blacklistReason?: string | null | undefined;
|
|
3478
3535
|
lastUpdatedBy?: {
|
|
3479
3536
|
id: string;
|
|
@@ -3485,14 +3542,15 @@ export declare const jobsContractRouter: {
|
|
|
3485
3542
|
agentId: string;
|
|
3486
3543
|
} | null | undefined;
|
|
3487
3544
|
}, {
|
|
3488
|
-
createdAt: string | Date;
|
|
3489
|
-
updatedAt: string | Date;
|
|
3490
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3491
3545
|
id: string;
|
|
3546
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3492
3547
|
name: string;
|
|
3493
|
-
crn: string;
|
|
3548
|
+
crn: string | null;
|
|
3494
3549
|
govLink: string;
|
|
3550
|
+
soleTrader: boolean;
|
|
3495
3551
|
director: string;
|
|
3552
|
+
createdAt: string | Date;
|
|
3553
|
+
updatedAt: string | Date;
|
|
3496
3554
|
blacklistReason?: string | null | undefined;
|
|
3497
3555
|
lastUpdatedBy?: {
|
|
3498
3556
|
id: string;
|
|
@@ -3525,26 +3583,21 @@ export declare const jobsContractRouter: {
|
|
|
3525
3583
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3526
3584
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3527
3585
|
}, "strip", z.ZodTypeAny, {
|
|
3586
|
+
id: string;
|
|
3587
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3528
3588
|
createdAt: string;
|
|
3529
3589
|
updatedAt: string;
|
|
3530
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3531
|
-
id: string;
|
|
3532
3590
|
userId: string;
|
|
3533
|
-
company?: {
|
|
3534
|
-
createdAt: string;
|
|
3535
|
-
updatedAt: string;
|
|
3536
|
-
id: string;
|
|
3537
|
-
name: string;
|
|
3538
|
-
} | null | undefined;
|
|
3539
3591
|
client?: {
|
|
3540
|
-
createdAt: string;
|
|
3541
|
-
updatedAt: string;
|
|
3542
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3543
3592
|
id: string;
|
|
3593
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3544
3594
|
name: string;
|
|
3545
|
-
crn: string;
|
|
3595
|
+
crn: string | null;
|
|
3546
3596
|
govLink: string;
|
|
3597
|
+
soleTrader: boolean;
|
|
3547
3598
|
director: string;
|
|
3599
|
+
createdAt: string;
|
|
3600
|
+
updatedAt: string;
|
|
3548
3601
|
blacklistReason?: string | null | undefined;
|
|
3549
3602
|
lastUpdatedBy?: {
|
|
3550
3603
|
id: string;
|
|
@@ -3556,6 +3609,12 @@ export declare const jobsContractRouter: {
|
|
|
3556
3609
|
agentId: string;
|
|
3557
3610
|
} | null | undefined;
|
|
3558
3611
|
} | null | undefined;
|
|
3612
|
+
company?: {
|
|
3613
|
+
id: string;
|
|
3614
|
+
name: string;
|
|
3615
|
+
createdAt: string;
|
|
3616
|
+
updatedAt: string;
|
|
3617
|
+
} | null | undefined;
|
|
3559
3618
|
user?: {
|
|
3560
3619
|
id: string;
|
|
3561
3620
|
firstName: string;
|
|
@@ -3563,26 +3622,21 @@ export declare const jobsContractRouter: {
|
|
|
3563
3622
|
email: string;
|
|
3564
3623
|
} | null | undefined;
|
|
3565
3624
|
}, {
|
|
3625
|
+
id: string;
|
|
3626
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3566
3627
|
createdAt: string | Date;
|
|
3567
3628
|
updatedAt: string | Date;
|
|
3568
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3569
|
-
id: string;
|
|
3570
3629
|
userId: string;
|
|
3571
|
-
company?: {
|
|
3572
|
-
createdAt: string | Date;
|
|
3573
|
-
updatedAt: string | Date;
|
|
3574
|
-
id: string;
|
|
3575
|
-
name: string;
|
|
3576
|
-
} | null | undefined;
|
|
3577
3630
|
client?: {
|
|
3578
|
-
createdAt: string | Date;
|
|
3579
|
-
updatedAt: string | Date;
|
|
3580
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3581
3631
|
id: string;
|
|
3632
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3582
3633
|
name: string;
|
|
3583
|
-
crn: string;
|
|
3634
|
+
crn: string | null;
|
|
3584
3635
|
govLink: string;
|
|
3636
|
+
soleTrader: boolean;
|
|
3585
3637
|
director: string;
|
|
3638
|
+
createdAt: string | Date;
|
|
3639
|
+
updatedAt: string | Date;
|
|
3586
3640
|
blacklistReason?: string | null | undefined;
|
|
3587
3641
|
lastUpdatedBy?: {
|
|
3588
3642
|
id: string;
|
|
@@ -3594,6 +3648,12 @@ export declare const jobsContractRouter: {
|
|
|
3594
3648
|
agentId: string;
|
|
3595
3649
|
} | null | undefined;
|
|
3596
3650
|
} | null | undefined;
|
|
3651
|
+
company?: {
|
|
3652
|
+
id: string;
|
|
3653
|
+
name: string;
|
|
3654
|
+
createdAt: string | Date;
|
|
3655
|
+
updatedAt: string | Date;
|
|
3656
|
+
} | null | undefined;
|
|
3597
3657
|
user?: {
|
|
3598
3658
|
id: string;
|
|
3599
3659
|
firstName: string;
|
|
@@ -3602,26 +3662,21 @@ export declare const jobsContractRouter: {
|
|
|
3602
3662
|
} | null | undefined;
|
|
3603
3663
|
}>>>;
|
|
3604
3664
|
}, "strip", z.ZodTypeAny, {
|
|
3665
|
+
id: string;
|
|
3666
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3605
3667
|
createdAt: string;
|
|
3606
3668
|
updatedAt: string;
|
|
3607
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3608
|
-
id: string;
|
|
3609
3669
|
userId: string;
|
|
3610
|
-
company?: {
|
|
3611
|
-
createdAt: string;
|
|
3612
|
-
updatedAt: string;
|
|
3613
|
-
id: string;
|
|
3614
|
-
name: string;
|
|
3615
|
-
} | null | undefined;
|
|
3616
3670
|
client?: {
|
|
3617
|
-
createdAt: string;
|
|
3618
|
-
updatedAt: string;
|
|
3619
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3620
3671
|
id: string;
|
|
3672
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3621
3673
|
name: string;
|
|
3622
|
-
crn: string;
|
|
3674
|
+
crn: string | null;
|
|
3623
3675
|
govLink: string;
|
|
3676
|
+
soleTrader: boolean;
|
|
3624
3677
|
director: string;
|
|
3678
|
+
createdAt: string;
|
|
3679
|
+
updatedAt: string;
|
|
3625
3680
|
blacklistReason?: string | null | undefined;
|
|
3626
3681
|
lastUpdatedBy?: {
|
|
3627
3682
|
id: string;
|
|
@@ -3633,6 +3688,12 @@ export declare const jobsContractRouter: {
|
|
|
3633
3688
|
agentId: string;
|
|
3634
3689
|
} | null | undefined;
|
|
3635
3690
|
} | null | undefined;
|
|
3691
|
+
company?: {
|
|
3692
|
+
id: string;
|
|
3693
|
+
name: string;
|
|
3694
|
+
createdAt: string;
|
|
3695
|
+
updatedAt: string;
|
|
3696
|
+
} | null | undefined;
|
|
3636
3697
|
user?: {
|
|
3637
3698
|
id: string;
|
|
3638
3699
|
firstName: string;
|
|
@@ -3640,26 +3701,21 @@ export declare const jobsContractRouter: {
|
|
|
3640
3701
|
email: string;
|
|
3641
3702
|
} | null | undefined;
|
|
3642
3703
|
newCollaboration?: {
|
|
3704
|
+
id: string;
|
|
3705
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3643
3706
|
createdAt: string;
|
|
3644
3707
|
updatedAt: string;
|
|
3645
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3646
|
-
id: string;
|
|
3647
3708
|
userId: string;
|
|
3648
|
-
company?: {
|
|
3649
|
-
createdAt: string;
|
|
3650
|
-
updatedAt: string;
|
|
3651
|
-
id: string;
|
|
3652
|
-
name: string;
|
|
3653
|
-
} | null | undefined;
|
|
3654
3709
|
client?: {
|
|
3655
|
-
createdAt: string;
|
|
3656
|
-
updatedAt: string;
|
|
3657
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3658
3710
|
id: string;
|
|
3711
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3659
3712
|
name: string;
|
|
3660
|
-
crn: string;
|
|
3713
|
+
crn: string | null;
|
|
3661
3714
|
govLink: string;
|
|
3715
|
+
soleTrader: boolean;
|
|
3662
3716
|
director: string;
|
|
3717
|
+
createdAt: string;
|
|
3718
|
+
updatedAt: string;
|
|
3663
3719
|
blacklistReason?: string | null | undefined;
|
|
3664
3720
|
lastUpdatedBy?: {
|
|
3665
3721
|
id: string;
|
|
@@ -3671,6 +3727,12 @@ export declare const jobsContractRouter: {
|
|
|
3671
3727
|
agentId: string;
|
|
3672
3728
|
} | null | undefined;
|
|
3673
3729
|
} | null | undefined;
|
|
3730
|
+
company?: {
|
|
3731
|
+
id: string;
|
|
3732
|
+
name: string;
|
|
3733
|
+
createdAt: string;
|
|
3734
|
+
updatedAt: string;
|
|
3735
|
+
} | null | undefined;
|
|
3674
3736
|
user?: {
|
|
3675
3737
|
id: string;
|
|
3676
3738
|
firstName: string;
|
|
@@ -3679,26 +3741,21 @@ export declare const jobsContractRouter: {
|
|
|
3679
3741
|
} | null | undefined;
|
|
3680
3742
|
} | null | undefined;
|
|
3681
3743
|
}, {
|
|
3744
|
+
id: string;
|
|
3745
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3682
3746
|
createdAt: string | Date;
|
|
3683
3747
|
updatedAt: string | Date;
|
|
3684
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3685
|
-
id: string;
|
|
3686
3748
|
userId: string;
|
|
3687
|
-
company?: {
|
|
3688
|
-
createdAt: string | Date;
|
|
3689
|
-
updatedAt: string | Date;
|
|
3690
|
-
id: string;
|
|
3691
|
-
name: string;
|
|
3692
|
-
} | null | undefined;
|
|
3693
3749
|
client?: {
|
|
3694
|
-
createdAt: string | Date;
|
|
3695
|
-
updatedAt: string | Date;
|
|
3696
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3697
3750
|
id: string;
|
|
3751
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3698
3752
|
name: string;
|
|
3699
|
-
crn: string;
|
|
3753
|
+
crn: string | null;
|
|
3700
3754
|
govLink: string;
|
|
3755
|
+
soleTrader: boolean;
|
|
3701
3756
|
director: string;
|
|
3757
|
+
createdAt: string | Date;
|
|
3758
|
+
updatedAt: string | Date;
|
|
3702
3759
|
blacklistReason?: string | null | undefined;
|
|
3703
3760
|
lastUpdatedBy?: {
|
|
3704
3761
|
id: string;
|
|
@@ -3710,6 +3767,12 @@ export declare const jobsContractRouter: {
|
|
|
3710
3767
|
agentId: string;
|
|
3711
3768
|
} | null | undefined;
|
|
3712
3769
|
} | null | undefined;
|
|
3770
|
+
company?: {
|
|
3771
|
+
id: string;
|
|
3772
|
+
name: string;
|
|
3773
|
+
createdAt: string | Date;
|
|
3774
|
+
updatedAt: string | Date;
|
|
3775
|
+
} | null | undefined;
|
|
3713
3776
|
user?: {
|
|
3714
3777
|
id: string;
|
|
3715
3778
|
firstName: string;
|
|
@@ -3717,26 +3780,21 @@ export declare const jobsContractRouter: {
|
|
|
3717
3780
|
email: string;
|
|
3718
3781
|
} | null | undefined;
|
|
3719
3782
|
newCollaboration?: {
|
|
3783
|
+
id: string;
|
|
3784
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3720
3785
|
createdAt: string | Date;
|
|
3721
3786
|
updatedAt: string | Date;
|
|
3722
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3723
|
-
id: string;
|
|
3724
3787
|
userId: string;
|
|
3725
|
-
company?: {
|
|
3726
|
-
createdAt: string | Date;
|
|
3727
|
-
updatedAt: string | Date;
|
|
3728
|
-
id: string;
|
|
3729
|
-
name: string;
|
|
3730
|
-
} | null | undefined;
|
|
3731
3788
|
client?: {
|
|
3732
|
-
createdAt: string | Date;
|
|
3733
|
-
updatedAt: string | Date;
|
|
3734
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3735
3789
|
id: string;
|
|
3790
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3736
3791
|
name: string;
|
|
3737
|
-
crn: string;
|
|
3792
|
+
crn: string | null;
|
|
3738
3793
|
govLink: string;
|
|
3794
|
+
soleTrader: boolean;
|
|
3739
3795
|
director: string;
|
|
3796
|
+
createdAt: string | Date;
|
|
3797
|
+
updatedAt: string | Date;
|
|
3740
3798
|
blacklistReason?: string | null | undefined;
|
|
3741
3799
|
lastUpdatedBy?: {
|
|
3742
3800
|
id: string;
|
|
@@ -3748,6 +3806,12 @@ export declare const jobsContractRouter: {
|
|
|
3748
3806
|
agentId: string;
|
|
3749
3807
|
} | null | undefined;
|
|
3750
3808
|
} | null | undefined;
|
|
3809
|
+
company?: {
|
|
3810
|
+
id: string;
|
|
3811
|
+
name: string;
|
|
3812
|
+
createdAt: string | Date;
|
|
3813
|
+
updatedAt: string | Date;
|
|
3814
|
+
} | null | undefined;
|
|
3751
3815
|
user?: {
|
|
3752
3816
|
id: string;
|
|
3753
3817
|
firstName: string;
|
|
@@ -3759,10 +3823,10 @@ export declare const jobsContractRouter: {
|
|
|
3759
3823
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3760
3824
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3761
3825
|
}, "strip", z.ZodTypeAny, {
|
|
3826
|
+
id: string;
|
|
3827
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3762
3828
|
createdAt: string;
|
|
3763
3829
|
updatedAt: string;
|
|
3764
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3765
|
-
id: string;
|
|
3766
3830
|
description: string;
|
|
3767
3831
|
numberOfPositions: number;
|
|
3768
3832
|
pay: {
|
|
@@ -3788,26 +3852,21 @@ export declare const jobsContractRouter: {
|
|
|
3788
3852
|
areaCovered?: string | null | undefined;
|
|
3789
3853
|
} | null | undefined;
|
|
3790
3854
|
currentCollaboration?: {
|
|
3855
|
+
id: string;
|
|
3856
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3791
3857
|
createdAt: string;
|
|
3792
3858
|
updatedAt: string;
|
|
3793
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3794
|
-
id: string;
|
|
3795
3859
|
userId: string;
|
|
3796
|
-
company?: {
|
|
3797
|
-
createdAt: string;
|
|
3798
|
-
updatedAt: string;
|
|
3799
|
-
id: string;
|
|
3800
|
-
name: string;
|
|
3801
|
-
} | null | undefined;
|
|
3802
3860
|
client?: {
|
|
3803
|
-
createdAt: string;
|
|
3804
|
-
updatedAt: string;
|
|
3805
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3806
3861
|
id: string;
|
|
3862
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3807
3863
|
name: string;
|
|
3808
|
-
crn: string;
|
|
3864
|
+
crn: string | null;
|
|
3809
3865
|
govLink: string;
|
|
3866
|
+
soleTrader: boolean;
|
|
3810
3867
|
director: string;
|
|
3868
|
+
createdAt: string;
|
|
3869
|
+
updatedAt: string;
|
|
3811
3870
|
blacklistReason?: string | null | undefined;
|
|
3812
3871
|
lastUpdatedBy?: {
|
|
3813
3872
|
id: string;
|
|
@@ -3819,6 +3878,12 @@ export declare const jobsContractRouter: {
|
|
|
3819
3878
|
agentId: string;
|
|
3820
3879
|
} | null | undefined;
|
|
3821
3880
|
} | null | undefined;
|
|
3881
|
+
company?: {
|
|
3882
|
+
id: string;
|
|
3883
|
+
name: string;
|
|
3884
|
+
createdAt: string;
|
|
3885
|
+
updatedAt: string;
|
|
3886
|
+
} | null | undefined;
|
|
3822
3887
|
user?: {
|
|
3823
3888
|
id: string;
|
|
3824
3889
|
firstName: string;
|
|
@@ -3826,26 +3891,21 @@ export declare const jobsContractRouter: {
|
|
|
3826
3891
|
email: string;
|
|
3827
3892
|
} | null | undefined;
|
|
3828
3893
|
newCollaboration?: {
|
|
3894
|
+
id: string;
|
|
3895
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3829
3896
|
createdAt: string;
|
|
3830
3897
|
updatedAt: string;
|
|
3831
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3832
|
-
id: string;
|
|
3833
3898
|
userId: string;
|
|
3834
|
-
company?: {
|
|
3835
|
-
createdAt: string;
|
|
3836
|
-
updatedAt: string;
|
|
3837
|
-
id: string;
|
|
3838
|
-
name: string;
|
|
3839
|
-
} | null | undefined;
|
|
3840
3899
|
client?: {
|
|
3841
|
-
createdAt: string;
|
|
3842
|
-
updatedAt: string;
|
|
3843
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3844
3900
|
id: string;
|
|
3901
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3845
3902
|
name: string;
|
|
3846
|
-
crn: string;
|
|
3903
|
+
crn: string | null;
|
|
3847
3904
|
govLink: string;
|
|
3905
|
+
soleTrader: boolean;
|
|
3848
3906
|
director: string;
|
|
3907
|
+
createdAt: string;
|
|
3908
|
+
updatedAt: string;
|
|
3849
3909
|
blacklistReason?: string | null | undefined;
|
|
3850
3910
|
lastUpdatedBy?: {
|
|
3851
3911
|
id: string;
|
|
@@ -3857,6 +3917,12 @@ export declare const jobsContractRouter: {
|
|
|
3857
3917
|
agentId: string;
|
|
3858
3918
|
} | null | undefined;
|
|
3859
3919
|
} | null | undefined;
|
|
3920
|
+
company?: {
|
|
3921
|
+
id: string;
|
|
3922
|
+
name: string;
|
|
3923
|
+
createdAt: string;
|
|
3924
|
+
updatedAt: string;
|
|
3925
|
+
} | null | undefined;
|
|
3860
3926
|
user?: {
|
|
3861
3927
|
id: string;
|
|
3862
3928
|
firstName: string;
|
|
@@ -3866,10 +3932,10 @@ export declare const jobsContractRouter: {
|
|
|
3866
3932
|
} | null | undefined;
|
|
3867
3933
|
} | null | undefined;
|
|
3868
3934
|
}, {
|
|
3935
|
+
id: string;
|
|
3936
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3869
3937
|
createdAt: string | Date;
|
|
3870
3938
|
updatedAt: string | Date;
|
|
3871
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3872
|
-
id: string;
|
|
3873
3939
|
description: string;
|
|
3874
3940
|
numberOfPositions: number;
|
|
3875
3941
|
pay: {
|
|
@@ -3895,26 +3961,21 @@ export declare const jobsContractRouter: {
|
|
|
3895
3961
|
qualificationTypeId?: string | null | undefined;
|
|
3896
3962
|
}[] | undefined;
|
|
3897
3963
|
currentCollaboration?: {
|
|
3964
|
+
id: string;
|
|
3965
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3898
3966
|
createdAt: string | Date;
|
|
3899
3967
|
updatedAt: string | Date;
|
|
3900
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3901
|
-
id: string;
|
|
3902
3968
|
userId: string;
|
|
3903
|
-
company?: {
|
|
3904
|
-
createdAt: string | Date;
|
|
3905
|
-
updatedAt: string | Date;
|
|
3906
|
-
id: string;
|
|
3907
|
-
name: string;
|
|
3908
|
-
} | null | undefined;
|
|
3909
3969
|
client?: {
|
|
3910
|
-
createdAt: string | Date;
|
|
3911
|
-
updatedAt: string | Date;
|
|
3912
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3913
3970
|
id: string;
|
|
3971
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3914
3972
|
name: string;
|
|
3915
|
-
crn: string;
|
|
3973
|
+
crn: string | null;
|
|
3916
3974
|
govLink: string;
|
|
3975
|
+
soleTrader: boolean;
|
|
3917
3976
|
director: string;
|
|
3977
|
+
createdAt: string | Date;
|
|
3978
|
+
updatedAt: string | Date;
|
|
3918
3979
|
blacklistReason?: string | null | undefined;
|
|
3919
3980
|
lastUpdatedBy?: {
|
|
3920
3981
|
id: string;
|
|
@@ -3926,6 +3987,12 @@ export declare const jobsContractRouter: {
|
|
|
3926
3987
|
agentId: string;
|
|
3927
3988
|
} | null | undefined;
|
|
3928
3989
|
} | null | undefined;
|
|
3990
|
+
company?: {
|
|
3991
|
+
id: string;
|
|
3992
|
+
name: string;
|
|
3993
|
+
createdAt: string | Date;
|
|
3994
|
+
updatedAt: string | Date;
|
|
3995
|
+
} | null | undefined;
|
|
3929
3996
|
user?: {
|
|
3930
3997
|
id: string;
|
|
3931
3998
|
firstName: string;
|
|
@@ -3933,26 +4000,21 @@ export declare const jobsContractRouter: {
|
|
|
3933
4000
|
email: string;
|
|
3934
4001
|
} | null | undefined;
|
|
3935
4002
|
newCollaboration?: {
|
|
4003
|
+
id: string;
|
|
4004
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3936
4005
|
createdAt: string | Date;
|
|
3937
4006
|
updatedAt: string | Date;
|
|
3938
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3939
|
-
id: string;
|
|
3940
4007
|
userId: string;
|
|
3941
|
-
company?: {
|
|
3942
|
-
createdAt: string | Date;
|
|
3943
|
-
updatedAt: string | Date;
|
|
3944
|
-
id: string;
|
|
3945
|
-
name: string;
|
|
3946
|
-
} | null | undefined;
|
|
3947
4008
|
client?: {
|
|
3948
|
-
createdAt: string | Date;
|
|
3949
|
-
updatedAt: string | Date;
|
|
3950
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3951
4009
|
id: string;
|
|
4010
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3952
4011
|
name: string;
|
|
3953
|
-
crn: string;
|
|
4012
|
+
crn: string | null;
|
|
3954
4013
|
govLink: string;
|
|
4014
|
+
soleTrader: boolean;
|
|
3955
4015
|
director: string;
|
|
4016
|
+
createdAt: string | Date;
|
|
4017
|
+
updatedAt: string | Date;
|
|
3956
4018
|
blacklistReason?: string | null | undefined;
|
|
3957
4019
|
lastUpdatedBy?: {
|
|
3958
4020
|
id: string;
|
|
@@ -3964,6 +4026,12 @@ export declare const jobsContractRouter: {
|
|
|
3964
4026
|
agentId: string;
|
|
3965
4027
|
} | null | undefined;
|
|
3966
4028
|
} | null | undefined;
|
|
4029
|
+
company?: {
|
|
4030
|
+
id: string;
|
|
4031
|
+
name: string;
|
|
4032
|
+
createdAt: string | Date;
|
|
4033
|
+
updatedAt: string | Date;
|
|
4034
|
+
} | null | undefined;
|
|
3967
4035
|
user?: {
|
|
3968
4036
|
id: string;
|
|
3969
4037
|
firstName: string;
|
|
@@ -3981,10 +4049,10 @@ export declare const jobsContractRouter: {
|
|
|
3981
4049
|
}, "strip", z.ZodTypeAny, {
|
|
3982
4050
|
limit: number;
|
|
3983
4051
|
items: {
|
|
4052
|
+
id: string;
|
|
4053
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3984
4054
|
createdAt: string;
|
|
3985
4055
|
updatedAt: string;
|
|
3986
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3987
|
-
id: string;
|
|
3988
4056
|
description: string;
|
|
3989
4057
|
numberOfPositions: number;
|
|
3990
4058
|
pay: {
|
|
@@ -4010,26 +4078,21 @@ export declare const jobsContractRouter: {
|
|
|
4010
4078
|
areaCovered?: string | null | undefined;
|
|
4011
4079
|
} | null | undefined;
|
|
4012
4080
|
currentCollaboration?: {
|
|
4081
|
+
id: string;
|
|
4082
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4013
4083
|
createdAt: string;
|
|
4014
4084
|
updatedAt: string;
|
|
4015
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4016
|
-
id: string;
|
|
4017
4085
|
userId: string;
|
|
4018
|
-
company?: {
|
|
4019
|
-
createdAt: string;
|
|
4020
|
-
updatedAt: string;
|
|
4021
|
-
id: string;
|
|
4022
|
-
name: string;
|
|
4023
|
-
} | null | undefined;
|
|
4024
4086
|
client?: {
|
|
4025
|
-
createdAt: string;
|
|
4026
|
-
updatedAt: string;
|
|
4027
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4028
4087
|
id: string;
|
|
4088
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4029
4089
|
name: string;
|
|
4030
|
-
crn: string;
|
|
4090
|
+
crn: string | null;
|
|
4031
4091
|
govLink: string;
|
|
4092
|
+
soleTrader: boolean;
|
|
4032
4093
|
director: string;
|
|
4094
|
+
createdAt: string;
|
|
4095
|
+
updatedAt: string;
|
|
4033
4096
|
blacklistReason?: string | null | undefined;
|
|
4034
4097
|
lastUpdatedBy?: {
|
|
4035
4098
|
id: string;
|
|
@@ -4041,6 +4104,12 @@ export declare const jobsContractRouter: {
|
|
|
4041
4104
|
agentId: string;
|
|
4042
4105
|
} | null | undefined;
|
|
4043
4106
|
} | null | undefined;
|
|
4107
|
+
company?: {
|
|
4108
|
+
id: string;
|
|
4109
|
+
name: string;
|
|
4110
|
+
createdAt: string;
|
|
4111
|
+
updatedAt: string;
|
|
4112
|
+
} | null | undefined;
|
|
4044
4113
|
user?: {
|
|
4045
4114
|
id: string;
|
|
4046
4115
|
firstName: string;
|
|
@@ -4048,26 +4117,21 @@ export declare const jobsContractRouter: {
|
|
|
4048
4117
|
email: string;
|
|
4049
4118
|
} | null | undefined;
|
|
4050
4119
|
newCollaboration?: {
|
|
4120
|
+
id: string;
|
|
4121
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4051
4122
|
createdAt: string;
|
|
4052
4123
|
updatedAt: string;
|
|
4053
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4054
|
-
id: string;
|
|
4055
4124
|
userId: string;
|
|
4056
|
-
company?: {
|
|
4057
|
-
createdAt: string;
|
|
4058
|
-
updatedAt: string;
|
|
4059
|
-
id: string;
|
|
4060
|
-
name: string;
|
|
4061
|
-
} | null | undefined;
|
|
4062
4125
|
client?: {
|
|
4063
|
-
createdAt: string;
|
|
4064
|
-
updatedAt: string;
|
|
4065
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4066
4126
|
id: string;
|
|
4127
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4067
4128
|
name: string;
|
|
4068
|
-
crn: string;
|
|
4129
|
+
crn: string | null;
|
|
4069
4130
|
govLink: string;
|
|
4131
|
+
soleTrader: boolean;
|
|
4070
4132
|
director: string;
|
|
4133
|
+
createdAt: string;
|
|
4134
|
+
updatedAt: string;
|
|
4071
4135
|
blacklistReason?: string | null | undefined;
|
|
4072
4136
|
lastUpdatedBy?: {
|
|
4073
4137
|
id: string;
|
|
@@ -4079,6 +4143,12 @@ export declare const jobsContractRouter: {
|
|
|
4079
4143
|
agentId: string;
|
|
4080
4144
|
} | null | undefined;
|
|
4081
4145
|
} | null | undefined;
|
|
4146
|
+
company?: {
|
|
4147
|
+
id: string;
|
|
4148
|
+
name: string;
|
|
4149
|
+
createdAt: string;
|
|
4150
|
+
updatedAt: string;
|
|
4151
|
+
} | null | undefined;
|
|
4082
4152
|
user?: {
|
|
4083
4153
|
id: string;
|
|
4084
4154
|
firstName: string;
|
|
@@ -4095,10 +4165,10 @@ export declare const jobsContractRouter: {
|
|
|
4095
4165
|
}, {
|
|
4096
4166
|
limit: number;
|
|
4097
4167
|
items: {
|
|
4168
|
+
id: string;
|
|
4169
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4098
4170
|
createdAt: string | Date;
|
|
4099
4171
|
updatedAt: string | Date;
|
|
4100
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4101
|
-
id: string;
|
|
4102
4172
|
description: string;
|
|
4103
4173
|
numberOfPositions: number;
|
|
4104
4174
|
pay: {
|
|
@@ -4124,26 +4194,21 @@ export declare const jobsContractRouter: {
|
|
|
4124
4194
|
qualificationTypeId?: string | null | undefined;
|
|
4125
4195
|
}[] | undefined;
|
|
4126
4196
|
currentCollaboration?: {
|
|
4197
|
+
id: string;
|
|
4198
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4127
4199
|
createdAt: string | Date;
|
|
4128
4200
|
updatedAt: string | Date;
|
|
4129
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4130
|
-
id: string;
|
|
4131
4201
|
userId: string;
|
|
4132
|
-
company?: {
|
|
4133
|
-
createdAt: string | Date;
|
|
4134
|
-
updatedAt: string | Date;
|
|
4135
|
-
id: string;
|
|
4136
|
-
name: string;
|
|
4137
|
-
} | null | undefined;
|
|
4138
4202
|
client?: {
|
|
4139
|
-
createdAt: string | Date;
|
|
4140
|
-
updatedAt: string | Date;
|
|
4141
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4142
4203
|
id: string;
|
|
4204
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4143
4205
|
name: string;
|
|
4144
|
-
crn: string;
|
|
4206
|
+
crn: string | null;
|
|
4145
4207
|
govLink: string;
|
|
4208
|
+
soleTrader: boolean;
|
|
4146
4209
|
director: string;
|
|
4210
|
+
createdAt: string | Date;
|
|
4211
|
+
updatedAt: string | Date;
|
|
4147
4212
|
blacklistReason?: string | null | undefined;
|
|
4148
4213
|
lastUpdatedBy?: {
|
|
4149
4214
|
id: string;
|
|
@@ -4155,6 +4220,12 @@ export declare const jobsContractRouter: {
|
|
|
4155
4220
|
agentId: string;
|
|
4156
4221
|
} | null | undefined;
|
|
4157
4222
|
} | null | undefined;
|
|
4223
|
+
company?: {
|
|
4224
|
+
id: string;
|
|
4225
|
+
name: string;
|
|
4226
|
+
createdAt: string | Date;
|
|
4227
|
+
updatedAt: string | Date;
|
|
4228
|
+
} | null | undefined;
|
|
4158
4229
|
user?: {
|
|
4159
4230
|
id: string;
|
|
4160
4231
|
firstName: string;
|
|
@@ -4162,26 +4233,21 @@ export declare const jobsContractRouter: {
|
|
|
4162
4233
|
email: string;
|
|
4163
4234
|
} | null | undefined;
|
|
4164
4235
|
newCollaboration?: {
|
|
4236
|
+
id: string;
|
|
4237
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4165
4238
|
createdAt: string | Date;
|
|
4166
4239
|
updatedAt: string | Date;
|
|
4167
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4168
|
-
id: string;
|
|
4169
4240
|
userId: string;
|
|
4170
|
-
company?: {
|
|
4171
|
-
createdAt: string | Date;
|
|
4172
|
-
updatedAt: string | Date;
|
|
4173
|
-
id: string;
|
|
4174
|
-
name: string;
|
|
4175
|
-
} | null | undefined;
|
|
4176
4241
|
client?: {
|
|
4177
|
-
createdAt: string | Date;
|
|
4178
|
-
updatedAt: string | Date;
|
|
4179
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4180
4242
|
id: string;
|
|
4243
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4181
4244
|
name: string;
|
|
4182
|
-
crn: string;
|
|
4245
|
+
crn: string | null;
|
|
4183
4246
|
govLink: string;
|
|
4247
|
+
soleTrader: boolean;
|
|
4184
4248
|
director: string;
|
|
4249
|
+
createdAt: string | Date;
|
|
4250
|
+
updatedAt: string | Date;
|
|
4185
4251
|
blacklistReason?: string | null | undefined;
|
|
4186
4252
|
lastUpdatedBy?: {
|
|
4187
4253
|
id: string;
|
|
@@ -4193,6 +4259,12 @@ export declare const jobsContractRouter: {
|
|
|
4193
4259
|
agentId: string;
|
|
4194
4260
|
} | null | undefined;
|
|
4195
4261
|
} | null | undefined;
|
|
4262
|
+
company?: {
|
|
4263
|
+
id: string;
|
|
4264
|
+
name: string;
|
|
4265
|
+
createdAt: string | Date;
|
|
4266
|
+
updatedAt: string | Date;
|
|
4267
|
+
} | null | undefined;
|
|
4196
4268
|
user?: {
|
|
4197
4269
|
id: string;
|
|
4198
4270
|
firstName: string;
|
|
@@ -4396,21 +4468,22 @@ export declare const jobsContractRouter: {
|
|
|
4396
4468
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4397
4469
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4398
4470
|
}, "strip", z.ZodTypeAny, {
|
|
4471
|
+
id: string;
|
|
4472
|
+
name: string;
|
|
4399
4473
|
createdAt: string;
|
|
4400
4474
|
updatedAt: string;
|
|
4475
|
+
}, {
|
|
4401
4476
|
id: string;
|
|
4402
4477
|
name: string;
|
|
4403
|
-
}, {
|
|
4404
4478
|
createdAt: string | Date;
|
|
4405
4479
|
updatedAt: string | Date;
|
|
4406
|
-
id: string;
|
|
4407
|
-
name: string;
|
|
4408
4480
|
}>>>;
|
|
4409
4481
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4410
4482
|
id: z.ZodString;
|
|
4411
4483
|
name: z.ZodString;
|
|
4412
|
-
crn: z.ZodString
|
|
4484
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
4413
4485
|
govLink: z.ZodString;
|
|
4486
|
+
soleTrader: z.ZodBoolean;
|
|
4414
4487
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
4415
4488
|
director: z.ZodString;
|
|
4416
4489
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4440,14 +4513,15 @@ export declare const jobsContractRouter: {
|
|
|
4440
4513
|
agentId: string;
|
|
4441
4514
|
}>>>;
|
|
4442
4515
|
}, "strip", z.ZodTypeAny, {
|
|
4443
|
-
createdAt: string;
|
|
4444
|
-
updatedAt: string;
|
|
4445
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4446
4516
|
id: string;
|
|
4517
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4447
4518
|
name: string;
|
|
4448
|
-
crn: string;
|
|
4519
|
+
crn: string | null;
|
|
4449
4520
|
govLink: string;
|
|
4521
|
+
soleTrader: boolean;
|
|
4450
4522
|
director: string;
|
|
4523
|
+
createdAt: string;
|
|
4524
|
+
updatedAt: string;
|
|
4451
4525
|
blacklistReason?: string | null | undefined;
|
|
4452
4526
|
lastUpdatedBy?: {
|
|
4453
4527
|
id: string;
|
|
@@ -4459,14 +4533,15 @@ export declare const jobsContractRouter: {
|
|
|
4459
4533
|
agentId: string;
|
|
4460
4534
|
} | null | undefined;
|
|
4461
4535
|
}, {
|
|
4462
|
-
createdAt: string | Date;
|
|
4463
|
-
updatedAt: string | Date;
|
|
4464
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4465
4536
|
id: string;
|
|
4537
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4466
4538
|
name: string;
|
|
4467
|
-
crn: string;
|
|
4539
|
+
crn: string | null;
|
|
4468
4540
|
govLink: string;
|
|
4541
|
+
soleTrader: boolean;
|
|
4469
4542
|
director: string;
|
|
4543
|
+
createdAt: string | Date;
|
|
4544
|
+
updatedAt: string | Date;
|
|
4470
4545
|
blacklistReason?: string | null | undefined;
|
|
4471
4546
|
lastUpdatedBy?: {
|
|
4472
4547
|
id: string;
|
|
@@ -4507,21 +4582,22 @@ export declare const jobsContractRouter: {
|
|
|
4507
4582
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4508
4583
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4509
4584
|
}, "strip", z.ZodTypeAny, {
|
|
4585
|
+
id: string;
|
|
4586
|
+
name: string;
|
|
4510
4587
|
createdAt: string;
|
|
4511
4588
|
updatedAt: string;
|
|
4589
|
+
}, {
|
|
4512
4590
|
id: string;
|
|
4513
4591
|
name: string;
|
|
4514
|
-
}, {
|
|
4515
4592
|
createdAt: string | Date;
|
|
4516
4593
|
updatedAt: string | Date;
|
|
4517
|
-
id: string;
|
|
4518
|
-
name: string;
|
|
4519
4594
|
}>>>;
|
|
4520
4595
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4521
4596
|
id: z.ZodString;
|
|
4522
4597
|
name: z.ZodString;
|
|
4523
|
-
crn: z.ZodString
|
|
4598
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
4524
4599
|
govLink: z.ZodString;
|
|
4600
|
+
soleTrader: z.ZodBoolean;
|
|
4525
4601
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
4526
4602
|
director: z.ZodString;
|
|
4527
4603
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4551,14 +4627,15 @@ export declare const jobsContractRouter: {
|
|
|
4551
4627
|
agentId: string;
|
|
4552
4628
|
}>>>;
|
|
4553
4629
|
}, "strip", z.ZodTypeAny, {
|
|
4554
|
-
createdAt: string;
|
|
4555
|
-
updatedAt: string;
|
|
4556
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4557
4630
|
id: string;
|
|
4631
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4558
4632
|
name: string;
|
|
4559
|
-
crn: string;
|
|
4633
|
+
crn: string | null;
|
|
4560
4634
|
govLink: string;
|
|
4635
|
+
soleTrader: boolean;
|
|
4561
4636
|
director: string;
|
|
4637
|
+
createdAt: string;
|
|
4638
|
+
updatedAt: string;
|
|
4562
4639
|
blacklistReason?: string | null | undefined;
|
|
4563
4640
|
lastUpdatedBy?: {
|
|
4564
4641
|
id: string;
|
|
@@ -4570,14 +4647,15 @@ export declare const jobsContractRouter: {
|
|
|
4570
4647
|
agentId: string;
|
|
4571
4648
|
} | null | undefined;
|
|
4572
4649
|
}, {
|
|
4573
|
-
createdAt: string | Date;
|
|
4574
|
-
updatedAt: string | Date;
|
|
4575
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4576
4650
|
id: string;
|
|
4651
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4577
4652
|
name: string;
|
|
4578
|
-
crn: string;
|
|
4653
|
+
crn: string | null;
|
|
4579
4654
|
govLink: string;
|
|
4655
|
+
soleTrader: boolean;
|
|
4580
4656
|
director: string;
|
|
4657
|
+
createdAt: string | Date;
|
|
4658
|
+
updatedAt: string | Date;
|
|
4581
4659
|
blacklistReason?: string | null | undefined;
|
|
4582
4660
|
lastUpdatedBy?: {
|
|
4583
4661
|
id: string;
|
|
@@ -4610,26 +4688,21 @@ export declare const jobsContractRouter: {
|
|
|
4610
4688
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4611
4689
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4612
4690
|
}, "strip", z.ZodTypeAny, {
|
|
4691
|
+
id: string;
|
|
4692
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4613
4693
|
createdAt: string;
|
|
4614
4694
|
updatedAt: string;
|
|
4615
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4616
|
-
id: string;
|
|
4617
4695
|
userId: string;
|
|
4618
|
-
company?: {
|
|
4619
|
-
createdAt: string;
|
|
4620
|
-
updatedAt: string;
|
|
4621
|
-
id: string;
|
|
4622
|
-
name: string;
|
|
4623
|
-
} | null | undefined;
|
|
4624
4696
|
client?: {
|
|
4625
|
-
createdAt: string;
|
|
4626
|
-
updatedAt: string;
|
|
4627
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4628
4697
|
id: string;
|
|
4698
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4629
4699
|
name: string;
|
|
4630
|
-
crn: string;
|
|
4700
|
+
crn: string | null;
|
|
4631
4701
|
govLink: string;
|
|
4702
|
+
soleTrader: boolean;
|
|
4632
4703
|
director: string;
|
|
4704
|
+
createdAt: string;
|
|
4705
|
+
updatedAt: string;
|
|
4633
4706
|
blacklistReason?: string | null | undefined;
|
|
4634
4707
|
lastUpdatedBy?: {
|
|
4635
4708
|
id: string;
|
|
@@ -4641,6 +4714,12 @@ export declare const jobsContractRouter: {
|
|
|
4641
4714
|
agentId: string;
|
|
4642
4715
|
} | null | undefined;
|
|
4643
4716
|
} | null | undefined;
|
|
4717
|
+
company?: {
|
|
4718
|
+
id: string;
|
|
4719
|
+
name: string;
|
|
4720
|
+
createdAt: string;
|
|
4721
|
+
updatedAt: string;
|
|
4722
|
+
} | null | undefined;
|
|
4644
4723
|
user?: {
|
|
4645
4724
|
id: string;
|
|
4646
4725
|
firstName: string;
|
|
@@ -4648,26 +4727,21 @@ export declare const jobsContractRouter: {
|
|
|
4648
4727
|
email: string;
|
|
4649
4728
|
} | null | undefined;
|
|
4650
4729
|
}, {
|
|
4730
|
+
id: string;
|
|
4731
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4651
4732
|
createdAt: string | Date;
|
|
4652
4733
|
updatedAt: string | Date;
|
|
4653
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4654
|
-
id: string;
|
|
4655
4734
|
userId: string;
|
|
4656
|
-
company?: {
|
|
4657
|
-
createdAt: string | Date;
|
|
4658
|
-
updatedAt: string | Date;
|
|
4659
|
-
id: string;
|
|
4660
|
-
name: string;
|
|
4661
|
-
} | null | undefined;
|
|
4662
4735
|
client?: {
|
|
4663
|
-
createdAt: string | Date;
|
|
4664
|
-
updatedAt: string | Date;
|
|
4665
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4666
4736
|
id: string;
|
|
4737
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4667
4738
|
name: string;
|
|
4668
|
-
crn: string;
|
|
4739
|
+
crn: string | null;
|
|
4669
4740
|
govLink: string;
|
|
4741
|
+
soleTrader: boolean;
|
|
4670
4742
|
director: string;
|
|
4743
|
+
createdAt: string | Date;
|
|
4744
|
+
updatedAt: string | Date;
|
|
4671
4745
|
blacklistReason?: string | null | undefined;
|
|
4672
4746
|
lastUpdatedBy?: {
|
|
4673
4747
|
id: string;
|
|
@@ -4679,6 +4753,12 @@ export declare const jobsContractRouter: {
|
|
|
4679
4753
|
agentId: string;
|
|
4680
4754
|
} | null | undefined;
|
|
4681
4755
|
} | null | undefined;
|
|
4756
|
+
company?: {
|
|
4757
|
+
id: string;
|
|
4758
|
+
name: string;
|
|
4759
|
+
createdAt: string | Date;
|
|
4760
|
+
updatedAt: string | Date;
|
|
4761
|
+
} | null | undefined;
|
|
4682
4762
|
user?: {
|
|
4683
4763
|
id: string;
|
|
4684
4764
|
firstName: string;
|
|
@@ -4687,26 +4767,21 @@ export declare const jobsContractRouter: {
|
|
|
4687
4767
|
} | null | undefined;
|
|
4688
4768
|
}>>>;
|
|
4689
4769
|
}, "strip", z.ZodTypeAny, {
|
|
4770
|
+
id: string;
|
|
4771
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4690
4772
|
createdAt: string;
|
|
4691
4773
|
updatedAt: string;
|
|
4692
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4693
|
-
id: string;
|
|
4694
4774
|
userId: string;
|
|
4695
|
-
company?: {
|
|
4696
|
-
createdAt: string;
|
|
4697
|
-
updatedAt: string;
|
|
4698
|
-
id: string;
|
|
4699
|
-
name: string;
|
|
4700
|
-
} | null | undefined;
|
|
4701
4775
|
client?: {
|
|
4702
|
-
createdAt: string;
|
|
4703
|
-
updatedAt: string;
|
|
4704
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4705
4776
|
id: string;
|
|
4777
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4706
4778
|
name: string;
|
|
4707
|
-
crn: string;
|
|
4779
|
+
crn: string | null;
|
|
4708
4780
|
govLink: string;
|
|
4781
|
+
soleTrader: boolean;
|
|
4709
4782
|
director: string;
|
|
4783
|
+
createdAt: string;
|
|
4784
|
+
updatedAt: string;
|
|
4710
4785
|
blacklistReason?: string | null | undefined;
|
|
4711
4786
|
lastUpdatedBy?: {
|
|
4712
4787
|
id: string;
|
|
@@ -4718,6 +4793,12 @@ export declare const jobsContractRouter: {
|
|
|
4718
4793
|
agentId: string;
|
|
4719
4794
|
} | null | undefined;
|
|
4720
4795
|
} | null | undefined;
|
|
4796
|
+
company?: {
|
|
4797
|
+
id: string;
|
|
4798
|
+
name: string;
|
|
4799
|
+
createdAt: string;
|
|
4800
|
+
updatedAt: string;
|
|
4801
|
+
} | null | undefined;
|
|
4721
4802
|
user?: {
|
|
4722
4803
|
id: string;
|
|
4723
4804
|
firstName: string;
|
|
@@ -4725,26 +4806,21 @@ export declare const jobsContractRouter: {
|
|
|
4725
4806
|
email: string;
|
|
4726
4807
|
} | null | undefined;
|
|
4727
4808
|
newCollaboration?: {
|
|
4809
|
+
id: string;
|
|
4810
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4728
4811
|
createdAt: string;
|
|
4729
4812
|
updatedAt: string;
|
|
4730
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4731
|
-
id: string;
|
|
4732
4813
|
userId: string;
|
|
4733
|
-
company?: {
|
|
4734
|
-
createdAt: string;
|
|
4735
|
-
updatedAt: string;
|
|
4736
|
-
id: string;
|
|
4737
|
-
name: string;
|
|
4738
|
-
} | null | undefined;
|
|
4739
4814
|
client?: {
|
|
4740
|
-
createdAt: string;
|
|
4741
|
-
updatedAt: string;
|
|
4742
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4743
4815
|
id: string;
|
|
4816
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4744
4817
|
name: string;
|
|
4745
|
-
crn: string;
|
|
4818
|
+
crn: string | null;
|
|
4746
4819
|
govLink: string;
|
|
4820
|
+
soleTrader: boolean;
|
|
4747
4821
|
director: string;
|
|
4822
|
+
createdAt: string;
|
|
4823
|
+
updatedAt: string;
|
|
4748
4824
|
blacklistReason?: string | null | undefined;
|
|
4749
4825
|
lastUpdatedBy?: {
|
|
4750
4826
|
id: string;
|
|
@@ -4756,6 +4832,12 @@ export declare const jobsContractRouter: {
|
|
|
4756
4832
|
agentId: string;
|
|
4757
4833
|
} | null | undefined;
|
|
4758
4834
|
} | null | undefined;
|
|
4835
|
+
company?: {
|
|
4836
|
+
id: string;
|
|
4837
|
+
name: string;
|
|
4838
|
+
createdAt: string;
|
|
4839
|
+
updatedAt: string;
|
|
4840
|
+
} | null | undefined;
|
|
4759
4841
|
user?: {
|
|
4760
4842
|
id: string;
|
|
4761
4843
|
firstName: string;
|
|
@@ -4764,26 +4846,21 @@ export declare const jobsContractRouter: {
|
|
|
4764
4846
|
} | null | undefined;
|
|
4765
4847
|
} | null | undefined;
|
|
4766
4848
|
}, {
|
|
4849
|
+
id: string;
|
|
4850
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4767
4851
|
createdAt: string | Date;
|
|
4768
4852
|
updatedAt: string | Date;
|
|
4769
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4770
|
-
id: string;
|
|
4771
4853
|
userId: string;
|
|
4772
|
-
company?: {
|
|
4773
|
-
createdAt: string | Date;
|
|
4774
|
-
updatedAt: string | Date;
|
|
4775
|
-
id: string;
|
|
4776
|
-
name: string;
|
|
4777
|
-
} | null | undefined;
|
|
4778
4854
|
client?: {
|
|
4779
|
-
createdAt: string | Date;
|
|
4780
|
-
updatedAt: string | Date;
|
|
4781
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4782
4855
|
id: string;
|
|
4856
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4783
4857
|
name: string;
|
|
4784
|
-
crn: string;
|
|
4858
|
+
crn: string | null;
|
|
4785
4859
|
govLink: string;
|
|
4860
|
+
soleTrader: boolean;
|
|
4786
4861
|
director: string;
|
|
4862
|
+
createdAt: string | Date;
|
|
4863
|
+
updatedAt: string | Date;
|
|
4787
4864
|
blacklistReason?: string | null | undefined;
|
|
4788
4865
|
lastUpdatedBy?: {
|
|
4789
4866
|
id: string;
|
|
@@ -4795,6 +4872,12 @@ export declare const jobsContractRouter: {
|
|
|
4795
4872
|
agentId: string;
|
|
4796
4873
|
} | null | undefined;
|
|
4797
4874
|
} | null | undefined;
|
|
4875
|
+
company?: {
|
|
4876
|
+
id: string;
|
|
4877
|
+
name: string;
|
|
4878
|
+
createdAt: string | Date;
|
|
4879
|
+
updatedAt: string | Date;
|
|
4880
|
+
} | null | undefined;
|
|
4798
4881
|
user?: {
|
|
4799
4882
|
id: string;
|
|
4800
4883
|
firstName: string;
|
|
@@ -4802,26 +4885,21 @@ export declare const jobsContractRouter: {
|
|
|
4802
4885
|
email: string;
|
|
4803
4886
|
} | null | undefined;
|
|
4804
4887
|
newCollaboration?: {
|
|
4888
|
+
id: string;
|
|
4889
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4805
4890
|
createdAt: string | Date;
|
|
4806
4891
|
updatedAt: string | Date;
|
|
4807
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4808
|
-
id: string;
|
|
4809
4892
|
userId: string;
|
|
4810
|
-
company?: {
|
|
4811
|
-
createdAt: string | Date;
|
|
4812
|
-
updatedAt: string | Date;
|
|
4813
|
-
id: string;
|
|
4814
|
-
name: string;
|
|
4815
|
-
} | null | undefined;
|
|
4816
4893
|
client?: {
|
|
4817
|
-
createdAt: string | Date;
|
|
4818
|
-
updatedAt: string | Date;
|
|
4819
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4820
4894
|
id: string;
|
|
4895
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4821
4896
|
name: string;
|
|
4822
|
-
crn: string;
|
|
4897
|
+
crn: string | null;
|
|
4823
4898
|
govLink: string;
|
|
4899
|
+
soleTrader: boolean;
|
|
4824
4900
|
director: string;
|
|
4901
|
+
createdAt: string | Date;
|
|
4902
|
+
updatedAt: string | Date;
|
|
4825
4903
|
blacklistReason?: string | null | undefined;
|
|
4826
4904
|
lastUpdatedBy?: {
|
|
4827
4905
|
id: string;
|
|
@@ -4833,6 +4911,12 @@ export declare const jobsContractRouter: {
|
|
|
4833
4911
|
agentId: string;
|
|
4834
4912
|
} | null | undefined;
|
|
4835
4913
|
} | null | undefined;
|
|
4914
|
+
company?: {
|
|
4915
|
+
id: string;
|
|
4916
|
+
name: string;
|
|
4917
|
+
createdAt: string | Date;
|
|
4918
|
+
updatedAt: string | Date;
|
|
4919
|
+
} | null | undefined;
|
|
4836
4920
|
user?: {
|
|
4837
4921
|
id: string;
|
|
4838
4922
|
firstName: string;
|
|
@@ -4844,10 +4928,10 @@ export declare const jobsContractRouter: {
|
|
|
4844
4928
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4845
4929
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4846
4930
|
}, "strip", z.ZodTypeAny, {
|
|
4931
|
+
id: string;
|
|
4932
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4847
4933
|
createdAt: string;
|
|
4848
4934
|
updatedAt: string;
|
|
4849
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4850
|
-
id: string;
|
|
4851
4935
|
description: string;
|
|
4852
4936
|
numberOfPositions: number;
|
|
4853
4937
|
pay: {
|
|
@@ -4873,26 +4957,21 @@ export declare const jobsContractRouter: {
|
|
|
4873
4957
|
areaCovered?: string | null | undefined;
|
|
4874
4958
|
} | null | undefined;
|
|
4875
4959
|
currentCollaboration?: {
|
|
4960
|
+
id: string;
|
|
4961
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4876
4962
|
createdAt: string;
|
|
4877
4963
|
updatedAt: string;
|
|
4878
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4879
|
-
id: string;
|
|
4880
4964
|
userId: string;
|
|
4881
|
-
company?: {
|
|
4882
|
-
createdAt: string;
|
|
4883
|
-
updatedAt: string;
|
|
4884
|
-
id: string;
|
|
4885
|
-
name: string;
|
|
4886
|
-
} | null | undefined;
|
|
4887
4965
|
client?: {
|
|
4888
|
-
createdAt: string;
|
|
4889
|
-
updatedAt: string;
|
|
4890
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4891
4966
|
id: string;
|
|
4967
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4892
4968
|
name: string;
|
|
4893
|
-
crn: string;
|
|
4969
|
+
crn: string | null;
|
|
4894
4970
|
govLink: string;
|
|
4971
|
+
soleTrader: boolean;
|
|
4895
4972
|
director: string;
|
|
4973
|
+
createdAt: string;
|
|
4974
|
+
updatedAt: string;
|
|
4896
4975
|
blacklistReason?: string | null | undefined;
|
|
4897
4976
|
lastUpdatedBy?: {
|
|
4898
4977
|
id: string;
|
|
@@ -4904,6 +4983,12 @@ export declare const jobsContractRouter: {
|
|
|
4904
4983
|
agentId: string;
|
|
4905
4984
|
} | null | undefined;
|
|
4906
4985
|
} | null | undefined;
|
|
4986
|
+
company?: {
|
|
4987
|
+
id: string;
|
|
4988
|
+
name: string;
|
|
4989
|
+
createdAt: string;
|
|
4990
|
+
updatedAt: string;
|
|
4991
|
+
} | null | undefined;
|
|
4907
4992
|
user?: {
|
|
4908
4993
|
id: string;
|
|
4909
4994
|
firstName: string;
|
|
@@ -4911,26 +4996,21 @@ export declare const jobsContractRouter: {
|
|
|
4911
4996
|
email: string;
|
|
4912
4997
|
} | null | undefined;
|
|
4913
4998
|
newCollaboration?: {
|
|
4999
|
+
id: string;
|
|
5000
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4914
5001
|
createdAt: string;
|
|
4915
5002
|
updatedAt: string;
|
|
4916
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4917
|
-
id: string;
|
|
4918
5003
|
userId: string;
|
|
4919
|
-
company?: {
|
|
4920
|
-
createdAt: string;
|
|
4921
|
-
updatedAt: string;
|
|
4922
|
-
id: string;
|
|
4923
|
-
name: string;
|
|
4924
|
-
} | null | undefined;
|
|
4925
5004
|
client?: {
|
|
4926
|
-
createdAt: string;
|
|
4927
|
-
updatedAt: string;
|
|
4928
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4929
5005
|
id: string;
|
|
5006
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4930
5007
|
name: string;
|
|
4931
|
-
crn: string;
|
|
5008
|
+
crn: string | null;
|
|
4932
5009
|
govLink: string;
|
|
5010
|
+
soleTrader: boolean;
|
|
4933
5011
|
director: string;
|
|
5012
|
+
createdAt: string;
|
|
5013
|
+
updatedAt: string;
|
|
4934
5014
|
blacklistReason?: string | null | undefined;
|
|
4935
5015
|
lastUpdatedBy?: {
|
|
4936
5016
|
id: string;
|
|
@@ -4942,6 +5022,12 @@ export declare const jobsContractRouter: {
|
|
|
4942
5022
|
agentId: string;
|
|
4943
5023
|
} | null | undefined;
|
|
4944
5024
|
} | null | undefined;
|
|
5025
|
+
company?: {
|
|
5026
|
+
id: string;
|
|
5027
|
+
name: string;
|
|
5028
|
+
createdAt: string;
|
|
5029
|
+
updatedAt: string;
|
|
5030
|
+
} | null | undefined;
|
|
4945
5031
|
user?: {
|
|
4946
5032
|
id: string;
|
|
4947
5033
|
firstName: string;
|
|
@@ -4951,10 +5037,10 @@ export declare const jobsContractRouter: {
|
|
|
4951
5037
|
} | null | undefined;
|
|
4952
5038
|
} | null | undefined;
|
|
4953
5039
|
}, {
|
|
5040
|
+
id: string;
|
|
5041
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4954
5042
|
createdAt: string | Date;
|
|
4955
5043
|
updatedAt: string | Date;
|
|
4956
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4957
|
-
id: string;
|
|
4958
5044
|
description: string;
|
|
4959
5045
|
numberOfPositions: number;
|
|
4960
5046
|
pay: {
|
|
@@ -4980,26 +5066,21 @@ export declare const jobsContractRouter: {
|
|
|
4980
5066
|
qualificationTypeId?: string | null | undefined;
|
|
4981
5067
|
}[] | undefined;
|
|
4982
5068
|
currentCollaboration?: {
|
|
5069
|
+
id: string;
|
|
5070
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4983
5071
|
createdAt: string | Date;
|
|
4984
5072
|
updatedAt: string | Date;
|
|
4985
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4986
|
-
id: string;
|
|
4987
5073
|
userId: string;
|
|
4988
|
-
company?: {
|
|
4989
|
-
createdAt: string | Date;
|
|
4990
|
-
updatedAt: string | Date;
|
|
4991
|
-
id: string;
|
|
4992
|
-
name: string;
|
|
4993
|
-
} | null | undefined;
|
|
4994
5074
|
client?: {
|
|
4995
|
-
createdAt: string | Date;
|
|
4996
|
-
updatedAt: string | Date;
|
|
4997
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4998
5075
|
id: string;
|
|
5076
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4999
5077
|
name: string;
|
|
5000
|
-
crn: string;
|
|
5078
|
+
crn: string | null;
|
|
5001
5079
|
govLink: string;
|
|
5080
|
+
soleTrader: boolean;
|
|
5002
5081
|
director: string;
|
|
5082
|
+
createdAt: string | Date;
|
|
5083
|
+
updatedAt: string | Date;
|
|
5003
5084
|
blacklistReason?: string | null | undefined;
|
|
5004
5085
|
lastUpdatedBy?: {
|
|
5005
5086
|
id: string;
|
|
@@ -5011,6 +5092,12 @@ export declare const jobsContractRouter: {
|
|
|
5011
5092
|
agentId: string;
|
|
5012
5093
|
} | null | undefined;
|
|
5013
5094
|
} | null | undefined;
|
|
5095
|
+
company?: {
|
|
5096
|
+
id: string;
|
|
5097
|
+
name: string;
|
|
5098
|
+
createdAt: string | Date;
|
|
5099
|
+
updatedAt: string | Date;
|
|
5100
|
+
} | null | undefined;
|
|
5014
5101
|
user?: {
|
|
5015
5102
|
id: string;
|
|
5016
5103
|
firstName: string;
|
|
@@ -5018,26 +5105,21 @@ export declare const jobsContractRouter: {
|
|
|
5018
5105
|
email: string;
|
|
5019
5106
|
} | null | undefined;
|
|
5020
5107
|
newCollaboration?: {
|
|
5108
|
+
id: string;
|
|
5109
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5021
5110
|
createdAt: string | Date;
|
|
5022
5111
|
updatedAt: string | Date;
|
|
5023
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5024
|
-
id: string;
|
|
5025
5112
|
userId: string;
|
|
5026
|
-
company?: {
|
|
5027
|
-
createdAt: string | Date;
|
|
5028
|
-
updatedAt: string | Date;
|
|
5029
|
-
id: string;
|
|
5030
|
-
name: string;
|
|
5031
|
-
} | null | undefined;
|
|
5032
5113
|
client?: {
|
|
5033
|
-
createdAt: string | Date;
|
|
5034
|
-
updatedAt: string | Date;
|
|
5035
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5036
5114
|
id: string;
|
|
5115
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5037
5116
|
name: string;
|
|
5038
|
-
crn: string;
|
|
5117
|
+
crn: string | null;
|
|
5039
5118
|
govLink: string;
|
|
5119
|
+
soleTrader: boolean;
|
|
5040
5120
|
director: string;
|
|
5121
|
+
createdAt: string | Date;
|
|
5122
|
+
updatedAt: string | Date;
|
|
5041
5123
|
blacklistReason?: string | null | undefined;
|
|
5042
5124
|
lastUpdatedBy?: {
|
|
5043
5125
|
id: string;
|
|
@@ -5049,6 +5131,12 @@ export declare const jobsContractRouter: {
|
|
|
5049
5131
|
agentId: string;
|
|
5050
5132
|
} | null | undefined;
|
|
5051
5133
|
} | null | undefined;
|
|
5134
|
+
company?: {
|
|
5135
|
+
id: string;
|
|
5136
|
+
name: string;
|
|
5137
|
+
createdAt: string | Date;
|
|
5138
|
+
updatedAt: string | Date;
|
|
5139
|
+
} | null | undefined;
|
|
5052
5140
|
user?: {
|
|
5053
5141
|
id: string;
|
|
5054
5142
|
firstName: string;
|
|
@@ -5368,21 +5456,22 @@ export declare const jobsContractRouter: {
|
|
|
5368
5456
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5369
5457
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5370
5458
|
}, "strip", z.ZodTypeAny, {
|
|
5459
|
+
id: string;
|
|
5460
|
+
name: string;
|
|
5371
5461
|
createdAt: string;
|
|
5372
5462
|
updatedAt: string;
|
|
5463
|
+
}, {
|
|
5373
5464
|
id: string;
|
|
5374
5465
|
name: string;
|
|
5375
|
-
}, {
|
|
5376
5466
|
createdAt: string | Date;
|
|
5377
5467
|
updatedAt: string | Date;
|
|
5378
|
-
id: string;
|
|
5379
|
-
name: string;
|
|
5380
5468
|
}>>>;
|
|
5381
5469
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5382
5470
|
id: z.ZodString;
|
|
5383
5471
|
name: z.ZodString;
|
|
5384
|
-
crn: z.ZodString
|
|
5472
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
5385
5473
|
govLink: z.ZodString;
|
|
5474
|
+
soleTrader: z.ZodBoolean;
|
|
5386
5475
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
5387
5476
|
director: z.ZodString;
|
|
5388
5477
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5412,14 +5501,15 @@ export declare const jobsContractRouter: {
|
|
|
5412
5501
|
agentId: string;
|
|
5413
5502
|
}>>>;
|
|
5414
5503
|
}, "strip", z.ZodTypeAny, {
|
|
5415
|
-
createdAt: string;
|
|
5416
|
-
updatedAt: string;
|
|
5417
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5418
5504
|
id: string;
|
|
5505
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5419
5506
|
name: string;
|
|
5420
|
-
crn: string;
|
|
5507
|
+
crn: string | null;
|
|
5421
5508
|
govLink: string;
|
|
5509
|
+
soleTrader: boolean;
|
|
5422
5510
|
director: string;
|
|
5511
|
+
createdAt: string;
|
|
5512
|
+
updatedAt: string;
|
|
5423
5513
|
blacklistReason?: string | null | undefined;
|
|
5424
5514
|
lastUpdatedBy?: {
|
|
5425
5515
|
id: string;
|
|
@@ -5431,14 +5521,15 @@ export declare const jobsContractRouter: {
|
|
|
5431
5521
|
agentId: string;
|
|
5432
5522
|
} | null | undefined;
|
|
5433
5523
|
}, {
|
|
5434
|
-
createdAt: string | Date;
|
|
5435
|
-
updatedAt: string | Date;
|
|
5436
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5437
5524
|
id: string;
|
|
5525
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5438
5526
|
name: string;
|
|
5439
|
-
crn: string;
|
|
5527
|
+
crn: string | null;
|
|
5440
5528
|
govLink: string;
|
|
5529
|
+
soleTrader: boolean;
|
|
5441
5530
|
director: string;
|
|
5531
|
+
createdAt: string | Date;
|
|
5532
|
+
updatedAt: string | Date;
|
|
5442
5533
|
blacklistReason?: string | null | undefined;
|
|
5443
5534
|
lastUpdatedBy?: {
|
|
5444
5535
|
id: string;
|
|
@@ -5479,21 +5570,22 @@ export declare const jobsContractRouter: {
|
|
|
5479
5570
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5480
5571
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5481
5572
|
}, "strip", z.ZodTypeAny, {
|
|
5573
|
+
id: string;
|
|
5574
|
+
name: string;
|
|
5482
5575
|
createdAt: string;
|
|
5483
5576
|
updatedAt: string;
|
|
5577
|
+
}, {
|
|
5484
5578
|
id: string;
|
|
5485
5579
|
name: string;
|
|
5486
|
-
}, {
|
|
5487
5580
|
createdAt: string | Date;
|
|
5488
5581
|
updatedAt: string | Date;
|
|
5489
|
-
id: string;
|
|
5490
|
-
name: string;
|
|
5491
5582
|
}>>>;
|
|
5492
5583
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5493
5584
|
id: z.ZodString;
|
|
5494
5585
|
name: z.ZodString;
|
|
5495
|
-
crn: z.ZodString
|
|
5586
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
5496
5587
|
govLink: z.ZodString;
|
|
5588
|
+
soleTrader: z.ZodBoolean;
|
|
5497
5589
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
5498
5590
|
director: z.ZodString;
|
|
5499
5591
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5523,14 +5615,15 @@ export declare const jobsContractRouter: {
|
|
|
5523
5615
|
agentId: string;
|
|
5524
5616
|
}>>>;
|
|
5525
5617
|
}, "strip", z.ZodTypeAny, {
|
|
5526
|
-
createdAt: string;
|
|
5527
|
-
updatedAt: string;
|
|
5528
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5529
5618
|
id: string;
|
|
5619
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5530
5620
|
name: string;
|
|
5531
|
-
crn: string;
|
|
5621
|
+
crn: string | null;
|
|
5532
5622
|
govLink: string;
|
|
5623
|
+
soleTrader: boolean;
|
|
5533
5624
|
director: string;
|
|
5625
|
+
createdAt: string;
|
|
5626
|
+
updatedAt: string;
|
|
5534
5627
|
blacklistReason?: string | null | undefined;
|
|
5535
5628
|
lastUpdatedBy?: {
|
|
5536
5629
|
id: string;
|
|
@@ -5542,14 +5635,15 @@ export declare const jobsContractRouter: {
|
|
|
5542
5635
|
agentId: string;
|
|
5543
5636
|
} | null | undefined;
|
|
5544
5637
|
}, {
|
|
5545
|
-
createdAt: string | Date;
|
|
5546
|
-
updatedAt: string | Date;
|
|
5547
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5548
5638
|
id: string;
|
|
5639
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5549
5640
|
name: string;
|
|
5550
|
-
crn: string;
|
|
5641
|
+
crn: string | null;
|
|
5551
5642
|
govLink: string;
|
|
5643
|
+
soleTrader: boolean;
|
|
5552
5644
|
director: string;
|
|
5645
|
+
createdAt: string | Date;
|
|
5646
|
+
updatedAt: string | Date;
|
|
5553
5647
|
blacklistReason?: string | null | undefined;
|
|
5554
5648
|
lastUpdatedBy?: {
|
|
5555
5649
|
id: string;
|
|
@@ -5582,26 +5676,21 @@ export declare const jobsContractRouter: {
|
|
|
5582
5676
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5583
5677
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5584
5678
|
}, "strip", z.ZodTypeAny, {
|
|
5679
|
+
id: string;
|
|
5680
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5585
5681
|
createdAt: string;
|
|
5586
5682
|
updatedAt: string;
|
|
5587
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5588
|
-
id: string;
|
|
5589
5683
|
userId: string;
|
|
5590
|
-
company?: {
|
|
5591
|
-
createdAt: string;
|
|
5592
|
-
updatedAt: string;
|
|
5593
|
-
id: string;
|
|
5594
|
-
name: string;
|
|
5595
|
-
} | null | undefined;
|
|
5596
5684
|
client?: {
|
|
5597
|
-
createdAt: string;
|
|
5598
|
-
updatedAt: string;
|
|
5599
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5600
5685
|
id: string;
|
|
5686
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5601
5687
|
name: string;
|
|
5602
|
-
crn: string;
|
|
5688
|
+
crn: string | null;
|
|
5603
5689
|
govLink: string;
|
|
5690
|
+
soleTrader: boolean;
|
|
5604
5691
|
director: string;
|
|
5692
|
+
createdAt: string;
|
|
5693
|
+
updatedAt: string;
|
|
5605
5694
|
blacklistReason?: string | null | undefined;
|
|
5606
5695
|
lastUpdatedBy?: {
|
|
5607
5696
|
id: string;
|
|
@@ -5613,6 +5702,12 @@ export declare const jobsContractRouter: {
|
|
|
5613
5702
|
agentId: string;
|
|
5614
5703
|
} | null | undefined;
|
|
5615
5704
|
} | null | undefined;
|
|
5705
|
+
company?: {
|
|
5706
|
+
id: string;
|
|
5707
|
+
name: string;
|
|
5708
|
+
createdAt: string;
|
|
5709
|
+
updatedAt: string;
|
|
5710
|
+
} | null | undefined;
|
|
5616
5711
|
user?: {
|
|
5617
5712
|
id: string;
|
|
5618
5713
|
firstName: string;
|
|
@@ -5620,26 +5715,21 @@ export declare const jobsContractRouter: {
|
|
|
5620
5715
|
email: string;
|
|
5621
5716
|
} | null | undefined;
|
|
5622
5717
|
}, {
|
|
5718
|
+
id: string;
|
|
5719
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5623
5720
|
createdAt: string | Date;
|
|
5624
5721
|
updatedAt: string | Date;
|
|
5625
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5626
|
-
id: string;
|
|
5627
5722
|
userId: string;
|
|
5628
|
-
company?: {
|
|
5629
|
-
createdAt: string | Date;
|
|
5630
|
-
updatedAt: string | Date;
|
|
5631
|
-
id: string;
|
|
5632
|
-
name: string;
|
|
5633
|
-
} | null | undefined;
|
|
5634
5723
|
client?: {
|
|
5635
|
-
createdAt: string | Date;
|
|
5636
|
-
updatedAt: string | Date;
|
|
5637
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5638
5724
|
id: string;
|
|
5725
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5639
5726
|
name: string;
|
|
5640
|
-
crn: string;
|
|
5727
|
+
crn: string | null;
|
|
5641
5728
|
govLink: string;
|
|
5729
|
+
soleTrader: boolean;
|
|
5642
5730
|
director: string;
|
|
5731
|
+
createdAt: string | Date;
|
|
5732
|
+
updatedAt: string | Date;
|
|
5643
5733
|
blacklistReason?: string | null | undefined;
|
|
5644
5734
|
lastUpdatedBy?: {
|
|
5645
5735
|
id: string;
|
|
@@ -5651,6 +5741,12 @@ export declare const jobsContractRouter: {
|
|
|
5651
5741
|
agentId: string;
|
|
5652
5742
|
} | null | undefined;
|
|
5653
5743
|
} | null | undefined;
|
|
5744
|
+
company?: {
|
|
5745
|
+
id: string;
|
|
5746
|
+
name: string;
|
|
5747
|
+
createdAt: string | Date;
|
|
5748
|
+
updatedAt: string | Date;
|
|
5749
|
+
} | null | undefined;
|
|
5654
5750
|
user?: {
|
|
5655
5751
|
id: string;
|
|
5656
5752
|
firstName: string;
|
|
@@ -5659,26 +5755,21 @@ export declare const jobsContractRouter: {
|
|
|
5659
5755
|
} | null | undefined;
|
|
5660
5756
|
}>>>;
|
|
5661
5757
|
}, "strip", z.ZodTypeAny, {
|
|
5758
|
+
id: string;
|
|
5759
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5662
5760
|
createdAt: string;
|
|
5663
5761
|
updatedAt: string;
|
|
5664
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5665
|
-
id: string;
|
|
5666
5762
|
userId: string;
|
|
5667
|
-
company?: {
|
|
5668
|
-
createdAt: string;
|
|
5669
|
-
updatedAt: string;
|
|
5670
|
-
id: string;
|
|
5671
|
-
name: string;
|
|
5672
|
-
} | null | undefined;
|
|
5673
5763
|
client?: {
|
|
5674
|
-
createdAt: string;
|
|
5675
|
-
updatedAt: string;
|
|
5676
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5677
5764
|
id: string;
|
|
5765
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5678
5766
|
name: string;
|
|
5679
|
-
crn: string;
|
|
5767
|
+
crn: string | null;
|
|
5680
5768
|
govLink: string;
|
|
5769
|
+
soleTrader: boolean;
|
|
5681
5770
|
director: string;
|
|
5771
|
+
createdAt: string;
|
|
5772
|
+
updatedAt: string;
|
|
5682
5773
|
blacklistReason?: string | null | undefined;
|
|
5683
5774
|
lastUpdatedBy?: {
|
|
5684
5775
|
id: string;
|
|
@@ -5690,6 +5781,12 @@ export declare const jobsContractRouter: {
|
|
|
5690
5781
|
agentId: string;
|
|
5691
5782
|
} | null | undefined;
|
|
5692
5783
|
} | null | undefined;
|
|
5784
|
+
company?: {
|
|
5785
|
+
id: string;
|
|
5786
|
+
name: string;
|
|
5787
|
+
createdAt: string;
|
|
5788
|
+
updatedAt: string;
|
|
5789
|
+
} | null | undefined;
|
|
5693
5790
|
user?: {
|
|
5694
5791
|
id: string;
|
|
5695
5792
|
firstName: string;
|
|
@@ -5697,26 +5794,21 @@ export declare const jobsContractRouter: {
|
|
|
5697
5794
|
email: string;
|
|
5698
5795
|
} | null | undefined;
|
|
5699
5796
|
newCollaboration?: {
|
|
5797
|
+
id: string;
|
|
5798
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5700
5799
|
createdAt: string;
|
|
5701
5800
|
updatedAt: string;
|
|
5702
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5703
|
-
id: string;
|
|
5704
5801
|
userId: string;
|
|
5705
|
-
company?: {
|
|
5706
|
-
createdAt: string;
|
|
5707
|
-
updatedAt: string;
|
|
5708
|
-
id: string;
|
|
5709
|
-
name: string;
|
|
5710
|
-
} | null | undefined;
|
|
5711
5802
|
client?: {
|
|
5712
|
-
createdAt: string;
|
|
5713
|
-
updatedAt: string;
|
|
5714
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5715
5803
|
id: string;
|
|
5804
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5716
5805
|
name: string;
|
|
5717
|
-
crn: string;
|
|
5806
|
+
crn: string | null;
|
|
5718
5807
|
govLink: string;
|
|
5808
|
+
soleTrader: boolean;
|
|
5719
5809
|
director: string;
|
|
5810
|
+
createdAt: string;
|
|
5811
|
+
updatedAt: string;
|
|
5720
5812
|
blacklistReason?: string | null | undefined;
|
|
5721
5813
|
lastUpdatedBy?: {
|
|
5722
5814
|
id: string;
|
|
@@ -5728,6 +5820,12 @@ export declare const jobsContractRouter: {
|
|
|
5728
5820
|
agentId: string;
|
|
5729
5821
|
} | null | undefined;
|
|
5730
5822
|
} | null | undefined;
|
|
5823
|
+
company?: {
|
|
5824
|
+
id: string;
|
|
5825
|
+
name: string;
|
|
5826
|
+
createdAt: string;
|
|
5827
|
+
updatedAt: string;
|
|
5828
|
+
} | null | undefined;
|
|
5731
5829
|
user?: {
|
|
5732
5830
|
id: string;
|
|
5733
5831
|
firstName: string;
|
|
@@ -5736,26 +5834,21 @@ export declare const jobsContractRouter: {
|
|
|
5736
5834
|
} | null | undefined;
|
|
5737
5835
|
} | null | undefined;
|
|
5738
5836
|
}, {
|
|
5837
|
+
id: string;
|
|
5838
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5739
5839
|
createdAt: string | Date;
|
|
5740
5840
|
updatedAt: string | Date;
|
|
5741
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5742
|
-
id: string;
|
|
5743
5841
|
userId: string;
|
|
5744
|
-
company?: {
|
|
5745
|
-
createdAt: string | Date;
|
|
5746
|
-
updatedAt: string | Date;
|
|
5747
|
-
id: string;
|
|
5748
|
-
name: string;
|
|
5749
|
-
} | null | undefined;
|
|
5750
5842
|
client?: {
|
|
5751
|
-
createdAt: string | Date;
|
|
5752
|
-
updatedAt: string | Date;
|
|
5753
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5754
5843
|
id: string;
|
|
5844
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5755
5845
|
name: string;
|
|
5756
|
-
crn: string;
|
|
5846
|
+
crn: string | null;
|
|
5757
5847
|
govLink: string;
|
|
5848
|
+
soleTrader: boolean;
|
|
5758
5849
|
director: string;
|
|
5850
|
+
createdAt: string | Date;
|
|
5851
|
+
updatedAt: string | Date;
|
|
5759
5852
|
blacklistReason?: string | null | undefined;
|
|
5760
5853
|
lastUpdatedBy?: {
|
|
5761
5854
|
id: string;
|
|
@@ -5767,6 +5860,12 @@ export declare const jobsContractRouter: {
|
|
|
5767
5860
|
agentId: string;
|
|
5768
5861
|
} | null | undefined;
|
|
5769
5862
|
} | null | undefined;
|
|
5863
|
+
company?: {
|
|
5864
|
+
id: string;
|
|
5865
|
+
name: string;
|
|
5866
|
+
createdAt: string | Date;
|
|
5867
|
+
updatedAt: string | Date;
|
|
5868
|
+
} | null | undefined;
|
|
5770
5869
|
user?: {
|
|
5771
5870
|
id: string;
|
|
5772
5871
|
firstName: string;
|
|
@@ -5774,26 +5873,21 @@ export declare const jobsContractRouter: {
|
|
|
5774
5873
|
email: string;
|
|
5775
5874
|
} | null | undefined;
|
|
5776
5875
|
newCollaboration?: {
|
|
5876
|
+
id: string;
|
|
5877
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5777
5878
|
createdAt: string | Date;
|
|
5778
5879
|
updatedAt: string | Date;
|
|
5779
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5780
|
-
id: string;
|
|
5781
5880
|
userId: string;
|
|
5782
|
-
company?: {
|
|
5783
|
-
createdAt: string | Date;
|
|
5784
|
-
updatedAt: string | Date;
|
|
5785
|
-
id: string;
|
|
5786
|
-
name: string;
|
|
5787
|
-
} | null | undefined;
|
|
5788
5881
|
client?: {
|
|
5789
|
-
createdAt: string | Date;
|
|
5790
|
-
updatedAt: string | Date;
|
|
5791
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5792
5882
|
id: string;
|
|
5883
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5793
5884
|
name: string;
|
|
5794
|
-
crn: string;
|
|
5885
|
+
crn: string | null;
|
|
5795
5886
|
govLink: string;
|
|
5887
|
+
soleTrader: boolean;
|
|
5796
5888
|
director: string;
|
|
5889
|
+
createdAt: string | Date;
|
|
5890
|
+
updatedAt: string | Date;
|
|
5797
5891
|
blacklistReason?: string | null | undefined;
|
|
5798
5892
|
lastUpdatedBy?: {
|
|
5799
5893
|
id: string;
|
|
@@ -5805,6 +5899,12 @@ export declare const jobsContractRouter: {
|
|
|
5805
5899
|
agentId: string;
|
|
5806
5900
|
} | null | undefined;
|
|
5807
5901
|
} | null | undefined;
|
|
5902
|
+
company?: {
|
|
5903
|
+
id: string;
|
|
5904
|
+
name: string;
|
|
5905
|
+
createdAt: string | Date;
|
|
5906
|
+
updatedAt: string | Date;
|
|
5907
|
+
} | null | undefined;
|
|
5808
5908
|
user?: {
|
|
5809
5909
|
id: string;
|
|
5810
5910
|
firstName: string;
|
|
@@ -5816,10 +5916,10 @@ export declare const jobsContractRouter: {
|
|
|
5816
5916
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5817
5917
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5818
5918
|
}, "strip", z.ZodTypeAny, {
|
|
5919
|
+
id: string;
|
|
5920
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5819
5921
|
createdAt: string;
|
|
5820
5922
|
updatedAt: string;
|
|
5821
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5822
|
-
id: string;
|
|
5823
5923
|
description: string;
|
|
5824
5924
|
numberOfPositions: number;
|
|
5825
5925
|
pay: {
|
|
@@ -5845,26 +5945,21 @@ export declare const jobsContractRouter: {
|
|
|
5845
5945
|
areaCovered?: string | null | undefined;
|
|
5846
5946
|
} | null | undefined;
|
|
5847
5947
|
currentCollaboration?: {
|
|
5948
|
+
id: string;
|
|
5949
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5848
5950
|
createdAt: string;
|
|
5849
5951
|
updatedAt: string;
|
|
5850
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5851
|
-
id: string;
|
|
5852
5952
|
userId: string;
|
|
5853
|
-
company?: {
|
|
5854
|
-
createdAt: string;
|
|
5855
|
-
updatedAt: string;
|
|
5856
|
-
id: string;
|
|
5857
|
-
name: string;
|
|
5858
|
-
} | null | undefined;
|
|
5859
5953
|
client?: {
|
|
5860
|
-
createdAt: string;
|
|
5861
|
-
updatedAt: string;
|
|
5862
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5863
5954
|
id: string;
|
|
5955
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5864
5956
|
name: string;
|
|
5865
|
-
crn: string;
|
|
5957
|
+
crn: string | null;
|
|
5866
5958
|
govLink: string;
|
|
5959
|
+
soleTrader: boolean;
|
|
5867
5960
|
director: string;
|
|
5961
|
+
createdAt: string;
|
|
5962
|
+
updatedAt: string;
|
|
5868
5963
|
blacklistReason?: string | null | undefined;
|
|
5869
5964
|
lastUpdatedBy?: {
|
|
5870
5965
|
id: string;
|
|
@@ -5876,6 +5971,12 @@ export declare const jobsContractRouter: {
|
|
|
5876
5971
|
agentId: string;
|
|
5877
5972
|
} | null | undefined;
|
|
5878
5973
|
} | null | undefined;
|
|
5974
|
+
company?: {
|
|
5975
|
+
id: string;
|
|
5976
|
+
name: string;
|
|
5977
|
+
createdAt: string;
|
|
5978
|
+
updatedAt: string;
|
|
5979
|
+
} | null | undefined;
|
|
5879
5980
|
user?: {
|
|
5880
5981
|
id: string;
|
|
5881
5982
|
firstName: string;
|
|
@@ -5883,26 +5984,21 @@ export declare const jobsContractRouter: {
|
|
|
5883
5984
|
email: string;
|
|
5884
5985
|
} | null | undefined;
|
|
5885
5986
|
newCollaboration?: {
|
|
5987
|
+
id: string;
|
|
5988
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5886
5989
|
createdAt: string;
|
|
5887
5990
|
updatedAt: string;
|
|
5888
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5889
|
-
id: string;
|
|
5890
5991
|
userId: string;
|
|
5891
|
-
company?: {
|
|
5892
|
-
createdAt: string;
|
|
5893
|
-
updatedAt: string;
|
|
5894
|
-
id: string;
|
|
5895
|
-
name: string;
|
|
5896
|
-
} | null | undefined;
|
|
5897
5992
|
client?: {
|
|
5898
|
-
createdAt: string;
|
|
5899
|
-
updatedAt: string;
|
|
5900
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5901
5993
|
id: string;
|
|
5994
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5902
5995
|
name: string;
|
|
5903
|
-
crn: string;
|
|
5996
|
+
crn: string | null;
|
|
5904
5997
|
govLink: string;
|
|
5998
|
+
soleTrader: boolean;
|
|
5905
5999
|
director: string;
|
|
6000
|
+
createdAt: string;
|
|
6001
|
+
updatedAt: string;
|
|
5906
6002
|
blacklistReason?: string | null | undefined;
|
|
5907
6003
|
lastUpdatedBy?: {
|
|
5908
6004
|
id: string;
|
|
@@ -5914,6 +6010,12 @@ export declare const jobsContractRouter: {
|
|
|
5914
6010
|
agentId: string;
|
|
5915
6011
|
} | null | undefined;
|
|
5916
6012
|
} | null | undefined;
|
|
6013
|
+
company?: {
|
|
6014
|
+
id: string;
|
|
6015
|
+
name: string;
|
|
6016
|
+
createdAt: string;
|
|
6017
|
+
updatedAt: string;
|
|
6018
|
+
} | null | undefined;
|
|
5917
6019
|
user?: {
|
|
5918
6020
|
id: string;
|
|
5919
6021
|
firstName: string;
|
|
@@ -5923,10 +6025,10 @@ export declare const jobsContractRouter: {
|
|
|
5923
6025
|
} | null | undefined;
|
|
5924
6026
|
} | null | undefined;
|
|
5925
6027
|
}, {
|
|
6028
|
+
id: string;
|
|
6029
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5926
6030
|
createdAt: string | Date;
|
|
5927
6031
|
updatedAt: string | Date;
|
|
5928
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5929
|
-
id: string;
|
|
5930
6032
|
description: string;
|
|
5931
6033
|
numberOfPositions: number;
|
|
5932
6034
|
pay: {
|
|
@@ -5952,26 +6054,21 @@ export declare const jobsContractRouter: {
|
|
|
5952
6054
|
qualificationTypeId?: string | null | undefined;
|
|
5953
6055
|
}[] | undefined;
|
|
5954
6056
|
currentCollaboration?: {
|
|
6057
|
+
id: string;
|
|
6058
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5955
6059
|
createdAt: string | Date;
|
|
5956
6060
|
updatedAt: string | Date;
|
|
5957
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5958
|
-
id: string;
|
|
5959
6061
|
userId: string;
|
|
5960
|
-
company?: {
|
|
5961
|
-
createdAt: string | Date;
|
|
5962
|
-
updatedAt: string | Date;
|
|
5963
|
-
id: string;
|
|
5964
|
-
name: string;
|
|
5965
|
-
} | null | undefined;
|
|
5966
6062
|
client?: {
|
|
5967
|
-
createdAt: string | Date;
|
|
5968
|
-
updatedAt: string | Date;
|
|
5969
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5970
6063
|
id: string;
|
|
6064
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5971
6065
|
name: string;
|
|
5972
|
-
crn: string;
|
|
6066
|
+
crn: string | null;
|
|
5973
6067
|
govLink: string;
|
|
6068
|
+
soleTrader: boolean;
|
|
5974
6069
|
director: string;
|
|
6070
|
+
createdAt: string | Date;
|
|
6071
|
+
updatedAt: string | Date;
|
|
5975
6072
|
blacklistReason?: string | null | undefined;
|
|
5976
6073
|
lastUpdatedBy?: {
|
|
5977
6074
|
id: string;
|
|
@@ -5983,6 +6080,12 @@ export declare const jobsContractRouter: {
|
|
|
5983
6080
|
agentId: string;
|
|
5984
6081
|
} | null | undefined;
|
|
5985
6082
|
} | null | undefined;
|
|
6083
|
+
company?: {
|
|
6084
|
+
id: string;
|
|
6085
|
+
name: string;
|
|
6086
|
+
createdAt: string | Date;
|
|
6087
|
+
updatedAt: string | Date;
|
|
6088
|
+
} | null | undefined;
|
|
5986
6089
|
user?: {
|
|
5987
6090
|
id: string;
|
|
5988
6091
|
firstName: string;
|
|
@@ -5990,26 +6093,21 @@ export declare const jobsContractRouter: {
|
|
|
5990
6093
|
email: string;
|
|
5991
6094
|
} | null | undefined;
|
|
5992
6095
|
newCollaboration?: {
|
|
6096
|
+
id: string;
|
|
6097
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5993
6098
|
createdAt: string | Date;
|
|
5994
6099
|
updatedAt: string | Date;
|
|
5995
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5996
|
-
id: string;
|
|
5997
6100
|
userId: string;
|
|
5998
|
-
company?: {
|
|
5999
|
-
createdAt: string | Date;
|
|
6000
|
-
updatedAt: string | Date;
|
|
6001
|
-
id: string;
|
|
6002
|
-
name: string;
|
|
6003
|
-
} | null | undefined;
|
|
6004
6101
|
client?: {
|
|
6005
|
-
createdAt: string | Date;
|
|
6006
|
-
updatedAt: string | Date;
|
|
6007
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6008
6102
|
id: string;
|
|
6103
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6009
6104
|
name: string;
|
|
6010
|
-
crn: string;
|
|
6105
|
+
crn: string | null;
|
|
6011
6106
|
govLink: string;
|
|
6107
|
+
soleTrader: boolean;
|
|
6012
6108
|
director: string;
|
|
6109
|
+
createdAt: string | Date;
|
|
6110
|
+
updatedAt: string | Date;
|
|
6013
6111
|
blacklistReason?: string | null | undefined;
|
|
6014
6112
|
lastUpdatedBy?: {
|
|
6015
6113
|
id: string;
|
|
@@ -6021,6 +6119,12 @@ export declare const jobsContractRouter: {
|
|
|
6021
6119
|
agentId: string;
|
|
6022
6120
|
} | null | undefined;
|
|
6023
6121
|
} | null | undefined;
|
|
6122
|
+
company?: {
|
|
6123
|
+
id: string;
|
|
6124
|
+
name: string;
|
|
6125
|
+
createdAt: string | Date;
|
|
6126
|
+
updatedAt: string | Date;
|
|
6127
|
+
} | null | undefined;
|
|
6024
6128
|
user?: {
|
|
6025
6129
|
id: string;
|
|
6026
6130
|
firstName: string;
|