@zyacreatives/shared 2.5.69 → 2.5.70
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 +496 -352
- package/dist/schemas/job-application.js +63 -25
- package/dist/schemas/job.d.ts +1132 -954
- package/dist/schemas/job.js +59 -70
- package/dist/schemas/user.d.ts +56 -9
- package/package.json +1 -1
- package/src/schemas/job-application.ts +98 -44
- package/src/schemas/job.ts +88 -130
package/dist/schemas/job.d.ts
CHANGED
|
@@ -1,119 +1,65 @@
|
|
|
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
|
-
}>;
|
|
74
2
|
/**
|
|
75
3
|
* --------------------------------
|
|
76
4
|
* SHAPE
|
|
77
5
|
* --------------------------------
|
|
78
6
|
*/
|
|
7
|
+
export declare const JobCleanupSchema: z.ZodObject<{
|
|
8
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
11
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type JobCleanup = z.infer<typeof JobCleanupSchema>;
|
|
79
14
|
export declare const JobShape: z.ZodObject<{
|
|
15
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
80
19
|
title: z.ZodString;
|
|
81
20
|
brandId: z.ZodCUID2;
|
|
82
21
|
jobType: z.ZodEnum<{
|
|
83
|
-
GIG: "GIG";
|
|
84
|
-
ROLE: "ROLE";
|
|
22
|
+
readonly GIG: "GIG";
|
|
23
|
+
readonly ROLE: "ROLE";
|
|
85
24
|
}>;
|
|
86
25
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
26
|
+
readonly FULL_TIME: "Full Time";
|
|
27
|
+
readonly PART_TIME: "Part Time";
|
|
28
|
+
readonly FREELANCE: "Freelance";
|
|
29
|
+
readonly INTERNSHIP: "Internship";
|
|
91
30
|
}>>;
|
|
92
31
|
workMode: z.ZodEnum<{
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
32
|
+
readonly REMOTE: "Remote";
|
|
33
|
+
readonly HYBRID: "Hybrid";
|
|
34
|
+
readonly ON_SITE: "On Site";
|
|
96
35
|
}>;
|
|
97
36
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
98
|
-
|
|
99
|
-
|
|
37
|
+
readonly ONE_TIME: "One Time";
|
|
38
|
+
readonly RECURRING: "Recurring";
|
|
100
39
|
}>>;
|
|
101
40
|
location: z.ZodEnum<{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
41
|
+
readonly AFRICA: "Africa";
|
|
42
|
+
readonly REMOTE: "Remote";
|
|
43
|
+
readonly EUROPE: "Europe";
|
|
44
|
+
readonly ASIA: "Asia";
|
|
45
|
+
readonly NORTH_AMERICA: "North America";
|
|
46
|
+
readonly SOUTH_AMERICA: "South America";
|
|
47
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
48
|
+
readonly OCEANIA: "Oceania";
|
|
49
|
+
readonly EMEA: "EMEA";
|
|
50
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
51
|
+
readonly GLOBAL: "Global";
|
|
52
|
+
readonly OTHER: "Other";
|
|
114
53
|
}>;
|
|
115
54
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
116
|
-
|
|
55
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
56
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
57
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
58
|
+
readonly RESUME: "RESUME";
|
|
59
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
60
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
61
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
62
|
+
readonly WAGES: "WAGES";
|
|
117
63
|
}>>;
|
|
118
64
|
}, z.core.$strip>;
|
|
119
65
|
export type JobShapeType = z.infer<typeof JobShape>;
|
|
@@ -124,10 +70,10 @@ export type JobShapeType = z.infer<typeof JobShape>;
|
|
|
124
70
|
*/
|
|
125
71
|
export declare const JobEntitySchema: z.ZodObject<{
|
|
126
72
|
status: z.ZodEnum<{
|
|
127
|
-
ACTIVE: "ACTIVE";
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
73
|
+
readonly ACTIVE: "ACTIVE";
|
|
74
|
+
readonly DRAFT: "DRAFT";
|
|
75
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
76
|
+
readonly DELETED: "DELETED";
|
|
131
77
|
}>;
|
|
132
78
|
brandName: z.ZodString;
|
|
133
79
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -136,47 +82,124 @@ export declare const JobEntitySchema: z.ZodObject<{
|
|
|
136
82
|
createdAt: z.ZodISODateTime;
|
|
137
83
|
updatedAt: z.ZodISODateTime;
|
|
138
84
|
version: z.ZodInt;
|
|
85
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
86
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
87
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
88
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
139
89
|
title: z.ZodString;
|
|
140
90
|
brandId: z.ZodCUID2;
|
|
141
91
|
jobType: z.ZodEnum<{
|
|
142
|
-
GIG: "GIG";
|
|
143
|
-
ROLE: "ROLE";
|
|
92
|
+
readonly GIG: "GIG";
|
|
93
|
+
readonly ROLE: "ROLE";
|
|
144
94
|
}>;
|
|
145
95
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
96
|
+
readonly FULL_TIME: "Full Time";
|
|
97
|
+
readonly PART_TIME: "Part Time";
|
|
98
|
+
readonly FREELANCE: "Freelance";
|
|
99
|
+
readonly INTERNSHIP: "Internship";
|
|
150
100
|
}>>;
|
|
151
101
|
workMode: z.ZodEnum<{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
102
|
+
readonly REMOTE: "Remote";
|
|
103
|
+
readonly HYBRID: "Hybrid";
|
|
104
|
+
readonly ON_SITE: "On Site";
|
|
155
105
|
}>;
|
|
156
106
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
157
|
-
|
|
158
|
-
|
|
107
|
+
readonly ONE_TIME: "One Time";
|
|
108
|
+
readonly RECURRING: "Recurring";
|
|
159
109
|
}>>;
|
|
160
110
|
location: z.ZodEnum<{
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
111
|
+
readonly AFRICA: "Africa";
|
|
112
|
+
readonly REMOTE: "Remote";
|
|
113
|
+
readonly EUROPE: "Europe";
|
|
114
|
+
readonly ASIA: "Asia";
|
|
115
|
+
readonly NORTH_AMERICA: "North America";
|
|
116
|
+
readonly SOUTH_AMERICA: "South America";
|
|
117
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
118
|
+
readonly OCEANIA: "Oceania";
|
|
119
|
+
readonly EMEA: "EMEA";
|
|
120
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
121
|
+
readonly GLOBAL: "Global";
|
|
122
|
+
readonly OTHER: "Other";
|
|
173
123
|
}>;
|
|
174
124
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
175
|
-
|
|
125
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
126
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
127
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
128
|
+
readonly RESUME: "RESUME";
|
|
129
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
130
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
131
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
132
|
+
readonly WAGES: "WAGES";
|
|
176
133
|
}>>;
|
|
177
134
|
id: z.ZodCUID2;
|
|
178
135
|
}, z.core.$strip>;
|
|
179
136
|
export type JobEntity = z.infer<typeof JobEntitySchema>;
|
|
137
|
+
export declare const BaseJobEntitySchema: z.ZodObject<{
|
|
138
|
+
status: z.ZodEnum<{
|
|
139
|
+
readonly ACTIVE: "ACTIVE";
|
|
140
|
+
readonly DRAFT: "DRAFT";
|
|
141
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
142
|
+
readonly DELETED: "DELETED";
|
|
143
|
+
}>;
|
|
144
|
+
brandName: z.ZodString;
|
|
145
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
147
|
+
isBookmarked: z.ZodBoolean;
|
|
148
|
+
createdAt: z.ZodISODateTime;
|
|
149
|
+
updatedAt: z.ZodISODateTime;
|
|
150
|
+
version: z.ZodInt;
|
|
151
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
152
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
153
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
154
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
155
|
+
title: z.ZodString;
|
|
156
|
+
brandId: z.ZodCUID2;
|
|
157
|
+
jobType: z.ZodEnum<{
|
|
158
|
+
readonly GIG: "GIG";
|
|
159
|
+
readonly ROLE: "ROLE";
|
|
160
|
+
}>;
|
|
161
|
+
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
162
|
+
readonly FULL_TIME: "Full Time";
|
|
163
|
+
readonly PART_TIME: "Part Time";
|
|
164
|
+
readonly FREELANCE: "Freelance";
|
|
165
|
+
readonly INTERNSHIP: "Internship";
|
|
166
|
+
}>>;
|
|
167
|
+
workMode: z.ZodEnum<{
|
|
168
|
+
readonly REMOTE: "Remote";
|
|
169
|
+
readonly HYBRID: "Hybrid";
|
|
170
|
+
readonly ON_SITE: "On Site";
|
|
171
|
+
}>;
|
|
172
|
+
gigType: z.ZodOptional<z.ZodEnum<{
|
|
173
|
+
readonly ONE_TIME: "One Time";
|
|
174
|
+
readonly RECURRING: "Recurring";
|
|
175
|
+
}>>;
|
|
176
|
+
location: z.ZodEnum<{
|
|
177
|
+
readonly AFRICA: "Africa";
|
|
178
|
+
readonly REMOTE: "Remote";
|
|
179
|
+
readonly EUROPE: "Europe";
|
|
180
|
+
readonly ASIA: "Asia";
|
|
181
|
+
readonly NORTH_AMERICA: "North America";
|
|
182
|
+
readonly SOUTH_AMERICA: "South America";
|
|
183
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
184
|
+
readonly OCEANIA: "Oceania";
|
|
185
|
+
readonly EMEA: "EMEA";
|
|
186
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
187
|
+
readonly GLOBAL: "Global";
|
|
188
|
+
readonly OTHER: "Other";
|
|
189
|
+
}>;
|
|
190
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
191
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
192
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
193
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
194
|
+
readonly RESUME: "RESUME";
|
|
195
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
196
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
197
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
198
|
+
readonly WAGES: "WAGES";
|
|
199
|
+
}>>;
|
|
200
|
+
id: z.ZodCUID2;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
export type BaseJobEntity = z.infer<typeof BaseJobEntitySchema>;
|
|
180
203
|
/**
|
|
181
204
|
* --------------------------------
|
|
182
205
|
* ROLE / GIG DETAILS
|
|
@@ -191,31 +214,32 @@ export declare const GigDetailsSchema: z.ZodObject<{
|
|
|
191
214
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
192
215
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
193
216
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
217
|
+
readonly USD: "USD (United States Dollar)";
|
|
218
|
+
readonly EUR: "EUR (Euro)";
|
|
219
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
220
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
221
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
222
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
223
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
224
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
225
|
+
readonly INR: "INR (Indian Rupee)";
|
|
226
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
204
227
|
}>>;
|
|
205
228
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
229
|
+
readonly HOURLY: "Hourly";
|
|
230
|
+
readonly DAILY: "Daily";
|
|
231
|
+
readonly WEEKLY: "Weekly";
|
|
232
|
+
readonly MONTHLY: "Monthly";
|
|
233
|
+
readonly PROJECT_BASED: "Project Based";
|
|
211
234
|
}>>;
|
|
212
235
|
}, z.core.$strip>;
|
|
236
|
+
export type GigDetails = z.infer<typeof GigDetailsSchema>;
|
|
213
237
|
export declare const RoleDetailsSchema: z.ZodObject<{
|
|
214
238
|
experienceLevel: z.ZodEnum<{
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
239
|
+
readonly YEAR_0_1: "0-1 year";
|
|
240
|
+
readonly YEAR_1_3: "1-3 years";
|
|
241
|
+
readonly YEAR_3_5: "3-5 years";
|
|
242
|
+
readonly YEAR_5_PLUS: "5+ years";
|
|
219
243
|
}>;
|
|
220
244
|
overview: z.ZodString;
|
|
221
245
|
keyResponsibilities: z.ZodString;
|
|
@@ -225,25 +249,26 @@ export declare const RoleDetailsSchema: z.ZodObject<{
|
|
|
225
249
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
226
250
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
227
251
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
252
|
+
readonly USD: "USD (United States Dollar)";
|
|
253
|
+
readonly EUR: "EUR (Euro)";
|
|
254
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
255
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
256
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
257
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
258
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
259
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
260
|
+
readonly INR: "INR (Indian Rupee)";
|
|
261
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
238
262
|
}>>;
|
|
239
263
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
264
|
+
readonly HOURLY: "Hourly";
|
|
265
|
+
readonly DAILY: "Daily";
|
|
266
|
+
readonly WEEKLY: "Weekly";
|
|
267
|
+
readonly MONTHLY: "Monthly";
|
|
268
|
+
readonly PROJECT_BASED: "Project Based";
|
|
245
269
|
}>>;
|
|
246
270
|
}, z.core.$strip>;
|
|
271
|
+
export type RoleDetails = z.infer<typeof RoleDetailsSchema>;
|
|
247
272
|
/**
|
|
248
273
|
* --------------------------------
|
|
249
274
|
* DETAILED ENTITIES
|
|
@@ -251,10 +276,10 @@ export declare const RoleDetailsSchema: z.ZodObject<{
|
|
|
251
276
|
*/
|
|
252
277
|
export declare const GigJobEntitySchema: z.ZodObject<{
|
|
253
278
|
status: z.ZodEnum<{
|
|
254
|
-
ACTIVE: "ACTIVE";
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
279
|
+
readonly ACTIVE: "ACTIVE";
|
|
280
|
+
readonly DRAFT: "DRAFT";
|
|
281
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
282
|
+
readonly DELETED: "DELETED";
|
|
258
283
|
}>;
|
|
259
284
|
brandName: z.ZodString;
|
|
260
285
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -263,29 +288,40 @@ export declare const GigJobEntitySchema: z.ZodObject<{
|
|
|
263
288
|
createdAt: z.ZodISODateTime;
|
|
264
289
|
updatedAt: z.ZodISODateTime;
|
|
265
290
|
version: z.ZodInt;
|
|
291
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
292
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
293
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
294
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
266
295
|
title: z.ZodString;
|
|
267
296
|
brandId: z.ZodCUID2;
|
|
268
297
|
workMode: z.ZodEnum<{
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
298
|
+
readonly REMOTE: "Remote";
|
|
299
|
+
readonly HYBRID: "Hybrid";
|
|
300
|
+
readonly ON_SITE: "On Site";
|
|
272
301
|
}>;
|
|
273
302
|
location: z.ZodEnum<{
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
303
|
+
readonly AFRICA: "Africa";
|
|
304
|
+
readonly REMOTE: "Remote";
|
|
305
|
+
readonly EUROPE: "Europe";
|
|
306
|
+
readonly ASIA: "Asia";
|
|
307
|
+
readonly NORTH_AMERICA: "North America";
|
|
308
|
+
readonly SOUTH_AMERICA: "South America";
|
|
309
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
310
|
+
readonly OCEANIA: "Oceania";
|
|
311
|
+
readonly EMEA: "EMEA";
|
|
312
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
313
|
+
readonly GLOBAL: "Global";
|
|
314
|
+
readonly OTHER: "Other";
|
|
286
315
|
}>;
|
|
287
316
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
288
|
-
|
|
317
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
318
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
319
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
320
|
+
readonly RESUME: "RESUME";
|
|
321
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
322
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
323
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
324
|
+
readonly WAGES: "WAGES";
|
|
289
325
|
}>>;
|
|
290
326
|
id: z.ZodCUID2;
|
|
291
327
|
overview: z.ZodString;
|
|
@@ -296,43 +332,43 @@ export declare const GigJobEntitySchema: z.ZodObject<{
|
|
|
296
332
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
297
333
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
298
334
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
335
|
+
readonly USD: "USD (United States Dollar)";
|
|
336
|
+
readonly EUR: "EUR (Euro)";
|
|
337
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
338
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
339
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
340
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
341
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
342
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
343
|
+
readonly INR: "INR (Indian Rupee)";
|
|
344
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
309
345
|
}>>;
|
|
310
346
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
347
|
+
readonly HOURLY: "Hourly";
|
|
348
|
+
readonly DAILY: "Daily";
|
|
349
|
+
readonly WEEKLY: "Weekly";
|
|
350
|
+
readonly MONTHLY: "Monthly";
|
|
351
|
+
readonly PROJECT_BASED: "Project Based";
|
|
316
352
|
}>>;
|
|
317
353
|
jobType: z.ZodLiteral<"GIG">;
|
|
318
354
|
gigType: z.ZodEnum<{
|
|
319
|
-
|
|
320
|
-
|
|
355
|
+
readonly ONE_TIME: "One Time";
|
|
356
|
+
readonly RECURRING: "Recurring";
|
|
321
357
|
}>;
|
|
322
358
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
359
|
+
readonly FULL_TIME: "Full Time";
|
|
360
|
+
readonly PART_TIME: "Part Time";
|
|
361
|
+
readonly FREELANCE: "Freelance";
|
|
362
|
+
readonly INTERNSHIP: "Internship";
|
|
327
363
|
}>>;
|
|
328
364
|
}, z.core.$strip>;
|
|
329
365
|
export type GigJobEntity = z.infer<typeof GigJobEntitySchema>;
|
|
330
366
|
export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
331
367
|
status: z.ZodEnum<{
|
|
332
|
-
ACTIVE: "ACTIVE";
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
368
|
+
readonly ACTIVE: "ACTIVE";
|
|
369
|
+
readonly DRAFT: "DRAFT";
|
|
370
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
371
|
+
readonly DELETED: "DELETED";
|
|
336
372
|
}>;
|
|
337
373
|
brandName: z.ZodString;
|
|
338
374
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -341,36 +377,47 @@ export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
|
341
377
|
createdAt: z.ZodISODateTime;
|
|
342
378
|
updatedAt: z.ZodISODateTime;
|
|
343
379
|
version: z.ZodInt;
|
|
380
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
381
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
382
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
383
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
344
384
|
title: z.ZodString;
|
|
345
385
|
brandId: z.ZodCUID2;
|
|
346
386
|
workMode: z.ZodEnum<{
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
387
|
+
readonly REMOTE: "Remote";
|
|
388
|
+
readonly HYBRID: "Hybrid";
|
|
389
|
+
readonly ON_SITE: "On Site";
|
|
350
390
|
}>;
|
|
351
391
|
location: z.ZodEnum<{
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
392
|
+
readonly AFRICA: "Africa";
|
|
393
|
+
readonly REMOTE: "Remote";
|
|
394
|
+
readonly EUROPE: "Europe";
|
|
395
|
+
readonly ASIA: "Asia";
|
|
396
|
+
readonly NORTH_AMERICA: "North America";
|
|
397
|
+
readonly SOUTH_AMERICA: "South America";
|
|
398
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
399
|
+
readonly OCEANIA: "Oceania";
|
|
400
|
+
readonly EMEA: "EMEA";
|
|
401
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
402
|
+
readonly GLOBAL: "Global";
|
|
403
|
+
readonly OTHER: "Other";
|
|
364
404
|
}>;
|
|
365
405
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
366
|
-
|
|
406
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
407
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
408
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
409
|
+
readonly RESUME: "RESUME";
|
|
410
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
411
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
412
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
413
|
+
readonly WAGES: "WAGES";
|
|
367
414
|
}>>;
|
|
368
415
|
id: z.ZodCUID2;
|
|
369
416
|
experienceLevel: z.ZodEnum<{
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
417
|
+
readonly YEAR_0_1: "0-1 year";
|
|
418
|
+
readonly YEAR_1_3: "1-3 years";
|
|
419
|
+
readonly YEAR_3_5: "3-5 years";
|
|
420
|
+
readonly YEAR_5_PLUS: "5+ years";
|
|
374
421
|
}>;
|
|
375
422
|
overview: z.ZodString;
|
|
376
423
|
keyResponsibilities: z.ZodString;
|
|
@@ -380,34 +427,34 @@ export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
|
380
427
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
381
428
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
382
429
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
430
|
+
readonly USD: "USD (United States Dollar)";
|
|
431
|
+
readonly EUR: "EUR (Euro)";
|
|
432
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
433
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
434
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
435
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
436
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
437
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
438
|
+
readonly INR: "INR (Indian Rupee)";
|
|
439
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
393
440
|
}>>;
|
|
394
441
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
442
|
+
readonly HOURLY: "Hourly";
|
|
443
|
+
readonly DAILY: "Daily";
|
|
444
|
+
readonly WEEKLY: "Weekly";
|
|
445
|
+
readonly MONTHLY: "Monthly";
|
|
446
|
+
readonly PROJECT_BASED: "Project Based";
|
|
400
447
|
}>>;
|
|
401
448
|
jobType: z.ZodLiteral<"ROLE">;
|
|
402
449
|
employmentType: z.ZodEnum<{
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
450
|
+
readonly FULL_TIME: "Full Time";
|
|
451
|
+
readonly PART_TIME: "Part Time";
|
|
452
|
+
readonly FREELANCE: "Freelance";
|
|
453
|
+
readonly INTERNSHIP: "Internship";
|
|
407
454
|
}>;
|
|
408
455
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
409
|
-
|
|
410
|
-
|
|
456
|
+
readonly ONE_TIME: "One Time";
|
|
457
|
+
readonly RECURRING: "Recurring";
|
|
411
458
|
}>>;
|
|
412
459
|
}, z.core.$strip>;
|
|
413
460
|
export type RoleJobEntity = z.infer<typeof RoleJobEntitySchema>;
|
|
@@ -416,10 +463,10 @@ export type RoleJobEntity = z.infer<typeof RoleJobEntitySchema>;
|
|
|
416
463
|
*/
|
|
417
464
|
export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
418
465
|
status: z.ZodEnum<{
|
|
419
|
-
ACTIVE: "ACTIVE";
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
466
|
+
readonly ACTIVE: "ACTIVE";
|
|
467
|
+
readonly DRAFT: "DRAFT";
|
|
468
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
469
|
+
readonly DELETED: "DELETED";
|
|
423
470
|
}>;
|
|
424
471
|
brandName: z.ZodString;
|
|
425
472
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -428,29 +475,40 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
|
428
475
|
createdAt: z.ZodISODateTime;
|
|
429
476
|
updatedAt: z.ZodISODateTime;
|
|
430
477
|
version: z.ZodInt;
|
|
478
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
479
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
480
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
481
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
431
482
|
title: z.ZodString;
|
|
432
483
|
brandId: z.ZodCUID2;
|
|
433
484
|
workMode: z.ZodEnum<{
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
485
|
+
readonly REMOTE: "Remote";
|
|
486
|
+
readonly HYBRID: "Hybrid";
|
|
487
|
+
readonly ON_SITE: "On Site";
|
|
437
488
|
}>;
|
|
438
489
|
location: z.ZodEnum<{
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
490
|
+
readonly AFRICA: "Africa";
|
|
491
|
+
readonly REMOTE: "Remote";
|
|
492
|
+
readonly EUROPE: "Europe";
|
|
493
|
+
readonly ASIA: "Asia";
|
|
494
|
+
readonly NORTH_AMERICA: "North America";
|
|
495
|
+
readonly SOUTH_AMERICA: "South America";
|
|
496
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
497
|
+
readonly OCEANIA: "Oceania";
|
|
498
|
+
readonly EMEA: "EMEA";
|
|
499
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
500
|
+
readonly GLOBAL: "Global";
|
|
501
|
+
readonly OTHER: "Other";
|
|
451
502
|
}>;
|
|
452
503
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
453
|
-
|
|
504
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
505
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
506
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
507
|
+
readonly RESUME: "RESUME";
|
|
508
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
509
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
510
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
511
|
+
readonly WAGES: "WAGES";
|
|
454
512
|
}>>;
|
|
455
513
|
id: z.ZodCUID2;
|
|
456
514
|
overview: z.ZodString;
|
|
@@ -461,43 +519,43 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
|
461
519
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
462
520
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
463
521
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
522
|
+
readonly USD: "USD (United States Dollar)";
|
|
523
|
+
readonly EUR: "EUR (Euro)";
|
|
524
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
525
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
526
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
527
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
528
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
529
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
530
|
+
readonly INR: "INR (Indian Rupee)";
|
|
531
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
474
532
|
}>>;
|
|
475
533
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
534
|
+
readonly HOURLY: "Hourly";
|
|
535
|
+
readonly DAILY: "Daily";
|
|
536
|
+
readonly WEEKLY: "Weekly";
|
|
537
|
+
readonly MONTHLY: "Monthly";
|
|
538
|
+
readonly PROJECT_BASED: "Project Based";
|
|
481
539
|
}>>;
|
|
482
540
|
jobType: z.ZodLiteral<"GIG">;
|
|
483
541
|
gigType: z.ZodEnum<{
|
|
484
|
-
|
|
485
|
-
|
|
542
|
+
readonly ONE_TIME: "One Time";
|
|
543
|
+
readonly RECURRING: "Recurring";
|
|
486
544
|
}>;
|
|
487
545
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
546
|
+
readonly FULL_TIME: "Full Time";
|
|
547
|
+
readonly PART_TIME: "Part Time";
|
|
548
|
+
readonly FREELANCE: "Freelance";
|
|
549
|
+
readonly INTERNSHIP: "Internship";
|
|
492
550
|
}>>;
|
|
493
551
|
}, z.core.$strip>;
|
|
494
552
|
export type JobWithGigDetailsEntity = GigJobEntity;
|
|
495
553
|
export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
496
554
|
status: z.ZodEnum<{
|
|
497
|
-
ACTIVE: "ACTIVE";
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
555
|
+
readonly ACTIVE: "ACTIVE";
|
|
556
|
+
readonly DRAFT: "DRAFT";
|
|
557
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
558
|
+
readonly DELETED: "DELETED";
|
|
501
559
|
}>;
|
|
502
560
|
brandName: z.ZodString;
|
|
503
561
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -506,36 +564,47 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
|
506
564
|
createdAt: z.ZodISODateTime;
|
|
507
565
|
updatedAt: z.ZodISODateTime;
|
|
508
566
|
version: z.ZodInt;
|
|
567
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
568
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
569
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
570
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
509
571
|
title: z.ZodString;
|
|
510
572
|
brandId: z.ZodCUID2;
|
|
511
573
|
workMode: z.ZodEnum<{
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
574
|
+
readonly REMOTE: "Remote";
|
|
575
|
+
readonly HYBRID: "Hybrid";
|
|
576
|
+
readonly ON_SITE: "On Site";
|
|
515
577
|
}>;
|
|
516
578
|
location: z.ZodEnum<{
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
579
|
+
readonly AFRICA: "Africa";
|
|
580
|
+
readonly REMOTE: "Remote";
|
|
581
|
+
readonly EUROPE: "Europe";
|
|
582
|
+
readonly ASIA: "Asia";
|
|
583
|
+
readonly NORTH_AMERICA: "North America";
|
|
584
|
+
readonly SOUTH_AMERICA: "South America";
|
|
585
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
586
|
+
readonly OCEANIA: "Oceania";
|
|
587
|
+
readonly EMEA: "EMEA";
|
|
588
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
589
|
+
readonly GLOBAL: "Global";
|
|
590
|
+
readonly OTHER: "Other";
|
|
529
591
|
}>;
|
|
530
592
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
531
|
-
|
|
593
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
594
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
595
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
596
|
+
readonly RESUME: "RESUME";
|
|
597
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
598
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
599
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
600
|
+
readonly WAGES: "WAGES";
|
|
532
601
|
}>>;
|
|
533
602
|
id: z.ZodCUID2;
|
|
534
603
|
experienceLevel: z.ZodEnum<{
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
604
|
+
readonly YEAR_0_1: "0-1 year";
|
|
605
|
+
readonly YEAR_1_3: "1-3 years";
|
|
606
|
+
readonly YEAR_3_5: "3-5 years";
|
|
607
|
+
readonly YEAR_5_PLUS: "5+ years";
|
|
539
608
|
}>;
|
|
540
609
|
overview: z.ZodString;
|
|
541
610
|
keyResponsibilities: z.ZodString;
|
|
@@ -545,50 +614,46 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
|
545
614
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
546
615
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
547
616
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
617
|
+
readonly USD: "USD (United States Dollar)";
|
|
618
|
+
readonly EUR: "EUR (Euro)";
|
|
619
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
620
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
621
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
622
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
623
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
624
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
625
|
+
readonly INR: "INR (Indian Rupee)";
|
|
626
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
558
627
|
}>>;
|
|
559
628
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
629
|
+
readonly HOURLY: "Hourly";
|
|
630
|
+
readonly DAILY: "Daily";
|
|
631
|
+
readonly WEEKLY: "Weekly";
|
|
632
|
+
readonly MONTHLY: "Monthly";
|
|
633
|
+
readonly PROJECT_BASED: "Project Based";
|
|
565
634
|
}>>;
|
|
566
635
|
jobType: z.ZodLiteral<"ROLE">;
|
|
567
636
|
employmentType: z.ZodEnum<{
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
637
|
+
readonly FULL_TIME: "Full Time";
|
|
638
|
+
readonly PART_TIME: "Part Time";
|
|
639
|
+
readonly FREELANCE: "Freelance";
|
|
640
|
+
readonly INTERNSHIP: "Internship";
|
|
572
641
|
}>;
|
|
573
642
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
574
|
-
|
|
575
|
-
|
|
643
|
+
readonly ONE_TIME: "One Time";
|
|
644
|
+
readonly RECURRING: "Recurring";
|
|
576
645
|
}>>;
|
|
577
646
|
}, z.core.$strip>;
|
|
578
647
|
export type JobWithRoleDetailsEntity = RoleJobEntity;
|
|
579
648
|
/**
|
|
580
649
|
* 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
650
|
*/
|
|
586
651
|
export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
587
652
|
status: z.ZodEnum<{
|
|
588
|
-
ACTIVE: "ACTIVE";
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
653
|
+
readonly ACTIVE: "ACTIVE";
|
|
654
|
+
readonly DRAFT: "DRAFT";
|
|
655
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
656
|
+
readonly DELETED: "DELETED";
|
|
592
657
|
}>;
|
|
593
658
|
brandName: z.ZodString;
|
|
594
659
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -597,29 +662,40 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
597
662
|
createdAt: z.ZodISODateTime;
|
|
598
663
|
updatedAt: z.ZodISODateTime;
|
|
599
664
|
version: z.ZodInt;
|
|
665
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
666
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
667
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
668
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
600
669
|
title: z.ZodString;
|
|
601
670
|
brandId: z.ZodCUID2;
|
|
602
671
|
workMode: z.ZodEnum<{
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
672
|
+
readonly REMOTE: "Remote";
|
|
673
|
+
readonly HYBRID: "Hybrid";
|
|
674
|
+
readonly ON_SITE: "On Site";
|
|
606
675
|
}>;
|
|
607
676
|
location: z.ZodEnum<{
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
677
|
+
readonly AFRICA: "Africa";
|
|
678
|
+
readonly REMOTE: "Remote";
|
|
679
|
+
readonly EUROPE: "Europe";
|
|
680
|
+
readonly ASIA: "Asia";
|
|
681
|
+
readonly NORTH_AMERICA: "North America";
|
|
682
|
+
readonly SOUTH_AMERICA: "South America";
|
|
683
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
684
|
+
readonly OCEANIA: "Oceania";
|
|
685
|
+
readonly EMEA: "EMEA";
|
|
686
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
687
|
+
readonly GLOBAL: "Global";
|
|
688
|
+
readonly OTHER: "Other";
|
|
620
689
|
}>;
|
|
621
690
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
622
|
-
|
|
691
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
692
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
693
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
694
|
+
readonly RESUME: "RESUME";
|
|
695
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
696
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
697
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
698
|
+
readonly WAGES: "WAGES";
|
|
623
699
|
}>>;
|
|
624
700
|
id: z.ZodCUID2;
|
|
625
701
|
overview: z.ZodString;
|
|
@@ -630,41 +706,41 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
630
706
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
631
707
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
632
708
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
709
|
+
readonly USD: "USD (United States Dollar)";
|
|
710
|
+
readonly EUR: "EUR (Euro)";
|
|
711
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
712
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
713
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
714
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
715
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
716
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
717
|
+
readonly INR: "INR (Indian Rupee)";
|
|
718
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
643
719
|
}>>;
|
|
644
720
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
721
|
+
readonly HOURLY: "Hourly";
|
|
722
|
+
readonly DAILY: "Daily";
|
|
723
|
+
readonly WEEKLY: "Weekly";
|
|
724
|
+
readonly MONTHLY: "Monthly";
|
|
725
|
+
readonly PROJECT_BASED: "Project Based";
|
|
650
726
|
}>>;
|
|
651
727
|
jobType: z.ZodLiteral<"GIG">;
|
|
652
728
|
gigType: z.ZodEnum<{
|
|
653
|
-
|
|
654
|
-
|
|
729
|
+
readonly ONE_TIME: "One Time";
|
|
730
|
+
readonly RECURRING: "Recurring";
|
|
655
731
|
}>;
|
|
656
732
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
733
|
+
readonly FULL_TIME: "Full Time";
|
|
734
|
+
readonly PART_TIME: "Part Time";
|
|
735
|
+
readonly FREELANCE: "Freelance";
|
|
736
|
+
readonly INTERNSHIP: "Internship";
|
|
661
737
|
}>>;
|
|
662
738
|
}, z.core.$strip>, z.ZodObject<{
|
|
663
739
|
status: z.ZodEnum<{
|
|
664
|
-
ACTIVE: "ACTIVE";
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
740
|
+
readonly ACTIVE: "ACTIVE";
|
|
741
|
+
readonly DRAFT: "DRAFT";
|
|
742
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
743
|
+
readonly DELETED: "DELETED";
|
|
668
744
|
}>;
|
|
669
745
|
brandName: z.ZodString;
|
|
670
746
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -673,36 +749,47 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
673
749
|
createdAt: z.ZodISODateTime;
|
|
674
750
|
updatedAt: z.ZodISODateTime;
|
|
675
751
|
version: z.ZodInt;
|
|
752
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
753
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
754
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
755
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
676
756
|
title: z.ZodString;
|
|
677
757
|
brandId: z.ZodCUID2;
|
|
678
758
|
workMode: z.ZodEnum<{
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
759
|
+
readonly REMOTE: "Remote";
|
|
760
|
+
readonly HYBRID: "Hybrid";
|
|
761
|
+
readonly ON_SITE: "On Site";
|
|
682
762
|
}>;
|
|
683
763
|
location: z.ZodEnum<{
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
764
|
+
readonly AFRICA: "Africa";
|
|
765
|
+
readonly REMOTE: "Remote";
|
|
766
|
+
readonly EUROPE: "Europe";
|
|
767
|
+
readonly ASIA: "Asia";
|
|
768
|
+
readonly NORTH_AMERICA: "North America";
|
|
769
|
+
readonly SOUTH_AMERICA: "South America";
|
|
770
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
771
|
+
readonly OCEANIA: "Oceania";
|
|
772
|
+
readonly EMEA: "EMEA";
|
|
773
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
774
|
+
readonly GLOBAL: "Global";
|
|
775
|
+
readonly OTHER: "Other";
|
|
696
776
|
}>;
|
|
697
777
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
698
|
-
|
|
778
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
779
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
780
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
781
|
+
readonly RESUME: "RESUME";
|
|
782
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
783
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
784
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
785
|
+
readonly WAGES: "WAGES";
|
|
699
786
|
}>>;
|
|
700
787
|
id: z.ZodCUID2;
|
|
701
788
|
experienceLevel: z.ZodEnum<{
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
789
|
+
readonly YEAR_0_1: "0-1 year";
|
|
790
|
+
readonly YEAR_1_3: "1-3 years";
|
|
791
|
+
readonly YEAR_3_5: "3-5 years";
|
|
792
|
+
readonly YEAR_5_PLUS: "5+ years";
|
|
706
793
|
}>;
|
|
707
794
|
overview: z.ZodString;
|
|
708
795
|
keyResponsibilities: z.ZodString;
|
|
@@ -712,41 +799,41 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
712
799
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
713
800
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
714
801
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
802
|
+
readonly USD: "USD (United States Dollar)";
|
|
803
|
+
readonly EUR: "EUR (Euro)";
|
|
804
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
805
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
806
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
807
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
808
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
809
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
810
|
+
readonly INR: "INR (Indian Rupee)";
|
|
811
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
725
812
|
}>>;
|
|
726
813
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
814
|
+
readonly HOURLY: "Hourly";
|
|
815
|
+
readonly DAILY: "Daily";
|
|
816
|
+
readonly WEEKLY: "Weekly";
|
|
817
|
+
readonly MONTHLY: "Monthly";
|
|
818
|
+
readonly PROJECT_BASED: "Project Based";
|
|
732
819
|
}>>;
|
|
733
820
|
jobType: z.ZodLiteral<"ROLE">;
|
|
734
821
|
employmentType: z.ZodEnum<{
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
822
|
+
readonly FULL_TIME: "Full Time";
|
|
823
|
+
readonly PART_TIME: "Part Time";
|
|
824
|
+
readonly FREELANCE: "Freelance";
|
|
825
|
+
readonly INTERNSHIP: "Internship";
|
|
739
826
|
}>;
|
|
740
827
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
741
|
-
|
|
742
|
-
|
|
828
|
+
readonly ONE_TIME: "One Time";
|
|
829
|
+
readonly RECURRING: "Recurring";
|
|
743
830
|
}>>;
|
|
744
831
|
}, z.core.$strip>, z.ZodObject<{
|
|
745
832
|
status: z.ZodEnum<{
|
|
746
|
-
ACTIVE: "ACTIVE";
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
833
|
+
readonly ACTIVE: "ACTIVE";
|
|
834
|
+
readonly DRAFT: "DRAFT";
|
|
835
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
836
|
+
readonly DELETED: "DELETED";
|
|
750
837
|
}>;
|
|
751
838
|
brandName: z.ZodString;
|
|
752
839
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -755,43 +842,54 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
755
842
|
createdAt: z.ZodISODateTime;
|
|
756
843
|
updatedAt: z.ZodISODateTime;
|
|
757
844
|
version: z.ZodInt;
|
|
845
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
846
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
847
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
848
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
758
849
|
title: z.ZodString;
|
|
759
850
|
brandId: z.ZodCUID2;
|
|
760
851
|
jobType: z.ZodEnum<{
|
|
761
|
-
GIG: "GIG";
|
|
762
|
-
ROLE: "ROLE";
|
|
852
|
+
readonly GIG: "GIG";
|
|
853
|
+
readonly ROLE: "ROLE";
|
|
763
854
|
}>;
|
|
764
855
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
856
|
+
readonly FULL_TIME: "Full Time";
|
|
857
|
+
readonly PART_TIME: "Part Time";
|
|
858
|
+
readonly FREELANCE: "Freelance";
|
|
859
|
+
readonly INTERNSHIP: "Internship";
|
|
769
860
|
}>>;
|
|
770
861
|
workMode: z.ZodEnum<{
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
862
|
+
readonly REMOTE: "Remote";
|
|
863
|
+
readonly HYBRID: "Hybrid";
|
|
864
|
+
readonly ON_SITE: "On Site";
|
|
774
865
|
}>;
|
|
775
866
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
776
|
-
|
|
777
|
-
|
|
867
|
+
readonly ONE_TIME: "One Time";
|
|
868
|
+
readonly RECURRING: "Recurring";
|
|
778
869
|
}>>;
|
|
779
870
|
location: z.ZodEnum<{
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
871
|
+
readonly AFRICA: "Africa";
|
|
872
|
+
readonly REMOTE: "Remote";
|
|
873
|
+
readonly EUROPE: "Europe";
|
|
874
|
+
readonly ASIA: "Asia";
|
|
875
|
+
readonly NORTH_AMERICA: "North America";
|
|
876
|
+
readonly SOUTH_AMERICA: "South America";
|
|
877
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
878
|
+
readonly OCEANIA: "Oceania";
|
|
879
|
+
readonly EMEA: "EMEA";
|
|
880
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
881
|
+
readonly GLOBAL: "Global";
|
|
882
|
+
readonly OTHER: "Other";
|
|
792
883
|
}>;
|
|
793
884
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
794
|
-
|
|
885
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
886
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
887
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
888
|
+
readonly RESUME: "RESUME";
|
|
889
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
890
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
891
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
892
|
+
readonly WAGES: "WAGES";
|
|
795
893
|
}>>;
|
|
796
894
|
id: z.ZodCUID2;
|
|
797
895
|
}, z.core.$strip>]>;
|
|
@@ -801,101 +899,261 @@ export type NormalizedJobEntity = z.infer<typeof NormalizedJobSchema>;
|
|
|
801
899
|
* INPUTS
|
|
802
900
|
* --------------------------------
|
|
803
901
|
*/
|
|
902
|
+
export declare const JobIdSchema: z.ZodObject<{
|
|
903
|
+
jobId: z.ZodCUID2;
|
|
904
|
+
}, z.core.$strip>;
|
|
905
|
+
export type JobId = z.infer<typeof JobIdSchema>;
|
|
804
906
|
export declare const CreateJobInputSchema: z.ZodObject<{
|
|
907
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
908
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
909
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
910
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
805
911
|
title: z.ZodString;
|
|
806
912
|
brandId: z.ZodCUID2;
|
|
807
913
|
jobType: z.ZodEnum<{
|
|
808
|
-
GIG: "GIG";
|
|
809
|
-
ROLE: "ROLE";
|
|
914
|
+
readonly GIG: "GIG";
|
|
915
|
+
readonly ROLE: "ROLE";
|
|
810
916
|
}>;
|
|
811
917
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
918
|
+
readonly FULL_TIME: "Full Time";
|
|
919
|
+
readonly PART_TIME: "Part Time";
|
|
920
|
+
readonly FREELANCE: "Freelance";
|
|
921
|
+
readonly INTERNSHIP: "Internship";
|
|
816
922
|
}>>;
|
|
817
923
|
workMode: z.ZodEnum<{
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
924
|
+
readonly REMOTE: "Remote";
|
|
925
|
+
readonly HYBRID: "Hybrid";
|
|
926
|
+
readonly ON_SITE: "On Site";
|
|
821
927
|
}>;
|
|
822
928
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
823
|
-
|
|
824
|
-
|
|
929
|
+
readonly ONE_TIME: "One Time";
|
|
930
|
+
readonly RECURRING: "Recurring";
|
|
825
931
|
}>>;
|
|
826
932
|
location: z.ZodEnum<{
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
933
|
+
readonly AFRICA: "Africa";
|
|
934
|
+
readonly REMOTE: "Remote";
|
|
935
|
+
readonly EUROPE: "Europe";
|
|
936
|
+
readonly ASIA: "Asia";
|
|
937
|
+
readonly NORTH_AMERICA: "North America";
|
|
938
|
+
readonly SOUTH_AMERICA: "South America";
|
|
939
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
940
|
+
readonly OCEANIA: "Oceania";
|
|
941
|
+
readonly EMEA: "EMEA";
|
|
942
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
943
|
+
readonly GLOBAL: "Global";
|
|
944
|
+
readonly OTHER: "Other";
|
|
839
945
|
}>;
|
|
840
946
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
841
|
-
|
|
947
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
948
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
949
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
950
|
+
readonly RESUME: "RESUME";
|
|
951
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
952
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
953
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
954
|
+
readonly WAGES: "WAGES";
|
|
842
955
|
}>>;
|
|
843
956
|
}, z.core.$strip>;
|
|
844
957
|
export type CreateJobInput = z.infer<typeof CreateJobInputSchema>;
|
|
845
958
|
export declare const UpdateJobInputSchema: z.ZodObject<{
|
|
959
|
+
maxApplications: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
960
|
+
maxHires: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
961
|
+
applicationDeadline: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>>;
|
|
962
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
846
963
|
title: z.ZodOptional<z.ZodString>;
|
|
847
964
|
brandId: z.ZodOptional<z.ZodCUID2>;
|
|
848
965
|
jobType: z.ZodOptional<z.ZodEnum<{
|
|
849
|
-
GIG: "GIG";
|
|
850
|
-
ROLE: "ROLE";
|
|
966
|
+
readonly GIG: "GIG";
|
|
967
|
+
readonly ROLE: "ROLE";
|
|
851
968
|
}>>;
|
|
852
969
|
employmentType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
970
|
+
readonly FULL_TIME: "Full Time";
|
|
971
|
+
readonly PART_TIME: "Part Time";
|
|
972
|
+
readonly FREELANCE: "Freelance";
|
|
973
|
+
readonly INTERNSHIP: "Internship";
|
|
857
974
|
}>>>;
|
|
858
975
|
workMode: z.ZodOptional<z.ZodEnum<{
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
976
|
+
readonly REMOTE: "Remote";
|
|
977
|
+
readonly HYBRID: "Hybrid";
|
|
978
|
+
readonly ON_SITE: "On Site";
|
|
862
979
|
}>>;
|
|
863
980
|
gigType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
864
|
-
|
|
865
|
-
|
|
981
|
+
readonly ONE_TIME: "One Time";
|
|
982
|
+
readonly RECURRING: "Recurring";
|
|
866
983
|
}>>>;
|
|
867
984
|
location: z.ZodOptional<z.ZodEnum<{
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
985
|
+
readonly AFRICA: "Africa";
|
|
986
|
+
readonly REMOTE: "Remote";
|
|
987
|
+
readonly EUROPE: "Europe";
|
|
988
|
+
readonly ASIA: "Asia";
|
|
989
|
+
readonly NORTH_AMERICA: "North America";
|
|
990
|
+
readonly SOUTH_AMERICA: "South America";
|
|
991
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
992
|
+
readonly OCEANIA: "Oceania";
|
|
993
|
+
readonly EMEA: "EMEA";
|
|
994
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
995
|
+
readonly GLOBAL: "Global";
|
|
996
|
+
readonly OTHER: "Other";
|
|
880
997
|
}>>;
|
|
881
998
|
jobSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
882
|
-
|
|
999
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
1000
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
1001
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
1002
|
+
readonly RESUME: "RESUME";
|
|
1003
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
1004
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
1005
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
1006
|
+
readonly WAGES: "WAGES";
|
|
883
1007
|
}>>>;
|
|
884
1008
|
id: z.ZodCUID2;
|
|
885
1009
|
status: z.ZodOptional<z.ZodEnum<{
|
|
886
|
-
ACTIVE: "ACTIVE";
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
1010
|
+
readonly ACTIVE: "ACTIVE";
|
|
1011
|
+
readonly DRAFT: "DRAFT";
|
|
1012
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1013
|
+
readonly DELETED: "DELETED";
|
|
890
1014
|
}>>;
|
|
891
1015
|
version: z.ZodInt;
|
|
892
1016
|
}, z.core.$strip>;
|
|
893
1017
|
export type UpdateJobInput = z.infer<typeof UpdateJobInputSchema>;
|
|
1018
|
+
export declare const CreateGigJobInputSchema: z.ZodObject<{
|
|
1019
|
+
overview: z.ZodString;
|
|
1020
|
+
deliverables: z.ZodString;
|
|
1021
|
+
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
1022
|
+
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1024
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1025
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1026
|
+
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1027
|
+
readonly USD: "USD (United States Dollar)";
|
|
1028
|
+
readonly EUR: "EUR (Euro)";
|
|
1029
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1030
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1031
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1032
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1033
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1034
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1035
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1036
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
1037
|
+
}>>;
|
|
1038
|
+
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
1039
|
+
readonly HOURLY: "Hourly";
|
|
1040
|
+
readonly DAILY: "Daily";
|
|
1041
|
+
readonly WEEKLY: "Weekly";
|
|
1042
|
+
readonly MONTHLY: "Monthly";
|
|
1043
|
+
readonly PROJECT_BASED: "Project Based";
|
|
1044
|
+
}>>;
|
|
1045
|
+
id: z.ZodCUID2;
|
|
1046
|
+
}, z.core.$strip>;
|
|
1047
|
+
export type CreateGigJobInput = z.infer<typeof CreateGigJobInputSchema>;
|
|
1048
|
+
export declare const UpdateGigJobInputSchema: z.ZodObject<{
|
|
1049
|
+
overview: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
deliverables: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1052
|
+
aboutCompany: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1053
|
+
requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1054
|
+
wagesMin: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1055
|
+
wagesMax: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1056
|
+
wagesCurrency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1057
|
+
readonly USD: "USD (United States Dollar)";
|
|
1058
|
+
readonly EUR: "EUR (Euro)";
|
|
1059
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1060
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1061
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1062
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1063
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1064
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1065
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1066
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
1067
|
+
}>>>;
|
|
1068
|
+
wagesType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1069
|
+
readonly HOURLY: "Hourly";
|
|
1070
|
+
readonly DAILY: "Daily";
|
|
1071
|
+
readonly WEEKLY: "Weekly";
|
|
1072
|
+
readonly MONTHLY: "Monthly";
|
|
1073
|
+
readonly PROJECT_BASED: "Project Based";
|
|
1074
|
+
}>>>;
|
|
1075
|
+
id: z.ZodCUID2;
|
|
1076
|
+
version: z.ZodDefault<z.ZodInt>;
|
|
1077
|
+
}, z.core.$strip>;
|
|
1078
|
+
export type UpdateGigJobInput = z.infer<typeof UpdateGigJobInputSchema>;
|
|
1079
|
+
export declare const CreateRoleJobInputSchema: z.ZodObject<{
|
|
1080
|
+
experienceLevel: z.ZodEnum<{
|
|
1081
|
+
readonly YEAR_0_1: "0-1 year";
|
|
1082
|
+
readonly YEAR_1_3: "1-3 years";
|
|
1083
|
+
readonly YEAR_3_5: "3-5 years";
|
|
1084
|
+
readonly YEAR_5_PLUS: "5+ years";
|
|
1085
|
+
}>;
|
|
1086
|
+
overview: z.ZodString;
|
|
1087
|
+
keyResponsibilities: z.ZodString;
|
|
1088
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1089
|
+
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
1091
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1092
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1093
|
+
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1094
|
+
readonly USD: "USD (United States Dollar)";
|
|
1095
|
+
readonly EUR: "EUR (Euro)";
|
|
1096
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1097
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1098
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1099
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1100
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1101
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1102
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1103
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
1104
|
+
}>>;
|
|
1105
|
+
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
1106
|
+
readonly HOURLY: "Hourly";
|
|
1107
|
+
readonly DAILY: "Daily";
|
|
1108
|
+
readonly WEEKLY: "Weekly";
|
|
1109
|
+
readonly MONTHLY: "Monthly";
|
|
1110
|
+
readonly PROJECT_BASED: "Project Based";
|
|
1111
|
+
}>>;
|
|
1112
|
+
id: z.ZodCUID2;
|
|
1113
|
+
}, z.core.$strip>;
|
|
1114
|
+
export type CreateRoleJobInput = z.infer<typeof CreateRoleJobInputSchema>;
|
|
1115
|
+
export declare const UpdateRoleJobInputSchema: z.ZodObject<{
|
|
1116
|
+
experienceLevel: z.ZodOptional<z.ZodEnum<{
|
|
1117
|
+
readonly YEAR_0_1: "0-1 year";
|
|
1118
|
+
readonly YEAR_1_3: "1-3 years";
|
|
1119
|
+
readonly YEAR_3_5: "3-5 years";
|
|
1120
|
+
readonly YEAR_5_PLUS: "5+ years";
|
|
1121
|
+
}>>;
|
|
1122
|
+
overview: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
keyResponsibilities: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1125
|
+
employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1126
|
+
companyBenefits: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1127
|
+
wagesMin: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1128
|
+
wagesMax: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1129
|
+
wagesCurrency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1130
|
+
readonly USD: "USD (United States Dollar)";
|
|
1131
|
+
readonly EUR: "EUR (Euro)";
|
|
1132
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1133
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1134
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1135
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1136
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1137
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1138
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1139
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
1140
|
+
}>>>;
|
|
1141
|
+
wagesType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1142
|
+
readonly HOURLY: "Hourly";
|
|
1143
|
+
readonly DAILY: "Daily";
|
|
1144
|
+
readonly WEEKLY: "Weekly";
|
|
1145
|
+
readonly MONTHLY: "Monthly";
|
|
1146
|
+
readonly PROJECT_BASED: "Project Based";
|
|
1147
|
+
}>>>;
|
|
1148
|
+
id: z.ZodCUID2;
|
|
1149
|
+
version: z.ZodDefault<z.ZodInt>;
|
|
1150
|
+
}, z.core.$strip>;
|
|
1151
|
+
export type UpdateRoleJobInput = z.infer<typeof UpdateRoleJobInputSchema>;
|
|
894
1152
|
export declare const GetJobsInputSchema: z.ZodObject<{
|
|
895
1153
|
q: z.ZodOptional<z.ZodString>;
|
|
896
1154
|
jobType: z.ZodOptional<z.ZodEnum<{
|
|
897
|
-
GIG: "GIG";
|
|
898
|
-
ROLE: "ROLE";
|
|
1155
|
+
readonly GIG: "GIG";
|
|
1156
|
+
readonly ROLE: "ROLE";
|
|
899
1157
|
}>>;
|
|
900
1158
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
901
1159
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -909,10 +1167,10 @@ export type GetJobsInput = z.infer<typeof GetJobsInputSchema>;
|
|
|
909
1167
|
export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
910
1168
|
jobs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
911
1169
|
status: z.ZodEnum<{
|
|
912
|
-
ACTIVE: "ACTIVE";
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
1170
|
+
readonly ACTIVE: "ACTIVE";
|
|
1171
|
+
readonly DRAFT: "DRAFT";
|
|
1172
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1173
|
+
readonly DELETED: "DELETED";
|
|
916
1174
|
}>;
|
|
917
1175
|
brandName: z.ZodString;
|
|
918
1176
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -921,29 +1179,40 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
921
1179
|
createdAt: z.ZodISODateTime;
|
|
922
1180
|
updatedAt: z.ZodISODateTime;
|
|
923
1181
|
version: z.ZodInt;
|
|
1182
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1183
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1184
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1185
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
924
1186
|
title: z.ZodString;
|
|
925
1187
|
brandId: z.ZodCUID2;
|
|
926
1188
|
workMode: z.ZodEnum<{
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
1189
|
+
readonly REMOTE: "Remote";
|
|
1190
|
+
readonly HYBRID: "Hybrid";
|
|
1191
|
+
readonly ON_SITE: "On Site";
|
|
930
1192
|
}>;
|
|
931
1193
|
location: z.ZodEnum<{
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
1194
|
+
readonly AFRICA: "Africa";
|
|
1195
|
+
readonly REMOTE: "Remote";
|
|
1196
|
+
readonly EUROPE: "Europe";
|
|
1197
|
+
readonly ASIA: "Asia";
|
|
1198
|
+
readonly NORTH_AMERICA: "North America";
|
|
1199
|
+
readonly SOUTH_AMERICA: "South America";
|
|
1200
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
1201
|
+
readonly OCEANIA: "Oceania";
|
|
1202
|
+
readonly EMEA: "EMEA";
|
|
1203
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
1204
|
+
readonly GLOBAL: "Global";
|
|
1205
|
+
readonly OTHER: "Other";
|
|
944
1206
|
}>;
|
|
945
1207
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
946
|
-
|
|
1208
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
1209
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
1210
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
1211
|
+
readonly RESUME: "RESUME";
|
|
1212
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
1213
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
1214
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
1215
|
+
readonly WAGES: "WAGES";
|
|
947
1216
|
}>>;
|
|
948
1217
|
id: z.ZodCUID2;
|
|
949
1218
|
overview: z.ZodString;
|
|
@@ -954,41 +1223,41 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
954
1223
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
955
1224
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
956
1225
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
1226
|
+
readonly USD: "USD (United States Dollar)";
|
|
1227
|
+
readonly EUR: "EUR (Euro)";
|
|
1228
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1229
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1230
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1231
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1232
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1233
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1234
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1235
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
967
1236
|
}>>;
|
|
968
1237
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
1238
|
+
readonly HOURLY: "Hourly";
|
|
1239
|
+
readonly DAILY: "Daily";
|
|
1240
|
+
readonly WEEKLY: "Weekly";
|
|
1241
|
+
readonly MONTHLY: "Monthly";
|
|
1242
|
+
readonly PROJECT_BASED: "Project Based";
|
|
974
1243
|
}>>;
|
|
975
1244
|
jobType: z.ZodLiteral<"GIG">;
|
|
976
1245
|
gigType: z.ZodEnum<{
|
|
977
|
-
|
|
978
|
-
|
|
1246
|
+
readonly ONE_TIME: "One Time";
|
|
1247
|
+
readonly RECURRING: "Recurring";
|
|
979
1248
|
}>;
|
|
980
1249
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
1250
|
+
readonly FULL_TIME: "Full Time";
|
|
1251
|
+
readonly PART_TIME: "Part Time";
|
|
1252
|
+
readonly FREELANCE: "Freelance";
|
|
1253
|
+
readonly INTERNSHIP: "Internship";
|
|
985
1254
|
}>>;
|
|
986
1255
|
}, z.core.$strip>, z.ZodObject<{
|
|
987
1256
|
status: z.ZodEnum<{
|
|
988
|
-
ACTIVE: "ACTIVE";
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1257
|
+
readonly ACTIVE: "ACTIVE";
|
|
1258
|
+
readonly DRAFT: "DRAFT";
|
|
1259
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1260
|
+
readonly DELETED: "DELETED";
|
|
992
1261
|
}>;
|
|
993
1262
|
brandName: z.ZodString;
|
|
994
1263
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -997,36 +1266,47 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
997
1266
|
createdAt: z.ZodISODateTime;
|
|
998
1267
|
updatedAt: z.ZodISODateTime;
|
|
999
1268
|
version: z.ZodInt;
|
|
1269
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1270
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1271
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1272
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1000
1273
|
title: z.ZodString;
|
|
1001
1274
|
brandId: z.ZodCUID2;
|
|
1002
1275
|
workMode: z.ZodEnum<{
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1276
|
+
readonly REMOTE: "Remote";
|
|
1277
|
+
readonly HYBRID: "Hybrid";
|
|
1278
|
+
readonly ON_SITE: "On Site";
|
|
1006
1279
|
}>;
|
|
1007
1280
|
location: z.ZodEnum<{
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1281
|
+
readonly AFRICA: "Africa";
|
|
1282
|
+
readonly REMOTE: "Remote";
|
|
1283
|
+
readonly EUROPE: "Europe";
|
|
1284
|
+
readonly ASIA: "Asia";
|
|
1285
|
+
readonly NORTH_AMERICA: "North America";
|
|
1286
|
+
readonly SOUTH_AMERICA: "South America";
|
|
1287
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
1288
|
+
readonly OCEANIA: "Oceania";
|
|
1289
|
+
readonly EMEA: "EMEA";
|
|
1290
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
1291
|
+
readonly GLOBAL: "Global";
|
|
1292
|
+
readonly OTHER: "Other";
|
|
1020
1293
|
}>;
|
|
1021
1294
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
1022
|
-
|
|
1295
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
1296
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
1297
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
1298
|
+
readonly RESUME: "RESUME";
|
|
1299
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
1300
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
1301
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
1302
|
+
readonly WAGES: "WAGES";
|
|
1023
1303
|
}>>;
|
|
1024
1304
|
id: z.ZodCUID2;
|
|
1025
1305
|
experienceLevel: z.ZodEnum<{
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1306
|
+
readonly YEAR_0_1: "0-1 year";
|
|
1307
|
+
readonly YEAR_1_3: "1-3 years";
|
|
1308
|
+
readonly YEAR_3_5: "3-5 years";
|
|
1309
|
+
readonly YEAR_5_PLUS: "5+ years";
|
|
1030
1310
|
}>;
|
|
1031
1311
|
overview: z.ZodString;
|
|
1032
1312
|
keyResponsibilities: z.ZodString;
|
|
@@ -1036,41 +1316,41 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
1036
1316
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1037
1317
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1038
1318
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1319
|
+
readonly USD: "USD (United States Dollar)";
|
|
1320
|
+
readonly EUR: "EUR (Euro)";
|
|
1321
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1322
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1323
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1324
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1325
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1326
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1327
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1328
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
1049
1329
|
}>>;
|
|
1050
1330
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1331
|
+
readonly HOURLY: "Hourly";
|
|
1332
|
+
readonly DAILY: "Daily";
|
|
1333
|
+
readonly WEEKLY: "Weekly";
|
|
1334
|
+
readonly MONTHLY: "Monthly";
|
|
1335
|
+
readonly PROJECT_BASED: "Project Based";
|
|
1056
1336
|
}>>;
|
|
1057
1337
|
jobType: z.ZodLiteral<"ROLE">;
|
|
1058
1338
|
employmentType: z.ZodEnum<{
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1339
|
+
readonly FULL_TIME: "Full Time";
|
|
1340
|
+
readonly PART_TIME: "Part Time";
|
|
1341
|
+
readonly FREELANCE: "Freelance";
|
|
1342
|
+
readonly INTERNSHIP: "Internship";
|
|
1063
1343
|
}>;
|
|
1064
1344
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
1065
|
-
|
|
1066
|
-
|
|
1345
|
+
readonly ONE_TIME: "One Time";
|
|
1346
|
+
readonly RECURRING: "Recurring";
|
|
1067
1347
|
}>>;
|
|
1068
1348
|
}, z.core.$strip>, z.ZodObject<{
|
|
1069
1349
|
status: z.ZodEnum<{
|
|
1070
|
-
ACTIVE: "ACTIVE";
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1350
|
+
readonly ACTIVE: "ACTIVE";
|
|
1351
|
+
readonly DRAFT: "DRAFT";
|
|
1352
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1353
|
+
readonly DELETED: "DELETED";
|
|
1074
1354
|
}>;
|
|
1075
1355
|
brandName: z.ZodString;
|
|
1076
1356
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1079,43 +1359,54 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
1079
1359
|
createdAt: z.ZodISODateTime;
|
|
1080
1360
|
updatedAt: z.ZodISODateTime;
|
|
1081
1361
|
version: z.ZodInt;
|
|
1362
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1363
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1364
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1365
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1082
1366
|
title: z.ZodString;
|
|
1083
1367
|
brandId: z.ZodCUID2;
|
|
1084
1368
|
jobType: z.ZodEnum<{
|
|
1085
|
-
GIG: "GIG";
|
|
1086
|
-
ROLE: "ROLE";
|
|
1369
|
+
readonly GIG: "GIG";
|
|
1370
|
+
readonly ROLE: "ROLE";
|
|
1087
1371
|
}>;
|
|
1088
1372
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1373
|
+
readonly FULL_TIME: "Full Time";
|
|
1374
|
+
readonly PART_TIME: "Part Time";
|
|
1375
|
+
readonly FREELANCE: "Freelance";
|
|
1376
|
+
readonly INTERNSHIP: "Internship";
|
|
1093
1377
|
}>>;
|
|
1094
1378
|
workMode: z.ZodEnum<{
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1379
|
+
readonly REMOTE: "Remote";
|
|
1380
|
+
readonly HYBRID: "Hybrid";
|
|
1381
|
+
readonly ON_SITE: "On Site";
|
|
1098
1382
|
}>;
|
|
1099
1383
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
1100
|
-
|
|
1101
|
-
|
|
1384
|
+
readonly ONE_TIME: "One Time";
|
|
1385
|
+
readonly RECURRING: "Recurring";
|
|
1102
1386
|
}>>;
|
|
1103
1387
|
location: z.ZodEnum<{
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1388
|
+
readonly AFRICA: "Africa";
|
|
1389
|
+
readonly REMOTE: "Remote";
|
|
1390
|
+
readonly EUROPE: "Europe";
|
|
1391
|
+
readonly ASIA: "Asia";
|
|
1392
|
+
readonly NORTH_AMERICA: "North America";
|
|
1393
|
+
readonly SOUTH_AMERICA: "South America";
|
|
1394
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
1395
|
+
readonly OCEANIA: "Oceania";
|
|
1396
|
+
readonly EMEA: "EMEA";
|
|
1397
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
1398
|
+
readonly GLOBAL: "Global";
|
|
1399
|
+
readonly OTHER: "Other";
|
|
1116
1400
|
}>;
|
|
1117
1401
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
1118
|
-
|
|
1402
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
1403
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
1404
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
1405
|
+
readonly RESUME: "RESUME";
|
|
1406
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
1407
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
1408
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
1409
|
+
readonly WAGES: "WAGES";
|
|
1119
1410
|
}>>;
|
|
1120
1411
|
id: z.ZodCUID2;
|
|
1121
1412
|
}, z.core.$strip>]>>;
|
|
@@ -1127,237 +1418,13 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
1127
1418
|
hasPrevPage: z.ZodBoolean;
|
|
1128
1419
|
}, z.core.$strip>;
|
|
1129
1420
|
export type GetJobsOutput = z.infer<typeof GetJobsOutputSchema>;
|
|
1130
|
-
/**
|
|
1131
|
-
* --------------------------------
|
|
1132
|
-
* SEARCH DOCUMENT
|
|
1133
|
-
* --------------------------------
|
|
1134
|
-
*/
|
|
1135
|
-
export declare const JobSearchDocumentSchema: z.ZodObject<{
|
|
1136
|
-
id: z.ZodCUID2;
|
|
1137
|
-
title: z.ZodString;
|
|
1138
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1139
|
-
brandId: z.ZodCUID2;
|
|
1140
|
-
brandName: z.ZodString;
|
|
1141
|
-
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1142
|
-
jobType: z.ZodEnum<{
|
|
1143
|
-
GIG: "GIG";
|
|
1144
|
-
ROLE: "ROLE";
|
|
1145
|
-
}>;
|
|
1146
|
-
status: z.ZodOptional<z.ZodString>;
|
|
1147
|
-
employmentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
|
-
workMode: z.ZodString;
|
|
1149
|
-
gigType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1150
|
-
location: z.ZodString;
|
|
1151
|
-
overview: z.ZodString;
|
|
1152
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1153
|
-
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1154
|
-
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1155
|
-
wagesCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1156
|
-
wagesType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1157
|
-
createdAt: z.ZodString;
|
|
1158
|
-
updatedAt: z.ZodString;
|
|
1159
|
-
}, z.core.$strip>;
|
|
1160
|
-
export type JobSearchDocument = z.infer<typeof JobSearchDocumentSchema>;
|
|
1161
|
-
export declare const JobIdSchema: z.ZodObject<{
|
|
1162
|
-
jobId: z.ZodCUID2;
|
|
1163
|
-
}, z.core.$strip>;
|
|
1164
|
-
export type JobId = z.infer<typeof JobIdSchema>;
|
|
1165
|
-
export declare const BaseJobEntitySchema: z.ZodObject<{
|
|
1166
|
-
status: z.ZodEnum<{
|
|
1167
|
-
ACTIVE: "ACTIVE";
|
|
1168
|
-
DELETED: "DELETED";
|
|
1169
|
-
DRAFT: "DRAFT";
|
|
1170
|
-
ARCHIVED: "ARCHIVED";
|
|
1171
|
-
}>;
|
|
1172
|
-
brandName: z.ZodString;
|
|
1173
|
-
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1174
|
-
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
1175
|
-
isBookmarked: z.ZodBoolean;
|
|
1176
|
-
createdAt: z.ZodISODateTime;
|
|
1177
|
-
updatedAt: z.ZodISODateTime;
|
|
1178
|
-
version: z.ZodInt;
|
|
1179
|
-
title: z.ZodString;
|
|
1180
|
-
brandId: z.ZodCUID2;
|
|
1181
|
-
jobType: z.ZodEnum<{
|
|
1182
|
-
GIG: "GIG";
|
|
1183
|
-
ROLE: "ROLE";
|
|
1184
|
-
}>;
|
|
1185
|
-
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
1186
|
-
"Full Time": "Full Time";
|
|
1187
|
-
"Part Time": "Part Time";
|
|
1188
|
-
Freelance: "Freelance";
|
|
1189
|
-
Internship: "Internship";
|
|
1190
|
-
}>>;
|
|
1191
|
-
workMode: z.ZodEnum<{
|
|
1192
|
-
Remote: "Remote";
|
|
1193
|
-
Hybrid: "Hybrid";
|
|
1194
|
-
"On Site": "On Site";
|
|
1195
|
-
}>;
|
|
1196
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
1197
|
-
"One Time": "One Time";
|
|
1198
|
-
Recurring: "Recurring";
|
|
1199
|
-
}>>;
|
|
1200
|
-
location: z.ZodEnum<{
|
|
1201
|
-
Africa: "Africa";
|
|
1202
|
-
Asia: "Asia";
|
|
1203
|
-
Europe: "Europe";
|
|
1204
|
-
"North America": "North America";
|
|
1205
|
-
"South America": "South America";
|
|
1206
|
-
"Middle East": "Middle East";
|
|
1207
|
-
Oceania: "Oceania";
|
|
1208
|
-
Global: "Global";
|
|
1209
|
-
Other: "Other";
|
|
1210
|
-
Remote: "Remote";
|
|
1211
|
-
EMEA: "EMEA";
|
|
1212
|
-
"Asia Pacific": "Asia Pacific";
|
|
1213
|
-
}>;
|
|
1214
|
-
jobSections: z.ZodArray<z.ZodEnum<{
|
|
1215
|
-
[x: string]: string;
|
|
1216
|
-
}>>;
|
|
1217
|
-
id: z.ZodCUID2;
|
|
1218
|
-
}, z.core.$strip>;
|
|
1219
|
-
export type BaseJobEntity = z.infer<typeof BaseJobEntitySchema>;
|
|
1220
|
-
export declare const CreateGigJobInputSchema: z.ZodObject<{
|
|
1221
|
-
overview: z.ZodString;
|
|
1222
|
-
deliverables: z.ZodString;
|
|
1223
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
1224
|
-
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
1225
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1226
|
-
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1227
|
-
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1228
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1229
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
1230
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
1231
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
1232
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
1233
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
1234
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
1235
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
1236
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
1237
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
1238
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
1239
|
-
}>>;
|
|
1240
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
1241
|
-
Hourly: "Hourly";
|
|
1242
|
-
Daily: "Daily";
|
|
1243
|
-
Weekly: "Weekly";
|
|
1244
|
-
Monthly: "Monthly";
|
|
1245
|
-
"Project Based": "Project Based";
|
|
1246
|
-
}>>;
|
|
1247
|
-
id: z.ZodCUID2;
|
|
1248
|
-
}, z.core.$strip>;
|
|
1249
|
-
export type CreateGigJobInput = z.infer<typeof CreateGigJobInputSchema>;
|
|
1250
|
-
export declare const UpdateGigJobInputSchema: z.ZodObject<{
|
|
1251
|
-
overview: z.ZodOptional<z.ZodString>;
|
|
1252
|
-
deliverables: z.ZodOptional<z.ZodString>;
|
|
1253
|
-
employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1254
|
-
aboutCompany: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1255
|
-
requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1256
|
-
wagesMin: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1257
|
-
wagesMax: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1258
|
-
wagesCurrency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1259
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
1260
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
1261
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
1262
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
1263
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
1264
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
1265
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
1266
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
1267
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
1268
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
1269
|
-
}>>>;
|
|
1270
|
-
wagesType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1271
|
-
Hourly: "Hourly";
|
|
1272
|
-
Daily: "Daily";
|
|
1273
|
-
Weekly: "Weekly";
|
|
1274
|
-
Monthly: "Monthly";
|
|
1275
|
-
"Project Based": "Project Based";
|
|
1276
|
-
}>>>;
|
|
1277
|
-
id: z.ZodCUID2;
|
|
1278
|
-
version: z.ZodDefault<z.ZodInt>;
|
|
1279
|
-
}, z.core.$strip>;
|
|
1280
|
-
export type UpdateGigJobInput = z.infer<typeof UpdateGigJobInputSchema>;
|
|
1281
|
-
export declare const CreateRoleJobInputSchema: z.ZodObject<{
|
|
1282
|
-
experienceLevel: z.ZodEnum<{
|
|
1283
|
-
"0-1 year": "0-1 year";
|
|
1284
|
-
"1-3 years": "1-3 years";
|
|
1285
|
-
"3-5 years": "3-5 years";
|
|
1286
|
-
"5+ years": "5+ years";
|
|
1287
|
-
}>;
|
|
1288
|
-
overview: z.ZodString;
|
|
1289
|
-
keyResponsibilities: z.ZodString;
|
|
1290
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1291
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
1292
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
1293
|
-
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1294
|
-
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1295
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1296
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
1297
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
1298
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
1299
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
1300
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
1301
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
1302
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
1303
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
1304
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
1305
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
1306
|
-
}>>;
|
|
1307
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
1308
|
-
Hourly: "Hourly";
|
|
1309
|
-
Daily: "Daily";
|
|
1310
|
-
Weekly: "Weekly";
|
|
1311
|
-
Monthly: "Monthly";
|
|
1312
|
-
"Project Based": "Project Based";
|
|
1313
|
-
}>>;
|
|
1314
|
-
id: z.ZodCUID2;
|
|
1315
|
-
}, z.core.$strip>;
|
|
1316
|
-
export type CreateRoleJobInput = z.infer<typeof CreateRoleJobInputSchema>;
|
|
1317
|
-
export declare const UpdateRoleJobInputSchema: z.ZodObject<{
|
|
1318
|
-
experienceLevel: z.ZodOptional<z.ZodEnum<{
|
|
1319
|
-
"0-1 year": "0-1 year";
|
|
1320
|
-
"1-3 years": "1-3 years";
|
|
1321
|
-
"3-5 years": "3-5 years";
|
|
1322
|
-
"5+ years": "5+ years";
|
|
1323
|
-
}>>;
|
|
1324
|
-
overview: z.ZodOptional<z.ZodString>;
|
|
1325
|
-
keyResponsibilities: z.ZodOptional<z.ZodString>;
|
|
1326
|
-
requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1327
|
-
employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1328
|
-
companyBenefits: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1329
|
-
wagesMin: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1330
|
-
wagesMax: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1331
|
-
wagesCurrency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1332
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
1333
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
1334
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
1335
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
1336
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
1337
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
1338
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
1339
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
1340
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
1341
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
1342
|
-
}>>>;
|
|
1343
|
-
wagesType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1344
|
-
Hourly: "Hourly";
|
|
1345
|
-
Daily: "Daily";
|
|
1346
|
-
Weekly: "Weekly";
|
|
1347
|
-
Monthly: "Monthly";
|
|
1348
|
-
"Project Based": "Project Based";
|
|
1349
|
-
}>>>;
|
|
1350
|
-
id: z.ZodCUID2;
|
|
1351
|
-
version: z.ZodDefault<z.ZodInt>;
|
|
1352
|
-
}, z.core.$strip>;
|
|
1353
|
-
export type UpdateRoleJobInput = z.infer<typeof UpdateRoleJobInputSchema>;
|
|
1354
1421
|
export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
1355
1422
|
jobs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1356
1423
|
status: z.ZodEnum<{
|
|
1357
|
-
ACTIVE: "ACTIVE";
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1424
|
+
readonly ACTIVE: "ACTIVE";
|
|
1425
|
+
readonly DRAFT: "DRAFT";
|
|
1426
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1427
|
+
readonly DELETED: "DELETED";
|
|
1361
1428
|
}>;
|
|
1362
1429
|
brandName: z.ZodString;
|
|
1363
1430
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1366,29 +1433,40 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1366
1433
|
createdAt: z.ZodISODateTime;
|
|
1367
1434
|
updatedAt: z.ZodISODateTime;
|
|
1368
1435
|
version: z.ZodInt;
|
|
1436
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1437
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1438
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1439
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1369
1440
|
title: z.ZodString;
|
|
1370
1441
|
brandId: z.ZodCUID2;
|
|
1371
1442
|
workMode: z.ZodEnum<{
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1443
|
+
readonly REMOTE: "Remote";
|
|
1444
|
+
readonly HYBRID: "Hybrid";
|
|
1445
|
+
readonly ON_SITE: "On Site";
|
|
1375
1446
|
}>;
|
|
1376
1447
|
location: z.ZodEnum<{
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1448
|
+
readonly AFRICA: "Africa";
|
|
1449
|
+
readonly REMOTE: "Remote";
|
|
1450
|
+
readonly EUROPE: "Europe";
|
|
1451
|
+
readonly ASIA: "Asia";
|
|
1452
|
+
readonly NORTH_AMERICA: "North America";
|
|
1453
|
+
readonly SOUTH_AMERICA: "South America";
|
|
1454
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
1455
|
+
readonly OCEANIA: "Oceania";
|
|
1456
|
+
readonly EMEA: "EMEA";
|
|
1457
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
1458
|
+
readonly GLOBAL: "Global";
|
|
1459
|
+
readonly OTHER: "Other";
|
|
1389
1460
|
}>;
|
|
1390
1461
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
1391
|
-
|
|
1462
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
1463
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
1464
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
1465
|
+
readonly RESUME: "RESUME";
|
|
1466
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
1467
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
1468
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
1469
|
+
readonly WAGES: "WAGES";
|
|
1392
1470
|
}>>;
|
|
1393
1471
|
id: z.ZodCUID2;
|
|
1394
1472
|
overview: z.ZodString;
|
|
@@ -1399,41 +1477,41 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1399
1477
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1400
1478
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1401
1479
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1480
|
+
readonly USD: "USD (United States Dollar)";
|
|
1481
|
+
readonly EUR: "EUR (Euro)";
|
|
1482
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1483
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1484
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1485
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1486
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1487
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1488
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1489
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
1412
1490
|
}>>;
|
|
1413
1491
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1492
|
+
readonly HOURLY: "Hourly";
|
|
1493
|
+
readonly DAILY: "Daily";
|
|
1494
|
+
readonly WEEKLY: "Weekly";
|
|
1495
|
+
readonly MONTHLY: "Monthly";
|
|
1496
|
+
readonly PROJECT_BASED: "Project Based";
|
|
1419
1497
|
}>>;
|
|
1420
1498
|
jobType: z.ZodLiteral<"GIG">;
|
|
1421
1499
|
gigType: z.ZodEnum<{
|
|
1422
|
-
|
|
1423
|
-
|
|
1500
|
+
readonly ONE_TIME: "One Time";
|
|
1501
|
+
readonly RECURRING: "Recurring";
|
|
1424
1502
|
}>;
|
|
1425
1503
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1504
|
+
readonly FULL_TIME: "Full Time";
|
|
1505
|
+
readonly PART_TIME: "Part Time";
|
|
1506
|
+
readonly FREELANCE: "Freelance";
|
|
1507
|
+
readonly INTERNSHIP: "Internship";
|
|
1430
1508
|
}>>;
|
|
1431
1509
|
}, z.core.$strip>, z.ZodObject<{
|
|
1432
1510
|
status: z.ZodEnum<{
|
|
1433
|
-
ACTIVE: "ACTIVE";
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1511
|
+
readonly ACTIVE: "ACTIVE";
|
|
1512
|
+
readonly DRAFT: "DRAFT";
|
|
1513
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1514
|
+
readonly DELETED: "DELETED";
|
|
1437
1515
|
}>;
|
|
1438
1516
|
brandName: z.ZodString;
|
|
1439
1517
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1442,36 +1520,47 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1442
1520
|
createdAt: z.ZodISODateTime;
|
|
1443
1521
|
updatedAt: z.ZodISODateTime;
|
|
1444
1522
|
version: z.ZodInt;
|
|
1523
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1524
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1525
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1526
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1445
1527
|
title: z.ZodString;
|
|
1446
1528
|
brandId: z.ZodCUID2;
|
|
1447
1529
|
workMode: z.ZodEnum<{
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1530
|
+
readonly REMOTE: "Remote";
|
|
1531
|
+
readonly HYBRID: "Hybrid";
|
|
1532
|
+
readonly ON_SITE: "On Site";
|
|
1451
1533
|
}>;
|
|
1452
1534
|
location: z.ZodEnum<{
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1535
|
+
readonly AFRICA: "Africa";
|
|
1536
|
+
readonly REMOTE: "Remote";
|
|
1537
|
+
readonly EUROPE: "Europe";
|
|
1538
|
+
readonly ASIA: "Asia";
|
|
1539
|
+
readonly NORTH_AMERICA: "North America";
|
|
1540
|
+
readonly SOUTH_AMERICA: "South America";
|
|
1541
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
1542
|
+
readonly OCEANIA: "Oceania";
|
|
1543
|
+
readonly EMEA: "EMEA";
|
|
1544
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
1545
|
+
readonly GLOBAL: "Global";
|
|
1546
|
+
readonly OTHER: "Other";
|
|
1465
1547
|
}>;
|
|
1466
1548
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
1467
|
-
|
|
1549
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
1550
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
1551
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
1552
|
+
readonly RESUME: "RESUME";
|
|
1553
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
1554
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
1555
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
1556
|
+
readonly WAGES: "WAGES";
|
|
1468
1557
|
}>>;
|
|
1469
1558
|
id: z.ZodCUID2;
|
|
1470
1559
|
experienceLevel: z.ZodEnum<{
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1560
|
+
readonly YEAR_0_1: "0-1 year";
|
|
1561
|
+
readonly YEAR_1_3: "1-3 years";
|
|
1562
|
+
readonly YEAR_3_5: "3-5 years";
|
|
1563
|
+
readonly YEAR_5_PLUS: "5+ years";
|
|
1475
1564
|
}>;
|
|
1476
1565
|
overview: z.ZodString;
|
|
1477
1566
|
keyResponsibilities: z.ZodString;
|
|
@@ -1481,41 +1570,41 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1481
1570
|
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1482
1571
|
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1483
1572
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1573
|
+
readonly USD: "USD (United States Dollar)";
|
|
1574
|
+
readonly EUR: "EUR (Euro)";
|
|
1575
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1576
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1577
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1578
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1579
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1580
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1581
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1582
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
1494
1583
|
}>>;
|
|
1495
1584
|
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1585
|
+
readonly HOURLY: "Hourly";
|
|
1586
|
+
readonly DAILY: "Daily";
|
|
1587
|
+
readonly WEEKLY: "Weekly";
|
|
1588
|
+
readonly MONTHLY: "Monthly";
|
|
1589
|
+
readonly PROJECT_BASED: "Project Based";
|
|
1501
1590
|
}>>;
|
|
1502
1591
|
jobType: z.ZodLiteral<"ROLE">;
|
|
1503
1592
|
employmentType: z.ZodEnum<{
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1593
|
+
readonly FULL_TIME: "Full Time";
|
|
1594
|
+
readonly PART_TIME: "Part Time";
|
|
1595
|
+
readonly FREELANCE: "Freelance";
|
|
1596
|
+
readonly INTERNSHIP: "Internship";
|
|
1508
1597
|
}>;
|
|
1509
1598
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
1510
|
-
|
|
1511
|
-
|
|
1599
|
+
readonly ONE_TIME: "One Time";
|
|
1600
|
+
readonly RECURRING: "Recurring";
|
|
1512
1601
|
}>>;
|
|
1513
1602
|
}, z.core.$strip>, z.ZodObject<{
|
|
1514
1603
|
status: z.ZodEnum<{
|
|
1515
|
-
ACTIVE: "ACTIVE";
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1604
|
+
readonly ACTIVE: "ACTIVE";
|
|
1605
|
+
readonly DRAFT: "DRAFT";
|
|
1606
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1607
|
+
readonly DELETED: "DELETED";
|
|
1519
1608
|
}>;
|
|
1520
1609
|
brandName: z.ZodString;
|
|
1521
1610
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1524,43 +1613,54 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1524
1613
|
createdAt: z.ZodISODateTime;
|
|
1525
1614
|
updatedAt: z.ZodISODateTime;
|
|
1526
1615
|
version: z.ZodInt;
|
|
1616
|
+
maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1617
|
+
maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1618
|
+
applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1619
|
+
autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1527
1620
|
title: z.ZodString;
|
|
1528
1621
|
brandId: z.ZodCUID2;
|
|
1529
1622
|
jobType: z.ZodEnum<{
|
|
1530
|
-
GIG: "GIG";
|
|
1531
|
-
ROLE: "ROLE";
|
|
1623
|
+
readonly GIG: "GIG";
|
|
1624
|
+
readonly ROLE: "ROLE";
|
|
1532
1625
|
}>;
|
|
1533
1626
|
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1627
|
+
readonly FULL_TIME: "Full Time";
|
|
1628
|
+
readonly PART_TIME: "Part Time";
|
|
1629
|
+
readonly FREELANCE: "Freelance";
|
|
1630
|
+
readonly INTERNSHIP: "Internship";
|
|
1538
1631
|
}>>;
|
|
1539
1632
|
workMode: z.ZodEnum<{
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1633
|
+
readonly REMOTE: "Remote";
|
|
1634
|
+
readonly HYBRID: "Hybrid";
|
|
1635
|
+
readonly ON_SITE: "On Site";
|
|
1543
1636
|
}>;
|
|
1544
1637
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
1545
|
-
|
|
1546
|
-
|
|
1638
|
+
readonly ONE_TIME: "One Time";
|
|
1639
|
+
readonly RECURRING: "Recurring";
|
|
1547
1640
|
}>>;
|
|
1548
1641
|
location: z.ZodEnum<{
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1642
|
+
readonly AFRICA: "Africa";
|
|
1643
|
+
readonly REMOTE: "Remote";
|
|
1644
|
+
readonly EUROPE: "Europe";
|
|
1645
|
+
readonly ASIA: "Asia";
|
|
1646
|
+
readonly NORTH_AMERICA: "North America";
|
|
1647
|
+
readonly SOUTH_AMERICA: "South America";
|
|
1648
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
1649
|
+
readonly OCEANIA: "Oceania";
|
|
1650
|
+
readonly EMEA: "EMEA";
|
|
1651
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
1652
|
+
readonly GLOBAL: "Global";
|
|
1653
|
+
readonly OTHER: "Other";
|
|
1561
1654
|
}>;
|
|
1562
1655
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
1563
|
-
|
|
1656
|
+
readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
|
|
1657
|
+
readonly PHONE_NO: "PHONE_NO";
|
|
1658
|
+
readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
|
|
1659
|
+
readonly RESUME: "RESUME";
|
|
1660
|
+
readonly COVER_LETTER: "COVER_LETTER";
|
|
1661
|
+
readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
|
|
1662
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
1663
|
+
readonly WAGES: "WAGES";
|
|
1564
1664
|
}>>;
|
|
1565
1665
|
id: z.ZodCUID2;
|
|
1566
1666
|
}, z.core.$strip>]>>;
|
|
@@ -1569,3 +1669,81 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1569
1669
|
noOfActiveJobs: z.ZodNumber;
|
|
1570
1670
|
}, z.core.$strip>;
|
|
1571
1671
|
export type GetCreatedJobsOutput = z.infer<typeof GetCreatedJobsOutputSchema>;
|
|
1672
|
+
/**
|
|
1673
|
+
* --------------------------------
|
|
1674
|
+
* SEARCH DOCUMENT
|
|
1675
|
+
* --------------------------------
|
|
1676
|
+
*/
|
|
1677
|
+
export declare const JobSearchDocumentSchema: z.ZodObject<{
|
|
1678
|
+
id: z.ZodCUID2;
|
|
1679
|
+
title: z.ZodString;
|
|
1680
|
+
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1681
|
+
brandId: z.ZodCUID2;
|
|
1682
|
+
brandName: z.ZodString;
|
|
1683
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1684
|
+
jobType: z.ZodEnum<{
|
|
1685
|
+
readonly GIG: "GIG";
|
|
1686
|
+
readonly ROLE: "ROLE";
|
|
1687
|
+
}>;
|
|
1688
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1689
|
+
readonly ACTIVE: "ACTIVE";
|
|
1690
|
+
readonly DRAFT: "DRAFT";
|
|
1691
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1692
|
+
readonly DELETED: "DELETED";
|
|
1693
|
+
}>>;
|
|
1694
|
+
employmentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1695
|
+
readonly FULL_TIME: "Full Time";
|
|
1696
|
+
readonly PART_TIME: "Part Time";
|
|
1697
|
+
readonly FREELANCE: "Freelance";
|
|
1698
|
+
readonly INTERNSHIP: "Internship";
|
|
1699
|
+
}>>>;
|
|
1700
|
+
workMode: z.ZodEnum<{
|
|
1701
|
+
readonly REMOTE: "Remote";
|
|
1702
|
+
readonly HYBRID: "Hybrid";
|
|
1703
|
+
readonly ON_SITE: "On Site";
|
|
1704
|
+
}>;
|
|
1705
|
+
gigType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1706
|
+
readonly ONE_TIME: "One Time";
|
|
1707
|
+
readonly RECURRING: "Recurring";
|
|
1708
|
+
}>>>;
|
|
1709
|
+
location: z.ZodEnum<{
|
|
1710
|
+
readonly AFRICA: "Africa";
|
|
1711
|
+
readonly REMOTE: "Remote";
|
|
1712
|
+
readonly EUROPE: "Europe";
|
|
1713
|
+
readonly ASIA: "Asia";
|
|
1714
|
+
readonly NORTH_AMERICA: "North America";
|
|
1715
|
+
readonly SOUTH_AMERICA: "South America";
|
|
1716
|
+
readonly MIDDLE_EAST: "Middle East";
|
|
1717
|
+
readonly OCEANIA: "Oceania";
|
|
1718
|
+
readonly EMEA: "EMEA";
|
|
1719
|
+
readonly ASIA_PACIFIC: "Asia Pacific";
|
|
1720
|
+
readonly GLOBAL: "Global";
|
|
1721
|
+
readonly OTHER: "Other";
|
|
1722
|
+
}>;
|
|
1723
|
+
overview: z.ZodString;
|
|
1724
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1725
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1726
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1727
|
+
wagesCurrency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1728
|
+
readonly USD: "USD (United States Dollar)";
|
|
1729
|
+
readonly EUR: "EUR (Euro)";
|
|
1730
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
1731
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
1732
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
1733
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
1734
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
1735
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
1736
|
+
readonly INR: "INR (Indian Rupee)";
|
|
1737
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
1738
|
+
}>>>;
|
|
1739
|
+
wagesType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1740
|
+
readonly HOURLY: "Hourly";
|
|
1741
|
+
readonly DAILY: "Daily";
|
|
1742
|
+
readonly WEEKLY: "Weekly";
|
|
1743
|
+
readonly MONTHLY: "Monthly";
|
|
1744
|
+
readonly PROJECT_BASED: "Project Based";
|
|
1745
|
+
}>>>;
|
|
1746
|
+
createdAt: z.ZodString;
|
|
1747
|
+
updatedAt: z.ZodString;
|
|
1748
|
+
}, z.core.$strip>;
|
|
1749
|
+
export type JobSearchDocument = z.infer<typeof JobSearchDocumentSchema>;
|