@myrjfa/state 2.3.1 → 2.3.3
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/lib/actions/actions.d.ts +6 -6
- package/dist/lib/actions/auth.d.ts +23 -19
- package/dist/lib/actions/auth.d.ts.map +1 -1
- package/dist/lib/actions/auth.js +24 -5
- package/dist/lib/actions/chat.d.ts +20 -14
- package/dist/lib/actions/chat.d.ts.map +1 -1
- package/dist/lib/actions/chat.js +2 -2
- package/dist/lib/actions/fetcher.d.ts.map +1 -1
- package/dist/lib/actions/fetcher.js +15 -8
- package/dist/lib/actions.d.ts +12 -12
- package/dist/lib/actions.d.ts.map +1 -1
- package/dist/lib/actions.js +3 -1
- package/dist/lib/authSessionManager.d.ts.map +1 -1
- package/dist/lib/authSessionManager.js +77 -13
- package/dist/lib/authSessionPolicy.d.ts +34 -0
- package/dist/lib/authSessionPolicy.d.ts.map +1 -1
- package/dist/lib/authSessionPolicy.js +52 -0
- package/dist/lib/context/ChatContext.d.ts.map +1 -1
- package/dist/lib/context/ChatContext.js +12 -6
- package/dist/lib/models/authorization.d.ts +4 -3
- package/dist/lib/models/authorization.d.ts.map +1 -1
- package/dist/lib/models/authorization.js +10 -4
- package/dist/lib/models/blog.d.ts +4 -4
- package/dist/lib/models/chat.d.ts +10 -2
- package/dist/lib/models/chat.d.ts.map +1 -1
- package/dist/lib/models/chat.js +8 -0
- package/dist/lib/models/discount.d.ts +52 -52
- package/dist/lib/models/notifications.d.ts +2 -2
- package/dist/lib/models/opportunities/freelance.d.ts +34 -34
- package/dist/lib/models/opportunities/internship.d.ts +34 -34
- package/dist/lib/models/opportunities/job.d.ts +34 -34
- package/dist/lib/models/opportunities/opportunity.d.ts +34 -34
- package/dist/lib/models/opportunities/volunteerJob.d.ts +34 -34
- package/dist/lib/models/package.d.ts +16 -16
- package/dist/lib/models/portfolio.d.ts +2 -2
- package/dist/lib/models/pricing.d.ts +12 -12
- package/dist/lib/models/review.d.ts +2 -2
- package/dist/lib/models/stay.d.ts +18 -18
- package/dist/lib/models/travelPackage.d.ts +36 -36
- package/dist/lib/models/user.d.ts +12 -12
- package/dist/lib/userAtom.d.ts +126 -25
- package/dist/lib/userAtom.d.ts.map +1 -1
- package/dist/lib/userAtom.js +79 -45
- package/package.json +1 -1
- package/dist/lib/actions/adminDashboard.d.ts +0 -4
- package/dist/lib/actions/adminDashboard.d.ts.map +0 -1
- package/dist/lib/actions/adminDashboard.js +0 -29
- package/dist/lib/actions/adventure.d.ts +0 -104
- package/dist/lib/actions/adventure.d.ts.map +0 -1
- package/dist/lib/actions/adventure.js +0 -203
- package/dist/lib/actions/application.d.ts +0 -35
- package/dist/lib/actions/application.d.ts.map +0 -1
- package/dist/lib/actions/application.js +0 -573
- package/dist/lib/actions/blog.d.ts +0 -61
- package/dist/lib/actions/blog.d.ts.map +0 -1
- package/dist/lib/actions/blog.js +0 -762
- package/dist/lib/actions/brand.d.ts +0 -83
- package/dist/lib/actions/brand.d.ts.map +0 -1
- package/dist/lib/actions/brand.js +0 -28
- package/dist/lib/actions/companion.d.ts +0 -174
- package/dist/lib/actions/companion.d.ts.map +0 -1
- package/dist/lib/actions/companion.js +0 -276
- package/dist/lib/actions/event.d.ts +0 -178
- package/dist/lib/actions/event.d.ts.map +0 -1
- package/dist/lib/actions/event.js +0 -214
- package/dist/lib/actions/guide.d.ts +0 -55
- package/dist/lib/actions/guide.d.ts.map +0 -1
- package/dist/lib/actions/guide.js +0 -128
- package/dist/lib/actions/hostDashboard.d.ts +0 -122
- package/dist/lib/actions/hostDashboard.d.ts.map +0 -1
- package/dist/lib/actions/hostDashboard.js +0 -329
- package/dist/lib/actions/location.d.ts +0 -141
- package/dist/lib/actions/location.d.ts.map +0 -1
- package/dist/lib/actions/location.js +0 -113
- package/dist/lib/actions/notifications.d.ts +0 -91
- package/dist/lib/actions/notifications.d.ts.map +0 -1
- package/dist/lib/actions/notifications.js +0 -83
- package/dist/lib/actions/opportunity.d.ts +0 -44
- package/dist/lib/actions/opportunity.d.ts.map +0 -1
- package/dist/lib/actions/opportunity.js +0 -318
- package/dist/lib/actions/package.d.ts +0 -85
- package/dist/lib/actions/package.d.ts.map +0 -1
- package/dist/lib/actions/package.js +0 -167
- package/dist/lib/actions/place.d.ts +0 -191
- package/dist/lib/actions/place.d.ts.map +0 -1
- package/dist/lib/actions/place.js +0 -57
- package/dist/lib/actions/portfolio.d.ts +0 -65
- package/dist/lib/actions/portfolio.d.ts.map +0 -1
- package/dist/lib/actions/portfolio.js +0 -62
- package/dist/lib/actions/property.d.ts +0 -17
- package/dist/lib/actions/property.d.ts.map +0 -1
- package/dist/lib/actions/property.js +0 -16
- package/dist/lib/actions/rental.d.ts +0 -87
- package/dist/lib/actions/rental.d.ts.map +0 -1
- package/dist/lib/actions/rental.js +0 -205
- package/dist/lib/actions/review.d.ts +0 -8
- package/dist/lib/actions/review.d.ts.map +0 -1
- package/dist/lib/actions/review.js +0 -102
- package/dist/lib/actions/room.d.ts +0 -39
- package/dist/lib/actions/room.d.ts.map +0 -1
- package/dist/lib/actions/room.js +0 -74
- package/dist/lib/actions/stay.d.ts +0 -97
- package/dist/lib/actions/stay.d.ts.map +0 -1
- package/dist/lib/actions/stay.js +0 -138
- package/dist/lib/actions/travelPackage.d.ts +0 -104
- package/dist/lib/actions/travelPackage.d.ts.map +0 -1
- package/dist/lib/actions/travelPackage.js +0 -487
- package/dist/lib/data/adventureDummyData.d.ts +0 -3
- package/dist/lib/data/adventureDummyData.d.ts.map +0 -1
- package/dist/lib/data/adventureDummyData.js +0 -138
- package/dist/lib/data/adventureFormPage.d.ts +0 -28
- package/dist/lib/data/adventureFormPage.d.ts.map +0 -1
- package/dist/lib/data/adventureFormPage.js +0 -58
- package/dist/lib/data/companionDummyData.d.ts +0 -99
- package/dist/lib/data/companionDummyData.d.ts.map +0 -1
- package/dist/lib/data/companionDummyData.js +0 -203
- package/dist/lib/data/destinations.d.ts +0 -14
- package/dist/lib/data/destinations.d.ts.map +0 -1
- package/dist/lib/data/destinations.js +0 -203
- package/dist/lib/data/eventFormPage.d.ts +0 -38
- package/dist/lib/data/eventFormPage.d.ts.map +0 -1
- package/dist/lib/data/eventFormPage.js +0 -56
- package/dist/lib/data/eventsDummyData.d.ts +0 -54
- package/dist/lib/data/eventsDummyData.d.ts.map +0 -1
- package/dist/lib/data/eventsDummyData.js +0 -586
- package/dist/lib/data/guideDummyData.d.ts +0 -3
- package/dist/lib/data/guideDummyData.d.ts.map +0 -1
- package/dist/lib/data/guideDummyData.js +0 -66
- package/dist/lib/data/opportunityFormData.d.ts +0 -13
- package/dist/lib/data/opportunityFormData.d.ts.map +0 -1
- package/dist/lib/data/opportunityFormData.js +0 -62
- package/dist/lib/data/opportunityFormPage.d.ts +0 -12
- package/dist/lib/data/opportunityFormPage.d.ts.map +0 -1
- package/dist/lib/data/opportunityFormPage.js +0 -33
- package/dist/lib/data/packageDummyData.d.ts +0 -3
- package/dist/lib/data/packageDummyData.d.ts.map +0 -1
- package/dist/lib/data/packageDummyData.js +0 -56
- package/dist/lib/data/rentalDummyData.d.ts +0 -3
- package/dist/lib/data/rentalDummyData.d.ts.map +0 -1
- package/dist/lib/data/rentalDummyData.js +0 -382
- package/dist/lib/data/rentalFormPage.d.ts +0 -11
- package/dist/lib/data/rentalFormPage.d.ts.map +0 -1
- package/dist/lib/data/rentalFormPage.js +0 -86
- package/dist/lib/data/staysDummyData.d.ts +0 -72
- package/dist/lib/data/staysDummyData.d.ts.map +0 -1
- package/dist/lib/data/staysDummyData.js +0 -694
- package/dist/lib/data/storeDummyData.d.ts +0 -33
- package/dist/lib/data/storeDummyData.d.ts.map +0 -1
- package/dist/lib/data/storeDummyData.js +0 -336
- package/dist/lib/data/travelPackageFormData.d.ts +0 -19
- package/dist/lib/data/travelPackageFormData.d.ts.map +0 -1
- package/dist/lib/data/travelPackageFormData.js +0 -51
- package/dist/lib/data/travelPackageFormPage.d.ts +0 -22
- package/dist/lib/data/travelPackageFormPage.d.ts.map +0 -1
- package/dist/lib/data/travelPackageFormPage.js +0 -40
- package/dist/lib/data/vehicleData.d.ts +0 -2
- package/dist/lib/data/vehicleData.d.ts.map +0 -1
- package/dist/lib/data/vehicleData.js +0 -187
- package/dist/lib/data/vehicleModels.d.ts +0 -2
- package/dist/lib/data/vehicleModels.d.ts.map +0 -1
- package/dist/lib/data/vehicleModels.js +0 -128
- package/dist/lib/hooks/usePersistentDraftState.d.ts +0 -20
- package/dist/lib/hooks/usePersistentDraftState.d.ts.map +0 -1
- package/dist/lib/hooks/usePersistentDraftState.js +0 -47
- package/dist/lib/models/forms.d.ts +0 -384
- package/dist/lib/models/forms.d.ts.map +0 -1
- package/dist/lib/models/forms.js +0 -121
- package/dist/lib/pricingActions.d.ts +0 -13
- package/dist/lib/pricingActions.d.ts.map +0 -1
- package/dist/lib/pricingActions.js +0 -16
- package/dist/lib/utils/entitySubmission.d.ts +0 -21
- package/dist/lib/utils/entitySubmission.d.ts.map +0 -1
- package/dist/lib/utils/entitySubmission.js +0 -10
- package/dist/lib/utils/imageUpload.d.ts +0 -4
- package/dist/lib/utils/imageUpload.d.ts.map +0 -1
- package/dist/lib/utils/imageUpload.js +0 -36
- package/dist/lib/utils/tileConverters.d.ts +0 -8
- package/dist/lib/utils/tileConverters.d.ts.map +0 -1
- package/dist/lib/utils/tileConverters.js +0 -59
|
@@ -153,11 +153,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
153
153
|
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
154
154
|
}, "strict", z.ZodTypeAny, {
|
|
155
155
|
username: string;
|
|
156
|
+
email: string;
|
|
156
157
|
firstName: string;
|
|
157
158
|
lastName: string;
|
|
158
|
-
email: string;
|
|
159
|
-
password: string;
|
|
160
159
|
phoneNumber: string;
|
|
160
|
+
password: string;
|
|
161
161
|
countryCode: string;
|
|
162
162
|
country: string;
|
|
163
163
|
gender: "male" | "female" | "other";
|
|
@@ -170,6 +170,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
170
170
|
verifiedEmail: boolean;
|
|
171
171
|
verifiedMobile: boolean;
|
|
172
172
|
role: string;
|
|
173
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
174
|
+
legacyRole?: string | undefined;
|
|
175
|
+
staffProfileId?: string | null | undefined;
|
|
176
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
173
177
|
_id?: string | undefined;
|
|
174
178
|
location?: string | undefined;
|
|
175
179
|
pinCode?: string | undefined;
|
|
@@ -183,10 +187,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
183
187
|
refreshToken?: string | undefined;
|
|
184
188
|
verifiedIdCard?: boolean | undefined;
|
|
185
189
|
permissions?: string[] | undefined;
|
|
186
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
187
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
188
|
-
legacyRole?: string | undefined;
|
|
189
|
-
staffProfileId?: string | null | undefined;
|
|
190
190
|
baseUserId?: string | null | undefined;
|
|
191
191
|
baseHostId?: string | null | undefined;
|
|
192
192
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -223,11 +223,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
223
223
|
businessVerificationDenialReason?: string | undefined;
|
|
224
224
|
}, {
|
|
225
225
|
username: string;
|
|
226
|
+
email: string;
|
|
226
227
|
firstName: string;
|
|
227
228
|
lastName: string;
|
|
228
|
-
email: string;
|
|
229
|
-
password: string;
|
|
230
229
|
phoneNumber: string;
|
|
230
|
+
password: string;
|
|
231
231
|
countryCode: string;
|
|
232
232
|
country: string;
|
|
233
233
|
gender: "male" | "female" | "other";
|
|
@@ -240,6 +240,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
240
240
|
verifiedEmail: boolean;
|
|
241
241
|
verifiedMobile: boolean;
|
|
242
242
|
role: string;
|
|
243
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
244
|
+
legacyRole?: string | undefined;
|
|
245
|
+
staffProfileId?: string | null | undefined;
|
|
246
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
243
247
|
_id?: string | undefined;
|
|
244
248
|
location?: string | undefined;
|
|
245
249
|
pinCode?: string | undefined;
|
|
@@ -253,10 +257,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
253
257
|
refreshToken?: string | undefined;
|
|
254
258
|
verifiedIdCard?: boolean | undefined;
|
|
255
259
|
permissions?: string[] | undefined;
|
|
256
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
257
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
258
|
-
legacyRole?: string | undefined;
|
|
259
|
-
staffProfileId?: string | null | undefined;
|
|
260
260
|
baseUserId?: string | null | undefined;
|
|
261
261
|
baseHostId?: string | null | undefined;
|
|
262
262
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -355,12 +355,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
355
355
|
skills: string[];
|
|
356
356
|
city: string;
|
|
357
357
|
state: string;
|
|
358
|
-
shares: number;
|
|
359
358
|
title: string;
|
|
360
359
|
description: string;
|
|
360
|
+
images: string[];
|
|
361
361
|
slug: string;
|
|
362
362
|
opportunityType: "internship";
|
|
363
|
-
images: string[];
|
|
364
363
|
compensation: {
|
|
365
364
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
366
365
|
currency: string;
|
|
@@ -380,15 +379,16 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
380
379
|
}[];
|
|
381
380
|
applicationCount: number;
|
|
382
381
|
views: number;
|
|
382
|
+
shares: number;
|
|
383
383
|
requiredMembershipTier: "none" | "plus" | "premium";
|
|
384
|
-
membershipRequirementStatus: "
|
|
384
|
+
membershipRequirementStatus: "approved" | "pending" | "none" | "rejected";
|
|
385
385
|
hostId: {
|
|
386
386
|
username: string;
|
|
387
|
+
email: string;
|
|
387
388
|
firstName: string;
|
|
388
389
|
lastName: string;
|
|
389
|
-
email: string;
|
|
390
|
-
password: string;
|
|
391
390
|
phoneNumber: string;
|
|
391
|
+
password: string;
|
|
392
392
|
countryCode: string;
|
|
393
393
|
country: string;
|
|
394
394
|
gender: "male" | "female" | "other";
|
|
@@ -401,6 +401,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
401
401
|
verifiedEmail: boolean;
|
|
402
402
|
verifiedMobile: boolean;
|
|
403
403
|
role: string;
|
|
404
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
405
|
+
legacyRole?: string | undefined;
|
|
406
|
+
staffProfileId?: string | null | undefined;
|
|
407
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
404
408
|
_id?: string | undefined;
|
|
405
409
|
location?: string | undefined;
|
|
406
410
|
pinCode?: string | undefined;
|
|
@@ -414,10 +418,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
414
418
|
refreshToken?: string | undefined;
|
|
415
419
|
verifiedIdCard?: boolean | undefined;
|
|
416
420
|
permissions?: string[] | undefined;
|
|
417
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
418
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
419
|
-
legacyRole?: string | undefined;
|
|
420
|
-
staffProfileId?: string | null | undefined;
|
|
421
421
|
baseUserId?: string | null | undefined;
|
|
422
422
|
baseHostId?: string | null | undefined;
|
|
423
423
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -460,6 +460,8 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
460
460
|
payoutToHost: number;
|
|
461
461
|
};
|
|
462
462
|
address?: string | undefined;
|
|
463
|
+
createdAt?: Date | undefined;
|
|
464
|
+
updatedAt?: Date | undefined;
|
|
463
465
|
categoryId?: string | undefined;
|
|
464
466
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
465
467
|
bondPlan?: {
|
|
@@ -478,8 +480,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
478
480
|
countryCode: string;
|
|
479
481
|
role: string;
|
|
480
482
|
}[] | undefined;
|
|
481
|
-
createdAt?: Date | undefined;
|
|
482
|
-
updatedAt?: Date | undefined;
|
|
483
483
|
}, {
|
|
484
484
|
country: string;
|
|
485
485
|
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
@@ -489,12 +489,11 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
489
489
|
skills: string[];
|
|
490
490
|
city: string;
|
|
491
491
|
state: string;
|
|
492
|
-
shares: number;
|
|
493
492
|
title: string;
|
|
494
493
|
description: string;
|
|
494
|
+
images: string[];
|
|
495
495
|
slug: string;
|
|
496
496
|
opportunityType: "internship";
|
|
497
|
-
images: string[];
|
|
498
497
|
compensation: {
|
|
499
498
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
500
499
|
currency: string;
|
|
@@ -514,13 +513,14 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
514
513
|
}[];
|
|
515
514
|
applicationCount: number;
|
|
516
515
|
views: number;
|
|
516
|
+
shares: number;
|
|
517
517
|
hostId: {
|
|
518
518
|
username: string;
|
|
519
|
+
email: string;
|
|
519
520
|
firstName: string;
|
|
520
521
|
lastName: string;
|
|
521
|
-
email: string;
|
|
522
|
-
password: string;
|
|
523
522
|
phoneNumber: string;
|
|
523
|
+
password: string;
|
|
524
524
|
countryCode: string;
|
|
525
525
|
country: string;
|
|
526
526
|
gender: "male" | "female" | "other";
|
|
@@ -533,6 +533,10 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
533
533
|
verifiedEmail: boolean;
|
|
534
534
|
verifiedMobile: boolean;
|
|
535
535
|
role: string;
|
|
536
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
537
|
+
legacyRole?: string | undefined;
|
|
538
|
+
staffProfileId?: string | null | undefined;
|
|
539
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
536
540
|
_id?: string | undefined;
|
|
537
541
|
location?: string | undefined;
|
|
538
542
|
pinCode?: string | undefined;
|
|
@@ -546,10 +550,6 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
546
550
|
refreshToken?: string | undefined;
|
|
547
551
|
verifiedIdCard?: boolean | undefined;
|
|
548
552
|
permissions?: string[] | undefined;
|
|
549
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
550
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
551
|
-
legacyRole?: string | undefined;
|
|
552
|
-
staffProfileId?: string | null | undefined;
|
|
553
553
|
baseUserId?: string | null | undefined;
|
|
554
554
|
baseHostId?: string | null | undefined;
|
|
555
555
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -592,6 +592,8 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
592
592
|
payoutToHost: number;
|
|
593
593
|
};
|
|
594
594
|
address?: string | undefined;
|
|
595
|
+
createdAt?: Date | undefined;
|
|
596
|
+
updatedAt?: Date | undefined;
|
|
595
597
|
categoryId?: string | undefined;
|
|
596
598
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
597
599
|
bondPlan?: {
|
|
@@ -604,7 +606,7 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
604
606
|
pendingApplicationCount?: number | undefined;
|
|
605
607
|
hostingType?: string | undefined;
|
|
606
608
|
requiredMembershipTier?: "none" | "plus" | "premium" | undefined;
|
|
607
|
-
membershipRequirementStatus?: "
|
|
609
|
+
membershipRequirementStatus?: "approved" | "pending" | "none" | "rejected" | undefined;
|
|
608
610
|
applicationObservers?: {
|
|
609
611
|
username: string;
|
|
610
612
|
email: string;
|
|
@@ -612,7 +614,5 @@ export declare const InternshipOpportunitySchema: z.ZodObject<{
|
|
|
612
614
|
countryCode: string;
|
|
613
615
|
role: string;
|
|
614
616
|
}[] | undefined;
|
|
615
|
-
createdAt?: Date | undefined;
|
|
616
|
-
updatedAt?: Date | undefined;
|
|
617
617
|
}>;
|
|
618
618
|
//# sourceMappingURL=internship.d.ts.map
|
|
@@ -198,11 +198,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
198
198
|
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
199
199
|
}, "strict", z.ZodTypeAny, {
|
|
200
200
|
username: string;
|
|
201
|
+
email: string;
|
|
201
202
|
firstName: string;
|
|
202
203
|
lastName: string;
|
|
203
|
-
email: string;
|
|
204
|
-
password: string;
|
|
205
204
|
phoneNumber: string;
|
|
205
|
+
password: string;
|
|
206
206
|
countryCode: string;
|
|
207
207
|
country: string;
|
|
208
208
|
gender: "male" | "female" | "other";
|
|
@@ -215,6 +215,10 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
215
215
|
verifiedEmail: boolean;
|
|
216
216
|
verifiedMobile: boolean;
|
|
217
217
|
role: string;
|
|
218
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
219
|
+
legacyRole?: string | undefined;
|
|
220
|
+
staffProfileId?: string | null | undefined;
|
|
221
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
218
222
|
_id?: string | undefined;
|
|
219
223
|
location?: string | undefined;
|
|
220
224
|
pinCode?: string | undefined;
|
|
@@ -228,10 +232,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
228
232
|
refreshToken?: string | undefined;
|
|
229
233
|
verifiedIdCard?: boolean | undefined;
|
|
230
234
|
permissions?: string[] | undefined;
|
|
231
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
232
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
233
|
-
legacyRole?: string | undefined;
|
|
234
|
-
staffProfileId?: string | null | undefined;
|
|
235
235
|
baseUserId?: string | null | undefined;
|
|
236
236
|
baseHostId?: string | null | undefined;
|
|
237
237
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -268,11 +268,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
268
268
|
businessVerificationDenialReason?: string | undefined;
|
|
269
269
|
}, {
|
|
270
270
|
username: string;
|
|
271
|
+
email: string;
|
|
271
272
|
firstName: string;
|
|
272
273
|
lastName: string;
|
|
273
|
-
email: string;
|
|
274
|
-
password: string;
|
|
275
274
|
phoneNumber: string;
|
|
275
|
+
password: string;
|
|
276
276
|
countryCode: string;
|
|
277
277
|
country: string;
|
|
278
278
|
gender: "male" | "female" | "other";
|
|
@@ -285,6 +285,10 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
285
285
|
verifiedEmail: boolean;
|
|
286
286
|
verifiedMobile: boolean;
|
|
287
287
|
role: string;
|
|
288
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
289
|
+
legacyRole?: string | undefined;
|
|
290
|
+
staffProfileId?: string | null | undefined;
|
|
291
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
288
292
|
_id?: string | undefined;
|
|
289
293
|
location?: string | undefined;
|
|
290
294
|
pinCode?: string | undefined;
|
|
@@ -298,10 +302,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
298
302
|
refreshToken?: string | undefined;
|
|
299
303
|
verifiedIdCard?: boolean | undefined;
|
|
300
304
|
permissions?: string[] | undefined;
|
|
301
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
302
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
303
|
-
legacyRole?: string | undefined;
|
|
304
|
-
staffProfileId?: string | null | undefined;
|
|
305
305
|
baseUserId?: string | null | undefined;
|
|
306
306
|
baseHostId?: string | null | undefined;
|
|
307
307
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -445,9 +445,9 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
445
445
|
skills: string[];
|
|
446
446
|
city: string;
|
|
447
447
|
state: string;
|
|
448
|
-
shares: number;
|
|
449
448
|
title: string;
|
|
450
449
|
description: string;
|
|
450
|
+
images: string[];
|
|
451
451
|
salary: {
|
|
452
452
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
453
453
|
currency: string;
|
|
@@ -456,7 +456,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
456
456
|
};
|
|
457
457
|
slug: string;
|
|
458
458
|
opportunityType: "job";
|
|
459
|
-
images: string[];
|
|
460
459
|
availableFrom: Date;
|
|
461
460
|
minDuration: number;
|
|
462
461
|
maxDuration: number;
|
|
@@ -470,15 +469,16 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
470
469
|
}[];
|
|
471
470
|
applicationCount: number;
|
|
472
471
|
views: number;
|
|
472
|
+
shares: number;
|
|
473
473
|
requiredMembershipTier: "none" | "plus" | "premium";
|
|
474
|
-
membershipRequirementStatus: "
|
|
474
|
+
membershipRequirementStatus: "approved" | "pending" | "none" | "rejected";
|
|
475
475
|
hostId: {
|
|
476
476
|
username: string;
|
|
477
|
+
email: string;
|
|
477
478
|
firstName: string;
|
|
478
479
|
lastName: string;
|
|
479
|
-
email: string;
|
|
480
|
-
password: string;
|
|
481
480
|
phoneNumber: string;
|
|
481
|
+
password: string;
|
|
482
482
|
countryCode: string;
|
|
483
483
|
country: string;
|
|
484
484
|
gender: "male" | "female" | "other";
|
|
@@ -491,6 +491,10 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
491
491
|
verifiedEmail: boolean;
|
|
492
492
|
verifiedMobile: boolean;
|
|
493
493
|
role: string;
|
|
494
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
495
|
+
legacyRole?: string | undefined;
|
|
496
|
+
staffProfileId?: string | null | undefined;
|
|
497
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
494
498
|
_id?: string | undefined;
|
|
495
499
|
location?: string | undefined;
|
|
496
500
|
pinCode?: string | undefined;
|
|
@@ -504,10 +508,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
504
508
|
refreshToken?: string | undefined;
|
|
505
509
|
verifiedIdCard?: boolean | undefined;
|
|
506
510
|
permissions?: string[] | undefined;
|
|
507
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
508
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
509
|
-
legacyRole?: string | undefined;
|
|
510
|
-
staffProfileId?: string | null | undefined;
|
|
511
511
|
baseUserId?: string | null | undefined;
|
|
512
512
|
baseHostId?: string | null | undefined;
|
|
513
513
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -567,6 +567,8 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
567
567
|
securityPaidToHost: boolean;
|
|
568
568
|
};
|
|
569
569
|
address?: string | undefined;
|
|
570
|
+
createdAt?: Date | undefined;
|
|
571
|
+
updatedAt?: Date | undefined;
|
|
570
572
|
categoryId?: string | undefined;
|
|
571
573
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
572
574
|
compensation?: {
|
|
@@ -591,8 +593,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
591
593
|
countryCode: string;
|
|
592
594
|
role: string;
|
|
593
595
|
}[] | undefined;
|
|
594
|
-
createdAt?: Date | undefined;
|
|
595
|
-
updatedAt?: Date | undefined;
|
|
596
596
|
}, {
|
|
597
597
|
country: string;
|
|
598
598
|
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
@@ -602,9 +602,9 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
602
602
|
skills: string[];
|
|
603
603
|
city: string;
|
|
604
604
|
state: string;
|
|
605
|
-
shares: number;
|
|
606
605
|
title: string;
|
|
607
606
|
description: string;
|
|
607
|
+
images: string[];
|
|
608
608
|
salary: {
|
|
609
609
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
610
610
|
currency: string;
|
|
@@ -613,7 +613,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
613
613
|
};
|
|
614
614
|
slug: string;
|
|
615
615
|
opportunityType: "job";
|
|
616
|
-
images: string[];
|
|
617
616
|
availableFrom: Date;
|
|
618
617
|
minDuration: number;
|
|
619
618
|
maxDuration: number;
|
|
@@ -627,13 +626,14 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
627
626
|
}[];
|
|
628
627
|
applicationCount: number;
|
|
629
628
|
views: number;
|
|
629
|
+
shares: number;
|
|
630
630
|
hostId: {
|
|
631
631
|
username: string;
|
|
632
|
+
email: string;
|
|
632
633
|
firstName: string;
|
|
633
634
|
lastName: string;
|
|
634
|
-
email: string;
|
|
635
|
-
password: string;
|
|
636
635
|
phoneNumber: string;
|
|
636
|
+
password: string;
|
|
637
637
|
countryCode: string;
|
|
638
638
|
country: string;
|
|
639
639
|
gender: "male" | "female" | "other";
|
|
@@ -646,6 +646,10 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
646
646
|
verifiedEmail: boolean;
|
|
647
647
|
verifiedMobile: boolean;
|
|
648
648
|
role: string;
|
|
649
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
650
|
+
legacyRole?: string | undefined;
|
|
651
|
+
staffProfileId?: string | null | undefined;
|
|
652
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
649
653
|
_id?: string | undefined;
|
|
650
654
|
location?: string | undefined;
|
|
651
655
|
pinCode?: string | undefined;
|
|
@@ -659,10 +663,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
659
663
|
refreshToken?: string | undefined;
|
|
660
664
|
verifiedIdCard?: boolean | undefined;
|
|
661
665
|
permissions?: string[] | undefined;
|
|
662
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
663
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
664
|
-
legacyRole?: string | undefined;
|
|
665
|
-
staffProfileId?: string | null | undefined;
|
|
666
666
|
baseUserId?: string | null | undefined;
|
|
667
667
|
baseHostId?: string | null | undefined;
|
|
668
668
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -722,6 +722,8 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
722
722
|
securityPaidToHost: boolean;
|
|
723
723
|
};
|
|
724
724
|
address?: string | undefined;
|
|
725
|
+
createdAt?: Date | undefined;
|
|
726
|
+
updatedAt?: Date | undefined;
|
|
725
727
|
categoryId?: string | undefined;
|
|
726
728
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
727
729
|
compensation?: {
|
|
@@ -740,7 +742,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
740
742
|
pendingApplicationCount?: number | undefined;
|
|
741
743
|
hostingType?: string | undefined;
|
|
742
744
|
requiredMembershipTier?: "none" | "plus" | "premium" | undefined;
|
|
743
|
-
membershipRequirementStatus?: "
|
|
745
|
+
membershipRequirementStatus?: "approved" | "pending" | "none" | "rejected" | undefined;
|
|
744
746
|
applicationObservers?: {
|
|
745
747
|
username: string;
|
|
746
748
|
email: string;
|
|
@@ -748,7 +750,5 @@ export declare const JobOpportunitySchema: z.ZodObject<{
|
|
|
748
750
|
countryCode: string;
|
|
749
751
|
role: string;
|
|
750
752
|
}[] | undefined;
|
|
751
|
-
createdAt?: Date | undefined;
|
|
752
|
-
updatedAt?: Date | undefined;
|
|
753
753
|
}>;
|
|
754
754
|
//# sourceMappingURL=job.d.ts.map
|
|
@@ -279,11 +279,11 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
279
279
|
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
280
280
|
}, "strict", z.ZodTypeAny, {
|
|
281
281
|
username: string;
|
|
282
|
+
email: string;
|
|
282
283
|
firstName: string;
|
|
283
284
|
lastName: string;
|
|
284
|
-
email: string;
|
|
285
|
-
password: string;
|
|
286
285
|
phoneNumber: string;
|
|
286
|
+
password: string;
|
|
287
287
|
countryCode: string;
|
|
288
288
|
country: string;
|
|
289
289
|
gender: "male" | "female" | "other";
|
|
@@ -296,6 +296,10 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
296
296
|
verifiedEmail: boolean;
|
|
297
297
|
verifiedMobile: boolean;
|
|
298
298
|
role: string;
|
|
299
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
300
|
+
legacyRole?: string | undefined;
|
|
301
|
+
staffProfileId?: string | null | undefined;
|
|
302
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
299
303
|
_id?: string | undefined;
|
|
300
304
|
location?: string | undefined;
|
|
301
305
|
pinCode?: string | undefined;
|
|
@@ -309,10 +313,6 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
309
313
|
refreshToken?: string | undefined;
|
|
310
314
|
verifiedIdCard?: boolean | undefined;
|
|
311
315
|
permissions?: string[] | undefined;
|
|
312
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
313
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
314
|
-
legacyRole?: string | undefined;
|
|
315
|
-
staffProfileId?: string | null | undefined;
|
|
316
316
|
baseUserId?: string | null | undefined;
|
|
317
317
|
baseHostId?: string | null | undefined;
|
|
318
318
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -349,11 +349,11 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
349
349
|
businessVerificationDenialReason?: string | undefined;
|
|
350
350
|
}, {
|
|
351
351
|
username: string;
|
|
352
|
+
email: string;
|
|
352
353
|
firstName: string;
|
|
353
354
|
lastName: string;
|
|
354
|
-
email: string;
|
|
355
|
-
password: string;
|
|
356
355
|
phoneNumber: string;
|
|
356
|
+
password: string;
|
|
357
357
|
countryCode: string;
|
|
358
358
|
country: string;
|
|
359
359
|
gender: "male" | "female" | "other";
|
|
@@ -366,6 +366,10 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
366
366
|
verifiedEmail: boolean;
|
|
367
367
|
verifiedMobile: boolean;
|
|
368
368
|
role: string;
|
|
369
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
370
|
+
legacyRole?: string | undefined;
|
|
371
|
+
staffProfileId?: string | null | undefined;
|
|
372
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
369
373
|
_id?: string | undefined;
|
|
370
374
|
location?: string | undefined;
|
|
371
375
|
pinCode?: string | undefined;
|
|
@@ -379,10 +383,6 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
379
383
|
refreshToken?: string | undefined;
|
|
380
384
|
verifiedIdCard?: boolean | undefined;
|
|
381
385
|
permissions?: string[] | undefined;
|
|
382
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
383
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
384
|
-
legacyRole?: string | undefined;
|
|
385
|
-
staffProfileId?: string | null | undefined;
|
|
386
386
|
baseUserId?: string | null | undefined;
|
|
387
387
|
baseHostId?: string | null | undefined;
|
|
388
388
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -450,12 +450,11 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
450
450
|
skills: string[];
|
|
451
451
|
city: string;
|
|
452
452
|
state: string;
|
|
453
|
-
shares: number;
|
|
454
453
|
title: string;
|
|
455
454
|
description: string;
|
|
455
|
+
images: string[];
|
|
456
456
|
slug: string;
|
|
457
457
|
opportunityType: "volunteer" | "internship" | "freelance" | "job" | "contentCreator";
|
|
458
|
-
images: string[];
|
|
459
458
|
availableFrom: Date;
|
|
460
459
|
minDuration: number;
|
|
461
460
|
maxDuration: number;
|
|
@@ -469,15 +468,16 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
469
468
|
}[];
|
|
470
469
|
applicationCount: number;
|
|
471
470
|
views: number;
|
|
471
|
+
shares: number;
|
|
472
472
|
requiredMembershipTier: "none" | "plus" | "premium";
|
|
473
|
-
membershipRequirementStatus: "
|
|
473
|
+
membershipRequirementStatus: "approved" | "pending" | "none" | "rejected";
|
|
474
474
|
hostId: {
|
|
475
475
|
username: string;
|
|
476
|
+
email: string;
|
|
476
477
|
firstName: string;
|
|
477
478
|
lastName: string;
|
|
478
|
-
email: string;
|
|
479
|
-
password: string;
|
|
480
479
|
phoneNumber: string;
|
|
480
|
+
password: string;
|
|
481
481
|
countryCode: string;
|
|
482
482
|
country: string;
|
|
483
483
|
gender: "male" | "female" | "other";
|
|
@@ -490,6 +490,10 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
490
490
|
verifiedEmail: boolean;
|
|
491
491
|
verifiedMobile: boolean;
|
|
492
492
|
role: string;
|
|
493
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
494
|
+
legacyRole?: string | undefined;
|
|
495
|
+
staffProfileId?: string | null | undefined;
|
|
496
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
493
497
|
_id?: string | undefined;
|
|
494
498
|
location?: string | undefined;
|
|
495
499
|
pinCode?: string | undefined;
|
|
@@ -503,10 +507,6 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
503
507
|
refreshToken?: string | undefined;
|
|
504
508
|
verifiedIdCard?: boolean | undefined;
|
|
505
509
|
permissions?: string[] | undefined;
|
|
506
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
507
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
508
|
-
legacyRole?: string | undefined;
|
|
509
|
-
staffProfileId?: string | null | undefined;
|
|
510
510
|
baseUserId?: string | null | undefined;
|
|
511
511
|
baseHostId?: string | null | undefined;
|
|
512
512
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -544,6 +544,8 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
544
544
|
};
|
|
545
545
|
adminApproval: boolean;
|
|
546
546
|
address?: string | undefined;
|
|
547
|
+
createdAt?: Date | undefined;
|
|
548
|
+
updatedAt?: Date | undefined;
|
|
547
549
|
categoryId?: string | undefined;
|
|
548
550
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
549
551
|
compensation?: {
|
|
@@ -568,8 +570,6 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
568
570
|
countryCode: string;
|
|
569
571
|
role: string;
|
|
570
572
|
}[] | undefined;
|
|
571
|
-
createdAt?: Date | undefined;
|
|
572
|
-
updatedAt?: Date | undefined;
|
|
573
573
|
}, {
|
|
574
574
|
country: string;
|
|
575
575
|
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
@@ -579,12 +579,11 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
579
579
|
skills: string[];
|
|
580
580
|
city: string;
|
|
581
581
|
state: string;
|
|
582
|
-
shares: number;
|
|
583
582
|
title: string;
|
|
584
583
|
description: string;
|
|
584
|
+
images: string[];
|
|
585
585
|
slug: string;
|
|
586
586
|
opportunityType: "volunteer" | "internship" | "freelance" | "job" | "contentCreator";
|
|
587
|
-
images: string[];
|
|
588
587
|
availableFrom: Date;
|
|
589
588
|
minDuration: number;
|
|
590
589
|
maxDuration: number;
|
|
@@ -598,13 +597,14 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
598
597
|
}[];
|
|
599
598
|
applicationCount: number;
|
|
600
599
|
views: number;
|
|
600
|
+
shares: number;
|
|
601
601
|
hostId: {
|
|
602
602
|
username: string;
|
|
603
|
+
email: string;
|
|
603
604
|
firstName: string;
|
|
604
605
|
lastName: string;
|
|
605
|
-
email: string;
|
|
606
|
-
password: string;
|
|
607
606
|
phoneNumber: string;
|
|
607
|
+
password: string;
|
|
608
608
|
countryCode: string;
|
|
609
609
|
country: string;
|
|
610
610
|
gender: "male" | "female" | "other";
|
|
@@ -617,6 +617,10 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
617
617
|
verifiedEmail: boolean;
|
|
618
618
|
verifiedMobile: boolean;
|
|
619
619
|
role: string;
|
|
620
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
621
|
+
legacyRole?: string | undefined;
|
|
622
|
+
staffProfileId?: string | null | undefined;
|
|
623
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
620
624
|
_id?: string | undefined;
|
|
621
625
|
location?: string | undefined;
|
|
622
626
|
pinCode?: string | undefined;
|
|
@@ -630,10 +634,6 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
630
634
|
refreshToken?: string | undefined;
|
|
631
635
|
verifiedIdCard?: boolean | undefined;
|
|
632
636
|
permissions?: string[] | undefined;
|
|
633
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
634
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
635
|
-
legacyRole?: string | undefined;
|
|
636
|
-
staffProfileId?: string | null | undefined;
|
|
637
637
|
baseUserId?: string | null | undefined;
|
|
638
638
|
baseHostId?: string | null | undefined;
|
|
639
639
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -671,6 +671,8 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
671
671
|
};
|
|
672
672
|
adminApproval: boolean;
|
|
673
673
|
address?: string | undefined;
|
|
674
|
+
createdAt?: Date | undefined;
|
|
675
|
+
updatedAt?: Date | undefined;
|
|
674
676
|
categoryId?: string | undefined;
|
|
675
677
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
676
678
|
compensation?: {
|
|
@@ -689,7 +691,7 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
689
691
|
pendingApplicationCount?: number | undefined;
|
|
690
692
|
hostingType?: string | undefined;
|
|
691
693
|
requiredMembershipTier?: "none" | "plus" | "premium" | undefined;
|
|
692
|
-
membershipRequirementStatus?: "
|
|
694
|
+
membershipRequirementStatus?: "approved" | "pending" | "none" | "rejected" | undefined;
|
|
693
695
|
applicationObservers?: {
|
|
694
696
|
username: string;
|
|
695
697
|
email: string;
|
|
@@ -697,8 +699,6 @@ export declare const OpportunitySchema: z.ZodObject<{
|
|
|
697
699
|
countryCode: string;
|
|
698
700
|
role: string;
|
|
699
701
|
}[] | undefined;
|
|
700
|
-
createdAt?: Date | undefined;
|
|
701
|
-
updatedAt?: Date | undefined;
|
|
702
702
|
}>;
|
|
703
703
|
export type Opportunity = z.infer<typeof OpportunitySchema>;
|
|
704
704
|
export type OppMetaData = {
|