@experts_hub/shared 1.0.522 → 1.0.524
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 +28 -26
- package/dist/index.d.ts +28 -26
- package/dist/index.js +78 -63
- package/dist/index.mjs +86 -70
- package/dist/modules/client-admin/dto/create-client.dto.d.ts +3 -3
- package/dist/modules/client-admin/dto/update-client.dto.d.ts +3 -3
- package/dist/modules/freelancer-admin/dto/create-freelancer.dto.d.ts +3 -3
- package/dist/modules/freelancer-admin/dto/update-freelancer.dto.d.ts +3 -3
- package/dist/modules/job-admin/dto/admin-job-basic-information-v2.dto.d.ts +16 -13
- package/dist/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -605,7 +605,6 @@ declare class FreelancerChangePasswordDto {
|
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
declare enum NatureOfWorkDto {
|
|
608
|
-
FULLTIME = "FULLTIME",
|
|
609
608
|
FREELANCE = "FREELANCE",
|
|
610
609
|
FTE = "FTE"
|
|
611
610
|
}
|
|
@@ -2365,14 +2364,14 @@ declare const ADMIN_FREELANCER_PATTERN: {
|
|
|
2365
2364
|
};
|
|
2366
2365
|
|
|
2367
2366
|
declare enum NatureOfWorkEnum$1 {
|
|
2368
|
-
|
|
2369
|
-
|
|
2367
|
+
FTE = "FTE",
|
|
2368
|
+
FREELANCE = "FREELANCE",
|
|
2370
2369
|
BOTH = "BOTH"
|
|
2371
2370
|
}
|
|
2372
2371
|
declare enum ModeOfWorkEnum$1 {
|
|
2373
2372
|
REMOTE = "REMOTE",
|
|
2374
2373
|
ONSITE = "ONSITE",
|
|
2375
|
-
|
|
2374
|
+
HYBRID = "HYBRID"
|
|
2376
2375
|
}
|
|
2377
2376
|
declare class CreateFreelancerDto {
|
|
2378
2377
|
fullName: string;
|
|
@@ -2395,14 +2394,14 @@ declare class CreateFreelancerDto {
|
|
|
2395
2394
|
}
|
|
2396
2395
|
|
|
2397
2396
|
declare enum NatureOfWorkEnum {
|
|
2398
|
-
|
|
2399
|
-
|
|
2397
|
+
FTE = "FTE",
|
|
2398
|
+
FREELANCE = "FREELANCE",
|
|
2400
2399
|
BOTH = "BOTH"
|
|
2401
2400
|
}
|
|
2402
2401
|
declare enum ModeOfWorkEnum {
|
|
2403
2402
|
REMOTE = "REMOTE",
|
|
2404
2403
|
ONSITE = "ONSITE",
|
|
2405
|
-
|
|
2404
|
+
HYBRID = "HYBRID"
|
|
2406
2405
|
}
|
|
2407
2406
|
declare class UpdateFreelancerDto {
|
|
2408
2407
|
fullName?: string;
|
|
@@ -2506,11 +2505,11 @@ declare const CLIENT_ADMIN_PATTERNS: {
|
|
|
2506
2505
|
declare enum CreateClientHiringModeEnum {
|
|
2507
2506
|
REMOTE = "REMOTE",
|
|
2508
2507
|
ONSITE = "ONSITE",
|
|
2509
|
-
|
|
2508
|
+
HYBRID = "HYBRID"
|
|
2510
2509
|
}
|
|
2511
2510
|
declare enum CreateClientHiringTypeEnum {
|
|
2512
|
-
|
|
2513
|
-
|
|
2511
|
+
FTE = "FTE",
|
|
2512
|
+
FREELANCE = "FREELANCE",
|
|
2514
2513
|
BOTH = "BOTH"
|
|
2515
2514
|
}
|
|
2516
2515
|
declare class CreateClientDto {
|
|
@@ -2535,11 +2534,11 @@ declare class UpdateClientAccountStatusDto {
|
|
|
2535
2534
|
declare enum UpdateClientHiringModeEnum {
|
|
2536
2535
|
REMOTE = "REMOTE",
|
|
2537
2536
|
ONSITE = "ONSITE",
|
|
2538
|
-
|
|
2537
|
+
HYBRID = "HYBRID"
|
|
2539
2538
|
}
|
|
2540
2539
|
declare enum UpdateClientHiringTypeEnum {
|
|
2541
|
-
|
|
2542
|
-
|
|
2540
|
+
FTE = "FTE",
|
|
2541
|
+
FREELANCE = "FREELANCE",
|
|
2543
2542
|
BOTH = "BOTH"
|
|
2544
2543
|
}
|
|
2545
2544
|
declare class UpdateClientDto {
|
|
@@ -2772,35 +2771,38 @@ declare class JobLocationAdminDto {
|
|
|
2772
2771
|
cityId: number;
|
|
2773
2772
|
}
|
|
2774
2773
|
declare class AdminJobBasicInformationV2Dto {
|
|
2775
|
-
clientId: number;
|
|
2776
2774
|
isDraft?: boolean;
|
|
2775
|
+
clientId: number;
|
|
2777
2776
|
jobRole: string;
|
|
2778
|
-
jobRoleCanonicalName?: string;
|
|
2779
|
-
projectName?: string;
|
|
2780
2777
|
note?: string;
|
|
2781
2778
|
skills: string[];
|
|
2782
|
-
goodToHaveSkills: string[];
|
|
2783
|
-
locations: JobLocationAdminDto[];
|
|
2784
2779
|
openings: number;
|
|
2785
2780
|
location: JobLocationAdminEnumDto;
|
|
2786
2781
|
typeOfEmployment: EmploymentTypeAdminEnumDto;
|
|
2787
|
-
currency?: string;
|
|
2788
2782
|
expectedSalaryFrom: number;
|
|
2789
|
-
hideExpectedSalaryFrom: boolean;
|
|
2790
2783
|
expectedSalaryTo: number;
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
weeks: string;
|
|
2795
|
-
days: string;
|
|
2796
|
-
numberOfHours: number;
|
|
2784
|
+
currency?: string;
|
|
2785
|
+
locations: JobLocationAdminDto[];
|
|
2786
|
+
onboardingTat: string;
|
|
2797
2787
|
candidateCommunicationSkills?: string;
|
|
2788
|
+
tentativeStartDate: string;
|
|
2789
|
+
tentativeEndDate: string;
|
|
2798
2790
|
academicQualification?: string;
|
|
2799
2791
|
yearsOfExperienceType: typeOfExperienceAdminEnumDto;
|
|
2800
2792
|
yearsOfExperienceFrom?: string;
|
|
2801
2793
|
yearsOfExperienceTo?: string;
|
|
2802
2794
|
businessIndustry?: string;
|
|
2795
|
+
projectName?: string;
|
|
2796
|
+
hideExpectedSalaryFrom: boolean;
|
|
2797
|
+
hideExpectedSalaryTo: boolean;
|
|
2798
|
+
numberOfHours: number;
|
|
2799
|
+
years: string;
|
|
2800
|
+
months: string;
|
|
2801
|
+
weeks: string;
|
|
2802
|
+
days: string;
|
|
2803
2803
|
additionalComment?: string;
|
|
2804
|
+
goodToHaveSkills: string[];
|
|
2805
|
+
jobRoleCanonicalName?: string;
|
|
2804
2806
|
}
|
|
2805
2807
|
|
|
2806
2808
|
declare const LEAD_PATTERN: {
|
package/dist/index.d.ts
CHANGED
|
@@ -605,7 +605,6 @@ declare class FreelancerChangePasswordDto {
|
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
declare enum NatureOfWorkDto {
|
|
608
|
-
FULLTIME = "FULLTIME",
|
|
609
608
|
FREELANCE = "FREELANCE",
|
|
610
609
|
FTE = "FTE"
|
|
611
610
|
}
|
|
@@ -2365,14 +2364,14 @@ declare const ADMIN_FREELANCER_PATTERN: {
|
|
|
2365
2364
|
};
|
|
2366
2365
|
|
|
2367
2366
|
declare enum NatureOfWorkEnum$1 {
|
|
2368
|
-
|
|
2369
|
-
|
|
2367
|
+
FTE = "FTE",
|
|
2368
|
+
FREELANCE = "FREELANCE",
|
|
2370
2369
|
BOTH = "BOTH"
|
|
2371
2370
|
}
|
|
2372
2371
|
declare enum ModeOfWorkEnum$1 {
|
|
2373
2372
|
REMOTE = "REMOTE",
|
|
2374
2373
|
ONSITE = "ONSITE",
|
|
2375
|
-
|
|
2374
|
+
HYBRID = "HYBRID"
|
|
2376
2375
|
}
|
|
2377
2376
|
declare class CreateFreelancerDto {
|
|
2378
2377
|
fullName: string;
|
|
@@ -2395,14 +2394,14 @@ declare class CreateFreelancerDto {
|
|
|
2395
2394
|
}
|
|
2396
2395
|
|
|
2397
2396
|
declare enum NatureOfWorkEnum {
|
|
2398
|
-
|
|
2399
|
-
|
|
2397
|
+
FTE = "FTE",
|
|
2398
|
+
FREELANCE = "FREELANCE",
|
|
2400
2399
|
BOTH = "BOTH"
|
|
2401
2400
|
}
|
|
2402
2401
|
declare enum ModeOfWorkEnum {
|
|
2403
2402
|
REMOTE = "REMOTE",
|
|
2404
2403
|
ONSITE = "ONSITE",
|
|
2405
|
-
|
|
2404
|
+
HYBRID = "HYBRID"
|
|
2406
2405
|
}
|
|
2407
2406
|
declare class UpdateFreelancerDto {
|
|
2408
2407
|
fullName?: string;
|
|
@@ -2506,11 +2505,11 @@ declare const CLIENT_ADMIN_PATTERNS: {
|
|
|
2506
2505
|
declare enum CreateClientHiringModeEnum {
|
|
2507
2506
|
REMOTE = "REMOTE",
|
|
2508
2507
|
ONSITE = "ONSITE",
|
|
2509
|
-
|
|
2508
|
+
HYBRID = "HYBRID"
|
|
2510
2509
|
}
|
|
2511
2510
|
declare enum CreateClientHiringTypeEnum {
|
|
2512
|
-
|
|
2513
|
-
|
|
2511
|
+
FTE = "FTE",
|
|
2512
|
+
FREELANCE = "FREELANCE",
|
|
2514
2513
|
BOTH = "BOTH"
|
|
2515
2514
|
}
|
|
2516
2515
|
declare class CreateClientDto {
|
|
@@ -2535,11 +2534,11 @@ declare class UpdateClientAccountStatusDto {
|
|
|
2535
2534
|
declare enum UpdateClientHiringModeEnum {
|
|
2536
2535
|
REMOTE = "REMOTE",
|
|
2537
2536
|
ONSITE = "ONSITE",
|
|
2538
|
-
|
|
2537
|
+
HYBRID = "HYBRID"
|
|
2539
2538
|
}
|
|
2540
2539
|
declare enum UpdateClientHiringTypeEnum {
|
|
2541
|
-
|
|
2542
|
-
|
|
2540
|
+
FTE = "FTE",
|
|
2541
|
+
FREELANCE = "FREELANCE",
|
|
2543
2542
|
BOTH = "BOTH"
|
|
2544
2543
|
}
|
|
2545
2544
|
declare class UpdateClientDto {
|
|
@@ -2772,35 +2771,38 @@ declare class JobLocationAdminDto {
|
|
|
2772
2771
|
cityId: number;
|
|
2773
2772
|
}
|
|
2774
2773
|
declare class AdminJobBasicInformationV2Dto {
|
|
2775
|
-
clientId: number;
|
|
2776
2774
|
isDraft?: boolean;
|
|
2775
|
+
clientId: number;
|
|
2777
2776
|
jobRole: string;
|
|
2778
|
-
jobRoleCanonicalName?: string;
|
|
2779
|
-
projectName?: string;
|
|
2780
2777
|
note?: string;
|
|
2781
2778
|
skills: string[];
|
|
2782
|
-
goodToHaveSkills: string[];
|
|
2783
|
-
locations: JobLocationAdminDto[];
|
|
2784
2779
|
openings: number;
|
|
2785
2780
|
location: JobLocationAdminEnumDto;
|
|
2786
2781
|
typeOfEmployment: EmploymentTypeAdminEnumDto;
|
|
2787
|
-
currency?: string;
|
|
2788
2782
|
expectedSalaryFrom: number;
|
|
2789
|
-
hideExpectedSalaryFrom: boolean;
|
|
2790
2783
|
expectedSalaryTo: number;
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
weeks: string;
|
|
2795
|
-
days: string;
|
|
2796
|
-
numberOfHours: number;
|
|
2784
|
+
currency?: string;
|
|
2785
|
+
locations: JobLocationAdminDto[];
|
|
2786
|
+
onboardingTat: string;
|
|
2797
2787
|
candidateCommunicationSkills?: string;
|
|
2788
|
+
tentativeStartDate: string;
|
|
2789
|
+
tentativeEndDate: string;
|
|
2798
2790
|
academicQualification?: string;
|
|
2799
2791
|
yearsOfExperienceType: typeOfExperienceAdminEnumDto;
|
|
2800
2792
|
yearsOfExperienceFrom?: string;
|
|
2801
2793
|
yearsOfExperienceTo?: string;
|
|
2802
2794
|
businessIndustry?: string;
|
|
2795
|
+
projectName?: string;
|
|
2796
|
+
hideExpectedSalaryFrom: boolean;
|
|
2797
|
+
hideExpectedSalaryTo: boolean;
|
|
2798
|
+
numberOfHours: number;
|
|
2799
|
+
years: string;
|
|
2800
|
+
months: string;
|
|
2801
|
+
weeks: string;
|
|
2802
|
+
days: string;
|
|
2803
2803
|
additionalComment?: string;
|
|
2804
|
+
goodToHaveSkills: string[];
|
|
2805
|
+
jobRoleCanonicalName?: string;
|
|
2804
2806
|
}
|
|
2805
2807
|
|
|
2806
2808
|
declare const LEAD_PATTERN: {
|
package/dist/index.js
CHANGED
|
@@ -1668,7 +1668,6 @@ __decorateClass([
|
|
|
1668
1668
|
// src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
|
|
1669
1669
|
var import_class_validator40 = require("class-validator");
|
|
1670
1670
|
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
|
|
1671
|
-
NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
|
|
1672
1671
|
NatureOfWorkDto2["FREELANCE"] = "FREELANCE";
|
|
1673
1672
|
NatureOfWorkDto2["FTE"] = "FTE";
|
|
1674
1673
|
return NatureOfWorkDto2;
|
|
@@ -6598,15 +6597,15 @@ var ADMIN_FREELANCER_PATTERN = {
|
|
|
6598
6597
|
var import_class_validator54 = require("class-validator");
|
|
6599
6598
|
var import_class_transformer9 = require("class-transformer");
|
|
6600
6599
|
var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
6601
|
-
NatureOfWorkEnum3["
|
|
6602
|
-
NatureOfWorkEnum3["
|
|
6600
|
+
NatureOfWorkEnum3["FTE"] = "FTE";
|
|
6601
|
+
NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
|
|
6603
6602
|
NatureOfWorkEnum3["BOTH"] = "BOTH";
|
|
6604
6603
|
return NatureOfWorkEnum3;
|
|
6605
6604
|
})(NatureOfWorkEnum || {});
|
|
6606
6605
|
var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
6607
6606
|
ModeOfWorkEnum3["REMOTE"] = "REMOTE";
|
|
6608
6607
|
ModeOfWorkEnum3["ONSITE"] = "ONSITE";
|
|
6609
|
-
ModeOfWorkEnum3["
|
|
6608
|
+
ModeOfWorkEnum3["HYBRID"] = "HYBRID";
|
|
6610
6609
|
return ModeOfWorkEnum3;
|
|
6611
6610
|
})(ModeOfWorkEnum || {});
|
|
6612
6611
|
var CreateFreelancerDto = class {
|
|
@@ -6692,15 +6691,15 @@ __decorateClass([
|
|
|
6692
6691
|
var import_class_validator55 = require("class-validator");
|
|
6693
6692
|
var import_class_transformer10 = require("class-transformer");
|
|
6694
6693
|
var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
6695
|
-
NatureOfWorkEnum3["
|
|
6696
|
-
NatureOfWorkEnum3["
|
|
6694
|
+
NatureOfWorkEnum3["FTE"] = "FTE";
|
|
6695
|
+
NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
|
|
6697
6696
|
NatureOfWorkEnum3["BOTH"] = "BOTH";
|
|
6698
6697
|
return NatureOfWorkEnum3;
|
|
6699
6698
|
})(NatureOfWorkEnum2 || {});
|
|
6700
6699
|
var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
6701
6700
|
ModeOfWorkEnum3["REMOTE"] = "REMOTE";
|
|
6702
6701
|
ModeOfWorkEnum3["ONSITE"] = "ONSITE";
|
|
6703
|
-
ModeOfWorkEnum3["
|
|
6702
|
+
ModeOfWorkEnum3["HYBRID"] = "HYBRID";
|
|
6704
6703
|
return ModeOfWorkEnum3;
|
|
6705
6704
|
})(ModeOfWorkEnum2 || {});
|
|
6706
6705
|
var UpdateFreelancerDto = class {
|
|
@@ -6806,12 +6805,12 @@ var import_class_validator56 = require("class-validator");
|
|
|
6806
6805
|
var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
|
|
6807
6806
|
CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
6808
6807
|
CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
6809
|
-
CreateClientHiringModeEnum2["
|
|
6808
|
+
CreateClientHiringModeEnum2["HYBRID"] = "HYBRID";
|
|
6810
6809
|
return CreateClientHiringModeEnum2;
|
|
6811
6810
|
})(CreateClientHiringModeEnum || {});
|
|
6812
6811
|
var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2) => {
|
|
6813
|
-
CreateClientHiringTypeEnum2["
|
|
6814
|
-
CreateClientHiringTypeEnum2["
|
|
6812
|
+
CreateClientHiringTypeEnum2["FTE"] = "FTE";
|
|
6813
|
+
CreateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
|
|
6815
6814
|
CreateClientHiringTypeEnum2["BOTH"] = "BOTH";
|
|
6816
6815
|
return CreateClientHiringTypeEnum2;
|
|
6817
6816
|
})(CreateClientHiringTypeEnum || {});
|
|
@@ -6885,12 +6884,12 @@ var import_class_validator58 = require("class-validator");
|
|
|
6885
6884
|
var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
|
|
6886
6885
|
UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
6887
6886
|
UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
6888
|
-
UpdateClientHiringModeEnum2["
|
|
6887
|
+
UpdateClientHiringModeEnum2["HYBRID"] = "HYBRID";
|
|
6889
6888
|
return UpdateClientHiringModeEnum2;
|
|
6890
6889
|
})(UpdateClientHiringModeEnum || {});
|
|
6891
6890
|
var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2) => {
|
|
6892
|
-
UpdateClientHiringTypeEnum2["
|
|
6893
|
-
UpdateClientHiringTypeEnum2["
|
|
6891
|
+
UpdateClientHiringTypeEnum2["FTE"] = "FTE";
|
|
6892
|
+
UpdateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
|
|
6894
6893
|
UpdateClientHiringTypeEnum2["BOTH"] = "BOTH";
|
|
6895
6894
|
return UpdateClientHiringTypeEnum2;
|
|
6896
6895
|
})(UpdateClientHiringTypeEnum || {});
|
|
@@ -7281,24 +7280,17 @@ var AdminJobBasicInformationV2Dto = class {
|
|
|
7281
7280
|
this.isDraft = false;
|
|
7282
7281
|
}
|
|
7283
7282
|
};
|
|
7284
|
-
__decorateClass([
|
|
7285
|
-
(0, import_class_validator64.IsInt)({ message: "Client ID must be a valid integer." })
|
|
7286
|
-
], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
|
|
7287
7283
|
__decorateClass([
|
|
7288
7284
|
(0, import_class_validator64.IsOptional)(),
|
|
7289
7285
|
(0, import_class_transformer14.Type)(() => Boolean)
|
|
7290
7286
|
], AdminJobBasicInformationV2Dto.prototype, "isDraft", 2);
|
|
7287
|
+
__decorateClass([
|
|
7288
|
+
(0, import_class_validator64.IsInt)({ message: "Client ID must be a valid integer." })
|
|
7289
|
+
], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
|
|
7291
7290
|
__decorateClass([
|
|
7292
7291
|
(0, import_class_validator64.IsNotEmpty)({ message: "Please enter job role" }),
|
|
7293
7292
|
(0, import_class_validator64.IsString)({ message: "Job role must be a string" })
|
|
7294
7293
|
], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
|
|
7295
|
-
__decorateClass([
|
|
7296
|
-
(0, import_class_validator64.IsOptional)()
|
|
7297
|
-
], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
|
|
7298
|
-
__decorateClass([
|
|
7299
|
-
(0, import_class_validator64.IsOptional)(),
|
|
7300
|
-
(0, import_class_validator64.IsString)({ message: "Project name must be a string" })
|
|
7301
|
-
], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
|
|
7302
7294
|
__decorateClass([
|
|
7303
7295
|
(0, import_class_validator64.IsOptional)(),
|
|
7304
7296
|
(0, import_class_validator64.IsString)({ message: "Note must be a string" })
|
|
@@ -7311,21 +7303,6 @@ __decorateClass([
|
|
|
7311
7303
|
(0, import_class_validator64.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
7312
7304
|
(0, import_class_transformer14.Type)(() => String)
|
|
7313
7305
|
], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
|
|
7314
|
-
__decorateClass([
|
|
7315
|
-
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7316
|
-
(0, import_class_validator64.IsArray)({ message: "Good to have skills must be an array" }),
|
|
7317
|
-
(0, import_class_validator64.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
7318
|
-
(0, import_class_validator64.IsOptional)(),
|
|
7319
|
-
(0, import_class_transformer14.Type)(() => String)
|
|
7320
|
-
], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
|
|
7321
|
-
__decorateClass([
|
|
7322
|
-
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft && (o.location === "ONSITE" /* ONSITE */ || o.location === "HYBRID" /* HYBRID */)),
|
|
7323
|
-
(0, import_class_validator64.IsArray)({ message: "locations must be an array" }),
|
|
7324
|
-
(0, import_class_validator64.ArrayNotEmpty)({ message: "Please select at least one location" }),
|
|
7325
|
-
(0, import_class_validator64.ValidateNested)({ each: true }),
|
|
7326
|
-
(0, import_class_transformer14.Type)(() => JobLocationAdminDto),
|
|
7327
|
-
(0, import_class_validator64.IsOptional)()
|
|
7328
|
-
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7329
7306
|
__decorateClass([
|
|
7330
7307
|
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7331
7308
|
(0, import_class_validator64.IsNumber)({}, { message: "Openings must be a number" }),
|
|
@@ -7348,19 +7325,12 @@ __decorateClass([
|
|
|
7348
7325
|
).join(", ")}`
|
|
7349
7326
|
})
|
|
7350
7327
|
], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
|
|
7351
|
-
__decorateClass([
|
|
7352
|
-
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7353
|
-
(0, import_class_validator64.IsString)({ message: "Currency must be a string" })
|
|
7354
|
-
], AdminJobBasicInformationV2Dto.prototype, "currency", 2);
|
|
7355
7328
|
__decorateClass([
|
|
7356
7329
|
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7357
7330
|
(0, import_class_validator64.IsNumber)({}, { message: "Expected salary (from) must be a number" }),
|
|
7358
7331
|
(0, import_class_validator64.Min)(0, { message: "Expected salary (from) cannot be negative" }),
|
|
7359
7332
|
(0, import_class_transformer14.Type)(() => Number)
|
|
7360
7333
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
|
|
7361
|
-
__decorateClass([
|
|
7362
|
-
(0, import_class_validator64.IsOptional)()
|
|
7363
|
-
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryFrom", 2);
|
|
7364
7334
|
__decorateClass([
|
|
7365
7335
|
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7366
7336
|
(0, import_class_validator64.IsNumber)({}, { message: "Expected salary (to) must be a number" }),
|
|
@@ -7368,32 +7338,38 @@ __decorateClass([
|
|
|
7368
7338
|
(0, import_class_transformer14.Type)(() => Number)
|
|
7369
7339
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
|
|
7370
7340
|
__decorateClass([
|
|
7371
|
-
(0, import_class_validator64.
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
(0, import_class_validator64.IsOptional)()
|
|
7375
|
-
], AdminJobBasicInformationV2Dto.prototype, "years", 2);
|
|
7376
|
-
__decorateClass([
|
|
7377
|
-
(0, import_class_validator64.IsOptional)()
|
|
7378
|
-
], AdminJobBasicInformationV2Dto.prototype, "months", 2);
|
|
7379
|
-
__decorateClass([
|
|
7380
|
-
(0, import_class_validator64.IsOptional)()
|
|
7381
|
-
], AdminJobBasicInformationV2Dto.prototype, "weeks", 2);
|
|
7341
|
+
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7342
|
+
(0, import_class_validator64.IsString)({ message: "Currency must be a string" })
|
|
7343
|
+
], AdminJobBasicInformationV2Dto.prototype, "currency", 2);
|
|
7382
7344
|
__decorateClass([
|
|
7345
|
+
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft && (o.location === "ONSITE" /* ONSITE */ || o.location === "HYBRID" /* HYBRID */)),
|
|
7346
|
+
(0, import_class_validator64.IsArray)({ message: "locations must be an array" }),
|
|
7347
|
+
(0, import_class_validator64.ArrayNotEmpty)({ message: "Please select at least one location" }),
|
|
7348
|
+
(0, import_class_validator64.ValidateNested)({ each: true }),
|
|
7349
|
+
(0, import_class_transformer14.Type)(() => JobLocationAdminDto),
|
|
7383
7350
|
(0, import_class_validator64.IsOptional)()
|
|
7384
|
-
], AdminJobBasicInformationV2Dto.prototype, "
|
|
7351
|
+
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7385
7352
|
__decorateClass([
|
|
7386
|
-
(0, import_class_validator64.
|
|
7387
|
-
(0, import_class_validator64.
|
|
7388
|
-
|
|
7389
|
-
(0, import_class_validator64.Max)(40, { message: "Number of hours cannot exceed 40" }),
|
|
7390
|
-
(0, import_class_transformer14.Type)(() => Number)
|
|
7391
|
-
], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
|
|
7353
|
+
(0, import_class_validator64.IsString)({ message: "Onboarding Days must be a string." }),
|
|
7354
|
+
(0, import_class_validator64.IsNotEmpty)({ message: "Onboarding Days is required." })
|
|
7355
|
+
], AdminJobBasicInformationV2Dto.prototype, "onboardingTat", 2);
|
|
7392
7356
|
__decorateClass([
|
|
7393
7357
|
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7394
7358
|
(0, import_class_validator64.IsString)({ message: "Candidate communication skills must be a string" }),
|
|
7395
7359
|
(0, import_class_validator64.IsOptional)()
|
|
7396
7360
|
], AdminJobBasicInformationV2Dto.prototype, "candidateCommunicationSkills", 2);
|
|
7361
|
+
__decorateClass([
|
|
7362
|
+
(0, import_class_validator64.IsDateString)(
|
|
7363
|
+
{ strict: true },
|
|
7364
|
+
{ message: "Start date must be in YYYY-MM-DD format." }
|
|
7365
|
+
)
|
|
7366
|
+
], AdminJobBasicInformationV2Dto.prototype, "tentativeStartDate", 2);
|
|
7367
|
+
__decorateClass([
|
|
7368
|
+
(0, import_class_validator64.IsDateString)(
|
|
7369
|
+
{ strict: true },
|
|
7370
|
+
{ message: "End date must be in YYYY-MM-DD format." }
|
|
7371
|
+
)
|
|
7372
|
+
], AdminJobBasicInformationV2Dto.prototype, "tentativeEndDate", 2);
|
|
7397
7373
|
__decorateClass([
|
|
7398
7374
|
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7399
7375
|
(0, import_class_validator64.IsNotEmpty)({ message: "Please enter the academic qualification" }),
|
|
@@ -7421,11 +7397,50 @@ __decorateClass([
|
|
|
7421
7397
|
(0, import_class_validator64.IsOptional)(),
|
|
7422
7398
|
(0, import_class_validator64.IsString)({ message: "Business industry must be a string" })
|
|
7423
7399
|
], AdminJobBasicInformationV2Dto.prototype, "businessIndustry", 2);
|
|
7400
|
+
__decorateClass([
|
|
7401
|
+
(0, import_class_validator64.IsOptional)(),
|
|
7402
|
+
(0, import_class_validator64.IsString)({ message: "Project name must be a string" })
|
|
7403
|
+
], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
|
|
7404
|
+
__decorateClass([
|
|
7405
|
+
(0, import_class_validator64.IsOptional)()
|
|
7406
|
+
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryFrom", 2);
|
|
7407
|
+
__decorateClass([
|
|
7408
|
+
(0, import_class_validator64.IsOptional)()
|
|
7409
|
+
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
|
|
7410
|
+
__decorateClass([
|
|
7411
|
+
(0, import_class_validator64.IsOptional)(),
|
|
7412
|
+
(0, import_class_validator64.IsNumber)({}, { message: "Number of hours must be a number" }),
|
|
7413
|
+
(0, import_class_validator64.Min)(0, { message: "Number of hours cannot be negative" }),
|
|
7414
|
+
(0, import_class_validator64.Max)(40, { message: "Number of hours cannot exceed 40" }),
|
|
7415
|
+
(0, import_class_transformer14.Type)(() => Number)
|
|
7416
|
+
], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
|
|
7417
|
+
__decorateClass([
|
|
7418
|
+
(0, import_class_validator64.IsOptional)()
|
|
7419
|
+
], AdminJobBasicInformationV2Dto.prototype, "years", 2);
|
|
7420
|
+
__decorateClass([
|
|
7421
|
+
(0, import_class_validator64.IsOptional)()
|
|
7422
|
+
], AdminJobBasicInformationV2Dto.prototype, "months", 2);
|
|
7423
|
+
__decorateClass([
|
|
7424
|
+
(0, import_class_validator64.IsOptional)()
|
|
7425
|
+
], AdminJobBasicInformationV2Dto.prototype, "weeks", 2);
|
|
7426
|
+
__decorateClass([
|
|
7427
|
+
(0, import_class_validator64.IsOptional)()
|
|
7428
|
+
], AdminJobBasicInformationV2Dto.prototype, "days", 2);
|
|
7424
7429
|
__decorateClass([
|
|
7425
7430
|
(0, import_class_validator64.IsOptional)(),
|
|
7426
7431
|
(0, import_class_validator64.IsString)({ message: "Additional comment must be a string" }),
|
|
7427
7432
|
(0, import_class_validator64.MaxLength)(500, { message: "Additional comment must not exceed 500 characters" })
|
|
7428
7433
|
], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
|
|
7434
|
+
__decorateClass([
|
|
7435
|
+
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7436
|
+
(0, import_class_validator64.IsArray)({ message: "Good to have skills must be an array" }),
|
|
7437
|
+
(0, import_class_validator64.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
7438
|
+
(0, import_class_validator64.IsOptional)(),
|
|
7439
|
+
(0, import_class_transformer14.Type)(() => String)
|
|
7440
|
+
], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
|
|
7441
|
+
__decorateClass([
|
|
7442
|
+
(0, import_class_validator64.IsOptional)()
|
|
7443
|
+
], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
|
|
7429
7444
|
|
|
7430
7445
|
// src/modules/lead/pattern/pattern.ts
|
|
7431
7446
|
var LEAD_PATTERN = {
|
package/dist/index.mjs
CHANGED
|
@@ -1461,7 +1461,6 @@ import {
|
|
|
1461
1461
|
IsInt
|
|
1462
1462
|
} from "class-validator";
|
|
1463
1463
|
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
|
|
1464
|
-
NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
|
|
1465
1464
|
NatureOfWorkDto2["FREELANCE"] = "FREELANCE";
|
|
1466
1465
|
NatureOfWorkDto2["FTE"] = "FTE";
|
|
1467
1466
|
return NatureOfWorkDto2;
|
|
@@ -6645,15 +6644,15 @@ import {
|
|
|
6645
6644
|
} from "class-validator";
|
|
6646
6645
|
import { Type as Type8 } from "class-transformer";
|
|
6647
6646
|
var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
6648
|
-
NatureOfWorkEnum3["
|
|
6649
|
-
NatureOfWorkEnum3["
|
|
6647
|
+
NatureOfWorkEnum3["FTE"] = "FTE";
|
|
6648
|
+
NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
|
|
6650
6649
|
NatureOfWorkEnum3["BOTH"] = "BOTH";
|
|
6651
6650
|
return NatureOfWorkEnum3;
|
|
6652
6651
|
})(NatureOfWorkEnum || {});
|
|
6653
6652
|
var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
6654
6653
|
ModeOfWorkEnum3["REMOTE"] = "REMOTE";
|
|
6655
6654
|
ModeOfWorkEnum3["ONSITE"] = "ONSITE";
|
|
6656
|
-
ModeOfWorkEnum3["
|
|
6655
|
+
ModeOfWorkEnum3["HYBRID"] = "HYBRID";
|
|
6657
6656
|
return ModeOfWorkEnum3;
|
|
6658
6657
|
})(ModeOfWorkEnum || {});
|
|
6659
6658
|
var CreateFreelancerDto = class {
|
|
@@ -6753,15 +6752,15 @@ import {
|
|
|
6753
6752
|
} from "class-validator";
|
|
6754
6753
|
import { Transform as Transform2, Type as Type9 } from "class-transformer";
|
|
6755
6754
|
var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
6756
|
-
NatureOfWorkEnum3["
|
|
6757
|
-
NatureOfWorkEnum3["
|
|
6755
|
+
NatureOfWorkEnum3["FTE"] = "FTE";
|
|
6756
|
+
NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
|
|
6758
6757
|
NatureOfWorkEnum3["BOTH"] = "BOTH";
|
|
6759
6758
|
return NatureOfWorkEnum3;
|
|
6760
6759
|
})(NatureOfWorkEnum2 || {});
|
|
6761
6760
|
var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
6762
6761
|
ModeOfWorkEnum3["REMOTE"] = "REMOTE";
|
|
6763
6762
|
ModeOfWorkEnum3["ONSITE"] = "ONSITE";
|
|
6764
|
-
ModeOfWorkEnum3["
|
|
6763
|
+
ModeOfWorkEnum3["HYBRID"] = "HYBRID";
|
|
6765
6764
|
return ModeOfWorkEnum3;
|
|
6766
6765
|
})(ModeOfWorkEnum2 || {});
|
|
6767
6766
|
var UpdateFreelancerDto = class {
|
|
@@ -6877,12 +6876,12 @@ import {
|
|
|
6877
6876
|
var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
|
|
6878
6877
|
CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
6879
6878
|
CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
6880
|
-
CreateClientHiringModeEnum2["
|
|
6879
|
+
CreateClientHiringModeEnum2["HYBRID"] = "HYBRID";
|
|
6881
6880
|
return CreateClientHiringModeEnum2;
|
|
6882
6881
|
})(CreateClientHiringModeEnum || {});
|
|
6883
6882
|
var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2) => {
|
|
6884
|
-
CreateClientHiringTypeEnum2["
|
|
6885
|
-
CreateClientHiringTypeEnum2["
|
|
6883
|
+
CreateClientHiringTypeEnum2["FTE"] = "FTE";
|
|
6884
|
+
CreateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
|
|
6886
6885
|
CreateClientHiringTypeEnum2["BOTH"] = "BOTH";
|
|
6887
6886
|
return CreateClientHiringTypeEnum2;
|
|
6888
6887
|
})(CreateClientHiringTypeEnum || {});
|
|
@@ -6966,12 +6965,12 @@ import {
|
|
|
6966
6965
|
var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
|
|
6967
6966
|
UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
6968
6967
|
UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
6969
|
-
UpdateClientHiringModeEnum2["
|
|
6968
|
+
UpdateClientHiringModeEnum2["HYBRID"] = "HYBRID";
|
|
6970
6969
|
return UpdateClientHiringModeEnum2;
|
|
6971
6970
|
})(UpdateClientHiringModeEnum || {});
|
|
6972
6971
|
var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2) => {
|
|
6973
|
-
UpdateClientHiringTypeEnum2["
|
|
6974
|
-
UpdateClientHiringTypeEnum2["
|
|
6972
|
+
UpdateClientHiringTypeEnum2["FTE"] = "FTE";
|
|
6973
|
+
UpdateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
|
|
6975
6974
|
UpdateClientHiringTypeEnum2["BOTH"] = "BOTH";
|
|
6976
6975
|
return UpdateClientHiringTypeEnum2;
|
|
6977
6976
|
})(UpdateClientHiringTypeEnum || {});
|
|
@@ -7356,7 +7355,8 @@ import {
|
|
|
7356
7355
|
MaxLength as MaxLength20,
|
|
7357
7356
|
Max as Max4,
|
|
7358
7357
|
ValidateNested as ValidateNested6,
|
|
7359
|
-
IsInt as IsInt9
|
|
7358
|
+
IsInt as IsInt9,
|
|
7359
|
+
IsDateString as IsDateString6
|
|
7360
7360
|
} from "class-validator";
|
|
7361
7361
|
import { Type as Type12 } from "class-transformer";
|
|
7362
7362
|
var JobLocationAdminEnumDto = /* @__PURE__ */ ((JobLocationAdminEnumDto2) => {
|
|
@@ -7398,24 +7398,17 @@ var AdminJobBasicInformationV2Dto = class {
|
|
|
7398
7398
|
this.isDraft = false;
|
|
7399
7399
|
}
|
|
7400
7400
|
};
|
|
7401
|
-
__decorateClass([
|
|
7402
|
-
IsInt9({ message: "Client ID must be a valid integer." })
|
|
7403
|
-
], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
|
|
7404
7401
|
__decorateClass([
|
|
7405
7402
|
IsOptional36(),
|
|
7406
7403
|
Type12(() => Boolean)
|
|
7407
7404
|
], AdminJobBasicInformationV2Dto.prototype, "isDraft", 2);
|
|
7405
|
+
__decorateClass([
|
|
7406
|
+
IsInt9({ message: "Client ID must be a valid integer." })
|
|
7407
|
+
], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
|
|
7408
7408
|
__decorateClass([
|
|
7409
7409
|
IsNotEmpty55({ message: "Please enter job role" }),
|
|
7410
7410
|
IsString36({ message: "Job role must be a string" })
|
|
7411
7411
|
], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
|
|
7412
|
-
__decorateClass([
|
|
7413
|
-
IsOptional36()
|
|
7414
|
-
], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
|
|
7415
|
-
__decorateClass([
|
|
7416
|
-
IsOptional36(),
|
|
7417
|
-
IsString36({ message: "Project name must be a string" })
|
|
7418
|
-
], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
|
|
7419
7412
|
__decorateClass([
|
|
7420
7413
|
IsOptional36(),
|
|
7421
7414
|
IsString36({ message: "Note must be a string" })
|
|
@@ -7428,21 +7421,6 @@ __decorateClass([
|
|
|
7428
7421
|
IsString36({ each: true, message: "Each skill must be a string" }),
|
|
7429
7422
|
Type12(() => String)
|
|
7430
7423
|
], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
|
|
7431
|
-
__decorateClass([
|
|
7432
|
-
ValidateIf9((o) => !o.isDraft),
|
|
7433
|
-
IsArray14({ message: "Good to have skills must be an array" }),
|
|
7434
|
-
IsString36({ each: true, message: "Each skill must be a string" }),
|
|
7435
|
-
IsOptional36(),
|
|
7436
|
-
Type12(() => String)
|
|
7437
|
-
], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
|
|
7438
|
-
__decorateClass([
|
|
7439
|
-
ValidateIf9((o) => !o.isDraft && (o.location === "ONSITE" /* ONSITE */ || o.location === "HYBRID" /* HYBRID */)),
|
|
7440
|
-
IsArray14({ message: "locations must be an array" }),
|
|
7441
|
-
ArrayNotEmpty9({ message: "Please select at least one location" }),
|
|
7442
|
-
ValidateNested6({ each: true }),
|
|
7443
|
-
Type12(() => JobLocationAdminDto),
|
|
7444
|
-
IsOptional36()
|
|
7445
|
-
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7446
7424
|
__decorateClass([
|
|
7447
7425
|
ValidateIf9((o) => !o.isDraft),
|
|
7448
7426
|
IsNumber9({}, { message: "Openings must be a number" }),
|
|
@@ -7465,19 +7443,12 @@ __decorateClass([
|
|
|
7465
7443
|
).join(", ")}`
|
|
7466
7444
|
})
|
|
7467
7445
|
], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
|
|
7468
|
-
__decorateClass([
|
|
7469
|
-
ValidateIf9((o) => !o.isDraft),
|
|
7470
|
-
IsString36({ message: "Currency must be a string" })
|
|
7471
|
-
], AdminJobBasicInformationV2Dto.prototype, "currency", 2);
|
|
7472
7446
|
__decorateClass([
|
|
7473
7447
|
ValidateIf9((o) => !o.isDraft),
|
|
7474
7448
|
IsNumber9({}, { message: "Expected salary (from) must be a number" }),
|
|
7475
7449
|
Min8(0, { message: "Expected salary (from) cannot be negative" }),
|
|
7476
7450
|
Type12(() => Number)
|
|
7477
7451
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
|
|
7478
|
-
__decorateClass([
|
|
7479
|
-
IsOptional36()
|
|
7480
|
-
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryFrom", 2);
|
|
7481
7452
|
__decorateClass([
|
|
7482
7453
|
ValidateIf9((o) => !o.isDraft),
|
|
7483
7454
|
IsNumber9({}, { message: "Expected salary (to) must be a number" }),
|
|
@@ -7485,32 +7456,38 @@ __decorateClass([
|
|
|
7485
7456
|
Type12(() => Number)
|
|
7486
7457
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
|
|
7487
7458
|
__decorateClass([
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
IsOptional36()
|
|
7492
|
-
], AdminJobBasicInformationV2Dto.prototype, "years", 2);
|
|
7493
|
-
__decorateClass([
|
|
7494
|
-
IsOptional36()
|
|
7495
|
-
], AdminJobBasicInformationV2Dto.prototype, "months", 2);
|
|
7459
|
+
ValidateIf9((o) => !o.isDraft),
|
|
7460
|
+
IsString36({ message: "Currency must be a string" })
|
|
7461
|
+
], AdminJobBasicInformationV2Dto.prototype, "currency", 2);
|
|
7496
7462
|
__decorateClass([
|
|
7463
|
+
ValidateIf9((o) => !o.isDraft && (o.location === "ONSITE" /* ONSITE */ || o.location === "HYBRID" /* HYBRID */)),
|
|
7464
|
+
IsArray14({ message: "locations must be an array" }),
|
|
7465
|
+
ArrayNotEmpty9({ message: "Please select at least one location" }),
|
|
7466
|
+
ValidateNested6({ each: true }),
|
|
7467
|
+
Type12(() => JobLocationAdminDto),
|
|
7497
7468
|
IsOptional36()
|
|
7498
|
-
], AdminJobBasicInformationV2Dto.prototype, "
|
|
7469
|
+
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7499
7470
|
__decorateClass([
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
IsOptional36(),
|
|
7504
|
-
IsNumber9({}, { message: "Number of hours must be a number" }),
|
|
7505
|
-
Min8(0, { message: "Number of hours cannot be negative" }),
|
|
7506
|
-
Max4(40, { message: "Number of hours cannot exceed 40" }),
|
|
7507
|
-
Type12(() => Number)
|
|
7508
|
-
], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
|
|
7471
|
+
IsString36({ message: "Onboarding Days must be a string." }),
|
|
7472
|
+
IsNotEmpty55({ message: "Onboarding Days is required." })
|
|
7473
|
+
], AdminJobBasicInformationV2Dto.prototype, "onboardingTat", 2);
|
|
7509
7474
|
__decorateClass([
|
|
7510
7475
|
ValidateIf9((o) => !o.isDraft),
|
|
7511
7476
|
IsString36({ message: "Candidate communication skills must be a string" }),
|
|
7512
7477
|
IsOptional36()
|
|
7513
7478
|
], AdminJobBasicInformationV2Dto.prototype, "candidateCommunicationSkills", 2);
|
|
7479
|
+
__decorateClass([
|
|
7480
|
+
IsDateString6(
|
|
7481
|
+
{ strict: true },
|
|
7482
|
+
{ message: "Start date must be in YYYY-MM-DD format." }
|
|
7483
|
+
)
|
|
7484
|
+
], AdminJobBasicInformationV2Dto.prototype, "tentativeStartDate", 2);
|
|
7485
|
+
__decorateClass([
|
|
7486
|
+
IsDateString6(
|
|
7487
|
+
{ strict: true },
|
|
7488
|
+
{ message: "End date must be in YYYY-MM-DD format." }
|
|
7489
|
+
)
|
|
7490
|
+
], AdminJobBasicInformationV2Dto.prototype, "tentativeEndDate", 2);
|
|
7514
7491
|
__decorateClass([
|
|
7515
7492
|
ValidateIf9((o) => !o.isDraft),
|
|
7516
7493
|
IsNotEmpty55({ message: "Please enter the academic qualification" }),
|
|
@@ -7538,11 +7515,50 @@ __decorateClass([
|
|
|
7538
7515
|
IsOptional36(),
|
|
7539
7516
|
IsString36({ message: "Business industry must be a string" })
|
|
7540
7517
|
], AdminJobBasicInformationV2Dto.prototype, "businessIndustry", 2);
|
|
7518
|
+
__decorateClass([
|
|
7519
|
+
IsOptional36(),
|
|
7520
|
+
IsString36({ message: "Project name must be a string" })
|
|
7521
|
+
], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
|
|
7522
|
+
__decorateClass([
|
|
7523
|
+
IsOptional36()
|
|
7524
|
+
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryFrom", 2);
|
|
7525
|
+
__decorateClass([
|
|
7526
|
+
IsOptional36()
|
|
7527
|
+
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
|
|
7528
|
+
__decorateClass([
|
|
7529
|
+
IsOptional36(),
|
|
7530
|
+
IsNumber9({}, { message: "Number of hours must be a number" }),
|
|
7531
|
+
Min8(0, { message: "Number of hours cannot be negative" }),
|
|
7532
|
+
Max4(40, { message: "Number of hours cannot exceed 40" }),
|
|
7533
|
+
Type12(() => Number)
|
|
7534
|
+
], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
|
|
7535
|
+
__decorateClass([
|
|
7536
|
+
IsOptional36()
|
|
7537
|
+
], AdminJobBasicInformationV2Dto.prototype, "years", 2);
|
|
7538
|
+
__decorateClass([
|
|
7539
|
+
IsOptional36()
|
|
7540
|
+
], AdminJobBasicInformationV2Dto.prototype, "months", 2);
|
|
7541
|
+
__decorateClass([
|
|
7542
|
+
IsOptional36()
|
|
7543
|
+
], AdminJobBasicInformationV2Dto.prototype, "weeks", 2);
|
|
7544
|
+
__decorateClass([
|
|
7545
|
+
IsOptional36()
|
|
7546
|
+
], AdminJobBasicInformationV2Dto.prototype, "days", 2);
|
|
7541
7547
|
__decorateClass([
|
|
7542
7548
|
IsOptional36(),
|
|
7543
7549
|
IsString36({ message: "Additional comment must be a string" }),
|
|
7544
7550
|
MaxLength20(500, { message: "Additional comment must not exceed 500 characters" })
|
|
7545
7551
|
], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
|
|
7552
|
+
__decorateClass([
|
|
7553
|
+
ValidateIf9((o) => !o.isDraft),
|
|
7554
|
+
IsArray14({ message: "Good to have skills must be an array" }),
|
|
7555
|
+
IsString36({ each: true, message: "Each skill must be a string" }),
|
|
7556
|
+
IsOptional36(),
|
|
7557
|
+
Type12(() => String)
|
|
7558
|
+
], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
|
|
7559
|
+
__decorateClass([
|
|
7560
|
+
IsOptional36()
|
|
7561
|
+
], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
|
|
7546
7562
|
|
|
7547
7563
|
// src/modules/lead/pattern/pattern.ts
|
|
7548
7564
|
var LEAD_PATTERN = {
|
|
@@ -7902,7 +7918,7 @@ var TIMESHEET_CLIENT_PATTERN = {
|
|
|
7902
7918
|
|
|
7903
7919
|
// src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
|
|
7904
7920
|
import {
|
|
7905
|
-
IsDateString as
|
|
7921
|
+
IsDateString as IsDateString7,
|
|
7906
7922
|
IsInt as IsInt10,
|
|
7907
7923
|
IsNotEmpty as IsNotEmpty66,
|
|
7908
7924
|
IsOptional as IsOptional42,
|
|
@@ -7918,11 +7934,11 @@ __decorateClass([
|
|
|
7918
7934
|
], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
7919
7935
|
__decorateClass([
|
|
7920
7936
|
IsNotEmpty66({ message: "start date is required" }),
|
|
7921
|
-
|
|
7937
|
+
IsDateString7()
|
|
7922
7938
|
], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
7923
7939
|
__decorateClass([
|
|
7924
7940
|
IsNotEmpty66({ message: "end date is required" }),
|
|
7925
|
-
|
|
7941
|
+
IsDateString7()
|
|
7926
7942
|
], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
7927
7943
|
__decorateClass([
|
|
7928
7944
|
IsNotEmpty66({ message: "start time is required" }),
|
|
@@ -7958,7 +7974,7 @@ __decorateClass([
|
|
|
7958
7974
|
|
|
7959
7975
|
// src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
|
|
7960
7976
|
import {
|
|
7961
|
-
IsDateString as
|
|
7977
|
+
IsDateString as IsDateString8,
|
|
7962
7978
|
IsInt as IsInt11,
|
|
7963
7979
|
IsNotEmpty as IsNotEmpty67,
|
|
7964
7980
|
IsOptional as IsOptional43,
|
|
@@ -7974,11 +7990,11 @@ __decorateClass([
|
|
|
7974
7990
|
], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
7975
7991
|
__decorateClass([
|
|
7976
7992
|
IsNotEmpty67({ message: "start date is required" }),
|
|
7977
|
-
|
|
7993
|
+
IsDateString8()
|
|
7978
7994
|
], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
7979
7995
|
__decorateClass([
|
|
7980
7996
|
IsNotEmpty67({ message: "end date is required" }),
|
|
7981
|
-
|
|
7997
|
+
IsDateString8()
|
|
7982
7998
|
], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
7983
7999
|
__decorateClass([
|
|
7984
8000
|
IsNotEmpty67({ message: "start time is required" }),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare enum CreateClientHiringModeEnum {
|
|
2
2
|
REMOTE = "REMOTE",
|
|
3
3
|
ONSITE = "ONSITE",
|
|
4
|
-
|
|
4
|
+
HYBRID = "HYBRID"
|
|
5
5
|
}
|
|
6
6
|
export declare enum CreateClientHiringTypeEnum {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
FTE = "FTE",
|
|
8
|
+
FREELANCE = "FREELANCE",
|
|
9
9
|
BOTH = "BOTH"
|
|
10
10
|
}
|
|
11
11
|
export declare class CreateClientDto {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare enum UpdateClientHiringModeEnum {
|
|
2
2
|
REMOTE = "REMOTE",
|
|
3
3
|
ONSITE = "ONSITE",
|
|
4
|
-
|
|
4
|
+
HYBRID = "HYBRID"
|
|
5
5
|
}
|
|
6
6
|
export declare enum UpdateClientHiringTypeEnum {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
FTE = "FTE",
|
|
8
|
+
FREELANCE = "FREELANCE",
|
|
9
9
|
BOTH = "BOTH"
|
|
10
10
|
}
|
|
11
11
|
export declare class UpdateClientDto {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare enum NatureOfWorkEnum {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
FTE = "FTE",
|
|
3
|
+
FREELANCE = "FREELANCE",
|
|
4
4
|
BOTH = "BOTH"
|
|
5
5
|
}
|
|
6
6
|
declare enum ModeOfWorkEnum {
|
|
7
7
|
REMOTE = "REMOTE",
|
|
8
8
|
ONSITE = "ONSITE",
|
|
9
|
-
|
|
9
|
+
HYBRID = "HYBRID"
|
|
10
10
|
}
|
|
11
11
|
export declare class CreateFreelancerDto {
|
|
12
12
|
fullName: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare enum NatureOfWorkEnum {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
FTE = "FTE",
|
|
3
|
+
FREELANCE = "FREELANCE",
|
|
4
4
|
BOTH = "BOTH"
|
|
5
5
|
}
|
|
6
6
|
declare enum ModeOfWorkEnum {
|
|
7
7
|
REMOTE = "REMOTE",
|
|
8
8
|
ONSITE = "ONSITE",
|
|
9
|
-
|
|
9
|
+
HYBRID = "HYBRID"
|
|
10
10
|
}
|
|
11
11
|
export declare class UpdateFreelancerDto {
|
|
12
12
|
fullName?: string;
|
|
@@ -21,34 +21,37 @@ export declare class JobLocationAdminDto {
|
|
|
21
21
|
cityId: number;
|
|
22
22
|
}
|
|
23
23
|
export declare class AdminJobBasicInformationV2Dto {
|
|
24
|
-
clientId: number;
|
|
25
24
|
isDraft?: boolean;
|
|
25
|
+
clientId: number;
|
|
26
26
|
jobRole: string;
|
|
27
|
-
jobRoleCanonicalName?: string;
|
|
28
|
-
projectName?: string;
|
|
29
27
|
note?: string;
|
|
30
28
|
skills: string[];
|
|
31
|
-
goodToHaveSkills: string[];
|
|
32
|
-
locations: JobLocationAdminDto[];
|
|
33
29
|
openings: number;
|
|
34
30
|
location: JobLocationAdminEnumDto;
|
|
35
31
|
typeOfEmployment: EmploymentTypeAdminEnumDto;
|
|
36
|
-
currency?: string;
|
|
37
32
|
expectedSalaryFrom: number;
|
|
38
|
-
hideExpectedSalaryFrom: boolean;
|
|
39
33
|
expectedSalaryTo: number;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
weeks: string;
|
|
44
|
-
days: string;
|
|
45
|
-
numberOfHours: number;
|
|
34
|
+
currency?: string;
|
|
35
|
+
locations: JobLocationAdminDto[];
|
|
36
|
+
onboardingTat: string;
|
|
46
37
|
candidateCommunicationSkills?: string;
|
|
38
|
+
tentativeStartDate: string;
|
|
39
|
+
tentativeEndDate: string;
|
|
47
40
|
academicQualification?: string;
|
|
48
41
|
yearsOfExperienceType: typeOfExperienceAdminEnumDto;
|
|
49
42
|
yearsOfExperienceFrom?: string;
|
|
50
43
|
yearsOfExperienceTo?: string;
|
|
51
44
|
businessIndustry?: string;
|
|
45
|
+
projectName?: string;
|
|
46
|
+
hideExpectedSalaryFrom: boolean;
|
|
47
|
+
hideExpectedSalaryTo: boolean;
|
|
48
|
+
numberOfHours: number;
|
|
49
|
+
years: string;
|
|
50
|
+
months: string;
|
|
51
|
+
weeks: string;
|
|
52
|
+
days: string;
|
|
52
53
|
additionalComment?: string;
|
|
54
|
+
goodToHaveSkills: string[];
|
|
55
|
+
jobRoleCanonicalName?: string;
|
|
53
56
|
}
|
|
54
57
|
export {};
|