@thejob/schema 1.0.59 → 1.0.61

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 (43) hide show
  1. package/dist/cjs/interfaces.index.d.ts +85 -632
  2. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  3. package/dist/cjs/job/job.schema.d.ts +1 -1
  4. package/dist/cjs/job-application/job-application.schema.d.ts +11 -74
  5. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  6. package/dist/cjs/page/page.schema.d.ts +1 -1
  7. package/dist/cjs/page/page.schema.js +1 -1
  8. package/dist/cjs/resume/resume.schema.d.ts +29 -175
  9. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  10. package/dist/cjs/user/education/education.schema.d.ts +1 -1
  11. package/dist/cjs/user/general-detail/general-detail.schema.d.ts +3 -9
  12. package/dist/cjs/user/general-detail/general-detail.schema.d.ts.map +1 -1
  13. package/dist/cjs/user/general-detail/general-detail.schema.js +3 -3
  14. package/dist/cjs/user/update-education.schema.d.ts +1 -1
  15. package/dist/cjs/user/update-work-experience.schema.d.ts +9 -73
  16. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  17. package/dist/cjs/user/user.schema.d.ts +13 -83
  18. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  19. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +34 -73
  20. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  21. package/dist/cjs/user/work-experience/work-experience.schema.js +5 -11
  22. package/dist/esm/interfaces.index.d.ts +85 -632
  23. package/dist/esm/interfaces.index.d.ts.map +1 -1
  24. package/dist/esm/job/job.schema.d.ts +1 -1
  25. package/dist/esm/job-application/job-application.schema.d.ts +11 -74
  26. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  27. package/dist/esm/page/page.schema.d.ts +1 -1
  28. package/dist/esm/page/page.schema.js +1 -1
  29. package/dist/esm/resume/resume.schema.d.ts +29 -175
  30. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  31. package/dist/esm/user/education/education.schema.d.ts +1 -1
  32. package/dist/esm/user/general-detail/general-detail.schema.d.ts +3 -9
  33. package/dist/esm/user/general-detail/general-detail.schema.d.ts.map +1 -1
  34. package/dist/esm/user/general-detail/general-detail.schema.js +3 -3
  35. package/dist/esm/user/update-education.schema.d.ts +1 -1
  36. package/dist/esm/user/update-work-experience.schema.d.ts +9 -73
  37. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  38. package/dist/esm/user/user.schema.d.ts +13 -83
  39. package/dist/esm/user/user.schema.d.ts.map +1 -1
  40. package/dist/esm/user/work-experience/work-experience.schema.d.ts +34 -73
  41. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  42. package/dist/esm/user/work-experience/work-experience.schema.js +6 -12
  43. package/package.json +1 -1
@@ -346,7 +346,7 @@ export interface IAiPromptJobApplicationSummary {
346
346
  website: string;
347
347
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
348
348
  logo: {
349
- dark?: string | undefined;
349
+ dark?: string | null | undefined;
350
350
  light: string;
351
351
  } | null;
352
352
  categories: {
@@ -463,80 +463,16 @@ export interface IAiPromptJobApplicationSummary {
463
463
  }[];
464
464
  recentWork: {
465
465
  description?: string | undefined;
466
- company: NonNullable<{
467
- value: "others" | (string | undefined)[];
468
- otherValue: string | string[];
469
- } | Pick<{
470
- headline?: string | undefined;
471
- employeeCount?: string | undefined;
472
- yearFounded?: string | undefined;
473
- locations?: {
474
- coverImage?: string | undefined;
475
- name: string;
476
- isHeadquarters: boolean;
477
- contact: {
478
- email?: string | undefined;
479
- phone?: string | undefined;
480
- address: string;
481
- };
482
- }[] | undefined;
483
- contacts?: {
484
- label?: string | undefined;
485
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
486
- value: string;
487
- isPrimary: boolean;
488
- isVerified: boolean;
489
- }[] | undefined;
490
- verified?: Date | undefined;
491
- socialAccounts?: {
492
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
493
- isNew: boolean;
494
- url: string;
495
- }[] | undefined;
496
- isOwner?: boolean | undefined;
497
- equalOpportunityEmployer?: boolean | undefined;
498
- perksAndBenefits?: {
499
- category?: {
500
- logo?: string | undefined;
501
- id: string;
502
- name: string;
503
- } | {
504
- value: "others" | (string | undefined)[];
505
- otherValue: string | string[];
506
- } | undefined;
507
- name: string;
508
- description: string;
509
- }[] | undefined;
510
- updatedBy?: string | undefined;
511
- updatedAt?: number | undefined;
512
- slug: string;
513
- id: string;
514
- shortId: string;
515
- name: string;
516
- about: string;
517
- website: string;
518
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
519
- logo: {
520
- dark?: string | undefined;
466
+ company: {
467
+ slug?: string | undefined;
468
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
469
+ logo?: {
470
+ dark?: string | null | undefined;
521
471
  light: string;
522
- } | null;
523
- categories: {
524
- logo?: string | undefined;
525
- id: string;
526
- name: string;
527
- }[];
528
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
529
- createdBy: string;
530
- createdAt: number;
531
- }, "slug" | "name" | "type" | "logo"> | undefined>;
532
- designation: NonNullable<{
533
- logo?: string | undefined;
534
- id: string;
472
+ } | null | undefined;
535
473
  name: string;
536
- } | {
537
- value: "others" | (string | undefined)[];
538
- otherValue: string | string[];
539
- } | undefined>;
474
+ };
475
+ designation: string;
540
476
  isRemote: boolean;
541
477
  duration: {
542
478
  startDate: string;
@@ -629,7 +565,7 @@ export interface IAiPromptJobApplicationSummary {
629
565
  website: string;
630
566
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
631
567
  logo: {
632
- dark?: string | undefined;
568
+ dark?: string | null | undefined;
633
569
  light: string;
634
570
  } | null;
635
571
  categories: {
@@ -1021,7 +957,7 @@ export interface IJobSchema {
1021
957
  website: string;
1022
958
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1023
959
  logo: {
1024
- dark?: string | undefined;
960
+ dark?: string | null | undefined;
1025
961
  light: string;
1026
962
  } | null;
1027
963
  categories: {
@@ -1183,80 +1119,16 @@ export interface IJobApplicationSchema {
1183
1119
  }[];
1184
1120
  recentWork: {
1185
1121
  description?: string | undefined;
1186
- company: NonNullable<{
1187
- value: "others" | (string | undefined)[];
1188
- otherValue: string | string[];
1189
- } | Pick<{
1190
- headline?: string | undefined;
1191
- employeeCount?: string | undefined;
1192
- yearFounded?: string | undefined;
1193
- locations?: {
1194
- coverImage?: string | undefined;
1195
- name: string;
1196
- isHeadquarters: boolean;
1197
- contact: {
1198
- email?: string | undefined;
1199
- phone?: string | undefined;
1200
- address: string;
1201
- };
1202
- }[] | undefined;
1203
- contacts?: {
1204
- label?: string | undefined;
1205
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1206
- value: string;
1207
- isPrimary: boolean;
1208
- isVerified: boolean;
1209
- }[] | undefined;
1210
- verified?: Date | undefined;
1211
- socialAccounts?: {
1212
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1213
- isNew: boolean;
1214
- url: string;
1215
- }[] | undefined;
1216
- isOwner?: boolean | undefined;
1217
- equalOpportunityEmployer?: boolean | undefined;
1218
- perksAndBenefits?: {
1219
- category?: {
1220
- logo?: string | undefined;
1221
- id: string;
1222
- name: string;
1223
- } | {
1224
- value: "others" | (string | undefined)[];
1225
- otherValue: string | string[];
1226
- } | undefined;
1227
- name: string;
1228
- description: string;
1229
- }[] | undefined;
1230
- updatedBy?: string | undefined;
1231
- updatedAt?: number | undefined;
1232
- slug: string;
1233
- id: string;
1234
- shortId: string;
1235
- name: string;
1236
- about: string;
1237
- website: string;
1238
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1239
- logo: {
1240
- dark?: string | undefined;
1122
+ company: {
1123
+ slug?: string | undefined;
1124
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1125
+ logo?: {
1126
+ dark?: string | null | undefined;
1241
1127
  light: string;
1242
- } | null;
1243
- categories: {
1244
- logo?: string | undefined;
1245
- id: string;
1246
- name: string;
1247
- }[];
1248
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1249
- createdBy: string;
1250
- createdAt: number;
1251
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1252
- designation: NonNullable<{
1253
- logo?: string | undefined;
1254
- id: string;
1128
+ } | null | undefined;
1255
1129
  name: string;
1256
- } | {
1257
- value: "others" | (string | undefined)[];
1258
- otherValue: string | string[];
1259
- } | undefined>;
1130
+ };
1131
+ designation: string;
1260
1132
  isRemote: boolean;
1261
1133
  duration: {
1262
1134
  startDate: string;
@@ -1349,7 +1221,7 @@ export interface IJobApplicationSchema {
1349
1221
  website: string;
1350
1222
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1351
1223
  logo: {
1352
- dark?: string | undefined;
1224
+ dark?: string | null | undefined;
1353
1225
  light: string;
1354
1226
  } | null;
1355
1227
  categories: {
@@ -1542,7 +1414,7 @@ export interface IPageSchema {
1542
1414
  website: string;
1543
1415
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1544
1416
  logo: {
1545
- dark?: string | undefined;
1417
+ dark?: string | null | undefined;
1546
1418
  light: string;
1547
1419
  } | null;
1548
1420
  categories: {
@@ -1646,23 +1518,16 @@ export interface IResumeGeneralInfoSectionSchema {
1646
1518
  headline?: string | undefined;
1647
1519
  id?: string | undefined;
1648
1520
  emailVerified?: string | null | undefined;
1521
+ mobile?: string | null | undefined;
1649
1522
  image?: string | undefined;
1650
1523
  aboutMe?: string | undefined;
1524
+ mobileVerified?: string | null | undefined;
1651
1525
  name: {
1652
1526
  last?: string | undefined;
1653
1527
  first: string;
1654
1528
  };
1655
1529
  email: string;
1656
1530
  experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
1657
- mobile: {
1658
- number: string;
1659
- country: {
1660
- locale?: string | undefined;
1661
- name: string;
1662
- dial_code: string;
1663
- code: string;
1664
- };
1665
- };
1666
1531
  location: {
1667
1532
  address?: string | null | undefined;
1668
1533
  state?: string | null | undefined;
@@ -1726,80 +1591,16 @@ export interface IResumeSchemaV2 {
1726
1591
  url: string;
1727
1592
  }[] | {
1728
1593
  description?: string | undefined;
1729
- company: NonNullable<{
1730
- value: "others" | (string | undefined)[];
1731
- otherValue: string | string[];
1732
- } | Pick<{
1733
- headline?: string | undefined;
1734
- employeeCount?: string | undefined;
1735
- yearFounded?: string | undefined;
1736
- locations?: {
1737
- coverImage?: string | undefined;
1738
- name: string;
1739
- isHeadquarters: boolean;
1740
- contact: {
1741
- email?: string | undefined;
1742
- phone?: string | undefined;
1743
- address: string;
1744
- };
1745
- }[] | undefined;
1746
- contacts?: {
1747
- label?: string | undefined;
1748
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1749
- value: string;
1750
- isPrimary: boolean;
1751
- isVerified: boolean;
1752
- }[] | undefined;
1753
- verified?: Date | undefined;
1754
- socialAccounts?: {
1755
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1756
- isNew: boolean;
1757
- url: string;
1758
- }[] | undefined;
1759
- isOwner?: boolean | undefined;
1760
- equalOpportunityEmployer?: boolean | undefined;
1761
- perksAndBenefits?: {
1762
- category?: {
1763
- logo?: string | undefined;
1764
- id: string;
1765
- name: string;
1766
- } | {
1767
- value: "others" | (string | undefined)[];
1768
- otherValue: string | string[];
1769
- } | undefined;
1770
- name: string;
1771
- description: string;
1772
- }[] | undefined;
1773
- updatedBy?: string | undefined;
1774
- updatedAt?: number | undefined;
1775
- slug: string;
1776
- id: string;
1777
- shortId: string;
1778
- name: string;
1779
- about: string;
1780
- website: string;
1781
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1782
- logo: {
1783
- dark?: string | undefined;
1594
+ company: {
1595
+ slug?: string | undefined;
1596
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1597
+ logo?: {
1598
+ dark?: string | null | undefined;
1784
1599
  light: string;
1785
- } | null;
1786
- categories: {
1787
- logo?: string | undefined;
1788
- id: string;
1789
- name: string;
1790
- }[];
1791
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1792
- createdBy: string;
1793
- createdAt: number;
1794
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1795
- designation: NonNullable<{
1796
- logo?: string | undefined;
1797
- id: string;
1600
+ } | null | undefined;
1798
1601
  name: string;
1799
- } | {
1800
- value: "others" | (string | undefined)[];
1801
- otherValue: string | string[];
1802
- } | undefined>;
1602
+ };
1603
+ designation: string;
1803
1604
  isRemote: boolean;
1804
1605
  duration: {
1805
1606
  startDate: string;
@@ -1891,7 +1692,7 @@ export interface IResumeSchemaV2 {
1891
1692
  website: string;
1892
1693
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1893
1694
  logo: {
1894
- dark?: string | undefined;
1695
+ dark?: string | null | undefined;
1895
1696
  light: string;
1896
1697
  } | null;
1897
1698
  categories: {
@@ -1970,23 +1771,16 @@ export interface IResumeSchemaV2 {
1970
1771
  headline?: string | undefined;
1971
1772
  id?: string | undefined;
1972
1773
  emailVerified?: string | null | undefined;
1774
+ mobile?: string | null | undefined;
1973
1775
  image?: string | undefined;
1974
1776
  aboutMe?: string | undefined;
1777
+ mobileVerified?: string | null | undefined;
1975
1778
  name: {
1976
1779
  last?: string | undefined;
1977
1780
  first: string;
1978
1781
  };
1979
1782
  email: string;
1980
1783
  experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
1981
- mobile: {
1982
- number: string;
1983
- country: {
1984
- locale?: string | undefined;
1985
- name: string;
1986
- dial_code: string;
1987
- code: string;
1988
- };
1989
- };
1990
1784
  location: {
1991
1785
  address?: string | null | undefined;
1992
1786
  state?: string | null | undefined;
@@ -2030,8 +1824,10 @@ export interface INewResumePromptSchema {
2030
1824
  headline?: string | undefined;
2031
1825
  id?: string | undefined;
2032
1826
  emailVerified?: string | null | undefined;
1827
+ mobile?: string | null | undefined;
2033
1828
  image?: string | undefined;
2034
1829
  aboutMe?: string | undefined;
1830
+ mobileVerified?: string | null | undefined;
2035
1831
  name: {
2036
1832
  last?: string | undefined;
2037
1833
  first: string;
@@ -2056,15 +1852,6 @@ export interface INewResumePromptSchema {
2056
1852
  lastUsed: string;
2057
1853
  }[];
2058
1854
  experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
2059
- mobile: {
2060
- number: string;
2061
- country: {
2062
- locale?: string | undefined;
2063
- name: string;
2064
- dial_code: string;
2065
- code: string;
2066
- };
2067
- };
2068
1855
  location: {
2069
1856
  address?: string | null | undefined;
2070
1857
  state?: string | null | undefined;
@@ -2079,80 +1866,16 @@ export interface INewResumePromptSchema {
2079
1866
  };
2080
1867
  workExperiences: {
2081
1868
  description?: string | undefined;
2082
- company: NonNullable<{
2083
- value: "others" | (string | undefined)[];
2084
- otherValue: string | string[];
2085
- } | Pick<{
2086
- headline?: string | undefined;
2087
- employeeCount?: string | undefined;
2088
- yearFounded?: string | undefined;
2089
- locations?: {
2090
- coverImage?: string | undefined;
2091
- name: string;
2092
- isHeadquarters: boolean;
2093
- contact: {
2094
- email?: string | undefined;
2095
- phone?: string | undefined;
2096
- address: string;
2097
- };
2098
- }[] | undefined;
2099
- contacts?: {
2100
- label?: string | undefined;
2101
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2102
- value: string;
2103
- isPrimary: boolean;
2104
- isVerified: boolean;
2105
- }[] | undefined;
2106
- verified?: Date | undefined;
2107
- socialAccounts?: {
2108
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2109
- isNew: boolean;
2110
- url: string;
2111
- }[] | undefined;
2112
- isOwner?: boolean | undefined;
2113
- equalOpportunityEmployer?: boolean | undefined;
2114
- perksAndBenefits?: {
2115
- category?: {
2116
- logo?: string | undefined;
2117
- id: string;
2118
- name: string;
2119
- } | {
2120
- value: "others" | (string | undefined)[];
2121
- otherValue: string | string[];
2122
- } | undefined;
2123
- name: string;
2124
- description: string;
2125
- }[] | undefined;
2126
- updatedBy?: string | undefined;
2127
- updatedAt?: number | undefined;
2128
- slug: string;
2129
- id: string;
2130
- shortId: string;
2131
- name: string;
2132
- about: string;
2133
- website: string;
2134
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2135
- logo: {
2136
- dark?: string | undefined;
1869
+ company: {
1870
+ slug?: string | undefined;
1871
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1872
+ logo?: {
1873
+ dark?: string | null | undefined;
2137
1874
  light: string;
2138
- } | null;
2139
- categories: {
2140
- logo?: string | undefined;
2141
- id: string;
2142
- name: string;
2143
- }[];
2144
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2145
- createdBy: string;
2146
- createdAt: number;
2147
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2148
- designation: NonNullable<{
2149
- logo?: string | undefined;
2150
- id: string;
1875
+ } | null | undefined;
2151
1876
  name: string;
2152
- } | {
2153
- value: "others" | (string | undefined)[];
2154
- otherValue: string | string[];
2155
- } | undefined>;
1877
+ };
1878
+ designation: string;
2156
1879
  isRemote: boolean;
2157
1880
  duration: {
2158
1881
  startDate: string;
@@ -2245,7 +1968,7 @@ export interface INewResumePromptSchema {
2245
1968
  website: string;
2246
1969
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2247
1970
  logo: {
2248
- dark?: string | undefined;
1971
+ dark?: string | null | undefined;
2249
1972
  light: string;
2250
1973
  } | null;
2251
1974
  categories: {
@@ -2448,7 +2171,7 @@ export interface IUpdateEducationsSchema {
2448
2171
  website: string;
2449
2172
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2450
2173
  logo: {
2451
- dark?: string | undefined;
2174
+ dark?: string | null | undefined;
2452
2175
  light: string;
2453
2176
  } | null;
2454
2177
  categories: {
@@ -2547,80 +2270,16 @@ export interface IUpdateUserSchema {
2547
2270
  export interface IUpdateWorkExperiencesSchema {
2548
2271
  workExperiences: {
2549
2272
  description?: string | undefined;
2550
- company: NonNullable<{
2551
- value: "others" | (string | undefined)[];
2552
- otherValue: string | string[];
2553
- } | Pick<{
2554
- headline?: string | undefined;
2555
- employeeCount?: string | undefined;
2556
- yearFounded?: string | undefined;
2557
- locations?: {
2558
- coverImage?: string | undefined;
2559
- name: string;
2560
- isHeadquarters: boolean;
2561
- contact: {
2562
- email?: string | undefined;
2563
- phone?: string | undefined;
2564
- address: string;
2565
- };
2566
- }[] | undefined;
2567
- contacts?: {
2568
- label?: string | undefined;
2569
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2570
- value: string;
2571
- isPrimary: boolean;
2572
- isVerified: boolean;
2573
- }[] | undefined;
2574
- verified?: Date | undefined;
2575
- socialAccounts?: {
2576
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2577
- isNew: boolean;
2578
- url: string;
2579
- }[] | undefined;
2580
- isOwner?: boolean | undefined;
2581
- equalOpportunityEmployer?: boolean | undefined;
2582
- perksAndBenefits?: {
2583
- category?: {
2584
- logo?: string | undefined;
2585
- id: string;
2586
- name: string;
2587
- } | {
2588
- value: "others" | (string | undefined)[];
2589
- otherValue: string | string[];
2590
- } | undefined;
2591
- name: string;
2592
- description: string;
2593
- }[] | undefined;
2594
- updatedBy?: string | undefined;
2595
- updatedAt?: number | undefined;
2596
- slug: string;
2597
- id: string;
2598
- shortId: string;
2599
- name: string;
2600
- about: string;
2601
- website: string;
2602
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2603
- logo: {
2604
- dark?: string | undefined;
2273
+ company: {
2274
+ slug?: string | undefined;
2275
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2276
+ logo?: {
2277
+ dark?: string | null | undefined;
2605
2278
  light: string;
2606
- } | null;
2607
- categories: {
2608
- logo?: string | undefined;
2609
- id: string;
2610
- name: string;
2611
- }[];
2612
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2613
- createdBy: string;
2614
- createdAt: number;
2615
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2616
- designation: NonNullable<{
2617
- logo?: string | undefined;
2618
- id: string;
2279
+ } | null | undefined;
2619
2280
  name: string;
2620
- } | {
2621
- value: "others" | (string | undefined)[];
2622
- otherValue: string | string[];
2623
- } | undefined>;
2281
+ };
2282
+ designation: string;
2624
2283
  isRemote: boolean;
2625
2284
  duration: {
2626
2285
  startDate: string;
@@ -2702,8 +2361,10 @@ export interface IUserSchema {
2702
2361
  headline?: string | undefined;
2703
2362
  id?: string | undefined;
2704
2363
  emailVerified?: string | null | undefined;
2364
+ mobile?: string | null | undefined;
2705
2365
  image?: string | undefined;
2706
2366
  aboutMe?: string | undefined;
2367
+ mobileVerified?: string | null | undefined;
2707
2368
  name: {
2708
2369
  last?: string | undefined;
2709
2370
  first: string;
@@ -2728,15 +2389,6 @@ export interface IUserSchema {
2728
2389
  lastUsed: string;
2729
2390
  }[];
2730
2391
  experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
2731
- mobile: {
2732
- number: string;
2733
- country: {
2734
- locale?: string | undefined;
2735
- name: string;
2736
- dial_code: string;
2737
- code: string;
2738
- };
2739
- };
2740
2392
  location: {
2741
2393
  address?: string | null | undefined;
2742
2394
  state?: string | null | undefined;
@@ -2751,80 +2403,16 @@ export interface IUserSchema {
2751
2403
  };
2752
2404
  workExperiences: {
2753
2405
  description?: string | undefined;
2754
- company: NonNullable<{
2755
- value: "others" | (string | undefined)[];
2756
- otherValue: string | string[];
2757
- } | Pick<{
2758
- headline?: string | undefined;
2759
- employeeCount?: string | undefined;
2760
- yearFounded?: string | undefined;
2761
- locations?: {
2762
- coverImage?: string | undefined;
2763
- name: string;
2764
- isHeadquarters: boolean;
2765
- contact: {
2766
- email?: string | undefined;
2767
- phone?: string | undefined;
2768
- address: string;
2769
- };
2770
- }[] | undefined;
2771
- contacts?: {
2772
- label?: string | undefined;
2773
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2774
- value: string;
2775
- isPrimary: boolean;
2776
- isVerified: boolean;
2777
- }[] | undefined;
2778
- verified?: Date | undefined;
2779
- socialAccounts?: {
2780
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2781
- isNew: boolean;
2782
- url: string;
2783
- }[] | undefined;
2784
- isOwner?: boolean | undefined;
2785
- equalOpportunityEmployer?: boolean | undefined;
2786
- perksAndBenefits?: {
2787
- category?: {
2788
- logo?: string | undefined;
2789
- id: string;
2790
- name: string;
2791
- } | {
2792
- value: "others" | (string | undefined)[];
2793
- otherValue: string | string[];
2794
- } | undefined;
2795
- name: string;
2796
- description: string;
2797
- }[] | undefined;
2798
- updatedBy?: string | undefined;
2799
- updatedAt?: number | undefined;
2800
- slug: string;
2801
- id: string;
2802
- shortId: string;
2803
- name: string;
2804
- about: string;
2805
- website: string;
2806
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2807
- logo: {
2808
- dark?: string | undefined;
2406
+ company: {
2407
+ slug?: string | undefined;
2408
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2409
+ logo?: {
2410
+ dark?: string | null | undefined;
2809
2411
  light: string;
2810
- } | null;
2811
- categories: {
2812
- logo?: string | undefined;
2813
- id: string;
2814
- name: string;
2815
- }[];
2816
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2817
- createdBy: string;
2818
- createdAt: number;
2819
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2820
- designation: NonNullable<{
2821
- logo?: string | undefined;
2822
- id: string;
2412
+ } | null | undefined;
2823
2413
  name: string;
2824
- } | {
2825
- value: "others" | (string | undefined)[];
2826
- otherValue: string | string[];
2827
- } | undefined>;
2414
+ };
2415
+ designation: string;
2828
2416
  isRemote: boolean;
2829
2417
  duration: {
2830
2418
  startDate: string;
@@ -2917,7 +2505,7 @@ export interface IUserSchema {
2917
2505
  website: string;
2918
2506
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2919
2507
  logo: {
2920
- dark?: string | undefined;
2508
+ dark?: string | null | undefined;
2921
2509
  light: string;
2922
2510
  } | null;
2923
2511
  categories: {
@@ -3024,80 +2612,16 @@ export interface IUserProfileOverview {
3024
2612
  } | undefined;
3025
2613
  recentWork?: {
3026
2614
  description?: string | undefined;
3027
- company: NonNullable<{
3028
- value: "others" | (string | undefined)[];
3029
- otherValue: string | string[];
3030
- } | Pick<{
3031
- headline?: string | undefined;
3032
- employeeCount?: string | undefined;
3033
- yearFounded?: string | undefined;
3034
- locations?: {
3035
- coverImage?: string | undefined;
3036
- name: string;
3037
- isHeadquarters: boolean;
3038
- contact: {
3039
- email?: string | undefined;
3040
- phone?: string | undefined;
3041
- address: string;
3042
- };
3043
- }[] | undefined;
3044
- contacts?: {
3045
- label?: string | undefined;
3046
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
3047
- value: string;
3048
- isPrimary: boolean;
3049
- isVerified: boolean;
3050
- }[] | undefined;
3051
- verified?: Date | undefined;
3052
- socialAccounts?: {
3053
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
3054
- isNew: boolean;
3055
- url: string;
3056
- }[] | undefined;
3057
- isOwner?: boolean | undefined;
3058
- equalOpportunityEmployer?: boolean | undefined;
3059
- perksAndBenefits?: {
3060
- category?: {
3061
- logo?: string | undefined;
3062
- id: string;
3063
- name: string;
3064
- } | {
3065
- value: "others" | (string | undefined)[];
3066
- otherValue: string | string[];
3067
- } | undefined;
3068
- name: string;
3069
- description: string;
3070
- }[] | undefined;
3071
- updatedBy?: string | undefined;
3072
- updatedAt?: number | undefined;
3073
- slug: string;
3074
- id: string;
3075
- shortId: string;
3076
- name: string;
3077
- about: string;
3078
- website: string;
3079
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3080
- logo: {
3081
- dark?: string | undefined;
2615
+ company: {
2616
+ slug?: string | undefined;
2617
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2618
+ logo?: {
2619
+ dark?: string | null | undefined;
3082
2620
  light: string;
3083
- } | null;
3084
- categories: {
3085
- logo?: string | undefined;
3086
- id: string;
3087
- name: string;
3088
- }[];
3089
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
3090
- createdBy: string;
3091
- createdAt: number;
3092
- }, "slug" | "name" | "type" | "logo"> | undefined>;
3093
- designation: NonNullable<{
3094
- logo?: string | undefined;
3095
- id: string;
2621
+ } | null | undefined;
3096
2622
  name: string;
3097
- } | {
3098
- value: "others" | (string | undefined)[];
3099
- otherValue: string | string[];
3100
- } | undefined>;
2623
+ };
2624
+ designation: string;
3101
2625
  isRemote: boolean;
3102
2626
  duration: {
3103
2627
  startDate: string;
@@ -3190,7 +2714,7 @@ export interface IUserProfileOverview {
3190
2714
  website: string;
3191
2715
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3192
2716
  logo: {
3193
- dark?: string | undefined;
2717
+ dark?: string | null | undefined;
3194
2718
  light: string;
3195
2719
  } | null;
3196
2720
  categories: {
@@ -3320,7 +2844,7 @@ export interface IEducationSchema {
3320
2844
  website: string;
3321
2845
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3322
2846
  logo: {
3323
- dark?: string | undefined;
2847
+ dark?: string | null | undefined;
3324
2848
  light: string;
3325
2849
  } | null;
3326
2850
  categories: {
@@ -3355,23 +2879,16 @@ export interface IUserGeneralDetailSchema {
3355
2879
  headline?: string | undefined;
3356
2880
  id?: string | undefined;
3357
2881
  emailVerified?: string | null | undefined;
2882
+ mobile?: string | null | undefined;
3358
2883
  image?: string | undefined;
3359
2884
  aboutMe?: string | undefined;
2885
+ mobileVerified?: string | null | undefined;
3360
2886
  name: {
3361
2887
  last?: string | undefined;
3362
2888
  first: string;
3363
2889
  };
3364
2890
  email: string;
3365
2891
  experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
3366
- mobile: {
3367
- number: string;
3368
- country: {
3369
- locale?: string | undefined;
3370
- name: string;
3371
- dial_code: string;
3372
- code: string;
3373
- };
3374
- };
3375
2892
  location: {
3376
2893
  address?: string | null | undefined;
3377
2894
  state?: string | null | undefined;
@@ -3442,80 +2959,16 @@ export interface IUserSkillSchema {
3442
2959
  }
3443
2960
  export interface IWorkExperienceSchema {
3444
2961
  description?: string | undefined;
3445
- company: NonNullable<{
3446
- value: "others" | (string | undefined)[];
3447
- otherValue: string | string[];
3448
- } | Pick<{
3449
- headline?: string | undefined;
3450
- employeeCount?: string | undefined;
3451
- yearFounded?: string | undefined;
3452
- locations?: {
3453
- coverImage?: string | undefined;
3454
- name: string;
3455
- isHeadquarters: boolean;
3456
- contact: {
3457
- email?: string | undefined;
3458
- phone?: string | undefined;
3459
- address: string;
3460
- };
3461
- }[] | undefined;
3462
- contacts?: {
3463
- label?: string | undefined;
3464
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
3465
- value: string;
3466
- isPrimary: boolean;
3467
- isVerified: boolean;
3468
- }[] | undefined;
3469
- verified?: Date | undefined;
3470
- socialAccounts?: {
3471
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
3472
- isNew: boolean;
3473
- url: string;
3474
- }[] | undefined;
3475
- isOwner?: boolean | undefined;
3476
- equalOpportunityEmployer?: boolean | undefined;
3477
- perksAndBenefits?: {
3478
- category?: {
3479
- logo?: string | undefined;
3480
- id: string;
3481
- name: string;
3482
- } | {
3483
- value: "others" | (string | undefined)[];
3484
- otherValue: string | string[];
3485
- } | undefined;
3486
- name: string;
3487
- description: string;
3488
- }[] | undefined;
3489
- updatedBy?: string | undefined;
3490
- updatedAt?: number | undefined;
3491
- slug: string;
3492
- id: string;
3493
- shortId: string;
3494
- name: string;
3495
- about: string;
3496
- website: string;
3497
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3498
- logo: {
3499
- dark?: string | undefined;
2962
+ company: {
2963
+ slug?: string | undefined;
2964
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2965
+ logo?: {
2966
+ dark?: string | null | undefined;
3500
2967
  light: string;
3501
- } | null;
3502
- categories: {
3503
- logo?: string | undefined;
3504
- id: string;
3505
- name: string;
3506
- }[];
3507
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
3508
- createdBy: string;
3509
- createdAt: number;
3510
- }, "slug" | "name" | "type" | "logo"> | undefined>;
3511
- designation: NonNullable<{
3512
- logo?: string | undefined;
3513
- id: string;
2968
+ } | null | undefined;
3514
2969
  name: string;
3515
- } | {
3516
- value: "others" | (string | undefined)[];
3517
- otherValue: string | string[];
3518
- } | undefined>;
2970
+ };
2971
+ designation: string;
3519
2972
  isRemote: boolean;
3520
2973
  duration: {
3521
2974
  startDate: string;