@experts_hub/shared 1.0.243 → 1.0.244
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 +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +30 -18
- package/dist/index.mjs +126 -107
- package/dist/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.d.ts +10 -8
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -490,14 +490,16 @@ declare enum ModeOfWorkDto {
|
|
|
490
490
|
BOTH = "BOTH"
|
|
491
491
|
}
|
|
492
492
|
declare class UpdateFreelancerProfileDto {
|
|
493
|
-
firstName
|
|
494
|
-
lastName
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
493
|
+
firstName: string;
|
|
494
|
+
lastName: string;
|
|
495
|
+
designation: string;
|
|
496
|
+
experience: string;
|
|
497
|
+
email: string;
|
|
498
|
+
mobileCode: string;
|
|
499
|
+
mobile: string;
|
|
500
|
+
countryId: number;
|
|
501
|
+
currency: string;
|
|
502
|
+
expectedHourlyCompensation: string;
|
|
501
503
|
natureOfWork: NatureOfWorkDto;
|
|
502
504
|
modeOfWork: ModeOfWorkDto;
|
|
503
505
|
portfolioLink?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -490,14 +490,16 @@ declare enum ModeOfWorkDto {
|
|
|
490
490
|
BOTH = "BOTH"
|
|
491
491
|
}
|
|
492
492
|
declare class UpdateFreelancerProfileDto {
|
|
493
|
-
firstName
|
|
494
|
-
lastName
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
493
|
+
firstName: string;
|
|
494
|
+
lastName: string;
|
|
495
|
+
designation: string;
|
|
496
|
+
experience: string;
|
|
497
|
+
email: string;
|
|
498
|
+
mobileCode: string;
|
|
499
|
+
mobile: string;
|
|
500
|
+
countryId: number;
|
|
501
|
+
currency: string;
|
|
502
|
+
expectedHourlyCompensation: string;
|
|
501
503
|
natureOfWork: NatureOfWorkDto;
|
|
502
504
|
modeOfWork: ModeOfWorkDto;
|
|
503
505
|
portfolioLink?: string;
|
package/dist/index.js
CHANGED
|
@@ -1060,47 +1060,59 @@ var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
|
|
|
1060
1060
|
var UpdateFreelancerProfileDto = class {
|
|
1061
1061
|
};
|
|
1062
1062
|
__decorateClass([
|
|
1063
|
-
(0, import_class_validator34.
|
|
1064
|
-
(0, import_class_validator34.IsString)()
|
|
1063
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please enter first name." }),
|
|
1064
|
+
(0, import_class_validator34.IsString)({ message: "Please enter valid first name." })
|
|
1065
1065
|
], UpdateFreelancerProfileDto.prototype, "firstName", 2);
|
|
1066
1066
|
__decorateClass([
|
|
1067
|
-
(0, import_class_validator34.
|
|
1068
|
-
(0, import_class_validator34.IsString)()
|
|
1067
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please enter last name." }),
|
|
1068
|
+
(0, import_class_validator34.IsString)({ message: "Please enter valid last name." })
|
|
1069
1069
|
], UpdateFreelancerProfileDto.prototype, "lastName", 2);
|
|
1070
1070
|
__decorateClass([
|
|
1071
|
-
(0, import_class_validator34.
|
|
1071
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please enter designation." }),
|
|
1072
|
+
(0, import_class_validator34.IsString)({ message: "Please enter valid designation." })
|
|
1073
|
+
], UpdateFreelancerProfileDto.prototype, "designation", 2);
|
|
1074
|
+
__decorateClass([
|
|
1075
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please enter experience." }),
|
|
1076
|
+
(0, import_class_validator34.IsString)({ message: "Please enter valid experience." })
|
|
1077
|
+
], UpdateFreelancerProfileDto.prototype, "experience", 2);
|
|
1078
|
+
__decorateClass([
|
|
1079
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please enter email id." }),
|
|
1072
1080
|
(0, import_class_validator34.IsEmail)()
|
|
1073
1081
|
], UpdateFreelancerProfileDto.prototype, "email", 2);
|
|
1074
1082
|
__decorateClass([
|
|
1075
|
-
(0, import_class_validator34.
|
|
1076
|
-
(0, import_class_validator34.IsString)()
|
|
1083
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please enter mobile code." }),
|
|
1084
|
+
(0, import_class_validator34.IsString)({ message: "Please enter valid mobile code." })
|
|
1077
1085
|
], UpdateFreelancerProfileDto.prototype, "mobileCode", 2);
|
|
1078
1086
|
__decorateClass([
|
|
1079
|
-
(0, import_class_validator34.
|
|
1080
|
-
(0, import_class_validator34.IsString)()
|
|
1087
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please enter mobile number." }),
|
|
1088
|
+
(0, import_class_validator34.IsString)({ message: "Please enter valid mobile number." })
|
|
1081
1089
|
], UpdateFreelancerProfileDto.prototype, "mobile", 2);
|
|
1082
1090
|
__decorateClass([
|
|
1083
|
-
(0, import_class_validator34.
|
|
1091
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please select country." }),
|
|
1084
1092
|
(0, import_class_validator34.IsNumber)()
|
|
1085
1093
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
1086
1094
|
__decorateClass([
|
|
1087
|
-
(0, import_class_validator34.
|
|
1088
|
-
(0, import_class_validator34.IsString)()
|
|
1095
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please select currency." }),
|
|
1096
|
+
(0, import_class_validator34.IsString)({ message: "Please enter valid currency." })
|
|
1089
1097
|
], UpdateFreelancerProfileDto.prototype, "currency", 2);
|
|
1090
1098
|
__decorateClass([
|
|
1091
|
-
(0, import_class_validator34.
|
|
1092
|
-
(0, import_class_validator34.IsString)()
|
|
1099
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please enter expected hourly compensation." }),
|
|
1100
|
+
(0, import_class_validator34.IsString)({ message: "Please enter valid expected hourly compensation." })
|
|
1093
1101
|
], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
|
|
1094
1102
|
__decorateClass([
|
|
1095
|
-
(0, import_class_validator34.
|
|
1103
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please select engagement type." }),
|
|
1096
1104
|
(0, import_class_validator34.IsEnum)(NatureOfWorkDto, {
|
|
1097
|
-
message: `Engagement Type must be one of: ${Object.values(
|
|
1105
|
+
message: `Engagement Type must be one of: ${Object.values(
|
|
1106
|
+
NatureOfWorkDto
|
|
1107
|
+
).join(", ")}`
|
|
1098
1108
|
})
|
|
1099
1109
|
], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
|
|
1100
1110
|
__decorateClass([
|
|
1101
|
-
(0, import_class_validator34.
|
|
1111
|
+
(0, import_class_validator34.IsNotEmpty)({ message: "Please select mode of work." }),
|
|
1102
1112
|
(0, import_class_validator34.IsEnum)(ModeOfWorkDto, {
|
|
1103
|
-
message: `
|
|
1113
|
+
message: `Mode of work must be one of: ${Object.values(ModeOfWorkDto).join(
|
|
1114
|
+
", "
|
|
1115
|
+
)}`
|
|
1104
1116
|
})
|
|
1105
1117
|
], UpdateFreelancerProfileDto.prototype, "modeOfWork", 2);
|
|
1106
1118
|
__decorateClass([
|
package/dist/index.mjs
CHANGED
|
@@ -915,7 +915,14 @@ __decorateClass([
|
|
|
915
915
|
], FreelancerChangePasswordDto.prototype, "newPassword", 2);
|
|
916
916
|
|
|
917
917
|
// src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
|
|
918
|
-
import {
|
|
918
|
+
import {
|
|
919
|
+
IsOptional as IsOptional8,
|
|
920
|
+
IsString as IsString16,
|
|
921
|
+
IsEmail as IsEmail6,
|
|
922
|
+
IsNumber as IsNumber2,
|
|
923
|
+
IsEnum as IsEnum9,
|
|
924
|
+
IsNotEmpty as IsNotEmpty30
|
|
925
|
+
} from "class-validator";
|
|
919
926
|
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
|
|
920
927
|
NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
|
|
921
928
|
NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
|
|
@@ -931,47 +938,59 @@ var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
|
|
|
931
938
|
var UpdateFreelancerProfileDto = class {
|
|
932
939
|
};
|
|
933
940
|
__decorateClass([
|
|
934
|
-
|
|
935
|
-
IsString16()
|
|
941
|
+
IsNotEmpty30({ message: "Please enter first name." }),
|
|
942
|
+
IsString16({ message: "Please enter valid first name." })
|
|
936
943
|
], UpdateFreelancerProfileDto.prototype, "firstName", 2);
|
|
937
944
|
__decorateClass([
|
|
938
|
-
|
|
939
|
-
IsString16()
|
|
945
|
+
IsNotEmpty30({ message: "Please enter last name." }),
|
|
946
|
+
IsString16({ message: "Please enter valid last name." })
|
|
940
947
|
], UpdateFreelancerProfileDto.prototype, "lastName", 2);
|
|
941
948
|
__decorateClass([
|
|
942
|
-
|
|
949
|
+
IsNotEmpty30({ message: "Please enter designation." }),
|
|
950
|
+
IsString16({ message: "Please enter valid designation." })
|
|
951
|
+
], UpdateFreelancerProfileDto.prototype, "designation", 2);
|
|
952
|
+
__decorateClass([
|
|
953
|
+
IsNotEmpty30({ message: "Please enter experience." }),
|
|
954
|
+
IsString16({ message: "Please enter valid experience." })
|
|
955
|
+
], UpdateFreelancerProfileDto.prototype, "experience", 2);
|
|
956
|
+
__decorateClass([
|
|
957
|
+
IsNotEmpty30({ message: "Please enter email id." }),
|
|
943
958
|
IsEmail6()
|
|
944
959
|
], UpdateFreelancerProfileDto.prototype, "email", 2);
|
|
945
960
|
__decorateClass([
|
|
946
|
-
|
|
947
|
-
IsString16()
|
|
961
|
+
IsNotEmpty30({ message: "Please enter mobile code." }),
|
|
962
|
+
IsString16({ message: "Please enter valid mobile code." })
|
|
948
963
|
], UpdateFreelancerProfileDto.prototype, "mobileCode", 2);
|
|
949
964
|
__decorateClass([
|
|
950
|
-
|
|
951
|
-
IsString16()
|
|
965
|
+
IsNotEmpty30({ message: "Please enter mobile number." }),
|
|
966
|
+
IsString16({ message: "Please enter valid mobile number." })
|
|
952
967
|
], UpdateFreelancerProfileDto.prototype, "mobile", 2);
|
|
953
968
|
__decorateClass([
|
|
954
|
-
|
|
969
|
+
IsNotEmpty30({ message: "Please select country." }),
|
|
955
970
|
IsNumber2()
|
|
956
971
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
957
972
|
__decorateClass([
|
|
958
|
-
|
|
959
|
-
IsString16()
|
|
973
|
+
IsNotEmpty30({ message: "Please select currency." }),
|
|
974
|
+
IsString16({ message: "Please enter valid currency." })
|
|
960
975
|
], UpdateFreelancerProfileDto.prototype, "currency", 2);
|
|
961
976
|
__decorateClass([
|
|
962
|
-
|
|
963
|
-
IsString16()
|
|
977
|
+
IsNotEmpty30({ message: "Please enter expected hourly compensation." }),
|
|
978
|
+
IsString16({ message: "Please enter valid expected hourly compensation." })
|
|
964
979
|
], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
|
|
965
980
|
__decorateClass([
|
|
966
|
-
|
|
981
|
+
IsNotEmpty30({ message: "Please select engagement type." }),
|
|
967
982
|
IsEnum9(NatureOfWorkDto, {
|
|
968
|
-
message: `Engagement Type must be one of: ${Object.values(
|
|
983
|
+
message: `Engagement Type must be one of: ${Object.values(
|
|
984
|
+
NatureOfWorkDto
|
|
985
|
+
).join(", ")}`
|
|
969
986
|
})
|
|
970
987
|
], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
|
|
971
988
|
__decorateClass([
|
|
972
|
-
|
|
989
|
+
IsNotEmpty30({ message: "Please select mode of work." }),
|
|
973
990
|
IsEnum9(ModeOfWorkDto, {
|
|
974
|
-
message: `
|
|
991
|
+
message: `Mode of work must be one of: ${Object.values(ModeOfWorkDto).join(
|
|
992
|
+
", "
|
|
993
|
+
)}`
|
|
975
994
|
})
|
|
976
995
|
], UpdateFreelancerProfileDto.prototype, "modeOfWork", 2);
|
|
977
996
|
__decorateClass([
|
|
@@ -1017,7 +1036,7 @@ var BANK_PATTERN = {
|
|
|
1017
1036
|
// src/modules/bank/dto/freelancer-bank-details.dto.ts
|
|
1018
1037
|
import {
|
|
1019
1038
|
IsEnum as IsEnum10,
|
|
1020
|
-
IsNotEmpty as
|
|
1039
|
+
IsNotEmpty as IsNotEmpty31,
|
|
1021
1040
|
IsOptional as IsOptional9,
|
|
1022
1041
|
ValidateIf as ValidateIf2
|
|
1023
1042
|
} from "class-validator";
|
|
@@ -1029,41 +1048,41 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
|
1029
1048
|
var FreelancerBankDetailsDto = class {
|
|
1030
1049
|
};
|
|
1031
1050
|
__decorateClass([
|
|
1032
|
-
|
|
1051
|
+
IsNotEmpty31({ message: "Please enter Account Holder Name." })
|
|
1033
1052
|
], FreelancerBankDetailsDto.prototype, "name", 2);
|
|
1034
1053
|
__decorateClass([
|
|
1035
|
-
|
|
1054
|
+
IsNotEmpty31({ message: "Please enter Mobile Number." })
|
|
1036
1055
|
], FreelancerBankDetailsDto.prototype, "mobile", 2);
|
|
1037
1056
|
__decorateClass([
|
|
1038
|
-
|
|
1057
|
+
IsNotEmpty31({ message: "Please enter Email." })
|
|
1039
1058
|
], FreelancerBankDetailsDto.prototype, "email", 2);
|
|
1040
1059
|
__decorateClass([
|
|
1041
1060
|
IsOptional9()
|
|
1042
1061
|
], FreelancerBankDetailsDto.prototype, "address", 2);
|
|
1043
1062
|
__decorateClass([
|
|
1044
|
-
|
|
1063
|
+
IsNotEmpty31({ message: "Please enter Account Number." })
|
|
1045
1064
|
], FreelancerBankDetailsDto.prototype, "accountNumber", 2);
|
|
1046
1065
|
__decorateClass([
|
|
1047
|
-
|
|
1066
|
+
IsNotEmpty31({ message: "Please enter Bank Name." })
|
|
1048
1067
|
], FreelancerBankDetailsDto.prototype, "bankName", 2);
|
|
1049
1068
|
__decorateClass([
|
|
1050
|
-
|
|
1069
|
+
IsNotEmpty31({ message: "Please enter Branch Name." })
|
|
1051
1070
|
], FreelancerBankDetailsDto.prototype, "branchName", 2);
|
|
1052
1071
|
__decorateClass([
|
|
1053
1072
|
ValidateIf2((dto) => dto.accountScope === "DOMESTIC"),
|
|
1054
|
-
|
|
1073
|
+
IsNotEmpty31({ message: "IFSC Code is required for DOMESTIC accounts." })
|
|
1055
1074
|
], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
|
|
1056
1075
|
__decorateClass([
|
|
1057
1076
|
ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
1058
|
-
|
|
1077
|
+
IsNotEmpty31({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
|
|
1059
1078
|
], FreelancerBankDetailsDto.prototype, "routingNo", 2);
|
|
1060
1079
|
__decorateClass([
|
|
1061
1080
|
ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
1062
|
-
|
|
1081
|
+
IsNotEmpty31({ message: "ABA Number is required for INTERNATIONAL accounts." })
|
|
1063
1082
|
], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
|
|
1064
1083
|
__decorateClass([
|
|
1065
1084
|
ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
1066
|
-
|
|
1085
|
+
IsNotEmpty31({ message: "IBAN is required for INTERNATIONAL accounts." })
|
|
1067
1086
|
], FreelancerBankDetailsDto.prototype, "iban", 2);
|
|
1068
1087
|
__decorateClass([
|
|
1069
1088
|
IsOptional9()
|
|
@@ -1127,7 +1146,7 @@ var RATING_PATTERN = {
|
|
|
1127
1146
|
import {
|
|
1128
1147
|
IsEnum as IsEnum12,
|
|
1129
1148
|
IsInt,
|
|
1130
|
-
IsNotEmpty as
|
|
1149
|
+
IsNotEmpty as IsNotEmpty32,
|
|
1131
1150
|
IsOptional as IsOptional10,
|
|
1132
1151
|
IsString as IsString17,
|
|
1133
1152
|
Max,
|
|
@@ -3293,7 +3312,7 @@ var CreateRatingDto = class {
|
|
|
3293
3312
|
};
|
|
3294
3313
|
__decorateClass([
|
|
3295
3314
|
IsInt({ message: "Reviewee ID must be a valid integer" }),
|
|
3296
|
-
|
|
3315
|
+
IsNotEmpty32({ message: "Reviewee ID is required" })
|
|
3297
3316
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
3298
3317
|
__decorateClass([
|
|
3299
3318
|
IsEnum12(RatingTypeEnum, {
|
|
@@ -3323,17 +3342,17 @@ var COMPANY_ROLES_PATTERNS = {
|
|
|
3323
3342
|
};
|
|
3324
3343
|
|
|
3325
3344
|
// src/modules/company-role/dto/create-company-role.dto.ts
|
|
3326
|
-
import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean6, IsInt as IsInt2, IsNotEmpty as
|
|
3345
|
+
import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean6, IsInt as IsInt2, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional11 } from "class-validator";
|
|
3327
3346
|
var CreateCompanyRoleDto = class {
|
|
3328
3347
|
};
|
|
3329
3348
|
__decorateClass([
|
|
3330
|
-
|
|
3349
|
+
IsNotEmpty33({ message: "Please enter company role name." })
|
|
3331
3350
|
], CreateCompanyRoleDto.prototype, "name", 2);
|
|
3332
3351
|
__decorateClass([
|
|
3333
|
-
|
|
3352
|
+
IsNotEmpty33({ message: "Please enter company role slug" })
|
|
3334
3353
|
], CreateCompanyRoleDto.prototype, "slug", 2);
|
|
3335
3354
|
__decorateClass([
|
|
3336
|
-
|
|
3355
|
+
IsNotEmpty33({ message: "Please enter description" })
|
|
3337
3356
|
], CreateCompanyRoleDto.prototype, "description", 2);
|
|
3338
3357
|
__decorateClass([
|
|
3339
3358
|
IsArray2({ message: "Permission IDs must be an array." }),
|
|
@@ -3346,17 +3365,17 @@ __decorateClass([
|
|
|
3346
3365
|
], CreateCompanyRoleDto.prototype, "isActive", 2);
|
|
3347
3366
|
|
|
3348
3367
|
// src/modules/company-role/dto/update-company-role.dto.ts
|
|
3349
|
-
import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean7, IsInt as IsInt3, IsNotEmpty as
|
|
3368
|
+
import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean7, IsInt as IsInt3, IsNotEmpty as IsNotEmpty34, IsOptional as IsOptional12 } from "class-validator";
|
|
3350
3369
|
var UpdateCompanyRoleDto = class {
|
|
3351
3370
|
};
|
|
3352
3371
|
__decorateClass([
|
|
3353
|
-
|
|
3372
|
+
IsNotEmpty34({ message: "Please enter company name." })
|
|
3354
3373
|
], UpdateCompanyRoleDto.prototype, "name", 2);
|
|
3355
3374
|
__decorateClass([
|
|
3356
|
-
|
|
3375
|
+
IsNotEmpty34({ message: "Please enter slug" })
|
|
3357
3376
|
], UpdateCompanyRoleDto.prototype, "slug", 2);
|
|
3358
3377
|
__decorateClass([
|
|
3359
|
-
|
|
3378
|
+
IsNotEmpty34({ message: "Please enter description" })
|
|
3360
3379
|
], UpdateCompanyRoleDto.prototype, "description", 2);
|
|
3361
3380
|
__decorateClass([
|
|
3362
3381
|
IsArray3({ message: "Permission IDs must be an array." }),
|
|
@@ -3385,7 +3404,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
|
|
|
3385
3404
|
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
3386
3405
|
import {
|
|
3387
3406
|
ArrayMinSize,
|
|
3388
|
-
IsNotEmpty as
|
|
3407
|
+
IsNotEmpty as IsNotEmpty35,
|
|
3389
3408
|
IsOptional as IsOptional13,
|
|
3390
3409
|
IsString as IsString20,
|
|
3391
3410
|
MaxLength as MaxLength10,
|
|
@@ -3398,19 +3417,19 @@ __decorateClass([
|
|
|
3398
3417
|
IsOptional13()
|
|
3399
3418
|
], ExperienceDto.prototype, "uuid", 2);
|
|
3400
3419
|
__decorateClass([
|
|
3401
|
-
|
|
3420
|
+
IsNotEmpty35(),
|
|
3402
3421
|
IsString20()
|
|
3403
3422
|
], ExperienceDto.prototype, "companyName", 2);
|
|
3404
3423
|
__decorateClass([
|
|
3405
|
-
|
|
3424
|
+
IsNotEmpty35(),
|
|
3406
3425
|
IsString20()
|
|
3407
3426
|
], ExperienceDto.prototype, "designation", 2);
|
|
3408
3427
|
__decorateClass([
|
|
3409
|
-
|
|
3428
|
+
IsNotEmpty35(),
|
|
3410
3429
|
IsString20()
|
|
3411
3430
|
], ExperienceDto.prototype, "jobDuration", 2);
|
|
3412
3431
|
__decorateClass([
|
|
3413
|
-
|
|
3432
|
+
IsNotEmpty35(),
|
|
3414
3433
|
IsString20(),
|
|
3415
3434
|
MaxLength10(500, { message: "Description must not exceed 500 characters" })
|
|
3416
3435
|
], ExperienceDto.prototype, "description", 2);
|
|
@@ -3435,14 +3454,14 @@ var COMPANY_MEMBERS_PATTERNS = {
|
|
|
3435
3454
|
};
|
|
3436
3455
|
|
|
3437
3456
|
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
3438
|
-
import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray4, IsInt as IsInt4, IsNotEmpty as
|
|
3457
|
+
import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray4, IsInt as IsInt4, IsNotEmpty as IsNotEmpty36 } from "class-validator";
|
|
3439
3458
|
var CreateCompanyMemberDto = class {
|
|
3440
3459
|
};
|
|
3441
3460
|
__decorateClass([
|
|
3442
|
-
|
|
3461
|
+
IsNotEmpty36({ message: "Please enter name." })
|
|
3443
3462
|
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
3444
3463
|
__decorateClass([
|
|
3445
|
-
|
|
3464
|
+
IsNotEmpty36({ message: "Please enter email" })
|
|
3446
3465
|
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
3447
3466
|
__decorateClass([
|
|
3448
3467
|
IsArray4({ message: "Role IDs must be an array." }),
|
|
@@ -3451,14 +3470,14 @@ __decorateClass([
|
|
|
3451
3470
|
], CreateCompanyMemberDto.prototype, "roleIds", 2);
|
|
3452
3471
|
|
|
3453
3472
|
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
3454
|
-
import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray5, IsInt as IsInt5, IsNotEmpty as
|
|
3473
|
+
import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray5, IsInt as IsInt5, IsNotEmpty as IsNotEmpty37 } from "class-validator";
|
|
3455
3474
|
var UpdateCompanyMemberDto = class {
|
|
3456
3475
|
};
|
|
3457
3476
|
__decorateClass([
|
|
3458
|
-
|
|
3477
|
+
IsNotEmpty37({ message: "Please enter name." })
|
|
3459
3478
|
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
3460
3479
|
__decorateClass([
|
|
3461
|
-
|
|
3480
|
+
IsNotEmpty37({ message: "Please enter email" })
|
|
3462
3481
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
3463
3482
|
__decorateClass([
|
|
3464
3483
|
IsArray5({ message: "Role IDs must be an array." }),
|
|
@@ -3481,7 +3500,7 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
3481
3500
|
};
|
|
3482
3501
|
|
|
3483
3502
|
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
3484
|
-
import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as
|
|
3503
|
+
import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty38, IsOptional as IsOptional16, ArrayMinSize as ArrayMinSize2 } from "class-validator";
|
|
3485
3504
|
import { Type as Type3 } from "class-transformer";
|
|
3486
3505
|
var EducationDto = class {
|
|
3487
3506
|
};
|
|
@@ -3490,15 +3509,15 @@ __decorateClass([
|
|
|
3490
3509
|
], EducationDto.prototype, "uuid", 2);
|
|
3491
3510
|
__decorateClass([
|
|
3492
3511
|
IsString23(),
|
|
3493
|
-
|
|
3512
|
+
IsNotEmpty38({ message: "Please Enter Degree " })
|
|
3494
3513
|
], EducationDto.prototype, "degree", 2);
|
|
3495
3514
|
__decorateClass([
|
|
3496
3515
|
IsString23(),
|
|
3497
|
-
|
|
3516
|
+
IsNotEmpty38({ message: "Please Enter University " })
|
|
3498
3517
|
], EducationDto.prototype, "university", 2);
|
|
3499
3518
|
__decorateClass([
|
|
3500
3519
|
IsString23(),
|
|
3501
|
-
|
|
3520
|
+
IsNotEmpty38({ message: "Please Enter Year of Graduation " })
|
|
3502
3521
|
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
3503
3522
|
var FreelancerEducationDto = class {
|
|
3504
3523
|
};
|
|
@@ -3516,7 +3535,7 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
3516
3535
|
};
|
|
3517
3536
|
|
|
3518
3537
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
3519
|
-
import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as
|
|
3538
|
+
import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty39, IsOptional as IsOptional17, IsDateString, MaxLength as MaxLength12, ArrayMinSize as ArrayMinSize3 } from "class-validator";
|
|
3520
3539
|
import { Type as Type4 } from "class-transformer";
|
|
3521
3540
|
var ProjectDto = class {
|
|
3522
3541
|
};
|
|
@@ -3525,15 +3544,15 @@ __decorateClass([
|
|
|
3525
3544
|
], ProjectDto.prototype, "uuid", 2);
|
|
3526
3545
|
__decorateClass([
|
|
3527
3546
|
IsString24(),
|
|
3528
|
-
|
|
3547
|
+
IsNotEmpty39({ message: "Please Enter Project Name " })
|
|
3529
3548
|
], ProjectDto.prototype, "projectName", 2);
|
|
3530
3549
|
__decorateClass([
|
|
3531
3550
|
IsDateString(),
|
|
3532
|
-
|
|
3551
|
+
IsNotEmpty39({ message: "Please Enter Start Date " })
|
|
3533
3552
|
], ProjectDto.prototype, "startDate", 2);
|
|
3534
3553
|
__decorateClass([
|
|
3535
3554
|
IsDateString(),
|
|
3536
|
-
|
|
3555
|
+
IsNotEmpty39({ message: "Please Enter End Date " })
|
|
3537
3556
|
], ProjectDto.prototype, "endDate", 2);
|
|
3538
3557
|
__decorateClass([
|
|
3539
3558
|
IsOptional17(),
|
|
@@ -3555,11 +3574,11 @@ __decorateClass([
|
|
|
3555
3574
|
], CaseStudyDto.prototype, "uuid", 2);
|
|
3556
3575
|
__decorateClass([
|
|
3557
3576
|
IsString24(),
|
|
3558
|
-
|
|
3577
|
+
IsNotEmpty39({ message: "Please Enter Project Name " })
|
|
3559
3578
|
], CaseStudyDto.prototype, "projectName", 2);
|
|
3560
3579
|
__decorateClass([
|
|
3561
3580
|
IsString24(),
|
|
3562
|
-
|
|
3581
|
+
IsNotEmpty39({ message: "Please Enter Case Study Link " })
|
|
3563
3582
|
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
3564
3583
|
__decorateClass([
|
|
3565
3584
|
IsOptional17(),
|
|
@@ -3643,7 +3662,7 @@ import {
|
|
|
3643
3662
|
IsUrl as IsUrl3,
|
|
3644
3663
|
Min as Min3,
|
|
3645
3664
|
MaxLength as MaxLength14,
|
|
3646
|
-
IsNotEmpty as
|
|
3665
|
+
IsNotEmpty as IsNotEmpty41,
|
|
3647
3666
|
MinLength as MinLength12,
|
|
3648
3667
|
Matches as Matches8,
|
|
3649
3668
|
ValidateIf as ValidateIf3
|
|
@@ -3677,7 +3696,7 @@ __decorateClass([
|
|
|
3677
3696
|
IsString26({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
3678
3697
|
], CreateFreelancerDto.prototype, "mobile", 2);
|
|
3679
3698
|
__decorateClass([
|
|
3680
|
-
|
|
3699
|
+
IsNotEmpty41({ message: "Please enter password." }),
|
|
3681
3700
|
MinLength12(6),
|
|
3682
3701
|
MaxLength14(32),
|
|
3683
3702
|
Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
@@ -3685,7 +3704,7 @@ __decorateClass([
|
|
|
3685
3704
|
})
|
|
3686
3705
|
], CreateFreelancerDto.prototype, "password", 2);
|
|
3687
3706
|
__decorateClass([
|
|
3688
|
-
|
|
3707
|
+
IsNotEmpty41({ message: "Please enter confirm password." }),
|
|
3689
3708
|
Match("confirmPassword", { message: "Passwords do not match" })
|
|
3690
3709
|
], CreateFreelancerDto.prototype, "confirmPassword", 2);
|
|
3691
3710
|
__decorateClass([
|
|
@@ -3717,7 +3736,7 @@ __decorateClass([
|
|
|
3717
3736
|
], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
|
|
3718
3737
|
__decorateClass([
|
|
3719
3738
|
ValidateIf3((o) => o.isImmediateJoiner === false),
|
|
3720
|
-
|
|
3739
|
+
IsNotEmpty41({ message: "Please enter availability to join." })
|
|
3721
3740
|
], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
|
|
3722
3741
|
__decorateClass([
|
|
3723
3742
|
IsOptional19(),
|
|
@@ -3753,7 +3772,7 @@ import {
|
|
|
3753
3772
|
MaxLength as MaxLength15,
|
|
3754
3773
|
MinLength as MinLength13,
|
|
3755
3774
|
Matches as Matches9,
|
|
3756
|
-
IsNotEmpty as
|
|
3775
|
+
IsNotEmpty as IsNotEmpty42,
|
|
3757
3776
|
ValidateIf as ValidateIf4
|
|
3758
3777
|
} from "class-validator";
|
|
3759
3778
|
import { Type as Type7 } from "class-transformer";
|
|
@@ -3830,7 +3849,7 @@ __decorateClass([
|
|
|
3830
3849
|
], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
|
|
3831
3850
|
__decorateClass([
|
|
3832
3851
|
ValidateIf4((o) => o.isImmediateJoiner === false),
|
|
3833
|
-
|
|
3852
|
+
IsNotEmpty42({ message: "Please enter availability to join." })
|
|
3834
3853
|
], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
|
|
3835
3854
|
__decorateClass([
|
|
3836
3855
|
IsOptional20(),
|
|
@@ -3868,7 +3887,7 @@ var CLIENT_ADMIN_PATTERNS = {
|
|
|
3868
3887
|
|
|
3869
3888
|
// src/modules/client-admin/dto/create-client.dto.ts
|
|
3870
3889
|
import {
|
|
3871
|
-
IsNotEmpty as
|
|
3890
|
+
IsNotEmpty as IsNotEmpty43,
|
|
3872
3891
|
IsEmail as IsEmail13,
|
|
3873
3892
|
IsOptional as IsOptional21,
|
|
3874
3893
|
IsString as IsString28,
|
|
@@ -3893,19 +3912,19 @@ var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2)
|
|
|
3893
3912
|
var CreateClientDto = class {
|
|
3894
3913
|
};
|
|
3895
3914
|
__decorateClass([
|
|
3896
|
-
|
|
3915
|
+
IsNotEmpty43({ message: "Please enter first name." }),
|
|
3897
3916
|
IsString28()
|
|
3898
3917
|
], CreateClientDto.prototype, "firstName", 2);
|
|
3899
3918
|
__decorateClass([
|
|
3900
|
-
|
|
3919
|
+
IsNotEmpty43({ message: "Please enter last name." }),
|
|
3901
3920
|
IsString28()
|
|
3902
3921
|
], CreateClientDto.prototype, "lastName", 2);
|
|
3903
3922
|
__decorateClass([
|
|
3904
|
-
|
|
3923
|
+
IsNotEmpty43({ message: "Please enter email." }),
|
|
3905
3924
|
IsEmail13()
|
|
3906
3925
|
], CreateClientDto.prototype, "email", 2);
|
|
3907
3926
|
__decorateClass([
|
|
3908
|
-
|
|
3927
|
+
IsNotEmpty43({ message: "Please enter password." }),
|
|
3909
3928
|
MinLength14(6),
|
|
3910
3929
|
MaxLength16(32),
|
|
3911
3930
|
Matches10(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
@@ -3913,31 +3932,31 @@ __decorateClass([
|
|
|
3913
3932
|
})
|
|
3914
3933
|
], CreateClientDto.prototype, "password", 2);
|
|
3915
3934
|
__decorateClass([
|
|
3916
|
-
|
|
3935
|
+
IsNotEmpty43({ message: "Please enter confirm password." }),
|
|
3917
3936
|
Match("confirmPassword", { message: "Passwords do not match" })
|
|
3918
3937
|
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
3919
3938
|
__decorateClass([
|
|
3920
|
-
|
|
3939
|
+
IsNotEmpty43({ message: "Please enter company name." }),
|
|
3921
3940
|
IsString28()
|
|
3922
3941
|
], CreateClientDto.prototype, "companyName", 2);
|
|
3923
3942
|
__decorateClass([
|
|
3924
3943
|
IsArray9({ message: "Skills should be an array." }),
|
|
3925
|
-
|
|
3944
|
+
IsNotEmpty43({ message: "Please enter skills." })
|
|
3926
3945
|
], CreateClientDto.prototype, "skills", 2);
|
|
3927
3946
|
__decorateClass([
|
|
3928
|
-
|
|
3947
|
+
IsNotEmpty43({ message: "Please specify required freelancer count." }),
|
|
3929
3948
|
IsString28()
|
|
3930
3949
|
], CreateClientDto.prototype, "requiredFreelancer", 2);
|
|
3931
3950
|
__decorateClass([
|
|
3932
|
-
|
|
3951
|
+
IsNotEmpty43({ message: "Please specify the kind of hiring." }),
|
|
3933
3952
|
IsEnum15(CreateClientHiringTypeEnum)
|
|
3934
3953
|
], CreateClientDto.prototype, "kindOfHiring", 2);
|
|
3935
3954
|
__decorateClass([
|
|
3936
|
-
|
|
3955
|
+
IsNotEmpty43({ message: "Please specify the mode of hire." }),
|
|
3937
3956
|
IsEnum15(CreateClientHiringModeEnum)
|
|
3938
3957
|
], CreateClientDto.prototype, "modeOfHire", 2);
|
|
3939
3958
|
__decorateClass([
|
|
3940
|
-
|
|
3959
|
+
IsNotEmpty43({ message: "Please let us know how you found us." }),
|
|
3941
3960
|
IsString28()
|
|
3942
3961
|
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
3943
3962
|
__decorateClass([
|
|
@@ -3946,17 +3965,17 @@ __decorateClass([
|
|
|
3946
3965
|
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
3947
3966
|
|
|
3948
3967
|
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
3949
|
-
import { IsString as IsString29, IsNotEmpty as
|
|
3968
|
+
import { IsString as IsString29, IsNotEmpty as IsNotEmpty44 } from "class-validator";
|
|
3950
3969
|
var UpdateClientAccountStatusDto = class {
|
|
3951
3970
|
};
|
|
3952
3971
|
__decorateClass([
|
|
3953
|
-
|
|
3972
|
+
IsNotEmpty44({ message: "Please enter account status." }),
|
|
3954
3973
|
IsString29()
|
|
3955
3974
|
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
3956
3975
|
|
|
3957
3976
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
3958
3977
|
import {
|
|
3959
|
-
IsNotEmpty as
|
|
3978
|
+
IsNotEmpty as IsNotEmpty45,
|
|
3960
3979
|
IsEmail as IsEmail14,
|
|
3961
3980
|
IsOptional as IsOptional22,
|
|
3962
3981
|
IsString as IsString30,
|
|
@@ -3981,15 +4000,15 @@ var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2)
|
|
|
3981
4000
|
var UpdateClientDto = class {
|
|
3982
4001
|
};
|
|
3983
4002
|
__decorateClass([
|
|
3984
|
-
|
|
4003
|
+
IsNotEmpty45({ message: "Please enter first name." }),
|
|
3985
4004
|
IsString30()
|
|
3986
4005
|
], UpdateClientDto.prototype, "firstName", 2);
|
|
3987
4006
|
__decorateClass([
|
|
3988
|
-
|
|
4007
|
+
IsNotEmpty45({ message: "Please enter last name." }),
|
|
3989
4008
|
IsString30()
|
|
3990
4009
|
], UpdateClientDto.prototype, "lastName", 2);
|
|
3991
4010
|
__decorateClass([
|
|
3992
|
-
|
|
4011
|
+
IsNotEmpty45({ message: "Please enter email." }),
|
|
3993
4012
|
IsEmail14()
|
|
3994
4013
|
], UpdateClientDto.prototype, "email", 2);
|
|
3995
4014
|
__decorateClass([
|
|
@@ -4001,27 +4020,27 @@ __decorateClass([
|
|
|
4001
4020
|
})
|
|
4002
4021
|
], UpdateClientDto.prototype, "password", 2);
|
|
4003
4022
|
__decorateClass([
|
|
4004
|
-
|
|
4023
|
+
IsNotEmpty45({ message: "Please enter company name." }),
|
|
4005
4024
|
IsString30()
|
|
4006
4025
|
], UpdateClientDto.prototype, "companyName", 2);
|
|
4007
4026
|
__decorateClass([
|
|
4008
4027
|
IsArray10({ message: "Skills should be an array." }),
|
|
4009
|
-
|
|
4028
|
+
IsNotEmpty45({ message: "Please enter skills." })
|
|
4010
4029
|
], UpdateClientDto.prototype, "skills", 2);
|
|
4011
4030
|
__decorateClass([
|
|
4012
|
-
|
|
4031
|
+
IsNotEmpty45({ message: "Please specify required freelancer count." }),
|
|
4013
4032
|
IsString30()
|
|
4014
4033
|
], UpdateClientDto.prototype, "requiredFreelancer", 2);
|
|
4015
4034
|
__decorateClass([
|
|
4016
|
-
|
|
4035
|
+
IsNotEmpty45({ message: "Please specify the kind of hiring." }),
|
|
4017
4036
|
IsEnum16(UpdateClientHiringTypeEnum)
|
|
4018
4037
|
], UpdateClientDto.prototype, "kindOfHiring", 2);
|
|
4019
4038
|
__decorateClass([
|
|
4020
|
-
|
|
4039
|
+
IsNotEmpty45({ message: "Please specify the mode of hire." }),
|
|
4021
4040
|
IsEnum16(UpdateClientHiringModeEnum)
|
|
4022
4041
|
], UpdateClientDto.prototype, "modeOfHire", 2);
|
|
4023
4042
|
__decorateClass([
|
|
4024
|
-
|
|
4043
|
+
IsNotEmpty45({ message: "Please let us know how you found us." }),
|
|
4025
4044
|
IsString30()
|
|
4026
4045
|
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
4027
4046
|
__decorateClass([
|
|
@@ -4036,7 +4055,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
4036
4055
|
};
|
|
4037
4056
|
|
|
4038
4057
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
4039
|
-
import { IsOptional as IsOptional23, IsEnum as IsEnum17, IsString as IsString31, IsNotEmpty as
|
|
4058
|
+
import { IsOptional as IsOptional23, IsEnum as IsEnum17, IsString as IsString31, IsNotEmpty as IsNotEmpty46, IsIn as IsIn3 } from "class-validator";
|
|
4040
4059
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
4041
4060
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
4042
4061
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -4054,7 +4073,7 @@ __decorateClass([
|
|
|
4054
4073
|
IsEnum17(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
4055
4074
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
4056
4075
|
__decorateClass([
|
|
4057
|
-
|
|
4076
|
+
IsNotEmpty46({ message: "Please accept the declaration " }),
|
|
4058
4077
|
IsString31(),
|
|
4059
4078
|
IsIn3([
|
|
4060
4079
|
"true"
|
|
@@ -4071,11 +4090,11 @@ var CMS_PATTERNS = {
|
|
|
4071
4090
|
};
|
|
4072
4091
|
|
|
4073
4092
|
// src/modules/cms/dto/create-cms.dto.ts
|
|
4074
|
-
import { IsBoolean as IsBoolean14, IsNotEmpty as
|
|
4093
|
+
import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty47, IsOptional as IsOptional24 } from "class-validator";
|
|
4075
4094
|
var CreateCmsDto = class {
|
|
4076
4095
|
};
|
|
4077
4096
|
__decorateClass([
|
|
4078
|
-
|
|
4097
|
+
IsNotEmpty47({ message: "Please enter name." })
|
|
4079
4098
|
], CreateCmsDto.prototype, "title", 2);
|
|
4080
4099
|
__decorateClass([
|
|
4081
4100
|
IsOptional24()
|
|
@@ -4086,14 +4105,14 @@ __decorateClass([
|
|
|
4086
4105
|
], CreateCmsDto.prototype, "isActive", 2);
|
|
4087
4106
|
|
|
4088
4107
|
// src/modules/cms/dto/update-cms.dto.ts
|
|
4089
|
-
import { IsBoolean as IsBoolean15, IsNotEmpty as
|
|
4108
|
+
import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty48, IsOptional as IsOptional25 } from "class-validator";
|
|
4090
4109
|
var UpdateCmsDto = class {
|
|
4091
4110
|
};
|
|
4092
4111
|
__decorateClass([
|
|
4093
4112
|
IsOptional25()
|
|
4094
4113
|
], UpdateCmsDto.prototype, "uuid", 2);
|
|
4095
4114
|
__decorateClass([
|
|
4096
|
-
|
|
4115
|
+
IsNotEmpty48({ message: "Please enter name." })
|
|
4097
4116
|
], UpdateCmsDto.prototype, "title", 2);
|
|
4098
4117
|
__decorateClass([
|
|
4099
4118
|
IsOptional25()
|
|
@@ -4134,7 +4153,7 @@ import {
|
|
|
4134
4153
|
IsOptional as IsOptional26,
|
|
4135
4154
|
IsArray as IsArray11,
|
|
4136
4155
|
IsDateString as IsDateString4,
|
|
4137
|
-
IsNotEmpty as
|
|
4156
|
+
IsNotEmpty as IsNotEmpty49,
|
|
4138
4157
|
ArrayNotEmpty as ArrayNotEmpty6,
|
|
4139
4158
|
Min as Min5,
|
|
4140
4159
|
IsNumber as IsNumber5
|
|
@@ -4155,7 +4174,7 @@ var AdminCreateJobInformationDto = class {
|
|
|
4155
4174
|
};
|
|
4156
4175
|
__decorateClass([
|
|
4157
4176
|
IsString32({ message: "Job role must be a string." }),
|
|
4158
|
-
|
|
4177
|
+
IsNotEmpty49({ message: "Job role is required." })
|
|
4159
4178
|
], AdminCreateJobInformationDto.prototype, "jobRole", 2);
|
|
4160
4179
|
__decorateClass([
|
|
4161
4180
|
IsOptional26(),
|
|
@@ -4183,15 +4202,15 @@ __decorateClass([
|
|
|
4183
4202
|
], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
4184
4203
|
__decorateClass([
|
|
4185
4204
|
IsString32({ message: "Onboarding Days must be a string." }),
|
|
4186
|
-
|
|
4205
|
+
IsNotEmpty49({ message: "Onboarding Days is required." })
|
|
4187
4206
|
], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
|
|
4188
4207
|
__decorateClass([
|
|
4189
4208
|
IsString32({ message: "Communication skills must be a string." }),
|
|
4190
|
-
|
|
4209
|
+
IsNotEmpty49({ message: "Communication skills are required." })
|
|
4191
4210
|
], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
4192
4211
|
__decorateClass([
|
|
4193
4212
|
IsString32({ message: "Currency must be a string." }),
|
|
4194
|
-
|
|
4213
|
+
IsNotEmpty49({ message: "Currency is required." })
|
|
4195
4214
|
], AdminCreateJobInformationDto.prototype, "currency", 2);
|
|
4196
4215
|
__decorateClass([
|
|
4197
4216
|
Type8(() => Number),
|
|
@@ -4233,7 +4252,7 @@ import {
|
|
|
4233
4252
|
IsOptional as IsOptional27,
|
|
4234
4253
|
IsArray as IsArray12,
|
|
4235
4254
|
IsDateString as IsDateString5,
|
|
4236
|
-
IsNotEmpty as
|
|
4255
|
+
IsNotEmpty as IsNotEmpty50,
|
|
4237
4256
|
ArrayNotEmpty as ArrayNotEmpty7,
|
|
4238
4257
|
Min as Min6,
|
|
4239
4258
|
IsNumber as IsNumber6
|
|
@@ -4254,7 +4273,7 @@ var AdminUpdateJobInformationDto = class {
|
|
|
4254
4273
|
};
|
|
4255
4274
|
__decorateClass([
|
|
4256
4275
|
IsString33({ message: "Job role must be a string." }),
|
|
4257
|
-
|
|
4276
|
+
IsNotEmpty50({ message: "Job role is required." })
|
|
4258
4277
|
], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
|
|
4259
4278
|
__decorateClass([
|
|
4260
4279
|
IsOptional27(),
|
|
@@ -4282,15 +4301,15 @@ __decorateClass([
|
|
|
4282
4301
|
], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
4283
4302
|
__decorateClass([
|
|
4284
4303
|
IsString33({ message: "Onboarding Days must be a string." }),
|
|
4285
|
-
|
|
4304
|
+
IsNotEmpty50({ message: "Onboarding Days is required." })
|
|
4286
4305
|
], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
|
|
4287
4306
|
__decorateClass([
|
|
4288
4307
|
IsString33({ message: "Communication skills must be a string." }),
|
|
4289
|
-
|
|
4308
|
+
IsNotEmpty50({ message: "Communication skills are required." })
|
|
4290
4309
|
], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
4291
4310
|
__decorateClass([
|
|
4292
4311
|
IsString33({ message: "Currency must be a string." }),
|
|
4293
|
-
|
|
4312
|
+
IsNotEmpty50({ message: "Currency is required." })
|
|
4294
4313
|
], AdminUpdateJobInformationDto.prototype, "currency", 2);
|
|
4295
4314
|
__decorateClass([
|
|
4296
4315
|
Type9(() => Number),
|
|
@@ -9,14 +9,16 @@ export declare enum ModeOfWorkDto {
|
|
|
9
9
|
BOTH = "BOTH"
|
|
10
10
|
}
|
|
11
11
|
export declare class UpdateFreelancerProfileDto {
|
|
12
|
-
firstName
|
|
13
|
-
lastName
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
firstName: string;
|
|
13
|
+
lastName: string;
|
|
14
|
+
designation: string;
|
|
15
|
+
experience: string;
|
|
16
|
+
email: string;
|
|
17
|
+
mobileCode: string;
|
|
18
|
+
mobile: string;
|
|
19
|
+
countryId: number;
|
|
20
|
+
currency: string;
|
|
21
|
+
expectedHourlyCompensation: string;
|
|
20
22
|
natureOfWork: NatureOfWorkDto;
|
|
21
23
|
modeOfWork: ModeOfWorkDto;
|
|
22
24
|
portfolioLink?: string;
|