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