@smartytalent/api-client 0.9.33 → 0.9.34
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.
|
@@ -80,7 +80,7 @@ export interface BriefAttributesSchema {
|
|
|
80
80
|
*/
|
|
81
81
|
seniority?: string;
|
|
82
82
|
/**
|
|
83
|
-
* Recruitment criteria captured from the brief - ordered, tiered ({text: {locale: str}, tier: required|preferred|optional|disqualifier}). The tier is the job item's importance (one vocabulary since 2026-09-09). must and bonus are DEPRECATED: accepted for briefs written before, read as required and optional, never written.
|
|
83
|
+
* Recruitment criteria captured from the brief - ordered, tiered ({text: {locale: str}, tier: required|preferred|optional|disqualifier, priority?: high|medium|low, formCheck?: boolean, criterion?: one of the 16 criteria keys}). The tier is the job item's importance (one vocabulary since 2026-09-09). must and bonus are DEPRECATED: accepted for briefs written before, read as required and optional, never written. priority = the hiring manager's view of how rare the requirement is on the market (few candidates have it = high, almost all = low): it becomes the job section's priority, the weight of the weighted verdict (2026-09-23). formCheck = the hiring manager wants the application form to ask and reject on it; honoured only for the declaration-fed sections (location, availability, work authorization, licences). criterion = the family the requirement belongs to, a routing hint for the job build.
|
|
84
84
|
* @type {Array<BriefCriterionSchema>}
|
|
85
85
|
* @memberof BriefAttributesSchema
|
|
86
86
|
*/
|
|
@@ -29,6 +29,24 @@ export interface BriefCriterionSchema {
|
|
|
29
29
|
* @memberof BriefCriterionSchema
|
|
30
30
|
*/
|
|
31
31
|
tier?: BriefCriterionSchemaTierEnum;
|
|
32
|
+
/**
|
|
33
|
+
* Differentiating power as the hiring manager sees the market: high (few candidates have it), medium (most do), low (almost everyone does). Becomes the job section's priority, the weight in the weighted verdict.
|
|
34
|
+
* @type {BriefCriterionSchemaPriorityEnum}
|
|
35
|
+
* @memberof BriefCriterionSchema
|
|
36
|
+
*/
|
|
37
|
+
priority?: BriefCriterionSchemaPriorityEnum;
|
|
38
|
+
/**
|
|
39
|
+
* The hiring manager wants the application form to ask this and reject on it; effective only in the declaration-fed sections (locationPreferences, availability, workAuthorization, licenses).
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof BriefCriterionSchema
|
|
42
|
+
*/
|
|
43
|
+
formCheck?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The criteria family this requirement belongs to (a routing hint for the job build).
|
|
46
|
+
* @type {BriefCriterionSchemaCriterionEnum}
|
|
47
|
+
* @memberof BriefCriterionSchema
|
|
48
|
+
*/
|
|
49
|
+
criterion?: BriefCriterionSchemaCriterionEnum;
|
|
32
50
|
}
|
|
33
51
|
/**
|
|
34
52
|
* @export
|
|
@@ -42,6 +60,37 @@ export declare const BriefCriterionSchemaTierEnum: {
|
|
|
42
60
|
readonly Bonus: "bonus";
|
|
43
61
|
};
|
|
44
62
|
export type BriefCriterionSchemaTierEnum = typeof BriefCriterionSchemaTierEnum[keyof typeof BriefCriterionSchemaTierEnum];
|
|
63
|
+
/**
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export declare const BriefCriterionSchemaPriorityEnum: {
|
|
67
|
+
readonly High: "high";
|
|
68
|
+
readonly Medium: "medium";
|
|
69
|
+
readonly Low: "low";
|
|
70
|
+
};
|
|
71
|
+
export type BriefCriterionSchemaPriorityEnum = typeof BriefCriterionSchemaPriorityEnum[keyof typeof BriefCriterionSchemaPriorityEnum];
|
|
72
|
+
/**
|
|
73
|
+
* @export
|
|
74
|
+
*/
|
|
75
|
+
export declare const BriefCriterionSchemaCriterionEnum: {
|
|
76
|
+
readonly SkillsAndExpertise: "skillsAndExpertise";
|
|
77
|
+
readonly PersonalityAndSoftSkills: "personalityAndSoftSkills";
|
|
78
|
+
readonly Education: "education";
|
|
79
|
+
readonly Certifications: "certifications";
|
|
80
|
+
readonly Licenses: "licenses";
|
|
81
|
+
readonly LanguagesSpoken: "languagesSpoken";
|
|
82
|
+
readonly ExperienceAndSeniority: "experienceAndSeniority";
|
|
83
|
+
readonly IndustryExperience: "industryExperience";
|
|
84
|
+
readonly CompanyTypeExperience: "companyTypeExperience";
|
|
85
|
+
readonly JobPositions: "jobPositions";
|
|
86
|
+
readonly WorkAuthorization: "workAuthorization";
|
|
87
|
+
readonly Availability: "availability";
|
|
88
|
+
readonly WorkPreferences: "workPreferences";
|
|
89
|
+
readonly JobTendencies: "jobTendencies";
|
|
90
|
+
readonly LocationPreferences: "locationPreferences";
|
|
91
|
+
readonly SalaryExpectation: "salaryExpectation";
|
|
92
|
+
};
|
|
93
|
+
export type BriefCriterionSchemaCriterionEnum = typeof BriefCriterionSchemaCriterionEnum[keyof typeof BriefCriterionSchemaCriterionEnum];
|
|
45
94
|
/**
|
|
46
95
|
* Check if a given object implements the BriefCriterionSchema interface.
|
|
47
96
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BriefCriterionSchema.d.ts","sourceRoot":"","sources":["../../src/models/BriefCriterionSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"BriefCriterionSchema.d.ts","sourceRoot":"","sources":["../../src/models/BriefCriterionSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,4BAA4B,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gCAAgC,CAAC;IAC5C;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,iCAAiC,CAAC;CACjD;AAGD;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;CAO/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAE1H;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;CAInC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAEtI;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;CAiBpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAE3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAY/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa9H"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.BriefCriterionSchemaTierEnum = void 0;
|
|
16
|
+
exports.BriefCriterionSchemaCriterionEnum = exports.BriefCriterionSchemaPriorityEnum = exports.BriefCriterionSchemaTierEnum = void 0;
|
|
17
17
|
exports.instanceOfBriefCriterionSchema = instanceOfBriefCriterionSchema;
|
|
18
18
|
exports.BriefCriterionSchemaFromJSON = BriefCriterionSchemaFromJSON;
|
|
19
19
|
exports.BriefCriterionSchemaFromJSONTyped = BriefCriterionSchemaFromJSONTyped;
|
|
@@ -30,6 +30,35 @@ exports.BriefCriterionSchemaTierEnum = {
|
|
|
30
30
|
Must: 'must',
|
|
31
31
|
Bonus: 'bonus'
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.BriefCriterionSchemaPriorityEnum = {
|
|
37
|
+
High: 'high',
|
|
38
|
+
Medium: 'medium',
|
|
39
|
+
Low: 'low'
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
exports.BriefCriterionSchemaCriterionEnum = {
|
|
45
|
+
SkillsAndExpertise: 'skillsAndExpertise',
|
|
46
|
+
PersonalityAndSoftSkills: 'personalityAndSoftSkills',
|
|
47
|
+
Education: 'education',
|
|
48
|
+
Certifications: 'certifications',
|
|
49
|
+
Licenses: 'licenses',
|
|
50
|
+
LanguagesSpoken: 'languagesSpoken',
|
|
51
|
+
ExperienceAndSeniority: 'experienceAndSeniority',
|
|
52
|
+
IndustryExperience: 'industryExperience',
|
|
53
|
+
CompanyTypeExperience: 'companyTypeExperience',
|
|
54
|
+
JobPositions: 'jobPositions',
|
|
55
|
+
WorkAuthorization: 'workAuthorization',
|
|
56
|
+
Availability: 'availability',
|
|
57
|
+
WorkPreferences: 'workPreferences',
|
|
58
|
+
JobTendencies: 'jobTendencies',
|
|
59
|
+
LocationPreferences: 'locationPreferences',
|
|
60
|
+
SalaryExpectation: 'salaryExpectation'
|
|
61
|
+
};
|
|
33
62
|
/**
|
|
34
63
|
* Check if a given object implements the BriefCriterionSchema interface.
|
|
35
64
|
*/
|
|
@@ -46,6 +75,9 @@ function BriefCriterionSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
75
|
return {
|
|
47
76
|
'text': json['text'] == null ? undefined : json['text'],
|
|
48
77
|
'tier': json['tier'] == null ? undefined : json['tier'],
|
|
78
|
+
'priority': json['priority'] == null ? undefined : json['priority'],
|
|
79
|
+
'formCheck': json['formCheck'] == null ? undefined : json['formCheck'],
|
|
80
|
+
'criterion': json['criterion'] == null ? undefined : json['criterion'],
|
|
49
81
|
};
|
|
50
82
|
}
|
|
51
83
|
function BriefCriterionSchemaToJSON(json) {
|
|
@@ -58,6 +90,9 @@ function BriefCriterionSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
90
|
return {
|
|
59
91
|
'text': value['text'],
|
|
60
92
|
'tier': value['tier'],
|
|
93
|
+
'priority': value['priority'],
|
|
94
|
+
'formCheck': value['formCheck'],
|
|
95
|
+
'criterion': value['criterion'],
|
|
61
96
|
};
|
|
62
97
|
}
|
|
63
98
|
//# sourceMappingURL=BriefCriterionSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BriefCriterionSchema.js","sourceRoot":"","sources":["../../src/models/BriefCriterionSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"BriefCriterionSchema.js","sourceRoot":"","sources":["../../src/models/BriefCriterionSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA4FH,wEAEC;AAED,oEAEC;AAED,8EAYC;AAED,gEAEC;AAED,0EAaC;AAzFD;;GAEG;AACU,QAAA,4BAA4B,GAAG;IACxC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,CAAC;AAGX;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC5C,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;CACJ,CAA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