@experts_hub/shared 1.0.89 → 1.0.91
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/entities/bank-details.entity.d.ts +1 -1
- package/dist/entities/user.entity.d.ts +2 -2
- package/dist/index.d.mts +18 -4
- package/dist/index.d.ts +18 -4
- package/dist/index.js +43 -27
- package/dist/index.mjs +39 -24
- package/dist/modules/job/dto/job-status.dto.d.ts +1 -1
- package/dist/modules/job/pattern/pattern.d.ts +14 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export declare enum BankAccountScope {
|
|
|
8
8
|
DOMESTIC = "domestic",
|
|
9
9
|
INTERNATIONAL = "international"
|
|
10
10
|
}
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class BankDetails extends BaseEntity {
|
|
12
12
|
userId: number;
|
|
13
13
|
user: User;
|
|
14
14
|
name: string;
|
|
@@ -5,7 +5,7 @@ import { Otp } from "./otp.entity";
|
|
|
5
5
|
import { FreelancerProfile } from "./freelancer-profile.entity";
|
|
6
6
|
import { CompanyProfile } from "./company-profile.entity";
|
|
7
7
|
import { Job } from "./job-entity";
|
|
8
|
-
import {
|
|
8
|
+
import { BankDetails } from "./bank-details.entity";
|
|
9
9
|
export declare enum AccountType {
|
|
10
10
|
ADMIN = "ADMIN",
|
|
11
11
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -42,5 +42,5 @@ export declare class User extends BaseEntity {
|
|
|
42
42
|
freelancerProfile: FreelancerProfile;
|
|
43
43
|
companyProfile: CompanyProfile;
|
|
44
44
|
jobs: Job[];
|
|
45
|
-
bankDetails:
|
|
45
|
+
bankDetails: BankDetails[];
|
|
46
46
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -354,7 +354,7 @@ declare enum BankAccountScope {
|
|
|
354
354
|
DOMESTIC = "domestic",
|
|
355
355
|
INTERNATIONAL = "international"
|
|
356
356
|
}
|
|
357
|
-
declare class
|
|
357
|
+
declare class BankDetails extends BaseEntity {
|
|
358
358
|
userId: number;
|
|
359
359
|
user: User;
|
|
360
360
|
name: string;
|
|
@@ -408,7 +408,7 @@ declare class User extends BaseEntity {
|
|
|
408
408
|
freelancerProfile: FreelancerProfile;
|
|
409
409
|
companyProfile: CompanyProfile;
|
|
410
410
|
jobs: Job[];
|
|
411
|
-
bankDetails:
|
|
411
|
+
bankDetails: BankDetails[];
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
declare enum KindOfHire {
|
|
@@ -549,6 +549,20 @@ interface IFetchQuestionResponse {
|
|
|
549
549
|
declare const JOB_ROLE_PATTERN: {
|
|
550
550
|
fetchJobRolesForDropdown: string;
|
|
551
551
|
};
|
|
552
|
+
declare const JOB_PATTERN: {
|
|
553
|
+
fetchJobs: string;
|
|
554
|
+
fetchJobCountAsPerStatus: string;
|
|
555
|
+
fetchJobsDropdown: string;
|
|
556
|
+
fetchJobDetail: string;
|
|
557
|
+
fetchJobBasicInformation: string;
|
|
558
|
+
createJobBasicInformation: string;
|
|
559
|
+
updateJobBasicInformation: string;
|
|
560
|
+
fetchJobAdditionalComments: string;
|
|
561
|
+
updateJobAdditionalComments: string;
|
|
562
|
+
fetchJobDescription: string;
|
|
563
|
+
updateJobDescription: string;
|
|
564
|
+
updateJobStatus: string;
|
|
565
|
+
};
|
|
552
566
|
|
|
553
567
|
declare enum JobLocation {
|
|
554
568
|
ONSITE = "ONSITE",
|
|
@@ -588,7 +602,7 @@ declare enum JobStatus {
|
|
|
588
602
|
ONHOLD = "ONHOLD",
|
|
589
603
|
CLOSED = "CLOSED"
|
|
590
604
|
}
|
|
591
|
-
declare class
|
|
605
|
+
declare class JobStatusDto {
|
|
592
606
|
status: JobStatus;
|
|
593
607
|
}
|
|
594
608
|
|
|
@@ -659,4 +673,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
659
673
|
isActive: boolean;
|
|
660
674
|
}
|
|
661
675
|
|
|
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, 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,
|
|
676
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, 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_PATTERN, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -354,7 +354,7 @@ declare enum BankAccountScope {
|
|
|
354
354
|
DOMESTIC = "domestic",
|
|
355
355
|
INTERNATIONAL = "international"
|
|
356
356
|
}
|
|
357
|
-
declare class
|
|
357
|
+
declare class BankDetails extends BaseEntity {
|
|
358
358
|
userId: number;
|
|
359
359
|
user: User;
|
|
360
360
|
name: string;
|
|
@@ -408,7 +408,7 @@ declare class User extends BaseEntity {
|
|
|
408
408
|
freelancerProfile: FreelancerProfile;
|
|
409
409
|
companyProfile: CompanyProfile;
|
|
410
410
|
jobs: Job[];
|
|
411
|
-
bankDetails:
|
|
411
|
+
bankDetails: BankDetails[];
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
declare enum KindOfHire {
|
|
@@ -549,6 +549,20 @@ interface IFetchQuestionResponse {
|
|
|
549
549
|
declare const JOB_ROLE_PATTERN: {
|
|
550
550
|
fetchJobRolesForDropdown: string;
|
|
551
551
|
};
|
|
552
|
+
declare const JOB_PATTERN: {
|
|
553
|
+
fetchJobs: string;
|
|
554
|
+
fetchJobCountAsPerStatus: string;
|
|
555
|
+
fetchJobsDropdown: string;
|
|
556
|
+
fetchJobDetail: string;
|
|
557
|
+
fetchJobBasicInformation: string;
|
|
558
|
+
createJobBasicInformation: string;
|
|
559
|
+
updateJobBasicInformation: string;
|
|
560
|
+
fetchJobAdditionalComments: string;
|
|
561
|
+
updateJobAdditionalComments: string;
|
|
562
|
+
fetchJobDescription: string;
|
|
563
|
+
updateJobDescription: string;
|
|
564
|
+
updateJobStatus: string;
|
|
565
|
+
};
|
|
552
566
|
|
|
553
567
|
declare enum JobLocation {
|
|
554
568
|
ONSITE = "ONSITE",
|
|
@@ -588,7 +602,7 @@ declare enum JobStatus {
|
|
|
588
602
|
ONHOLD = "ONHOLD",
|
|
589
603
|
CLOSED = "CLOSED"
|
|
590
604
|
}
|
|
591
|
-
declare class
|
|
605
|
+
declare class JobStatusDto {
|
|
592
606
|
status: JobStatus;
|
|
593
607
|
}
|
|
594
608
|
|
|
@@ -659,4 +673,4 @@ declare class JobRoles extends BaseEntity {
|
|
|
659
673
|
isActive: boolean;
|
|
660
674
|
}
|
|
661
675
|
|
|
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, 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,
|
|
676
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, 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_PATTERN, 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 };
|
package/dist/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __export(index_exports, {
|
|
|
33
33
|
BANK_PATTERN: () => BANK_PATTERN,
|
|
34
34
|
BankAccountScope: () => BankAccountScope,
|
|
35
35
|
BankAccountType: () => BankAccountType,
|
|
36
|
+
BankDetails: () => BankDetails,
|
|
36
37
|
BaseEntity: () => BaseEntity,
|
|
37
38
|
CLIENT_PROFILE_PATTERN: () => CLIENT_PROFILE_PATTERN,
|
|
38
39
|
ClientChangePasswordDto: () => ClientChangePasswordDto,
|
|
@@ -51,6 +52,7 @@ __export(index_exports, {
|
|
|
51
52
|
FreelancerUploadResumeDto: () => FreelancerUploadResumeDto,
|
|
52
53
|
FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
|
|
53
54
|
FromUsOn: () => FromUsOn,
|
|
55
|
+
JOB_PATTERN: () => JOB_PATTERN,
|
|
54
56
|
JOB_ROLE_PATTERN: () => JOB_ROLE_PATTERN,
|
|
55
57
|
Job: () => Job,
|
|
56
58
|
JobAdditionalCommentDto: () => JobAdditionalCommentDto,
|
|
@@ -63,6 +65,7 @@ __export(index_exports, {
|
|
|
63
65
|
JobRoles: () => JobRoles,
|
|
64
66
|
JobSkill: () => JobSkill,
|
|
65
67
|
JobStatus: () => JobStatus,
|
|
68
|
+
JobStatusDto: () => JobStatusDto,
|
|
66
69
|
JobStatusEnum: () => JobStatusEnum,
|
|
67
70
|
JobTCPAdapter: () => JobTCPAdapter,
|
|
68
71
|
KindOfHire: () => KindOfHire,
|
|
@@ -87,13 +90,11 @@ __export(index_exports, {
|
|
|
87
90
|
Step: () => Step,
|
|
88
91
|
TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
|
|
89
92
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
90
|
-
UpdateJobStatusDto: () => UpdateJobStatusDto,
|
|
91
93
|
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
92
94
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
93
95
|
User: () => User,
|
|
94
96
|
UserRMQAdapter: () => UserRMQAdapter,
|
|
95
|
-
UserTCPAdapter: () => UserTCPAdapter
|
|
96
|
-
bankDetails: () => bankDetails
|
|
97
|
+
UserTCPAdapter: () => UserTCPAdapter
|
|
97
98
|
});
|
|
98
99
|
module.exports = __toCommonJS(index_exports);
|
|
99
100
|
|
|
@@ -889,50 +890,50 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
|
889
890
|
BankAccountScope2["INTERNATIONAL"] = "international";
|
|
890
891
|
return BankAccountScope2;
|
|
891
892
|
})(BankAccountScope || {});
|
|
892
|
-
var
|
|
893
|
+
var BankDetails = class extends BaseEntity {
|
|
893
894
|
};
|
|
894
895
|
// individual index to find bank details by user
|
|
895
896
|
__decorateClass([
|
|
896
897
|
(0, import_typeorm9.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
897
898
|
(0, import_typeorm9.Index)()
|
|
898
|
-
],
|
|
899
|
+
], BankDetails.prototype, "userId", 2);
|
|
899
900
|
__decorateClass([
|
|
900
901
|
(0, import_typeorm9.ManyToOne)(() => User, (user) => user.bankDetails),
|
|
901
902
|
(0, import_typeorm9.JoinColumn)({ name: "user_id" })
|
|
902
|
-
],
|
|
903
|
+
], BankDetails.prototype, "user", 2);
|
|
903
904
|
__decorateClass([
|
|
904
905
|
(0, import_typeorm9.Column)({ name: "name", type: "varchar", nullable: true })
|
|
905
|
-
],
|
|
906
|
+
], BankDetails.prototype, "name", 2);
|
|
906
907
|
__decorateClass([
|
|
907
908
|
(0, import_typeorm9.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
|
|
908
|
-
],
|
|
909
|
+
], BankDetails.prototype, "mobile", 2);
|
|
909
910
|
__decorateClass([
|
|
910
911
|
(0, import_typeorm9.Column)({ name: "email", type: "varchar", unique: true })
|
|
911
|
-
],
|
|
912
|
+
], BankDetails.prototype, "email", 2);
|
|
912
913
|
__decorateClass([
|
|
913
914
|
(0, import_typeorm9.Column)({ name: "address", type: "varchar", nullable: true })
|
|
914
|
-
],
|
|
915
|
+
], BankDetails.prototype, "address", 2);
|
|
915
916
|
__decorateClass([
|
|
916
917
|
(0, import_typeorm9.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
|
|
917
|
-
],
|
|
918
|
+
], BankDetails.prototype, "accountNumber", 2);
|
|
918
919
|
__decorateClass([
|
|
919
920
|
(0, import_typeorm9.Column)({ name: "bank_name", type: "varchar", nullable: true })
|
|
920
|
-
],
|
|
921
|
+
], BankDetails.prototype, "bankName", 2);
|
|
921
922
|
__decorateClass([
|
|
922
923
|
(0, import_typeorm9.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
|
|
923
|
-
],
|
|
924
|
+
], BankDetails.prototype, "ifscCode", 2);
|
|
924
925
|
__decorateClass([
|
|
925
926
|
(0, import_typeorm9.Column)({ name: "branch_name", type: "varchar", nullable: true })
|
|
926
|
-
],
|
|
927
|
+
], BankDetails.prototype, "branchName", 2);
|
|
927
928
|
__decorateClass([
|
|
928
929
|
(0, import_typeorm9.Column)({ name: "routing_no", type: "varchar", nullable: true })
|
|
929
|
-
],
|
|
930
|
+
], BankDetails.prototype, "routingNo", 2);
|
|
930
931
|
__decorateClass([
|
|
931
932
|
(0, import_typeorm9.Column)({ name: "aba_no", type: "varchar", nullable: true })
|
|
932
|
-
],
|
|
933
|
+
], BankDetails.prototype, "abaNumber", 2);
|
|
933
934
|
__decorateClass([
|
|
934
935
|
(0, import_typeorm9.Column)({ name: "iban", type: "varchar", nullable: true })
|
|
935
|
-
],
|
|
936
|
+
], BankDetails.prototype, "iban", 2);
|
|
936
937
|
__decorateClass([
|
|
937
938
|
(0, import_typeorm9.Column)({
|
|
938
939
|
name: "account_type",
|
|
@@ -940,7 +941,7 @@ __decorateClass([
|
|
|
940
941
|
enum: BankAccountType,
|
|
941
942
|
default: "PRIMARY" /* PRIMARY */
|
|
942
943
|
})
|
|
943
|
-
],
|
|
944
|
+
], BankDetails.prototype, "accountType", 2);
|
|
944
945
|
__decorateClass([
|
|
945
946
|
(0, import_typeorm9.Column)({
|
|
946
947
|
name: "account_scope",
|
|
@@ -948,10 +949,10 @@ __decorateClass([
|
|
|
948
949
|
enum: BankAccountScope,
|
|
949
950
|
default: "domestic" /* DOMESTIC */
|
|
950
951
|
})
|
|
951
|
-
],
|
|
952
|
-
|
|
952
|
+
], BankDetails.prototype, "accountScope", 2);
|
|
953
|
+
BankDetails = __decorateClass([
|
|
953
954
|
(0, import_typeorm9.Entity)("bank_details")
|
|
954
|
-
],
|
|
955
|
+
], BankDetails);
|
|
955
956
|
|
|
956
957
|
// src/entities/user.entity.ts
|
|
957
958
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
@@ -1057,7 +1058,7 @@ __decorateClass([
|
|
|
1057
1058
|
(0, import_typeorm10.OneToMany)(() => Job, (job) => job.user)
|
|
1058
1059
|
], User.prototype, "jobs", 2);
|
|
1059
1060
|
__decorateClass([
|
|
1060
|
-
(0, import_typeorm10.OneToMany)(() =>
|
|
1061
|
+
(0, import_typeorm10.OneToMany)(() => BankDetails, (bankDetails) => bankDetails.user)
|
|
1061
1062
|
], User.prototype, "bankDetails", 2);
|
|
1062
1063
|
User = __decorateClass([
|
|
1063
1064
|
(0, import_typeorm10.Entity)("users")
|
|
@@ -1254,6 +1255,20 @@ __decorateClass([
|
|
|
1254
1255
|
var JOB_ROLE_PATTERN = {
|
|
1255
1256
|
fetchJobRolesForDropdown: "fetch.job.roles.for.dropdown"
|
|
1256
1257
|
};
|
|
1258
|
+
var JOB_PATTERN = {
|
|
1259
|
+
fetchJobs: "fetch.jobs",
|
|
1260
|
+
fetchJobCountAsPerStatus: "fetch.job.count.as.per.status",
|
|
1261
|
+
fetchJobsDropdown: "fetch.jobs.dropdown",
|
|
1262
|
+
fetchJobDetail: "fetch.job.details",
|
|
1263
|
+
fetchJobBasicInformation: "fetch.job.basic.information",
|
|
1264
|
+
createJobBasicInformation: "create.job.basic.information",
|
|
1265
|
+
updateJobBasicInformation: "update.job.basic.information",
|
|
1266
|
+
fetchJobAdditionalComments: "fetch.job.additional.comments",
|
|
1267
|
+
updateJobAdditionalComments: "update.job.additional.comments",
|
|
1268
|
+
fetchJobDescription: "fetch.job.description",
|
|
1269
|
+
updateJobDescription: "update.job.description",
|
|
1270
|
+
updateJobStatus: "update.job.status"
|
|
1271
|
+
};
|
|
1257
1272
|
|
|
1258
1273
|
// src/modules/job/dto/job-basic-information.dto.ts
|
|
1259
1274
|
var import_class_validator18 = require("class-validator");
|
|
@@ -1354,14 +1369,14 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
|
1354
1369
|
JobStatus2["CLOSED"] = "CLOSED";
|
|
1355
1370
|
return JobStatus2;
|
|
1356
1371
|
})(JobStatus || {});
|
|
1357
|
-
var
|
|
1372
|
+
var JobStatusDto = class {
|
|
1358
1373
|
};
|
|
1359
1374
|
__decorateClass([
|
|
1360
1375
|
(0, import_class_validator21.IsNotEmpty)({ message: "Please provide a job status" }),
|
|
1361
1376
|
(0, import_class_validator21.IsEnum)(JobStatus, {
|
|
1362
1377
|
message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
|
|
1363
1378
|
})
|
|
1364
|
-
],
|
|
1379
|
+
], JobStatusDto.prototype, "status", 2);
|
|
1365
1380
|
|
|
1366
1381
|
// src/modules/job/dto/job-id-param.dto.ts
|
|
1367
1382
|
var import_class_validator22 = require("class-validator");
|
|
@@ -1660,6 +1675,7 @@ JobRoles = __decorateClass([
|
|
|
1660
1675
|
BANK_PATTERN,
|
|
1661
1676
|
BankAccountScope,
|
|
1662
1677
|
BankAccountType,
|
|
1678
|
+
BankDetails,
|
|
1663
1679
|
BaseEntity,
|
|
1664
1680
|
CLIENT_PROFILE_PATTERN,
|
|
1665
1681
|
ClientChangePasswordDto,
|
|
@@ -1678,6 +1694,7 @@ JobRoles = __decorateClass([
|
|
|
1678
1694
|
FreelancerUploadResumeDto,
|
|
1679
1695
|
FreelancerWorkShowcaseDto,
|
|
1680
1696
|
FromUsOn,
|
|
1697
|
+
JOB_PATTERN,
|
|
1681
1698
|
JOB_ROLE_PATTERN,
|
|
1682
1699
|
Job,
|
|
1683
1700
|
JobAdditionalCommentDto,
|
|
@@ -1690,6 +1707,7 @@ JobRoles = __decorateClass([
|
|
|
1690
1707
|
JobRoles,
|
|
1691
1708
|
JobSkill,
|
|
1692
1709
|
JobStatus,
|
|
1710
|
+
JobStatusDto,
|
|
1693
1711
|
JobStatusEnum,
|
|
1694
1712
|
JobTCPAdapter,
|
|
1695
1713
|
KindOfHire,
|
|
@@ -1714,11 +1732,9 @@ JobRoles = __decorateClass([
|
|
|
1714
1732
|
Step,
|
|
1715
1733
|
TypeOfEmploymentEnum,
|
|
1716
1734
|
UpdateCompanyProfileDto,
|
|
1717
|
-
UpdateJobStatusDto,
|
|
1718
1735
|
UpdateSubAdminAccountStatusDto,
|
|
1719
1736
|
UpdateSubAdminDto,
|
|
1720
1737
|
User,
|
|
1721
1738
|
UserRMQAdapter,
|
|
1722
|
-
UserTCPAdapter
|
|
1723
|
-
bankDetails
|
|
1739
|
+
UserTCPAdapter
|
|
1724
1740
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -903,50 +903,50 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
|
903
903
|
BankAccountScope2["INTERNATIONAL"] = "international";
|
|
904
904
|
return BankAccountScope2;
|
|
905
905
|
})(BankAccountScope || {});
|
|
906
|
-
var
|
|
906
|
+
var BankDetails = class extends BaseEntity {
|
|
907
907
|
};
|
|
908
908
|
// individual index to find bank details by user
|
|
909
909
|
__decorateClass([
|
|
910
910
|
Column9({ name: "user_id", type: "integer", nullable: true }),
|
|
911
911
|
Index5()
|
|
912
|
-
],
|
|
912
|
+
], BankDetails.prototype, "userId", 2);
|
|
913
913
|
__decorateClass([
|
|
914
914
|
ManyToOne7(() => User, (user) => user.bankDetails),
|
|
915
915
|
JoinColumn7({ name: "user_id" })
|
|
916
|
-
],
|
|
916
|
+
], BankDetails.prototype, "user", 2);
|
|
917
917
|
__decorateClass([
|
|
918
918
|
Column9({ name: "name", type: "varchar", nullable: true })
|
|
919
|
-
],
|
|
919
|
+
], BankDetails.prototype, "name", 2);
|
|
920
920
|
__decorateClass([
|
|
921
921
|
Column9({ name: "mobile", type: "varchar", unique: true, nullable: true })
|
|
922
|
-
],
|
|
922
|
+
], BankDetails.prototype, "mobile", 2);
|
|
923
923
|
__decorateClass([
|
|
924
924
|
Column9({ name: "email", type: "varchar", unique: true })
|
|
925
|
-
],
|
|
925
|
+
], BankDetails.prototype, "email", 2);
|
|
926
926
|
__decorateClass([
|
|
927
927
|
Column9({ name: "address", type: "varchar", nullable: true })
|
|
928
|
-
],
|
|
928
|
+
], BankDetails.prototype, "address", 2);
|
|
929
929
|
__decorateClass([
|
|
930
930
|
Column9({ name: "account_number", type: "varchar", unique: true, nullable: true })
|
|
931
|
-
],
|
|
931
|
+
], BankDetails.prototype, "accountNumber", 2);
|
|
932
932
|
__decorateClass([
|
|
933
933
|
Column9({ name: "bank_name", type: "varchar", nullable: true })
|
|
934
|
-
],
|
|
934
|
+
], BankDetails.prototype, "bankName", 2);
|
|
935
935
|
__decorateClass([
|
|
936
936
|
Column9({ name: "ifsc_code", type: "varchar", nullable: true })
|
|
937
|
-
],
|
|
937
|
+
], BankDetails.prototype, "ifscCode", 2);
|
|
938
938
|
__decorateClass([
|
|
939
939
|
Column9({ name: "branch_name", type: "varchar", nullable: true })
|
|
940
|
-
],
|
|
940
|
+
], BankDetails.prototype, "branchName", 2);
|
|
941
941
|
__decorateClass([
|
|
942
942
|
Column9({ name: "routing_no", type: "varchar", nullable: true })
|
|
943
|
-
],
|
|
943
|
+
], BankDetails.prototype, "routingNo", 2);
|
|
944
944
|
__decorateClass([
|
|
945
945
|
Column9({ name: "aba_no", type: "varchar", nullable: true })
|
|
946
|
-
],
|
|
946
|
+
], BankDetails.prototype, "abaNumber", 2);
|
|
947
947
|
__decorateClass([
|
|
948
948
|
Column9({ name: "iban", type: "varchar", nullable: true })
|
|
949
|
-
],
|
|
949
|
+
], BankDetails.prototype, "iban", 2);
|
|
950
950
|
__decorateClass([
|
|
951
951
|
Column9({
|
|
952
952
|
name: "account_type",
|
|
@@ -954,7 +954,7 @@ __decorateClass([
|
|
|
954
954
|
enum: BankAccountType,
|
|
955
955
|
default: "PRIMARY" /* PRIMARY */
|
|
956
956
|
})
|
|
957
|
-
],
|
|
957
|
+
], BankDetails.prototype, "accountType", 2);
|
|
958
958
|
__decorateClass([
|
|
959
959
|
Column9({
|
|
960
960
|
name: "account_scope",
|
|
@@ -962,10 +962,10 @@ __decorateClass([
|
|
|
962
962
|
enum: BankAccountScope,
|
|
963
963
|
default: "domestic" /* DOMESTIC */
|
|
964
964
|
})
|
|
965
|
-
],
|
|
966
|
-
|
|
965
|
+
], BankDetails.prototype, "accountScope", 2);
|
|
966
|
+
BankDetails = __decorateClass([
|
|
967
967
|
Entity8("bank_details")
|
|
968
|
-
],
|
|
968
|
+
], BankDetails);
|
|
969
969
|
|
|
970
970
|
// src/entities/user.entity.ts
|
|
971
971
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
@@ -1071,7 +1071,7 @@ __decorateClass([
|
|
|
1071
1071
|
OneToMany5(() => Job, (job) => job.user)
|
|
1072
1072
|
], User.prototype, "jobs", 2);
|
|
1073
1073
|
__decorateClass([
|
|
1074
|
-
OneToMany5(() =>
|
|
1074
|
+
OneToMany5(() => BankDetails, (bankDetails) => bankDetails.user)
|
|
1075
1075
|
], User.prototype, "bankDetails", 2);
|
|
1076
1076
|
User = __decorateClass([
|
|
1077
1077
|
Entity9("users")
|
|
@@ -1278,6 +1278,20 @@ __decorateClass([
|
|
|
1278
1278
|
var JOB_ROLE_PATTERN = {
|
|
1279
1279
|
fetchJobRolesForDropdown: "fetch.job.roles.for.dropdown"
|
|
1280
1280
|
};
|
|
1281
|
+
var JOB_PATTERN = {
|
|
1282
|
+
fetchJobs: "fetch.jobs",
|
|
1283
|
+
fetchJobCountAsPerStatus: "fetch.job.count.as.per.status",
|
|
1284
|
+
fetchJobsDropdown: "fetch.jobs.dropdown",
|
|
1285
|
+
fetchJobDetail: "fetch.job.details",
|
|
1286
|
+
fetchJobBasicInformation: "fetch.job.basic.information",
|
|
1287
|
+
createJobBasicInformation: "create.job.basic.information",
|
|
1288
|
+
updateJobBasicInformation: "update.job.basic.information",
|
|
1289
|
+
fetchJobAdditionalComments: "fetch.job.additional.comments",
|
|
1290
|
+
updateJobAdditionalComments: "update.job.additional.comments",
|
|
1291
|
+
fetchJobDescription: "fetch.job.description",
|
|
1292
|
+
updateJobDescription: "update.job.description",
|
|
1293
|
+
updateJobStatus: "update.job.status"
|
|
1294
|
+
};
|
|
1281
1295
|
|
|
1282
1296
|
// src/modules/job/dto/job-basic-information.dto.ts
|
|
1283
1297
|
import {
|
|
@@ -1387,14 +1401,14 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
|
1387
1401
|
JobStatus2["CLOSED"] = "CLOSED";
|
|
1388
1402
|
return JobStatus2;
|
|
1389
1403
|
})(JobStatus || {});
|
|
1390
|
-
var
|
|
1404
|
+
var JobStatusDto = class {
|
|
1391
1405
|
};
|
|
1392
1406
|
__decorateClass([
|
|
1393
1407
|
IsNotEmpty17({ message: "Please provide a job status" }),
|
|
1394
1408
|
IsEnum3(JobStatus, {
|
|
1395
1409
|
message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
|
|
1396
1410
|
})
|
|
1397
|
-
],
|
|
1411
|
+
], JobStatusDto.prototype, "status", 2);
|
|
1398
1412
|
|
|
1399
1413
|
// src/modules/job/dto/job-id-param.dto.ts
|
|
1400
1414
|
import { IsUUID as IsUUID6 } from "class-validator";
|
|
@@ -1702,6 +1716,7 @@ export {
|
|
|
1702
1716
|
BANK_PATTERN,
|
|
1703
1717
|
BankAccountScope,
|
|
1704
1718
|
BankAccountType,
|
|
1719
|
+
BankDetails,
|
|
1705
1720
|
BaseEntity,
|
|
1706
1721
|
CLIENT_PROFILE_PATTERN,
|
|
1707
1722
|
ClientChangePasswordDto,
|
|
@@ -1720,6 +1735,7 @@ export {
|
|
|
1720
1735
|
FreelancerUploadResumeDto,
|
|
1721
1736
|
FreelancerWorkShowcaseDto,
|
|
1722
1737
|
FromUsOn,
|
|
1738
|
+
JOB_PATTERN,
|
|
1723
1739
|
JOB_ROLE_PATTERN,
|
|
1724
1740
|
Job,
|
|
1725
1741
|
JobAdditionalCommentDto,
|
|
@@ -1732,6 +1748,7 @@ export {
|
|
|
1732
1748
|
JobRoles,
|
|
1733
1749
|
JobSkill,
|
|
1734
1750
|
JobStatus,
|
|
1751
|
+
JobStatusDto,
|
|
1735
1752
|
JobStatusEnum,
|
|
1736
1753
|
JobTCPAdapter,
|
|
1737
1754
|
KindOfHire,
|
|
@@ -1756,11 +1773,9 @@ export {
|
|
|
1756
1773
|
Step,
|
|
1757
1774
|
TypeOfEmploymentEnum,
|
|
1758
1775
|
UpdateCompanyProfileDto,
|
|
1759
|
-
UpdateJobStatusDto,
|
|
1760
1776
|
UpdateSubAdminAccountStatusDto,
|
|
1761
1777
|
UpdateSubAdminDto,
|
|
1762
1778
|
User,
|
|
1763
1779
|
UserRMQAdapter,
|
|
1764
|
-
UserTCPAdapter
|
|
1765
|
-
bankDetails
|
|
1780
|
+
UserTCPAdapter
|
|
1766
1781
|
};
|
|
@@ -1,3 +1,17 @@
|
|
|
1
1
|
export declare const JOB_ROLE_PATTERN: {
|
|
2
2
|
fetchJobRolesForDropdown: string;
|
|
3
3
|
};
|
|
4
|
+
export declare const JOB_PATTERN: {
|
|
5
|
+
fetchJobs: string;
|
|
6
|
+
fetchJobCountAsPerStatus: string;
|
|
7
|
+
fetchJobsDropdown: string;
|
|
8
|
+
fetchJobDetail: string;
|
|
9
|
+
fetchJobBasicInformation: string;
|
|
10
|
+
createJobBasicInformation: string;
|
|
11
|
+
updateJobBasicInformation: string;
|
|
12
|
+
fetchJobAdditionalComments: string;
|
|
13
|
+
updateJobAdditionalComments: string;
|
|
14
|
+
fetchJobDescription: string;
|
|
15
|
+
updateJobDescription: string;
|
|
16
|
+
updateJobStatus: string;
|
|
17
|
+
};
|