@the-inkwell/shared 0.1.130 → 0.1.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/types/_schema/CandidacyRatingCategories.js +4 -0
- package/dist/src/types/_schema/CandidacyRatings.js +4 -0
- package/dist/src/types/_schema/CandidacyStages.js +4 -0
- package/dist/src/types/_schema/Certifications.js +4 -0
- package/dist/src/types/_schema/ClientStages.js +4 -0
- package/dist/src/types/_schema/EducationDegrees.js +4 -0
- package/dist/src/types/_schema/EducationFields.js +4 -0
- package/dist/src/types/_schema/Educations.js +4 -0
- package/dist/src/types/_schema/Experiences.js +4 -0
- package/dist/src/types/_schema/Genders.js +4 -0
- package/dist/src/types/_schema/JobLevels.js +4 -0
- package/dist/src/types/_schema/PersonsToCertifications.js +4 -0
- package/dist/src/types/_schema/PositionRatingCategories.js +4 -0
- package/dist/src/types/_schema/PositionRatings.js +4 -0
- package/dist/src/types/_schema/PositionStages.js +4 -0
- package/package.json +1 -1
- package/src/types/_schema/Candidacies.ts +1 -21
- package/src/types/_schema/{CandidacyRatingReasons.ts → CandidacyRatingCategories.ts} +4 -4
- package/src/types/_schema/CandidacyRatings.ts +42 -0
- package/src/types/_schema/CandidacySources.ts +2 -2
- package/src/types/_schema/CandidacyStages.ts +14 -0
- package/src/types/_schema/CandidacyStatuses.ts +2 -7
- package/src/types/_schema/Certifications.ts +53 -0
- package/src/types/_schema/ClientStages.ts +12 -0
- package/src/types/_schema/ClientStatuses.ts +0 -1
- package/src/types/_schema/Clients.ts +7 -0
- package/src/types/_schema/{PersonDegrees.ts → EducationDegrees.ts} +3 -4
- package/src/types/_schema/EducationFields.ts +18 -0
- package/src/types/_schema/Educations.ts +55 -0
- package/src/types/_schema/Experiences.ts +80 -0
- package/src/types/_schema/{PersonGenders.ts → Genders.ts} +3 -3
- package/src/types/_schema/Industries.ts +6 -0
- package/src/types/_schema/JobFunctions.ts +30 -16
- package/src/types/_schema/{PersonCareerLevels.ts → JobLevels.ts} +3 -3
- package/src/types/_schema/Persons.ts +16 -79
- package/src/types/_schema/PersonsToCertifications.ts +26 -0
- package/src/types/_schema/PositionRatingCategories.ts +9 -0
- package/src/types/_schema/PositionRatings.ts +42 -0
- package/src/types/_schema/PositionStages.ts +12 -0
- package/src/types/_schema/PositionStatuses.ts +0 -1
- package/src/types/_schema/Positions.ts +13 -8
- package/src/types/models/admin/candidacies/index.ts +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
import type { default as CandidacyStatuses } from './CandidacyStatuses';
|
|
5
|
-
import type { default as CandidacyRatingReasons } from './CandidacyRatingReasons';
|
|
6
5
|
import type { default as CandidacySources } from './CandidacySources';
|
|
7
6
|
import type { PersonsId } from './Persons';
|
|
8
7
|
import type { PositionsId } from './Positions';
|
|
@@ -18,12 +17,6 @@ export default interface Candidacies {
|
|
|
18
17
|
|
|
19
18
|
networkId: string | null;
|
|
20
19
|
|
|
21
|
-
rating: number | null;
|
|
22
|
-
|
|
23
|
-
ratingReasons: CandidacyRatingReasons[] | null;
|
|
24
|
-
|
|
25
|
-
ratingNotes: string | null;
|
|
26
|
-
|
|
27
20
|
source: CandidacySources | null;
|
|
28
21
|
|
|
29
22
|
personId: PersonsId;
|
|
@@ -42,18 +35,11 @@ export interface CandidaciesInitializer {
|
|
|
42
35
|
/** Default value: gen_random_uuid() */
|
|
43
36
|
id?: CandidaciesId;
|
|
44
37
|
|
|
45
|
-
/** Default value: '
|
|
38
|
+
/** Default value: 'OPEN'::"CandidacyStatuses" */
|
|
46
39
|
status?: CandidacyStatuses | null;
|
|
47
40
|
|
|
48
41
|
networkId?: string | null;
|
|
49
42
|
|
|
50
|
-
rating?: number | null;
|
|
51
|
-
|
|
52
|
-
ratingReasons?: CandidacyRatingReasons[] | null;
|
|
53
|
-
|
|
54
|
-
ratingNotes?: string | null;
|
|
55
|
-
|
|
56
|
-
/** Default value: 'STAFF'::"CandidacySources" */
|
|
57
43
|
source?: CandidacySources | null;
|
|
58
44
|
|
|
59
45
|
personId: PersonsId;
|
|
@@ -77,12 +63,6 @@ export interface CandidaciesMutator {
|
|
|
77
63
|
|
|
78
64
|
networkId?: string | null;
|
|
79
65
|
|
|
80
|
-
rating?: number | null;
|
|
81
|
-
|
|
82
|
-
ratingReasons?: CandidacyRatingReasons[] | null;
|
|
83
|
-
|
|
84
|
-
ratingNotes?: string | null;
|
|
85
|
-
|
|
86
66
|
source?: CandidacySources | null;
|
|
87
67
|
|
|
88
68
|
personId?: PersonsId;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
/** Represents the enum public.
|
|
5
|
-
type
|
|
6
|
-
| 'INDUSTRY'
|
|
4
|
+
/** Represents the enum public.CandidacyRatingCategories */
|
|
5
|
+
type CandidacyRatingCategories =
|
|
7
6
|
| 'EXPERIENCE'
|
|
7
|
+
| 'INDUSTRY'
|
|
8
8
|
| 'SKILL'
|
|
9
9
|
| 'CULTURE'
|
|
10
10
|
| 'COMPENSATION';
|
|
11
11
|
|
|
12
|
-
export default
|
|
12
|
+
export default CandidacyRatingCategories;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
import type { CandidaciesId } from './Candidacies';
|
|
5
|
+
import type { default as CandidacyRatingCategories } from './CandidacyRatingCategories';
|
|
6
|
+
|
|
7
|
+
/** Identifier type for public.candidacy_ratings */
|
|
8
|
+
export type CandidacyRatingsId = string;
|
|
9
|
+
|
|
10
|
+
/** Represents the table public.candidacy_ratings */
|
|
11
|
+
export default interface CandidacyRatings {
|
|
12
|
+
id: CandidacyRatingsId;
|
|
13
|
+
|
|
14
|
+
candidacyId: CandidaciesId;
|
|
15
|
+
|
|
16
|
+
rating: number;
|
|
17
|
+
|
|
18
|
+
category: CandidacyRatingCategories;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** Represents the initializer for the table public.candidacy_ratings */
|
|
22
|
+
export interface CandidacyRatingsInitializer {
|
|
23
|
+
/** Default value: gen_random_uuid() */
|
|
24
|
+
id?: CandidacyRatingsId;
|
|
25
|
+
|
|
26
|
+
candidacyId: CandidaciesId;
|
|
27
|
+
|
|
28
|
+
rating: number;
|
|
29
|
+
|
|
30
|
+
category: CandidacyRatingCategories;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** Represents the mutator for the table public.candidacy_ratings */
|
|
34
|
+
export interface CandidacyRatingsMutator {
|
|
35
|
+
id?: CandidacyRatingsId;
|
|
36
|
+
|
|
37
|
+
candidacyId?: CandidaciesId;
|
|
38
|
+
|
|
39
|
+
rating?: number;
|
|
40
|
+
|
|
41
|
+
category?: CandidacyRatingCategories;
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Represents the enum public.CandidacyStages */
|
|
5
|
+
type CandidacyStages =
|
|
6
|
+
| 'SUBMITTED'
|
|
7
|
+
| 'SCREENING'
|
|
8
|
+
| 'INTERVIEWING'
|
|
9
|
+
| 'OFFERED'
|
|
10
|
+
| 'HIRED'
|
|
11
|
+
| 'REJECTED'
|
|
12
|
+
| 'WITHDRAWN';
|
|
13
|
+
|
|
14
|
+
export default CandidacyStages;
|
|
@@ -3,12 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/** Represents the enum public.CandidacyStatuses */
|
|
5
5
|
type CandidacyStatuses =
|
|
6
|
-
| '
|
|
7
|
-
| '
|
|
8
|
-
| 'INTERVIEWING'
|
|
9
|
-
| 'OFFERED'
|
|
10
|
-
| 'HIRED'
|
|
11
|
-
| 'REJECTED'
|
|
12
|
-
| 'WITHDRAWN';
|
|
6
|
+
| 'OPEN'
|
|
7
|
+
| 'CLOSED';
|
|
13
8
|
|
|
14
9
|
export default CandidacyStatuses;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Identifier type for public.certifications */
|
|
5
|
+
export type CertificationsId = string;
|
|
6
|
+
|
|
7
|
+
/** Represents the table public.certifications */
|
|
8
|
+
export default interface Certifications {
|
|
9
|
+
id: CertificationsId;
|
|
10
|
+
|
|
11
|
+
slug: string;
|
|
12
|
+
|
|
13
|
+
name: string;
|
|
14
|
+
|
|
15
|
+
description: string | null;
|
|
16
|
+
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
|
|
19
|
+
updatedAt: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Represents the initializer for the table public.certifications */
|
|
23
|
+
export interface CertificationsInitializer {
|
|
24
|
+
/** Default value: gen_random_uuid() */
|
|
25
|
+
id?: CertificationsId;
|
|
26
|
+
|
|
27
|
+
slug: string;
|
|
28
|
+
|
|
29
|
+
name: string;
|
|
30
|
+
|
|
31
|
+
description?: string | null;
|
|
32
|
+
|
|
33
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
34
|
+
createdAt?: Date;
|
|
35
|
+
|
|
36
|
+
/** Default value: CURRENT_TIMESTAMP */
|
|
37
|
+
updatedAt?: Date;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** Represents the mutator for the table public.certifications */
|
|
41
|
+
export interface CertificationsMutator {
|
|
42
|
+
id?: CertificationsId;
|
|
43
|
+
|
|
44
|
+
slug?: string;
|
|
45
|
+
|
|
46
|
+
name?: string;
|
|
47
|
+
|
|
48
|
+
description?: string | null;
|
|
49
|
+
|
|
50
|
+
createdAt?: Date;
|
|
51
|
+
|
|
52
|
+
updatedAt?: Date;
|
|
53
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Represents the enum public.ClientStages */
|
|
5
|
+
type ClientStages =
|
|
6
|
+
| 'PENDING'
|
|
7
|
+
| 'CONTACTED'
|
|
8
|
+
| 'QUALIFYING'
|
|
9
|
+
| 'CONVERTED'
|
|
10
|
+
| 'NOT_CONVERTED';
|
|
11
|
+
|
|
12
|
+
export default ClientStages;
|
|
@@ -14,6 +14,8 @@ export default interface Clients {
|
|
|
14
14
|
|
|
15
15
|
description: string | null;
|
|
16
16
|
|
|
17
|
+
isLead: boolean;
|
|
18
|
+
|
|
17
19
|
status: ClientStatuses | null;
|
|
18
20
|
|
|
19
21
|
createdAt: Date;
|
|
@@ -30,6 +32,9 @@ export interface ClientsInitializer {
|
|
|
30
32
|
|
|
31
33
|
description?: string | null;
|
|
32
34
|
|
|
35
|
+
/** Default value: true */
|
|
36
|
+
isLead?: boolean;
|
|
37
|
+
|
|
33
38
|
/** Default value: 'ACTIVE'::"ClientStatuses" */
|
|
34
39
|
status?: ClientStatuses | null;
|
|
35
40
|
|
|
@@ -48,6 +53,8 @@ export interface ClientsMutator {
|
|
|
48
53
|
|
|
49
54
|
description?: string | null;
|
|
50
55
|
|
|
56
|
+
isLead?: boolean;
|
|
57
|
+
|
|
51
58
|
status?: ClientStatuses | null;
|
|
52
59
|
|
|
53
60
|
createdAt?: Date;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
/** Represents the enum public.
|
|
5
|
-
type
|
|
4
|
+
/** Represents the enum public.EducationDegrees */
|
|
5
|
+
type EducationDegrees =
|
|
6
6
|
| 'HIGH_SCHOOL'
|
|
7
7
|
| 'ASSOCIATES'
|
|
8
8
|
| 'BACHELORS'
|
|
9
9
|
| 'MASTERS'
|
|
10
|
-
| 'JURIS_DOCTORATE'
|
|
11
10
|
| 'DOCTORATE';
|
|
12
11
|
|
|
13
|
-
export default
|
|
12
|
+
export default EducationDegrees;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Represents the enum public.EducationFields */
|
|
5
|
+
type EducationFields =
|
|
6
|
+
| 'ACCOUNTING'
|
|
7
|
+
| 'BUSINESS'
|
|
8
|
+
| 'LAW'
|
|
9
|
+
| 'ENGINEERING'
|
|
10
|
+
| 'EDUCATION'
|
|
11
|
+
| 'MEDICINE'
|
|
12
|
+
| 'ARCHITECTURE'
|
|
13
|
+
| 'SOCIAL_WORK'
|
|
14
|
+
| 'HUMANITIES'
|
|
15
|
+
| 'NATURAL_SCIENCES'
|
|
16
|
+
| 'SOCIAL_SCIENCES';
|
|
17
|
+
|
|
18
|
+
export default EducationFields;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
import type { PersonsId } from './Persons';
|
|
5
|
+
import type { default as EducationDegrees } from './EducationDegrees';
|
|
6
|
+
import type { default as EducationFields } from './EducationFields';
|
|
7
|
+
|
|
8
|
+
/** Identifier type for public.educations */
|
|
9
|
+
export type EducationsId = string;
|
|
10
|
+
|
|
11
|
+
/** Represents the table public.educations */
|
|
12
|
+
export default interface Educations {
|
|
13
|
+
id: EducationsId;
|
|
14
|
+
|
|
15
|
+
personId: PersonsId;
|
|
16
|
+
|
|
17
|
+
educationDegree: EducationDegrees;
|
|
18
|
+
|
|
19
|
+
educationField: EducationFields | null;
|
|
20
|
+
|
|
21
|
+
school: string | null;
|
|
22
|
+
|
|
23
|
+
graduatedAt: Date;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Represents the initializer for the table public.educations */
|
|
27
|
+
export interface EducationsInitializer {
|
|
28
|
+
/** Default value: gen_random_uuid() */
|
|
29
|
+
id?: EducationsId;
|
|
30
|
+
|
|
31
|
+
personId: PersonsId;
|
|
32
|
+
|
|
33
|
+
educationDegree: EducationDegrees;
|
|
34
|
+
|
|
35
|
+
educationField?: EducationFields | null;
|
|
36
|
+
|
|
37
|
+
school?: string | null;
|
|
38
|
+
|
|
39
|
+
graduatedAt: Date;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** Represents the mutator for the table public.educations */
|
|
43
|
+
export interface EducationsMutator {
|
|
44
|
+
id?: EducationsId;
|
|
45
|
+
|
|
46
|
+
personId?: PersonsId;
|
|
47
|
+
|
|
48
|
+
educationDegree?: EducationDegrees;
|
|
49
|
+
|
|
50
|
+
educationField?: EducationFields | null;
|
|
51
|
+
|
|
52
|
+
school?: string | null;
|
|
53
|
+
|
|
54
|
+
graduatedAt?: Date;
|
|
55
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
import type { PersonsId } from './Persons';
|
|
5
|
+
import type { JobFunctionsId } from './JobFunctions';
|
|
6
|
+
import type { IndustriesId } from './Industries';
|
|
7
|
+
import type { default as JobLevels } from './JobLevels';
|
|
8
|
+
|
|
9
|
+
/** Identifier type for public.experiences */
|
|
10
|
+
export type ExperiencesId = string;
|
|
11
|
+
|
|
12
|
+
/** Represents the table public.experiences */
|
|
13
|
+
export default interface Experiences {
|
|
14
|
+
id: ExperiencesId;
|
|
15
|
+
|
|
16
|
+
personId: PersonsId;
|
|
17
|
+
|
|
18
|
+
jobFunctionId: JobFunctionsId | null;
|
|
19
|
+
|
|
20
|
+
industryId: IndustriesId | null;
|
|
21
|
+
|
|
22
|
+
company: string | null;
|
|
23
|
+
|
|
24
|
+
level: JobLevels | null;
|
|
25
|
+
|
|
26
|
+
title: string | null;
|
|
27
|
+
|
|
28
|
+
salary: number | null;
|
|
29
|
+
|
|
30
|
+
startDate: Date;
|
|
31
|
+
|
|
32
|
+
endDate: Date | null;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Represents the initializer for the table public.experiences */
|
|
36
|
+
export interface ExperiencesInitializer {
|
|
37
|
+
/** Default value: gen_random_uuid() */
|
|
38
|
+
id?: ExperiencesId;
|
|
39
|
+
|
|
40
|
+
personId: PersonsId;
|
|
41
|
+
|
|
42
|
+
jobFunctionId?: JobFunctionsId | null;
|
|
43
|
+
|
|
44
|
+
industryId?: IndustriesId | null;
|
|
45
|
+
|
|
46
|
+
company?: string | null;
|
|
47
|
+
|
|
48
|
+
level?: JobLevels | null;
|
|
49
|
+
|
|
50
|
+
title?: string | null;
|
|
51
|
+
|
|
52
|
+
salary?: number | null;
|
|
53
|
+
|
|
54
|
+
startDate: Date;
|
|
55
|
+
|
|
56
|
+
endDate?: Date | null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** Represents the mutator for the table public.experiences */
|
|
60
|
+
export interface ExperiencesMutator {
|
|
61
|
+
id?: ExperiencesId;
|
|
62
|
+
|
|
63
|
+
personId?: PersonsId;
|
|
64
|
+
|
|
65
|
+
jobFunctionId?: JobFunctionsId | null;
|
|
66
|
+
|
|
67
|
+
industryId?: IndustriesId | null;
|
|
68
|
+
|
|
69
|
+
company?: string | null;
|
|
70
|
+
|
|
71
|
+
level?: JobLevels | null;
|
|
72
|
+
|
|
73
|
+
title?: string | null;
|
|
74
|
+
|
|
75
|
+
salary?: number | null;
|
|
76
|
+
|
|
77
|
+
startDate?: Date;
|
|
78
|
+
|
|
79
|
+
endDate?: Date | null;
|
|
80
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
/** Represents the enum public.
|
|
5
|
-
type
|
|
4
|
+
/** Represents the enum public.Genders */
|
|
5
|
+
type Genders =
|
|
6
6
|
| 'MAN'
|
|
7
7
|
| 'WOMAN'
|
|
8
8
|
| 'NON_BINARY'
|
|
9
9
|
| 'UNKNOWN';
|
|
10
10
|
|
|
11
|
-
export default
|
|
11
|
+
export default Genders;
|
|
@@ -8,6 +8,8 @@ export type IndustriesId = string;
|
|
|
8
8
|
export default interface Industries {
|
|
9
9
|
id: IndustriesId;
|
|
10
10
|
|
|
11
|
+
slug: string;
|
|
12
|
+
|
|
11
13
|
name: string;
|
|
12
14
|
|
|
13
15
|
deletedAt: Date | null;
|
|
@@ -22,6 +24,8 @@ export interface IndustriesInitializer {
|
|
|
22
24
|
/** Default value: gen_random_uuid() */
|
|
23
25
|
id?: IndustriesId;
|
|
24
26
|
|
|
27
|
+
slug: string;
|
|
28
|
+
|
|
25
29
|
name: string;
|
|
26
30
|
|
|
27
31
|
deletedAt?: Date | null;
|
|
@@ -37,6 +41,8 @@ export interface IndustriesInitializer {
|
|
|
37
41
|
export interface IndustriesMutator {
|
|
38
42
|
id?: IndustriesId;
|
|
39
43
|
|
|
44
|
+
slug?: string;
|
|
45
|
+
|
|
40
46
|
name?: string;
|
|
41
47
|
|
|
42
48
|
deletedAt?: Date | null;
|
|
@@ -1,19 +1,33 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
4
|
+
/** Identifier type for public.job_functions */
|
|
5
|
+
export type JobFunctionsId = string;
|
|
6
|
+
|
|
7
|
+
/** Represents the table public.job_functions */
|
|
8
|
+
export default interface JobFunctions {
|
|
9
|
+
id: JobFunctionsId;
|
|
10
|
+
|
|
11
|
+
slug: string;
|
|
12
|
+
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** Represents the initializer for the table public.job_functions */
|
|
17
|
+
export interface JobFunctionsInitializer {
|
|
18
|
+
/** Default value: gen_random_uuid() */
|
|
19
|
+
id?: JobFunctionsId;
|
|
20
|
+
|
|
21
|
+
slug: string;
|
|
22
|
+
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Represents the mutator for the table public.job_functions */
|
|
27
|
+
export interface JobFunctionsMutator {
|
|
28
|
+
id?: JobFunctionsId;
|
|
29
|
+
|
|
30
|
+
slug?: string;
|
|
31
|
+
|
|
32
|
+
name?: string;
|
|
33
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @generated
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
|
-
/** Represents the enum public.
|
|
5
|
-
type
|
|
4
|
+
/** Represents the enum public.JobLevels */
|
|
5
|
+
type JobLevels =
|
|
6
6
|
| 'EXPERIENCED'
|
|
7
7
|
| 'MANAGER'
|
|
8
8
|
| 'DIRECTOR'
|
|
@@ -10,4 +10,4 @@ type PersonCareerLevels =
|
|
|
10
10
|
| 'VICE_PRESIDENT_SENIOR'
|
|
11
11
|
| 'CHIEF_SUITE';
|
|
12
12
|
|
|
13
|
-
export default
|
|
13
|
+
export default JobLevels;
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
import type { default as PersonSources } from './PersonSources';
|
|
5
|
-
import type { default as
|
|
6
|
-
import type { default as PersonDegrees } from './PersonDegrees';
|
|
7
|
-
import type { default as PersonGenders } from './PersonGenders';
|
|
8
|
-
import type { default as JobFunctions } from './JobFunctions';
|
|
5
|
+
import type { default as Genders } from './Genders';
|
|
9
6
|
import type { ClientsId } from './Clients';
|
|
10
7
|
|
|
11
8
|
/** Identifier type for public.persons */
|
|
@@ -55,39 +52,19 @@ export default interface Persons {
|
|
|
55
52
|
|
|
56
53
|
source: PersonSources | null;
|
|
57
54
|
|
|
58
|
-
|
|
55
|
+
sourcePersonId: PersonsId | null;
|
|
59
56
|
|
|
60
|
-
|
|
57
|
+
website: string | null;
|
|
61
58
|
|
|
62
59
|
expectedSalary: number | null;
|
|
63
60
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
currentTitle: string | null;
|
|
67
|
-
|
|
68
|
-
careerLevel: PersonCareerLevels | null;
|
|
69
|
-
|
|
70
|
-
certifications: string[] | null;
|
|
61
|
+
currentJobId: string | null;
|
|
71
62
|
|
|
72
63
|
openToRelocate: boolean | null;
|
|
73
64
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
undergraduateInstitution: string | null;
|
|
77
|
-
|
|
78
|
-
typeOfUndergraduateDegree: string | null;
|
|
79
|
-
|
|
80
|
-
graduateInstitution: string | null;
|
|
81
|
-
|
|
82
|
-
typeOfGraduateDegree: string | null;
|
|
83
|
-
|
|
84
|
-
gender: PersonGenders | null;
|
|
65
|
+
gender: Genders | null;
|
|
85
66
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
jobFunctions: JobFunctions[] | null;
|
|
89
|
-
|
|
90
|
-
sourcePersonId: PersonsId | null;
|
|
67
|
+
discoveredThrough: string | null;
|
|
91
68
|
|
|
92
69
|
deactivatedAt: Date | null;
|
|
93
70
|
|
|
@@ -154,39 +131,19 @@ export interface PersonsInitializer {
|
|
|
154
131
|
/** Default value: 'SOURCED'::"PersonSources" */
|
|
155
132
|
source?: PersonSources | null;
|
|
156
133
|
|
|
157
|
-
|
|
134
|
+
sourcePersonId?: PersonsId | null;
|
|
158
135
|
|
|
159
|
-
|
|
136
|
+
website?: string | null;
|
|
160
137
|
|
|
161
138
|
expectedSalary?: number | null;
|
|
162
139
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
currentTitle?: string | null;
|
|
166
|
-
|
|
167
|
-
careerLevel?: PersonCareerLevels | null;
|
|
168
|
-
|
|
169
|
-
certifications?: string[] | null;
|
|
140
|
+
currentJobId?: string | null;
|
|
170
141
|
|
|
171
142
|
openToRelocate?: boolean | null;
|
|
172
143
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
undergraduateInstitution?: string | null;
|
|
144
|
+
gender?: Genders | null;
|
|
176
145
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
graduateInstitution?: string | null;
|
|
180
|
-
|
|
181
|
-
typeOfGraduateDegree?: string | null;
|
|
182
|
-
|
|
183
|
-
gender?: PersonGenders | null;
|
|
184
|
-
|
|
185
|
-
howDidYouHearAboutUs?: string | null;
|
|
186
|
-
|
|
187
|
-
jobFunctions?: JobFunctions[] | null;
|
|
188
|
-
|
|
189
|
-
sourcePersonId?: PersonsId | null;
|
|
146
|
+
discoveredThrough?: string | null;
|
|
190
147
|
|
|
191
148
|
deactivatedAt?: Date | null;
|
|
192
149
|
|
|
@@ -250,39 +207,19 @@ export interface PersonsMutator {
|
|
|
250
207
|
|
|
251
208
|
source?: PersonSources | null;
|
|
252
209
|
|
|
253
|
-
|
|
210
|
+
sourcePersonId?: PersonsId | null;
|
|
254
211
|
|
|
255
|
-
|
|
212
|
+
website?: string | null;
|
|
256
213
|
|
|
257
214
|
expectedSalary?: number | null;
|
|
258
215
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
currentTitle?: string | null;
|
|
262
|
-
|
|
263
|
-
careerLevel?: PersonCareerLevels | null;
|
|
264
|
-
|
|
265
|
-
certifications?: string[] | null;
|
|
216
|
+
currentJobId?: string | null;
|
|
266
217
|
|
|
267
218
|
openToRelocate?: boolean | null;
|
|
268
219
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
undergraduateInstitution?: string | null;
|
|
272
|
-
|
|
273
|
-
typeOfUndergraduateDegree?: string | null;
|
|
274
|
-
|
|
275
|
-
graduateInstitution?: string | null;
|
|
220
|
+
gender?: Genders | null;
|
|
276
221
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
gender?: PersonGenders | null;
|
|
280
|
-
|
|
281
|
-
howDidYouHearAboutUs?: string | null;
|
|
282
|
-
|
|
283
|
-
jobFunctions?: JobFunctions[] | null;
|
|
284
|
-
|
|
285
|
-
sourcePersonId?: PersonsId | null;
|
|
222
|
+
discoveredThrough?: string | null;
|
|
286
223
|
|
|
287
224
|
deactivatedAt?: Date | null;
|
|
288
225
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
import type { PersonsId } from './Persons';
|
|
5
|
+
import type { CertificationsId } from './Certifications';
|
|
6
|
+
|
|
7
|
+
/** Represents the table public.persons_to_certifications */
|
|
8
|
+
export default interface PersonsToCertifications {
|
|
9
|
+
personId: PersonsId;
|
|
10
|
+
|
|
11
|
+
certificationId: CertificationsId;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/** Represents the initializer for the table public.persons_to_certifications */
|
|
15
|
+
export interface PersonsToCertificationsInitializer {
|
|
16
|
+
personId: PersonsId;
|
|
17
|
+
|
|
18
|
+
certificationId: CertificationsId;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** Represents the mutator for the table public.persons_to_certifications */
|
|
22
|
+
export interface PersonsToCertificationsMutator {
|
|
23
|
+
personId?: PersonsId;
|
|
24
|
+
|
|
25
|
+
certificationId?: CertificationsId;
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Represents the enum public.PositionRatingCategories */
|
|
5
|
+
type PositionRatingCategories =
|
|
6
|
+
| 'COMPENSATION'
|
|
7
|
+
| 'INTEREST';
|
|
8
|
+
|
|
9
|
+
export default PositionRatingCategories;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
import type { PositionsId } from './Positions';
|
|
5
|
+
import type { default as PositionRatingCategories } from './PositionRatingCategories';
|
|
6
|
+
|
|
7
|
+
/** Identifier type for public.position_ratings */
|
|
8
|
+
export type PositionRatingsId = string;
|
|
9
|
+
|
|
10
|
+
/** Represents the table public.position_ratings */
|
|
11
|
+
export default interface PositionRatings {
|
|
12
|
+
id: PositionRatingsId;
|
|
13
|
+
|
|
14
|
+
positionId: PositionsId;
|
|
15
|
+
|
|
16
|
+
rating: number;
|
|
17
|
+
|
|
18
|
+
category: PositionRatingCategories;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** Represents the initializer for the table public.position_ratings */
|
|
22
|
+
export interface PositionRatingsInitializer {
|
|
23
|
+
/** Default value: gen_random_uuid() */
|
|
24
|
+
id?: PositionRatingsId;
|
|
25
|
+
|
|
26
|
+
positionId: PositionsId;
|
|
27
|
+
|
|
28
|
+
rating: number;
|
|
29
|
+
|
|
30
|
+
category: PositionRatingCategories;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** Represents the mutator for the table public.position_ratings */
|
|
34
|
+
export interface PositionRatingsMutator {
|
|
35
|
+
id?: PositionRatingsId;
|
|
36
|
+
|
|
37
|
+
positionId?: PositionsId;
|
|
38
|
+
|
|
39
|
+
rating?: number;
|
|
40
|
+
|
|
41
|
+
category?: PositionRatingCategories;
|
|
42
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @generated
|
|
2
|
+
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
|
+
|
|
4
|
+
/** Represents the enum public.PositionStages */
|
|
5
|
+
type PositionStages =
|
|
6
|
+
| 'PENDING'
|
|
7
|
+
| 'IN_PROGRESS'
|
|
8
|
+
| 'HIRED'
|
|
9
|
+
| 'CANCELED'
|
|
10
|
+
| 'FAILED';
|
|
11
|
+
|
|
12
|
+
export default PositionStages;
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import type { default as PositionStatuses } from './PositionStatuses';
|
|
5
5
|
import type { ClientsId } from './Clients';
|
|
6
|
-
import type { default as JobFunctions } from './JobFunctions';
|
|
7
6
|
|
|
8
7
|
/** Identifier type for public.positions */
|
|
9
8
|
export type PositionsId = string;
|
|
@@ -22,12 +21,14 @@ export default interface Positions {
|
|
|
22
21
|
|
|
23
22
|
location: string | null;
|
|
24
23
|
|
|
24
|
+
lat: number | null;
|
|
25
|
+
|
|
26
|
+
lon: number | null;
|
|
27
|
+
|
|
25
28
|
isHidden: boolean;
|
|
26
29
|
|
|
27
30
|
clientId: ClientsId;
|
|
28
31
|
|
|
29
|
-
jobFunctions: JobFunctions[] | null;
|
|
30
|
-
|
|
31
32
|
startedAt: Date | null;
|
|
32
33
|
|
|
33
34
|
hiredAt: Date | null;
|
|
@@ -51,20 +52,22 @@ export interface PositionsInitializer {
|
|
|
51
52
|
|
|
52
53
|
name: string;
|
|
53
54
|
|
|
54
|
-
/** Default value: '
|
|
55
|
+
/** Default value: 'OPEN'::"PositionStatuses" */
|
|
55
56
|
status?: PositionStatuses | null;
|
|
56
57
|
|
|
57
58
|
description?: string | null;
|
|
58
59
|
|
|
59
60
|
location?: string | null;
|
|
60
61
|
|
|
62
|
+
lat?: number | null;
|
|
63
|
+
|
|
64
|
+
lon?: number | null;
|
|
65
|
+
|
|
61
66
|
/** Default value: false */
|
|
62
67
|
isHidden?: boolean;
|
|
63
68
|
|
|
64
69
|
clientId: ClientsId;
|
|
65
70
|
|
|
66
|
-
jobFunctions?: JobFunctions[] | null;
|
|
67
|
-
|
|
68
71
|
startedAt?: Date | null;
|
|
69
72
|
|
|
70
73
|
hiredAt?: Date | null;
|
|
@@ -94,12 +97,14 @@ export interface PositionsMutator {
|
|
|
94
97
|
|
|
95
98
|
location?: string | null;
|
|
96
99
|
|
|
100
|
+
lat?: number | null;
|
|
101
|
+
|
|
102
|
+
lon?: number | null;
|
|
103
|
+
|
|
97
104
|
isHidden?: boolean;
|
|
98
105
|
|
|
99
106
|
clientId?: ClientsId;
|
|
100
107
|
|
|
101
|
-
jobFunctions?: JobFunctions[] | null;
|
|
102
|
-
|
|
103
108
|
startedAt?: Date | null;
|
|
104
109
|
|
|
105
110
|
hiredAt?: Date | null;
|