@experts_hub/shared 1.0.95 → 1.0.97

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.
@@ -8,7 +8,7 @@ export declare enum BankAccountScope {
8
8
  DOMESTIC = "domestic",
9
9
  INTERNATIONAL = "international"
10
10
  }
11
- export declare class BankDetails extends BaseEntity {
11
+ export declare class BankDetail 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 { BankDetails } from "./bank-details.entity";
8
+ import { BankDetail } from "./bank-details.entity";
9
9
  export declare enum AccountType {
10
10
  ADMIN = "ADMIN",
11
11
  SUB_ADMIN = "SUB_ADMIN",
@@ -36,11 +36,13 @@ export declare class User extends BaseEntity {
36
36
  isMobileVerified: boolean;
37
37
  lastLoginAt: Date;
38
38
  lastLoginIp: string;
39
+ resetToken: string;
40
+ resetTokenExpireAt: Date;
39
41
  refreshTokens: RefreshToken[];
40
42
  otps: Otp[];
41
43
  resumeParserLogs: ResumeParserLog[];
42
44
  freelancerProfile: FreelancerProfile;
43
45
  companyProfile: CompanyProfile;
44
46
  jobs: Job[];
45
- bankDetails: BankDetails[];
47
+ bankDetail: BankDetail[];
46
48
  }
package/dist/index.d.mts CHANGED
@@ -367,7 +367,7 @@ declare enum BankAccountScope {
367
367
  DOMESTIC = "domestic",
368
368
  INTERNATIONAL = "international"
369
369
  }
370
- declare class BankDetails extends BaseEntity {
370
+ declare class BankDetail extends BaseEntity {
371
371
  userId: number;
372
372
  user: User;
373
373
  name: string;
@@ -415,13 +415,15 @@ declare class User extends BaseEntity {
415
415
  isMobileVerified: boolean;
416
416
  lastLoginAt: Date;
417
417
  lastLoginIp: string;
418
+ resetToken: string;
419
+ resetTokenExpireAt: Date;
418
420
  refreshTokens: RefreshToken[];
419
421
  otps: Otp[];
420
422
  resumeParserLogs: ResumeParserLog[];
421
423
  freelancerProfile: FreelancerProfile;
422
424
  companyProfile: CompanyProfile;
423
425
  jobs: Job[];
424
- bankDetails: BankDetails[];
426
+ bankDetail: BankDetail[];
425
427
  }
426
428
 
427
429
  declare enum KindOfHire {
@@ -636,6 +638,8 @@ declare class FreelancerChangePasswordDto {
636
638
 
637
639
  declare const BANK_PATTERN: {
638
640
  addFreelancerBankDetails: string;
641
+ fetchFreelancerBankDetails: string;
642
+ updateFreelancerBankDetails: string;
639
643
  };
640
644
 
641
645
  declare class FreelancerBankDetailsDto {
@@ -686,4 +690,4 @@ declare class JobRoles extends BaseEntity {
686
690
  isActive: boolean;
687
691
  }
688
692
 
689
- 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, OnboardingStepEnum, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, ScopeEnum, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
693
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetail, 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, OnboardingStepEnum, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, ScopeEnum, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -367,7 +367,7 @@ declare enum BankAccountScope {
367
367
  DOMESTIC = "domestic",
368
368
  INTERNATIONAL = "international"
369
369
  }
370
- declare class BankDetails extends BaseEntity {
370
+ declare class BankDetail extends BaseEntity {
371
371
  userId: number;
372
372
  user: User;
373
373
  name: string;
@@ -415,13 +415,15 @@ declare class User extends BaseEntity {
415
415
  isMobileVerified: boolean;
416
416
  lastLoginAt: Date;
417
417
  lastLoginIp: string;
418
+ resetToken: string;
419
+ resetTokenExpireAt: Date;
418
420
  refreshTokens: RefreshToken[];
419
421
  otps: Otp[];
420
422
  resumeParserLogs: ResumeParserLog[];
421
423
  freelancerProfile: FreelancerProfile;
422
424
  companyProfile: CompanyProfile;
423
425
  jobs: Job[];
424
- bankDetails: BankDetails[];
426
+ bankDetail: BankDetail[];
425
427
  }
426
428
 
427
429
  declare enum KindOfHire {
@@ -636,6 +638,8 @@ declare class FreelancerChangePasswordDto {
636
638
 
637
639
  declare const BANK_PATTERN: {
638
640
  addFreelancerBankDetails: string;
641
+ fetchFreelancerBankDetails: string;
642
+ updateFreelancerBankDetails: string;
639
643
  };
640
644
 
641
645
  declare class FreelancerBankDetailsDto {
@@ -686,4 +690,4 @@ declare class JobRoles extends BaseEntity {
686
690
  isActive: boolean;
687
691
  }
688
692
 
689
- 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, OnboardingStepEnum, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, ScopeEnum, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
693
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetail, 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, OnboardingStepEnum, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, ScopeEnum, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ __export(index_exports, {
33
33
  BANK_PATTERN: () => BANK_PATTERN,
34
34
  BankAccountScope: () => BankAccountScope,
35
35
  BankAccountType: () => BankAccountType,
36
- BankDetails: () => BankDetails,
36
+ BankDetail: () => BankDetail,
37
37
  BaseEntity: () => BaseEntity,
38
38
  CLIENT_PROFILE_PATTERN: () => CLIENT_PROFILE_PATTERN,
39
39
  ClientChangePasswordDto: () => ClientChangePasswordDto,
@@ -911,50 +911,50 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
911
911
  BankAccountScope2["INTERNATIONAL"] = "international";
912
912
  return BankAccountScope2;
913
913
  })(BankAccountScope || {});
914
- var BankDetails = class extends BaseEntity {
914
+ var BankDetail = class extends BaseEntity {
915
915
  };
916
916
  // individual index to find bank details by user
917
917
  __decorateClass([
918
918
  (0, import_typeorm9.Column)({ name: "user_id", type: "integer", nullable: true }),
919
919
  (0, import_typeorm9.Index)()
920
- ], BankDetails.prototype, "userId", 2);
920
+ ], BankDetail.prototype, "userId", 2);
921
921
  __decorateClass([
922
- (0, import_typeorm9.ManyToOne)(() => User, (user) => user.bankDetails),
922
+ (0, import_typeorm9.ManyToOne)(() => User, (user) => user.bankDetail),
923
923
  (0, import_typeorm9.JoinColumn)({ name: "user_id" })
924
- ], BankDetails.prototype, "user", 2);
924
+ ], BankDetail.prototype, "user", 2);
925
925
  __decorateClass([
926
926
  (0, import_typeorm9.Column)({ name: "name", type: "varchar", nullable: true })
927
- ], BankDetails.prototype, "name", 2);
927
+ ], BankDetail.prototype, "name", 2);
928
928
  __decorateClass([
929
929
  (0, import_typeorm9.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
930
- ], BankDetails.prototype, "mobile", 2);
930
+ ], BankDetail.prototype, "mobile", 2);
931
931
  __decorateClass([
932
932
  (0, import_typeorm9.Column)({ name: "email", type: "varchar", unique: true })
933
- ], BankDetails.prototype, "email", 2);
933
+ ], BankDetail.prototype, "email", 2);
934
934
  __decorateClass([
935
935
  (0, import_typeorm9.Column)({ name: "address", type: "varchar", nullable: true })
936
- ], BankDetails.prototype, "address", 2);
936
+ ], BankDetail.prototype, "address", 2);
937
937
  __decorateClass([
938
938
  (0, import_typeorm9.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
939
- ], BankDetails.prototype, "accountNumber", 2);
939
+ ], BankDetail.prototype, "accountNumber", 2);
940
940
  __decorateClass([
941
941
  (0, import_typeorm9.Column)({ name: "bank_name", type: "varchar", nullable: true })
942
- ], BankDetails.prototype, "bankName", 2);
942
+ ], BankDetail.prototype, "bankName", 2);
943
943
  __decorateClass([
944
944
  (0, import_typeorm9.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
945
- ], BankDetails.prototype, "ifscCode", 2);
945
+ ], BankDetail.prototype, "ifscCode", 2);
946
946
  __decorateClass([
947
947
  (0, import_typeorm9.Column)({ name: "branch_name", type: "varchar", nullable: true })
948
- ], BankDetails.prototype, "branchName", 2);
948
+ ], BankDetail.prototype, "branchName", 2);
949
949
  __decorateClass([
950
950
  (0, import_typeorm9.Column)({ name: "routing_no", type: "varchar", nullable: true })
951
- ], BankDetails.prototype, "routingNo", 2);
951
+ ], BankDetail.prototype, "routingNo", 2);
952
952
  __decorateClass([
953
953
  (0, import_typeorm9.Column)({ name: "aba_no", type: "varchar", nullable: true })
954
- ], BankDetails.prototype, "abaNumber", 2);
954
+ ], BankDetail.prototype, "abaNumber", 2);
955
955
  __decorateClass([
956
956
  (0, import_typeorm9.Column)({ name: "iban", type: "varchar", nullable: true })
957
- ], BankDetails.prototype, "iban", 2);
957
+ ], BankDetail.prototype, "iban", 2);
958
958
  __decorateClass([
959
959
  (0, import_typeorm9.Column)({
960
960
  name: "account_type",
@@ -962,7 +962,7 @@ __decorateClass([
962
962
  enum: BankAccountType,
963
963
  default: "PRIMARY" /* PRIMARY */
964
964
  })
965
- ], BankDetails.prototype, "accountType", 2);
965
+ ], BankDetail.prototype, "accountType", 2);
966
966
  __decorateClass([
967
967
  (0, import_typeorm9.Column)({
968
968
  name: "account_scope",
@@ -970,10 +970,10 @@ __decorateClass([
970
970
  enum: BankAccountScope,
971
971
  default: "domestic" /* DOMESTIC */
972
972
  })
973
- ], BankDetails.prototype, "accountScope", 2);
974
- BankDetails = __decorateClass([
973
+ ], BankDetail.prototype, "accountScope", 2);
974
+ BankDetail = __decorateClass([
975
975
  (0, import_typeorm9.Entity)("bank_details")
976
- ], BankDetails);
976
+ ], BankDetail);
977
977
 
978
978
  // src/entities/user.entity.ts
979
979
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
@@ -1057,6 +1057,12 @@ __decorateClass([
1057
1057
  __decorateClass([
1058
1058
  (0, import_typeorm10.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
1059
1059
  ], User.prototype, "lastLoginIp", 2);
1060
+ __decorateClass([
1061
+ (0, import_typeorm10.Column)({ name: "reset_token", type: "varchar", nullable: true })
1062
+ ], User.prototype, "resetToken", 2);
1063
+ __decorateClass([
1064
+ (0, import_typeorm10.Column)({ name: "reset_token_expire_at", type: "timestamp with time zone", nullable: true })
1065
+ ], User.prototype, "resetTokenExpireAt", 2);
1060
1066
  __decorateClass([
1061
1067
  (0, import_typeorm10.OneToMany)(() => RefreshToken, (token) => token.user)
1062
1068
  ], User.prototype, "refreshTokens", 2);
@@ -1079,8 +1085,8 @@ __decorateClass([
1079
1085
  (0, import_typeorm10.OneToMany)(() => Job, (job) => job.user)
1080
1086
  ], User.prototype, "jobs", 2);
1081
1087
  __decorateClass([
1082
- (0, import_typeorm10.OneToMany)(() => BankDetails, (bankDetails) => bankDetails.user)
1083
- ], User.prototype, "bankDetails", 2);
1088
+ (0, import_typeorm10.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
1089
+ ], User.prototype, "bankDetail", 2);
1084
1090
  User = __decorateClass([
1085
1091
  (0, import_typeorm10.Entity)("users")
1086
1092
  ], User);
@@ -1436,7 +1442,9 @@ __decorateClass([
1436
1442
 
1437
1443
  // src/modules/bank/pattern/pattern.ts
1438
1444
  var BANK_PATTERN = {
1439
- addFreelancerBankDetails: "add.freelancer.bankdetails"
1445
+ addFreelancerBankDetails: "add.freelancer.bankdetails",
1446
+ fetchFreelancerBankDetails: "fetch.freelancer.bank.details",
1447
+ updateFreelancerBankDetails: "update.freelancer.bank.details"
1440
1448
  };
1441
1449
 
1442
1450
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
@@ -1694,7 +1702,7 @@ JobRoles = __decorateClass([
1694
1702
  BANK_PATTERN,
1695
1703
  BankAccountScope,
1696
1704
  BankAccountType,
1697
- BankDetails,
1705
+ BankDetail,
1698
1706
  BaseEntity,
1699
1707
  CLIENT_PROFILE_PATTERN,
1700
1708
  ClientChangePasswordDto,
package/dist/index.mjs CHANGED
@@ -920,50 +920,50 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
920
920
  BankAccountScope2["INTERNATIONAL"] = "international";
921
921
  return BankAccountScope2;
922
922
  })(BankAccountScope || {});
923
- var BankDetails = class extends BaseEntity {
923
+ var BankDetail = class extends BaseEntity {
924
924
  };
925
925
  // individual index to find bank details by user
926
926
  __decorateClass([
927
927
  Column9({ name: "user_id", type: "integer", nullable: true }),
928
928
  Index5()
929
- ], BankDetails.prototype, "userId", 2);
929
+ ], BankDetail.prototype, "userId", 2);
930
930
  __decorateClass([
931
- ManyToOne7(() => User, (user) => user.bankDetails),
931
+ ManyToOne7(() => User, (user) => user.bankDetail),
932
932
  JoinColumn7({ name: "user_id" })
933
- ], BankDetails.prototype, "user", 2);
933
+ ], BankDetail.prototype, "user", 2);
934
934
  __decorateClass([
935
935
  Column9({ name: "name", type: "varchar", nullable: true })
936
- ], BankDetails.prototype, "name", 2);
936
+ ], BankDetail.prototype, "name", 2);
937
937
  __decorateClass([
938
938
  Column9({ name: "mobile", type: "varchar", unique: true, nullable: true })
939
- ], BankDetails.prototype, "mobile", 2);
939
+ ], BankDetail.prototype, "mobile", 2);
940
940
  __decorateClass([
941
941
  Column9({ name: "email", type: "varchar", unique: true })
942
- ], BankDetails.prototype, "email", 2);
942
+ ], BankDetail.prototype, "email", 2);
943
943
  __decorateClass([
944
944
  Column9({ name: "address", type: "varchar", nullable: true })
945
- ], BankDetails.prototype, "address", 2);
945
+ ], BankDetail.prototype, "address", 2);
946
946
  __decorateClass([
947
947
  Column9({ name: "account_number", type: "varchar", unique: true, nullable: true })
948
- ], BankDetails.prototype, "accountNumber", 2);
948
+ ], BankDetail.prototype, "accountNumber", 2);
949
949
  __decorateClass([
950
950
  Column9({ name: "bank_name", type: "varchar", nullable: true })
951
- ], BankDetails.prototype, "bankName", 2);
951
+ ], BankDetail.prototype, "bankName", 2);
952
952
  __decorateClass([
953
953
  Column9({ name: "ifsc_code", type: "varchar", nullable: true })
954
- ], BankDetails.prototype, "ifscCode", 2);
954
+ ], BankDetail.prototype, "ifscCode", 2);
955
955
  __decorateClass([
956
956
  Column9({ name: "branch_name", type: "varchar", nullable: true })
957
- ], BankDetails.prototype, "branchName", 2);
957
+ ], BankDetail.prototype, "branchName", 2);
958
958
  __decorateClass([
959
959
  Column9({ name: "routing_no", type: "varchar", nullable: true })
960
- ], BankDetails.prototype, "routingNo", 2);
960
+ ], BankDetail.prototype, "routingNo", 2);
961
961
  __decorateClass([
962
962
  Column9({ name: "aba_no", type: "varchar", nullable: true })
963
- ], BankDetails.prototype, "abaNumber", 2);
963
+ ], BankDetail.prototype, "abaNumber", 2);
964
964
  __decorateClass([
965
965
  Column9({ name: "iban", type: "varchar", nullable: true })
966
- ], BankDetails.prototype, "iban", 2);
966
+ ], BankDetail.prototype, "iban", 2);
967
967
  __decorateClass([
968
968
  Column9({
969
969
  name: "account_type",
@@ -971,7 +971,7 @@ __decorateClass([
971
971
  enum: BankAccountType,
972
972
  default: "PRIMARY" /* PRIMARY */
973
973
  })
974
- ], BankDetails.prototype, "accountType", 2);
974
+ ], BankDetail.prototype, "accountType", 2);
975
975
  __decorateClass([
976
976
  Column9({
977
977
  name: "account_scope",
@@ -979,10 +979,10 @@ __decorateClass([
979
979
  enum: BankAccountScope,
980
980
  default: "domestic" /* DOMESTIC */
981
981
  })
982
- ], BankDetails.prototype, "accountScope", 2);
983
- BankDetails = __decorateClass([
982
+ ], BankDetail.prototype, "accountScope", 2);
983
+ BankDetail = __decorateClass([
984
984
  Entity8("bank_details")
985
- ], BankDetails);
985
+ ], BankDetail);
986
986
 
987
987
  // src/entities/user.entity.ts
988
988
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
@@ -1066,6 +1066,12 @@ __decorateClass([
1066
1066
  __decorateClass([
1067
1067
  Column10({ name: "last_login_ip", type: "varchar", nullable: true })
1068
1068
  ], User.prototype, "lastLoginIp", 2);
1069
+ __decorateClass([
1070
+ Column10({ name: "reset_token", type: "varchar", nullable: true })
1071
+ ], User.prototype, "resetToken", 2);
1072
+ __decorateClass([
1073
+ Column10({ name: "reset_token_expire_at", type: "timestamp with time zone", nullable: true })
1074
+ ], User.prototype, "resetTokenExpireAt", 2);
1069
1075
  __decorateClass([
1070
1076
  OneToMany5(() => RefreshToken, (token) => token.user)
1071
1077
  ], User.prototype, "refreshTokens", 2);
@@ -1088,8 +1094,8 @@ __decorateClass([
1088
1094
  OneToMany5(() => Job, (job) => job.user)
1089
1095
  ], User.prototype, "jobs", 2);
1090
1096
  __decorateClass([
1091
- OneToMany5(() => BankDetails, (bankDetails) => bankDetails.user)
1092
- ], User.prototype, "bankDetails", 2);
1097
+ OneToMany5(() => BankDetail, (bankDetail) => bankDetail.user)
1098
+ ], User.prototype, "bankDetail", 2);
1093
1099
  User = __decorateClass([
1094
1100
  Entity9("users")
1095
1101
  ], User);
@@ -1470,7 +1476,9 @@ __decorateClass([
1470
1476
 
1471
1477
  // src/modules/bank/pattern/pattern.ts
1472
1478
  var BANK_PATTERN = {
1473
- addFreelancerBankDetails: "add.freelancer.bankdetails"
1479
+ addFreelancerBankDetails: "add.freelancer.bankdetails",
1480
+ fetchFreelancerBankDetails: "fetch.freelancer.bank.details",
1481
+ updateFreelancerBankDetails: "update.freelancer.bank.details"
1474
1482
  };
1475
1483
 
1476
1484
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
@@ -1731,7 +1739,7 @@ export {
1731
1739
  BANK_PATTERN,
1732
1740
  BankAccountScope,
1733
1741
  BankAccountType,
1734
- BankDetails,
1742
+ BankDetail,
1735
1743
  BaseEntity,
1736
1744
  CLIENT_PROFILE_PATTERN,
1737
1745
  ClientChangePasswordDto,
@@ -1,3 +1,5 @@
1
1
  export declare const BANK_PATTERN: {
2
2
  addFreelancerBankDetails: string;
3
+ fetchFreelancerBankDetails: string;
4
+ updateFreelancerBankDetails: string;
3
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",