@experts_hub/shared 1.0.549 → 1.0.557
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 +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +45 -28
- package/dist/index.mjs +68 -50
- package/dist/modules/freelancer-admin/dto/create-freelancer.dto.d.ts +7 -0
- package/dist/modules/freelancer-admin/dto/update-freelancer.dto.d.ts +2 -0
- package/dist/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -604,7 +604,7 @@ declare class FreelancerChangePasswordDto {
|
|
|
604
604
|
newPassword: string;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
|
-
declare enum NatureOfWorkDto {
|
|
607
|
+
declare enum NatureOfWorkDto$1 {
|
|
608
608
|
FREELANCE = "FREELANCE",
|
|
609
609
|
FTE = "FTE",
|
|
610
610
|
BOTH = "BOTH"
|
|
@@ -628,7 +628,7 @@ declare class UpdateFreelancerProfileDto {
|
|
|
628
628
|
expectedHourlyCompensation: string;
|
|
629
629
|
expectedAnnualCompensation: string;
|
|
630
630
|
numberOfHours?: number;
|
|
631
|
-
natureOfWork: NatureOfWorkDto;
|
|
631
|
+
natureOfWork: NatureOfWorkDto$1;
|
|
632
632
|
modeOfWork: ModeOfWorkDto;
|
|
633
633
|
portfolioLink?: string;
|
|
634
634
|
address: string;
|
|
@@ -2422,6 +2422,11 @@ declare const ADMIN_FREELANCER_PATTERN: {
|
|
|
2422
2422
|
fetchFreelancerGraphCount: string;
|
|
2423
2423
|
};
|
|
2424
2424
|
|
|
2425
|
+
declare enum NatureOfWorkDto {
|
|
2426
|
+
FREELANCE = "FREELANCE",
|
|
2427
|
+
FTE = "FTE",
|
|
2428
|
+
BOTH = "BOTH"
|
|
2429
|
+
}
|
|
2425
2430
|
declare enum NatureOfWorkEnum$1 {
|
|
2426
2431
|
FTE = "FTE",
|
|
2427
2432
|
FREELANCE = "FREELANCE",
|
|
@@ -2442,6 +2447,8 @@ declare class CreateFreelancerDto {
|
|
|
2442
2447
|
developer: boolean;
|
|
2443
2448
|
natureOfWork: NatureOfWorkEnum$1;
|
|
2444
2449
|
expectedHourlyCompensation: number;
|
|
2450
|
+
expectedAnnualCompensation: string;
|
|
2451
|
+
numberOfHours?: number;
|
|
2445
2452
|
modeOfWork: ModeOfWorkEnum$1;
|
|
2446
2453
|
isImmediateJoiner: boolean;
|
|
2447
2454
|
availabilityToJoin: string;
|
|
@@ -2471,6 +2478,8 @@ declare class UpdateFreelancerDto {
|
|
|
2471
2478
|
developer?: boolean;
|
|
2472
2479
|
natureOfWork?: NatureOfWorkEnum;
|
|
2473
2480
|
expectedHourlyCompensation?: number;
|
|
2481
|
+
expectedAnnualCompensation: string;
|
|
2482
|
+
numberOfHours?: number;
|
|
2474
2483
|
modeOfWork?: ModeOfWorkEnum;
|
|
2475
2484
|
isImmediateJoiner?: boolean;
|
|
2476
2485
|
availabilityToJoin?: string;
|
|
@@ -3323,4 +3332,4 @@ declare class RecommendationWeightageConfig extends BaseEntity {
|
|
|
3323
3332
|
isActive: boolean;
|
|
3324
3333
|
}
|
|
3325
3334
|
|
|
3326
|
-
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, AI_INTERVIEW_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminJobBasicInformationV2Dto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewQuestionGenerateDto, AiInterviewRescheduleRequest, AiInterviewRescheduleRequestStatusEnum, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentRequestStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAIInterviewRescheduleRequestDto, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, EmploymentTypeV2, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerAssessmentRequest, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, HiredFreelancerNatureOfWorkEnum, Hiring, HiringCommissionTypeEnum, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, InitiatorTypeEnum, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobBasicInformationV2Dto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationAdminDto, JobLocationDto, JobLocationEnum, JobLocationEnumDto, JobLocationEnumV2, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork,
|
|
3335
|
+
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, AI_INTERVIEW_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminJobBasicInformationV2Dto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewQuestionGenerateDto, AiInterviewRescheduleRequest, AiInterviewRescheduleRequestStatusEnum, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentRequestStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAIInterviewRescheduleRequestDto, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, EmploymentTypeV2, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerAssessmentRequest, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, HiredFreelancerNatureOfWorkEnum, Hiring, HiringCommissionTypeEnum, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, InitiatorTypeEnum, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobBasicInformationV2Dto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationAdminDto, JobLocationDto, JobLocationEnum, JobLocationEnumDto, JobLocationEnumV2, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RefreshDto, RefreshToken, RejectAIInterviewRescheduleRequestDto, ResetPasswordDto, ResetPasswordTokenValidationDto, ResultStatusEnum, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, SkillCatalog, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog, typeOfExperienceDtoEnumV2, typeOfExperienceEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -604,7 +604,7 @@ declare class FreelancerChangePasswordDto {
|
|
|
604
604
|
newPassword: string;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
|
-
declare enum NatureOfWorkDto {
|
|
607
|
+
declare enum NatureOfWorkDto$1 {
|
|
608
608
|
FREELANCE = "FREELANCE",
|
|
609
609
|
FTE = "FTE",
|
|
610
610
|
BOTH = "BOTH"
|
|
@@ -628,7 +628,7 @@ declare class UpdateFreelancerProfileDto {
|
|
|
628
628
|
expectedHourlyCompensation: string;
|
|
629
629
|
expectedAnnualCompensation: string;
|
|
630
630
|
numberOfHours?: number;
|
|
631
|
-
natureOfWork: NatureOfWorkDto;
|
|
631
|
+
natureOfWork: NatureOfWorkDto$1;
|
|
632
632
|
modeOfWork: ModeOfWorkDto;
|
|
633
633
|
portfolioLink?: string;
|
|
634
634
|
address: string;
|
|
@@ -2422,6 +2422,11 @@ declare const ADMIN_FREELANCER_PATTERN: {
|
|
|
2422
2422
|
fetchFreelancerGraphCount: string;
|
|
2423
2423
|
};
|
|
2424
2424
|
|
|
2425
|
+
declare enum NatureOfWorkDto {
|
|
2426
|
+
FREELANCE = "FREELANCE",
|
|
2427
|
+
FTE = "FTE",
|
|
2428
|
+
BOTH = "BOTH"
|
|
2429
|
+
}
|
|
2425
2430
|
declare enum NatureOfWorkEnum$1 {
|
|
2426
2431
|
FTE = "FTE",
|
|
2427
2432
|
FREELANCE = "FREELANCE",
|
|
@@ -2442,6 +2447,8 @@ declare class CreateFreelancerDto {
|
|
|
2442
2447
|
developer: boolean;
|
|
2443
2448
|
natureOfWork: NatureOfWorkEnum$1;
|
|
2444
2449
|
expectedHourlyCompensation: number;
|
|
2450
|
+
expectedAnnualCompensation: string;
|
|
2451
|
+
numberOfHours?: number;
|
|
2445
2452
|
modeOfWork: ModeOfWorkEnum$1;
|
|
2446
2453
|
isImmediateJoiner: boolean;
|
|
2447
2454
|
availabilityToJoin: string;
|
|
@@ -2471,6 +2478,8 @@ declare class UpdateFreelancerDto {
|
|
|
2471
2478
|
developer?: boolean;
|
|
2472
2479
|
natureOfWork?: NatureOfWorkEnum;
|
|
2473
2480
|
expectedHourlyCompensation?: number;
|
|
2481
|
+
expectedAnnualCompensation: string;
|
|
2482
|
+
numberOfHours?: number;
|
|
2474
2483
|
modeOfWork?: ModeOfWorkEnum;
|
|
2475
2484
|
isImmediateJoiner?: boolean;
|
|
2476
2485
|
availabilityToJoin?: string;
|
|
@@ -3323,4 +3332,4 @@ declare class RecommendationWeightageConfig extends BaseEntity {
|
|
|
3323
3332
|
isActive: boolean;
|
|
3324
3333
|
}
|
|
3325
3334
|
|
|
3326
|
-
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, AI_INTERVIEW_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminJobBasicInformationV2Dto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewQuestionGenerateDto, AiInterviewRescheduleRequest, AiInterviewRescheduleRequestStatusEnum, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentRequestStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAIInterviewRescheduleRequestDto, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, EmploymentTypeV2, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerAssessmentRequest, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, HiredFreelancerNatureOfWorkEnum, Hiring, HiringCommissionTypeEnum, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, InitiatorTypeEnum, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobBasicInformationV2Dto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationAdminDto, JobLocationDto, JobLocationEnum, JobLocationEnumDto, JobLocationEnumV2, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork,
|
|
3335
|
+
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, AI_INTERVIEW_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminJobBasicInformationV2Dto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AiInterview, AiInterviewQuestionGenerateDto, AiInterviewRescheduleRequest, AiInterviewRescheduleRequestStatusEnum, AiInterviewStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentRequestStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CALENDLY_PATTERN, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CONTRACT_PATTERN, COUNTRY_PATTERN, CalendlyMeetingLog, CandidateType, CaseStudyDto, CategoryEmum, CategoryEmumDto, ChatRMQAdapter, ChatTCPAdapter, City, ClientCandidatePreference, ClientCandidatePreferenceEnum, ClientChangePasswordDto, ClientCreateAccountDto, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Contract, ContractRMQAdapter, ContractStatusEnum, ContractTCPAdapter, ContractTypeEnum, Country, CreateAIInterviewRescheduleRequestDto, CreateAdminRoleDto, CreateCheckoutSessionDto, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateDisputeDto, CreateF2FInterviewDirectDto, CreateF2FInterviewDto, CreateF2FInterviewRescheduleRequestDto, CreateFreelancerDto, CreateFreelancerTimesheetDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, Dispute, DisputeStatusEnum, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, EmploymentTypeV2, EscrowWallet, EscrowWalletTransaction, EscrowWalletTransactionForEnum, EscrowWalletTransactionTypeEnum, ExperienceDto, F2FInterview, F2FInterviewSchedule, F2F_INTERVIEW_PATTERN, F2fInterviewRescheduleRequest, F2fInterviewRescheduleRequestStatusEnum, F2fInterviewScheduleStatusEnum, F2fInterviewStatusEnum, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerAssessmentRequest, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillCategoryEnum, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, HiredFreelancerNatureOfWorkEnum, Hiring, HiringCommissionTypeEnum, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, INTERVIEW_INVITE_PATTERN, INVOICE_PATTERN, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, InitiatorTypeEnum, Interview, InterviewInvite, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewQuestionType, InterviewSkill, InterviewStatusEnum, Invoice, InvoicePaymentStatusEnum, InvoiceStatusEnum, InvoiceTypeEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobBasicInformationV2Dto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationAdminDto, JobLocationDto, JobLocationEnum, JobLocationEnumDto, JobLocationEnumV2, JobLocationEnums, JobRMQAdapter, JobRecommendation, JobRoles, JobSkill, JobSkillCategoryEnum, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LoginViaOtpDto, LoginViaOtpScopeEnum, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RecommendationWeightageConfig, RefreshDto, RefreshToken, RejectAIInterviewRescheduleRequestDto, ResetPasswordDto, ResetPasswordTokenValidationDto, ResultStatusEnum, STATE_PATTERN, STRIPE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SendLoginOtpDto, SendLoginOtpPurposeEnum, SendLoginOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, SignContractForClientDto, SignContractForFreelancerDto, Signature, Skill, SkillCatalog, State, Step, StripeLog, StripeTransaction, StripeTransactionStatusEnum, StripeTransactionTypeEnum, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TIMESHEET_CLIENT_PATTERN, TIMESHEET_FREELANCER_PATTERN, Timesheet, TimesheetLine, TimesheetLineHistory, TimesheetLineHistoryStatusEnum, TimesheetLineStatusEnum, TimesheetLogs, TimesheetStatusEnum, TimesheetSubmissionActionEnum, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateFreelancerTimesheetDto, UpdateInvoiceStatusDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum, Wallet, WalletAccountTypeEnum, WalletOnboardingStatusEnum, WalletTransaction, WalletTransactionStatusEnum, WalletTransactionTypeEnum, ZoomMeetingLog, typeOfExperienceDtoEnumV2, typeOfExperienceEnum };
|
package/dist/index.js
CHANGED
|
@@ -233,10 +233,9 @@ __export(index_exports, {
|
|
|
233
233
|
McqStatusEnum: () => McqStatusEnum,
|
|
234
234
|
ModeOfHire: () => ModeOfHire,
|
|
235
235
|
ModeOfWork: () => ModeOfWork,
|
|
236
|
-
ModeOfWorkDto: () => ModeOfWorkDto,
|
|
237
236
|
NOTIFICATION_PATTERN: () => NOTIFICATION_PATTERN,
|
|
238
237
|
NatureOfWork: () => NatureOfWork,
|
|
239
|
-
NatureOfWorkDto: () =>
|
|
238
|
+
NatureOfWorkDto: () => NatureOfWorkDto2,
|
|
240
239
|
NotificationRMQAdapter: () => NotificationRMQAdapter,
|
|
241
240
|
NotificationTCPAdapter: () => NotificationTCPAdapter,
|
|
242
241
|
ONBOARDING_PATTERN: () => ONBOARDING_PATTERN,
|
|
@@ -1316,17 +1315,17 @@ __decorateClass([
|
|
|
1316
1315
|
})
|
|
1317
1316
|
], JobBasicInformationDto.prototype, "location", 2);
|
|
1318
1317
|
__decorateClass([
|
|
1319
|
-
(0, import_class_validator33.
|
|
1318
|
+
(0, import_class_validator33.IsOptional)(),
|
|
1320
1319
|
(0, import_class_validator33.IsNumber)({}, { message: "Country id must be a number" }),
|
|
1321
1320
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1322
1321
|
], JobBasicInformationDto.prototype, "countryId", 2);
|
|
1323
1322
|
__decorateClass([
|
|
1324
|
-
(0, import_class_validator33.
|
|
1323
|
+
(0, import_class_validator33.IsOptional)(),
|
|
1325
1324
|
(0, import_class_validator33.IsNumber)({}, { message: "State id must be a number" }),
|
|
1326
1325
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1327
1326
|
], JobBasicInformationDto.prototype, "stateId", 2);
|
|
1328
1327
|
__decorateClass([
|
|
1329
|
-
(0, import_class_validator33.
|
|
1328
|
+
(0, import_class_validator33.IsOptional)(),
|
|
1330
1329
|
(0, import_class_validator33.IsNumber)({}, { message: "City id must be a number" }),
|
|
1331
1330
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1332
1331
|
], JobBasicInformationDto.prototype, "cityId", 2);
|
|
@@ -1488,20 +1487,14 @@ var JobLocationDto = class {
|
|
|
1488
1487
|
};
|
|
1489
1488
|
__decorateClass([
|
|
1490
1489
|
(0, import_class_validator38.IsOptional)(),
|
|
1491
|
-
(0, import_class_validator38.ValidateIf)((o) => o.countryId !== null && o.countryId !== void 0),
|
|
1492
|
-
(0, import_class_validator38.IsNumber)({}, { message: "Country id must be a number" }),
|
|
1493
1490
|
(0, import_class_transformer4.Type)(() => Number)
|
|
1494
1491
|
], JobLocationDto.prototype, "countryId", 2);
|
|
1495
1492
|
__decorateClass([
|
|
1496
1493
|
(0, import_class_validator38.IsOptional)(),
|
|
1497
|
-
(0, import_class_validator38.ValidateIf)((o) => o.stateId !== null && o.stateId !== void 0),
|
|
1498
|
-
(0, import_class_validator38.IsNumber)({}, { message: "State id must be a number" }),
|
|
1499
1494
|
(0, import_class_transformer4.Type)(() => Number)
|
|
1500
1495
|
], JobLocationDto.prototype, "stateId", 2);
|
|
1501
1496
|
__decorateClass([
|
|
1502
1497
|
(0, import_class_validator38.IsOptional)(),
|
|
1503
|
-
(0, import_class_validator38.ValidateIf)((o) => o.cityId !== null && o.cityId !== void 0),
|
|
1504
|
-
(0, import_class_validator38.IsNumber)({}, { message: "City id must be a number" }),
|
|
1505
1498
|
(0, import_class_transformer4.Type)(() => Number)
|
|
1506
1499
|
], JobLocationDto.prototype, "cityId", 2);
|
|
1507
1500
|
var JobBasicInformationV2Dto = class {
|
|
@@ -1558,11 +1551,8 @@ __decorateClass([
|
|
|
1558
1551
|
})
|
|
1559
1552
|
], JobBasicInformationV2Dto.prototype, "locationMode", 2);
|
|
1560
1553
|
__decorateClass([
|
|
1561
|
-
(0, import_class_validator38.
|
|
1562
|
-
(0,
|
|
1563
|
-
(0, import_class_validator38.ValidateNested)({ each: true }),
|
|
1564
|
-
(0, import_class_transformer4.Type)(() => JobLocationDto),
|
|
1565
|
-
(0, import_class_validator38.IsOptional)()
|
|
1554
|
+
(0, import_class_validator38.IsOptional)(),
|
|
1555
|
+
(0, import_class_transformer4.Type)(() => JobLocationDto)
|
|
1566
1556
|
], JobBasicInformationV2Dto.prototype, "locations", 2);
|
|
1567
1557
|
__decorateClass([
|
|
1568
1558
|
(0, import_class_validator38.ValidateIf)((o) => !o.isDraft),
|
|
@@ -1675,11 +1665,11 @@ __decorateClass([
|
|
|
1675
1665
|
|
|
1676
1666
|
// src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
|
|
1677
1667
|
var import_class_validator40 = require("class-validator");
|
|
1678
|
-
var NatureOfWorkDto = /* @__PURE__ */ ((
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
return
|
|
1668
|
+
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto3) => {
|
|
1669
|
+
NatureOfWorkDto3["FREELANCE"] = "FREELANCE";
|
|
1670
|
+
NatureOfWorkDto3["FTE"] = "FTE";
|
|
1671
|
+
NatureOfWorkDto3["BOTH"] = "BOTH";
|
|
1672
|
+
return NatureOfWorkDto3;
|
|
1683
1673
|
})(NatureOfWorkDto || {});
|
|
1684
1674
|
var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
|
|
1685
1675
|
ModeOfWorkDto2["ONSITE"] = "ONSITE";
|
|
@@ -6788,6 +6778,12 @@ var ADMIN_FREELANCER_PATTERN = {
|
|
|
6788
6778
|
// src/modules/freelancer-admin/dto/create-freelancer.dto.ts
|
|
6789
6779
|
var import_class_validator54 = require("class-validator");
|
|
6790
6780
|
var import_class_transformer9 = require("class-transformer");
|
|
6781
|
+
var NatureOfWorkDto2 = /* @__PURE__ */ ((NatureOfWorkDto3) => {
|
|
6782
|
+
NatureOfWorkDto3["FREELANCE"] = "FREELANCE";
|
|
6783
|
+
NatureOfWorkDto3["FTE"] = "FTE";
|
|
6784
|
+
NatureOfWorkDto3["BOTH"] = "BOTH";
|
|
6785
|
+
return NatureOfWorkDto3;
|
|
6786
|
+
})(NatureOfWorkDto2 || {});
|
|
6791
6787
|
var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
6792
6788
|
NatureOfWorkEnum3["FTE"] = "FTE";
|
|
6793
6789
|
NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
|
|
@@ -6843,6 +6839,15 @@ __decorateClass([
|
|
|
6843
6839
|
(0, import_class_validator54.Min)(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
6844
6840
|
(0, import_class_transformer9.Type)(() => Number)
|
|
6845
6841
|
], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
6842
|
+
__decorateClass([
|
|
6843
|
+
(0, import_class_validator54.ValidateIf)((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
|
|
6844
|
+
(0, import_class_validator54.IsNotEmpty)({ message: "Please enter expected annual compensation." })
|
|
6845
|
+
], CreateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
|
|
6846
|
+
__decorateClass([
|
|
6847
|
+
(0, import_class_validator54.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
|
|
6848
|
+
(0, import_class_validator54.IsInt)({ message: "Please enter valid weekly availability hours (integer)." }),
|
|
6849
|
+
(0, import_class_validator54.IsNotEmpty)({ message: "Please enter weekly availability hours" })
|
|
6850
|
+
], CreateFreelancerDto.prototype, "numberOfHours", 2);
|
|
6846
6851
|
__decorateClass([
|
|
6847
6852
|
(0, import_class_validator54.IsEnum)(ModeOfWorkEnum, {
|
|
6848
6853
|
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
|
|
@@ -6941,6 +6946,17 @@ __decorateClass([
|
|
|
6941
6946
|
(0, import_class_validator55.Min)(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
6942
6947
|
(0, import_class_transformer10.Type)(() => Number)
|
|
6943
6948
|
], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
6949
|
+
__decorateClass([
|
|
6950
|
+
(0, import_class_validator55.IsOptional)(),
|
|
6951
|
+
(0, import_class_validator55.ValidateIf)((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
|
|
6952
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter expected annual compensation." })
|
|
6953
|
+
], UpdateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
|
|
6954
|
+
__decorateClass([
|
|
6955
|
+
(0, import_class_validator55.IsOptional)(),
|
|
6956
|
+
(0, import_class_validator55.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
|
|
6957
|
+
(0, import_class_validator55.IsInt)({ message: "Please enter valid weekly availability hours (integer)." }),
|
|
6958
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter weekly availability hours" })
|
|
6959
|
+
], UpdateFreelancerDto.prototype, "numberOfHours", 2);
|
|
6944
6960
|
__decorateClass([
|
|
6945
6961
|
(0, import_class_validator55.IsOptional)(),
|
|
6946
6962
|
(0, import_class_validator55.IsEnum)(ModeOfWorkEnum2, {
|
|
@@ -7337,12 +7353,15 @@ __decorateClass([
|
|
|
7337
7353
|
(0, import_class_validator62.IsString)({ message: "Additional comment must be a string." })
|
|
7338
7354
|
], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
|
|
7339
7355
|
__decorateClass([
|
|
7356
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7340
7357
|
(0, import_class_validator62.IsInt)({ message: "Country ID must be a valid integer." })
|
|
7341
7358
|
], AdminCreateJobInformationDto.prototype, "countryId", 2);
|
|
7342
7359
|
__decorateClass([
|
|
7360
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7343
7361
|
(0, import_class_validator62.IsInt)({ message: "State ID must be a valid integer." })
|
|
7344
7362
|
], AdminCreateJobInformationDto.prototype, "stateId", 2);
|
|
7345
7363
|
__decorateClass([
|
|
7364
|
+
(0, import_class_validator62.IsOptional)(),
|
|
7346
7365
|
(0, import_class_validator62.IsInt)({ message: "City ID must be a valid integer." })
|
|
7347
7366
|
], AdminCreateJobInformationDto.prototype, "cityId", 2);
|
|
7348
7367
|
__decorateClass([
|
|
@@ -7434,12 +7453,15 @@ __decorateClass([
|
|
|
7434
7453
|
(0, import_class_validator63.IsString)({ message: "Additional comment must be a string." })
|
|
7435
7454
|
], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
|
|
7436
7455
|
__decorateClass([
|
|
7456
|
+
(0, import_class_validator63.IsOptional)(),
|
|
7437
7457
|
(0, import_class_validator63.IsInt)({ message: "Country ID must be a valid integer." })
|
|
7438
7458
|
], AdminUpdateJobInformationDto.prototype, "countryId", 2);
|
|
7439
7459
|
__decorateClass([
|
|
7460
|
+
(0, import_class_validator63.IsOptional)(),
|
|
7440
7461
|
(0, import_class_validator63.IsInt)({ message: "State ID must be a valid integer." })
|
|
7441
7462
|
], AdminUpdateJobInformationDto.prototype, "stateId", 2);
|
|
7442
7463
|
__decorateClass([
|
|
7464
|
+
(0, import_class_validator63.IsOptional)(),
|
|
7443
7465
|
(0, import_class_validator63.IsInt)({ message: "City ID must be a valid integer." })
|
|
7444
7466
|
], AdminUpdateJobInformationDto.prototype, "cityId", 2);
|
|
7445
7467
|
__decorateClass([
|
|
@@ -7546,12 +7568,8 @@ __decorateClass([
|
|
|
7546
7568
|
(0, import_class_transformer14.Type)(() => Number)
|
|
7547
7569
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
|
|
7548
7570
|
__decorateClass([
|
|
7549
|
-
(0, import_class_validator64.
|
|
7550
|
-
(0,
|
|
7551
|
-
(0, import_class_validator64.ArrayNotEmpty)({ message: "Please select at least one location" }),
|
|
7552
|
-
(0, import_class_validator64.ValidateNested)({ each: true }),
|
|
7553
|
-
(0, import_class_transformer14.Type)(() => JobLocationAdminDto),
|
|
7554
|
-
(0, import_class_validator64.IsOptional)()
|
|
7571
|
+
(0, import_class_validator64.IsOptional)(),
|
|
7572
|
+
(0, import_class_transformer14.Type)(() => JobLocationAdminDto)
|
|
7555
7573
|
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7556
7574
|
__decorateClass([
|
|
7557
7575
|
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
@@ -9356,7 +9374,6 @@ RecommendationWeightageConfig = __decorateClass([
|
|
|
9356
9374
|
McqStatusEnum,
|
|
9357
9375
|
ModeOfHire,
|
|
9358
9376
|
ModeOfWork,
|
|
9359
|
-
ModeOfWorkDto,
|
|
9360
9377
|
NOTIFICATION_PATTERN,
|
|
9361
9378
|
NatureOfWork,
|
|
9362
9379
|
NatureOfWorkDto,
|
package/dist/index.mjs
CHANGED
|
@@ -1073,17 +1073,17 @@ __decorateClass([
|
|
|
1073
1073
|
})
|
|
1074
1074
|
], JobBasicInformationDto.prototype, "location", 2);
|
|
1075
1075
|
__decorateClass([
|
|
1076
|
-
|
|
1076
|
+
IsOptional12(),
|
|
1077
1077
|
IsNumber2({}, { message: "Country id must be a number" }),
|
|
1078
1078
|
Type(() => Number)
|
|
1079
1079
|
], JobBasicInformationDto.prototype, "countryId", 2);
|
|
1080
1080
|
__decorateClass([
|
|
1081
|
-
|
|
1081
|
+
IsOptional12(),
|
|
1082
1082
|
IsNumber2({}, { message: "State id must be a number" }),
|
|
1083
1083
|
Type(() => Number)
|
|
1084
1084
|
], JobBasicInformationDto.prototype, "stateId", 2);
|
|
1085
1085
|
__decorateClass([
|
|
1086
|
-
|
|
1086
|
+
IsOptional12(),
|
|
1087
1087
|
IsNumber2({}, { message: "City id must be a number" }),
|
|
1088
1088
|
Type(() => Number)
|
|
1089
1089
|
], JobBasicInformationDto.prototype, "cityId", 2);
|
|
@@ -1230,8 +1230,7 @@ import {
|
|
|
1230
1230
|
Min as Min2,
|
|
1231
1231
|
ValidateIf as ValidateIf4,
|
|
1232
1232
|
MaxLength as MaxLength9,
|
|
1233
|
-
Max as Max2
|
|
1234
|
-
ValidateNested
|
|
1233
|
+
Max as Max2
|
|
1235
1234
|
} from "class-validator";
|
|
1236
1235
|
import { Type as Type3 } from "class-transformer";
|
|
1237
1236
|
var JobLocationEnumV2 = /* @__PURE__ */ ((JobLocationEnumV22) => {
|
|
@@ -1258,20 +1257,14 @@ var JobLocationDto = class {
|
|
|
1258
1257
|
};
|
|
1259
1258
|
__decorateClass([
|
|
1260
1259
|
IsOptional15(),
|
|
1261
|
-
ValidateIf4((o) => o.countryId !== null && o.countryId !== void 0),
|
|
1262
|
-
IsNumber3({}, { message: "Country id must be a number" }),
|
|
1263
1260
|
Type3(() => Number)
|
|
1264
1261
|
], JobLocationDto.prototype, "countryId", 2);
|
|
1265
1262
|
__decorateClass([
|
|
1266
1263
|
IsOptional15(),
|
|
1267
|
-
ValidateIf4((o) => o.stateId !== null && o.stateId !== void 0),
|
|
1268
|
-
IsNumber3({}, { message: "State id must be a number" }),
|
|
1269
1264
|
Type3(() => Number)
|
|
1270
1265
|
], JobLocationDto.prototype, "stateId", 2);
|
|
1271
1266
|
__decorateClass([
|
|
1272
1267
|
IsOptional15(),
|
|
1273
|
-
ValidateIf4((o) => o.cityId !== null && o.cityId !== void 0),
|
|
1274
|
-
IsNumber3({}, { message: "City id must be a number" }),
|
|
1275
1268
|
Type3(() => Number)
|
|
1276
1269
|
], JobLocationDto.prototype, "cityId", 2);
|
|
1277
1270
|
var JobBasicInformationV2Dto = class {
|
|
@@ -1328,11 +1321,8 @@ __decorateClass([
|
|
|
1328
1321
|
})
|
|
1329
1322
|
], JobBasicInformationV2Dto.prototype, "locationMode", 2);
|
|
1330
1323
|
__decorateClass([
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
ValidateNested({ each: true }),
|
|
1334
|
-
Type3(() => JobLocationDto),
|
|
1335
|
-
IsOptional15()
|
|
1324
|
+
IsOptional15(),
|
|
1325
|
+
Type3(() => JobLocationDto)
|
|
1336
1326
|
], JobBasicInformationV2Dto.prototype, "locations", 2);
|
|
1337
1327
|
__decorateClass([
|
|
1338
1328
|
ValidateIf4((o) => !o.isDraft),
|
|
@@ -1460,11 +1450,11 @@ import {
|
|
|
1460
1450
|
ValidateIf as ValidateIf5,
|
|
1461
1451
|
IsInt
|
|
1462
1452
|
} from "class-validator";
|
|
1463
|
-
var NatureOfWorkDto = /* @__PURE__ */ ((
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
return
|
|
1453
|
+
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto3) => {
|
|
1454
|
+
NatureOfWorkDto3["FREELANCE"] = "FREELANCE";
|
|
1455
|
+
NatureOfWorkDto3["FTE"] = "FTE";
|
|
1456
|
+
NatureOfWorkDto3["BOTH"] = "BOTH";
|
|
1457
|
+
return NatureOfWorkDto3;
|
|
1468
1458
|
})(NatureOfWorkDto || {});
|
|
1469
1459
|
var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
|
|
1470
1460
|
ModeOfWorkDto2["ONSITE"] = "ONSITE";
|
|
@@ -6835,9 +6825,16 @@ import {
|
|
|
6835
6825
|
IsNotEmpty as IsNotEmpty45,
|
|
6836
6826
|
MinLength as MinLength12,
|
|
6837
6827
|
Matches as Matches9,
|
|
6838
|
-
ValidateIf as ValidateIf7
|
|
6828
|
+
ValidateIf as ValidateIf7,
|
|
6829
|
+
IsInt as IsInt7
|
|
6839
6830
|
} from "class-validator";
|
|
6840
6831
|
import { Type as Type8 } from "class-transformer";
|
|
6832
|
+
var NatureOfWorkDto2 = /* @__PURE__ */ ((NatureOfWorkDto3) => {
|
|
6833
|
+
NatureOfWorkDto3["FREELANCE"] = "FREELANCE";
|
|
6834
|
+
NatureOfWorkDto3["FTE"] = "FTE";
|
|
6835
|
+
NatureOfWorkDto3["BOTH"] = "BOTH";
|
|
6836
|
+
return NatureOfWorkDto3;
|
|
6837
|
+
})(NatureOfWorkDto2 || {});
|
|
6841
6838
|
var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
6842
6839
|
NatureOfWorkEnum3["FTE"] = "FTE";
|
|
6843
6840
|
NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
|
|
@@ -6893,6 +6890,15 @@ __decorateClass([
|
|
|
6893
6890
|
Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
6894
6891
|
Type8(() => Number)
|
|
6895
6892
|
], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
6893
|
+
__decorateClass([
|
|
6894
|
+
ValidateIf7((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
|
|
6895
|
+
IsNotEmpty45({ message: "Please enter expected annual compensation." })
|
|
6896
|
+
], CreateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
|
|
6897
|
+
__decorateClass([
|
|
6898
|
+
ValidateIf7((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
|
|
6899
|
+
IsInt7({ message: "Please enter valid weekly availability hours (integer)." }),
|
|
6900
|
+
IsNotEmpty45({ message: "Please enter weekly availability hours" })
|
|
6901
|
+
], CreateFreelancerDto.prototype, "numberOfHours", 2);
|
|
6896
6902
|
__decorateClass([
|
|
6897
6903
|
IsEnum17(ModeOfWorkEnum, {
|
|
6898
6904
|
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
|
|
@@ -6943,7 +6949,8 @@ import {
|
|
|
6943
6949
|
MinLength as MinLength13,
|
|
6944
6950
|
Matches as Matches10,
|
|
6945
6951
|
IsNotEmpty as IsNotEmpty46,
|
|
6946
|
-
ValidateIf as ValidateIf8
|
|
6952
|
+
ValidateIf as ValidateIf8,
|
|
6953
|
+
IsInt as IsInt8
|
|
6947
6954
|
} from "class-validator";
|
|
6948
6955
|
import { Transform as Transform2, Type as Type9 } from "class-transformer";
|
|
6949
6956
|
var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
@@ -7005,6 +7012,17 @@ __decorateClass([
|
|
|
7005
7012
|
Min5(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
7006
7013
|
Type9(() => Number)
|
|
7007
7014
|
], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
7015
|
+
__decorateClass([
|
|
7016
|
+
IsOptional28(),
|
|
7017
|
+
ValidateIf8((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
|
|
7018
|
+
IsNotEmpty46({ message: "Please enter expected annual compensation." })
|
|
7019
|
+
], UpdateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
|
|
7020
|
+
__decorateClass([
|
|
7021
|
+
IsOptional28(),
|
|
7022
|
+
ValidateIf8((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
|
|
7023
|
+
IsInt8({ message: "Please enter valid weekly availability hours (integer)." }),
|
|
7024
|
+
IsNotEmpty46({ message: "Please enter weekly availability hours" })
|
|
7025
|
+
], UpdateFreelancerDto.prototype, "numberOfHours", 2);
|
|
7008
7026
|
__decorateClass([
|
|
7009
7027
|
IsOptional28(),
|
|
7010
7028
|
IsEnum18(ModeOfWorkEnum2, {
|
|
@@ -7341,7 +7359,7 @@ import { Type as Type10 } from "class-transformer";
|
|
|
7341
7359
|
import {
|
|
7342
7360
|
IsString as IsString34,
|
|
7343
7361
|
IsEnum as IsEnum22,
|
|
7344
|
-
IsInt as
|
|
7362
|
+
IsInt as IsInt9,
|
|
7345
7363
|
IsOptional as IsOptional34,
|
|
7346
7364
|
IsArray as IsArray12,
|
|
7347
7365
|
IsDateString as IsDateString4,
|
|
@@ -7378,7 +7396,7 @@ __decorateClass([
|
|
|
7378
7396
|
IsString34({ each: true, message: "Each skill must be a valid string." })
|
|
7379
7397
|
], AdminCreateJobInformationDto.prototype, "skills", 2);
|
|
7380
7398
|
__decorateClass([
|
|
7381
|
-
|
|
7399
|
+
IsInt9({ message: "Openings must be a valid integer." }),
|
|
7382
7400
|
Min6(1, { message: "There must be at least one opening." })
|
|
7383
7401
|
], AdminCreateJobInformationDto.prototype, "openings", 2);
|
|
7384
7402
|
__decorateClass([
|
|
@@ -7432,16 +7450,19 @@ __decorateClass([
|
|
|
7432
7450
|
IsString34({ message: "Additional comment must be a string." })
|
|
7433
7451
|
], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
|
|
7434
7452
|
__decorateClass([
|
|
7435
|
-
|
|
7453
|
+
IsOptional34(),
|
|
7454
|
+
IsInt9({ message: "Country ID must be a valid integer." })
|
|
7436
7455
|
], AdminCreateJobInformationDto.prototype, "countryId", 2);
|
|
7437
7456
|
__decorateClass([
|
|
7438
|
-
|
|
7457
|
+
IsOptional34(),
|
|
7458
|
+
IsInt9({ message: "State ID must be a valid integer." })
|
|
7439
7459
|
], AdminCreateJobInformationDto.prototype, "stateId", 2);
|
|
7440
7460
|
__decorateClass([
|
|
7441
|
-
|
|
7461
|
+
IsOptional34(),
|
|
7462
|
+
IsInt9({ message: "City ID must be a valid integer." })
|
|
7442
7463
|
], AdminCreateJobInformationDto.prototype, "cityId", 2);
|
|
7443
7464
|
__decorateClass([
|
|
7444
|
-
|
|
7465
|
+
IsInt9({ message: "Client ID must be a valid integer." })
|
|
7445
7466
|
], AdminCreateJobInformationDto.prototype, "clientId", 2);
|
|
7446
7467
|
|
|
7447
7468
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
@@ -7449,7 +7470,7 @@ import { Type as Type11 } from "class-transformer";
|
|
|
7449
7470
|
import {
|
|
7450
7471
|
IsString as IsString35,
|
|
7451
7472
|
IsEnum as IsEnum23,
|
|
7452
|
-
IsInt as
|
|
7473
|
+
IsInt as IsInt10,
|
|
7453
7474
|
IsOptional as IsOptional35,
|
|
7454
7475
|
IsArray as IsArray13,
|
|
7455
7476
|
IsDateString as IsDateString5,
|
|
@@ -7486,7 +7507,7 @@ __decorateClass([
|
|
|
7486
7507
|
IsString35({ each: true, message: "Each skill must be a valid string." })
|
|
7487
7508
|
], AdminUpdateJobInformationDto.prototype, "skills", 2);
|
|
7488
7509
|
__decorateClass([
|
|
7489
|
-
|
|
7510
|
+
IsInt10({ message: "Openings must be a valid integer." }),
|
|
7490
7511
|
Min7(1, { message: "There must be at least one opening." })
|
|
7491
7512
|
], AdminUpdateJobInformationDto.prototype, "openings", 2);
|
|
7492
7513
|
__decorateClass([
|
|
@@ -7540,16 +7561,19 @@ __decorateClass([
|
|
|
7540
7561
|
IsString35({ message: "Additional comment must be a string." })
|
|
7541
7562
|
], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
|
|
7542
7563
|
__decorateClass([
|
|
7543
|
-
|
|
7564
|
+
IsOptional35(),
|
|
7565
|
+
IsInt10({ message: "Country ID must be a valid integer." })
|
|
7544
7566
|
], AdminUpdateJobInformationDto.prototype, "countryId", 2);
|
|
7545
7567
|
__decorateClass([
|
|
7546
|
-
|
|
7568
|
+
IsOptional35(),
|
|
7569
|
+
IsInt10({ message: "State ID must be a valid integer." })
|
|
7547
7570
|
], AdminUpdateJobInformationDto.prototype, "stateId", 2);
|
|
7548
7571
|
__decorateClass([
|
|
7549
|
-
|
|
7572
|
+
IsOptional35(),
|
|
7573
|
+
IsInt10({ message: "City ID must be a valid integer." })
|
|
7550
7574
|
], AdminUpdateJobInformationDto.prototype, "cityId", 2);
|
|
7551
7575
|
__decorateClass([
|
|
7552
|
-
|
|
7576
|
+
IsInt10({ message: "Client ID must be a valid integer." })
|
|
7553
7577
|
], AdminUpdateJobInformationDto.prototype, "clientId", 2);
|
|
7554
7578
|
|
|
7555
7579
|
// src/modules/job-admin/dto/admin-job-basic-information-v2.dto.ts
|
|
@@ -7565,8 +7589,7 @@ import {
|
|
|
7565
7589
|
ValidateIf as ValidateIf9,
|
|
7566
7590
|
MaxLength as MaxLength20,
|
|
7567
7591
|
Max as Max4,
|
|
7568
|
-
|
|
7569
|
-
IsInt as IsInt9
|
|
7592
|
+
IsInt as IsInt11
|
|
7570
7593
|
} from "class-validator";
|
|
7571
7594
|
import { Type as Type12 } from "class-transformer";
|
|
7572
7595
|
var JobLocationAdminEnumDto = /* @__PURE__ */ ((JobLocationAdminEnumDto2) => {
|
|
@@ -7613,7 +7636,7 @@ __decorateClass([
|
|
|
7613
7636
|
Type12(() => Boolean)
|
|
7614
7637
|
], AdminJobBasicInformationV2Dto.prototype, "isDraft", 2);
|
|
7615
7638
|
__decorateClass([
|
|
7616
|
-
|
|
7639
|
+
IsInt11({ message: "Client ID must be a valid integer." })
|
|
7617
7640
|
], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
|
|
7618
7641
|
__decorateClass([
|
|
7619
7642
|
IsNotEmpty55({ message: "Please enter job role" }),
|
|
@@ -7666,12 +7689,8 @@ __decorateClass([
|
|
|
7666
7689
|
Type12(() => Number)
|
|
7667
7690
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
|
|
7668
7691
|
__decorateClass([
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
ArrayNotEmpty9({ message: "Please select at least one location" }),
|
|
7672
|
-
ValidateNested6({ each: true }),
|
|
7673
|
-
Type12(() => JobLocationAdminDto),
|
|
7674
|
-
IsOptional36()
|
|
7692
|
+
IsOptional36(),
|
|
7693
|
+
Type12(() => JobLocationAdminDto)
|
|
7675
7694
|
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7676
7695
|
__decorateClass([
|
|
7677
7696
|
ValidateIf9((o) => !o.isDraft),
|
|
@@ -8134,7 +8153,7 @@ var TIMESHEET_CLIENT_PATTERN = {
|
|
|
8134
8153
|
// src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
|
|
8135
8154
|
import {
|
|
8136
8155
|
IsDateString as IsDateString7,
|
|
8137
|
-
IsInt as
|
|
8156
|
+
IsInt as IsInt12,
|
|
8138
8157
|
IsNotEmpty as IsNotEmpty67,
|
|
8139
8158
|
IsOptional as IsOptional43,
|
|
8140
8159
|
IsString as IsString47,
|
|
@@ -8169,7 +8188,7 @@ __decorateClass([
|
|
|
8169
8188
|
], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
8170
8189
|
__decorateClass([
|
|
8171
8190
|
IsOptional43(),
|
|
8172
|
-
|
|
8191
|
+
IsInt12()
|
|
8173
8192
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
8174
8193
|
__decorateClass([
|
|
8175
8194
|
IsOptional43(),
|
|
@@ -8190,7 +8209,7 @@ __decorateClass([
|
|
|
8190
8209
|
// src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
|
|
8191
8210
|
import {
|
|
8192
8211
|
IsDateString as IsDateString8,
|
|
8193
|
-
IsInt as
|
|
8212
|
+
IsInt as IsInt13,
|
|
8194
8213
|
IsNotEmpty as IsNotEmpty68,
|
|
8195
8214
|
IsOptional as IsOptional44,
|
|
8196
8215
|
IsString as IsString48,
|
|
@@ -8225,7 +8244,7 @@ __decorateClass([
|
|
|
8225
8244
|
], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
8226
8245
|
__decorateClass([
|
|
8227
8246
|
IsOptional44(),
|
|
8228
|
-
|
|
8247
|
+
IsInt13()
|
|
8229
8248
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
8230
8249
|
__decorateClass([
|
|
8231
8250
|
IsOptional44(),
|
|
@@ -9551,10 +9570,9 @@ export {
|
|
|
9551
9570
|
McqStatusEnum,
|
|
9552
9571
|
ModeOfHire,
|
|
9553
9572
|
ModeOfWork,
|
|
9554
|
-
ModeOfWorkDto,
|
|
9555
9573
|
NOTIFICATION_PATTERN,
|
|
9556
9574
|
NatureOfWork,
|
|
9557
|
-
NatureOfWorkDto,
|
|
9575
|
+
NatureOfWorkDto2 as NatureOfWorkDto,
|
|
9558
9576
|
NotificationRMQAdapter,
|
|
9559
9577
|
NotificationTCPAdapter,
|
|
9560
9578
|
ONBOARDING_PATTERN,
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare enum NatureOfWorkDto {
|
|
2
|
+
FREELANCE = "FREELANCE",
|
|
3
|
+
FTE = "FTE",
|
|
4
|
+
BOTH = "BOTH"
|
|
5
|
+
}
|
|
1
6
|
declare enum NatureOfWorkEnum {
|
|
2
7
|
FTE = "FTE",
|
|
3
8
|
FREELANCE = "FREELANCE",
|
|
@@ -18,6 +23,8 @@ export declare class CreateFreelancerDto {
|
|
|
18
23
|
developer: boolean;
|
|
19
24
|
natureOfWork: NatureOfWorkEnum;
|
|
20
25
|
expectedHourlyCompensation: number;
|
|
26
|
+
expectedAnnualCompensation: string;
|
|
27
|
+
numberOfHours?: number;
|
|
21
28
|
modeOfWork: ModeOfWorkEnum;
|
|
22
29
|
isImmediateJoiner: boolean;
|
|
23
30
|
availabilityToJoin: string;
|
|
@@ -17,6 +17,8 @@ export declare class UpdateFreelancerDto {
|
|
|
17
17
|
developer?: boolean;
|
|
18
18
|
natureOfWork?: NatureOfWorkEnum;
|
|
19
19
|
expectedHourlyCompensation?: number;
|
|
20
|
+
expectedAnnualCompensation: string;
|
|
21
|
+
numberOfHours?: number;
|
|
20
22
|
modeOfWork?: ModeOfWorkEnum;
|
|
21
23
|
isImmediateJoiner?: boolean;
|
|
22
24
|
availabilityToJoin?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
declare enum NatureOfWorkDto {
|
|
2
2
|
FREELANCE = "FREELANCE",
|
|
3
3
|
FTE = "FTE",
|
|
4
4
|
BOTH = "BOTH"
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
declare enum ModeOfWorkDto {
|
|
7
7
|
ONSITE = "ONSITE",
|
|
8
8
|
REMOTE = "REMOTE",
|
|
9
9
|
HYBRID = "HYBRID"
|
|
@@ -35,3 +35,4 @@ export declare class UpdateFreelancerProfileDto {
|
|
|
35
35
|
stackOverflowProfileLink?: string;
|
|
36
36
|
resumeUrl?: string;
|
|
37
37
|
}
|
|
38
|
+
export {};
|