@experts_hub/shared 1.0.668 → 1.0.669
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 +19 -5
- package/dist/index.d.ts +19 -5
- package/dist/index.js +1107 -1064
- package/dist/index.mjs +541 -490
- package/dist/modules/user/client-profile/dto/index.d.ts +2 -2
- package/dist/modules/user/client-profile/dto/request-password-change-otp-client.dto.d.ts +4 -0
- package/dist/modules/user/client-profile/dto/verify-password-change-otp-client.dto.d.ts +4 -0
- package/dist/modules/user/client-profile/pattern/pattern.d.ts +3 -2
- package/dist/modules/user/freelancer-profile/dto/index.d.ts +2 -0
- package/dist/modules/user/freelancer-profile/dto/request-password-change-otp-freelancer.dto.d.ts +4 -0
- package/dist/modules/user/freelancer-profile/dto/verify-password-change-otp-freelancer.dto.d.ts +4 -0
- package/dist/modules/user/freelancer-profile/pattern/pattern.d.ts +3 -0
- package/package.json +1 -1
- package/dist/modules/user/client-profile/dto/request-password-change-otp.dto.d.ts +0 -4
- package/dist/modules/user/client-profile/dto/verify-password-change-otp.dto.d.ts +0 -4
package/dist/index.mjs
CHANGED
|
@@ -6234,8 +6234,9 @@ var CLIENT_PROFILE_PATTERN = {
|
|
|
6234
6234
|
fetchFreelancerInfoForChat: "fetch.freelancer.info.for.chat",
|
|
6235
6235
|
fetchClientAndFreelancerDetailsForChatChannelCreation: "fetch.client.and.freelancer.details.for.chat.channel.creation",
|
|
6236
6236
|
fetchCustomeResume: "fetch.custome.resume",
|
|
6237
|
-
|
|
6238
|
-
|
|
6237
|
+
requestPasswordChangeOtpForClient: "request.password.change.otp.for.client",
|
|
6238
|
+
verifyPasswordChangeOtpForClient: "verify.password.change.otp.for.client",
|
|
6239
|
+
isPasswordSetForClient: "is.password.set.for.client"
|
|
6239
6240
|
};
|
|
6240
6241
|
|
|
6241
6242
|
// src/modules/user/client-profile/dto/update-client-profile.dto.ts
|
|
@@ -6356,19 +6357,19 @@ __decorateClass([
|
|
|
6356
6357
|
IsNumber2({}, { message: "Freelancer ID must be a number" })
|
|
6357
6358
|
], FetchFreelancerInfoForChatDto.prototype, "freelancerId", 2);
|
|
6358
6359
|
|
|
6359
|
-
// src/modules/user/client-profile/dto/request-password-change-otp.dto.ts
|
|
6360
|
+
// src/modules/user/client-profile/dto/request-password-change-otp-client.dto.ts
|
|
6360
6361
|
import {
|
|
6361
6362
|
IsString as IsString18,
|
|
6362
6363
|
IsNotEmpty as IsNotEmpty38,
|
|
6363
6364
|
MinLength as MinLength8,
|
|
6364
6365
|
Matches as Matches8
|
|
6365
6366
|
} from "class-validator";
|
|
6366
|
-
var
|
|
6367
|
+
var RequestPasswordChangeOtpForClientDto = class {
|
|
6367
6368
|
};
|
|
6368
6369
|
__decorateClass([
|
|
6369
6370
|
IsNotEmpty38({ message: "Current password is required" }),
|
|
6370
6371
|
IsString18()
|
|
6371
|
-
],
|
|
6372
|
+
], RequestPasswordChangeOtpForClientDto.prototype, "currentPassword", 2);
|
|
6372
6373
|
__decorateClass([
|
|
6373
6374
|
IsNotEmpty38({ message: "New password is required" }),
|
|
6374
6375
|
IsString18(),
|
|
@@ -6376,16 +6377,16 @@ __decorateClass([
|
|
|
6376
6377
|
Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
6377
6378
|
message: "Password must include letters, numbers, and special characters"
|
|
6378
6379
|
})
|
|
6379
|
-
],
|
|
6380
|
+
], RequestPasswordChangeOtpForClientDto.prototype, "newPassword", 2);
|
|
6380
6381
|
|
|
6381
|
-
// src/modules/user/client-profile/dto/verify-password-change-otp.dto.ts
|
|
6382
|
+
// src/modules/user/client-profile/dto/verify-password-change-otp-client.dto.ts
|
|
6382
6383
|
import {
|
|
6383
6384
|
IsString as IsString19,
|
|
6384
6385
|
IsNotEmpty as IsNotEmpty39,
|
|
6385
6386
|
Matches as Matches9,
|
|
6386
6387
|
MinLength as MinLength9
|
|
6387
6388
|
} from "class-validator";
|
|
6388
|
-
var
|
|
6389
|
+
var VerifyPasswordChangeOtpForClientDto = class {
|
|
6389
6390
|
};
|
|
6390
6391
|
__decorateClass([
|
|
6391
6392
|
IsNotEmpty39({ message: "New password is required" }),
|
|
@@ -6394,12 +6395,12 @@ __decorateClass([
|
|
|
6394
6395
|
Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
6395
6396
|
message: "Password must include letters, numbers, and special characters"
|
|
6396
6397
|
})
|
|
6397
|
-
],
|
|
6398
|
+
], VerifyPasswordChangeOtpForClientDto.prototype, "newPassword", 2);
|
|
6398
6399
|
__decorateClass([
|
|
6399
6400
|
IsNotEmpty39({ message: "OTP is required" }),
|
|
6400
6401
|
IsString19(),
|
|
6401
6402
|
Matches9(/^\d{4}$/, { message: "OTP must be a 4-digit number" })
|
|
6402
|
-
],
|
|
6403
|
+
], VerifyPasswordChangeOtpForClientDto.prototype, "otp", 2);
|
|
6403
6404
|
|
|
6404
6405
|
// src/modules/question/pattern/pattern.ts
|
|
6405
6406
|
var ONBOARDING_QUESTION_PATTERN = {
|
|
@@ -7336,7 +7337,10 @@ var PROFILE_PATTERN = {
|
|
|
7336
7337
|
freelancerEmailAndMobileMasking: "freelancer.email.and.mobile.masking",
|
|
7337
7338
|
fetchClientInfoForChat: "fetch.client.info.for.chat",
|
|
7338
7339
|
fetchAiAssessmentDetails: "fetch.ai.assessment.details",
|
|
7339
|
-
captureAiAssessmentResult: "capture.ai.assessment.result"
|
|
7340
|
+
captureAiAssessmentResult: "capture.ai.assessment.result",
|
|
7341
|
+
requestPasswordChangeOtpForFreelancer: "request.password.change.otp.for.freelancer",
|
|
7342
|
+
verifyPasswordChangeOtpForFreelancer: "verify.password.change.otp.for.freelancer",
|
|
7343
|
+
isPasswordSetForFreelancer: "is.password.set.for.freelancer"
|
|
7340
7344
|
};
|
|
7341
7345
|
var FREELANCER_ASSESSMENT_REQUEST_PATTERN = {
|
|
7342
7346
|
fetchAssessmentRequestsForFreelancer: "fetch.assessment.requests.for.freelancer",
|
|
@@ -7539,6 +7543,51 @@ __decorateClass([
|
|
|
7539
7543
|
IsString31()
|
|
7540
7544
|
], CaptureAiAssessmentResultDto.prototype, "status", 2);
|
|
7541
7545
|
|
|
7546
|
+
// src/modules/user/freelancer-profile/dto/request-password-change-otp-freelancer.dto.ts
|
|
7547
|
+
import {
|
|
7548
|
+
IsString as IsString32,
|
|
7549
|
+
IsNotEmpty as IsNotEmpty56,
|
|
7550
|
+
MinLength as MinLength11,
|
|
7551
|
+
Matches as Matches11
|
|
7552
|
+
} from "class-validator";
|
|
7553
|
+
var RequestPasswordChangeOtpForFreelancerDto = class {
|
|
7554
|
+
};
|
|
7555
|
+
__decorateClass([
|
|
7556
|
+
IsNotEmpty56({ message: "Current password is required" }),
|
|
7557
|
+
IsString32()
|
|
7558
|
+
], RequestPasswordChangeOtpForFreelancerDto.prototype, "currentPassword", 2);
|
|
7559
|
+
__decorateClass([
|
|
7560
|
+
IsNotEmpty56({ message: "New password is required" }),
|
|
7561
|
+
IsString32(),
|
|
7562
|
+
MinLength11(6, { message: "Password must be at least 6 characters long" }),
|
|
7563
|
+
Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
7564
|
+
message: "Password must include letters, numbers, and special characters"
|
|
7565
|
+
})
|
|
7566
|
+
], RequestPasswordChangeOtpForFreelancerDto.prototype, "newPassword", 2);
|
|
7567
|
+
|
|
7568
|
+
// src/modules/user/freelancer-profile/dto/verify-password-change-otp-freelancer.dto.ts
|
|
7569
|
+
import {
|
|
7570
|
+
IsString as IsString33,
|
|
7571
|
+
IsNotEmpty as IsNotEmpty57,
|
|
7572
|
+
Matches as Matches12,
|
|
7573
|
+
MinLength as MinLength12
|
|
7574
|
+
} from "class-validator";
|
|
7575
|
+
var VerifyPasswordChangeOtpForFreelancerDto = class {
|
|
7576
|
+
};
|
|
7577
|
+
__decorateClass([
|
|
7578
|
+
IsNotEmpty57({ message: "New password is required" }),
|
|
7579
|
+
IsString33(),
|
|
7580
|
+
MinLength12(6, { message: "Password must be at least 6 characters long" }),
|
|
7581
|
+
Matches12(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
7582
|
+
message: "Password must include letters, numbers, and special characters"
|
|
7583
|
+
})
|
|
7584
|
+
], VerifyPasswordChangeOtpForFreelancerDto.prototype, "newPassword", 2);
|
|
7585
|
+
__decorateClass([
|
|
7586
|
+
IsNotEmpty57({ message: "OTP is required" }),
|
|
7587
|
+
IsString33(),
|
|
7588
|
+
Matches12(/^\d{4}$/, { message: "OTP must be a 4-digit number" })
|
|
7589
|
+
], VerifyPasswordChangeOtpForFreelancerDto.prototype, "otp", 2);
|
|
7590
|
+
|
|
7542
7591
|
// src/modules/bank/pattern/pattern.ts
|
|
7543
7592
|
var BANK_PATTERN = {
|
|
7544
7593
|
addFreelancerBankDetails: "add.freelancer.bankdetails",
|
|
@@ -7552,9 +7601,9 @@ var BANK_PATTERN = {
|
|
|
7552
7601
|
// src/modules/bank/dto/freelancer-bank-details.dto.ts
|
|
7553
7602
|
import {
|
|
7554
7603
|
IsEnum as IsEnum22,
|
|
7555
|
-
IsNotEmpty as
|
|
7604
|
+
IsNotEmpty as IsNotEmpty58,
|
|
7556
7605
|
IsOptional as IsOptional28,
|
|
7557
|
-
IsString as
|
|
7606
|
+
IsString as IsString34,
|
|
7558
7607
|
ValidateIf as ValidateIf7
|
|
7559
7608
|
} from "class-validator";
|
|
7560
7609
|
var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
@@ -7565,45 +7614,45 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
|
7565
7614
|
var FreelancerBankDetailsDto = class {
|
|
7566
7615
|
};
|
|
7567
7616
|
__decorateClass([
|
|
7568
|
-
|
|
7617
|
+
IsNotEmpty58({ message: "Please enter Account Holder Name." })
|
|
7569
7618
|
], FreelancerBankDetailsDto.prototype, "name", 2);
|
|
7570
7619
|
__decorateClass([
|
|
7571
|
-
|
|
7620
|
+
IsNotEmpty58({ message: "Please enter Mobile Code." })
|
|
7572
7621
|
], FreelancerBankDetailsDto.prototype, "mobileCode", 2);
|
|
7573
7622
|
__decorateClass([
|
|
7574
|
-
|
|
7623
|
+
IsNotEmpty58({ message: "Please enter Mobile Number." })
|
|
7575
7624
|
], FreelancerBankDetailsDto.prototype, "mobile", 2);
|
|
7576
7625
|
__decorateClass([
|
|
7577
|
-
|
|
7626
|
+
IsNotEmpty58({ message: "Please enter Email." })
|
|
7578
7627
|
], FreelancerBankDetailsDto.prototype, "email", 2);
|
|
7579
7628
|
__decorateClass([
|
|
7580
7629
|
IsOptional28()
|
|
7581
7630
|
], FreelancerBankDetailsDto.prototype, "address", 2);
|
|
7582
7631
|
__decorateClass([
|
|
7583
|
-
|
|
7632
|
+
IsNotEmpty58({ message: "Please enter Account Number." })
|
|
7584
7633
|
], FreelancerBankDetailsDto.prototype, "accountNumber", 2);
|
|
7585
7634
|
__decorateClass([
|
|
7586
|
-
|
|
7635
|
+
IsNotEmpty58({ message: "Please enter Bank Name." })
|
|
7587
7636
|
], FreelancerBankDetailsDto.prototype, "bankName", 2);
|
|
7588
7637
|
__decorateClass([
|
|
7589
7638
|
IsOptional28(),
|
|
7590
|
-
|
|
7639
|
+
IsString34()
|
|
7591
7640
|
], FreelancerBankDetailsDto.prototype, "branchName", 2);
|
|
7592
7641
|
__decorateClass([
|
|
7593
7642
|
ValidateIf7((dto) => dto.accountScope === "DOMESTIC"),
|
|
7594
|
-
|
|
7643
|
+
IsNotEmpty58({ message: "IFSC Code is required for DOMESTIC accounts." })
|
|
7595
7644
|
], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
|
|
7596
7645
|
__decorateClass([
|
|
7597
7646
|
ValidateIf7((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
7598
|
-
|
|
7647
|
+
IsNotEmpty58({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
|
|
7599
7648
|
], FreelancerBankDetailsDto.prototype, "routingNo", 2);
|
|
7600
7649
|
__decorateClass([
|
|
7601
7650
|
ValidateIf7((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
7602
|
-
|
|
7651
|
+
IsNotEmpty58({ message: "ABA Number is required for INTERNATIONAL accounts." })
|
|
7603
7652
|
], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
|
|
7604
7653
|
__decorateClass([
|
|
7605
7654
|
ValidateIf7((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
7606
|
-
|
|
7655
|
+
IsNotEmpty58({ message: "IBAN is required for INTERNATIONAL accounts." })
|
|
7607
7656
|
], FreelancerBankDetailsDto.prototype, "iban", 2);
|
|
7608
7657
|
__decorateClass([
|
|
7609
7658
|
IsOptional28()
|
|
@@ -7659,26 +7708,26 @@ var GLOBAL_SETTING_PATTERN = {
|
|
|
7659
7708
|
|
|
7660
7709
|
// src/modules/global-setting/dto/add-global-setting.dto.ts
|
|
7661
7710
|
import {
|
|
7662
|
-
IsString as
|
|
7663
|
-
IsNotEmpty as
|
|
7711
|
+
IsString as IsString35,
|
|
7712
|
+
IsNotEmpty as IsNotEmpty59,
|
|
7664
7713
|
MaxLength as MaxLength12
|
|
7665
7714
|
} from "class-validator";
|
|
7666
7715
|
var AddGlobalSettingDto = class {
|
|
7667
7716
|
};
|
|
7668
7717
|
__decorateClass([
|
|
7669
|
-
|
|
7670
|
-
|
|
7718
|
+
IsNotEmpty59({ message: "Key is required" }),
|
|
7719
|
+
IsString35({ message: "Key must be a string" }),
|
|
7671
7720
|
MaxLength12(255, { message: "Key must not exceed 255 characters" })
|
|
7672
7721
|
], AddGlobalSettingDto.prototype, "key", 2);
|
|
7673
7722
|
__decorateClass([
|
|
7674
|
-
|
|
7675
|
-
|
|
7723
|
+
IsNotEmpty59({ message: "Value is required" }),
|
|
7724
|
+
IsString35({ message: "Value must be a string" })
|
|
7676
7725
|
], AddGlobalSettingDto.prototype, "value", 2);
|
|
7677
7726
|
|
|
7678
7727
|
// src/modules/global-setting/dto/remove-global-setting.dto.ts
|
|
7679
7728
|
import {
|
|
7680
|
-
IsString as
|
|
7681
|
-
IsNotEmpty as
|
|
7729
|
+
IsString as IsString36,
|
|
7730
|
+
IsNotEmpty as IsNotEmpty60,
|
|
7682
7731
|
IsUUID as IsUUID18,
|
|
7683
7732
|
ValidateIf as ValidateIf8
|
|
7684
7733
|
} from "class-validator";
|
|
@@ -7686,13 +7735,13 @@ var RemoveGlobalSettingDto = class {
|
|
|
7686
7735
|
};
|
|
7687
7736
|
__decorateClass([
|
|
7688
7737
|
ValidateIf8((o) => !o.key),
|
|
7689
|
-
|
|
7738
|
+
IsNotEmpty60({ message: "Either uuid or key is required" }),
|
|
7690
7739
|
IsUUID18("4", { message: "UUID must be a valid UUID" })
|
|
7691
7740
|
], RemoveGlobalSettingDto.prototype, "uuid", 2);
|
|
7692
7741
|
__decorateClass([
|
|
7693
7742
|
ValidateIf8((o) => !o.uuid),
|
|
7694
|
-
|
|
7695
|
-
|
|
7743
|
+
IsNotEmpty60({ message: "Either uuid or key is required" }),
|
|
7744
|
+
IsString36({ message: "Key must be a string" })
|
|
7696
7745
|
], RemoveGlobalSettingDto.prototype, "key", 2);
|
|
7697
7746
|
|
|
7698
7747
|
// src/modules/notification/pattern/pattern.ts
|
|
@@ -7738,7 +7787,7 @@ var EMAIL_PATTERN = {
|
|
|
7738
7787
|
};
|
|
7739
7788
|
|
|
7740
7789
|
// src/modules/notification/dto/test-notification.dto.ts
|
|
7741
|
-
import { IsOptional as IsOptional29, IsString as
|
|
7790
|
+
import { IsOptional as IsOptional29, IsString as IsString37, IsObject as IsObject5, IsEmail as IsEmail8, IsPhoneNumber } from "class-validator";
|
|
7742
7791
|
var TestNotificationDto = class {
|
|
7743
7792
|
};
|
|
7744
7793
|
__decorateClass([
|
|
@@ -7751,7 +7800,7 @@ __decorateClass([
|
|
|
7751
7800
|
], TestNotificationDto.prototype, "phone", 2);
|
|
7752
7801
|
__decorateClass([
|
|
7753
7802
|
IsOptional29(),
|
|
7754
|
-
|
|
7803
|
+
IsString37()
|
|
7755
7804
|
], TestNotificationDto.prototype, "message", 2);
|
|
7756
7805
|
__decorateClass([
|
|
7757
7806
|
IsOptional29(),
|
|
@@ -7759,7 +7808,7 @@ __decorateClass([
|
|
|
7759
7808
|
], TestNotificationDto.prototype, "data", 2);
|
|
7760
7809
|
__decorateClass([
|
|
7761
7810
|
IsOptional29(),
|
|
7762
|
-
|
|
7811
|
+
IsString37()
|
|
7763
7812
|
], TestNotificationDto.prototype, "type", 2);
|
|
7764
7813
|
|
|
7765
7814
|
// src/modules/rating/pattern/pattern.ts
|
|
@@ -7773,9 +7822,9 @@ var RATING_PATTERN = {
|
|
|
7773
7822
|
import {
|
|
7774
7823
|
IsEnum as IsEnum24,
|
|
7775
7824
|
IsInt as IsInt2,
|
|
7776
|
-
IsNotEmpty as
|
|
7825
|
+
IsNotEmpty as IsNotEmpty61,
|
|
7777
7826
|
IsOptional as IsOptional30,
|
|
7778
|
-
IsString as
|
|
7827
|
+
IsString as IsString38,
|
|
7779
7828
|
IsNumber as IsNumber9,
|
|
7780
7829
|
Min as Min4,
|
|
7781
7830
|
Max as Max4
|
|
@@ -7792,7 +7841,7 @@ __decorateClass([
|
|
|
7792
7841
|
], CreateRatingDto.prototype, "reviewerId", 2);
|
|
7793
7842
|
__decorateClass([
|
|
7794
7843
|
IsInt2({ message: "Job ID must be a valid integer" }),
|
|
7795
|
-
|
|
7844
|
+
IsNotEmpty61({ message: "Job ID is required" })
|
|
7796
7845
|
], CreateRatingDto.prototype, "jobId", 2);
|
|
7797
7846
|
__decorateClass([
|
|
7798
7847
|
IsEnum24(RatingTypeEnum, {
|
|
@@ -7801,7 +7850,7 @@ __decorateClass([
|
|
|
7801
7850
|
], CreateRatingDto.prototype, "ratingType", 2);
|
|
7802
7851
|
__decorateClass([
|
|
7803
7852
|
IsOptional30(),
|
|
7804
|
-
|
|
7853
|
+
IsString38({ message: "Reviewer comment must be a string" })
|
|
7805
7854
|
], CreateRatingDto.prototype, "reviewerComment", 2);
|
|
7806
7855
|
__decorateClass([
|
|
7807
7856
|
IsOptional30(),
|
|
@@ -7883,17 +7932,17 @@ var COMPANY_ROLES_PATTERNS = {
|
|
|
7883
7932
|
};
|
|
7884
7933
|
|
|
7885
7934
|
// src/modules/company-role/dto/create-company-role.dto.ts
|
|
7886
|
-
import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray6, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as
|
|
7935
|
+
import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray6, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty62, IsOptional as IsOptional31 } from "class-validator";
|
|
7887
7936
|
var CreateCompanyRoleDto = class {
|
|
7888
7937
|
};
|
|
7889
7938
|
__decorateClass([
|
|
7890
|
-
|
|
7939
|
+
IsNotEmpty62({ message: "Please enter company role name." })
|
|
7891
7940
|
], CreateCompanyRoleDto.prototype, "name", 2);
|
|
7892
7941
|
__decorateClass([
|
|
7893
|
-
|
|
7942
|
+
IsNotEmpty62({ message: "Please enter company role slug" })
|
|
7894
7943
|
], CreateCompanyRoleDto.prototype, "slug", 2);
|
|
7895
7944
|
__decorateClass([
|
|
7896
|
-
|
|
7945
|
+
IsNotEmpty62({ message: "Please enter description" })
|
|
7897
7946
|
], CreateCompanyRoleDto.prototype, "description", 2);
|
|
7898
7947
|
__decorateClass([
|
|
7899
7948
|
IsArray6({ message: "Permission IDs must be an array." }),
|
|
@@ -7906,17 +7955,17 @@ __decorateClass([
|
|
|
7906
7955
|
], CreateCompanyRoleDto.prototype, "isActive", 2);
|
|
7907
7956
|
|
|
7908
7957
|
// src/modules/company-role/dto/update-company-role.dto.ts
|
|
7909
|
-
import { ArrayNotEmpty as ArrayNotEmpty6, IsArray as IsArray7, IsBoolean as IsBoolean6, IsInt as IsInt4, IsNotEmpty as
|
|
7958
|
+
import { ArrayNotEmpty as ArrayNotEmpty6, IsArray as IsArray7, IsBoolean as IsBoolean6, IsInt as IsInt4, IsNotEmpty as IsNotEmpty63, IsOptional as IsOptional32 } from "class-validator";
|
|
7910
7959
|
var UpdateCompanyRoleDto = class {
|
|
7911
7960
|
};
|
|
7912
7961
|
__decorateClass([
|
|
7913
|
-
|
|
7962
|
+
IsNotEmpty63({ message: "Please enter company name." })
|
|
7914
7963
|
], UpdateCompanyRoleDto.prototype, "name", 2);
|
|
7915
7964
|
__decorateClass([
|
|
7916
|
-
|
|
7965
|
+
IsNotEmpty63({ message: "Please enter slug" })
|
|
7917
7966
|
], UpdateCompanyRoleDto.prototype, "slug", 2);
|
|
7918
7967
|
__decorateClass([
|
|
7919
|
-
|
|
7968
|
+
IsNotEmpty63({ message: "Please enter description" })
|
|
7920
7969
|
], UpdateCompanyRoleDto.prototype, "description", 2);
|
|
7921
7970
|
__decorateClass([
|
|
7922
7971
|
IsArray7({ message: "Permission IDs must be an array." }),
|
|
@@ -7945,9 +7994,9 @@ var FREELANCER_EXPERIENCE_PATTERN = {
|
|
|
7945
7994
|
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
7946
7995
|
import {
|
|
7947
7996
|
ArrayMinSize,
|
|
7948
|
-
IsNotEmpty as
|
|
7997
|
+
IsNotEmpty as IsNotEmpty64,
|
|
7949
7998
|
IsOptional as IsOptional33,
|
|
7950
|
-
IsString as
|
|
7999
|
+
IsString as IsString41,
|
|
7951
8000
|
MaxLength as MaxLength14,
|
|
7952
8001
|
ValidateNested as ValidateNested3
|
|
7953
8002
|
} from "class-validator";
|
|
@@ -7958,20 +8007,20 @@ __decorateClass([
|
|
|
7958
8007
|
IsOptional33()
|
|
7959
8008
|
], ExperienceDto.prototype, "uuid", 2);
|
|
7960
8009
|
__decorateClass([
|
|
7961
|
-
|
|
7962
|
-
|
|
8010
|
+
IsNotEmpty64(),
|
|
8011
|
+
IsString41()
|
|
7963
8012
|
], ExperienceDto.prototype, "companyName", 2);
|
|
7964
8013
|
__decorateClass([
|
|
7965
|
-
|
|
7966
|
-
|
|
8014
|
+
IsNotEmpty64(),
|
|
8015
|
+
IsString41()
|
|
7967
8016
|
], ExperienceDto.prototype, "designation", 2);
|
|
7968
8017
|
__decorateClass([
|
|
7969
|
-
|
|
7970
|
-
|
|
8018
|
+
IsNotEmpty64(),
|
|
8019
|
+
IsString41()
|
|
7971
8020
|
], ExperienceDto.prototype, "jobDuration", 2);
|
|
7972
8021
|
__decorateClass([
|
|
7973
8022
|
IsOptional33(),
|
|
7974
|
-
|
|
8023
|
+
IsString41(),
|
|
7975
8024
|
MaxLength14(5e3, { message: "Description must not exceed 5000 characters" })
|
|
7976
8025
|
], ExperienceDto.prototype, "description", 2);
|
|
7977
8026
|
var FreelancerExperienceDto = class {
|
|
@@ -7995,14 +8044,14 @@ var COMPANY_MEMBERS_PATTERNS = {
|
|
|
7995
8044
|
};
|
|
7996
8045
|
|
|
7997
8046
|
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
7998
|
-
import { ArrayNotEmpty as ArrayNotEmpty7, IsArray as IsArray8, IsInt as IsInt5, IsNotEmpty as
|
|
8047
|
+
import { ArrayNotEmpty as ArrayNotEmpty7, IsArray as IsArray8, IsInt as IsInt5, IsNotEmpty as IsNotEmpty65 } from "class-validator";
|
|
7999
8048
|
var CreateCompanyMemberDto = class {
|
|
8000
8049
|
};
|
|
8001
8050
|
__decorateClass([
|
|
8002
|
-
|
|
8051
|
+
IsNotEmpty65({ message: "Please enter name." })
|
|
8003
8052
|
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
8004
8053
|
__decorateClass([
|
|
8005
|
-
|
|
8054
|
+
IsNotEmpty65({ message: "Please enter email" })
|
|
8006
8055
|
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
8007
8056
|
__decorateClass([
|
|
8008
8057
|
IsArray8({ message: "Role IDs must be an array." }),
|
|
@@ -8011,14 +8060,14 @@ __decorateClass([
|
|
|
8011
8060
|
], CreateCompanyMemberDto.prototype, "roleIds", 2);
|
|
8012
8061
|
|
|
8013
8062
|
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
8014
|
-
import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray9, IsInt as IsInt6, IsNotEmpty as
|
|
8063
|
+
import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray9, IsInt as IsInt6, IsNotEmpty as IsNotEmpty66 } from "class-validator";
|
|
8015
8064
|
var UpdateCompanyMemberDto = class {
|
|
8016
8065
|
};
|
|
8017
8066
|
__decorateClass([
|
|
8018
|
-
|
|
8067
|
+
IsNotEmpty66({ message: "Please enter name." })
|
|
8019
8068
|
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
8020
8069
|
__decorateClass([
|
|
8021
|
-
|
|
8070
|
+
IsNotEmpty66({ message: "Please enter email" })
|
|
8022
8071
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
8023
8072
|
__decorateClass([
|
|
8024
8073
|
IsArray9({ message: "Role IDs must be an array." }),
|
|
@@ -8041,7 +8090,7 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
8041
8090
|
};
|
|
8042
8091
|
|
|
8043
8092
|
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
8044
|
-
import { IsArray as IsArray10, ValidateNested as ValidateNested4, IsString as
|
|
8093
|
+
import { IsArray as IsArray10, ValidateNested as ValidateNested4, IsString as IsString44, IsNotEmpty as IsNotEmpty67, IsOptional as IsOptional36, ArrayMinSize as ArrayMinSize2 } from "class-validator";
|
|
8045
8094
|
import { Type as Type6 } from "class-transformer";
|
|
8046
8095
|
var EducationDto = class {
|
|
8047
8096
|
};
|
|
@@ -8049,16 +8098,16 @@ __decorateClass([
|
|
|
8049
8098
|
IsOptional36()
|
|
8050
8099
|
], EducationDto.prototype, "uuid", 2);
|
|
8051
8100
|
__decorateClass([
|
|
8052
|
-
|
|
8053
|
-
|
|
8101
|
+
IsString44(),
|
|
8102
|
+
IsNotEmpty67({ message: "Please Enter Degree " })
|
|
8054
8103
|
], EducationDto.prototype, "degree", 2);
|
|
8055
8104
|
__decorateClass([
|
|
8056
|
-
|
|
8057
|
-
|
|
8105
|
+
IsString44(),
|
|
8106
|
+
IsNotEmpty67({ message: "Please Enter University " })
|
|
8058
8107
|
], EducationDto.prototype, "university", 2);
|
|
8059
8108
|
__decorateClass([
|
|
8060
|
-
|
|
8061
|
-
|
|
8109
|
+
IsString44(),
|
|
8110
|
+
IsNotEmpty67({ message: "Please Enter Year of Graduation " })
|
|
8062
8111
|
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
8063
8112
|
var FreelancerEducationDto = class {
|
|
8064
8113
|
};
|
|
@@ -8076,7 +8125,7 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
8076
8125
|
};
|
|
8077
8126
|
|
|
8078
8127
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
8079
|
-
import { IsArray as IsArray11, ValidateNested as ValidateNested5, IsString as
|
|
8128
|
+
import { IsArray as IsArray11, ValidateNested as ValidateNested5, IsString as IsString45, IsNotEmpty as IsNotEmpty68, IsOptional as IsOptional37, IsDateString, MaxLength as MaxLength16, ArrayMinSize as ArrayMinSize3 } from "class-validator";
|
|
8080
8129
|
import { Type as Type7 } from "class-transformer";
|
|
8081
8130
|
var ProjectDto = class {
|
|
8082
8131
|
};
|
|
@@ -8084,28 +8133,28 @@ __decorateClass([
|
|
|
8084
8133
|
IsOptional37()
|
|
8085
8134
|
], ProjectDto.prototype, "uuid", 2);
|
|
8086
8135
|
__decorateClass([
|
|
8087
|
-
|
|
8088
|
-
|
|
8136
|
+
IsString45(),
|
|
8137
|
+
IsNotEmpty68({ message: "Please Enter Project Name " })
|
|
8089
8138
|
], ProjectDto.prototype, "projectName", 2);
|
|
8090
8139
|
__decorateClass([
|
|
8091
8140
|
IsDateString(),
|
|
8092
|
-
|
|
8141
|
+
IsNotEmpty68({ message: "Please Enter Start Date " })
|
|
8093
8142
|
], ProjectDto.prototype, "startDate", 2);
|
|
8094
8143
|
__decorateClass([
|
|
8095
8144
|
IsDateString(),
|
|
8096
|
-
|
|
8145
|
+
IsNotEmpty68({ message: "Please Enter End Date " })
|
|
8097
8146
|
], ProjectDto.prototype, "endDate", 2);
|
|
8098
8147
|
__decorateClass([
|
|
8099
8148
|
IsOptional37(),
|
|
8100
|
-
|
|
8149
|
+
IsString45()
|
|
8101
8150
|
], ProjectDto.prototype, "clientName", 2);
|
|
8102
8151
|
__decorateClass([
|
|
8103
8152
|
IsOptional37(),
|
|
8104
|
-
|
|
8153
|
+
IsString45()
|
|
8105
8154
|
], ProjectDto.prototype, "gitLink", 2);
|
|
8106
8155
|
__decorateClass([
|
|
8107
8156
|
IsOptional37(),
|
|
8108
|
-
|
|
8157
|
+
IsString45(),
|
|
8109
8158
|
MaxLength16(5e3, { message: "Description must not exceed 5000 characters" })
|
|
8110
8159
|
], ProjectDto.prototype, "description", 2);
|
|
8111
8160
|
var CaseStudyDto = class {
|
|
@@ -8114,16 +8163,16 @@ __decorateClass([
|
|
|
8114
8163
|
IsOptional37()
|
|
8115
8164
|
], CaseStudyDto.prototype, "uuid", 2);
|
|
8116
8165
|
__decorateClass([
|
|
8117
|
-
|
|
8118
|
-
|
|
8166
|
+
IsString45(),
|
|
8167
|
+
IsNotEmpty68({ message: "Please Enter Project Name " })
|
|
8119
8168
|
], CaseStudyDto.prototype, "projectName", 2);
|
|
8120
8169
|
__decorateClass([
|
|
8121
8170
|
IsOptional37(),
|
|
8122
|
-
|
|
8171
|
+
IsString45()
|
|
8123
8172
|
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
8124
8173
|
__decorateClass([
|
|
8125
8174
|
IsOptional37(),
|
|
8126
|
-
|
|
8175
|
+
IsString45(),
|
|
8127
8176
|
MaxLength16(5e3, { message: "Description must not exceed 5000 characters" })
|
|
8128
8177
|
], CaseStudyDto.prototype, "description", 2);
|
|
8129
8178
|
var FreelancerProjectDto = class {
|
|
@@ -8153,7 +8202,7 @@ var FREELANCER_SKILL_PATTERN = {
|
|
|
8153
8202
|
};
|
|
8154
8203
|
|
|
8155
8204
|
// src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
|
|
8156
|
-
import { IsArray as IsArray12, IsString as
|
|
8205
|
+
import { IsArray as IsArray12, IsString as IsString46, IsOptional as IsOptional38 } from "class-validator";
|
|
8157
8206
|
import { Type as Type8 } from "class-transformer";
|
|
8158
8207
|
var FreelancerSkillDto = class {
|
|
8159
8208
|
constructor() {
|
|
@@ -8167,25 +8216,25 @@ __decorateClass([
|
|
|
8167
8216
|
IsOptional38(),
|
|
8168
8217
|
IsArray12(),
|
|
8169
8218
|
Type8(() => String),
|
|
8170
|
-
|
|
8219
|
+
IsString46({ each: true })
|
|
8171
8220
|
], FreelancerSkillDto.prototype, "coreSkills", 2);
|
|
8172
8221
|
__decorateClass([
|
|
8173
8222
|
IsOptional38(),
|
|
8174
8223
|
IsArray12(),
|
|
8175
8224
|
Type8(() => String),
|
|
8176
|
-
|
|
8225
|
+
IsString46({ each: true })
|
|
8177
8226
|
], FreelancerSkillDto.prototype, "secondarySkills", 2);
|
|
8178
8227
|
__decorateClass([
|
|
8179
8228
|
IsOptional38(),
|
|
8180
8229
|
IsArray12(),
|
|
8181
8230
|
Type8(() => String),
|
|
8182
|
-
|
|
8231
|
+
IsString46({ each: true })
|
|
8183
8232
|
], FreelancerSkillDto.prototype, "tools", 2);
|
|
8184
8233
|
__decorateClass([
|
|
8185
8234
|
IsOptional38(),
|
|
8186
8235
|
IsArray12(),
|
|
8187
8236
|
Type8(() => String),
|
|
8188
|
-
|
|
8237
|
+
IsString46({ each: true })
|
|
8189
8238
|
], FreelancerSkillDto.prototype, "frameworks", 2);
|
|
8190
8239
|
|
|
8191
8240
|
// src/modules/freelancer-admin/pattern/pattern.ts
|
|
@@ -8219,7 +8268,7 @@ var ADMIN_FREELANCER_PATTERN = {
|
|
|
8219
8268
|
|
|
8220
8269
|
// src/modules/freelancer-admin/dto/create-freelancer.dto.ts
|
|
8221
8270
|
import {
|
|
8222
|
-
IsString as
|
|
8271
|
+
IsString as IsString47,
|
|
8223
8272
|
IsEmail as IsEmail13,
|
|
8224
8273
|
IsBoolean as IsBoolean11,
|
|
8225
8274
|
IsOptional as IsOptional39,
|
|
@@ -8227,9 +8276,9 @@ import {
|
|
|
8227
8276
|
IsNumber as IsNumber10,
|
|
8228
8277
|
IsUrl as IsUrl3,
|
|
8229
8278
|
MaxLength as MaxLength18,
|
|
8230
|
-
MinLength as
|
|
8231
|
-
Matches as
|
|
8232
|
-
IsNotEmpty as
|
|
8279
|
+
MinLength as MinLength17,
|
|
8280
|
+
Matches as Matches13,
|
|
8281
|
+
IsNotEmpty as IsNotEmpty70,
|
|
8233
8282
|
ValidateIf as ValidateIf9,
|
|
8234
8283
|
IsInt as IsInt7
|
|
8235
8284
|
} from "class-validator";
|
|
@@ -8250,7 +8299,7 @@ var CreateFreelancerDto = class {
|
|
|
8250
8299
|
};
|
|
8251
8300
|
__decorateClass([
|
|
8252
8301
|
IsOptional39(),
|
|
8253
|
-
|
|
8302
|
+
IsString47({ message: "Full name must be a string" }),
|
|
8254
8303
|
MaxLength18(100, { message: "Full name must not exceed 100 characters" }),
|
|
8255
8304
|
Transform2(({ value }) => {
|
|
8256
8305
|
if (Array.isArray(value)) return value[0]?.trim();
|
|
@@ -8267,7 +8316,7 @@ __decorateClass([
|
|
|
8267
8316
|
], CreateFreelancerDto.prototype, "email", 2);
|
|
8268
8317
|
__decorateClass([
|
|
8269
8318
|
IsOptional39(),
|
|
8270
|
-
|
|
8319
|
+
IsString47({ message: "Mobile code must be a string (e.g., +1)" }),
|
|
8271
8320
|
Transform2(({ value }) => {
|
|
8272
8321
|
if (Array.isArray(value)) return value[0]?.trim();
|
|
8273
8322
|
return typeof value === "string" ? value.trim() : value;
|
|
@@ -8275,15 +8324,15 @@ __decorateClass([
|
|
|
8275
8324
|
], CreateFreelancerDto.prototype, "mobileCode", 2);
|
|
8276
8325
|
__decorateClass([
|
|
8277
8326
|
IsOptional39(),
|
|
8278
|
-
|
|
8327
|
+
IsString47({ message: "Mobile must be a string (e.g., 1243253534)" }),
|
|
8279
8328
|
Transform2(({ value }) => {
|
|
8280
8329
|
if (Array.isArray(value)) return value[0]?.trim();
|
|
8281
8330
|
return typeof value === "string" ? value.trim() : value;
|
|
8282
8331
|
})
|
|
8283
8332
|
], CreateFreelancerDto.prototype, "mobile", 2);
|
|
8284
8333
|
__decorateClass([
|
|
8285
|
-
|
|
8286
|
-
|
|
8334
|
+
IsNotEmpty70({ message: "Please enter address." }),
|
|
8335
|
+
IsString47({ message: "address must be a string" }),
|
|
8287
8336
|
Transform2(({ value }) => {
|
|
8288
8337
|
if (Array.isArray(value)) {
|
|
8289
8338
|
const val = value[0];
|
|
@@ -8294,7 +8343,7 @@ __decorateClass([
|
|
|
8294
8343
|
], CreateFreelancerDto.prototype, "address", 2);
|
|
8295
8344
|
__decorateClass([
|
|
8296
8345
|
IsOptional39(),
|
|
8297
|
-
|
|
8346
|
+
IsString47({ message: "addressLine must be a string" }),
|
|
8298
8347
|
Transform2(({ value }) => {
|
|
8299
8348
|
if (Array.isArray(value)) {
|
|
8300
8349
|
const val = value[0];
|
|
@@ -8334,7 +8383,7 @@ __decorateClass([
|
|
|
8334
8383
|
], CreateFreelancerDto.prototype, "cityId", 2);
|
|
8335
8384
|
__decorateClass([
|
|
8336
8385
|
IsOptional39(),
|
|
8337
|
-
|
|
8386
|
+
IsString47({ message: "postalCode must be a string" }),
|
|
8338
8387
|
Transform2(({ value }) => {
|
|
8339
8388
|
if (Array.isArray(value)) {
|
|
8340
8389
|
const val = value[0];
|
|
@@ -8347,7 +8396,7 @@ __decorateClass([
|
|
|
8347
8396
|
], CreateFreelancerDto.prototype, "postalCode", 2);
|
|
8348
8397
|
__decorateClass([
|
|
8349
8398
|
IsOptional39(),
|
|
8350
|
-
|
|
8399
|
+
IsString47({ message: "about must be a string" }),
|
|
8351
8400
|
Transform2(({ value }) => {
|
|
8352
8401
|
if (Array.isArray(value)) {
|
|
8353
8402
|
const val = value[0];
|
|
@@ -8360,7 +8409,7 @@ __decorateClass([
|
|
|
8360
8409
|
], CreateFreelancerDto.prototype, "about", 2);
|
|
8361
8410
|
__decorateClass([
|
|
8362
8411
|
IsOptional39(),
|
|
8363
|
-
|
|
8412
|
+
IsString47({ message: "designation must be a string" }),
|
|
8364
8413
|
Transform2(({ value }) => {
|
|
8365
8414
|
if (Array.isArray(value)) {
|
|
8366
8415
|
const val = value[0];
|
|
@@ -8386,14 +8435,14 @@ __decorateClass([
|
|
|
8386
8435
|
if (Array.isArray(value)) value = value[0];
|
|
8387
8436
|
return value === null || value === "" ? void 0 : value;
|
|
8388
8437
|
}),
|
|
8389
|
-
|
|
8438
|
+
MinLength17(6, { message: "Password must be at least 6 characters." }),
|
|
8390
8439
|
MaxLength18(32, { message: "Password must not exceed 32 characters." }),
|
|
8391
|
-
|
|
8440
|
+
Matches13(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
8392
8441
|
message: "Password must include letters, numbers and symbols."
|
|
8393
8442
|
})
|
|
8394
8443
|
], CreateFreelancerDto.prototype, "password", 2);
|
|
8395
8444
|
__decorateClass([
|
|
8396
|
-
|
|
8445
|
+
IsNotEmpty70({ message: "Please enter confirm password." }),
|
|
8397
8446
|
Match("confirmPassword", { message: "Passwords do not match" }),
|
|
8398
8447
|
Transform2(({ value }) => {
|
|
8399
8448
|
if (Array.isArray(value)) {
|
|
@@ -8478,7 +8527,7 @@ __decorateClass([
|
|
|
8478
8527
|
__decorateClass([
|
|
8479
8528
|
ValidateIf9((o) => o.isImmediateJoiner === false),
|
|
8480
8529
|
IsOptional39(),
|
|
8481
|
-
|
|
8530
|
+
IsString47({ message: "availabilityToJoin must be a string" }),
|
|
8482
8531
|
Transform2(({ value }) => {
|
|
8483
8532
|
if (Array.isArray(value)) {
|
|
8484
8533
|
const val = value[0];
|
|
@@ -8504,7 +8553,7 @@ __decorateClass([
|
|
|
8504
8553
|
], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
8505
8554
|
__decorateClass([
|
|
8506
8555
|
IsOptional39(),
|
|
8507
|
-
|
|
8556
|
+
IsString47({ message: "Kaggle profile link must be a string" }),
|
|
8508
8557
|
Transform2(({ value }) => {
|
|
8509
8558
|
if (Array.isArray(value)) {
|
|
8510
8559
|
const val = value[0];
|
|
@@ -8560,7 +8609,7 @@ __decorateClass([
|
|
|
8560
8609
|
|
|
8561
8610
|
// src/modules/freelancer-admin/dto/update-freelancer.dto.ts
|
|
8562
8611
|
import {
|
|
8563
|
-
IsString as
|
|
8612
|
+
IsString as IsString48,
|
|
8564
8613
|
IsEmail as IsEmail14,
|
|
8565
8614
|
IsBoolean as IsBoolean12,
|
|
8566
8615
|
IsOptional as IsOptional40,
|
|
@@ -8568,9 +8617,9 @@ import {
|
|
|
8568
8617
|
IsNumber as IsNumber11,
|
|
8569
8618
|
IsUrl as IsUrl4,
|
|
8570
8619
|
MaxLength as MaxLength19,
|
|
8571
|
-
MinLength as
|
|
8572
|
-
Matches as
|
|
8573
|
-
IsNotEmpty as
|
|
8620
|
+
MinLength as MinLength18,
|
|
8621
|
+
Matches as Matches14,
|
|
8622
|
+
IsNotEmpty as IsNotEmpty71,
|
|
8574
8623
|
ValidateIf as ValidateIf10,
|
|
8575
8624
|
IsInt as IsInt8
|
|
8576
8625
|
} from "class-validator";
|
|
@@ -8591,7 +8640,7 @@ var UpdateFreelancerDto = class {
|
|
|
8591
8640
|
};
|
|
8592
8641
|
__decorateClass([
|
|
8593
8642
|
IsOptional40(),
|
|
8594
|
-
|
|
8643
|
+
IsString48({ message: "Full name must be a string" }),
|
|
8595
8644
|
MaxLength19(100, { message: "Full name must not exceed 100 characters" }),
|
|
8596
8645
|
Transform3(({ value }) => {
|
|
8597
8646
|
if (Array.isArray(value)) return value[0]?.trim();
|
|
@@ -8608,7 +8657,7 @@ __decorateClass([
|
|
|
8608
8657
|
], UpdateFreelancerDto.prototype, "email", 2);
|
|
8609
8658
|
__decorateClass([
|
|
8610
8659
|
IsOptional40(),
|
|
8611
|
-
|
|
8660
|
+
IsString48({ message: "Mobile code must be a string (e.g., +1)" }),
|
|
8612
8661
|
Transform3(({ value }) => {
|
|
8613
8662
|
if (Array.isArray(value)) return value[0]?.trim();
|
|
8614
8663
|
return typeof value === "string" ? value.trim() : value;
|
|
@@ -8616,15 +8665,15 @@ __decorateClass([
|
|
|
8616
8665
|
], UpdateFreelancerDto.prototype, "mobileCode", 2);
|
|
8617
8666
|
__decorateClass([
|
|
8618
8667
|
IsOptional40(),
|
|
8619
|
-
|
|
8668
|
+
IsString48({ message: "Mobile must be a string (e.g., 1243253534)" }),
|
|
8620
8669
|
Transform3(({ value }) => {
|
|
8621
8670
|
if (Array.isArray(value)) return value[0]?.trim();
|
|
8622
8671
|
return typeof value === "string" ? value.trim() : value;
|
|
8623
8672
|
})
|
|
8624
8673
|
], UpdateFreelancerDto.prototype, "mobile", 2);
|
|
8625
8674
|
__decorateClass([
|
|
8626
|
-
|
|
8627
|
-
|
|
8675
|
+
IsNotEmpty71({ message: "Please enter address." }),
|
|
8676
|
+
IsString48({ message: "address must be a string" }),
|
|
8628
8677
|
Transform3(({ value }) => {
|
|
8629
8678
|
if (Array.isArray(value)) {
|
|
8630
8679
|
const val = value[0];
|
|
@@ -8635,7 +8684,7 @@ __decorateClass([
|
|
|
8635
8684
|
], UpdateFreelancerDto.prototype, "address", 2);
|
|
8636
8685
|
__decorateClass([
|
|
8637
8686
|
IsOptional40(),
|
|
8638
|
-
|
|
8687
|
+
IsString48({ message: "addressLine must be a string" }),
|
|
8639
8688
|
Transform3(({ value }) => {
|
|
8640
8689
|
if (Array.isArray(value)) {
|
|
8641
8690
|
const val = value[0];
|
|
@@ -8675,7 +8724,7 @@ __decorateClass([
|
|
|
8675
8724
|
], UpdateFreelancerDto.prototype, "cityId", 2);
|
|
8676
8725
|
__decorateClass([
|
|
8677
8726
|
IsOptional40(),
|
|
8678
|
-
|
|
8727
|
+
IsString48({ message: "postalCode must be a string" }),
|
|
8679
8728
|
Transform3(({ value }) => {
|
|
8680
8729
|
if (Array.isArray(value)) {
|
|
8681
8730
|
const val = value[0];
|
|
@@ -8688,7 +8737,7 @@ __decorateClass([
|
|
|
8688
8737
|
], UpdateFreelancerDto.prototype, "postalCode", 2);
|
|
8689
8738
|
__decorateClass([
|
|
8690
8739
|
IsOptional40(),
|
|
8691
|
-
|
|
8740
|
+
IsString48({ message: "about must be a string" }),
|
|
8692
8741
|
Transform3(({ value }) => {
|
|
8693
8742
|
if (Array.isArray(value)) {
|
|
8694
8743
|
const val = value[0];
|
|
@@ -8701,7 +8750,7 @@ __decorateClass([
|
|
|
8701
8750
|
], UpdateFreelancerDto.prototype, "about", 2);
|
|
8702
8751
|
__decorateClass([
|
|
8703
8752
|
IsOptional40(),
|
|
8704
|
-
|
|
8753
|
+
IsString48({ message: "designation must be a string" }),
|
|
8705
8754
|
Transform3(({ value }) => {
|
|
8706
8755
|
if (Array.isArray(value)) {
|
|
8707
8756
|
const val = value[0];
|
|
@@ -8727,9 +8776,9 @@ __decorateClass([
|
|
|
8727
8776
|
if (Array.isArray(value)) value = value[0];
|
|
8728
8777
|
return value === null || value === "" ? void 0 : value;
|
|
8729
8778
|
}),
|
|
8730
|
-
|
|
8779
|
+
MinLength18(6, { message: "Password must be at least 6 characters." }),
|
|
8731
8780
|
MaxLength19(32, { message: "Password must not exceed 32 characters." }),
|
|
8732
|
-
|
|
8781
|
+
Matches14(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
8733
8782
|
message: "Password must include letters, numbers and symbols."
|
|
8734
8783
|
})
|
|
8735
8784
|
], UpdateFreelancerDto.prototype, "password", 2);
|
|
@@ -8808,7 +8857,7 @@ __decorateClass([
|
|
|
8808
8857
|
__decorateClass([
|
|
8809
8858
|
ValidateIf10((o) => o.isImmediateJoiner === false),
|
|
8810
8859
|
IsOptional40(),
|
|
8811
|
-
|
|
8860
|
+
IsString48({ message: "availabilityToJoin must be a string" }),
|
|
8812
8861
|
Transform3(({ value }) => {
|
|
8813
8862
|
if (Array.isArray(value)) {
|
|
8814
8863
|
const val = value[0];
|
|
@@ -8834,7 +8883,7 @@ __decorateClass([
|
|
|
8834
8883
|
], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
8835
8884
|
__decorateClass([
|
|
8836
8885
|
IsOptional40(),
|
|
8837
|
-
|
|
8886
|
+
IsString48({ message: "Kaggle profile link must be a string" }),
|
|
8838
8887
|
Transform3(({ value }) => {
|
|
8839
8888
|
if (Array.isArray(value)) {
|
|
8840
8889
|
const val = value[0];
|
|
@@ -8889,16 +8938,16 @@ __decorateClass([
|
|
|
8889
8938
|
], UpdateFreelancerDto.prototype, "file", 2);
|
|
8890
8939
|
|
|
8891
8940
|
// src/modules/freelancer-admin/dto/send-ai-assessment-link.dto.ts
|
|
8892
|
-
import { IsNotEmpty as
|
|
8941
|
+
import { IsNotEmpty as IsNotEmpty72, IsUUID as IsUUID19 } from "class-validator";
|
|
8893
8942
|
var SendAiAssessmentLinkDto = class {
|
|
8894
8943
|
};
|
|
8895
8944
|
__decorateClass([
|
|
8896
8945
|
IsUUID19("4", { message: "Freelancer UUID must be a valid UUID." }),
|
|
8897
|
-
|
|
8946
|
+
IsNotEmpty72({ message: "Freelancer UUID is required." })
|
|
8898
8947
|
], SendAiAssessmentLinkDto.prototype, "uuid", 2);
|
|
8899
8948
|
|
|
8900
8949
|
// src/modules/freelancer-admin/dto/update-assessment-request-status.dto.ts
|
|
8901
|
-
import { IsEnum as IsEnum27, IsOptional as IsOptional41, IsString as
|
|
8950
|
+
import { IsEnum as IsEnum27, IsOptional as IsOptional41, IsString as IsString49 } from "class-validator";
|
|
8902
8951
|
var AssessmentRequestStatus = /* @__PURE__ */ ((AssessmentRequestStatus2) => {
|
|
8903
8952
|
AssessmentRequestStatus2["PENDING"] = "PENDING";
|
|
8904
8953
|
AssessmentRequestStatus2["APPROVED"] = "APPROVED";
|
|
@@ -8915,7 +8964,7 @@ __decorateClass([
|
|
|
8915
8964
|
], UpdateAssessmentRequestStatusDto.prototype, "status", 2);
|
|
8916
8965
|
__decorateClass([
|
|
8917
8966
|
IsOptional41(),
|
|
8918
|
-
|
|
8967
|
+
IsString49()
|
|
8919
8968
|
], UpdateAssessmentRequestStatusDto.prototype, "remarks", 2);
|
|
8920
8969
|
|
|
8921
8970
|
// src/modules/freelancer-admin/dto/admin-export-freelancerV2-optimised.dto.ts
|
|
@@ -8961,13 +9010,13 @@ var CLIENT_ADMIN_PATTERNS = {
|
|
|
8961
9010
|
|
|
8962
9011
|
// src/modules/client-admin/dto/create-client.dto.ts
|
|
8963
9012
|
import {
|
|
8964
|
-
IsNotEmpty as
|
|
9013
|
+
IsNotEmpty as IsNotEmpty73,
|
|
8965
9014
|
IsEmail as IsEmail16,
|
|
8966
9015
|
IsOptional as IsOptional43,
|
|
8967
|
-
IsString as
|
|
8968
|
-
MinLength as
|
|
9016
|
+
IsString as IsString50,
|
|
9017
|
+
MinLength as MinLength19,
|
|
8969
9018
|
MaxLength as MaxLength20,
|
|
8970
|
-
Matches as
|
|
9019
|
+
Matches as Matches15,
|
|
8971
9020
|
IsInt as IsInt9,
|
|
8972
9021
|
IsUrl as IsUrl5
|
|
8973
9022
|
} from "class-validator";
|
|
@@ -8975,52 +9024,52 @@ import { Type as Type9 } from "class-transformer";
|
|
|
8975
9024
|
var CreateClientDto = class {
|
|
8976
9025
|
};
|
|
8977
9026
|
__decorateClass([
|
|
8978
|
-
|
|
8979
|
-
|
|
9027
|
+
IsNotEmpty73({ message: "Please enter first name." }),
|
|
9028
|
+
IsString50()
|
|
8980
9029
|
], CreateClientDto.prototype, "firstName", 2);
|
|
8981
9030
|
__decorateClass([
|
|
8982
|
-
|
|
8983
|
-
|
|
9031
|
+
IsNotEmpty73({ message: "Please enter last name." }),
|
|
9032
|
+
IsString50()
|
|
8984
9033
|
], CreateClientDto.prototype, "lastName", 2);
|
|
8985
9034
|
__decorateClass([
|
|
8986
|
-
|
|
9035
|
+
IsNotEmpty73({ message: "Please enter email." }),
|
|
8987
9036
|
IsEmail16()
|
|
8988
9037
|
], CreateClientDto.prototype, "email", 2);
|
|
8989
9038
|
__decorateClass([
|
|
8990
|
-
|
|
8991
|
-
|
|
9039
|
+
IsNotEmpty73({ message: "Please enter mobile code." }),
|
|
9040
|
+
IsString50({ message: "Mobile code must be a string." })
|
|
8992
9041
|
], CreateClientDto.prototype, "mobileCode", 2);
|
|
8993
9042
|
__decorateClass([
|
|
8994
|
-
|
|
8995
|
-
|
|
9043
|
+
IsNotEmpty73({ message: "Please enter phone number." }),
|
|
9044
|
+
IsString50({ message: "Phone number must be a string." })
|
|
8996
9045
|
], CreateClientDto.prototype, "phoneNumber", 2);
|
|
8997
9046
|
__decorateClass([
|
|
8998
|
-
|
|
8999
|
-
|
|
9047
|
+
IsNotEmpty73({ message: "Please enter password." }),
|
|
9048
|
+
MinLength19(6),
|
|
9000
9049
|
MaxLength20(32),
|
|
9001
|
-
|
|
9050
|
+
Matches15(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
9002
9051
|
message: "Password must include letters, numbers and symbols."
|
|
9003
9052
|
})
|
|
9004
9053
|
], CreateClientDto.prototype, "password", 2);
|
|
9005
9054
|
__decorateClass([
|
|
9006
|
-
|
|
9055
|
+
IsNotEmpty73({ message: "Please enter confirm password." }),
|
|
9007
9056
|
Match("confirmPassword", { message: "Passwords do not match" })
|
|
9008
9057
|
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
9009
9058
|
__decorateClass([
|
|
9010
|
-
|
|
9011
|
-
|
|
9059
|
+
IsNotEmpty73({ message: "Please enter company name." }),
|
|
9060
|
+
IsString50()
|
|
9012
9061
|
], CreateClientDto.prototype, "companyName", 2);
|
|
9013
9062
|
__decorateClass([
|
|
9014
9063
|
IsOptional43(),
|
|
9015
|
-
|
|
9064
|
+
IsString50()
|
|
9016
9065
|
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
9017
9066
|
__decorateClass([
|
|
9018
9067
|
IsOptional43(),
|
|
9019
|
-
|
|
9068
|
+
IsString50()
|
|
9020
9069
|
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
9021
9070
|
__decorateClass([
|
|
9022
9071
|
IsOptional43(),
|
|
9023
|
-
|
|
9072
|
+
IsString50({ message: "About company must be a string." })
|
|
9024
9073
|
], CreateClientDto.prototype, "about", 2);
|
|
9025
9074
|
__decorateClass([
|
|
9026
9075
|
IsOptional43(),
|
|
@@ -9028,15 +9077,15 @@ __decorateClass([
|
|
|
9028
9077
|
], CreateClientDto.prototype, "webSite", 2);
|
|
9029
9078
|
__decorateClass([
|
|
9030
9079
|
IsOptional43(),
|
|
9031
|
-
|
|
9080
|
+
IsString50({ message: "Company address must be a string." })
|
|
9032
9081
|
], CreateClientDto.prototype, "companyAddress", 2);
|
|
9033
9082
|
__decorateClass([
|
|
9034
9083
|
IsOptional43(),
|
|
9035
|
-
|
|
9084
|
+
IsString50({ message: "Address line must be a string." })
|
|
9036
9085
|
], CreateClientDto.prototype, "addressLine", 2);
|
|
9037
9086
|
__decorateClass([
|
|
9038
9087
|
IsOptional43(),
|
|
9039
|
-
|
|
9088
|
+
IsString50({ message: "Postal code must be a string." })
|
|
9040
9089
|
], CreateClientDto.prototype, "postalCode", 2);
|
|
9041
9090
|
__decorateClass([
|
|
9042
9091
|
IsOptional43(),
|
|
@@ -9067,76 +9116,76 @@ __decorateClass([
|
|
|
9067
9116
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
9068
9117
|
import { Transform as Transform5, Type as Type10 } from "class-transformer";
|
|
9069
9118
|
import {
|
|
9070
|
-
IsNotEmpty as
|
|
9119
|
+
IsNotEmpty as IsNotEmpty74,
|
|
9071
9120
|
IsEmail as IsEmail17,
|
|
9072
9121
|
IsOptional as IsOptional44,
|
|
9073
|
-
IsString as
|
|
9074
|
-
MinLength as
|
|
9122
|
+
IsString as IsString51,
|
|
9123
|
+
MinLength as MinLength20,
|
|
9075
9124
|
MaxLength as MaxLength21,
|
|
9076
|
-
Matches as
|
|
9125
|
+
Matches as Matches16
|
|
9077
9126
|
} from "class-validator";
|
|
9078
9127
|
var UpdateClientDto = class {
|
|
9079
9128
|
};
|
|
9080
9129
|
__decorateClass([
|
|
9081
|
-
|
|
9082
|
-
|
|
9130
|
+
IsNotEmpty74({ message: "Please enter first name." }),
|
|
9131
|
+
IsString51()
|
|
9083
9132
|
], UpdateClientDto.prototype, "firstName", 2);
|
|
9084
9133
|
__decorateClass([
|
|
9085
|
-
|
|
9086
|
-
|
|
9134
|
+
IsNotEmpty74({ message: "Please enter last name." }),
|
|
9135
|
+
IsString51()
|
|
9087
9136
|
], UpdateClientDto.prototype, "lastName", 2);
|
|
9088
9137
|
__decorateClass([
|
|
9089
|
-
|
|
9138
|
+
IsNotEmpty74({ message: "Please enter email." }),
|
|
9090
9139
|
IsEmail17()
|
|
9091
9140
|
], UpdateClientDto.prototype, "email", 2);
|
|
9092
9141
|
__decorateClass([
|
|
9093
9142
|
IsOptional44(),
|
|
9094
|
-
|
|
9143
|
+
IsString51({ message: "Mobile code must be a string." })
|
|
9095
9144
|
], UpdateClientDto.prototype, "mobileCode", 2);
|
|
9096
9145
|
__decorateClass([
|
|
9097
9146
|
IsOptional44(),
|
|
9098
|
-
|
|
9147
|
+
IsString51({ message: "Phone number must be a string." })
|
|
9099
9148
|
], UpdateClientDto.prototype, "phoneNumber", 2);
|
|
9100
9149
|
__decorateClass([
|
|
9101
9150
|
IsOptional44(),
|
|
9102
9151
|
Transform5(({ value }) => value === null || value === "" ? void 0 : value),
|
|
9103
|
-
|
|
9152
|
+
MinLength20(6, { message: "Password must be at least 6 characters." }),
|
|
9104
9153
|
MaxLength21(32, { message: "Password must not exceed 32 characters." }),
|
|
9105
|
-
|
|
9154
|
+
Matches16(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
9106
9155
|
message: "Password must include letters, numbers and symbols."
|
|
9107
9156
|
})
|
|
9108
9157
|
], UpdateClientDto.prototype, "password", 2);
|
|
9109
9158
|
__decorateClass([
|
|
9110
|
-
|
|
9111
|
-
|
|
9159
|
+
IsNotEmpty74({ message: "Please enter company name." }),
|
|
9160
|
+
IsString51()
|
|
9112
9161
|
], UpdateClientDto.prototype, "companyName", 2);
|
|
9113
9162
|
__decorateClass([
|
|
9114
9163
|
IsOptional44(),
|
|
9115
|
-
|
|
9164
|
+
IsString51()
|
|
9116
9165
|
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
9117
9166
|
__decorateClass([
|
|
9118
9167
|
IsOptional44(),
|
|
9119
|
-
|
|
9168
|
+
IsString51()
|
|
9120
9169
|
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
9121
9170
|
__decorateClass([
|
|
9122
9171
|
IsOptional44(),
|
|
9123
|
-
|
|
9172
|
+
IsString51({ message: "About company must be a string." })
|
|
9124
9173
|
], UpdateClientDto.prototype, "about", 2);
|
|
9125
9174
|
__decorateClass([
|
|
9126
9175
|
IsOptional44(),
|
|
9127
|
-
|
|
9176
|
+
IsString51({ message: "Website must be a string." })
|
|
9128
9177
|
], UpdateClientDto.prototype, "webSite", 2);
|
|
9129
9178
|
__decorateClass([
|
|
9130
9179
|
IsOptional44(),
|
|
9131
|
-
|
|
9180
|
+
IsString51({ message: "Company address must be a string." })
|
|
9132
9181
|
], UpdateClientDto.prototype, "companyAddress", 2);
|
|
9133
9182
|
__decorateClass([
|
|
9134
9183
|
IsOptional44(),
|
|
9135
|
-
|
|
9184
|
+
IsString51({ message: "Address line must be a string." })
|
|
9136
9185
|
], UpdateClientDto.prototype, "addressLine", 2);
|
|
9137
9186
|
__decorateClass([
|
|
9138
9187
|
IsOptional44(),
|
|
9139
|
-
|
|
9188
|
+
IsString51({ message: "Postal code must be a string." })
|
|
9140
9189
|
], UpdateClientDto.prototype, "postalCode", 2);
|
|
9141
9190
|
__decorateClass([
|
|
9142
9191
|
IsOptional44(),
|
|
@@ -9176,20 +9225,20 @@ __decorateClass([
|
|
|
9176
9225
|
], UpdateAdminClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
9177
9226
|
|
|
9178
9227
|
// src/modules/client-admin/dto/update-admin-client-job-posting-restriction.dto.ts
|
|
9179
|
-
import { IsBoolean as IsBoolean13, IsNotEmpty as
|
|
9228
|
+
import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty75 } from "class-validator";
|
|
9180
9229
|
var UpdateAdminClientJobPostingRestrictionDto = class {
|
|
9181
9230
|
};
|
|
9182
9231
|
__decorateClass([
|
|
9183
|
-
|
|
9232
|
+
IsNotEmpty75({ message: "Job posting restriction status is required." }),
|
|
9184
9233
|
IsBoolean13({ message: "Job posting restriction status must be a boolean value." })
|
|
9185
9234
|
], UpdateAdminClientJobPostingRestrictionDto.prototype, "isJobPostingRestricted", 2);
|
|
9186
9235
|
|
|
9187
9236
|
// src/modules/client-admin/dto/skip-service-agreement-flow.dto.ts
|
|
9188
|
-
import { IsBoolean as IsBoolean14, IsNotEmpty as
|
|
9237
|
+
import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty76 } from "class-validator";
|
|
9189
9238
|
var SkipServiceAgreementFlowDto = class {
|
|
9190
9239
|
};
|
|
9191
9240
|
__decorateClass([
|
|
9192
|
-
|
|
9241
|
+
IsNotEmpty76({ message: "Skip service agreement flag is required." }),
|
|
9193
9242
|
IsBoolean14({ message: "Skip service agreement must be a boolean value." })
|
|
9194
9243
|
], SkipServiceAgreementFlowDto.prototype, "skipServiceAgreement", 2);
|
|
9195
9244
|
|
|
@@ -9200,7 +9249,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
9200
9249
|
};
|
|
9201
9250
|
|
|
9202
9251
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
9203
|
-
import { IsOptional as IsOptional46, IsEnum as IsEnum33, IsString as
|
|
9252
|
+
import { IsOptional as IsOptional46, IsEnum as IsEnum33, IsString as IsString52, IsNotEmpty as IsNotEmpty77, IsIn as IsIn3 } from "class-validator";
|
|
9204
9253
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
9205
9254
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
9206
9255
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -9212,14 +9261,14 @@ var FreelancerDeclarationDto = class {
|
|
|
9212
9261
|
};
|
|
9213
9262
|
__decorateClass([
|
|
9214
9263
|
IsOptional46(),
|
|
9215
|
-
|
|
9264
|
+
IsString52({ message: "UUID must be a string" })
|
|
9216
9265
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
9217
9266
|
__decorateClass([
|
|
9218
9267
|
IsEnum33(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
9219
9268
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
9220
9269
|
__decorateClass([
|
|
9221
|
-
|
|
9222
|
-
|
|
9270
|
+
IsNotEmpty77({ message: "Please accept the declaration " }),
|
|
9271
|
+
IsString52(),
|
|
9223
9272
|
IsIn3([
|
|
9224
9273
|
"true"
|
|
9225
9274
|
])
|
|
@@ -9235,12 +9284,12 @@ var CLIENT_CANDIDATE_PREFERENCE_PATTERN = {
|
|
|
9235
9284
|
};
|
|
9236
9285
|
|
|
9237
9286
|
// src/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.ts
|
|
9238
|
-
import { IsNotEmpty as
|
|
9287
|
+
import { IsNotEmpty as IsNotEmpty78, IsNumber as IsNumber12, IsOptional as IsOptional47 } from "class-validator";
|
|
9239
9288
|
import { Type as Type11 } from "class-transformer";
|
|
9240
9289
|
var MarkCandidateStatusDto = class {
|
|
9241
9290
|
};
|
|
9242
9291
|
__decorateClass([
|
|
9243
|
-
|
|
9292
|
+
IsNotEmpty78({ message: "Candidate ID is required." }),
|
|
9244
9293
|
IsNumber12({}, { message: "Candidate ID must be a number." }),
|
|
9245
9294
|
Type11(() => Number)
|
|
9246
9295
|
], MarkCandidateStatusDto.prototype, "candidateId", 2);
|
|
@@ -9278,11 +9327,11 @@ var CMS_PATTERNS = {
|
|
|
9278
9327
|
};
|
|
9279
9328
|
|
|
9280
9329
|
// src/modules/cms/dto/create-cms.dto.ts
|
|
9281
|
-
import { IsBoolean as IsBoolean15, IsNotEmpty as
|
|
9330
|
+
import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty79, IsOptional as IsOptional49 } from "class-validator";
|
|
9282
9331
|
var CreateCmsDto = class {
|
|
9283
9332
|
};
|
|
9284
9333
|
__decorateClass([
|
|
9285
|
-
|
|
9334
|
+
IsNotEmpty79({ message: "Please enter name." })
|
|
9286
9335
|
], CreateCmsDto.prototype, "title", 2);
|
|
9287
9336
|
__decorateClass([
|
|
9288
9337
|
IsOptional49()
|
|
@@ -9293,23 +9342,23 @@ __decorateClass([
|
|
|
9293
9342
|
], CreateCmsDto.prototype, "isActive", 2);
|
|
9294
9343
|
|
|
9295
9344
|
// src/modules/cms/dto/update-cms-status.dto.ts
|
|
9296
|
-
import { IsBoolean as IsBoolean16, IsNotEmpty as
|
|
9345
|
+
import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty80 } from "class-validator";
|
|
9297
9346
|
var UpdateCmsStatusDto = class {
|
|
9298
9347
|
};
|
|
9299
9348
|
__decorateClass([
|
|
9300
|
-
|
|
9349
|
+
IsNotEmpty80({ message: "Please specify cms status." }),
|
|
9301
9350
|
IsBoolean16({ message: "Is active must be a boolean value" })
|
|
9302
9351
|
], UpdateCmsStatusDto.prototype, "isActive", 2);
|
|
9303
9352
|
|
|
9304
9353
|
// src/modules/cms/dto/update-cms.dto.ts
|
|
9305
|
-
import { IsBoolean as IsBoolean17, IsNotEmpty as
|
|
9354
|
+
import { IsBoolean as IsBoolean17, IsNotEmpty as IsNotEmpty81, IsOptional as IsOptional50 } from "class-validator";
|
|
9306
9355
|
var UpdateCmsDto = class {
|
|
9307
9356
|
};
|
|
9308
9357
|
__decorateClass([
|
|
9309
9358
|
IsOptional50()
|
|
9310
9359
|
], UpdateCmsDto.prototype, "uuid", 2);
|
|
9311
9360
|
__decorateClass([
|
|
9312
|
-
|
|
9361
|
+
IsNotEmpty81({ message: "Please enter name." })
|
|
9313
9362
|
], UpdateCmsDto.prototype, "title", 2);
|
|
9314
9363
|
__decorateClass([
|
|
9315
9364
|
IsOptional50()
|
|
@@ -9353,13 +9402,13 @@ var ADMIN_JOB_PATTERN = {
|
|
|
9353
9402
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
9354
9403
|
import { Type as Type13 } from "class-transformer";
|
|
9355
9404
|
import {
|
|
9356
|
-
IsString as
|
|
9405
|
+
IsString as IsString53,
|
|
9357
9406
|
IsEnum as IsEnum34,
|
|
9358
9407
|
IsInt as IsInt10,
|
|
9359
9408
|
IsOptional as IsOptional51,
|
|
9360
9409
|
IsArray as IsArray18,
|
|
9361
9410
|
IsDateString as IsDateString3,
|
|
9362
|
-
IsNotEmpty as
|
|
9411
|
+
IsNotEmpty as IsNotEmpty82,
|
|
9363
9412
|
ArrayNotEmpty as ArrayNotEmpty10,
|
|
9364
9413
|
Min as Min7,
|
|
9365
9414
|
IsNumber as IsNumber14
|
|
@@ -9379,17 +9428,17 @@ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
|
|
|
9379
9428
|
var AdminCreateJobInformationDto = class {
|
|
9380
9429
|
};
|
|
9381
9430
|
__decorateClass([
|
|
9382
|
-
|
|
9383
|
-
|
|
9431
|
+
IsString53({ message: "Job role must be a string." }),
|
|
9432
|
+
IsNotEmpty82({ message: "Job role is required." })
|
|
9384
9433
|
], AdminCreateJobInformationDto.prototype, "jobRole", 2);
|
|
9385
9434
|
__decorateClass([
|
|
9386
9435
|
IsOptional51(),
|
|
9387
|
-
|
|
9436
|
+
IsString53({ message: "Note must be a string." })
|
|
9388
9437
|
], AdminCreateJobInformationDto.prototype, "note", 2);
|
|
9389
9438
|
__decorateClass([
|
|
9390
9439
|
IsArray18({ message: "Skills must be an array of skill names." }),
|
|
9391
9440
|
ArrayNotEmpty10({ message: "At least one skill must be provided." }),
|
|
9392
|
-
|
|
9441
|
+
IsString53({ each: true, message: "Each skill must be a valid string." })
|
|
9393
9442
|
], AdminCreateJobInformationDto.prototype, "skills", 2);
|
|
9394
9443
|
__decorateClass([
|
|
9395
9444
|
IsInt10({ message: "Openings must be a valid integer." }),
|
|
@@ -9410,16 +9459,16 @@ __decorateClass([
|
|
|
9410
9459
|
})
|
|
9411
9460
|
], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
9412
9461
|
__decorateClass([
|
|
9413
|
-
|
|
9414
|
-
|
|
9462
|
+
IsString53({ message: "Onboarding Days must be a string." }),
|
|
9463
|
+
IsNotEmpty82({ message: "Onboarding Days is required." })
|
|
9415
9464
|
], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
|
|
9416
9465
|
__decorateClass([
|
|
9417
|
-
|
|
9418
|
-
|
|
9466
|
+
IsString53({ message: "Communication skills must be a string." }),
|
|
9467
|
+
IsNotEmpty82({ message: "Communication skills are required." })
|
|
9419
9468
|
], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
9420
9469
|
__decorateClass([
|
|
9421
|
-
|
|
9422
|
-
|
|
9470
|
+
IsString53({ message: "Currency must be a string." }),
|
|
9471
|
+
IsNotEmpty82({ message: "Currency is required." })
|
|
9423
9472
|
], AdminCreateJobInformationDto.prototype, "currency", 2);
|
|
9424
9473
|
__decorateClass([
|
|
9425
9474
|
Type13(() => Number),
|
|
@@ -9443,7 +9492,7 @@ __decorateClass([
|
|
|
9443
9492
|
], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
9444
9493
|
__decorateClass([
|
|
9445
9494
|
IsOptional51(),
|
|
9446
|
-
|
|
9495
|
+
IsString53({ message: "Additional comment must be a string." })
|
|
9447
9496
|
], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
|
|
9448
9497
|
__decorateClass([
|
|
9449
9498
|
IsOptional51(),
|
|
@@ -9464,13 +9513,13 @@ __decorateClass([
|
|
|
9464
9513
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
9465
9514
|
import { Type as Type14 } from "class-transformer";
|
|
9466
9515
|
import {
|
|
9467
|
-
IsString as
|
|
9516
|
+
IsString as IsString54,
|
|
9468
9517
|
IsEnum as IsEnum35,
|
|
9469
9518
|
IsInt as IsInt11,
|
|
9470
9519
|
IsOptional as IsOptional52,
|
|
9471
9520
|
IsArray as IsArray19,
|
|
9472
9521
|
IsDateString as IsDateString4,
|
|
9473
|
-
IsNotEmpty as
|
|
9522
|
+
IsNotEmpty as IsNotEmpty83,
|
|
9474
9523
|
ArrayNotEmpty as ArrayNotEmpty11,
|
|
9475
9524
|
Min as Min8,
|
|
9476
9525
|
IsNumber as IsNumber15
|
|
@@ -9490,17 +9539,17 @@ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
|
|
|
9490
9539
|
var AdminUpdateJobInformationDto = class {
|
|
9491
9540
|
};
|
|
9492
9541
|
__decorateClass([
|
|
9493
|
-
|
|
9494
|
-
|
|
9542
|
+
IsString54({ message: "Job role must be a string." }),
|
|
9543
|
+
IsNotEmpty83({ message: "Job role is required." })
|
|
9495
9544
|
], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
|
|
9496
9545
|
__decorateClass([
|
|
9497
9546
|
IsOptional52(),
|
|
9498
|
-
|
|
9547
|
+
IsString54({ message: "Note must be a string." })
|
|
9499
9548
|
], AdminUpdateJobInformationDto.prototype, "note", 2);
|
|
9500
9549
|
__decorateClass([
|
|
9501
9550
|
IsArray19({ message: "Skills must be an array of skill names." }),
|
|
9502
9551
|
ArrayNotEmpty11({ message: "At least one skill must be provided." }),
|
|
9503
|
-
|
|
9552
|
+
IsString54({ each: true, message: "Each skill must be a valid string." })
|
|
9504
9553
|
], AdminUpdateJobInformationDto.prototype, "skills", 2);
|
|
9505
9554
|
__decorateClass([
|
|
9506
9555
|
IsInt11({ message: "Openings must be a valid integer." }),
|
|
@@ -9521,16 +9570,16 @@ __decorateClass([
|
|
|
9521
9570
|
})
|
|
9522
9571
|
], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
9523
9572
|
__decorateClass([
|
|
9524
|
-
|
|
9525
|
-
|
|
9573
|
+
IsString54({ message: "Onboarding Days must be a string." }),
|
|
9574
|
+
IsNotEmpty83({ message: "Onboarding Days is required." })
|
|
9526
9575
|
], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
|
|
9527
9576
|
__decorateClass([
|
|
9528
|
-
|
|
9529
|
-
|
|
9577
|
+
IsString54({ message: "Communication skills must be a string." }),
|
|
9578
|
+
IsNotEmpty83({ message: "Communication skills are required." })
|
|
9530
9579
|
], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
9531
9580
|
__decorateClass([
|
|
9532
|
-
|
|
9533
|
-
|
|
9581
|
+
IsString54({ message: "Currency must be a string." }),
|
|
9582
|
+
IsNotEmpty83({ message: "Currency is required." })
|
|
9534
9583
|
], AdminUpdateJobInformationDto.prototype, "currency", 2);
|
|
9535
9584
|
__decorateClass([
|
|
9536
9585
|
Type14(() => Number),
|
|
@@ -9554,7 +9603,7 @@ __decorateClass([
|
|
|
9554
9603
|
], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
9555
9604
|
__decorateClass([
|
|
9556
9605
|
IsOptional52(),
|
|
9557
|
-
|
|
9606
|
+
IsString54({ message: "Additional comment must be a string." })
|
|
9558
9607
|
], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
|
|
9559
9608
|
__decorateClass([
|
|
9560
9609
|
IsOptional52(),
|
|
@@ -9574,8 +9623,8 @@ __decorateClass([
|
|
|
9574
9623
|
|
|
9575
9624
|
// src/modules/job-admin/dto/admin-job-basic-information-v2.dto.ts
|
|
9576
9625
|
import {
|
|
9577
|
-
IsString as
|
|
9578
|
-
IsNotEmpty as
|
|
9626
|
+
IsString as IsString55,
|
|
9627
|
+
IsNotEmpty as IsNotEmpty84,
|
|
9579
9628
|
IsArray as IsArray20,
|
|
9580
9629
|
ArrayNotEmpty as ArrayNotEmpty12,
|
|
9581
9630
|
IsNumber as IsNumber16,
|
|
@@ -9645,19 +9694,19 @@ __decorateClass([
|
|
|
9645
9694
|
IsInt12({ message: "Client ID must be a valid integer." })
|
|
9646
9695
|
], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
|
|
9647
9696
|
__decorateClass([
|
|
9648
|
-
|
|
9649
|
-
|
|
9697
|
+
IsNotEmpty84({ message: "Please enter job role" }),
|
|
9698
|
+
IsString55({ message: "Job role must be a string" })
|
|
9650
9699
|
], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
|
|
9651
9700
|
__decorateClass([
|
|
9652
9701
|
IsOptional53(),
|
|
9653
|
-
|
|
9702
|
+
IsString55({ message: "Note must be a string" })
|
|
9654
9703
|
], AdminJobBasicInformationV2Dto.prototype, "note", 2);
|
|
9655
9704
|
__decorateClass([
|
|
9656
9705
|
ValidateIf11((o) => !o.isDraft),
|
|
9657
9706
|
IsOptional53(),
|
|
9658
9707
|
IsArray20({ message: "Skills must be an array" }),
|
|
9659
9708
|
ArrayNotEmpty12({ message: "Please select at least one skill" }),
|
|
9660
|
-
|
|
9709
|
+
IsString55({ each: true, message: "Each skill must be a string" }),
|
|
9661
9710
|
Type15(() => String)
|
|
9662
9711
|
], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
|
|
9663
9712
|
__decorateClass([
|
|
@@ -9706,7 +9755,7 @@ __decorateClass([
|
|
|
9706
9755
|
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
9707
9756
|
__decorateClass([
|
|
9708
9757
|
IsOptional53(),
|
|
9709
|
-
|
|
9758
|
+
IsString55({ message: "Academic qualification must be a string" })
|
|
9710
9759
|
], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
|
|
9711
9760
|
__decorateClass([
|
|
9712
9761
|
ValidateIf11((o) => !o.isDraft),
|
|
@@ -9718,21 +9767,21 @@ __decorateClass([
|
|
|
9718
9767
|
], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceType", 2);
|
|
9719
9768
|
__decorateClass([
|
|
9720
9769
|
ValidateIf11((o) => !o.isDraft),
|
|
9721
|
-
|
|
9722
|
-
|
|
9770
|
+
IsNotEmpty84({ message: "Please enter the years of experience" }),
|
|
9771
|
+
IsString55({ message: "Years of experience must be a string" })
|
|
9723
9772
|
], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceFrom", 2);
|
|
9724
9773
|
__decorateClass([
|
|
9725
9774
|
ValidateIf11((o) => !o.isDraft),
|
|
9726
|
-
|
|
9727
|
-
|
|
9775
|
+
IsNotEmpty84({ message: "Please enter the years of experience upto" }),
|
|
9776
|
+
IsString55({ message: "Years of experience must be a string" })
|
|
9728
9777
|
], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceTo", 2);
|
|
9729
9778
|
__decorateClass([
|
|
9730
9779
|
IsOptional53(),
|
|
9731
|
-
|
|
9780
|
+
IsString55({ message: "Business industry must be a string" })
|
|
9732
9781
|
], AdminJobBasicInformationV2Dto.prototype, "businessIndustry", 2);
|
|
9733
9782
|
__decorateClass([
|
|
9734
9783
|
IsOptional53(),
|
|
9735
|
-
|
|
9784
|
+
IsString55({ message: "Project name must be a string" })
|
|
9736
9785
|
], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
|
|
9737
9786
|
__decorateClass([
|
|
9738
9787
|
IsOptional53()
|
|
@@ -9779,13 +9828,13 @@ __decorateClass([
|
|
|
9779
9828
|
], AdminJobBasicInformationV2Dto.prototype, "days", 2);
|
|
9780
9829
|
__decorateClass([
|
|
9781
9830
|
IsOptional53(),
|
|
9782
|
-
|
|
9831
|
+
IsString55({ message: "Additional comment must be a string" }),
|
|
9783
9832
|
MaxLength22(500, { message: "Additional comment must not exceed 500 characters" })
|
|
9784
9833
|
], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
|
|
9785
9834
|
__decorateClass([
|
|
9786
9835
|
ValidateIf11((o) => !o.isDraft),
|
|
9787
9836
|
IsArray20({ message: "Good to have skills must be an array" }),
|
|
9788
|
-
|
|
9837
|
+
IsString55({ each: true, message: "Each skill must be a string" }),
|
|
9789
9838
|
IsOptional53(),
|
|
9790
9839
|
Type15(() => String)
|
|
9791
9840
|
], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
|
|
@@ -9808,7 +9857,7 @@ var LEAD_PATTERN = {
|
|
|
9808
9857
|
};
|
|
9809
9858
|
|
|
9810
9859
|
// src/modules/lead/dto/create-lead.dto.ts
|
|
9811
|
-
import { IsString as
|
|
9860
|
+
import { IsString as IsString56, IsEmail as IsEmail19, IsOptional as IsOptional54, IsEnum as IsEnum37 } from "class-validator";
|
|
9812
9861
|
var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
9813
9862
|
CategoryEmumDto2["BUSINESS"] = "BUSINESS";
|
|
9814
9863
|
CategoryEmumDto2["FREELANCER"] = "FREELANCER";
|
|
@@ -9817,20 +9866,20 @@ var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
|
9817
9866
|
var CreateLeadDto = class {
|
|
9818
9867
|
};
|
|
9819
9868
|
__decorateClass([
|
|
9820
|
-
|
|
9869
|
+
IsString56({ message: "Name must be a string" })
|
|
9821
9870
|
], CreateLeadDto.prototype, "name", 2);
|
|
9822
9871
|
__decorateClass([
|
|
9823
9872
|
IsEmail19({}, { message: "Invalid email address" })
|
|
9824
9873
|
], CreateLeadDto.prototype, "email", 2);
|
|
9825
9874
|
__decorateClass([
|
|
9826
|
-
|
|
9875
|
+
IsString56({ message: "Mobile code must be a string (e.g., +1)" })
|
|
9827
9876
|
], CreateLeadDto.prototype, "mobileCode", 2);
|
|
9828
9877
|
__decorateClass([
|
|
9829
|
-
|
|
9878
|
+
IsString56({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
9830
9879
|
], CreateLeadDto.prototype, "mobile", 2);
|
|
9831
9880
|
__decorateClass([
|
|
9832
9881
|
IsOptional54(),
|
|
9833
|
-
|
|
9882
|
+
IsString56({ message: "Description must be a string" })
|
|
9834
9883
|
], CreateLeadDto.prototype, "description", 2);
|
|
9835
9884
|
__decorateClass([
|
|
9836
9885
|
IsEnum37(CategoryEmumDto, {
|
|
@@ -9855,16 +9904,16 @@ var ADMIN_ROLE_PATTERN = {
|
|
|
9855
9904
|
};
|
|
9856
9905
|
|
|
9857
9906
|
// src/modules/admin-role/dto/create-admin-role.dto.ts
|
|
9858
|
-
import { IsBoolean as IsBoolean18, IsNotEmpty as
|
|
9907
|
+
import { IsBoolean as IsBoolean18, IsNotEmpty as IsNotEmpty85, IsOptional as IsOptional55, IsString as IsString57 } from "class-validator";
|
|
9859
9908
|
var CreateAdminRoleDto = class {
|
|
9860
9909
|
};
|
|
9861
9910
|
__decorateClass([
|
|
9862
|
-
|
|
9863
|
-
|
|
9911
|
+
IsNotEmpty85({ message: "Please enter admin role name." }),
|
|
9912
|
+
IsString57({ message: "Role name must be a string." })
|
|
9864
9913
|
], CreateAdminRoleDto.prototype, "roleName", 2);
|
|
9865
9914
|
__decorateClass([
|
|
9866
9915
|
IsOptional55(),
|
|
9867
|
-
|
|
9916
|
+
IsString57({ message: "Role description must be a string." })
|
|
9868
9917
|
], CreateAdminRoleDto.prototype, "roleDescription", 2);
|
|
9869
9918
|
__decorateClass([
|
|
9870
9919
|
IsOptional55(),
|
|
@@ -9872,16 +9921,16 @@ __decorateClass([
|
|
|
9872
9921
|
], CreateAdminRoleDto.prototype, "isActive", 2);
|
|
9873
9922
|
|
|
9874
9923
|
// src/modules/admin-role/dto/update-admin-role.dto.ts
|
|
9875
|
-
import { IsBoolean as IsBoolean19, IsNotEmpty as
|
|
9924
|
+
import { IsBoolean as IsBoolean19, IsNotEmpty as IsNotEmpty86, IsOptional as IsOptional56, IsString as IsString58 } from "class-validator";
|
|
9876
9925
|
var UpdateAdminRoleDto = class {
|
|
9877
9926
|
};
|
|
9878
9927
|
__decorateClass([
|
|
9879
|
-
|
|
9880
|
-
|
|
9928
|
+
IsNotEmpty86({ message: "Please enter admin role name." }),
|
|
9929
|
+
IsString58({ message: "Role name must be a string." })
|
|
9881
9930
|
], UpdateAdminRoleDto.prototype, "roleName", 2);
|
|
9882
9931
|
__decorateClass([
|
|
9883
9932
|
IsOptional56(),
|
|
9884
|
-
|
|
9933
|
+
IsString58({ message: "Role description must be a string." })
|
|
9885
9934
|
], UpdateAdminRoleDto.prototype, "roleDescription", 2);
|
|
9886
9935
|
__decorateClass([
|
|
9887
9936
|
IsOptional56(),
|
|
@@ -9889,24 +9938,24 @@ __decorateClass([
|
|
|
9889
9938
|
], UpdateAdminRoleDto.prototype, "isActive", 2);
|
|
9890
9939
|
|
|
9891
9940
|
// src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
|
|
9892
|
-
import { IsNotEmpty as
|
|
9941
|
+
import { IsNotEmpty as IsNotEmpty87, IsString as IsString59 } from "class-validator";
|
|
9893
9942
|
var AttachPermissionsToRoleDto = class {
|
|
9894
9943
|
};
|
|
9895
9944
|
__decorateClass([
|
|
9896
|
-
|
|
9897
|
-
|
|
9945
|
+
IsNotEmpty87({ message: "Please enter admin role ID." }),
|
|
9946
|
+
IsString59({ message: "Role ID must be a string." })
|
|
9898
9947
|
], AttachPermissionsToRoleDto.prototype, "roleId", 2);
|
|
9899
9948
|
__decorateClass([
|
|
9900
|
-
|
|
9901
|
-
|
|
9949
|
+
IsNotEmpty87({ message: "Please enter permission IDs." }),
|
|
9950
|
+
IsString59({ message: "Permission IDs must be a comma-separated string." })
|
|
9902
9951
|
], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
|
|
9903
9952
|
|
|
9904
9953
|
// src/modules/admin-role/dto/update-admin-role-status.dto.ts
|
|
9905
|
-
import { IsBoolean as IsBoolean20, IsNotEmpty as
|
|
9954
|
+
import { IsBoolean as IsBoolean20, IsNotEmpty as IsNotEmpty88 } from "class-validator";
|
|
9906
9955
|
var UpdateAdminRoleStatusDto = class {
|
|
9907
9956
|
};
|
|
9908
9957
|
__decorateClass([
|
|
9909
|
-
|
|
9958
|
+
IsNotEmpty88({ message: "Please specify admin role status." }),
|
|
9910
9959
|
IsBoolean20({ message: "Is active must be a boolean value" })
|
|
9911
9960
|
], UpdateAdminRoleStatusDto.prototype, "isActive", 2);
|
|
9912
9961
|
|
|
@@ -9989,8 +10038,8 @@ var INTERVIEW_PATTERN = {
|
|
|
9989
10038
|
|
|
9990
10039
|
// src/modules/interview/dto/interview-invite.dto.ts
|
|
9991
10040
|
import {
|
|
9992
|
-
IsString as
|
|
9993
|
-
IsNotEmpty as
|
|
10041
|
+
IsString as IsString60,
|
|
10042
|
+
IsNotEmpty as IsNotEmpty89,
|
|
9994
10043
|
IsArray as IsArray21,
|
|
9995
10044
|
ArrayNotEmpty as ArrayNotEmpty13,
|
|
9996
10045
|
IsEmail as IsEmail20,
|
|
@@ -10020,8 +10069,8 @@ __decorateClass([
|
|
|
10020
10069
|
var NewCandidateDto = class {
|
|
10021
10070
|
};
|
|
10022
10071
|
__decorateClass([
|
|
10023
|
-
|
|
10024
|
-
|
|
10072
|
+
IsNotEmpty89({ message: "Please enter the candidate name" }),
|
|
10073
|
+
IsString60({ message: "Name must be a string" })
|
|
10025
10074
|
], NewCandidateDto.prototype, "name", 2);
|
|
10026
10075
|
__decorateClass([
|
|
10027
10076
|
IsEmail20({}, { message: "Please enter a valid email." })
|
|
@@ -10059,8 +10108,8 @@ __decorateClass([
|
|
|
10059
10108
|
|
|
10060
10109
|
// src/modules/interview/dto/send-interview-invite.dto.ts
|
|
10061
10110
|
import {
|
|
10062
|
-
IsString as
|
|
10063
|
-
IsNotEmpty as
|
|
10111
|
+
IsString as IsString61,
|
|
10112
|
+
IsNotEmpty as IsNotEmpty90,
|
|
10064
10113
|
IsArray as IsArray22,
|
|
10065
10114
|
IsUUID as IsUUID21,
|
|
10066
10115
|
IsEnum as IsEnum39,
|
|
@@ -10080,35 +10129,35 @@ var ExistingCandidateDto2 = class {
|
|
|
10080
10129
|
};
|
|
10081
10130
|
__decorateClass([
|
|
10082
10131
|
IsUUID21("4", { message: "Candidate ID must be a valid UUID." }),
|
|
10083
|
-
|
|
10132
|
+
IsNotEmpty90({ message: "Candidate ID is required." })
|
|
10084
10133
|
], ExistingCandidateDto2.prototype, "id", 2);
|
|
10085
10134
|
__decorateClass([
|
|
10086
10135
|
IsEnum39(InterviewInviteCandidateType, {
|
|
10087
10136
|
message: "Type must be one of SHORTLISTED, APPLICANTS, or RECOMMENDED."
|
|
10088
10137
|
}),
|
|
10089
|
-
|
|
10138
|
+
IsNotEmpty90({ message: "Candidate type is required." })
|
|
10090
10139
|
], ExistingCandidateDto2.prototype, "type", 2);
|
|
10091
10140
|
var NewCandidateDto2 = class {
|
|
10092
10141
|
};
|
|
10093
10142
|
__decorateClass([
|
|
10094
|
-
|
|
10095
|
-
|
|
10143
|
+
IsString61({ message: "Name must be a string." }),
|
|
10144
|
+
IsNotEmpty90({ message: "Candidate name is required." })
|
|
10096
10145
|
], NewCandidateDto2.prototype, "name", 2);
|
|
10097
10146
|
__decorateClass([
|
|
10098
10147
|
IsEmail21({}, { message: "Please enter a valid email address." }),
|
|
10099
|
-
|
|
10148
|
+
IsNotEmpty90({ message: "Email is required." })
|
|
10100
10149
|
], NewCandidateDto2.prototype, "email", 2);
|
|
10101
10150
|
__decorateClass([
|
|
10102
10151
|
IsEnum39(InterviewInviteCandidateType, {
|
|
10103
10152
|
message: "Type must be NEW for new candidates."
|
|
10104
10153
|
}),
|
|
10105
|
-
|
|
10154
|
+
IsNotEmpty90({ message: "Candidate type is required." })
|
|
10106
10155
|
], NewCandidateDto2.prototype, "type", 2);
|
|
10107
10156
|
var SendInterviewInviteDto = class {
|
|
10108
10157
|
};
|
|
10109
10158
|
__decorateClass([
|
|
10110
10159
|
IsUUID21("4", { message: "Job ID must be a valid UUID." }),
|
|
10111
|
-
|
|
10160
|
+
IsNotEmpty90({ message: "Job ID is required." })
|
|
10112
10161
|
], SendInterviewInviteDto.prototype, "jobId", 2);
|
|
10113
10162
|
__decorateClass([
|
|
10114
10163
|
IsArray22({ message: "Existing candidates must be an array." }),
|
|
@@ -10125,8 +10174,8 @@ __decorateClass([
|
|
|
10125
10174
|
|
|
10126
10175
|
// src/modules/interview/dto/create-f2f-interview.dto.ts
|
|
10127
10176
|
import {
|
|
10128
|
-
IsString as
|
|
10129
|
-
IsNotEmpty as
|
|
10177
|
+
IsString as IsString62,
|
|
10178
|
+
IsNotEmpty as IsNotEmpty91,
|
|
10130
10179
|
IsEmail as IsEmail22,
|
|
10131
10180
|
IsNumber as IsNumber17
|
|
10132
10181
|
} from "class-validator";
|
|
@@ -10134,11 +10183,11 @@ var CreateF2FInterviewDto = class {
|
|
|
10134
10183
|
};
|
|
10135
10184
|
__decorateClass([
|
|
10136
10185
|
IsEmail22({}, { message: "Please enter a valid email address." }),
|
|
10137
|
-
|
|
10186
|
+
IsNotEmpty91({ message: "Invitee email is required." })
|
|
10138
10187
|
], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
|
|
10139
10188
|
__decorateClass([
|
|
10140
|
-
|
|
10141
|
-
|
|
10189
|
+
IsString62({ message: "Invitee name must be a string." }),
|
|
10190
|
+
IsNotEmpty91({ message: "Invitee name is required." })
|
|
10142
10191
|
], CreateF2FInterviewDto.prototype, "inviteeName", 2);
|
|
10143
10192
|
__decorateClass([
|
|
10144
10193
|
IsNumber17({}, { message: "Interview ID must be a number." })
|
|
@@ -10149,8 +10198,8 @@ __decorateClass([
|
|
|
10149
10198
|
|
|
10150
10199
|
// src/modules/interview/dto/create-f2f-interview-direct.dto.ts
|
|
10151
10200
|
import {
|
|
10152
|
-
IsString as
|
|
10153
|
-
IsNotEmpty as
|
|
10201
|
+
IsString as IsString63,
|
|
10202
|
+
IsNotEmpty as IsNotEmpty92,
|
|
10154
10203
|
IsEmail as IsEmail23,
|
|
10155
10204
|
IsNumber as IsNumber18
|
|
10156
10205
|
} from "class-validator";
|
|
@@ -10158,11 +10207,11 @@ var CreateF2FInterviewDirectDto = class {
|
|
|
10158
10207
|
};
|
|
10159
10208
|
__decorateClass([
|
|
10160
10209
|
IsEmail23({}, { message: "Please enter a valid email address." }),
|
|
10161
|
-
|
|
10210
|
+
IsNotEmpty92({ message: "Invitee email is required." })
|
|
10162
10211
|
], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
|
|
10163
10212
|
__decorateClass([
|
|
10164
|
-
|
|
10165
|
-
|
|
10213
|
+
IsString63({ message: "Invitee name must be a string." }),
|
|
10214
|
+
IsNotEmpty92({ message: "Invitee name is required." })
|
|
10166
10215
|
], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
|
|
10167
10216
|
__decorateClass([
|
|
10168
10217
|
IsNumber18({}, { message: "Job ID must be a number." })
|
|
@@ -10173,8 +10222,8 @@ __decorateClass([
|
|
|
10173
10222
|
|
|
10174
10223
|
// src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
|
|
10175
10224
|
import {
|
|
10176
|
-
IsString as
|
|
10177
|
-
IsNotEmpty as
|
|
10225
|
+
IsString as IsString64,
|
|
10226
|
+
IsNotEmpty as IsNotEmpty93,
|
|
10178
10227
|
IsOptional as IsOptional59,
|
|
10179
10228
|
IsUUID as IsUUID22
|
|
10180
10229
|
} from "class-validator";
|
|
@@ -10182,60 +10231,60 @@ var CreateF2FInterviewRescheduleRequestDto = class {
|
|
|
10182
10231
|
};
|
|
10183
10232
|
__decorateClass([
|
|
10184
10233
|
IsUUID22("4", { message: "F2F Interview ID must be a valid UUID." }),
|
|
10185
|
-
|
|
10234
|
+
IsNotEmpty93({ message: "F2F Interview ID is required." })
|
|
10186
10235
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
|
|
10187
10236
|
__decorateClass([
|
|
10188
|
-
|
|
10237
|
+
IsNotEmpty93({ message: "Rescheduled date is required." })
|
|
10189
10238
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
|
|
10190
10239
|
__decorateClass([
|
|
10191
|
-
|
|
10192
|
-
|
|
10240
|
+
IsString64({ message: "Rescheduled slot must be a string." }),
|
|
10241
|
+
IsNotEmpty93({ message: "Rescheduled slot is required." })
|
|
10193
10242
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
|
|
10194
10243
|
__decorateClass([
|
|
10195
10244
|
IsOptional59(),
|
|
10196
|
-
|
|
10245
|
+
IsString64({ message: "Freelancer request reason must be a string." })
|
|
10197
10246
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
10198
10247
|
|
|
10199
10248
|
// src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
|
|
10200
10249
|
import {
|
|
10201
|
-
IsString as
|
|
10202
|
-
IsNotEmpty as
|
|
10250
|
+
IsString as IsString65,
|
|
10251
|
+
IsNotEmpty as IsNotEmpty94
|
|
10203
10252
|
} from "class-validator";
|
|
10204
10253
|
var CreateAIInterviewRescheduleRequestDto = class {
|
|
10205
10254
|
};
|
|
10206
10255
|
__decorateClass([
|
|
10207
|
-
|
|
10256
|
+
IsNotEmpty94({ message: "AI Interview ID is required." })
|
|
10208
10257
|
], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
|
|
10209
10258
|
__decorateClass([
|
|
10210
|
-
|
|
10259
|
+
IsString65({ message: "Freelancer reason must be a string." })
|
|
10211
10260
|
], CreateAIInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
10212
10261
|
|
|
10213
10262
|
// src/modules/interview/dto/reject-ai-interview-reschedule-request.dto.ts
|
|
10214
10263
|
import {
|
|
10215
|
-
IsString as
|
|
10264
|
+
IsString as IsString66
|
|
10216
10265
|
} from "class-validator";
|
|
10217
10266
|
var RejectAIInterviewRescheduleRequestDto = class {
|
|
10218
10267
|
};
|
|
10219
10268
|
__decorateClass([
|
|
10220
|
-
|
|
10269
|
+
IsString66({ message: "Client reject reason must be a string." })
|
|
10221
10270
|
], RejectAIInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
|
|
10222
10271
|
|
|
10223
10272
|
// src/modules/interview/dto/reject-f2f-interview-reschedule-request.dto.ts
|
|
10224
|
-
import { IsOptional as IsOptional61, IsString as
|
|
10273
|
+
import { IsOptional as IsOptional61, IsString as IsString67 } from "class-validator";
|
|
10225
10274
|
var RejectF2FInterviewRescheduleRequestDto = class {
|
|
10226
10275
|
};
|
|
10227
10276
|
__decorateClass([
|
|
10228
10277
|
IsOptional61(),
|
|
10229
|
-
|
|
10278
|
+
IsString67()
|
|
10230
10279
|
], RejectF2FInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
|
|
10231
10280
|
|
|
10232
10281
|
// src/modules/interview/dto/capture-ai-interview-result-public.dto.ts
|
|
10233
|
-
import { IsNotEmpty as
|
|
10282
|
+
import { IsNotEmpty as IsNotEmpty95, IsString as IsString68, IsOptional as IsOptional62, IsObject as IsObject6 } from "class-validator";
|
|
10234
10283
|
var CaptureAiInterviewResultPublicDto = class {
|
|
10235
10284
|
};
|
|
10236
10285
|
__decorateClass([
|
|
10237
|
-
|
|
10238
|
-
|
|
10286
|
+
IsNotEmpty95({ message: "AI Interview UUID is required" }),
|
|
10287
|
+
IsString68({ message: "AI Interview UUID must be a string" })
|
|
10239
10288
|
], CaptureAiInterviewResultPublicDto.prototype, "aiInterviewUuid", 2);
|
|
10240
10289
|
__decorateClass([
|
|
10241
10290
|
IsOptional62(),
|
|
@@ -10243,33 +10292,33 @@ __decorateClass([
|
|
|
10243
10292
|
], CaptureAiInterviewResultPublicDto.prototype, "result", 2);
|
|
10244
10293
|
__decorateClass([
|
|
10245
10294
|
IsOptional62(),
|
|
10246
|
-
|
|
10295
|
+
IsString68()
|
|
10247
10296
|
], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
|
|
10248
10297
|
|
|
10249
10298
|
// src/modules/interview/dto/create-interview-basic-information.dto.ts
|
|
10250
|
-
import { IsNotEmpty as
|
|
10299
|
+
import { IsNotEmpty as IsNotEmpty96, IsString as IsString69, IsNumber as IsNumber19 } from "class-validator";
|
|
10251
10300
|
var CreateInterviewBasicInformationDto = class {
|
|
10252
10301
|
};
|
|
10253
10302
|
__decorateClass([
|
|
10254
|
-
|
|
10303
|
+
IsNotEmpty96({ message: "Job ID is required" }),
|
|
10255
10304
|
IsNumber19({}, { message: "Job ID must be a number" })
|
|
10256
10305
|
], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
|
|
10257
10306
|
__decorateClass([
|
|
10258
|
-
|
|
10259
|
-
|
|
10307
|
+
IsNotEmpty96({ message: "Interview name is required" }),
|
|
10308
|
+
IsString69({ message: "Interview name must be a string" })
|
|
10260
10309
|
], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
|
|
10261
10310
|
|
|
10262
10311
|
// src/modules/interview/dto/update-interview-basic-information.dto.ts
|
|
10263
|
-
import { IsOptional as IsOptional64, IsString as
|
|
10312
|
+
import { IsOptional as IsOptional64, IsString as IsString70, IsNumber as IsNumber20, IsArray as IsArray24, IsDateString as IsDateString8 } from "class-validator";
|
|
10264
10313
|
var UpdateInterviewBasicInformationDto = class {
|
|
10265
10314
|
};
|
|
10266
10315
|
__decorateClass([
|
|
10267
10316
|
IsOptional64(),
|
|
10268
|
-
|
|
10317
|
+
IsString70()
|
|
10269
10318
|
], UpdateInterviewBasicInformationDto.prototype, "title", 2);
|
|
10270
10319
|
__decorateClass([
|
|
10271
10320
|
IsOptional64(),
|
|
10272
|
-
|
|
10321
|
+
IsString70()
|
|
10273
10322
|
], UpdateInterviewBasicInformationDto.prototype, "description", 2);
|
|
10274
10323
|
__decorateClass([
|
|
10275
10324
|
IsOptional64(),
|
|
@@ -10286,15 +10335,15 @@ __decorateClass([
|
|
|
10286
10335
|
], UpdateInterviewBasicInformationDto.prototype, "skillIds", 2);
|
|
10287
10336
|
__decorateClass([
|
|
10288
10337
|
IsOptional64(),
|
|
10289
|
-
|
|
10338
|
+
IsString70()
|
|
10290
10339
|
], UpdateInterviewBasicInformationDto.prototype, "location", 2);
|
|
10291
10340
|
|
|
10292
10341
|
// src/modules/interview/dto/create-interview-skills.dto.ts
|
|
10293
10342
|
import {
|
|
10294
10343
|
IsArray as IsArray25,
|
|
10295
|
-
IsNotEmpty as
|
|
10344
|
+
IsNotEmpty as IsNotEmpty97,
|
|
10296
10345
|
IsOptional as IsOptional65,
|
|
10297
|
-
IsString as
|
|
10346
|
+
IsString as IsString71,
|
|
10298
10347
|
ValidateNested as ValidateNested10
|
|
10299
10348
|
} from "class-validator";
|
|
10300
10349
|
import { Type as Type18 } from "class-transformer";
|
|
@@ -10304,18 +10353,18 @@ __decorateClass([
|
|
|
10304
10353
|
IsOptional65()
|
|
10305
10354
|
], InterviewSkillItemDto.prototype, "uuid", 2);
|
|
10306
10355
|
__decorateClass([
|
|
10307
|
-
|
|
10308
|
-
|
|
10356
|
+
IsString71({ message: "Skill name must be a string." }),
|
|
10357
|
+
IsNotEmpty97({ message: "Skill name is required." })
|
|
10309
10358
|
], InterviewSkillItemDto.prototype, "skill", 2);
|
|
10310
10359
|
__decorateClass([
|
|
10311
10360
|
IsOptional65(),
|
|
10312
|
-
|
|
10361
|
+
IsString71({ message: "Skill description must be a string." })
|
|
10313
10362
|
], InterviewSkillItemDto.prototype, "description", 2);
|
|
10314
10363
|
var CreateInterviewSkillsDto = class {
|
|
10315
10364
|
};
|
|
10316
10365
|
__decorateClass([
|
|
10317
10366
|
IsArray25({ message: "Skills must be an array." }),
|
|
10318
|
-
|
|
10367
|
+
IsNotEmpty97({ message: "At least one skill is required." }),
|
|
10319
10368
|
ValidateNested10({ each: true }),
|
|
10320
10369
|
Type18(() => InterviewSkillItemDto)
|
|
10321
10370
|
], CreateInterviewSkillsDto.prototype, "skills", 2);
|
|
@@ -10323,9 +10372,9 @@ __decorateClass([
|
|
|
10323
10372
|
// src/modules/interview/dto/create-interview-questions.dto.ts
|
|
10324
10373
|
import {
|
|
10325
10374
|
IsArray as IsArray26,
|
|
10326
|
-
IsNotEmpty as
|
|
10375
|
+
IsNotEmpty as IsNotEmpty98,
|
|
10327
10376
|
IsOptional as IsOptional66,
|
|
10328
|
-
IsString as
|
|
10377
|
+
IsString as IsString72,
|
|
10329
10378
|
IsUUID as IsUUID24,
|
|
10330
10379
|
ValidateNested as ValidateNested11
|
|
10331
10380
|
} from "class-validator";
|
|
@@ -10337,8 +10386,8 @@ __decorateClass([
|
|
|
10337
10386
|
IsUUID24("4", { message: "Question UUID must be a valid UUID." })
|
|
10338
10387
|
], CustomQuestionItemDto.prototype, "uuid", 2);
|
|
10339
10388
|
__decorateClass([
|
|
10340
|
-
|
|
10341
|
-
|
|
10389
|
+
IsString72({ message: "Question must be a string." }),
|
|
10390
|
+
IsNotEmpty98({ message: "Question is required." })
|
|
10342
10391
|
], CustomQuestionItemDto.prototype, "question", 2);
|
|
10343
10392
|
var AiQuestionItemDto = class {
|
|
10344
10393
|
};
|
|
@@ -10347,13 +10396,13 @@ __decorateClass([
|
|
|
10347
10396
|
IsUUID24("4", { message: "Question UUID must be a valid UUID." })
|
|
10348
10397
|
], AiQuestionItemDto.prototype, "uuid", 2);
|
|
10349
10398
|
__decorateClass([
|
|
10350
|
-
|
|
10351
|
-
|
|
10399
|
+
IsString72({ message: "Question must be a string." }),
|
|
10400
|
+
IsNotEmpty98({ message: "Question is required." })
|
|
10352
10401
|
], AiQuestionItemDto.prototype, "question", 2);
|
|
10353
10402
|
__decorateClass([
|
|
10354
10403
|
IsOptional66(),
|
|
10355
10404
|
IsArray26({ message: "Concepts must be an array." }),
|
|
10356
|
-
|
|
10405
|
+
IsString72({ each: true, message: "Each concept must be a string." })
|
|
10357
10406
|
], AiQuestionItemDto.prototype, "concepts", 2);
|
|
10358
10407
|
var CreateInterviewQuestionsDto = class {
|
|
10359
10408
|
};
|
|
@@ -10374,14 +10423,14 @@ __decorateClass([
|
|
|
10374
10423
|
import {
|
|
10375
10424
|
IsBoolean as IsBoolean21,
|
|
10376
10425
|
IsOptional as IsOptional67,
|
|
10377
|
-
IsString as
|
|
10426
|
+
IsString as IsString73
|
|
10378
10427
|
} from "class-validator";
|
|
10379
10428
|
import { Type as Type20 } from "class-transformer";
|
|
10380
10429
|
var UpdateInterviewSettingDto = class {
|
|
10381
10430
|
};
|
|
10382
10431
|
__decorateClass([
|
|
10383
10432
|
IsOptional67(),
|
|
10384
|
-
|
|
10433
|
+
IsString73({ message: "Interview language must be a string." })
|
|
10385
10434
|
], UpdateInterviewSettingDto.prototype, "interviewLanguage", 2);
|
|
10386
10435
|
__decorateClass([
|
|
10387
10436
|
IsOptional67(),
|
|
@@ -10390,32 +10439,32 @@ __decorateClass([
|
|
|
10390
10439
|
], UpdateInterviewSettingDto.prototype, "allowProctoring", 2);
|
|
10391
10440
|
__decorateClass([
|
|
10392
10441
|
IsOptional67(),
|
|
10393
|
-
|
|
10442
|
+
IsString73({ message: "Interview duration must be a string." })
|
|
10394
10443
|
], UpdateInterviewSettingDto.prototype, "interviewDuration", 2);
|
|
10395
10444
|
__decorateClass([
|
|
10396
10445
|
IsOptional67(),
|
|
10397
|
-
|
|
10446
|
+
IsString73({ message: "Interview validity period must be a string." })
|
|
10398
10447
|
], UpdateInterviewSettingDto.prototype, "interviewValidityPeriod", 2);
|
|
10399
10448
|
__decorateClass([
|
|
10400
10449
|
IsOptional67(),
|
|
10401
|
-
|
|
10450
|
+
IsString73({ message: "Maximum attempts allowed must be a string." })
|
|
10402
10451
|
], UpdateInterviewSettingDto.prototype, "maximumAttemptsAllowed", 2);
|
|
10403
10452
|
__decorateClass([
|
|
10404
10453
|
IsOptional67(),
|
|
10405
|
-
|
|
10454
|
+
IsString73({ message: "Start interview message must be a string." })
|
|
10406
10455
|
], UpdateInterviewSettingDto.prototype, "startInterviewMessage", 2);
|
|
10407
10456
|
__decorateClass([
|
|
10408
10457
|
IsOptional67(),
|
|
10409
|
-
|
|
10458
|
+
IsString73({ message: "End interview message must be a string." })
|
|
10410
10459
|
], UpdateInterviewSettingDto.prototype, "endInterviewMessage", 2);
|
|
10411
10460
|
|
|
10412
10461
|
// src/modules/interview/dto/update-interview-type-information.dto.ts
|
|
10413
|
-
import { IsOptional as IsOptional68, IsString as
|
|
10462
|
+
import { IsOptional as IsOptional68, IsString as IsString74 } from "class-validator";
|
|
10414
10463
|
var UpdateInterviewTypeInformationDto = class {
|
|
10415
10464
|
};
|
|
10416
10465
|
__decorateClass([
|
|
10417
10466
|
IsOptional68(),
|
|
10418
|
-
|
|
10467
|
+
IsString74({ message: "Interview type must be a string." })
|
|
10419
10468
|
], UpdateInterviewTypeInformationDto.prototype, "interviewType", 2);
|
|
10420
10469
|
|
|
10421
10470
|
// src/modules/contract/pattern/pattern.ts
|
|
@@ -10454,51 +10503,51 @@ var CONTRACT_PATTERN = {
|
|
|
10454
10503
|
};
|
|
10455
10504
|
|
|
10456
10505
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
10457
|
-
import { IsEnum as IsEnum40, IsNotEmpty as
|
|
10506
|
+
import { IsEnum as IsEnum40, IsNotEmpty as IsNotEmpty99, IsNumber as IsNumber21 } from "class-validator";
|
|
10458
10507
|
import { Type as Type21 } from "class-transformer";
|
|
10459
10508
|
var SignContractForClientDto = class {
|
|
10460
10509
|
};
|
|
10461
10510
|
__decorateClass([
|
|
10462
|
-
|
|
10511
|
+
IsNotEmpty99({ message: "Job Id is required." }),
|
|
10463
10512
|
Type21(() => Number),
|
|
10464
10513
|
IsNumber21({}, { message: "Job ID must be a number." })
|
|
10465
10514
|
], SignContractForClientDto.prototype, "jobId", 2);
|
|
10466
10515
|
__decorateClass([
|
|
10467
|
-
|
|
10516
|
+
IsNotEmpty99({ message: "Freelancer ID is required." }),
|
|
10468
10517
|
Type21(() => Number),
|
|
10469
10518
|
IsNumber21({}, { message: "Freelancer ID must be a number." })
|
|
10470
10519
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
10471
10520
|
__decorateClass([
|
|
10472
|
-
|
|
10521
|
+
IsNotEmpty99({ message: "Contract type is required." }),
|
|
10473
10522
|
IsEnum40(ContractTypeEnum)
|
|
10474
10523
|
], SignContractForClientDto.prototype, "contractType", 2);
|
|
10475
10524
|
|
|
10476
10525
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
10477
|
-
import { IsEnum as IsEnum41, IsNotEmpty as
|
|
10526
|
+
import { IsEnum as IsEnum41, IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber22 } from "class-validator";
|
|
10478
10527
|
import { Type as Type22 } from "class-transformer";
|
|
10479
10528
|
var SignContractForFreelancerDto = class {
|
|
10480
10529
|
};
|
|
10481
10530
|
__decorateClass([
|
|
10482
|
-
|
|
10531
|
+
IsNotEmpty100({ message: "Job Id is required." }),
|
|
10483
10532
|
Type22(() => Number),
|
|
10484
10533
|
IsNumber22({}, { message: "Job ID must be a number." })
|
|
10485
10534
|
], SignContractForFreelancerDto.prototype, "jobId", 2);
|
|
10486
10535
|
__decorateClass([
|
|
10487
|
-
|
|
10536
|
+
IsNotEmpty100({ message: "Client ID is required." }),
|
|
10488
10537
|
Type22(() => Number),
|
|
10489
10538
|
IsNumber22({}, { message: "Client ID must be a number." })
|
|
10490
10539
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
10491
10540
|
__decorateClass([
|
|
10492
|
-
|
|
10541
|
+
IsNotEmpty100({ message: "Contract type is required." }),
|
|
10493
10542
|
IsEnum41(ContractTypeEnum)
|
|
10494
10543
|
], SignContractForFreelancerDto.prototype, "contractType", 2);
|
|
10495
10544
|
|
|
10496
10545
|
// src/modules/contract/dto/generate-contract.dto.ts
|
|
10497
10546
|
import {
|
|
10498
|
-
IsNotEmpty as
|
|
10547
|
+
IsNotEmpty as IsNotEmpty101,
|
|
10499
10548
|
IsNumber as IsNumber23,
|
|
10500
10549
|
IsOptional as IsOptional69,
|
|
10501
|
-
IsString as
|
|
10550
|
+
IsString as IsString75,
|
|
10502
10551
|
IsUUID as IsUUID25,
|
|
10503
10552
|
IsEnum as IsEnum42
|
|
10504
10553
|
} from "class-validator";
|
|
@@ -10523,11 +10572,11 @@ var GenerateContractDto = class {
|
|
|
10523
10572
|
};
|
|
10524
10573
|
__decorateClass([
|
|
10525
10574
|
IsNumber23({}, { message: "Job ID must be a number." }),
|
|
10526
|
-
|
|
10575
|
+
IsNotEmpty101({ message: "Job ID is required." })
|
|
10527
10576
|
], GenerateContractDto.prototype, "jobId", 2);
|
|
10528
10577
|
__decorateClass([
|
|
10529
10578
|
IsNumber23({}, { message: "Freelancer ID must be a number." }),
|
|
10530
|
-
|
|
10579
|
+
IsNotEmpty101({ message: "Freelancer ID is required." })
|
|
10531
10580
|
], GenerateContractDto.prototype, "freelancerId", 2);
|
|
10532
10581
|
__decorateClass([
|
|
10533
10582
|
IsOptional69(),
|
|
@@ -10536,19 +10585,19 @@ __decorateClass([
|
|
|
10536
10585
|
})
|
|
10537
10586
|
], GenerateContractDto.prototype, "contractType", 2);
|
|
10538
10587
|
__decorateClass([
|
|
10539
|
-
|
|
10540
|
-
|
|
10588
|
+
IsNotEmpty101({ message: "Contract start date is required." }),
|
|
10589
|
+
IsString75({ message: "Contract start date must be a string." })
|
|
10541
10590
|
], GenerateContractDto.prototype, "contractStartDate", 2);
|
|
10542
10591
|
__decorateClass([
|
|
10543
|
-
|
|
10544
|
-
|
|
10592
|
+
IsNotEmpty101({ message: "Contract end date is required." }),
|
|
10593
|
+
IsString75({ message: "Contract end date must be a string." })
|
|
10545
10594
|
], GenerateContractDto.prototype, "contractEndDate", 2);
|
|
10546
10595
|
__decorateClass([
|
|
10547
10596
|
IsOptional69(),
|
|
10548
|
-
|
|
10597
|
+
IsString75({ message: "Contract invoicing cycle must be a string." })
|
|
10549
10598
|
], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
|
|
10550
10599
|
__decorateClass([
|
|
10551
|
-
|
|
10600
|
+
IsNotEmpty101({ message: "Preferred engagement type is required" }),
|
|
10552
10601
|
IsEnum42(PreferredEngagementTypeEnum, {
|
|
10553
10602
|
message: "Preferred engagement type must be FREELANCE."
|
|
10554
10603
|
})
|
|
@@ -10565,34 +10614,34 @@ __decorateClass([
|
|
|
10565
10614
|
], GenerateContractDto.prototype, "sourceUuid", 2);
|
|
10566
10615
|
|
|
10567
10616
|
// src/modules/contract/dto/esign-contract-client.dto.ts
|
|
10568
|
-
import { IsNotEmpty as
|
|
10617
|
+
import { IsNotEmpty as IsNotEmpty102, IsUUID as IsUUID26 } from "class-validator";
|
|
10569
10618
|
var EsignContractClientDto = class {
|
|
10570
10619
|
};
|
|
10571
10620
|
__decorateClass([
|
|
10572
10621
|
IsUUID26("4", { message: "Contract UUID must be a valid UUID." }),
|
|
10573
|
-
|
|
10622
|
+
IsNotEmpty102({ message: "Contract UUID is required." })
|
|
10574
10623
|
], EsignContractClientDto.prototype, "contractUuid", 2);
|
|
10575
10624
|
|
|
10576
10625
|
// src/modules/contract/dto/esign-contract-freelancer.dto.ts
|
|
10577
|
-
import { IsNotEmpty as
|
|
10626
|
+
import { IsNotEmpty as IsNotEmpty103, IsUUID as IsUUID27 } from "class-validator";
|
|
10578
10627
|
var EsignContractFreelancerDto = class {
|
|
10579
10628
|
};
|
|
10580
10629
|
__decorateClass([
|
|
10581
10630
|
IsUUID27("4", { message: "Contract UUID must be a valid UUID." }),
|
|
10582
|
-
|
|
10631
|
+
IsNotEmpty103({ message: "Contract UUID is required." })
|
|
10583
10632
|
], EsignContractFreelancerDto.prototype, "contractUuid", 2);
|
|
10584
10633
|
|
|
10585
10634
|
// src/modules/contract/dto/escrow-fund-contract.dto.ts
|
|
10586
|
-
import { IsNotEmpty as
|
|
10635
|
+
import { IsNotEmpty as IsNotEmpty104, IsUUID as IsUUID28 } from "class-validator";
|
|
10587
10636
|
var EscrowFundContractDto = class {
|
|
10588
10637
|
};
|
|
10589
10638
|
__decorateClass([
|
|
10590
10639
|
IsUUID28("4", { message: "Contract ID must be a valid UUID." }),
|
|
10591
|
-
|
|
10640
|
+
IsNotEmpty104({ message: "Contract ID is required." })
|
|
10592
10641
|
], EscrowFundContractDto.prototype, "contractId", 2);
|
|
10593
10642
|
|
|
10594
10643
|
// src/modules/contract/dto/send-nda-contract-to-freelancer.dto.ts
|
|
10595
|
-
import { IsNotEmpty as
|
|
10644
|
+
import { IsNotEmpty as IsNotEmpty105, IsOptional as IsOptional70, IsUUID as IsUUID29, IsEnum as IsEnum43 } from "class-validator";
|
|
10596
10645
|
var ContractSourceEnum2 = /* @__PURE__ */ ((ContractSourceEnum3) => {
|
|
10597
10646
|
ContractSourceEnum3["AI_INTERVIEW"] = "AI_INTERVIEW";
|
|
10598
10647
|
ContractSourceEnum3["F2F_INTERVIEW"] = "F2F_INTERVIEW";
|
|
@@ -10603,7 +10652,7 @@ var SendNdaContractToFreelancerDto = class {
|
|
|
10603
10652
|
};
|
|
10604
10653
|
__decorateClass([
|
|
10605
10654
|
IsUUID29("4", { message: "Contract UUID must be a valid UUID." }),
|
|
10606
|
-
|
|
10655
|
+
IsNotEmpty105({ message: "Contract UUID is required." })
|
|
10607
10656
|
], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
|
|
10608
10657
|
__decorateClass([
|
|
10609
10658
|
IsOptional70(),
|
|
@@ -10617,12 +10666,12 @@ __decorateClass([
|
|
|
10617
10666
|
], SendNdaContractToFreelancerDto.prototype, "sourceUuid", 2);
|
|
10618
10667
|
|
|
10619
10668
|
// src/modules/contract/dto/reject-contract.dto.ts
|
|
10620
|
-
import { IsOptional as IsOptional71, IsString as
|
|
10669
|
+
import { IsOptional as IsOptional71, IsString as IsString77 } from "class-validator";
|
|
10621
10670
|
var RejectContractDto = class {
|
|
10622
10671
|
};
|
|
10623
10672
|
__decorateClass([
|
|
10624
10673
|
IsOptional71(),
|
|
10625
|
-
|
|
10674
|
+
IsString77({ message: "Reject reason must be a string." })
|
|
10626
10675
|
], RejectContractDto.prototype, "rejectReason", 2);
|
|
10627
10676
|
|
|
10628
10677
|
// src/modules/stripe/pattern/pattern.ts
|
|
@@ -10647,55 +10696,55 @@ var STRIPE_PATTERN = {
|
|
|
10647
10696
|
|
|
10648
10697
|
// src/modules/stripe/dto/create-checkout-session.dto.ts
|
|
10649
10698
|
import {
|
|
10650
|
-
IsNotEmpty as
|
|
10699
|
+
IsNotEmpty as IsNotEmpty106
|
|
10651
10700
|
} from "class-validator";
|
|
10652
10701
|
var CreateCheckoutSessionDto = class {
|
|
10653
10702
|
};
|
|
10654
10703
|
__decorateClass([
|
|
10655
|
-
|
|
10704
|
+
IsNotEmpty106({ message: "Amount is required" })
|
|
10656
10705
|
], CreateCheckoutSessionDto.prototype, "amount", 2);
|
|
10657
10706
|
|
|
10658
10707
|
// src/modules/stripe/dto/pre-checkout-calculation.dto.ts
|
|
10659
|
-
import { IsNotEmpty as
|
|
10708
|
+
import { IsNotEmpty as IsNotEmpty107, IsNumber as IsNumber24, IsOptional as IsOptional72, IsString as IsString78 } from "class-validator";
|
|
10660
10709
|
var PreCheckoutCalculationDto = class {
|
|
10661
10710
|
};
|
|
10662
10711
|
__decorateClass([
|
|
10663
|
-
|
|
10712
|
+
IsNotEmpty107({ message: "Amount is required" }),
|
|
10664
10713
|
IsNumber24({}, { message: "Amount must be a number" })
|
|
10665
10714
|
], PreCheckoutCalculationDto.prototype, "amount", 2);
|
|
10666
10715
|
__decorateClass([
|
|
10667
10716
|
IsOptional72(),
|
|
10668
|
-
|
|
10717
|
+
IsString78()
|
|
10669
10718
|
], PreCheckoutCalculationDto.prototype, "currency", 2);
|
|
10670
10719
|
__decorateClass([
|
|
10671
10720
|
IsOptional72(),
|
|
10672
|
-
|
|
10721
|
+
IsString78()
|
|
10673
10722
|
], PreCheckoutCalculationDto.prototype, "description", 2);
|
|
10674
10723
|
|
|
10675
10724
|
// src/modules/stripe/dto/client-add-fund.dto.ts
|
|
10676
|
-
import { IsNotEmpty as
|
|
10725
|
+
import { IsNotEmpty as IsNotEmpty108, IsNumber as IsNumber25, IsOptional as IsOptional73, IsString as IsString79 } from "class-validator";
|
|
10677
10726
|
var ClientAddFundDto = class {
|
|
10678
10727
|
};
|
|
10679
10728
|
__decorateClass([
|
|
10680
|
-
|
|
10729
|
+
IsNotEmpty108({ message: "Amount is required" }),
|
|
10681
10730
|
IsNumber25({}, { message: "Amount must be a number" })
|
|
10682
10731
|
], ClientAddFundDto.prototype, "amount", 2);
|
|
10683
10732
|
__decorateClass([
|
|
10684
10733
|
IsOptional73(),
|
|
10685
|
-
|
|
10734
|
+
IsString79()
|
|
10686
10735
|
], ClientAddFundDto.prototype, "currency", 2);
|
|
10687
10736
|
__decorateClass([
|
|
10688
10737
|
IsOptional73(),
|
|
10689
|
-
|
|
10738
|
+
IsString79()
|
|
10690
10739
|
], ClientAddFundDto.prototype, "description", 2);
|
|
10691
10740
|
|
|
10692
10741
|
// src/modules/stripe/dto/transfer-funds.dto.ts
|
|
10693
|
-
import { IsNotEmpty as
|
|
10742
|
+
import { IsNotEmpty as IsNotEmpty109, IsUUID as IsUUID30 } from "class-validator";
|
|
10694
10743
|
var TransferFundsDto = class {
|
|
10695
10744
|
};
|
|
10696
10745
|
__decorateClass([
|
|
10697
10746
|
IsUUID30("4", { message: "Invoice UUID must be a valid UUID." }),
|
|
10698
|
-
|
|
10747
|
+
IsNotEmpty109({ message: "Invoice UUID is required." })
|
|
10699
10748
|
], TransferFundsDto.prototype, "invoiceUuid", 2);
|
|
10700
10749
|
|
|
10701
10750
|
// src/modules/timesheet/pattern/pattern.ts
|
|
@@ -10742,35 +10791,35 @@ var TIMESHEET_CLIENT_PATTERN = {
|
|
|
10742
10791
|
import {
|
|
10743
10792
|
IsDateString as IsDateString10,
|
|
10744
10793
|
IsInt as IsInt13,
|
|
10745
|
-
IsNotEmpty as
|
|
10794
|
+
IsNotEmpty as IsNotEmpty110,
|
|
10746
10795
|
IsOptional as IsOptional74,
|
|
10747
|
-
IsString as
|
|
10748
|
-
Matches as
|
|
10796
|
+
IsString as IsString80,
|
|
10797
|
+
Matches as Matches17,
|
|
10749
10798
|
IsNumber as IsNumber26
|
|
10750
10799
|
} from "class-validator";
|
|
10751
10800
|
var CreateFreelancerTimesheetDto = class {
|
|
10752
10801
|
};
|
|
10753
10802
|
__decorateClass([
|
|
10754
|
-
|
|
10803
|
+
IsNotEmpty110({ message: "Job id is required" }),
|
|
10755
10804
|
IsNumber26({}, { message: "Job id must be a number" })
|
|
10756
10805
|
], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
10757
10806
|
__decorateClass([
|
|
10758
|
-
|
|
10807
|
+
IsNotEmpty110({ message: "start date is required" }),
|
|
10759
10808
|
IsDateString10()
|
|
10760
10809
|
], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
10761
10810
|
__decorateClass([
|
|
10762
|
-
|
|
10811
|
+
IsNotEmpty110({ message: "end date is required" }),
|
|
10763
10812
|
IsDateString10()
|
|
10764
10813
|
], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
10765
10814
|
__decorateClass([
|
|
10766
|
-
|
|
10767
|
-
|
|
10815
|
+
IsNotEmpty110({ message: "start time is required" }),
|
|
10816
|
+
Matches17(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
10768
10817
|
message: "startTime must be in HH:mm:ss format"
|
|
10769
10818
|
})
|
|
10770
10819
|
], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
10771
10820
|
__decorateClass([
|
|
10772
|
-
|
|
10773
|
-
|
|
10821
|
+
IsNotEmpty110({ message: "end time is required" }),
|
|
10822
|
+
Matches17(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
10774
10823
|
message: "endTime must be in HH:mm:ss format"
|
|
10775
10824
|
})
|
|
10776
10825
|
], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
@@ -10780,53 +10829,53 @@ __decorateClass([
|
|
|
10780
10829
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
10781
10830
|
__decorateClass([
|
|
10782
10831
|
IsOptional74(),
|
|
10783
|
-
|
|
10832
|
+
IsString80()
|
|
10784
10833
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
10785
10834
|
__decorateClass([
|
|
10786
10835
|
IsOptional74(),
|
|
10787
|
-
|
|
10836
|
+
IsString80()
|
|
10788
10837
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
10789
10838
|
__decorateClass([
|
|
10790
10839
|
IsOptional74(),
|
|
10791
|
-
|
|
10840
|
+
IsString80()
|
|
10792
10841
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
10793
10842
|
__decorateClass([
|
|
10794
|
-
|
|
10843
|
+
IsNotEmpty110({ message: "Description is required" })
|
|
10795
10844
|
], CreateFreelancerTimesheetDto.prototype, "description", 2);
|
|
10796
10845
|
|
|
10797
10846
|
// src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
|
|
10798
10847
|
import {
|
|
10799
10848
|
IsDateString as IsDateString11,
|
|
10800
10849
|
IsInt as IsInt14,
|
|
10801
|
-
IsNotEmpty as
|
|
10850
|
+
IsNotEmpty as IsNotEmpty111,
|
|
10802
10851
|
IsOptional as IsOptional75,
|
|
10803
|
-
IsString as
|
|
10804
|
-
Matches as
|
|
10852
|
+
IsString as IsString81,
|
|
10853
|
+
Matches as Matches18,
|
|
10805
10854
|
IsNumber as IsNumber27
|
|
10806
10855
|
} from "class-validator";
|
|
10807
10856
|
var UpdateFreelancerTimesheetDto = class {
|
|
10808
10857
|
};
|
|
10809
10858
|
__decorateClass([
|
|
10810
|
-
|
|
10859
|
+
IsNotEmpty111({ message: "Job id is required" }),
|
|
10811
10860
|
IsNumber27({}, { message: "Job id must be a number" })
|
|
10812
10861
|
], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
10813
10862
|
__decorateClass([
|
|
10814
|
-
|
|
10863
|
+
IsNotEmpty111({ message: "start date is required" }),
|
|
10815
10864
|
IsDateString11()
|
|
10816
10865
|
], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
10817
10866
|
__decorateClass([
|
|
10818
|
-
|
|
10867
|
+
IsNotEmpty111({ message: "end date is required" }),
|
|
10819
10868
|
IsDateString11()
|
|
10820
10869
|
], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
10821
10870
|
__decorateClass([
|
|
10822
|
-
|
|
10823
|
-
|
|
10871
|
+
IsNotEmpty111({ message: "start time is required" }),
|
|
10872
|
+
Matches18(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
10824
10873
|
message: "startTime must be in HH:mm:ss format"
|
|
10825
10874
|
})
|
|
10826
10875
|
], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
10827
10876
|
__decorateClass([
|
|
10828
|
-
|
|
10829
|
-
|
|
10877
|
+
IsNotEmpty111({ message: "end time is required" }),
|
|
10878
|
+
Matches18(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
10830
10879
|
message: "endTime must be in HH:mm:ss format"
|
|
10831
10880
|
})
|
|
10832
10881
|
], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
@@ -10836,78 +10885,78 @@ __decorateClass([
|
|
|
10836
10885
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
10837
10886
|
__decorateClass([
|
|
10838
10887
|
IsOptional75(),
|
|
10839
|
-
|
|
10888
|
+
IsString81()
|
|
10840
10889
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
10841
10890
|
__decorateClass([
|
|
10842
10891
|
IsOptional75(),
|
|
10843
|
-
|
|
10892
|
+
IsString81()
|
|
10844
10893
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
10845
10894
|
__decorateClass([
|
|
10846
10895
|
IsOptional75(),
|
|
10847
|
-
|
|
10896
|
+
IsString81()
|
|
10848
10897
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
10849
10898
|
__decorateClass([
|
|
10850
|
-
|
|
10899
|
+
IsNotEmpty111({ message: "Description is required" })
|
|
10851
10900
|
], UpdateFreelancerTimesheetDto.prototype, "description", 2);
|
|
10852
10901
|
|
|
10853
10902
|
// src/modules/timesheet/dto/submit-timesheet.dto.ts
|
|
10854
|
-
import { IsNotEmpty as
|
|
10903
|
+
import { IsNotEmpty as IsNotEmpty112, IsNumber as IsNumber28 } from "class-validator";
|
|
10855
10904
|
var SubmitTimesheetDto = class {
|
|
10856
10905
|
};
|
|
10857
10906
|
__decorateClass([
|
|
10858
|
-
|
|
10907
|
+
IsNotEmpty112({ message: "Timesheet line ID is required" }),
|
|
10859
10908
|
IsNumber28({}, { message: "Timesheet line ID must be a number" })
|
|
10860
10909
|
], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
10861
10910
|
|
|
10862
10911
|
// src/modules/timesheet/dto/resubmit-timesheet.dto.ts
|
|
10863
|
-
import { IsNotEmpty as
|
|
10912
|
+
import { IsNotEmpty as IsNotEmpty113, IsNumber as IsNumber29 } from "class-validator";
|
|
10864
10913
|
var ResubmitTimesheetDto = class {
|
|
10865
10914
|
};
|
|
10866
10915
|
__decorateClass([
|
|
10867
|
-
|
|
10916
|
+
IsNotEmpty113({ message: "Timesheet line ID is required" }),
|
|
10868
10917
|
IsNumber29({}, { message: "Timesheet line ID must be a number" })
|
|
10869
10918
|
], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
10870
10919
|
|
|
10871
10920
|
// src/modules/timesheet/dto/approve-timesheets.dto.ts
|
|
10872
|
-
import { IsNotEmpty as
|
|
10921
|
+
import { IsNotEmpty as IsNotEmpty114, IsNumber as IsNumber30 } from "class-validator";
|
|
10873
10922
|
import { Type as Type23 } from "class-transformer";
|
|
10874
10923
|
var ApproveTimesheetsDto = class {
|
|
10875
10924
|
};
|
|
10876
10925
|
__decorateClass([
|
|
10877
10926
|
IsNumber30({}, { message: "Timesheet line ID must be a number." }),
|
|
10878
|
-
|
|
10927
|
+
IsNotEmpty114({ message: "Timesheet line ID is required." }),
|
|
10879
10928
|
Type23(() => Number)
|
|
10880
10929
|
], ApproveTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
10881
10930
|
|
|
10882
10931
|
// src/modules/timesheet/dto/send-back-timesheets.dto.ts
|
|
10883
|
-
import { IsNotEmpty as
|
|
10932
|
+
import { IsNotEmpty as IsNotEmpty115, IsNumber as IsNumber31, IsOptional as IsOptional76, IsString as IsString82 } from "class-validator";
|
|
10884
10933
|
import { Type as Type24 } from "class-transformer";
|
|
10885
10934
|
var SendBackTimesheetsDto = class {
|
|
10886
10935
|
};
|
|
10887
10936
|
__decorateClass([
|
|
10888
10937
|
IsNumber31({}, { message: "Timesheet line ID must be a number." }),
|
|
10889
|
-
|
|
10938
|
+
IsNotEmpty115({ message: "Timesheet line ID is required." }),
|
|
10890
10939
|
Type24(() => Number)
|
|
10891
10940
|
], SendBackTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
10892
10941
|
__decorateClass([
|
|
10893
10942
|
IsOptional76(),
|
|
10894
|
-
|
|
10943
|
+
IsString82({ message: "Client send back reason must be a string." })
|
|
10895
10944
|
], SendBackTimesheetsDto.prototype, "clientSendBackReason", 2);
|
|
10896
10945
|
|
|
10897
10946
|
// src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
|
|
10898
|
-
import { IsNotEmpty as
|
|
10947
|
+
import { IsNotEmpty as IsNotEmpty116, IsNumber as IsNumber32 } from "class-validator";
|
|
10899
10948
|
var CreateDefaultTimesheetLineDto = class {
|
|
10900
10949
|
};
|
|
10901
10950
|
__decorateClass([
|
|
10902
|
-
|
|
10951
|
+
IsNotEmpty116({ message: "Contract ID is required" }),
|
|
10903
10952
|
IsNumber32({}, { message: "Contract ID must be a number" })
|
|
10904
10953
|
], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
|
|
10905
10954
|
__decorateClass([
|
|
10906
|
-
|
|
10955
|
+
IsNotEmpty116({ message: "Freelancer ID is required" }),
|
|
10907
10956
|
IsNumber32({}, { message: "Freelancer ID must be a number" })
|
|
10908
10957
|
], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
|
|
10909
10958
|
__decorateClass([
|
|
10910
|
-
|
|
10959
|
+
IsNotEmpty116({ message: "Client ID is required" }),
|
|
10911
10960
|
IsNumber32({}, { message: "Client ID must be a number" })
|
|
10912
10961
|
], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
|
|
10913
10962
|
|
|
@@ -10930,22 +10979,22 @@ var INVOICE_PATTERN = {
|
|
|
10930
10979
|
};
|
|
10931
10980
|
|
|
10932
10981
|
// src/modules/invoice/dto/update-invoice-status.dto.ts
|
|
10933
|
-
import { IsEnum as IsEnum46, IsNotEmpty as
|
|
10982
|
+
import { IsEnum as IsEnum46, IsNotEmpty as IsNotEmpty117 } from "class-validator";
|
|
10934
10983
|
var UpdateInvoiceStatusDto = class {
|
|
10935
10984
|
};
|
|
10936
10985
|
__decorateClass([
|
|
10937
|
-
|
|
10986
|
+
IsNotEmpty117({ message: "Please provide invoice status." }),
|
|
10938
10987
|
IsEnum46(InvoiceStatusEnum, {
|
|
10939
10988
|
message: "Status must be one of: APPROVED, REJECTED"
|
|
10940
10989
|
})
|
|
10941
10990
|
], UpdateInvoiceStatusDto.prototype, "status", 2);
|
|
10942
10991
|
|
|
10943
10992
|
// src/modules/invoice/dto/create-invoice.dto.ts
|
|
10944
|
-
import { IsNotEmpty as
|
|
10993
|
+
import { IsNotEmpty as IsNotEmpty118, IsNumber as IsNumber33 } from "class-validator";
|
|
10945
10994
|
var CreateInvoiceDto = class {
|
|
10946
10995
|
};
|
|
10947
10996
|
__decorateClass([
|
|
10948
|
-
|
|
10997
|
+
IsNotEmpty118({ message: "Timesheet line ID is required" }),
|
|
10949
10998
|
IsNumber33({}, { message: "Timesheet line ID must be a number" })
|
|
10950
10999
|
], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
|
|
10951
11000
|
|
|
@@ -10958,8 +11007,8 @@ var DISPUTE_PATTERN = {
|
|
|
10958
11007
|
|
|
10959
11008
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
10960
11009
|
import {
|
|
10961
|
-
IsString as
|
|
10962
|
-
IsNotEmpty as
|
|
11010
|
+
IsString as IsString83,
|
|
11011
|
+
IsNotEmpty as IsNotEmpty119,
|
|
10963
11012
|
IsIn as IsIn4,
|
|
10964
11013
|
IsOptional as IsOptional77,
|
|
10965
11014
|
MaxLength as MaxLength23,
|
|
@@ -10981,22 +11030,22 @@ __decorateClass([
|
|
|
10981
11030
|
Type25(() => Number)
|
|
10982
11031
|
], CreateDisputeDto.prototype, "freelancerId", 2);
|
|
10983
11032
|
__decorateClass([
|
|
10984
|
-
|
|
10985
|
-
|
|
11033
|
+
IsNotEmpty119({ message: "Please select dispute type." }),
|
|
11034
|
+
IsString83(),
|
|
10986
11035
|
IsIn4(["JOB", "INVOICE"])
|
|
10987
11036
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
10988
11037
|
__decorateClass([
|
|
10989
|
-
|
|
10990
|
-
|
|
11038
|
+
IsNotEmpty119({ message: "Please provide initiator type." }),
|
|
11039
|
+
IsString83()
|
|
10991
11040
|
], CreateDisputeDto.prototype, "initiatorType", 2);
|
|
10992
11041
|
__decorateClass([
|
|
10993
|
-
|
|
10994
|
-
|
|
11042
|
+
IsNotEmpty119({ message: "Please enter description." }),
|
|
11043
|
+
IsString83({ message: "Description must be a string" }),
|
|
10995
11044
|
MaxLength23(500, { message: "Description must not exceed 500 characters" })
|
|
10996
11045
|
], CreateDisputeDto.prototype, "description", 2);
|
|
10997
11046
|
__decorateClass([
|
|
10998
11047
|
IsOptional77(),
|
|
10999
|
-
|
|
11048
|
+
IsString83({ message: "Comment must be a string" }),
|
|
11000
11049
|
MaxLength23(500, { message: "Comment must not exceed 500 characters" })
|
|
11001
11050
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
11002
11051
|
__decorateClass([
|
|
@@ -11023,76 +11072,76 @@ var SENSELOAF_PATTERN = {
|
|
|
11023
11072
|
|
|
11024
11073
|
// src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
|
|
11025
11074
|
import {
|
|
11026
|
-
IsNotEmpty as
|
|
11075
|
+
IsNotEmpty as IsNotEmpty120
|
|
11027
11076
|
} from "class-validator";
|
|
11028
11077
|
var AiInterviewQuestionGenerateDto = class {
|
|
11029
11078
|
};
|
|
11030
11079
|
__decorateClass([
|
|
11031
|
-
|
|
11080
|
+
IsNotEmpty120({ message: "Please enter job description." })
|
|
11032
11081
|
], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
|
|
11033
11082
|
__decorateClass([
|
|
11034
|
-
|
|
11083
|
+
IsNotEmpty120({ message: "Please enter number of questions." })
|
|
11035
11084
|
], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
|
|
11036
11085
|
|
|
11037
11086
|
// src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
|
|
11038
|
-
import { IsNotEmpty as
|
|
11087
|
+
import { IsNotEmpty as IsNotEmpty121, IsString as IsString84, IsOptional as IsOptional78 } from "class-validator";
|
|
11039
11088
|
var ResumeParsingByUrlDto = class {
|
|
11040
11089
|
};
|
|
11041
11090
|
__decorateClass([
|
|
11042
|
-
|
|
11043
|
-
|
|
11091
|
+
IsNotEmpty121({ message: "Resume URL is required" }),
|
|
11092
|
+
IsString84({ message: "Resume URL must be a string" })
|
|
11044
11093
|
], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
|
|
11045
11094
|
__decorateClass([
|
|
11046
11095
|
IsOptional78(),
|
|
11047
|
-
|
|
11096
|
+
IsString84()
|
|
11048
11097
|
], ResumeParsingByUrlDto.prototype, "fileName", 2);
|
|
11049
11098
|
|
|
11050
11099
|
// src/modules/senseloaf/dto/resume-data-processing.dto.ts
|
|
11051
|
-
import { IsNotEmpty as
|
|
11100
|
+
import { IsNotEmpty as IsNotEmpty122, IsString as IsString85, IsOptional as IsOptional79, IsObject as IsObject8 } from "class-validator";
|
|
11052
11101
|
var ResumeDataProcessingDto = class {
|
|
11053
11102
|
};
|
|
11054
11103
|
__decorateClass([
|
|
11055
|
-
|
|
11104
|
+
IsNotEmpty122({ message: "Resume data is required" }),
|
|
11056
11105
|
IsObject8()
|
|
11057
11106
|
], ResumeDataProcessingDto.prototype, "resumeData", 2);
|
|
11058
11107
|
__decorateClass([
|
|
11059
11108
|
IsOptional79(),
|
|
11060
|
-
|
|
11109
|
+
IsString85()
|
|
11061
11110
|
], ResumeDataProcessingDto.prototype, "userId", 2);
|
|
11062
11111
|
__decorateClass([
|
|
11063
11112
|
IsOptional79(),
|
|
11064
|
-
|
|
11113
|
+
IsString85()
|
|
11065
11114
|
], ResumeDataProcessingDto.prototype, "processingType", 2);
|
|
11066
11115
|
|
|
11067
11116
|
// src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
|
|
11068
|
-
import { IsNotEmpty as
|
|
11117
|
+
import { IsNotEmpty as IsNotEmpty123, IsString as IsString86, IsOptional as IsOptional80, IsObject as IsObject9 } from "class-validator";
|
|
11069
11118
|
var CheckResumeEligibilityDto = class {
|
|
11070
11119
|
};
|
|
11071
11120
|
__decorateClass([
|
|
11072
|
-
|
|
11121
|
+
IsNotEmpty123({ message: "Resume data is required" }),
|
|
11073
11122
|
IsObject9()
|
|
11074
11123
|
], CheckResumeEligibilityDto.prototype, "resumeData", 2);
|
|
11075
11124
|
__decorateClass([
|
|
11076
11125
|
IsOptional80(),
|
|
11077
|
-
|
|
11126
|
+
IsString86()
|
|
11078
11127
|
], CheckResumeEligibilityDto.prototype, "jobId", 2);
|
|
11079
11128
|
__decorateClass([
|
|
11080
11129
|
IsOptional80(),
|
|
11081
|
-
|
|
11130
|
+
IsString86()
|
|
11082
11131
|
], CheckResumeEligibilityDto.prototype, "userId", 2);
|
|
11083
11132
|
|
|
11084
11133
|
// src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
|
|
11085
|
-
import { IsNotEmpty as
|
|
11134
|
+
import { IsNotEmpty as IsNotEmpty124, IsString as IsString87, IsOptional as IsOptional81, IsArray as IsArray27, IsNumber as IsNumber35 } from "class-validator";
|
|
11086
11135
|
var AiInterviewTemplateGenerationDto = class {
|
|
11087
11136
|
};
|
|
11088
11137
|
__decorateClass([
|
|
11089
|
-
|
|
11090
|
-
|
|
11138
|
+
IsNotEmpty124({ message: "Job ID is required" }),
|
|
11139
|
+
IsString87({ message: "Job ID must be a string" })
|
|
11091
11140
|
], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
|
|
11092
11141
|
__decorateClass([
|
|
11093
11142
|
IsOptional81(),
|
|
11094
11143
|
IsArray27(),
|
|
11095
|
-
|
|
11144
|
+
IsString87({ each: true, message: "Each skill must be a string" })
|
|
11096
11145
|
], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
|
|
11097
11146
|
__decorateClass([
|
|
11098
11147
|
IsOptional81(),
|
|
@@ -11100,24 +11149,24 @@ __decorateClass([
|
|
|
11100
11149
|
], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
|
|
11101
11150
|
__decorateClass([
|
|
11102
11151
|
IsOptional81(),
|
|
11103
|
-
|
|
11152
|
+
IsString87()
|
|
11104
11153
|
], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
|
|
11105
11154
|
|
|
11106
11155
|
// src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
|
|
11107
|
-
import { IsNotEmpty as
|
|
11156
|
+
import { IsNotEmpty as IsNotEmpty125, IsString as IsString88, IsOptional as IsOptional82, IsNumber as IsNumber36 } from "class-validator";
|
|
11108
11157
|
var AiInterviewLinkGenerationDto = class {
|
|
11109
11158
|
};
|
|
11110
11159
|
__decorateClass([
|
|
11111
|
-
|
|
11112
|
-
|
|
11160
|
+
IsNotEmpty125({ message: "Template ID is required" }),
|
|
11161
|
+
IsString88({ message: "Template ID must be a string" })
|
|
11113
11162
|
], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
|
|
11114
11163
|
__decorateClass([
|
|
11115
|
-
|
|
11116
|
-
|
|
11164
|
+
IsNotEmpty125({ message: "Freelancer ID is required" }),
|
|
11165
|
+
IsString88({ message: "Freelancer ID must be a string" })
|
|
11117
11166
|
], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
|
|
11118
11167
|
__decorateClass([
|
|
11119
11168
|
IsOptional82(),
|
|
11120
|
-
|
|
11169
|
+
IsString88()
|
|
11121
11170
|
], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
|
|
11122
11171
|
__decorateClass([
|
|
11123
11172
|
IsOptional82(),
|
|
@@ -11125,16 +11174,16 @@ __decorateClass([
|
|
|
11125
11174
|
], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
|
|
11126
11175
|
|
|
11127
11176
|
// src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
|
|
11128
|
-
import { IsNotEmpty as
|
|
11177
|
+
import { IsNotEmpty as IsNotEmpty126, IsString as IsString89, IsOptional as IsOptional83, IsNumber as IsNumber37 } from "class-validator";
|
|
11129
11178
|
var AiAssessmentCreationDto = class {
|
|
11130
11179
|
};
|
|
11131
11180
|
__decorateClass([
|
|
11132
|
-
|
|
11133
|
-
|
|
11181
|
+
IsNotEmpty126({ message: "User ID is required" }),
|
|
11182
|
+
IsString89({ message: "User ID must be a string" })
|
|
11134
11183
|
], AiAssessmentCreationDto.prototype, "userId", 2);
|
|
11135
11184
|
__decorateClass([
|
|
11136
11185
|
IsOptional83(),
|
|
11137
|
-
|
|
11186
|
+
IsString89()
|
|
11138
11187
|
], AiAssessmentCreationDto.prototype, "assessmentType", 2);
|
|
11139
11188
|
__decorateClass([
|
|
11140
11189
|
IsOptional83(),
|
|
@@ -11142,7 +11191,7 @@ __decorateClass([
|
|
|
11142
11191
|
], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
|
|
11143
11192
|
__decorateClass([
|
|
11144
11193
|
IsOptional83(),
|
|
11145
|
-
|
|
11194
|
+
IsString89()
|
|
11146
11195
|
], AiAssessmentCreationDto.prototype, "difficulty", 2);
|
|
11147
11196
|
|
|
11148
11197
|
// src/modules/commission/pattern/pattern.ts
|
|
@@ -11158,7 +11207,7 @@ var HIRING_PATTERN = {
|
|
|
11158
11207
|
};
|
|
11159
11208
|
|
|
11160
11209
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
11161
|
-
import { IsEnum as IsEnum47, IsNotEmpty as
|
|
11210
|
+
import { IsEnum as IsEnum47, IsNotEmpty as IsNotEmpty127, IsNumber as IsNumber38 } from "class-validator";
|
|
11162
11211
|
var PreferredEngagementTypeEnum2 = /* @__PURE__ */ ((PreferredEngagementTypeEnum3) => {
|
|
11163
11212
|
PreferredEngagementTypeEnum3["FTE"] = "FTE";
|
|
11164
11213
|
PreferredEngagementTypeEnum3["FREELANCE"] = "FREELANCE";
|
|
@@ -11167,15 +11216,15 @@ var PreferredEngagementTypeEnum2 = /* @__PURE__ */ ((PreferredEngagementTypeEnum
|
|
|
11167
11216
|
var CreateHiringDto = class {
|
|
11168
11217
|
};
|
|
11169
11218
|
__decorateClass([
|
|
11170
|
-
|
|
11219
|
+
IsNotEmpty127({ message: "Freelancer ID is required" }),
|
|
11171
11220
|
IsNumber38({}, { message: "Freelancer ID must be a number" })
|
|
11172
11221
|
], CreateHiringDto.prototype, "freelancerId", 2);
|
|
11173
11222
|
__decorateClass([
|
|
11174
|
-
|
|
11223
|
+
IsNotEmpty127({ message: "Job ID is required" }),
|
|
11175
11224
|
IsNumber38({}, { message: "Job ID must be a number" })
|
|
11176
11225
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
11177
11226
|
__decorateClass([
|
|
11178
|
-
|
|
11227
|
+
IsNotEmpty127({ message: "Preferred engagement type is required" }),
|
|
11179
11228
|
IsEnum47(PreferredEngagementTypeEnum2, {
|
|
11180
11229
|
message: "Preferred engagement type must be one of FTE or FREELANCE."
|
|
11181
11230
|
})
|
|
@@ -11199,16 +11248,16 @@ var SIGNATURE_PATTERN = {
|
|
|
11199
11248
|
};
|
|
11200
11249
|
|
|
11201
11250
|
// src/modules/user/signature/dto/save-signature.dto.ts
|
|
11202
|
-
import { IsOptional as IsOptional84, IsString as
|
|
11251
|
+
import { IsOptional as IsOptional84, IsString as IsString90 } from "class-validator";
|
|
11203
11252
|
var SaveSignatureDto = class {
|
|
11204
11253
|
};
|
|
11205
11254
|
__decorateClass([
|
|
11206
11255
|
IsOptional84(),
|
|
11207
|
-
|
|
11256
|
+
IsString90()
|
|
11208
11257
|
], SaveSignatureDto.prototype, "signatureType", 2);
|
|
11209
11258
|
__decorateClass([
|
|
11210
11259
|
IsOptional84(),
|
|
11211
|
-
|
|
11260
|
+
IsString90()
|
|
11212
11261
|
], SaveSignatureDto.prototype, "description", 2);
|
|
11213
11262
|
|
|
11214
11263
|
// src/modules/wallet/pattern/pattern.ts
|
|
@@ -11226,25 +11275,25 @@ var WALLET_ADMIN_PATTERN = {
|
|
|
11226
11275
|
};
|
|
11227
11276
|
|
|
11228
11277
|
// src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
|
|
11229
|
-
import { IsNotEmpty as
|
|
11278
|
+
import { IsNotEmpty as IsNotEmpty128, IsNumber as IsNumber39, IsUUID as IsUUID31 } from "class-validator";
|
|
11230
11279
|
var AddTopupEscrowAmountDto = class {
|
|
11231
11280
|
};
|
|
11232
11281
|
__decorateClass([
|
|
11233
|
-
|
|
11282
|
+
IsNotEmpty128({ message: "Amount is required" }),
|
|
11234
11283
|
IsNumber39({}, { message: "Amount must be a number" })
|
|
11235
11284
|
], AddTopupEscrowAmountDto.prototype, "amount", 2);
|
|
11236
11285
|
__decorateClass([
|
|
11237
|
-
|
|
11286
|
+
IsNotEmpty128({ message: "Escrow wallet UUID is required" }),
|
|
11238
11287
|
IsUUID31("4", { message: "Escrow wallet UUID must be a valid UUID" })
|
|
11239
11288
|
], AddTopupEscrowAmountDto.prototype, "escrowWalletUuid", 2);
|
|
11240
11289
|
|
|
11241
11290
|
// src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
|
|
11242
|
-
import { IsNotEmpty as
|
|
11291
|
+
import { IsNotEmpty as IsNotEmpty129, IsUUID as IsUUID32 } from "class-validator";
|
|
11243
11292
|
var DebitCommissionFteHiringDto = class {
|
|
11244
11293
|
};
|
|
11245
11294
|
__decorateClass([
|
|
11246
11295
|
IsUUID32("4", { message: "Invoice UUID must be a valid UUID." }),
|
|
11247
|
-
|
|
11296
|
+
IsNotEmpty129({ message: "Invoice UUID is required." })
|
|
11248
11297
|
], DebitCommissionFteHiringDto.prototype, "invoiceUuid", 2);
|
|
11249
11298
|
|
|
11250
11299
|
// src/modules/discord/discord-alert.interface.ts
|
|
@@ -12353,28 +12402,28 @@ function createDiscordTransport(options) {
|
|
|
12353
12402
|
}
|
|
12354
12403
|
|
|
12355
12404
|
// src/modules/in-app-notification/dto/create-in-app-notification.dto.ts
|
|
12356
|
-
import { IsNotEmpty as
|
|
12405
|
+
import { IsNotEmpty as IsNotEmpty130, IsNumber as IsNumber40, IsOptional as IsOptional85, IsString as IsString91, IsObject as IsObject10 } from "class-validator";
|
|
12357
12406
|
var CreateInAppNotificationDto = class {
|
|
12358
12407
|
};
|
|
12359
12408
|
__decorateClass([
|
|
12360
|
-
|
|
12409
|
+
IsNotEmpty130(),
|
|
12361
12410
|
IsNumber40()
|
|
12362
12411
|
], CreateInAppNotificationDto.prototype, "userId", 2);
|
|
12363
12412
|
__decorateClass([
|
|
12364
12413
|
IsOptional85(),
|
|
12365
|
-
|
|
12414
|
+
IsString91()
|
|
12366
12415
|
], CreateInAppNotificationDto.prototype, "event", 2);
|
|
12367
12416
|
__decorateClass([
|
|
12368
12417
|
IsOptional85(),
|
|
12369
|
-
|
|
12418
|
+
IsString91()
|
|
12370
12419
|
], CreateInAppNotificationDto.prototype, "title", 2);
|
|
12371
12420
|
__decorateClass([
|
|
12372
|
-
|
|
12373
|
-
|
|
12421
|
+
IsNotEmpty130(),
|
|
12422
|
+
IsString91()
|
|
12374
12423
|
], CreateInAppNotificationDto.prototype, "message", 2);
|
|
12375
12424
|
__decorateClass([
|
|
12376
12425
|
IsOptional85(),
|
|
12377
|
-
|
|
12426
|
+
IsString91()
|
|
12378
12427
|
], CreateInAppNotificationDto.prototype, "redirectUrl", 2);
|
|
12379
12428
|
__decorateClass([
|
|
12380
12429
|
IsOptional85(),
|
|
@@ -12382,7 +12431,7 @@ __decorateClass([
|
|
|
12382
12431
|
], CreateInAppNotificationDto.prototype, "metaData", 2);
|
|
12383
12432
|
|
|
12384
12433
|
// src/modules/in-app-notification/dto/update-is-read.dto.ts
|
|
12385
|
-
import { IsNotEmpty as
|
|
12434
|
+
import { IsNotEmpty as IsNotEmpty131, IsNumber as IsNumber41, IsBoolean as IsBoolean22, IsOptional as IsOptional86, IsArray as IsArray29 } from "class-validator";
|
|
12386
12435
|
import { Type as Type26 } from "class-transformer";
|
|
12387
12436
|
var UpdateIsReadDto = class {
|
|
12388
12437
|
};
|
|
@@ -12398,7 +12447,7 @@ __decorateClass([
|
|
|
12398
12447
|
Type26(() => Number)
|
|
12399
12448
|
], UpdateIsReadDto.prototype, "ids", 2);
|
|
12400
12449
|
__decorateClass([
|
|
12401
|
-
|
|
12450
|
+
IsNotEmpty131(),
|
|
12402
12451
|
IsBoolean22()
|
|
12403
12452
|
], UpdateIsReadDto.prototype, "isRead", 2);
|
|
12404
12453
|
|
|
@@ -12427,10 +12476,10 @@ import {
|
|
|
12427
12476
|
IsBoolean as IsBoolean23,
|
|
12428
12477
|
IsEmail as IsEmail24,
|
|
12429
12478
|
IsEnum as IsEnum48,
|
|
12430
|
-
IsNotEmpty as
|
|
12479
|
+
IsNotEmpty as IsNotEmpty132,
|
|
12431
12480
|
IsNumber as IsNumber42,
|
|
12432
12481
|
IsOptional as IsOptional87,
|
|
12433
|
-
IsString as
|
|
12482
|
+
IsString as IsString92,
|
|
12434
12483
|
ValidateNested as ValidateNested12
|
|
12435
12484
|
} from "class-validator";
|
|
12436
12485
|
import { Type as Type27 } from "class-transformer";
|
|
@@ -12443,15 +12492,15 @@ var DocuSealSubmitterDto = class {
|
|
|
12443
12492
|
};
|
|
12444
12493
|
__decorateClass([
|
|
12445
12494
|
IsEmail24({}, { message: "Submitter email must be valid." }),
|
|
12446
|
-
|
|
12495
|
+
IsNotEmpty132({ message: "Submitter email is required." })
|
|
12447
12496
|
], DocuSealSubmitterDto.prototype, "email", 2);
|
|
12448
12497
|
__decorateClass([
|
|
12449
12498
|
IsOptional87(),
|
|
12450
|
-
|
|
12499
|
+
IsString92()
|
|
12451
12500
|
], DocuSealSubmitterDto.prototype, "name", 2);
|
|
12452
12501
|
__decorateClass([
|
|
12453
12502
|
IsOptional87(),
|
|
12454
|
-
|
|
12503
|
+
IsString92()
|
|
12455
12504
|
], DocuSealSubmitterDto.prototype, "phone", 2);
|
|
12456
12505
|
__decorateClass([
|
|
12457
12506
|
IsOptional87(),
|
|
@@ -12461,17 +12510,17 @@ var DocuSealMessageDto = class {
|
|
|
12461
12510
|
};
|
|
12462
12511
|
__decorateClass([
|
|
12463
12512
|
IsOptional87(),
|
|
12464
|
-
|
|
12513
|
+
IsString92()
|
|
12465
12514
|
], DocuSealMessageDto.prototype, "subject", 2);
|
|
12466
12515
|
__decorateClass([
|
|
12467
12516
|
IsOptional87(),
|
|
12468
|
-
|
|
12517
|
+
IsString92()
|
|
12469
12518
|
], DocuSealMessageDto.prototype, "body", 2);
|
|
12470
12519
|
var CreateUserSigningDto = class {
|
|
12471
12520
|
};
|
|
12472
12521
|
__decorateClass([
|
|
12473
12522
|
IsNumber42({}, { message: "Template ID must be a number." }),
|
|
12474
|
-
|
|
12523
|
+
IsNotEmpty132({ message: "Template ID is required." })
|
|
12475
12524
|
], CreateUserSigningDto.prototype, "templateId", 2);
|
|
12476
12525
|
__decorateClass([
|
|
12477
12526
|
IsOptional87(),
|
|
@@ -12495,54 +12544,54 @@ __decorateClass([
|
|
|
12495
12544
|
], CreateUserSigningDto.prototype, "message", 2);
|
|
12496
12545
|
__decorateClass([
|
|
12497
12546
|
IsOptional87(),
|
|
12498
|
-
|
|
12547
|
+
IsString92()
|
|
12499
12548
|
], CreateUserSigningDto.prototype, "completedRedirectUrl", 2);
|
|
12500
12549
|
__decorateClass([
|
|
12501
12550
|
IsOptional87(),
|
|
12502
|
-
|
|
12551
|
+
IsString92()
|
|
12503
12552
|
], CreateUserSigningDto.prototype, "expireAt", 2);
|
|
12504
12553
|
|
|
12505
12554
|
// src/modules/docuseal/dto/get-submission.dto.ts
|
|
12506
|
-
import { IsNotEmpty as
|
|
12555
|
+
import { IsNotEmpty as IsNotEmpty133, IsNumber as IsNumber43 } from "class-validator";
|
|
12507
12556
|
import { Type as Type28 } from "class-transformer";
|
|
12508
12557
|
var GetSubmissionDto = class {
|
|
12509
12558
|
};
|
|
12510
12559
|
__decorateClass([
|
|
12511
12560
|
IsNumber43({}, { message: "Submission ID must be a number." }),
|
|
12512
|
-
|
|
12561
|
+
IsNotEmpty133({ message: "Submission ID is required." }),
|
|
12513
12562
|
Type28(() => Number)
|
|
12514
12563
|
], GetSubmissionDto.prototype, "submissionId", 2);
|
|
12515
12564
|
|
|
12516
12565
|
// src/modules/docuseal/dto/get-submitter.dto.ts
|
|
12517
|
-
import { IsNotEmpty as
|
|
12566
|
+
import { IsNotEmpty as IsNotEmpty134, IsNumber as IsNumber44 } from "class-validator";
|
|
12518
12567
|
import { Type as Type29 } from "class-transformer";
|
|
12519
12568
|
var GetSubmitterDto = class {
|
|
12520
12569
|
};
|
|
12521
12570
|
__decorateClass([
|
|
12522
12571
|
IsNumber44({}, { message: "Submitter ID must be a number." }),
|
|
12523
|
-
|
|
12572
|
+
IsNotEmpty134({ message: "Submitter ID is required." }),
|
|
12524
12573
|
Type29(() => Number)
|
|
12525
12574
|
], GetSubmitterDto.prototype, "submitterId", 2);
|
|
12526
12575
|
|
|
12527
12576
|
// src/modules/docuseal/dto/get-template.dto.ts
|
|
12528
|
-
import { IsNotEmpty as
|
|
12577
|
+
import { IsNotEmpty as IsNotEmpty135, IsNumber as IsNumber45 } from "class-validator";
|
|
12529
12578
|
import { Type as Type30 } from "class-transformer";
|
|
12530
12579
|
var GetTemplateDto = class {
|
|
12531
12580
|
};
|
|
12532
12581
|
__decorateClass([
|
|
12533
12582
|
IsNumber45({}, { message: "Template ID must be a number." }),
|
|
12534
|
-
|
|
12583
|
+
IsNotEmpty135({ message: "Template ID is required." }),
|
|
12535
12584
|
Type30(() => Number)
|
|
12536
12585
|
], GetTemplateDto.prototype, "templateId", 2);
|
|
12537
12586
|
|
|
12538
12587
|
// src/modules/docuseal/dto/archive-submission.dto.ts
|
|
12539
|
-
import { IsNotEmpty as
|
|
12588
|
+
import { IsNotEmpty as IsNotEmpty136, IsNumber as IsNumber46 } from "class-validator";
|
|
12540
12589
|
import { Type as Type31 } from "class-transformer";
|
|
12541
12590
|
var ArchiveSubmissionDto = class {
|
|
12542
12591
|
};
|
|
12543
12592
|
__decorateClass([
|
|
12544
12593
|
IsNumber46({}, { message: "Submission ID must be a number." }),
|
|
12545
|
-
|
|
12594
|
+
IsNotEmpty136({ message: "Submission ID is required." }),
|
|
12546
12595
|
Type31(() => Number)
|
|
12547
12596
|
], ArchiveSubmissionDto.prototype, "submissionId", 2);
|
|
12548
12597
|
|
|
@@ -13910,7 +13959,8 @@ export {
|
|
|
13910
13959
|
RejectContractDto,
|
|
13911
13960
|
RejectF2FInterviewRescheduleRequestDto,
|
|
13912
13961
|
RemoveGlobalSettingDto,
|
|
13913
|
-
|
|
13962
|
+
RequestPasswordChangeOtpForClientDto,
|
|
13963
|
+
RequestPasswordChangeOtpForFreelancerDto,
|
|
13914
13964
|
ResetPasswordDto,
|
|
13915
13965
|
ResetPasswordTokenValidationDto,
|
|
13916
13966
|
ResetUserPasswordByAdminDto,
|
|
@@ -14001,7 +14051,8 @@ export {
|
|
|
14001
14051
|
VerifyGuestOtpDto,
|
|
14002
14052
|
VerifyOnboardingTokenDto,
|
|
14003
14053
|
VerifyOtpDto,
|
|
14004
|
-
|
|
14054
|
+
VerifyPasswordChangeOtpForClientDto,
|
|
14055
|
+
VerifyPasswordChangeOtpForFreelancerDto,
|
|
14005
14056
|
WALLET_ADMIN_PATTERN,
|
|
14006
14057
|
WALLET_PATTERN,
|
|
14007
14058
|
Wallet,
|