@experts_hub/shared 1.0.192 → 1.0.195
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 +25 -9
- package/dist/index.d.ts +25 -9
- package/dist/index.js +82 -38
- package/dist/index.mjs +93 -43
- package/dist/modules/client-admin/dto/create-client.dto.d.ts +3 -2
- package/dist/modules/client-admin/dto/update-client.dto.d.ts +19 -5
- package/dist/modules/client-admin/pattern/pattern.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1335,19 +1335,20 @@ declare const FREELANCER_ADMIN_PATTERNS: {
|
|
|
1335
1335
|
|
|
1336
1336
|
declare const CLIENT_ADMIN_PATTERNS: {
|
|
1337
1337
|
fetchAdminClients: string;
|
|
1338
|
-
|
|
1338
|
+
createAdminClients: string;
|
|
1339
|
+
updateAdminClient: string;
|
|
1339
1340
|
fetchAdminClientById: string;
|
|
1340
1341
|
deleteAdminClient: string;
|
|
1341
1342
|
exportAdminClients: string;
|
|
1342
1343
|
fetchClientCount: string;
|
|
1343
1344
|
};
|
|
1344
1345
|
|
|
1345
|
-
declare enum
|
|
1346
|
+
declare enum CreateClientHiringModeEnum {
|
|
1346
1347
|
REMOTE = "REMOTE",
|
|
1347
1348
|
ONSITE = "ONSITE",
|
|
1348
1349
|
BOTH = "BOTH"
|
|
1349
1350
|
}
|
|
1350
|
-
declare enum
|
|
1351
|
+
declare enum CreateClientHiringTypeEnum {
|
|
1351
1352
|
PARTTIME = "PARTTIME",
|
|
1352
1353
|
FULLTIME = "FULLTIME",
|
|
1353
1354
|
BOTH = "BOTH"
|
|
@@ -1356,6 +1357,7 @@ declare class CreateClientDto {
|
|
|
1356
1357
|
firstName: string;
|
|
1357
1358
|
lastName: string;
|
|
1358
1359
|
email: string;
|
|
1360
|
+
password: string;
|
|
1359
1361
|
confirmPassword: string;
|
|
1360
1362
|
companyName: string;
|
|
1361
1363
|
skills: string[];
|
|
@@ -1371,16 +1373,30 @@ declare class UpdateClientAccountStatusDto {
|
|
|
1371
1373
|
accountStatus: string;
|
|
1372
1374
|
}
|
|
1373
1375
|
|
|
1376
|
+
declare enum UpdateClientHiringModeEnum {
|
|
1377
|
+
REMOTE = "REMOTE",
|
|
1378
|
+
ONSITE = "ONSITE",
|
|
1379
|
+
BOTH = "BOTH"
|
|
1380
|
+
}
|
|
1381
|
+
declare enum UpdateClientHiringTypeEnum {
|
|
1382
|
+
PARTTIME = "PARTTIME",
|
|
1383
|
+
FULLTIME = "FULLTIME",
|
|
1384
|
+
BOTH = "BOTH"
|
|
1385
|
+
}
|
|
1374
1386
|
declare class UpdateClientDto {
|
|
1375
|
-
uniqueId: string;
|
|
1376
|
-
userName: string;
|
|
1377
1387
|
firstName: string;
|
|
1378
1388
|
lastName: string;
|
|
1379
1389
|
email: string;
|
|
1380
|
-
mobile: string;
|
|
1381
1390
|
password: string;
|
|
1382
|
-
|
|
1383
|
-
|
|
1391
|
+
confirmPassword: string;
|
|
1392
|
+
companyName: string;
|
|
1393
|
+
skills: string[];
|
|
1394
|
+
requiredFreelancer: string;
|
|
1395
|
+
kindOfHiring: string;
|
|
1396
|
+
modeOfHire: string;
|
|
1397
|
+
foundUsOn: string;
|
|
1398
|
+
OTHER?: string;
|
|
1399
|
+
foundUsOnDetail?: string;
|
|
1384
1400
|
}
|
|
1385
1401
|
|
|
1386
1402
|
interface IFetchClientsResponse {
|
|
@@ -1551,4 +1567,4 @@ declare class Cms extends BaseEntity {
|
|
|
1551
1567
|
isActive: boolean;
|
|
1552
1568
|
}
|
|
1553
1569
|
|
|
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,
|
|
1570
|
+
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, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, 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 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, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -1335,19 +1335,20 @@ declare const FREELANCER_ADMIN_PATTERNS: {
|
|
|
1335
1335
|
|
|
1336
1336
|
declare const CLIENT_ADMIN_PATTERNS: {
|
|
1337
1337
|
fetchAdminClients: string;
|
|
1338
|
-
|
|
1338
|
+
createAdminClients: string;
|
|
1339
|
+
updateAdminClient: string;
|
|
1339
1340
|
fetchAdminClientById: string;
|
|
1340
1341
|
deleteAdminClient: string;
|
|
1341
1342
|
exportAdminClients: string;
|
|
1342
1343
|
fetchClientCount: string;
|
|
1343
1344
|
};
|
|
1344
1345
|
|
|
1345
|
-
declare enum
|
|
1346
|
+
declare enum CreateClientHiringModeEnum {
|
|
1346
1347
|
REMOTE = "REMOTE",
|
|
1347
1348
|
ONSITE = "ONSITE",
|
|
1348
1349
|
BOTH = "BOTH"
|
|
1349
1350
|
}
|
|
1350
|
-
declare enum
|
|
1351
|
+
declare enum CreateClientHiringTypeEnum {
|
|
1351
1352
|
PARTTIME = "PARTTIME",
|
|
1352
1353
|
FULLTIME = "FULLTIME",
|
|
1353
1354
|
BOTH = "BOTH"
|
|
@@ -1356,6 +1357,7 @@ declare class CreateClientDto {
|
|
|
1356
1357
|
firstName: string;
|
|
1357
1358
|
lastName: string;
|
|
1358
1359
|
email: string;
|
|
1360
|
+
password: string;
|
|
1359
1361
|
confirmPassword: string;
|
|
1360
1362
|
companyName: string;
|
|
1361
1363
|
skills: string[];
|
|
@@ -1371,16 +1373,30 @@ declare class UpdateClientAccountStatusDto {
|
|
|
1371
1373
|
accountStatus: string;
|
|
1372
1374
|
}
|
|
1373
1375
|
|
|
1376
|
+
declare enum UpdateClientHiringModeEnum {
|
|
1377
|
+
REMOTE = "REMOTE",
|
|
1378
|
+
ONSITE = "ONSITE",
|
|
1379
|
+
BOTH = "BOTH"
|
|
1380
|
+
}
|
|
1381
|
+
declare enum UpdateClientHiringTypeEnum {
|
|
1382
|
+
PARTTIME = "PARTTIME",
|
|
1383
|
+
FULLTIME = "FULLTIME",
|
|
1384
|
+
BOTH = "BOTH"
|
|
1385
|
+
}
|
|
1374
1386
|
declare class UpdateClientDto {
|
|
1375
|
-
uniqueId: string;
|
|
1376
|
-
userName: string;
|
|
1377
1387
|
firstName: string;
|
|
1378
1388
|
lastName: string;
|
|
1379
1389
|
email: string;
|
|
1380
|
-
mobile: string;
|
|
1381
1390
|
password: string;
|
|
1382
|
-
|
|
1383
|
-
|
|
1391
|
+
confirmPassword: string;
|
|
1392
|
+
companyName: string;
|
|
1393
|
+
skills: string[];
|
|
1394
|
+
requiredFreelancer: string;
|
|
1395
|
+
kindOfHiring: string;
|
|
1396
|
+
modeOfHire: string;
|
|
1397
|
+
foundUsOn: string;
|
|
1398
|
+
OTHER?: string;
|
|
1399
|
+
foundUsOnDetail?: string;
|
|
1384
1400
|
}
|
|
1385
1401
|
|
|
1386
1402
|
interface IFetchClientsResponse {
|
|
@@ -1551,4 +1567,4 @@ declare class Cms extends BaseEntity {
|
|
|
1551
1567
|
isActive: boolean;
|
|
1552
1568
|
}
|
|
1553
1569
|
|
|
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,
|
|
1570
|
+
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, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, 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 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, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.js
CHANGED
|
@@ -54,6 +54,8 @@ __export(index_exports, {
|
|
|
54
54
|
CompanyRole: () => CompanyRole,
|
|
55
55
|
CompanyRolePermission: () => CompanyRolePermission,
|
|
56
56
|
CreateClientDto: () => CreateClientDto,
|
|
57
|
+
CreateClientHiringModeEnum: () => CreateClientHiringModeEnum,
|
|
58
|
+
CreateClientHiringTypeEnum: () => CreateClientHiringTypeEnum,
|
|
57
59
|
CreateCmsDto: () => CreateCmsDto,
|
|
58
60
|
CreateCompanyMemberDto: () => CreateCompanyMemberDto,
|
|
59
61
|
CreateCompanyRoleDto: () => CreateCompanyRoleDto,
|
|
@@ -100,8 +102,6 @@ __export(index_exports, {
|
|
|
100
102
|
FreelancerUploadResumeDto: () => FreelancerUploadResumeDto,
|
|
101
103
|
FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
|
|
102
104
|
FromUsOn: () => FromUsOn,
|
|
103
|
-
HiringMode: () => HiringMode,
|
|
104
|
-
HiringType: () => HiringType,
|
|
105
105
|
Interview: () => Interview,
|
|
106
106
|
InterviewSkill: () => InterviewSkill,
|
|
107
107
|
InterviewStatusEnum: () => InterviewStatusEnum,
|
|
@@ -170,6 +170,8 @@ __export(index_exports, {
|
|
|
170
170
|
TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
|
|
171
171
|
UpdateClientAccountStatusDto: () => UpdateClientAccountStatusDto,
|
|
172
172
|
UpdateClientDto: () => UpdateClientDto,
|
|
173
|
+
UpdateClientHiringModeEnum: () => UpdateClientHiringModeEnum,
|
|
174
|
+
UpdateClientHiringTypeEnum: () => UpdateClientHiringTypeEnum,
|
|
173
175
|
UpdateCmsDto: () => UpdateCmsDto,
|
|
174
176
|
UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
|
|
175
177
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
@@ -3044,7 +3046,8 @@ var FREELANCER_ADMIN_PATTERNS = {
|
|
|
3044
3046
|
// src/modules/client-admin/pattern/pattern.ts
|
|
3045
3047
|
var CLIENT_ADMIN_PATTERNS = {
|
|
3046
3048
|
fetchAdminClients: "fetch.admin.clients",
|
|
3047
|
-
|
|
3049
|
+
createAdminClients: "create.admin.client",
|
|
3050
|
+
updateAdminClient: "update.admin.client",
|
|
3048
3051
|
fetchAdminClientById: "fetch.admin.client_by_id",
|
|
3049
3052
|
deleteAdminClient: "delete.admin.client",
|
|
3050
3053
|
exportAdminClients: "export.admin.clients",
|
|
@@ -3053,18 +3056,18 @@ var CLIENT_ADMIN_PATTERNS = {
|
|
|
3053
3056
|
|
|
3054
3057
|
// src/modules/client-admin/dto/create-client.dto.ts
|
|
3055
3058
|
var import_class_validator46 = require("class-validator");
|
|
3056
|
-
var
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
return
|
|
3061
|
-
})(
|
|
3062
|
-
var
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
return
|
|
3067
|
-
})(
|
|
3059
|
+
var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
|
|
3060
|
+
CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
3061
|
+
CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
3062
|
+
CreateClientHiringModeEnum2["BOTH"] = "BOTH";
|
|
3063
|
+
return CreateClientHiringModeEnum2;
|
|
3064
|
+
})(CreateClientHiringModeEnum || {});
|
|
3065
|
+
var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2) => {
|
|
3066
|
+
CreateClientHiringTypeEnum2["PARTTIME"] = "PARTTIME";
|
|
3067
|
+
CreateClientHiringTypeEnum2["FULLTIME"] = "FULLTIME";
|
|
3068
|
+
CreateClientHiringTypeEnum2["BOTH"] = "BOTH";
|
|
3069
|
+
return CreateClientHiringTypeEnum2;
|
|
3070
|
+
})(CreateClientHiringTypeEnum || {});
|
|
3068
3071
|
var CreateClientDto = class {
|
|
3069
3072
|
};
|
|
3070
3073
|
__decorateClass([
|
|
@@ -3085,9 +3088,11 @@ __decorateClass([
|
|
|
3085
3088
|
(0, import_class_validator46.MaxLength)(32),
|
|
3086
3089
|
(0, import_class_validator46.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
3087
3090
|
message: "Password must include letters, numbers and symbols."
|
|
3088
|
-
})
|
|
3091
|
+
})
|
|
3092
|
+
], CreateClientDto.prototype, "password", 2);
|
|
3093
|
+
__decorateClass([
|
|
3089
3094
|
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
3090
|
-
Match("
|
|
3095
|
+
Match("confirmPassword", { message: "Passwords do not match" })
|
|
3091
3096
|
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
3092
3097
|
__decorateClass([
|
|
3093
3098
|
(0, import_class_validator46.IsNotEmpty)({ message: "Please enter company name." }),
|
|
@@ -3103,11 +3108,11 @@ __decorateClass([
|
|
|
3103
3108
|
], CreateClientDto.prototype, "requiredFreelancer", 2);
|
|
3104
3109
|
__decorateClass([
|
|
3105
3110
|
(0, import_class_validator46.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
|
|
3106
|
-
(0, import_class_validator46.IsEnum)(
|
|
3111
|
+
(0, import_class_validator46.IsEnum)(CreateClientHiringTypeEnum)
|
|
3107
3112
|
], CreateClientDto.prototype, "kindOfHiring", 2);
|
|
3108
3113
|
__decorateClass([
|
|
3109
3114
|
(0, import_class_validator46.IsNotEmpty)({ message: "Please specify the mode of hire." }),
|
|
3110
|
-
(0, import_class_validator46.IsEnum)(
|
|
3115
|
+
(0, import_class_validator46.IsEnum)(CreateClientHiringModeEnum)
|
|
3111
3116
|
], CreateClientDto.prototype, "modeOfHire", 2);
|
|
3112
3117
|
__decorateClass([
|
|
3113
3118
|
(0, import_class_validator46.IsNotEmpty)({ message: "Please let us know how you found us." }),
|
|
@@ -3133,35 +3138,72 @@ __decorateClass([
|
|
|
3133
3138
|
|
|
3134
3139
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
3135
3140
|
var import_class_validator48 = require("class-validator");
|
|
3141
|
+
var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
|
|
3142
|
+
UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
3143
|
+
UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
3144
|
+
UpdateClientHiringModeEnum2["BOTH"] = "BOTH";
|
|
3145
|
+
return UpdateClientHiringModeEnum2;
|
|
3146
|
+
})(UpdateClientHiringModeEnum || {});
|
|
3147
|
+
var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2) => {
|
|
3148
|
+
UpdateClientHiringTypeEnum2["PARTTIME"] = "PARTTIME";
|
|
3149
|
+
UpdateClientHiringTypeEnum2["FULLTIME"] = "FULLTIME";
|
|
3150
|
+
UpdateClientHiringTypeEnum2["BOTH"] = "BOTH";
|
|
3151
|
+
return UpdateClientHiringTypeEnum2;
|
|
3152
|
+
})(UpdateClientHiringTypeEnum || {});
|
|
3136
3153
|
var UpdateClientDto = class {
|
|
3137
3154
|
};
|
|
3138
3155
|
__decorateClass([
|
|
3139
|
-
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter
|
|
3140
|
-
|
|
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." })
|
|
3156
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter first name." }),
|
|
3157
|
+
(0, import_class_validator48.IsString)()
|
|
3146
3158
|
], UpdateClientDto.prototype, "firstName", 2);
|
|
3147
3159
|
__decorateClass([
|
|
3148
|
-
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter last name." })
|
|
3160
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter last name." }),
|
|
3161
|
+
(0, import_class_validator48.IsString)()
|
|
3149
3162
|
], UpdateClientDto.prototype, "lastName", 2);
|
|
3150
3163
|
__decorateClass([
|
|
3151
|
-
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter email." })
|
|
3164
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter email." }),
|
|
3165
|
+
(0, import_class_validator48.IsEmail)()
|
|
3152
3166
|
], UpdateClientDto.prototype, "email", 2);
|
|
3153
3167
|
__decorateClass([
|
|
3154
|
-
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter
|
|
3155
|
-
|
|
3156
|
-
__decorateClass([
|
|
3157
|
-
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter the password." })
|
|
3168
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter the password." }),
|
|
3169
|
+
(0, import_class_validator48.MinLength)(6)
|
|
3158
3170
|
], UpdateClientDto.prototype, "password", 2);
|
|
3159
3171
|
__decorateClass([
|
|
3160
|
-
(0, import_class_validator48.IsNotEmpty)({ message: "Please
|
|
3161
|
-
|
|
3172
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please confirm your password." }),
|
|
3173
|
+
(0, import_class_validator48.MinLength)(6)
|
|
3174
|
+
], UpdateClientDto.prototype, "confirmPassword", 2);
|
|
3175
|
+
__decorateClass([
|
|
3176
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter company name." }),
|
|
3177
|
+
(0, import_class_validator48.IsString)()
|
|
3178
|
+
], UpdateClientDto.prototype, "companyName", 2);
|
|
3179
|
+
__decorateClass([
|
|
3180
|
+
(0, import_class_validator48.IsArray)({ message: "Skills should be an array." }),
|
|
3181
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter skills." })
|
|
3182
|
+
], UpdateClientDto.prototype, "skills", 2);
|
|
3183
|
+
__decorateClass([
|
|
3184
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please specify required freelancer count." }),
|
|
3185
|
+
(0, import_class_validator48.IsString)()
|
|
3186
|
+
], UpdateClientDto.prototype, "requiredFreelancer", 2);
|
|
3187
|
+
__decorateClass([
|
|
3188
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
|
|
3189
|
+
(0, import_class_validator48.IsEnum)(UpdateClientHiringTypeEnum)
|
|
3190
|
+
], UpdateClientDto.prototype, "kindOfHiring", 2);
|
|
3191
|
+
__decorateClass([
|
|
3192
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please specify the mode of hire." }),
|
|
3193
|
+
(0, import_class_validator48.IsEnum)(UpdateClientHiringModeEnum)
|
|
3194
|
+
], UpdateClientDto.prototype, "modeOfHire", 2);
|
|
3195
|
+
__decorateClass([
|
|
3196
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please let us know how you found us." }),
|
|
3197
|
+
(0, import_class_validator48.IsString)()
|
|
3198
|
+
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
3199
|
+
__decorateClass([
|
|
3200
|
+
(0, import_class_validator48.IsOptional)(),
|
|
3201
|
+
(0, import_class_validator48.IsString)()
|
|
3202
|
+
], UpdateClientDto.prototype, "OTHER", 2);
|
|
3162
3203
|
__decorateClass([
|
|
3163
|
-
(0, import_class_validator48.
|
|
3164
|
-
|
|
3204
|
+
(0, import_class_validator48.IsOptional)(),
|
|
3205
|
+
(0, import_class_validator48.IsString)()
|
|
3206
|
+
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
3165
3207
|
|
|
3166
3208
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
3167
3209
|
var FREELANCER_DECLARATION_PATTERN = {
|
|
@@ -3600,6 +3642,8 @@ Cms = __decorateClass([
|
|
|
3600
3642
|
CompanyRole,
|
|
3601
3643
|
CompanyRolePermission,
|
|
3602
3644
|
CreateClientDto,
|
|
3645
|
+
CreateClientHiringModeEnum,
|
|
3646
|
+
CreateClientHiringTypeEnum,
|
|
3603
3647
|
CreateCmsDto,
|
|
3604
3648
|
CreateCompanyMemberDto,
|
|
3605
3649
|
CreateCompanyRoleDto,
|
|
@@ -3646,8 +3690,6 @@ Cms = __decorateClass([
|
|
|
3646
3690
|
FreelancerUploadResumeDto,
|
|
3647
3691
|
FreelancerWorkShowcaseDto,
|
|
3648
3692
|
FromUsOn,
|
|
3649
|
-
HiringMode,
|
|
3650
|
-
HiringType,
|
|
3651
3693
|
Interview,
|
|
3652
3694
|
InterviewSkill,
|
|
3653
3695
|
InterviewStatusEnum,
|
|
@@ -3716,6 +3758,8 @@ Cms = __decorateClass([
|
|
|
3716
3758
|
TypeOfEmploymentEnum,
|
|
3717
3759
|
UpdateClientAccountStatusDto,
|
|
3718
3760
|
UpdateClientDto,
|
|
3761
|
+
UpdateClientHiringModeEnum,
|
|
3762
|
+
UpdateClientHiringTypeEnum,
|
|
3719
3763
|
UpdateCmsDto,
|
|
3720
3764
|
UpdateCompanyMemberDto,
|
|
3721
3765
|
UpdateCompanyProfileDto,
|
package/dist/index.mjs
CHANGED
|
@@ -3122,7 +3122,8 @@ var FREELANCER_ADMIN_PATTERNS = {
|
|
|
3122
3122
|
// src/modules/client-admin/pattern/pattern.ts
|
|
3123
3123
|
var CLIENT_ADMIN_PATTERNS = {
|
|
3124
3124
|
fetchAdminClients: "fetch.admin.clients",
|
|
3125
|
-
|
|
3125
|
+
createAdminClients: "create.admin.client",
|
|
3126
|
+
updateAdminClient: "update.admin.client",
|
|
3126
3127
|
fetchAdminClientById: "fetch.admin.client_by_id",
|
|
3127
3128
|
deleteAdminClient: "delete.admin.client",
|
|
3128
3129
|
exportAdminClients: "export.admin.clients",
|
|
@@ -3141,18 +3142,18 @@ import {
|
|
|
3141
3142
|
IsEnum as IsEnum13,
|
|
3142
3143
|
Matches as Matches8
|
|
3143
3144
|
} from "class-validator";
|
|
3144
|
-
var
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
return
|
|
3149
|
-
})(
|
|
3150
|
-
var
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
return
|
|
3155
|
-
})(
|
|
3145
|
+
var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
|
|
3146
|
+
CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
3147
|
+
CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
3148
|
+
CreateClientHiringModeEnum2["BOTH"] = "BOTH";
|
|
3149
|
+
return CreateClientHiringModeEnum2;
|
|
3150
|
+
})(CreateClientHiringModeEnum || {});
|
|
3151
|
+
var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2) => {
|
|
3152
|
+
CreateClientHiringTypeEnum2["PARTTIME"] = "PARTTIME";
|
|
3153
|
+
CreateClientHiringTypeEnum2["FULLTIME"] = "FULLTIME";
|
|
3154
|
+
CreateClientHiringTypeEnum2["BOTH"] = "BOTH";
|
|
3155
|
+
return CreateClientHiringTypeEnum2;
|
|
3156
|
+
})(CreateClientHiringTypeEnum || {});
|
|
3156
3157
|
var CreateClientDto = class {
|
|
3157
3158
|
};
|
|
3158
3159
|
__decorateClass([
|
|
@@ -3173,9 +3174,11 @@ __decorateClass([
|
|
|
3173
3174
|
MaxLength14(32),
|
|
3174
3175
|
Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
3175
3176
|
message: "Password must include letters, numbers and symbols."
|
|
3176
|
-
})
|
|
3177
|
+
})
|
|
3178
|
+
], CreateClientDto.prototype, "password", 2);
|
|
3179
|
+
__decorateClass([
|
|
3177
3180
|
IsNotEmpty38({ message: "Please enter confirm password." }),
|
|
3178
|
-
Match("
|
|
3181
|
+
Match("confirmPassword", { message: "Passwords do not match" })
|
|
3179
3182
|
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
3180
3183
|
__decorateClass([
|
|
3181
3184
|
IsNotEmpty38({ message: "Please enter company name." }),
|
|
@@ -3191,11 +3194,11 @@ __decorateClass([
|
|
|
3191
3194
|
], CreateClientDto.prototype, "requiredFreelancer", 2);
|
|
3192
3195
|
__decorateClass([
|
|
3193
3196
|
IsNotEmpty38({ message: "Please specify the kind of hiring." }),
|
|
3194
|
-
IsEnum13(
|
|
3197
|
+
IsEnum13(CreateClientHiringTypeEnum)
|
|
3195
3198
|
], CreateClientDto.prototype, "kindOfHiring", 2);
|
|
3196
3199
|
__decorateClass([
|
|
3197
3200
|
IsNotEmpty38({ message: "Please specify the mode of hire." }),
|
|
3198
|
-
IsEnum13(
|
|
3201
|
+
IsEnum13(CreateClientHiringModeEnum)
|
|
3199
3202
|
], CreateClientDto.prototype, "modeOfHire", 2);
|
|
3200
3203
|
__decorateClass([
|
|
3201
3204
|
IsNotEmpty38({ message: "Please let us know how you found us." }),
|
|
@@ -3220,36 +3223,81 @@ __decorateClass([
|
|
|
3220
3223
|
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
3221
3224
|
|
|
3222
3225
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
3223
|
-
import {
|
|
3226
|
+
import {
|
|
3227
|
+
IsNotEmpty as IsNotEmpty40,
|
|
3228
|
+
IsEmail as IsEmail12,
|
|
3229
|
+
IsOptional as IsOptional19,
|
|
3230
|
+
IsString as IsString28,
|
|
3231
|
+
IsArray as IsArray10,
|
|
3232
|
+
MinLength as MinLength13,
|
|
3233
|
+
IsEnum as IsEnum14
|
|
3234
|
+
} from "class-validator";
|
|
3235
|
+
var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
|
|
3236
|
+
UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
3237
|
+
UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
3238
|
+
UpdateClientHiringModeEnum2["BOTH"] = "BOTH";
|
|
3239
|
+
return UpdateClientHiringModeEnum2;
|
|
3240
|
+
})(UpdateClientHiringModeEnum || {});
|
|
3241
|
+
var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2) => {
|
|
3242
|
+
UpdateClientHiringTypeEnum2["PARTTIME"] = "PARTTIME";
|
|
3243
|
+
UpdateClientHiringTypeEnum2["FULLTIME"] = "FULLTIME";
|
|
3244
|
+
UpdateClientHiringTypeEnum2["BOTH"] = "BOTH";
|
|
3245
|
+
return UpdateClientHiringTypeEnum2;
|
|
3246
|
+
})(UpdateClientHiringTypeEnum || {});
|
|
3224
3247
|
var UpdateClientDto = class {
|
|
3225
3248
|
};
|
|
3226
3249
|
__decorateClass([
|
|
3227
|
-
IsNotEmpty40({ message: "Please enter
|
|
3228
|
-
|
|
3229
|
-
__decorateClass([
|
|
3230
|
-
IsNotEmpty40({ message: "Please enter username." })
|
|
3231
|
-
], UpdateClientDto.prototype, "userName", 2);
|
|
3232
|
-
__decorateClass([
|
|
3233
|
-
IsNotEmpty40({ message: "Please enter first name." })
|
|
3250
|
+
IsNotEmpty40({ message: "Please enter first name." }),
|
|
3251
|
+
IsString28()
|
|
3234
3252
|
], UpdateClientDto.prototype, "firstName", 2);
|
|
3235
3253
|
__decorateClass([
|
|
3236
|
-
IsNotEmpty40({ message: "Please enter last name." })
|
|
3254
|
+
IsNotEmpty40({ message: "Please enter last name." }),
|
|
3255
|
+
IsString28()
|
|
3237
3256
|
], UpdateClientDto.prototype, "lastName", 2);
|
|
3238
3257
|
__decorateClass([
|
|
3239
|
-
IsNotEmpty40({ message: "Please enter email." })
|
|
3258
|
+
IsNotEmpty40({ message: "Please enter email." }),
|
|
3259
|
+
IsEmail12()
|
|
3240
3260
|
], UpdateClientDto.prototype, "email", 2);
|
|
3241
3261
|
__decorateClass([
|
|
3242
|
-
IsNotEmpty40({ message: "Please enter
|
|
3243
|
-
|
|
3244
|
-
__decorateClass([
|
|
3245
|
-
IsNotEmpty40({ message: "Please enter the password." })
|
|
3262
|
+
IsNotEmpty40({ message: "Please enter the password." }),
|
|
3263
|
+
MinLength13(6)
|
|
3246
3264
|
], UpdateClientDto.prototype, "password", 2);
|
|
3247
3265
|
__decorateClass([
|
|
3248
|
-
IsNotEmpty40({ message: "Please
|
|
3249
|
-
|
|
3266
|
+
IsNotEmpty40({ message: "Please confirm your password." }),
|
|
3267
|
+
MinLength13(6)
|
|
3268
|
+
], UpdateClientDto.prototype, "confirmPassword", 2);
|
|
3250
3269
|
__decorateClass([
|
|
3251
|
-
IsNotEmpty40({ message: "Please enter
|
|
3252
|
-
|
|
3270
|
+
IsNotEmpty40({ message: "Please enter company name." }),
|
|
3271
|
+
IsString28()
|
|
3272
|
+
], UpdateClientDto.prototype, "companyName", 2);
|
|
3273
|
+
__decorateClass([
|
|
3274
|
+
IsArray10({ message: "Skills should be an array." }),
|
|
3275
|
+
IsNotEmpty40({ message: "Please enter skills." })
|
|
3276
|
+
], UpdateClientDto.prototype, "skills", 2);
|
|
3277
|
+
__decorateClass([
|
|
3278
|
+
IsNotEmpty40({ message: "Please specify required freelancer count." }),
|
|
3279
|
+
IsString28()
|
|
3280
|
+
], UpdateClientDto.prototype, "requiredFreelancer", 2);
|
|
3281
|
+
__decorateClass([
|
|
3282
|
+
IsNotEmpty40({ message: "Please specify the kind of hiring." }),
|
|
3283
|
+
IsEnum14(UpdateClientHiringTypeEnum)
|
|
3284
|
+
], UpdateClientDto.prototype, "kindOfHiring", 2);
|
|
3285
|
+
__decorateClass([
|
|
3286
|
+
IsNotEmpty40({ message: "Please specify the mode of hire." }),
|
|
3287
|
+
IsEnum14(UpdateClientHiringModeEnum)
|
|
3288
|
+
], UpdateClientDto.prototype, "modeOfHire", 2);
|
|
3289
|
+
__decorateClass([
|
|
3290
|
+
IsNotEmpty40({ message: "Please let us know how you found us." }),
|
|
3291
|
+
IsString28()
|
|
3292
|
+
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
3293
|
+
__decorateClass([
|
|
3294
|
+
IsOptional19(),
|
|
3295
|
+
IsString28()
|
|
3296
|
+
], UpdateClientDto.prototype, "OTHER", 2);
|
|
3297
|
+
__decorateClass([
|
|
3298
|
+
IsOptional19(),
|
|
3299
|
+
IsString28()
|
|
3300
|
+
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
3253
3301
|
|
|
3254
3302
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
3255
3303
|
var FREELANCER_DECLARATION_PATTERN = {
|
|
@@ -3258,7 +3306,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
3258
3306
|
};
|
|
3259
3307
|
|
|
3260
3308
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
3261
|
-
import { IsOptional as IsOptional20, IsEnum as
|
|
3309
|
+
import { IsOptional as IsOptional20, IsEnum as IsEnum15, IsString as IsString29, IsNotEmpty as IsNotEmpty41, IsIn as IsIn3 } from "class-validator";
|
|
3262
3310
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
3263
3311
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
3264
3312
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -3273,7 +3321,7 @@ __decorateClass([
|
|
|
3273
3321
|
IsString29({ message: "UUID must be a string" })
|
|
3274
3322
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
3275
3323
|
__decorateClass([
|
|
3276
|
-
|
|
3324
|
+
IsEnum15(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
3277
3325
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
3278
3326
|
__decorateClass([
|
|
3279
3327
|
IsNotEmpty41({ message: "Please accept the declaration " }),
|
|
@@ -3293,7 +3341,7 @@ var CMS_PATTERNS = {
|
|
|
3293
3341
|
};
|
|
3294
3342
|
|
|
3295
3343
|
// src/modules/cms/dto/create-cms.dto.ts
|
|
3296
|
-
import { IsBoolean as
|
|
3344
|
+
import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional21 } from "class-validator";
|
|
3297
3345
|
var CreateCmsDto = class {
|
|
3298
3346
|
};
|
|
3299
3347
|
__decorateClass([
|
|
@@ -3304,11 +3352,11 @@ __decorateClass([
|
|
|
3304
3352
|
], CreateCmsDto.prototype, "content", 2);
|
|
3305
3353
|
__decorateClass([
|
|
3306
3354
|
IsOptional21(),
|
|
3307
|
-
|
|
3355
|
+
IsBoolean12({ message: "Is active must be a boolean value" })
|
|
3308
3356
|
], CreateCmsDto.prototype, "isActive", 2);
|
|
3309
3357
|
|
|
3310
3358
|
// src/modules/cms/dto/update-cms.dto.ts
|
|
3311
|
-
import { IsBoolean as
|
|
3359
|
+
import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty43, IsOptional as IsOptional22 } from "class-validator";
|
|
3312
3360
|
var UpdateCmsDto = class {
|
|
3313
3361
|
};
|
|
3314
3362
|
__decorateClass([
|
|
@@ -3322,7 +3370,7 @@ __decorateClass([
|
|
|
3322
3370
|
], UpdateCmsDto.prototype, "content", 2);
|
|
3323
3371
|
__decorateClass([
|
|
3324
3372
|
IsOptional22(),
|
|
3325
|
-
|
|
3373
|
+
IsBoolean13({ message: "Is active must be a boolean value" })
|
|
3326
3374
|
], UpdateCmsDto.prototype, "isActive", 2);
|
|
3327
3375
|
|
|
3328
3376
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -3687,6 +3735,8 @@ export {
|
|
|
3687
3735
|
CompanyRole,
|
|
3688
3736
|
CompanyRolePermission,
|
|
3689
3737
|
CreateClientDto,
|
|
3738
|
+
CreateClientHiringModeEnum,
|
|
3739
|
+
CreateClientHiringTypeEnum,
|
|
3690
3740
|
CreateCmsDto,
|
|
3691
3741
|
CreateCompanyMemberDto,
|
|
3692
3742
|
CreateCompanyRoleDto,
|
|
@@ -3733,8 +3783,6 @@ export {
|
|
|
3733
3783
|
FreelancerUploadResumeDto,
|
|
3734
3784
|
FreelancerWorkShowcaseDto,
|
|
3735
3785
|
FromUsOn,
|
|
3736
|
-
HiringMode,
|
|
3737
|
-
HiringType,
|
|
3738
3786
|
Interview,
|
|
3739
3787
|
InterviewSkill,
|
|
3740
3788
|
InterviewStatusEnum,
|
|
@@ -3803,6 +3851,8 @@ export {
|
|
|
3803
3851
|
TypeOfEmploymentEnum,
|
|
3804
3852
|
UpdateClientAccountStatusDto,
|
|
3805
3853
|
UpdateClientDto,
|
|
3854
|
+
UpdateClientHiringModeEnum,
|
|
3855
|
+
UpdateClientHiringTypeEnum,
|
|
3806
3856
|
UpdateCmsDto,
|
|
3807
3857
|
UpdateCompanyMemberDto,
|
|
3808
3858
|
UpdateCompanyProfileDto,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum CreateClientHiringModeEnum {
|
|
2
2
|
REMOTE = "REMOTE",
|
|
3
3
|
ONSITE = "ONSITE",
|
|
4
4
|
BOTH = "BOTH"
|
|
5
5
|
}
|
|
6
|
-
export declare enum
|
|
6
|
+
export declare enum CreateClientHiringTypeEnum {
|
|
7
7
|
PARTTIME = "PARTTIME",
|
|
8
8
|
FULLTIME = "FULLTIME",
|
|
9
9
|
BOTH = "BOTH"
|
|
@@ -12,6 +12,7 @@ export declare class CreateClientDto {
|
|
|
12
12
|
firstName: string;
|
|
13
13
|
lastName: string;
|
|
14
14
|
email: string;
|
|
15
|
+
password: string;
|
|
15
16
|
confirmPassword: string;
|
|
16
17
|
companyName: string;
|
|
17
18
|
skills: string[];
|
|
@@ -1,11 +1,25 @@
|
|
|
1
|
+
export declare enum UpdateClientHiringModeEnum {
|
|
2
|
+
REMOTE = "REMOTE",
|
|
3
|
+
ONSITE = "ONSITE",
|
|
4
|
+
BOTH = "BOTH"
|
|
5
|
+
}
|
|
6
|
+
export declare enum UpdateClientHiringTypeEnum {
|
|
7
|
+
PARTTIME = "PARTTIME",
|
|
8
|
+
FULLTIME = "FULLTIME",
|
|
9
|
+
BOTH = "BOTH"
|
|
10
|
+
}
|
|
1
11
|
export declare class UpdateClientDto {
|
|
2
|
-
uniqueId: string;
|
|
3
|
-
userName: string;
|
|
4
12
|
firstName: string;
|
|
5
13
|
lastName: string;
|
|
6
14
|
email: string;
|
|
7
|
-
mobile: string;
|
|
8
15
|
password: string;
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
confirmPassword: string;
|
|
17
|
+
companyName: string;
|
|
18
|
+
skills: string[];
|
|
19
|
+
requiredFreelancer: string;
|
|
20
|
+
kindOfHiring: string;
|
|
21
|
+
modeOfHire: string;
|
|
22
|
+
foundUsOn: string;
|
|
23
|
+
OTHER?: string;
|
|
24
|
+
foundUsOnDetail?: string;
|
|
11
25
|
}
|