@experts_hub/shared 1.0.479 → 1.0.481

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.
@@ -72,3 +72,4 @@ export * from './stripe-transaction.entity';
72
72
  export * from './stripe-logs.entity';
73
73
  export * from './wallet.entity';
74
74
  export * from './wallet-transaction.entity';
75
+ export * from './recommendation-weightage-config.entity';
@@ -0,0 +1,6 @@
1
+ import { BaseEntity } from "./base.entity";
2
+ export declare class RecommendationWeightageConfig extends BaseEntity {
3
+ key: string;
4
+ value: Record<string, any>;
5
+ isActive: boolean;
6
+ }
package/dist/index.d.mts CHANGED
@@ -2948,4 +2948,10 @@ declare class StripeLog extends BaseEntity {
2948
2948
  rawWebhookData: string;
2949
2949
  }
2950
2950
 
2951
- export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, ResetPasswordTokenValidationDto, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog };
2951
+ declare class RecommendationWeightageConfig extends BaseEntity {
2952
+ key: string;
2953
+ value: Record<string, any>;
2954
+ isActive: boolean;
2955
+ }
2956
+
2957
+ export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RefreshDto, RefreshToken, ResetPasswordDto, ResetPasswordTokenValidationDto, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog };
package/dist/index.d.ts CHANGED
@@ -2948,4 +2948,10 @@ declare class StripeLog extends BaseEntity {
2948
2948
  rawWebhookData: string;
2949
2949
  }
2950
2950
 
2951
- export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, ResetPasswordTokenValidationDto, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog };
2951
+ declare class RecommendationWeightageConfig extends BaseEntity {
2952
+ key: string;
2953
+ value: Record<string, any>;
2954
+ isActive: boolean;
2955
+ }
2956
+
2957
+ export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RefreshDto, RefreshToken, ResetPasswordDto, ResetPasswordTokenValidationDto, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog };
package/dist/index.js CHANGED
@@ -236,6 +236,7 @@ __export(index_exports, {
236
236
  RESUME_PARSER_PATTERN: () => RESUME_PARSER_PATTERN,
237
237
  Rating: () => Rating,
238
238
  RatingTypeEnum: () => RatingTypeEnum,
239
+ RecommendationWeightageConfig: () => RecommendationWeightageConfig,
239
240
  RefreshDto: () => RefreshDto,
240
241
  RefreshToken: () => RefreshToken,
241
242
  ResetPasswordDto: () => ResetPasswordDto,
@@ -1427,7 +1428,6 @@ __decorateClass([
1427
1428
  ], FreelancerChangePasswordDto.prototype, "newPassword", 2);
1428
1429
 
1429
1430
  // src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
1430
- var import_types = require("class-transformer/types");
1431
1431
  var import_class_validator39 = require("class-validator");
1432
1432
  var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
1433
1433
  NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
@@ -1480,8 +1480,7 @@ __decorateClass([
1480
1480
  (0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
1481
1481
  ], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
1482
1482
  __decorateClass([
1483
- (0, import_class_validator39.ValidateIf)((dto) => dto.NatureOfWorkDto === "FTE" /* FTE */),
1484
- (0, import_types.Type)(() => Number),
1483
+ (0, import_class_validator39.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
1485
1484
  (0, import_class_validator39.IsInt)({ message: "Please enter valid weekly availability hours (integer)." }),
1486
1485
  (0, import_class_validator39.IsNotEmpty)({ message: "Please enter weekly availability hours" })
1487
1486
  ], UpdateFreelancerProfileDto.prototype, "numberOfHours", 2);
@@ -7875,6 +7874,33 @@ __decorateClass([
7875
7874
  StripeLog = __decorateClass([
7876
7875
  (0, import_typeorm74.Entity)("stripe_logs")
7877
7876
  ], StripeLog);
7877
+
7878
+ // src/entities/recommendation-weightage-config.entity.ts
7879
+ var import_typeorm75 = require("typeorm");
7880
+ var RecommendationWeightageConfig = class extends BaseEntity {
7881
+ };
7882
+ __decorateClass([
7883
+ (0, import_typeorm75.Column)({
7884
+ type: "varchar",
7885
+ length: 100,
7886
+ unique: true,
7887
+ comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
7888
+ }),
7889
+ (0, import_typeorm75.Index)()
7890
+ ], RecommendationWeightageConfig.prototype, "key", 2);
7891
+ __decorateClass([
7892
+ (0, import_typeorm75.Column)({
7893
+ type: "jsonb",
7894
+ comment: "JSON object containing weight values",
7895
+ nullable: true
7896
+ })
7897
+ ], RecommendationWeightageConfig.prototype, "value", 2);
7898
+ __decorateClass([
7899
+ (0, import_typeorm75.Column)({ name: "is_active", type: "boolean", default: true })
7900
+ ], RecommendationWeightageConfig.prototype, "isActive", 2);
7901
+ RecommendationWeightageConfig = __decorateClass([
7902
+ (0, import_typeorm75.Entity)("recommendation_weightage_configs")
7903
+ ], RecommendationWeightageConfig);
7878
7904
  // Annotate the CommonJS export names for ESM import in node:
7879
7905
  0 && (module.exports = {
7880
7906
  ADMIN_FREELANCER_PATTERN,
@@ -8086,6 +8112,7 @@ StripeLog = __decorateClass([
8086
8112
  RESUME_PARSER_PATTERN,
8087
8113
  Rating,
8088
8114
  RatingTypeEnum,
8115
+ RecommendationWeightageConfig,
8089
8116
  RefreshDto,
8090
8117
  RefreshToken,
8091
8118
  ResetPasswordDto,
package/dist/index.mjs CHANGED
@@ -1217,7 +1217,6 @@ __decorateClass([
1217
1217
  ], FreelancerChangePasswordDto.prototype, "newPassword", 2);
1218
1218
 
1219
1219
  // src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
1220
- import { Type as Type3 } from "class-transformer/types";
1221
1220
  import {
1222
1221
  IsOptional as IsOptional15,
1223
1222
  IsString as IsString16,
@@ -1279,8 +1278,7 @@ __decorateClass([
1279
1278
  IsNotEmpty33({ message: "Please enter expected hourly compensation." })
1280
1279
  ], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
1281
1280
  __decorateClass([
1282
- ValidateIf4((dto) => dto.NatureOfWorkDto === "FTE" /* FTE */),
1283
- Type3(() => Number),
1281
+ ValidateIf4((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
1284
1282
  IsInt({ message: "Please enter valid weekly availability hours (integer)." }),
1285
1283
  IsNotEmpty33({ message: "Please enter weekly availability hours" })
1286
1284
  ], UpdateFreelancerProfileDto.prototype, "numberOfHours", 2);
@@ -5640,7 +5638,7 @@ import {
5640
5638
  MaxLength as MaxLength11,
5641
5639
  ValidateNested
5642
5640
  } from "class-validator";
5643
- import { Type as Type4 } from "class-transformer";
5641
+ import { Type as Type3 } from "class-transformer";
5644
5642
  var ExperienceDto = class {
5645
5643
  };
5646
5644
  __decorateClass([
@@ -5668,7 +5666,7 @@ var FreelancerExperienceDto = class {
5668
5666
  __decorateClass([
5669
5667
  ValidateNested({ each: true }),
5670
5668
  ArrayMinSize(1, { message: "At least one experience is required." }),
5671
- Type4(() => ExperienceDto)
5669
+ Type3(() => ExperienceDto)
5672
5670
  ], FreelancerExperienceDto.prototype, "experiences", 2);
5673
5671
 
5674
5672
  // src/modules/company-member/pattern/pattern.ts
@@ -5731,7 +5729,7 @@ var FREELANCER_EDUCATION_PATTERN = {
5731
5729
 
5732
5730
  // src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
5733
5731
  import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString24, IsNotEmpty as IsNotEmpty41, IsOptional as IsOptional23, ArrayMinSize as ArrayMinSize2 } from "class-validator";
5734
- import { Type as Type5 } from "class-transformer";
5732
+ import { Type as Type4 } from "class-transformer";
5735
5733
  var EducationDto = class {
5736
5734
  };
5737
5735
  __decorateClass([
@@ -5755,7 +5753,7 @@ __decorateClass([
5755
5753
  IsArray6(),
5756
5754
  ArrayMinSize2(1, { message: "At least one education is required." }),
5757
5755
  ValidateNested2({ each: true }),
5758
- Type5(() => EducationDto)
5756
+ Type4(() => EducationDto)
5759
5757
  ], FreelancerEducationDto.prototype, "educations", 2);
5760
5758
 
5761
5759
  // src/modules/user/freelancer-project/pattern/pattern.ts
@@ -5766,7 +5764,7 @@ var FREELANCER_PROJECT_PATTERN = {
5766
5764
 
5767
5765
  // src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
5768
5766
  import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString25, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional24, IsDateString, MaxLength as MaxLength13, ArrayMinSize as ArrayMinSize3 } from "class-validator";
5769
- import { Type as Type6 } from "class-transformer";
5767
+ import { Type as Type5 } from "class-transformer";
5770
5768
  var ProjectDto = class {
5771
5769
  };
5772
5770
  __decorateClass([
@@ -5821,12 +5819,12 @@ __decorateClass([
5821
5819
  IsArray7(),
5822
5820
  ArrayMinSize3(1, { message: "At least one project is required." }),
5823
5821
  ValidateNested3({ each: true }),
5824
- Type6(() => ProjectDto)
5822
+ Type5(() => ProjectDto)
5825
5823
  ], FreelancerProjectDto.prototype, "projects", 2);
5826
5824
  __decorateClass([
5827
5825
  IsArray7(),
5828
5826
  ValidateNested3({ each: true }),
5829
- Type6(() => CaseStudyDto)
5827
+ Type5(() => CaseStudyDto)
5830
5828
  ], FreelancerProjectDto.prototype, "casestudies", 2);
5831
5829
 
5832
5830
  // src/modules/permission/pattern/pattern.ts
@@ -5842,7 +5840,7 @@ var FREELANCER_SKILL_PATTERN = {
5842
5840
 
5843
5841
  // src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
5844
5842
  import { IsArray as IsArray8, IsString as IsString26, IsOptional as IsOptional25 } from "class-validator";
5845
- import { Type as Type7 } from "class-transformer";
5843
+ import { Type as Type6 } from "class-transformer";
5846
5844
  var FreelancerSkillDto = class {
5847
5845
  constructor() {
5848
5846
  this.coreSkills = [];
@@ -5853,19 +5851,19 @@ var FreelancerSkillDto = class {
5853
5851
  __decorateClass([
5854
5852
  IsOptional25(),
5855
5853
  IsArray8(),
5856
- Type7(() => String),
5854
+ Type6(() => String),
5857
5855
  IsString26({ each: true })
5858
5856
  ], FreelancerSkillDto.prototype, "coreSkills", 2);
5859
5857
  __decorateClass([
5860
5858
  IsOptional25(),
5861
5859
  IsArray8(),
5862
- Type7(() => String),
5860
+ Type6(() => String),
5863
5861
  IsString26({ each: true })
5864
5862
  ], FreelancerSkillDto.prototype, "tools", 2);
5865
5863
  __decorateClass([
5866
5864
  IsOptional25(),
5867
5865
  IsArray8(),
5868
- Type7(() => String),
5866
+ Type6(() => String),
5869
5867
  IsString26({ each: true })
5870
5868
  ], FreelancerSkillDto.prototype, "frameworks", 2);
5871
5869
 
@@ -5897,7 +5895,7 @@ import {
5897
5895
  Matches as Matches9,
5898
5896
  ValidateIf as ValidateIf6
5899
5897
  } from "class-validator";
5900
- import { Type as Type8 } from "class-transformer";
5898
+ import { Type as Type7 } from "class-transformer";
5901
5899
  var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
5902
5900
  NatureOfWorkEnum3["FULLTIME"] = "FULLTIME";
5903
5901
  NatureOfWorkEnum3["PARTTIME"] = "PARTTIME";
@@ -5939,7 +5937,7 @@ __decorateClass([
5939
5937
  ], CreateFreelancerDto.prototype, "confirmPassword", 2);
5940
5938
  __decorateClass([
5941
5939
  IsBoolean10({ message: "Developer flag must be true or false" }),
5942
- Type8(() => Boolean)
5940
+ Type7(() => Boolean)
5943
5941
  ], CreateFreelancerDto.prototype, "developer", 2);
5944
5942
  __decorateClass([
5945
5943
  IsEnum16(NatureOfWorkEnum, {
@@ -5951,7 +5949,7 @@ __decorateClass([
5951
5949
  __decorateClass([
5952
5950
  IsNumber3({}, { message: "Expected hourly compensation must be a number" }),
5953
5951
  Min3(0, { message: "Expected hourly compensation must be 0 or more" }),
5954
- Type8(() => Number)
5952
+ Type7(() => Number)
5955
5953
  ], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
5956
5954
  __decorateClass([
5957
5955
  IsEnum16(ModeOfWorkEnum, {
@@ -5962,7 +5960,7 @@ __decorateClass([
5962
5960
  ], CreateFreelancerDto.prototype, "modeOfWork", 2);
5963
5961
  __decorateClass([
5964
5962
  IsBoolean10({ message: "isImmediateJoiner must be true or false" }),
5965
- Type8(() => Boolean)
5963
+ Type7(() => Boolean)
5966
5964
  ], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
5967
5965
  __decorateClass([
5968
5966
  ValidateIf6((o) => o.isImmediateJoiner === false),
@@ -6005,7 +6003,7 @@ import {
6005
6003
  IsNotEmpty as IsNotEmpty45,
6006
6004
  ValidateIf as ValidateIf7
6007
6005
  } from "class-validator";
6008
- import { Transform as Transform2, Type as Type9 } from "class-transformer";
6006
+ import { Transform as Transform2, Type as Type8 } from "class-transformer";
6009
6007
  var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
6010
6008
  NatureOfWorkEnum3["FULLTIME"] = "FULLTIME";
6011
6009
  NatureOfWorkEnum3["PARTTIME"] = "PARTTIME";
@@ -6049,7 +6047,7 @@ __decorateClass([
6049
6047
  __decorateClass([
6050
6048
  IsOptional27(),
6051
6049
  IsBoolean11({ message: "Developer flag must be true or false" }),
6052
- Type9(() => Boolean)
6050
+ Type8(() => Boolean)
6053
6051
  ], UpdateFreelancerDto.prototype, "developer", 2);
6054
6052
  __decorateClass([
6055
6053
  IsOptional27(),
@@ -6063,7 +6061,7 @@ __decorateClass([
6063
6061
  IsOptional27(),
6064
6062
  IsNumber4({}, { message: "Expected hourly compensation must be a number" }),
6065
6063
  Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
6066
- Type9(() => Number)
6064
+ Type8(() => Number)
6067
6065
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
6068
6066
  __decorateClass([
6069
6067
  IsOptional27(),
@@ -6076,7 +6074,7 @@ __decorateClass([
6076
6074
  __decorateClass([
6077
6075
  IsOptional27(),
6078
6076
  IsBoolean11({ message: "isImmediateJoiner must be true or false" }),
6079
- Type9(() => Boolean)
6077
+ Type8(() => Boolean)
6080
6078
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
6081
6079
  __decorateClass([
6082
6080
  ValidateIf7((o) => o.isImmediateJoiner === false),
@@ -6379,7 +6377,7 @@ var ADMIN_JOB_PATTERN = {
6379
6377
  };
6380
6378
 
6381
6379
  // src/modules/job-admin/dto/admin-create-job-information.dto.ts
6382
- import { Type as Type10 } from "class-transformer";
6380
+ import { Type as Type9 } from "class-transformer";
6383
6381
  import {
6384
6382
  IsString as IsString33,
6385
6383
  IsEnum as IsEnum21,
@@ -6450,11 +6448,11 @@ __decorateClass([
6450
6448
  IsNotEmpty52({ message: "Currency is required." })
6451
6449
  ], AdminCreateJobInformationDto.prototype, "currency", 2);
6452
6450
  __decorateClass([
6453
- Type10(() => Number),
6451
+ Type9(() => Number),
6454
6452
  IsNumber5({}, { message: "Expected salary from must be a number." })
6455
6453
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
6456
6454
  __decorateClass([
6457
- Type10(() => Number),
6455
+ Type9(() => Number),
6458
6456
  IsNumber5({}, { message: "Expected salary to must be a number." })
6459
6457
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
6460
6458
  __decorateClass([
@@ -6487,7 +6485,7 @@ __decorateClass([
6487
6485
  ], AdminCreateJobInformationDto.prototype, "clientId", 2);
6488
6486
 
6489
6487
  // src/modules/job-admin/dto/admin-update-job-information.dto.ts
6490
- import { Type as Type11 } from "class-transformer";
6488
+ import { Type as Type10 } from "class-transformer";
6491
6489
  import {
6492
6490
  IsString as IsString34,
6493
6491
  IsEnum as IsEnum22,
@@ -6558,11 +6556,11 @@ __decorateClass([
6558
6556
  IsNotEmpty53({ message: "Currency is required." })
6559
6557
  ], AdminUpdateJobInformationDto.prototype, "currency", 2);
6560
6558
  __decorateClass([
6561
- Type11(() => Number),
6559
+ Type10(() => Number),
6562
6560
  IsNumber6({}, { message: "Expected salary from must be a number." })
6563
6561
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
6564
6562
  __decorateClass([
6565
- Type11(() => Number),
6563
+ Type10(() => Number),
6566
6564
  IsNumber6({}, { message: "Expected salary to must be a number." })
6567
6565
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
6568
6566
  __decorateClass([
@@ -6722,7 +6720,7 @@ import {
6722
6720
  ValidateIf as ValidateIf8,
6723
6721
  ValidateNested as ValidateNested5
6724
6722
  } from "class-validator";
6725
- import { Type as Type12 } from "class-transformer";
6723
+ import { Type as Type11 } from "class-transformer";
6726
6724
  var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
6727
6725
  CandidateType2["SHORTLISTED"] = "SHORTLISTED";
6728
6726
  CandidateType2["APPLICATNTS"] = "APPLICATNTS";
@@ -6761,14 +6759,14 @@ __decorateClass([
6761
6759
  IsArray13({ message: "Existing candidates should be an array." }),
6762
6760
  ArrayNotEmpty8({ message: "Please select at least one candidate." }),
6763
6761
  ValidateNested5({ each: true }),
6764
- Type12(() => ExistingCandidateDto)
6762
+ Type11(() => ExistingCandidateDto)
6765
6763
  ], CandidatesDto.prototype, "exixtingCandidates", 2);
6766
6764
  __decorateClass([
6767
6765
  ValidateIf8((o) => o.newCandidates?.length > 0),
6768
6766
  IsArray13({ message: "New candidates should be an array." }),
6769
6767
  ArrayNotEmpty8({ message: "Please add at least one candidate." }),
6770
6768
  ValidateNested5({ each: true }),
6771
- Type12(() => NewCandidateDto)
6769
+ Type11(() => NewCandidateDto)
6772
6770
  ], CandidatesDto.prototype, "newCandidates", 2);
6773
6771
  var InterviewInviteDto = class {
6774
6772
  };
@@ -6777,7 +6775,7 @@ __decorateClass([
6777
6775
  ], InterviewInviteDto.prototype, "jobId", 2);
6778
6776
  __decorateClass([
6779
6777
  ValidateNested5({ each: true }),
6780
- Type12(() => CandidatesDto)
6778
+ Type11(() => CandidatesDto)
6781
6779
  ], InterviewInviteDto.prototype, "candidates", 2);
6782
6780
 
6783
6781
  // src/modules/interview/dto/create-f2f-interview.dto.ts
@@ -6870,17 +6868,17 @@ var CONTRACT_PATTERN = {
6870
6868
 
6871
6869
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
6872
6870
  import { IsEnum as IsEnum25, IsNotEmpty as IsNotEmpty61, IsNumber as IsNumber9 } from "class-validator";
6873
- import { Type as Type13 } from "class-transformer";
6871
+ import { Type as Type12 } from "class-transformer";
6874
6872
  var SignContractForClientDto = class {
6875
6873
  };
6876
6874
  __decorateClass([
6877
6875
  IsNotEmpty61({ message: "Job Id is required." }),
6878
- Type13(() => Number),
6876
+ Type12(() => Number),
6879
6877
  IsNumber9({}, { message: "Job ID must be a number." })
6880
6878
  ], SignContractForClientDto.prototype, "jobId", 2);
6881
6879
  __decorateClass([
6882
6880
  IsNotEmpty61({ message: "Freelancer ID is required." }),
6883
- Type13(() => Number),
6881
+ Type12(() => Number),
6884
6882
  IsNumber9({}, { message: "Freelancer ID must be a number." })
6885
6883
  ], SignContractForClientDto.prototype, "freelancerId", 2);
6886
6884
  __decorateClass([
@@ -6890,17 +6888,17 @@ __decorateClass([
6890
6888
 
6891
6889
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
6892
6890
  import { IsEnum as IsEnum26, IsNotEmpty as IsNotEmpty62, IsNumber as IsNumber10 } from "class-validator";
6893
- import { Type as Type14 } from "class-transformer";
6891
+ import { Type as Type13 } from "class-transformer";
6894
6892
  var SignContractForFreelancerDto = class {
6895
6893
  };
6896
6894
  __decorateClass([
6897
6895
  IsNotEmpty62({ message: "Job Id is required." }),
6898
- Type14(() => Number),
6896
+ Type13(() => Number),
6899
6897
  IsNumber10({}, { message: "Job ID must be a number." })
6900
6898
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
6901
6899
  __decorateClass([
6902
6900
  IsNotEmpty62({ message: "Client ID is required." }),
6903
- Type14(() => Number),
6901
+ Type13(() => Number),
6904
6902
  IsNumber10({}, { message: "Client ID must be a number." })
6905
6903
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
6906
6904
  __decorateClass([
@@ -8037,6 +8035,37 @@ __decorateClass([
8037
8035
  StripeLog = __decorateClass([
8038
8036
  Entity70("stripe_logs")
8039
8037
  ], StripeLog);
8038
+
8039
+ // src/entities/recommendation-weightage-config.entity.ts
8040
+ import {
8041
+ Entity as Entity71,
8042
+ Column as Column72,
8043
+ Index as Index54
8044
+ } from "typeorm";
8045
+ var RecommendationWeightageConfig = class extends BaseEntity {
8046
+ };
8047
+ __decorateClass([
8048
+ Column72({
8049
+ type: "varchar",
8050
+ length: 100,
8051
+ unique: true,
8052
+ comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
8053
+ }),
8054
+ Index54()
8055
+ ], RecommendationWeightageConfig.prototype, "key", 2);
8056
+ __decorateClass([
8057
+ Column72({
8058
+ type: "jsonb",
8059
+ comment: "JSON object containing weight values",
8060
+ nullable: true
8061
+ })
8062
+ ], RecommendationWeightageConfig.prototype, "value", 2);
8063
+ __decorateClass([
8064
+ Column72({ name: "is_active", type: "boolean", default: true })
8065
+ ], RecommendationWeightageConfig.prototype, "isActive", 2);
8066
+ RecommendationWeightageConfig = __decorateClass([
8067
+ Entity71("recommendation_weightage_configs")
8068
+ ], RecommendationWeightageConfig);
8040
8069
  export {
8041
8070
  ADMIN_FREELANCER_PATTERN,
8042
8071
  ADMIN_JOB_PATTERN,
@@ -8247,6 +8276,7 @@ export {
8247
8276
  RESUME_PARSER_PATTERN,
8248
8277
  Rating,
8249
8278
  RatingTypeEnum,
8279
+ RecommendationWeightageConfig,
8250
8280
  RefreshDto,
8251
8281
  RefreshToken,
8252
8282
  ResetPasswordDto,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.479",
3
+ "version": "1.0.481",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",