@experts_hub/shared 1.0.88 → 1.0.90
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
CHANGED
|
@@ -588,7 +588,7 @@ declare enum JobStatus {
|
|
|
588
588
|
ONHOLD = "ONHOLD",
|
|
589
589
|
CLOSED = "CLOSED"
|
|
590
590
|
}
|
|
591
|
-
declare class
|
|
591
|
+
declare class JobStatusDto {
|
|
592
592
|
status: JobStatus;
|
|
593
593
|
}
|
|
594
594
|
|
|
@@ -624,6 +624,7 @@ declare class FreelancerBankDetailsDto {
|
|
|
624
624
|
abaNumber: string;
|
|
625
625
|
iban: string;
|
|
626
626
|
accountType: string;
|
|
627
|
+
accountScope: string;
|
|
627
628
|
}
|
|
628
629
|
|
|
629
630
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -658,4 +659,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
658
659
|
isActive: boolean;
|
|
659
660
|
}
|
|
660
661
|
|
|
661
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto,
|
|
662
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, bankDetails };
|
package/dist/index.d.ts
CHANGED
|
@@ -588,7 +588,7 @@ declare enum JobStatus {
|
|
|
588
588
|
ONHOLD = "ONHOLD",
|
|
589
589
|
CLOSED = "CLOSED"
|
|
590
590
|
}
|
|
591
|
-
declare class
|
|
591
|
+
declare class JobStatusDto {
|
|
592
592
|
status: JobStatus;
|
|
593
593
|
}
|
|
594
594
|
|
|
@@ -624,6 +624,7 @@ declare class FreelancerBankDetailsDto {
|
|
|
624
624
|
abaNumber: string;
|
|
625
625
|
iban: string;
|
|
626
626
|
accountType: string;
|
|
627
|
+
accountScope: string;
|
|
627
628
|
}
|
|
628
629
|
|
|
629
630
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -658,4 +659,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
658
659
|
isActive: boolean;
|
|
659
660
|
}
|
|
660
661
|
|
|
661
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto,
|
|
662
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, bankDetails };
|
package/dist/index.js
CHANGED
|
@@ -63,6 +63,7 @@ __export(index_exports, {
|
|
|
63
63
|
JobRoles: () => JobRoles,
|
|
64
64
|
JobSkill: () => JobSkill,
|
|
65
65
|
JobStatus: () => JobStatus,
|
|
66
|
+
JobStatusDto: () => JobStatusDto,
|
|
66
67
|
JobStatusEnum: () => JobStatusEnum,
|
|
67
68
|
JobTCPAdapter: () => JobTCPAdapter,
|
|
68
69
|
KindOfHire: () => KindOfHire,
|
|
@@ -87,7 +88,6 @@ __export(index_exports, {
|
|
|
87
88
|
Step: () => Step,
|
|
88
89
|
TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
|
|
89
90
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
90
|
-
UpdateJobStatusDto: () => UpdateJobStatusDto,
|
|
91
91
|
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
92
92
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
93
93
|
User: () => User,
|
|
@@ -1354,14 +1354,14 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
|
1354
1354
|
JobStatus2["CLOSED"] = "CLOSED";
|
|
1355
1355
|
return JobStatus2;
|
|
1356
1356
|
})(JobStatus || {});
|
|
1357
|
-
var
|
|
1357
|
+
var JobStatusDto = class {
|
|
1358
1358
|
};
|
|
1359
1359
|
__decorateClass([
|
|
1360
1360
|
(0, import_class_validator21.IsNotEmpty)({ message: "Please provide a job status" }),
|
|
1361
1361
|
(0, import_class_validator21.IsEnum)(JobStatus, {
|
|
1362
1362
|
message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
|
|
1363
1363
|
})
|
|
1364
|
-
],
|
|
1364
|
+
], JobStatusDto.prototype, "status", 2);
|
|
1365
1365
|
|
|
1366
1366
|
// src/modules/job/dto/job-id-param.dto.ts
|
|
1367
1367
|
var import_class_validator22 = require("class-validator");
|
|
@@ -1449,6 +1449,9 @@ __decorateClass([
|
|
|
1449
1449
|
__decorateClass([
|
|
1450
1450
|
(0, import_class_validator24.IsOptional)()
|
|
1451
1451
|
], FreelancerBankDetailsDto.prototype, "accountType", 2);
|
|
1452
|
+
__decorateClass([
|
|
1453
|
+
(0, import_class_validator24.IsOptional)()
|
|
1454
|
+
], FreelancerBankDetailsDto.prototype, "accountScope", 2);
|
|
1452
1455
|
|
|
1453
1456
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
1454
1457
|
var import_dotenv = require("dotenv");
|
|
@@ -1687,6 +1690,7 @@ JobRoles = __decorateClass([
|
|
|
1687
1690
|
JobRoles,
|
|
1688
1691
|
JobSkill,
|
|
1689
1692
|
JobStatus,
|
|
1693
|
+
JobStatusDto,
|
|
1690
1694
|
JobStatusEnum,
|
|
1691
1695
|
JobTCPAdapter,
|
|
1692
1696
|
KindOfHire,
|
|
@@ -1711,7 +1715,6 @@ JobRoles = __decorateClass([
|
|
|
1711
1715
|
Step,
|
|
1712
1716
|
TypeOfEmploymentEnum,
|
|
1713
1717
|
UpdateCompanyProfileDto,
|
|
1714
|
-
UpdateJobStatusDto,
|
|
1715
1718
|
UpdateSubAdminAccountStatusDto,
|
|
1716
1719
|
UpdateSubAdminDto,
|
|
1717
1720
|
User,
|
package/dist/index.mjs
CHANGED
|
@@ -1387,14 +1387,14 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
|
1387
1387
|
JobStatus2["CLOSED"] = "CLOSED";
|
|
1388
1388
|
return JobStatus2;
|
|
1389
1389
|
})(JobStatus || {});
|
|
1390
|
-
var
|
|
1390
|
+
var JobStatusDto = class {
|
|
1391
1391
|
};
|
|
1392
1392
|
__decorateClass([
|
|
1393
1393
|
IsNotEmpty17({ message: "Please provide a job status" }),
|
|
1394
1394
|
IsEnum3(JobStatus, {
|
|
1395
1395
|
message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
|
|
1396
1396
|
})
|
|
1397
|
-
],
|
|
1397
|
+
], JobStatusDto.prototype, "status", 2);
|
|
1398
1398
|
|
|
1399
1399
|
// src/modules/job/dto/job-id-param.dto.ts
|
|
1400
1400
|
import { IsUUID as IsUUID6 } from "class-validator";
|
|
@@ -1492,6 +1492,9 @@ __decorateClass([
|
|
|
1492
1492
|
__decorateClass([
|
|
1493
1493
|
IsOptional8()
|
|
1494
1494
|
], FreelancerBankDetailsDto.prototype, "accountType", 2);
|
|
1495
|
+
__decorateClass([
|
|
1496
|
+
IsOptional8()
|
|
1497
|
+
], FreelancerBankDetailsDto.prototype, "accountScope", 2);
|
|
1495
1498
|
|
|
1496
1499
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
1497
1500
|
import { config } from "dotenv";
|
|
@@ -1729,6 +1732,7 @@ export {
|
|
|
1729
1732
|
JobRoles,
|
|
1730
1733
|
JobSkill,
|
|
1731
1734
|
JobStatus,
|
|
1735
|
+
JobStatusDto,
|
|
1732
1736
|
JobStatusEnum,
|
|
1733
1737
|
JobTCPAdapter,
|
|
1734
1738
|
KindOfHire,
|
|
@@ -1753,7 +1757,6 @@ export {
|
|
|
1753
1757
|
Step,
|
|
1754
1758
|
TypeOfEmploymentEnum,
|
|
1755
1759
|
UpdateCompanyProfileDto,
|
|
1756
|
-
UpdateJobStatusDto,
|
|
1757
1760
|
UpdateSubAdminAccountStatusDto,
|
|
1758
1761
|
UpdateSubAdminDto,
|
|
1759
1762
|
User,
|