@experts_hub/shared 1.0.720 → 1.0.721
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/index.d.mts +20 -20
- package/dist/index.d.ts +20 -20
- package/dist/index.js +20 -37
- package/dist/index.mjs +20 -38
- package/dist/modules/job/dto/create-job-as-is.dto.d.ts +19 -20
- package/dist/modules/job/pattern/pattern.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2470,6 +2470,7 @@ declare const JOB_PATTERN: {
|
|
|
2470
2470
|
fetchJobsForComparison: string;
|
|
2471
2471
|
fetchJobSkillDropdownForClient: string;
|
|
2472
2472
|
createJobDealBreakers: string;
|
|
2473
|
+
getJobStatus: string;
|
|
2473
2474
|
};
|
|
2474
2475
|
declare const JOB_APPLICATION_PATTERN: {
|
|
2475
2476
|
fetchJobApplicationCountAsPerStatusByJobId: string;
|
|
@@ -2623,44 +2624,43 @@ declare enum StepCompletedEnumV2$1 {
|
|
|
2623
2624
|
JOB_DESCRIPTION = "JOB_DESCRIPTION"
|
|
2624
2625
|
}
|
|
2625
2626
|
declare class JobLocationDto$1 {
|
|
2626
|
-
countryId
|
|
2627
|
-
stateId
|
|
2628
|
-
cityId
|
|
2627
|
+
countryId?: number | null;
|
|
2628
|
+
stateId?: number | null;
|
|
2629
|
+
cityId?: number | null;
|
|
2629
2630
|
countryName?: string | null;
|
|
2630
2631
|
stateName?: string | null;
|
|
2631
2632
|
cityName?: string | null;
|
|
2632
2633
|
}
|
|
2633
2634
|
declare class CreateJobAsIsDto {
|
|
2634
|
-
|
|
2635
|
+
openings: number;
|
|
2635
2636
|
jobRole: string;
|
|
2637
|
+
yearsOfExperienceFrom: string;
|
|
2638
|
+
yearsOfExperienceTo: string;
|
|
2636
2639
|
jobRoleCanonicalName?: string;
|
|
2637
2640
|
projectName?: string;
|
|
2638
2641
|
note?: string;
|
|
2639
2642
|
skills: string[];
|
|
2640
|
-
goodToHaveSkills
|
|
2641
|
-
openings: number;
|
|
2643
|
+
goodToHaveSkills?: string[];
|
|
2642
2644
|
locationMode: JobLocationEnumV2$1;
|
|
2643
2645
|
locations: JobLocationDto$1[];
|
|
2644
2646
|
typeOfEmployment: EmploymentTypeV2$1;
|
|
2645
|
-
billingCycle
|
|
2647
|
+
billingCycle?: BillingCycleEnumV2$2;
|
|
2646
2648
|
currency?: string;
|
|
2647
2649
|
expectedSalaryFrom: number;
|
|
2648
|
-
hideExpectedSalaryFrom
|
|
2650
|
+
hideExpectedSalaryFrom?: boolean;
|
|
2649
2651
|
expectedSalaryTo: number;
|
|
2650
|
-
hideExpectedSalaryTo
|
|
2651
|
-
expectedAnnualBudgetFrom
|
|
2652
|
-
hideExpectedAnnualBudgetFrom
|
|
2653
|
-
expectedAnnualBudgetTo
|
|
2654
|
-
hideExpectedAnnualBudgetTo
|
|
2655
|
-
years
|
|
2656
|
-
months
|
|
2657
|
-
weeks
|
|
2658
|
-
days
|
|
2659
|
-
numberOfHours
|
|
2652
|
+
hideExpectedSalaryTo?: boolean;
|
|
2653
|
+
expectedAnnualBudgetFrom?: number;
|
|
2654
|
+
hideExpectedAnnualBudgetFrom?: boolean;
|
|
2655
|
+
expectedAnnualBudgetTo?: number;
|
|
2656
|
+
hideExpectedAnnualBudgetTo?: boolean;
|
|
2657
|
+
years?: string;
|
|
2658
|
+
months?: string;
|
|
2659
|
+
weeks?: string;
|
|
2660
|
+
days?: string;
|
|
2661
|
+
numberOfHours?: number;
|
|
2660
2662
|
candidateCommunicationSkills?: string;
|
|
2661
2663
|
academicQualification?: string;
|
|
2662
|
-
yearsOfExperienceFrom?: string;
|
|
2663
|
-
yearsOfExperienceTo?: string;
|
|
2664
2664
|
businessIndustry?: string;
|
|
2665
2665
|
stepCompleted?: StepCompletedEnumV2$1;
|
|
2666
2666
|
additionalComment?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2470,6 +2470,7 @@ declare const JOB_PATTERN: {
|
|
|
2470
2470
|
fetchJobsForComparison: string;
|
|
2471
2471
|
fetchJobSkillDropdownForClient: string;
|
|
2472
2472
|
createJobDealBreakers: string;
|
|
2473
|
+
getJobStatus: string;
|
|
2473
2474
|
};
|
|
2474
2475
|
declare const JOB_APPLICATION_PATTERN: {
|
|
2475
2476
|
fetchJobApplicationCountAsPerStatusByJobId: string;
|
|
@@ -2623,44 +2624,43 @@ declare enum StepCompletedEnumV2$1 {
|
|
|
2623
2624
|
JOB_DESCRIPTION = "JOB_DESCRIPTION"
|
|
2624
2625
|
}
|
|
2625
2626
|
declare class JobLocationDto$1 {
|
|
2626
|
-
countryId
|
|
2627
|
-
stateId
|
|
2628
|
-
cityId
|
|
2627
|
+
countryId?: number | null;
|
|
2628
|
+
stateId?: number | null;
|
|
2629
|
+
cityId?: number | null;
|
|
2629
2630
|
countryName?: string | null;
|
|
2630
2631
|
stateName?: string | null;
|
|
2631
2632
|
cityName?: string | null;
|
|
2632
2633
|
}
|
|
2633
2634
|
declare class CreateJobAsIsDto {
|
|
2634
|
-
|
|
2635
|
+
openings: number;
|
|
2635
2636
|
jobRole: string;
|
|
2637
|
+
yearsOfExperienceFrom: string;
|
|
2638
|
+
yearsOfExperienceTo: string;
|
|
2636
2639
|
jobRoleCanonicalName?: string;
|
|
2637
2640
|
projectName?: string;
|
|
2638
2641
|
note?: string;
|
|
2639
2642
|
skills: string[];
|
|
2640
|
-
goodToHaveSkills
|
|
2641
|
-
openings: number;
|
|
2643
|
+
goodToHaveSkills?: string[];
|
|
2642
2644
|
locationMode: JobLocationEnumV2$1;
|
|
2643
2645
|
locations: JobLocationDto$1[];
|
|
2644
2646
|
typeOfEmployment: EmploymentTypeV2$1;
|
|
2645
|
-
billingCycle
|
|
2647
|
+
billingCycle?: BillingCycleEnumV2$2;
|
|
2646
2648
|
currency?: string;
|
|
2647
2649
|
expectedSalaryFrom: number;
|
|
2648
|
-
hideExpectedSalaryFrom
|
|
2650
|
+
hideExpectedSalaryFrom?: boolean;
|
|
2649
2651
|
expectedSalaryTo: number;
|
|
2650
|
-
hideExpectedSalaryTo
|
|
2651
|
-
expectedAnnualBudgetFrom
|
|
2652
|
-
hideExpectedAnnualBudgetFrom
|
|
2653
|
-
expectedAnnualBudgetTo
|
|
2654
|
-
hideExpectedAnnualBudgetTo
|
|
2655
|
-
years
|
|
2656
|
-
months
|
|
2657
|
-
weeks
|
|
2658
|
-
days
|
|
2659
|
-
numberOfHours
|
|
2652
|
+
hideExpectedSalaryTo?: boolean;
|
|
2653
|
+
expectedAnnualBudgetFrom?: number;
|
|
2654
|
+
hideExpectedAnnualBudgetFrom?: boolean;
|
|
2655
|
+
expectedAnnualBudgetTo?: number;
|
|
2656
|
+
hideExpectedAnnualBudgetTo?: boolean;
|
|
2657
|
+
years?: string;
|
|
2658
|
+
months?: string;
|
|
2659
|
+
weeks?: string;
|
|
2660
|
+
days?: string;
|
|
2661
|
+
numberOfHours?: number;
|
|
2660
2662
|
candidateCommunicationSkills?: string;
|
|
2661
2663
|
academicQualification?: string;
|
|
2662
|
-
yearsOfExperienceFrom?: string;
|
|
2663
|
-
yearsOfExperienceTo?: string;
|
|
2664
2664
|
businessIndustry?: string;
|
|
2665
2665
|
stepCompleted?: StepCompletedEnumV2$1;
|
|
2666
2666
|
additionalComment?: string;
|
package/dist/index.js
CHANGED
|
@@ -7627,7 +7627,8 @@ var JOB_PATTERN = {
|
|
|
7627
7627
|
jobDataSetup: "job.data.Setup",
|
|
7628
7628
|
fetchJobsForComparison: "fetch.jobs.for.comparison",
|
|
7629
7629
|
fetchJobSkillDropdownForClient: "fetch.job.skill.dropdown.for.client",
|
|
7630
|
-
createJobDealBreakers: "create.job.deal.breakers"
|
|
7630
|
+
createJobDealBreakers: "create.job.deal.breakers",
|
|
7631
|
+
getJobStatus: "get.job.status"
|
|
7631
7632
|
};
|
|
7632
7633
|
var JOB_APPLICATION_PATTERN = {
|
|
7633
7634
|
fetchJobApplicationCountAsPerStatusByJobId: "fetch.job.application.count.as.per.status.by.job.id",
|
|
@@ -8119,18 +8120,24 @@ __decorateClass([
|
|
|
8119
8120
|
(0, import_class_validator53.MaxLength)(255, { message: "City name must not exceed 255 characters" })
|
|
8120
8121
|
], JobLocationDto2.prototype, "cityName", 2);
|
|
8121
8122
|
var CreateJobAsIsDto = class {
|
|
8122
|
-
constructor() {
|
|
8123
|
-
this.isDraft = false;
|
|
8124
|
-
}
|
|
8125
8123
|
};
|
|
8126
8124
|
__decorateClass([
|
|
8127
|
-
(0, import_class_validator53.
|
|
8128
|
-
(0,
|
|
8129
|
-
|
|
8125
|
+
(0, import_class_validator53.IsNumber)({}, { message: "Openings must be a number" }),
|
|
8126
|
+
(0, import_class_validator53.Min)(1, { message: "There must be at least 1 opening" }),
|
|
8127
|
+
(0, import_class_transformer5.Type)(() => Number)
|
|
8128
|
+
], CreateJobAsIsDto.prototype, "openings", 2);
|
|
8130
8129
|
__decorateClass([
|
|
8131
8130
|
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter job role" }),
|
|
8132
8131
|
(0, import_class_validator53.IsString)({ message: "Job role must be a string" })
|
|
8133
8132
|
], CreateJobAsIsDto.prototype, "jobRole", 2);
|
|
8133
|
+
__decorateClass([
|
|
8134
|
+
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter the years of experience" }),
|
|
8135
|
+
(0, import_class_validator53.IsString)({ message: "Years of experience must be a string" })
|
|
8136
|
+
], CreateJobAsIsDto.prototype, "yearsOfExperienceFrom", 2);
|
|
8137
|
+
__decorateClass([
|
|
8138
|
+
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter the years of experience upto" }),
|
|
8139
|
+
(0, import_class_validator53.IsString)({ message: "Years of experience must be a string" })
|
|
8140
|
+
], CreateJobAsIsDto.prototype, "yearsOfExperienceTo", 2);
|
|
8134
8141
|
__decorateClass([
|
|
8135
8142
|
(0, import_class_validator53.IsOptional)()
|
|
8136
8143
|
], CreateJobAsIsDto.prototype, "jobRoleCanonicalName", 2);
|
|
@@ -8143,28 +8150,18 @@ __decorateClass([
|
|
|
8143
8150
|
(0, import_class_validator53.IsString)({ message: "Note must be a string" })
|
|
8144
8151
|
], CreateJobAsIsDto.prototype, "note", 2);
|
|
8145
8152
|
__decorateClass([
|
|
8146
|
-
(0, import_class_validator53.ValidateIf)((o) => !o.isDraft),
|
|
8147
|
-
(0, import_class_validator53.IsOptional)(),
|
|
8148
8153
|
(0, import_class_validator53.IsArray)({ message: "Skills must be an array" }),
|
|
8149
8154
|
(0, import_class_validator53.ArrayNotEmpty)({ message: "Please select at least one skill" }),
|
|
8150
8155
|
(0, import_class_validator53.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
8151
8156
|
(0, import_class_transformer5.Type)(() => String)
|
|
8152
8157
|
], CreateJobAsIsDto.prototype, "skills", 2);
|
|
8153
8158
|
__decorateClass([
|
|
8154
|
-
(0, import_class_validator53.
|
|
8159
|
+
(0, import_class_validator53.IsOptional)(),
|
|
8155
8160
|
(0, import_class_validator53.IsArray)({ message: "Good to have skills must be an array" }),
|
|
8156
8161
|
(0, import_class_validator53.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
8157
|
-
(0, import_class_validator53.IsOptional)(),
|
|
8158
8162
|
(0, import_class_transformer5.Type)(() => String)
|
|
8159
8163
|
], CreateJobAsIsDto.prototype, "goodToHaveSkills", 2);
|
|
8160
8164
|
__decorateClass([
|
|
8161
|
-
(0, import_class_validator53.ValidateIf)((o) => !o.isDraft),
|
|
8162
|
-
(0, import_class_validator53.IsNumber)({}, { message: "Openings must be a number" }),
|
|
8163
|
-
(0, import_class_validator53.Min)(1, { message: "There must be at least 1 opening" }),
|
|
8164
|
-
(0, import_class_transformer5.Type)(() => Number)
|
|
8165
|
-
], CreateJobAsIsDto.prototype, "openings", 2);
|
|
8166
|
-
__decorateClass([
|
|
8167
|
-
(0, import_class_validator53.ValidateIf)((o) => !o.isDraft),
|
|
8168
8165
|
(0, import_class_validator53.IsEnum)(JobLocationEnumV22, {
|
|
8169
8166
|
message: `Location must be one of: ${Object.values(JobLocationEnumV22).join(
|
|
8170
8167
|
", "
|
|
@@ -8176,7 +8173,7 @@ __decorateClass([
|
|
|
8176
8173
|
(0, import_class_transformer5.Type)(() => JobLocationDto2)
|
|
8177
8174
|
], CreateJobAsIsDto.prototype, "locations", 2);
|
|
8178
8175
|
__decorateClass([
|
|
8179
|
-
(0, import_class_validator53.
|
|
8176
|
+
(0, import_class_validator53.IsOptional)(),
|
|
8180
8177
|
(0, import_class_validator53.IsEnum)(EmploymentTypeV22, {
|
|
8181
8178
|
message: `Type of employment must be one of: ${Object.values(
|
|
8182
8179
|
EmploymentTypeV22
|
|
@@ -8190,11 +8187,10 @@ __decorateClass([
|
|
|
8190
8187
|
})
|
|
8191
8188
|
], CreateJobAsIsDto.prototype, "billingCycle", 2);
|
|
8192
8189
|
__decorateClass([
|
|
8193
|
-
(0, import_class_validator53.
|
|
8190
|
+
(0, import_class_validator53.IsOptional)(),
|
|
8194
8191
|
(0, import_class_validator53.IsString)({ message: "Currency must be a string" })
|
|
8195
8192
|
], CreateJobAsIsDto.prototype, "currency", 2);
|
|
8196
8193
|
__decorateClass([
|
|
8197
|
-
(0, import_class_validator53.ValidateIf)((o) => !o.isDraft),
|
|
8198
8194
|
(0, import_class_validator53.IsNumber)({}, { message: "Expected salary (from) must be a number" }),
|
|
8199
8195
|
(0, import_class_validator53.Min)(0, { message: "Expected salary (from) cannot be negative" }),
|
|
8200
8196
|
(0, import_class_transformer5.Type)(() => Number)
|
|
@@ -8203,7 +8199,6 @@ __decorateClass([
|
|
|
8203
8199
|
(0, import_class_validator53.IsOptional)()
|
|
8204
8200
|
], CreateJobAsIsDto.prototype, "hideExpectedSalaryFrom", 2);
|
|
8205
8201
|
__decorateClass([
|
|
8206
|
-
(0, import_class_validator53.ValidateIf)((o) => !o.isDraft),
|
|
8207
8202
|
(0, import_class_validator53.IsNumber)({}, { message: "Expected salary (to) must be a number" }),
|
|
8208
8203
|
(0, import_class_validator53.Min)(0, { message: "Expected salary (to) cannot be negative" }),
|
|
8209
8204
|
(0, import_class_transformer5.Type)(() => Number)
|
|
@@ -8249,24 +8244,13 @@ __decorateClass([
|
|
|
8249
8244
|
(0, import_class_transformer5.Type)(() => Number)
|
|
8250
8245
|
], CreateJobAsIsDto.prototype, "numberOfHours", 2);
|
|
8251
8246
|
__decorateClass([
|
|
8252
|
-
(0, import_class_validator53.
|
|
8253
|
-
(0, import_class_validator53.IsString)({ message: "Candidate communication skills must be a string" })
|
|
8254
|
-
(0, import_class_validator53.IsOptional)()
|
|
8247
|
+
(0, import_class_validator53.IsOptional)(),
|
|
8248
|
+
(0, import_class_validator53.IsString)({ message: "Candidate communication skills must be a string" })
|
|
8255
8249
|
], CreateJobAsIsDto.prototype, "candidateCommunicationSkills", 2);
|
|
8256
8250
|
__decorateClass([
|
|
8257
8251
|
(0, import_class_validator53.IsOptional)(),
|
|
8258
8252
|
(0, import_class_validator53.IsString)({ message: "Academic qualification must be a string" })
|
|
8259
8253
|
], CreateJobAsIsDto.prototype, "academicQualification", 2);
|
|
8260
|
-
__decorateClass([
|
|
8261
|
-
(0, import_class_validator53.ValidateIf)((o) => !o.isDraft),
|
|
8262
|
-
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter the years of experience" }),
|
|
8263
|
-
(0, import_class_validator53.IsString)({ message: "Years of experience must be a string" })
|
|
8264
|
-
], CreateJobAsIsDto.prototype, "yearsOfExperienceFrom", 2);
|
|
8265
|
-
__decorateClass([
|
|
8266
|
-
(0, import_class_validator53.ValidateIf)((o) => !o.isDraft),
|
|
8267
|
-
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter the years of experience upto" }),
|
|
8268
|
-
(0, import_class_validator53.IsString)({ message: "Years of experience must be a string" })
|
|
8269
|
-
], CreateJobAsIsDto.prototype, "yearsOfExperienceTo", 2);
|
|
8270
8254
|
__decorateClass([
|
|
8271
8255
|
(0, import_class_validator53.IsOptional)(),
|
|
8272
8256
|
(0, import_class_validator53.IsString)({ message: "Business industry must be a string" })
|
|
@@ -8286,8 +8270,7 @@ __decorateClass([
|
|
|
8286
8270
|
], CreateJobAsIsDto.prototype, "additionalComment", 2);
|
|
8287
8271
|
__decorateClass([
|
|
8288
8272
|
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter job description" }),
|
|
8289
|
-
(0, import_class_validator53.IsString)({ message: "Description must be a string" })
|
|
8290
|
-
(0, import_class_validator53.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
|
|
8273
|
+
(0, import_class_validator53.IsString)({ message: "Description must be a string" })
|
|
8291
8274
|
], CreateJobAsIsDto.prototype, "description", 2);
|
|
8292
8275
|
|
|
8293
8276
|
// src/modules/job/dto/job-status.dto.ts
|
package/dist/index.mjs
CHANGED
|
@@ -7456,7 +7456,8 @@ var JOB_PATTERN = {
|
|
|
7456
7456
|
jobDataSetup: "job.data.Setup",
|
|
7457
7457
|
fetchJobsForComparison: "fetch.jobs.for.comparison",
|
|
7458
7458
|
fetchJobSkillDropdownForClient: "fetch.job.skill.dropdown.for.client",
|
|
7459
|
-
createJobDealBreakers: "create.job.deal.breakers"
|
|
7459
|
+
createJobDealBreakers: "create.job.deal.breakers",
|
|
7460
|
+
getJobStatus: "get.job.status"
|
|
7460
7461
|
};
|
|
7461
7462
|
var JOB_APPLICATION_PATTERN = {
|
|
7462
7463
|
fetchJobApplicationCountAsPerStatusByJobId: "fetch.job.application.count.as.per.status.by.job.id",
|
|
@@ -7924,7 +7925,6 @@ import {
|
|
|
7924
7925
|
IsOptional as IsOptional25,
|
|
7925
7926
|
IsEnum as IsEnum18,
|
|
7926
7927
|
Min as Min3,
|
|
7927
|
-
ValidateIf as ValidateIf5,
|
|
7928
7928
|
MaxLength as MaxLength10,
|
|
7929
7929
|
Max as Max3
|
|
7930
7930
|
} from "class-validator";
|
|
@@ -7984,18 +7984,24 @@ __decorateClass([
|
|
|
7984
7984
|
MaxLength10(255, { message: "City name must not exceed 255 characters" })
|
|
7985
7985
|
], JobLocationDto2.prototype, "cityName", 2);
|
|
7986
7986
|
var CreateJobAsIsDto = class {
|
|
7987
|
-
constructor() {
|
|
7988
|
-
this.isDraft = false;
|
|
7989
|
-
}
|
|
7990
7987
|
};
|
|
7991
7988
|
__decorateClass([
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7989
|
+
IsNumber5({}, { message: "Openings must be a number" }),
|
|
7990
|
+
Min3(1, { message: "There must be at least 1 opening" }),
|
|
7991
|
+
Type4(() => Number)
|
|
7992
|
+
], CreateJobAsIsDto.prototype, "openings", 2);
|
|
7995
7993
|
__decorateClass([
|
|
7996
7994
|
IsNotEmpty46({ message: "Please enter job role" }),
|
|
7997
7995
|
IsString26({ message: "Job role must be a string" })
|
|
7998
7996
|
], CreateJobAsIsDto.prototype, "jobRole", 2);
|
|
7997
|
+
__decorateClass([
|
|
7998
|
+
IsNotEmpty46({ message: "Please enter the years of experience" }),
|
|
7999
|
+
IsString26({ message: "Years of experience must be a string" })
|
|
8000
|
+
], CreateJobAsIsDto.prototype, "yearsOfExperienceFrom", 2);
|
|
8001
|
+
__decorateClass([
|
|
8002
|
+
IsNotEmpty46({ message: "Please enter the years of experience upto" }),
|
|
8003
|
+
IsString26({ message: "Years of experience must be a string" })
|
|
8004
|
+
], CreateJobAsIsDto.prototype, "yearsOfExperienceTo", 2);
|
|
7999
8005
|
__decorateClass([
|
|
8000
8006
|
IsOptional25()
|
|
8001
8007
|
], CreateJobAsIsDto.prototype, "jobRoleCanonicalName", 2);
|
|
@@ -8008,28 +8014,18 @@ __decorateClass([
|
|
|
8008
8014
|
IsString26({ message: "Note must be a string" })
|
|
8009
8015
|
], CreateJobAsIsDto.prototype, "note", 2);
|
|
8010
8016
|
__decorateClass([
|
|
8011
|
-
ValidateIf5((o) => !o.isDraft),
|
|
8012
|
-
IsOptional25(),
|
|
8013
8017
|
IsArray4({ message: "Skills must be an array" }),
|
|
8014
8018
|
ArrayNotEmpty3({ message: "Please select at least one skill" }),
|
|
8015
8019
|
IsString26({ each: true, message: "Each skill must be a string" }),
|
|
8016
8020
|
Type4(() => String)
|
|
8017
8021
|
], CreateJobAsIsDto.prototype, "skills", 2);
|
|
8018
8022
|
__decorateClass([
|
|
8019
|
-
|
|
8023
|
+
IsOptional25(),
|
|
8020
8024
|
IsArray4({ message: "Good to have skills must be an array" }),
|
|
8021
8025
|
IsString26({ each: true, message: "Each skill must be a string" }),
|
|
8022
|
-
IsOptional25(),
|
|
8023
8026
|
Type4(() => String)
|
|
8024
8027
|
], CreateJobAsIsDto.prototype, "goodToHaveSkills", 2);
|
|
8025
8028
|
__decorateClass([
|
|
8026
|
-
ValidateIf5((o) => !o.isDraft),
|
|
8027
|
-
IsNumber5({}, { message: "Openings must be a number" }),
|
|
8028
|
-
Min3(1, { message: "There must be at least 1 opening" }),
|
|
8029
|
-
Type4(() => Number)
|
|
8030
|
-
], CreateJobAsIsDto.prototype, "openings", 2);
|
|
8031
|
-
__decorateClass([
|
|
8032
|
-
ValidateIf5((o) => !o.isDraft),
|
|
8033
8029
|
IsEnum18(JobLocationEnumV22, {
|
|
8034
8030
|
message: `Location must be one of: ${Object.values(JobLocationEnumV22).join(
|
|
8035
8031
|
", "
|
|
@@ -8041,7 +8037,7 @@ __decorateClass([
|
|
|
8041
8037
|
Type4(() => JobLocationDto2)
|
|
8042
8038
|
], CreateJobAsIsDto.prototype, "locations", 2);
|
|
8043
8039
|
__decorateClass([
|
|
8044
|
-
|
|
8040
|
+
IsOptional25(),
|
|
8045
8041
|
IsEnum18(EmploymentTypeV22, {
|
|
8046
8042
|
message: `Type of employment must be one of: ${Object.values(
|
|
8047
8043
|
EmploymentTypeV22
|
|
@@ -8055,11 +8051,10 @@ __decorateClass([
|
|
|
8055
8051
|
})
|
|
8056
8052
|
], CreateJobAsIsDto.prototype, "billingCycle", 2);
|
|
8057
8053
|
__decorateClass([
|
|
8058
|
-
|
|
8054
|
+
IsOptional25(),
|
|
8059
8055
|
IsString26({ message: "Currency must be a string" })
|
|
8060
8056
|
], CreateJobAsIsDto.prototype, "currency", 2);
|
|
8061
8057
|
__decorateClass([
|
|
8062
|
-
ValidateIf5((o) => !o.isDraft),
|
|
8063
8058
|
IsNumber5({}, { message: "Expected salary (from) must be a number" }),
|
|
8064
8059
|
Min3(0, { message: "Expected salary (from) cannot be negative" }),
|
|
8065
8060
|
Type4(() => Number)
|
|
@@ -8068,7 +8063,6 @@ __decorateClass([
|
|
|
8068
8063
|
IsOptional25()
|
|
8069
8064
|
], CreateJobAsIsDto.prototype, "hideExpectedSalaryFrom", 2);
|
|
8070
8065
|
__decorateClass([
|
|
8071
|
-
ValidateIf5((o) => !o.isDraft),
|
|
8072
8066
|
IsNumber5({}, { message: "Expected salary (to) must be a number" }),
|
|
8073
8067
|
Min3(0, { message: "Expected salary (to) cannot be negative" }),
|
|
8074
8068
|
Type4(() => Number)
|
|
@@ -8114,24 +8108,13 @@ __decorateClass([
|
|
|
8114
8108
|
Type4(() => Number)
|
|
8115
8109
|
], CreateJobAsIsDto.prototype, "numberOfHours", 2);
|
|
8116
8110
|
__decorateClass([
|
|
8117
|
-
|
|
8118
|
-
IsString26({ message: "Candidate communication skills must be a string" })
|
|
8119
|
-
IsOptional25()
|
|
8111
|
+
IsOptional25(),
|
|
8112
|
+
IsString26({ message: "Candidate communication skills must be a string" })
|
|
8120
8113
|
], CreateJobAsIsDto.prototype, "candidateCommunicationSkills", 2);
|
|
8121
8114
|
__decorateClass([
|
|
8122
8115
|
IsOptional25(),
|
|
8123
8116
|
IsString26({ message: "Academic qualification must be a string" })
|
|
8124
8117
|
], CreateJobAsIsDto.prototype, "academicQualification", 2);
|
|
8125
|
-
__decorateClass([
|
|
8126
|
-
ValidateIf5((o) => !o.isDraft),
|
|
8127
|
-
IsNotEmpty46({ message: "Please enter the years of experience" }),
|
|
8128
|
-
IsString26({ message: "Years of experience must be a string" })
|
|
8129
|
-
], CreateJobAsIsDto.prototype, "yearsOfExperienceFrom", 2);
|
|
8130
|
-
__decorateClass([
|
|
8131
|
-
ValidateIf5((o) => !o.isDraft),
|
|
8132
|
-
IsNotEmpty46({ message: "Please enter the years of experience upto" }),
|
|
8133
|
-
IsString26({ message: "Years of experience must be a string" })
|
|
8134
|
-
], CreateJobAsIsDto.prototype, "yearsOfExperienceTo", 2);
|
|
8135
8118
|
__decorateClass([
|
|
8136
8119
|
IsOptional25(),
|
|
8137
8120
|
IsString26({ message: "Business industry must be a string" })
|
|
@@ -8151,8 +8134,7 @@ __decorateClass([
|
|
|
8151
8134
|
], CreateJobAsIsDto.prototype, "additionalComment", 2);
|
|
8152
8135
|
__decorateClass([
|
|
8153
8136
|
IsNotEmpty46({ message: "Please enter job description" }),
|
|
8154
|
-
IsString26({ message: "Description must be a string" })
|
|
8155
|
-
MaxLength10(5e3, { message: "Description must not exceed 5000 characters" })
|
|
8137
|
+
IsString26({ message: "Description must be a string" })
|
|
8156
8138
|
], CreateJobAsIsDto.prototype, "description", 2);
|
|
8157
8139
|
|
|
8158
8140
|
// src/modules/job/dto/job-status.dto.ts
|
|
@@ -20,44 +20,43 @@ declare enum StepCompletedEnumV2 {
|
|
|
20
20
|
JOB_DESCRIPTION = "JOB_DESCRIPTION"
|
|
21
21
|
}
|
|
22
22
|
declare class JobLocationDto {
|
|
23
|
-
countryId
|
|
24
|
-
stateId
|
|
25
|
-
cityId
|
|
23
|
+
countryId?: number | null;
|
|
24
|
+
stateId?: number | null;
|
|
25
|
+
cityId?: number | null;
|
|
26
26
|
countryName?: string | null;
|
|
27
27
|
stateName?: string | null;
|
|
28
28
|
cityName?: string | null;
|
|
29
29
|
}
|
|
30
30
|
export declare class CreateJobAsIsDto {
|
|
31
|
-
|
|
31
|
+
openings: number;
|
|
32
32
|
jobRole: string;
|
|
33
|
+
yearsOfExperienceFrom: string;
|
|
34
|
+
yearsOfExperienceTo: string;
|
|
33
35
|
jobRoleCanonicalName?: string;
|
|
34
36
|
projectName?: string;
|
|
35
37
|
note?: string;
|
|
36
38
|
skills: string[];
|
|
37
|
-
goodToHaveSkills
|
|
38
|
-
openings: number;
|
|
39
|
+
goodToHaveSkills?: string[];
|
|
39
40
|
locationMode: JobLocationEnumV2;
|
|
40
41
|
locations: JobLocationDto[];
|
|
41
42
|
typeOfEmployment: EmploymentTypeV2;
|
|
42
|
-
billingCycle
|
|
43
|
+
billingCycle?: BillingCycleEnumV2;
|
|
43
44
|
currency?: string;
|
|
44
45
|
expectedSalaryFrom: number;
|
|
45
|
-
hideExpectedSalaryFrom
|
|
46
|
+
hideExpectedSalaryFrom?: boolean;
|
|
46
47
|
expectedSalaryTo: number;
|
|
47
|
-
hideExpectedSalaryTo
|
|
48
|
-
expectedAnnualBudgetFrom
|
|
49
|
-
hideExpectedAnnualBudgetFrom
|
|
50
|
-
expectedAnnualBudgetTo
|
|
51
|
-
hideExpectedAnnualBudgetTo
|
|
52
|
-
years
|
|
53
|
-
months
|
|
54
|
-
weeks
|
|
55
|
-
days
|
|
56
|
-
numberOfHours
|
|
48
|
+
hideExpectedSalaryTo?: boolean;
|
|
49
|
+
expectedAnnualBudgetFrom?: number;
|
|
50
|
+
hideExpectedAnnualBudgetFrom?: boolean;
|
|
51
|
+
expectedAnnualBudgetTo?: number;
|
|
52
|
+
hideExpectedAnnualBudgetTo?: boolean;
|
|
53
|
+
years?: string;
|
|
54
|
+
months?: string;
|
|
55
|
+
weeks?: string;
|
|
56
|
+
days?: string;
|
|
57
|
+
numberOfHours?: number;
|
|
57
58
|
candidateCommunicationSkills?: string;
|
|
58
59
|
academicQualification?: string;
|
|
59
|
-
yearsOfExperienceFrom?: string;
|
|
60
|
-
yearsOfExperienceTo?: string;
|
|
61
60
|
businessIndustry?: string;
|
|
62
61
|
stepCompleted?: StepCompletedEnumV2;
|
|
63
62
|
additionalComment?: string;
|
|
@@ -45,6 +45,7 @@ export declare const JOB_PATTERN: {
|
|
|
45
45
|
fetchJobsForComparison: string;
|
|
46
46
|
fetchJobSkillDropdownForClient: string;
|
|
47
47
|
createJobDealBreakers: string;
|
|
48
|
+
getJobStatus: string;
|
|
48
49
|
};
|
|
49
50
|
export declare const JOB_APPLICATION_PATTERN: {
|
|
50
51
|
fetchJobApplicationCountAsPerStatusByJobId: string;
|