@thejob/schema 1.0.10 → 1.0.12

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 (57) hide show
  1. package/dist/cjs/common/common.schema.d.ts +2 -2
  2. package/dist/cjs/common/common.schema.d.ts.map +1 -1
  3. package/dist/cjs/common/common.schema.js +2 -1
  4. package/dist/cjs/interfaces.index.d.ts +836 -136
  5. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  6. package/dist/cjs/job/job.schema.d.ts +59 -6
  7. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  8. package/dist/cjs/job/job.schema.js +1 -15
  9. package/dist/cjs/job-application/job-application.schema.d.ts +124 -16
  10. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  11. package/dist/cjs/job-role-template/job-role-template.schema.d.ts +1 -1
  12. package/dist/cjs/page/page.schema.d.ts +1 -2
  13. package/dist/cjs/page/page.schema.d.ts.map +1 -1
  14. package/dist/cjs/resume/resume.schema.d.ts +125 -17
  15. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  16. package/dist/cjs/skill/skill.schema.d.ts +2 -2
  17. package/dist/cjs/user/education/education.schema.d.ts +59 -5
  18. package/dist/cjs/user/education/education.schema.d.ts.map +1 -1
  19. package/dist/cjs/user/education/education.schema.js +5 -1
  20. package/dist/cjs/user/update-education.schema.d.ts +59 -5
  21. package/dist/cjs/user/update-education.schema.d.ts.map +1 -1
  22. package/dist/cjs/user/update-work-experience.schema.d.ts +62 -8
  23. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  24. package/dist/cjs/user/user.schema.d.ts +121 -13
  25. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  26. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +59 -5
  27. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  28. package/dist/cjs/user/work-experience/work-experience.schema.js +5 -1
  29. package/dist/esm/common/common.schema.d.ts +2 -2
  30. package/dist/esm/common/common.schema.d.ts.map +1 -1
  31. package/dist/esm/common/common.schema.js +2 -1
  32. package/dist/esm/interfaces.index.d.ts +836 -136
  33. package/dist/esm/interfaces.index.d.ts.map +1 -1
  34. package/dist/esm/job/job.schema.d.ts +59 -6
  35. package/dist/esm/job/job.schema.d.ts.map +1 -1
  36. package/dist/esm/job/job.schema.js +2 -16
  37. package/dist/esm/job-application/job-application.schema.d.ts +124 -16
  38. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  39. package/dist/esm/job-role-template/job-role-template.schema.d.ts +1 -1
  40. package/dist/esm/page/page.schema.d.ts +1 -2
  41. package/dist/esm/page/page.schema.d.ts.map +1 -1
  42. package/dist/esm/resume/resume.schema.d.ts +125 -17
  43. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  44. package/dist/esm/skill/skill.schema.d.ts +2 -2
  45. package/dist/esm/user/education/education.schema.d.ts +59 -5
  46. package/dist/esm/user/education/education.schema.d.ts.map +1 -1
  47. package/dist/esm/user/education/education.schema.js +5 -1
  48. package/dist/esm/user/update-education.schema.d.ts +59 -5
  49. package/dist/esm/user/update-education.schema.d.ts.map +1 -1
  50. package/dist/esm/user/update-work-experience.schema.d.ts +62 -8
  51. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  52. package/dist/esm/user/user.schema.d.ts +121 -13
  53. package/dist/esm/user/user.schema.d.ts.map +1 -1
  54. package/dist/esm/user/work-experience/work-experience.schema.d.ts +59 -5
  55. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  56. package/dist/esm/user/work-experience/work-experience.schema.js +5 -1
  57. package/package.json +1 -1
@@ -16,7 +16,7 @@ export interface ITermsAndConditionSchema {
16
16
  export interface IDBDefaultSchema {
17
17
  updatedBy?: string | undefined;
18
18
  updatedAt?: string | undefined;
19
- _id: string;
19
+ id: string;
20
20
  shortId: string;
21
21
  createdBy: string;
22
22
  createdAt: string;
@@ -135,6 +135,7 @@ export interface IJobSchema {
135
135
  };
136
136
  } | undefined;
137
137
  externalApplyLink?: string | undefined;
138
+ isOwner?: boolean | undefined;
138
139
  skills?: ({
139
140
  logo?: string | undefined;
140
141
  name: string;
@@ -162,12 +163,12 @@ export interface IJobSchema {
162
163
  questionnaire?: {
163
164
  description?: string | undefined;
164
165
  label?: string | undefined;
166
+ isNew?: boolean | undefined;
165
167
  isOptional?: boolean | undefined;
166
168
  readonly?: boolean | undefined;
167
169
  preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
168
170
  optionsFrom?: string | undefined;
169
171
  answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
170
- isNew?: boolean | undefined;
171
172
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
172
173
  default: boolean;
173
174
  title: string;
@@ -185,7 +186,6 @@ export interface IJobSchema {
185
186
  canCreateAlert?: boolean | undefined;
186
187
  canDirectApply?: boolean | undefined;
187
188
  hasApplied?: boolean | undefined;
188
- isOwner?: boolean | undefined;
189
189
  hasBookmarked?: boolean | undefined;
190
190
  applicantCount?: number | undefined;
191
191
  ratePerHour?: number | undefined;
@@ -202,8 +202,8 @@ export interface IJobSchema {
202
202
  createdAt: string;
203
203
  userId: string;
204
204
  }[] | undefined;
205
+ id: string;
205
206
  termsAccepted: NonNullable<boolean | undefined>;
206
- _id: string;
207
207
  shortId: string;
208
208
  createdBy: string;
209
209
  createdAt: string;
@@ -211,15 +211,81 @@ export interface IJobSchema {
211
211
  slug: string;
212
212
  headline: string;
213
213
  applicationReceivePreference: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ApplicationReceivePreference | undefined>;
214
+ locations: {
215
+ state?: string | undefined;
216
+ stateCode?: string | undefined;
217
+ address: string;
218
+ country: string;
219
+ countryCode: string;
220
+ city: string;
221
+ latLong: {
222
+ country?: (number | undefined)[] | undefined;
223
+ state?: number[] | undefined;
224
+ city?: number[] | undefined;
225
+ };
226
+ }[];
214
227
  company: NonNullable<{
215
228
  value: "others" | (string | undefined)[];
216
229
  otherValue: string | string[];
217
- } | {
230
+ } | Pick<{
231
+ updatedBy?: string | undefined;
232
+ updatedAt?: string | undefined;
233
+ headline?: string | undefined;
234
+ employeeCount?: string | undefined;
235
+ yearFounded?: string | undefined;
236
+ locations?: {
237
+ coverImage?: string | undefined;
238
+ name: string;
239
+ isHeadquarters: boolean;
240
+ contact: {
241
+ email?: string | undefined;
242
+ phone?: string | undefined;
243
+ address: string;
244
+ };
245
+ }[] | undefined;
246
+ contacts?: {
247
+ label?: string | undefined;
248
+ value: string;
249
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
250
+ isPrimary: boolean;
251
+ isVerified: boolean;
252
+ }[] | undefined;
253
+ verified?: Date | undefined;
254
+ socialAccounts?: {
255
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
256
+ isNew: boolean;
257
+ url: string;
258
+ }[] | undefined;
259
+ isOwner?: boolean | undefined;
260
+ equalOpportunityEmployer?: boolean | undefined;
261
+ perksAndBenefits?: {
262
+ category?: {
263
+ logo?: string | undefined;
264
+ name: string;
265
+ id: string;
266
+ } | null | undefined;
267
+ name: string;
268
+ description: string;
269
+ }[] | undefined;
218
270
  name: string;
271
+ id: string;
272
+ logo: {
273
+ dark?: string | undefined;
274
+ light: string;
275
+ } | null;
276
+ shortId: string;
277
+ createdBy: string;
278
+ createdAt: string;
279
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
219
280
  slug: string;
220
- type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
221
- logo?: string | undefined;
222
- } | undefined>;
281
+ about: string;
282
+ website: string;
283
+ categories: {
284
+ logo?: string | undefined;
285
+ name: string;
286
+ id: string;
287
+ }[];
288
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
223
289
  designation: NonNullable<{
224
290
  logo?: string | undefined;
225
291
  name: string;
@@ -232,19 +298,6 @@ export interface IJobSchema {
232
298
  workMode: string;
233
299
  descriptionMarkdown: string;
234
300
  descriptionHTML: string;
235
- locations: {
236
- state?: string | undefined;
237
- stateCode?: string | undefined;
238
- country: string;
239
- countryCode: string;
240
- city: string;
241
- address: string;
242
- latLong: {
243
- country?: (number | undefined)[] | undefined;
244
- state?: number[] | undefined;
245
- city?: number[] | undefined;
246
- };
247
- }[];
248
301
  educationLevel: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel | undefined)[];
249
302
  status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job/job.constant").JobStatus | undefined>;
250
303
  validity: {
@@ -268,12 +321,12 @@ export interface IobRoleTemplate {
268
321
  questionnaire?: ({
269
322
  description?: string | undefined;
270
323
  label?: string | undefined;
324
+ isNew?: boolean | undefined;
271
325
  isOptional?: boolean | undefined;
272
326
  readonly?: boolean | undefined;
273
327
  preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
274
328
  optionsFrom?: string | undefined;
275
329
  answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
276
- isNew?: boolean | undefined;
277
330
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
278
331
  default: boolean;
279
332
  title: string;
@@ -296,6 +349,7 @@ export interface IJobApplicationSchema {
296
349
  questionnaire?: {
297
350
  description?: string | undefined;
298
351
  label?: string | undefined;
352
+ isNew?: boolean | undefined;
299
353
  isOptional?: boolean | undefined;
300
354
  readonly?: boolean | undefined;
301
355
  preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
@@ -308,7 +362,6 @@ export interface IJobApplicationSchema {
308
362
  value: "others" | (string | undefined)[];
309
363
  otherValue: string | string[];
310
364
  } | undefined;
311
- isNew?: boolean | undefined;
312
365
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
313
366
  default: boolean;
314
367
  title: string;
@@ -327,14 +380,14 @@ export interface IJobApplicationSchema {
327
380
  first: string;
328
381
  last: string;
329
382
  };
330
- _id: string;
383
+ id: string;
331
384
  shortId: string;
332
385
  createdBy: string;
333
386
  createdAt: string;
334
387
  userId: string;
388
+ email: string;
335
389
  experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
336
390
  status: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job-application/job-application.constant").JobApplicationStatus;
337
- email: string;
338
391
  emailVerified: NonNullable<boolean | undefined>;
339
392
  mobile: {
340
393
  number: string;
@@ -349,10 +402,10 @@ export interface IJobApplicationSchema {
349
402
  location: {
350
403
  state?: string | undefined;
351
404
  stateCode?: string | undefined;
405
+ address: string;
352
406
  country: string;
353
407
  countryCode: string;
354
408
  city: string;
355
- address: string;
356
409
  latLong: {
357
410
  country?: (number | undefined)[] | undefined;
358
411
  state?: number[] | undefined;
@@ -372,13 +425,67 @@ export interface IJobApplicationSchema {
372
425
  recentWork: {
373
426
  description?: string | undefined;
374
427
  company: NonNullable<{
375
- logo?: string | undefined;
376
- name: string;
377
- id: string;
378
- } | {
379
428
  value: "others" | (string | undefined)[];
380
429
  otherValue: string | string[];
381
- } | undefined>;
430
+ } | Pick<{
431
+ updatedBy?: string | undefined;
432
+ updatedAt?: string | undefined;
433
+ headline?: string | undefined;
434
+ employeeCount?: string | undefined;
435
+ yearFounded?: string | undefined;
436
+ locations?: {
437
+ coverImage?: string | undefined;
438
+ name: string;
439
+ isHeadquarters: boolean;
440
+ contact: {
441
+ email?: string | undefined;
442
+ phone?: string | undefined;
443
+ address: string;
444
+ };
445
+ }[] | undefined;
446
+ contacts?: {
447
+ label?: string | undefined;
448
+ value: string;
449
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
450
+ isPrimary: boolean;
451
+ isVerified: boolean;
452
+ }[] | undefined;
453
+ verified?: Date | undefined;
454
+ socialAccounts?: {
455
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
456
+ isNew: boolean;
457
+ url: string;
458
+ }[] | undefined;
459
+ isOwner?: boolean | undefined;
460
+ equalOpportunityEmployer?: boolean | undefined;
461
+ perksAndBenefits?: {
462
+ category?: {
463
+ logo?: string | undefined;
464
+ name: string;
465
+ id: string;
466
+ } | null | undefined;
467
+ name: string;
468
+ description: string;
469
+ }[] | undefined;
470
+ name: string;
471
+ id: string;
472
+ logo: {
473
+ dark?: string | undefined;
474
+ light: string;
475
+ } | null;
476
+ shortId: string;
477
+ createdBy: string;
478
+ createdAt: string;
479
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
480
+ slug: string;
481
+ about: string;
482
+ website: string;
483
+ categories: {
484
+ logo?: string | undefined;
485
+ name: string;
486
+ id: string;
487
+ }[];
488
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
382
489
  designation: NonNullable<{
383
490
  logo?: string | undefined;
384
491
  name: string;
@@ -396,10 +503,10 @@ export interface IJobApplicationSchema {
396
503
  location: {
397
504
  state?: string | undefined;
398
505
  stateCode?: string | undefined;
506
+ address: string;
399
507
  country: string;
400
508
  countryCode: string;
401
509
  city: string;
402
- address: string;
403
510
  latLong: {
404
511
  country?: (number | undefined)[] | undefined;
405
512
  state?: number[] | undefined;
@@ -417,10 +524,10 @@ export interface IJobApplicationSchema {
417
524
  location: {
418
525
  state?: string | undefined;
419
526
  stateCode?: string | undefined;
527
+ address: string;
420
528
  country: string;
421
529
  countryCode: string;
422
530
  city: string;
423
- address: string;
424
531
  latLong: {
425
532
  country?: (number | undefined)[] | undefined;
426
533
  state?: number[] | undefined;
@@ -428,13 +535,67 @@ export interface IJobApplicationSchema {
428
535
  };
429
536
  };
430
537
  institute: NonNullable<{
431
- logo?: string | undefined;
432
- name: string;
433
- id: string;
434
- } | {
435
538
  value: "others" | (string | undefined)[];
436
539
  otherValue: string | string[];
437
- } | undefined>;
540
+ } | Pick<{
541
+ updatedBy?: string | undefined;
542
+ updatedAt?: string | undefined;
543
+ headline?: string | undefined;
544
+ employeeCount?: string | undefined;
545
+ yearFounded?: string | undefined;
546
+ locations?: {
547
+ coverImage?: string | undefined;
548
+ name: string;
549
+ isHeadquarters: boolean;
550
+ contact: {
551
+ email?: string | undefined;
552
+ phone?: string | undefined;
553
+ address: string;
554
+ };
555
+ }[] | undefined;
556
+ contacts?: {
557
+ label?: string | undefined;
558
+ value: string;
559
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
560
+ isPrimary: boolean;
561
+ isVerified: boolean;
562
+ }[] | undefined;
563
+ verified?: Date | undefined;
564
+ socialAccounts?: {
565
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
566
+ isNew: boolean;
567
+ url: string;
568
+ }[] | undefined;
569
+ isOwner?: boolean | undefined;
570
+ equalOpportunityEmployer?: boolean | undefined;
571
+ perksAndBenefits?: {
572
+ category?: {
573
+ logo?: string | undefined;
574
+ name: string;
575
+ id: string;
576
+ } | null | undefined;
577
+ name: string;
578
+ description: string;
579
+ }[] | undefined;
580
+ name: string;
581
+ id: string;
582
+ logo: {
583
+ dark?: string | undefined;
584
+ light: string;
585
+ } | null;
586
+ shortId: string;
587
+ createdBy: string;
588
+ createdAt: string;
589
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
590
+ slug: string;
591
+ about: string;
592
+ website: string;
593
+ categories: {
594
+ logo?: string | undefined;
595
+ name: string;
596
+ id: string;
597
+ }[];
598
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
438
599
  course: NonNullable<{
439
600
  logo?: string | undefined;
440
601
  name: string;
@@ -468,12 +629,12 @@ export interface IJobRoleTemplateSchema {
468
629
  questionnaire?: {
469
630
  description?: string | undefined;
470
631
  label?: string | undefined;
632
+ isNew?: boolean | undefined;
471
633
  isOptional?: boolean | undefined;
472
634
  readonly?: boolean | undefined;
473
635
  preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
474
636
  optionsFrom?: string | undefined;
475
637
  answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
476
- isNew?: boolean | undefined;
477
638
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
478
639
  default: boolean;
479
640
  title: string;
@@ -505,10 +666,10 @@ export interface ILanguageSchema {
505
666
  export interface ILocationSchema {
506
667
  state?: string | undefined;
507
668
  stateCode?: string | undefined;
669
+ address: string;
508
670
  country: string;
509
671
  countryCode: string;
510
672
  city: string;
511
- address: string;
512
673
  latLong: {
513
674
  country?: (number | undefined)[] | undefined;
514
675
  state?: number[] | undefined;
@@ -519,6 +680,8 @@ export interface IPageSchema {
519
680
  updatedBy?: string | undefined;
520
681
  updatedAt?: string | undefined;
521
682
  headline?: string | undefined;
683
+ employeeCount?: string | undefined;
684
+ yearFounded?: string | undefined;
522
685
  locations?: {
523
686
  coverImage?: string | undefined;
524
687
  name: string;
@@ -529,9 +692,6 @@ export interface IPageSchema {
529
692
  address: string;
530
693
  };
531
694
  }[] | undefined;
532
- isOwner?: boolean | undefined;
533
- employeeCount?: string | undefined;
534
- yearFounded?: string | undefined;
535
695
  contacts?: {
536
696
  label?: string | undefined;
537
697
  value: string;
@@ -545,6 +705,7 @@ export interface IPageSchema {
545
705
  isNew: boolean;
546
706
  url: string;
547
707
  }[] | undefined;
708
+ isOwner?: boolean | undefined;
548
709
  equalOpportunityEmployer?: boolean | undefined;
549
710
  perksAndBenefits?: {
550
711
  category?: {
@@ -561,7 +722,6 @@ export interface IPageSchema {
561
722
  dark?: string | undefined;
562
723
  light: string;
563
724
  } | null;
564
- _id: string;
565
725
  shortId: string;
566
726
  createdBy: string;
567
727
  createdAt: string;
@@ -595,12 +755,12 @@ export interface IMobileNumberSchema {
595
755
  export interface IChoiceQuestionSchema {
596
756
  description?: string | undefined;
597
757
  label?: string | undefined;
758
+ isNew?: boolean | undefined;
598
759
  isOptional?: boolean | undefined;
599
760
  readonly?: boolean | undefined;
600
761
  preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
601
762
  optionsFrom?: string | undefined;
602
763
  answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
603
- isNew?: boolean | undefined;
604
764
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
605
765
  default: boolean;
606
766
  title: string;
@@ -617,8 +777,9 @@ export interface IChoiceQuestionSchema {
617
777
  export interface IInputQuestionSchema {
618
778
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
619
779
  description?: string | undefined;
620
- default: boolean;
621
780
  label?: string | undefined;
781
+ isNew?: boolean | undefined;
782
+ default: boolean;
622
783
  title: string;
623
784
  isOptional?: boolean | undefined;
624
785
  readonly?: boolean | undefined;
@@ -626,7 +787,6 @@ export interface IInputQuestionSchema {
626
787
  optionsFrom?: string | undefined;
627
788
  answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
628
789
  answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
629
- isNew?: boolean | undefined;
630
790
  }
631
791
  export interface IMixedValue {
632
792
  toString: (() => string) | ((radix?: number | undefined) => string) | (() => string) | (() => string);
@@ -642,8 +802,9 @@ export interface IMixedValue {
642
802
  export interface IQuestionSchema {
643
803
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
644
804
  description?: string | undefined;
645
- default: boolean;
646
805
  label?: string | undefined;
806
+ isNew?: boolean | undefined;
807
+ default: boolean;
647
808
  title: string;
648
809
  isOptional?: boolean | undefined;
649
810
  readonly?: boolean | undefined;
@@ -651,7 +812,6 @@ export interface IQuestionSchema {
651
812
  optionsFrom?: string | undefined;
652
813
  answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
653
814
  answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
654
- isNew?: boolean | undefined;
655
815
  options: (string | {
656
816
  logo?: string | undefined;
657
817
  name: string;
@@ -664,12 +824,12 @@ export interface IQuestionSchema {
664
824
  export interface IReadAndAcknowledgeQuestionSchema {
665
825
  description?: string | undefined;
666
826
  label?: string | undefined;
827
+ isNew?: boolean | undefined;
667
828
  isOptional?: boolean | undefined;
668
829
  readonly?: boolean | undefined;
669
830
  preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
670
831
  optionsFrom?: string | undefined;
671
832
  answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
672
- isNew?: boolean | undefined;
673
833
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
674
834
  default: boolean;
675
835
  title: string;
@@ -752,9 +912,9 @@ export interface IResumeAdditionalInfoSchema {
752
912
  export interface IResumeReferenceSectionSchema {
753
913
  profileUrl?: string | undefined;
754
914
  name: string;
915
+ email: string;
755
916
  company: string;
756
917
  designation: string;
757
- email: string;
758
918
  mobile: string;
759
919
  workedDirectly: boolean;
760
920
  }
@@ -829,9 +989,9 @@ export interface IResumeSectionMap {
829
989
  reference: {
830
990
  profileUrl?: string | undefined;
831
991
  name: string;
992
+ email: string;
832
993
  company: string;
833
994
  designation: string;
834
- email: string;
835
995
  mobile: string;
836
996
  workedDirectly: boolean;
837
997
  };
@@ -898,9 +1058,9 @@ export interface IResumeSectionSchema {
898
1058
  } | {
899
1059
  profileUrl?: string | undefined;
900
1060
  name: string;
1061
+ email: string;
901
1062
  company: string;
902
1063
  designation: string;
903
- email: string;
904
1064
  mobile: string;
905
1065
  workedDirectly: boolean;
906
1066
  })[];
@@ -908,7 +1068,7 @@ export interface IResumeSectionSchema {
908
1068
  export interface IResumeSchema {
909
1069
  updatedBy?: string | undefined;
910
1070
  updatedAt?: string | undefined;
911
- _id: string;
1071
+ id: string;
912
1072
  shortId: string;
913
1073
  createdBy: string;
914
1074
  createdAt: string;
@@ -931,6 +1091,12 @@ export interface INewResumePromptSchema {
931
1091
  first: string;
932
1092
  last: string;
933
1093
  };
1094
+ email: string;
1095
+ socialAccounts: {
1096
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1097
+ isNew: boolean;
1098
+ url: string;
1099
+ }[];
934
1100
  skills: {
935
1101
  proficiencyLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ProficiencyLevel | undefined>;
936
1102
  lastUsed: string;
@@ -945,7 +1111,6 @@ export interface INewResumePromptSchema {
945
1111
  }[];
946
1112
  experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
947
1113
  status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserStatus | undefined>;
948
- email: string;
949
1114
  mobile: {
950
1115
  number: string;
951
1116
  country: {
@@ -958,31 +1123,80 @@ export interface INewResumePromptSchema {
958
1123
  location: {
959
1124
  state?: string | undefined;
960
1125
  stateCode?: string | undefined;
1126
+ address: string;
961
1127
  country: string;
962
1128
  countryCode: string;
963
1129
  city: string;
964
- address: string;
965
1130
  latLong: {
966
1131
  country?: (number | undefined)[] | undefined;
967
1132
  state?: number[] | undefined;
968
1133
  city?: number[] | undefined;
969
1134
  };
970
1135
  };
971
- socialAccounts: {
972
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
973
- isNew: boolean;
974
- url: string;
975
- }[];
976
1136
  workExperiences: {
977
1137
  description?: string | undefined;
978
1138
  company: NonNullable<{
979
- logo?: string | undefined;
980
- name: string;
981
- id: string;
982
- } | {
983
1139
  value: "others" | (string | undefined)[];
984
1140
  otherValue: string | string[];
985
- } | undefined>;
1141
+ } | Pick<{
1142
+ updatedBy?: string | undefined;
1143
+ updatedAt?: string | undefined;
1144
+ headline?: string | undefined;
1145
+ employeeCount?: string | undefined;
1146
+ yearFounded?: string | undefined;
1147
+ locations?: {
1148
+ coverImage?: string | undefined;
1149
+ name: string;
1150
+ isHeadquarters: boolean;
1151
+ contact: {
1152
+ email?: string | undefined;
1153
+ phone?: string | undefined;
1154
+ address: string;
1155
+ };
1156
+ }[] | undefined;
1157
+ contacts?: {
1158
+ label?: string | undefined;
1159
+ value: string;
1160
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1161
+ isPrimary: boolean;
1162
+ isVerified: boolean;
1163
+ }[] | undefined;
1164
+ verified?: Date | undefined;
1165
+ socialAccounts?: {
1166
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1167
+ isNew: boolean;
1168
+ url: string;
1169
+ }[] | undefined;
1170
+ isOwner?: boolean | undefined;
1171
+ equalOpportunityEmployer?: boolean | undefined;
1172
+ perksAndBenefits?: {
1173
+ category?: {
1174
+ logo?: string | undefined;
1175
+ name: string;
1176
+ id: string;
1177
+ } | null | undefined;
1178
+ name: string;
1179
+ description: string;
1180
+ }[] | undefined;
1181
+ name: string;
1182
+ id: string;
1183
+ logo: {
1184
+ dark?: string | undefined;
1185
+ light: string;
1186
+ } | null;
1187
+ shortId: string;
1188
+ createdBy: string;
1189
+ createdAt: string;
1190
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1191
+ slug: string;
1192
+ about: string;
1193
+ website: string;
1194
+ categories: {
1195
+ logo?: string | undefined;
1196
+ name: string;
1197
+ id: string;
1198
+ }[];
1199
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
986
1200
  designation: NonNullable<{
987
1201
  logo?: string | undefined;
988
1202
  name: string;
@@ -1000,10 +1214,10 @@ export interface INewResumePromptSchema {
1000
1214
  location: {
1001
1215
  state?: string | undefined;
1002
1216
  stateCode?: string | undefined;
1217
+ address: string;
1003
1218
  country: string;
1004
1219
  countryCode: string;
1005
1220
  city: string;
1006
- address: string;
1007
1221
  latLong: {
1008
1222
  country?: (number | undefined)[] | undefined;
1009
1223
  state?: number[] | undefined;
@@ -1021,10 +1235,10 @@ export interface INewResumePromptSchema {
1021
1235
  location: {
1022
1236
  state?: string | undefined;
1023
1237
  stateCode?: string | undefined;
1238
+ address: string;
1024
1239
  country: string;
1025
1240
  countryCode: string;
1026
1241
  city: string;
1027
- address: string;
1028
1242
  latLong: {
1029
1243
  country?: (number | undefined)[] | undefined;
1030
1244
  state?: number[] | undefined;
@@ -1032,13 +1246,67 @@ export interface INewResumePromptSchema {
1032
1246
  };
1033
1247
  };
1034
1248
  institute: NonNullable<{
1035
- logo?: string | undefined;
1036
- name: string;
1037
- id: string;
1038
- } | {
1039
1249
  value: "others" | (string | undefined)[];
1040
1250
  otherValue: string | string[];
1041
- } | undefined>;
1251
+ } | Pick<{
1252
+ updatedBy?: string | undefined;
1253
+ updatedAt?: string | undefined;
1254
+ headline?: string | undefined;
1255
+ employeeCount?: string | undefined;
1256
+ yearFounded?: string | undefined;
1257
+ locations?: {
1258
+ coverImage?: string | undefined;
1259
+ name: string;
1260
+ isHeadquarters: boolean;
1261
+ contact: {
1262
+ email?: string | undefined;
1263
+ phone?: string | undefined;
1264
+ address: string;
1265
+ };
1266
+ }[] | undefined;
1267
+ contacts?: {
1268
+ label?: string | undefined;
1269
+ value: string;
1270
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1271
+ isPrimary: boolean;
1272
+ isVerified: boolean;
1273
+ }[] | undefined;
1274
+ verified?: Date | undefined;
1275
+ socialAccounts?: {
1276
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1277
+ isNew: boolean;
1278
+ url: string;
1279
+ }[] | undefined;
1280
+ isOwner?: boolean | undefined;
1281
+ equalOpportunityEmployer?: boolean | undefined;
1282
+ perksAndBenefits?: {
1283
+ category?: {
1284
+ logo?: string | undefined;
1285
+ name: string;
1286
+ id: string;
1287
+ } | null | undefined;
1288
+ name: string;
1289
+ description: string;
1290
+ }[] | undefined;
1291
+ name: string;
1292
+ id: string;
1293
+ logo: {
1294
+ dark?: string | undefined;
1295
+ light: string;
1296
+ } | null;
1297
+ shortId: string;
1298
+ createdBy: string;
1299
+ createdAt: string;
1300
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1301
+ slug: string;
1302
+ about: string;
1303
+ website: string;
1304
+ categories: {
1305
+ logo?: string | undefined;
1306
+ name: string;
1307
+ id: string;
1308
+ }[];
1309
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1042
1310
  course: NonNullable<{
1043
1311
  logo?: string | undefined;
1044
1312
  name: string;
@@ -1098,8 +1366,8 @@ export interface INewResumePromptSchema {
1098
1366
  }[];
1099
1367
  additionalInfo: {
1100
1368
  description: string;
1101
- title: string;
1102
1369
  isNew: boolean;
1370
+ title: string;
1103
1371
  }[];
1104
1372
  roles: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserRole | undefined)[];
1105
1373
  };
@@ -1112,7 +1380,7 @@ export interface ISkillSchema {
1112
1380
  updatedAt?: string | undefined;
1113
1381
  tags?: (string | undefined)[] | undefined;
1114
1382
  name: string;
1115
- _id: string;
1383
+ id: string;
1116
1384
  shortId: string;
1117
1385
  createdBy: string;
1118
1386
  createdAt: string;
@@ -1134,8 +1402,8 @@ export interface ICreateUserSchema {
1134
1402
  export interface IUpdateUserAdditionalInfoSchema {
1135
1403
  additionalInfo: {
1136
1404
  description: string;
1137
- title: string;
1138
1405
  isNew: boolean;
1406
+ title: string;
1139
1407
  }[];
1140
1408
  }
1141
1409
  export interface IUpdateCertificationsSchema {
@@ -1162,10 +1430,10 @@ export interface IUpdateEducationsSchema {
1162
1430
  location: {
1163
1431
  state?: string | undefined;
1164
1432
  stateCode?: string | undefined;
1433
+ address: string;
1165
1434
  country: string;
1166
1435
  countryCode: string;
1167
1436
  city: string;
1168
- address: string;
1169
1437
  latLong: {
1170
1438
  country?: (number | undefined)[] | undefined;
1171
1439
  state?: number[] | undefined;
@@ -1173,13 +1441,67 @@ export interface IUpdateEducationsSchema {
1173
1441
  };
1174
1442
  };
1175
1443
  institute: NonNullable<{
1176
- logo?: string | undefined;
1177
- name: string;
1178
- id: string;
1179
- } | {
1180
1444
  value: "others" | (string | undefined)[];
1181
1445
  otherValue: string | string[];
1182
- } | undefined>;
1446
+ } | Pick<{
1447
+ updatedBy?: string | undefined;
1448
+ updatedAt?: string | undefined;
1449
+ headline?: string | undefined;
1450
+ employeeCount?: string | undefined;
1451
+ yearFounded?: string | undefined;
1452
+ locations?: {
1453
+ coverImage?: string | undefined;
1454
+ name: string;
1455
+ isHeadquarters: boolean;
1456
+ contact: {
1457
+ email?: string | undefined;
1458
+ phone?: string | undefined;
1459
+ address: string;
1460
+ };
1461
+ }[] | undefined;
1462
+ contacts?: {
1463
+ label?: string | undefined;
1464
+ value: string;
1465
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1466
+ isPrimary: boolean;
1467
+ isVerified: boolean;
1468
+ }[] | undefined;
1469
+ verified?: Date | undefined;
1470
+ socialAccounts?: {
1471
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1472
+ isNew: boolean;
1473
+ url: string;
1474
+ }[] | undefined;
1475
+ isOwner?: boolean | undefined;
1476
+ equalOpportunityEmployer?: boolean | undefined;
1477
+ perksAndBenefits?: {
1478
+ category?: {
1479
+ logo?: string | undefined;
1480
+ name: string;
1481
+ id: string;
1482
+ } | null | undefined;
1483
+ name: string;
1484
+ description: string;
1485
+ }[] | undefined;
1486
+ name: string;
1487
+ id: string;
1488
+ logo: {
1489
+ dark?: string | undefined;
1490
+ light: string;
1491
+ } | null;
1492
+ shortId: string;
1493
+ createdBy: string;
1494
+ createdAt: string;
1495
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1496
+ slug: string;
1497
+ about: string;
1498
+ website: string;
1499
+ categories: {
1500
+ logo?: string | undefined;
1501
+ name: string;
1502
+ id: string;
1503
+ }[];
1504
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1183
1505
  course: NonNullable<{
1184
1506
  logo?: string | undefined;
1185
1507
  name: string;
@@ -1268,13 +1590,67 @@ export interface IUpdateWorkExperiencesSchema {
1268
1590
  workExperiences: {
1269
1591
  description?: string | undefined;
1270
1592
  company: NonNullable<{
1271
- logo?: string | undefined;
1272
- name: string;
1273
- id: string;
1274
- } | {
1275
1593
  value: "others" | (string | undefined)[];
1276
1594
  otherValue: string | string[];
1277
- } | undefined>;
1595
+ } | Pick<{
1596
+ updatedBy?: string | undefined;
1597
+ updatedAt?: string | undefined;
1598
+ headline?: string | undefined;
1599
+ employeeCount?: string | undefined;
1600
+ yearFounded?: string | undefined;
1601
+ locations?: {
1602
+ coverImage?: string | undefined;
1603
+ name: string;
1604
+ isHeadquarters: boolean;
1605
+ contact: {
1606
+ email?: string | undefined;
1607
+ phone?: string | undefined;
1608
+ address: string;
1609
+ };
1610
+ }[] | undefined;
1611
+ contacts?: {
1612
+ label?: string | undefined;
1613
+ value: string;
1614
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1615
+ isPrimary: boolean;
1616
+ isVerified: boolean;
1617
+ }[] | undefined;
1618
+ verified?: Date | undefined;
1619
+ socialAccounts?: {
1620
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1621
+ isNew: boolean;
1622
+ url: string;
1623
+ }[] | undefined;
1624
+ isOwner?: boolean | undefined;
1625
+ equalOpportunityEmployer?: boolean | undefined;
1626
+ perksAndBenefits?: {
1627
+ category?: {
1628
+ logo?: string | undefined;
1629
+ name: string;
1630
+ id: string;
1631
+ } | null | undefined;
1632
+ name: string;
1633
+ description: string;
1634
+ }[] | undefined;
1635
+ name: string;
1636
+ id: string;
1637
+ logo: {
1638
+ dark?: string | undefined;
1639
+ light: string;
1640
+ } | null;
1641
+ shortId: string;
1642
+ createdBy: string;
1643
+ createdAt: string;
1644
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1645
+ slug: string;
1646
+ about: string;
1647
+ website: string;
1648
+ categories: {
1649
+ logo?: string | undefined;
1650
+ name: string;
1651
+ id: string;
1652
+ }[];
1653
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1278
1654
  designation: NonNullable<{
1279
1655
  logo?: string | undefined;
1280
1656
  name: string;
@@ -1292,10 +1668,10 @@ export interface IUpdateWorkExperiencesSchema {
1292
1668
  location: {
1293
1669
  state?: string | undefined;
1294
1670
  stateCode?: string | undefined;
1671
+ address: string;
1295
1672
  country: string;
1296
1673
  countryCode: string;
1297
1674
  city: string;
1298
- address: string;
1299
1675
  latLong: {
1300
1676
  country?: (number | undefined)[] | undefined;
1301
1677
  state?: number[] | undefined;
@@ -1371,6 +1747,12 @@ export interface IUserSchema {
1371
1747
  first: string;
1372
1748
  last: string;
1373
1749
  };
1750
+ email: string;
1751
+ socialAccounts: {
1752
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1753
+ isNew: boolean;
1754
+ url: string;
1755
+ }[];
1374
1756
  skills: {
1375
1757
  proficiencyLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ProficiencyLevel | undefined>;
1376
1758
  lastUsed: string;
@@ -1385,7 +1767,6 @@ export interface IUserSchema {
1385
1767
  }[];
1386
1768
  experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
1387
1769
  status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserStatus | undefined>;
1388
- email: string;
1389
1770
  mobile: {
1390
1771
  number: string;
1391
1772
  country: {
@@ -1398,31 +1779,80 @@ export interface IUserSchema {
1398
1779
  location: {
1399
1780
  state?: string | undefined;
1400
1781
  stateCode?: string | undefined;
1782
+ address: string;
1401
1783
  country: string;
1402
1784
  countryCode: string;
1403
1785
  city: string;
1404
- address: string;
1405
1786
  latLong: {
1406
1787
  country?: (number | undefined)[] | undefined;
1407
1788
  state?: number[] | undefined;
1408
1789
  city?: number[] | undefined;
1409
1790
  };
1410
1791
  };
1411
- socialAccounts: {
1412
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1413
- isNew: boolean;
1414
- url: string;
1415
- }[];
1416
1792
  workExperiences: {
1417
1793
  description?: string | undefined;
1418
1794
  company: NonNullable<{
1419
- logo?: string | undefined;
1420
- name: string;
1421
- id: string;
1422
- } | {
1423
1795
  value: "others" | (string | undefined)[];
1424
1796
  otherValue: string | string[];
1425
- } | undefined>;
1797
+ } | Pick<{
1798
+ updatedBy?: string | undefined;
1799
+ updatedAt?: string | undefined;
1800
+ headline?: string | undefined;
1801
+ employeeCount?: string | undefined;
1802
+ yearFounded?: string | undefined;
1803
+ locations?: {
1804
+ coverImage?: string | undefined;
1805
+ name: string;
1806
+ isHeadquarters: boolean;
1807
+ contact: {
1808
+ email?: string | undefined;
1809
+ phone?: string | undefined;
1810
+ address: string;
1811
+ };
1812
+ }[] | undefined;
1813
+ contacts?: {
1814
+ label?: string | undefined;
1815
+ value: string;
1816
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1817
+ isPrimary: boolean;
1818
+ isVerified: boolean;
1819
+ }[] | undefined;
1820
+ verified?: Date | undefined;
1821
+ socialAccounts?: {
1822
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1823
+ isNew: boolean;
1824
+ url: string;
1825
+ }[] | undefined;
1826
+ isOwner?: boolean | undefined;
1827
+ equalOpportunityEmployer?: boolean | undefined;
1828
+ perksAndBenefits?: {
1829
+ category?: {
1830
+ logo?: string | undefined;
1831
+ name: string;
1832
+ id: string;
1833
+ } | null | undefined;
1834
+ name: string;
1835
+ description: string;
1836
+ }[] | undefined;
1837
+ name: string;
1838
+ id: string;
1839
+ logo: {
1840
+ dark?: string | undefined;
1841
+ light: string;
1842
+ } | null;
1843
+ shortId: string;
1844
+ createdBy: string;
1845
+ createdAt: string;
1846
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1847
+ slug: string;
1848
+ about: string;
1849
+ website: string;
1850
+ categories: {
1851
+ logo?: string | undefined;
1852
+ name: string;
1853
+ id: string;
1854
+ }[];
1855
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1426
1856
  designation: NonNullable<{
1427
1857
  logo?: string | undefined;
1428
1858
  name: string;
@@ -1440,10 +1870,10 @@ export interface IUserSchema {
1440
1870
  location: {
1441
1871
  state?: string | undefined;
1442
1872
  stateCode?: string | undefined;
1873
+ address: string;
1443
1874
  country: string;
1444
1875
  countryCode: string;
1445
1876
  city: string;
1446
- address: string;
1447
1877
  latLong: {
1448
1878
  country?: (number | undefined)[] | undefined;
1449
1879
  state?: number[] | undefined;
@@ -1461,10 +1891,10 @@ export interface IUserSchema {
1461
1891
  location: {
1462
1892
  state?: string | undefined;
1463
1893
  stateCode?: string | undefined;
1894
+ address: string;
1464
1895
  country: string;
1465
1896
  countryCode: string;
1466
1897
  city: string;
1467
- address: string;
1468
1898
  latLong: {
1469
1899
  country?: (number | undefined)[] | undefined;
1470
1900
  state?: number[] | undefined;
@@ -1472,13 +1902,67 @@ export interface IUserSchema {
1472
1902
  };
1473
1903
  };
1474
1904
  institute: NonNullable<{
1475
- logo?: string | undefined;
1476
- name: string;
1477
- id: string;
1478
- } | {
1479
1905
  value: "others" | (string | undefined)[];
1480
1906
  otherValue: string | string[];
1481
- } | undefined>;
1907
+ } | Pick<{
1908
+ updatedBy?: string | undefined;
1909
+ updatedAt?: string | undefined;
1910
+ headline?: string | undefined;
1911
+ employeeCount?: string | undefined;
1912
+ yearFounded?: string | undefined;
1913
+ locations?: {
1914
+ coverImage?: string | undefined;
1915
+ name: string;
1916
+ isHeadquarters: boolean;
1917
+ contact: {
1918
+ email?: string | undefined;
1919
+ phone?: string | undefined;
1920
+ address: string;
1921
+ };
1922
+ }[] | undefined;
1923
+ contacts?: {
1924
+ label?: string | undefined;
1925
+ value: string;
1926
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1927
+ isPrimary: boolean;
1928
+ isVerified: boolean;
1929
+ }[] | undefined;
1930
+ verified?: Date | undefined;
1931
+ socialAccounts?: {
1932
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1933
+ isNew: boolean;
1934
+ url: string;
1935
+ }[] | undefined;
1936
+ isOwner?: boolean | undefined;
1937
+ equalOpportunityEmployer?: boolean | undefined;
1938
+ perksAndBenefits?: {
1939
+ category?: {
1940
+ logo?: string | undefined;
1941
+ name: string;
1942
+ id: string;
1943
+ } | null | undefined;
1944
+ name: string;
1945
+ description: string;
1946
+ }[] | undefined;
1947
+ name: string;
1948
+ id: string;
1949
+ logo: {
1950
+ dark?: string | undefined;
1951
+ light: string;
1952
+ } | null;
1953
+ shortId: string;
1954
+ createdBy: string;
1955
+ createdAt: string;
1956
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1957
+ slug: string;
1958
+ about: string;
1959
+ website: string;
1960
+ categories: {
1961
+ logo?: string | undefined;
1962
+ name: string;
1963
+ id: string;
1964
+ }[];
1965
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1482
1966
  course: NonNullable<{
1483
1967
  logo?: string | undefined;
1484
1968
  name: string;
@@ -1538,8 +2022,8 @@ export interface IUserSchema {
1538
2022
  }[];
1539
2023
  additionalInfo: {
1540
2024
  description: string;
1541
- title: string;
1542
2025
  isNew: boolean;
2026
+ title: string;
1543
2027
  }[];
1544
2028
  roles: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserRole | undefined)[];
1545
2029
  }
@@ -1553,10 +2037,10 @@ export interface IserProfileOverview {
1553
2037
  location?: {
1554
2038
  state?: string | undefined;
1555
2039
  stateCode?: string | undefined;
2040
+ address: string;
1556
2041
  country: string;
1557
2042
  countryCode: string;
1558
2043
  city: string;
1559
- address: string;
1560
2044
  latLong: {
1561
2045
  country?: (number | undefined)[] | undefined;
1562
2046
  state?: number[] | undefined;
@@ -1576,13 +2060,67 @@ export interface IserProfileOverview {
1576
2060
  recentWork?: {
1577
2061
  description?: string | undefined;
1578
2062
  company: NonNullable<{
1579
- logo?: string | undefined;
1580
- name: string;
1581
- id: string;
1582
- } | {
1583
2063
  value: "others" | (string | undefined)[];
1584
2064
  otherValue: string | string[];
1585
- } | undefined>;
2065
+ } | Pick<{
2066
+ updatedBy?: string | undefined;
2067
+ updatedAt?: string | undefined;
2068
+ headline?: string | undefined;
2069
+ employeeCount?: string | undefined;
2070
+ yearFounded?: string | undefined;
2071
+ locations?: {
2072
+ coverImage?: string | undefined;
2073
+ name: string;
2074
+ isHeadquarters: boolean;
2075
+ contact: {
2076
+ email?: string | undefined;
2077
+ phone?: string | undefined;
2078
+ address: string;
2079
+ };
2080
+ }[] | undefined;
2081
+ contacts?: {
2082
+ label?: string | undefined;
2083
+ value: string;
2084
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2085
+ isPrimary: boolean;
2086
+ isVerified: boolean;
2087
+ }[] | undefined;
2088
+ verified?: Date | undefined;
2089
+ socialAccounts?: {
2090
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2091
+ isNew: boolean;
2092
+ url: string;
2093
+ }[] | undefined;
2094
+ isOwner?: boolean | undefined;
2095
+ equalOpportunityEmployer?: boolean | undefined;
2096
+ perksAndBenefits?: {
2097
+ category?: {
2098
+ logo?: string | undefined;
2099
+ name: string;
2100
+ id: string;
2101
+ } | null | undefined;
2102
+ name: string;
2103
+ description: string;
2104
+ }[] | undefined;
2105
+ name: string;
2106
+ id: string;
2107
+ logo: {
2108
+ dark?: string | undefined;
2109
+ light: string;
2110
+ } | null;
2111
+ shortId: string;
2112
+ createdBy: string;
2113
+ createdAt: string;
2114
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2115
+ slug: string;
2116
+ about: string;
2117
+ website: string;
2118
+ categories: {
2119
+ logo?: string | undefined;
2120
+ name: string;
2121
+ id: string;
2122
+ }[];
2123
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1586
2124
  designation: NonNullable<{
1587
2125
  logo?: string | undefined;
1588
2126
  name: string;
@@ -1600,10 +2138,10 @@ export interface IserProfileOverview {
1600
2138
  location: {
1601
2139
  state?: string | undefined;
1602
2140
  stateCode?: string | undefined;
2141
+ address: string;
1603
2142
  country: string;
1604
2143
  countryCode: string;
1605
2144
  city: string;
1606
- address: string;
1607
2145
  latLong: {
1608
2146
  country?: (number | undefined)[] | undefined;
1609
2147
  state?: number[] | undefined;
@@ -1621,10 +2159,10 @@ export interface IserProfileOverview {
1621
2159
  location: {
1622
2160
  state?: string | undefined;
1623
2161
  stateCode?: string | undefined;
2162
+ address: string;
1624
2163
  country: string;
1625
2164
  countryCode: string;
1626
2165
  city: string;
1627
- address: string;
1628
2166
  latLong: {
1629
2167
  country?: (number | undefined)[] | undefined;
1630
2168
  state?: number[] | undefined;
@@ -1632,13 +2170,67 @@ export interface IserProfileOverview {
1632
2170
  };
1633
2171
  };
1634
2172
  institute: NonNullable<{
1635
- logo?: string | undefined;
1636
- name: string;
1637
- id: string;
1638
- } | {
1639
2173
  value: "others" | (string | undefined)[];
1640
2174
  otherValue: string | string[];
1641
- } | undefined>;
2175
+ } | Pick<{
2176
+ updatedBy?: string | undefined;
2177
+ updatedAt?: string | undefined;
2178
+ headline?: string | undefined;
2179
+ employeeCount?: string | undefined;
2180
+ yearFounded?: string | undefined;
2181
+ locations?: {
2182
+ coverImage?: string | undefined;
2183
+ name: string;
2184
+ isHeadquarters: boolean;
2185
+ contact: {
2186
+ email?: string | undefined;
2187
+ phone?: string | undefined;
2188
+ address: string;
2189
+ };
2190
+ }[] | undefined;
2191
+ contacts?: {
2192
+ label?: string | undefined;
2193
+ value: string;
2194
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2195
+ isPrimary: boolean;
2196
+ isVerified: boolean;
2197
+ }[] | undefined;
2198
+ verified?: Date | undefined;
2199
+ socialAccounts?: {
2200
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2201
+ isNew: boolean;
2202
+ url: string;
2203
+ }[] | undefined;
2204
+ isOwner?: boolean | undefined;
2205
+ equalOpportunityEmployer?: boolean | undefined;
2206
+ perksAndBenefits?: {
2207
+ category?: {
2208
+ logo?: string | undefined;
2209
+ name: string;
2210
+ id: string;
2211
+ } | null | undefined;
2212
+ name: string;
2213
+ description: string;
2214
+ }[] | undefined;
2215
+ name: string;
2216
+ id: string;
2217
+ logo: {
2218
+ dark?: string | undefined;
2219
+ light: string;
2220
+ } | null;
2221
+ shortId: string;
2222
+ createdBy: string;
2223
+ createdAt: string;
2224
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2225
+ slug: string;
2226
+ about: string;
2227
+ website: string;
2228
+ categories: {
2229
+ logo?: string | undefined;
2230
+ name: string;
2231
+ id: string;
2232
+ }[];
2233
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1642
2234
  course: NonNullable<{
1643
2235
  logo?: string | undefined;
1644
2236
  name: string;
@@ -1691,10 +2283,10 @@ export interface IEducationSchema {
1691
2283
  location: {
1692
2284
  state?: string | undefined;
1693
2285
  stateCode?: string | undefined;
2286
+ address: string;
1694
2287
  country: string;
1695
2288
  countryCode: string;
1696
2289
  city: string;
1697
- address: string;
1698
2290
  latLong: {
1699
2291
  country?: (number | undefined)[] | undefined;
1700
2292
  state?: number[] | undefined;
@@ -1702,13 +2294,67 @@ export interface IEducationSchema {
1702
2294
  };
1703
2295
  };
1704
2296
  institute: NonNullable<{
1705
- logo?: string | undefined;
1706
- name: string;
1707
- id: string;
1708
- } | {
1709
2297
  value: "others" | (string | undefined)[];
1710
2298
  otherValue: string | string[];
1711
- } | undefined>;
2299
+ } | Pick<{
2300
+ updatedBy?: string | undefined;
2301
+ updatedAt?: string | undefined;
2302
+ headline?: string | undefined;
2303
+ employeeCount?: string | undefined;
2304
+ yearFounded?: string | undefined;
2305
+ locations?: {
2306
+ coverImage?: string | undefined;
2307
+ name: string;
2308
+ isHeadquarters: boolean;
2309
+ contact: {
2310
+ email?: string | undefined;
2311
+ phone?: string | undefined;
2312
+ address: string;
2313
+ };
2314
+ }[] | undefined;
2315
+ contacts?: {
2316
+ label?: string | undefined;
2317
+ value: string;
2318
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2319
+ isPrimary: boolean;
2320
+ isVerified: boolean;
2321
+ }[] | undefined;
2322
+ verified?: Date | undefined;
2323
+ socialAccounts?: {
2324
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2325
+ isNew: boolean;
2326
+ url: string;
2327
+ }[] | undefined;
2328
+ isOwner?: boolean | undefined;
2329
+ equalOpportunityEmployer?: boolean | undefined;
2330
+ perksAndBenefits?: {
2331
+ category?: {
2332
+ logo?: string | undefined;
2333
+ name: string;
2334
+ id: string;
2335
+ } | null | undefined;
2336
+ name: string;
2337
+ description: string;
2338
+ }[] | undefined;
2339
+ name: string;
2340
+ id: string;
2341
+ logo: {
2342
+ dark?: string | undefined;
2343
+ light: string;
2344
+ } | null;
2345
+ shortId: string;
2346
+ createdBy: string;
2347
+ createdAt: string;
2348
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2349
+ slug: string;
2350
+ about: string;
2351
+ website: string;
2352
+ categories: {
2353
+ logo?: string | undefined;
2354
+ name: string;
2355
+ id: string;
2356
+ }[];
2357
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1712
2358
  course: NonNullable<{
1713
2359
  logo?: string | undefined;
1714
2360
  name: string;
@@ -1738,8 +2384,8 @@ export interface IUserGeneralDetailSchema {
1738
2384
  first: string;
1739
2385
  last: string;
1740
2386
  };
1741
- experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
1742
2387
  email: string;
2388
+ experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
1743
2389
  mobile: {
1744
2390
  number: string;
1745
2391
  country: {
@@ -1752,10 +2398,10 @@ export interface IUserGeneralDetailSchema {
1752
2398
  location: {
1753
2399
  state?: string | undefined;
1754
2400
  stateCode?: string | undefined;
2401
+ address: string;
1755
2402
  country: string;
1756
2403
  countryCode: string;
1757
2404
  city: string;
1758
- address: string;
1759
2405
  latLong: {
1760
2406
  country?: (number | undefined)[] | undefined;
1761
2407
  state?: number[] | undefined;
@@ -1780,8 +2426,8 @@ export interface ISocialAccountSchema {
1780
2426
  }
1781
2427
  export interface IUserAdditionalInfoSchema {
1782
2428
  description: string;
1783
- title: string;
1784
2429
  isNew: boolean;
2430
+ title: string;
1785
2431
  }
1786
2432
  export interface IUserCertificationSchema {
1787
2433
  url?: string | undefined;
@@ -1826,13 +2472,67 @@ export interface IUserSkillSchema {
1826
2472
  export interface IWorkExperienceSchema {
1827
2473
  description?: string | undefined;
1828
2474
  company: NonNullable<{
1829
- logo?: string | undefined;
1830
- name: string;
1831
- id: string;
1832
- } | {
1833
2475
  value: "others" | (string | undefined)[];
1834
2476
  otherValue: string | string[];
1835
- } | undefined>;
2477
+ } | Pick<{
2478
+ updatedBy?: string | undefined;
2479
+ updatedAt?: string | undefined;
2480
+ headline?: string | undefined;
2481
+ employeeCount?: string | undefined;
2482
+ yearFounded?: string | undefined;
2483
+ locations?: {
2484
+ coverImage?: string | undefined;
2485
+ name: string;
2486
+ isHeadquarters: boolean;
2487
+ contact: {
2488
+ email?: string | undefined;
2489
+ phone?: string | undefined;
2490
+ address: string;
2491
+ };
2492
+ }[] | undefined;
2493
+ contacts?: {
2494
+ label?: string | undefined;
2495
+ value: string;
2496
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2497
+ isPrimary: boolean;
2498
+ isVerified: boolean;
2499
+ }[] | undefined;
2500
+ verified?: Date | undefined;
2501
+ socialAccounts?: {
2502
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2503
+ isNew: boolean;
2504
+ url: string;
2505
+ }[] | undefined;
2506
+ isOwner?: boolean | undefined;
2507
+ equalOpportunityEmployer?: boolean | undefined;
2508
+ perksAndBenefits?: {
2509
+ category?: {
2510
+ logo?: string | undefined;
2511
+ name: string;
2512
+ id: string;
2513
+ } | null | undefined;
2514
+ name: string;
2515
+ description: string;
2516
+ }[] | undefined;
2517
+ name: string;
2518
+ id: string;
2519
+ logo: {
2520
+ dark?: string | undefined;
2521
+ light: string;
2522
+ } | null;
2523
+ shortId: string;
2524
+ createdBy: string;
2525
+ createdAt: string;
2526
+ type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2527
+ slug: string;
2528
+ about: string;
2529
+ website: string;
2530
+ categories: {
2531
+ logo?: string | undefined;
2532
+ name: string;
2533
+ id: string;
2534
+ }[];
2535
+ }, "name" | "logo" | "type" | "slug"> | undefined>;
1836
2536
  designation: NonNullable<{
1837
2537
  logo?: string | undefined;
1838
2538
  name: string;
@@ -1850,10 +2550,10 @@ export interface IWorkExperienceSchema {
1850
2550
  location: {
1851
2551
  state?: string | undefined;
1852
2552
  stateCode?: string | undefined;
2553
+ address: string;
1853
2554
  country: string;
1854
2555
  countryCode: string;
1855
2556
  city: string;
1856
- address: string;
1857
2557
  latLong: {
1858
2558
  country?: (number | undefined)[] | undefined;
1859
2559
  state?: number[] | undefined;