@experts_hub/shared 1.0.585 → 1.0.586
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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +311 -295
- package/dist/index.mjs +119 -104
- package/dist/modules/admin-role/dto/create-admin-role.dto.d.ts +1 -0
- package/dist/modules/admin-role/dto/index.d.ts +1 -0
- package/dist/modules/admin-role/dto/update-admin-role-status.dto.d.ts +3 -0
- package/dist/modules/admin-role/pattern/pattern.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -373,6 +373,7 @@ __export(index_exports, {
|
|
|
373
373
|
TypeOfEmploymentEnumDto: () => TypeOfEmploymentEnumDto,
|
|
374
374
|
TypeOfEmploymentEnums: () => TypeOfEmploymentEnums,
|
|
375
375
|
UpdateAdminRoleDto: () => UpdateAdminRoleDto,
|
|
376
|
+
UpdateAdminRoleStatusDto: () => UpdateAdminRoleStatusDto,
|
|
376
377
|
UpdateAssessmentRequestStatusDto: () => UpdateAssessmentRequestStatusDto,
|
|
377
378
|
UpdateClientAccountStatusDto: () => UpdateClientAccountStatusDto,
|
|
378
379
|
UpdateClientDto: () => UpdateClientDto,
|
|
@@ -8517,7 +8518,8 @@ var ADMIN_ROLE_PATTERN = {
|
|
|
8517
8518
|
adminUpdateRole: "admin.update.role",
|
|
8518
8519
|
adminDeleteRole: "admin.delete.role",
|
|
8519
8520
|
attachPermissionsToRole: "attach.permissions.to.role",
|
|
8520
|
-
fetchAdminRolePermissions: "fetch.admin.role.permissions"
|
|
8521
|
+
fetchAdminRolePermissions: "fetch.admin.role.permissions",
|
|
8522
|
+
updateAdminRoleStatus: "update.admin.role.status"
|
|
8521
8523
|
};
|
|
8522
8524
|
|
|
8523
8525
|
// src/modules/admin-role/dto/create-admin-role.dto.ts
|
|
@@ -8532,6 +8534,10 @@ __decorateClass([
|
|
|
8532
8534
|
(0, import_class_validator89.IsOptional)(),
|
|
8533
8535
|
(0, import_class_validator89.IsString)({ message: "Role description must be a string." })
|
|
8534
8536
|
], CreateAdminRoleDto.prototype, "roleDescription", 2);
|
|
8537
|
+
__decorateClass([
|
|
8538
|
+
(0, import_class_validator89.IsOptional)(),
|
|
8539
|
+
(0, import_class_validator89.IsBoolean)({ message: "Is active must be a boolean value" })
|
|
8540
|
+
], CreateAdminRoleDto.prototype, "iaActive", 2);
|
|
8535
8541
|
|
|
8536
8542
|
// src/modules/admin-role/dto/update-admin-role.dto.ts
|
|
8537
8543
|
var import_class_validator90 = require("class-validator");
|
|
@@ -8563,6 +8569,15 @@ __decorateClass([
|
|
|
8563
8569
|
(0, import_class_validator91.IsString)({ message: "Permission IDs must be a comma-separated string." })
|
|
8564
8570
|
], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
|
|
8565
8571
|
|
|
8572
|
+
// src/modules/admin-role/dto/update-admin-role-status.dto.ts
|
|
8573
|
+
var import_class_validator92 = require("class-validator");
|
|
8574
|
+
var UpdateAdminRoleStatusDto = class {
|
|
8575
|
+
};
|
|
8576
|
+
__decorateClass([
|
|
8577
|
+
(0, import_class_validator92.IsNotEmpty)({ message: "Please specify admin role status." }),
|
|
8578
|
+
(0, import_class_validator92.IsBoolean)({ message: "Is active must be a boolean value" })
|
|
8579
|
+
], UpdateAdminRoleStatusDto.prototype, "isActive", 2);
|
|
8580
|
+
|
|
8566
8581
|
// src/modules/admin-permission/pattern/pattern.ts
|
|
8567
8582
|
var ADMIN_PERMISSION_PATTERN = {
|
|
8568
8583
|
fetchAdminPermissions: "fetch.admin.permissions"
|
|
@@ -8640,7 +8655,7 @@ var INTERVIEW_PATTERN = {
|
|
|
8640
8655
|
};
|
|
8641
8656
|
|
|
8642
8657
|
// src/modules/interview/dto/interview-invite.dto.ts
|
|
8643
|
-
var
|
|
8658
|
+
var import_class_validator93 = require("class-validator");
|
|
8644
8659
|
var import_class_transformer15 = require("class-transformer");
|
|
8645
8660
|
var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
|
|
8646
8661
|
CandidateType2["SHORTLISTED"] = "SHORTLISTED";
|
|
@@ -8652,195 +8667,195 @@ var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
|
|
|
8652
8667
|
var ExistingCandidateDto = class {
|
|
8653
8668
|
};
|
|
8654
8669
|
__decorateClass([
|
|
8655
|
-
(0,
|
|
8670
|
+
(0, import_class_validator93.IsUUID)()
|
|
8656
8671
|
], ExistingCandidateDto.prototype, "id", 2);
|
|
8657
8672
|
__decorateClass([
|
|
8658
|
-
(0,
|
|
8673
|
+
(0, import_class_validator93.IsEnum)(CandidateType, {
|
|
8659
8674
|
message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
|
|
8660
8675
|
})
|
|
8661
8676
|
], ExistingCandidateDto.prototype, "type", 2);
|
|
8662
8677
|
var NewCandidateDto = class {
|
|
8663
8678
|
};
|
|
8664
8679
|
__decorateClass([
|
|
8665
|
-
(0,
|
|
8666
|
-
(0,
|
|
8680
|
+
(0, import_class_validator93.IsNotEmpty)({ message: "Please enter the candidate name" }),
|
|
8681
|
+
(0, import_class_validator93.IsString)({ message: "Name must be a string" })
|
|
8667
8682
|
], NewCandidateDto.prototype, "name", 2);
|
|
8668
8683
|
__decorateClass([
|
|
8669
|
-
(0,
|
|
8684
|
+
(0, import_class_validator93.IsEmail)({}, { message: "Please enter a valid email." })
|
|
8670
8685
|
], NewCandidateDto.prototype, "email", 2);
|
|
8671
8686
|
__decorateClass([
|
|
8672
|
-
(0,
|
|
8687
|
+
(0, import_class_validator93.IsEnum)(CandidateType, {
|
|
8673
8688
|
message: "type must be NEW"
|
|
8674
8689
|
})
|
|
8675
8690
|
], NewCandidateDto.prototype, "type", 2);
|
|
8676
8691
|
var CandidatesDto = class {
|
|
8677
8692
|
};
|
|
8678
8693
|
__decorateClass([
|
|
8679
|
-
(0,
|
|
8680
|
-
(0,
|
|
8681
|
-
(0,
|
|
8682
|
-
(0,
|
|
8694
|
+
(0, import_class_validator93.ValidateIf)((o) => o.exixtingCandidates?.length > 0),
|
|
8695
|
+
(0, import_class_validator93.IsArray)({ message: "Existing candidates should be an array." }),
|
|
8696
|
+
(0, import_class_validator93.ArrayNotEmpty)({ message: "Please select at least one candidate." }),
|
|
8697
|
+
(0, import_class_validator93.ValidateNested)({ each: true }),
|
|
8683
8698
|
(0, import_class_transformer15.Type)(() => ExistingCandidateDto)
|
|
8684
8699
|
], CandidatesDto.prototype, "exixtingCandidates", 2);
|
|
8685
8700
|
__decorateClass([
|
|
8686
|
-
(0,
|
|
8687
|
-
(0,
|
|
8688
|
-
(0,
|
|
8689
|
-
(0,
|
|
8701
|
+
(0, import_class_validator93.ValidateIf)((o) => o.newCandidates?.length > 0),
|
|
8702
|
+
(0, import_class_validator93.IsArray)({ message: "New candidates should be an array." }),
|
|
8703
|
+
(0, import_class_validator93.ArrayNotEmpty)({ message: "Please add at least one candidate." }),
|
|
8704
|
+
(0, import_class_validator93.ValidateNested)({ each: true }),
|
|
8690
8705
|
(0, import_class_transformer15.Type)(() => NewCandidateDto)
|
|
8691
8706
|
], CandidatesDto.prototype, "newCandidates", 2);
|
|
8692
8707
|
var InterviewInviteDto = class {
|
|
8693
8708
|
};
|
|
8694
8709
|
__decorateClass([
|
|
8695
|
-
(0,
|
|
8710
|
+
(0, import_class_validator93.IsUUID)()
|
|
8696
8711
|
], InterviewInviteDto.prototype, "jobId", 2);
|
|
8697
8712
|
__decorateClass([
|
|
8698
|
-
(0,
|
|
8713
|
+
(0, import_class_validator93.ValidateNested)({ each: true }),
|
|
8699
8714
|
(0, import_class_transformer15.Type)(() => CandidatesDto)
|
|
8700
8715
|
], InterviewInviteDto.prototype, "candidates", 2);
|
|
8701
8716
|
|
|
8702
8717
|
// src/modules/interview/dto/create-f2f-interview.dto.ts
|
|
8703
|
-
var
|
|
8718
|
+
var import_class_validator94 = require("class-validator");
|
|
8704
8719
|
var CreateF2FInterviewDto = class {
|
|
8705
8720
|
};
|
|
8706
8721
|
__decorateClass([
|
|
8707
|
-
(0,
|
|
8708
|
-
(0,
|
|
8722
|
+
(0, import_class_validator94.IsEmail)({}, { message: "Please enter a valid email address." }),
|
|
8723
|
+
(0, import_class_validator94.IsNotEmpty)({ message: "Invitee email is required." })
|
|
8709
8724
|
], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
|
|
8710
8725
|
__decorateClass([
|
|
8711
|
-
(0,
|
|
8712
|
-
(0,
|
|
8726
|
+
(0, import_class_validator94.IsString)({ message: "Invitee name must be a string." }),
|
|
8727
|
+
(0, import_class_validator94.IsNotEmpty)({ message: "Invitee name is required." })
|
|
8713
8728
|
], CreateF2FInterviewDto.prototype, "inviteeName", 2);
|
|
8714
8729
|
__decorateClass([
|
|
8715
|
-
(0,
|
|
8730
|
+
(0, import_class_validator94.IsNumber)({}, { message: "Interview ID must be a number." })
|
|
8716
8731
|
], CreateF2FInterviewDto.prototype, "interviewId", 2);
|
|
8717
8732
|
__decorateClass([
|
|
8718
|
-
(0,
|
|
8733
|
+
(0, import_class_validator94.IsNumber)({}, { message: "Candidate ID must be a number." })
|
|
8719
8734
|
], CreateF2FInterviewDto.prototype, "candidateId", 2);
|
|
8720
8735
|
|
|
8721
8736
|
// src/modules/interview/dto/create-f2f-interview-direct.dto.ts
|
|
8722
|
-
var
|
|
8737
|
+
var import_class_validator95 = require("class-validator");
|
|
8723
8738
|
var CreateF2FInterviewDirectDto = class {
|
|
8724
8739
|
};
|
|
8725
8740
|
__decorateClass([
|
|
8726
|
-
(0,
|
|
8727
|
-
(0,
|
|
8741
|
+
(0, import_class_validator95.IsEmail)({}, { message: "Please enter a valid email address." }),
|
|
8742
|
+
(0, import_class_validator95.IsNotEmpty)({ message: "Invitee email is required." })
|
|
8728
8743
|
], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
|
|
8729
8744
|
__decorateClass([
|
|
8730
|
-
(0,
|
|
8731
|
-
(0,
|
|
8745
|
+
(0, import_class_validator95.IsString)({ message: "Invitee name must be a string." }),
|
|
8746
|
+
(0, import_class_validator95.IsNotEmpty)({ message: "Invitee name is required." })
|
|
8732
8747
|
], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
|
|
8733
8748
|
__decorateClass([
|
|
8734
|
-
(0,
|
|
8749
|
+
(0, import_class_validator95.IsNumber)({}, { message: "Job ID must be a number." })
|
|
8735
8750
|
], CreateF2FInterviewDirectDto.prototype, "jobId", 2);
|
|
8736
8751
|
__decorateClass([
|
|
8737
|
-
(0,
|
|
8752
|
+
(0, import_class_validator95.IsNumber)({}, { message: "Candidate ID must be a number." })
|
|
8738
8753
|
], CreateF2FInterviewDirectDto.prototype, "candidateId", 2);
|
|
8739
8754
|
|
|
8740
8755
|
// src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
|
|
8741
|
-
var
|
|
8756
|
+
var import_class_validator96 = require("class-validator");
|
|
8742
8757
|
var CreateF2FInterviewRescheduleRequestDto = class {
|
|
8743
8758
|
};
|
|
8744
8759
|
__decorateClass([
|
|
8745
|
-
(0,
|
|
8760
|
+
(0, import_class_validator96.IsNotEmpty)({ message: "F2F Interview ID is required." })
|
|
8746
8761
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
|
|
8747
8762
|
__decorateClass([
|
|
8748
|
-
(0,
|
|
8763
|
+
(0, import_class_validator96.IsNotEmpty)({ message: "Rescheduled date is required." })
|
|
8749
8764
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
|
|
8750
8765
|
__decorateClass([
|
|
8751
|
-
(0,
|
|
8752
|
-
(0,
|
|
8766
|
+
(0, import_class_validator96.IsString)({ message: "Rescheduled slot must be a string." }),
|
|
8767
|
+
(0, import_class_validator96.IsNotEmpty)({ message: "Rescheduled slot is required." })
|
|
8753
8768
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
|
|
8754
8769
|
__decorateClass([
|
|
8755
|
-
(0,
|
|
8770
|
+
(0, import_class_validator96.IsString)({ message: "Freelancer reason must be a string." })
|
|
8756
8771
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
8757
8772
|
|
|
8758
8773
|
// src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
|
|
8759
|
-
var
|
|
8774
|
+
var import_class_validator97 = require("class-validator");
|
|
8760
8775
|
var CreateAIInterviewRescheduleRequestDto = class {
|
|
8761
8776
|
};
|
|
8762
8777
|
__decorateClass([
|
|
8763
|
-
(0,
|
|
8778
|
+
(0, import_class_validator97.IsNotEmpty)({ message: "AI Interview ID is required." })
|
|
8764
8779
|
], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
|
|
8765
8780
|
__decorateClass([
|
|
8766
|
-
(0,
|
|
8781
|
+
(0, import_class_validator97.IsString)({ message: "Freelancer reason must be a string." })
|
|
8767
8782
|
], CreateAIInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
8768
8783
|
|
|
8769
8784
|
// src/modules/interview/dto/reject-ai-interview-reschedule-request.dto.ts
|
|
8770
|
-
var
|
|
8785
|
+
var import_class_validator98 = require("class-validator");
|
|
8771
8786
|
var RejectAIInterviewRescheduleRequestDto = class {
|
|
8772
8787
|
};
|
|
8773
8788
|
__decorateClass([
|
|
8774
|
-
(0,
|
|
8789
|
+
(0, import_class_validator98.IsString)({ message: "Client reject reason must be a string." })
|
|
8775
8790
|
], RejectAIInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
|
|
8776
8791
|
|
|
8777
8792
|
// src/modules/interview/dto/reject-f2f-interview-reschedule-request.dto.ts
|
|
8778
|
-
var
|
|
8793
|
+
var import_class_validator99 = require("class-validator");
|
|
8779
8794
|
var RejectF2FInterviewRescheduleRequestDto = class {
|
|
8780
8795
|
};
|
|
8781
8796
|
__decorateClass([
|
|
8782
|
-
(0,
|
|
8783
|
-
(0,
|
|
8797
|
+
(0, import_class_validator99.IsOptional)(),
|
|
8798
|
+
(0, import_class_validator99.IsString)()
|
|
8784
8799
|
], RejectF2FInterviewRescheduleRequestDto.prototype, "reason", 2);
|
|
8785
8800
|
|
|
8786
8801
|
// src/modules/interview/dto/capture-ai-interview-result-public.dto.ts
|
|
8787
|
-
var
|
|
8802
|
+
var import_class_validator100 = require("class-validator");
|
|
8788
8803
|
var CaptureAiInterviewResultPublicDto = class {
|
|
8789
8804
|
};
|
|
8790
8805
|
__decorateClass([
|
|
8791
|
-
(0,
|
|
8792
|
-
(0,
|
|
8806
|
+
(0, import_class_validator100.IsNotEmpty)({ message: "AI Interview UUID is required" }),
|
|
8807
|
+
(0, import_class_validator100.IsString)({ message: "AI Interview UUID must be a string" })
|
|
8793
8808
|
], CaptureAiInterviewResultPublicDto.prototype, "aiInterviewUuid", 2);
|
|
8794
8809
|
__decorateClass([
|
|
8795
|
-
(0,
|
|
8796
|
-
(0,
|
|
8810
|
+
(0, import_class_validator100.IsOptional)(),
|
|
8811
|
+
(0, import_class_validator100.IsObject)()
|
|
8797
8812
|
], CaptureAiInterviewResultPublicDto.prototype, "result", 2);
|
|
8798
8813
|
__decorateClass([
|
|
8799
|
-
(0,
|
|
8800
|
-
(0,
|
|
8814
|
+
(0, import_class_validator100.IsOptional)(),
|
|
8815
|
+
(0, import_class_validator100.IsString)()
|
|
8801
8816
|
], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
|
|
8802
8817
|
|
|
8803
8818
|
// src/modules/interview/dto/create-interview-basic-information.dto.ts
|
|
8804
|
-
var
|
|
8819
|
+
var import_class_validator101 = require("class-validator");
|
|
8805
8820
|
var CreateInterviewBasicInformationDto = class {
|
|
8806
8821
|
};
|
|
8807
8822
|
__decorateClass([
|
|
8808
|
-
(0,
|
|
8809
|
-
(0,
|
|
8823
|
+
(0, import_class_validator101.IsNotEmpty)({ message: "Job ID is required" }),
|
|
8824
|
+
(0, import_class_validator101.IsNumber)({}, { message: "Job ID must be a number" })
|
|
8810
8825
|
], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
|
|
8811
8826
|
__decorateClass([
|
|
8812
|
-
(0,
|
|
8813
|
-
(0,
|
|
8827
|
+
(0, import_class_validator101.IsNotEmpty)({ message: "Interview name is required" }),
|
|
8828
|
+
(0, import_class_validator101.IsString)({ message: "Interview name must be a string" })
|
|
8814
8829
|
], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
|
|
8815
8830
|
|
|
8816
8831
|
// src/modules/interview/dto/update-interview-basic-information.dto.ts
|
|
8817
|
-
var
|
|
8832
|
+
var import_class_validator102 = require("class-validator");
|
|
8818
8833
|
var UpdateInterviewBasicInformationDto = class {
|
|
8819
8834
|
};
|
|
8820
8835
|
__decorateClass([
|
|
8821
|
-
(0,
|
|
8822
|
-
(0,
|
|
8836
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8837
|
+
(0, import_class_validator102.IsString)()
|
|
8823
8838
|
], UpdateInterviewBasicInformationDto.prototype, "title", 2);
|
|
8824
8839
|
__decorateClass([
|
|
8825
|
-
(0,
|
|
8826
|
-
(0,
|
|
8840
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8841
|
+
(0, import_class_validator102.IsString)()
|
|
8827
8842
|
], UpdateInterviewBasicInformationDto.prototype, "description", 2);
|
|
8828
8843
|
__decorateClass([
|
|
8829
|
-
(0,
|
|
8830
|
-
(0,
|
|
8844
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8845
|
+
(0, import_class_validator102.IsDateString)()
|
|
8831
8846
|
], UpdateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
|
|
8832
8847
|
__decorateClass([
|
|
8833
|
-
(0,
|
|
8834
|
-
(0,
|
|
8848
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8849
|
+
(0, import_class_validator102.IsNumber)({}, { message: "Duration must be a number" })
|
|
8835
8850
|
], UpdateInterviewBasicInformationDto.prototype, "duration", 2);
|
|
8836
8851
|
__decorateClass([
|
|
8837
|
-
(0,
|
|
8838
|
-
(0,
|
|
8839
|
-
(0,
|
|
8852
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8853
|
+
(0, import_class_validator102.IsArray)(),
|
|
8854
|
+
(0, import_class_validator102.IsNumber)({}, { each: true, message: "Each skill ID must be a number" })
|
|
8840
8855
|
], UpdateInterviewBasicInformationDto.prototype, "skillIds", 2);
|
|
8841
8856
|
__decorateClass([
|
|
8842
|
-
(0,
|
|
8843
|
-
(0,
|
|
8857
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8858
|
+
(0, import_class_validator102.IsString)()
|
|
8844
8859
|
], UpdateInterviewBasicInformationDto.prototype, "location", 2);
|
|
8845
8860
|
|
|
8846
8861
|
// src/modules/contract/pattern/pattern.ts
|
|
@@ -8878,99 +8893,99 @@ var CONTRACT_PATTERN = {
|
|
|
8878
8893
|
};
|
|
8879
8894
|
|
|
8880
8895
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
8881
|
-
var
|
|
8896
|
+
var import_class_validator103 = require("class-validator");
|
|
8882
8897
|
var import_class_transformer16 = require("class-transformer");
|
|
8883
8898
|
var SignContractForClientDto = class {
|
|
8884
8899
|
};
|
|
8885
8900
|
__decorateClass([
|
|
8886
|
-
(0,
|
|
8901
|
+
(0, import_class_validator103.IsNotEmpty)({ message: "Job Id is required." }),
|
|
8887
8902
|
(0, import_class_transformer16.Type)(() => Number),
|
|
8888
|
-
(0,
|
|
8903
|
+
(0, import_class_validator103.IsNumber)({}, { message: "Job ID must be a number." })
|
|
8889
8904
|
], SignContractForClientDto.prototype, "jobId", 2);
|
|
8890
8905
|
__decorateClass([
|
|
8891
|
-
(0,
|
|
8906
|
+
(0, import_class_validator103.IsNotEmpty)({ message: "Freelancer ID is required." }),
|
|
8892
8907
|
(0, import_class_transformer16.Type)(() => Number),
|
|
8893
|
-
(0,
|
|
8908
|
+
(0, import_class_validator103.IsNumber)({}, { message: "Freelancer ID must be a number." })
|
|
8894
8909
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
8895
8910
|
__decorateClass([
|
|
8896
|
-
(0,
|
|
8897
|
-
(0,
|
|
8911
|
+
(0, import_class_validator103.IsNotEmpty)({ message: "Contract type is required." }),
|
|
8912
|
+
(0, import_class_validator103.IsEnum)(ContractTypeEnum)
|
|
8898
8913
|
], SignContractForClientDto.prototype, "contractType", 2);
|
|
8899
8914
|
|
|
8900
8915
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
8901
|
-
var
|
|
8916
|
+
var import_class_validator104 = require("class-validator");
|
|
8902
8917
|
var import_class_transformer17 = require("class-transformer");
|
|
8903
8918
|
var SignContractForFreelancerDto = class {
|
|
8904
8919
|
};
|
|
8905
8920
|
__decorateClass([
|
|
8906
|
-
(0,
|
|
8921
|
+
(0, import_class_validator104.IsNotEmpty)({ message: "Job Id is required." }),
|
|
8907
8922
|
(0, import_class_transformer17.Type)(() => Number),
|
|
8908
|
-
(0,
|
|
8923
|
+
(0, import_class_validator104.IsNumber)({}, { message: "Job ID must be a number." })
|
|
8909
8924
|
], SignContractForFreelancerDto.prototype, "jobId", 2);
|
|
8910
8925
|
__decorateClass([
|
|
8911
|
-
(0,
|
|
8926
|
+
(0, import_class_validator104.IsNotEmpty)({ message: "Client ID is required." }),
|
|
8912
8927
|
(0, import_class_transformer17.Type)(() => Number),
|
|
8913
|
-
(0,
|
|
8928
|
+
(0, import_class_validator104.IsNumber)({}, { message: "Client ID must be a number." })
|
|
8914
8929
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
8915
8930
|
__decorateClass([
|
|
8916
|
-
(0,
|
|
8917
|
-
(0,
|
|
8931
|
+
(0, import_class_validator104.IsNotEmpty)({ message: "Contract type is required." }),
|
|
8932
|
+
(0, import_class_validator104.IsEnum)(ContractTypeEnum)
|
|
8918
8933
|
], SignContractForFreelancerDto.prototype, "contractType", 2);
|
|
8919
8934
|
|
|
8920
8935
|
// src/modules/contract/dto/generate-contract.dto.ts
|
|
8921
|
-
var
|
|
8936
|
+
var import_class_validator105 = require("class-validator");
|
|
8922
8937
|
var GenerateContractDto = class {
|
|
8923
8938
|
};
|
|
8924
8939
|
__decorateClass([
|
|
8925
|
-
(0,
|
|
8926
|
-
(0,
|
|
8940
|
+
(0, import_class_validator105.IsNotEmpty)({ message: "Hiring ID is required" }),
|
|
8941
|
+
(0, import_class_validator105.IsNumber)({}, { message: "Hiring ID must be a number" })
|
|
8927
8942
|
], GenerateContractDto.prototype, "hiringId", 2);
|
|
8928
8943
|
__decorateClass([
|
|
8929
|
-
(0,
|
|
8930
|
-
(0,
|
|
8944
|
+
(0, import_class_validator105.IsOptional)(),
|
|
8945
|
+
(0, import_class_validator105.IsString)()
|
|
8931
8946
|
], GenerateContractDto.prototype, "contractType", 2);
|
|
8932
8947
|
__decorateClass([
|
|
8933
|
-
(0,
|
|
8934
|
-
(0,
|
|
8948
|
+
(0, import_class_validator105.IsOptional)(),
|
|
8949
|
+
(0, import_class_validator105.IsString)()
|
|
8935
8950
|
], GenerateContractDto.prototype, "templateId", 2);
|
|
8936
8951
|
|
|
8937
8952
|
// src/modules/contract/dto/esign-contract-client.dto.ts
|
|
8938
|
-
var
|
|
8953
|
+
var import_class_validator106 = require("class-validator");
|
|
8939
8954
|
var EsignContractClientDto = class {
|
|
8940
8955
|
};
|
|
8941
8956
|
__decorateClass([
|
|
8942
|
-
(0,
|
|
8943
|
-
(0,
|
|
8957
|
+
(0, import_class_validator106.IsNotEmpty)({ message: "Contract UUID is required" }),
|
|
8958
|
+
(0, import_class_validator106.IsString)({ message: "Contract UUID must be a string" })
|
|
8944
8959
|
], EsignContractClientDto.prototype, "contractUuid", 2);
|
|
8945
8960
|
|
|
8946
8961
|
// src/modules/contract/dto/esign-contract-freelancer.dto.ts
|
|
8947
|
-
var
|
|
8962
|
+
var import_class_validator107 = require("class-validator");
|
|
8948
8963
|
var EsignContractFreelancerDto = class {
|
|
8949
8964
|
};
|
|
8950
8965
|
__decorateClass([
|
|
8951
|
-
(0,
|
|
8952
|
-
(0,
|
|
8966
|
+
(0, import_class_validator107.IsNotEmpty)({ message: "Contract UUID is required" }),
|
|
8967
|
+
(0, import_class_validator107.IsString)({ message: "Contract UUID must be a string" })
|
|
8953
8968
|
], EsignContractFreelancerDto.prototype, "contractUuid", 2);
|
|
8954
8969
|
|
|
8955
8970
|
// src/modules/contract/dto/escrow-fund-contract.dto.ts
|
|
8956
|
-
var
|
|
8971
|
+
var import_class_validator108 = require("class-validator");
|
|
8957
8972
|
var EscrowFundContractDto = class {
|
|
8958
8973
|
};
|
|
8959
8974
|
__decorateClass([
|
|
8960
|
-
(0,
|
|
8961
|
-
(0,
|
|
8975
|
+
(0, import_class_validator108.IsNotEmpty)({ message: "Contract ID is required" }),
|
|
8976
|
+
(0, import_class_validator108.IsNumber)({}, { message: "Contract ID must be a number" })
|
|
8962
8977
|
], EscrowFundContractDto.prototype, "contractId", 2);
|
|
8963
8978
|
__decorateClass([
|
|
8964
|
-
(0,
|
|
8965
|
-
(0,
|
|
8979
|
+
(0, import_class_validator108.IsNotEmpty)({ message: "Amount is required" }),
|
|
8980
|
+
(0, import_class_validator108.IsNumber)({}, { message: "Amount must be a number" })
|
|
8966
8981
|
], EscrowFundContractDto.prototype, "amount", 2);
|
|
8967
8982
|
__decorateClass([
|
|
8968
|
-
(0,
|
|
8969
|
-
(0,
|
|
8983
|
+
(0, import_class_validator108.IsOptional)(),
|
|
8984
|
+
(0, import_class_validator108.IsString)()
|
|
8970
8985
|
], EscrowFundContractDto.prototype, "currency", 2);
|
|
8971
8986
|
__decorateClass([
|
|
8972
|
-
(0,
|
|
8973
|
-
(0,
|
|
8987
|
+
(0, import_class_validator108.IsOptional)(),
|
|
8988
|
+
(0, import_class_validator108.IsString)()
|
|
8974
8989
|
], EscrowFundContractDto.prototype, "description", 2);
|
|
8975
8990
|
|
|
8976
8991
|
// src/modules/stripe/pattern/pattern.ts
|
|
@@ -8994,83 +9009,83 @@ var STRIPE_PATTERN = {
|
|
|
8994
9009
|
};
|
|
8995
9010
|
|
|
8996
9011
|
// src/modules/stripe/dto/create-checkout-session.dto.ts
|
|
8997
|
-
var
|
|
9012
|
+
var import_class_validator109 = require("class-validator");
|
|
8998
9013
|
var CreateCheckoutSessionDto = class {
|
|
8999
9014
|
};
|
|
9000
9015
|
__decorateClass([
|
|
9001
|
-
(0,
|
|
9016
|
+
(0, import_class_validator109.IsNotEmpty)({ message: "Amount is required" })
|
|
9002
9017
|
], CreateCheckoutSessionDto.prototype, "amount", 2);
|
|
9003
9018
|
|
|
9004
9019
|
// src/modules/stripe/dto/pre-checkout-calculation.dto.ts
|
|
9005
|
-
var
|
|
9020
|
+
var import_class_validator110 = require("class-validator");
|
|
9006
9021
|
var PreCheckoutCalculationDto = class {
|
|
9007
9022
|
};
|
|
9008
9023
|
__decorateClass([
|
|
9009
|
-
(0,
|
|
9010
|
-
(0,
|
|
9024
|
+
(0, import_class_validator110.IsNotEmpty)({ message: "Amount is required" }),
|
|
9025
|
+
(0, import_class_validator110.IsNumber)({}, { message: "Amount must be a number" })
|
|
9011
9026
|
], PreCheckoutCalculationDto.prototype, "amount", 2);
|
|
9012
9027
|
__decorateClass([
|
|
9013
|
-
(0,
|
|
9014
|
-
(0,
|
|
9028
|
+
(0, import_class_validator110.IsOptional)(),
|
|
9029
|
+
(0, import_class_validator110.IsString)()
|
|
9015
9030
|
], PreCheckoutCalculationDto.prototype, "currency", 2);
|
|
9016
9031
|
__decorateClass([
|
|
9017
|
-
(0,
|
|
9018
|
-
(0,
|
|
9032
|
+
(0, import_class_validator110.IsOptional)(),
|
|
9033
|
+
(0, import_class_validator110.IsString)()
|
|
9019
9034
|
], PreCheckoutCalculationDto.prototype, "description", 2);
|
|
9020
9035
|
|
|
9021
9036
|
// src/modules/stripe/dto/client-add-fund.dto.ts
|
|
9022
|
-
var
|
|
9037
|
+
var import_class_validator111 = require("class-validator");
|
|
9023
9038
|
var ClientAddFundDto = class {
|
|
9024
9039
|
};
|
|
9025
9040
|
__decorateClass([
|
|
9026
|
-
(0,
|
|
9027
|
-
(0,
|
|
9041
|
+
(0, import_class_validator111.IsNotEmpty)({ message: "Amount is required" }),
|
|
9042
|
+
(0, import_class_validator111.IsNumber)({}, { message: "Amount must be a number" })
|
|
9028
9043
|
], ClientAddFundDto.prototype, "amount", 2);
|
|
9029
9044
|
__decorateClass([
|
|
9030
|
-
(0,
|
|
9031
|
-
(0,
|
|
9045
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9046
|
+
(0, import_class_validator111.IsString)()
|
|
9032
9047
|
], ClientAddFundDto.prototype, "currency", 2);
|
|
9033
9048
|
__decorateClass([
|
|
9034
|
-
(0,
|
|
9035
|
-
(0,
|
|
9049
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9050
|
+
(0, import_class_validator111.IsString)()
|
|
9036
9051
|
], ClientAddFundDto.prototype, "description", 2);
|
|
9037
9052
|
|
|
9038
9053
|
// src/modules/stripe/dto/transfer-funds.dto.ts
|
|
9039
|
-
var
|
|
9054
|
+
var import_class_validator112 = require("class-validator");
|
|
9040
9055
|
var TransferFundsDto = class {
|
|
9041
9056
|
};
|
|
9042
9057
|
__decorateClass([
|
|
9043
|
-
(0,
|
|
9044
|
-
(0,
|
|
9058
|
+
(0, import_class_validator112.IsNotEmpty)({ message: "Amount is required" }),
|
|
9059
|
+
(0, import_class_validator112.IsNumber)({}, { message: "Amount must be a number" })
|
|
9045
9060
|
], TransferFundsDto.prototype, "amount", 2);
|
|
9046
9061
|
__decorateClass([
|
|
9047
|
-
(0,
|
|
9048
|
-
(0,
|
|
9062
|
+
(0, import_class_validator112.IsNotEmpty)({ message: "Connected account ID is required" }),
|
|
9063
|
+
(0, import_class_validator112.IsString)({ message: "Connected account ID must be a string" })
|
|
9049
9064
|
], TransferFundsDto.prototype, "connectedAccountId", 2);
|
|
9050
9065
|
__decorateClass([
|
|
9051
|
-
(0,
|
|
9052
|
-
(0,
|
|
9066
|
+
(0, import_class_validator112.IsOptional)(),
|
|
9067
|
+
(0, import_class_validator112.IsString)()
|
|
9053
9068
|
], TransferFundsDto.prototype, "description", 2);
|
|
9054
9069
|
|
|
9055
9070
|
// src/modules/stripe/dto/create-payout.dto.ts
|
|
9056
|
-
var
|
|
9071
|
+
var import_class_validator113 = require("class-validator");
|
|
9057
9072
|
var CreatePayoutDto = class {
|
|
9058
9073
|
};
|
|
9059
9074
|
__decorateClass([
|
|
9060
|
-
(0,
|
|
9061
|
-
(0,
|
|
9075
|
+
(0, import_class_validator113.IsNotEmpty)({ message: "Amount is required" }),
|
|
9076
|
+
(0, import_class_validator113.IsNumber)({}, { message: "Amount must be a number" })
|
|
9062
9077
|
], CreatePayoutDto.prototype, "amount", 2);
|
|
9063
9078
|
__decorateClass([
|
|
9064
|
-
(0,
|
|
9065
|
-
(0,
|
|
9079
|
+
(0, import_class_validator113.IsNotEmpty)({ message: "Connected account ID is required" }),
|
|
9080
|
+
(0, import_class_validator113.IsString)({ message: "Connected account ID must be a string" })
|
|
9066
9081
|
], CreatePayoutDto.prototype, "connectedAccountId", 2);
|
|
9067
9082
|
__decorateClass([
|
|
9068
|
-
(0,
|
|
9069
|
-
(0,
|
|
9083
|
+
(0, import_class_validator113.IsOptional)(),
|
|
9084
|
+
(0, import_class_validator113.IsString)()
|
|
9070
9085
|
], CreatePayoutDto.prototype, "method", 2);
|
|
9071
9086
|
__decorateClass([
|
|
9072
|
-
(0,
|
|
9073
|
-
(0,
|
|
9087
|
+
(0, import_class_validator113.IsOptional)(),
|
|
9088
|
+
(0, import_class_validator113.IsString)()
|
|
9074
9089
|
], CreatePayoutDto.prototype, "description", 2);
|
|
9075
9090
|
|
|
9076
9091
|
// src/modules/timesheet/pattern/pattern.ts
|
|
@@ -9114,158 +9129,158 @@ var TIMESHEET_CLIENT_PATTERN = {
|
|
|
9114
9129
|
};
|
|
9115
9130
|
|
|
9116
9131
|
// src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
|
|
9117
|
-
var
|
|
9132
|
+
var import_class_validator114 = require("class-validator");
|
|
9118
9133
|
var CreateFreelancerTimesheetDto = class {
|
|
9119
9134
|
};
|
|
9120
9135
|
__decorateClass([
|
|
9121
|
-
(0,
|
|
9122
|
-
(0,
|
|
9136
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "Job id is required" }),
|
|
9137
|
+
(0, import_class_validator114.IsNumber)({}, { message: "Job id must be a number" })
|
|
9123
9138
|
], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
9124
9139
|
__decorateClass([
|
|
9125
|
-
(0,
|
|
9126
|
-
(0,
|
|
9140
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "start date is required" }),
|
|
9141
|
+
(0, import_class_validator114.IsDateString)()
|
|
9127
9142
|
], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
9128
9143
|
__decorateClass([
|
|
9129
|
-
(0,
|
|
9130
|
-
(0,
|
|
9144
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "end date is required" }),
|
|
9145
|
+
(0, import_class_validator114.IsDateString)()
|
|
9131
9146
|
], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
9132
9147
|
__decorateClass([
|
|
9133
|
-
(0,
|
|
9134
|
-
(0,
|
|
9148
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "start time is required" }),
|
|
9149
|
+
(0, import_class_validator114.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
9135
9150
|
message: "startTime must be in HH:mm:ss format"
|
|
9136
9151
|
})
|
|
9137
9152
|
], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
9138
9153
|
__decorateClass([
|
|
9139
|
-
(0,
|
|
9140
|
-
(0,
|
|
9154
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "end time is required" }),
|
|
9155
|
+
(0, import_class_validator114.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
9141
9156
|
message: "endTime must be in HH:mm:ss format"
|
|
9142
9157
|
})
|
|
9143
9158
|
], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9144
9159
|
__decorateClass([
|
|
9145
|
-
(0,
|
|
9146
|
-
(0,
|
|
9160
|
+
(0, import_class_validator114.IsOptional)(),
|
|
9161
|
+
(0, import_class_validator114.IsInt)()
|
|
9147
9162
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9148
9163
|
__decorateClass([
|
|
9149
|
-
(0,
|
|
9150
|
-
(0,
|
|
9164
|
+
(0, import_class_validator114.IsOptional)(),
|
|
9165
|
+
(0, import_class_validator114.IsString)()
|
|
9151
9166
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9152
9167
|
__decorateClass([
|
|
9153
|
-
(0,
|
|
9154
|
-
(0,
|
|
9168
|
+
(0, import_class_validator114.IsOptional)(),
|
|
9169
|
+
(0, import_class_validator114.IsString)()
|
|
9155
9170
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9156
9171
|
__decorateClass([
|
|
9157
|
-
(0,
|
|
9158
|
-
(0,
|
|
9172
|
+
(0, import_class_validator114.IsOptional)(),
|
|
9173
|
+
(0, import_class_validator114.IsString)()
|
|
9159
9174
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9160
9175
|
__decorateClass([
|
|
9161
|
-
(0,
|
|
9176
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "Description is required" })
|
|
9162
9177
|
], CreateFreelancerTimesheetDto.prototype, "description", 2);
|
|
9163
9178
|
|
|
9164
9179
|
// src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
|
|
9165
|
-
var
|
|
9180
|
+
var import_class_validator115 = require("class-validator");
|
|
9166
9181
|
var UpdateFreelancerTimesheetDto = class {
|
|
9167
9182
|
};
|
|
9168
9183
|
__decorateClass([
|
|
9169
|
-
(0,
|
|
9170
|
-
(0,
|
|
9184
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "Job id is required" }),
|
|
9185
|
+
(0, import_class_validator115.IsNumber)({}, { message: "Job id must be a number" })
|
|
9171
9186
|
], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
9172
9187
|
__decorateClass([
|
|
9173
|
-
(0,
|
|
9174
|
-
(0,
|
|
9188
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "start date is required" }),
|
|
9189
|
+
(0, import_class_validator115.IsDateString)()
|
|
9175
9190
|
], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
9176
9191
|
__decorateClass([
|
|
9177
|
-
(0,
|
|
9178
|
-
(0,
|
|
9192
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "end date is required" }),
|
|
9193
|
+
(0, import_class_validator115.IsDateString)()
|
|
9179
9194
|
], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
9180
9195
|
__decorateClass([
|
|
9181
|
-
(0,
|
|
9182
|
-
(0,
|
|
9196
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "start time is required" }),
|
|
9197
|
+
(0, import_class_validator115.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
9183
9198
|
message: "startTime must be in HH:mm:ss format"
|
|
9184
9199
|
})
|
|
9185
9200
|
], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
9186
9201
|
__decorateClass([
|
|
9187
|
-
(0,
|
|
9188
|
-
(0,
|
|
9202
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "end time is required" }),
|
|
9203
|
+
(0, import_class_validator115.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
9189
9204
|
message: "endTime must be in HH:mm:ss format"
|
|
9190
9205
|
})
|
|
9191
9206
|
], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9192
9207
|
__decorateClass([
|
|
9193
|
-
(0,
|
|
9194
|
-
(0,
|
|
9208
|
+
(0, import_class_validator115.IsOptional)(),
|
|
9209
|
+
(0, import_class_validator115.IsInt)()
|
|
9195
9210
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9196
9211
|
__decorateClass([
|
|
9197
|
-
(0,
|
|
9198
|
-
(0,
|
|
9212
|
+
(0, import_class_validator115.IsOptional)(),
|
|
9213
|
+
(0, import_class_validator115.IsString)()
|
|
9199
9214
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9200
9215
|
__decorateClass([
|
|
9201
|
-
(0,
|
|
9202
|
-
(0,
|
|
9216
|
+
(0, import_class_validator115.IsOptional)(),
|
|
9217
|
+
(0, import_class_validator115.IsString)()
|
|
9203
9218
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9204
9219
|
__decorateClass([
|
|
9205
|
-
(0,
|
|
9206
|
-
(0,
|
|
9220
|
+
(0, import_class_validator115.IsOptional)(),
|
|
9221
|
+
(0, import_class_validator115.IsString)()
|
|
9207
9222
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9208
9223
|
__decorateClass([
|
|
9209
|
-
(0,
|
|
9224
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "Description is required" })
|
|
9210
9225
|
], UpdateFreelancerTimesheetDto.prototype, "description", 2);
|
|
9211
9226
|
|
|
9212
9227
|
// src/modules/timesheet/dto/submit-timesheet.dto.ts
|
|
9213
|
-
var
|
|
9228
|
+
var import_class_validator116 = require("class-validator");
|
|
9214
9229
|
var SubmitTimesheetDto = class {
|
|
9215
9230
|
};
|
|
9216
9231
|
__decorateClass([
|
|
9217
|
-
(0,
|
|
9218
|
-
(0,
|
|
9232
|
+
(0, import_class_validator116.IsNotEmpty)({ message: "Timesheet line ID is required" }),
|
|
9233
|
+
(0, import_class_validator116.IsNumber)({}, { message: "Timesheet line ID must be a number" })
|
|
9219
9234
|
], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
9220
9235
|
|
|
9221
9236
|
// src/modules/timesheet/dto/resubmit-timesheet.dto.ts
|
|
9222
|
-
var
|
|
9237
|
+
var import_class_validator117 = require("class-validator");
|
|
9223
9238
|
var ResubmitTimesheetDto = class {
|
|
9224
9239
|
};
|
|
9225
9240
|
__decorateClass([
|
|
9226
|
-
(0,
|
|
9227
|
-
(0,
|
|
9241
|
+
(0, import_class_validator117.IsNotEmpty)({ message: "Timesheet line ID is required" }),
|
|
9242
|
+
(0, import_class_validator117.IsNumber)({}, { message: "Timesheet line ID must be a number" })
|
|
9228
9243
|
], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
9229
9244
|
|
|
9230
9245
|
// src/modules/timesheet/dto/approve-timesheets.dto.ts
|
|
9231
|
-
var
|
|
9246
|
+
var import_class_validator118 = require("class-validator");
|
|
9232
9247
|
var ApproveTimesheetsDto = class {
|
|
9233
9248
|
};
|
|
9234
9249
|
__decorateClass([
|
|
9235
|
-
(0,
|
|
9236
|
-
(0,
|
|
9237
|
-
(0,
|
|
9250
|
+
(0, import_class_validator118.IsArray)({ message: "Timesheet line IDs must be an array" }),
|
|
9251
|
+
(0, import_class_validator118.ArrayNotEmpty)({ message: "At least one timesheet line ID is required" }),
|
|
9252
|
+
(0, import_class_validator118.IsNumber)({}, { each: true, message: "Each timesheet line ID must be a number" })
|
|
9238
9253
|
], ApproveTimesheetsDto.prototype, "timesheetLineIds", 2);
|
|
9239
9254
|
|
|
9240
9255
|
// src/modules/timesheet/dto/send-back-timesheets.dto.ts
|
|
9241
|
-
var
|
|
9256
|
+
var import_class_validator119 = require("class-validator");
|
|
9242
9257
|
var SendBackTimesheetsDto = class {
|
|
9243
9258
|
};
|
|
9244
9259
|
__decorateClass([
|
|
9245
|
-
(0,
|
|
9246
|
-
(0,
|
|
9247
|
-
(0,
|
|
9260
|
+
(0, import_class_validator119.IsArray)({ message: "Timesheet line IDs must be an array" }),
|
|
9261
|
+
(0, import_class_validator119.ArrayNotEmpty)({ message: "At least one timesheet line ID is required" }),
|
|
9262
|
+
(0, import_class_validator119.IsNumber)({}, { each: true, message: "Each timesheet line ID must be a number" })
|
|
9248
9263
|
], SendBackTimesheetsDto.prototype, "timesheetLineIds", 2);
|
|
9249
9264
|
__decorateClass([
|
|
9250
|
-
(0,
|
|
9251
|
-
(0,
|
|
9265
|
+
(0, import_class_validator119.IsOptional)(),
|
|
9266
|
+
(0, import_class_validator119.IsString)()
|
|
9252
9267
|
], SendBackTimesheetsDto.prototype, "reason", 2);
|
|
9253
9268
|
|
|
9254
9269
|
// src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
|
|
9255
|
-
var
|
|
9270
|
+
var import_class_validator120 = require("class-validator");
|
|
9256
9271
|
var CreateDefaultTimesheetLineDto = class {
|
|
9257
9272
|
};
|
|
9258
9273
|
__decorateClass([
|
|
9259
|
-
(0,
|
|
9260
|
-
(0,
|
|
9274
|
+
(0, import_class_validator120.IsNotEmpty)({ message: "Contract ID is required" }),
|
|
9275
|
+
(0, import_class_validator120.IsNumber)({}, { message: "Contract ID must be a number" })
|
|
9261
9276
|
], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
|
|
9262
9277
|
__decorateClass([
|
|
9263
|
-
(0,
|
|
9264
|
-
(0,
|
|
9278
|
+
(0, import_class_validator120.IsNotEmpty)({ message: "Freelancer ID is required" }),
|
|
9279
|
+
(0, import_class_validator120.IsNumber)({}, { message: "Freelancer ID must be a number" })
|
|
9265
9280
|
], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
|
|
9266
9281
|
__decorateClass([
|
|
9267
|
-
(0,
|
|
9268
|
-
(0,
|
|
9282
|
+
(0, import_class_validator120.IsNotEmpty)({ message: "Client ID is required" }),
|
|
9283
|
+
(0, import_class_validator120.IsNumber)({}, { message: "Client ID must be a number" })
|
|
9269
9284
|
], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
|
|
9270
9285
|
|
|
9271
9286
|
// src/modules/invoice/pattern/pattern.ts
|
|
@@ -9287,23 +9302,23 @@ var INVOICE_PATTERN = {
|
|
|
9287
9302
|
};
|
|
9288
9303
|
|
|
9289
9304
|
// src/modules/invoice/dto/update-invoice-status.dto.ts
|
|
9290
|
-
var
|
|
9305
|
+
var import_class_validator121 = require("class-validator");
|
|
9291
9306
|
var UpdateInvoiceStatusDto = class {
|
|
9292
9307
|
};
|
|
9293
9308
|
__decorateClass([
|
|
9294
|
-
(0,
|
|
9295
|
-
(0,
|
|
9309
|
+
(0, import_class_validator121.IsNotEmpty)({ message: "Please provide invoice status." }),
|
|
9310
|
+
(0, import_class_validator121.IsEnum)(InvoiceStatusEnum, {
|
|
9296
9311
|
message: "Status must be one of: APPROVED, REJECTED"
|
|
9297
9312
|
})
|
|
9298
9313
|
], UpdateInvoiceStatusDto.prototype, "status", 2);
|
|
9299
9314
|
|
|
9300
9315
|
// src/modules/invoice/dto/create-invoice.dto.ts
|
|
9301
|
-
var
|
|
9316
|
+
var import_class_validator122 = require("class-validator");
|
|
9302
9317
|
var CreateInvoiceDto = class {
|
|
9303
9318
|
};
|
|
9304
9319
|
__decorateClass([
|
|
9305
|
-
(0,
|
|
9306
|
-
(0,
|
|
9320
|
+
(0, import_class_validator122.IsNotEmpty)({ message: "Timesheet line ID is required" }),
|
|
9321
|
+
(0, import_class_validator122.IsNumber)({}, { message: "Timesheet line ID must be a number" })
|
|
9307
9322
|
], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
|
|
9308
9323
|
|
|
9309
9324
|
// src/modules/dispute/pattern/pattern.ts
|
|
@@ -9314,42 +9329,42 @@ var DISPUTE_PATTERN = {
|
|
|
9314
9329
|
};
|
|
9315
9330
|
|
|
9316
9331
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
9317
|
-
var
|
|
9332
|
+
var import_class_validator123 = require("class-validator");
|
|
9318
9333
|
var import_class_transformer18 = require("class-transformer");
|
|
9319
9334
|
var CreateDisputeDto = class {
|
|
9320
9335
|
};
|
|
9321
9336
|
__decorateClass([
|
|
9322
|
-
(0,
|
|
9323
|
-
(0,
|
|
9337
|
+
(0, import_class_validator123.ValidateIf)((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
|
|
9338
|
+
(0, import_class_validator123.IsNumber)({}, { message: "Client id must be a number" }),
|
|
9324
9339
|
(0, import_class_transformer18.Type)(() => Number)
|
|
9325
9340
|
], CreateDisputeDto.prototype, "clientId", 2);
|
|
9326
9341
|
__decorateClass([
|
|
9327
|
-
(0,
|
|
9328
|
-
(0,
|
|
9342
|
+
(0, import_class_validator123.ValidateIf)((o) => o.initiatorType === "CLIENT" /* CLIENT */),
|
|
9343
|
+
(0, import_class_validator123.IsNumber)({}, { message: "Freelancer id must be a number" }),
|
|
9329
9344
|
(0, import_class_transformer18.Type)(() => Number)
|
|
9330
9345
|
], CreateDisputeDto.prototype, "freelancerId", 2);
|
|
9331
9346
|
__decorateClass([
|
|
9332
|
-
(0,
|
|
9333
|
-
(0,
|
|
9334
|
-
(0,
|
|
9347
|
+
(0, import_class_validator123.IsNotEmpty)({ message: "Please select dispute type." }),
|
|
9348
|
+
(0, import_class_validator123.IsString)(),
|
|
9349
|
+
(0, import_class_validator123.IsIn)(["JOB", "INVOICE"])
|
|
9335
9350
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
9336
9351
|
__decorateClass([
|
|
9337
|
-
(0,
|
|
9338
|
-
(0,
|
|
9352
|
+
(0, import_class_validator123.IsNotEmpty)({ message: "Please provide initiator type." }),
|
|
9353
|
+
(0, import_class_validator123.IsString)()
|
|
9339
9354
|
], CreateDisputeDto.prototype, "initiatorType", 2);
|
|
9340
9355
|
__decorateClass([
|
|
9341
|
-
(0,
|
|
9342
|
-
(0,
|
|
9343
|
-
(0,
|
|
9356
|
+
(0, import_class_validator123.IsNotEmpty)({ message: "Please enter description." }),
|
|
9357
|
+
(0, import_class_validator123.IsString)({ message: "Description must be a string" }),
|
|
9358
|
+
(0, import_class_validator123.MaxLength)(500, { message: "Description must not exceed 500 characters" })
|
|
9344
9359
|
], CreateDisputeDto.prototype, "description", 2);
|
|
9345
9360
|
__decorateClass([
|
|
9346
|
-
(0,
|
|
9347
|
-
(0,
|
|
9348
|
-
(0,
|
|
9361
|
+
(0, import_class_validator123.IsOptional)(),
|
|
9362
|
+
(0, import_class_validator123.IsString)({ message: "Comment must be a string" }),
|
|
9363
|
+
(0, import_class_validator123.MaxLength)(500, { message: "Comment must not exceed 500 characters" })
|
|
9349
9364
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
9350
9365
|
__decorateClass([
|
|
9351
|
-
(0,
|
|
9352
|
-
(0,
|
|
9366
|
+
(0, import_class_validator123.IsOptional)(),
|
|
9367
|
+
(0, import_class_validator123.IsObject)({ message: "Dynamic fields must be a valid object" }),
|
|
9353
9368
|
(0, import_class_transformer18.Transform)(({ value }) => {
|
|
9354
9369
|
if (typeof value === "string") {
|
|
9355
9370
|
try {
|
|
@@ -9370,125 +9385,125 @@ var SENSELOAF_PATTERN = {
|
|
|
9370
9385
|
};
|
|
9371
9386
|
|
|
9372
9387
|
// src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
|
|
9373
|
-
var
|
|
9388
|
+
var import_class_validator124 = require("class-validator");
|
|
9374
9389
|
var AiInterviewQuestionGenerateDto = class {
|
|
9375
9390
|
};
|
|
9376
9391
|
__decorateClass([
|
|
9377
|
-
(0,
|
|
9392
|
+
(0, import_class_validator124.IsNotEmpty)({ message: "Please enter job description." })
|
|
9378
9393
|
], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
|
|
9379
9394
|
__decorateClass([
|
|
9380
|
-
(0,
|
|
9395
|
+
(0, import_class_validator124.IsNotEmpty)({ message: "Please enter number of questions." })
|
|
9381
9396
|
], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
|
|
9382
9397
|
|
|
9383
9398
|
// src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
|
|
9384
|
-
var
|
|
9399
|
+
var import_class_validator125 = require("class-validator");
|
|
9385
9400
|
var ResumeParsingByUrlDto = class {
|
|
9386
9401
|
};
|
|
9387
9402
|
__decorateClass([
|
|
9388
|
-
(0,
|
|
9389
|
-
(0,
|
|
9403
|
+
(0, import_class_validator125.IsNotEmpty)({ message: "Resume URL is required" }),
|
|
9404
|
+
(0, import_class_validator125.IsString)({ message: "Resume URL must be a string" })
|
|
9390
9405
|
], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
|
|
9391
9406
|
__decorateClass([
|
|
9392
|
-
(0,
|
|
9393
|
-
(0,
|
|
9407
|
+
(0, import_class_validator125.IsOptional)(),
|
|
9408
|
+
(0, import_class_validator125.IsString)()
|
|
9394
9409
|
], ResumeParsingByUrlDto.prototype, "fileName", 2);
|
|
9395
9410
|
|
|
9396
9411
|
// src/modules/senseloaf/dto/resume-data-processing.dto.ts
|
|
9397
|
-
var
|
|
9412
|
+
var import_class_validator126 = require("class-validator");
|
|
9398
9413
|
var ResumeDataProcessingDto = class {
|
|
9399
9414
|
};
|
|
9400
9415
|
__decorateClass([
|
|
9401
|
-
(0,
|
|
9402
|
-
(0,
|
|
9416
|
+
(0, import_class_validator126.IsNotEmpty)({ message: "Resume data is required" }),
|
|
9417
|
+
(0, import_class_validator126.IsObject)()
|
|
9403
9418
|
], ResumeDataProcessingDto.prototype, "resumeData", 2);
|
|
9404
9419
|
__decorateClass([
|
|
9405
|
-
(0,
|
|
9406
|
-
(0,
|
|
9420
|
+
(0, import_class_validator126.IsOptional)(),
|
|
9421
|
+
(0, import_class_validator126.IsString)()
|
|
9407
9422
|
], ResumeDataProcessingDto.prototype, "userId", 2);
|
|
9408
9423
|
__decorateClass([
|
|
9409
|
-
(0,
|
|
9410
|
-
(0,
|
|
9424
|
+
(0, import_class_validator126.IsOptional)(),
|
|
9425
|
+
(0, import_class_validator126.IsString)()
|
|
9411
9426
|
], ResumeDataProcessingDto.prototype, "processingType", 2);
|
|
9412
9427
|
|
|
9413
9428
|
// src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
|
|
9414
|
-
var
|
|
9429
|
+
var import_class_validator127 = require("class-validator");
|
|
9415
9430
|
var CheckResumeEligibilityDto = class {
|
|
9416
9431
|
};
|
|
9417
9432
|
__decorateClass([
|
|
9418
|
-
(0,
|
|
9419
|
-
(0,
|
|
9433
|
+
(0, import_class_validator127.IsNotEmpty)({ message: "Resume data is required" }),
|
|
9434
|
+
(0, import_class_validator127.IsObject)()
|
|
9420
9435
|
], CheckResumeEligibilityDto.prototype, "resumeData", 2);
|
|
9421
9436
|
__decorateClass([
|
|
9422
|
-
(0,
|
|
9423
|
-
(0,
|
|
9437
|
+
(0, import_class_validator127.IsOptional)(),
|
|
9438
|
+
(0, import_class_validator127.IsString)()
|
|
9424
9439
|
], CheckResumeEligibilityDto.prototype, "jobId", 2);
|
|
9425
9440
|
__decorateClass([
|
|
9426
|
-
(0,
|
|
9427
|
-
(0,
|
|
9441
|
+
(0, import_class_validator127.IsOptional)(),
|
|
9442
|
+
(0, import_class_validator127.IsString)()
|
|
9428
9443
|
], CheckResumeEligibilityDto.prototype, "userId", 2);
|
|
9429
9444
|
|
|
9430
9445
|
// src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
|
|
9431
|
-
var
|
|
9446
|
+
var import_class_validator128 = require("class-validator");
|
|
9432
9447
|
var AiInterviewTemplateGenerationDto = class {
|
|
9433
9448
|
};
|
|
9434
9449
|
__decorateClass([
|
|
9435
|
-
(0,
|
|
9436
|
-
(0,
|
|
9450
|
+
(0, import_class_validator128.IsNotEmpty)({ message: "Job ID is required" }),
|
|
9451
|
+
(0, import_class_validator128.IsString)({ message: "Job ID must be a string" })
|
|
9437
9452
|
], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
|
|
9438
9453
|
__decorateClass([
|
|
9439
|
-
(0,
|
|
9440
|
-
(0,
|
|
9441
|
-
(0,
|
|
9454
|
+
(0, import_class_validator128.IsOptional)(),
|
|
9455
|
+
(0, import_class_validator128.IsArray)(),
|
|
9456
|
+
(0, import_class_validator128.IsString)({ each: true, message: "Each skill must be a string" })
|
|
9442
9457
|
], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
|
|
9443
9458
|
__decorateClass([
|
|
9444
|
-
(0,
|
|
9445
|
-
(0,
|
|
9459
|
+
(0, import_class_validator128.IsOptional)(),
|
|
9460
|
+
(0, import_class_validator128.IsNumber)({}, { message: "Number of questions must be a number" })
|
|
9446
9461
|
], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
|
|
9447
9462
|
__decorateClass([
|
|
9448
|
-
(0,
|
|
9449
|
-
(0,
|
|
9463
|
+
(0, import_class_validator128.IsOptional)(),
|
|
9464
|
+
(0, import_class_validator128.IsString)()
|
|
9450
9465
|
], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
|
|
9451
9466
|
|
|
9452
9467
|
// src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
|
|
9453
|
-
var
|
|
9468
|
+
var import_class_validator129 = require("class-validator");
|
|
9454
9469
|
var AiInterviewLinkGenerationDto = class {
|
|
9455
9470
|
};
|
|
9456
9471
|
__decorateClass([
|
|
9457
|
-
(0,
|
|
9458
|
-
(0,
|
|
9472
|
+
(0, import_class_validator129.IsNotEmpty)({ message: "Template ID is required" }),
|
|
9473
|
+
(0, import_class_validator129.IsString)({ message: "Template ID must be a string" })
|
|
9459
9474
|
], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
|
|
9460
9475
|
__decorateClass([
|
|
9461
|
-
(0,
|
|
9462
|
-
(0,
|
|
9476
|
+
(0, import_class_validator129.IsNotEmpty)({ message: "Freelancer ID is required" }),
|
|
9477
|
+
(0, import_class_validator129.IsString)({ message: "Freelancer ID must be a string" })
|
|
9463
9478
|
], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
|
|
9464
9479
|
__decorateClass([
|
|
9465
|
-
(0,
|
|
9466
|
-
(0,
|
|
9480
|
+
(0, import_class_validator129.IsOptional)(),
|
|
9481
|
+
(0, import_class_validator129.IsString)()
|
|
9467
9482
|
], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
|
|
9468
9483
|
__decorateClass([
|
|
9469
|
-
(0,
|
|
9470
|
-
(0,
|
|
9484
|
+
(0, import_class_validator129.IsOptional)(),
|
|
9485
|
+
(0, import_class_validator129.IsNumber)({}, { message: "Expiry hours must be a number" })
|
|
9471
9486
|
], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
|
|
9472
9487
|
|
|
9473
9488
|
// src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
|
|
9474
|
-
var
|
|
9489
|
+
var import_class_validator130 = require("class-validator");
|
|
9475
9490
|
var AiAssessmentCreationDto = class {
|
|
9476
9491
|
};
|
|
9477
9492
|
__decorateClass([
|
|
9478
|
-
(0,
|
|
9479
|
-
(0,
|
|
9493
|
+
(0, import_class_validator130.IsNotEmpty)({ message: "User ID is required" }),
|
|
9494
|
+
(0, import_class_validator130.IsString)({ message: "User ID must be a string" })
|
|
9480
9495
|
], AiAssessmentCreationDto.prototype, "userId", 2);
|
|
9481
9496
|
__decorateClass([
|
|
9482
|
-
(0,
|
|
9483
|
-
(0,
|
|
9497
|
+
(0, import_class_validator130.IsOptional)(),
|
|
9498
|
+
(0, import_class_validator130.IsString)()
|
|
9484
9499
|
], AiAssessmentCreationDto.prototype, "assessmentType", 2);
|
|
9485
9500
|
__decorateClass([
|
|
9486
|
-
(0,
|
|
9487
|
-
(0,
|
|
9501
|
+
(0, import_class_validator130.IsOptional)(),
|
|
9502
|
+
(0, import_class_validator130.IsNumber)({}, { message: "Number of questions must be a number" })
|
|
9488
9503
|
], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
|
|
9489
9504
|
__decorateClass([
|
|
9490
|
-
(0,
|
|
9491
|
-
(0,
|
|
9505
|
+
(0, import_class_validator130.IsOptional)(),
|
|
9506
|
+
(0, import_class_validator130.IsString)()
|
|
9492
9507
|
], AiAssessmentCreationDto.prototype, "difficulty", 2);
|
|
9493
9508
|
|
|
9494
9509
|
// src/modules/commission/pattern/pattern.ts
|
|
@@ -9504,16 +9519,16 @@ var HIRING_PATTERN = {
|
|
|
9504
9519
|
};
|
|
9505
9520
|
|
|
9506
9521
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
9507
|
-
var
|
|
9522
|
+
var import_class_validator131 = require("class-validator");
|
|
9508
9523
|
var CreateHiringDto = class {
|
|
9509
9524
|
};
|
|
9510
9525
|
__decorateClass([
|
|
9511
|
-
(0,
|
|
9512
|
-
(0,
|
|
9526
|
+
(0, import_class_validator131.IsNotEmpty)({ message: "Freelancer ID is required" }),
|
|
9527
|
+
(0, import_class_validator131.IsNumber)({}, { message: "Freelancer ID must be a number" })
|
|
9513
9528
|
], CreateHiringDto.prototype, "freelancerId", 2);
|
|
9514
9529
|
__decorateClass([
|
|
9515
|
-
(0,
|
|
9516
|
-
(0,
|
|
9530
|
+
(0, import_class_validator131.IsNotEmpty)({ message: "Job ID is required" }),
|
|
9531
|
+
(0, import_class_validator131.IsNumber)({}, { message: "Job ID must be a number" })
|
|
9517
9532
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
9518
9533
|
|
|
9519
9534
|
// src/modules/llm/pattern/pattern.ts
|
|
@@ -9534,16 +9549,16 @@ var SIGNATURE_PATTERN = {
|
|
|
9534
9549
|
};
|
|
9535
9550
|
|
|
9536
9551
|
// src/modules/user/signature/dto/save-signature.dto.ts
|
|
9537
|
-
var
|
|
9552
|
+
var import_class_validator132 = require("class-validator");
|
|
9538
9553
|
var SaveSignatureDto = class {
|
|
9539
9554
|
};
|
|
9540
9555
|
__decorateClass([
|
|
9541
|
-
(0,
|
|
9542
|
-
(0,
|
|
9556
|
+
(0, import_class_validator132.IsOptional)(),
|
|
9557
|
+
(0, import_class_validator132.IsString)()
|
|
9543
9558
|
], SaveSignatureDto.prototype, "signatureType", 2);
|
|
9544
9559
|
__decorateClass([
|
|
9545
|
-
(0,
|
|
9546
|
-
(0,
|
|
9560
|
+
(0, import_class_validator132.IsOptional)(),
|
|
9561
|
+
(0, import_class_validator132.IsString)()
|
|
9547
9562
|
], SaveSignatureDto.prototype, "description", 2);
|
|
9548
9563
|
|
|
9549
9564
|
// src/modules/wallet/pattern/pattern.ts
|
|
@@ -9561,25 +9576,25 @@ var WALLET_ADMIN_PATTERN = {
|
|
|
9561
9576
|
};
|
|
9562
9577
|
|
|
9563
9578
|
// src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
|
|
9564
|
-
var
|
|
9579
|
+
var import_class_validator133 = require("class-validator");
|
|
9565
9580
|
var AddTopupEscrowAmountDto = class {
|
|
9566
9581
|
};
|
|
9567
9582
|
__decorateClass([
|
|
9568
|
-
(0,
|
|
9569
|
-
(0,
|
|
9583
|
+
(0, import_class_validator133.IsNotEmpty)({ message: "Amount is required" }),
|
|
9584
|
+
(0, import_class_validator133.IsNumber)({}, { message: "Amount must be a number" })
|
|
9570
9585
|
], AddTopupEscrowAmountDto.prototype, "amount", 2);
|
|
9571
9586
|
|
|
9572
9587
|
// src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
|
|
9573
|
-
var
|
|
9588
|
+
var import_class_validator134 = require("class-validator");
|
|
9574
9589
|
var DebitCommissionFteHiringDto = class {
|
|
9575
9590
|
};
|
|
9576
9591
|
__decorateClass([
|
|
9577
|
-
(0,
|
|
9578
|
-
(0,
|
|
9592
|
+
(0, import_class_validator134.IsNotEmpty)({ message: "Hiring ID is required" }),
|
|
9593
|
+
(0, import_class_validator134.IsNumber)({}, { message: "Hiring ID must be a number" })
|
|
9579
9594
|
], DebitCommissionFteHiringDto.prototype, "hiringId", 2);
|
|
9580
9595
|
__decorateClass([
|
|
9581
|
-
(0,
|
|
9582
|
-
(0,
|
|
9596
|
+
(0, import_class_validator134.IsNotEmpty)({ message: "Amount is required" }),
|
|
9597
|
+
(0, import_class_validator134.IsNumber)({}, { message: "Amount must be a number" })
|
|
9583
9598
|
], DebitCommissionFteHiringDto.prototype, "amount", 2);
|
|
9584
9599
|
|
|
9585
9600
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -10919,6 +10934,7 @@ RecommendationWeightageConfig = __decorateClass([
|
|
|
10919
10934
|
TypeOfEmploymentEnumDto,
|
|
10920
10935
|
TypeOfEmploymentEnums,
|
|
10921
10936
|
UpdateAdminRoleDto,
|
|
10937
|
+
UpdateAdminRoleStatusDto,
|
|
10922
10938
|
UpdateAssessmentRequestStatusDto,
|
|
10923
10939
|
UpdateClientAccountStatusDto,
|
|
10924
10940
|
UpdateClientDto,
|