@experts_hub/shared 1.0.571 → 1.0.574
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 +6 -9
- package/dist/index.d.ts +6 -9
- package/dist/index.js +25 -35
- package/dist/index.mjs +26 -36
- package/dist/modules/interview/dto/create-interview-basic-information.dto.d.ts +1 -7
- package/dist/modules/job/dto/job-basic-information-v2.dto.d.ts +3 -0
- package/dist/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.d.ts +1 -1
- package/dist/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -700,6 +700,9 @@ declare class JobLocationDto {
|
|
|
700
700
|
countryId: number | null;
|
|
701
701
|
stateId: number | null;
|
|
702
702
|
cityId: number | null;
|
|
703
|
+
countryName?: string | null;
|
|
704
|
+
stateName?: string | null;
|
|
705
|
+
cityName?: string | null;
|
|
703
706
|
}
|
|
704
707
|
declare class JobBasicInformationV2Dto {
|
|
705
708
|
isDraft?: boolean;
|
|
@@ -2999,11 +3002,11 @@ declare const CLIENT_CANDIDATE_PREFERENCE_PATTERN: {
|
|
|
2999
3002
|
};
|
|
3000
3003
|
|
|
3001
3004
|
declare class MarkCandidateStatusDto {
|
|
3002
|
-
|
|
3005
|
+
candidateId: number;
|
|
3003
3006
|
}
|
|
3004
3007
|
|
|
3005
3008
|
declare class MarkCandidateStatusBulkDto {
|
|
3006
|
-
|
|
3009
|
+
candidatesIds: number[];
|
|
3007
3010
|
}
|
|
3008
3011
|
|
|
3009
3012
|
declare const CMS_PATTERNS: {
|
|
@@ -3371,13 +3374,7 @@ declare class CaptureAiInterviewResultPublicDto {
|
|
|
3371
3374
|
|
|
3372
3375
|
declare class CreateInterviewBasicInformationDto {
|
|
3373
3376
|
jobId: number;
|
|
3374
|
-
|
|
3375
|
-
title?: string;
|
|
3376
|
-
description?: string;
|
|
3377
|
-
scheduledAt?: string;
|
|
3378
|
-
duration?: number;
|
|
3379
|
-
skillIds?: number[];
|
|
3380
|
-
location?: string;
|
|
3377
|
+
interviewName: string;
|
|
3381
3378
|
}
|
|
3382
3379
|
|
|
3383
3380
|
declare class UpdateInterviewBasicInformationDto {
|
package/dist/index.d.ts
CHANGED
|
@@ -700,6 +700,9 @@ declare class JobLocationDto {
|
|
|
700
700
|
countryId: number | null;
|
|
701
701
|
stateId: number | null;
|
|
702
702
|
cityId: number | null;
|
|
703
|
+
countryName?: string | null;
|
|
704
|
+
stateName?: string | null;
|
|
705
|
+
cityName?: string | null;
|
|
703
706
|
}
|
|
704
707
|
declare class JobBasicInformationV2Dto {
|
|
705
708
|
isDraft?: boolean;
|
|
@@ -2999,11 +3002,11 @@ declare const CLIENT_CANDIDATE_PREFERENCE_PATTERN: {
|
|
|
2999
3002
|
};
|
|
3000
3003
|
|
|
3001
3004
|
declare class MarkCandidateStatusDto {
|
|
3002
|
-
|
|
3005
|
+
candidateId: number;
|
|
3003
3006
|
}
|
|
3004
3007
|
|
|
3005
3008
|
declare class MarkCandidateStatusBulkDto {
|
|
3006
|
-
|
|
3009
|
+
candidatesIds: number[];
|
|
3007
3010
|
}
|
|
3008
3011
|
|
|
3009
3012
|
declare const CMS_PATTERNS: {
|
|
@@ -3371,13 +3374,7 @@ declare class CaptureAiInterviewResultPublicDto {
|
|
|
3371
3374
|
|
|
3372
3375
|
declare class CreateInterviewBasicInformationDto {
|
|
3373
3376
|
jobId: number;
|
|
3374
|
-
|
|
3375
|
-
title?: string;
|
|
3376
|
-
description?: string;
|
|
3377
|
-
scheduledAt?: string;
|
|
3378
|
-
duration?: number;
|
|
3379
|
-
skillIds?: number[];
|
|
3380
|
-
location?: string;
|
|
3377
|
+
interviewName: string;
|
|
3381
3378
|
}
|
|
3382
3379
|
|
|
3383
3380
|
declare class UpdateInterviewBasicInformationDto {
|
package/dist/index.js
CHANGED
|
@@ -1810,6 +1810,21 @@ __decorateClass([
|
|
|
1810
1810
|
(0, import_class_validator49.IsOptional)(),
|
|
1811
1811
|
(0, import_class_transformer4.Type)(() => Number)
|
|
1812
1812
|
], JobLocationDto.prototype, "cityId", 2);
|
|
1813
|
+
__decorateClass([
|
|
1814
|
+
(0, import_class_validator49.IsOptional)(),
|
|
1815
|
+
(0, import_class_validator49.IsString)({ message: "Country name must be a string" }),
|
|
1816
|
+
(0, import_class_validator49.MaxLength)(255, { message: "Country name must not exceed 255 characters" })
|
|
1817
|
+
], JobLocationDto.prototype, "countryName", 2);
|
|
1818
|
+
__decorateClass([
|
|
1819
|
+
(0, import_class_validator49.IsOptional)(),
|
|
1820
|
+
(0, import_class_validator49.IsString)({ message: "State name must be a string" }),
|
|
1821
|
+
(0, import_class_validator49.MaxLength)(255, { message: "State name must not exceed 255 characters" })
|
|
1822
|
+
], JobLocationDto.prototype, "stateName", 2);
|
|
1823
|
+
__decorateClass([
|
|
1824
|
+
(0, import_class_validator49.IsOptional)(),
|
|
1825
|
+
(0, import_class_validator49.IsString)({ message: "City name must be a string" }),
|
|
1826
|
+
(0, import_class_validator49.MaxLength)(255, { message: "City name must not exceed 255 characters" })
|
|
1827
|
+
], JobLocationDto.prototype, "cityName", 2);
|
|
1813
1828
|
var JobBasicInformationV2Dto = class {
|
|
1814
1829
|
constructor() {
|
|
1815
1830
|
this.isDraft = false;
|
|
@@ -7807,19 +7822,19 @@ var import_class_validator81 = require("class-validator");
|
|
|
7807
7822
|
var MarkCandidateStatusDto = class {
|
|
7808
7823
|
};
|
|
7809
7824
|
__decorateClass([
|
|
7810
|
-
(0, import_class_validator81.IsNotEmpty)({ message: "
|
|
7811
|
-
(0, import_class_validator81.IsNumber)({}, { message: "
|
|
7812
|
-
], MarkCandidateStatusDto.prototype, "
|
|
7825
|
+
(0, import_class_validator81.IsNotEmpty)({ message: "Candidate ID is required" }),
|
|
7826
|
+
(0, import_class_validator81.IsNumber)({}, { message: "Candidate ID must be a number" })
|
|
7827
|
+
], MarkCandidateStatusDto.prototype, "candidateId", 2);
|
|
7813
7828
|
|
|
7814
7829
|
// src/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.ts
|
|
7815
7830
|
var import_class_validator82 = require("class-validator");
|
|
7816
7831
|
var MarkCandidateStatusBulkDto = class {
|
|
7817
7832
|
};
|
|
7818
7833
|
__decorateClass([
|
|
7819
|
-
(0, import_class_validator82.IsArray)({ message: "
|
|
7820
|
-
(0, import_class_validator82.ArrayNotEmpty)({ message: "At least one
|
|
7821
|
-
(0, import_class_validator82.IsNumber)({}, { each: true, message: "Each
|
|
7822
|
-
], MarkCandidateStatusBulkDto.prototype, "
|
|
7834
|
+
(0, import_class_validator82.IsArray)({ message: "Candidate IDs must be an array" }),
|
|
7835
|
+
(0, import_class_validator82.ArrayNotEmpty)({ message: "At least one candidate ID is required" }),
|
|
7836
|
+
(0, import_class_validator82.IsNumber)({}, { each: true, message: "Each candidate ID must be a number" })
|
|
7837
|
+
], MarkCandidateStatusBulkDto.prototype, "candidatesIds", 2);
|
|
7823
7838
|
|
|
7824
7839
|
// src/modules/cms/pattern/pattern.ts
|
|
7825
7840
|
var CMS_PATTERNS = {
|
|
@@ -8639,34 +8654,9 @@ __decorateClass([
|
|
|
8639
8654
|
(0, import_class_validator100.IsNumber)({}, { message: "Job ID must be a number" })
|
|
8640
8655
|
], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
|
|
8641
8656
|
__decorateClass([
|
|
8642
|
-
(0, import_class_validator100.IsNotEmpty)({ message: "Interview
|
|
8643
|
-
(0, import_class_validator100.IsString)({ message: "Interview
|
|
8644
|
-
], CreateInterviewBasicInformationDto.prototype, "
|
|
8645
|
-
__decorateClass([
|
|
8646
|
-
(0, import_class_validator100.IsOptional)(),
|
|
8647
|
-
(0, import_class_validator100.IsString)()
|
|
8648
|
-
], CreateInterviewBasicInformationDto.prototype, "title", 2);
|
|
8649
|
-
__decorateClass([
|
|
8650
|
-
(0, import_class_validator100.IsOptional)(),
|
|
8651
|
-
(0, import_class_validator100.IsString)()
|
|
8652
|
-
], CreateInterviewBasicInformationDto.prototype, "description", 2);
|
|
8653
|
-
__decorateClass([
|
|
8654
|
-
(0, import_class_validator100.IsOptional)(),
|
|
8655
|
-
(0, import_class_validator100.IsDateString)()
|
|
8656
|
-
], CreateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
|
|
8657
|
-
__decorateClass([
|
|
8658
|
-
(0, import_class_validator100.IsOptional)(),
|
|
8659
|
-
(0, import_class_validator100.IsNumber)({}, { message: "Duration must be a number" })
|
|
8660
|
-
], CreateInterviewBasicInformationDto.prototype, "duration", 2);
|
|
8661
|
-
__decorateClass([
|
|
8662
|
-
(0, import_class_validator100.IsOptional)(),
|
|
8663
|
-
(0, import_class_validator100.IsArray)(),
|
|
8664
|
-
(0, import_class_validator100.IsNumber)({}, { each: true, message: "Each skill ID must be a number" })
|
|
8665
|
-
], CreateInterviewBasicInformationDto.prototype, "skillIds", 2);
|
|
8666
|
-
__decorateClass([
|
|
8667
|
-
(0, import_class_validator100.IsOptional)(),
|
|
8668
|
-
(0, import_class_validator100.IsString)()
|
|
8669
|
-
], CreateInterviewBasicInformationDto.prototype, "location", 2);
|
|
8657
|
+
(0, import_class_validator100.IsNotEmpty)({ message: "Interview name is required" }),
|
|
8658
|
+
(0, import_class_validator100.IsString)({ message: "Interview name must be a string" })
|
|
8659
|
+
], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
|
|
8670
8660
|
|
|
8671
8661
|
// src/modules/interview/dto/update-interview-basic-information.dto.ts
|
|
8672
8662
|
var import_class_validator101 = require("class-validator");
|
package/dist/index.mjs
CHANGED
|
@@ -1508,6 +1508,21 @@ __decorateClass([
|
|
|
1508
1508
|
IsOptional21(),
|
|
1509
1509
|
Type3(() => Number)
|
|
1510
1510
|
], JobLocationDto.prototype, "cityId", 2);
|
|
1511
|
+
__decorateClass([
|
|
1512
|
+
IsOptional21(),
|
|
1513
|
+
IsString23({ message: "Country name must be a string" }),
|
|
1514
|
+
MaxLength9(255, { message: "Country name must not exceed 255 characters" })
|
|
1515
|
+
], JobLocationDto.prototype, "countryName", 2);
|
|
1516
|
+
__decorateClass([
|
|
1517
|
+
IsOptional21(),
|
|
1518
|
+
IsString23({ message: "State name must be a string" }),
|
|
1519
|
+
MaxLength9(255, { message: "State name must not exceed 255 characters" })
|
|
1520
|
+
], JobLocationDto.prototype, "stateName", 2);
|
|
1521
|
+
__decorateClass([
|
|
1522
|
+
IsOptional21(),
|
|
1523
|
+
IsString23({ message: "City name must be a string" }),
|
|
1524
|
+
MaxLength9(255, { message: "City name must not exceed 255 characters" })
|
|
1525
|
+
], JobLocationDto.prototype, "cityName", 2);
|
|
1511
1526
|
var JobBasicInformationV2Dto = class {
|
|
1512
1527
|
constructor() {
|
|
1513
1528
|
this.isDraft = false;
|
|
@@ -7821,19 +7836,19 @@ import { IsNotEmpty as IsNotEmpty67, IsNumber as IsNumber11 } from "class-valida
|
|
|
7821
7836
|
var MarkCandidateStatusDto = class {
|
|
7822
7837
|
};
|
|
7823
7838
|
__decorateClass([
|
|
7824
|
-
IsNotEmpty67({ message: "
|
|
7825
|
-
IsNumber11({}, { message: "
|
|
7826
|
-
], MarkCandidateStatusDto.prototype, "
|
|
7839
|
+
IsNotEmpty67({ message: "Candidate ID is required" }),
|
|
7840
|
+
IsNumber11({}, { message: "Candidate ID must be a number" })
|
|
7841
|
+
], MarkCandidateStatusDto.prototype, "candidateId", 2);
|
|
7827
7842
|
|
|
7828
7843
|
// src/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.ts
|
|
7829
7844
|
import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray14, IsNumber as IsNumber12 } from "class-validator";
|
|
7830
7845
|
var MarkCandidateStatusBulkDto = class {
|
|
7831
7846
|
};
|
|
7832
7847
|
__decorateClass([
|
|
7833
|
-
IsArray14({ message: "
|
|
7834
|
-
ArrayNotEmpty8({ message: "At least one
|
|
7835
|
-
IsNumber12({}, { each: true, message: "Each
|
|
7836
|
-
], MarkCandidateStatusBulkDto.prototype, "
|
|
7848
|
+
IsArray14({ message: "Candidate IDs must be an array" }),
|
|
7849
|
+
ArrayNotEmpty8({ message: "At least one candidate ID is required" }),
|
|
7850
|
+
IsNumber12({}, { each: true, message: "Each candidate ID must be a number" })
|
|
7851
|
+
], MarkCandidateStatusBulkDto.prototype, "candidatesIds", 2);
|
|
7837
7852
|
|
|
7838
7853
|
// src/modules/cms/pattern/pattern.ts
|
|
7839
7854
|
var CMS_PATTERNS = {
|
|
@@ -8708,7 +8723,7 @@ __decorateClass([
|
|
|
8708
8723
|
], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
|
|
8709
8724
|
|
|
8710
8725
|
// src/modules/interview/dto/create-interview-basic-information.dto.ts
|
|
8711
|
-
import { IsNotEmpty as IsNotEmpty82, IsString as IsString63,
|
|
8726
|
+
import { IsNotEmpty as IsNotEmpty82, IsString as IsString63, IsNumber as IsNumber18 } from "class-validator";
|
|
8712
8727
|
var CreateInterviewBasicInformationDto = class {
|
|
8713
8728
|
};
|
|
8714
8729
|
__decorateClass([
|
|
@@ -8716,34 +8731,9 @@ __decorateClass([
|
|
|
8716
8731
|
IsNumber18({}, { message: "Job ID must be a number" })
|
|
8717
8732
|
], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
|
|
8718
8733
|
__decorateClass([
|
|
8719
|
-
IsNotEmpty82({ message: "Interview
|
|
8720
|
-
IsString63({ message: "Interview
|
|
8721
|
-
], CreateInterviewBasicInformationDto.prototype, "
|
|
8722
|
-
__decorateClass([
|
|
8723
|
-
IsOptional56(),
|
|
8724
|
-
IsString63()
|
|
8725
|
-
], CreateInterviewBasicInformationDto.prototype, "title", 2);
|
|
8726
|
-
__decorateClass([
|
|
8727
|
-
IsOptional56(),
|
|
8728
|
-
IsString63()
|
|
8729
|
-
], CreateInterviewBasicInformationDto.prototype, "description", 2);
|
|
8730
|
-
__decorateClass([
|
|
8731
|
-
IsOptional56(),
|
|
8732
|
-
IsDateString7()
|
|
8733
|
-
], CreateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
|
|
8734
|
-
__decorateClass([
|
|
8735
|
-
IsOptional56(),
|
|
8736
|
-
IsNumber18({}, { message: "Duration must be a number" })
|
|
8737
|
-
], CreateInterviewBasicInformationDto.prototype, "duration", 2);
|
|
8738
|
-
__decorateClass([
|
|
8739
|
-
IsOptional56(),
|
|
8740
|
-
IsArray19(),
|
|
8741
|
-
IsNumber18({}, { each: true, message: "Each skill ID must be a number" })
|
|
8742
|
-
], CreateInterviewBasicInformationDto.prototype, "skillIds", 2);
|
|
8743
|
-
__decorateClass([
|
|
8744
|
-
IsOptional56(),
|
|
8745
|
-
IsString63()
|
|
8746
|
-
], CreateInterviewBasicInformationDto.prototype, "location", 2);
|
|
8734
|
+
IsNotEmpty82({ message: "Interview name is required" }),
|
|
8735
|
+
IsString63({ message: "Interview name must be a string" })
|
|
8736
|
+
], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
|
|
8747
8737
|
|
|
8748
8738
|
// src/modules/interview/dto/update-interview-basic-information.dto.ts
|
|
8749
8739
|
import { IsOptional as IsOptional57, IsString as IsString64, IsNumber as IsNumber19, IsArray as IsArray20, IsDateString as IsDateString8 } from "class-validator";
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
export declare class CreateInterviewBasicInformationDto {
|
|
2
2
|
jobId: number;
|
|
3
|
-
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
scheduledAt?: string;
|
|
7
|
-
duration?: number;
|
|
8
|
-
skillIds?: number[];
|
|
9
|
-
location?: string;
|
|
3
|
+
interviewName: string;
|
|
10
4
|
}
|
|
@@ -23,6 +23,9 @@ export declare class JobLocationDto {
|
|
|
23
23
|
countryId: number | null;
|
|
24
24
|
stateId: number | null;
|
|
25
25
|
cityId: number | null;
|
|
26
|
+
countryName?: string | null;
|
|
27
|
+
stateName?: string | null;
|
|
28
|
+
cityName?: string | null;
|
|
26
29
|
}
|
|
27
30
|
export declare class JobBasicInformationV2Dto {
|
|
28
31
|
isDraft?: boolean;
|