@myrjfa/state 2.3.1 → 2.3.2
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/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/models/authorization.d.ts +4 -3
- package/dist/lib/models/authorization.d.ts.map +1 -1
- package/dist/lib/models/authorization.js +4 -1
- package/dist/lib/models/blog.d.ts +4 -4
- 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 FreelanceOpportunitySchema: 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 FreelanceOpportunitySchema: 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 FreelanceOpportunitySchema: 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 FreelanceOpportunitySchema: 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 FreelanceOpportunitySchema: 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 FreelanceOpportunitySchema: 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;
|
|
@@ -368,12 +368,11 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
368
368
|
skills: string[];
|
|
369
369
|
city: string;
|
|
370
370
|
state: string;
|
|
371
|
-
shares: number;
|
|
372
371
|
title: string;
|
|
373
372
|
description: string;
|
|
373
|
+
images: string[];
|
|
374
374
|
slug: string;
|
|
375
375
|
opportunityType: "freelance";
|
|
376
|
-
images: string[];
|
|
377
376
|
compensation: {
|
|
378
377
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
379
378
|
currency: string;
|
|
@@ -393,15 +392,16 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
393
392
|
}[];
|
|
394
393
|
applicationCount: number;
|
|
395
394
|
views: number;
|
|
395
|
+
shares: number;
|
|
396
396
|
requiredMembershipTier: "none" | "plus" | "premium";
|
|
397
|
-
membershipRequirementStatus: "
|
|
397
|
+
membershipRequirementStatus: "approved" | "pending" | "none" | "rejected";
|
|
398
398
|
hostId: {
|
|
399
399
|
username: string;
|
|
400
|
+
email: string;
|
|
400
401
|
firstName: string;
|
|
401
402
|
lastName: string;
|
|
402
|
-
email: string;
|
|
403
|
-
password: string;
|
|
404
403
|
phoneNumber: string;
|
|
404
|
+
password: string;
|
|
405
405
|
countryCode: string;
|
|
406
406
|
country: string;
|
|
407
407
|
gender: "male" | "female" | "other";
|
|
@@ -414,6 +414,10 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
414
414
|
verifiedEmail: boolean;
|
|
415
415
|
verifiedMobile: boolean;
|
|
416
416
|
role: string;
|
|
417
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
418
|
+
legacyRole?: string | undefined;
|
|
419
|
+
staffProfileId?: string | null | undefined;
|
|
420
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
417
421
|
_id?: string | undefined;
|
|
418
422
|
location?: string | undefined;
|
|
419
423
|
pinCode?: string | undefined;
|
|
@@ -427,10 +431,6 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
427
431
|
refreshToken?: string | undefined;
|
|
428
432
|
verifiedIdCard?: boolean | undefined;
|
|
429
433
|
permissions?: string[] | undefined;
|
|
430
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
431
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
432
|
-
legacyRole?: string | undefined;
|
|
433
|
-
staffProfileId?: string | null | undefined;
|
|
434
434
|
baseUserId?: string | null | undefined;
|
|
435
435
|
baseHostId?: string | null | undefined;
|
|
436
436
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -478,6 +478,8 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
478
478
|
ipOwnership?: "host" | "shared" | "freelancer" | undefined;
|
|
479
479
|
};
|
|
480
480
|
address?: string | undefined;
|
|
481
|
+
createdAt?: Date | undefined;
|
|
482
|
+
updatedAt?: Date | undefined;
|
|
481
483
|
categoryId?: string | undefined;
|
|
482
484
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
483
485
|
bondPlan?: {
|
|
@@ -496,8 +498,6 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
496
498
|
countryCode: string;
|
|
497
499
|
role: string;
|
|
498
500
|
}[] | undefined;
|
|
499
|
-
createdAt?: Date | undefined;
|
|
500
|
-
updatedAt?: Date | undefined;
|
|
501
501
|
}, {
|
|
502
502
|
country: string;
|
|
503
503
|
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
@@ -507,12 +507,11 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
507
507
|
skills: string[];
|
|
508
508
|
city: string;
|
|
509
509
|
state: string;
|
|
510
|
-
shares: number;
|
|
511
510
|
title: string;
|
|
512
511
|
description: string;
|
|
512
|
+
images: string[];
|
|
513
513
|
slug: string;
|
|
514
514
|
opportunityType: "freelance";
|
|
515
|
-
images: string[];
|
|
516
515
|
compensation: {
|
|
517
516
|
type: "free" | "stipend" | "salary" | "project-based";
|
|
518
517
|
currency: string;
|
|
@@ -532,13 +531,14 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
532
531
|
}[];
|
|
533
532
|
applicationCount: number;
|
|
534
533
|
views: number;
|
|
534
|
+
shares: number;
|
|
535
535
|
hostId: {
|
|
536
536
|
username: string;
|
|
537
|
+
email: string;
|
|
537
538
|
firstName: string;
|
|
538
539
|
lastName: string;
|
|
539
|
-
email: string;
|
|
540
|
-
password: string;
|
|
541
540
|
phoneNumber: string;
|
|
541
|
+
password: string;
|
|
542
542
|
countryCode: string;
|
|
543
543
|
country: string;
|
|
544
544
|
gender: "male" | "female" | "other";
|
|
@@ -551,6 +551,10 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
551
551
|
verifiedEmail: boolean;
|
|
552
552
|
verifiedMobile: boolean;
|
|
553
553
|
role: string;
|
|
554
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
555
|
+
legacyRole?: string | undefined;
|
|
556
|
+
staffProfileId?: string | null | undefined;
|
|
557
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
554
558
|
_id?: string | undefined;
|
|
555
559
|
location?: string | undefined;
|
|
556
560
|
pinCode?: string | undefined;
|
|
@@ -564,10 +568,6 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
564
568
|
refreshToken?: string | undefined;
|
|
565
569
|
verifiedIdCard?: boolean | undefined;
|
|
566
570
|
permissions?: string[] | undefined;
|
|
567
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
568
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
569
|
-
legacyRole?: string | undefined;
|
|
570
|
-
staffProfileId?: string | null | undefined;
|
|
571
571
|
baseUserId?: string | null | undefined;
|
|
572
572
|
baseHostId?: string | null | undefined;
|
|
573
573
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -615,6 +615,8 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
615
615
|
ipOwnership?: "host" | "shared" | "freelancer" | undefined;
|
|
616
616
|
};
|
|
617
617
|
address?: string | undefined;
|
|
618
|
+
createdAt?: Date | undefined;
|
|
619
|
+
updatedAt?: Date | undefined;
|
|
618
620
|
categoryId?: string | undefined;
|
|
619
621
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
620
622
|
bondPlan?: {
|
|
@@ -627,7 +629,7 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
627
629
|
pendingApplicationCount?: number | undefined;
|
|
628
630
|
hostingType?: string | undefined;
|
|
629
631
|
requiredMembershipTier?: "none" | "plus" | "premium" | undefined;
|
|
630
|
-
membershipRequirementStatus?: "
|
|
632
|
+
membershipRequirementStatus?: "approved" | "pending" | "none" | "rejected" | undefined;
|
|
631
633
|
applicationObservers?: {
|
|
632
634
|
username: string;
|
|
633
635
|
email: string;
|
|
@@ -635,7 +637,5 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
|
|
|
635
637
|
countryCode: string;
|
|
636
638
|
role: string;
|
|
637
639
|
}[] | undefined;
|
|
638
|
-
createdAt?: Date | undefined;
|
|
639
|
-
updatedAt?: Date | undefined;
|
|
640
640
|
}>;
|
|
641
641
|
//# sourceMappingURL=freelance.d.ts.map
|
|
@@ -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
|