@myrjfa/state 2.1.8 → 2.2.0

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.
Files changed (181) hide show
  1. package/dist/hooks/usePersistentDraftState.d.ts +20 -0
  2. package/dist/hooks/usePersistentDraftState.d.ts.map +1 -0
  3. package/dist/hooks/usePersistentDraftState.js +47 -0
  4. package/dist/index.d.ts +3 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +3 -0
  7. package/dist/lib/actions/actions.d.ts +15 -15
  8. package/dist/lib/actions/actions.d.ts.map +1 -1
  9. package/dist/lib/actions/actions.js +44 -8
  10. package/dist/lib/actions/auth.d.ts +2 -2
  11. package/dist/lib/actions/auth.d.ts.map +1 -1
  12. package/dist/lib/actions/auth.js +9 -0
  13. package/dist/lib/actions/booking.js +2 -2
  14. package/dist/lib/actions/fetcher.js +2 -1
  15. package/dist/lib/actions.d.ts +556 -0
  16. package/dist/lib/actions.d.ts.map +1 -0
  17. package/dist/lib/actions.js +1327 -0
  18. package/dist/lib/adminDashboardActions.d.ts +61 -0
  19. package/dist/lib/adminDashboardActions.d.ts.map +1 -0
  20. package/dist/lib/adminDashboardActions.js +89 -0
  21. package/dist/lib/adventureActions.d.ts +102 -0
  22. package/dist/lib/adventureActions.d.ts.map +1 -0
  23. package/dist/lib/adventureActions.js +202 -0
  24. package/dist/lib/adventureDummyData.d.ts +3 -0
  25. package/dist/lib/adventureDummyData.d.ts.map +1 -0
  26. package/dist/lib/adventureDummyData.js +138 -0
  27. package/dist/lib/adventureFormPage.d.ts +39 -0
  28. package/dist/lib/adventureFormPage.d.ts.map +1 -0
  29. package/dist/lib/adventureFormPage.js +70 -0
  30. package/dist/lib/brandActions.d.ts +83 -0
  31. package/dist/lib/brandActions.d.ts.map +1 -0
  32. package/dist/lib/brandActions.js +28 -0
  33. package/dist/lib/companionActions.d.ts +174 -0
  34. package/dist/lib/companionActions.d.ts.map +1 -0
  35. package/dist/lib/companionActions.js +276 -0
  36. package/dist/lib/companionDummyData.d.ts +99 -0
  37. package/dist/lib/companionDummyData.d.ts.map +1 -0
  38. package/dist/lib/companionDummyData.js +203 -0
  39. package/dist/lib/destinations.d.ts +14 -0
  40. package/dist/lib/destinations.d.ts.map +1 -0
  41. package/dist/lib/destinations.js +203 -0
  42. package/dist/lib/entitySubmission.d.ts +21 -0
  43. package/dist/lib/entitySubmission.d.ts.map +1 -0
  44. package/dist/lib/entitySubmission.js +10 -0
  45. package/dist/lib/eventActions.d.ts +176 -0
  46. package/dist/lib/eventActions.d.ts.map +1 -0
  47. package/dist/lib/eventActions.js +222 -0
  48. package/dist/lib/eventFormPage.d.ts +49 -0
  49. package/dist/lib/eventFormPage.d.ts.map +1 -0
  50. package/dist/lib/eventFormPage.js +84 -0
  51. package/dist/lib/eventsDummyData.d.ts +54 -0
  52. package/dist/lib/eventsDummyData.d.ts.map +1 -0
  53. package/dist/lib/eventsDummyData.js +586 -0
  54. package/dist/lib/guideActions.d.ts +53 -0
  55. package/dist/lib/guideActions.d.ts.map +1 -0
  56. package/dist/lib/guideActions.js +127 -0
  57. package/dist/lib/guideDummyData.d.ts +3 -0
  58. package/dist/lib/guideDummyData.d.ts.map +1 -0
  59. package/dist/lib/guideDummyData.js +66 -0
  60. package/dist/lib/hooks/use-mobile.js +0 -1
  61. package/dist/lib/hooks/useChatSocket.js +0 -1
  62. package/dist/lib/hooks/useHostCalendarSelection.d.ts +51 -0
  63. package/dist/lib/hooks/useHostCalendarSelection.d.ts.map +1 -0
  64. package/dist/lib/hooks/useHostCalendarSelection.js +200 -0
  65. package/dist/lib/hostDashboardActions.d.ts +189 -0
  66. package/dist/lib/hostDashboardActions.d.ts.map +1 -0
  67. package/dist/lib/hostDashboardActions.js +400 -0
  68. package/dist/lib/imageUpload.d.ts +4 -0
  69. package/dist/lib/imageUpload.d.ts.map +1 -0
  70. package/dist/lib/imageUpload.js +36 -0
  71. package/dist/lib/locationActions.d.ts +141 -0
  72. package/dist/lib/locationActions.d.ts.map +1 -0
  73. package/dist/lib/locationActions.js +113 -0
  74. package/dist/lib/models/adventure.d.ts +26 -9
  75. package/dist/lib/models/adventure.d.ts.map +1 -1
  76. package/dist/lib/models/application.d.ts +1 -1
  77. package/dist/lib/models/application.d.ts.map +1 -1
  78. package/dist/lib/models/blog.d.ts +2 -2
  79. package/dist/lib/models/booking.d.ts +16 -1
  80. package/dist/lib/models/booking.d.ts.map +1 -1
  81. package/dist/lib/models/discount.d.ts +160 -0
  82. package/dist/lib/models/discount.d.ts.map +1 -0
  83. package/dist/lib/models/discount.js +106 -0
  84. package/dist/lib/models/enquiry.d.ts +34 -0
  85. package/dist/lib/models/enquiry.d.ts.map +1 -0
  86. package/dist/lib/models/enquiry.js +140 -0
  87. package/dist/lib/models/guide.d.ts +4 -3
  88. package/dist/lib/models/guide.d.ts.map +1 -1
  89. package/dist/lib/models/notifications.d.ts +12 -12
  90. package/dist/lib/models/opportunities/freelance.d.ts +82 -82
  91. package/dist/lib/models/opportunities/internship.d.ts +82 -82
  92. package/dist/lib/models/opportunities/job.d.ts +84 -84
  93. package/dist/lib/models/opportunities/opportunity.d.ts +89 -84
  94. package/dist/lib/models/opportunities/opportunity.d.ts.map +1 -1
  95. package/dist/lib/models/opportunities/opportunity.js +2 -0
  96. package/dist/lib/models/opportunities/volunteerJob.d.ts +82 -82
  97. package/dist/lib/models/package.d.ts +380 -86
  98. package/dist/lib/models/package.d.ts.map +1 -1
  99. package/dist/lib/models/package.js +9 -8
  100. package/dist/lib/models/pricing.d.ts +255 -0
  101. package/dist/lib/models/pricing.d.ts.map +1 -0
  102. package/dist/lib/models/pricing.js +145 -0
  103. package/dist/lib/models/rental.d.ts +12 -7
  104. package/dist/lib/models/rental.d.ts.map +1 -1
  105. package/dist/lib/models/review.d.ts +11 -2
  106. package/dist/lib/models/review.d.ts.map +1 -1
  107. package/dist/lib/models/review.js +2 -0
  108. package/dist/lib/models/stay.d.ts +11 -8
  109. package/dist/lib/models/stay.d.ts.map +1 -1
  110. package/dist/lib/models/stay.js +1 -0
  111. package/dist/lib/models/tile.d.ts +11 -7
  112. package/dist/lib/models/tile.d.ts.map +1 -1
  113. package/dist/lib/models/travelPackage.d.ts +943 -0
  114. package/dist/lib/models/travelPackage.d.ts.map +1 -0
  115. package/dist/lib/models/travelPackage.js +326 -0
  116. package/dist/lib/multistepDraft.d.ts +4 -0
  117. package/dist/lib/multistepDraft.d.ts.map +1 -0
  118. package/dist/lib/multistepDraft.js +18 -0
  119. package/dist/lib/opportunityFormData.d.ts +13 -0
  120. package/dist/lib/opportunityFormData.d.ts.map +1 -0
  121. package/dist/lib/opportunityFormData.js +62 -0
  122. package/dist/lib/opportunityFormPage.d.ts +38 -0
  123. package/dist/lib/opportunityFormPage.d.ts.map +1 -0
  124. package/dist/lib/opportunityFormPage.js +33 -0
  125. package/dist/lib/packageActions.d.ts +86 -0
  126. package/dist/lib/packageActions.d.ts.map +1 -0
  127. package/dist/lib/packageActions.js +168 -0
  128. package/dist/lib/packageDummyData.d.ts +3 -0
  129. package/dist/lib/packageDummyData.d.ts.map +1 -0
  130. package/dist/lib/packageDummyData.js +57 -0
  131. package/dist/lib/placeActions.d.ts +192 -0
  132. package/dist/lib/placeActions.d.ts.map +1 -0
  133. package/dist/lib/placeActions.js +57 -0
  134. package/dist/lib/propertyActions.d.ts +17 -0
  135. package/dist/lib/propertyActions.d.ts.map +1 -0
  136. package/dist/lib/propertyActions.js +16 -0
  137. package/dist/lib/rentalActions.d.ts +86 -0
  138. package/dist/lib/rentalActions.d.ts.map +1 -0
  139. package/dist/lib/rentalActions.js +235 -0
  140. package/dist/lib/rentalDummyData.d.ts +3 -0
  141. package/dist/lib/rentalDummyData.d.ts.map +1 -0
  142. package/dist/lib/rentalDummyData.js +402 -0
  143. package/dist/lib/rentalFormPage.d.ts +48 -0
  144. package/dist/lib/rentalFormPage.d.ts.map +1 -0
  145. package/dist/lib/rentalFormPage.js +97 -0
  146. package/dist/lib/roomActions.d.ts +39 -0
  147. package/dist/lib/roomActions.d.ts.map +1 -0
  148. package/dist/lib/roomActions.js +74 -0
  149. package/dist/lib/stayActions.d.ts +97 -0
  150. package/dist/lib/stayActions.d.ts.map +1 -0
  151. package/dist/lib/stayActions.js +138 -0
  152. package/dist/lib/staysDummyData.d.ts +72 -0
  153. package/dist/lib/staysDummyData.d.ts.map +1 -0
  154. package/dist/lib/staysDummyData.js +694 -0
  155. package/dist/lib/storeDummyData.d.ts +33 -0
  156. package/dist/lib/storeDummyData.d.ts.map +1 -0
  157. package/dist/lib/storeDummyData.js +336 -0
  158. package/dist/lib/travelPackageActions.d.ts +102 -0
  159. package/dist/lib/travelPackageActions.d.ts.map +1 -0
  160. package/dist/lib/travelPackageActions.js +487 -0
  161. package/dist/lib/travelPackageFormData.d.ts +20 -0
  162. package/dist/lib/travelPackageFormData.d.ts.map +1 -0
  163. package/dist/lib/travelPackageFormData.js +54 -0
  164. package/dist/lib/travelPackageFormPage.d.ts +32 -0
  165. package/dist/lib/travelPackageFormPage.d.ts.map +1 -0
  166. package/dist/lib/travelPackageFormPage.js +43 -0
  167. package/dist/lib/userAtom.d.ts +24 -24
  168. package/dist/lib/userAtom.d.ts.map +1 -1
  169. package/dist/lib/userAtom.js +17 -1
  170. package/dist/lib/util.d.ts +11 -0
  171. package/dist/lib/util.d.ts.map +1 -0
  172. package/dist/lib/util.js +82 -0
  173. package/dist/lib/utils.d.ts.map +1 -1
  174. package/dist/lib/utils.js +1 -0
  175. package/dist/lib/vehicleData.d.ts +2 -0
  176. package/dist/lib/vehicleData.d.ts.map +1 -0
  177. package/dist/lib/vehicleData.js +181 -0
  178. package/dist/lib/vehicleModels.d.ts +2 -0
  179. package/dist/lib/vehicleModels.d.ts.map +1 -0
  180. package/dist/lib/vehicleModels.js +128 -0
  181. package/package.json +6 -5
@@ -163,21 +163,21 @@ export declare const JobOpportunitySchema: z.ZodObject<{
163
163
  pinCode: z.ZodOptional<z.ZodString>;
164
164
  registrationNumber: z.ZodOptional<z.ZodString>;
165
165
  }, "strip", z.ZodTypeAny, {
166
+ country: string;
166
167
  type: string;
167
168
  name: string;
169
+ address: string;
168
170
  city: string;
169
171
  state: string;
170
- country: string;
171
- address: string;
172
172
  pinCode?: string | undefined;
173
173
  registrationNumber?: string | undefined;
174
174
  }, {
175
+ country: string;
175
176
  type: string;
176
177
  name: string;
178
+ address: string;
177
179
  city: string;
178
180
  state: string;
179
- country: string;
180
- address: string;
181
181
  pinCode?: string | undefined;
182
182
  registrationNumber?: string | undefined;
183
183
  }>, "many">>;
@@ -187,11 +187,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
187
187
  businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
188
188
  businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
189
189
  }, "strict", z.ZodTypeAny, {
190
- role: "host" | "user" | "admin" | "hr" | "sales";
191
- country: string;
192
- rating: number;
193
- ratingCount: number;
194
- reviewCount: number;
195
190
  username: string;
196
191
  firstName: string;
197
192
  lastName: string;
@@ -199,17 +194,17 @@ export declare const JobOpportunitySchema: z.ZodObject<{
199
194
  password: string;
200
195
  phoneNumber: string;
201
196
  countryCode: string;
197
+ country: string;
202
198
  gender: "male" | "female" | "other";
199
+ rating: number;
200
+ ratingCount: number;
201
+ reviewCount: number;
203
202
  joinedDate: Date;
204
203
  isActive: boolean;
205
204
  lastActive: Date;
206
205
  verifiedEmail: boolean;
207
206
  verifiedMobile: boolean;
208
- id?: string | undefined;
209
- skills?: {
210
- skill: string;
211
- skillExpertise: number;
212
- }[] | undefined;
207
+ role: "host" | "user" | "admin" | "hr" | "sales";
213
208
  location?: string | undefined;
214
209
  pinCode?: string | undefined;
215
210
  dob?: Date | undefined;
@@ -223,9 +218,14 @@ export declare const JobOpportunitySchema: z.ZodObject<{
223
218
  verifiedIdCard?: boolean | undefined;
224
219
  socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
225
220
  userResume?: string | undefined;
221
+ skills?: {
222
+ skill: string;
223
+ skillExpertise: number;
224
+ }[] | undefined;
226
225
  wishlist?: string[] | undefined;
227
226
  favBlogs?: string[] | undefined;
228
227
  favPackages?: string[] | undefined;
228
+ id?: string | undefined;
229
229
  selfie?: string | undefined;
230
230
  selfieAction?: string | undefined;
231
231
  jobCount?: number | undefined;
@@ -234,12 +234,12 @@ export declare const JobOpportunitySchema: z.ZodObject<{
234
234
  panCard?: string | undefined;
235
235
  verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
236
236
  properties?: {
237
+ country: string;
237
238
  type: string;
238
239
  name: string;
240
+ address: string;
239
241
  city: string;
240
242
  state: string;
241
- country: string;
242
- address: string;
243
243
  pinCode?: string | undefined;
244
244
  registrationNumber?: string | undefined;
245
245
  }[] | undefined;
@@ -249,11 +249,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
249
249
  businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
250
250
  businessVerificationDenialReason?: string | undefined;
251
251
  }, {
252
- role: "host" | "user" | "admin" | "hr" | "sales";
253
- country: string;
254
- rating: number;
255
- ratingCount: number;
256
- reviewCount: number;
257
252
  username: string;
258
253
  firstName: string;
259
254
  lastName: string;
@@ -261,17 +256,17 @@ export declare const JobOpportunitySchema: z.ZodObject<{
261
256
  password: string;
262
257
  phoneNumber: string;
263
258
  countryCode: string;
259
+ country: string;
264
260
  gender: "male" | "female" | "other";
261
+ rating: number;
262
+ ratingCount: number;
263
+ reviewCount: number;
265
264
  joinedDate: Date;
266
265
  isActive: boolean;
267
266
  lastActive: Date;
268
267
  verifiedEmail: boolean;
269
268
  verifiedMobile: boolean;
270
- id?: string | undefined;
271
- skills?: {
272
- skill: string;
273
- skillExpertise: number;
274
- }[] | undefined;
269
+ role: "host" | "user" | "admin" | "hr" | "sales";
275
270
  location?: string | undefined;
276
271
  pinCode?: string | undefined;
277
272
  dob?: Date | undefined;
@@ -285,9 +280,14 @@ export declare const JobOpportunitySchema: z.ZodObject<{
285
280
  verifiedIdCard?: boolean | undefined;
286
281
  socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
287
282
  userResume?: string | undefined;
283
+ skills?: {
284
+ skill: string;
285
+ skillExpertise: number;
286
+ }[] | undefined;
288
287
  wishlist?: string[] | undefined;
289
288
  favBlogs?: string[] | undefined;
290
289
  favPackages?: string[] | undefined;
290
+ id?: string | undefined;
291
291
  selfie?: string | undefined;
292
292
  selfieAction?: string | undefined;
293
293
  jobCount?: number | undefined;
@@ -296,12 +296,12 @@ export declare const JobOpportunitySchema: z.ZodObject<{
296
296
  panCard?: string | undefined;
297
297
  verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
298
298
  properties?: {
299
+ country: string;
299
300
  type: string;
300
301
  name: string;
302
+ address: string;
301
303
  city: string;
302
304
  state: string;
303
- country: string;
304
- address: string;
305
305
  pinCode?: string | undefined;
306
306
  registrationNumber?: string | undefined;
307
307
  }[] | undefined;
@@ -318,17 +318,17 @@ export declare const JobOpportunitySchema: z.ZodObject<{
318
318
  phoneNumber: z.ZodString;
319
319
  email: z.ZodString;
320
320
  }, "strip", z.ZodTypeAny, {
321
- role: "host" | "user" | "admin" | "hr" | "sales";
322
321
  username: string;
323
322
  email: string;
324
323
  phoneNumber: string;
325
324
  countryCode: string;
326
- }, {
327
325
  role: "host" | "user" | "admin" | "hr" | "sales";
326
+ }, {
328
327
  username: string;
329
328
  email: string;
330
329
  phoneNumber: string;
331
330
  countryCode: string;
331
+ role: "host" | "user" | "admin" | "hr" | "sales";
332
332
  }>, "many">>;
333
333
  status: z.ZodEnum<["draft", "archived", "pending", "open", "closed", "denied", "deleted"]>;
334
334
  adminApproval: z.ZodBoolean;
@@ -411,7 +411,17 @@ export declare const JobOpportunitySchema: z.ZodObject<{
411
411
  securityPaidToHost: boolean;
412
412
  }>;
413
413
  }, "strict", z.ZodTypeAny, {
414
- status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
414
+ country: string;
415
+ status: "pending" | "denied" | "draft" | "archived" | "open" | "closed" | "deleted";
416
+ rating: number;
417
+ ratingCount: number;
418
+ reviewCount: number;
419
+ skills: string[];
420
+ city: string;
421
+ state: string;
422
+ title: string;
423
+ description: string;
424
+ images: string[];
415
425
  salary: {
416
426
  type: "free" | "stipend" | "salary" | "project-based";
417
427
  currency: string;
@@ -420,13 +430,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
420
430
  };
421
431
  slug: string;
422
432
  opportunityType: "job";
423
- title: string;
424
- skills: string[];
425
- description: string;
426
- images: string[];
427
- city: string;
428
- state: string;
429
- country: string;
430
433
  availableFrom: Date;
431
434
  minDuration: number;
432
435
  maxDuration: number;
@@ -441,15 +444,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
441
444
  applicationCount: number;
442
445
  views: number;
443
446
  shares: number;
444
- rating: number;
445
- ratingCount: number;
446
- reviewCount: number;
447
447
  hostId: {
448
- role: "host" | "user" | "admin" | "hr" | "sales";
449
- country: string;
450
- rating: number;
451
- ratingCount: number;
452
- reviewCount: number;
453
448
  username: string;
454
449
  firstName: string;
455
450
  lastName: string;
@@ -457,17 +452,17 @@ export declare const JobOpportunitySchema: z.ZodObject<{
457
452
  password: string;
458
453
  phoneNumber: string;
459
454
  countryCode: string;
455
+ country: string;
460
456
  gender: "male" | "female" | "other";
457
+ rating: number;
458
+ ratingCount: number;
459
+ reviewCount: number;
461
460
  joinedDate: Date;
462
461
  isActive: boolean;
463
462
  lastActive: Date;
464
463
  verifiedEmail: boolean;
465
464
  verifiedMobile: boolean;
466
- id?: string | undefined;
467
- skills?: {
468
- skill: string;
469
- skillExpertise: number;
470
- }[] | undefined;
465
+ role: "host" | "user" | "admin" | "hr" | "sales";
471
466
  location?: string | undefined;
472
467
  pinCode?: string | undefined;
473
468
  dob?: Date | undefined;
@@ -481,9 +476,14 @@ export declare const JobOpportunitySchema: z.ZodObject<{
481
476
  verifiedIdCard?: boolean | undefined;
482
477
  socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
483
478
  userResume?: string | undefined;
479
+ skills?: {
480
+ skill: string;
481
+ skillExpertise: number;
482
+ }[] | undefined;
484
483
  wishlist?: string[] | undefined;
485
484
  favBlogs?: string[] | undefined;
486
485
  favPackages?: string[] | undefined;
486
+ id?: string | undefined;
487
487
  selfie?: string | undefined;
488
488
  selfieAction?: string | undefined;
489
489
  jobCount?: number | undefined;
@@ -492,12 +492,12 @@ export declare const JobOpportunitySchema: z.ZodObject<{
492
492
  panCard?: string | undefined;
493
493
  verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
494
494
  properties?: {
495
+ country: string;
495
496
  type: string;
496
497
  name: string;
498
+ address: string;
497
499
  city: string;
498
500
  state: string;
499
- country: string;
500
- address: string;
501
501
  pinCode?: string | undefined;
502
502
  registrationNumber?: string | undefined;
503
503
  }[] | undefined;
@@ -530,8 +530,10 @@ export declare const JobOpportunitySchema: z.ZodObject<{
530
530
  employeeLeft: boolean;
531
531
  securityPaidToHost: boolean;
532
532
  };
533
- categoryId?: string | undefined;
534
533
  address?: string | undefined;
534
+ createdAt?: Date | undefined;
535
+ updatedAt?: Date | undefined;
536
+ categoryId?: string | undefined;
535
537
  workMode?: "onsite" | "remote" | "hybrid" | undefined;
536
538
  compensation?: {
537
539
  type: "free" | "stipend" | "salary" | "project-based";
@@ -549,16 +551,24 @@ export declare const JobOpportunitySchema: z.ZodObject<{
549
551
  pendingApplicationCount?: number | undefined;
550
552
  hostingType?: string | undefined;
551
553
  applicationObservers?: {
552
- role: "host" | "user" | "admin" | "hr" | "sales";
553
554
  username: string;
554
555
  email: string;
555
556
  phoneNumber: string;
556
557
  countryCode: string;
558
+ role: "host" | "user" | "admin" | "hr" | "sales";
557
559
  }[] | undefined;
558
- createdAt?: Date | undefined;
559
- updatedAt?: Date | undefined;
560
560
  }, {
561
- status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
561
+ country: string;
562
+ status: "pending" | "denied" | "draft" | "archived" | "open" | "closed" | "deleted";
563
+ rating: number;
564
+ ratingCount: number;
565
+ reviewCount: number;
566
+ skills: string[];
567
+ city: string;
568
+ state: string;
569
+ title: string;
570
+ description: string;
571
+ images: string[];
562
572
  salary: {
563
573
  type: "free" | "stipend" | "salary" | "project-based";
564
574
  currency: string;
@@ -567,13 +577,6 @@ export declare const JobOpportunitySchema: z.ZodObject<{
567
577
  };
568
578
  slug: string;
569
579
  opportunityType: "job";
570
- title: string;
571
- skills: string[];
572
- description: string;
573
- images: string[];
574
- city: string;
575
- state: string;
576
- country: string;
577
580
  availableFrom: Date;
578
581
  minDuration: number;
579
582
  maxDuration: number;
@@ -588,15 +591,7 @@ export declare const JobOpportunitySchema: z.ZodObject<{
588
591
  applicationCount: number;
589
592
  views: number;
590
593
  shares: number;
591
- rating: number;
592
- ratingCount: number;
593
- reviewCount: number;
594
594
  hostId: {
595
- role: "host" | "user" | "admin" | "hr" | "sales";
596
- country: string;
597
- rating: number;
598
- ratingCount: number;
599
- reviewCount: number;
600
595
  username: string;
601
596
  firstName: string;
602
597
  lastName: string;
@@ -604,17 +599,17 @@ export declare const JobOpportunitySchema: z.ZodObject<{
604
599
  password: string;
605
600
  phoneNumber: string;
606
601
  countryCode: string;
602
+ country: string;
607
603
  gender: "male" | "female" | "other";
604
+ rating: number;
605
+ ratingCount: number;
606
+ reviewCount: number;
608
607
  joinedDate: Date;
609
608
  isActive: boolean;
610
609
  lastActive: Date;
611
610
  verifiedEmail: boolean;
612
611
  verifiedMobile: boolean;
613
- id?: string | undefined;
614
- skills?: {
615
- skill: string;
616
- skillExpertise: number;
617
- }[] | undefined;
612
+ role: "host" | "user" | "admin" | "hr" | "sales";
618
613
  location?: string | undefined;
619
614
  pinCode?: string | undefined;
620
615
  dob?: Date | undefined;
@@ -628,9 +623,14 @@ export declare const JobOpportunitySchema: z.ZodObject<{
628
623
  verifiedIdCard?: boolean | undefined;
629
624
  socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
630
625
  userResume?: string | undefined;
626
+ skills?: {
627
+ skill: string;
628
+ skillExpertise: number;
629
+ }[] | undefined;
631
630
  wishlist?: string[] | undefined;
632
631
  favBlogs?: string[] | undefined;
633
632
  favPackages?: string[] | undefined;
633
+ id?: string | undefined;
634
634
  selfie?: string | undefined;
635
635
  selfieAction?: string | undefined;
636
636
  jobCount?: number | undefined;
@@ -639,12 +639,12 @@ export declare const JobOpportunitySchema: z.ZodObject<{
639
639
  panCard?: string | undefined;
640
640
  verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
641
641
  properties?: {
642
+ country: string;
642
643
  type: string;
643
644
  name: string;
645
+ address: string;
644
646
  city: string;
645
647
  state: string;
646
- country: string;
647
- address: string;
648
648
  pinCode?: string | undefined;
649
649
  registrationNumber?: string | undefined;
650
650
  }[] | undefined;
@@ -677,8 +677,10 @@ export declare const JobOpportunitySchema: z.ZodObject<{
677
677
  employeeLeft: boolean;
678
678
  securityPaidToHost: boolean;
679
679
  };
680
- categoryId?: string | undefined;
681
680
  address?: string | undefined;
681
+ createdAt?: Date | undefined;
682
+ updatedAt?: Date | undefined;
683
+ categoryId?: string | undefined;
682
684
  workMode?: "onsite" | "remote" | "hybrid" | undefined;
683
685
  compensation?: {
684
686
  type: "free" | "stipend" | "salary" | "project-based";
@@ -696,13 +698,11 @@ export declare const JobOpportunitySchema: z.ZodObject<{
696
698
  pendingApplicationCount?: number | undefined;
697
699
  hostingType?: string | undefined;
698
700
  applicationObservers?: {
699
- role: "host" | "user" | "admin" | "hr" | "sales";
700
701
  username: string;
701
702
  email: string;
702
703
  phoneNumber: string;
703
704
  countryCode: string;
705
+ role: "host" | "user" | "admin" | "hr" | "sales";
704
706
  }[] | undefined;
705
- createdAt?: Date | undefined;
706
- updatedAt?: Date | undefined;
707
707
  }>;
708
708
  //# sourceMappingURL=job.d.ts.map