@zyacreatives/shared 2.5.55 → 2.5.57

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.
@@ -1,10 +1,82 @@
1
1
  import { z } from "@hono/zod-openapi";
2
+ /**
3
+ * --------------------------------
4
+ * ENUMS
5
+ * --------------------------------
6
+ */
7
+ export declare const JobTypeSchema: z.ZodEnum<{
8
+ GIG: "GIG";
9
+ ROLE: "ROLE";
10
+ }>;
11
+ export declare const EmploymentTypeSchema: z.ZodEnum<{
12
+ "Full Time": "Full Time";
13
+ "Part Time": "Part Time";
14
+ Freelance: "Freelance";
15
+ Internship: "Internship";
16
+ }>;
17
+ export declare const WorkModeSchema: z.ZodEnum<{
18
+ Remote: "Remote";
19
+ Hybrid: "Hybrid";
20
+ "On Site": "On Site";
21
+ }>;
22
+ export declare const JobStatusSchema: z.ZodEnum<{
23
+ ACTIVE: "ACTIVE";
24
+ DELETED: "DELETED";
25
+ DRAFT: "DRAFT";
26
+ ARCHIVED: "ARCHIVED";
27
+ }>;
28
+ export declare const GigTypeSchema: z.ZodEnum<{
29
+ "One Time": "One Time";
30
+ Recurring: "Recurring";
31
+ }>;
32
+ export declare const JobLocationSchema: z.ZodEnum<{
33
+ Africa: "Africa";
34
+ Asia: "Asia";
35
+ Europe: "Europe";
36
+ "North America": "North America";
37
+ "South America": "South America";
38
+ "Middle East": "Middle East";
39
+ Oceania: "Oceania";
40
+ Global: "Global";
41
+ Other: "Other";
42
+ Remote: "Remote";
43
+ EMEA: "EMEA";
44
+ "Asia Pacific": "Asia Pacific";
45
+ }>;
46
+ export declare const ExperienceLevelSchema: z.ZodEnum<{
47
+ "0-1 year": "0-1 year";
48
+ "1-3 years": "1-3 years";
49
+ "3-5 years": "3-5 years";
50
+ "5+ years": "5+ years";
51
+ }>;
52
+ export declare const WageCurrencySchema: z.ZodEnum<{
53
+ "USD (United States Dollar)": "USD (United States Dollar)";
54
+ "EUR (Euro)": "EUR (Euro)";
55
+ "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
56
+ "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
57
+ "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
58
+ "AUD (Australian Dollar)": "AUD (Australian Dollar)";
59
+ "JPY (Japanese Yen)": "JPY (Japanese Yen)";
60
+ "CHF (Swiss Franc)": "CHF (Swiss Franc)";
61
+ "INR (Indian Rupee)": "INR (Indian Rupee)";
62
+ "ZAR (South African Rand)": "ZAR (South African Rand)";
63
+ }>;
64
+ export declare const WageTypeSchema: z.ZodEnum<{
65
+ Hourly: "Hourly";
66
+ Daily: "Daily";
67
+ Weekly: "Weekly";
68
+ Monthly: "Monthly";
69
+ "Project Based": "Project Based";
70
+ }>;
71
+ export declare const JobSectionSchema: z.ZodEnum<{
72
+ [x: string]: string;
73
+ }>;
2
74
  /**
3
75
  * --------------------------------
4
76
  * SHAPE
5
77
  * --------------------------------
6
78
  */
7
- declare const JobShape: z.ZodObject<{
79
+ export declare const JobShape: z.ZodObject<{
8
80
  title: z.ZodString;
9
81
  brandId: z.ZodCUID2;
10
82
  jobType: z.ZodEnum<{
@@ -105,7 +177,79 @@ export declare const JobEntitySchema: z.ZodObject<{
105
177
  id: z.ZodCUID2;
106
178
  }, z.core.$strip>;
107
179
  export type JobEntity = z.infer<typeof JobEntitySchema>;
108
- export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
180
+ /**
181
+ * --------------------------------
182
+ * ROLE / GIG DETAILS
183
+ * --------------------------------
184
+ */
185
+ export declare const GigDetailsSchema: z.ZodObject<{
186
+ overview: z.ZodString;
187
+ deliverables: z.ZodString;
188
+ employeeRequirements: z.ZodOptional<z.ZodString>;
189
+ aboutCompany: z.ZodOptional<z.ZodString>;
190
+ requiredSkills: z.ZodArray<z.ZodString>;
191
+ wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
192
+ wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
193
+ wagesCurrency: z.ZodOptional<z.ZodEnum<{
194
+ "USD (United States Dollar)": "USD (United States Dollar)";
195
+ "EUR (Euro)": "EUR (Euro)";
196
+ "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
197
+ "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
198
+ "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
199
+ "AUD (Australian Dollar)": "AUD (Australian Dollar)";
200
+ "JPY (Japanese Yen)": "JPY (Japanese Yen)";
201
+ "CHF (Swiss Franc)": "CHF (Swiss Franc)";
202
+ "INR (Indian Rupee)": "INR (Indian Rupee)";
203
+ "ZAR (South African Rand)": "ZAR (South African Rand)";
204
+ }>>;
205
+ wagesType: z.ZodOptional<z.ZodEnum<{
206
+ Hourly: "Hourly";
207
+ Daily: "Daily";
208
+ Weekly: "Weekly";
209
+ Monthly: "Monthly";
210
+ "Project Based": "Project Based";
211
+ }>>;
212
+ }, z.core.$strip>;
213
+ export declare const RoleDetailsSchema: z.ZodObject<{
214
+ experienceLevel: z.ZodEnum<{
215
+ "0-1 year": "0-1 year";
216
+ "1-3 years": "1-3 years";
217
+ "3-5 years": "3-5 years";
218
+ "5+ years": "5+ years";
219
+ }>;
220
+ overview: z.ZodString;
221
+ keyResponsibilities: z.ZodString;
222
+ requiredSkills: z.ZodArray<z.ZodString>;
223
+ employeeRequirements: z.ZodOptional<z.ZodString>;
224
+ companyBenefits: z.ZodOptional<z.ZodString>;
225
+ wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
226
+ wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
227
+ wagesCurrency: z.ZodOptional<z.ZodEnum<{
228
+ "USD (United States Dollar)": "USD (United States Dollar)";
229
+ "EUR (Euro)": "EUR (Euro)";
230
+ "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
231
+ "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
232
+ "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
233
+ "AUD (Australian Dollar)": "AUD (Australian Dollar)";
234
+ "JPY (Japanese Yen)": "JPY (Japanese Yen)";
235
+ "CHF (Swiss Franc)": "CHF (Swiss Franc)";
236
+ "INR (Indian Rupee)": "INR (Indian Rupee)";
237
+ "ZAR (South African Rand)": "ZAR (South African Rand)";
238
+ }>>;
239
+ wagesType: z.ZodOptional<z.ZodEnum<{
240
+ Hourly: "Hourly";
241
+ Daily: "Daily";
242
+ Weekly: "Weekly";
243
+ Monthly: "Monthly";
244
+ "Project Based": "Project Based";
245
+ }>>;
246
+ }, z.core.$strip>;
247
+ /**
248
+ * --------------------------------
249
+ * DETAILED ENTITIES
250
+ * --------------------------------
251
+ */
252
+ export declare const GigJobEntitySchema: z.ZodObject<{
109
253
  status: z.ZodEnum<{
110
254
  ACTIVE: "ACTIVE";
111
255
  DELETED: "DELETED";
@@ -121,9 +265,59 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
121
265
  version: z.ZodInt;
122
266
  title: z.ZodString;
123
267
  brandId: z.ZodCUID2;
124
- jobType: z.ZodEnum<{
125
- GIG: "GIG";
126
- ROLE: "ROLE";
268
+ workMode: z.ZodEnum<{
269
+ Remote: "Remote";
270
+ Hybrid: "Hybrid";
271
+ "On Site": "On Site";
272
+ }>;
273
+ location: z.ZodEnum<{
274
+ Africa: "Africa";
275
+ Asia: "Asia";
276
+ Europe: "Europe";
277
+ "North America": "North America";
278
+ "South America": "South America";
279
+ "Middle East": "Middle East";
280
+ Oceania: "Oceania";
281
+ Global: "Global";
282
+ Other: "Other";
283
+ Remote: "Remote";
284
+ EMEA: "EMEA";
285
+ "Asia Pacific": "Asia Pacific";
286
+ }>;
287
+ jobSections: z.ZodArray<z.ZodEnum<{
288
+ [x: string]: string;
289
+ }>>;
290
+ id: z.ZodCUID2;
291
+ overview: z.ZodString;
292
+ deliverables: z.ZodString;
293
+ employeeRequirements: z.ZodOptional<z.ZodString>;
294
+ aboutCompany: z.ZodOptional<z.ZodString>;
295
+ requiredSkills: z.ZodArray<z.ZodString>;
296
+ wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
297
+ wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
298
+ wagesCurrency: z.ZodOptional<z.ZodEnum<{
299
+ "USD (United States Dollar)": "USD (United States Dollar)";
300
+ "EUR (Euro)": "EUR (Euro)";
301
+ "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
302
+ "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
303
+ "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
304
+ "AUD (Australian Dollar)": "AUD (Australian Dollar)";
305
+ "JPY (Japanese Yen)": "JPY (Japanese Yen)";
306
+ "CHF (Swiss Franc)": "CHF (Swiss Franc)";
307
+ "INR (Indian Rupee)": "INR (Indian Rupee)";
308
+ "ZAR (South African Rand)": "ZAR (South African Rand)";
309
+ }>>;
310
+ wagesType: z.ZodOptional<z.ZodEnum<{
311
+ Hourly: "Hourly";
312
+ Daily: "Daily";
313
+ Weekly: "Weekly";
314
+ Monthly: "Monthly";
315
+ "Project Based": "Project Based";
316
+ }>>;
317
+ jobType: z.ZodLiteral<"GIG">;
318
+ gigType: z.ZodEnum<{
319
+ "One Time": "One Time";
320
+ Recurring: "Recurring";
127
321
  }>;
128
322
  employmentType: z.ZodOptional<z.ZodEnum<{
129
323
  "Full Time": "Full Time";
@@ -131,15 +325,116 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
131
325
  Freelance: "Freelance";
132
326
  Internship: "Internship";
133
327
  }>>;
328
+ }, z.core.$strip>;
329
+ export type GigJobEntity = z.infer<typeof GigJobEntitySchema>;
330
+ export declare const RoleJobEntitySchema: z.ZodObject<{
331
+ status: z.ZodEnum<{
332
+ ACTIVE: "ACTIVE";
333
+ DELETED: "DELETED";
334
+ DRAFT: "DRAFT";
335
+ ARCHIVED: "ARCHIVED";
336
+ }>;
337
+ brandName: z.ZodString;
338
+ brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
339
+ isApplied: z.ZodDefault<z.ZodBoolean>;
340
+ isBookmarked: z.ZodBoolean;
341
+ createdAt: z.ZodISODateTime;
342
+ updatedAt: z.ZodISODateTime;
343
+ version: z.ZodInt;
344
+ title: z.ZodString;
345
+ brandId: z.ZodCUID2;
134
346
  workMode: z.ZodEnum<{
135
347
  Remote: "Remote";
136
348
  Hybrid: "Hybrid";
137
349
  "On Site": "On Site";
138
350
  }>;
351
+ location: z.ZodEnum<{
352
+ Africa: "Africa";
353
+ Asia: "Asia";
354
+ Europe: "Europe";
355
+ "North America": "North America";
356
+ "South America": "South America";
357
+ "Middle East": "Middle East";
358
+ Oceania: "Oceania";
359
+ Global: "Global";
360
+ Other: "Other";
361
+ Remote: "Remote";
362
+ EMEA: "EMEA";
363
+ "Asia Pacific": "Asia Pacific";
364
+ }>;
365
+ jobSections: z.ZodArray<z.ZodEnum<{
366
+ [x: string]: string;
367
+ }>>;
368
+ id: z.ZodCUID2;
369
+ experienceLevel: z.ZodEnum<{
370
+ "0-1 year": "0-1 year";
371
+ "1-3 years": "1-3 years";
372
+ "3-5 years": "3-5 years";
373
+ "5+ years": "5+ years";
374
+ }>;
375
+ overview: z.ZodString;
376
+ keyResponsibilities: z.ZodString;
377
+ requiredSkills: z.ZodArray<z.ZodString>;
378
+ employeeRequirements: z.ZodOptional<z.ZodString>;
379
+ companyBenefits: z.ZodOptional<z.ZodString>;
380
+ wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
381
+ wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
382
+ wagesCurrency: z.ZodOptional<z.ZodEnum<{
383
+ "USD (United States Dollar)": "USD (United States Dollar)";
384
+ "EUR (Euro)": "EUR (Euro)";
385
+ "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
386
+ "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
387
+ "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
388
+ "AUD (Australian Dollar)": "AUD (Australian Dollar)";
389
+ "JPY (Japanese Yen)": "JPY (Japanese Yen)";
390
+ "CHF (Swiss Franc)": "CHF (Swiss Franc)";
391
+ "INR (Indian Rupee)": "INR (Indian Rupee)";
392
+ "ZAR (South African Rand)": "ZAR (South African Rand)";
393
+ }>>;
394
+ wagesType: z.ZodOptional<z.ZodEnum<{
395
+ Hourly: "Hourly";
396
+ Daily: "Daily";
397
+ Weekly: "Weekly";
398
+ Monthly: "Monthly";
399
+ "Project Based": "Project Based";
400
+ }>>;
401
+ jobType: z.ZodLiteral<"ROLE">;
402
+ employmentType: z.ZodEnum<{
403
+ "Full Time": "Full Time";
404
+ "Part Time": "Part Time";
405
+ Freelance: "Freelance";
406
+ Internship: "Internship";
407
+ }>;
139
408
  gigType: z.ZodOptional<z.ZodEnum<{
140
409
  "One Time": "One Time";
141
410
  Recurring: "Recurring";
142
411
  }>>;
412
+ }, z.core.$strip>;
413
+ export type RoleJobEntity = z.infer<typeof RoleJobEntitySchema>;
414
+ /**
415
+ * Backwards-compatible names.
416
+ */
417
+ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
418
+ status: z.ZodEnum<{
419
+ ACTIVE: "ACTIVE";
420
+ DELETED: "DELETED";
421
+ DRAFT: "DRAFT";
422
+ ARCHIVED: "ARCHIVED";
423
+ }>;
424
+ brandName: z.ZodString;
425
+ brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
+ isApplied: z.ZodDefault<z.ZodBoolean>;
427
+ isBookmarked: z.ZodBoolean;
428
+ createdAt: z.ZodISODateTime;
429
+ updatedAt: z.ZodISODateTime;
430
+ version: z.ZodInt;
431
+ title: z.ZodString;
432
+ brandId: z.ZodCUID2;
433
+ workMode: z.ZodEnum<{
434
+ Remote: "Remote";
435
+ Hybrid: "Hybrid";
436
+ "On Site": "On Site";
437
+ }>;
143
438
  location: z.ZodEnum<{
144
439
  Africa: "Africa";
145
440
  Asia: "Asia";
@@ -184,8 +479,19 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
184
479
  Monthly: "Monthly";
185
480
  "Project Based": "Project Based";
186
481
  }>>;
482
+ jobType: z.ZodLiteral<"GIG">;
483
+ gigType: z.ZodEnum<{
484
+ "One Time": "One Time";
485
+ Recurring: "Recurring";
486
+ }>;
487
+ employmentType: z.ZodOptional<z.ZodEnum<{
488
+ "Full Time": "Full Time";
489
+ "Part Time": "Part Time";
490
+ Freelance: "Freelance";
491
+ Internship: "Internship";
492
+ }>>;
187
493
  }, z.core.$strip>;
188
- export type JobWithGigDetailsEntity = z.infer<typeof JobWithGigDetailsEntitySchema>;
494
+ export type JobWithGigDetailsEntity = GigJobEntity;
189
495
  export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
190
496
  status: z.ZodEnum<{
191
497
  ACTIVE: "ACTIVE";
@@ -202,25 +508,11 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
202
508
  version: z.ZodInt;
203
509
  title: z.ZodString;
204
510
  brandId: z.ZodCUID2;
205
- jobType: z.ZodEnum<{
206
- GIG: "GIG";
207
- ROLE: "ROLE";
208
- }>;
209
- employmentType: z.ZodOptional<z.ZodEnum<{
210
- "Full Time": "Full Time";
211
- "Part Time": "Part Time";
212
- Freelance: "Freelance";
213
- Internship: "Internship";
214
- }>>;
215
511
  workMode: z.ZodEnum<{
216
512
  Remote: "Remote";
217
513
  Hybrid: "Hybrid";
218
514
  "On Site": "On Site";
219
515
  }>;
220
- gigType: z.ZodOptional<z.ZodEnum<{
221
- "One Time": "One Time";
222
- Recurring: "Recurring";
223
- }>>;
224
516
  location: z.ZodEnum<{
225
517
  Africa: "Africa";
226
518
  Asia: "Asia";
@@ -271,8 +563,26 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
271
563
  Monthly: "Monthly";
272
564
  "Project Based": "Project Based";
273
565
  }>>;
566
+ jobType: z.ZodLiteral<"ROLE">;
567
+ employmentType: z.ZodEnum<{
568
+ "Full Time": "Full Time";
569
+ "Part Time": "Part Time";
570
+ Freelance: "Freelance";
571
+ Internship: "Internship";
572
+ }>;
573
+ gigType: z.ZodOptional<z.ZodEnum<{
574
+ "One Time": "One Time";
575
+ Recurring: "Recurring";
576
+ }>>;
274
577
  }, z.core.$strip>;
275
- export type JobWithRoleDetailsEntity = z.infer<typeof JobWithRoleDetailsEntitySchema>;
578
+ export type JobWithRoleDetailsEntity = RoleJobEntity;
579
+ /**
580
+ * Keep this as a regular union.
581
+ *
582
+ * Do not use discriminatedUnion here because JobEntitySchema has jobType as
583
+ * "GIG" | "ROLE", while GigJobEntitySchema and RoleJobEntitySchema use
584
+ * literals. That makes the discriminator ambiguous.
585
+ */
276
586
  export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
277
587
  status: z.ZodEnum<{
278
588
  ACTIVE: "ACTIVE";
@@ -289,25 +599,11 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
289
599
  version: z.ZodInt;
290
600
  title: z.ZodString;
291
601
  brandId: z.ZodCUID2;
292
- jobType: z.ZodEnum<{
293
- GIG: "GIG";
294
- ROLE: "ROLE";
295
- }>;
296
- employmentType: z.ZodOptional<z.ZodEnum<{
297
- "Full Time": "Full Time";
298
- "Part Time": "Part Time";
299
- Freelance: "Freelance";
300
- Internship: "Internship";
301
- }>>;
302
602
  workMode: z.ZodEnum<{
303
603
  Remote: "Remote";
304
604
  Hybrid: "Hybrid";
305
605
  "On Site": "On Site";
306
606
  }>;
307
- gigType: z.ZodOptional<z.ZodEnum<{
308
- "One Time": "One Time";
309
- Recurring: "Recurring";
310
- }>>;
311
607
  location: z.ZodEnum<{
312
608
  Africa: "Africa";
313
609
  Asia: "Asia";
@@ -352,6 +648,17 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
352
648
  Monthly: "Monthly";
353
649
  "Project Based": "Project Based";
354
650
  }>>;
651
+ jobType: z.ZodLiteral<"GIG">;
652
+ gigType: z.ZodEnum<{
653
+ "One Time": "One Time";
654
+ Recurring: "Recurring";
655
+ }>;
656
+ employmentType: z.ZodOptional<z.ZodEnum<{
657
+ "Full Time": "Full Time";
658
+ "Part Time": "Part Time";
659
+ Freelance: "Freelance";
660
+ Internship: "Internship";
661
+ }>>;
355
662
  }, z.core.$strip>, z.ZodObject<{
356
663
  status: z.ZodEnum<{
357
664
  ACTIVE: "ACTIVE";
@@ -368,25 +675,11 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
368
675
  version: z.ZodInt;
369
676
  title: z.ZodString;
370
677
  brandId: z.ZodCUID2;
371
- jobType: z.ZodEnum<{
372
- GIG: "GIG";
373
- ROLE: "ROLE";
374
- }>;
375
- employmentType: z.ZodOptional<z.ZodEnum<{
376
- "Full Time": "Full Time";
377
- "Part Time": "Part Time";
378
- Freelance: "Freelance";
379
- Internship: "Internship";
380
- }>>;
381
678
  workMode: z.ZodEnum<{
382
679
  Remote: "Remote";
383
680
  Hybrid: "Hybrid";
384
681
  "On Site": "On Site";
385
682
  }>;
386
- gigType: z.ZodOptional<z.ZodEnum<{
387
- "One Time": "One Time";
388
- Recurring: "Recurring";
389
- }>>;
390
683
  location: z.ZodEnum<{
391
684
  Africa: "Africa";
392
685
  Asia: "Asia";
@@ -437,6 +730,17 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
437
730
  Monthly: "Monthly";
438
731
  "Project Based": "Project Based";
439
732
  }>>;
733
+ jobType: z.ZodLiteral<"ROLE">;
734
+ employmentType: z.ZodEnum<{
735
+ "Full Time": "Full Time";
736
+ "Part Time": "Part Time";
737
+ Freelance: "Freelance";
738
+ Internship: "Internship";
739
+ }>;
740
+ gigType: z.ZodOptional<z.ZodEnum<{
741
+ "One Time": "One Time";
742
+ Recurring: "Recurring";
743
+ }>>;
440
744
  }, z.core.$strip>, z.ZodObject<{
441
745
  status: z.ZodEnum<{
442
746
  ACTIVE: "ACTIVE";
@@ -619,25 +923,11 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
619
923
  version: z.ZodInt;
620
924
  title: z.ZodString;
621
925
  brandId: z.ZodCUID2;
622
- jobType: z.ZodEnum<{
623
- GIG: "GIG";
624
- ROLE: "ROLE";
625
- }>;
626
- employmentType: z.ZodOptional<z.ZodEnum<{
627
- "Full Time": "Full Time";
628
- "Part Time": "Part Time";
629
- Freelance: "Freelance";
630
- Internship: "Internship";
631
- }>>;
632
926
  workMode: z.ZodEnum<{
633
927
  Remote: "Remote";
634
928
  Hybrid: "Hybrid";
635
929
  "On Site": "On Site";
636
930
  }>;
637
- gigType: z.ZodOptional<z.ZodEnum<{
638
- "One Time": "One Time";
639
- Recurring: "Recurring";
640
- }>>;
641
931
  location: z.ZodEnum<{
642
932
  Africa: "Africa";
643
933
  Asia: "Asia";
@@ -682,6 +972,17 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
682
972
  Monthly: "Monthly";
683
973
  "Project Based": "Project Based";
684
974
  }>>;
975
+ jobType: z.ZodLiteral<"GIG">;
976
+ gigType: z.ZodEnum<{
977
+ "One Time": "One Time";
978
+ Recurring: "Recurring";
979
+ }>;
980
+ employmentType: z.ZodOptional<z.ZodEnum<{
981
+ "Full Time": "Full Time";
982
+ "Part Time": "Part Time";
983
+ Freelance: "Freelance";
984
+ Internship: "Internship";
985
+ }>>;
685
986
  }, z.core.$strip>, z.ZodObject<{
686
987
  status: z.ZodEnum<{
687
988
  ACTIVE: "ACTIVE";
@@ -698,25 +999,11 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
698
999
  version: z.ZodInt;
699
1000
  title: z.ZodString;
700
1001
  brandId: z.ZodCUID2;
701
- jobType: z.ZodEnum<{
702
- GIG: "GIG";
703
- ROLE: "ROLE";
704
- }>;
705
- employmentType: z.ZodOptional<z.ZodEnum<{
706
- "Full Time": "Full Time";
707
- "Part Time": "Part Time";
708
- Freelance: "Freelance";
709
- Internship: "Internship";
710
- }>>;
711
1002
  workMode: z.ZodEnum<{
712
1003
  Remote: "Remote";
713
1004
  Hybrid: "Hybrid";
714
1005
  "On Site": "On Site";
715
1006
  }>;
716
- gigType: z.ZodOptional<z.ZodEnum<{
717
- "One Time": "One Time";
718
- Recurring: "Recurring";
719
- }>>;
720
1007
  location: z.ZodEnum<{
721
1008
  Africa: "Africa";
722
1009
  Asia: "Asia";
@@ -767,6 +1054,17 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
767
1054
  Monthly: "Monthly";
768
1055
  "Project Based": "Project Based";
769
1056
  }>>;
1057
+ jobType: z.ZodLiteral<"ROLE">;
1058
+ employmentType: z.ZodEnum<{
1059
+ "Full Time": "Full Time";
1060
+ "Part Time": "Part Time";
1061
+ Freelance: "Freelance";
1062
+ Internship: "Internship";
1063
+ }>;
1064
+ gigType: z.ZodOptional<z.ZodEnum<{
1065
+ "One Time": "One Time";
1066
+ Recurring: "Recurring";
1067
+ }>>;
770
1068
  }, z.core.$strip>, z.ZodObject<{
771
1069
  status: z.ZodEnum<{
772
1070
  ACTIVE: "ACTIVE";
@@ -829,6 +1127,11 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
829
1127
  hasPrevPage: z.ZodBoolean;
830
1128
  }, z.core.$strip>;
831
1129
  export type GetJobsOutput = z.infer<typeof GetJobsOutputSchema>;
1130
+ /**
1131
+ * --------------------------------
1132
+ * SEARCH DOCUMENT
1133
+ * --------------------------------
1134
+ */
832
1135
  export declare const JobSearchDocumentSchema: z.ZodObject<{
833
1136
  id: z.ZodCUID2;
834
1137
  title: z.ZodString;
@@ -846,4 +1149,3 @@ export declare const JobSearchDocumentSchema: z.ZodObject<{
846
1149
  updatedAt: z.ZodISODateTime;
847
1150
  }, z.core.$strip>;
848
1151
  export type JobSearchDocument = z.infer<typeof JobSearchDocumentSchema>;
849
- export {};