@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
|
@@ -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 = {
|
|
@@ -169,11 +169,11 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
169
169
|
businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
|
|
170
170
|
}, "strict", z.ZodTypeAny, {
|
|
171
171
|
username: string;
|
|
172
|
+
email: string;
|
|
172
173
|
firstName: string;
|
|
173
174
|
lastName: string;
|
|
174
|
-
email: string;
|
|
175
|
-
password: string;
|
|
176
175
|
phoneNumber: string;
|
|
176
|
+
password: string;
|
|
177
177
|
countryCode: string;
|
|
178
178
|
country: string;
|
|
179
179
|
gender: "male" | "female" | "other";
|
|
@@ -186,6 +186,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
186
186
|
verifiedEmail: boolean;
|
|
187
187
|
verifiedMobile: boolean;
|
|
188
188
|
role: string;
|
|
189
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
190
|
+
legacyRole?: string | undefined;
|
|
191
|
+
staffProfileId?: string | null | undefined;
|
|
192
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
189
193
|
_id?: string | undefined;
|
|
190
194
|
location?: string | undefined;
|
|
191
195
|
pinCode?: string | undefined;
|
|
@@ -199,10 +203,6 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
199
203
|
refreshToken?: string | undefined;
|
|
200
204
|
verifiedIdCard?: boolean | undefined;
|
|
201
205
|
permissions?: string[] | undefined;
|
|
202
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
203
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
204
|
-
legacyRole?: string | undefined;
|
|
205
|
-
staffProfileId?: string | null | undefined;
|
|
206
206
|
baseUserId?: string | null | undefined;
|
|
207
207
|
baseHostId?: string | null | undefined;
|
|
208
208
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -239,11 +239,11 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
239
239
|
businessVerificationDenialReason?: string | undefined;
|
|
240
240
|
}, {
|
|
241
241
|
username: string;
|
|
242
|
+
email: string;
|
|
242
243
|
firstName: string;
|
|
243
244
|
lastName: string;
|
|
244
|
-
email: string;
|
|
245
|
-
password: string;
|
|
246
245
|
phoneNumber: string;
|
|
246
|
+
password: string;
|
|
247
247
|
countryCode: string;
|
|
248
248
|
country: string;
|
|
249
249
|
gender: "male" | "female" | "other";
|
|
@@ -256,6 +256,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
256
256
|
verifiedEmail: boolean;
|
|
257
257
|
verifiedMobile: boolean;
|
|
258
258
|
role: string;
|
|
259
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
260
|
+
legacyRole?: string | undefined;
|
|
261
|
+
staffProfileId?: string | null | undefined;
|
|
262
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
259
263
|
_id?: string | undefined;
|
|
260
264
|
location?: string | undefined;
|
|
261
265
|
pinCode?: string | undefined;
|
|
@@ -269,10 +273,6 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
269
273
|
refreshToken?: string | undefined;
|
|
270
274
|
verifiedIdCard?: boolean | undefined;
|
|
271
275
|
permissions?: string[] | undefined;
|
|
272
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
273
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
274
|
-
legacyRole?: string | undefined;
|
|
275
|
-
staffProfileId?: string | null | undefined;
|
|
276
276
|
baseUserId?: string | null | undefined;
|
|
277
277
|
baseHostId?: string | null | undefined;
|
|
278
278
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -342,12 +342,11 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
342
342
|
skills: string[];
|
|
343
343
|
city: string;
|
|
344
344
|
state: string;
|
|
345
|
-
shares: number;
|
|
346
345
|
title: string;
|
|
347
346
|
description: string;
|
|
347
|
+
images: string[];
|
|
348
348
|
slug: string;
|
|
349
349
|
opportunityType: "volunteer";
|
|
350
|
-
images: string[];
|
|
351
350
|
availableFrom: Date;
|
|
352
351
|
minDuration: number;
|
|
353
352
|
maxDuration: number;
|
|
@@ -361,15 +360,16 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
361
360
|
}[];
|
|
362
361
|
applicationCount: number;
|
|
363
362
|
views: number;
|
|
363
|
+
shares: number;
|
|
364
364
|
requiredMembershipTier: "none" | "plus" | "premium";
|
|
365
|
-
membershipRequirementStatus: "
|
|
365
|
+
membershipRequirementStatus: "approved" | "pending" | "none" | "rejected";
|
|
366
366
|
hostId: {
|
|
367
367
|
username: string;
|
|
368
|
+
email: string;
|
|
368
369
|
firstName: string;
|
|
369
370
|
lastName: string;
|
|
370
|
-
email: string;
|
|
371
|
-
password: string;
|
|
372
371
|
phoneNumber: string;
|
|
372
|
+
password: string;
|
|
373
373
|
countryCode: string;
|
|
374
374
|
country: string;
|
|
375
375
|
gender: "male" | "female" | "other";
|
|
@@ -382,6 +382,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
382
382
|
verifiedEmail: boolean;
|
|
383
383
|
verifiedMobile: boolean;
|
|
384
384
|
role: string;
|
|
385
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
386
|
+
legacyRole?: string | undefined;
|
|
387
|
+
staffProfileId?: string | null | undefined;
|
|
388
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
385
389
|
_id?: string | undefined;
|
|
386
390
|
location?: string | undefined;
|
|
387
391
|
pinCode?: string | undefined;
|
|
@@ -395,10 +399,6 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
395
399
|
refreshToken?: string | undefined;
|
|
396
400
|
verifiedIdCard?: boolean | undefined;
|
|
397
401
|
permissions?: string[] | undefined;
|
|
398
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
399
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
400
|
-
legacyRole?: string | undefined;
|
|
401
|
-
staffProfileId?: string | null | undefined;
|
|
402
402
|
baseUserId?: string | null | undefined;
|
|
403
403
|
baseHostId?: string | null | undefined;
|
|
404
404
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -436,6 +436,8 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
436
436
|
};
|
|
437
437
|
adminApproval: boolean;
|
|
438
438
|
address?: string | undefined;
|
|
439
|
+
createdAt?: Date | undefined;
|
|
440
|
+
updatedAt?: Date | undefined;
|
|
439
441
|
categoryId?: string | undefined;
|
|
440
442
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
441
443
|
compensation?: {
|
|
@@ -460,8 +462,6 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
460
462
|
countryCode: string;
|
|
461
463
|
role: string;
|
|
462
464
|
}[] | undefined;
|
|
463
|
-
createdAt?: Date | undefined;
|
|
464
|
-
updatedAt?: Date | undefined;
|
|
465
465
|
}, {
|
|
466
466
|
country: string;
|
|
467
467
|
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
|
|
@@ -471,12 +471,11 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
471
471
|
skills: string[];
|
|
472
472
|
city: string;
|
|
473
473
|
state: string;
|
|
474
|
-
shares: number;
|
|
475
474
|
title: string;
|
|
476
475
|
description: string;
|
|
476
|
+
images: string[];
|
|
477
477
|
slug: string;
|
|
478
478
|
opportunityType: "volunteer";
|
|
479
|
-
images: string[];
|
|
480
479
|
availableFrom: Date;
|
|
481
480
|
minDuration: number;
|
|
482
481
|
maxDuration: number;
|
|
@@ -490,13 +489,14 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
490
489
|
}[];
|
|
491
490
|
applicationCount: number;
|
|
492
491
|
views: number;
|
|
492
|
+
shares: number;
|
|
493
493
|
hostId: {
|
|
494
494
|
username: string;
|
|
495
|
+
email: string;
|
|
495
496
|
firstName: string;
|
|
496
497
|
lastName: string;
|
|
497
|
-
email: string;
|
|
498
|
-
password: string;
|
|
499
498
|
phoneNumber: string;
|
|
499
|
+
password: string;
|
|
500
500
|
countryCode: string;
|
|
501
501
|
country: string;
|
|
502
502
|
gender: "male" | "female" | "other";
|
|
@@ -509,6 +509,10 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
509
509
|
verifiedEmail: boolean;
|
|
510
510
|
verifiedMobile: boolean;
|
|
511
511
|
role: string;
|
|
512
|
+
baseAccountType?: "user" | "host" | undefined;
|
|
513
|
+
legacyRole?: string | undefined;
|
|
514
|
+
staffProfileId?: string | null | undefined;
|
|
515
|
+
accountType?: "user" | "host" | "staff" | undefined;
|
|
512
516
|
_id?: string | undefined;
|
|
513
517
|
location?: string | undefined;
|
|
514
518
|
pinCode?: string | undefined;
|
|
@@ -522,10 +526,6 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
522
526
|
refreshToken?: string | undefined;
|
|
523
527
|
verifiedIdCard?: boolean | undefined;
|
|
524
528
|
permissions?: string[] | undefined;
|
|
525
|
-
accountType?: "user" | "host" | "staff" | undefined;
|
|
526
|
-
baseAccountType?: "user" | "host" | undefined;
|
|
527
|
-
legacyRole?: string | undefined;
|
|
528
|
-
staffProfileId?: string | null | undefined;
|
|
529
529
|
baseUserId?: string | null | undefined;
|
|
530
530
|
baseHostId?: string | null | undefined;
|
|
531
531
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
@@ -563,6 +563,8 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
563
563
|
};
|
|
564
564
|
adminApproval: boolean;
|
|
565
565
|
address?: string | undefined;
|
|
566
|
+
createdAt?: Date | undefined;
|
|
567
|
+
updatedAt?: Date | undefined;
|
|
566
568
|
categoryId?: string | undefined;
|
|
567
569
|
workMode?: "onsite" | "remote" | "hybrid" | undefined;
|
|
568
570
|
compensation?: {
|
|
@@ -581,7 +583,7 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
581
583
|
pendingApplicationCount?: number | undefined;
|
|
582
584
|
hostingType?: string | undefined;
|
|
583
585
|
requiredMembershipTier?: "none" | "plus" | "premium" | undefined;
|
|
584
|
-
membershipRequirementStatus?: "
|
|
586
|
+
membershipRequirementStatus?: "approved" | "pending" | "none" | "rejected" | undefined;
|
|
585
587
|
applicationObservers?: {
|
|
586
588
|
username: string;
|
|
587
589
|
email: string;
|
|
@@ -589,7 +591,5 @@ export declare const VolunteerOpportunitySchema: z.ZodObject<{
|
|
|
589
591
|
countryCode: string;
|
|
590
592
|
role: string;
|
|
591
593
|
}[] | undefined;
|
|
592
|
-
createdAt?: Date | undefined;
|
|
593
|
-
updatedAt?: Date | undefined;
|
|
594
594
|
}>;
|
|
595
595
|
//# sourceMappingURL=volunteerJob.d.ts.map
|
|
@@ -93,9 +93,9 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
93
93
|
isActive?: boolean | undefined;
|
|
94
94
|
id?: string | undefined;
|
|
95
95
|
description?: string | undefined;
|
|
96
|
-
basePrice?: number | undefined;
|
|
97
96
|
parentStrategyId?: string | null | undefined;
|
|
98
97
|
defaultStrategyId?: string | null | undefined;
|
|
98
|
+
basePrice?: number | undefined;
|
|
99
99
|
finalBasePrice?: number | undefined;
|
|
100
100
|
sortOrder?: number | undefined;
|
|
101
101
|
gst?: number | undefined;
|
|
@@ -145,9 +145,9 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
145
145
|
isActive?: boolean | undefined;
|
|
146
146
|
id?: string | undefined;
|
|
147
147
|
description?: string | undefined;
|
|
148
|
-
basePrice?: number | undefined;
|
|
149
148
|
parentStrategyId?: string | null | undefined;
|
|
150
149
|
defaultStrategyId?: string | null | undefined;
|
|
150
|
+
basePrice?: number | undefined;
|
|
151
151
|
finalBasePrice?: number | undefined;
|
|
152
152
|
sortOrder?: number | undefined;
|
|
153
153
|
gst?: number | undefined;
|
|
@@ -251,16 +251,16 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
251
251
|
reviewCount: number;
|
|
252
252
|
city: string;
|
|
253
253
|
state: string;
|
|
254
|
-
shares: number;
|
|
255
254
|
title: string;
|
|
255
|
+
createdAt: string | Date;
|
|
256
|
+
updatedAt: string | Date;
|
|
256
257
|
frequency: "custom" | "daily" | "weekly" | "monthly" | "yearly" | "bi-weekly";
|
|
257
258
|
slug: string;
|
|
258
259
|
urgent: boolean;
|
|
259
260
|
applicationCount: number;
|
|
260
261
|
views: number;
|
|
262
|
+
shares: number;
|
|
261
263
|
hostId: string;
|
|
262
|
-
createdAt: string | Date;
|
|
263
|
-
updatedAt: string | Date;
|
|
264
264
|
likes: number;
|
|
265
265
|
isDeleted: boolean;
|
|
266
266
|
host?: {
|
|
@@ -278,9 +278,6 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
278
278
|
question: string;
|
|
279
279
|
answer: string;
|
|
280
280
|
}[] | undefined;
|
|
281
|
-
highlights?: string[] | undefined;
|
|
282
|
-
packageImages?: string[] | undefined;
|
|
283
|
-
bookingMode?: "booking" | "enquiry" | "both" | undefined;
|
|
284
281
|
pricing?: {
|
|
285
282
|
currency: string;
|
|
286
283
|
pricingStrategies: {
|
|
@@ -308,6 +305,9 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
308
305
|
endDate?: string | Date | undefined;
|
|
309
306
|
}[];
|
|
310
307
|
} | undefined;
|
|
308
|
+
highlights?: string[] | undefined;
|
|
309
|
+
packageImages?: string[] | undefined;
|
|
310
|
+
bookingMode?: "booking" | "enquiry" | "both" | undefined;
|
|
311
311
|
difficultyLevel?: DifficultyEnum | undefined;
|
|
312
312
|
customFrequencyDays?: number | undefined;
|
|
313
313
|
itinerary?: {
|
|
@@ -329,10 +329,10 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
329
329
|
city: string;
|
|
330
330
|
state: string;
|
|
331
331
|
title: string;
|
|
332
|
-
slug: string;
|
|
333
|
-
hostId: string;
|
|
334
332
|
createdAt: string | Date;
|
|
335
333
|
updatedAt: string | Date;
|
|
334
|
+
slug: string;
|
|
335
|
+
hostId: string;
|
|
336
336
|
host?: {
|
|
337
337
|
profilePic?: string | undefined;
|
|
338
338
|
rating?: number | undefined;
|
|
@@ -345,7 +345,6 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
345
345
|
ratingCount?: number | undefined;
|
|
346
346
|
reviewCount?: number | undefined;
|
|
347
347
|
duration?: number | undefined;
|
|
348
|
-
shares?: number | undefined;
|
|
349
348
|
description?: string | undefined;
|
|
350
349
|
frequency?: "custom" | "daily" | "weekly" | "monthly" | "yearly" | "bi-weekly" | undefined;
|
|
351
350
|
categoryId?: string | undefined;
|
|
@@ -358,9 +357,7 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
358
357
|
}[] | undefined;
|
|
359
358
|
applicationCount?: number | undefined;
|
|
360
359
|
views?: number | undefined;
|
|
361
|
-
|
|
362
|
-
packageImages?: string[] | undefined;
|
|
363
|
-
bookingMode?: "booking" | "enquiry" | "both" | undefined;
|
|
360
|
+
shares?: number | undefined;
|
|
364
361
|
pricing?: {
|
|
365
362
|
currency?: string | undefined;
|
|
366
363
|
pricingStrategies?: {
|
|
@@ -368,9 +365,9 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
368
365
|
isActive?: boolean | undefined;
|
|
369
366
|
id?: string | undefined;
|
|
370
367
|
description?: string | undefined;
|
|
371
|
-
basePrice?: number | undefined;
|
|
372
368
|
parentStrategyId?: string | null | undefined;
|
|
373
369
|
defaultStrategyId?: string | null | undefined;
|
|
370
|
+
basePrice?: number | undefined;
|
|
374
371
|
finalBasePrice?: number | undefined;
|
|
375
372
|
sortOrder?: number | undefined;
|
|
376
373
|
gst?: number | undefined;
|
|
@@ -388,6 +385,9 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
388
385
|
endDate?: string | Date | undefined;
|
|
389
386
|
}[] | undefined;
|
|
390
387
|
} | undefined;
|
|
388
|
+
highlights?: string[] | undefined;
|
|
389
|
+
packageImages?: string[] | undefined;
|
|
390
|
+
bookingMode?: "booking" | "enquiry" | "both" | undefined;
|
|
391
391
|
difficultyLevel?: DifficultyEnum | undefined;
|
|
392
392
|
customFrequencyDays?: number | undefined;
|
|
393
393
|
itinerary?: {
|
|
@@ -403,8 +403,8 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
403
403
|
thingsToDo?: string[] | undefined;
|
|
404
404
|
thingsNotToDo?: string[] | undefined;
|
|
405
405
|
thingsToCarry?: string[] | undefined;
|
|
406
|
-
draftStep?: number | undefined;
|
|
407
406
|
likes?: number | undefined;
|
|
407
|
+
draftStep?: number | undefined;
|
|
408
408
|
isDeleted?: boolean | undefined;
|
|
409
409
|
}>;
|
|
410
410
|
export type TravelPackage = z.infer<typeof TravelPackageSchema>;
|
|
@@ -14,8 +14,8 @@ export declare const PortfolioItemSchema: z.ZodObject<{
|
|
|
14
14
|
updatedAt: z.ZodDate;
|
|
15
15
|
}, "strict", z.ZodTypeAny, {
|
|
16
16
|
user: string;
|
|
17
|
-
url: string;
|
|
18
17
|
_id: string;
|
|
18
|
+
url: string;
|
|
19
19
|
createdAt: Date;
|
|
20
20
|
updatedAt: Date;
|
|
21
21
|
views: number;
|
|
@@ -27,8 +27,8 @@ export declare const PortfolioItemSchema: z.ZodObject<{
|
|
|
27
27
|
mainUrl?: string | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
user: string;
|
|
30
|
-
url: string;
|
|
31
30
|
_id: string;
|
|
31
|
+
url: string;
|
|
32
32
|
createdAt: Date;
|
|
33
33
|
updatedAt: Date;
|
|
34
34
|
views: number;
|
|
@@ -33,15 +33,15 @@ export declare const PricingStrategySchema: z.ZodObject<{
|
|
|
33
33
|
startDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
34
34
|
endDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
description: string;
|
|
36
37
|
basePrice: number;
|
|
37
38
|
finalBasePrice: number;
|
|
38
|
-
description: string;
|
|
39
39
|
_id?: string | undefined;
|
|
40
|
+
isActive?: boolean | undefined;
|
|
40
41
|
id?: string | undefined;
|
|
41
42
|
parentStrategyId?: string | null | undefined;
|
|
42
43
|
defaultStrategyId?: string | null | undefined;
|
|
43
44
|
sortOrder?: number | undefined;
|
|
44
|
-
isActive?: boolean | undefined;
|
|
45
45
|
gst?: number | undefined;
|
|
46
46
|
governmentTaxes?: number | undefined;
|
|
47
47
|
convenienceFee?: number | undefined;
|
|
@@ -57,14 +57,14 @@ export declare const PricingStrategySchema: z.ZodObject<{
|
|
|
57
57
|
endDate?: string | Date | undefined;
|
|
58
58
|
}, {
|
|
59
59
|
_id?: string | undefined;
|
|
60
|
+
isActive?: boolean | undefined;
|
|
60
61
|
id?: string | undefined;
|
|
62
|
+
description?: string | undefined;
|
|
61
63
|
parentStrategyId?: string | null | undefined;
|
|
62
64
|
defaultStrategyId?: string | null | undefined;
|
|
63
65
|
basePrice?: number | undefined;
|
|
64
66
|
finalBasePrice?: number | undefined;
|
|
65
|
-
description?: string | undefined;
|
|
66
67
|
sortOrder?: number | undefined;
|
|
67
|
-
isActive?: boolean | undefined;
|
|
68
68
|
gst?: number | undefined;
|
|
69
69
|
governmentTaxes?: number | undefined;
|
|
70
70
|
convenienceFee?: number | undefined;
|
|
@@ -115,15 +115,15 @@ export declare const PricingSchema: z.ZodObject<{
|
|
|
115
115
|
startDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
116
116
|
endDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
description: string;
|
|
118
119
|
basePrice: number;
|
|
119
120
|
finalBasePrice: number;
|
|
120
|
-
description: string;
|
|
121
121
|
_id?: string | undefined;
|
|
122
|
+
isActive?: boolean | undefined;
|
|
122
123
|
id?: string | undefined;
|
|
123
124
|
parentStrategyId?: string | null | undefined;
|
|
124
125
|
defaultStrategyId?: string | null | undefined;
|
|
125
126
|
sortOrder?: number | undefined;
|
|
126
|
-
isActive?: boolean | undefined;
|
|
127
127
|
gst?: number | undefined;
|
|
128
128
|
governmentTaxes?: number | undefined;
|
|
129
129
|
convenienceFee?: number | undefined;
|
|
@@ -139,14 +139,14 @@ export declare const PricingSchema: z.ZodObject<{
|
|
|
139
139
|
endDate?: string | Date | undefined;
|
|
140
140
|
}, {
|
|
141
141
|
_id?: string | undefined;
|
|
142
|
+
isActive?: boolean | undefined;
|
|
142
143
|
id?: string | undefined;
|
|
144
|
+
description?: string | undefined;
|
|
143
145
|
parentStrategyId?: string | null | undefined;
|
|
144
146
|
defaultStrategyId?: string | null | undefined;
|
|
145
147
|
basePrice?: number | undefined;
|
|
146
148
|
finalBasePrice?: number | undefined;
|
|
147
|
-
description?: string | undefined;
|
|
148
149
|
sortOrder?: number | undefined;
|
|
149
|
-
isActive?: boolean | undefined;
|
|
150
150
|
gst?: number | undefined;
|
|
151
151
|
governmentTaxes?: number | undefined;
|
|
152
152
|
convenienceFee?: number | undefined;
|
|
@@ -164,15 +164,15 @@ export declare const PricingSchema: z.ZodObject<{
|
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
165
|
currency: string;
|
|
166
166
|
pricingStrategies: {
|
|
167
|
+
description: string;
|
|
167
168
|
basePrice: number;
|
|
168
169
|
finalBasePrice: number;
|
|
169
|
-
description: string;
|
|
170
170
|
_id?: string | undefined;
|
|
171
|
+
isActive?: boolean | undefined;
|
|
171
172
|
id?: string | undefined;
|
|
172
173
|
parentStrategyId?: string | null | undefined;
|
|
173
174
|
defaultStrategyId?: string | null | undefined;
|
|
174
175
|
sortOrder?: number | undefined;
|
|
175
|
-
isActive?: boolean | undefined;
|
|
176
176
|
gst?: number | undefined;
|
|
177
177
|
governmentTaxes?: number | undefined;
|
|
178
178
|
convenienceFee?: number | undefined;
|
|
@@ -191,14 +191,14 @@ export declare const PricingSchema: z.ZodObject<{
|
|
|
191
191
|
currency?: string | undefined;
|
|
192
192
|
pricingStrategies?: {
|
|
193
193
|
_id?: string | undefined;
|
|
194
|
+
isActive?: boolean | undefined;
|
|
194
195
|
id?: string | undefined;
|
|
196
|
+
description?: string | undefined;
|
|
195
197
|
parentStrategyId?: string | null | undefined;
|
|
196
198
|
defaultStrategyId?: string | null | undefined;
|
|
197
199
|
basePrice?: number | undefined;
|
|
198
200
|
finalBasePrice?: number | undefined;
|
|
199
|
-
description?: string | undefined;
|
|
200
201
|
sortOrder?: number | undefined;
|
|
201
|
-
isActive?: boolean | undefined;
|
|
202
202
|
gst?: number | undefined;
|
|
203
203
|
governmentTaxes?: number | undefined;
|
|
204
204
|
convenienceFee?: number | undefined;
|