@experts_hub/shared 1.0.584 → 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/entities/job.entity.d.ts +2 -0
- package/dist/entities/rating.entity.d.ts +15 -2
- package/dist/index.d.mts +35 -5
- package/dist/index.d.ts +35 -5
- package/dist/index.js +447 -305
- package/dist/index.mjs +330 -188
- 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/dist/modules/rating/dto/add.rating.dto.d.ts +13 -2
- 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,
|
|
@@ -5421,6 +5422,11 @@ __decorateClass([
|
|
|
5421
5422
|
cascade: true
|
|
5422
5423
|
})
|
|
5423
5424
|
], Job.prototype, "jobLocations", 2);
|
|
5425
|
+
__decorateClass([
|
|
5426
|
+
(0, import_typeorm33.OneToMany)(() => Rating, (rating) => rating.job, {
|
|
5427
|
+
cascade: true
|
|
5428
|
+
})
|
|
5429
|
+
], Job.prototype, "ratings", 2);
|
|
5424
5430
|
Job = __decorateClass([
|
|
5425
5431
|
(0, import_typeorm33.Entity)("jobs")
|
|
5426
5432
|
], Job);
|
|
@@ -7008,6 +7014,14 @@ __decorateClass([
|
|
|
7008
7014
|
(0, import_typeorm65.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
7009
7015
|
(0, import_typeorm65.JoinColumn)({ name: "reviewee_id" })
|
|
7010
7016
|
], Rating.prototype, "reviewee", 2);
|
|
7017
|
+
__decorateClass([
|
|
7018
|
+
(0, import_typeorm65.Column)({ name: "job_id", type: "integer" }),
|
|
7019
|
+
(0, import_typeorm65.Index)()
|
|
7020
|
+
], Rating.prototype, "jobId", 2);
|
|
7021
|
+
__decorateClass([
|
|
7022
|
+
(0, import_typeorm65.ManyToOne)(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
|
|
7023
|
+
(0, import_typeorm65.JoinColumn)({ name: "job_id" })
|
|
7024
|
+
], Rating.prototype, "job", 2);
|
|
7011
7025
|
__decorateClass([
|
|
7012
7026
|
(0, import_typeorm65.Column)({
|
|
7013
7027
|
type: "enum",
|
|
@@ -7015,12 +7029,60 @@ __decorateClass([
|
|
|
7015
7029
|
nullable: true
|
|
7016
7030
|
})
|
|
7017
7031
|
], Rating.prototype, "ratingType", 2);
|
|
7018
|
-
__decorateClass([
|
|
7019
|
-
(0, import_typeorm65.Column)({ type: "integer", nullable: true })
|
|
7020
|
-
], Rating.prototype, "rating", 2);
|
|
7021
7032
|
__decorateClass([
|
|
7022
7033
|
(0, import_typeorm65.Column)({ type: "text", nullable: true })
|
|
7023
|
-
], Rating.prototype, "
|
|
7034
|
+
], Rating.prototype, "reviewer_comment", 2);
|
|
7035
|
+
__decorateClass([
|
|
7036
|
+
(0, import_typeorm65.Column)({
|
|
7037
|
+
type: "float",
|
|
7038
|
+
default: 0
|
|
7039
|
+
})
|
|
7040
|
+
], Rating.prototype, "overall_experience", 2);
|
|
7041
|
+
__decorateClass([
|
|
7042
|
+
(0, import_typeorm65.Column)({
|
|
7043
|
+
type: "float",
|
|
7044
|
+
default: 0
|
|
7045
|
+
})
|
|
7046
|
+
], Rating.prototype, "work_quality", 2);
|
|
7047
|
+
__decorateClass([
|
|
7048
|
+
(0, import_typeorm65.Column)({
|
|
7049
|
+
type: "float",
|
|
7050
|
+
default: 0
|
|
7051
|
+
})
|
|
7052
|
+
], Rating.prototype, "one_time_delivery", 2);
|
|
7053
|
+
__decorateClass([
|
|
7054
|
+
(0, import_typeorm65.Column)({
|
|
7055
|
+
type: "float",
|
|
7056
|
+
default: 0
|
|
7057
|
+
})
|
|
7058
|
+
], Rating.prototype, "understaning", 2);
|
|
7059
|
+
__decorateClass([
|
|
7060
|
+
(0, import_typeorm65.Column)({
|
|
7061
|
+
type: "float",
|
|
7062
|
+
default: 0
|
|
7063
|
+
})
|
|
7064
|
+
], Rating.prototype, "communication", 2);
|
|
7065
|
+
__decorateClass([
|
|
7066
|
+
(0, import_typeorm65.Column)({
|
|
7067
|
+
type: "float",
|
|
7068
|
+
default: 0
|
|
7069
|
+
})
|
|
7070
|
+
], Rating.prototype, "skill_utilized", 2);
|
|
7071
|
+
__decorateClass([
|
|
7072
|
+
(0, import_typeorm65.Column)({ type: "float", default: 0 })
|
|
7073
|
+
], Rating.prototype, "communication_clarity", 2);
|
|
7074
|
+
__decorateClass([
|
|
7075
|
+
(0, import_typeorm65.Column)({ type: "float", default: 0 })
|
|
7076
|
+
], Rating.prototype, "requirements_clarity", 2);
|
|
7077
|
+
__decorateClass([
|
|
7078
|
+
(0, import_typeorm65.Column)({ type: "float", default: 0 })
|
|
7079
|
+
], Rating.prototype, "responsiveness", 2);
|
|
7080
|
+
__decorateClass([
|
|
7081
|
+
(0, import_typeorm65.Column)({ type: "float", default: 0 })
|
|
7082
|
+
], Rating.prototype, "payment_promptness", 2);
|
|
7083
|
+
__decorateClass([
|
|
7084
|
+
(0, import_typeorm65.Column)({ type: "float", default: 0 })
|
|
7085
|
+
], Rating.prototype, "responsibilities_and_expectations", 2);
|
|
7024
7086
|
Rating = __decorateClass([
|
|
7025
7087
|
(0, import_typeorm65.Entity)("ratings")
|
|
7026
7088
|
], Rating);
|
|
@@ -7032,20 +7094,85 @@ __decorateClass([
|
|
|
7032
7094
|
(0, import_class_validator62.IsInt)({ message: "Reviewee ID must be a valid integer" }),
|
|
7033
7095
|
(0, import_class_validator62.IsNotEmpty)({ message: "Reviewee ID is required" })
|
|
7034
7096
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
7097
|
+
__decorateClass([
|
|
7098
|
+
(0, import_class_validator62.IsInt)({ message: "Job ID must be a valid integer" }),
|
|
7099
|
+
(0, import_class_validator62.IsNotEmpty)({ message: "Job ID is required" })
|
|
7100
|
+
], CreateRatingDto.prototype, "jobId", 2);
|
|
7035
7101
|
__decorateClass([
|
|
7036
7102
|
(0, import_class_validator62.IsEnum)(RatingTypeEnum, {
|
|
7037
7103
|
message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
|
|
7038
7104
|
})
|
|
7039
7105
|
], CreateRatingDto.prototype, "ratingType", 2);
|
|
7040
7106
|
__decorateClass([
|
|
7041
|
-
(0, import_class_validator62.
|
|
7042
|
-
(0, import_class_validator62.
|
|
7043
|
-
|
|
7044
|
-
|
|
7107
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7108
|
+
(0, import_class_validator62.IsString)({ message: "Reviewer comment must be a string" })
|
|
7109
|
+
], CreateRatingDto.prototype, "reviewerComment", 2);
|
|
7110
|
+
__decorateClass([
|
|
7111
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7112
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7113
|
+
(0, import_class_validator62.Min)(0),
|
|
7114
|
+
(0, import_class_validator62.Max)(5)
|
|
7115
|
+
], CreateRatingDto.prototype, "overallExperience", 2);
|
|
7045
7116
|
__decorateClass([
|
|
7046
7117
|
(0, import_class_validator62.IsOptional)(),
|
|
7047
|
-
(0, import_class_validator62.
|
|
7048
|
-
|
|
7118
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7119
|
+
(0, import_class_validator62.Min)(0),
|
|
7120
|
+
(0, import_class_validator62.Max)(5)
|
|
7121
|
+
], CreateRatingDto.prototype, "workQuality", 2);
|
|
7122
|
+
__decorateClass([
|
|
7123
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7124
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7125
|
+
(0, import_class_validator62.Min)(0),
|
|
7126
|
+
(0, import_class_validator62.Max)(5)
|
|
7127
|
+
], CreateRatingDto.prototype, "oneTimeDelivery", 2);
|
|
7128
|
+
__decorateClass([
|
|
7129
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7130
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7131
|
+
(0, import_class_validator62.Min)(0),
|
|
7132
|
+
(0, import_class_validator62.Max)(5)
|
|
7133
|
+
], CreateRatingDto.prototype, "understaning", 2);
|
|
7134
|
+
__decorateClass([
|
|
7135
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7136
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7137
|
+
(0, import_class_validator62.Min)(0),
|
|
7138
|
+
(0, import_class_validator62.Max)(5)
|
|
7139
|
+
], CreateRatingDto.prototype, "communication", 2);
|
|
7140
|
+
__decorateClass([
|
|
7141
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7142
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7143
|
+
(0, import_class_validator62.Min)(0),
|
|
7144
|
+
(0, import_class_validator62.Max)(5)
|
|
7145
|
+
], CreateRatingDto.prototype, "skillUtilized", 2);
|
|
7146
|
+
__decorateClass([
|
|
7147
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7148
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7149
|
+
(0, import_class_validator62.Min)(0),
|
|
7150
|
+
(0, import_class_validator62.Max)(5)
|
|
7151
|
+
], CreateRatingDto.prototype, "communicationClarity", 2);
|
|
7152
|
+
__decorateClass([
|
|
7153
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7154
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7155
|
+
(0, import_class_validator62.Min)(0),
|
|
7156
|
+
(0, import_class_validator62.Max)(5)
|
|
7157
|
+
], CreateRatingDto.prototype, "requirementsClarity", 2);
|
|
7158
|
+
__decorateClass([
|
|
7159
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7160
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7161
|
+
(0, import_class_validator62.Min)(0),
|
|
7162
|
+
(0, import_class_validator62.Max)(5)
|
|
7163
|
+
], CreateRatingDto.prototype, "responsiveness", 2);
|
|
7164
|
+
__decorateClass([
|
|
7165
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7166
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7167
|
+
(0, import_class_validator62.Min)(0),
|
|
7168
|
+
(0, import_class_validator62.Max)(5)
|
|
7169
|
+
], CreateRatingDto.prototype, "paymentPromptness", 2);
|
|
7170
|
+
__decorateClass([
|
|
7171
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7172
|
+
(0, import_class_validator62.IsNumber)(),
|
|
7173
|
+
(0, import_class_validator62.Min)(0),
|
|
7174
|
+
(0, import_class_validator62.Max)(5)
|
|
7175
|
+
], CreateRatingDto.prototype, "responsibilitiesAndExpectations", 2);
|
|
7049
7176
|
|
|
7050
7177
|
// src/modules/company-role/pattern/pattern.ts
|
|
7051
7178
|
var COMPANY_ROLES_PATTERNS = {
|
|
@@ -8391,7 +8518,8 @@ var ADMIN_ROLE_PATTERN = {
|
|
|
8391
8518
|
adminUpdateRole: "admin.update.role",
|
|
8392
8519
|
adminDeleteRole: "admin.delete.role",
|
|
8393
8520
|
attachPermissionsToRole: "attach.permissions.to.role",
|
|
8394
|
-
fetchAdminRolePermissions: "fetch.admin.role.permissions"
|
|
8521
|
+
fetchAdminRolePermissions: "fetch.admin.role.permissions",
|
|
8522
|
+
updateAdminRoleStatus: "update.admin.role.status"
|
|
8395
8523
|
};
|
|
8396
8524
|
|
|
8397
8525
|
// src/modules/admin-role/dto/create-admin-role.dto.ts
|
|
@@ -8406,6 +8534,10 @@ __decorateClass([
|
|
|
8406
8534
|
(0, import_class_validator89.IsOptional)(),
|
|
8407
8535
|
(0, import_class_validator89.IsString)({ message: "Role description must be a string." })
|
|
8408
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);
|
|
8409
8541
|
|
|
8410
8542
|
// src/modules/admin-role/dto/update-admin-role.dto.ts
|
|
8411
8543
|
var import_class_validator90 = require("class-validator");
|
|
@@ -8437,6 +8569,15 @@ __decorateClass([
|
|
|
8437
8569
|
(0, import_class_validator91.IsString)({ message: "Permission IDs must be a comma-separated string." })
|
|
8438
8570
|
], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
|
|
8439
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
|
+
|
|
8440
8581
|
// src/modules/admin-permission/pattern/pattern.ts
|
|
8441
8582
|
var ADMIN_PERMISSION_PATTERN = {
|
|
8442
8583
|
fetchAdminPermissions: "fetch.admin.permissions"
|
|
@@ -8514,7 +8655,7 @@ var INTERVIEW_PATTERN = {
|
|
|
8514
8655
|
};
|
|
8515
8656
|
|
|
8516
8657
|
// src/modules/interview/dto/interview-invite.dto.ts
|
|
8517
|
-
var
|
|
8658
|
+
var import_class_validator93 = require("class-validator");
|
|
8518
8659
|
var import_class_transformer15 = require("class-transformer");
|
|
8519
8660
|
var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
|
|
8520
8661
|
CandidateType2["SHORTLISTED"] = "SHORTLISTED";
|
|
@@ -8526,195 +8667,195 @@ var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
|
|
|
8526
8667
|
var ExistingCandidateDto = class {
|
|
8527
8668
|
};
|
|
8528
8669
|
__decorateClass([
|
|
8529
|
-
(0,
|
|
8670
|
+
(0, import_class_validator93.IsUUID)()
|
|
8530
8671
|
], ExistingCandidateDto.prototype, "id", 2);
|
|
8531
8672
|
__decorateClass([
|
|
8532
|
-
(0,
|
|
8673
|
+
(0, import_class_validator93.IsEnum)(CandidateType, {
|
|
8533
8674
|
message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
|
|
8534
8675
|
})
|
|
8535
8676
|
], ExistingCandidateDto.prototype, "type", 2);
|
|
8536
8677
|
var NewCandidateDto = class {
|
|
8537
8678
|
};
|
|
8538
8679
|
__decorateClass([
|
|
8539
|
-
(0,
|
|
8540
|
-
(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" })
|
|
8541
8682
|
], NewCandidateDto.prototype, "name", 2);
|
|
8542
8683
|
__decorateClass([
|
|
8543
|
-
(0,
|
|
8684
|
+
(0, import_class_validator93.IsEmail)({}, { message: "Please enter a valid email." })
|
|
8544
8685
|
], NewCandidateDto.prototype, "email", 2);
|
|
8545
8686
|
__decorateClass([
|
|
8546
|
-
(0,
|
|
8687
|
+
(0, import_class_validator93.IsEnum)(CandidateType, {
|
|
8547
8688
|
message: "type must be NEW"
|
|
8548
8689
|
})
|
|
8549
8690
|
], NewCandidateDto.prototype, "type", 2);
|
|
8550
8691
|
var CandidatesDto = class {
|
|
8551
8692
|
};
|
|
8552
8693
|
__decorateClass([
|
|
8553
|
-
(0,
|
|
8554
|
-
(0,
|
|
8555
|
-
(0,
|
|
8556
|
-
(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 }),
|
|
8557
8698
|
(0, import_class_transformer15.Type)(() => ExistingCandidateDto)
|
|
8558
8699
|
], CandidatesDto.prototype, "exixtingCandidates", 2);
|
|
8559
8700
|
__decorateClass([
|
|
8560
|
-
(0,
|
|
8561
|
-
(0,
|
|
8562
|
-
(0,
|
|
8563
|
-
(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 }),
|
|
8564
8705
|
(0, import_class_transformer15.Type)(() => NewCandidateDto)
|
|
8565
8706
|
], CandidatesDto.prototype, "newCandidates", 2);
|
|
8566
8707
|
var InterviewInviteDto = class {
|
|
8567
8708
|
};
|
|
8568
8709
|
__decorateClass([
|
|
8569
|
-
(0,
|
|
8710
|
+
(0, import_class_validator93.IsUUID)()
|
|
8570
8711
|
], InterviewInviteDto.prototype, "jobId", 2);
|
|
8571
8712
|
__decorateClass([
|
|
8572
|
-
(0,
|
|
8713
|
+
(0, import_class_validator93.ValidateNested)({ each: true }),
|
|
8573
8714
|
(0, import_class_transformer15.Type)(() => CandidatesDto)
|
|
8574
8715
|
], InterviewInviteDto.prototype, "candidates", 2);
|
|
8575
8716
|
|
|
8576
8717
|
// src/modules/interview/dto/create-f2f-interview.dto.ts
|
|
8577
|
-
var
|
|
8718
|
+
var import_class_validator94 = require("class-validator");
|
|
8578
8719
|
var CreateF2FInterviewDto = class {
|
|
8579
8720
|
};
|
|
8580
8721
|
__decorateClass([
|
|
8581
|
-
(0,
|
|
8582
|
-
(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." })
|
|
8583
8724
|
], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
|
|
8584
8725
|
__decorateClass([
|
|
8585
|
-
(0,
|
|
8586
|
-
(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." })
|
|
8587
8728
|
], CreateF2FInterviewDto.prototype, "inviteeName", 2);
|
|
8588
8729
|
__decorateClass([
|
|
8589
|
-
(0,
|
|
8730
|
+
(0, import_class_validator94.IsNumber)({}, { message: "Interview ID must be a number." })
|
|
8590
8731
|
], CreateF2FInterviewDto.prototype, "interviewId", 2);
|
|
8591
8732
|
__decorateClass([
|
|
8592
|
-
(0,
|
|
8733
|
+
(0, import_class_validator94.IsNumber)({}, { message: "Candidate ID must be a number." })
|
|
8593
8734
|
], CreateF2FInterviewDto.prototype, "candidateId", 2);
|
|
8594
8735
|
|
|
8595
8736
|
// src/modules/interview/dto/create-f2f-interview-direct.dto.ts
|
|
8596
|
-
var
|
|
8737
|
+
var import_class_validator95 = require("class-validator");
|
|
8597
8738
|
var CreateF2FInterviewDirectDto = class {
|
|
8598
8739
|
};
|
|
8599
8740
|
__decorateClass([
|
|
8600
|
-
(0,
|
|
8601
|
-
(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." })
|
|
8602
8743
|
], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
|
|
8603
8744
|
__decorateClass([
|
|
8604
|
-
(0,
|
|
8605
|
-
(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." })
|
|
8606
8747
|
], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
|
|
8607
8748
|
__decorateClass([
|
|
8608
|
-
(0,
|
|
8749
|
+
(0, import_class_validator95.IsNumber)({}, { message: "Job ID must be a number." })
|
|
8609
8750
|
], CreateF2FInterviewDirectDto.prototype, "jobId", 2);
|
|
8610
8751
|
__decorateClass([
|
|
8611
|
-
(0,
|
|
8752
|
+
(0, import_class_validator95.IsNumber)({}, { message: "Candidate ID must be a number." })
|
|
8612
8753
|
], CreateF2FInterviewDirectDto.prototype, "candidateId", 2);
|
|
8613
8754
|
|
|
8614
8755
|
// src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
|
|
8615
|
-
var
|
|
8756
|
+
var import_class_validator96 = require("class-validator");
|
|
8616
8757
|
var CreateF2FInterviewRescheduleRequestDto = class {
|
|
8617
8758
|
};
|
|
8618
8759
|
__decorateClass([
|
|
8619
|
-
(0,
|
|
8760
|
+
(0, import_class_validator96.IsNotEmpty)({ message: "F2F Interview ID is required." })
|
|
8620
8761
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
|
|
8621
8762
|
__decorateClass([
|
|
8622
|
-
(0,
|
|
8763
|
+
(0, import_class_validator96.IsNotEmpty)({ message: "Rescheduled date is required." })
|
|
8623
8764
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
|
|
8624
8765
|
__decorateClass([
|
|
8625
|
-
(0,
|
|
8626
|
-
(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." })
|
|
8627
8768
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
|
|
8628
8769
|
__decorateClass([
|
|
8629
|
-
(0,
|
|
8770
|
+
(0, import_class_validator96.IsString)({ message: "Freelancer reason must be a string." })
|
|
8630
8771
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
8631
8772
|
|
|
8632
8773
|
// src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
|
|
8633
|
-
var
|
|
8774
|
+
var import_class_validator97 = require("class-validator");
|
|
8634
8775
|
var CreateAIInterviewRescheduleRequestDto = class {
|
|
8635
8776
|
};
|
|
8636
8777
|
__decorateClass([
|
|
8637
|
-
(0,
|
|
8778
|
+
(0, import_class_validator97.IsNotEmpty)({ message: "AI Interview ID is required." })
|
|
8638
8779
|
], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
|
|
8639
8780
|
__decorateClass([
|
|
8640
|
-
(0,
|
|
8781
|
+
(0, import_class_validator97.IsString)({ message: "Freelancer reason must be a string." })
|
|
8641
8782
|
], CreateAIInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
8642
8783
|
|
|
8643
8784
|
// src/modules/interview/dto/reject-ai-interview-reschedule-request.dto.ts
|
|
8644
|
-
var
|
|
8785
|
+
var import_class_validator98 = require("class-validator");
|
|
8645
8786
|
var RejectAIInterviewRescheduleRequestDto = class {
|
|
8646
8787
|
};
|
|
8647
8788
|
__decorateClass([
|
|
8648
|
-
(0,
|
|
8789
|
+
(0, import_class_validator98.IsString)({ message: "Client reject reason must be a string." })
|
|
8649
8790
|
], RejectAIInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
|
|
8650
8791
|
|
|
8651
8792
|
// src/modules/interview/dto/reject-f2f-interview-reschedule-request.dto.ts
|
|
8652
|
-
var
|
|
8793
|
+
var import_class_validator99 = require("class-validator");
|
|
8653
8794
|
var RejectF2FInterviewRescheduleRequestDto = class {
|
|
8654
8795
|
};
|
|
8655
8796
|
__decorateClass([
|
|
8656
|
-
(0,
|
|
8657
|
-
(0,
|
|
8797
|
+
(0, import_class_validator99.IsOptional)(),
|
|
8798
|
+
(0, import_class_validator99.IsString)()
|
|
8658
8799
|
], RejectF2FInterviewRescheduleRequestDto.prototype, "reason", 2);
|
|
8659
8800
|
|
|
8660
8801
|
// src/modules/interview/dto/capture-ai-interview-result-public.dto.ts
|
|
8661
|
-
var
|
|
8802
|
+
var import_class_validator100 = require("class-validator");
|
|
8662
8803
|
var CaptureAiInterviewResultPublicDto = class {
|
|
8663
8804
|
};
|
|
8664
8805
|
__decorateClass([
|
|
8665
|
-
(0,
|
|
8666
|
-
(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" })
|
|
8667
8808
|
], CaptureAiInterviewResultPublicDto.prototype, "aiInterviewUuid", 2);
|
|
8668
8809
|
__decorateClass([
|
|
8669
|
-
(0,
|
|
8670
|
-
(0,
|
|
8810
|
+
(0, import_class_validator100.IsOptional)(),
|
|
8811
|
+
(0, import_class_validator100.IsObject)()
|
|
8671
8812
|
], CaptureAiInterviewResultPublicDto.prototype, "result", 2);
|
|
8672
8813
|
__decorateClass([
|
|
8673
|
-
(0,
|
|
8674
|
-
(0,
|
|
8814
|
+
(0, import_class_validator100.IsOptional)(),
|
|
8815
|
+
(0, import_class_validator100.IsString)()
|
|
8675
8816
|
], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
|
|
8676
8817
|
|
|
8677
8818
|
// src/modules/interview/dto/create-interview-basic-information.dto.ts
|
|
8678
|
-
var
|
|
8819
|
+
var import_class_validator101 = require("class-validator");
|
|
8679
8820
|
var CreateInterviewBasicInformationDto = class {
|
|
8680
8821
|
};
|
|
8681
8822
|
__decorateClass([
|
|
8682
|
-
(0,
|
|
8683
|
-
(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" })
|
|
8684
8825
|
], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
|
|
8685
8826
|
__decorateClass([
|
|
8686
|
-
(0,
|
|
8687
|
-
(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" })
|
|
8688
8829
|
], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
|
|
8689
8830
|
|
|
8690
8831
|
// src/modules/interview/dto/update-interview-basic-information.dto.ts
|
|
8691
|
-
var
|
|
8832
|
+
var import_class_validator102 = require("class-validator");
|
|
8692
8833
|
var UpdateInterviewBasicInformationDto = class {
|
|
8693
8834
|
};
|
|
8694
8835
|
__decorateClass([
|
|
8695
|
-
(0,
|
|
8696
|
-
(0,
|
|
8836
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8837
|
+
(0, import_class_validator102.IsString)()
|
|
8697
8838
|
], UpdateInterviewBasicInformationDto.prototype, "title", 2);
|
|
8698
8839
|
__decorateClass([
|
|
8699
|
-
(0,
|
|
8700
|
-
(0,
|
|
8840
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8841
|
+
(0, import_class_validator102.IsString)()
|
|
8701
8842
|
], UpdateInterviewBasicInformationDto.prototype, "description", 2);
|
|
8702
8843
|
__decorateClass([
|
|
8703
|
-
(0,
|
|
8704
|
-
(0,
|
|
8844
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8845
|
+
(0, import_class_validator102.IsDateString)()
|
|
8705
8846
|
], UpdateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
|
|
8706
8847
|
__decorateClass([
|
|
8707
|
-
(0,
|
|
8708
|
-
(0,
|
|
8848
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8849
|
+
(0, import_class_validator102.IsNumber)({}, { message: "Duration must be a number" })
|
|
8709
8850
|
], UpdateInterviewBasicInformationDto.prototype, "duration", 2);
|
|
8710
8851
|
__decorateClass([
|
|
8711
|
-
(0,
|
|
8712
|
-
(0,
|
|
8713
|
-
(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" })
|
|
8714
8855
|
], UpdateInterviewBasicInformationDto.prototype, "skillIds", 2);
|
|
8715
8856
|
__decorateClass([
|
|
8716
|
-
(0,
|
|
8717
|
-
(0,
|
|
8857
|
+
(0, import_class_validator102.IsOptional)(),
|
|
8858
|
+
(0, import_class_validator102.IsString)()
|
|
8718
8859
|
], UpdateInterviewBasicInformationDto.prototype, "location", 2);
|
|
8719
8860
|
|
|
8720
8861
|
// src/modules/contract/pattern/pattern.ts
|
|
@@ -8752,99 +8893,99 @@ var CONTRACT_PATTERN = {
|
|
|
8752
8893
|
};
|
|
8753
8894
|
|
|
8754
8895
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
8755
|
-
var
|
|
8896
|
+
var import_class_validator103 = require("class-validator");
|
|
8756
8897
|
var import_class_transformer16 = require("class-transformer");
|
|
8757
8898
|
var SignContractForClientDto = class {
|
|
8758
8899
|
};
|
|
8759
8900
|
__decorateClass([
|
|
8760
|
-
(0,
|
|
8901
|
+
(0, import_class_validator103.IsNotEmpty)({ message: "Job Id is required." }),
|
|
8761
8902
|
(0, import_class_transformer16.Type)(() => Number),
|
|
8762
|
-
(0,
|
|
8903
|
+
(0, import_class_validator103.IsNumber)({}, { message: "Job ID must be a number." })
|
|
8763
8904
|
], SignContractForClientDto.prototype, "jobId", 2);
|
|
8764
8905
|
__decorateClass([
|
|
8765
|
-
(0,
|
|
8906
|
+
(0, import_class_validator103.IsNotEmpty)({ message: "Freelancer ID is required." }),
|
|
8766
8907
|
(0, import_class_transformer16.Type)(() => Number),
|
|
8767
|
-
(0,
|
|
8908
|
+
(0, import_class_validator103.IsNumber)({}, { message: "Freelancer ID must be a number." })
|
|
8768
8909
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
8769
8910
|
__decorateClass([
|
|
8770
|
-
(0,
|
|
8771
|
-
(0,
|
|
8911
|
+
(0, import_class_validator103.IsNotEmpty)({ message: "Contract type is required." }),
|
|
8912
|
+
(0, import_class_validator103.IsEnum)(ContractTypeEnum)
|
|
8772
8913
|
], SignContractForClientDto.prototype, "contractType", 2);
|
|
8773
8914
|
|
|
8774
8915
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
8775
|
-
var
|
|
8916
|
+
var import_class_validator104 = require("class-validator");
|
|
8776
8917
|
var import_class_transformer17 = require("class-transformer");
|
|
8777
8918
|
var SignContractForFreelancerDto = class {
|
|
8778
8919
|
};
|
|
8779
8920
|
__decorateClass([
|
|
8780
|
-
(0,
|
|
8921
|
+
(0, import_class_validator104.IsNotEmpty)({ message: "Job Id is required." }),
|
|
8781
8922
|
(0, import_class_transformer17.Type)(() => Number),
|
|
8782
|
-
(0,
|
|
8923
|
+
(0, import_class_validator104.IsNumber)({}, { message: "Job ID must be a number." })
|
|
8783
8924
|
], SignContractForFreelancerDto.prototype, "jobId", 2);
|
|
8784
8925
|
__decorateClass([
|
|
8785
|
-
(0,
|
|
8926
|
+
(0, import_class_validator104.IsNotEmpty)({ message: "Client ID is required." }),
|
|
8786
8927
|
(0, import_class_transformer17.Type)(() => Number),
|
|
8787
|
-
(0,
|
|
8928
|
+
(0, import_class_validator104.IsNumber)({}, { message: "Client ID must be a number." })
|
|
8788
8929
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
8789
8930
|
__decorateClass([
|
|
8790
|
-
(0,
|
|
8791
|
-
(0,
|
|
8931
|
+
(0, import_class_validator104.IsNotEmpty)({ message: "Contract type is required." }),
|
|
8932
|
+
(0, import_class_validator104.IsEnum)(ContractTypeEnum)
|
|
8792
8933
|
], SignContractForFreelancerDto.prototype, "contractType", 2);
|
|
8793
8934
|
|
|
8794
8935
|
// src/modules/contract/dto/generate-contract.dto.ts
|
|
8795
|
-
var
|
|
8936
|
+
var import_class_validator105 = require("class-validator");
|
|
8796
8937
|
var GenerateContractDto = class {
|
|
8797
8938
|
};
|
|
8798
8939
|
__decorateClass([
|
|
8799
|
-
(0,
|
|
8800
|
-
(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" })
|
|
8801
8942
|
], GenerateContractDto.prototype, "hiringId", 2);
|
|
8802
8943
|
__decorateClass([
|
|
8803
|
-
(0,
|
|
8804
|
-
(0,
|
|
8944
|
+
(0, import_class_validator105.IsOptional)(),
|
|
8945
|
+
(0, import_class_validator105.IsString)()
|
|
8805
8946
|
], GenerateContractDto.prototype, "contractType", 2);
|
|
8806
8947
|
__decorateClass([
|
|
8807
|
-
(0,
|
|
8808
|
-
(0,
|
|
8948
|
+
(0, import_class_validator105.IsOptional)(),
|
|
8949
|
+
(0, import_class_validator105.IsString)()
|
|
8809
8950
|
], GenerateContractDto.prototype, "templateId", 2);
|
|
8810
8951
|
|
|
8811
8952
|
// src/modules/contract/dto/esign-contract-client.dto.ts
|
|
8812
|
-
var
|
|
8953
|
+
var import_class_validator106 = require("class-validator");
|
|
8813
8954
|
var EsignContractClientDto = class {
|
|
8814
8955
|
};
|
|
8815
8956
|
__decorateClass([
|
|
8816
|
-
(0,
|
|
8817
|
-
(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" })
|
|
8818
8959
|
], EsignContractClientDto.prototype, "contractUuid", 2);
|
|
8819
8960
|
|
|
8820
8961
|
// src/modules/contract/dto/esign-contract-freelancer.dto.ts
|
|
8821
|
-
var
|
|
8962
|
+
var import_class_validator107 = require("class-validator");
|
|
8822
8963
|
var EsignContractFreelancerDto = class {
|
|
8823
8964
|
};
|
|
8824
8965
|
__decorateClass([
|
|
8825
|
-
(0,
|
|
8826
|
-
(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" })
|
|
8827
8968
|
], EsignContractFreelancerDto.prototype, "contractUuid", 2);
|
|
8828
8969
|
|
|
8829
8970
|
// src/modules/contract/dto/escrow-fund-contract.dto.ts
|
|
8830
|
-
var
|
|
8971
|
+
var import_class_validator108 = require("class-validator");
|
|
8831
8972
|
var EscrowFundContractDto = class {
|
|
8832
8973
|
};
|
|
8833
8974
|
__decorateClass([
|
|
8834
|
-
(0,
|
|
8835
|
-
(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" })
|
|
8836
8977
|
], EscrowFundContractDto.prototype, "contractId", 2);
|
|
8837
8978
|
__decorateClass([
|
|
8838
|
-
(0,
|
|
8839
|
-
(0,
|
|
8979
|
+
(0, import_class_validator108.IsNotEmpty)({ message: "Amount is required" }),
|
|
8980
|
+
(0, import_class_validator108.IsNumber)({}, { message: "Amount must be a number" })
|
|
8840
8981
|
], EscrowFundContractDto.prototype, "amount", 2);
|
|
8841
8982
|
__decorateClass([
|
|
8842
|
-
(0,
|
|
8843
|
-
(0,
|
|
8983
|
+
(0, import_class_validator108.IsOptional)(),
|
|
8984
|
+
(0, import_class_validator108.IsString)()
|
|
8844
8985
|
], EscrowFundContractDto.prototype, "currency", 2);
|
|
8845
8986
|
__decorateClass([
|
|
8846
|
-
(0,
|
|
8847
|
-
(0,
|
|
8987
|
+
(0, import_class_validator108.IsOptional)(),
|
|
8988
|
+
(0, import_class_validator108.IsString)()
|
|
8848
8989
|
], EscrowFundContractDto.prototype, "description", 2);
|
|
8849
8990
|
|
|
8850
8991
|
// src/modules/stripe/pattern/pattern.ts
|
|
@@ -8868,83 +9009,83 @@ var STRIPE_PATTERN = {
|
|
|
8868
9009
|
};
|
|
8869
9010
|
|
|
8870
9011
|
// src/modules/stripe/dto/create-checkout-session.dto.ts
|
|
8871
|
-
var
|
|
9012
|
+
var import_class_validator109 = require("class-validator");
|
|
8872
9013
|
var CreateCheckoutSessionDto = class {
|
|
8873
9014
|
};
|
|
8874
9015
|
__decorateClass([
|
|
8875
|
-
(0,
|
|
9016
|
+
(0, import_class_validator109.IsNotEmpty)({ message: "Amount is required" })
|
|
8876
9017
|
], CreateCheckoutSessionDto.prototype, "amount", 2);
|
|
8877
9018
|
|
|
8878
9019
|
// src/modules/stripe/dto/pre-checkout-calculation.dto.ts
|
|
8879
|
-
var
|
|
9020
|
+
var import_class_validator110 = require("class-validator");
|
|
8880
9021
|
var PreCheckoutCalculationDto = class {
|
|
8881
9022
|
};
|
|
8882
9023
|
__decorateClass([
|
|
8883
|
-
(0,
|
|
8884
|
-
(0,
|
|
9024
|
+
(0, import_class_validator110.IsNotEmpty)({ message: "Amount is required" }),
|
|
9025
|
+
(0, import_class_validator110.IsNumber)({}, { message: "Amount must be a number" })
|
|
8885
9026
|
], PreCheckoutCalculationDto.prototype, "amount", 2);
|
|
8886
9027
|
__decorateClass([
|
|
8887
|
-
(0,
|
|
8888
|
-
(0,
|
|
9028
|
+
(0, import_class_validator110.IsOptional)(),
|
|
9029
|
+
(0, import_class_validator110.IsString)()
|
|
8889
9030
|
], PreCheckoutCalculationDto.prototype, "currency", 2);
|
|
8890
9031
|
__decorateClass([
|
|
8891
|
-
(0,
|
|
8892
|
-
(0,
|
|
9032
|
+
(0, import_class_validator110.IsOptional)(),
|
|
9033
|
+
(0, import_class_validator110.IsString)()
|
|
8893
9034
|
], PreCheckoutCalculationDto.prototype, "description", 2);
|
|
8894
9035
|
|
|
8895
9036
|
// src/modules/stripe/dto/client-add-fund.dto.ts
|
|
8896
|
-
var
|
|
9037
|
+
var import_class_validator111 = require("class-validator");
|
|
8897
9038
|
var ClientAddFundDto = class {
|
|
8898
9039
|
};
|
|
8899
9040
|
__decorateClass([
|
|
8900
|
-
(0,
|
|
8901
|
-
(0,
|
|
9041
|
+
(0, import_class_validator111.IsNotEmpty)({ message: "Amount is required" }),
|
|
9042
|
+
(0, import_class_validator111.IsNumber)({}, { message: "Amount must be a number" })
|
|
8902
9043
|
], ClientAddFundDto.prototype, "amount", 2);
|
|
8903
9044
|
__decorateClass([
|
|
8904
|
-
(0,
|
|
8905
|
-
(0,
|
|
9045
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9046
|
+
(0, import_class_validator111.IsString)()
|
|
8906
9047
|
], ClientAddFundDto.prototype, "currency", 2);
|
|
8907
9048
|
__decorateClass([
|
|
8908
|
-
(0,
|
|
8909
|
-
(0,
|
|
9049
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9050
|
+
(0, import_class_validator111.IsString)()
|
|
8910
9051
|
], ClientAddFundDto.prototype, "description", 2);
|
|
8911
9052
|
|
|
8912
9053
|
// src/modules/stripe/dto/transfer-funds.dto.ts
|
|
8913
|
-
var
|
|
9054
|
+
var import_class_validator112 = require("class-validator");
|
|
8914
9055
|
var TransferFundsDto = class {
|
|
8915
9056
|
};
|
|
8916
9057
|
__decorateClass([
|
|
8917
|
-
(0,
|
|
8918
|
-
(0,
|
|
9058
|
+
(0, import_class_validator112.IsNotEmpty)({ message: "Amount is required" }),
|
|
9059
|
+
(0, import_class_validator112.IsNumber)({}, { message: "Amount must be a number" })
|
|
8919
9060
|
], TransferFundsDto.prototype, "amount", 2);
|
|
8920
9061
|
__decorateClass([
|
|
8921
|
-
(0,
|
|
8922
|
-
(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" })
|
|
8923
9064
|
], TransferFundsDto.prototype, "connectedAccountId", 2);
|
|
8924
9065
|
__decorateClass([
|
|
8925
|
-
(0,
|
|
8926
|
-
(0,
|
|
9066
|
+
(0, import_class_validator112.IsOptional)(),
|
|
9067
|
+
(0, import_class_validator112.IsString)()
|
|
8927
9068
|
], TransferFundsDto.prototype, "description", 2);
|
|
8928
9069
|
|
|
8929
9070
|
// src/modules/stripe/dto/create-payout.dto.ts
|
|
8930
|
-
var
|
|
9071
|
+
var import_class_validator113 = require("class-validator");
|
|
8931
9072
|
var CreatePayoutDto = class {
|
|
8932
9073
|
};
|
|
8933
9074
|
__decorateClass([
|
|
8934
|
-
(0,
|
|
8935
|
-
(0,
|
|
9075
|
+
(0, import_class_validator113.IsNotEmpty)({ message: "Amount is required" }),
|
|
9076
|
+
(0, import_class_validator113.IsNumber)({}, { message: "Amount must be a number" })
|
|
8936
9077
|
], CreatePayoutDto.prototype, "amount", 2);
|
|
8937
9078
|
__decorateClass([
|
|
8938
|
-
(0,
|
|
8939
|
-
(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" })
|
|
8940
9081
|
], CreatePayoutDto.prototype, "connectedAccountId", 2);
|
|
8941
9082
|
__decorateClass([
|
|
8942
|
-
(0,
|
|
8943
|
-
(0,
|
|
9083
|
+
(0, import_class_validator113.IsOptional)(),
|
|
9084
|
+
(0, import_class_validator113.IsString)()
|
|
8944
9085
|
], CreatePayoutDto.prototype, "method", 2);
|
|
8945
9086
|
__decorateClass([
|
|
8946
|
-
(0,
|
|
8947
|
-
(0,
|
|
9087
|
+
(0, import_class_validator113.IsOptional)(),
|
|
9088
|
+
(0, import_class_validator113.IsString)()
|
|
8948
9089
|
], CreatePayoutDto.prototype, "description", 2);
|
|
8949
9090
|
|
|
8950
9091
|
// src/modules/timesheet/pattern/pattern.ts
|
|
@@ -8988,158 +9129,158 @@ var TIMESHEET_CLIENT_PATTERN = {
|
|
|
8988
9129
|
};
|
|
8989
9130
|
|
|
8990
9131
|
// src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
|
|
8991
|
-
var
|
|
9132
|
+
var import_class_validator114 = require("class-validator");
|
|
8992
9133
|
var CreateFreelancerTimesheetDto = class {
|
|
8993
9134
|
};
|
|
8994
9135
|
__decorateClass([
|
|
8995
|
-
(0,
|
|
8996
|
-
(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" })
|
|
8997
9138
|
], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
8998
9139
|
__decorateClass([
|
|
8999
|
-
(0,
|
|
9000
|
-
(0,
|
|
9140
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "start date is required" }),
|
|
9141
|
+
(0, import_class_validator114.IsDateString)()
|
|
9001
9142
|
], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
9002
9143
|
__decorateClass([
|
|
9003
|
-
(0,
|
|
9004
|
-
(0,
|
|
9144
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "end date is required" }),
|
|
9145
|
+
(0, import_class_validator114.IsDateString)()
|
|
9005
9146
|
], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
9006
9147
|
__decorateClass([
|
|
9007
|
-
(0,
|
|
9008
|
-
(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)$/, {
|
|
9009
9150
|
message: "startTime must be in HH:mm:ss format"
|
|
9010
9151
|
})
|
|
9011
9152
|
], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
9012
9153
|
__decorateClass([
|
|
9013
|
-
(0,
|
|
9014
|
-
(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)$/, {
|
|
9015
9156
|
message: "endTime must be in HH:mm:ss format"
|
|
9016
9157
|
})
|
|
9017
9158
|
], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9018
9159
|
__decorateClass([
|
|
9019
|
-
(0,
|
|
9020
|
-
(0,
|
|
9160
|
+
(0, import_class_validator114.IsOptional)(),
|
|
9161
|
+
(0, import_class_validator114.IsInt)()
|
|
9021
9162
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9022
9163
|
__decorateClass([
|
|
9023
|
-
(0,
|
|
9024
|
-
(0,
|
|
9164
|
+
(0, import_class_validator114.IsOptional)(),
|
|
9165
|
+
(0, import_class_validator114.IsString)()
|
|
9025
9166
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9026
9167
|
__decorateClass([
|
|
9027
|
-
(0,
|
|
9028
|
-
(0,
|
|
9168
|
+
(0, import_class_validator114.IsOptional)(),
|
|
9169
|
+
(0, import_class_validator114.IsString)()
|
|
9029
9170
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9030
9171
|
__decorateClass([
|
|
9031
|
-
(0,
|
|
9032
|
-
(0,
|
|
9172
|
+
(0, import_class_validator114.IsOptional)(),
|
|
9173
|
+
(0, import_class_validator114.IsString)()
|
|
9033
9174
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9034
9175
|
__decorateClass([
|
|
9035
|
-
(0,
|
|
9176
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "Description is required" })
|
|
9036
9177
|
], CreateFreelancerTimesheetDto.prototype, "description", 2);
|
|
9037
9178
|
|
|
9038
9179
|
// src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
|
|
9039
|
-
var
|
|
9180
|
+
var import_class_validator115 = require("class-validator");
|
|
9040
9181
|
var UpdateFreelancerTimesheetDto = class {
|
|
9041
9182
|
};
|
|
9042
9183
|
__decorateClass([
|
|
9043
|
-
(0,
|
|
9044
|
-
(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" })
|
|
9045
9186
|
], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
9046
9187
|
__decorateClass([
|
|
9047
|
-
(0,
|
|
9048
|
-
(0,
|
|
9188
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "start date is required" }),
|
|
9189
|
+
(0, import_class_validator115.IsDateString)()
|
|
9049
9190
|
], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
9050
9191
|
__decorateClass([
|
|
9051
|
-
(0,
|
|
9052
|
-
(0,
|
|
9192
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "end date is required" }),
|
|
9193
|
+
(0, import_class_validator115.IsDateString)()
|
|
9053
9194
|
], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
9054
9195
|
__decorateClass([
|
|
9055
|
-
(0,
|
|
9056
|
-
(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)$/, {
|
|
9057
9198
|
message: "startTime must be in HH:mm:ss format"
|
|
9058
9199
|
})
|
|
9059
9200
|
], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
9060
9201
|
__decorateClass([
|
|
9061
|
-
(0,
|
|
9062
|
-
(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)$/, {
|
|
9063
9204
|
message: "endTime must be in HH:mm:ss format"
|
|
9064
9205
|
})
|
|
9065
9206
|
], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9066
9207
|
__decorateClass([
|
|
9067
|
-
(0,
|
|
9068
|
-
(0,
|
|
9208
|
+
(0, import_class_validator115.IsOptional)(),
|
|
9209
|
+
(0, import_class_validator115.IsInt)()
|
|
9069
9210
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9070
9211
|
__decorateClass([
|
|
9071
|
-
(0,
|
|
9072
|
-
(0,
|
|
9212
|
+
(0, import_class_validator115.IsOptional)(),
|
|
9213
|
+
(0, import_class_validator115.IsString)()
|
|
9073
9214
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9074
9215
|
__decorateClass([
|
|
9075
|
-
(0,
|
|
9076
|
-
(0,
|
|
9216
|
+
(0, import_class_validator115.IsOptional)(),
|
|
9217
|
+
(0, import_class_validator115.IsString)()
|
|
9077
9218
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9078
9219
|
__decorateClass([
|
|
9079
|
-
(0,
|
|
9080
|
-
(0,
|
|
9220
|
+
(0, import_class_validator115.IsOptional)(),
|
|
9221
|
+
(0, import_class_validator115.IsString)()
|
|
9081
9222
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9082
9223
|
__decorateClass([
|
|
9083
|
-
(0,
|
|
9224
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "Description is required" })
|
|
9084
9225
|
], UpdateFreelancerTimesheetDto.prototype, "description", 2);
|
|
9085
9226
|
|
|
9086
9227
|
// src/modules/timesheet/dto/submit-timesheet.dto.ts
|
|
9087
|
-
var
|
|
9228
|
+
var import_class_validator116 = require("class-validator");
|
|
9088
9229
|
var SubmitTimesheetDto = class {
|
|
9089
9230
|
};
|
|
9090
9231
|
__decorateClass([
|
|
9091
|
-
(0,
|
|
9092
|
-
(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" })
|
|
9093
9234
|
], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
9094
9235
|
|
|
9095
9236
|
// src/modules/timesheet/dto/resubmit-timesheet.dto.ts
|
|
9096
|
-
var
|
|
9237
|
+
var import_class_validator117 = require("class-validator");
|
|
9097
9238
|
var ResubmitTimesheetDto = class {
|
|
9098
9239
|
};
|
|
9099
9240
|
__decorateClass([
|
|
9100
|
-
(0,
|
|
9101
|
-
(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" })
|
|
9102
9243
|
], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
9103
9244
|
|
|
9104
9245
|
// src/modules/timesheet/dto/approve-timesheets.dto.ts
|
|
9105
|
-
var
|
|
9246
|
+
var import_class_validator118 = require("class-validator");
|
|
9106
9247
|
var ApproveTimesheetsDto = class {
|
|
9107
9248
|
};
|
|
9108
9249
|
__decorateClass([
|
|
9109
|
-
(0,
|
|
9110
|
-
(0,
|
|
9111
|
-
(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" })
|
|
9112
9253
|
], ApproveTimesheetsDto.prototype, "timesheetLineIds", 2);
|
|
9113
9254
|
|
|
9114
9255
|
// src/modules/timesheet/dto/send-back-timesheets.dto.ts
|
|
9115
|
-
var
|
|
9256
|
+
var import_class_validator119 = require("class-validator");
|
|
9116
9257
|
var SendBackTimesheetsDto = class {
|
|
9117
9258
|
};
|
|
9118
9259
|
__decorateClass([
|
|
9119
|
-
(0,
|
|
9120
|
-
(0,
|
|
9121
|
-
(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" })
|
|
9122
9263
|
], SendBackTimesheetsDto.prototype, "timesheetLineIds", 2);
|
|
9123
9264
|
__decorateClass([
|
|
9124
|
-
(0,
|
|
9125
|
-
(0,
|
|
9265
|
+
(0, import_class_validator119.IsOptional)(),
|
|
9266
|
+
(0, import_class_validator119.IsString)()
|
|
9126
9267
|
], SendBackTimesheetsDto.prototype, "reason", 2);
|
|
9127
9268
|
|
|
9128
9269
|
// src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
|
|
9129
|
-
var
|
|
9270
|
+
var import_class_validator120 = require("class-validator");
|
|
9130
9271
|
var CreateDefaultTimesheetLineDto = class {
|
|
9131
9272
|
};
|
|
9132
9273
|
__decorateClass([
|
|
9133
|
-
(0,
|
|
9134
|
-
(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" })
|
|
9135
9276
|
], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
|
|
9136
9277
|
__decorateClass([
|
|
9137
|
-
(0,
|
|
9138
|
-
(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" })
|
|
9139
9280
|
], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
|
|
9140
9281
|
__decorateClass([
|
|
9141
|
-
(0,
|
|
9142
|
-
(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" })
|
|
9143
9284
|
], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
|
|
9144
9285
|
|
|
9145
9286
|
// src/modules/invoice/pattern/pattern.ts
|
|
@@ -9161,23 +9302,23 @@ var INVOICE_PATTERN = {
|
|
|
9161
9302
|
};
|
|
9162
9303
|
|
|
9163
9304
|
// src/modules/invoice/dto/update-invoice-status.dto.ts
|
|
9164
|
-
var
|
|
9305
|
+
var import_class_validator121 = require("class-validator");
|
|
9165
9306
|
var UpdateInvoiceStatusDto = class {
|
|
9166
9307
|
};
|
|
9167
9308
|
__decorateClass([
|
|
9168
|
-
(0,
|
|
9169
|
-
(0,
|
|
9309
|
+
(0, import_class_validator121.IsNotEmpty)({ message: "Please provide invoice status." }),
|
|
9310
|
+
(0, import_class_validator121.IsEnum)(InvoiceStatusEnum, {
|
|
9170
9311
|
message: "Status must be one of: APPROVED, REJECTED"
|
|
9171
9312
|
})
|
|
9172
9313
|
], UpdateInvoiceStatusDto.prototype, "status", 2);
|
|
9173
9314
|
|
|
9174
9315
|
// src/modules/invoice/dto/create-invoice.dto.ts
|
|
9175
|
-
var
|
|
9316
|
+
var import_class_validator122 = require("class-validator");
|
|
9176
9317
|
var CreateInvoiceDto = class {
|
|
9177
9318
|
};
|
|
9178
9319
|
__decorateClass([
|
|
9179
|
-
(0,
|
|
9180
|
-
(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" })
|
|
9181
9322
|
], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
|
|
9182
9323
|
|
|
9183
9324
|
// src/modules/dispute/pattern/pattern.ts
|
|
@@ -9188,42 +9329,42 @@ var DISPUTE_PATTERN = {
|
|
|
9188
9329
|
};
|
|
9189
9330
|
|
|
9190
9331
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
9191
|
-
var
|
|
9332
|
+
var import_class_validator123 = require("class-validator");
|
|
9192
9333
|
var import_class_transformer18 = require("class-transformer");
|
|
9193
9334
|
var CreateDisputeDto = class {
|
|
9194
9335
|
};
|
|
9195
9336
|
__decorateClass([
|
|
9196
|
-
(0,
|
|
9197
|
-
(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" }),
|
|
9198
9339
|
(0, import_class_transformer18.Type)(() => Number)
|
|
9199
9340
|
], CreateDisputeDto.prototype, "clientId", 2);
|
|
9200
9341
|
__decorateClass([
|
|
9201
|
-
(0,
|
|
9202
|
-
(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" }),
|
|
9203
9344
|
(0, import_class_transformer18.Type)(() => Number)
|
|
9204
9345
|
], CreateDisputeDto.prototype, "freelancerId", 2);
|
|
9205
9346
|
__decorateClass([
|
|
9206
|
-
(0,
|
|
9207
|
-
(0,
|
|
9208
|
-
(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"])
|
|
9209
9350
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
9210
9351
|
__decorateClass([
|
|
9211
|
-
(0,
|
|
9212
|
-
(0,
|
|
9352
|
+
(0, import_class_validator123.IsNotEmpty)({ message: "Please provide initiator type." }),
|
|
9353
|
+
(0, import_class_validator123.IsString)()
|
|
9213
9354
|
], CreateDisputeDto.prototype, "initiatorType", 2);
|
|
9214
9355
|
__decorateClass([
|
|
9215
|
-
(0,
|
|
9216
|
-
(0,
|
|
9217
|
-
(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" })
|
|
9218
9359
|
], CreateDisputeDto.prototype, "description", 2);
|
|
9219
9360
|
__decorateClass([
|
|
9220
|
-
(0,
|
|
9221
|
-
(0,
|
|
9222
|
-
(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" })
|
|
9223
9364
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
9224
9365
|
__decorateClass([
|
|
9225
|
-
(0,
|
|
9226
|
-
(0,
|
|
9366
|
+
(0, import_class_validator123.IsOptional)(),
|
|
9367
|
+
(0, import_class_validator123.IsObject)({ message: "Dynamic fields must be a valid object" }),
|
|
9227
9368
|
(0, import_class_transformer18.Transform)(({ value }) => {
|
|
9228
9369
|
if (typeof value === "string") {
|
|
9229
9370
|
try {
|
|
@@ -9244,125 +9385,125 @@ var SENSELOAF_PATTERN = {
|
|
|
9244
9385
|
};
|
|
9245
9386
|
|
|
9246
9387
|
// src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
|
|
9247
|
-
var
|
|
9388
|
+
var import_class_validator124 = require("class-validator");
|
|
9248
9389
|
var AiInterviewQuestionGenerateDto = class {
|
|
9249
9390
|
};
|
|
9250
9391
|
__decorateClass([
|
|
9251
|
-
(0,
|
|
9392
|
+
(0, import_class_validator124.IsNotEmpty)({ message: "Please enter job description." })
|
|
9252
9393
|
], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
|
|
9253
9394
|
__decorateClass([
|
|
9254
|
-
(0,
|
|
9395
|
+
(0, import_class_validator124.IsNotEmpty)({ message: "Please enter number of questions." })
|
|
9255
9396
|
], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
|
|
9256
9397
|
|
|
9257
9398
|
// src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
|
|
9258
|
-
var
|
|
9399
|
+
var import_class_validator125 = require("class-validator");
|
|
9259
9400
|
var ResumeParsingByUrlDto = class {
|
|
9260
9401
|
};
|
|
9261
9402
|
__decorateClass([
|
|
9262
|
-
(0,
|
|
9263
|
-
(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" })
|
|
9264
9405
|
], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
|
|
9265
9406
|
__decorateClass([
|
|
9266
|
-
(0,
|
|
9267
|
-
(0,
|
|
9407
|
+
(0, import_class_validator125.IsOptional)(),
|
|
9408
|
+
(0, import_class_validator125.IsString)()
|
|
9268
9409
|
], ResumeParsingByUrlDto.prototype, "fileName", 2);
|
|
9269
9410
|
|
|
9270
9411
|
// src/modules/senseloaf/dto/resume-data-processing.dto.ts
|
|
9271
|
-
var
|
|
9412
|
+
var import_class_validator126 = require("class-validator");
|
|
9272
9413
|
var ResumeDataProcessingDto = class {
|
|
9273
9414
|
};
|
|
9274
9415
|
__decorateClass([
|
|
9275
|
-
(0,
|
|
9276
|
-
(0,
|
|
9416
|
+
(0, import_class_validator126.IsNotEmpty)({ message: "Resume data is required" }),
|
|
9417
|
+
(0, import_class_validator126.IsObject)()
|
|
9277
9418
|
], ResumeDataProcessingDto.prototype, "resumeData", 2);
|
|
9278
9419
|
__decorateClass([
|
|
9279
|
-
(0,
|
|
9280
|
-
(0,
|
|
9420
|
+
(0, import_class_validator126.IsOptional)(),
|
|
9421
|
+
(0, import_class_validator126.IsString)()
|
|
9281
9422
|
], ResumeDataProcessingDto.prototype, "userId", 2);
|
|
9282
9423
|
__decorateClass([
|
|
9283
|
-
(0,
|
|
9284
|
-
(0,
|
|
9424
|
+
(0, import_class_validator126.IsOptional)(),
|
|
9425
|
+
(0, import_class_validator126.IsString)()
|
|
9285
9426
|
], ResumeDataProcessingDto.prototype, "processingType", 2);
|
|
9286
9427
|
|
|
9287
9428
|
// src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
|
|
9288
|
-
var
|
|
9429
|
+
var import_class_validator127 = require("class-validator");
|
|
9289
9430
|
var CheckResumeEligibilityDto = class {
|
|
9290
9431
|
};
|
|
9291
9432
|
__decorateClass([
|
|
9292
|
-
(0,
|
|
9293
|
-
(0,
|
|
9433
|
+
(0, import_class_validator127.IsNotEmpty)({ message: "Resume data is required" }),
|
|
9434
|
+
(0, import_class_validator127.IsObject)()
|
|
9294
9435
|
], CheckResumeEligibilityDto.prototype, "resumeData", 2);
|
|
9295
9436
|
__decorateClass([
|
|
9296
|
-
(0,
|
|
9297
|
-
(0,
|
|
9437
|
+
(0, import_class_validator127.IsOptional)(),
|
|
9438
|
+
(0, import_class_validator127.IsString)()
|
|
9298
9439
|
], CheckResumeEligibilityDto.prototype, "jobId", 2);
|
|
9299
9440
|
__decorateClass([
|
|
9300
|
-
(0,
|
|
9301
|
-
(0,
|
|
9441
|
+
(0, import_class_validator127.IsOptional)(),
|
|
9442
|
+
(0, import_class_validator127.IsString)()
|
|
9302
9443
|
], CheckResumeEligibilityDto.prototype, "userId", 2);
|
|
9303
9444
|
|
|
9304
9445
|
// src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
|
|
9305
|
-
var
|
|
9446
|
+
var import_class_validator128 = require("class-validator");
|
|
9306
9447
|
var AiInterviewTemplateGenerationDto = class {
|
|
9307
9448
|
};
|
|
9308
9449
|
__decorateClass([
|
|
9309
|
-
(0,
|
|
9310
|
-
(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" })
|
|
9311
9452
|
], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
|
|
9312
9453
|
__decorateClass([
|
|
9313
|
-
(0,
|
|
9314
|
-
(0,
|
|
9315
|
-
(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" })
|
|
9316
9457
|
], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
|
|
9317
9458
|
__decorateClass([
|
|
9318
|
-
(0,
|
|
9319
|
-
(0,
|
|
9459
|
+
(0, import_class_validator128.IsOptional)(),
|
|
9460
|
+
(0, import_class_validator128.IsNumber)({}, { message: "Number of questions must be a number" })
|
|
9320
9461
|
], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
|
|
9321
9462
|
__decorateClass([
|
|
9322
|
-
(0,
|
|
9323
|
-
(0,
|
|
9463
|
+
(0, import_class_validator128.IsOptional)(),
|
|
9464
|
+
(0, import_class_validator128.IsString)()
|
|
9324
9465
|
], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
|
|
9325
9466
|
|
|
9326
9467
|
// src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
|
|
9327
|
-
var
|
|
9468
|
+
var import_class_validator129 = require("class-validator");
|
|
9328
9469
|
var AiInterviewLinkGenerationDto = class {
|
|
9329
9470
|
};
|
|
9330
9471
|
__decorateClass([
|
|
9331
|
-
(0,
|
|
9332
|
-
(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" })
|
|
9333
9474
|
], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
|
|
9334
9475
|
__decorateClass([
|
|
9335
|
-
(0,
|
|
9336
|
-
(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" })
|
|
9337
9478
|
], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
|
|
9338
9479
|
__decorateClass([
|
|
9339
|
-
(0,
|
|
9340
|
-
(0,
|
|
9480
|
+
(0, import_class_validator129.IsOptional)(),
|
|
9481
|
+
(0, import_class_validator129.IsString)()
|
|
9341
9482
|
], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
|
|
9342
9483
|
__decorateClass([
|
|
9343
|
-
(0,
|
|
9344
|
-
(0,
|
|
9484
|
+
(0, import_class_validator129.IsOptional)(),
|
|
9485
|
+
(0, import_class_validator129.IsNumber)({}, { message: "Expiry hours must be a number" })
|
|
9345
9486
|
], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
|
|
9346
9487
|
|
|
9347
9488
|
// src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
|
|
9348
|
-
var
|
|
9489
|
+
var import_class_validator130 = require("class-validator");
|
|
9349
9490
|
var AiAssessmentCreationDto = class {
|
|
9350
9491
|
};
|
|
9351
9492
|
__decorateClass([
|
|
9352
|
-
(0,
|
|
9353
|
-
(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" })
|
|
9354
9495
|
], AiAssessmentCreationDto.prototype, "userId", 2);
|
|
9355
9496
|
__decorateClass([
|
|
9356
|
-
(0,
|
|
9357
|
-
(0,
|
|
9497
|
+
(0, import_class_validator130.IsOptional)(),
|
|
9498
|
+
(0, import_class_validator130.IsString)()
|
|
9358
9499
|
], AiAssessmentCreationDto.prototype, "assessmentType", 2);
|
|
9359
9500
|
__decorateClass([
|
|
9360
|
-
(0,
|
|
9361
|
-
(0,
|
|
9501
|
+
(0, import_class_validator130.IsOptional)(),
|
|
9502
|
+
(0, import_class_validator130.IsNumber)({}, { message: "Number of questions must be a number" })
|
|
9362
9503
|
], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
|
|
9363
9504
|
__decorateClass([
|
|
9364
|
-
(0,
|
|
9365
|
-
(0,
|
|
9505
|
+
(0, import_class_validator130.IsOptional)(),
|
|
9506
|
+
(0, import_class_validator130.IsString)()
|
|
9366
9507
|
], AiAssessmentCreationDto.prototype, "difficulty", 2);
|
|
9367
9508
|
|
|
9368
9509
|
// src/modules/commission/pattern/pattern.ts
|
|
@@ -9378,16 +9519,16 @@ var HIRING_PATTERN = {
|
|
|
9378
9519
|
};
|
|
9379
9520
|
|
|
9380
9521
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
9381
|
-
var
|
|
9522
|
+
var import_class_validator131 = require("class-validator");
|
|
9382
9523
|
var CreateHiringDto = class {
|
|
9383
9524
|
};
|
|
9384
9525
|
__decorateClass([
|
|
9385
|
-
(0,
|
|
9386
|
-
(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" })
|
|
9387
9528
|
], CreateHiringDto.prototype, "freelancerId", 2);
|
|
9388
9529
|
__decorateClass([
|
|
9389
|
-
(0,
|
|
9390
|
-
(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" })
|
|
9391
9532
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
9392
9533
|
|
|
9393
9534
|
// src/modules/llm/pattern/pattern.ts
|
|
@@ -9408,16 +9549,16 @@ var SIGNATURE_PATTERN = {
|
|
|
9408
9549
|
};
|
|
9409
9550
|
|
|
9410
9551
|
// src/modules/user/signature/dto/save-signature.dto.ts
|
|
9411
|
-
var
|
|
9552
|
+
var import_class_validator132 = require("class-validator");
|
|
9412
9553
|
var SaveSignatureDto = class {
|
|
9413
9554
|
};
|
|
9414
9555
|
__decorateClass([
|
|
9415
|
-
(0,
|
|
9416
|
-
(0,
|
|
9556
|
+
(0, import_class_validator132.IsOptional)(),
|
|
9557
|
+
(0, import_class_validator132.IsString)()
|
|
9417
9558
|
], SaveSignatureDto.prototype, "signatureType", 2);
|
|
9418
9559
|
__decorateClass([
|
|
9419
|
-
(0,
|
|
9420
|
-
(0,
|
|
9560
|
+
(0, import_class_validator132.IsOptional)(),
|
|
9561
|
+
(0, import_class_validator132.IsString)()
|
|
9421
9562
|
], SaveSignatureDto.prototype, "description", 2);
|
|
9422
9563
|
|
|
9423
9564
|
// src/modules/wallet/pattern/pattern.ts
|
|
@@ -9435,25 +9576,25 @@ var WALLET_ADMIN_PATTERN = {
|
|
|
9435
9576
|
};
|
|
9436
9577
|
|
|
9437
9578
|
// src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
|
|
9438
|
-
var
|
|
9579
|
+
var import_class_validator133 = require("class-validator");
|
|
9439
9580
|
var AddTopupEscrowAmountDto = class {
|
|
9440
9581
|
};
|
|
9441
9582
|
__decorateClass([
|
|
9442
|
-
(0,
|
|
9443
|
-
(0,
|
|
9583
|
+
(0, import_class_validator133.IsNotEmpty)({ message: "Amount is required" }),
|
|
9584
|
+
(0, import_class_validator133.IsNumber)({}, { message: "Amount must be a number" })
|
|
9444
9585
|
], AddTopupEscrowAmountDto.prototype, "amount", 2);
|
|
9445
9586
|
|
|
9446
9587
|
// src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
|
|
9447
|
-
var
|
|
9588
|
+
var import_class_validator134 = require("class-validator");
|
|
9448
9589
|
var DebitCommissionFteHiringDto = class {
|
|
9449
9590
|
};
|
|
9450
9591
|
__decorateClass([
|
|
9451
|
-
(0,
|
|
9452
|
-
(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" })
|
|
9453
9594
|
], DebitCommissionFteHiringDto.prototype, "hiringId", 2);
|
|
9454
9595
|
__decorateClass([
|
|
9455
|
-
(0,
|
|
9456
|
-
(0,
|
|
9596
|
+
(0, import_class_validator134.IsNotEmpty)({ message: "Amount is required" }),
|
|
9597
|
+
(0, import_class_validator134.IsNumber)({}, { message: "Amount must be a number" })
|
|
9457
9598
|
], DebitCommissionFteHiringDto.prototype, "amount", 2);
|
|
9458
9599
|
|
|
9459
9600
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -10793,6 +10934,7 @@ RecommendationWeightageConfig = __decorateClass([
|
|
|
10793
10934
|
TypeOfEmploymentEnumDto,
|
|
10794
10935
|
TypeOfEmploymentEnums,
|
|
10795
10936
|
UpdateAdminRoleDto,
|
|
10937
|
+
UpdateAdminRoleStatusDto,
|
|
10796
10938
|
UpdateAssessmentRequestStatusDto,
|
|
10797
10939
|
UpdateClientAccountStatusDto,
|
|
10798
10940
|
UpdateClientDto,
|