@experts_hub/shared 1.0.75 → 1.0.77
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 +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +23 -19
- package/dist/index.mjs +21 -16
- package/dist/modules/onboarding/pattern/pattern.d.ts +1 -0
- package/dist/modules/user/client-profile/client-profile.interface.d.ts +2 -0
- 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 +2 -0
- 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
|
@@ -36,6 +36,7 @@ declare const ONBOARDING_PATTERN: {
|
|
|
36
36
|
handleFreelancerWorkShowcase: string;
|
|
37
37
|
handleClientAccountCreation: string;
|
|
38
38
|
handleClientProfileQuestion: string;
|
|
39
|
+
chaageFreelancerPassword: string;
|
|
39
40
|
};
|
|
40
41
|
|
|
41
42
|
declare class FreelancerCreateAccountDto {
|
|
@@ -385,6 +386,8 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
385
386
|
webSite: string;
|
|
386
387
|
aboutCompany: string;
|
|
387
388
|
isServiceAgreementSigned: boolean;
|
|
389
|
+
companyAddress: string;
|
|
390
|
+
phoneNumber: string;
|
|
388
391
|
skills: string[];
|
|
389
392
|
requiredFreelancer: string;
|
|
390
393
|
kindOfHiring: KindOfHire;
|
|
@@ -398,6 +401,8 @@ declare class UpdateCompanyProfileDto {
|
|
|
398
401
|
webSite?: string;
|
|
399
402
|
aboutCompany?: string;
|
|
400
403
|
isServiceAgreementSigned?: boolean;
|
|
404
|
+
companyAddress?: string;
|
|
405
|
+
phoneNumber?: string;
|
|
401
406
|
skills?: string[];
|
|
402
407
|
requiredFreelancer?: string;
|
|
403
408
|
kindOfHiring?: KindOfHire;
|
|
@@ -405,10 +410,6 @@ declare class UpdateCompanyProfileDto {
|
|
|
405
410
|
foundUsOn?: FromUsOn;
|
|
406
411
|
}
|
|
407
412
|
|
|
408
|
-
declare class UpdateCompanyLogoDto {
|
|
409
|
-
uuid: string;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
413
|
interface IFetchClientProfileQuery {
|
|
413
414
|
page_size?: number;
|
|
414
415
|
page: number;
|
|
@@ -431,6 +432,8 @@ interface IUpdateClientProfilePayload {
|
|
|
431
432
|
webSite?: string;
|
|
432
433
|
isServiceAgreementSigned?: boolean;
|
|
433
434
|
aboutCompany: string;
|
|
435
|
+
companyAddress: string;
|
|
436
|
+
phoneNumber: string;
|
|
434
437
|
skills?: string[];
|
|
435
438
|
requiredFreelancer?: string;
|
|
436
439
|
kindOfHiring?: string;
|
|
@@ -516,4 +519,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
516
519
|
isActive: boolean;
|
|
517
520
|
}
|
|
518
521
|
|
|
519
|
-
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,
|
|
522
|
+
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
|
@@ -36,6 +36,7 @@ declare const ONBOARDING_PATTERN: {
|
|
|
36
36
|
handleFreelancerWorkShowcase: string;
|
|
37
37
|
handleClientAccountCreation: string;
|
|
38
38
|
handleClientProfileQuestion: string;
|
|
39
|
+
chaageFreelancerPassword: string;
|
|
39
40
|
};
|
|
40
41
|
|
|
41
42
|
declare class FreelancerCreateAccountDto {
|
|
@@ -385,6 +386,8 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
385
386
|
webSite: string;
|
|
386
387
|
aboutCompany: string;
|
|
387
388
|
isServiceAgreementSigned: boolean;
|
|
389
|
+
companyAddress: string;
|
|
390
|
+
phoneNumber: string;
|
|
388
391
|
skills: string[];
|
|
389
392
|
requiredFreelancer: string;
|
|
390
393
|
kindOfHiring: KindOfHire;
|
|
@@ -398,6 +401,8 @@ declare class UpdateCompanyProfileDto {
|
|
|
398
401
|
webSite?: string;
|
|
399
402
|
aboutCompany?: string;
|
|
400
403
|
isServiceAgreementSigned?: boolean;
|
|
404
|
+
companyAddress?: string;
|
|
405
|
+
phoneNumber?: string;
|
|
401
406
|
skills?: string[];
|
|
402
407
|
requiredFreelancer?: string;
|
|
403
408
|
kindOfHiring?: KindOfHire;
|
|
@@ -405,10 +410,6 @@ declare class UpdateCompanyProfileDto {
|
|
|
405
410
|
foundUsOn?: FromUsOn;
|
|
406
411
|
}
|
|
407
412
|
|
|
408
|
-
declare class UpdateCompanyLogoDto {
|
|
409
|
-
uuid: string;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
413
|
interface IFetchClientProfileQuery {
|
|
413
414
|
page_size?: number;
|
|
414
415
|
page: number;
|
|
@@ -431,6 +432,8 @@ interface IUpdateClientProfilePayload {
|
|
|
431
432
|
webSite?: string;
|
|
432
433
|
isServiceAgreementSigned?: boolean;
|
|
433
434
|
aboutCompany: string;
|
|
435
|
+
companyAddress: string;
|
|
436
|
+
phoneNumber: string;
|
|
434
437
|
skills?: string[];
|
|
435
438
|
requiredFreelancer?: string;
|
|
436
439
|
kindOfHiring?: string;
|
|
@@ -516,4 +519,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
516
519
|
isActive: boolean;
|
|
517
520
|
}
|
|
518
521
|
|
|
519
|
-
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,
|
|
522
|
+
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,
|
|
@@ -132,7 +131,8 @@ var ONBOARDING_PATTERN = {
|
|
|
132
131
|
handleFreelancerProfileQuestion: "handle.freelancer.profile.question",
|
|
133
132
|
handleFreelancerWorkShowcase: "handle.freelancer.work.showcase",
|
|
134
133
|
handleClientAccountCreation: "handle.client.account.creation",
|
|
135
|
-
handleClientProfileQuestion: "handle.client.profile.question"
|
|
134
|
+
handleClientProfileQuestion: "handle.client.profile.question",
|
|
135
|
+
chaageFreelancerPassword: "change.freelancer.password"
|
|
136
136
|
};
|
|
137
137
|
|
|
138
138
|
// src/modules/onboarding/dto/freelancer-create-account.dto.ts
|
|
@@ -920,6 +920,12 @@ __decorateClass([
|
|
|
920
920
|
__decorateClass([
|
|
921
921
|
(0, import_typeorm8.Column)({ name: "is_service_aggrement_signed", type: "boolean", default: false })
|
|
922
922
|
], CompanyProfile.prototype, "isServiceAgreementSigned", 2);
|
|
923
|
+
__decorateClass([
|
|
924
|
+
(0, import_typeorm8.Column)({ name: "company_address", type: "varchar", nullable: true })
|
|
925
|
+
], CompanyProfile.prototype, "companyAddress", 2);
|
|
926
|
+
__decorateClass([
|
|
927
|
+
(0, import_typeorm8.Column)({ name: "phone_number", type: "varchar", nullable: true })
|
|
928
|
+
], CompanyProfile.prototype, "phoneNumber", 2);
|
|
923
929
|
__decorateClass([
|
|
924
930
|
(0, import_typeorm8.Column)({ name: "skills", type: "text", nullable: true })
|
|
925
931
|
], CompanyProfile.prototype, "skills", 2);
|
|
@@ -975,6 +981,14 @@ __decorateClass([
|
|
|
975
981
|
__decorateClass([
|
|
976
982
|
(0, import_class_validator16.IsBoolean)({ message: "Service agreement must be boolean" })
|
|
977
983
|
], UpdateCompanyProfileDto.prototype, "isServiceAgreementSigned", 2);
|
|
984
|
+
__decorateClass([
|
|
985
|
+
(0, import_class_validator16.IsOptional)(),
|
|
986
|
+
(0, import_class_validator16.IsString)({ message: "Company address must be a string." })
|
|
987
|
+
], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
|
|
988
|
+
__decorateClass([
|
|
989
|
+
(0, import_class_validator16.IsOptional)(),
|
|
990
|
+
(0, import_class_validator16.IsString)({ message: "Phone number must be a string." })
|
|
991
|
+
], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
|
|
978
992
|
__decorateClass([
|
|
979
993
|
(0, import_class_validator16.IsOptional)(),
|
|
980
994
|
(0, import_class_validator16.IsArray)({ message: "Skills must be an array of strings." }),
|
|
@@ -1003,39 +1017,30 @@ __decorateClass([
|
|
|
1003
1017
|
})
|
|
1004
1018
|
], UpdateCompanyProfileDto.prototype, "foundUsOn", 2);
|
|
1005
1019
|
|
|
1006
|
-
// src/modules/user/client-profile/dto/update-client-logo.dto.ts
|
|
1007
|
-
var import_class_validator17 = require("class-validator");
|
|
1008
|
-
var UpdateCompanyLogoDto = class {
|
|
1009
|
-
};
|
|
1010
|
-
__decorateClass([
|
|
1011
|
-
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
1012
|
-
(0, import_class_validator17.IsUUID)()
|
|
1013
|
-
], UpdateCompanyLogoDto.prototype, "uuid", 2);
|
|
1014
|
-
|
|
1015
1020
|
// src/modules/question/pattern/pattern.ts
|
|
1016
1021
|
var QUESTION_PATTERN = {
|
|
1017
1022
|
fetchQuestions: "fetch.questions"
|
|
1018
1023
|
};
|
|
1019
1024
|
|
|
1020
1025
|
// src/modules/question/dto/create-question.dto.ts
|
|
1021
|
-
var
|
|
1026
|
+
var import_class_validator17 = require("class-validator");
|
|
1022
1027
|
var CreateQuestionDto = class {
|
|
1023
1028
|
};
|
|
1024
1029
|
__decorateClass([
|
|
1025
|
-
(0,
|
|
1030
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter unique id." })
|
|
1026
1031
|
], CreateQuestionDto.prototype, "questionId", 2);
|
|
1027
1032
|
__decorateClass([
|
|
1028
|
-
(0,
|
|
1033
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter question." })
|
|
1029
1034
|
], CreateQuestionDto.prototype, "question", 2);
|
|
1030
1035
|
__decorateClass([
|
|
1031
|
-
(0,
|
|
1036
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter for whom the question is." })
|
|
1032
1037
|
], CreateQuestionDto.prototype, "questionFor", 2);
|
|
1033
1038
|
__decorateClass([
|
|
1034
|
-
(0,
|
|
1039
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter options." })
|
|
1035
1040
|
], CreateQuestionDto.prototype, "options", 2);
|
|
1036
1041
|
__decorateClass([
|
|
1037
|
-
(0,
|
|
1038
|
-
(0,
|
|
1042
|
+
(0, import_class_validator17.IsOptional)(),
|
|
1043
|
+
(0, import_class_validator17.IsBoolean)({ message: "Whether the question status active" })
|
|
1039
1044
|
], CreateQuestionDto.prototype, "isActive", 2);
|
|
1040
1045
|
|
|
1041
1046
|
// src/modules/job/pattern/pattern.ts
|
|
@@ -1287,7 +1292,6 @@ JobRoles = __decorateClass([
|
|
|
1287
1292
|
ResumeParserLog,
|
|
1288
1293
|
SUBADMIN_PATTERN,
|
|
1289
1294
|
TypeOfEmployment,
|
|
1290
|
-
UpdateCompanyLogoDto,
|
|
1291
1295
|
UpdateCompanyProfileDto,
|
|
1292
1296
|
UpdateSubAdminAccountStatusDto,
|
|
1293
1297
|
UpdateSubAdminDto,
|
package/dist/index.mjs
CHANGED
|
@@ -67,7 +67,8 @@ var ONBOARDING_PATTERN = {
|
|
|
67
67
|
handleFreelancerProfileQuestion: "handle.freelancer.profile.question",
|
|
68
68
|
handleFreelancerWorkShowcase: "handle.freelancer.work.showcase",
|
|
69
69
|
handleClientAccountCreation: "handle.client.account.creation",
|
|
70
|
-
handleClientProfileQuestion: "handle.client.profile.question"
|
|
70
|
+
handleClientProfileQuestion: "handle.client.profile.question",
|
|
71
|
+
chaageFreelancerPassword: "change.freelancer.password"
|
|
71
72
|
};
|
|
72
73
|
|
|
73
74
|
// src/modules/onboarding/dto/freelancer-create-account.dto.ts
|
|
@@ -943,6 +944,12 @@ __decorateClass([
|
|
|
943
944
|
__decorateClass([
|
|
944
945
|
Column8({ name: "is_service_aggrement_signed", type: "boolean", default: false })
|
|
945
946
|
], CompanyProfile.prototype, "isServiceAgreementSigned", 2);
|
|
947
|
+
__decorateClass([
|
|
948
|
+
Column8({ name: "company_address", type: "varchar", nullable: true })
|
|
949
|
+
], CompanyProfile.prototype, "companyAddress", 2);
|
|
950
|
+
__decorateClass([
|
|
951
|
+
Column8({ name: "phone_number", type: "varchar", nullable: true })
|
|
952
|
+
], CompanyProfile.prototype, "phoneNumber", 2);
|
|
946
953
|
__decorateClass([
|
|
947
954
|
Column8({ name: "skills", type: "text", nullable: true })
|
|
948
955
|
], CompanyProfile.prototype, "skills", 2);
|
|
@@ -998,6 +1005,14 @@ __decorateClass([
|
|
|
998
1005
|
__decorateClass([
|
|
999
1006
|
IsBoolean4({ message: "Service agreement must be boolean" })
|
|
1000
1007
|
], UpdateCompanyProfileDto.prototype, "isServiceAgreementSigned", 2);
|
|
1008
|
+
__decorateClass([
|
|
1009
|
+
IsOptional4(),
|
|
1010
|
+
IsString9({ message: "Company address must be a string." })
|
|
1011
|
+
], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
|
|
1012
|
+
__decorateClass([
|
|
1013
|
+
IsOptional4(),
|
|
1014
|
+
IsString9({ message: "Phone number must be a string." })
|
|
1015
|
+
], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
|
|
1001
1016
|
__decorateClass([
|
|
1002
1017
|
IsOptional4(),
|
|
1003
1018
|
IsArray({ message: "Skills must be an array of strings." }),
|
|
@@ -1026,15 +1041,6 @@ __decorateClass([
|
|
|
1026
1041
|
})
|
|
1027
1042
|
], UpdateCompanyProfileDto.prototype, "foundUsOn", 2);
|
|
1028
1043
|
|
|
1029
|
-
// src/modules/user/client-profile/dto/update-client-logo.dto.ts
|
|
1030
|
-
import { IsNotEmpty as IsNotEmpty14, IsUUID as IsUUID6 } from "class-validator";
|
|
1031
|
-
var UpdateCompanyLogoDto = class {
|
|
1032
|
-
};
|
|
1033
|
-
__decorateClass([
|
|
1034
|
-
IsNotEmpty14({ message: "Please enter uuid." }),
|
|
1035
|
-
IsUUID6()
|
|
1036
|
-
], UpdateCompanyLogoDto.prototype, "uuid", 2);
|
|
1037
|
-
|
|
1038
1044
|
// src/modules/question/pattern/pattern.ts
|
|
1039
1045
|
var QUESTION_PATTERN = {
|
|
1040
1046
|
fetchQuestions: "fetch.questions"
|
|
@@ -1042,23 +1048,23 @@ var QUESTION_PATTERN = {
|
|
|
1042
1048
|
|
|
1043
1049
|
// src/modules/question/dto/create-question.dto.ts
|
|
1044
1050
|
import {
|
|
1045
|
-
IsNotEmpty as
|
|
1051
|
+
IsNotEmpty as IsNotEmpty14,
|
|
1046
1052
|
IsOptional as IsOptional5,
|
|
1047
1053
|
IsBoolean as IsBoolean5
|
|
1048
1054
|
} from "class-validator";
|
|
1049
1055
|
var CreateQuestionDto = class {
|
|
1050
1056
|
};
|
|
1051
1057
|
__decorateClass([
|
|
1052
|
-
|
|
1058
|
+
IsNotEmpty14({ message: "Please enter unique id." })
|
|
1053
1059
|
], CreateQuestionDto.prototype, "questionId", 2);
|
|
1054
1060
|
__decorateClass([
|
|
1055
|
-
|
|
1061
|
+
IsNotEmpty14({ message: "Please enter question." })
|
|
1056
1062
|
], CreateQuestionDto.prototype, "question", 2);
|
|
1057
1063
|
__decorateClass([
|
|
1058
|
-
|
|
1064
|
+
IsNotEmpty14({ message: "Please enter for whom the question is." })
|
|
1059
1065
|
], CreateQuestionDto.prototype, "questionFor", 2);
|
|
1060
1066
|
__decorateClass([
|
|
1061
|
-
|
|
1067
|
+
IsNotEmpty14({ message: "Please enter options." })
|
|
1062
1068
|
], CreateQuestionDto.prototype, "options", 2);
|
|
1063
1069
|
__decorateClass([
|
|
1064
1070
|
IsOptional5(),
|
|
@@ -1313,7 +1319,6 @@ export {
|
|
|
1313
1319
|
ResumeParserLog,
|
|
1314
1320
|
SUBADMIN_PATTERN,
|
|
1315
1321
|
TypeOfEmployment,
|
|
1316
|
-
UpdateCompanyLogoDto,
|
|
1317
1322
|
UpdateCompanyProfileDto,
|
|
1318
1323
|
UpdateSubAdminAccountStatusDto,
|
|
1319
1324
|
UpdateSubAdminDto,
|
|
@@ -20,6 +20,8 @@ export interface IUpdateClientProfilePayload {
|
|
|
20
20
|
webSite?: string;
|
|
21
21
|
isServiceAgreementSigned?: boolean;
|
|
22
22
|
aboutCompany: string;
|
|
23
|
+
companyAddress: string;
|
|
24
|
+
phoneNumber: string;
|
|
23
25
|
skills?: string[];
|
|
24
26
|
requiredFreelancer?: string;
|
|
25
27
|
kindOfHiring?: string;
|
package/package.json
CHANGED