@experts_hub/shared 1.0.260 → 1.0.262
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +15 -0
- package/dist/index.mjs +107 -93
- package/dist/modules/otp/dto/send-guest-otp.dto.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -68,10 +68,16 @@ declare const OTP_PATTERN: {
|
|
|
68
68
|
declare enum SendGuestOtpPurposeEnum {
|
|
69
69
|
ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
|
|
70
70
|
}
|
|
71
|
+
declare enum SendGuestOtpScopeEnum {
|
|
72
|
+
CLIENT = "CLIENT",
|
|
73
|
+
FREELANCER = "FREELANCER"
|
|
74
|
+
}
|
|
71
75
|
declare class SendGuestOtpDto {
|
|
72
76
|
fullName: string;
|
|
73
77
|
target: string;
|
|
78
|
+
fallbackTarget: string;
|
|
74
79
|
purpose: SendGuestOtpPurposeEnum;
|
|
80
|
+
scope: SendGuestOtpScopeEnum;
|
|
75
81
|
}
|
|
76
82
|
|
|
77
83
|
declare enum VerifyGuestOtpPurposeEnum {
|
|
@@ -2000,4 +2006,4 @@ declare class JobFreelancerRecommendation {
|
|
|
2000
2006
|
requiredSkillsCount: number;
|
|
2001
2007
|
}
|
|
2002
2008
|
|
|
2003
|
-
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AiAssessmentStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, 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, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, 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, 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, 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, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
2009
|
+
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AiAssessmentStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, 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, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, 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, 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, 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, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -68,10 +68,16 @@ declare const OTP_PATTERN: {
|
|
|
68
68
|
declare enum SendGuestOtpPurposeEnum {
|
|
69
69
|
ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
|
|
70
70
|
}
|
|
71
|
+
declare enum SendGuestOtpScopeEnum {
|
|
72
|
+
CLIENT = "CLIENT",
|
|
73
|
+
FREELANCER = "FREELANCER"
|
|
74
|
+
}
|
|
71
75
|
declare class SendGuestOtpDto {
|
|
72
76
|
fullName: string;
|
|
73
77
|
target: string;
|
|
78
|
+
fallbackTarget: string;
|
|
74
79
|
purpose: SendGuestOtpPurposeEnum;
|
|
80
|
+
scope: SendGuestOtpScopeEnum;
|
|
75
81
|
}
|
|
76
82
|
|
|
77
83
|
declare enum VerifyGuestOtpPurposeEnum {
|
|
@@ -2000,4 +2006,4 @@ declare class JobFreelancerRecommendation {
|
|
|
2000
2006
|
requiredSkillsCount: number;
|
|
2001
2007
|
}
|
|
2002
2008
|
|
|
2003
|
-
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AiAssessmentStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, 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, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, 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, 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, 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, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
2009
|
+
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AiAssessmentStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, 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, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, 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, 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, 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, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.js
CHANGED
|
@@ -188,6 +188,7 @@ __export(index_exports, {
|
|
|
188
188
|
SelectedAnswerTypeEnum: () => SelectedAnswerTypeEnum,
|
|
189
189
|
SendGuestOtpDto: () => SendGuestOtpDto,
|
|
190
190
|
SendGuestOtpPurposeEnum: () => SendGuestOtpPurposeEnum,
|
|
191
|
+
SendGuestOtpScopeEnum: () => SendGuestOtpScopeEnum,
|
|
191
192
|
SenseloafLog: () => SenseloafLog,
|
|
192
193
|
SequenceGenerator: () => SequenceGenerator,
|
|
193
194
|
SetPasswordDto: () => SetPasswordDto,
|
|
@@ -351,6 +352,11 @@ var SendGuestOtpPurposeEnum = /* @__PURE__ */ ((SendGuestOtpPurposeEnum2) => {
|
|
|
351
352
|
SendGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
|
|
352
353
|
return SendGuestOtpPurposeEnum2;
|
|
353
354
|
})(SendGuestOtpPurposeEnum || {});
|
|
355
|
+
var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
|
|
356
|
+
SendGuestOtpScopeEnum2["CLIENT"] = "CLIENT";
|
|
357
|
+
SendGuestOtpScopeEnum2["FREELANCER"] = "FREELANCER";
|
|
358
|
+
return SendGuestOtpScopeEnum2;
|
|
359
|
+
})(SendGuestOtpScopeEnum || {});
|
|
354
360
|
var SendGuestOtpDto = class {
|
|
355
361
|
};
|
|
356
362
|
__decorateClass([
|
|
@@ -361,10 +367,18 @@ __decorateClass([
|
|
|
361
367
|
(0, import_class_validator7.IsNotEmpty)({ message: "Please enter target." }),
|
|
362
368
|
(0, import_class_validator7.IsString)({ message: "Please enter valid target." })
|
|
363
369
|
], SendGuestOtpDto.prototype, "target", 2);
|
|
370
|
+
__decorateClass([
|
|
371
|
+
(0, import_class_validator7.IsOptional)(),
|
|
372
|
+
(0, import_class_validator7.IsString)({ message: "Please enter valid fallback target." })
|
|
373
|
+
], SendGuestOtpDto.prototype, "fallbackTarget", 2);
|
|
364
374
|
__decorateClass([
|
|
365
375
|
(0, import_class_validator7.IsNotEmpty)({ message: "Please enter OTP purpose." }),
|
|
366
376
|
(0, import_class_validator7.IsEnum)(SendGuestOtpPurposeEnum, { message: "Purpose must be a valid OTP purpose" })
|
|
367
377
|
], SendGuestOtpDto.prototype, "purpose", 2);
|
|
378
|
+
__decorateClass([
|
|
379
|
+
(0, import_class_validator7.IsNotEmpty)({ message: "Please enter scope." }),
|
|
380
|
+
(0, import_class_validator7.IsEnum)(SendGuestOtpScopeEnum, { message: "scope must be a valid" })
|
|
381
|
+
], SendGuestOtpDto.prototype, "scope", 2);
|
|
368
382
|
|
|
369
383
|
// src/modules/otp/dto/verify-guest-otp.dto.ts
|
|
370
384
|
var import_class_validator8 = require("class-validator");
|
|
@@ -4942,6 +4956,7 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
4942
4956
|
SelectedAnswerTypeEnum,
|
|
4943
4957
|
SendGuestOtpDto,
|
|
4944
4958
|
SendGuestOtpPurposeEnum,
|
|
4959
|
+
SendGuestOtpScopeEnum,
|
|
4945
4960
|
SenseloafLog,
|
|
4946
4961
|
SequenceGenerator,
|
|
4947
4962
|
SetPasswordDto,
|
package/dist/index.mjs
CHANGED
|
@@ -148,11 +148,16 @@ var OTP_PATTERN = {
|
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
// src/modules/otp/dto/send-guest-otp.dto.ts
|
|
151
|
-
import { IsEnum as IsEnum5, IsNotEmpty as IsNotEmpty7, IsString } from "class-validator";
|
|
151
|
+
import { IsEnum as IsEnum5, IsNotEmpty as IsNotEmpty7, IsOptional, IsString } from "class-validator";
|
|
152
152
|
var SendGuestOtpPurposeEnum = /* @__PURE__ */ ((SendGuestOtpPurposeEnum2) => {
|
|
153
153
|
SendGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
|
|
154
154
|
return SendGuestOtpPurposeEnum2;
|
|
155
155
|
})(SendGuestOtpPurposeEnum || {});
|
|
156
|
+
var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
|
|
157
|
+
SendGuestOtpScopeEnum2["CLIENT"] = "CLIENT";
|
|
158
|
+
SendGuestOtpScopeEnum2["FREELANCER"] = "FREELANCER";
|
|
159
|
+
return SendGuestOtpScopeEnum2;
|
|
160
|
+
})(SendGuestOtpScopeEnum || {});
|
|
156
161
|
var SendGuestOtpDto = class {
|
|
157
162
|
};
|
|
158
163
|
__decorateClass([
|
|
@@ -163,10 +168,18 @@ __decorateClass([
|
|
|
163
168
|
IsNotEmpty7({ message: "Please enter target." }),
|
|
164
169
|
IsString({ message: "Please enter valid target." })
|
|
165
170
|
], SendGuestOtpDto.prototype, "target", 2);
|
|
171
|
+
__decorateClass([
|
|
172
|
+
IsOptional(),
|
|
173
|
+
IsString({ message: "Please enter valid fallback target." })
|
|
174
|
+
], SendGuestOtpDto.prototype, "fallbackTarget", 2);
|
|
166
175
|
__decorateClass([
|
|
167
176
|
IsNotEmpty7({ message: "Please enter OTP purpose." }),
|
|
168
177
|
IsEnum5(SendGuestOtpPurposeEnum, { message: "Purpose must be a valid OTP purpose" })
|
|
169
178
|
], SendGuestOtpDto.prototype, "purpose", 2);
|
|
179
|
+
__decorateClass([
|
|
180
|
+
IsNotEmpty7({ message: "Please enter scope." }),
|
|
181
|
+
IsEnum5(SendGuestOtpScopeEnum, { message: "scope must be a valid" })
|
|
182
|
+
], SendGuestOtpDto.prototype, "scope", 2);
|
|
170
183
|
|
|
171
184
|
// src/modules/otp/dto/verify-guest-otp.dto.ts
|
|
172
185
|
import { IsEnum as IsEnum6, IsNotEmpty as IsNotEmpty8, IsString as IsString2, Length } from "class-validator";
|
|
@@ -377,7 +390,7 @@ __decorateClass([
|
|
|
377
390
|
], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
|
|
378
391
|
|
|
379
392
|
// src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
|
|
380
|
-
import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty15, IsOptional } from "class-validator";
|
|
393
|
+
import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty15, IsOptional as IsOptional2 } from "class-validator";
|
|
381
394
|
var FreelancerCaptureAiAssessmentStatusDto = class {
|
|
382
395
|
};
|
|
383
396
|
__decorateClass([
|
|
@@ -391,7 +404,7 @@ __decorateClass([
|
|
|
391
404
|
IsNotEmpty15({ message: "Please enter assessment status." })
|
|
392
405
|
], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
|
|
393
406
|
__decorateClass([
|
|
394
|
-
|
|
407
|
+
IsOptional2()
|
|
395
408
|
], FreelancerCaptureAiAssessmentStatusDto.prototype, "iframeEventData", 2);
|
|
396
409
|
|
|
397
410
|
// src/modules/onboarding/dto/freelancer-development-preference.dto.ts
|
|
@@ -438,7 +451,7 @@ __decorateClass([
|
|
|
438
451
|
// src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
|
|
439
452
|
import {
|
|
440
453
|
IsNotEmpty as IsNotEmpty18,
|
|
441
|
-
IsOptional as
|
|
454
|
+
IsOptional as IsOptional3,
|
|
442
455
|
IsUrl,
|
|
443
456
|
IsString as IsString5,
|
|
444
457
|
IsUUID as IsUUID9
|
|
@@ -455,19 +468,19 @@ __decorateClass([
|
|
|
455
468
|
IsUrl({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
|
|
456
469
|
], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
|
|
457
470
|
__decorateClass([
|
|
458
|
-
|
|
471
|
+
IsOptional3(),
|
|
459
472
|
IsUrl({ require_protocol: true }, { message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)" })
|
|
460
473
|
], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
|
|
461
474
|
__decorateClass([
|
|
462
|
-
|
|
475
|
+
IsOptional3(),
|
|
463
476
|
IsUrl({ require_protocol: true }, { message: "githubProfileLink must be a valid URL with protocol (e.g. https://)" })
|
|
464
477
|
], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
|
|
465
478
|
__decorateClass([
|
|
466
|
-
|
|
479
|
+
IsOptional3(),
|
|
467
480
|
IsUrl({ require_protocol: true }, { message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)" })
|
|
468
481
|
], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
|
|
469
482
|
__decorateClass([
|
|
470
|
-
|
|
483
|
+
IsOptional3(),
|
|
471
484
|
IsUrl({ require_protocol: true }, { message: "portfolioLink must be a valid URL with protocol (e.g. https://)" })
|
|
472
485
|
], FreelancerWorkShowcaseDto.prototype, "portfolioLink", 2);
|
|
473
486
|
|
|
@@ -712,7 +725,7 @@ var ASSESSMENT_QUESTION_PATTERN = {
|
|
|
712
725
|
// src/modules/question/dto/create-question.dto.ts
|
|
713
726
|
import {
|
|
714
727
|
IsNotEmpty as IsNotEmpty25,
|
|
715
|
-
IsOptional as
|
|
728
|
+
IsOptional as IsOptional4,
|
|
716
729
|
IsBoolean as IsBoolean2
|
|
717
730
|
} from "class-validator";
|
|
718
731
|
var CreateQuestionDto = class {
|
|
@@ -730,7 +743,7 @@ __decorateClass([
|
|
|
730
743
|
IsNotEmpty25({ message: "Please enter options." })
|
|
731
744
|
], CreateQuestionDto.prototype, "options", 2);
|
|
732
745
|
__decorateClass([
|
|
733
|
-
|
|
746
|
+
IsOptional4(),
|
|
734
747
|
IsBoolean2({ message: "Whether the question status active" })
|
|
735
748
|
], CreateQuestionDto.prototype, "isActive", 2);
|
|
736
749
|
|
|
@@ -765,7 +778,7 @@ import {
|
|
|
765
778
|
IsArray,
|
|
766
779
|
ArrayNotEmpty,
|
|
767
780
|
IsNumber,
|
|
768
|
-
IsOptional as
|
|
781
|
+
IsOptional as IsOptional5,
|
|
769
782
|
IsEnum as IsEnum7,
|
|
770
783
|
Min
|
|
771
784
|
} from "class-validator";
|
|
@@ -789,7 +802,7 @@ __decorateClass([
|
|
|
789
802
|
IsString11({ message: "Job role must be a string" })
|
|
790
803
|
], JobBasicInformationDto.prototype, "jobRole", 2);
|
|
791
804
|
__decorateClass([
|
|
792
|
-
|
|
805
|
+
IsOptional5(),
|
|
793
806
|
IsString11({ message: "Note must be a string" })
|
|
794
807
|
], JobBasicInformationDto.prototype, "note", 2);
|
|
795
808
|
__decorateClass([
|
|
@@ -852,19 +865,19 @@ __decorateClass([
|
|
|
852
865
|
], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
|
|
853
866
|
__decorateClass([
|
|
854
867
|
IsString11({ message: "Onboarding TAT must be a string" }),
|
|
855
|
-
|
|
868
|
+
IsOptional5()
|
|
856
869
|
], JobBasicInformationDto.prototype, "onboardingTat", 2);
|
|
857
870
|
__decorateClass([
|
|
858
871
|
IsString11({ message: "Candidate communication skills must be a string" }),
|
|
859
|
-
|
|
872
|
+
IsOptional5()
|
|
860
873
|
], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
861
874
|
|
|
862
875
|
// src/modules/job/dto/job-additional-comment.dto.ts
|
|
863
|
-
import { IsOptional as
|
|
876
|
+
import { IsOptional as IsOptional6, IsString as IsString12, MaxLength as MaxLength5 } from "class-validator";
|
|
864
877
|
var JobAdditionalCommentDto = class {
|
|
865
878
|
};
|
|
866
879
|
__decorateClass([
|
|
867
|
-
|
|
880
|
+
IsOptional6(),
|
|
868
881
|
IsString12({ message: "Additional comment must be a string" }),
|
|
869
882
|
MaxLength5(500, { message: "Additional comment must not exceed 500 characters" })
|
|
870
883
|
], JobAdditionalCommentDto.prototype, "additionalComment", 2);
|
|
@@ -946,7 +959,7 @@ __decorateClass([
|
|
|
946
959
|
|
|
947
960
|
// src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
|
|
948
961
|
import {
|
|
949
|
-
IsOptional as
|
|
962
|
+
IsOptional as IsOptional7,
|
|
950
963
|
IsString as IsString15,
|
|
951
964
|
IsEmail as IsEmail5,
|
|
952
965
|
IsNumber as IsNumber2,
|
|
@@ -1024,35 +1037,35 @@ __decorateClass([
|
|
|
1024
1037
|
})
|
|
1025
1038
|
], UpdateFreelancerProfileDto.prototype, "modeOfWork", 2);
|
|
1026
1039
|
__decorateClass([
|
|
1027
|
-
|
|
1040
|
+
IsOptional7(),
|
|
1028
1041
|
IsString15()
|
|
1029
1042
|
], UpdateFreelancerProfileDto.prototype, "portfolioLink", 2);
|
|
1030
1043
|
__decorateClass([
|
|
1031
|
-
|
|
1044
|
+
IsOptional7(),
|
|
1032
1045
|
IsString15()
|
|
1033
1046
|
], UpdateFreelancerProfileDto.prototype, "address", 2);
|
|
1034
1047
|
__decorateClass([
|
|
1035
|
-
|
|
1048
|
+
IsOptional7(),
|
|
1036
1049
|
IsString15()
|
|
1037
1050
|
], UpdateFreelancerProfileDto.prototype, "about", 2);
|
|
1038
1051
|
__decorateClass([
|
|
1039
|
-
|
|
1052
|
+
IsOptional7(),
|
|
1040
1053
|
IsString15()
|
|
1041
1054
|
], UpdateFreelancerProfileDto.prototype, "linkedinProfileLink", 2);
|
|
1042
1055
|
__decorateClass([
|
|
1043
|
-
|
|
1056
|
+
IsOptional7(),
|
|
1044
1057
|
IsString15()
|
|
1045
1058
|
], UpdateFreelancerProfileDto.prototype, "kaggleProfileLink", 2);
|
|
1046
1059
|
__decorateClass([
|
|
1047
|
-
|
|
1060
|
+
IsOptional7(),
|
|
1048
1061
|
IsString15()
|
|
1049
1062
|
], UpdateFreelancerProfileDto.prototype, "githubProfileLink", 2);
|
|
1050
1063
|
__decorateClass([
|
|
1051
|
-
|
|
1064
|
+
IsOptional7(),
|
|
1052
1065
|
IsString15()
|
|
1053
1066
|
], UpdateFreelancerProfileDto.prototype, "stackOverflowProfileLink", 2);
|
|
1054
1067
|
__decorateClass([
|
|
1055
|
-
|
|
1068
|
+
IsOptional7(),
|
|
1056
1069
|
IsString15()
|
|
1057
1070
|
], UpdateFreelancerProfileDto.prototype, "resumeUrl", 2);
|
|
1058
1071
|
|
|
@@ -1067,7 +1080,7 @@ var BANK_PATTERN = {
|
|
|
1067
1080
|
import {
|
|
1068
1081
|
IsEnum as IsEnum10,
|
|
1069
1082
|
IsNotEmpty as IsNotEmpty31,
|
|
1070
|
-
IsOptional as
|
|
1083
|
+
IsOptional as IsOptional8,
|
|
1071
1084
|
ValidateIf as ValidateIf2
|
|
1072
1085
|
} from "class-validator";
|
|
1073
1086
|
var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
@@ -1087,7 +1100,7 @@ __decorateClass([
|
|
|
1087
1100
|
IsNotEmpty31({ message: "Please enter Email." })
|
|
1088
1101
|
], FreelancerBankDetailsDto.prototype, "email", 2);
|
|
1089
1102
|
__decorateClass([
|
|
1090
|
-
|
|
1103
|
+
IsOptional8()
|
|
1091
1104
|
], FreelancerBankDetailsDto.prototype, "address", 2);
|
|
1092
1105
|
__decorateClass([
|
|
1093
1106
|
IsNotEmpty31({ message: "Please enter Account Number." })
|
|
@@ -1115,7 +1128,7 @@ __decorateClass([
|
|
|
1115
1128
|
IsNotEmpty31({ message: "IBAN is required for INTERNATIONAL accounts." })
|
|
1116
1129
|
], FreelancerBankDetailsDto.prototype, "iban", 2);
|
|
1117
1130
|
__decorateClass([
|
|
1118
|
-
|
|
1131
|
+
IsOptional8()
|
|
1119
1132
|
], FreelancerBankDetailsDto.prototype, "accountType", 2);
|
|
1120
1133
|
__decorateClass([
|
|
1121
1134
|
IsEnum10(BankAccountScope, {
|
|
@@ -1177,7 +1190,7 @@ import {
|
|
|
1177
1190
|
IsEnum as IsEnum12,
|
|
1178
1191
|
IsInt,
|
|
1179
1192
|
IsNotEmpty as IsNotEmpty32,
|
|
1180
|
-
IsOptional as
|
|
1193
|
+
IsOptional as IsOptional9,
|
|
1181
1194
|
IsString as IsString16,
|
|
1182
1195
|
Max,
|
|
1183
1196
|
Min as Min2
|
|
@@ -3362,7 +3375,7 @@ __decorateClass([
|
|
|
3362
3375
|
Max(5, { message: "Rating must be at most 5" })
|
|
3363
3376
|
], CreateRatingDto.prototype, "rating", 2);
|
|
3364
3377
|
__decorateClass([
|
|
3365
|
-
|
|
3378
|
+
IsOptional9(),
|
|
3366
3379
|
IsString16({ message: "Review must be a string" })
|
|
3367
3380
|
], CreateRatingDto.prototype, "review", 2);
|
|
3368
3381
|
|
|
@@ -3379,7 +3392,7 @@ var COMPANY_ROLES_PATTERNS = {
|
|
|
3379
3392
|
};
|
|
3380
3393
|
|
|
3381
3394
|
// src/modules/company-role/dto/create-company-role.dto.ts
|
|
3382
|
-
import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean4, IsInt as IsInt2, IsNotEmpty as IsNotEmpty33, IsOptional as
|
|
3395
|
+
import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean4, IsInt as IsInt2, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional10 } from "class-validator";
|
|
3383
3396
|
var CreateCompanyRoleDto = class {
|
|
3384
3397
|
};
|
|
3385
3398
|
__decorateClass([
|
|
@@ -3397,12 +3410,12 @@ __decorateClass([
|
|
|
3397
3410
|
IsInt2({ each: true, message: "Each permission ID must be an integer." })
|
|
3398
3411
|
], CreateCompanyRoleDto.prototype, "permissionIds", 2);
|
|
3399
3412
|
__decorateClass([
|
|
3400
|
-
|
|
3413
|
+
IsOptional10(),
|
|
3401
3414
|
IsBoolean4({ message: "Is active must be a boolean value" })
|
|
3402
3415
|
], CreateCompanyRoleDto.prototype, "isActive", 2);
|
|
3403
3416
|
|
|
3404
3417
|
// src/modules/company-role/dto/update-company-role.dto.ts
|
|
3405
|
-
import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty34, IsOptional as
|
|
3418
|
+
import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty34, IsOptional as IsOptional11 } from "class-validator";
|
|
3406
3419
|
var UpdateCompanyRoleDto = class {
|
|
3407
3420
|
};
|
|
3408
3421
|
__decorateClass([
|
|
@@ -3420,7 +3433,7 @@ __decorateClass([
|
|
|
3420
3433
|
IsInt3({ each: true, message: "Each permission ID must be an integer." })
|
|
3421
3434
|
], UpdateCompanyRoleDto.prototype, "permissionIds", 2);
|
|
3422
3435
|
__decorateClass([
|
|
3423
|
-
|
|
3436
|
+
IsOptional11(),
|
|
3424
3437
|
IsBoolean5({ message: "Is active must be a boolean value" })
|
|
3425
3438
|
], UpdateCompanyRoleDto.prototype, "isActive", 2);
|
|
3426
3439
|
|
|
@@ -3442,7 +3455,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
|
|
|
3442
3455
|
import {
|
|
3443
3456
|
ArrayMinSize,
|
|
3444
3457
|
IsNotEmpty as IsNotEmpty35,
|
|
3445
|
-
IsOptional as
|
|
3458
|
+
IsOptional as IsOptional12,
|
|
3446
3459
|
IsString as IsString19,
|
|
3447
3460
|
MaxLength as MaxLength9,
|
|
3448
3461
|
ValidateNested
|
|
@@ -3451,7 +3464,7 @@ import { Type as Type2 } from "class-transformer";
|
|
|
3451
3464
|
var ExperienceDto = class {
|
|
3452
3465
|
};
|
|
3453
3466
|
__decorateClass([
|
|
3454
|
-
|
|
3467
|
+
IsOptional12()
|
|
3455
3468
|
], ExperienceDto.prototype, "uuid", 2);
|
|
3456
3469
|
__decorateClass([
|
|
3457
3470
|
IsNotEmpty35(),
|
|
@@ -3537,12 +3550,12 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
3537
3550
|
};
|
|
3538
3551
|
|
|
3539
3552
|
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
3540
|
-
import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString22, IsNotEmpty as IsNotEmpty38, IsOptional as
|
|
3553
|
+
import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString22, IsNotEmpty as IsNotEmpty38, IsOptional as IsOptional15, ArrayMinSize as ArrayMinSize2 } from "class-validator";
|
|
3541
3554
|
import { Type as Type3 } from "class-transformer";
|
|
3542
3555
|
var EducationDto = class {
|
|
3543
3556
|
};
|
|
3544
3557
|
__decorateClass([
|
|
3545
|
-
|
|
3558
|
+
IsOptional15()
|
|
3546
3559
|
], EducationDto.prototype, "uuid", 2);
|
|
3547
3560
|
__decorateClass([
|
|
3548
3561
|
IsString22(),
|
|
@@ -3572,12 +3585,12 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
3572
3585
|
};
|
|
3573
3586
|
|
|
3574
3587
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
3575
|
-
import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString23, IsNotEmpty as IsNotEmpty39, IsOptional as
|
|
3588
|
+
import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString23, IsNotEmpty as IsNotEmpty39, IsOptional as IsOptional16, IsDateString, MaxLength as MaxLength11, ArrayMinSize as ArrayMinSize3 } from "class-validator";
|
|
3576
3589
|
import { Type as Type4 } from "class-transformer";
|
|
3577
3590
|
var ProjectDto = class {
|
|
3578
3591
|
};
|
|
3579
3592
|
__decorateClass([
|
|
3580
|
-
|
|
3593
|
+
IsOptional16()
|
|
3581
3594
|
], ProjectDto.prototype, "uuid", 2);
|
|
3582
3595
|
__decorateClass([
|
|
3583
3596
|
IsString23(),
|
|
@@ -3592,22 +3605,22 @@ __decorateClass([
|
|
|
3592
3605
|
IsNotEmpty39({ message: "Please Enter End Date " })
|
|
3593
3606
|
], ProjectDto.prototype, "endDate", 2);
|
|
3594
3607
|
__decorateClass([
|
|
3595
|
-
|
|
3608
|
+
IsOptional16(),
|
|
3596
3609
|
IsString23()
|
|
3597
3610
|
], ProjectDto.prototype, "clientName", 2);
|
|
3598
3611
|
__decorateClass([
|
|
3599
|
-
|
|
3612
|
+
IsOptional16(),
|
|
3600
3613
|
IsString23()
|
|
3601
3614
|
], ProjectDto.prototype, "gitLink", 2);
|
|
3602
3615
|
__decorateClass([
|
|
3603
|
-
|
|
3616
|
+
IsOptional16(),
|
|
3604
3617
|
IsString23(),
|
|
3605
3618
|
MaxLength11(500, { message: "Description must not exceed 500 characters" })
|
|
3606
3619
|
], ProjectDto.prototype, "description", 2);
|
|
3607
3620
|
var CaseStudyDto = class {
|
|
3608
3621
|
};
|
|
3609
3622
|
__decorateClass([
|
|
3610
|
-
|
|
3623
|
+
IsOptional16()
|
|
3611
3624
|
], CaseStudyDto.prototype, "uuid", 2);
|
|
3612
3625
|
__decorateClass([
|
|
3613
3626
|
IsString23(),
|
|
@@ -3618,7 +3631,7 @@ __decorateClass([
|
|
|
3618
3631
|
IsNotEmpty39({ message: "Please Enter Case Study Link " })
|
|
3619
3632
|
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
3620
3633
|
__decorateClass([
|
|
3621
|
-
|
|
3634
|
+
IsOptional16(),
|
|
3622
3635
|
IsString23(),
|
|
3623
3636
|
MaxLength11(500, { message: "Description must not exceed 500 characters" })
|
|
3624
3637
|
], CaseStudyDto.prototype, "description", 2);
|
|
@@ -3648,7 +3661,7 @@ var FREELANCER_SKILL_PATTERN = {
|
|
|
3648
3661
|
};
|
|
3649
3662
|
|
|
3650
3663
|
// src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
|
|
3651
|
-
import { IsArray as IsArray8, IsString as IsString24, IsOptional as
|
|
3664
|
+
import { IsArray as IsArray8, IsString as IsString24, IsOptional as IsOptional17 } from "class-validator";
|
|
3652
3665
|
import { Type as Type5 } from "class-transformer";
|
|
3653
3666
|
var FreelancerSkillDto = class {
|
|
3654
3667
|
constructor() {
|
|
@@ -3658,19 +3671,19 @@ var FreelancerSkillDto = class {
|
|
|
3658
3671
|
}
|
|
3659
3672
|
};
|
|
3660
3673
|
__decorateClass([
|
|
3661
|
-
|
|
3674
|
+
IsOptional17(),
|
|
3662
3675
|
IsArray8(),
|
|
3663
3676
|
Type5(() => String),
|
|
3664
3677
|
IsString24({ each: true })
|
|
3665
3678
|
], FreelancerSkillDto.prototype, "coreSkills", 2);
|
|
3666
3679
|
__decorateClass([
|
|
3667
|
-
|
|
3680
|
+
IsOptional17(),
|
|
3668
3681
|
IsArray8(),
|
|
3669
3682
|
Type5(() => String),
|
|
3670
3683
|
IsString24({ each: true })
|
|
3671
3684
|
], FreelancerSkillDto.prototype, "tools", 2);
|
|
3672
3685
|
__decorateClass([
|
|
3673
|
-
|
|
3686
|
+
IsOptional17(),
|
|
3674
3687
|
IsArray8(),
|
|
3675
3688
|
Type5(() => String),
|
|
3676
3689
|
IsString24({ each: true })
|
|
@@ -3693,7 +3706,7 @@ import {
|
|
|
3693
3706
|
IsString as IsString25,
|
|
3694
3707
|
IsEmail as IsEmail10,
|
|
3695
3708
|
IsBoolean as IsBoolean10,
|
|
3696
|
-
IsOptional as
|
|
3709
|
+
IsOptional as IsOptional18,
|
|
3697
3710
|
IsEnum as IsEnum13,
|
|
3698
3711
|
IsNumber as IsNumber3,
|
|
3699
3712
|
IsUrl as IsUrl3,
|
|
@@ -3776,23 +3789,23 @@ __decorateClass([
|
|
|
3776
3789
|
IsNotEmpty41({ message: "Please enter availability to join." })
|
|
3777
3790
|
], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
|
|
3778
3791
|
__decorateClass([
|
|
3779
|
-
|
|
3792
|
+
IsOptional18(),
|
|
3780
3793
|
IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" })
|
|
3781
3794
|
], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
3782
3795
|
__decorateClass([
|
|
3783
|
-
|
|
3796
|
+
IsOptional18(),
|
|
3784
3797
|
IsString25({ message: "Kaggle profile link must be a string" })
|
|
3785
3798
|
], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
3786
3799
|
__decorateClass([
|
|
3787
|
-
|
|
3800
|
+
IsOptional18(),
|
|
3788
3801
|
IsUrl3({}, { message: "GitHub profile link must be a valid URL" })
|
|
3789
3802
|
], CreateFreelancerDto.prototype, "githubProfileLink", 2);
|
|
3790
3803
|
__decorateClass([
|
|
3791
|
-
|
|
3804
|
+
IsOptional18(),
|
|
3792
3805
|
IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" })
|
|
3793
3806
|
], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
|
|
3794
3807
|
__decorateClass([
|
|
3795
|
-
|
|
3808
|
+
IsOptional18(),
|
|
3796
3809
|
IsUrl3({}, { message: "Portfolio link must be a valid URL" })
|
|
3797
3810
|
], CreateFreelancerDto.prototype, "portfolioLink", 2);
|
|
3798
3811
|
|
|
@@ -3801,7 +3814,7 @@ import {
|
|
|
3801
3814
|
IsString as IsString26,
|
|
3802
3815
|
IsEmail as IsEmail11,
|
|
3803
3816
|
IsBoolean as IsBoolean11,
|
|
3804
|
-
IsOptional as
|
|
3817
|
+
IsOptional as IsOptional19,
|
|
3805
3818
|
IsEnum as IsEnum14,
|
|
3806
3819
|
IsNumber as IsNumber4,
|
|
3807
3820
|
IsUrl as IsUrl4,
|
|
@@ -3828,24 +3841,24 @@ var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
|
3828
3841
|
var UpdateFreelancerDto = class {
|
|
3829
3842
|
};
|
|
3830
3843
|
__decorateClass([
|
|
3831
|
-
|
|
3844
|
+
IsOptional19(),
|
|
3832
3845
|
IsString26({ message: "Full name must be a string" }),
|
|
3833
3846
|
MaxLength14(100, { message: "Full name must not exceed 100 characters" })
|
|
3834
3847
|
], UpdateFreelancerDto.prototype, "fullName", 2);
|
|
3835
3848
|
__decorateClass([
|
|
3836
|
-
|
|
3849
|
+
IsOptional19(),
|
|
3837
3850
|
IsEmail11({}, { message: "Invalid email address" })
|
|
3838
3851
|
], UpdateFreelancerDto.prototype, "email", 2);
|
|
3839
3852
|
__decorateClass([
|
|
3840
|
-
|
|
3853
|
+
IsOptional19(),
|
|
3841
3854
|
IsString26({ message: "Mobile code must be a string (e.g., +1)" })
|
|
3842
3855
|
], UpdateFreelancerDto.prototype, "mobileCode", 2);
|
|
3843
3856
|
__decorateClass([
|
|
3844
|
-
|
|
3857
|
+
IsOptional19(),
|
|
3845
3858
|
IsString26({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
3846
3859
|
], UpdateFreelancerDto.prototype, "mobile", 2);
|
|
3847
3860
|
__decorateClass([
|
|
3848
|
-
|
|
3861
|
+
IsOptional19(),
|
|
3849
3862
|
MinLength12(6, { message: "Password must be at least 6 characters." }),
|
|
3850
3863
|
MaxLength14(32, { message: "Password must not exceed 32 characters." }),
|
|
3851
3864
|
Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
@@ -3853,12 +3866,12 @@ __decorateClass([
|
|
|
3853
3866
|
})
|
|
3854
3867
|
], UpdateFreelancerDto.prototype, "password", 2);
|
|
3855
3868
|
__decorateClass([
|
|
3856
|
-
|
|
3869
|
+
IsOptional19(),
|
|
3857
3870
|
IsBoolean11({ message: "Developer flag must be true or false" }),
|
|
3858
3871
|
Type7(() => Boolean)
|
|
3859
3872
|
], UpdateFreelancerDto.prototype, "developer", 2);
|
|
3860
3873
|
__decorateClass([
|
|
3861
|
-
|
|
3874
|
+
IsOptional19(),
|
|
3862
3875
|
IsEnum14(NatureOfWorkEnum2, {
|
|
3863
3876
|
message: `Nature of work must be one of: ${Object.values(
|
|
3864
3877
|
NatureOfWorkEnum2
|
|
@@ -3866,13 +3879,13 @@ __decorateClass([
|
|
|
3866
3879
|
})
|
|
3867
3880
|
], UpdateFreelancerDto.prototype, "natureOfWork", 2);
|
|
3868
3881
|
__decorateClass([
|
|
3869
|
-
|
|
3882
|
+
IsOptional19(),
|
|
3870
3883
|
IsNumber4({}, { message: "Expected hourly compensation must be a number" }),
|
|
3871
3884
|
Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
3872
3885
|
Type7(() => Number)
|
|
3873
3886
|
], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
3874
3887
|
__decorateClass([
|
|
3875
|
-
|
|
3888
|
+
IsOptional19(),
|
|
3876
3889
|
IsEnum14(ModeOfWorkEnum2, {
|
|
3877
3890
|
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
|
|
3878
3891
|
", "
|
|
@@ -3880,7 +3893,7 @@ __decorateClass([
|
|
|
3880
3893
|
})
|
|
3881
3894
|
], UpdateFreelancerDto.prototype, "modeOfWork", 2);
|
|
3882
3895
|
__decorateClass([
|
|
3883
|
-
|
|
3896
|
+
IsOptional19(),
|
|
3884
3897
|
IsBoolean11({ message: "isImmediateJoiner must be true or false" }),
|
|
3885
3898
|
Type7(() => Boolean)
|
|
3886
3899
|
], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
|
|
@@ -3889,23 +3902,23 @@ __decorateClass([
|
|
|
3889
3902
|
IsNotEmpty42({ message: "Please enter availability to join." })
|
|
3890
3903
|
], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
|
|
3891
3904
|
__decorateClass([
|
|
3892
|
-
|
|
3905
|
+
IsOptional19(),
|
|
3893
3906
|
IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" })
|
|
3894
3907
|
], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
3895
3908
|
__decorateClass([
|
|
3896
|
-
|
|
3909
|
+
IsOptional19(),
|
|
3897
3910
|
IsString26({ message: "Kaggle profile link must be a string" })
|
|
3898
3911
|
], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
3899
3912
|
__decorateClass([
|
|
3900
|
-
|
|
3913
|
+
IsOptional19(),
|
|
3901
3914
|
IsUrl4({}, { message: "GitHub profile link must be a valid URL" })
|
|
3902
3915
|
], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
|
|
3903
3916
|
__decorateClass([
|
|
3904
|
-
|
|
3917
|
+
IsOptional19(),
|
|
3905
3918
|
IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" })
|
|
3906
3919
|
], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
|
|
3907
3920
|
__decorateClass([
|
|
3908
|
-
|
|
3921
|
+
IsOptional19(),
|
|
3909
3922
|
IsUrl4({}, { message: "Portfolio link must be a valid URL" })
|
|
3910
3923
|
], UpdateFreelancerDto.prototype, "portfolioLink", 2);
|
|
3911
3924
|
|
|
@@ -3926,7 +3939,7 @@ var CLIENT_ADMIN_PATTERNS = {
|
|
|
3926
3939
|
import {
|
|
3927
3940
|
IsNotEmpty as IsNotEmpty43,
|
|
3928
3941
|
IsEmail as IsEmail12,
|
|
3929
|
-
IsOptional as
|
|
3942
|
+
IsOptional as IsOptional20,
|
|
3930
3943
|
IsString as IsString27,
|
|
3931
3944
|
IsArray as IsArray9,
|
|
3932
3945
|
MinLength as MinLength13,
|
|
@@ -3997,7 +4010,7 @@ __decorateClass([
|
|
|
3997
4010
|
IsString27()
|
|
3998
4011
|
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
3999
4012
|
__decorateClass([
|
|
4000
|
-
|
|
4013
|
+
IsOptional20(),
|
|
4001
4014
|
IsString27()
|
|
4002
4015
|
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
4003
4016
|
|
|
@@ -4014,7 +4027,7 @@ __decorateClass([
|
|
|
4014
4027
|
import {
|
|
4015
4028
|
IsNotEmpty as IsNotEmpty45,
|
|
4016
4029
|
IsEmail as IsEmail13,
|
|
4017
|
-
IsOptional as
|
|
4030
|
+
IsOptional as IsOptional21,
|
|
4018
4031
|
IsString as IsString29,
|
|
4019
4032
|
IsArray as IsArray10,
|
|
4020
4033
|
MinLength as MinLength14,
|
|
@@ -4049,7 +4062,7 @@ __decorateClass([
|
|
|
4049
4062
|
IsEmail13()
|
|
4050
4063
|
], UpdateClientDto.prototype, "email", 2);
|
|
4051
4064
|
__decorateClass([
|
|
4052
|
-
|
|
4065
|
+
IsOptional21(),
|
|
4053
4066
|
MinLength14(6, { message: "Password must be at least 6 characters." }),
|
|
4054
4067
|
MaxLength16(32, { message: "Password must not exceed 32 characters." }),
|
|
4055
4068
|
Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
@@ -4081,7 +4094,7 @@ __decorateClass([
|
|
|
4081
4094
|
IsString29()
|
|
4082
4095
|
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
4083
4096
|
__decorateClass([
|
|
4084
|
-
|
|
4097
|
+
IsOptional21(),
|
|
4085
4098
|
IsString29()
|
|
4086
4099
|
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
4087
4100
|
|
|
@@ -4092,7 +4105,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
4092
4105
|
};
|
|
4093
4106
|
|
|
4094
4107
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
4095
|
-
import { IsOptional as
|
|
4108
|
+
import { IsOptional as IsOptional22, IsEnum as IsEnum17, IsString as IsString30, IsNotEmpty as IsNotEmpty46, IsIn as IsIn3 } from "class-validator";
|
|
4096
4109
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
4097
4110
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
4098
4111
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -4103,7 +4116,7 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
|
4103
4116
|
var FreelancerDeclarationDto = class {
|
|
4104
4117
|
};
|
|
4105
4118
|
__decorateClass([
|
|
4106
|
-
|
|
4119
|
+
IsOptional22(),
|
|
4107
4120
|
IsString30({ message: "UUID must be a string" })
|
|
4108
4121
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
4109
4122
|
__decorateClass([
|
|
@@ -4127,35 +4140,35 @@ var CMS_PATTERNS = {
|
|
|
4127
4140
|
};
|
|
4128
4141
|
|
|
4129
4142
|
// src/modules/cms/dto/create-cms.dto.ts
|
|
4130
|
-
import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty47, IsOptional as
|
|
4143
|
+
import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty47, IsOptional as IsOptional23 } from "class-validator";
|
|
4131
4144
|
var CreateCmsDto = class {
|
|
4132
4145
|
};
|
|
4133
4146
|
__decorateClass([
|
|
4134
4147
|
IsNotEmpty47({ message: "Please enter name." })
|
|
4135
4148
|
], CreateCmsDto.prototype, "title", 2);
|
|
4136
4149
|
__decorateClass([
|
|
4137
|
-
|
|
4150
|
+
IsOptional23()
|
|
4138
4151
|
], CreateCmsDto.prototype, "content", 2);
|
|
4139
4152
|
__decorateClass([
|
|
4140
|
-
|
|
4153
|
+
IsOptional23(),
|
|
4141
4154
|
IsBoolean12({ message: "Is active must be a boolean value" })
|
|
4142
4155
|
], CreateCmsDto.prototype, "isActive", 2);
|
|
4143
4156
|
|
|
4144
4157
|
// src/modules/cms/dto/update-cms.dto.ts
|
|
4145
|
-
import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty48, IsOptional as
|
|
4158
|
+
import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty48, IsOptional as IsOptional24 } from "class-validator";
|
|
4146
4159
|
var UpdateCmsDto = class {
|
|
4147
4160
|
};
|
|
4148
4161
|
__decorateClass([
|
|
4149
|
-
|
|
4162
|
+
IsOptional24()
|
|
4150
4163
|
], UpdateCmsDto.prototype, "uuid", 2);
|
|
4151
4164
|
__decorateClass([
|
|
4152
4165
|
IsNotEmpty48({ message: "Please enter name." })
|
|
4153
4166
|
], UpdateCmsDto.prototype, "title", 2);
|
|
4154
4167
|
__decorateClass([
|
|
4155
|
-
|
|
4168
|
+
IsOptional24()
|
|
4156
4169
|
], UpdateCmsDto.prototype, "content", 2);
|
|
4157
4170
|
__decorateClass([
|
|
4158
|
-
|
|
4171
|
+
IsOptional24(),
|
|
4159
4172
|
IsBoolean13({ message: "Is active must be a boolean value" })
|
|
4160
4173
|
], UpdateCmsDto.prototype, "isActive", 2);
|
|
4161
4174
|
|
|
@@ -4188,7 +4201,7 @@ import {
|
|
|
4188
4201
|
IsString as IsString31,
|
|
4189
4202
|
IsEnum as IsEnum18,
|
|
4190
4203
|
IsInt as IsInt6,
|
|
4191
|
-
IsOptional as
|
|
4204
|
+
IsOptional as IsOptional25,
|
|
4192
4205
|
IsArray as IsArray11,
|
|
4193
4206
|
IsDateString as IsDateString4,
|
|
4194
4207
|
IsNotEmpty as IsNotEmpty49,
|
|
@@ -4215,7 +4228,7 @@ __decorateClass([
|
|
|
4215
4228
|
IsNotEmpty49({ message: "Job role is required." })
|
|
4216
4229
|
], AdminCreateJobInformationDto.prototype, "jobRole", 2);
|
|
4217
4230
|
__decorateClass([
|
|
4218
|
-
|
|
4231
|
+
IsOptional25(),
|
|
4219
4232
|
IsString31({ message: "Note must be a string." })
|
|
4220
4233
|
], AdminCreateJobInformationDto.prototype, "note", 2);
|
|
4221
4234
|
__decorateClass([
|
|
@@ -4265,7 +4278,7 @@ __decorateClass([
|
|
|
4265
4278
|
IsDateString4({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
|
|
4266
4279
|
], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
4267
4280
|
__decorateClass([
|
|
4268
|
-
|
|
4281
|
+
IsOptional25(),
|
|
4269
4282
|
IsString31({ message: "Additional comment must be a string." })
|
|
4270
4283
|
], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
|
|
4271
4284
|
__decorateClass([
|
|
@@ -4287,7 +4300,7 @@ import {
|
|
|
4287
4300
|
IsString as IsString32,
|
|
4288
4301
|
IsEnum as IsEnum19,
|
|
4289
4302
|
IsInt as IsInt7,
|
|
4290
|
-
IsOptional as
|
|
4303
|
+
IsOptional as IsOptional26,
|
|
4291
4304
|
IsArray as IsArray12,
|
|
4292
4305
|
IsDateString as IsDateString5,
|
|
4293
4306
|
IsNotEmpty as IsNotEmpty50,
|
|
@@ -4314,7 +4327,7 @@ __decorateClass([
|
|
|
4314
4327
|
IsNotEmpty50({ message: "Job role is required." })
|
|
4315
4328
|
], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
|
|
4316
4329
|
__decorateClass([
|
|
4317
|
-
|
|
4330
|
+
IsOptional26(),
|
|
4318
4331
|
IsString32({ message: "Note must be a string." })
|
|
4319
4332
|
], AdminUpdateJobInformationDto.prototype, "note", 2);
|
|
4320
4333
|
__decorateClass([
|
|
@@ -4364,7 +4377,7 @@ __decorateClass([
|
|
|
4364
4377
|
IsDateString5({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
|
|
4365
4378
|
], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
4366
4379
|
__decorateClass([
|
|
4367
|
-
|
|
4380
|
+
IsOptional26(),
|
|
4368
4381
|
IsString32({ message: "Additional comment must be a string." })
|
|
4369
4382
|
], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
|
|
4370
4383
|
__decorateClass([
|
|
@@ -4387,7 +4400,7 @@ var LEAD_PATTERN = {
|
|
|
4387
4400
|
};
|
|
4388
4401
|
|
|
4389
4402
|
// src/modules/lead/dto/create-lead.dto.ts
|
|
4390
|
-
import { IsString as IsString33, IsEmail as IsEmail14, IsOptional as
|
|
4403
|
+
import { IsString as IsString33, IsEmail as IsEmail14, IsOptional as IsOptional27, IsEnum as IsEnum20 } from "class-validator";
|
|
4391
4404
|
var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
4392
4405
|
CategoryEmumDto2["BUSINESS"] = "BUSINESS";
|
|
4393
4406
|
CategoryEmumDto2["FREELANCER"] = "FREELANCER";
|
|
@@ -4408,7 +4421,7 @@ __decorateClass([
|
|
|
4408
4421
|
IsString33({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
4409
4422
|
], CreateLeadDto.prototype, "mobile", 2);
|
|
4410
4423
|
__decorateClass([
|
|
4411
|
-
|
|
4424
|
+
IsOptional27(),
|
|
4412
4425
|
IsString33({ message: "Description must be a string" })
|
|
4413
4426
|
], CreateLeadDto.prototype, "description", 2);
|
|
4414
4427
|
__decorateClass([
|
|
@@ -5093,6 +5106,7 @@ export {
|
|
|
5093
5106
|
SelectedAnswerTypeEnum,
|
|
5094
5107
|
SendGuestOtpDto,
|
|
5095
5108
|
SendGuestOtpPurposeEnum,
|
|
5109
|
+
SendGuestOtpScopeEnum,
|
|
5096
5110
|
SenseloafLog,
|
|
5097
5111
|
SequenceGenerator,
|
|
5098
5112
|
SetPasswordDto,
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
export declare enum SendGuestOtpPurposeEnum {
|
|
2
2
|
ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
|
|
3
3
|
}
|
|
4
|
+
export declare enum SendGuestOtpScopeEnum {
|
|
5
|
+
CLIENT = "CLIENT",
|
|
6
|
+
FREELANCER = "FREELANCER"
|
|
7
|
+
}
|
|
4
8
|
export declare class SendGuestOtpDto {
|
|
5
9
|
fullName: string;
|
|
6
10
|
target: string;
|
|
11
|
+
fallbackTarget: string;
|
|
7
12
|
purpose: SendGuestOtpPurposeEnum;
|
|
13
|
+
scope: SendGuestOtpScopeEnum;
|
|
8
14
|
}
|