@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.
@@ -4,7 +4,7 @@ import { z } from "@hono/zod-openapi";
4
4
  * SHAPE
5
5
  * --------------------------------
6
6
  */
7
- declare const JobApplicationShape: z.ZodObject<{
7
+ export declare const JobApplicationShape: z.ZodObject<{
8
8
  jobId: z.ZodCUID2;
9
9
  firstName: z.ZodOptional<z.ZodString>;
10
10
  lastName: z.ZodOptional<z.ZodString>;
@@ -13,16 +13,16 @@ declare const JobApplicationShape: z.ZodObject<{
13
13
  currentRole: z.ZodString;
14
14
  resumeUrl: z.ZodURL;
15
15
  experienceLevel: z.ZodOptional<z.ZodEnum<{
16
- "0-1 year": "0-1 year";
17
- "1-3 years": "1-3 years";
18
- "3-5 years": "3-5 years";
19
- "5+ years": "5+ years";
16
+ readonly YEAR_0_1: "0-1 year";
17
+ readonly YEAR_1_3: "1-3 years";
18
+ readonly YEAR_3_5: "3-5 years";
19
+ readonly YEAR_5_PLUS: "5+ years";
20
20
  }>>;
21
21
  availability: z.ZodOptional<z.ZodEnum<{
22
- "Immediate (Within 1 week)": "Immediate (Within 1 week)";
23
- "2 weeks notice": "2 weeks notice";
24
- "1 month notice": "1 month notice";
25
- Flexible: "Flexible";
22
+ readonly IMMEDIATE: "Immediate (Within 1 week)";
23
+ readonly TWO_WEEKS_NOTICE: "2 weeks notice";
24
+ readonly ONE_MONTH_NOTICE: "1 month notice";
25
+ readonly FLEXIBLE: "Flexible";
26
26
  }>>;
27
27
  coverLetter: z.ZodNullable<z.ZodString>;
28
28
  receiveEmailUpdates: z.ZodBoolean;
@@ -44,6 +44,25 @@ declare const JobApplicationShape: z.ZodObject<{
44
44
  }, z.core.$strip>>>;
45
45
  }, z.core.$strip>;
46
46
  export type JobApplicationShapeType = z.infer<typeof JobApplicationShape>;
47
+ /**
48
+ * --------------------------------
49
+ * RESPONSE / OFFER / STATUS TRACKING
50
+ * --------------------------------
51
+ */
52
+ export declare const JobApplicationResponseSchema: z.ZodObject<{
53
+ brandResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ meetingLink: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
55
+ offerAcceptedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
56
+ offerDeclinedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
57
+ hiredAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
58
+ rejectedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
59
+ lastStatusChangedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
60
+ lastStatusViewedByApplicantAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
61
+ lastStatusViewedByBrandAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
62
+ lastUpdatedByUserId: z.ZodOptional<z.ZodNullable<z.ZodCUID2>>;
63
+ hasUnreadStatusUpdate: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
64
+ }, z.core.$strip>;
65
+ export type JobApplicationResponse = z.infer<typeof JobApplicationResponseSchema>;
47
66
  /**
48
67
  * --------------------------------
49
68
  * BASE ENTITY
@@ -51,15 +70,26 @@ export type JobApplicationShapeType = z.infer<typeof JobApplicationShape>;
51
70
  */
52
71
  export declare const JobApplicationEntitySchema: z.ZodObject<{
53
72
  applicationStatus: z.ZodEnum<{
54
- "Application Sent": "Application Sent";
55
- Opened: "Opened";
56
- Rejected: "Rejected";
57
- Declined: "Declined";
58
- Offered: "Offered";
59
- Hired: "Hired";
73
+ readonly SENT: "Application Sent";
74
+ readonly OPENED: "Opened";
75
+ readonly REJECTED: "Rejected";
76
+ readonly DECLINED: "Declined";
77
+ readonly OFFERED: "Offered";
78
+ readonly HIRED: "Hired";
60
79
  }>;
61
80
  createdAt: z.ZodISODateTime;
62
81
  updatedAt: z.ZodISODateTime;
82
+ brandResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ meetingLink: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
84
+ offerAcceptedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
85
+ offerDeclinedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
86
+ hiredAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
87
+ rejectedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
88
+ lastStatusChangedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
89
+ lastStatusViewedByApplicantAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
90
+ lastStatusViewedByBrandAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
91
+ lastUpdatedByUserId: z.ZodOptional<z.ZodNullable<z.ZodCUID2>>;
92
+ hasUnreadStatusUpdate: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
63
93
  jobId: z.ZodCUID2;
64
94
  firstName: z.ZodOptional<z.ZodString>;
65
95
  lastName: z.ZodOptional<z.ZodString>;
@@ -68,16 +98,16 @@ export declare const JobApplicationEntitySchema: z.ZodObject<{
68
98
  currentRole: z.ZodString;
69
99
  resumeUrl: z.ZodURL;
70
100
  experienceLevel: z.ZodOptional<z.ZodEnum<{
71
- "0-1 year": "0-1 year";
72
- "1-3 years": "1-3 years";
73
- "3-5 years": "3-5 years";
74
- "5+ years": "5+ years";
101
+ readonly YEAR_0_1: "0-1 year";
102
+ readonly YEAR_1_3: "1-3 years";
103
+ readonly YEAR_3_5: "3-5 years";
104
+ readonly YEAR_5_PLUS: "5+ years";
75
105
  }>>;
76
106
  availability: z.ZodOptional<z.ZodEnum<{
77
- "Immediate (Within 1 week)": "Immediate (Within 1 week)";
78
- "2 weeks notice": "2 weeks notice";
79
- "1 month notice": "1 month notice";
80
- Flexible: "Flexible";
107
+ readonly IMMEDIATE: "Immediate (Within 1 week)";
108
+ readonly TWO_WEEKS_NOTICE: "2 weeks notice";
109
+ readonly ONE_MONTH_NOTICE: "1 month notice";
110
+ readonly FLEXIBLE: "Flexible";
81
111
  }>>;
82
112
  coverLetter: z.ZodNullable<z.ZodString>;
83
113
  receiveEmailUpdates: z.ZodBoolean;
@@ -114,6 +144,69 @@ export declare const JobApplicationEntitySchema: z.ZodObject<{
114
144
  }, z.core.$strip>;
115
145
  }, z.core.$strip>;
116
146
  export type JobApplicationEntity = z.infer<typeof JobApplicationEntitySchema>;
147
+ export declare const BaseJobApplicationEntitySchema: z.ZodObject<{
148
+ firstName: z.ZodOptional<z.ZodString>;
149
+ lastName: z.ZodOptional<z.ZodString>;
150
+ id: z.ZodCUID2;
151
+ createdAt: z.ZodISODateTime;
152
+ updatedAt: z.ZodISODateTime;
153
+ experienceLevel: z.ZodOptional<z.ZodEnum<{
154
+ readonly YEAR_0_1: "0-1 year";
155
+ readonly YEAR_1_3: "1-3 years";
156
+ readonly YEAR_3_5: "3-5 years";
157
+ readonly YEAR_5_PLUS: "5+ years";
158
+ }>>;
159
+ jobId: z.ZodCUID2;
160
+ emailAddress: z.ZodOptional<z.ZodEmail>;
161
+ phoneNumber: z.ZodNullable<z.ZodString>;
162
+ currentRole: z.ZodString;
163
+ resumeUrl: z.ZodURL;
164
+ availability: z.ZodOptional<z.ZodEnum<{
165
+ readonly IMMEDIATE: "Immediate (Within 1 week)";
166
+ readonly TWO_WEEKS_NOTICE: "2 weeks notice";
167
+ readonly ONE_MONTH_NOTICE: "1 month notice";
168
+ readonly FLEXIBLE: "Flexible";
169
+ }>>;
170
+ coverLetter: z.ZodNullable<z.ZodString>;
171
+ receiveEmailUpdates: z.ZodBoolean;
172
+ wagesAmount: z.ZodNullable<z.ZodNumber>;
173
+ workSampleUrls: z.ZodOptional<z.ZodArray<z.ZodObject<{
174
+ url: z.ZodURL;
175
+ name: z.ZodOptional<z.ZodString>;
176
+ mimeType: z.ZodOptional<z.ZodString>;
177
+ }, z.core.$strip>>>;
178
+ zyaProjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
179
+ projectName: z.ZodString;
180
+ projectImgUrl: z.ZodOptional<z.ZodURL>;
181
+ projectId: z.ZodCUID2;
182
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
183
+ }, z.core.$strip>>>;
184
+ linkUrls: z.ZodOptional<z.ZodArray<z.ZodObject<{
185
+ url: z.ZodURL;
186
+ isPortfolioUrl: z.ZodOptional<z.ZodBoolean>;
187
+ }, z.core.$strip>>>;
188
+ brandResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
189
+ meetingLink: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
190
+ offerAcceptedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
191
+ offerDeclinedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
192
+ hiredAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
193
+ rejectedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
194
+ lastStatusChangedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
195
+ lastStatusViewedByApplicantAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
196
+ lastStatusViewedByBrandAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
197
+ lastUpdatedByUserId: z.ZodOptional<z.ZodNullable<z.ZodCUID2>>;
198
+ hasUnreadStatusUpdate: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
199
+ applicantId: z.ZodCUID2;
200
+ applicationStatus: z.ZodEnum<{
201
+ readonly SENT: "Application Sent";
202
+ readonly OPENED: "Opened";
203
+ readonly REJECTED: "Rejected";
204
+ readonly DECLINED: "Declined";
205
+ readonly OFFERED: "Offered";
206
+ readonly HIRED: "Hired";
207
+ }>;
208
+ }, z.core.$strip>;
209
+ export type BaseJobApplicationEntity = z.infer<typeof BaseJobApplicationEntitySchema>;
117
210
  /**
118
211
  * --------------------------------
119
212
  * DERIVED ENTITIES
@@ -135,35 +228,48 @@ export declare const MinimalJobApplicationEntitySchema: z.ZodObject<{
135
228
  ADMIN: "ADMIN";
136
229
  }>;
137
230
  }, z.core.$strip>;
138
- coverLetter: z.ZodString;
231
+ coverLetter: z.ZodNullable<z.ZodString>;
139
232
  applicationStatus: z.ZodEnum<{
140
- "Application Sent": "Application Sent";
141
- Opened: "Opened";
142
- Rejected: "Rejected";
143
- Declined: "Declined";
144
- Offered: "Offered";
145
- Hired: "Hired";
233
+ readonly SENT: "Application Sent";
234
+ readonly OPENED: "Opened";
235
+ readonly REJECTED: "Rejected";
236
+ readonly DECLINED: "Declined";
237
+ readonly OFFERED: "Offered";
238
+ readonly HIRED: "Hired";
146
239
  }>;
240
+ brandResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ meetingLink: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
242
+ offerAcceptedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
243
+ offerDeclinedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
244
+ lastStatusChangedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
245
+ hasUnreadStatusUpdate: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
147
246
  createdAt: z.ZodISODateTime;
148
247
  }, z.core.$strip>;
149
248
  export type MinimalJobApplicationEntity = z.infer<typeof MinimalJobApplicationEntitySchema>;
150
249
  export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
151
250
  id: z.ZodCUID2;
152
251
  applicationStatus: z.ZodEnum<{
153
- "Application Sent": "Application Sent";
154
- Opened: "Opened";
155
- Rejected: "Rejected";
156
- Declined: "Declined";
157
- Offered: "Offered";
158
- Hired: "Hired";
252
+ readonly SENT: "Application Sent";
253
+ readonly OPENED: "Opened";
254
+ readonly REJECTED: "Rejected";
255
+ readonly DECLINED: "Declined";
256
+ readonly OFFERED: "Offered";
257
+ readonly HIRED: "Hired";
159
258
  }>;
259
+ brandResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ meetingLink: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
261
+ offerAcceptedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
262
+ offerDeclinedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
263
+ lastStatusChangedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
264
+ hasUnreadStatusUpdate: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
160
265
  createdAt: z.ZodISODateTime;
266
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
161
267
  job: z.ZodUnion<readonly [z.ZodObject<{
162
268
  status: z.ZodEnum<{
163
- ACTIVE: "ACTIVE";
164
- DELETED: "DELETED";
165
- DRAFT: "DRAFT";
166
- ARCHIVED: "ARCHIVED";
269
+ readonly ACTIVE: "ACTIVE";
270
+ readonly DRAFT: "DRAFT";
271
+ readonly ARCHIVED: "ARCHIVED";
272
+ readonly DELETED: "DELETED";
167
273
  }>;
168
274
  brandName: z.ZodString;
169
275
  brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -172,29 +278,40 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
172
278
  createdAt: z.ZodISODateTime;
173
279
  updatedAt: z.ZodISODateTime;
174
280
  version: z.ZodInt;
281
+ maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
282
+ maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
283
+ applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
284
+ autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
175
285
  title: z.ZodString;
176
286
  brandId: z.ZodCUID2;
177
287
  workMode: z.ZodEnum<{
178
- Remote: "Remote";
179
- Hybrid: "Hybrid";
180
- "On Site": "On Site";
288
+ readonly REMOTE: "Remote";
289
+ readonly HYBRID: "Hybrid";
290
+ readonly ON_SITE: "On Site";
181
291
  }>;
182
292
  location: z.ZodEnum<{
183
- Africa: "Africa";
184
- Asia: "Asia";
185
- Europe: "Europe";
186
- "North America": "North America";
187
- "South America": "South America";
188
- "Middle East": "Middle East";
189
- Oceania: "Oceania";
190
- Global: "Global";
191
- Other: "Other";
192
- Remote: "Remote";
193
- EMEA: "EMEA";
194
- "Asia Pacific": "Asia Pacific";
293
+ readonly AFRICA: "Africa";
294
+ readonly REMOTE: "Remote";
295
+ readonly EUROPE: "Europe";
296
+ readonly ASIA: "Asia";
297
+ readonly NORTH_AMERICA: "North America";
298
+ readonly SOUTH_AMERICA: "South America";
299
+ readonly MIDDLE_EAST: "Middle East";
300
+ readonly OCEANIA: "Oceania";
301
+ readonly EMEA: "EMEA";
302
+ readonly ASIA_PACIFIC: "Asia Pacific";
303
+ readonly GLOBAL: "Global";
304
+ readonly OTHER: "Other";
195
305
  }>;
196
306
  jobSections: z.ZodArray<z.ZodEnum<{
197
- [x: string]: string;
307
+ readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
308
+ readonly PHONE_NO: "PHONE_NO";
309
+ readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
310
+ readonly RESUME: "RESUME";
311
+ readonly COVER_LETTER: "COVER_LETTER";
312
+ readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
313
+ readonly AVAILABILITY: "AVAILABILITY";
314
+ readonly WAGES: "WAGES";
198
315
  }>>;
199
316
  id: z.ZodCUID2;
200
317
  overview: z.ZodString;
@@ -205,41 +322,41 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
205
322
  wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
206
323
  wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
207
324
  wagesCurrency: z.ZodOptional<z.ZodEnum<{
208
- "USD (United States Dollar)": "USD (United States Dollar)";
209
- "EUR (Euro)": "EUR (Euro)";
210
- "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
211
- "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
212
- "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
213
- "AUD (Australian Dollar)": "AUD (Australian Dollar)";
214
- "JPY (Japanese Yen)": "JPY (Japanese Yen)";
215
- "CHF (Swiss Franc)": "CHF (Swiss Franc)";
216
- "INR (Indian Rupee)": "INR (Indian Rupee)";
217
- "ZAR (South African Rand)": "ZAR (South African Rand)";
325
+ readonly USD: "USD (United States Dollar)";
326
+ readonly EUR: "EUR (Euro)";
327
+ readonly GBP: "GBP (British Pound Sterling)";
328
+ readonly NGN: "NGN (Nigerian Naira)";
329
+ readonly CAD: "CAD (Canadian Dollar)";
330
+ readonly AUD: "AUD (Australian Dollar)";
331
+ readonly JPY: "JPY (Japanese Yen)";
332
+ readonly CHF: "CHF (Swiss Franc)";
333
+ readonly INR: "INR (Indian Rupee)";
334
+ readonly ZAR: "ZAR (South African Rand)";
218
335
  }>>;
219
336
  wagesType: z.ZodOptional<z.ZodEnum<{
220
- Hourly: "Hourly";
221
- Daily: "Daily";
222
- Weekly: "Weekly";
223
- Monthly: "Monthly";
224
- "Project Based": "Project Based";
337
+ readonly HOURLY: "Hourly";
338
+ readonly DAILY: "Daily";
339
+ readonly WEEKLY: "Weekly";
340
+ readonly MONTHLY: "Monthly";
341
+ readonly PROJECT_BASED: "Project Based";
225
342
  }>>;
226
343
  jobType: z.ZodLiteral<"GIG">;
227
344
  gigType: z.ZodEnum<{
228
- "One Time": "One Time";
229
- Recurring: "Recurring";
345
+ readonly ONE_TIME: "One Time";
346
+ readonly RECURRING: "Recurring";
230
347
  }>;
231
348
  employmentType: z.ZodOptional<z.ZodEnum<{
232
- "Full Time": "Full Time";
233
- "Part Time": "Part Time";
234
- Freelance: "Freelance";
235
- Internship: "Internship";
349
+ readonly FULL_TIME: "Full Time";
350
+ readonly PART_TIME: "Part Time";
351
+ readonly FREELANCE: "Freelance";
352
+ readonly INTERNSHIP: "Internship";
236
353
  }>>;
237
354
  }, z.core.$strip>, z.ZodObject<{
238
355
  status: z.ZodEnum<{
239
- ACTIVE: "ACTIVE";
240
- DELETED: "DELETED";
241
- DRAFT: "DRAFT";
242
- ARCHIVED: "ARCHIVED";
356
+ readonly ACTIVE: "ACTIVE";
357
+ readonly DRAFT: "DRAFT";
358
+ readonly ARCHIVED: "ARCHIVED";
359
+ readonly DELETED: "DELETED";
243
360
  }>;
244
361
  brandName: z.ZodString;
245
362
  brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -248,36 +365,47 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
248
365
  createdAt: z.ZodISODateTime;
249
366
  updatedAt: z.ZodISODateTime;
250
367
  version: z.ZodInt;
368
+ maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
369
+ maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
370
+ applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
371
+ autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
251
372
  title: z.ZodString;
252
373
  brandId: z.ZodCUID2;
253
374
  workMode: z.ZodEnum<{
254
- Remote: "Remote";
255
- Hybrid: "Hybrid";
256
- "On Site": "On Site";
375
+ readonly REMOTE: "Remote";
376
+ readonly HYBRID: "Hybrid";
377
+ readonly ON_SITE: "On Site";
257
378
  }>;
258
379
  location: z.ZodEnum<{
259
- Africa: "Africa";
260
- Asia: "Asia";
261
- Europe: "Europe";
262
- "North America": "North America";
263
- "South America": "South America";
264
- "Middle East": "Middle East";
265
- Oceania: "Oceania";
266
- Global: "Global";
267
- Other: "Other";
268
- Remote: "Remote";
269
- EMEA: "EMEA";
270
- "Asia Pacific": "Asia Pacific";
380
+ readonly AFRICA: "Africa";
381
+ readonly REMOTE: "Remote";
382
+ readonly EUROPE: "Europe";
383
+ readonly ASIA: "Asia";
384
+ readonly NORTH_AMERICA: "North America";
385
+ readonly SOUTH_AMERICA: "South America";
386
+ readonly MIDDLE_EAST: "Middle East";
387
+ readonly OCEANIA: "Oceania";
388
+ readonly EMEA: "EMEA";
389
+ readonly ASIA_PACIFIC: "Asia Pacific";
390
+ readonly GLOBAL: "Global";
391
+ readonly OTHER: "Other";
271
392
  }>;
272
393
  jobSections: z.ZodArray<z.ZodEnum<{
273
- [x: string]: string;
394
+ readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
395
+ readonly PHONE_NO: "PHONE_NO";
396
+ readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
397
+ readonly RESUME: "RESUME";
398
+ readonly COVER_LETTER: "COVER_LETTER";
399
+ readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
400
+ readonly AVAILABILITY: "AVAILABILITY";
401
+ readonly WAGES: "WAGES";
274
402
  }>>;
275
403
  id: z.ZodCUID2;
276
404
  experienceLevel: z.ZodEnum<{
277
- "0-1 year": "0-1 year";
278
- "1-3 years": "1-3 years";
279
- "3-5 years": "3-5 years";
280
- "5+ years": "5+ years";
405
+ readonly YEAR_0_1: "0-1 year";
406
+ readonly YEAR_1_3: "1-3 years";
407
+ readonly YEAR_3_5: "3-5 years";
408
+ readonly YEAR_5_PLUS: "5+ years";
281
409
  }>;
282
410
  overview: z.ZodString;
283
411
  keyResponsibilities: z.ZodString;
@@ -287,41 +415,41 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
287
415
  wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
288
416
  wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
289
417
  wagesCurrency: z.ZodOptional<z.ZodEnum<{
290
- "USD (United States Dollar)": "USD (United States Dollar)";
291
- "EUR (Euro)": "EUR (Euro)";
292
- "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
293
- "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
294
- "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
295
- "AUD (Australian Dollar)": "AUD (Australian Dollar)";
296
- "JPY (Japanese Yen)": "JPY (Japanese Yen)";
297
- "CHF (Swiss Franc)": "CHF (Swiss Franc)";
298
- "INR (Indian Rupee)": "INR (Indian Rupee)";
299
- "ZAR (South African Rand)": "ZAR (South African Rand)";
418
+ readonly USD: "USD (United States Dollar)";
419
+ readonly EUR: "EUR (Euro)";
420
+ readonly GBP: "GBP (British Pound Sterling)";
421
+ readonly NGN: "NGN (Nigerian Naira)";
422
+ readonly CAD: "CAD (Canadian Dollar)";
423
+ readonly AUD: "AUD (Australian Dollar)";
424
+ readonly JPY: "JPY (Japanese Yen)";
425
+ readonly CHF: "CHF (Swiss Franc)";
426
+ readonly INR: "INR (Indian Rupee)";
427
+ readonly ZAR: "ZAR (South African Rand)";
300
428
  }>>;
301
429
  wagesType: z.ZodOptional<z.ZodEnum<{
302
- Hourly: "Hourly";
303
- Daily: "Daily";
304
- Weekly: "Weekly";
305
- Monthly: "Monthly";
306
- "Project Based": "Project Based";
430
+ readonly HOURLY: "Hourly";
431
+ readonly DAILY: "Daily";
432
+ readonly WEEKLY: "Weekly";
433
+ readonly MONTHLY: "Monthly";
434
+ readonly PROJECT_BASED: "Project Based";
307
435
  }>>;
308
436
  jobType: z.ZodLiteral<"ROLE">;
309
437
  employmentType: z.ZodEnum<{
310
- "Full Time": "Full Time";
311
- "Part Time": "Part Time";
312
- Freelance: "Freelance";
313
- Internship: "Internship";
438
+ readonly FULL_TIME: "Full Time";
439
+ readonly PART_TIME: "Part Time";
440
+ readonly FREELANCE: "Freelance";
441
+ readonly INTERNSHIP: "Internship";
314
442
  }>;
315
443
  gigType: z.ZodOptional<z.ZodEnum<{
316
- "One Time": "One Time";
317
- Recurring: "Recurring";
444
+ readonly ONE_TIME: "One Time";
445
+ readonly RECURRING: "Recurring";
318
446
  }>>;
319
447
  }, z.core.$strip>, z.ZodObject<{
320
448
  status: z.ZodEnum<{
321
- ACTIVE: "ACTIVE";
322
- DELETED: "DELETED";
323
- DRAFT: "DRAFT";
324
- ARCHIVED: "ARCHIVED";
449
+ readonly ACTIVE: "ACTIVE";
450
+ readonly DRAFT: "DRAFT";
451
+ readonly ARCHIVED: "ARCHIVED";
452
+ readonly DELETED: "DELETED";
325
453
  }>;
326
454
  brandName: z.ZodString;
327
455
  brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -330,43 +458,54 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
330
458
  createdAt: z.ZodISODateTime;
331
459
  updatedAt: z.ZodISODateTime;
332
460
  version: z.ZodInt;
461
+ maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
462
+ maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
463
+ applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
464
+ autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
333
465
  title: z.ZodString;
334
466
  brandId: z.ZodCUID2;
335
467
  jobType: z.ZodEnum<{
336
- GIG: "GIG";
337
- ROLE: "ROLE";
468
+ readonly GIG: "GIG";
469
+ readonly ROLE: "ROLE";
338
470
  }>;
339
471
  employmentType: z.ZodOptional<z.ZodEnum<{
340
- "Full Time": "Full Time";
341
- "Part Time": "Part Time";
342
- Freelance: "Freelance";
343
- Internship: "Internship";
472
+ readonly FULL_TIME: "Full Time";
473
+ readonly PART_TIME: "Part Time";
474
+ readonly FREELANCE: "Freelance";
475
+ readonly INTERNSHIP: "Internship";
344
476
  }>>;
345
477
  workMode: z.ZodEnum<{
346
- Remote: "Remote";
347
- Hybrid: "Hybrid";
348
- "On Site": "On Site";
478
+ readonly REMOTE: "Remote";
479
+ readonly HYBRID: "Hybrid";
480
+ readonly ON_SITE: "On Site";
349
481
  }>;
350
482
  gigType: z.ZodOptional<z.ZodEnum<{
351
- "One Time": "One Time";
352
- Recurring: "Recurring";
483
+ readonly ONE_TIME: "One Time";
484
+ readonly RECURRING: "Recurring";
353
485
  }>>;
354
486
  location: z.ZodEnum<{
355
- Africa: "Africa";
356
- Asia: "Asia";
357
- Europe: "Europe";
358
- "North America": "North America";
359
- "South America": "South America";
360
- "Middle East": "Middle East";
361
- Oceania: "Oceania";
362
- Global: "Global";
363
- Other: "Other";
364
- Remote: "Remote";
365
- EMEA: "EMEA";
366
- "Asia Pacific": "Asia Pacific";
487
+ readonly AFRICA: "Africa";
488
+ readonly REMOTE: "Remote";
489
+ readonly EUROPE: "Europe";
490
+ readonly ASIA: "Asia";
491
+ readonly NORTH_AMERICA: "North America";
492
+ readonly SOUTH_AMERICA: "South America";
493
+ readonly MIDDLE_EAST: "Middle East";
494
+ readonly OCEANIA: "Oceania";
495
+ readonly EMEA: "EMEA";
496
+ readonly ASIA_PACIFIC: "Asia Pacific";
497
+ readonly GLOBAL: "Global";
498
+ readonly OTHER: "Other";
367
499
  }>;
368
500
  jobSections: z.ZodArray<z.ZodEnum<{
369
- [x: string]: string;
501
+ readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
502
+ readonly PHONE_NO: "PHONE_NO";
503
+ readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
504
+ readonly RESUME: "RESUME";
505
+ readonly COVER_LETTER: "COVER_LETTER";
506
+ readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
507
+ readonly AVAILABILITY: "AVAILABILITY";
508
+ readonly WAGES: "WAGES";
370
509
  }>>;
371
510
  id: z.ZodCUID2;
372
511
  }, z.core.$strip>]>;
@@ -377,6 +516,10 @@ export type TrackedJobApplicationEntity = z.infer<typeof TrackedJobApplicationEn
377
516
  * INPUTS
378
517
  * --------------------------------
379
518
  */
519
+ export declare const ApplicationIdInputSchema: z.ZodObject<{
520
+ id: z.ZodCUID2;
521
+ }, z.core.$strip>;
522
+ export type ApplicationIdInput = z.infer<typeof ApplicationIdInputSchema>;
380
523
  export declare const CreateJobApplicationInputSchema: z.ZodObject<{
381
524
  jobId: z.ZodCUID2;
382
525
  firstName: z.ZodOptional<z.ZodString>;
@@ -386,16 +529,16 @@ export declare const CreateJobApplicationInputSchema: z.ZodObject<{
386
529
  currentRole: z.ZodString;
387
530
  resumeUrl: z.ZodURL;
388
531
  experienceLevel: z.ZodOptional<z.ZodEnum<{
389
- "0-1 year": "0-1 year";
390
- "1-3 years": "1-3 years";
391
- "3-5 years": "3-5 years";
392
- "5+ years": "5+ years";
532
+ readonly YEAR_0_1: "0-1 year";
533
+ readonly YEAR_1_3: "1-3 years";
534
+ readonly YEAR_3_5: "3-5 years";
535
+ readonly YEAR_5_PLUS: "5+ years";
393
536
  }>>;
394
537
  availability: z.ZodOptional<z.ZodEnum<{
395
- "Immediate (Within 1 week)": "Immediate (Within 1 week)";
396
- "2 weeks notice": "2 weeks notice";
397
- "1 month notice": "1 month notice";
398
- Flexible: "Flexible";
538
+ readonly IMMEDIATE: "Immediate (Within 1 week)";
539
+ readonly TWO_WEEKS_NOTICE: "2 weeks notice";
540
+ readonly ONE_MONTH_NOTICE: "1 month notice";
541
+ readonly FLEXIBLE: "Flexible";
399
542
  }>>;
400
543
  coverLetter: z.ZodNullable<z.ZodString>;
401
544
  receiveEmailUpdates: z.ZodBoolean;
@@ -436,16 +579,16 @@ export declare const UpdateJobApplicationInputSchema: z.ZodObject<{
436
579
  currentRole: z.ZodOptional<z.ZodString>;
437
580
  resumeUrl: z.ZodOptional<z.ZodURL>;
438
581
  experienceLevel: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
439
- "0-1 year": "0-1 year";
440
- "1-3 years": "1-3 years";
441
- "3-5 years": "3-5 years";
442
- "5+ years": "5+ years";
582
+ readonly YEAR_0_1: "0-1 year";
583
+ readonly YEAR_1_3: "1-3 years";
584
+ readonly YEAR_3_5: "3-5 years";
585
+ readonly YEAR_5_PLUS: "5+ years";
443
586
  }>>>;
444
587
  availability: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
445
- "Immediate (Within 1 week)": "Immediate (Within 1 week)";
446
- "2 weeks notice": "2 weeks notice";
447
- "1 month notice": "1 month notice";
448
- Flexible: "Flexible";
588
+ readonly IMMEDIATE: "Immediate (Within 1 week)";
589
+ readonly TWO_WEEKS_NOTICE: "2 weeks notice";
590
+ readonly ONE_MONTH_NOTICE: "1 month notice";
591
+ readonly FLEXIBLE: "Flexible";
449
592
  }>>>;
450
593
  coverLetter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
594
  receiveEmailUpdates: z.ZodOptional<z.ZodBoolean>;
@@ -477,28 +620,34 @@ export declare const UpdateJobApplicationInputSchema: z.ZodObject<{
477
620
  }>>>>;
478
621
  id: z.ZodCUID2;
479
622
  applicationStatus: z.ZodOptional<z.ZodEnum<{
480
- "Application Sent": "Application Sent";
481
- Opened: "Opened";
482
- Rejected: "Rejected";
483
- Declined: "Declined";
484
- Offered: "Offered";
485
- Hired: "Hired";
623
+ readonly SENT: "Application Sent";
624
+ readonly OPENED: "Opened";
625
+ readonly REJECTED: "Rejected";
626
+ readonly DECLINED: "Declined";
627
+ readonly OFFERED: "Offered";
628
+ readonly HIRED: "Hired";
486
629
  }>>;
630
+ brandResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
+ meetingLink: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
632
+ offerAcceptedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
633
+ offerDeclinedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
634
+ lastStatusViewedByApplicantAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
635
+ lastStatusViewedByBrandAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
487
636
  }, z.core.$strip>;
488
637
  export type UpdateJobApplicationInput = z.infer<typeof UpdateJobApplicationInputSchema>;
489
638
  export declare const GetTrackedJobApplicationsInputSchema: z.ZodObject<{
490
639
  query: z.ZodOptional<z.ZodString>;
491
640
  status: z.ZodOptional<z.ZodEnum<{
492
- "Application Sent": "Application Sent";
493
- Opened: "Opened";
494
- Rejected: "Rejected";
495
- Declined: "Declined";
496
- Offered: "Offered";
497
- Hired: "Hired";
641
+ readonly SENT: "Application Sent";
642
+ readonly OPENED: "Opened";
643
+ readonly REJECTED: "Rejected";
644
+ readonly DECLINED: "Declined";
645
+ readonly OFFERED: "Offered";
646
+ readonly HIRED: "Hired";
498
647
  }>>;
499
648
  jobType: z.ZodOptional<z.ZodEnum<{
500
- GIG: "GIG";
501
- ROLE: "ROLE";
649
+ readonly GIG: "GIG";
650
+ readonly ROLE: "ROLE";
502
651
  }>>;
503
652
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
504
653
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -513,20 +662,27 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
513
662
  applications: z.ZodArray<z.ZodObject<{
514
663
  id: z.ZodCUID2;
515
664
  applicationStatus: z.ZodEnum<{
516
- "Application Sent": "Application Sent";
517
- Opened: "Opened";
518
- Rejected: "Rejected";
519
- Declined: "Declined";
520
- Offered: "Offered";
521
- Hired: "Hired";
665
+ readonly SENT: "Application Sent";
666
+ readonly OPENED: "Opened";
667
+ readonly REJECTED: "Rejected";
668
+ readonly DECLINED: "Declined";
669
+ readonly OFFERED: "Offered";
670
+ readonly HIRED: "Hired";
522
671
  }>;
672
+ brandResponseMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
673
+ meetingLink: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
674
+ offerAcceptedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
675
+ offerDeclinedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
676
+ lastStatusChangedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
677
+ hasUnreadStatusUpdate: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
523
678
  createdAt: z.ZodISODateTime;
679
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
524
680
  job: z.ZodUnion<readonly [z.ZodObject<{
525
681
  status: z.ZodEnum<{
526
- ACTIVE: "ACTIVE";
527
- DELETED: "DELETED";
528
- DRAFT: "DRAFT";
529
- ARCHIVED: "ARCHIVED";
682
+ readonly ACTIVE: "ACTIVE";
683
+ readonly DRAFT: "DRAFT";
684
+ readonly ARCHIVED: "ARCHIVED";
685
+ readonly DELETED: "DELETED";
530
686
  }>;
531
687
  brandName: z.ZodString;
532
688
  brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -535,29 +691,40 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
535
691
  createdAt: z.ZodISODateTime;
536
692
  updatedAt: z.ZodISODateTime;
537
693
  version: z.ZodInt;
694
+ maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
695
+ maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
696
+ applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
697
+ autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
538
698
  title: z.ZodString;
539
699
  brandId: z.ZodCUID2;
540
700
  workMode: z.ZodEnum<{
541
- Remote: "Remote";
542
- Hybrid: "Hybrid";
543
- "On Site": "On Site";
701
+ readonly REMOTE: "Remote";
702
+ readonly HYBRID: "Hybrid";
703
+ readonly ON_SITE: "On Site";
544
704
  }>;
545
705
  location: z.ZodEnum<{
546
- Africa: "Africa";
547
- Asia: "Asia";
548
- Europe: "Europe";
549
- "North America": "North America";
550
- "South America": "South America";
551
- "Middle East": "Middle East";
552
- Oceania: "Oceania";
553
- Global: "Global";
554
- Other: "Other";
555
- Remote: "Remote";
556
- EMEA: "EMEA";
557
- "Asia Pacific": "Asia Pacific";
706
+ readonly AFRICA: "Africa";
707
+ readonly REMOTE: "Remote";
708
+ readonly EUROPE: "Europe";
709
+ readonly ASIA: "Asia";
710
+ readonly NORTH_AMERICA: "North America";
711
+ readonly SOUTH_AMERICA: "South America";
712
+ readonly MIDDLE_EAST: "Middle East";
713
+ readonly OCEANIA: "Oceania";
714
+ readonly EMEA: "EMEA";
715
+ readonly ASIA_PACIFIC: "Asia Pacific";
716
+ readonly GLOBAL: "Global";
717
+ readonly OTHER: "Other";
558
718
  }>;
559
719
  jobSections: z.ZodArray<z.ZodEnum<{
560
- [x: string]: string;
720
+ readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
721
+ readonly PHONE_NO: "PHONE_NO";
722
+ readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
723
+ readonly RESUME: "RESUME";
724
+ readonly COVER_LETTER: "COVER_LETTER";
725
+ readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
726
+ readonly AVAILABILITY: "AVAILABILITY";
727
+ readonly WAGES: "WAGES";
561
728
  }>>;
562
729
  id: z.ZodCUID2;
563
730
  overview: z.ZodString;
@@ -568,41 +735,41 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
568
735
  wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
569
736
  wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
570
737
  wagesCurrency: z.ZodOptional<z.ZodEnum<{
571
- "USD (United States Dollar)": "USD (United States Dollar)";
572
- "EUR (Euro)": "EUR (Euro)";
573
- "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
574
- "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
575
- "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
576
- "AUD (Australian Dollar)": "AUD (Australian Dollar)";
577
- "JPY (Japanese Yen)": "JPY (Japanese Yen)";
578
- "CHF (Swiss Franc)": "CHF (Swiss Franc)";
579
- "INR (Indian Rupee)": "INR (Indian Rupee)";
580
- "ZAR (South African Rand)": "ZAR (South African Rand)";
738
+ readonly USD: "USD (United States Dollar)";
739
+ readonly EUR: "EUR (Euro)";
740
+ readonly GBP: "GBP (British Pound Sterling)";
741
+ readonly NGN: "NGN (Nigerian Naira)";
742
+ readonly CAD: "CAD (Canadian Dollar)";
743
+ readonly AUD: "AUD (Australian Dollar)";
744
+ readonly JPY: "JPY (Japanese Yen)";
745
+ readonly CHF: "CHF (Swiss Franc)";
746
+ readonly INR: "INR (Indian Rupee)";
747
+ readonly ZAR: "ZAR (South African Rand)";
581
748
  }>>;
582
749
  wagesType: z.ZodOptional<z.ZodEnum<{
583
- Hourly: "Hourly";
584
- Daily: "Daily";
585
- Weekly: "Weekly";
586
- Monthly: "Monthly";
587
- "Project Based": "Project Based";
750
+ readonly HOURLY: "Hourly";
751
+ readonly DAILY: "Daily";
752
+ readonly WEEKLY: "Weekly";
753
+ readonly MONTHLY: "Monthly";
754
+ readonly PROJECT_BASED: "Project Based";
588
755
  }>>;
589
756
  jobType: z.ZodLiteral<"GIG">;
590
757
  gigType: z.ZodEnum<{
591
- "One Time": "One Time";
592
- Recurring: "Recurring";
758
+ readonly ONE_TIME: "One Time";
759
+ readonly RECURRING: "Recurring";
593
760
  }>;
594
761
  employmentType: z.ZodOptional<z.ZodEnum<{
595
- "Full Time": "Full Time";
596
- "Part Time": "Part Time";
597
- Freelance: "Freelance";
598
- Internship: "Internship";
762
+ readonly FULL_TIME: "Full Time";
763
+ readonly PART_TIME: "Part Time";
764
+ readonly FREELANCE: "Freelance";
765
+ readonly INTERNSHIP: "Internship";
599
766
  }>>;
600
767
  }, z.core.$strip>, z.ZodObject<{
601
768
  status: z.ZodEnum<{
602
- ACTIVE: "ACTIVE";
603
- DELETED: "DELETED";
604
- DRAFT: "DRAFT";
605
- ARCHIVED: "ARCHIVED";
769
+ readonly ACTIVE: "ACTIVE";
770
+ readonly DRAFT: "DRAFT";
771
+ readonly ARCHIVED: "ARCHIVED";
772
+ readonly DELETED: "DELETED";
606
773
  }>;
607
774
  brandName: z.ZodString;
608
775
  brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -611,36 +778,47 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
611
778
  createdAt: z.ZodISODateTime;
612
779
  updatedAt: z.ZodISODateTime;
613
780
  version: z.ZodInt;
781
+ maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
782
+ maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
783
+ applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
784
+ autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
614
785
  title: z.ZodString;
615
786
  brandId: z.ZodCUID2;
616
787
  workMode: z.ZodEnum<{
617
- Remote: "Remote";
618
- Hybrid: "Hybrid";
619
- "On Site": "On Site";
788
+ readonly REMOTE: "Remote";
789
+ readonly HYBRID: "Hybrid";
790
+ readonly ON_SITE: "On Site";
620
791
  }>;
621
792
  location: z.ZodEnum<{
622
- Africa: "Africa";
623
- Asia: "Asia";
624
- Europe: "Europe";
625
- "North America": "North America";
626
- "South America": "South America";
627
- "Middle East": "Middle East";
628
- Oceania: "Oceania";
629
- Global: "Global";
630
- Other: "Other";
631
- Remote: "Remote";
632
- EMEA: "EMEA";
633
- "Asia Pacific": "Asia Pacific";
793
+ readonly AFRICA: "Africa";
794
+ readonly REMOTE: "Remote";
795
+ readonly EUROPE: "Europe";
796
+ readonly ASIA: "Asia";
797
+ readonly NORTH_AMERICA: "North America";
798
+ readonly SOUTH_AMERICA: "South America";
799
+ readonly MIDDLE_EAST: "Middle East";
800
+ readonly OCEANIA: "Oceania";
801
+ readonly EMEA: "EMEA";
802
+ readonly ASIA_PACIFIC: "Asia Pacific";
803
+ readonly GLOBAL: "Global";
804
+ readonly OTHER: "Other";
634
805
  }>;
635
806
  jobSections: z.ZodArray<z.ZodEnum<{
636
- [x: string]: string;
807
+ readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
808
+ readonly PHONE_NO: "PHONE_NO";
809
+ readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
810
+ readonly RESUME: "RESUME";
811
+ readonly COVER_LETTER: "COVER_LETTER";
812
+ readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
813
+ readonly AVAILABILITY: "AVAILABILITY";
814
+ readonly WAGES: "WAGES";
637
815
  }>>;
638
816
  id: z.ZodCUID2;
639
817
  experienceLevel: z.ZodEnum<{
640
- "0-1 year": "0-1 year";
641
- "1-3 years": "1-3 years";
642
- "3-5 years": "3-5 years";
643
- "5+ years": "5+ years";
818
+ readonly YEAR_0_1: "0-1 year";
819
+ readonly YEAR_1_3: "1-3 years";
820
+ readonly YEAR_3_5: "3-5 years";
821
+ readonly YEAR_5_PLUS: "5+ years";
644
822
  }>;
645
823
  overview: z.ZodString;
646
824
  keyResponsibilities: z.ZodString;
@@ -650,41 +828,41 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
650
828
  wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
651
829
  wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
652
830
  wagesCurrency: z.ZodOptional<z.ZodEnum<{
653
- "USD (United States Dollar)": "USD (United States Dollar)";
654
- "EUR (Euro)": "EUR (Euro)";
655
- "GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
656
- "NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
657
- "CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
658
- "AUD (Australian Dollar)": "AUD (Australian Dollar)";
659
- "JPY (Japanese Yen)": "JPY (Japanese Yen)";
660
- "CHF (Swiss Franc)": "CHF (Swiss Franc)";
661
- "INR (Indian Rupee)": "INR (Indian Rupee)";
662
- "ZAR (South African Rand)": "ZAR (South African Rand)";
831
+ readonly USD: "USD (United States Dollar)";
832
+ readonly EUR: "EUR (Euro)";
833
+ readonly GBP: "GBP (British Pound Sterling)";
834
+ readonly NGN: "NGN (Nigerian Naira)";
835
+ readonly CAD: "CAD (Canadian Dollar)";
836
+ readonly AUD: "AUD (Australian Dollar)";
837
+ readonly JPY: "JPY (Japanese Yen)";
838
+ readonly CHF: "CHF (Swiss Franc)";
839
+ readonly INR: "INR (Indian Rupee)";
840
+ readonly ZAR: "ZAR (South African Rand)";
663
841
  }>>;
664
842
  wagesType: z.ZodOptional<z.ZodEnum<{
665
- Hourly: "Hourly";
666
- Daily: "Daily";
667
- Weekly: "Weekly";
668
- Monthly: "Monthly";
669
- "Project Based": "Project Based";
843
+ readonly HOURLY: "Hourly";
844
+ readonly DAILY: "Daily";
845
+ readonly WEEKLY: "Weekly";
846
+ readonly MONTHLY: "Monthly";
847
+ readonly PROJECT_BASED: "Project Based";
670
848
  }>>;
671
849
  jobType: z.ZodLiteral<"ROLE">;
672
850
  employmentType: z.ZodEnum<{
673
- "Full Time": "Full Time";
674
- "Part Time": "Part Time";
675
- Freelance: "Freelance";
676
- Internship: "Internship";
851
+ readonly FULL_TIME: "Full Time";
852
+ readonly PART_TIME: "Part Time";
853
+ readonly FREELANCE: "Freelance";
854
+ readonly INTERNSHIP: "Internship";
677
855
  }>;
678
856
  gigType: z.ZodOptional<z.ZodEnum<{
679
- "One Time": "One Time";
680
- Recurring: "Recurring";
857
+ readonly ONE_TIME: "One Time";
858
+ readonly RECURRING: "Recurring";
681
859
  }>>;
682
860
  }, z.core.$strip>, z.ZodObject<{
683
861
  status: z.ZodEnum<{
684
- ACTIVE: "ACTIVE";
685
- DELETED: "DELETED";
686
- DRAFT: "DRAFT";
687
- ARCHIVED: "ARCHIVED";
862
+ readonly ACTIVE: "ACTIVE";
863
+ readonly DRAFT: "DRAFT";
864
+ readonly ARCHIVED: "ARCHIVED";
865
+ readonly DELETED: "DELETED";
688
866
  }>;
689
867
  brandName: z.ZodString;
690
868
  brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -693,43 +871,54 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
693
871
  createdAt: z.ZodISODateTime;
694
872
  updatedAt: z.ZodISODateTime;
695
873
  version: z.ZodInt;
874
+ maxApplications: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
875
+ maxHires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
876
+ applicationDeadline: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
877
+ autoArchiveWhenFilled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
696
878
  title: z.ZodString;
697
879
  brandId: z.ZodCUID2;
698
880
  jobType: z.ZodEnum<{
699
- GIG: "GIG";
700
- ROLE: "ROLE";
881
+ readonly GIG: "GIG";
882
+ readonly ROLE: "ROLE";
701
883
  }>;
702
884
  employmentType: z.ZodOptional<z.ZodEnum<{
703
- "Full Time": "Full Time";
704
- "Part Time": "Part Time";
705
- Freelance: "Freelance";
706
- Internship: "Internship";
885
+ readonly FULL_TIME: "Full Time";
886
+ readonly PART_TIME: "Part Time";
887
+ readonly FREELANCE: "Freelance";
888
+ readonly INTERNSHIP: "Internship";
707
889
  }>>;
708
890
  workMode: z.ZodEnum<{
709
- Remote: "Remote";
710
- Hybrid: "Hybrid";
711
- "On Site": "On Site";
891
+ readonly REMOTE: "Remote";
892
+ readonly HYBRID: "Hybrid";
893
+ readonly ON_SITE: "On Site";
712
894
  }>;
713
895
  gigType: z.ZodOptional<z.ZodEnum<{
714
- "One Time": "One Time";
715
- Recurring: "Recurring";
896
+ readonly ONE_TIME: "One Time";
897
+ readonly RECURRING: "Recurring";
716
898
  }>>;
717
899
  location: z.ZodEnum<{
718
- Africa: "Africa";
719
- Asia: "Asia";
720
- Europe: "Europe";
721
- "North America": "North America";
722
- "South America": "South America";
723
- "Middle East": "Middle East";
724
- Oceania: "Oceania";
725
- Global: "Global";
726
- Other: "Other";
727
- Remote: "Remote";
728
- EMEA: "EMEA";
729
- "Asia Pacific": "Asia Pacific";
900
+ readonly AFRICA: "Africa";
901
+ readonly REMOTE: "Remote";
902
+ readonly EUROPE: "Europe";
903
+ readonly ASIA: "Asia";
904
+ readonly NORTH_AMERICA: "North America";
905
+ readonly SOUTH_AMERICA: "South America";
906
+ readonly MIDDLE_EAST: "Middle East";
907
+ readonly OCEANIA: "Oceania";
908
+ readonly EMEA: "EMEA";
909
+ readonly ASIA_PACIFIC: "Asia Pacific";
910
+ readonly GLOBAL: "Global";
911
+ readonly OTHER: "Other";
730
912
  }>;
731
913
  jobSections: z.ZodArray<z.ZodEnum<{
732
- [x: string]: string;
914
+ readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
915
+ readonly PHONE_NO: "PHONE_NO";
916
+ readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
917
+ readonly RESUME: "RESUME";
918
+ readonly COVER_LETTER: "COVER_LETTER";
919
+ readonly PORTFOLIO_OR_WORK_SAMPLES: "PORTFOLIO_OR_WORK_SAMPLES";
920
+ readonly AVAILABILITY: "AVAILABILITY";
921
+ readonly WAGES: "WAGES";
733
922
  }>>;
734
923
  id: z.ZodCUID2;
735
924
  }, z.core.$strip>]>;
@@ -741,56 +930,11 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
741
930
  hasPrevPage: z.ZodBoolean;
742
931
  }, z.core.$strip>;
743
932
  export type GetTrackedJobApplicationsOutput = z.infer<typeof GetTrackedJobApplicationsOutputSchema>;
744
- export declare const BaseJobApplicationEntitySchema: z.ZodObject<{
745
- firstName: z.ZodOptional<z.ZodString>;
746
- lastName: z.ZodOptional<z.ZodString>;
747
- id: z.ZodCUID2;
748
- createdAt: z.ZodISODateTime;
749
- updatedAt: z.ZodISODateTime;
750
- experienceLevel: z.ZodOptional<z.ZodEnum<{
751
- "0-1 year": "0-1 year";
752
- "1-3 years": "1-3 years";
753
- "3-5 years": "3-5 years";
754
- "5+ years": "5+ years";
755
- }>>;
756
- jobId: z.ZodCUID2;
757
- emailAddress: z.ZodOptional<z.ZodEmail>;
758
- phoneNumber: z.ZodNullable<z.ZodString>;
759
- currentRole: z.ZodString;
760
- resumeUrl: z.ZodURL;
761
- availability: z.ZodOptional<z.ZodEnum<{
762
- "Immediate (Within 1 week)": "Immediate (Within 1 week)";
763
- "2 weeks notice": "2 weeks notice";
764
- "1 month notice": "1 month notice";
765
- Flexible: "Flexible";
766
- }>>;
767
- coverLetter: z.ZodNullable<z.ZodString>;
768
- receiveEmailUpdates: z.ZodBoolean;
769
- wagesAmount: z.ZodNullable<z.ZodNumber>;
770
- workSampleUrls: z.ZodOptional<z.ZodArray<z.ZodObject<{
771
- url: z.ZodURL;
772
- name: z.ZodOptional<z.ZodString>;
773
- mimeType: z.ZodOptional<z.ZodString>;
774
- }, z.core.$strip>>>;
775
- zyaProjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
776
- projectName: z.ZodString;
777
- projectImgUrl: z.ZodOptional<z.ZodURL>;
778
- projectId: z.ZodCUID2;
779
- tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
780
- }, z.core.$strip>>>;
781
- linkUrls: z.ZodOptional<z.ZodArray<z.ZodObject<{
782
- url: z.ZodURL;
783
- isPortfolioUrl: z.ZodOptional<z.ZodBoolean>;
784
- }, z.core.$strip>>>;
785
- applicationStatus: z.ZodEnum<{
786
- "Application Sent": "Application Sent";
787
- Opened: "Opened";
788
- Rejected: "Rejected";
789
- Declined: "Declined";
790
- Offered: "Offered";
791
- Hired: "Hired";
792
- }>;
793
- applicantId: z.ZodCUID2;
933
+ export declare const GetApplicationStatusUpdatesCountOutputSchema: z.ZodObject<{
934
+ unreadCount: z.ZodNumber;
794
935
  }, z.core.$strip>;
795
- export type BaseJobApplicationEntity = z.infer<typeof BaseJobApplicationEntitySchema>;
796
- export {};
936
+ export type GetApplicationStatusUpdatesCountOutput = z.infer<typeof GetApplicationStatusUpdatesCountOutputSchema>;
937
+ export declare const GetBrandUnansweredApplicationsOutputSchema: z.ZodObject<{
938
+ unansweredCount: z.ZodNumber;
939
+ }, z.core.$strip>;
940
+ export type GetBrandUnansweredApplicationsOutput = z.infer<typeof GetBrandUnansweredApplicationsOutputSchema>;