@thejob/schema 1.0.33 → 1.0.35

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.
@@ -1,4 +1,4 @@
1
- export interface IiJobInfo {
1
+ export interface IAiJobInfo {
2
2
  hoursPerWeek?: string | undefined;
3
3
  headline?: string | undefined;
4
4
  locations?: string[] | undefined;
@@ -8,7 +8,7 @@ export interface IiJobInfo {
8
8
  workMode?: string | undefined;
9
9
  skills?: string[] | undefined;
10
10
  }
11
- export interface IiCompanyInfo {
11
+ export interface IAiCompanyInfo {
12
12
  name: string;
13
13
  about?: string | undefined;
14
14
  founded?: string | undefined;
@@ -17,7 +17,7 @@ export interface IiCompanyInfo {
17
17
  equalOpportunityEmployer?: boolean | undefined;
18
18
  perksAndBenefits?: string[] | undefined;
19
19
  }
20
- export interface IiGeneralInfo {
20
+ export interface IAiGeneralInfo {
21
21
  name: {
22
22
  first: string;
23
23
  last: string;
@@ -27,11 +27,11 @@ export interface IiGeneralInfo {
27
27
  headline?: string | undefined;
28
28
  location?: string | undefined;
29
29
  }
30
- export interface IiTSocialAccount {
30
+ export interface IAiTSocialAccount {
31
31
  type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount;
32
32
  url: string;
33
33
  }
34
- export interface IiWorkExperience {
34
+ export interface IAiWorkExperience {
35
35
  designation: string;
36
36
  company: string;
37
37
  startDate: string;
@@ -41,7 +41,7 @@ export interface IiWorkExperience {
41
41
  isRemote: boolean;
42
42
  description?: string | undefined;
43
43
  }
44
- export interface IiEducation {
44
+ export interface IAiEducation {
45
45
  institute: string;
46
46
  course: string;
47
47
  fieldOfStudy?: string | undefined;
@@ -52,12 +52,12 @@ export interface IiEducation {
52
52
  isDistanceLearning?: boolean | undefined;
53
53
  description?: string | undefined;
54
54
  }
55
- export interface IiSkill {
55
+ export interface IAiSkill {
56
56
  name: string;
57
57
  proficiency?: string | undefined;
58
58
  lastUsed?: string | undefined;
59
59
  }
60
- export interface IiProject {
60
+ export interface IAiProject {
61
61
  name: string;
62
62
  description: string;
63
63
  startDate: string;
@@ -65,7 +65,7 @@ export interface IiProject {
65
65
  isOngoing?: boolean | undefined;
66
66
  link?: string | undefined;
67
67
  }
68
- export interface IiCertification {
68
+ export interface IAiCertification {
69
69
  name: string;
70
70
  description?: string | undefined;
71
71
  authority: string;
@@ -73,21 +73,21 @@ export interface IiCertification {
73
73
  endDate?: string | undefined;
74
74
  isOngoing?: boolean | undefined;
75
75
  }
76
- export interface IiInterest {
76
+ export interface IAiInterest {
77
77
  name: string;
78
78
  category?: string | undefined;
79
79
  description?: string | undefined;
80
80
  }
81
- export interface IiLanguage {
81
+ export interface IAiLanguage {
82
82
  name: string;
83
83
  proficiency: string;
84
84
  description?: string | undefined;
85
85
  }
86
- export interface IiAdditionalInfo {
86
+ export interface IAiAdditionalInfo {
87
87
  title: string;
88
88
  description: string;
89
89
  }
90
- export interface IiReference {
90
+ export interface IAiReference {
91
91
  name: string;
92
92
  designation: string;
93
93
  company: string;
@@ -96,7 +96,7 @@ export interface IiReference {
96
96
  profileUrl?: string | undefined;
97
97
  workedDirectly: boolean;
98
98
  }
99
- export interface IiUserInfo {
99
+ export interface IAiUserInfo {
100
100
  name: string;
101
101
  email: string;
102
102
  experienceLevel: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel;
@@ -114,25 +114,25 @@ export interface IiUserInfo {
114
114
  additionalInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiAdditionalInfo[] | undefined;
115
115
  references?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiReference[] | undefined;
116
116
  }
117
- export interface IiPromptResume {
117
+ export interface IAiPromptResume {
118
118
  userInfo: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiUserInfo;
119
119
  jobInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiJobInfo | undefined;
120
120
  companyInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiCompanyInfo | undefined;
121
121
  }
122
- export interface IiPromptJobDescription {
122
+ export interface IAiPromptJobDescription {
123
123
  companyInfo: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiCompanyInfo;
124
124
  jobInfo: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiJobInfo;
125
125
  }
126
- export interface IiPromptCoverLetter {
126
+ export interface IAiPromptCoverLetter {
127
127
  userInfo: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiUserInfo;
128
128
  jobInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiJobInfo | undefined;
129
129
  companyInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiCompanyInfo | undefined;
130
130
  }
131
- export interface IiPromptOutput {
131
+ export interface IAiPromptOutput {
132
132
  instruction?: string | undefined;
133
133
  prompt: string;
134
134
  }
135
- export interface IiPromptJobApplicationSummary {
135
+ export interface IAiPromptJobApplicationSummary {
136
136
  job: Partial<{
137
137
  externalApplyLink?: string | undefined;
138
138
  isOwner?: boolean | undefined;
@@ -668,7 +668,7 @@ export interface IWithDBDefault {
668
668
  updatedBy?: any;
669
669
  updatedAt?: string | undefined;
670
670
  }
671
- export interface IickFrom {
671
+ export interface IPickFrom {
672
672
  }
673
673
  export interface IName {
674
674
  first: string;
@@ -690,14 +690,14 @@ export interface IIdName {
690
690
  id: string;
691
691
  name: string;
692
692
  }
693
- export interface IeoTags {
693
+ export interface ISeoTags {
694
694
  keywords: string[];
695
695
  skills: string[];
696
696
  description?: string | undefined;
697
697
  job_description?: string | undefined;
698
698
  Description?: string | undefined;
699
699
  }
700
- export interface IompletenessScore {
700
+ export interface ICompletenessScore {
701
701
  score: number;
702
702
  completedSteps: number;
703
703
  totalSteps: number;
@@ -954,7 +954,7 @@ export interface IJobSchema {
954
954
  isActive: boolean;
955
955
  };
956
956
  }
957
- export interface IobRoleTemplate {
957
+ export interface IJobRoleTemplate {
958
958
  headline: string;
959
959
  description: string;
960
960
  designation: {
@@ -1484,12 +1484,6 @@ export interface IInputQuestionSchema {
1484
1484
  title: string;
1485
1485
  }
1486
1486
  export interface IMixedValue {
1487
- toString: (() => string) | ((radix?: number | undefined) => string) | (() => string);
1488
- valueOf: (() => string) | (() => number) | (() => boolean) | (() => Object);
1489
- toLocaleString: (() => string) | {
1490
- (locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
1491
- (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
1492
- };
1493
1487
  }
1494
1488
  export interface IQuestionSchema {
1495
1489
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
@@ -1512,227 +1506,56 @@ export interface IReadAndAcknowledgeQuestionSchema {
1512
1506
  preferredAnswer: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
1513
1507
  answers: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
1514
1508
  }
1515
- export interface IResumeGeneralInfoSchema {
1509
+ export interface IResumeGeneralInfoSectionSchema {
1516
1510
  headline?: string | undefined;
1517
- location?: string | undefined;
1511
+ id?: string | undefined;
1512
+ emailVerified?: string | null | undefined;
1513
+ image?: string | undefined;
1514
+ aboutMe?: string | undefined;
1518
1515
  name: {
1516
+ last?: string | undefined;
1519
1517
  first: string;
1520
- last: string;
1521
1518
  };
1522
1519
  email: string;
1523
- mobile: string;
1524
- }
1525
- export interface IResumeWorkExperienceSchema {
1526
- description?: string | undefined;
1527
- endDate?: string | undefined;
1528
- location?: string | undefined;
1529
- company: string;
1530
- designation: string;
1531
- startDate: string;
1532
- isRemote: boolean;
1533
- isCurrentJob: boolean;
1534
- }
1535
- export interface IResumeEducationSchema {
1536
- description?: string | undefined;
1537
- endDate?: string | undefined;
1538
- location?: string | undefined;
1539
- fieldOfStudy?: string | undefined;
1540
- startDate: string;
1541
- institute: string;
1542
- course: string;
1543
- isDistanceLearning: boolean;
1544
- isPursuing: boolean;
1545
- }
1546
- export interface IResumeSkillSchema {
1547
- proficiencyLevel?: string | undefined;
1548
- lastUsed?: string | undefined;
1549
- name: string;
1520
+ experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
1521
+ mobile: {
1522
+ number: string;
1523
+ country: {
1524
+ locale?: string | undefined;
1525
+ name: string;
1526
+ dial_code: string;
1527
+ code: string;
1528
+ };
1529
+ };
1530
+ location: {
1531
+ state?: string | undefined;
1532
+ stateCode?: string | undefined;
1533
+ address: string;
1534
+ country: string;
1535
+ countryCode: string;
1536
+ city: string;
1537
+ latLong: {
1538
+ country?: (number | undefined)[] | undefined;
1539
+ state?: number[] | undefined;
1540
+ city?: number[] | undefined;
1541
+ };
1542
+ };
1550
1543
  }
1551
- export interface IResumeProjectSchema {
1552
- link?: string | undefined;
1553
- endDate?: string | undefined;
1554
- name: string;
1555
- description: string;
1556
- startDate: string;
1557
- isOngoing: boolean;
1544
+ export interface IResumeWorkExperienceSectionSchema {
1558
1545
  }
1559
- export interface IResumeCertificationSchema {
1560
- description?: string | undefined;
1561
- endDate?: string | undefined;
1562
- name: string;
1563
- startDate: string;
1564
- authority: string;
1565
- isOngoing: boolean;
1546
+ export interface IResumeEducationSectionSchema {
1566
1547
  }
1567
- export interface IResumeInterestSchema {
1568
- description?: string | undefined;
1569
- category?: string | undefined;
1570
- name: string;
1548
+ export interface IResumeSkillSectionSchema {
1571
1549
  }
1572
- export interface IResumeLanguageSchema {
1573
- description?: string | undefined;
1574
- name: string;
1575
- proficiency: string;
1550
+ export interface IResumeProjectSectionSchema {
1576
1551
  }
1577
- export interface IResumeAdditionalInfoSchema {
1578
- description: string;
1579
- title: string;
1552
+ export interface IResumeCertificationSectionSchema {
1580
1553
  }
1581
- export interface IResumeReferenceSectionSchema {
1582
- profileUrl?: string | undefined;
1583
- name: string;
1584
- email: string;
1585
- company: string;
1586
- designation: string;
1587
- mobile: string;
1588
- workedDirectly: boolean;
1554
+ export interface IResumeInterestSectionSchema {
1589
1555
  }
1590
- export interface IResumeSectionMap {
1591
- generalInfo: {
1592
- headline?: string | undefined;
1593
- location?: string | undefined;
1594
- name: {
1595
- first: string;
1596
- last: string;
1597
- };
1598
- email: string;
1599
- mobile: string;
1600
- };
1601
- summary: string;
1602
- workExperience: {
1603
- description?: string | undefined;
1604
- endDate?: string | undefined;
1605
- location?: string | undefined;
1606
- company: string;
1607
- designation: string;
1608
- startDate: string;
1609
- isRemote: boolean;
1610
- isCurrentJob: boolean;
1611
- };
1612
- education: {
1613
- description?: string | undefined;
1614
- endDate?: string | undefined;
1615
- location?: string | undefined;
1616
- fieldOfStudy?: string | undefined;
1617
- startDate: string;
1618
- institute: string;
1619
- course: string;
1620
- isDistanceLearning: boolean;
1621
- isPursuing: boolean;
1622
- };
1623
- skill: {
1624
- proficiencyLevel?: string | undefined;
1625
- lastUsed?: string | undefined;
1626
- name: string;
1627
- };
1628
- project: {
1629
- link?: string | undefined;
1630
- endDate?: string | undefined;
1631
- name: string;
1632
- description: string;
1633
- startDate: string;
1634
- isOngoing: boolean;
1635
- };
1636
- certification: {
1637
- description?: string | undefined;
1638
- endDate?: string | undefined;
1639
- name: string;
1640
- startDate: string;
1641
- authority: string;
1642
- isOngoing: boolean;
1643
- };
1644
- interest: {
1645
- description?: string | undefined;
1646
- category?: string | undefined;
1647
- name: string;
1648
- };
1649
- language: {
1650
- description?: string | undefined;
1651
- name: string;
1652
- proficiency: string;
1653
- };
1654
- additionalInfo: {
1655
- description: string;
1656
- title: string;
1657
- };
1658
- reference: {
1659
- profileUrl?: string | undefined;
1660
- name: string;
1661
- email: string;
1662
- company: string;
1663
- designation: string;
1664
- mobile: string;
1665
- workedDirectly: boolean;
1666
- };
1556
+ export interface IResumeLanguageSectionSchema {
1667
1557
  }
1668
- export interface IResumeSectionSchema {
1669
- id: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/resume/resume.constant").ResumeSectionType | undefined>;
1670
- data: (string | {
1671
- headline?: string | undefined;
1672
- location?: string | undefined;
1673
- name: {
1674
- first: string;
1675
- last: string;
1676
- };
1677
- email: string;
1678
- mobile: string;
1679
- } | {
1680
- description?: string | undefined;
1681
- endDate?: string | undefined;
1682
- location?: string | undefined;
1683
- company: string;
1684
- designation: string;
1685
- startDate: string;
1686
- isRemote: boolean;
1687
- isCurrentJob: boolean;
1688
- } | {
1689
- description?: string | undefined;
1690
- endDate?: string | undefined;
1691
- location?: string | undefined;
1692
- fieldOfStudy?: string | undefined;
1693
- startDate: string;
1694
- institute: string;
1695
- course: string;
1696
- isDistanceLearning: boolean;
1697
- isPursuing: boolean;
1698
- } | {
1699
- proficiencyLevel?: string | undefined;
1700
- lastUsed?: string | undefined;
1701
- name: string;
1702
- } | {
1703
- link?: string | undefined;
1704
- endDate?: string | undefined;
1705
- name: string;
1706
- description: string;
1707
- startDate: string;
1708
- isOngoing: boolean;
1709
- } | {
1710
- description?: string | undefined;
1711
- endDate?: string | undefined;
1712
- name: string;
1713
- startDate: string;
1714
- authority: string;
1715
- isOngoing: boolean;
1716
- } | {
1717
- description?: string | undefined;
1718
- category?: string | undefined;
1719
- name: string;
1720
- } | {
1721
- description?: string | undefined;
1722
- name: string;
1723
- proficiency: string;
1724
- } | {
1725
- description: string;
1726
- title: string;
1727
- } | {
1728
- profileUrl?: string | undefined;
1729
- name: string;
1730
- email: string;
1731
- company: string;
1732
- designation: string;
1733
- mobile: string;
1734
- workedDirectly: boolean;
1735
- })[];
1558
+ export interface IResumeSchemaV2 {
1736
1559
  }
1737
1560
  export interface IResumeSchema {
1738
1561
  isOwner?: boolean | undefined;
@@ -2733,7 +2556,7 @@ export interface IUserSchema {
2733
2556
  }[];
2734
2557
  roles: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserRole | undefined)[];
2735
2558
  }
2736
- export interface IserProfileOverview {
2559
+ export interface IUserProfileOverview {
2737
2560
  name: {
2738
2561
  first: string;
2739
2562
  last: string;