@experts_hub/shared 1.0.170 → 1.0.172
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 +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.js +44 -1
- package/dist/index.mjs +158 -118
- package/dist/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.d.ts +5 -0
- package/dist/modules/onboarding/dto/freelancer-initiate-ai-assessment.dto.d.ts +3 -0
- package/dist/modules/onboarding/dto/freelancer-parse-resume.dto.d.ts +3 -0
- package/dist/modules/onboarding/dto/index.d.ts +3 -0
- package/dist/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -107,6 +107,20 @@ declare class FreelancerUploadResumeDto {
|
|
|
107
107
|
uuid: string;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
declare class FreelancerParseResumeDto {
|
|
111
|
+
uuid: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare class FreelancerInitiateAiAssessmentDto {
|
|
115
|
+
uuid: string;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare class FreelancerCaptureAiAssessmentStatusDto {
|
|
119
|
+
uuid: string;
|
|
120
|
+
assessmentId: string;
|
|
121
|
+
assessmentStatus: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
110
124
|
declare class FreelancerDevelopmentPreferenceDto {
|
|
111
125
|
uuid: string;
|
|
112
126
|
developer: boolean;
|
|
@@ -1301,7 +1315,7 @@ declare enum DocumentTypeEnum {
|
|
|
1301
1315
|
declare class FreelancerDeclarationDto {
|
|
1302
1316
|
uuid?: string;
|
|
1303
1317
|
documentType: DocumentTypeEnum;
|
|
1304
|
-
declarationAccepted:
|
|
1318
|
+
declarationAccepted: string;
|
|
1305
1319
|
}
|
|
1306
1320
|
|
|
1307
1321
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1361,4 +1375,4 @@ declare class Permission extends BaseEntity {
|
|
|
1361
1375
|
isActive: boolean;
|
|
1362
1376
|
}
|
|
1363
1377
|
|
|
1364
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
1378
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -107,6 +107,20 @@ declare class FreelancerUploadResumeDto {
|
|
|
107
107
|
uuid: string;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
declare class FreelancerParseResumeDto {
|
|
111
|
+
uuid: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare class FreelancerInitiateAiAssessmentDto {
|
|
115
|
+
uuid: string;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare class FreelancerCaptureAiAssessmentStatusDto {
|
|
119
|
+
uuid: string;
|
|
120
|
+
assessmentId: string;
|
|
121
|
+
assessmentStatus: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
110
124
|
declare class FreelancerDevelopmentPreferenceDto {
|
|
111
125
|
uuid: string;
|
|
112
126
|
developer: boolean;
|
|
@@ -1301,7 +1315,7 @@ declare enum DocumentTypeEnum {
|
|
|
1301
1315
|
declare class FreelancerDeclarationDto {
|
|
1302
1316
|
uuid?: string;
|
|
1303
1317
|
documentType: DocumentTypeEnum;
|
|
1304
|
-
declarationAccepted:
|
|
1318
|
+
declarationAccepted: string;
|
|
1305
1319
|
}
|
|
1306
1320
|
|
|
1307
1321
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1361,4 +1375,4 @@ declare class Permission extends BaseEntity {
|
|
|
1361
1375
|
isActive: boolean;
|
|
1362
1376
|
}
|
|
1363
1377
|
|
|
1364
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
1378
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.js
CHANGED
|
@@ -69,6 +69,7 @@ __export(index_exports, {
|
|
|
69
69
|
ForgotPasswordDto: () => ForgotPasswordDto,
|
|
70
70
|
FreelancerAssessment: () => FreelancerAssessment,
|
|
71
71
|
FreelancerBankDetailsDto: () => FreelancerBankDetailsDto,
|
|
72
|
+
FreelancerCaptureAiAssessmentStatusDto: () => FreelancerCaptureAiAssessmentStatusDto,
|
|
72
73
|
FreelancerCaseStudy: () => FreelancerCaseStudy,
|
|
73
74
|
FreelancerChangePasswordDto: () => FreelancerChangePasswordDto,
|
|
74
75
|
FreelancerCoreSkill: () => FreelancerCoreSkill,
|
|
@@ -81,6 +82,8 @@ __export(index_exports, {
|
|
|
81
82
|
FreelancerExperience: () => FreelancerExperience,
|
|
82
83
|
FreelancerExperienceDto: () => FreelancerExperienceDto,
|
|
83
84
|
FreelancerFramework: () => FreelancerFramework,
|
|
85
|
+
FreelancerInitiateAiAssessmentDto: () => FreelancerInitiateAiAssessmentDto,
|
|
86
|
+
FreelancerParseResumeDto: () => FreelancerParseResumeDto,
|
|
84
87
|
FreelancerProfile: () => FreelancerProfile,
|
|
85
88
|
FreelancerProfileQuestionDto: () => FreelancerProfileQuestionDto,
|
|
86
89
|
FreelancerProject: () => FreelancerProject,
|
|
@@ -439,6 +442,39 @@ __decorateClass([
|
|
|
439
442
|
(0, import_class_validator11.IsUUID)()
|
|
440
443
|
], FreelancerUploadResumeDto.prototype, "uuid", 2);
|
|
441
444
|
|
|
445
|
+
// src/modules/onboarding/dto/freelancer-parse-resume.dto.ts
|
|
446
|
+
var import_types = require("class-validator/types");
|
|
447
|
+
var FreelancerParseResumeDto = class {
|
|
448
|
+
};
|
|
449
|
+
__decorateClass([
|
|
450
|
+
(0, import_types.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
451
|
+
(0, import_types.IsUUID)()
|
|
452
|
+
], FreelancerParseResumeDto.prototype, "uuid", 2);
|
|
453
|
+
|
|
454
|
+
// src/modules/onboarding/dto/freelancer-initiate-ai-assessment.dto.ts
|
|
455
|
+
var import_types2 = require("class-validator/types");
|
|
456
|
+
var FreelancerInitiateAiAssessmentDto = class {
|
|
457
|
+
};
|
|
458
|
+
__decorateClass([
|
|
459
|
+
(0, import_types2.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
460
|
+
(0, import_types2.IsUUID)()
|
|
461
|
+
], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
|
|
462
|
+
|
|
463
|
+
// src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
|
|
464
|
+
var import_types3 = require("class-validator/types");
|
|
465
|
+
var FreelancerCaptureAiAssessmentStatusDto = class {
|
|
466
|
+
};
|
|
467
|
+
__decorateClass([
|
|
468
|
+
(0, import_types3.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
469
|
+
(0, import_types3.IsUUID)()
|
|
470
|
+
], FreelancerCaptureAiAssessmentStatusDto.prototype, "uuid", 2);
|
|
471
|
+
__decorateClass([
|
|
472
|
+
(0, import_types3.IsNotEmpty)({ message: "Please enter assessment id." })
|
|
473
|
+
], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentId", 2);
|
|
474
|
+
__decorateClass([
|
|
475
|
+
(0, import_types3.IsNotEmpty)({ message: "Please enter assessment status." })
|
|
476
|
+
], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
|
|
477
|
+
|
|
442
478
|
// src/modules/onboarding/dto/freelancer-development-preference.dto.ts
|
|
443
479
|
var import_class_validator12 = require("class-validator");
|
|
444
480
|
var FreelancerDevelopmentPreferenceDto = class {
|
|
@@ -2878,7 +2914,11 @@ __decorateClass([
|
|
|
2878
2914
|
(0, import_class_validator43.IsEnum)(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
2879
2915
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
2880
2916
|
__decorateClass([
|
|
2881
|
-
(0, import_class_validator43.
|
|
2917
|
+
(0, import_class_validator43.IsNotEmpty)({ message: "Please accept the declaration " }),
|
|
2918
|
+
(0, import_class_validator43.IsString)(),
|
|
2919
|
+
(0, import_class_validator43.IsIn)([
|
|
2920
|
+
"true"
|
|
2921
|
+
])
|
|
2882
2922
|
], FreelancerDeclarationDto.prototype, "declarationAccepted", 2);
|
|
2883
2923
|
|
|
2884
2924
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -3260,6 +3300,7 @@ Permission = __decorateClass([
|
|
|
3260
3300
|
ForgotPasswordDto,
|
|
3261
3301
|
FreelancerAssessment,
|
|
3262
3302
|
FreelancerBankDetailsDto,
|
|
3303
|
+
FreelancerCaptureAiAssessmentStatusDto,
|
|
3263
3304
|
FreelancerCaseStudy,
|
|
3264
3305
|
FreelancerChangePasswordDto,
|
|
3265
3306
|
FreelancerCoreSkill,
|
|
@@ -3272,6 +3313,8 @@ Permission = __decorateClass([
|
|
|
3272
3313
|
FreelancerExperience,
|
|
3273
3314
|
FreelancerExperienceDto,
|
|
3274
3315
|
FreelancerFramework,
|
|
3316
|
+
FreelancerInitiateAiAssessmentDto,
|
|
3317
|
+
FreelancerParseResumeDto,
|
|
3275
3318
|
FreelancerProfile,
|
|
3276
3319
|
FreelancerProfileQuestionDto,
|
|
3277
3320
|
FreelancerProject,
|
package/dist/index.mjs
CHANGED
|
@@ -303,34 +303,67 @@ __decorateClass([
|
|
|
303
303
|
IsUUID()
|
|
304
304
|
], FreelancerUploadResumeDto.prototype, "uuid", 2);
|
|
305
305
|
|
|
306
|
-
// src/modules/onboarding/dto/freelancer-
|
|
307
|
-
import {
|
|
308
|
-
var
|
|
306
|
+
// src/modules/onboarding/dto/freelancer-parse-resume.dto.ts
|
|
307
|
+
import { IsNotEmpty as IsNotEmpty11, IsUUID as IsUUID2 } from "class-validator/types";
|
|
308
|
+
var FreelancerParseResumeDto = class {
|
|
309
309
|
};
|
|
310
310
|
__decorateClass([
|
|
311
311
|
IsNotEmpty11({ message: "Please enter uuid." }),
|
|
312
312
|
IsUUID2()
|
|
313
|
+
], FreelancerParseResumeDto.prototype, "uuid", 2);
|
|
314
|
+
|
|
315
|
+
// src/modules/onboarding/dto/freelancer-initiate-ai-assessment.dto.ts
|
|
316
|
+
import { IsNotEmpty as IsNotEmpty12, IsUUID as IsUUID3 } from "class-validator/types";
|
|
317
|
+
var FreelancerInitiateAiAssessmentDto = class {
|
|
318
|
+
};
|
|
319
|
+
__decorateClass([
|
|
320
|
+
IsNotEmpty12({ message: "Please enter uuid." }),
|
|
321
|
+
IsUUID3()
|
|
322
|
+
], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
|
|
323
|
+
|
|
324
|
+
// src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
|
|
325
|
+
import { IsNotEmpty as IsNotEmpty13, IsUUID as IsUUID4 } from "class-validator/types";
|
|
326
|
+
var FreelancerCaptureAiAssessmentStatusDto = class {
|
|
327
|
+
};
|
|
328
|
+
__decorateClass([
|
|
329
|
+
IsNotEmpty13({ message: "Please enter uuid." }),
|
|
330
|
+
IsUUID4()
|
|
331
|
+
], FreelancerCaptureAiAssessmentStatusDto.prototype, "uuid", 2);
|
|
332
|
+
__decorateClass([
|
|
333
|
+
IsNotEmpty13({ message: "Please enter assessment id." })
|
|
334
|
+
], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentId", 2);
|
|
335
|
+
__decorateClass([
|
|
336
|
+
IsNotEmpty13({ message: "Please enter assessment status." })
|
|
337
|
+
], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
|
|
338
|
+
|
|
339
|
+
// src/modules/onboarding/dto/freelancer-development-preference.dto.ts
|
|
340
|
+
import { IsUUID as IsUUID5, IsNotEmpty as IsNotEmpty14, IsBoolean } from "class-validator";
|
|
341
|
+
var FreelancerDevelopmentPreferenceDto = class {
|
|
342
|
+
};
|
|
343
|
+
__decorateClass([
|
|
344
|
+
IsNotEmpty14({ message: "Please enter uuid." }),
|
|
345
|
+
IsUUID5()
|
|
313
346
|
], FreelancerDevelopmentPreferenceDto.prototype, "uuid", 2);
|
|
314
347
|
__decorateClass([
|
|
315
|
-
|
|
348
|
+
IsNotEmpty14({ message: "Please select development flag." }),
|
|
316
349
|
IsBoolean()
|
|
317
350
|
], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
|
|
318
351
|
|
|
319
352
|
// src/modules/onboarding/dto/freelancer-profile-question.dto.ts
|
|
320
353
|
import {
|
|
321
|
-
IsUUID as
|
|
354
|
+
IsUUID as IsUUID6,
|
|
322
355
|
IsString as IsString4,
|
|
323
|
-
IsNotEmpty as
|
|
356
|
+
IsNotEmpty as IsNotEmpty15,
|
|
324
357
|
IsIn
|
|
325
358
|
} from "class-validator";
|
|
326
359
|
var FreelancerProfileQuestionDto = class {
|
|
327
360
|
};
|
|
328
361
|
__decorateClass([
|
|
329
|
-
|
|
330
|
-
|
|
362
|
+
IsNotEmpty15({ message: "Please enter uuid." }),
|
|
363
|
+
IsUUID6()
|
|
331
364
|
], FreelancerProfileQuestionDto.prototype, "uuid", 2);
|
|
332
365
|
__decorateClass([
|
|
333
|
-
|
|
366
|
+
IsNotEmpty15({ message: "Please enter question slug." }),
|
|
334
367
|
IsString4(),
|
|
335
368
|
IsIn([
|
|
336
369
|
"natureOfWork",
|
|
@@ -341,25 +374,25 @@ __decorateClass([
|
|
|
341
374
|
])
|
|
342
375
|
], FreelancerProfileQuestionDto.prototype, "question_slug", 2);
|
|
343
376
|
__decorateClass([
|
|
344
|
-
|
|
377
|
+
IsNotEmpty15({ message: "Please enter answer." })
|
|
345
378
|
], FreelancerProfileQuestionDto.prototype, "answer", 2);
|
|
346
379
|
|
|
347
380
|
// src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
|
|
348
381
|
import {
|
|
349
|
-
IsNotEmpty as
|
|
382
|
+
IsNotEmpty as IsNotEmpty16,
|
|
350
383
|
IsOptional,
|
|
351
384
|
IsUrl,
|
|
352
385
|
IsString as IsString5,
|
|
353
|
-
IsUUID as
|
|
386
|
+
IsUUID as IsUUID7
|
|
354
387
|
} from "class-validator";
|
|
355
388
|
var FreelancerWorkShowcaseDto = class {
|
|
356
389
|
};
|
|
357
390
|
__decorateClass([
|
|
358
|
-
|
|
359
|
-
|
|
391
|
+
IsNotEmpty16({ message: "Please enter uuid." }),
|
|
392
|
+
IsUUID7()
|
|
360
393
|
], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
|
|
361
394
|
__decorateClass([
|
|
362
|
-
|
|
395
|
+
IsNotEmpty16({ message: "Please enter likedin profile url." }),
|
|
363
396
|
IsString5(),
|
|
364
397
|
IsUrl({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
|
|
365
398
|
], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
|
|
@@ -382,20 +415,20 @@ __decorateClass([
|
|
|
382
415
|
|
|
383
416
|
// src/modules/onboarding/dto/client-profile-question.dto.ts
|
|
384
417
|
import {
|
|
385
|
-
IsUUID as
|
|
418
|
+
IsUUID as IsUUID8,
|
|
386
419
|
IsString as IsString6,
|
|
387
|
-
IsNotEmpty as
|
|
420
|
+
IsNotEmpty as IsNotEmpty17,
|
|
388
421
|
IsIn as IsIn2,
|
|
389
422
|
ValidateIf
|
|
390
423
|
} from "class-validator";
|
|
391
424
|
var ClientProfileQuestionDto = class {
|
|
392
425
|
};
|
|
393
426
|
__decorateClass([
|
|
394
|
-
|
|
395
|
-
|
|
427
|
+
IsNotEmpty17({ message: "Please enter uuid." }),
|
|
428
|
+
IsUUID8()
|
|
396
429
|
], ClientProfileQuestionDto.prototype, "uuid", 2);
|
|
397
430
|
__decorateClass([
|
|
398
|
-
|
|
431
|
+
IsNotEmpty17({ message: "Please enter question slug." }),
|
|
399
432
|
IsString6(),
|
|
400
433
|
IsIn2([
|
|
401
434
|
"skills",
|
|
@@ -406,17 +439,17 @@ __decorateClass([
|
|
|
406
439
|
])
|
|
407
440
|
], ClientProfileQuestionDto.prototype, "question_slug", 2);
|
|
408
441
|
__decorateClass([
|
|
409
|
-
|
|
442
|
+
IsNotEmpty17({ message: "Please enter answer." })
|
|
410
443
|
], ClientProfileQuestionDto.prototype, "answer", 2);
|
|
411
444
|
__decorateClass([
|
|
412
445
|
ValidateIf((o) => o.questionSlug === "foundUsOn" && o.answer === "OTHER"),
|
|
413
|
-
|
|
446
|
+
IsNotEmpty17({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
|
|
414
447
|
IsString6()
|
|
415
448
|
], ClientProfileQuestionDto.prototype, "foundUsOnDetail", 2);
|
|
416
449
|
|
|
417
450
|
// src/modules/onboarding/dto/client-create-account.dto.ts
|
|
418
451
|
import {
|
|
419
|
-
IsNotEmpty as
|
|
452
|
+
IsNotEmpty as IsNotEmpty18,
|
|
420
453
|
IsEmail as IsEmail3,
|
|
421
454
|
Matches as Matches4,
|
|
422
455
|
MinLength as MinLength4,
|
|
@@ -426,23 +459,23 @@ import {
|
|
|
426
459
|
var ClientCreateAccountDto = class {
|
|
427
460
|
};
|
|
428
461
|
__decorateClass([
|
|
429
|
-
|
|
462
|
+
IsNotEmpty18({ message: "Please enter first name." }),
|
|
430
463
|
IsString7({ message: "Please enter valid first name." })
|
|
431
464
|
], ClientCreateAccountDto.prototype, "firstName", 2);
|
|
432
465
|
__decorateClass([
|
|
433
|
-
|
|
466
|
+
IsNotEmpty18({ message: "Please enter last name." }),
|
|
434
467
|
IsString7({ message: "Please enter valid last name." })
|
|
435
468
|
], ClientCreateAccountDto.prototype, "lastName", 2);
|
|
436
469
|
__decorateClass([
|
|
437
|
-
|
|
470
|
+
IsNotEmpty18({ message: "Please enter email." }),
|
|
438
471
|
IsEmail3()
|
|
439
472
|
], ClientCreateAccountDto.prototype, "email", 2);
|
|
440
473
|
__decorateClass([
|
|
441
|
-
|
|
474
|
+
IsNotEmpty18({ message: "Please enter company name." }),
|
|
442
475
|
IsString7({ message: "Please enter valid company name." })
|
|
443
476
|
], ClientCreateAccountDto.prototype, "companyName", 2);
|
|
444
477
|
__decorateClass([
|
|
445
|
-
|
|
478
|
+
IsNotEmpty18({ message: "Please enter password." }),
|
|
446
479
|
MinLength4(6),
|
|
447
480
|
MaxLength4(32),
|
|
448
481
|
Matches4(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
@@ -450,7 +483,7 @@ __decorateClass([
|
|
|
450
483
|
})
|
|
451
484
|
], ClientCreateAccountDto.prototype, "password", 2);
|
|
452
485
|
__decorateClass([
|
|
453
|
-
|
|
486
|
+
IsNotEmpty18({ message: "Please enter confirm password." }),
|
|
454
487
|
Match("password", { message: "Passwords do not match" })
|
|
455
488
|
], ClientCreateAccountDto.prototype, "confirmPassword", 2);
|
|
456
489
|
|
|
@@ -473,36 +506,36 @@ var SUBADMIN_PATTERN = {
|
|
|
473
506
|
|
|
474
507
|
// src/modules/user/subadmin/dto/create-subadmin.dto.ts
|
|
475
508
|
import {
|
|
476
|
-
IsNotEmpty as
|
|
509
|
+
IsNotEmpty as IsNotEmpty19
|
|
477
510
|
} from "class-validator";
|
|
478
511
|
var CreateSubAdminDto = class {
|
|
479
512
|
};
|
|
480
513
|
__decorateClass([
|
|
481
|
-
|
|
514
|
+
IsNotEmpty19({ message: "Please enter unique id." })
|
|
482
515
|
], CreateSubAdminDto.prototype, "uniqueId", 2);
|
|
483
516
|
__decorateClass([
|
|
484
|
-
|
|
517
|
+
IsNotEmpty19({ message: "Please enter username." })
|
|
485
518
|
], CreateSubAdminDto.prototype, "userName", 2);
|
|
486
519
|
__decorateClass([
|
|
487
|
-
|
|
520
|
+
IsNotEmpty19({ message: "Please enter first name." })
|
|
488
521
|
], CreateSubAdminDto.prototype, "firstName", 2);
|
|
489
522
|
__decorateClass([
|
|
490
|
-
|
|
523
|
+
IsNotEmpty19({ message: "Please enter last name." })
|
|
491
524
|
], CreateSubAdminDto.prototype, "lastName", 2);
|
|
492
525
|
__decorateClass([
|
|
493
|
-
|
|
526
|
+
IsNotEmpty19({ message: "Please enter email." })
|
|
494
527
|
], CreateSubAdminDto.prototype, "email", 2);
|
|
495
528
|
__decorateClass([
|
|
496
|
-
|
|
529
|
+
IsNotEmpty19({ message: "Please enter mobile number." })
|
|
497
530
|
], CreateSubAdminDto.prototype, "mobile", 2);
|
|
498
531
|
__decorateClass([
|
|
499
|
-
|
|
532
|
+
IsNotEmpty19({ message: "Please enter the password." })
|
|
500
533
|
], CreateSubAdminDto.prototype, "password", 2);
|
|
501
534
|
__decorateClass([
|
|
502
|
-
|
|
535
|
+
IsNotEmpty19({ message: "Please enter account type." })
|
|
503
536
|
], CreateSubAdminDto.prototype, "accountType", 2);
|
|
504
537
|
__decorateClass([
|
|
505
|
-
|
|
538
|
+
IsNotEmpty19({ message: "Please enter account status." })
|
|
506
539
|
], CreateSubAdminDto.prototype, "accountStatus", 2);
|
|
507
540
|
|
|
508
541
|
// src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
|
|
@@ -514,35 +547,35 @@ __decorateClass([
|
|
|
514
547
|
], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
|
|
515
548
|
|
|
516
549
|
// src/modules/user/subadmin/dto/update-subadmin.dto.ts
|
|
517
|
-
import { IsNotEmpty as
|
|
550
|
+
import { IsNotEmpty as IsNotEmpty20 } from "class-validator";
|
|
518
551
|
var UpdateSubAdminDto = class {
|
|
519
552
|
};
|
|
520
553
|
__decorateClass([
|
|
521
|
-
|
|
554
|
+
IsNotEmpty20({ message: "Please enter unique id." })
|
|
522
555
|
], UpdateSubAdminDto.prototype, "uniqueId", 2);
|
|
523
556
|
__decorateClass([
|
|
524
|
-
|
|
557
|
+
IsNotEmpty20({ message: "Please enter username." })
|
|
525
558
|
], UpdateSubAdminDto.prototype, "userName", 2);
|
|
526
559
|
__decorateClass([
|
|
527
|
-
|
|
560
|
+
IsNotEmpty20({ message: "Please enter first name." })
|
|
528
561
|
], UpdateSubAdminDto.prototype, "firstName", 2);
|
|
529
562
|
__decorateClass([
|
|
530
|
-
|
|
563
|
+
IsNotEmpty20({ message: "Please enter last name." })
|
|
531
564
|
], UpdateSubAdminDto.prototype, "lastName", 2);
|
|
532
565
|
__decorateClass([
|
|
533
|
-
|
|
566
|
+
IsNotEmpty20({ message: "Please enter email." })
|
|
534
567
|
], UpdateSubAdminDto.prototype, "email", 2);
|
|
535
568
|
__decorateClass([
|
|
536
|
-
|
|
569
|
+
IsNotEmpty20({ message: "Please enter mobile number." })
|
|
537
570
|
], UpdateSubAdminDto.prototype, "mobile", 2);
|
|
538
571
|
__decorateClass([
|
|
539
|
-
|
|
572
|
+
IsNotEmpty20({ message: "Please enter the password." })
|
|
540
573
|
], UpdateSubAdminDto.prototype, "password", 2);
|
|
541
574
|
__decorateClass([
|
|
542
|
-
|
|
575
|
+
IsNotEmpty20({ message: "Please enter account type." })
|
|
543
576
|
], UpdateSubAdminDto.prototype, "accountType", 2);
|
|
544
577
|
__decorateClass([
|
|
545
|
-
|
|
578
|
+
IsNotEmpty20({ message: "Please enter account status." })
|
|
546
579
|
], UpdateSubAdminDto.prototype, "accountStatus", 2);
|
|
547
580
|
|
|
548
581
|
// src/modules/user/client-profile/pattern/pattern.ts
|
|
@@ -556,7 +589,7 @@ var CLIENT_PROFILE_PATTERN = {
|
|
|
556
589
|
// src/modules/user/client-profile/dto/update-client-profile.dto.ts
|
|
557
590
|
import {
|
|
558
591
|
IsString as IsString10,
|
|
559
|
-
IsNotEmpty as
|
|
592
|
+
IsNotEmpty as IsNotEmpty21,
|
|
560
593
|
IsEmail as IsEmail5,
|
|
561
594
|
Length as Length2,
|
|
562
595
|
IsUrl as IsUrl2,
|
|
@@ -565,33 +598,33 @@ import {
|
|
|
565
598
|
var UpdateCompanyProfileDto = class {
|
|
566
599
|
};
|
|
567
600
|
__decorateClass([
|
|
568
|
-
|
|
601
|
+
IsNotEmpty21({ message: "Please enter company name." }),
|
|
569
602
|
IsString10({ message: "Company name must be a string." }),
|
|
570
603
|
Length2(2, 255, {
|
|
571
604
|
message: "Company name must be between 2 and 255 characters"
|
|
572
605
|
})
|
|
573
606
|
], UpdateCompanyProfileDto.prototype, "companyName", 2);
|
|
574
607
|
__decorateClass([
|
|
575
|
-
|
|
608
|
+
IsNotEmpty21({ message: "Please enter company website url." }),
|
|
576
609
|
IsUrl2({}, { message: "Invalid website URL format" })
|
|
577
610
|
], UpdateCompanyProfileDto.prototype, "webSite", 2);
|
|
578
611
|
__decorateClass([
|
|
579
|
-
|
|
612
|
+
IsNotEmpty21({ message: "Please enter company address." }),
|
|
580
613
|
IsString10({ message: "Company address must be a string" }),
|
|
581
614
|
Length2(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
|
|
582
615
|
], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
|
|
583
616
|
__decorateClass([
|
|
584
|
-
|
|
617
|
+
IsNotEmpty21({ message: "Please enter phone number." }),
|
|
585
618
|
Matches5(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
|
|
586
619
|
message: "Please enter a valid US phone number"
|
|
587
620
|
})
|
|
588
621
|
], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
|
|
589
622
|
__decorateClass([
|
|
590
|
-
|
|
623
|
+
IsNotEmpty21({ message: "Please enter email." }),
|
|
591
624
|
IsEmail5()
|
|
592
625
|
], UpdateCompanyProfileDto.prototype, "email", 2);
|
|
593
626
|
__decorateClass([
|
|
594
|
-
|
|
627
|
+
IsNotEmpty21({ message: "Please enter something about company." }),
|
|
595
628
|
IsString10({ message: "About company must be a string." })
|
|
596
629
|
], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
|
|
597
630
|
|
|
@@ -600,7 +633,7 @@ import {
|
|
|
600
633
|
IsString as IsString11,
|
|
601
634
|
MinLength as MinLength6,
|
|
602
635
|
Matches as Matches6,
|
|
603
|
-
IsNotEmpty as
|
|
636
|
+
IsNotEmpty as IsNotEmpty22
|
|
604
637
|
} from "class-validator";
|
|
605
638
|
var ClientChangePasswordDto = class {
|
|
606
639
|
};
|
|
@@ -612,7 +645,7 @@ __decorateClass([
|
|
|
612
645
|
})
|
|
613
646
|
], ClientChangePasswordDto.prototype, "newPassword", 2);
|
|
614
647
|
__decorateClass([
|
|
615
|
-
|
|
648
|
+
IsNotEmpty22({ message: "Please enter confirm password." }),
|
|
616
649
|
Match("newPassword", { message: "Passwords do not match" })
|
|
617
650
|
], ClientChangePasswordDto.prototype, "confirmPassword", 2);
|
|
618
651
|
|
|
@@ -623,23 +656,23 @@ var QUESTION_PATTERN = {
|
|
|
623
656
|
|
|
624
657
|
// src/modules/question/dto/create-question.dto.ts
|
|
625
658
|
import {
|
|
626
|
-
IsNotEmpty as
|
|
659
|
+
IsNotEmpty as IsNotEmpty23,
|
|
627
660
|
IsOptional as IsOptional4,
|
|
628
661
|
IsBoolean as IsBoolean4
|
|
629
662
|
} from "class-validator";
|
|
630
663
|
var CreateQuestionDto = class {
|
|
631
664
|
};
|
|
632
665
|
__decorateClass([
|
|
633
|
-
|
|
666
|
+
IsNotEmpty23({ message: "Please enter unique id." })
|
|
634
667
|
], CreateQuestionDto.prototype, "questionId", 2);
|
|
635
668
|
__decorateClass([
|
|
636
|
-
|
|
669
|
+
IsNotEmpty23({ message: "Please enter question." })
|
|
637
670
|
], CreateQuestionDto.prototype, "question", 2);
|
|
638
671
|
__decorateClass([
|
|
639
|
-
|
|
672
|
+
IsNotEmpty23({ message: "Please enter for whom the question is." })
|
|
640
673
|
], CreateQuestionDto.prototype, "questionFor", 2);
|
|
641
674
|
__decorateClass([
|
|
642
|
-
|
|
675
|
+
IsNotEmpty23({ message: "Please enter options." })
|
|
643
676
|
], CreateQuestionDto.prototype, "options", 2);
|
|
644
677
|
__decorateClass([
|
|
645
678
|
IsOptional4(),
|
|
@@ -670,7 +703,7 @@ var JOB_PATTERN = {
|
|
|
670
703
|
// src/modules/job/dto/job-basic-information.dto.ts
|
|
671
704
|
import {
|
|
672
705
|
IsString as IsString12,
|
|
673
|
-
IsNotEmpty as
|
|
706
|
+
IsNotEmpty as IsNotEmpty24,
|
|
674
707
|
IsArray,
|
|
675
708
|
ArrayNotEmpty,
|
|
676
709
|
IsNumber,
|
|
@@ -694,7 +727,7 @@ var EmploymentType = /* @__PURE__ */ ((EmploymentType2) => {
|
|
|
694
727
|
var JobBasicInformationDto = class {
|
|
695
728
|
};
|
|
696
729
|
__decorateClass([
|
|
697
|
-
|
|
730
|
+
IsNotEmpty24({ message: "Please enter job role" }),
|
|
698
731
|
IsString12({ message: "Job role must be a string" })
|
|
699
732
|
], JobBasicInformationDto.prototype, "jobRole", 2);
|
|
700
733
|
__decorateClass([
|
|
@@ -756,17 +789,17 @@ __decorateClass([
|
|
|
756
789
|
], JobAdditionalCommentDto.prototype, "additionalComment", 2);
|
|
757
790
|
|
|
758
791
|
// src/modules/job/dto/job-description.dto.ts
|
|
759
|
-
import { IsString as IsString14, IsNotEmpty as
|
|
792
|
+
import { IsString as IsString14, IsNotEmpty as IsNotEmpty25, MaxLength as MaxLength7 } from "class-validator";
|
|
760
793
|
var JobDescriptionDto = class {
|
|
761
794
|
};
|
|
762
795
|
__decorateClass([
|
|
763
|
-
|
|
796
|
+
IsNotEmpty25({ message: "Please enter job description" }),
|
|
764
797
|
IsString14({ message: "Description must be a string" }),
|
|
765
798
|
MaxLength7(5e3, { message: "Description must not exceed 5000 characters" })
|
|
766
799
|
], JobDescriptionDto.prototype, "description", 2);
|
|
767
800
|
|
|
768
801
|
// src/modules/job/dto/job-status.dto.ts
|
|
769
|
-
import { IsEnum as IsEnum8, IsNotEmpty as
|
|
802
|
+
import { IsEnum as IsEnum8, IsNotEmpty as IsNotEmpty26 } from "class-validator";
|
|
770
803
|
var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
771
804
|
JobStatus2["ACTIVE"] = "ACTIVE";
|
|
772
805
|
JobStatus2["OPEN"] = "OPEN";
|
|
@@ -778,18 +811,18 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
|
778
811
|
var JobStatusDto = class {
|
|
779
812
|
};
|
|
780
813
|
__decorateClass([
|
|
781
|
-
|
|
814
|
+
IsNotEmpty26({ message: "Please provide a job status" }),
|
|
782
815
|
IsEnum8(JobStatus, {
|
|
783
816
|
message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
|
|
784
817
|
})
|
|
785
818
|
], JobStatusDto.prototype, "status", 2);
|
|
786
819
|
|
|
787
820
|
// src/modules/job/dto/job-id-param.dto.ts
|
|
788
|
-
import { IsUUID as
|
|
821
|
+
import { IsUUID as IsUUID9 } from "class-validator";
|
|
789
822
|
var JobIdParamDto = class {
|
|
790
823
|
};
|
|
791
824
|
__decorateClass([
|
|
792
|
-
|
|
825
|
+
IsUUID9("4", {
|
|
793
826
|
message: "Invalid job ID. It must be a valid UUID version 4."
|
|
794
827
|
})
|
|
795
828
|
], JobIdParamDto.prototype, "id", 2);
|
|
@@ -805,7 +838,7 @@ var PROFILE_PATTERN = {
|
|
|
805
838
|
// src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
|
|
806
839
|
import {
|
|
807
840
|
IsString as IsString15,
|
|
808
|
-
IsNotEmpty as
|
|
841
|
+
IsNotEmpty as IsNotEmpty27,
|
|
809
842
|
MaxLength as MaxLength8,
|
|
810
843
|
MinLength as MinLength7,
|
|
811
844
|
Matches as Matches7
|
|
@@ -813,11 +846,11 @@ import {
|
|
|
813
846
|
var FreelancerChangePasswordDto = class {
|
|
814
847
|
};
|
|
815
848
|
__decorateClass([
|
|
816
|
-
|
|
849
|
+
IsNotEmpty27({ message: "Please enter Old Password." }),
|
|
817
850
|
IsString15()
|
|
818
851
|
], FreelancerChangePasswordDto.prototype, "oldPassword", 2);
|
|
819
852
|
__decorateClass([
|
|
820
|
-
|
|
853
|
+
IsNotEmpty27({ message: "Please enter New Password." }),
|
|
821
854
|
IsString15(),
|
|
822
855
|
MinLength7(6),
|
|
823
856
|
MaxLength8(32),
|
|
@@ -909,7 +942,7 @@ var BANK_PATTERN = {
|
|
|
909
942
|
// src/modules/bank/dto/freelancer-bank-details.dto.ts
|
|
910
943
|
import {
|
|
911
944
|
IsEnum as IsEnum10,
|
|
912
|
-
IsNotEmpty as
|
|
945
|
+
IsNotEmpty as IsNotEmpty28,
|
|
913
946
|
IsOptional as IsOptional8,
|
|
914
947
|
ValidateIf as ValidateIf2
|
|
915
948
|
} from "class-validator";
|
|
@@ -921,41 +954,41 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
|
921
954
|
var FreelancerBankDetailsDto = class {
|
|
922
955
|
};
|
|
923
956
|
__decorateClass([
|
|
924
|
-
|
|
957
|
+
IsNotEmpty28({ message: "Please enter Account Holder Name." })
|
|
925
958
|
], FreelancerBankDetailsDto.prototype, "name", 2);
|
|
926
959
|
__decorateClass([
|
|
927
|
-
|
|
960
|
+
IsNotEmpty28({ message: "Please enter Mobile Number." })
|
|
928
961
|
], FreelancerBankDetailsDto.prototype, "mobile", 2);
|
|
929
962
|
__decorateClass([
|
|
930
|
-
|
|
963
|
+
IsNotEmpty28({ message: "Please enter Email." })
|
|
931
964
|
], FreelancerBankDetailsDto.prototype, "email", 2);
|
|
932
965
|
__decorateClass([
|
|
933
966
|
IsOptional8()
|
|
934
967
|
], FreelancerBankDetailsDto.prototype, "address", 2);
|
|
935
968
|
__decorateClass([
|
|
936
|
-
|
|
969
|
+
IsNotEmpty28({ message: "Please enter Account Number." })
|
|
937
970
|
], FreelancerBankDetailsDto.prototype, "accountNumber", 2);
|
|
938
971
|
__decorateClass([
|
|
939
|
-
|
|
972
|
+
IsNotEmpty28({ message: "Please enter Bank Name." })
|
|
940
973
|
], FreelancerBankDetailsDto.prototype, "bankName", 2);
|
|
941
974
|
__decorateClass([
|
|
942
|
-
|
|
975
|
+
IsNotEmpty28({ message: "Please enter Branch Name." })
|
|
943
976
|
], FreelancerBankDetailsDto.prototype, "branchName", 2);
|
|
944
977
|
__decorateClass([
|
|
945
978
|
ValidateIf2((dto) => dto.accountScope === "DOMESTIC"),
|
|
946
|
-
|
|
979
|
+
IsNotEmpty28({ message: "IFSC Code is required for DOMESTIC accounts." })
|
|
947
980
|
], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
|
|
948
981
|
__decorateClass([
|
|
949
982
|
ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
950
|
-
|
|
983
|
+
IsNotEmpty28({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
|
|
951
984
|
], FreelancerBankDetailsDto.prototype, "routingNo", 2);
|
|
952
985
|
__decorateClass([
|
|
953
986
|
ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
954
|
-
|
|
987
|
+
IsNotEmpty28({ message: "ABA Number is required for INTERNATIONAL accounts." })
|
|
955
988
|
], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
|
|
956
989
|
__decorateClass([
|
|
957
990
|
ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
958
|
-
|
|
991
|
+
IsNotEmpty28({ message: "IBAN is required for INTERNATIONAL accounts." })
|
|
959
992
|
], FreelancerBankDetailsDto.prototype, "iban", 2);
|
|
960
993
|
__decorateClass([
|
|
961
994
|
IsOptional8()
|
|
@@ -1019,7 +1052,7 @@ var RATING_PATTERN = {
|
|
|
1019
1052
|
import {
|
|
1020
1053
|
IsEnum as IsEnum12,
|
|
1021
1054
|
IsInt,
|
|
1022
|
-
IsNotEmpty as
|
|
1055
|
+
IsNotEmpty as IsNotEmpty29,
|
|
1023
1056
|
IsOptional as IsOptional9,
|
|
1024
1057
|
IsString as IsString17,
|
|
1025
1058
|
Max,
|
|
@@ -2607,7 +2640,7 @@ var CreateRatingDto = class {
|
|
|
2607
2640
|
};
|
|
2608
2641
|
__decorateClass([
|
|
2609
2642
|
IsInt({ message: "Reviewee ID must be a valid integer" }),
|
|
2610
|
-
|
|
2643
|
+
IsNotEmpty29({ message: "Reviewee ID is required" })
|
|
2611
2644
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
2612
2645
|
__decorateClass([
|
|
2613
2646
|
IsEnum12(RatingTypeEnum, {
|
|
@@ -2637,17 +2670,17 @@ var COMPANY_ROLES_PATTERNS = {
|
|
|
2637
2670
|
};
|
|
2638
2671
|
|
|
2639
2672
|
// src/modules/company-role/dto/create-company-role.dto.ts
|
|
2640
|
-
import { IsBoolean as IsBoolean6, IsNotEmpty as
|
|
2673
|
+
import { IsBoolean as IsBoolean6, IsNotEmpty as IsNotEmpty30, IsOptional as IsOptional10 } from "class-validator";
|
|
2641
2674
|
var CreateCompanyRoleDto = class {
|
|
2642
2675
|
};
|
|
2643
2676
|
__decorateClass([
|
|
2644
|
-
|
|
2677
|
+
IsNotEmpty30({ message: "Please enter company role name." })
|
|
2645
2678
|
], CreateCompanyRoleDto.prototype, "name", 2);
|
|
2646
2679
|
__decorateClass([
|
|
2647
|
-
|
|
2680
|
+
IsNotEmpty30({ message: "Please enter company role slug" })
|
|
2648
2681
|
], CreateCompanyRoleDto.prototype, "slug", 2);
|
|
2649
2682
|
__decorateClass([
|
|
2650
|
-
|
|
2683
|
+
IsNotEmpty30({ message: "Please enter description" })
|
|
2651
2684
|
], CreateCompanyRoleDto.prototype, "description", 2);
|
|
2652
2685
|
__decorateClass([
|
|
2653
2686
|
IsOptional10(),
|
|
@@ -2655,17 +2688,17 @@ __decorateClass([
|
|
|
2655
2688
|
], CreateCompanyRoleDto.prototype, "isActive", 2);
|
|
2656
2689
|
|
|
2657
2690
|
// src/modules/company-role/dto/update-company-role.dto.ts
|
|
2658
|
-
import { IsBoolean as IsBoolean7, IsNotEmpty as
|
|
2691
|
+
import { IsBoolean as IsBoolean7, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional11 } from "class-validator";
|
|
2659
2692
|
var UpdateCompanyRoleDto = class {
|
|
2660
2693
|
};
|
|
2661
2694
|
__decorateClass([
|
|
2662
|
-
|
|
2695
|
+
IsNotEmpty31({ message: "Please enter company name." })
|
|
2663
2696
|
], UpdateCompanyRoleDto.prototype, "name", 2);
|
|
2664
2697
|
__decorateClass([
|
|
2665
|
-
|
|
2698
|
+
IsNotEmpty31({ message: "Please enter slug" })
|
|
2666
2699
|
], UpdateCompanyRoleDto.prototype, "slug", 2);
|
|
2667
2700
|
__decorateClass([
|
|
2668
|
-
|
|
2701
|
+
IsNotEmpty31({ message: "Please enter description" })
|
|
2669
2702
|
], UpdateCompanyRoleDto.prototype, "description", 2);
|
|
2670
2703
|
__decorateClass([
|
|
2671
2704
|
IsOptional11(),
|
|
@@ -2688,7 +2721,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
|
|
|
2688
2721
|
|
|
2689
2722
|
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
2690
2723
|
import {
|
|
2691
|
-
IsNotEmpty as
|
|
2724
|
+
IsNotEmpty as IsNotEmpty32,
|
|
2692
2725
|
IsOptional as IsOptional12,
|
|
2693
2726
|
IsString as IsString20,
|
|
2694
2727
|
MaxLength as MaxLength10,
|
|
@@ -2701,19 +2734,19 @@ __decorateClass([
|
|
|
2701
2734
|
IsOptional12()
|
|
2702
2735
|
], ExperienceDto.prototype, "uuid", 2);
|
|
2703
2736
|
__decorateClass([
|
|
2704
|
-
|
|
2737
|
+
IsNotEmpty32(),
|
|
2705
2738
|
IsString20()
|
|
2706
2739
|
], ExperienceDto.prototype, "companyName", 2);
|
|
2707
2740
|
__decorateClass([
|
|
2708
|
-
|
|
2741
|
+
IsNotEmpty32(),
|
|
2709
2742
|
IsString20()
|
|
2710
2743
|
], ExperienceDto.prototype, "designation", 2);
|
|
2711
2744
|
__decorateClass([
|
|
2712
|
-
|
|
2745
|
+
IsNotEmpty32(),
|
|
2713
2746
|
IsString20()
|
|
2714
2747
|
], ExperienceDto.prototype, "jobDuration", 2);
|
|
2715
2748
|
__decorateClass([
|
|
2716
|
-
|
|
2749
|
+
IsNotEmpty32(),
|
|
2717
2750
|
IsString20(),
|
|
2718
2751
|
MaxLength10(500, { message: "Description must not exceed 500 characters" })
|
|
2719
2752
|
], ExperienceDto.prototype, "description", 2);
|
|
@@ -2737,27 +2770,27 @@ var COMPANY_MEMBERS_PATTERNS = {
|
|
|
2737
2770
|
};
|
|
2738
2771
|
|
|
2739
2772
|
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
2740
|
-
import { IsNotEmpty as
|
|
2773
|
+
import { IsNotEmpty as IsNotEmpty33 } from "class-validator";
|
|
2741
2774
|
var CreateCompanyMemberDto = class {
|
|
2742
2775
|
// @IsNotEmpty({ message: 'Please enter company role id' })
|
|
2743
2776
|
// companyRoleId: number;
|
|
2744
2777
|
};
|
|
2745
2778
|
__decorateClass([
|
|
2746
|
-
|
|
2779
|
+
IsNotEmpty33({ message: "Please enter name." })
|
|
2747
2780
|
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
2748
2781
|
__decorateClass([
|
|
2749
|
-
|
|
2782
|
+
IsNotEmpty33({ message: "Please enter email" })
|
|
2750
2783
|
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
2751
2784
|
|
|
2752
2785
|
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
2753
|
-
import { IsNotEmpty as
|
|
2786
|
+
import { IsNotEmpty as IsNotEmpty34 } from "class-validator";
|
|
2754
2787
|
var UpdateCompanyMemberDto = class {
|
|
2755
2788
|
};
|
|
2756
2789
|
__decorateClass([
|
|
2757
|
-
|
|
2790
|
+
IsNotEmpty34({ message: "Please enter name." })
|
|
2758
2791
|
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
2759
2792
|
__decorateClass([
|
|
2760
|
-
|
|
2793
|
+
IsNotEmpty34({ message: "Please enter email" })
|
|
2761
2794
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
2762
2795
|
|
|
2763
2796
|
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
@@ -2775,7 +2808,7 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
2775
2808
|
};
|
|
2776
2809
|
|
|
2777
2810
|
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
2778
|
-
import { IsArray as IsArray2, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as
|
|
2811
|
+
import { IsArray as IsArray2, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty35, IsOptional as IsOptional15 } from "class-validator";
|
|
2779
2812
|
import { Type as Type3 } from "class-transformer";
|
|
2780
2813
|
var EducationDto = class {
|
|
2781
2814
|
};
|
|
@@ -2784,15 +2817,15 @@ __decorateClass([
|
|
|
2784
2817
|
], EducationDto.prototype, "uuid", 2);
|
|
2785
2818
|
__decorateClass([
|
|
2786
2819
|
IsString23(),
|
|
2787
|
-
|
|
2820
|
+
IsNotEmpty35({ message: "Please Enter Degree " })
|
|
2788
2821
|
], EducationDto.prototype, "degree", 2);
|
|
2789
2822
|
__decorateClass([
|
|
2790
2823
|
IsString23(),
|
|
2791
|
-
|
|
2824
|
+
IsNotEmpty35({ message: "Please Enter University " })
|
|
2792
2825
|
], EducationDto.prototype, "university", 2);
|
|
2793
2826
|
__decorateClass([
|
|
2794
2827
|
IsString23(),
|
|
2795
|
-
|
|
2828
|
+
IsNotEmpty35({ message: "Please Enter Year of Graduation " })
|
|
2796
2829
|
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
2797
2830
|
var FreelancerEducationDto = class {
|
|
2798
2831
|
};
|
|
@@ -2809,7 +2842,7 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
2809
2842
|
};
|
|
2810
2843
|
|
|
2811
2844
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
2812
|
-
import { IsArray as IsArray3, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as
|
|
2845
|
+
import { IsArray as IsArray3, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty36, IsOptional as IsOptional16, IsDateString, MaxLength as MaxLength12 } from "class-validator";
|
|
2813
2846
|
import { Type as Type4 } from "class-transformer";
|
|
2814
2847
|
var ProjectDto = class {
|
|
2815
2848
|
};
|
|
@@ -2818,15 +2851,15 @@ __decorateClass([
|
|
|
2818
2851
|
], ProjectDto.prototype, "uuid", 2);
|
|
2819
2852
|
__decorateClass([
|
|
2820
2853
|
IsString24(),
|
|
2821
|
-
|
|
2854
|
+
IsNotEmpty36({ message: "Please Enter Project Name " })
|
|
2822
2855
|
], ProjectDto.prototype, "projectName", 2);
|
|
2823
2856
|
__decorateClass([
|
|
2824
2857
|
IsDateString(),
|
|
2825
|
-
|
|
2858
|
+
IsNotEmpty36({ message: "Please Enter Start Date " })
|
|
2826
2859
|
], ProjectDto.prototype, "startDate", 2);
|
|
2827
2860
|
__decorateClass([
|
|
2828
2861
|
IsDateString(),
|
|
2829
|
-
|
|
2862
|
+
IsNotEmpty36({ message: "Please Enter End Date " })
|
|
2830
2863
|
], ProjectDto.prototype, "endDate", 2);
|
|
2831
2864
|
__decorateClass([
|
|
2832
2865
|
IsOptional16(),
|
|
@@ -2848,11 +2881,11 @@ __decorateClass([
|
|
|
2848
2881
|
], CaseStudyDto.prototype, "uuid", 2);
|
|
2849
2882
|
__decorateClass([
|
|
2850
2883
|
IsString24(),
|
|
2851
|
-
|
|
2884
|
+
IsNotEmpty36({ message: "Please Enter Project Name " })
|
|
2852
2885
|
], CaseStudyDto.prototype, "projectName", 2);
|
|
2853
2886
|
__decorateClass([
|
|
2854
2887
|
IsString24(),
|
|
2855
|
-
|
|
2888
|
+
IsNotEmpty36({ message: "Please Enter Case Study Link " })
|
|
2856
2889
|
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2857
2890
|
__decorateClass([
|
|
2858
2891
|
IsOptional16(),
|
|
@@ -2931,7 +2964,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
2931
2964
|
};
|
|
2932
2965
|
|
|
2933
2966
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
2934
|
-
import { IsOptional as IsOptional18, IsEnum as IsEnum13,
|
|
2967
|
+
import { IsOptional as IsOptional18, IsEnum as IsEnum13, IsString as IsString26, IsNotEmpty as IsNotEmpty38, IsIn as IsIn3 } from "class-validator";
|
|
2935
2968
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
2936
2969
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
2937
2970
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -2949,7 +2982,11 @@ __decorateClass([
|
|
|
2949
2982
|
IsEnum13(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
2950
2983
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
2951
2984
|
__decorateClass([
|
|
2952
|
-
|
|
2985
|
+
IsNotEmpty38({ message: "Please accept the declaration " }),
|
|
2986
|
+
IsString26(),
|
|
2987
|
+
IsIn3([
|
|
2988
|
+
"true"
|
|
2989
|
+
])
|
|
2953
2990
|
], FreelancerDeclarationDto.prototype, "declarationAccepted", 2);
|
|
2954
2991
|
|
|
2955
2992
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -3330,6 +3367,7 @@ export {
|
|
|
3330
3367
|
ForgotPasswordDto,
|
|
3331
3368
|
FreelancerAssessment,
|
|
3332
3369
|
FreelancerBankDetailsDto,
|
|
3370
|
+
FreelancerCaptureAiAssessmentStatusDto,
|
|
3333
3371
|
FreelancerCaseStudy,
|
|
3334
3372
|
FreelancerChangePasswordDto,
|
|
3335
3373
|
FreelancerCoreSkill,
|
|
@@ -3342,6 +3380,8 @@ export {
|
|
|
3342
3380
|
FreelancerExperience,
|
|
3343
3381
|
FreelancerExperienceDto,
|
|
3344
3382
|
FreelancerFramework,
|
|
3383
|
+
FreelancerInitiateAiAssessmentDto,
|
|
3384
|
+
FreelancerParseResumeDto,
|
|
3345
3385
|
FreelancerProfile,
|
|
3346
3386
|
FreelancerProfileQuestionDto,
|
|
3347
3387
|
FreelancerProject,
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from './freelancer-create-account.dto';
|
|
2
2
|
export * from './freelancer-upload-resume.dto';
|
|
3
|
+
export * from './freelancer-parse-resume.dto';
|
|
4
|
+
export * from './freelancer-initiate-ai-assessment.dto';
|
|
5
|
+
export * from './freelancer-capture-ai-assessment-status.dto';
|
|
3
6
|
export * from './freelancer-development-preference.dto';
|
|
4
7
|
export * from './freelancer-profile-question.dto';
|
|
5
8
|
export * from './freelancer-work-showcase.dto';
|