@experts_hub/shared 1.0.74 → 1.0.76
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/company-profile.entity.d.ts +2 -0
- package/dist/index.d.mts +13 -10
- package/dist/index.d.ts +13 -10
- package/dist/index.js +29 -25
- package/dist/index.mjs +31 -26
- package/dist/modules/user/client-profile/client-profile.interface.d.ts +5 -2
- package/dist/modules/user/client-profile/dto/index.d.ts +0 -1
- package/dist/modules/user/client-profile/dto/update-client-profile.dto.d.ts +5 -3
- package/package.json +1 -1
- package/dist/modules/user/client-profile/dto/update-client-logo.dto.d.ts +0 -3
|
@@ -24,6 +24,8 @@ export declare class CompanyProfile extends BaseEntity {
|
|
|
24
24
|
webSite: string;
|
|
25
25
|
aboutCompany: string;
|
|
26
26
|
isServiceAgreementSigned: boolean;
|
|
27
|
+
companyAddress: string;
|
|
28
|
+
phoneNumber: string;
|
|
27
29
|
skills: string[];
|
|
28
30
|
requiredFreelancer: string;
|
|
29
31
|
kindOfHiring: KindOfHire;
|
package/dist/index.d.mts
CHANGED
|
@@ -385,6 +385,8 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
385
385
|
webSite: string;
|
|
386
386
|
aboutCompany: string;
|
|
387
387
|
isServiceAgreementSigned: boolean;
|
|
388
|
+
companyAddress: string;
|
|
389
|
+
phoneNumber: string;
|
|
388
390
|
skills: string[];
|
|
389
391
|
requiredFreelancer: string;
|
|
390
392
|
kindOfHiring: KindOfHire;
|
|
@@ -393,11 +395,13 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
393
395
|
}
|
|
394
396
|
|
|
395
397
|
declare class UpdateCompanyProfileDto {
|
|
396
|
-
userId?: number;
|
|
397
398
|
companyName?: string;
|
|
398
399
|
bio?: string;
|
|
399
|
-
|
|
400
|
-
|
|
400
|
+
webSite?: string;
|
|
401
|
+
aboutCompany?: string;
|
|
402
|
+
isServiceAgreementSigned?: boolean;
|
|
403
|
+
companyAddress?: string;
|
|
404
|
+
phoneNumber?: string;
|
|
401
405
|
skills?: string[];
|
|
402
406
|
requiredFreelancer?: string;
|
|
403
407
|
kindOfHiring?: KindOfHire;
|
|
@@ -405,10 +409,6 @@ declare class UpdateCompanyProfileDto {
|
|
|
405
409
|
foundUsOn?: FromUsOn;
|
|
406
410
|
}
|
|
407
411
|
|
|
408
|
-
declare class UpdateCompanyLogoDto {
|
|
409
|
-
uuid: string;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
412
|
interface IFetchClientProfileQuery {
|
|
413
413
|
page_size?: number;
|
|
414
414
|
page: number;
|
|
@@ -428,8 +428,11 @@ interface IUpdateClientProfilePayload {
|
|
|
428
428
|
userId?: number;
|
|
429
429
|
companyName?: string;
|
|
430
430
|
bio?: string;
|
|
431
|
-
|
|
432
|
-
|
|
431
|
+
webSite?: string;
|
|
432
|
+
isServiceAgreementSigned?: boolean;
|
|
433
|
+
aboutCompany: string;
|
|
434
|
+
companyAddress: string;
|
|
435
|
+
phoneNumber: string;
|
|
433
436
|
skills?: string[];
|
|
434
437
|
requiredFreelancer?: string;
|
|
435
438
|
kindOfHiring?: string;
|
|
@@ -515,4 +518,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
515
518
|
isActive: boolean;
|
|
516
519
|
}
|
|
517
520
|
|
|
518
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment,
|
|
521
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -385,6 +385,8 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
385
385
|
webSite: string;
|
|
386
386
|
aboutCompany: string;
|
|
387
387
|
isServiceAgreementSigned: boolean;
|
|
388
|
+
companyAddress: string;
|
|
389
|
+
phoneNumber: string;
|
|
388
390
|
skills: string[];
|
|
389
391
|
requiredFreelancer: string;
|
|
390
392
|
kindOfHiring: KindOfHire;
|
|
@@ -393,11 +395,13 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
393
395
|
}
|
|
394
396
|
|
|
395
397
|
declare class UpdateCompanyProfileDto {
|
|
396
|
-
userId?: number;
|
|
397
398
|
companyName?: string;
|
|
398
399
|
bio?: string;
|
|
399
|
-
|
|
400
|
-
|
|
400
|
+
webSite?: string;
|
|
401
|
+
aboutCompany?: string;
|
|
402
|
+
isServiceAgreementSigned?: boolean;
|
|
403
|
+
companyAddress?: string;
|
|
404
|
+
phoneNumber?: string;
|
|
401
405
|
skills?: string[];
|
|
402
406
|
requiredFreelancer?: string;
|
|
403
407
|
kindOfHiring?: KindOfHire;
|
|
@@ -405,10 +409,6 @@ declare class UpdateCompanyProfileDto {
|
|
|
405
409
|
foundUsOn?: FromUsOn;
|
|
406
410
|
}
|
|
407
411
|
|
|
408
|
-
declare class UpdateCompanyLogoDto {
|
|
409
|
-
uuid: string;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
412
|
interface IFetchClientProfileQuery {
|
|
413
413
|
page_size?: number;
|
|
414
414
|
page: number;
|
|
@@ -428,8 +428,11 @@ interface IUpdateClientProfilePayload {
|
|
|
428
428
|
userId?: number;
|
|
429
429
|
companyName?: string;
|
|
430
430
|
bio?: string;
|
|
431
|
-
|
|
432
|
-
|
|
431
|
+
webSite?: string;
|
|
432
|
+
isServiceAgreementSigned?: boolean;
|
|
433
|
+
aboutCompany: string;
|
|
434
|
+
companyAddress: string;
|
|
435
|
+
phoneNumber: string;
|
|
433
436
|
skills?: string[];
|
|
434
437
|
requiredFreelancer?: string;
|
|
435
438
|
kindOfHiring?: string;
|
|
@@ -515,4 +518,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
515
518
|
isActive: boolean;
|
|
516
519
|
}
|
|
517
520
|
|
|
518
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment,
|
|
521
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -70,7 +70,6 @@ __export(index_exports, {
|
|
|
70
70
|
ResumeParserLog: () => ResumeParserLog,
|
|
71
71
|
SUBADMIN_PATTERN: () => SUBADMIN_PATTERN,
|
|
72
72
|
TypeOfEmployment: () => TypeOfEmployment,
|
|
73
|
-
UpdateCompanyLogoDto: () => UpdateCompanyLogoDto,
|
|
74
73
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
75
74
|
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
76
75
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
@@ -920,6 +919,12 @@ __decorateClass([
|
|
|
920
919
|
__decorateClass([
|
|
921
920
|
(0, import_typeorm8.Column)({ name: "is_service_aggrement_signed", type: "boolean", default: false })
|
|
922
921
|
], CompanyProfile.prototype, "isServiceAgreementSigned", 2);
|
|
922
|
+
__decorateClass([
|
|
923
|
+
(0, import_typeorm8.Column)({ name: "company_address", type: "varchar", nullable: true })
|
|
924
|
+
], CompanyProfile.prototype, "companyAddress", 2);
|
|
925
|
+
__decorateClass([
|
|
926
|
+
(0, import_typeorm8.Column)({ name: "phone_number", type: "varchar", nullable: true })
|
|
927
|
+
], CompanyProfile.prototype, "phoneNumber", 2);
|
|
923
928
|
__decorateClass([
|
|
924
929
|
(0, import_typeorm8.Column)({ name: "skills", type: "text", nullable: true })
|
|
925
930
|
], CompanyProfile.prototype, "skills", 2);
|
|
@@ -957,9 +962,6 @@ CompanyProfile = __decorateClass([
|
|
|
957
962
|
// src/modules/user/client-profile/dto/update-client-profile.dto.ts
|
|
958
963
|
var UpdateCompanyProfileDto = class {
|
|
959
964
|
};
|
|
960
|
-
__decorateClass([
|
|
961
|
-
(0, import_class_validator16.IsNumber)({}, { message: "User ID must be a number." })
|
|
962
|
-
], UpdateCompanyProfileDto.prototype, "userId", 2);
|
|
963
965
|
__decorateClass([
|
|
964
966
|
(0, import_class_validator16.IsString)({ message: "Company name must be a string." })
|
|
965
967
|
], UpdateCompanyProfileDto.prototype, "companyName", 2);
|
|
@@ -969,11 +971,23 @@ __decorateClass([
|
|
|
969
971
|
], UpdateCompanyProfileDto.prototype, "bio", 2);
|
|
970
972
|
__decorateClass([
|
|
971
973
|
(0, import_class_validator16.IsOptional)(),
|
|
972
|
-
(0, import_class_validator16.
|
|
973
|
-
], UpdateCompanyProfileDto.prototype, "
|
|
974
|
+
(0, import_class_validator16.IsString)({ message: "Company website url must be a string." })
|
|
975
|
+
], UpdateCompanyProfileDto.prototype, "webSite", 2);
|
|
976
|
+
__decorateClass([
|
|
977
|
+
(0, import_class_validator16.IsOptional)(),
|
|
978
|
+
(0, import_class_validator16.IsString)({ message: "About company must be a string." })
|
|
979
|
+
], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
|
|
980
|
+
__decorateClass([
|
|
981
|
+
(0, import_class_validator16.IsBoolean)({ message: "Service agreement must be boolean" })
|
|
982
|
+
], UpdateCompanyProfileDto.prototype, "isServiceAgreementSigned", 2);
|
|
983
|
+
__decorateClass([
|
|
984
|
+
(0, import_class_validator16.IsOptional)(),
|
|
985
|
+
(0, import_class_validator16.IsString)({ message: "Company address must be a string." })
|
|
986
|
+
], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
|
|
974
987
|
__decorateClass([
|
|
975
|
-
(0, import_class_validator16.
|
|
976
|
-
|
|
988
|
+
(0, import_class_validator16.IsOptional)(),
|
|
989
|
+
(0, import_class_validator16.IsString)({ message: "Phone number must be a string." })
|
|
990
|
+
], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
|
|
977
991
|
__decorateClass([
|
|
978
992
|
(0, import_class_validator16.IsOptional)(),
|
|
979
993
|
(0, import_class_validator16.IsArray)({ message: "Skills must be an array of strings." }),
|
|
@@ -1002,39 +1016,30 @@ __decorateClass([
|
|
|
1002
1016
|
})
|
|
1003
1017
|
], UpdateCompanyProfileDto.prototype, "foundUsOn", 2);
|
|
1004
1018
|
|
|
1005
|
-
// src/modules/user/client-profile/dto/update-client-logo.dto.ts
|
|
1006
|
-
var import_class_validator17 = require("class-validator");
|
|
1007
|
-
var UpdateCompanyLogoDto = class {
|
|
1008
|
-
};
|
|
1009
|
-
__decorateClass([
|
|
1010
|
-
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
1011
|
-
(0, import_class_validator17.IsUUID)()
|
|
1012
|
-
], UpdateCompanyLogoDto.prototype, "uuid", 2);
|
|
1013
|
-
|
|
1014
1019
|
// src/modules/question/pattern/pattern.ts
|
|
1015
1020
|
var QUESTION_PATTERN = {
|
|
1016
1021
|
fetchQuestions: "fetch.questions"
|
|
1017
1022
|
};
|
|
1018
1023
|
|
|
1019
1024
|
// src/modules/question/dto/create-question.dto.ts
|
|
1020
|
-
var
|
|
1025
|
+
var import_class_validator17 = require("class-validator");
|
|
1021
1026
|
var CreateQuestionDto = class {
|
|
1022
1027
|
};
|
|
1023
1028
|
__decorateClass([
|
|
1024
|
-
(0,
|
|
1029
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter unique id." })
|
|
1025
1030
|
], CreateQuestionDto.prototype, "questionId", 2);
|
|
1026
1031
|
__decorateClass([
|
|
1027
|
-
(0,
|
|
1032
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter question." })
|
|
1028
1033
|
], CreateQuestionDto.prototype, "question", 2);
|
|
1029
1034
|
__decorateClass([
|
|
1030
|
-
(0,
|
|
1035
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter for whom the question is." })
|
|
1031
1036
|
], CreateQuestionDto.prototype, "questionFor", 2);
|
|
1032
1037
|
__decorateClass([
|
|
1033
|
-
(0,
|
|
1038
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter options." })
|
|
1034
1039
|
], CreateQuestionDto.prototype, "options", 2);
|
|
1035
1040
|
__decorateClass([
|
|
1036
|
-
(0,
|
|
1037
|
-
(0,
|
|
1041
|
+
(0, import_class_validator17.IsOptional)(),
|
|
1042
|
+
(0, import_class_validator17.IsBoolean)({ message: "Whether the question status active" })
|
|
1038
1043
|
], CreateQuestionDto.prototype, "isActive", 2);
|
|
1039
1044
|
|
|
1040
1045
|
// src/modules/job/pattern/pattern.ts
|
|
@@ -1286,7 +1291,6 @@ JobRoles = __decorateClass([
|
|
|
1286
1291
|
ResumeParserLog,
|
|
1287
1292
|
SUBADMIN_PATTERN,
|
|
1288
1293
|
TypeOfEmployment,
|
|
1289
|
-
UpdateCompanyLogoDto,
|
|
1290
1294
|
UpdateCompanyProfileDto,
|
|
1291
1295
|
UpdateSubAdminAccountStatusDto,
|
|
1292
1296
|
UpdateSubAdminDto,
|
package/dist/index.mjs
CHANGED
|
@@ -416,8 +416,8 @@ import {
|
|
|
416
416
|
IsEnum,
|
|
417
417
|
IsOptional as IsOptional4,
|
|
418
418
|
IsString as IsString9,
|
|
419
|
-
|
|
420
|
-
|
|
419
|
+
IsArray,
|
|
420
|
+
IsBoolean as IsBoolean4
|
|
421
421
|
} from "class-validator";
|
|
422
422
|
|
|
423
423
|
// src/entities/company-profile.entity.ts
|
|
@@ -943,6 +943,12 @@ __decorateClass([
|
|
|
943
943
|
__decorateClass([
|
|
944
944
|
Column8({ name: "is_service_aggrement_signed", type: "boolean", default: false })
|
|
945
945
|
], CompanyProfile.prototype, "isServiceAgreementSigned", 2);
|
|
946
|
+
__decorateClass([
|
|
947
|
+
Column8({ name: "company_address", type: "varchar", nullable: true })
|
|
948
|
+
], CompanyProfile.prototype, "companyAddress", 2);
|
|
949
|
+
__decorateClass([
|
|
950
|
+
Column8({ name: "phone_number", type: "varchar", nullable: true })
|
|
951
|
+
], CompanyProfile.prototype, "phoneNumber", 2);
|
|
946
952
|
__decorateClass([
|
|
947
953
|
Column8({ name: "skills", type: "text", nullable: true })
|
|
948
954
|
], CompanyProfile.prototype, "skills", 2);
|
|
@@ -980,9 +986,6 @@ CompanyProfile = __decorateClass([
|
|
|
980
986
|
// src/modules/user/client-profile/dto/update-client-profile.dto.ts
|
|
981
987
|
var UpdateCompanyProfileDto = class {
|
|
982
988
|
};
|
|
983
|
-
__decorateClass([
|
|
984
|
-
IsNumber({}, { message: "User ID must be a number." })
|
|
985
|
-
], UpdateCompanyProfileDto.prototype, "userId", 2);
|
|
986
989
|
__decorateClass([
|
|
987
990
|
IsString9({ message: "Company name must be a string." })
|
|
988
991
|
], UpdateCompanyProfileDto.prototype, "companyName", 2);
|
|
@@ -992,11 +995,23 @@ __decorateClass([
|
|
|
992
995
|
], UpdateCompanyProfileDto.prototype, "bio", 2);
|
|
993
996
|
__decorateClass([
|
|
994
997
|
IsOptional4(),
|
|
995
|
-
|
|
996
|
-
], UpdateCompanyProfileDto.prototype, "
|
|
998
|
+
IsString9({ message: "Company website url must be a string." })
|
|
999
|
+
], UpdateCompanyProfileDto.prototype, "webSite", 2);
|
|
1000
|
+
__decorateClass([
|
|
1001
|
+
IsOptional4(),
|
|
1002
|
+
IsString9({ message: "About company must be a string." })
|
|
1003
|
+
], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
|
|
1004
|
+
__decorateClass([
|
|
1005
|
+
IsBoolean4({ message: "Service agreement must be boolean" })
|
|
1006
|
+
], UpdateCompanyProfileDto.prototype, "isServiceAgreementSigned", 2);
|
|
1007
|
+
__decorateClass([
|
|
1008
|
+
IsOptional4(),
|
|
1009
|
+
IsString9({ message: "Company address must be a string." })
|
|
1010
|
+
], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
|
|
997
1011
|
__decorateClass([
|
|
998
|
-
|
|
999
|
-
|
|
1012
|
+
IsOptional4(),
|
|
1013
|
+
IsString9({ message: "Phone number must be a string." })
|
|
1014
|
+
], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
|
|
1000
1015
|
__decorateClass([
|
|
1001
1016
|
IsOptional4(),
|
|
1002
1017
|
IsArray({ message: "Skills must be an array of strings." }),
|
|
@@ -1025,15 +1040,6 @@ __decorateClass([
|
|
|
1025
1040
|
})
|
|
1026
1041
|
], UpdateCompanyProfileDto.prototype, "foundUsOn", 2);
|
|
1027
1042
|
|
|
1028
|
-
// src/modules/user/client-profile/dto/update-client-logo.dto.ts
|
|
1029
|
-
import { IsNotEmpty as IsNotEmpty14, IsUUID as IsUUID6 } from "class-validator";
|
|
1030
|
-
var UpdateCompanyLogoDto = class {
|
|
1031
|
-
};
|
|
1032
|
-
__decorateClass([
|
|
1033
|
-
IsNotEmpty14({ message: "Please enter uuid." }),
|
|
1034
|
-
IsUUID6()
|
|
1035
|
-
], UpdateCompanyLogoDto.prototype, "uuid", 2);
|
|
1036
|
-
|
|
1037
1043
|
// src/modules/question/pattern/pattern.ts
|
|
1038
1044
|
var QUESTION_PATTERN = {
|
|
1039
1045
|
fetchQuestions: "fetch.questions"
|
|
@@ -1041,27 +1047,27 @@ var QUESTION_PATTERN = {
|
|
|
1041
1047
|
|
|
1042
1048
|
// src/modules/question/dto/create-question.dto.ts
|
|
1043
1049
|
import {
|
|
1044
|
-
IsNotEmpty as
|
|
1050
|
+
IsNotEmpty as IsNotEmpty14,
|
|
1045
1051
|
IsOptional as IsOptional5,
|
|
1046
|
-
IsBoolean as
|
|
1052
|
+
IsBoolean as IsBoolean5
|
|
1047
1053
|
} from "class-validator";
|
|
1048
1054
|
var CreateQuestionDto = class {
|
|
1049
1055
|
};
|
|
1050
1056
|
__decorateClass([
|
|
1051
|
-
|
|
1057
|
+
IsNotEmpty14({ message: "Please enter unique id." })
|
|
1052
1058
|
], CreateQuestionDto.prototype, "questionId", 2);
|
|
1053
1059
|
__decorateClass([
|
|
1054
|
-
|
|
1060
|
+
IsNotEmpty14({ message: "Please enter question." })
|
|
1055
1061
|
], CreateQuestionDto.prototype, "question", 2);
|
|
1056
1062
|
__decorateClass([
|
|
1057
|
-
|
|
1063
|
+
IsNotEmpty14({ message: "Please enter for whom the question is." })
|
|
1058
1064
|
], CreateQuestionDto.prototype, "questionFor", 2);
|
|
1059
1065
|
__decorateClass([
|
|
1060
|
-
|
|
1066
|
+
IsNotEmpty14({ message: "Please enter options." })
|
|
1061
1067
|
], CreateQuestionDto.prototype, "options", 2);
|
|
1062
1068
|
__decorateClass([
|
|
1063
1069
|
IsOptional5(),
|
|
1064
|
-
|
|
1070
|
+
IsBoolean5({ message: "Whether the question status active" })
|
|
1065
1071
|
], CreateQuestionDto.prototype, "isActive", 2);
|
|
1066
1072
|
|
|
1067
1073
|
// src/modules/job/pattern/pattern.ts
|
|
@@ -1312,7 +1318,6 @@ export {
|
|
|
1312
1318
|
ResumeParserLog,
|
|
1313
1319
|
SUBADMIN_PATTERN,
|
|
1314
1320
|
TypeOfEmployment,
|
|
1315
|
-
UpdateCompanyLogoDto,
|
|
1316
1321
|
UpdateCompanyProfileDto,
|
|
1317
1322
|
UpdateSubAdminAccountStatusDto,
|
|
1318
1323
|
UpdateSubAdminDto,
|
|
@@ -17,8 +17,11 @@ export interface IUpdateClientProfilePayload {
|
|
|
17
17
|
userId?: number;
|
|
18
18
|
companyName?: string;
|
|
19
19
|
bio?: string;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
webSite?: string;
|
|
21
|
+
isServiceAgreementSigned?: boolean;
|
|
22
|
+
aboutCompany: string;
|
|
23
|
+
companyAddress: string;
|
|
24
|
+
phoneNumber: string;
|
|
22
25
|
skills?: string[];
|
|
23
26
|
requiredFreelancer?: string;
|
|
24
27
|
kindOfHiring?: string;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { KindOfHire, ModeOfHire, FromUsOn } from '../../../../entities/company-profile.entity';
|
|
2
2
|
export declare class UpdateCompanyProfileDto {
|
|
3
|
-
userId?: number;
|
|
4
3
|
companyName?: string;
|
|
5
4
|
bio?: string;
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
webSite?: string;
|
|
6
|
+
aboutCompany?: string;
|
|
7
|
+
isServiceAgreementSigned?: boolean;
|
|
8
|
+
companyAddress?: string;
|
|
9
|
+
phoneNumber?: string;
|
|
8
10
|
skills?: string[];
|
|
9
11
|
requiredFreelancer?: string;
|
|
10
12
|
kindOfHiring?: KindOfHire;
|
package/package.json
CHANGED