@zyacreatives/shared 2.5.54 → 2.5.55
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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/schemas/activity.d.ts +1 -0
- package/dist/schemas/auth.d.ts +2 -0
- package/dist/schemas/bookmark.d.ts +62 -7
- package/dist/schemas/bookmark.js +32 -30
- package/dist/schemas/brand.d.ts +3 -3
- package/dist/schemas/chat.d.ts +96 -52
- package/dist/schemas/chat.js +44 -18
- package/dist/schemas/comment.d.ts +65 -21
- package/dist/schemas/comment.js +48 -54
- package/dist/schemas/common.d.ts +15 -11
- package/dist/schemas/creative.d.ts +3 -3
- package/dist/schemas/discipline.d.ts +63 -12
- package/dist/schemas/discipline.js +62 -65
- package/dist/schemas/entity-stats.d.ts +35 -3
- package/dist/schemas/entity-stats.js +24 -38
- package/dist/schemas/feed.d.ts +50 -3
- package/dist/schemas/feed.js +43 -13
- package/dist/schemas/file.d.ts +65 -24
- package/dist/schemas/file.js +60 -49
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/investor-shortlist.d.ts +68 -11
- package/dist/schemas/investor-shortlist.js +46 -24
- package/dist/schemas/investor-signal.d.ts +52 -12
- package/dist/schemas/investor-signal.js +59 -39
- package/dist/schemas/investor.d.ts +3 -3
- package/dist/schemas/job-application.d.ts +291 -279
- package/dist/schemas/job-application.js +59 -95
- package/dist/schemas/job.d.ts +200 -659
- package/dist/schemas/job.js +98 -231
- package/dist/schemas/like.d.ts +3 -0
- package/dist/schemas/message.d.ts +125 -94
- package/dist/schemas/message.js +54 -55
- package/dist/schemas/notification.d.ts +99 -32
- package/dist/schemas/notification.js +46 -42
- package/dist/schemas/payout-method.d.ts +51 -31
- package/dist/schemas/payout-method.js +48 -58
- package/dist/schemas/post.d.ts +295 -204
- package/dist/schemas/post.js +148 -272
- package/dist/schemas/product.d.ts +308 -229
- package/dist/schemas/product.js +111 -94
- package/dist/schemas/project.d.ts +75 -107
- package/dist/schemas/project.js +1 -5
- package/dist/schemas/seller.d.ts +10 -10
- package/dist/schemas/user-strike.d.ts +3 -0
- package/dist/schemas/user.d.ts +114 -123
- package/dist/schemas/username.d.ts +1 -0
- package/dist/schemas/view.d.ts +1 -0
- package/dist/types/activity.d.ts +1 -3
- package/dist/types/auth.d.ts +1 -4
- package/dist/types/bookmark.d.ts +1 -3
- package/dist/types/chat.d.ts +1 -11
- package/dist/types/comment.d.ts +1 -5
- package/dist/types/common.d.ts +2 -8
- package/dist/types/discipline.d.ts +1 -11
- package/dist/types/entity-stats.d.ts +1 -3
- package/dist/types/feed.d.ts +1 -5
- package/dist/types/investor-shortlist.d.ts +1 -6
- package/dist/types/investor-signal.d.ts +1 -7
- package/dist/types/like.d.ts +1 -3
- package/dist/types/message.d.ts +1 -9
- package/dist/types/notification.d.ts +1 -9
- package/dist/types/user-strike.d.ts +1 -5
- package/dist/types/username.d.ts +1 -3
- package/package.json +1 -1
- package/src/index.ts +4 -5
- package/src/schemas/activity.ts +5 -4
- package/src/schemas/auth.ts +14 -10
- package/src/schemas/bookmark.ts +48 -29
- package/src/schemas/chat.ts +79 -18
- package/src/schemas/comment.ts +63 -49
- package/src/schemas/common.ts +8 -3
- package/src/schemas/discipline.ts +103 -71
- package/src/schemas/entity-stats.ts +32 -38
- package/src/schemas/feed.ts +62 -15
- package/src/schemas/file.ts +85 -58
- package/src/schemas/index.ts +1 -0
- package/src/schemas/investor-shortlist.ts +57 -8
- package/src/schemas/investor-signal.ts +79 -27
- package/src/schemas/job-application.ts +81 -115
- package/src/schemas/job.ts +160 -301
- package/src/schemas/like.ts +5 -1
- package/src/schemas/message.ts +71 -64
- package/src/schemas/notification.ts +63 -51
- package/src/schemas/payout-method.ts +47 -63
- package/src/schemas/post.ts +211 -272
- package/src/schemas/product.ts +202 -139
- package/src/schemas/project.ts +7 -10
- package/src/schemas/user-strike.ts +7 -1
- package/src/schemas/user.ts +2 -6
- package/src/schemas/username.ts +5 -3
- package/src/schemas/view.ts +0 -50
- package/src/types/activity.ts +0 -4
- package/src/types/auth.ts +0 -5
- package/src/types/bookmark.ts +0 -4
- package/src/types/chat.ts +0 -31
- package/src/types/comment.ts +0 -12
- package/src/types/common.ts +0 -14
- package/src/types/discipline.ts +0 -32
- package/src/types/entity-stats.ts +0 -4
- package/src/types/feed.ts +0 -10
- package/src/types/index.ts +0 -16
- package/src/types/investor-shortlist.ts +0 -18
- package/src/types/investor-signal.ts +0 -26
- package/src/types/like.ts +0 -4
- package/src/types/message.ts +0 -26
- package/src/types/notification.ts +0 -34
- package/src/types/user-strike.ts +0 -10
- package/src/types/username.ts +0 -4
package/dist/schemas/job.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
/**
|
|
3
|
+
* --------------------------------
|
|
4
|
+
* SHAPE
|
|
5
|
+
* --------------------------------
|
|
6
|
+
*/
|
|
7
|
+
declare const JobShape: z.ZodObject<{
|
|
8
8
|
title: z.ZodString;
|
|
9
9
|
brandId: z.ZodCUID2;
|
|
10
10
|
jobType: z.ZodEnum<{
|
|
@@ -22,12 +22,6 @@ export declare const BaseJobEntitySchema: z.ZodObject<{
|
|
|
22
22
|
Hybrid: "Hybrid";
|
|
23
23
|
"On Site": "On Site";
|
|
24
24
|
}>;
|
|
25
|
-
status: z.ZodEnum<{
|
|
26
|
-
ACTIVE: "ACTIVE";
|
|
27
|
-
DELETED: "DELETED";
|
|
28
|
-
DRAFT: "DRAFT";
|
|
29
|
-
ARCHIVED: "ARCHIVED";
|
|
30
|
-
}>;
|
|
31
25
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
32
26
|
"One Time": "One Time";
|
|
33
27
|
Recurring: "Recurring";
|
|
@@ -46,16 +40,30 @@ export declare const BaseJobEntitySchema: z.ZodObject<{
|
|
|
46
40
|
EMEA: "EMEA";
|
|
47
41
|
"Asia Pacific": "Asia Pacific";
|
|
48
42
|
}>;
|
|
49
|
-
jobSections: z.
|
|
43
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
50
44
|
[x: string]: string;
|
|
51
|
-
}
|
|
52
|
-
createdAt: z.ZodDate;
|
|
53
|
-
version: z.ZodNumber;
|
|
54
|
-
updatedAt: z.ZodDate;
|
|
45
|
+
}>>;
|
|
55
46
|
}, z.core.$strip>;
|
|
56
|
-
export type
|
|
47
|
+
export type JobShapeType = z.infer<typeof JobShape>;
|
|
48
|
+
/**
|
|
49
|
+
* --------------------------------
|
|
50
|
+
* BASE ENTITY
|
|
51
|
+
* --------------------------------
|
|
52
|
+
*/
|
|
57
53
|
export declare const JobEntitySchema: z.ZodObject<{
|
|
58
|
-
|
|
54
|
+
status: z.ZodEnum<{
|
|
55
|
+
ACTIVE: "ACTIVE";
|
|
56
|
+
DELETED: "DELETED";
|
|
57
|
+
DRAFT: "DRAFT";
|
|
58
|
+
ARCHIVED: "ARCHIVED";
|
|
59
|
+
}>;
|
|
60
|
+
brandName: z.ZodString;
|
|
61
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
63
|
+
isBookmarked: z.ZodBoolean;
|
|
64
|
+
createdAt: z.ZodISODateTime;
|
|
65
|
+
updatedAt: z.ZodISODateTime;
|
|
66
|
+
version: z.ZodInt;
|
|
59
67
|
title: z.ZodString;
|
|
60
68
|
brandId: z.ZodCUID2;
|
|
61
69
|
jobType: z.ZodEnum<{
|
|
@@ -73,12 +81,6 @@ export declare const JobEntitySchema: z.ZodObject<{
|
|
|
73
81
|
Hybrid: "Hybrid";
|
|
74
82
|
"On Site": "On Site";
|
|
75
83
|
}>;
|
|
76
|
-
status: z.ZodEnum<{
|
|
77
|
-
ACTIVE: "ACTIVE";
|
|
78
|
-
DELETED: "DELETED";
|
|
79
|
-
DRAFT: "DRAFT";
|
|
80
|
-
ARCHIVED: "ARCHIVED";
|
|
81
|
-
}>;
|
|
82
84
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
83
85
|
"One Time": "One Time";
|
|
84
86
|
Recurring: "Recurring";
|
|
@@ -97,51 +99,26 @@ export declare const JobEntitySchema: z.ZodObject<{
|
|
|
97
99
|
EMEA: "EMEA";
|
|
98
100
|
"Asia Pacific": "Asia Pacific";
|
|
99
101
|
}>;
|
|
100
|
-
jobSections: z.
|
|
102
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
101
103
|
[x: string]: string;
|
|
102
|
-
}>>>;
|
|
103
|
-
createdAt: z.ZodDate;
|
|
104
|
-
version: z.ZodNumber;
|
|
105
|
-
updatedAt: z.ZodDate;
|
|
106
|
-
brandName: z.ZodString;
|
|
107
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
108
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
109
|
-
isBookmarked: z.ZodBoolean;
|
|
110
|
-
}, z.core.$strip>;
|
|
111
|
-
export type JobEntity = z.infer<typeof JobEntitySchema>;
|
|
112
|
-
export declare const GigJobEntitySchema: z.ZodObject<{
|
|
113
|
-
id: z.ZodCUID2;
|
|
114
|
-
jobType: z.ZodLiteral<"GIG">;
|
|
115
|
-
overview: z.ZodString;
|
|
116
|
-
deliverables: z.ZodString;
|
|
117
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
118
|
-
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
119
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
120
|
-
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
121
|
-
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
122
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
123
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
124
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
125
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
126
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
127
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
128
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
129
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
130
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
131
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
132
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
133
|
-
}>>;
|
|
134
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
135
|
-
Hourly: "Hourly";
|
|
136
|
-
Daily: "Daily";
|
|
137
|
-
Weekly: "Weekly";
|
|
138
|
-
Monthly: "Monthly";
|
|
139
|
-
"Project Based": "Project Based";
|
|
140
104
|
}>>;
|
|
105
|
+
id: z.ZodCUID2;
|
|
141
106
|
}, z.core.$strip>;
|
|
142
|
-
export type
|
|
107
|
+
export type JobEntity = z.infer<typeof JobEntitySchema>;
|
|
143
108
|
export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
144
|
-
|
|
109
|
+
status: z.ZodEnum<{
|
|
110
|
+
ACTIVE: "ACTIVE";
|
|
111
|
+
DELETED: "DELETED";
|
|
112
|
+
DRAFT: "DRAFT";
|
|
113
|
+
ARCHIVED: "ARCHIVED";
|
|
114
|
+
}>;
|
|
115
|
+
brandName: z.ZodString;
|
|
116
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
118
|
+
isBookmarked: z.ZodBoolean;
|
|
119
|
+
createdAt: z.ZodISODateTime;
|
|
120
|
+
updatedAt: z.ZodISODateTime;
|
|
121
|
+
version: z.ZodInt;
|
|
145
122
|
title: z.ZodString;
|
|
146
123
|
brandId: z.ZodCUID2;
|
|
147
124
|
jobType: z.ZodEnum<{
|
|
@@ -159,12 +136,6 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
|
159
136
|
Hybrid: "Hybrid";
|
|
160
137
|
"On Site": "On Site";
|
|
161
138
|
}>;
|
|
162
|
-
status: z.ZodEnum<{
|
|
163
|
-
ACTIVE: "ACTIVE";
|
|
164
|
-
DELETED: "DELETED";
|
|
165
|
-
DRAFT: "DRAFT";
|
|
166
|
-
ARCHIVED: "ARCHIVED";
|
|
167
|
-
}>;
|
|
168
139
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
169
140
|
"One Time": "One Time";
|
|
170
141
|
Recurring: "Recurring";
|
|
@@ -183,23 +154,17 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
|
183
154
|
EMEA: "EMEA";
|
|
184
155
|
"Asia Pacific": "Asia Pacific";
|
|
185
156
|
}>;
|
|
186
|
-
jobSections: z.
|
|
157
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
187
158
|
[x: string]: string;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
version: z.ZodNumber;
|
|
191
|
-
updatedAt: z.ZodDate;
|
|
192
|
-
brandName: z.ZodString;
|
|
193
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
194
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
195
|
-
isBookmarked: z.ZodBoolean;
|
|
159
|
+
}>>;
|
|
160
|
+
id: z.ZodCUID2;
|
|
196
161
|
overview: z.ZodString;
|
|
197
162
|
deliverables: z.ZodString;
|
|
198
163
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
199
164
|
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
200
165
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
201
|
-
wagesMin: z.
|
|
202
|
-
wagesMax: z.
|
|
166
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
167
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
203
168
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
204
169
|
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
205
170
|
"EUR (Euro)": "EUR (Euro)";
|
|
@@ -221,45 +186,20 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
|
221
186
|
}>>;
|
|
222
187
|
}, z.core.$strip>;
|
|
223
188
|
export type JobWithGigDetailsEntity = z.infer<typeof JobWithGigDetailsEntitySchema>;
|
|
224
|
-
export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
225
|
-
id: z.ZodCUID2;
|
|
226
|
-
jobType: z.ZodLiteral<"ROLE">;
|
|
227
|
-
experienceLevel: z.ZodEnum<{
|
|
228
|
-
"0-1 year": "0-1 year";
|
|
229
|
-
"1-3 years": "1-3 years";
|
|
230
|
-
"3-5 years": "3-5 years";
|
|
231
|
-
"5+ years": "5+ years";
|
|
232
|
-
}>;
|
|
233
|
-
overview: z.ZodString;
|
|
234
|
-
keyResponsibilities: z.ZodString;
|
|
235
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
236
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
237
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
238
|
-
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
239
|
-
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
240
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
241
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
242
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
243
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
244
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
245
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
246
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
247
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
248
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
249
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
250
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
251
|
-
}>>;
|
|
252
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
253
|
-
Hourly: "Hourly";
|
|
254
|
-
Daily: "Daily";
|
|
255
|
-
Weekly: "Weekly";
|
|
256
|
-
Monthly: "Monthly";
|
|
257
|
-
"Project Based": "Project Based";
|
|
258
|
-
}>>;
|
|
259
|
-
}, z.core.$strip>;
|
|
260
|
-
export type RoleJobEntity = z.infer<typeof RoleJobEntitySchema>;
|
|
261
189
|
export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
262
|
-
|
|
190
|
+
status: z.ZodEnum<{
|
|
191
|
+
ACTIVE: "ACTIVE";
|
|
192
|
+
DELETED: "DELETED";
|
|
193
|
+
DRAFT: "DRAFT";
|
|
194
|
+
ARCHIVED: "ARCHIVED";
|
|
195
|
+
}>;
|
|
196
|
+
brandName: z.ZodString;
|
|
197
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
199
|
+
isBookmarked: z.ZodBoolean;
|
|
200
|
+
createdAt: z.ZodISODateTime;
|
|
201
|
+
updatedAt: z.ZodISODateTime;
|
|
202
|
+
version: z.ZodInt;
|
|
263
203
|
title: z.ZodString;
|
|
264
204
|
brandId: z.ZodCUID2;
|
|
265
205
|
jobType: z.ZodEnum<{
|
|
@@ -277,12 +217,6 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
|
277
217
|
Hybrid: "Hybrid";
|
|
278
218
|
"On Site": "On Site";
|
|
279
219
|
}>;
|
|
280
|
-
status: z.ZodEnum<{
|
|
281
|
-
ACTIVE: "ACTIVE";
|
|
282
|
-
DELETED: "DELETED";
|
|
283
|
-
DRAFT: "DRAFT";
|
|
284
|
-
ARCHIVED: "ARCHIVED";
|
|
285
|
-
}>;
|
|
286
220
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
287
221
|
"One Time": "One Time";
|
|
288
222
|
Recurring: "Recurring";
|
|
@@ -301,27 +235,23 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
|
301
235
|
EMEA: "EMEA";
|
|
302
236
|
"Asia Pacific": "Asia Pacific";
|
|
303
237
|
}>;
|
|
304
|
-
jobSections: z.
|
|
238
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
305
239
|
[x: string]: string;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
version: z.ZodNumber;
|
|
309
|
-
updatedAt: z.ZodDate;
|
|
310
|
-
brandName: z.ZodString;
|
|
311
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
312
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
313
|
-
isBookmarked: z.ZodBoolean;
|
|
314
|
-
overview: z.ZodString;
|
|
240
|
+
}>>;
|
|
241
|
+
id: z.ZodCUID2;
|
|
315
242
|
experienceLevel: z.ZodEnum<{
|
|
316
243
|
"0-1 year": "0-1 year";
|
|
317
244
|
"1-3 years": "1-3 years";
|
|
318
245
|
"3-5 years": "3-5 years";
|
|
319
246
|
"5+ years": "5+ years";
|
|
320
247
|
}>;
|
|
321
|
-
|
|
248
|
+
overview: z.ZodString;
|
|
249
|
+
keyResponsibilities: z.ZodString;
|
|
322
250
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
323
|
-
|
|
324
|
-
|
|
251
|
+
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
252
|
+
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
253
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
254
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
325
255
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
326
256
|
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
327
257
|
"EUR (Euro)": "EUR (Euro)";
|
|
@@ -341,12 +271,22 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
|
341
271
|
Monthly: "Monthly";
|
|
342
272
|
"Project Based": "Project Based";
|
|
343
273
|
}>>;
|
|
344
|
-
keyResponsibilities: z.ZodString;
|
|
345
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
346
274
|
}, z.core.$strip>;
|
|
347
275
|
export type JobWithRoleDetailsEntity = z.infer<typeof JobWithRoleDetailsEntitySchema>;
|
|
348
276
|
export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
349
|
-
|
|
277
|
+
status: z.ZodEnum<{
|
|
278
|
+
ACTIVE: "ACTIVE";
|
|
279
|
+
DELETED: "DELETED";
|
|
280
|
+
DRAFT: "DRAFT";
|
|
281
|
+
ARCHIVED: "ARCHIVED";
|
|
282
|
+
}>;
|
|
283
|
+
brandName: z.ZodString;
|
|
284
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
286
|
+
isBookmarked: z.ZodBoolean;
|
|
287
|
+
createdAt: z.ZodISODateTime;
|
|
288
|
+
updatedAt: z.ZodISODateTime;
|
|
289
|
+
version: z.ZodInt;
|
|
350
290
|
title: z.ZodString;
|
|
351
291
|
brandId: z.ZodCUID2;
|
|
352
292
|
jobType: z.ZodEnum<{
|
|
@@ -364,12 +304,6 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
364
304
|
Hybrid: "Hybrid";
|
|
365
305
|
"On Site": "On Site";
|
|
366
306
|
}>;
|
|
367
|
-
status: z.ZodEnum<{
|
|
368
|
-
ACTIVE: "ACTIVE";
|
|
369
|
-
DELETED: "DELETED";
|
|
370
|
-
DRAFT: "DRAFT";
|
|
371
|
-
ARCHIVED: "ARCHIVED";
|
|
372
|
-
}>;
|
|
373
307
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
374
308
|
"One Time": "One Time";
|
|
375
309
|
Recurring: "Recurring";
|
|
@@ -388,23 +322,17 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
388
322
|
EMEA: "EMEA";
|
|
389
323
|
"Asia Pacific": "Asia Pacific";
|
|
390
324
|
}>;
|
|
391
|
-
jobSections: z.
|
|
325
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
392
326
|
[x: string]: string;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
version: z.ZodNumber;
|
|
396
|
-
updatedAt: z.ZodDate;
|
|
397
|
-
brandName: z.ZodString;
|
|
398
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
399
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
400
|
-
isBookmarked: z.ZodBoolean;
|
|
327
|
+
}>>;
|
|
328
|
+
id: z.ZodCUID2;
|
|
401
329
|
overview: z.ZodString;
|
|
402
330
|
deliverables: z.ZodString;
|
|
403
331
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
404
332
|
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
405
333
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
406
|
-
wagesMin: z.
|
|
407
|
-
wagesMax: z.
|
|
334
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
335
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
408
336
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
409
337
|
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
410
338
|
"EUR (Euro)": "EUR (Euro)";
|
|
@@ -425,7 +353,19 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
425
353
|
"Project Based": "Project Based";
|
|
426
354
|
}>>;
|
|
427
355
|
}, z.core.$strip>, z.ZodObject<{
|
|
428
|
-
|
|
356
|
+
status: z.ZodEnum<{
|
|
357
|
+
ACTIVE: "ACTIVE";
|
|
358
|
+
DELETED: "DELETED";
|
|
359
|
+
DRAFT: "DRAFT";
|
|
360
|
+
ARCHIVED: "ARCHIVED";
|
|
361
|
+
}>;
|
|
362
|
+
brandName: z.ZodString;
|
|
363
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
365
|
+
isBookmarked: z.ZodBoolean;
|
|
366
|
+
createdAt: z.ZodISODateTime;
|
|
367
|
+
updatedAt: z.ZodISODateTime;
|
|
368
|
+
version: z.ZodInt;
|
|
429
369
|
title: z.ZodString;
|
|
430
370
|
brandId: z.ZodCUID2;
|
|
431
371
|
jobType: z.ZodEnum<{
|
|
@@ -443,12 +383,6 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
443
383
|
Hybrid: "Hybrid";
|
|
444
384
|
"On Site": "On Site";
|
|
445
385
|
}>;
|
|
446
|
-
status: z.ZodEnum<{
|
|
447
|
-
ACTIVE: "ACTIVE";
|
|
448
|
-
DELETED: "DELETED";
|
|
449
|
-
DRAFT: "DRAFT";
|
|
450
|
-
ARCHIVED: "ARCHIVED";
|
|
451
|
-
}>;
|
|
452
386
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
453
387
|
"One Time": "One Time";
|
|
454
388
|
Recurring: "Recurring";
|
|
@@ -467,27 +401,23 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
467
401
|
EMEA: "EMEA";
|
|
468
402
|
"Asia Pacific": "Asia Pacific";
|
|
469
403
|
}>;
|
|
470
|
-
jobSections: z.
|
|
404
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
471
405
|
[x: string]: string;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
version: z.ZodNumber;
|
|
475
|
-
updatedAt: z.ZodDate;
|
|
476
|
-
brandName: z.ZodString;
|
|
477
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
478
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
479
|
-
isBookmarked: z.ZodBoolean;
|
|
480
|
-
overview: z.ZodString;
|
|
406
|
+
}>>;
|
|
407
|
+
id: z.ZodCUID2;
|
|
481
408
|
experienceLevel: z.ZodEnum<{
|
|
482
409
|
"0-1 year": "0-1 year";
|
|
483
410
|
"1-3 years": "1-3 years";
|
|
484
411
|
"3-5 years": "3-5 years";
|
|
485
412
|
"5+ years": "5+ years";
|
|
486
413
|
}>;
|
|
487
|
-
|
|
414
|
+
overview: z.ZodString;
|
|
415
|
+
keyResponsibilities: z.ZodString;
|
|
488
416
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
489
|
-
|
|
490
|
-
|
|
417
|
+
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
418
|
+
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
419
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
420
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
491
421
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
492
422
|
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
493
423
|
"EUR (Euro)": "EUR (Euro)";
|
|
@@ -507,10 +437,20 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
507
437
|
Monthly: "Monthly";
|
|
508
438
|
"Project Based": "Project Based";
|
|
509
439
|
}>>;
|
|
510
|
-
keyResponsibilities: z.ZodString;
|
|
511
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
512
440
|
}, z.core.$strip>, z.ZodObject<{
|
|
513
|
-
|
|
441
|
+
status: z.ZodEnum<{
|
|
442
|
+
ACTIVE: "ACTIVE";
|
|
443
|
+
DELETED: "DELETED";
|
|
444
|
+
DRAFT: "DRAFT";
|
|
445
|
+
ARCHIVED: "ARCHIVED";
|
|
446
|
+
}>;
|
|
447
|
+
brandName: z.ZodString;
|
|
448
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
449
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
450
|
+
isBookmarked: z.ZodBoolean;
|
|
451
|
+
createdAt: z.ZodISODateTime;
|
|
452
|
+
updatedAt: z.ZodISODateTime;
|
|
453
|
+
version: z.ZodInt;
|
|
514
454
|
title: z.ZodString;
|
|
515
455
|
brandId: z.ZodCUID2;
|
|
516
456
|
jobType: z.ZodEnum<{
|
|
@@ -528,12 +468,6 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
528
468
|
Hybrid: "Hybrid";
|
|
529
469
|
"On Site": "On Site";
|
|
530
470
|
}>;
|
|
531
|
-
status: z.ZodEnum<{
|
|
532
|
-
ACTIVE: "ACTIVE";
|
|
533
|
-
DELETED: "DELETED";
|
|
534
|
-
DRAFT: "DRAFT";
|
|
535
|
-
ARCHIVED: "ARCHIVED";
|
|
536
|
-
}>;
|
|
537
471
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
538
472
|
"One Time": "One Time";
|
|
539
473
|
Recurring: "Recurring";
|
|
@@ -552,19 +486,18 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
552
486
|
EMEA: "EMEA";
|
|
553
487
|
"Asia Pacific": "Asia Pacific";
|
|
554
488
|
}>;
|
|
555
|
-
jobSections: z.
|
|
489
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
556
490
|
[x: string]: string;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
version: z.ZodNumber;
|
|
560
|
-
updatedAt: z.ZodDate;
|
|
561
|
-
brandName: z.ZodString;
|
|
562
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
563
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
564
|
-
isBookmarked: z.ZodBoolean;
|
|
491
|
+
}>>;
|
|
492
|
+
id: z.ZodCUID2;
|
|
565
493
|
}, z.core.$strip>]>;
|
|
566
494
|
export type NormalizedJobEntity = z.infer<typeof NormalizedJobSchema>;
|
|
567
|
-
|
|
495
|
+
/**
|
|
496
|
+
* --------------------------------
|
|
497
|
+
* INPUTS
|
|
498
|
+
* --------------------------------
|
|
499
|
+
*/
|
|
500
|
+
export declare const CreateJobInputSchema: z.ZodObject<{
|
|
568
501
|
title: z.ZodString;
|
|
569
502
|
brandId: z.ZodCUID2;
|
|
570
503
|
jobType: z.ZodEnum<{
|
|
@@ -586,7 +519,7 @@ export declare const CreateJobInputSchema: z.ZodPipe<z.ZodObject<{
|
|
|
586
519
|
"One Time": "One Time";
|
|
587
520
|
Recurring: "Recurring";
|
|
588
521
|
}>>;
|
|
589
|
-
location: z.
|
|
522
|
+
location: z.ZodEnum<{
|
|
590
523
|
Africa: "Africa";
|
|
591
524
|
Asia: "Asia";
|
|
592
525
|
Europe: "Europe";
|
|
@@ -599,102 +532,18 @@ export declare const CreateJobInputSchema: z.ZodPipe<z.ZodObject<{
|
|
|
599
532
|
Remote: "Remote";
|
|
600
533
|
EMEA: "EMEA";
|
|
601
534
|
"Asia Pacific": "Asia Pacific";
|
|
602
|
-
}
|
|
535
|
+
}>;
|
|
603
536
|
jobSections: z.ZodArray<z.ZodEnum<{
|
|
604
537
|
[x: string]: string;
|
|
605
538
|
}>>;
|
|
606
|
-
}, z.core.$strip
|
|
607
|
-
title: string;
|
|
608
|
-
brandId: string;
|
|
609
|
-
jobType: "GIG" | "ROLE";
|
|
610
|
-
workMode: "Remote" | "Hybrid" | "On Site";
|
|
611
|
-
location: "Africa" | "Asia" | "Europe" | "North America" | "South America" | "Middle East" | "Oceania" | "Global" | "Other" | "Remote" | "EMEA" | "Asia Pacific";
|
|
612
|
-
jobSections: string[];
|
|
613
|
-
employmentType?: "Full Time" | "Part Time" | "Freelance" | "Internship" | undefined;
|
|
614
|
-
gigType?: "One Time" | "Recurring" | undefined;
|
|
615
|
-
}, {
|
|
616
|
-
title: string;
|
|
617
|
-
brandId: string;
|
|
618
|
-
jobType: "GIG" | "ROLE";
|
|
619
|
-
workMode: "Remote" | "Hybrid" | "On Site";
|
|
620
|
-
location: "Africa" | "Asia" | "Europe" | "North America" | "South America" | "Middle East" | "Oceania" | "Global" | "Other" | "Remote" | "EMEA" | "Asia Pacific";
|
|
621
|
-
jobSections: string[];
|
|
622
|
-
employmentType?: "Full Time" | "Part Time" | "Freelance" | "Internship" | undefined;
|
|
623
|
-
gigType?: "One Time" | "Recurring" | undefined;
|
|
624
|
-
}>>;
|
|
539
|
+
}, z.core.$strip>;
|
|
625
540
|
export type CreateJobInput = z.infer<typeof CreateJobInputSchema>;
|
|
626
|
-
export declare const
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
"5+ years": "5+ years";
|
|
633
|
-
}>;
|
|
634
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
635
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
636
|
-
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
637
|
-
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
638
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
639
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
640
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
641
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
642
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
643
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
644
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
645
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
646
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
647
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
648
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
649
|
-
}>>;
|
|
650
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
651
|
-
Hourly: "Hourly";
|
|
652
|
-
Daily: "Daily";
|
|
653
|
-
Weekly: "Weekly";
|
|
654
|
-
Monthly: "Monthly";
|
|
655
|
-
"Project Based": "Project Based";
|
|
656
|
-
}>>;
|
|
657
|
-
keyResponsibilities: z.ZodString;
|
|
658
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
659
|
-
id: z.ZodCUID2;
|
|
660
|
-
}, z.core.$strip>;
|
|
661
|
-
export type CreateRoleJobInput = z.infer<typeof CreateRoleJobInputSchema>;
|
|
662
|
-
export declare const CreateGigJobInputSchema: z.ZodObject<{
|
|
663
|
-
overview: z.ZodString;
|
|
664
|
-
deliverables: z.ZodString;
|
|
665
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
666
|
-
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
667
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
668
|
-
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
669
|
-
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
670
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
671
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
672
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
673
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
674
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
675
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
676
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
677
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
678
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
679
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
680
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
681
|
-
}>>;
|
|
682
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
683
|
-
Hourly: "Hourly";
|
|
684
|
-
Daily: "Daily";
|
|
685
|
-
Weekly: "Weekly";
|
|
686
|
-
Monthly: "Monthly";
|
|
687
|
-
"Project Based": "Project Based";
|
|
688
|
-
}>>;
|
|
689
|
-
id: z.ZodCUID2;
|
|
690
|
-
}, z.core.$strip>;
|
|
691
|
-
export type CreateGigJobInput = z.infer<typeof CreateGigJobInputSchema>;
|
|
692
|
-
export declare const UpdateJobInputSchema: z.ZodObject<{
|
|
693
|
-
title: z.ZodOptional<z.ZodString>;
|
|
694
|
-
brandId: z.ZodOptional<z.ZodCUID2>;
|
|
695
|
-
jobType: z.ZodOptional<z.ZodEnum<{
|
|
696
|
-
GIG: "GIG";
|
|
697
|
-
ROLE: "ROLE";
|
|
541
|
+
export declare const UpdateJobInputSchema: z.ZodObject<{
|
|
542
|
+
title: z.ZodOptional<z.ZodString>;
|
|
543
|
+
brandId: z.ZodOptional<z.ZodCUID2>;
|
|
544
|
+
jobType: z.ZodOptional<z.ZodEnum<{
|
|
545
|
+
GIG: "GIG";
|
|
546
|
+
ROLE: "ROLE";
|
|
698
547
|
}>>;
|
|
699
548
|
employmentType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
700
549
|
"Full Time": "Full Time";
|
|
@@ -711,7 +560,7 @@ export declare const UpdateJobInputSchema: z.ZodObject<{
|
|
|
711
560
|
"One Time": "One Time";
|
|
712
561
|
Recurring: "Recurring";
|
|
713
562
|
}>>>;
|
|
714
|
-
location: z.ZodOptional<z.
|
|
563
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
715
564
|
Africa: "Africa";
|
|
716
565
|
Asia: "Asia";
|
|
717
566
|
Europe: "Europe";
|
|
@@ -724,7 +573,7 @@ export declare const UpdateJobInputSchema: z.ZodObject<{
|
|
|
724
573
|
Remote: "Remote";
|
|
725
574
|
EMEA: "EMEA";
|
|
726
575
|
"Asia Pacific": "Asia Pacific";
|
|
727
|
-
}
|
|
576
|
+
}>>;
|
|
728
577
|
jobSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
729
578
|
[x: string]: string;
|
|
730
579
|
}>>>;
|
|
@@ -735,110 +584,39 @@ export declare const UpdateJobInputSchema: z.ZodObject<{
|
|
|
735
584
|
DRAFT: "DRAFT";
|
|
736
585
|
ARCHIVED: "ARCHIVED";
|
|
737
586
|
}>>;
|
|
738
|
-
version: z.
|
|
587
|
+
version: z.ZodInt;
|
|
739
588
|
}, z.core.$strip>;
|
|
740
589
|
export type UpdateJobInput = z.infer<typeof UpdateJobInputSchema>;
|
|
741
590
|
export declare const GetJobsInputSchema: z.ZodObject<{
|
|
742
591
|
q: z.ZodOptional<z.ZodString>;
|
|
743
592
|
jobType: z.ZodOptional<z.ZodEnum<{
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
workMode: z.ZodOptional<z.ZodString>;
|
|
747
|
-
location: z.ZodOptional<z.ZodEnum<{
|
|
748
|
-
[x: string]: string;
|
|
749
|
-
}>>;
|
|
750
|
-
employmentType: z.ZodOptional<z.ZodString>;
|
|
751
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
752
|
-
[x: string]: string;
|
|
593
|
+
GIG: "GIG";
|
|
594
|
+
ROLE: "ROLE";
|
|
753
595
|
}>>;
|
|
754
|
-
requiredSkills: z.ZodOptional<z.ZodString>;
|
|
755
|
-
status: z.ZodOptional<z.ZodString>;
|
|
756
596
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
757
597
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
758
598
|
}, z.core.$strip>;
|
|
759
599
|
export type GetJobsInput = z.infer<typeof GetJobsInputSchema>;
|
|
600
|
+
/**
|
|
601
|
+
* --------------------------------
|
|
602
|
+
* OUTPUTS
|
|
603
|
+
* --------------------------------
|
|
604
|
+
*/
|
|
760
605
|
export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
761
606
|
jobs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
762
|
-
id: z.ZodCUID2;
|
|
763
|
-
title: z.ZodString;
|
|
764
|
-
brandId: z.ZodCUID2;
|
|
765
|
-
jobType: z.ZodEnum<{
|
|
766
|
-
GIG: "GIG";
|
|
767
|
-
ROLE: "ROLE";
|
|
768
|
-
}>;
|
|
769
|
-
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
770
|
-
"Full Time": "Full Time";
|
|
771
|
-
"Part Time": "Part Time";
|
|
772
|
-
Freelance: "Freelance";
|
|
773
|
-
Internship: "Internship";
|
|
774
|
-
}>>;
|
|
775
|
-
workMode: z.ZodEnum<{
|
|
776
|
-
Remote: "Remote";
|
|
777
|
-
Hybrid: "Hybrid";
|
|
778
|
-
"On Site": "On Site";
|
|
779
|
-
}>;
|
|
780
607
|
status: z.ZodEnum<{
|
|
781
608
|
ACTIVE: "ACTIVE";
|
|
782
609
|
DELETED: "DELETED";
|
|
783
610
|
DRAFT: "DRAFT";
|
|
784
611
|
ARCHIVED: "ARCHIVED";
|
|
785
612
|
}>;
|
|
786
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
787
|
-
"One Time": "One Time";
|
|
788
|
-
Recurring: "Recurring";
|
|
789
|
-
}>>;
|
|
790
|
-
location: z.ZodEnum<{
|
|
791
|
-
Africa: "Africa";
|
|
792
|
-
Asia: "Asia";
|
|
793
|
-
Europe: "Europe";
|
|
794
|
-
"North America": "North America";
|
|
795
|
-
"South America": "South America";
|
|
796
|
-
"Middle East": "Middle East";
|
|
797
|
-
Oceania: "Oceania";
|
|
798
|
-
Global: "Global";
|
|
799
|
-
Other: "Other";
|
|
800
|
-
Remote: "Remote";
|
|
801
|
-
EMEA: "EMEA";
|
|
802
|
-
"Asia Pacific": "Asia Pacific";
|
|
803
|
-
}>;
|
|
804
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
805
|
-
[x: string]: string;
|
|
806
|
-
}>>>;
|
|
807
|
-
createdAt: z.ZodDate;
|
|
808
|
-
version: z.ZodNumber;
|
|
809
|
-
updatedAt: z.ZodDate;
|
|
810
613
|
brandName: z.ZodString;
|
|
811
|
-
|
|
812
|
-
|
|
614
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
615
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
813
616
|
isBookmarked: z.ZodBoolean;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
818
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
819
|
-
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
820
|
-
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
821
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
822
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
823
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
824
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
825
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
826
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
827
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
828
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
829
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
830
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
831
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
832
|
-
}>>;
|
|
833
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
834
|
-
Hourly: "Hourly";
|
|
835
|
-
Daily: "Daily";
|
|
836
|
-
Weekly: "Weekly";
|
|
837
|
-
Monthly: "Monthly";
|
|
838
|
-
"Project Based": "Project Based";
|
|
839
|
-
}>>;
|
|
840
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
841
|
-
id: z.ZodCUID2;
|
|
617
|
+
createdAt: z.ZodISODateTime;
|
|
618
|
+
updatedAt: z.ZodISODateTime;
|
|
619
|
+
version: z.ZodInt;
|
|
842
620
|
title: z.ZodString;
|
|
843
621
|
brandId: z.ZodCUID2;
|
|
844
622
|
jobType: z.ZodEnum<{
|
|
@@ -856,12 +634,6 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
856
634
|
Hybrid: "Hybrid";
|
|
857
635
|
"On Site": "On Site";
|
|
858
636
|
}>;
|
|
859
|
-
status: z.ZodEnum<{
|
|
860
|
-
ACTIVE: "ACTIVE";
|
|
861
|
-
DELETED: "DELETED";
|
|
862
|
-
DRAFT: "DRAFT";
|
|
863
|
-
ARCHIVED: "ARCHIVED";
|
|
864
|
-
}>;
|
|
865
637
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
866
638
|
"One Time": "One Time";
|
|
867
639
|
Recurring: "Recurring";
|
|
@@ -880,27 +652,17 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
880
652
|
EMEA: "EMEA";
|
|
881
653
|
"Asia Pacific": "Asia Pacific";
|
|
882
654
|
}>;
|
|
883
|
-
jobSections: z.
|
|
655
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
884
656
|
[x: string]: string;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
version: z.ZodNumber;
|
|
888
|
-
updatedAt: z.ZodDate;
|
|
889
|
-
brandName: z.ZodString;
|
|
890
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
891
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
892
|
-
isBookmarked: z.ZodBoolean;
|
|
657
|
+
}>>;
|
|
658
|
+
id: z.ZodCUID2;
|
|
893
659
|
overview: z.ZodString;
|
|
894
|
-
|
|
895
|
-
"0-1 year": "0-1 year";
|
|
896
|
-
"1-3 years": "1-3 years";
|
|
897
|
-
"3-5 years": "3-5 years";
|
|
898
|
-
"5+ years": "5+ years";
|
|
899
|
-
}>;
|
|
660
|
+
deliverables: z.ZodString;
|
|
900
661
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
662
|
+
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
901
663
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
902
|
-
wagesMin: z.
|
|
903
|
-
wagesMax: z.
|
|
664
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
665
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
904
666
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
905
667
|
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
906
668
|
"EUR (Euro)": "EUR (Euro)";
|
|
@@ -920,73 +682,20 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
|
|
|
920
682
|
Monthly: "Monthly";
|
|
921
683
|
"Project Based": "Project Based";
|
|
922
684
|
}>>;
|
|
923
|
-
keyResponsibilities: z.ZodString;
|
|
924
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
925
685
|
}, z.core.$strip>, z.ZodObject<{
|
|
926
|
-
id: z.ZodCUID2;
|
|
927
|
-
title: z.ZodString;
|
|
928
|
-
brandId: z.ZodCUID2;
|
|
929
|
-
jobType: z.ZodEnum<{
|
|
930
|
-
GIG: "GIG";
|
|
931
|
-
ROLE: "ROLE";
|
|
932
|
-
}>;
|
|
933
|
-
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
934
|
-
"Full Time": "Full Time";
|
|
935
|
-
"Part Time": "Part Time";
|
|
936
|
-
Freelance: "Freelance";
|
|
937
|
-
Internship: "Internship";
|
|
938
|
-
}>>;
|
|
939
|
-
workMode: z.ZodEnum<{
|
|
940
|
-
Remote: "Remote";
|
|
941
|
-
Hybrid: "Hybrid";
|
|
942
|
-
"On Site": "On Site";
|
|
943
|
-
}>;
|
|
944
686
|
status: z.ZodEnum<{
|
|
945
687
|
ACTIVE: "ACTIVE";
|
|
946
688
|
DELETED: "DELETED";
|
|
947
689
|
DRAFT: "DRAFT";
|
|
948
690
|
ARCHIVED: "ARCHIVED";
|
|
949
691
|
}>;
|
|
950
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
951
|
-
"One Time": "One Time";
|
|
952
|
-
Recurring: "Recurring";
|
|
953
|
-
}>>;
|
|
954
|
-
location: z.ZodEnum<{
|
|
955
|
-
Africa: "Africa";
|
|
956
|
-
Asia: "Asia";
|
|
957
|
-
Europe: "Europe";
|
|
958
|
-
"North America": "North America";
|
|
959
|
-
"South America": "South America";
|
|
960
|
-
"Middle East": "Middle East";
|
|
961
|
-
Oceania: "Oceania";
|
|
962
|
-
Global: "Global";
|
|
963
|
-
Other: "Other";
|
|
964
|
-
Remote: "Remote";
|
|
965
|
-
EMEA: "EMEA";
|
|
966
|
-
"Asia Pacific": "Asia Pacific";
|
|
967
|
-
}>;
|
|
968
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
969
|
-
[x: string]: string;
|
|
970
|
-
}>>>;
|
|
971
|
-
createdAt: z.ZodDate;
|
|
972
|
-
version: z.ZodNumber;
|
|
973
|
-
updatedAt: z.ZodDate;
|
|
974
692
|
brandName: z.ZodString;
|
|
975
|
-
|
|
976
|
-
|
|
693
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
694
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
977
695
|
isBookmarked: z.ZodBoolean;
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
limit: z.ZodNumber;
|
|
982
|
-
totalPages: z.ZodNumber;
|
|
983
|
-
hasNextPage: z.ZodBoolean;
|
|
984
|
-
hasPrevPage: z.ZodBoolean;
|
|
985
|
-
}, z.core.$strip>;
|
|
986
|
-
export type GetJobsOutput = z.infer<typeof GetJobsOutputSchema>;
|
|
987
|
-
export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
988
|
-
jobs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
989
|
-
id: z.ZodCUID2;
|
|
696
|
+
createdAt: z.ZodISODateTime;
|
|
697
|
+
updatedAt: z.ZodISODateTime;
|
|
698
|
+
version: z.ZodInt;
|
|
990
699
|
title: z.ZodString;
|
|
991
700
|
brandId: z.ZodCUID2;
|
|
992
701
|
jobType: z.ZodEnum<{
|
|
@@ -1004,12 +713,6 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1004
713
|
Hybrid: "Hybrid";
|
|
1005
714
|
"On Site": "On Site";
|
|
1006
715
|
}>;
|
|
1007
|
-
status: z.ZodEnum<{
|
|
1008
|
-
ACTIVE: "ACTIVE";
|
|
1009
|
-
DELETED: "DELETED";
|
|
1010
|
-
DRAFT: "DRAFT";
|
|
1011
|
-
ARCHIVED: "ARCHIVED";
|
|
1012
|
-
}>;
|
|
1013
716
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
1014
717
|
"One Time": "One Time";
|
|
1015
718
|
Recurring: "Recurring";
|
|
@@ -1028,23 +731,23 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1028
731
|
EMEA: "EMEA";
|
|
1029
732
|
"Asia Pacific": "Asia Pacific";
|
|
1030
733
|
}>;
|
|
1031
|
-
jobSections: z.
|
|
734
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
1032
735
|
[x: string]: string;
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
736
|
+
}>>;
|
|
737
|
+
id: z.ZodCUID2;
|
|
738
|
+
experienceLevel: z.ZodEnum<{
|
|
739
|
+
"0-1 year": "0-1 year";
|
|
740
|
+
"1-3 years": "1-3 years";
|
|
741
|
+
"3-5 years": "3-5 years";
|
|
742
|
+
"5+ years": "5+ years";
|
|
743
|
+
}>;
|
|
1041
744
|
overview: z.ZodString;
|
|
1042
|
-
|
|
1043
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
1044
|
-
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
745
|
+
keyResponsibilities: z.ZodString;
|
|
1045
746
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1046
|
-
|
|
1047
|
-
|
|
747
|
+
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
748
|
+
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
749
|
+
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
750
|
+
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1048
751
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1049
752
|
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
1050
753
|
"EUR (Euro)": "EUR (Euro)";
|
|
@@ -1065,92 +768,19 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1065
768
|
"Project Based": "Project Based";
|
|
1066
769
|
}>>;
|
|
1067
770
|
}, z.core.$strip>, z.ZodObject<{
|
|
1068
|
-
id: z.ZodCUID2;
|
|
1069
|
-
title: z.ZodString;
|
|
1070
|
-
brandId: z.ZodCUID2;
|
|
1071
|
-
jobType: z.ZodEnum<{
|
|
1072
|
-
GIG: "GIG";
|
|
1073
|
-
ROLE: "ROLE";
|
|
1074
|
-
}>;
|
|
1075
|
-
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
1076
|
-
"Full Time": "Full Time";
|
|
1077
|
-
"Part Time": "Part Time";
|
|
1078
|
-
Freelance: "Freelance";
|
|
1079
|
-
Internship: "Internship";
|
|
1080
|
-
}>>;
|
|
1081
|
-
workMode: z.ZodEnum<{
|
|
1082
|
-
Remote: "Remote";
|
|
1083
|
-
Hybrid: "Hybrid";
|
|
1084
|
-
"On Site": "On Site";
|
|
1085
|
-
}>;
|
|
1086
771
|
status: z.ZodEnum<{
|
|
1087
772
|
ACTIVE: "ACTIVE";
|
|
1088
773
|
DELETED: "DELETED";
|
|
1089
774
|
DRAFT: "DRAFT";
|
|
1090
775
|
ARCHIVED: "ARCHIVED";
|
|
1091
776
|
}>;
|
|
1092
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
1093
|
-
"One Time": "One Time";
|
|
1094
|
-
Recurring: "Recurring";
|
|
1095
|
-
}>>;
|
|
1096
|
-
location: z.ZodEnum<{
|
|
1097
|
-
Africa: "Africa";
|
|
1098
|
-
Asia: "Asia";
|
|
1099
|
-
Europe: "Europe";
|
|
1100
|
-
"North America": "North America";
|
|
1101
|
-
"South America": "South America";
|
|
1102
|
-
"Middle East": "Middle East";
|
|
1103
|
-
Oceania: "Oceania";
|
|
1104
|
-
Global: "Global";
|
|
1105
|
-
Other: "Other";
|
|
1106
|
-
Remote: "Remote";
|
|
1107
|
-
EMEA: "EMEA";
|
|
1108
|
-
"Asia Pacific": "Asia Pacific";
|
|
1109
|
-
}>;
|
|
1110
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1111
|
-
[x: string]: string;
|
|
1112
|
-
}>>>;
|
|
1113
|
-
createdAt: z.ZodDate;
|
|
1114
|
-
version: z.ZodNumber;
|
|
1115
|
-
updatedAt: z.ZodDate;
|
|
1116
777
|
brandName: z.ZodString;
|
|
1117
|
-
|
|
1118
|
-
|
|
778
|
+
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
779
|
+
isApplied: z.ZodDefault<z.ZodBoolean>;
|
|
1119
780
|
isBookmarked: z.ZodBoolean;
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
"1-3 years": "1-3 years";
|
|
1124
|
-
"3-5 years": "3-5 years";
|
|
1125
|
-
"5+ years": "5+ years";
|
|
1126
|
-
}>;
|
|
1127
|
-
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
1128
|
-
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1129
|
-
wagesMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1130
|
-
wagesMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1131
|
-
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
1132
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
1133
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
1134
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
1135
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
1136
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
1137
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
1138
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
1139
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
1140
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
1141
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
1142
|
-
}>>;
|
|
1143
|
-
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
1144
|
-
Hourly: "Hourly";
|
|
1145
|
-
Daily: "Daily";
|
|
1146
|
-
Weekly: "Weekly";
|
|
1147
|
-
Monthly: "Monthly";
|
|
1148
|
-
"Project Based": "Project Based";
|
|
1149
|
-
}>>;
|
|
1150
|
-
keyResponsibilities: z.ZodString;
|
|
1151
|
-
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
1152
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1153
|
-
id: z.ZodCUID2;
|
|
781
|
+
createdAt: z.ZodISODateTime;
|
|
782
|
+
updatedAt: z.ZodISODateTime;
|
|
783
|
+
version: z.ZodInt;
|
|
1154
784
|
title: z.ZodString;
|
|
1155
785
|
brandId: z.ZodCUID2;
|
|
1156
786
|
jobType: z.ZodEnum<{
|
|
@@ -1168,12 +798,6 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1168
798
|
Hybrid: "Hybrid";
|
|
1169
799
|
"On Site": "On Site";
|
|
1170
800
|
}>;
|
|
1171
|
-
status: z.ZodEnum<{
|
|
1172
|
-
ACTIVE: "ACTIVE";
|
|
1173
|
-
DELETED: "DELETED";
|
|
1174
|
-
DRAFT: "DRAFT";
|
|
1175
|
-
ARCHIVED: "ARCHIVED";
|
|
1176
|
-
}>;
|
|
1177
801
|
gigType: z.ZodOptional<z.ZodEnum<{
|
|
1178
802
|
"One Time": "One Time";
|
|
1179
803
|
Recurring: "Recurring";
|
|
@@ -1192,26 +816,22 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
|
|
|
1192
816
|
EMEA: "EMEA";
|
|
1193
817
|
"Asia Pacific": "Asia Pacific";
|
|
1194
818
|
}>;
|
|
1195
|
-
jobSections: z.
|
|
819
|
+
jobSections: z.ZodArray<z.ZodEnum<{
|
|
1196
820
|
[x: string]: string;
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
|
-
version: z.ZodNumber;
|
|
1200
|
-
updatedAt: z.ZodDate;
|
|
1201
|
-
brandName: z.ZodString;
|
|
1202
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1203
|
-
brandImgUrl: z.ZodOptional<z.ZodURL>;
|
|
1204
|
-
isBookmarked: z.ZodBoolean;
|
|
821
|
+
}>>;
|
|
822
|
+
id: z.ZodCUID2;
|
|
1205
823
|
}, z.core.$strip>]>>;
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
824
|
+
total: z.ZodNumber;
|
|
825
|
+
page: z.ZodNumber;
|
|
826
|
+
limit: z.ZodNumber;
|
|
827
|
+
totalPages: z.ZodNumber;
|
|
828
|
+
hasNextPage: z.ZodBoolean;
|
|
829
|
+
hasPrevPage: z.ZodBoolean;
|
|
1209
830
|
}, z.core.$strip>;
|
|
1210
|
-
export type
|
|
831
|
+
export type GetJobsOutput = z.infer<typeof GetJobsOutputSchema>;
|
|
1211
832
|
export declare const JobSearchDocumentSchema: z.ZodObject<{
|
|
1212
833
|
id: z.ZodCUID2;
|
|
1213
834
|
title: z.ZodString;
|
|
1214
|
-
isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1215
835
|
brandId: z.ZodCUID2;
|
|
1216
836
|
brandName: z.ZodString;
|
|
1217
837
|
brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1219,90 +839,11 @@ export declare const JobSearchDocumentSchema: z.ZodObject<{
|
|
|
1219
839
|
GIG: "GIG";
|
|
1220
840
|
ROLE: "ROLE";
|
|
1221
841
|
}>;
|
|
1222
|
-
status: z.ZodOptional<z.ZodString>;
|
|
1223
|
-
employmentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1224
|
-
workMode: z.ZodString;
|
|
1225
|
-
gigType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1226
842
|
location: z.ZodString;
|
|
1227
843
|
overview: z.ZodString;
|
|
1228
844
|
requiredSkills: z.ZodArray<z.ZodString>;
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
wagesCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1232
|
-
wagesType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1233
|
-
createdAt: z.ZodString;
|
|
1234
|
-
updatedAt: z.ZodString;
|
|
845
|
+
createdAt: z.ZodISODateTime;
|
|
846
|
+
updatedAt: z.ZodISODateTime;
|
|
1235
847
|
}, z.core.$strip>;
|
|
1236
848
|
export type JobSearchDocument = z.infer<typeof JobSearchDocumentSchema>;
|
|
1237
|
-
export
|
|
1238
|
-
overview: z.ZodOptional<z.ZodString>;
|
|
1239
|
-
experienceLevel: z.ZodOptional<z.ZodEnum<{
|
|
1240
|
-
"0-1 year": "0-1 year";
|
|
1241
|
-
"1-3 years": "1-3 years";
|
|
1242
|
-
"3-5 years": "3-5 years";
|
|
1243
|
-
"5+ years": "5+ years";
|
|
1244
|
-
}>>;
|
|
1245
|
-
employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1246
|
-
requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1247
|
-
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
1248
|
-
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
1249
|
-
wagesCurrency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1250
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
1251
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
1252
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
1253
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
1254
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
1255
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
1256
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
1257
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
1258
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
1259
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
1260
|
-
}>>>;
|
|
1261
|
-
wagesType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1262
|
-
Hourly: "Hourly";
|
|
1263
|
-
Daily: "Daily";
|
|
1264
|
-
Weekly: "Weekly";
|
|
1265
|
-
Monthly: "Monthly";
|
|
1266
|
-
"Project Based": "Project Based";
|
|
1267
|
-
}>>>;
|
|
1268
|
-
keyResponsibilities: z.ZodOptional<z.ZodString>;
|
|
1269
|
-
companyBenefits: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1270
|
-
id: z.ZodNonOptional<z.ZodOptional<z.ZodCUID2>>;
|
|
1271
|
-
version: z.ZodNumber;
|
|
1272
|
-
}, z.core.$strip>;
|
|
1273
|
-
export type CreateRoleJobOutput = z.infer<typeof RoleJobEntitySchema>;
|
|
1274
|
-
export type CreateGigJobOutput = z.infer<typeof GigJobEntitySchema>;
|
|
1275
|
-
export type UpdateRoleJobInput = z.infer<typeof UpdateRoleJobInputSchema>;
|
|
1276
|
-
export declare const UpdateGigJobInputSchema: z.ZodObject<{
|
|
1277
|
-
overview: z.ZodOptional<z.ZodString>;
|
|
1278
|
-
deliverables: z.ZodOptional<z.ZodString>;
|
|
1279
|
-
employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1280
|
-
aboutCompany: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1281
|
-
requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1282
|
-
wagesMin: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
1283
|
-
wagesMax: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
1284
|
-
wagesCurrency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1285
|
-
"USD (United States Dollar)": "USD (United States Dollar)";
|
|
1286
|
-
"EUR (Euro)": "EUR (Euro)";
|
|
1287
|
-
"GBP (British Pound Sterling)": "GBP (British Pound Sterling)";
|
|
1288
|
-
"NGN (Nigerian Naira)": "NGN (Nigerian Naira)";
|
|
1289
|
-
"CAD (Canadian Dollar)": "CAD (Canadian Dollar)";
|
|
1290
|
-
"AUD (Australian Dollar)": "AUD (Australian Dollar)";
|
|
1291
|
-
"JPY (Japanese Yen)": "JPY (Japanese Yen)";
|
|
1292
|
-
"CHF (Swiss Franc)": "CHF (Swiss Franc)";
|
|
1293
|
-
"INR (Indian Rupee)": "INR (Indian Rupee)";
|
|
1294
|
-
"ZAR (South African Rand)": "ZAR (South African Rand)";
|
|
1295
|
-
}>>>;
|
|
1296
|
-
wagesType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1297
|
-
Hourly: "Hourly";
|
|
1298
|
-
Daily: "Daily";
|
|
1299
|
-
Weekly: "Weekly";
|
|
1300
|
-
Monthly: "Monthly";
|
|
1301
|
-
"Project Based": "Project Based";
|
|
1302
|
-
}>>>;
|
|
1303
|
-
id: z.ZodNonOptional<z.ZodOptional<z.ZodCUID2>>;
|
|
1304
|
-
version: z.ZodNumber;
|
|
1305
|
-
}, z.core.$strip>;
|
|
1306
|
-
export type UpdateGigJobInput = z.infer<typeof UpdateGigJobInputSchema>;
|
|
1307
|
-
export type UpdateRoleJobOutput = z.infer<typeof RoleJobEntitySchema>;
|
|
1308
|
-
export type UpdateGigJobOutput = z.infer<typeof GigJobEntitySchema>;
|
|
849
|
+
export {};
|