@experts_hub/shared 1.0.191 → 1.0.192
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 +107 -1
- package/dist/index.d.ts +107 -1
- package/dist/index.js +140 -18
- package/dist/index.mjs +144 -17
- package/dist/modules/client-admin/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1342,6 +1342,112 @@ declare const CLIENT_ADMIN_PATTERNS: {
|
|
|
1342
1342
|
fetchClientCount: string;
|
|
1343
1343
|
};
|
|
1344
1344
|
|
|
1345
|
+
declare enum HiringMode {
|
|
1346
|
+
REMOTE = "REMOTE",
|
|
1347
|
+
ONSITE = "ONSITE",
|
|
1348
|
+
BOTH = "BOTH"
|
|
1349
|
+
}
|
|
1350
|
+
declare enum HiringType {
|
|
1351
|
+
PARTTIME = "PARTTIME",
|
|
1352
|
+
FULLTIME = "FULLTIME",
|
|
1353
|
+
BOTH = "BOTH"
|
|
1354
|
+
}
|
|
1355
|
+
declare class CreateClientDto {
|
|
1356
|
+
firstName: string;
|
|
1357
|
+
lastName: string;
|
|
1358
|
+
email: string;
|
|
1359
|
+
confirmPassword: string;
|
|
1360
|
+
companyName: string;
|
|
1361
|
+
skills: string[];
|
|
1362
|
+
requiredFreelancer: string;
|
|
1363
|
+
kindOfHiring: string;
|
|
1364
|
+
modeOfHire: string;
|
|
1365
|
+
foundUsOn: string;
|
|
1366
|
+
OTHER?: string;
|
|
1367
|
+
foundUsOnDetail?: string;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
declare class UpdateClientAccountStatusDto {
|
|
1371
|
+
accountStatus: string;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
declare class UpdateClientDto {
|
|
1375
|
+
uniqueId: string;
|
|
1376
|
+
userName: string;
|
|
1377
|
+
firstName: string;
|
|
1378
|
+
lastName: string;
|
|
1379
|
+
email: string;
|
|
1380
|
+
mobile: string;
|
|
1381
|
+
password: string;
|
|
1382
|
+
accountType: string;
|
|
1383
|
+
accountStatus: string;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
interface IFetchClientsResponse {
|
|
1387
|
+
statusCode: number;
|
|
1388
|
+
status: boolean;
|
|
1389
|
+
message: string;
|
|
1390
|
+
data: any;
|
|
1391
|
+
}
|
|
1392
|
+
interface ICreateClientPayload {
|
|
1393
|
+
firstName: string;
|
|
1394
|
+
lastName: string;
|
|
1395
|
+
email: string;
|
|
1396
|
+
password: string;
|
|
1397
|
+
confirmPassword: string;
|
|
1398
|
+
companyName: string;
|
|
1399
|
+
skills: string[];
|
|
1400
|
+
requiredFreelancer: string;
|
|
1401
|
+
kindOfHiring: string;
|
|
1402
|
+
modeOfHire: string;
|
|
1403
|
+
foundUsOn: string;
|
|
1404
|
+
OTHER?: string;
|
|
1405
|
+
foundUsOnDetail?: string;
|
|
1406
|
+
}
|
|
1407
|
+
interface ICreateClientResponse {
|
|
1408
|
+
statusCode: number;
|
|
1409
|
+
status: boolean;
|
|
1410
|
+
message: string;
|
|
1411
|
+
}
|
|
1412
|
+
interface IUpdateClientPayload {
|
|
1413
|
+
firstName?: string;
|
|
1414
|
+
lastName?: string;
|
|
1415
|
+
email?: string;
|
|
1416
|
+
password?: string;
|
|
1417
|
+
confirmPassword?: string;
|
|
1418
|
+
companyName?: string;
|
|
1419
|
+
skills?: string[];
|
|
1420
|
+
requiredFreelancer?: string;
|
|
1421
|
+
kindOfHiring?: string;
|
|
1422
|
+
modeOfHire?: string;
|
|
1423
|
+
foundUsOn?: string;
|
|
1424
|
+
OTHER?: string;
|
|
1425
|
+
foundUsOnDetail?: string;
|
|
1426
|
+
}
|
|
1427
|
+
interface IUpdateClientResponse {
|
|
1428
|
+
statusCode: number;
|
|
1429
|
+
status: boolean;
|
|
1430
|
+
message: string;
|
|
1431
|
+
}
|
|
1432
|
+
interface IUpdateClientAccountStatusPayload {
|
|
1433
|
+
accountSatus: string;
|
|
1434
|
+
}
|
|
1435
|
+
interface IUpdateClientAccountStatusResponse {
|
|
1436
|
+
statusCode: number;
|
|
1437
|
+
status: boolean;
|
|
1438
|
+
message: string;
|
|
1439
|
+
}
|
|
1440
|
+
interface IDeleteClientResponse {
|
|
1441
|
+
statusCode: number;
|
|
1442
|
+
status: boolean;
|
|
1443
|
+
message: string;
|
|
1444
|
+
}
|
|
1445
|
+
interface IAttachPermissionsToClientResponse {
|
|
1446
|
+
statusCode: number;
|
|
1447
|
+
status: boolean;
|
|
1448
|
+
message: string;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1345
1451
|
declare const FREELANCER_DECLARATION_PATTERN: {
|
|
1346
1452
|
fetchFreelancerDeclaration: string;
|
|
1347
1453
|
saveFreelancerDeclaration: string;
|
|
@@ -1445,4 +1551,4 @@ declare class Cms extends BaseEntity {
|
|
|
1445
1551
|
isActive: boolean;
|
|
1446
1552
|
}
|
|
1447
1553
|
|
|
1448
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
1554
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CreateClientDto, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, HiringMode, HiringType, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, 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 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 IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -1342,6 +1342,112 @@ declare const CLIENT_ADMIN_PATTERNS: {
|
|
|
1342
1342
|
fetchClientCount: string;
|
|
1343
1343
|
};
|
|
1344
1344
|
|
|
1345
|
+
declare enum HiringMode {
|
|
1346
|
+
REMOTE = "REMOTE",
|
|
1347
|
+
ONSITE = "ONSITE",
|
|
1348
|
+
BOTH = "BOTH"
|
|
1349
|
+
}
|
|
1350
|
+
declare enum HiringType {
|
|
1351
|
+
PARTTIME = "PARTTIME",
|
|
1352
|
+
FULLTIME = "FULLTIME",
|
|
1353
|
+
BOTH = "BOTH"
|
|
1354
|
+
}
|
|
1355
|
+
declare class CreateClientDto {
|
|
1356
|
+
firstName: string;
|
|
1357
|
+
lastName: string;
|
|
1358
|
+
email: string;
|
|
1359
|
+
confirmPassword: string;
|
|
1360
|
+
companyName: string;
|
|
1361
|
+
skills: string[];
|
|
1362
|
+
requiredFreelancer: string;
|
|
1363
|
+
kindOfHiring: string;
|
|
1364
|
+
modeOfHire: string;
|
|
1365
|
+
foundUsOn: string;
|
|
1366
|
+
OTHER?: string;
|
|
1367
|
+
foundUsOnDetail?: string;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
declare class UpdateClientAccountStatusDto {
|
|
1371
|
+
accountStatus: string;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
declare class UpdateClientDto {
|
|
1375
|
+
uniqueId: string;
|
|
1376
|
+
userName: string;
|
|
1377
|
+
firstName: string;
|
|
1378
|
+
lastName: string;
|
|
1379
|
+
email: string;
|
|
1380
|
+
mobile: string;
|
|
1381
|
+
password: string;
|
|
1382
|
+
accountType: string;
|
|
1383
|
+
accountStatus: string;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
interface IFetchClientsResponse {
|
|
1387
|
+
statusCode: number;
|
|
1388
|
+
status: boolean;
|
|
1389
|
+
message: string;
|
|
1390
|
+
data: any;
|
|
1391
|
+
}
|
|
1392
|
+
interface ICreateClientPayload {
|
|
1393
|
+
firstName: string;
|
|
1394
|
+
lastName: string;
|
|
1395
|
+
email: string;
|
|
1396
|
+
password: string;
|
|
1397
|
+
confirmPassword: string;
|
|
1398
|
+
companyName: string;
|
|
1399
|
+
skills: string[];
|
|
1400
|
+
requiredFreelancer: string;
|
|
1401
|
+
kindOfHiring: string;
|
|
1402
|
+
modeOfHire: string;
|
|
1403
|
+
foundUsOn: string;
|
|
1404
|
+
OTHER?: string;
|
|
1405
|
+
foundUsOnDetail?: string;
|
|
1406
|
+
}
|
|
1407
|
+
interface ICreateClientResponse {
|
|
1408
|
+
statusCode: number;
|
|
1409
|
+
status: boolean;
|
|
1410
|
+
message: string;
|
|
1411
|
+
}
|
|
1412
|
+
interface IUpdateClientPayload {
|
|
1413
|
+
firstName?: string;
|
|
1414
|
+
lastName?: string;
|
|
1415
|
+
email?: string;
|
|
1416
|
+
password?: string;
|
|
1417
|
+
confirmPassword?: string;
|
|
1418
|
+
companyName?: string;
|
|
1419
|
+
skills?: string[];
|
|
1420
|
+
requiredFreelancer?: string;
|
|
1421
|
+
kindOfHiring?: string;
|
|
1422
|
+
modeOfHire?: string;
|
|
1423
|
+
foundUsOn?: string;
|
|
1424
|
+
OTHER?: string;
|
|
1425
|
+
foundUsOnDetail?: string;
|
|
1426
|
+
}
|
|
1427
|
+
interface IUpdateClientResponse {
|
|
1428
|
+
statusCode: number;
|
|
1429
|
+
status: boolean;
|
|
1430
|
+
message: string;
|
|
1431
|
+
}
|
|
1432
|
+
interface IUpdateClientAccountStatusPayload {
|
|
1433
|
+
accountSatus: string;
|
|
1434
|
+
}
|
|
1435
|
+
interface IUpdateClientAccountStatusResponse {
|
|
1436
|
+
statusCode: number;
|
|
1437
|
+
status: boolean;
|
|
1438
|
+
message: string;
|
|
1439
|
+
}
|
|
1440
|
+
interface IDeleteClientResponse {
|
|
1441
|
+
statusCode: number;
|
|
1442
|
+
status: boolean;
|
|
1443
|
+
message: string;
|
|
1444
|
+
}
|
|
1445
|
+
interface IAttachPermissionsToClientResponse {
|
|
1446
|
+
statusCode: number;
|
|
1447
|
+
status: boolean;
|
|
1448
|
+
message: string;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1345
1451
|
declare const FREELANCER_DECLARATION_PATTERN: {
|
|
1346
1452
|
fetchFreelancerDeclaration: string;
|
|
1347
1453
|
saveFreelancerDeclaration: string;
|
|
@@ -1445,4 +1551,4 @@ declare class Cms extends BaseEntity {
|
|
|
1445
1551
|
isActive: boolean;
|
|
1446
1552
|
}
|
|
1447
1553
|
|
|
1448
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
1554
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CreateClientDto, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, HiringMode, HiringType, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, 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 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 IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.js
CHANGED
|
@@ -53,6 +53,7 @@ __export(index_exports, {
|
|
|
53
53
|
CompanyProfile: () => CompanyProfile,
|
|
54
54
|
CompanyRole: () => CompanyRole,
|
|
55
55
|
CompanyRolePermission: () => CompanyRolePermission,
|
|
56
|
+
CreateClientDto: () => CreateClientDto,
|
|
56
57
|
CreateCmsDto: () => CreateCmsDto,
|
|
57
58
|
CreateCompanyMemberDto: () => CreateCompanyMemberDto,
|
|
58
59
|
CreateCompanyRoleDto: () => CreateCompanyRoleDto,
|
|
@@ -99,6 +100,8 @@ __export(index_exports, {
|
|
|
99
100
|
FreelancerUploadResumeDto: () => FreelancerUploadResumeDto,
|
|
100
101
|
FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
|
|
101
102
|
FromUsOn: () => FromUsOn,
|
|
103
|
+
HiringMode: () => HiringMode,
|
|
104
|
+
HiringType: () => HiringType,
|
|
102
105
|
Interview: () => Interview,
|
|
103
106
|
InterviewSkill: () => InterviewSkill,
|
|
104
107
|
InterviewStatusEnum: () => InterviewStatusEnum,
|
|
@@ -165,6 +168,8 @@ __export(index_exports, {
|
|
|
165
168
|
ToggleCompanyMemberVisibilityDto: () => ToggleCompanyMemberVisibilityDto,
|
|
166
169
|
ToggleCompanyRoleVisibilityDto: () => ToggleCompanyRoleVisibilityDto,
|
|
167
170
|
TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
|
|
171
|
+
UpdateClientAccountStatusDto: () => UpdateClientAccountStatusDto,
|
|
172
|
+
UpdateClientDto: () => UpdateClientDto,
|
|
168
173
|
UpdateCmsDto: () => UpdateCmsDto,
|
|
169
174
|
UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
|
|
170
175
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
@@ -3046,6 +3051,118 @@ var CLIENT_ADMIN_PATTERNS = {
|
|
|
3046
3051
|
fetchClientCount: "fetch.client.count"
|
|
3047
3052
|
};
|
|
3048
3053
|
|
|
3054
|
+
// src/modules/client-admin/dto/create-client.dto.ts
|
|
3055
|
+
var import_class_validator46 = require("class-validator");
|
|
3056
|
+
var HiringMode = /* @__PURE__ */ ((HiringMode2) => {
|
|
3057
|
+
HiringMode2["REMOTE"] = "REMOTE";
|
|
3058
|
+
HiringMode2["ONSITE"] = "ONSITE";
|
|
3059
|
+
HiringMode2["BOTH"] = "BOTH";
|
|
3060
|
+
return HiringMode2;
|
|
3061
|
+
})(HiringMode || {});
|
|
3062
|
+
var HiringType = /* @__PURE__ */ ((HiringType2) => {
|
|
3063
|
+
HiringType2["PARTTIME"] = "PARTTIME";
|
|
3064
|
+
HiringType2["FULLTIME"] = "FULLTIME";
|
|
3065
|
+
HiringType2["BOTH"] = "BOTH";
|
|
3066
|
+
return HiringType2;
|
|
3067
|
+
})(HiringType || {});
|
|
3068
|
+
var CreateClientDto = class {
|
|
3069
|
+
};
|
|
3070
|
+
__decorateClass([
|
|
3071
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter first name." }),
|
|
3072
|
+
(0, import_class_validator46.IsString)()
|
|
3073
|
+
], CreateClientDto.prototype, "firstName", 2);
|
|
3074
|
+
__decorateClass([
|
|
3075
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter last name." }),
|
|
3076
|
+
(0, import_class_validator46.IsString)()
|
|
3077
|
+
], CreateClientDto.prototype, "lastName", 2);
|
|
3078
|
+
__decorateClass([
|
|
3079
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter email." }),
|
|
3080
|
+
(0, import_class_validator46.IsEmail)()
|
|
3081
|
+
], CreateClientDto.prototype, "email", 2);
|
|
3082
|
+
__decorateClass([
|
|
3083
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter password." }),
|
|
3084
|
+
(0, import_class_validator46.MinLength)(6),
|
|
3085
|
+
(0, import_class_validator46.MaxLength)(32),
|
|
3086
|
+
(0, import_class_validator46.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
3087
|
+
message: "Password must include letters, numbers and symbols."
|
|
3088
|
+
}),
|
|
3089
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
3090
|
+
Match("newPassword", { message: "Passwords do not match" })
|
|
3091
|
+
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
3092
|
+
__decorateClass([
|
|
3093
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter company name." }),
|
|
3094
|
+
(0, import_class_validator46.IsString)()
|
|
3095
|
+
], CreateClientDto.prototype, "companyName", 2);
|
|
3096
|
+
__decorateClass([
|
|
3097
|
+
(0, import_class_validator46.IsArray)({ message: "Skills should be an array." }),
|
|
3098
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter skills." })
|
|
3099
|
+
], CreateClientDto.prototype, "skills", 2);
|
|
3100
|
+
__decorateClass([
|
|
3101
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please specify required freelancer count." }),
|
|
3102
|
+
(0, import_class_validator46.IsString)()
|
|
3103
|
+
], CreateClientDto.prototype, "requiredFreelancer", 2);
|
|
3104
|
+
__decorateClass([
|
|
3105
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
|
|
3106
|
+
(0, import_class_validator46.IsEnum)(HiringType)
|
|
3107
|
+
], CreateClientDto.prototype, "kindOfHiring", 2);
|
|
3108
|
+
__decorateClass([
|
|
3109
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please specify the mode of hire." }),
|
|
3110
|
+
(0, import_class_validator46.IsEnum)(HiringMode)
|
|
3111
|
+
], CreateClientDto.prototype, "modeOfHire", 2);
|
|
3112
|
+
__decorateClass([
|
|
3113
|
+
(0, import_class_validator46.IsNotEmpty)({ message: "Please let us know how you found us." }),
|
|
3114
|
+
(0, import_class_validator46.IsString)()
|
|
3115
|
+
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
3116
|
+
__decorateClass([
|
|
3117
|
+
(0, import_class_validator46.IsOptional)(),
|
|
3118
|
+
(0, import_class_validator46.IsString)()
|
|
3119
|
+
], CreateClientDto.prototype, "OTHER", 2);
|
|
3120
|
+
__decorateClass([
|
|
3121
|
+
(0, import_class_validator46.IsOptional)(),
|
|
3122
|
+
(0, import_class_validator46.IsString)()
|
|
3123
|
+
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
3124
|
+
|
|
3125
|
+
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
3126
|
+
var import_class_validator47 = require("class-validator");
|
|
3127
|
+
var UpdateClientAccountStatusDto = class {
|
|
3128
|
+
};
|
|
3129
|
+
__decorateClass([
|
|
3130
|
+
(0, import_class_validator47.IsNotEmpty)({ message: "Please enter account status." }),
|
|
3131
|
+
(0, import_class_validator47.IsString)()
|
|
3132
|
+
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
3133
|
+
|
|
3134
|
+
// src/modules/client-admin/dto/update-client.dto.ts
|
|
3135
|
+
var import_class_validator48 = require("class-validator");
|
|
3136
|
+
var UpdateClientDto = class {
|
|
3137
|
+
};
|
|
3138
|
+
__decorateClass([
|
|
3139
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter unique id." })
|
|
3140
|
+
], UpdateClientDto.prototype, "uniqueId", 2);
|
|
3141
|
+
__decorateClass([
|
|
3142
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter username." })
|
|
3143
|
+
], UpdateClientDto.prototype, "userName", 2);
|
|
3144
|
+
__decorateClass([
|
|
3145
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter first name." })
|
|
3146
|
+
], UpdateClientDto.prototype, "firstName", 2);
|
|
3147
|
+
__decorateClass([
|
|
3148
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter last name." })
|
|
3149
|
+
], UpdateClientDto.prototype, "lastName", 2);
|
|
3150
|
+
__decorateClass([
|
|
3151
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter email." })
|
|
3152
|
+
], UpdateClientDto.prototype, "email", 2);
|
|
3153
|
+
__decorateClass([
|
|
3154
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter mobile number." })
|
|
3155
|
+
], UpdateClientDto.prototype, "mobile", 2);
|
|
3156
|
+
__decorateClass([
|
|
3157
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter the password." })
|
|
3158
|
+
], UpdateClientDto.prototype, "password", 2);
|
|
3159
|
+
__decorateClass([
|
|
3160
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter account type." })
|
|
3161
|
+
], UpdateClientDto.prototype, "accountType", 2);
|
|
3162
|
+
__decorateClass([
|
|
3163
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter account status." })
|
|
3164
|
+
], UpdateClientDto.prototype, "accountStatus", 2);
|
|
3165
|
+
|
|
3049
3166
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
3050
3167
|
var FREELANCER_DECLARATION_PATTERN = {
|
|
3051
3168
|
fetchFreelancerDeclaration: "fetch.freelancer.declaration",
|
|
@@ -3053,7 +3170,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
3053
3170
|
};
|
|
3054
3171
|
|
|
3055
3172
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
3056
|
-
var
|
|
3173
|
+
var import_class_validator49 = require("class-validator");
|
|
3057
3174
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
3058
3175
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
3059
3176
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -3064,16 +3181,16 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
|
3064
3181
|
var FreelancerDeclarationDto = class {
|
|
3065
3182
|
};
|
|
3066
3183
|
__decorateClass([
|
|
3067
|
-
(0,
|
|
3068
|
-
(0,
|
|
3184
|
+
(0, import_class_validator49.IsOptional)(),
|
|
3185
|
+
(0, import_class_validator49.IsString)({ message: "UUID must be a string" })
|
|
3069
3186
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
3070
3187
|
__decorateClass([
|
|
3071
|
-
(0,
|
|
3188
|
+
(0, import_class_validator49.IsEnum)(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
3072
3189
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
3073
3190
|
__decorateClass([
|
|
3074
|
-
(0,
|
|
3075
|
-
(0,
|
|
3076
|
-
(0,
|
|
3191
|
+
(0, import_class_validator49.IsNotEmpty)({ message: "Please accept the declaration " }),
|
|
3192
|
+
(0, import_class_validator49.IsString)(),
|
|
3193
|
+
(0, import_class_validator49.IsIn)([
|
|
3077
3194
|
"true"
|
|
3078
3195
|
])
|
|
3079
3196
|
], FreelancerDeclarationDto.prototype, "declarationAccepted", 2);
|
|
@@ -3088,36 +3205,36 @@ var CMS_PATTERNS = {
|
|
|
3088
3205
|
};
|
|
3089
3206
|
|
|
3090
3207
|
// src/modules/cms/dto/create-cms.dto.ts
|
|
3091
|
-
var
|
|
3208
|
+
var import_class_validator50 = require("class-validator");
|
|
3092
3209
|
var CreateCmsDto = class {
|
|
3093
3210
|
};
|
|
3094
3211
|
__decorateClass([
|
|
3095
|
-
(0,
|
|
3212
|
+
(0, import_class_validator50.IsNotEmpty)({ message: "Please enter name." })
|
|
3096
3213
|
], CreateCmsDto.prototype, "title", 2);
|
|
3097
3214
|
__decorateClass([
|
|
3098
|
-
(0,
|
|
3215
|
+
(0, import_class_validator50.IsOptional)()
|
|
3099
3216
|
], CreateCmsDto.prototype, "content", 2);
|
|
3100
3217
|
__decorateClass([
|
|
3101
|
-
(0,
|
|
3102
|
-
(0,
|
|
3218
|
+
(0, import_class_validator50.IsOptional)(),
|
|
3219
|
+
(0, import_class_validator50.IsBoolean)({ message: "Is active must be a boolean value" })
|
|
3103
3220
|
], CreateCmsDto.prototype, "isActive", 2);
|
|
3104
3221
|
|
|
3105
3222
|
// src/modules/cms/dto/update-cms.dto.ts
|
|
3106
|
-
var
|
|
3223
|
+
var import_class_validator51 = require("class-validator");
|
|
3107
3224
|
var UpdateCmsDto = class {
|
|
3108
3225
|
};
|
|
3109
3226
|
__decorateClass([
|
|
3110
|
-
(0,
|
|
3227
|
+
(0, import_class_validator51.IsOptional)()
|
|
3111
3228
|
], UpdateCmsDto.prototype, "uuid", 2);
|
|
3112
3229
|
__decorateClass([
|
|
3113
|
-
(0,
|
|
3230
|
+
(0, import_class_validator51.IsNotEmpty)({ message: "Please enter name." })
|
|
3114
3231
|
], UpdateCmsDto.prototype, "title", 2);
|
|
3115
3232
|
__decorateClass([
|
|
3116
|
-
(0,
|
|
3233
|
+
(0, import_class_validator51.IsOptional)()
|
|
3117
3234
|
], UpdateCmsDto.prototype, "content", 2);
|
|
3118
3235
|
__decorateClass([
|
|
3119
|
-
(0,
|
|
3120
|
-
(0,
|
|
3236
|
+
(0, import_class_validator51.IsOptional)(),
|
|
3237
|
+
(0, import_class_validator51.IsBoolean)({ message: "Is active must be a boolean value" })
|
|
3121
3238
|
], UpdateCmsDto.prototype, "isActive", 2);
|
|
3122
3239
|
|
|
3123
3240
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -3482,6 +3599,7 @@ Cms = __decorateClass([
|
|
|
3482
3599
|
CompanyProfile,
|
|
3483
3600
|
CompanyRole,
|
|
3484
3601
|
CompanyRolePermission,
|
|
3602
|
+
CreateClientDto,
|
|
3485
3603
|
CreateCmsDto,
|
|
3486
3604
|
CreateCompanyMemberDto,
|
|
3487
3605
|
CreateCompanyRoleDto,
|
|
@@ -3528,6 +3646,8 @@ Cms = __decorateClass([
|
|
|
3528
3646
|
FreelancerUploadResumeDto,
|
|
3529
3647
|
FreelancerWorkShowcaseDto,
|
|
3530
3648
|
FromUsOn,
|
|
3649
|
+
HiringMode,
|
|
3650
|
+
HiringType,
|
|
3531
3651
|
Interview,
|
|
3532
3652
|
InterviewSkill,
|
|
3533
3653
|
InterviewStatusEnum,
|
|
@@ -3594,6 +3714,8 @@ Cms = __decorateClass([
|
|
|
3594
3714
|
ToggleCompanyMemberVisibilityDto,
|
|
3595
3715
|
ToggleCompanyRoleVisibilityDto,
|
|
3596
3716
|
TypeOfEmploymentEnum,
|
|
3717
|
+
UpdateClientAccountStatusDto,
|
|
3718
|
+
UpdateClientDto,
|
|
3597
3719
|
UpdateCmsDto,
|
|
3598
3720
|
UpdateCompanyMemberDto,
|
|
3599
3721
|
UpdateCompanyProfileDto,
|
package/dist/index.mjs
CHANGED
|
@@ -3129,6 +3129,128 @@ var CLIENT_ADMIN_PATTERNS = {
|
|
|
3129
3129
|
fetchClientCount: "fetch.client.count"
|
|
3130
3130
|
};
|
|
3131
3131
|
|
|
3132
|
+
// src/modules/client-admin/dto/create-client.dto.ts
|
|
3133
|
+
import {
|
|
3134
|
+
IsNotEmpty as IsNotEmpty38,
|
|
3135
|
+
IsEmail as IsEmail11,
|
|
3136
|
+
IsOptional as IsOptional18,
|
|
3137
|
+
IsString as IsString26,
|
|
3138
|
+
IsArray as IsArray9,
|
|
3139
|
+
MinLength as MinLength12,
|
|
3140
|
+
MaxLength as MaxLength14,
|
|
3141
|
+
IsEnum as IsEnum13,
|
|
3142
|
+
Matches as Matches8
|
|
3143
|
+
} from "class-validator";
|
|
3144
|
+
var HiringMode = /* @__PURE__ */ ((HiringMode2) => {
|
|
3145
|
+
HiringMode2["REMOTE"] = "REMOTE";
|
|
3146
|
+
HiringMode2["ONSITE"] = "ONSITE";
|
|
3147
|
+
HiringMode2["BOTH"] = "BOTH";
|
|
3148
|
+
return HiringMode2;
|
|
3149
|
+
})(HiringMode || {});
|
|
3150
|
+
var HiringType = /* @__PURE__ */ ((HiringType2) => {
|
|
3151
|
+
HiringType2["PARTTIME"] = "PARTTIME";
|
|
3152
|
+
HiringType2["FULLTIME"] = "FULLTIME";
|
|
3153
|
+
HiringType2["BOTH"] = "BOTH";
|
|
3154
|
+
return HiringType2;
|
|
3155
|
+
})(HiringType || {});
|
|
3156
|
+
var CreateClientDto = class {
|
|
3157
|
+
};
|
|
3158
|
+
__decorateClass([
|
|
3159
|
+
IsNotEmpty38({ message: "Please enter first name." }),
|
|
3160
|
+
IsString26()
|
|
3161
|
+
], CreateClientDto.prototype, "firstName", 2);
|
|
3162
|
+
__decorateClass([
|
|
3163
|
+
IsNotEmpty38({ message: "Please enter last name." }),
|
|
3164
|
+
IsString26()
|
|
3165
|
+
], CreateClientDto.prototype, "lastName", 2);
|
|
3166
|
+
__decorateClass([
|
|
3167
|
+
IsNotEmpty38({ message: "Please enter email." }),
|
|
3168
|
+
IsEmail11()
|
|
3169
|
+
], CreateClientDto.prototype, "email", 2);
|
|
3170
|
+
__decorateClass([
|
|
3171
|
+
IsNotEmpty38({ message: "Please enter password." }),
|
|
3172
|
+
MinLength12(6),
|
|
3173
|
+
MaxLength14(32),
|
|
3174
|
+
Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
3175
|
+
message: "Password must include letters, numbers and symbols."
|
|
3176
|
+
}),
|
|
3177
|
+
IsNotEmpty38({ message: "Please enter confirm password." }),
|
|
3178
|
+
Match("newPassword", { message: "Passwords do not match" })
|
|
3179
|
+
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
3180
|
+
__decorateClass([
|
|
3181
|
+
IsNotEmpty38({ message: "Please enter company name." }),
|
|
3182
|
+
IsString26()
|
|
3183
|
+
], CreateClientDto.prototype, "companyName", 2);
|
|
3184
|
+
__decorateClass([
|
|
3185
|
+
IsArray9({ message: "Skills should be an array." }),
|
|
3186
|
+
IsNotEmpty38({ message: "Please enter skills." })
|
|
3187
|
+
], CreateClientDto.prototype, "skills", 2);
|
|
3188
|
+
__decorateClass([
|
|
3189
|
+
IsNotEmpty38({ message: "Please specify required freelancer count." }),
|
|
3190
|
+
IsString26()
|
|
3191
|
+
], CreateClientDto.prototype, "requiredFreelancer", 2);
|
|
3192
|
+
__decorateClass([
|
|
3193
|
+
IsNotEmpty38({ message: "Please specify the kind of hiring." }),
|
|
3194
|
+
IsEnum13(HiringType)
|
|
3195
|
+
], CreateClientDto.prototype, "kindOfHiring", 2);
|
|
3196
|
+
__decorateClass([
|
|
3197
|
+
IsNotEmpty38({ message: "Please specify the mode of hire." }),
|
|
3198
|
+
IsEnum13(HiringMode)
|
|
3199
|
+
], CreateClientDto.prototype, "modeOfHire", 2);
|
|
3200
|
+
__decorateClass([
|
|
3201
|
+
IsNotEmpty38({ message: "Please let us know how you found us." }),
|
|
3202
|
+
IsString26()
|
|
3203
|
+
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
3204
|
+
__decorateClass([
|
|
3205
|
+
IsOptional18(),
|
|
3206
|
+
IsString26()
|
|
3207
|
+
], CreateClientDto.prototype, "OTHER", 2);
|
|
3208
|
+
__decorateClass([
|
|
3209
|
+
IsOptional18(),
|
|
3210
|
+
IsString26()
|
|
3211
|
+
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
3212
|
+
|
|
3213
|
+
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
3214
|
+
import { IsString as IsString27, IsNotEmpty as IsNotEmpty39 } from "class-validator";
|
|
3215
|
+
var UpdateClientAccountStatusDto = class {
|
|
3216
|
+
};
|
|
3217
|
+
__decorateClass([
|
|
3218
|
+
IsNotEmpty39({ message: "Please enter account status." }),
|
|
3219
|
+
IsString27()
|
|
3220
|
+
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
3221
|
+
|
|
3222
|
+
// src/modules/client-admin/dto/update-client.dto.ts
|
|
3223
|
+
import { IsNotEmpty as IsNotEmpty40 } from "class-validator";
|
|
3224
|
+
var UpdateClientDto = class {
|
|
3225
|
+
};
|
|
3226
|
+
__decorateClass([
|
|
3227
|
+
IsNotEmpty40({ message: "Please enter unique id." })
|
|
3228
|
+
], UpdateClientDto.prototype, "uniqueId", 2);
|
|
3229
|
+
__decorateClass([
|
|
3230
|
+
IsNotEmpty40({ message: "Please enter username." })
|
|
3231
|
+
], UpdateClientDto.prototype, "userName", 2);
|
|
3232
|
+
__decorateClass([
|
|
3233
|
+
IsNotEmpty40({ message: "Please enter first name." })
|
|
3234
|
+
], UpdateClientDto.prototype, "firstName", 2);
|
|
3235
|
+
__decorateClass([
|
|
3236
|
+
IsNotEmpty40({ message: "Please enter last name." })
|
|
3237
|
+
], UpdateClientDto.prototype, "lastName", 2);
|
|
3238
|
+
__decorateClass([
|
|
3239
|
+
IsNotEmpty40({ message: "Please enter email." })
|
|
3240
|
+
], UpdateClientDto.prototype, "email", 2);
|
|
3241
|
+
__decorateClass([
|
|
3242
|
+
IsNotEmpty40({ message: "Please enter mobile number." })
|
|
3243
|
+
], UpdateClientDto.prototype, "mobile", 2);
|
|
3244
|
+
__decorateClass([
|
|
3245
|
+
IsNotEmpty40({ message: "Please enter the password." })
|
|
3246
|
+
], UpdateClientDto.prototype, "password", 2);
|
|
3247
|
+
__decorateClass([
|
|
3248
|
+
IsNotEmpty40({ message: "Please enter account type." })
|
|
3249
|
+
], UpdateClientDto.prototype, "accountType", 2);
|
|
3250
|
+
__decorateClass([
|
|
3251
|
+
IsNotEmpty40({ message: "Please enter account status." })
|
|
3252
|
+
], UpdateClientDto.prototype, "accountStatus", 2);
|
|
3253
|
+
|
|
3132
3254
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
3133
3255
|
var FREELANCER_DECLARATION_PATTERN = {
|
|
3134
3256
|
fetchFreelancerDeclaration: "fetch.freelancer.declaration",
|
|
@@ -3136,7 +3258,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
3136
3258
|
};
|
|
3137
3259
|
|
|
3138
3260
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
3139
|
-
import { IsOptional as
|
|
3261
|
+
import { IsOptional as IsOptional20, IsEnum as IsEnum14, IsString as IsString29, IsNotEmpty as IsNotEmpty41, IsIn as IsIn3 } from "class-validator";
|
|
3140
3262
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
3141
3263
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
3142
3264
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -3147,15 +3269,15 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
|
3147
3269
|
var FreelancerDeclarationDto = class {
|
|
3148
3270
|
};
|
|
3149
3271
|
__decorateClass([
|
|
3150
|
-
|
|
3151
|
-
|
|
3272
|
+
IsOptional20(),
|
|
3273
|
+
IsString29({ message: "UUID must be a string" })
|
|
3152
3274
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
3153
3275
|
__decorateClass([
|
|
3154
|
-
|
|
3276
|
+
IsEnum14(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
3155
3277
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
3156
3278
|
__decorateClass([
|
|
3157
|
-
|
|
3158
|
-
|
|
3279
|
+
IsNotEmpty41({ message: "Please accept the declaration " }),
|
|
3280
|
+
IsString29(),
|
|
3159
3281
|
IsIn3([
|
|
3160
3282
|
"true"
|
|
3161
3283
|
])
|
|
@@ -3171,36 +3293,36 @@ var CMS_PATTERNS = {
|
|
|
3171
3293
|
};
|
|
3172
3294
|
|
|
3173
3295
|
// src/modules/cms/dto/create-cms.dto.ts
|
|
3174
|
-
import { IsBoolean as
|
|
3296
|
+
import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional21 } from "class-validator";
|
|
3175
3297
|
var CreateCmsDto = class {
|
|
3176
3298
|
};
|
|
3177
3299
|
__decorateClass([
|
|
3178
|
-
|
|
3300
|
+
IsNotEmpty42({ message: "Please enter name." })
|
|
3179
3301
|
], CreateCmsDto.prototype, "title", 2);
|
|
3180
3302
|
__decorateClass([
|
|
3181
|
-
|
|
3303
|
+
IsOptional21()
|
|
3182
3304
|
], CreateCmsDto.prototype, "content", 2);
|
|
3183
3305
|
__decorateClass([
|
|
3184
|
-
|
|
3185
|
-
|
|
3306
|
+
IsOptional21(),
|
|
3307
|
+
IsBoolean13({ message: "Is active must be a boolean value" })
|
|
3186
3308
|
], CreateCmsDto.prototype, "isActive", 2);
|
|
3187
3309
|
|
|
3188
3310
|
// src/modules/cms/dto/update-cms.dto.ts
|
|
3189
|
-
import { IsBoolean as
|
|
3311
|
+
import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty43, IsOptional as IsOptional22 } from "class-validator";
|
|
3190
3312
|
var UpdateCmsDto = class {
|
|
3191
3313
|
};
|
|
3192
3314
|
__decorateClass([
|
|
3193
|
-
|
|
3315
|
+
IsOptional22()
|
|
3194
3316
|
], UpdateCmsDto.prototype, "uuid", 2);
|
|
3195
3317
|
__decorateClass([
|
|
3196
|
-
|
|
3318
|
+
IsNotEmpty43({ message: "Please enter name." })
|
|
3197
3319
|
], UpdateCmsDto.prototype, "title", 2);
|
|
3198
3320
|
__decorateClass([
|
|
3199
|
-
|
|
3321
|
+
IsOptional22()
|
|
3200
3322
|
], UpdateCmsDto.prototype, "content", 2);
|
|
3201
3323
|
__decorateClass([
|
|
3202
|
-
|
|
3203
|
-
|
|
3324
|
+
IsOptional22(),
|
|
3325
|
+
IsBoolean14({ message: "Is active must be a boolean value" })
|
|
3204
3326
|
], UpdateCmsDto.prototype, "isActive", 2);
|
|
3205
3327
|
|
|
3206
3328
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -3564,6 +3686,7 @@ export {
|
|
|
3564
3686
|
CompanyProfile,
|
|
3565
3687
|
CompanyRole,
|
|
3566
3688
|
CompanyRolePermission,
|
|
3689
|
+
CreateClientDto,
|
|
3567
3690
|
CreateCmsDto,
|
|
3568
3691
|
CreateCompanyMemberDto,
|
|
3569
3692
|
CreateCompanyRoleDto,
|
|
@@ -3610,6 +3733,8 @@ export {
|
|
|
3610
3733
|
FreelancerUploadResumeDto,
|
|
3611
3734
|
FreelancerWorkShowcaseDto,
|
|
3612
3735
|
FromUsOn,
|
|
3736
|
+
HiringMode,
|
|
3737
|
+
HiringType,
|
|
3613
3738
|
Interview,
|
|
3614
3739
|
InterviewSkill,
|
|
3615
3740
|
InterviewStatusEnum,
|
|
@@ -3676,6 +3801,8 @@ export {
|
|
|
3676
3801
|
ToggleCompanyMemberVisibilityDto,
|
|
3677
3802
|
ToggleCompanyRoleVisibilityDto,
|
|
3678
3803
|
TypeOfEmploymentEnum,
|
|
3804
|
+
UpdateClientAccountStatusDto,
|
|
3805
|
+
UpdateClientDto,
|
|
3679
3806
|
UpdateCmsDto,
|
|
3680
3807
|
UpdateCompanyMemberDto,
|
|
3681
3808
|
UpdateCompanyProfileDto,
|