@zyacreatives/shared 2.5.25 → 2.5.27
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/schemas/job-application.d.ts +150 -135
- package/dist/schemas/job-application.js +0 -3
- package/dist/schemas/job.d.ts +522 -474
- package/dist/schemas/job.js +93 -200
- package/dist/schemas/user.d.ts +2 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/job.d.ts +1 -27
- package/package.json +1 -1
- package/src/schemas/job-application.ts +0 -3
- package/src/schemas/job.ts +138 -224
- package/src/types/index.ts +0 -1
- package/src/types/job.ts +0 -77
|
@@ -25,7 +25,6 @@ export declare const MinimalJobApplicationEntitySchema: z.ZodObject<{
|
|
|
25
25
|
Offered: "Offered";
|
|
26
26
|
Hired: "Hired";
|
|
27
27
|
}>;
|
|
28
|
-
isApplied: z.ZodBoolean;
|
|
29
28
|
}, z.core.$strip>;
|
|
30
29
|
export type MinimalJobApplicationEntity = z.infer<typeof MinimalJobApplicationEntitySchema>;
|
|
31
30
|
export declare const BaseJobApplicationEntitySchema: z.ZodObject<{
|
|
@@ -52,7 +51,6 @@ export declare const BaseJobApplicationEntitySchema: z.ZodObject<{
|
|
|
52
51
|
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
53
52
|
currentRole: z.ZodString;
|
|
54
53
|
resumeUrl: z.ZodURL;
|
|
55
|
-
isApplied: z.ZodBoolean;
|
|
56
54
|
workSampleUrls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57
55
|
url: z.ZodURL;
|
|
58
56
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -142,7 +140,6 @@ export declare const JobApplicationEntitySchema: z.ZodObject<{
|
|
|
142
140
|
"1 month notice": "1 month notice";
|
|
143
141
|
Flexible: "Flexible";
|
|
144
142
|
}>>;
|
|
145
|
-
isApplied: z.ZodBoolean;
|
|
146
143
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
147
144
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
148
145
|
}, z.core.$strip>;
|
|
@@ -210,15 +207,12 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
210
207
|
Hired: "Hired";
|
|
211
208
|
}>;
|
|
212
209
|
job: z.ZodUnion<readonly [z.ZodObject<{
|
|
210
|
+
id: z.ZodCUID2;
|
|
213
211
|
title: z.ZodString;
|
|
214
212
|
brandId: z.ZodCUID2;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
ACTIVE: "ACTIVE";
|
|
219
|
-
DELETED: "DELETED";
|
|
220
|
-
DRAFT: "DRAFT";
|
|
221
|
-
ARCHIVED: "ARCHIVED";
|
|
213
|
+
jobType: z.ZodEnum<{
|
|
214
|
+
GIG: "GIG";
|
|
215
|
+
ROLE: "ROLE";
|
|
222
216
|
}>;
|
|
223
217
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
224
218
|
"Full Time": "Full Time";
|
|
@@ -231,6 +225,12 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
231
225
|
Hybrid: "Hybrid";
|
|
232
226
|
"On Site": "On Site";
|
|
233
227
|
}>;
|
|
228
|
+
status: z.ZodEnum<{
|
|
229
|
+
ACTIVE: "ACTIVE";
|
|
230
|
+
DELETED: "DELETED";
|
|
231
|
+
DRAFT: "DRAFT";
|
|
232
|
+
ARCHIVED: "ARCHIVED";
|
|
233
|
+
}>;
|
|
234
234
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
235
235
|
"One Time": "One Time";
|
|
236
236
|
Recurring: "Recurring";
|
|
@@ -252,19 +252,20 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
252
252
|
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
253
253
|
[x: string]: string;
|
|
254
254
|
}>>>;
|
|
255
|
-
isBookmarked: z.ZodBoolean;
|
|
256
255
|
createdAt: z.ZodDate;
|
|
257
|
-
version: z.
|
|
256
|
+
version: z.ZodNumber;
|
|
258
257
|
updatedAt: z.ZodDate;
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
brandName: z.ZodString;
|
|
259
|
+
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
260
|
+
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
261
|
+
isBookmarked: z.ZodBoolean;
|
|
261
262
|
overview: z.ZodString;
|
|
262
263
|
deliverables: z.ZodString;
|
|
263
264
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
264
265
|
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
265
266
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
266
|
-
wagesMin: z.ZodOptional<z.ZodNumber
|
|
267
|
-
wagesMax: z.ZodOptional<z.ZodNumber
|
|
267
|
+
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
268
|
+
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
268
269
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
269
270
|
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
270
271
|
"EUR (Euro)": "EUR (Euro)";
|
|
@@ -288,18 +289,10 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
288
289
|
id: z.ZodCUID2;
|
|
289
290
|
title: z.ZodString;
|
|
290
291
|
brandId: z.ZodCUID2;
|
|
291
|
-
brandName: z.ZodString;
|
|
292
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
293
292
|
jobType: z.ZodEnum<{
|
|
294
293
|
GIG: "GIG";
|
|
295
294
|
ROLE: "ROLE";
|
|
296
295
|
}>;
|
|
297
|
-
status: z.ZodEnum<{
|
|
298
|
-
ACTIVE: "ACTIVE";
|
|
299
|
-
DELETED: "DELETED";
|
|
300
|
-
DRAFT: "DRAFT";
|
|
301
|
-
ARCHIVED: "ARCHIVED";
|
|
302
|
-
}>;
|
|
303
296
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
304
297
|
"Full Time": "Full Time";
|
|
305
298
|
"Part Time": "Part Time";
|
|
@@ -311,6 +304,12 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
311
304
|
Hybrid: "Hybrid";
|
|
312
305
|
"On Site": "On Site";
|
|
313
306
|
}>;
|
|
307
|
+
status: z.ZodEnum<{
|
|
308
|
+
ACTIVE: "ACTIVE";
|
|
309
|
+
DELETED: "DELETED";
|
|
310
|
+
DRAFT: "DRAFT";
|
|
311
|
+
ARCHIVED: "ARCHIVED";
|
|
312
|
+
}>;
|
|
314
313
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
315
314
|
"One Time": "One Time";
|
|
316
315
|
Recurring: "Recurring";
|
|
@@ -332,20 +331,52 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
332
331
|
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
333
332
|
[x: string]: string;
|
|
334
333
|
}>>>;
|
|
335
|
-
isBookmarked: z.ZodBoolean;
|
|
336
334
|
createdAt: z.ZodDate;
|
|
337
|
-
version: z.
|
|
335
|
+
version: z.ZodNumber;
|
|
338
336
|
updatedAt: z.ZodDate;
|
|
337
|
+
brandName: z.ZodString;
|
|
338
|
+
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
339
|
+
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
340
|
+
isBookmarked: z.ZodBoolean;
|
|
341
|
+
overview: z.ZodString;
|
|
342
|
+
experienceLevel: z.ZodEnum<{
|
|
343
|
+
"0-1 year": "0-1 year";
|
|
344
|
+
"1-3 years": "1-3 years";
|
|
345
|
+
"3-5 years": "3-5 years";
|
|
346
|
+
"5+ years": "5+ years";
|
|
347
|
+
}>;
|
|
348
|
+
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
349
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
350
|
+
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
351
|
+
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
352
|
+
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
353
|
+
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
354
|
+
"EUR (Euro)": "EUR (Euro)";
|
|
355
|
+
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
356
|
+
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
357
|
+
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
358
|
+
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
359
|
+
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
360
|
+
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
361
|
+
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
362
|
+
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
363
|
+
}>>;
|
|
364
|
+
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
365
|
+
Hourly: "Hourly";
|
|
366
|
+
Daily: "Daily";
|
|
367
|
+
Weekly: "Weekly";
|
|
368
|
+
Monthly: "Monthly";
|
|
369
|
+
"Project Based": "Project Based";
|
|
370
|
+
}>>;
|
|
371
|
+
keyResponsibilities: z.ZodString;
|
|
372
|
+
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
339
373
|
}, z.core.$strip>, z.ZodObject<{
|
|
374
|
+
id: z.ZodCUID2;
|
|
340
375
|
title: z.ZodString;
|
|
341
376
|
brandId: z.ZodCUID2;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
ACTIVE: "ACTIVE";
|
|
346
|
-
DELETED: "DELETED";
|
|
347
|
-
DRAFT: "DRAFT";
|
|
348
|
-
ARCHIVED: "ARCHIVED";
|
|
377
|
+
jobType: z.ZodEnum<{
|
|
378
|
+
GIG: "GIG";
|
|
379
|
+
ROLE: "ROLE";
|
|
349
380
|
}>;
|
|
350
381
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
351
382
|
"Full Time": "Full Time";
|
|
@@ -358,6 +389,12 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
358
389
|
Hybrid: "Hybrid";
|
|
359
390
|
"On Site": "On Site";
|
|
360
391
|
}>;
|
|
392
|
+
status: z.ZodEnum<{
|
|
393
|
+
ACTIVE: "ACTIVE";
|
|
394
|
+
DELETED: "DELETED";
|
|
395
|
+
DRAFT: "DRAFT";
|
|
396
|
+
ARCHIVED: "ARCHIVED";
|
|
397
|
+
}>;
|
|
361
398
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
362
399
|
"One Time": "One Time";
|
|
363
400
|
Recurring: "Recurring";
|
|
@@ -379,44 +416,13 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
379
416
|
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
380
417
|
[x: string]: string;
|
|
381
418
|
}>>>;
|
|
382
|
-
isBookmarked: z.ZodBoolean;
|
|
383
419
|
createdAt: z.ZodDate;
|
|
384
|
-
version: z.
|
|
420
|
+
version: z.ZodNumber;
|
|
385
421
|
updatedAt: z.ZodDate;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
"1-3 years": "1-3 years";
|
|
391
|
-
"3-5 years": "3-5 years";
|
|
392
|
-
"5+ years": "5+ years";
|
|
393
|
-
}>;
|
|
394
|
-
overview: z.ZodString;
|
|
395
|
-
keyResponsibilities: z.ZodString;
|
|
396
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
397
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
398
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
399
|
-
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
400
|
-
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
401
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
402
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
403
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
404
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
405
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
406
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
407
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
408
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
409
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
410
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
411
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
412
|
-
}>>;
|
|
413
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
414
|
-
Hourly: "Hourly";
|
|
415
|
-
Daily: "Daily";
|
|
416
|
-
Weekly: "Weekly";
|
|
417
|
-
Monthly: "Monthly";
|
|
418
|
-
"Project Based": "Project Based";
|
|
419
|
-
}>>;
|
|
422
|
+
brandName: z.ZodString;
|
|
423
|
+
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
424
|
+
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
425
|
+
isBookmarked: z.ZodBoolean;
|
|
420
426
|
}, z.core.$strip>]>;
|
|
421
427
|
}, z.core.$strip>;
|
|
422
428
|
export type TrackedJobApplicationEntity = z.infer<typeof TrackedJobApplicationEntitySchema>;
|
|
@@ -511,15 +517,12 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
511
517
|
Hired: "Hired";
|
|
512
518
|
}>;
|
|
513
519
|
job: z.ZodUnion<readonly [z.ZodObject<{
|
|
520
|
+
id: z.ZodCUID2;
|
|
514
521
|
title: z.ZodString;
|
|
515
522
|
brandId: z.ZodCUID2;
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
ACTIVE: "ACTIVE";
|
|
520
|
-
DELETED: "DELETED";
|
|
521
|
-
DRAFT: "DRAFT";
|
|
522
|
-
ARCHIVED: "ARCHIVED";
|
|
523
|
+
jobType: z.ZodEnum<{
|
|
524
|
+
GIG: "GIG";
|
|
525
|
+
ROLE: "ROLE";
|
|
523
526
|
}>;
|
|
524
527
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
525
528
|
"Full Time": "Full Time";
|
|
@@ -532,6 +535,12 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
532
535
|
Hybrid: "Hybrid";
|
|
533
536
|
"On Site": "On Site";
|
|
534
537
|
}>;
|
|
538
|
+
status: z.ZodEnum<{
|
|
539
|
+
ACTIVE: "ACTIVE";
|
|
540
|
+
DELETED: "DELETED";
|
|
541
|
+
DRAFT: "DRAFT";
|
|
542
|
+
ARCHIVED: "ARCHIVED";
|
|
543
|
+
}>;
|
|
535
544
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
536
545
|
"One Time": "One Time";
|
|
537
546
|
Recurring: "Recurring";
|
|
@@ -553,19 +562,20 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
553
562
|
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
554
563
|
[x: string]: string;
|
|
555
564
|
}>>>;
|
|
556
|
-
isBookmarked: z.ZodBoolean;
|
|
557
565
|
createdAt: z.ZodDate;
|
|
558
|
-
version: z.
|
|
566
|
+
version: z.ZodNumber;
|
|
559
567
|
updatedAt: z.ZodDate;
|
|
560
|
-
|
|
561
|
-
|
|
568
|
+
brandName: z.ZodString;
|
|
569
|
+
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
570
|
+
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
571
|
+
isBookmarked: z.ZodBoolean;
|
|
562
572
|
overview: z.ZodString;
|
|
563
573
|
deliverables: z.ZodString;
|
|
564
574
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
565
575
|
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
566
576
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
567
|
-
wagesMin: z.ZodOptional<z.ZodNumber
|
|
568
|
-
wagesMax: z.ZodOptional<z.ZodNumber
|
|
577
|
+
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
578
|
+
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
569
579
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
570
580
|
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
571
581
|
"EUR (Euro)": "EUR (Euro)";
|
|
@@ -589,18 +599,10 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
589
599
|
id: z.ZodCUID2;
|
|
590
600
|
title: z.ZodString;
|
|
591
601
|
brandId: z.ZodCUID2;
|
|
592
|
-
brandName: z.ZodString;
|
|
593
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
594
602
|
jobType: z.ZodEnum<{
|
|
595
603
|
GIG: "GIG";
|
|
596
604
|
ROLE: "ROLE";
|
|
597
605
|
}>;
|
|
598
|
-
status: z.ZodEnum<{
|
|
599
|
-
ACTIVE: "ACTIVE";
|
|
600
|
-
DELETED: "DELETED";
|
|
601
|
-
DRAFT: "DRAFT";
|
|
602
|
-
ARCHIVED: "ARCHIVED";
|
|
603
|
-
}>;
|
|
604
606
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
605
607
|
"Full Time": "Full Time";
|
|
606
608
|
"Part Time": "Part Time";
|
|
@@ -612,6 +614,12 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
612
614
|
Hybrid: "Hybrid";
|
|
613
615
|
"On Site": "On Site";
|
|
614
616
|
}>;
|
|
617
|
+
status: z.ZodEnum<{
|
|
618
|
+
ACTIVE: "ACTIVE";
|
|
619
|
+
DELETED: "DELETED";
|
|
620
|
+
DRAFT: "DRAFT";
|
|
621
|
+
ARCHIVED: "ARCHIVED";
|
|
622
|
+
}>;
|
|
615
623
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
616
624
|
"One Time": "One Time";
|
|
617
625
|
Recurring: "Recurring";
|
|
@@ -633,20 +641,52 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
633
641
|
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
634
642
|
[x: string]: string;
|
|
635
643
|
}>>>;
|
|
636
|
-
isBookmarked: z.ZodBoolean;
|
|
637
644
|
createdAt: z.ZodDate;
|
|
638
|
-
version: z.
|
|
645
|
+
version: z.ZodNumber;
|
|
639
646
|
updatedAt: z.ZodDate;
|
|
647
|
+
brandName: z.ZodString;
|
|
648
|
+
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
649
|
+
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
650
|
+
isBookmarked: z.ZodBoolean;
|
|
651
|
+
overview: z.ZodString;
|
|
652
|
+
experienceLevel: z.ZodEnum<{
|
|
653
|
+
"0-1 year": "0-1 year";
|
|
654
|
+
"1-3 years": "1-3 years";
|
|
655
|
+
"3-5 years": "3-5 years";
|
|
656
|
+
"5+ years": "5+ years";
|
|
657
|
+
}>;
|
|
658
|
+
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
659
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
660
|
+
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
661
|
+
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
662
|
+
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
663
|
+
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
664
|
+
"EUR (Euro)": "EUR (Euro)";
|
|
665
|
+
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
666
|
+
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
667
|
+
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
668
|
+
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
669
|
+
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
670
|
+
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
671
|
+
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
672
|
+
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
673
|
+
}>>;
|
|
674
|
+
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
675
|
+
Hourly: "Hourly";
|
|
676
|
+
Daily: "Daily";
|
|
677
|
+
Weekly: "Weekly";
|
|
678
|
+
Monthly: "Monthly";
|
|
679
|
+
"Project Based": "Project Based";
|
|
680
|
+
}>>;
|
|
681
|
+
keyResponsibilities: z.ZodString;
|
|
682
|
+
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
640
683
|
}, z.core.$strip>, z.ZodObject<{
|
|
684
|
+
id: z.ZodCUID2;
|
|
641
685
|
title: z.ZodString;
|
|
642
686
|
brandId: z.ZodCUID2;
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
ACTIVE: "ACTIVE";
|
|
647
|
-
DELETED: "DELETED";
|
|
648
|
-
DRAFT: "DRAFT";
|
|
649
|
-
ARCHIVED: "ARCHIVED";
|
|
687
|
+
jobType: z.ZodEnum<{
|
|
688
|
+
GIG: "GIG";
|
|
689
|
+
ROLE: "ROLE";
|
|
650
690
|
}>;
|
|
651
691
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
652
692
|
"Full Time": "Full Time";
|
|
@@ -659,6 +699,12 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
659
699
|
Hybrid: "Hybrid";
|
|
660
700
|
"On Site": "On Site";
|
|
661
701
|
}>;
|
|
702
|
+
status: z.ZodEnum<{
|
|
703
|
+
ACTIVE: "ACTIVE";
|
|
704
|
+
DELETED: "DELETED";
|
|
705
|
+
DRAFT: "DRAFT";
|
|
706
|
+
ARCHIVED: "ARCHIVED";
|
|
707
|
+
}>;
|
|
662
708
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
663
709
|
"One Time": "One Time";
|
|
664
710
|
Recurring: "Recurring";
|
|
@@ -680,44 +726,13 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
680
726
|
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
681
727
|
[x: string]: string;
|
|
682
728
|
}>>>;
|
|
683
|
-
isBookmarked: z.ZodBoolean;
|
|
684
729
|
createdAt: z.ZodDate;
|
|
685
|
-
version: z.
|
|
730
|
+
version: z.ZodNumber;
|
|
686
731
|
updatedAt: z.ZodDate;
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
"1-3 years": "1-3 years";
|
|
692
|
-
"3-5 years": "3-5 years";
|
|
693
|
-
"5+ years": "5+ years";
|
|
694
|
-
}>;
|
|
695
|
-
overview: z.ZodString;
|
|
696
|
-
keyResponsibilities: z.ZodString;
|
|
697
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
698
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
699
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
700
|
-
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
701
|
-
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
702
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
703
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
704
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
705
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
706
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
707
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
708
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
709
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
710
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
711
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
712
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
713
|
-
}>>;
|
|
714
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
715
|
-
Hourly: "Hourly";
|
|
716
|
-
Daily: "Daily";
|
|
717
|
-
Weekly: "Weekly";
|
|
718
|
-
Monthly: "Monthly";
|
|
719
|
-
"Project Based": "Project Based";
|
|
720
|
-
}>>;
|
|
732
|
+
brandName: z.ZodString;
|
|
733
|
+
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
734
|
+
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
735
|
+
isBookmarked: z.ZodBoolean;
|
|
721
736
|
}, z.core.$strip>]>;
|
|
722
737
|
}, z.core.$strip>>;
|
|
723
738
|
total: z.ZodNumber;
|
|
@@ -15,7 +15,6 @@ exports.MinimalJobApplicationEntitySchema = zod_openapi_1.z.object({
|
|
|
15
15
|
coverLetter: zod_openapi_1.z.string(),
|
|
16
16
|
createdAt: zod_openapi_1.z.coerce.date(),
|
|
17
17
|
applicationStatus: ApplicationStatusSchema,
|
|
18
|
-
isApplied: zod_openapi_1.z.boolean(),
|
|
19
18
|
});
|
|
20
19
|
exports.BaseJobApplicationEntitySchema = zod_openapi_1.z.object({
|
|
21
20
|
id: zod_openapi_1.z.string(),
|
|
@@ -31,7 +30,6 @@ exports.BaseJobApplicationEntitySchema = zod_openapi_1.z.object({
|
|
|
31
30
|
phoneNumber: zod_openapi_1.z.string().nullable(),
|
|
32
31
|
currentRole: zod_openapi_1.z.string(),
|
|
33
32
|
resumeUrl: zod_openapi_1.z.url(),
|
|
34
|
-
isApplied: zod_openapi_1.z.boolean(),
|
|
35
33
|
workSampleUrls: zod_openapi_1.z
|
|
36
34
|
.array(zod_openapi_1.z.object({
|
|
37
35
|
url: zod_openapi_1.z.url(),
|
|
@@ -93,7 +91,6 @@ exports.JobApplicationEntitySchema = zod_openapi_1.z.object({
|
|
|
93
91
|
receiveEmailUpdates: zod_openapi_1.z.boolean().optional(),
|
|
94
92
|
wagesAmount: zod_openapi_1.z.coerce.number().optional(),
|
|
95
93
|
availability: JobAvailabilitySchema.optional(),
|
|
96
|
-
isApplied: zod_openapi_1.z.boolean(),
|
|
97
94
|
createdAt: zod_openapi_1.z.coerce
|
|
98
95
|
.date()
|
|
99
96
|
.optional()
|