@experts_hub/shared 1.0.236 → 1.0.238
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
CHANGED
|
@@ -396,6 +396,7 @@ declare const JOB_ROLE_PATTERN: {
|
|
|
396
396
|
};
|
|
397
397
|
declare const JOB_PATTERN: {
|
|
398
398
|
fetchJobs: string;
|
|
399
|
+
fetchRecentJobs: string;
|
|
399
400
|
fetchJobCountAsPerStatus: string;
|
|
400
401
|
fetchJobsDropdown: string;
|
|
401
402
|
fetchJobDetail: string;
|
|
@@ -427,9 +428,15 @@ declare class JobBasicInformationDto {
|
|
|
427
428
|
skills: number[];
|
|
428
429
|
openings: number;
|
|
429
430
|
location: JobLocation;
|
|
431
|
+
countryId: number;
|
|
432
|
+
stateId: number;
|
|
433
|
+
cityId: number;
|
|
430
434
|
typeOfEmployment: EmploymentType;
|
|
435
|
+
currency?: string;
|
|
431
436
|
expectedSalaryFrom: number;
|
|
432
437
|
expectedSalaryTo: number;
|
|
438
|
+
tentativeStartDate: string;
|
|
439
|
+
tentativeEndDate: string;
|
|
433
440
|
onboardingTat?: string;
|
|
434
441
|
candidateCommunicationSkills?: string;
|
|
435
442
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -396,6 +396,7 @@ declare const JOB_ROLE_PATTERN: {
|
|
|
396
396
|
};
|
|
397
397
|
declare const JOB_PATTERN: {
|
|
398
398
|
fetchJobs: string;
|
|
399
|
+
fetchRecentJobs: string;
|
|
399
400
|
fetchJobCountAsPerStatus: string;
|
|
400
401
|
fetchJobsDropdown: string;
|
|
401
402
|
fetchJobDetail: string;
|
|
@@ -427,9 +428,15 @@ declare class JobBasicInformationDto {
|
|
|
427
428
|
skills: number[];
|
|
428
429
|
openings: number;
|
|
429
430
|
location: JobLocation;
|
|
431
|
+
countryId: number;
|
|
432
|
+
stateId: number;
|
|
433
|
+
cityId: number;
|
|
430
434
|
typeOfEmployment: EmploymentType;
|
|
435
|
+
currency?: string;
|
|
431
436
|
expectedSalaryFrom: number;
|
|
432
437
|
expectedSalaryTo: number;
|
|
438
|
+
tentativeStartDate: string;
|
|
439
|
+
tentativeEndDate: string;
|
|
433
440
|
onboardingTat?: string;
|
|
434
441
|
candidateCommunicationSkills?: string;
|
|
435
442
|
}
|
package/dist/index.js
CHANGED
|
@@ -853,6 +853,7 @@ var JOB_ROLE_PATTERN = {
|
|
|
853
853
|
};
|
|
854
854
|
var JOB_PATTERN = {
|
|
855
855
|
fetchJobs: "fetch.jobs",
|
|
856
|
+
fetchRecentJobs: "fetch.recent.jobs",
|
|
856
857
|
fetchJobCountAsPerStatus: "fetch.job.count.as.per.status",
|
|
857
858
|
fetchJobsDropdown: "fetch.jobs.dropdown",
|
|
858
859
|
fetchJobDetail: "fetch.job.details",
|
|
@@ -911,6 +912,18 @@ __decorateClass([
|
|
|
911
912
|
)}`
|
|
912
913
|
})
|
|
913
914
|
], JobBasicInformationDto.prototype, "location", 2);
|
|
915
|
+
__decorateClass([
|
|
916
|
+
(0, import_class_validator28.IsNumber)({}, { message: "Country id must be a number" }),
|
|
917
|
+
(0, import_class_transformer.Type)(() => Number)
|
|
918
|
+
], JobBasicInformationDto.prototype, "countryId", 2);
|
|
919
|
+
__decorateClass([
|
|
920
|
+
(0, import_class_validator28.IsNumber)({}, { message: "State id must be a number" }),
|
|
921
|
+
(0, import_class_transformer.Type)(() => Number)
|
|
922
|
+
], JobBasicInformationDto.prototype, "stateId", 2);
|
|
923
|
+
__decorateClass([
|
|
924
|
+
(0, import_class_validator28.IsNumber)({}, { message: "City id must be a number" }),
|
|
925
|
+
(0, import_class_transformer.Type)(() => Number)
|
|
926
|
+
], JobBasicInformationDto.prototype, "cityId", 2);
|
|
914
927
|
__decorateClass([
|
|
915
928
|
(0, import_class_validator28.IsEnum)(EmploymentType, {
|
|
916
929
|
message: `Type of employment must be one of: ${Object.values(
|
|
@@ -918,6 +931,9 @@ __decorateClass([
|
|
|
918
931
|
).join(", ")}`
|
|
919
932
|
})
|
|
920
933
|
], JobBasicInformationDto.prototype, "typeOfEmployment", 2);
|
|
934
|
+
__decorateClass([
|
|
935
|
+
(0, import_class_validator28.IsString)({ message: "Currency must be a string" })
|
|
936
|
+
], JobBasicInformationDto.prototype, "currency", 2);
|
|
921
937
|
__decorateClass([
|
|
922
938
|
(0, import_class_validator28.IsNumber)({}, { message: "Expected salary (from) must be a number" }),
|
|
923
939
|
(0, import_class_validator28.Min)(0, { message: "Expected salary (from) cannot be negative" }),
|
|
@@ -928,6 +944,14 @@ __decorateClass([
|
|
|
928
944
|
(0, import_class_validator28.Min)(0, { message: "Expected salary (to) cannot be negative" }),
|
|
929
945
|
(0, import_class_transformer.Type)(() => Number)
|
|
930
946
|
], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
|
|
947
|
+
__decorateClass([
|
|
948
|
+
(0, import_class_validator28.IsNotEmpty)({ message: "Please enter start date" }),
|
|
949
|
+
(0, import_class_validator28.IsString)({ message: "Start date must be valid" })
|
|
950
|
+
], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
|
|
951
|
+
__decorateClass([
|
|
952
|
+
(0, import_class_validator28.IsNotEmpty)({ message: "Please enter end date" }),
|
|
953
|
+
(0, import_class_validator28.IsString)({ message: "End date must be valid" })
|
|
954
|
+
], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
|
|
931
955
|
__decorateClass([
|
|
932
956
|
(0, import_class_validator28.IsString)({ message: "Onboarding TAT must be a string" }),
|
|
933
957
|
(0, import_class_validator28.IsOptional)()
|
package/dist/index.mjs
CHANGED
|
@@ -710,6 +710,7 @@ var JOB_ROLE_PATTERN = {
|
|
|
710
710
|
};
|
|
711
711
|
var JOB_PATTERN = {
|
|
712
712
|
fetchJobs: "fetch.jobs",
|
|
713
|
+
fetchRecentJobs: "fetch.recent.jobs",
|
|
713
714
|
fetchJobCountAsPerStatus: "fetch.job.count.as.per.status",
|
|
714
715
|
fetchJobsDropdown: "fetch.jobs.dropdown",
|
|
715
716
|
fetchJobDetail: "fetch.job.details",
|
|
@@ -777,6 +778,18 @@ __decorateClass([
|
|
|
777
778
|
)}`
|
|
778
779
|
})
|
|
779
780
|
], JobBasicInformationDto.prototype, "location", 2);
|
|
781
|
+
__decorateClass([
|
|
782
|
+
IsNumber({}, { message: "Country id must be a number" }),
|
|
783
|
+
Type(() => Number)
|
|
784
|
+
], JobBasicInformationDto.prototype, "countryId", 2);
|
|
785
|
+
__decorateClass([
|
|
786
|
+
IsNumber({}, { message: "State id must be a number" }),
|
|
787
|
+
Type(() => Number)
|
|
788
|
+
], JobBasicInformationDto.prototype, "stateId", 2);
|
|
789
|
+
__decorateClass([
|
|
790
|
+
IsNumber({}, { message: "City id must be a number" }),
|
|
791
|
+
Type(() => Number)
|
|
792
|
+
], JobBasicInformationDto.prototype, "cityId", 2);
|
|
780
793
|
__decorateClass([
|
|
781
794
|
IsEnum7(EmploymentType, {
|
|
782
795
|
message: `Type of employment must be one of: ${Object.values(
|
|
@@ -784,6 +797,9 @@ __decorateClass([
|
|
|
784
797
|
).join(", ")}`
|
|
785
798
|
})
|
|
786
799
|
], JobBasicInformationDto.prototype, "typeOfEmployment", 2);
|
|
800
|
+
__decorateClass([
|
|
801
|
+
IsString12({ message: "Currency must be a string" })
|
|
802
|
+
], JobBasicInformationDto.prototype, "currency", 2);
|
|
787
803
|
__decorateClass([
|
|
788
804
|
IsNumber({}, { message: "Expected salary (from) must be a number" }),
|
|
789
805
|
Min(0, { message: "Expected salary (from) cannot be negative" }),
|
|
@@ -794,6 +810,14 @@ __decorateClass([
|
|
|
794
810
|
Min(0, { message: "Expected salary (to) cannot be negative" }),
|
|
795
811
|
Type(() => Number)
|
|
796
812
|
], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
|
|
813
|
+
__decorateClass([
|
|
814
|
+
IsNotEmpty26({ message: "Please enter start date" }),
|
|
815
|
+
IsString12({ message: "Start date must be valid" })
|
|
816
|
+
], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
|
|
817
|
+
__decorateClass([
|
|
818
|
+
IsNotEmpty26({ message: "Please enter end date" }),
|
|
819
|
+
IsString12({ message: "End date must be valid" })
|
|
820
|
+
], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
|
|
797
821
|
__decorateClass([
|
|
798
822
|
IsString12({ message: "Onboarding TAT must be a string" }),
|
|
799
823
|
IsOptional6()
|
|
@@ -14,9 +14,15 @@ export declare class JobBasicInformationDto {
|
|
|
14
14
|
skills: number[];
|
|
15
15
|
openings: number;
|
|
16
16
|
location: JobLocation;
|
|
17
|
+
countryId: number;
|
|
18
|
+
stateId: number;
|
|
19
|
+
cityId: number;
|
|
17
20
|
typeOfEmployment: EmploymentType;
|
|
21
|
+
currency?: string;
|
|
18
22
|
expectedSalaryFrom: number;
|
|
19
23
|
expectedSalaryTo: number;
|
|
24
|
+
tentativeStartDate: string;
|
|
25
|
+
tentativeEndDate: string;
|
|
20
26
|
onboardingTat?: string;
|
|
21
27
|
candidateCommunicationSkills?: string;
|
|
22
28
|
}
|