@experts_hub/shared 1.0.304 → 1.0.305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/index.d.ts +1 -0
- package/dist/index.d.mts +20 -1
- package/dist/index.d.ts +20 -1
- package/dist/index.js +171 -70
- package/dist/index.mjs +130 -31
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './job-application.entity';
|
|
|
28
28
|
export * from './interview.entity';
|
|
29
29
|
export * from './interview-skill.entity';
|
|
30
30
|
export * from './interview-question.entity';
|
|
31
|
+
export * from './interview-invite.entity';
|
|
31
32
|
export * from './bank-details.entity';
|
|
32
33
|
export * from './plan.entity';
|
|
33
34
|
export * from './feature.entity';
|
package/dist/index.d.mts
CHANGED
|
@@ -2046,6 +2046,25 @@ declare class JobRoles extends BaseEntity {
|
|
|
2046
2046
|
isActive: boolean;
|
|
2047
2047
|
}
|
|
2048
2048
|
|
|
2049
|
+
declare enum InterviewInviteStatusEnum {
|
|
2050
|
+
PENDING = "PENDING",
|
|
2051
|
+
EXPIRED = "EXPIRED",
|
|
2052
|
+
COMPLETED = "COMPLETED"
|
|
2053
|
+
}
|
|
2054
|
+
declare class InterviewInvite extends BaseEntity {
|
|
2055
|
+
interviewId: number;
|
|
2056
|
+
interview: Interview;
|
|
2057
|
+
userId: number;
|
|
2058
|
+
user: User;
|
|
2059
|
+
fullName: string;
|
|
2060
|
+
email: string;
|
|
2061
|
+
status: InterviewInviteStatusEnum;
|
|
2062
|
+
sentAt: Date;
|
|
2063
|
+
expiresAt: Date;
|
|
2064
|
+
respondedAt?: Date;
|
|
2065
|
+
inviteToken: string;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2049
2068
|
declare class Feature extends BaseEntity {
|
|
2050
2069
|
name: string;
|
|
2051
2070
|
plans: Plan[];
|
|
@@ -2129,4 +2148,4 @@ declare class Commission extends BaseEntity {
|
|
|
2129
2148
|
clientCommission: number;
|
|
2130
2149
|
}
|
|
2131
2150
|
|
|
2132
|
-
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, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateAdminRoleDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, 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, 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, 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, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, 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, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
2151
|
+
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, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateAdminRoleDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, 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, 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, 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, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, 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, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -2046,6 +2046,25 @@ declare class JobRoles extends BaseEntity {
|
|
|
2046
2046
|
isActive: boolean;
|
|
2047
2047
|
}
|
|
2048
2048
|
|
|
2049
|
+
declare enum InterviewInviteStatusEnum {
|
|
2050
|
+
PENDING = "PENDING",
|
|
2051
|
+
EXPIRED = "EXPIRED",
|
|
2052
|
+
COMPLETED = "COMPLETED"
|
|
2053
|
+
}
|
|
2054
|
+
declare class InterviewInvite extends BaseEntity {
|
|
2055
|
+
interviewId: number;
|
|
2056
|
+
interview: Interview;
|
|
2057
|
+
userId: number;
|
|
2058
|
+
user: User;
|
|
2059
|
+
fullName: string;
|
|
2060
|
+
email: string;
|
|
2061
|
+
status: InterviewInviteStatusEnum;
|
|
2062
|
+
sentAt: Date;
|
|
2063
|
+
expiresAt: Date;
|
|
2064
|
+
respondedAt?: Date;
|
|
2065
|
+
inviteToken: string;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2049
2068
|
declare class Feature extends BaseEntity {
|
|
2050
2069
|
name: string;
|
|
2051
2070
|
plans: Plan[];
|
|
@@ -2129,4 +2148,4 @@ declare class Commission extends BaseEntity {
|
|
|
2129
2148
|
clientCommission: number;
|
|
2130
2149
|
}
|
|
2131
2150
|
|
|
2132
|
-
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, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateAdminRoleDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, 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, 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, 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, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, 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, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
2151
|
+
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, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateAdminRoleDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, 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, 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, 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, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, 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, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.js
CHANGED
|
@@ -134,6 +134,8 @@ __export(index_exports, {
|
|
|
134
134
|
FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
|
|
135
135
|
FromUsOn: () => FromUsOn,
|
|
136
136
|
Interview: () => Interview,
|
|
137
|
+
InterviewInvite: () => InterviewInvite,
|
|
138
|
+
InterviewInviteStatusEnum: () => InterviewInviteStatusEnum,
|
|
137
139
|
InterviewQuestion: () => InterviewQuestion,
|
|
138
140
|
InterviewSkill: () => InterviewSkill,
|
|
139
141
|
InterviewStatusEnum: () => InterviewStatusEnum,
|
|
@@ -5071,71 +5073,168 @@ JobRoles = __decorateClass([
|
|
|
5071
5073
|
(0, import_typeorm45.Entity)("job_roles")
|
|
5072
5074
|
], JobRoles);
|
|
5073
5075
|
|
|
5076
|
+
// src/entities/interview-invite.entity.ts
|
|
5077
|
+
var import_typeorm46 = require("typeorm");
|
|
5078
|
+
var InterviewInviteStatusEnum = /* @__PURE__ */ ((InterviewInviteStatusEnum2) => {
|
|
5079
|
+
InterviewInviteStatusEnum2["PENDING"] = "PENDING";
|
|
5080
|
+
InterviewInviteStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
5081
|
+
InterviewInviteStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
5082
|
+
return InterviewInviteStatusEnum2;
|
|
5083
|
+
})(InterviewInviteStatusEnum || {});
|
|
5084
|
+
var InterviewInvite = class extends BaseEntity {
|
|
5085
|
+
};
|
|
5086
|
+
__decorateClass([
|
|
5087
|
+
(0, import_typeorm46.Column)({
|
|
5088
|
+
name: "interview_id",
|
|
5089
|
+
type: "integer",
|
|
5090
|
+
comment: "Redundant explicit interview_id column (optional if using only relation"
|
|
5091
|
+
}),
|
|
5092
|
+
(0, import_typeorm46.Index)()
|
|
5093
|
+
], InterviewInvite.prototype, "interviewId", 2);
|
|
5094
|
+
__decorateClass([
|
|
5095
|
+
(0, import_typeorm46.ManyToOne)(() => Interview, { onDelete: "CASCADE" }),
|
|
5096
|
+
(0, import_typeorm46.JoinColumn)({ name: "interview_id" })
|
|
5097
|
+
], InterviewInvite.prototype, "interview", 2);
|
|
5098
|
+
__decorateClass([
|
|
5099
|
+
(0, import_typeorm46.Column)({
|
|
5100
|
+
name: "user_id",
|
|
5101
|
+
type: "integer",
|
|
5102
|
+
nullable: true,
|
|
5103
|
+
comment: "FK to User entity if candidate is already registered"
|
|
5104
|
+
}),
|
|
5105
|
+
(0, import_typeorm46.Index)()
|
|
5106
|
+
], InterviewInvite.prototype, "userId", 2);
|
|
5107
|
+
__decorateClass([
|
|
5108
|
+
(0, import_typeorm46.ManyToOne)(() => User),
|
|
5109
|
+
(0, import_typeorm46.JoinColumn)({ name: "user_id" })
|
|
5110
|
+
], InterviewInvite.prototype, "user", 2);
|
|
5111
|
+
__decorateClass([
|
|
5112
|
+
(0, import_typeorm46.Column)({
|
|
5113
|
+
name: "full_name",
|
|
5114
|
+
type: "varchar",
|
|
5115
|
+
nullable: true,
|
|
5116
|
+
comment: "Candidate's full name (used in the email invitation)"
|
|
5117
|
+
})
|
|
5118
|
+
], InterviewInvite.prototype, "fullName", 2);
|
|
5119
|
+
__decorateClass([
|
|
5120
|
+
(0, import_typeorm46.Column)({
|
|
5121
|
+
name: "email",
|
|
5122
|
+
type: "varchar",
|
|
5123
|
+
comment: "Candidate's email address (must be unique per invite)"
|
|
5124
|
+
}),
|
|
5125
|
+
(0, import_typeorm46.Index)()
|
|
5126
|
+
], InterviewInvite.prototype, "email", 2);
|
|
5127
|
+
__decorateClass([
|
|
5128
|
+
(0, import_typeorm46.Column)({
|
|
5129
|
+
name: "status",
|
|
5130
|
+
type: "enum",
|
|
5131
|
+
enum: InterviewInviteStatusEnum,
|
|
5132
|
+
default: "PENDING" /* PENDING */
|
|
5133
|
+
})
|
|
5134
|
+
], InterviewInvite.prototype, "status", 2);
|
|
5135
|
+
__decorateClass([
|
|
5136
|
+
(0, import_typeorm46.Column)({
|
|
5137
|
+
name: "sent_at",
|
|
5138
|
+
type: "timestamp with time zone",
|
|
5139
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
5140
|
+
comment: "Timestamp when the invite was created/sent"
|
|
5141
|
+
})
|
|
5142
|
+
], InterviewInvite.prototype, "sentAt", 2);
|
|
5143
|
+
__decorateClass([
|
|
5144
|
+
(0, import_typeorm46.Column)({
|
|
5145
|
+
name: "expired_at",
|
|
5146
|
+
type: "timestamp with time zone",
|
|
5147
|
+
comment: "Automatically expires invite after 72 hours",
|
|
5148
|
+
nullable: true
|
|
5149
|
+
})
|
|
5150
|
+
], InterviewInvite.prototype, "expiresAt", 2);
|
|
5151
|
+
__decorateClass([
|
|
5152
|
+
(0, import_typeorm46.Column)({
|
|
5153
|
+
name: "responded_at",
|
|
5154
|
+
type: "timestamp with time zone",
|
|
5155
|
+
nullable: true,
|
|
5156
|
+
comment: "Timestamp when candidate responded."
|
|
5157
|
+
})
|
|
5158
|
+
], InterviewInvite.prototype, "respondedAt", 2);
|
|
5159
|
+
__decorateClass([
|
|
5160
|
+
(0, import_typeorm46.Column)({
|
|
5161
|
+
name: "invite_token",
|
|
5162
|
+
type: "varchar",
|
|
5163
|
+
unique: true,
|
|
5164
|
+
comment: "Secure unique token sent in email link for invite tracking",
|
|
5165
|
+
nullable: true
|
|
5166
|
+
}),
|
|
5167
|
+
(0, import_typeorm46.Index)()
|
|
5168
|
+
], InterviewInvite.prototype, "inviteToken", 2);
|
|
5169
|
+
InterviewInvite = __decorateClass([
|
|
5170
|
+
(0, import_typeorm46.Entity)("interview_invites")
|
|
5171
|
+
], InterviewInvite);
|
|
5172
|
+
|
|
5074
5173
|
// src/entities/plan.entity.ts
|
|
5075
|
-
var
|
|
5174
|
+
var import_typeorm48 = require("typeorm");
|
|
5076
5175
|
|
|
5077
5176
|
// src/entities/feature.entity.ts
|
|
5078
|
-
var
|
|
5177
|
+
var import_typeorm47 = require("typeorm");
|
|
5079
5178
|
var Feature = class extends BaseEntity {
|
|
5080
5179
|
};
|
|
5081
5180
|
__decorateClass([
|
|
5082
|
-
(0,
|
|
5181
|
+
(0, import_typeorm47.Column)({ name: "name", type: "varchar", unique: true })
|
|
5083
5182
|
], Feature.prototype, "name", 2);
|
|
5084
5183
|
__decorateClass([
|
|
5085
|
-
(0,
|
|
5184
|
+
(0, import_typeorm47.ManyToMany)(() => Plan, (plan) => plan.features)
|
|
5086
5185
|
], Feature.prototype, "plans", 2);
|
|
5087
5186
|
Feature = __decorateClass([
|
|
5088
|
-
(0,
|
|
5187
|
+
(0, import_typeorm47.Entity)("features")
|
|
5089
5188
|
], Feature);
|
|
5090
5189
|
|
|
5091
5190
|
// src/entities/plan.entity.ts
|
|
5092
5191
|
var Plan = class extends BaseEntity {
|
|
5093
5192
|
};
|
|
5094
5193
|
__decorateClass([
|
|
5095
|
-
(0,
|
|
5194
|
+
(0, import_typeorm48.Column)({ name: "name", type: "varchar", unique: true })
|
|
5096
5195
|
], Plan.prototype, "name", 2);
|
|
5097
5196
|
__decorateClass([
|
|
5098
|
-
(0,
|
|
5197
|
+
(0, import_typeorm48.Column)({ name: "description", type: "varchar", nullable: true })
|
|
5099
5198
|
], Plan.prototype, "description", 2);
|
|
5100
5199
|
__decorateClass([
|
|
5101
|
-
(0,
|
|
5200
|
+
(0, import_typeorm48.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
5102
5201
|
], Plan.prototype, "price", 2);
|
|
5103
5202
|
__decorateClass([
|
|
5104
|
-
(0,
|
|
5203
|
+
(0, import_typeorm48.Column)({ name: "billing_period", type: "varchar" })
|
|
5105
5204
|
], Plan.prototype, "billingPeriod", 2);
|
|
5106
5205
|
__decorateClass([
|
|
5107
|
-
(0,
|
|
5206
|
+
(0, import_typeorm48.Column)({ name: "is_current", type: "boolean", default: false })
|
|
5108
5207
|
], Plan.prototype, "isCurrent", 2);
|
|
5109
5208
|
__decorateClass([
|
|
5110
|
-
(0,
|
|
5111
|
-
(0,
|
|
5209
|
+
(0, import_typeorm48.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
5210
|
+
(0, import_typeorm48.JoinTable)()
|
|
5112
5211
|
], Plan.prototype, "features", 2);
|
|
5113
5212
|
Plan = __decorateClass([
|
|
5114
|
-
(0,
|
|
5213
|
+
(0, import_typeorm48.Entity)("plans")
|
|
5115
5214
|
], Plan);
|
|
5116
5215
|
|
|
5117
5216
|
// src/entities/cms.entity.ts
|
|
5118
|
-
var
|
|
5217
|
+
var import_typeorm49 = require("typeorm");
|
|
5119
5218
|
var Cms = class extends BaseEntity {
|
|
5120
5219
|
};
|
|
5121
5220
|
__decorateClass([
|
|
5122
|
-
(0,
|
|
5221
|
+
(0, import_typeorm49.Column)({ name: "title", type: "varchar", nullable: true })
|
|
5123
5222
|
], Cms.prototype, "title", 2);
|
|
5124
5223
|
__decorateClass([
|
|
5125
|
-
(0,
|
|
5224
|
+
(0, import_typeorm49.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5126
5225
|
], Cms.prototype, "slug", 2);
|
|
5127
5226
|
__decorateClass([
|
|
5128
|
-
(0,
|
|
5227
|
+
(0, import_typeorm49.Column)({ name: "content", type: "varchar", nullable: true })
|
|
5129
5228
|
], Cms.prototype, "content", 2);
|
|
5130
5229
|
__decorateClass([
|
|
5131
|
-
(0,
|
|
5230
|
+
(0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: true })
|
|
5132
5231
|
], Cms.prototype, "isActive", 2);
|
|
5133
5232
|
Cms = __decorateClass([
|
|
5134
|
-
(0,
|
|
5233
|
+
(0, import_typeorm49.Entity)("cms")
|
|
5135
5234
|
], Cms);
|
|
5136
5235
|
|
|
5137
5236
|
// src/entities/lead.entity.ts
|
|
5138
|
-
var
|
|
5237
|
+
var import_typeorm50 = require("typeorm");
|
|
5139
5238
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
5140
5239
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
5141
5240
|
CategoryEmum2["FREELANCER"] = "FREELANCER";
|
|
@@ -5144,22 +5243,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
5144
5243
|
var Lead = class extends BaseEntity {
|
|
5145
5244
|
};
|
|
5146
5245
|
__decorateClass([
|
|
5147
|
-
(0,
|
|
5246
|
+
(0, import_typeorm50.Column)({ name: "name", type: "varchar", nullable: true })
|
|
5148
5247
|
], Lead.prototype, "name", 2);
|
|
5149
5248
|
__decorateClass([
|
|
5150
|
-
(0,
|
|
5249
|
+
(0, import_typeorm50.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
5151
5250
|
], Lead.prototype, "mobileCode", 2);
|
|
5152
5251
|
__decorateClass([
|
|
5153
|
-
(0,
|
|
5252
|
+
(0, import_typeorm50.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
5154
5253
|
], Lead.prototype, "mobile", 2);
|
|
5155
5254
|
__decorateClass([
|
|
5156
|
-
(0,
|
|
5255
|
+
(0, import_typeorm50.Column)({ name: "email", type: "varchar", nullable: true })
|
|
5157
5256
|
], Lead.prototype, "email", 2);
|
|
5158
5257
|
__decorateClass([
|
|
5159
|
-
(0,
|
|
5258
|
+
(0, import_typeorm50.Column)({ name: "description", type: "varchar", nullable: true })
|
|
5160
5259
|
], Lead.prototype, "description", 2);
|
|
5161
5260
|
__decorateClass([
|
|
5162
|
-
(0,
|
|
5261
|
+
(0, import_typeorm50.Column)({
|
|
5163
5262
|
name: "category",
|
|
5164
5263
|
type: "enum",
|
|
5165
5264
|
enum: CategoryEmum,
|
|
@@ -5167,120 +5266,120 @@ __decorateClass([
|
|
|
5167
5266
|
})
|
|
5168
5267
|
], Lead.prototype, "category", 2);
|
|
5169
5268
|
Lead = __decorateClass([
|
|
5170
|
-
(0,
|
|
5269
|
+
(0, import_typeorm50.Entity)("leads")
|
|
5171
5270
|
], Lead);
|
|
5172
5271
|
|
|
5173
5272
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
5174
|
-
var
|
|
5273
|
+
var import_typeorm51 = require("typeorm");
|
|
5175
5274
|
var JobFreelancerRecommendation = class {
|
|
5176
5275
|
};
|
|
5177
5276
|
__decorateClass([
|
|
5178
|
-
(0,
|
|
5277
|
+
(0, import_typeorm51.ViewColumn)({ name: "job_id" })
|
|
5179
5278
|
], JobFreelancerRecommendation.prototype, "jobId", 2);
|
|
5180
5279
|
__decorateClass([
|
|
5181
|
-
(0,
|
|
5280
|
+
(0, import_typeorm51.ViewColumn)({ name: "job_uuid" })
|
|
5182
5281
|
], JobFreelancerRecommendation.prototype, "jobUuid", 2);
|
|
5183
5282
|
__decorateClass([
|
|
5184
|
-
(0,
|
|
5283
|
+
(0, import_typeorm51.ViewColumn)({ name: "job_unique_id" })
|
|
5185
5284
|
], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
|
|
5186
5285
|
__decorateClass([
|
|
5187
|
-
(0,
|
|
5286
|
+
(0, import_typeorm51.ViewColumn)({ name: "job_role" })
|
|
5188
5287
|
], JobFreelancerRecommendation.prototype, "jobRole", 2);
|
|
5189
5288
|
__decorateClass([
|
|
5190
|
-
(0,
|
|
5289
|
+
(0, import_typeorm51.ViewColumn)({ name: "job_openings" })
|
|
5191
5290
|
], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
|
|
5192
5291
|
__decorateClass([
|
|
5193
|
-
(0,
|
|
5292
|
+
(0, import_typeorm51.ViewColumn)({ name: "job_location" })
|
|
5194
5293
|
], JobFreelancerRecommendation.prototype, "jobLocation", 2);
|
|
5195
5294
|
__decorateClass([
|
|
5196
|
-
(0,
|
|
5295
|
+
(0, import_typeorm51.ViewColumn)({ name: "job_employment_type" })
|
|
5197
5296
|
], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
|
|
5198
5297
|
__decorateClass([
|
|
5199
|
-
(0,
|
|
5298
|
+
(0, import_typeorm51.ViewColumn)({ name: "application_received" })
|
|
5200
5299
|
], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
|
|
5201
5300
|
__decorateClass([
|
|
5202
|
-
(0,
|
|
5301
|
+
(0, import_typeorm51.ViewColumn)({ name: "job_posted_at" })
|
|
5203
5302
|
], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
|
|
5204
5303
|
__decorateClass([
|
|
5205
|
-
(0,
|
|
5304
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_id" })
|
|
5206
5305
|
], JobFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
5207
5306
|
__decorateClass([
|
|
5208
|
-
(0,
|
|
5307
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_uuid" })
|
|
5209
5308
|
], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
5210
5309
|
__decorateClass([
|
|
5211
|
-
(0,
|
|
5310
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_unique_id" })
|
|
5212
5311
|
], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
5213
5312
|
__decorateClass([
|
|
5214
|
-
(0,
|
|
5313
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_first_name" })
|
|
5215
5314
|
], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
5216
5315
|
__decorateClass([
|
|
5217
|
-
(0,
|
|
5316
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_last_name" })
|
|
5218
5317
|
], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
5219
5318
|
__decorateClass([
|
|
5220
|
-
(0,
|
|
5319
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_email" })
|
|
5221
5320
|
], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
5222
5321
|
__decorateClass([
|
|
5223
|
-
(0,
|
|
5322
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
5224
5323
|
], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
5225
5324
|
__decorateClass([
|
|
5226
|
-
(0,
|
|
5325
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_is_social" })
|
|
5227
5326
|
], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
5228
5327
|
__decorateClass([
|
|
5229
|
-
(0,
|
|
5328
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_created_at" })
|
|
5230
5329
|
], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
5231
5330
|
__decorateClass([
|
|
5232
|
-
(0,
|
|
5331
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_designation" })
|
|
5233
5332
|
], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
5234
5333
|
__decorateClass([
|
|
5235
|
-
(0,
|
|
5334
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_experience" })
|
|
5236
5335
|
], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
5237
5336
|
__decorateClass([
|
|
5238
|
-
(0,
|
|
5337
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
5239
5338
|
], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
5240
5339
|
__decorateClass([
|
|
5241
|
-
(0,
|
|
5340
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
5242
5341
|
], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
5243
5342
|
__decorateClass([
|
|
5244
|
-
(0,
|
|
5343
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_country_name" })
|
|
5245
5344
|
], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
5246
5345
|
__decorateClass([
|
|
5247
|
-
(0,
|
|
5346
|
+
(0, import_typeorm51.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
5248
5347
|
], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
5249
5348
|
__decorateClass([
|
|
5250
|
-
(0,
|
|
5349
|
+
(0, import_typeorm51.ViewColumn)({ name: "client_id" })
|
|
5251
5350
|
], JobFreelancerRecommendation.prototype, "clientId", 2);
|
|
5252
5351
|
__decorateClass([
|
|
5253
|
-
(0,
|
|
5352
|
+
(0, import_typeorm51.ViewColumn)({ name: "client_uuid" })
|
|
5254
5353
|
], JobFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
5255
5354
|
__decorateClass([
|
|
5256
|
-
(0,
|
|
5355
|
+
(0, import_typeorm51.ViewColumn)({ name: "client_first_name" })
|
|
5257
5356
|
], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
|
|
5258
5357
|
__decorateClass([
|
|
5259
|
-
(0,
|
|
5358
|
+
(0, import_typeorm51.ViewColumn)({ name: "client_last_name" })
|
|
5260
5359
|
], JobFreelancerRecommendation.prototype, "clientLastName", 2);
|
|
5261
5360
|
__decorateClass([
|
|
5262
|
-
(0,
|
|
5361
|
+
(0, import_typeorm51.ViewColumn)({ name: "client_email" })
|
|
5263
5362
|
], JobFreelancerRecommendation.prototype, "clientEmail", 2);
|
|
5264
5363
|
__decorateClass([
|
|
5265
|
-
(0,
|
|
5364
|
+
(0, import_typeorm51.ViewColumn)({ name: "client_company_logo" })
|
|
5266
5365
|
], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
|
|
5267
5366
|
__decorateClass([
|
|
5268
|
-
(0,
|
|
5367
|
+
(0, import_typeorm51.ViewColumn)({ name: "client_company_name" })
|
|
5269
5368
|
], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
|
|
5270
5369
|
__decorateClass([
|
|
5271
|
-
(0,
|
|
5370
|
+
(0, import_typeorm51.ViewColumn)({ name: "matching_skills" })
|
|
5272
5371
|
], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
5273
5372
|
__decorateClass([
|
|
5274
|
-
(0,
|
|
5373
|
+
(0, import_typeorm51.ViewColumn)({ name: "matching_skills_count" })
|
|
5275
5374
|
], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
5276
5375
|
__decorateClass([
|
|
5277
|
-
(0,
|
|
5376
|
+
(0, import_typeorm51.ViewColumn)({ name: "required_skills" })
|
|
5278
5377
|
], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
5279
5378
|
__decorateClass([
|
|
5280
|
-
(0,
|
|
5379
|
+
(0, import_typeorm51.ViewColumn)({ name: "required_skills_count" })
|
|
5281
5380
|
], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
5282
5381
|
JobFreelancerRecommendation = __decorateClass([
|
|
5283
|
-
(0,
|
|
5382
|
+
(0, import_typeorm51.ViewEntity)({
|
|
5284
5383
|
name: "job_freelancer_recommendations",
|
|
5285
5384
|
materialized: true,
|
|
5286
5385
|
synchronize: false
|
|
@@ -5289,7 +5388,7 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
5289
5388
|
], JobFreelancerRecommendation);
|
|
5290
5389
|
|
|
5291
5390
|
// src/entities/commission.entity.ts
|
|
5292
|
-
var
|
|
5391
|
+
var import_typeorm52 = require("typeorm");
|
|
5293
5392
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
5294
5393
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
5295
5394
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -5298,7 +5397,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
5298
5397
|
var Commission = class extends BaseEntity {
|
|
5299
5398
|
};
|
|
5300
5399
|
__decorateClass([
|
|
5301
|
-
(0,
|
|
5400
|
+
(0, import_typeorm52.Column)({
|
|
5302
5401
|
name: "freelancer_commission_type",
|
|
5303
5402
|
type: "enum",
|
|
5304
5403
|
enum: CommissionTypeEnum,
|
|
@@ -5306,10 +5405,10 @@ __decorateClass([
|
|
|
5306
5405
|
})
|
|
5307
5406
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
5308
5407
|
__decorateClass([
|
|
5309
|
-
(0,
|
|
5408
|
+
(0, import_typeorm52.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
5310
5409
|
], Commission.prototype, "freelancerCommission", 2);
|
|
5311
5410
|
__decorateClass([
|
|
5312
|
-
(0,
|
|
5411
|
+
(0, import_typeorm52.Column)({
|
|
5313
5412
|
name: "client_commission_type",
|
|
5314
5413
|
type: "enum",
|
|
5315
5414
|
enum: CommissionTypeEnum,
|
|
@@ -5317,10 +5416,10 @@ __decorateClass([
|
|
|
5317
5416
|
})
|
|
5318
5417
|
], Commission.prototype, "clientCommissionType", 2);
|
|
5319
5418
|
__decorateClass([
|
|
5320
|
-
(0,
|
|
5419
|
+
(0, import_typeorm52.Column)({ name: "client_commission", type: "integer", default: 0 })
|
|
5321
5420
|
], Commission.prototype, "clientCommission", 2);
|
|
5322
5421
|
Commission = __decorateClass([
|
|
5323
|
-
(0,
|
|
5422
|
+
(0, import_typeorm52.Entity)("commissions")
|
|
5324
5423
|
], Commission);
|
|
5325
5424
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5326
5425
|
0 && (module.exports = {
|
|
@@ -5431,6 +5530,8 @@ Commission = __decorateClass([
|
|
|
5431
5530
|
FreelancerWorkShowcaseDto,
|
|
5432
5531
|
FromUsOn,
|
|
5433
5532
|
Interview,
|
|
5533
|
+
InterviewInvite,
|
|
5534
|
+
InterviewInviteStatusEnum,
|
|
5434
5535
|
InterviewQuestion,
|
|
5435
5536
|
InterviewSkill,
|
|
5436
5537
|
InterviewStatusEnum,
|
package/dist/index.mjs
CHANGED
|
@@ -5214,73 +5214,170 @@ JobRoles = __decorateClass([
|
|
|
5214
5214
|
Entity44("job_roles")
|
|
5215
5215
|
], JobRoles);
|
|
5216
5216
|
|
|
5217
|
+
// src/entities/interview-invite.entity.ts
|
|
5218
|
+
import { Entity as Entity45, Column as Column46, ManyToOne as ManyToOne36, JoinColumn as JoinColumn36, Index as Index36 } from "typeorm";
|
|
5219
|
+
var InterviewInviteStatusEnum = /* @__PURE__ */ ((InterviewInviteStatusEnum2) => {
|
|
5220
|
+
InterviewInviteStatusEnum2["PENDING"] = "PENDING";
|
|
5221
|
+
InterviewInviteStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
5222
|
+
InterviewInviteStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
5223
|
+
return InterviewInviteStatusEnum2;
|
|
5224
|
+
})(InterviewInviteStatusEnum || {});
|
|
5225
|
+
var InterviewInvite = class extends BaseEntity {
|
|
5226
|
+
};
|
|
5227
|
+
__decorateClass([
|
|
5228
|
+
Column46({
|
|
5229
|
+
name: "interview_id",
|
|
5230
|
+
type: "integer",
|
|
5231
|
+
comment: "Redundant explicit interview_id column (optional if using only relation"
|
|
5232
|
+
}),
|
|
5233
|
+
Index36()
|
|
5234
|
+
], InterviewInvite.prototype, "interviewId", 2);
|
|
5235
|
+
__decorateClass([
|
|
5236
|
+
ManyToOne36(() => Interview, { onDelete: "CASCADE" }),
|
|
5237
|
+
JoinColumn36({ name: "interview_id" })
|
|
5238
|
+
], InterviewInvite.prototype, "interview", 2);
|
|
5239
|
+
__decorateClass([
|
|
5240
|
+
Column46({
|
|
5241
|
+
name: "user_id",
|
|
5242
|
+
type: "integer",
|
|
5243
|
+
nullable: true,
|
|
5244
|
+
comment: "FK to User entity if candidate is already registered"
|
|
5245
|
+
}),
|
|
5246
|
+
Index36()
|
|
5247
|
+
], InterviewInvite.prototype, "userId", 2);
|
|
5248
|
+
__decorateClass([
|
|
5249
|
+
ManyToOne36(() => User),
|
|
5250
|
+
JoinColumn36({ name: "user_id" })
|
|
5251
|
+
], InterviewInvite.prototype, "user", 2);
|
|
5252
|
+
__decorateClass([
|
|
5253
|
+
Column46({
|
|
5254
|
+
name: "full_name",
|
|
5255
|
+
type: "varchar",
|
|
5256
|
+
nullable: true,
|
|
5257
|
+
comment: "Candidate's full name (used in the email invitation)"
|
|
5258
|
+
})
|
|
5259
|
+
], InterviewInvite.prototype, "fullName", 2);
|
|
5260
|
+
__decorateClass([
|
|
5261
|
+
Column46({
|
|
5262
|
+
name: "email",
|
|
5263
|
+
type: "varchar",
|
|
5264
|
+
comment: "Candidate's email address (must be unique per invite)"
|
|
5265
|
+
}),
|
|
5266
|
+
Index36()
|
|
5267
|
+
], InterviewInvite.prototype, "email", 2);
|
|
5268
|
+
__decorateClass([
|
|
5269
|
+
Column46({
|
|
5270
|
+
name: "status",
|
|
5271
|
+
type: "enum",
|
|
5272
|
+
enum: InterviewInviteStatusEnum,
|
|
5273
|
+
default: "PENDING" /* PENDING */
|
|
5274
|
+
})
|
|
5275
|
+
], InterviewInvite.prototype, "status", 2);
|
|
5276
|
+
__decorateClass([
|
|
5277
|
+
Column46({
|
|
5278
|
+
name: "sent_at",
|
|
5279
|
+
type: "timestamp with time zone",
|
|
5280
|
+
default: () => "CURRENT_TIMESTAMP",
|
|
5281
|
+
comment: "Timestamp when the invite was created/sent"
|
|
5282
|
+
})
|
|
5283
|
+
], InterviewInvite.prototype, "sentAt", 2);
|
|
5284
|
+
__decorateClass([
|
|
5285
|
+
Column46({
|
|
5286
|
+
name: "expired_at",
|
|
5287
|
+
type: "timestamp with time zone",
|
|
5288
|
+
comment: "Automatically expires invite after 72 hours",
|
|
5289
|
+
nullable: true
|
|
5290
|
+
})
|
|
5291
|
+
], InterviewInvite.prototype, "expiresAt", 2);
|
|
5292
|
+
__decorateClass([
|
|
5293
|
+
Column46({
|
|
5294
|
+
name: "responded_at",
|
|
5295
|
+
type: "timestamp with time zone",
|
|
5296
|
+
nullable: true,
|
|
5297
|
+
comment: "Timestamp when candidate responded."
|
|
5298
|
+
})
|
|
5299
|
+
], InterviewInvite.prototype, "respondedAt", 2);
|
|
5300
|
+
__decorateClass([
|
|
5301
|
+
Column46({
|
|
5302
|
+
name: "invite_token",
|
|
5303
|
+
type: "varchar",
|
|
5304
|
+
unique: true,
|
|
5305
|
+
comment: "Secure unique token sent in email link for invite tracking",
|
|
5306
|
+
nullable: true
|
|
5307
|
+
}),
|
|
5308
|
+
Index36()
|
|
5309
|
+
], InterviewInvite.prototype, "inviteToken", 2);
|
|
5310
|
+
InterviewInvite = __decorateClass([
|
|
5311
|
+
Entity45("interview_invites")
|
|
5312
|
+
], InterviewInvite);
|
|
5313
|
+
|
|
5217
5314
|
// src/entities/plan.entity.ts
|
|
5218
|
-
import { Entity as
|
|
5315
|
+
import { Entity as Entity47, Column as Column48, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
|
|
5219
5316
|
|
|
5220
5317
|
// src/entities/feature.entity.ts
|
|
5221
|
-
import { Entity as
|
|
5318
|
+
import { Entity as Entity46, Column as Column47, ManyToMany as ManyToMany2 } from "typeorm";
|
|
5222
5319
|
var Feature = class extends BaseEntity {
|
|
5223
5320
|
};
|
|
5224
5321
|
__decorateClass([
|
|
5225
|
-
|
|
5322
|
+
Column47({ name: "name", type: "varchar", unique: true })
|
|
5226
5323
|
], Feature.prototype, "name", 2);
|
|
5227
5324
|
__decorateClass([
|
|
5228
5325
|
ManyToMany2(() => Plan, (plan) => plan.features)
|
|
5229
5326
|
], Feature.prototype, "plans", 2);
|
|
5230
5327
|
Feature = __decorateClass([
|
|
5231
|
-
|
|
5328
|
+
Entity46("features")
|
|
5232
5329
|
], Feature);
|
|
5233
5330
|
|
|
5234
5331
|
// src/entities/plan.entity.ts
|
|
5235
5332
|
var Plan = class extends BaseEntity {
|
|
5236
5333
|
};
|
|
5237
5334
|
__decorateClass([
|
|
5238
|
-
|
|
5335
|
+
Column48({ name: "name", type: "varchar", unique: true })
|
|
5239
5336
|
], Plan.prototype, "name", 2);
|
|
5240
5337
|
__decorateClass([
|
|
5241
|
-
|
|
5338
|
+
Column48({ name: "description", type: "varchar", nullable: true })
|
|
5242
5339
|
], Plan.prototype, "description", 2);
|
|
5243
5340
|
__decorateClass([
|
|
5244
|
-
|
|
5341
|
+
Column48({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
5245
5342
|
], Plan.prototype, "price", 2);
|
|
5246
5343
|
__decorateClass([
|
|
5247
|
-
|
|
5344
|
+
Column48({ name: "billing_period", type: "varchar" })
|
|
5248
5345
|
], Plan.prototype, "billingPeriod", 2);
|
|
5249
5346
|
__decorateClass([
|
|
5250
|
-
|
|
5347
|
+
Column48({ name: "is_current", type: "boolean", default: false })
|
|
5251
5348
|
], Plan.prototype, "isCurrent", 2);
|
|
5252
5349
|
__decorateClass([
|
|
5253
5350
|
ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
5254
5351
|
JoinTable()
|
|
5255
5352
|
], Plan.prototype, "features", 2);
|
|
5256
5353
|
Plan = __decorateClass([
|
|
5257
|
-
|
|
5354
|
+
Entity47("plans")
|
|
5258
5355
|
], Plan);
|
|
5259
5356
|
|
|
5260
5357
|
// src/entities/cms.entity.ts
|
|
5261
|
-
import { Entity as
|
|
5358
|
+
import { Entity as Entity48, Column as Column49 } from "typeorm";
|
|
5262
5359
|
var Cms = class extends BaseEntity {
|
|
5263
5360
|
};
|
|
5264
5361
|
__decorateClass([
|
|
5265
|
-
|
|
5362
|
+
Column49({ name: "title", type: "varchar", nullable: true })
|
|
5266
5363
|
], Cms.prototype, "title", 2);
|
|
5267
5364
|
__decorateClass([
|
|
5268
|
-
|
|
5365
|
+
Column49({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5269
5366
|
], Cms.prototype, "slug", 2);
|
|
5270
5367
|
__decorateClass([
|
|
5271
|
-
|
|
5368
|
+
Column49({ name: "content", type: "varchar", nullable: true })
|
|
5272
5369
|
], Cms.prototype, "content", 2);
|
|
5273
5370
|
__decorateClass([
|
|
5274
|
-
|
|
5371
|
+
Column49({ name: "is_active", type: "boolean", default: true })
|
|
5275
5372
|
], Cms.prototype, "isActive", 2);
|
|
5276
5373
|
Cms = __decorateClass([
|
|
5277
|
-
|
|
5374
|
+
Entity48("cms")
|
|
5278
5375
|
], Cms);
|
|
5279
5376
|
|
|
5280
5377
|
// src/entities/lead.entity.ts
|
|
5281
5378
|
import {
|
|
5282
|
-
Entity as
|
|
5283
|
-
Column as
|
|
5379
|
+
Entity as Entity49,
|
|
5380
|
+
Column as Column50
|
|
5284
5381
|
} from "typeorm";
|
|
5285
5382
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
5286
5383
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
@@ -5290,22 +5387,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
5290
5387
|
var Lead = class extends BaseEntity {
|
|
5291
5388
|
};
|
|
5292
5389
|
__decorateClass([
|
|
5293
|
-
|
|
5390
|
+
Column50({ name: "name", type: "varchar", nullable: true })
|
|
5294
5391
|
], Lead.prototype, "name", 2);
|
|
5295
5392
|
__decorateClass([
|
|
5296
|
-
|
|
5393
|
+
Column50({ name: "mobile_code", type: "varchar", nullable: true })
|
|
5297
5394
|
], Lead.prototype, "mobileCode", 2);
|
|
5298
5395
|
__decorateClass([
|
|
5299
|
-
|
|
5396
|
+
Column50({ name: "mobile", type: "varchar", nullable: true })
|
|
5300
5397
|
], Lead.prototype, "mobile", 2);
|
|
5301
5398
|
__decorateClass([
|
|
5302
|
-
|
|
5399
|
+
Column50({ name: "email", type: "varchar", nullable: true })
|
|
5303
5400
|
], Lead.prototype, "email", 2);
|
|
5304
5401
|
__decorateClass([
|
|
5305
|
-
|
|
5402
|
+
Column50({ name: "description", type: "varchar", nullable: true })
|
|
5306
5403
|
], Lead.prototype, "description", 2);
|
|
5307
5404
|
__decorateClass([
|
|
5308
|
-
|
|
5405
|
+
Column50({
|
|
5309
5406
|
name: "category",
|
|
5310
5407
|
type: "enum",
|
|
5311
5408
|
enum: CategoryEmum,
|
|
@@ -5313,7 +5410,7 @@ __decorateClass([
|
|
|
5313
5410
|
})
|
|
5314
5411
|
], Lead.prototype, "category", 2);
|
|
5315
5412
|
Lead = __decorateClass([
|
|
5316
|
-
|
|
5413
|
+
Entity49("leads")
|
|
5317
5414
|
], Lead);
|
|
5318
5415
|
|
|
5319
5416
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
@@ -5435,7 +5532,7 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
5435
5532
|
], JobFreelancerRecommendation);
|
|
5436
5533
|
|
|
5437
5534
|
// src/entities/commission.entity.ts
|
|
5438
|
-
import { Entity as
|
|
5535
|
+
import { Entity as Entity50, Column as Column51 } from "typeorm";
|
|
5439
5536
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
5440
5537
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
5441
5538
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -5444,7 +5541,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
5444
5541
|
var Commission = class extends BaseEntity {
|
|
5445
5542
|
};
|
|
5446
5543
|
__decorateClass([
|
|
5447
|
-
|
|
5544
|
+
Column51({
|
|
5448
5545
|
name: "freelancer_commission_type",
|
|
5449
5546
|
type: "enum",
|
|
5450
5547
|
enum: CommissionTypeEnum,
|
|
@@ -5452,10 +5549,10 @@ __decorateClass([
|
|
|
5452
5549
|
})
|
|
5453
5550
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
5454
5551
|
__decorateClass([
|
|
5455
|
-
|
|
5552
|
+
Column51({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
5456
5553
|
], Commission.prototype, "freelancerCommission", 2);
|
|
5457
5554
|
__decorateClass([
|
|
5458
|
-
|
|
5555
|
+
Column51({
|
|
5459
5556
|
name: "client_commission_type",
|
|
5460
5557
|
type: "enum",
|
|
5461
5558
|
enum: CommissionTypeEnum,
|
|
@@ -5463,10 +5560,10 @@ __decorateClass([
|
|
|
5463
5560
|
})
|
|
5464
5561
|
], Commission.prototype, "clientCommissionType", 2);
|
|
5465
5562
|
__decorateClass([
|
|
5466
|
-
|
|
5563
|
+
Column51({ name: "client_commission", type: "integer", default: 0 })
|
|
5467
5564
|
], Commission.prototype, "clientCommission", 2);
|
|
5468
5565
|
Commission = __decorateClass([
|
|
5469
|
-
|
|
5566
|
+
Entity50("commissions")
|
|
5470
5567
|
], Commission);
|
|
5471
5568
|
export {
|
|
5472
5569
|
ADMIN_FREELANCER_PATTERN,
|
|
@@ -5576,6 +5673,8 @@ export {
|
|
|
5576
5673
|
FreelancerWorkShowcaseDto,
|
|
5577
5674
|
FromUsOn,
|
|
5578
5675
|
Interview,
|
|
5676
|
+
InterviewInvite,
|
|
5677
|
+
InterviewInviteStatusEnum,
|
|
5579
5678
|
InterviewQuestion,
|
|
5580
5679
|
InterviewSkill,
|
|
5581
5680
|
InterviewStatusEnum,
|