@experts_hub/shared 1.0.95 → 1.0.96

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",
@@ -42,5 +42,5 @@ export declare class User extends BaseEntity {
42
42
  freelancerProfile: FreelancerProfile;
43
43
  companyProfile: CompanyProfile;
44
44
  jobs: Job[];
45
- bankDetails: BankDetails[];
45
+ bankDetail: BankDetail[];
46
46
  }
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;
@@ -421,7 +421,7 @@ declare class User extends BaseEntity {
421
421
  freelancerProfile: FreelancerProfile;
422
422
  companyProfile: CompanyProfile;
423
423
  jobs: Job[];
424
- bankDetails: BankDetails[];
424
+ bankDetail: BankDetail[];
425
425
  }
426
426
 
427
427
  declare enum KindOfHire {
@@ -636,6 +636,8 @@ declare class FreelancerChangePasswordDto {
636
636
 
637
637
  declare const BANK_PATTERN: {
638
638
  addFreelancerBankDetails: string;
639
+ fetchFreelancerBankDetails: string;
640
+ updateFreelancerBankDetails: string;
639
641
  };
640
642
 
641
643
  declare class FreelancerBankDetailsDto {
@@ -686,4 +688,4 @@ declare class JobRoles extends BaseEntity {
686
688
  isActive: boolean;
687
689
  }
688
690
 
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 };
691
+ 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;
@@ -421,7 +421,7 @@ declare class User extends BaseEntity {
421
421
  freelancerProfile: FreelancerProfile;
422
422
  companyProfile: CompanyProfile;
423
423
  jobs: Job[];
424
- bankDetails: BankDetails[];
424
+ bankDetail: BankDetail[];
425
425
  }
426
426
 
427
427
  declare enum KindOfHire {
@@ -636,6 +636,8 @@ declare class FreelancerChangePasswordDto {
636
636
 
637
637
  declare const BANK_PATTERN: {
638
638
  addFreelancerBankDetails: string;
639
+ fetchFreelancerBankDetails: string;
640
+ updateFreelancerBankDetails: string;
639
641
  };
640
642
 
641
643
  declare class FreelancerBankDetailsDto {
@@ -686,4 +688,4 @@ declare class JobRoles extends BaseEntity {
686
688
  isActive: boolean;
687
689
  }
688
690
 
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 };
691
+ 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) => {
@@ -1079,8 +1079,8 @@ __decorateClass([
1079
1079
  (0, import_typeorm10.OneToMany)(() => Job, (job) => job.user)
1080
1080
  ], User.prototype, "jobs", 2);
1081
1081
  __decorateClass([
1082
- (0, import_typeorm10.OneToMany)(() => BankDetails, (bankDetails) => bankDetails.user)
1083
- ], User.prototype, "bankDetails", 2);
1082
+ (0, import_typeorm10.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
1083
+ ], User.prototype, "bankDetail", 2);
1084
1084
  User = __decorateClass([
1085
1085
  (0, import_typeorm10.Entity)("users")
1086
1086
  ], User);
@@ -1436,7 +1436,9 @@ __decorateClass([
1436
1436
 
1437
1437
  // src/modules/bank/pattern/pattern.ts
1438
1438
  var BANK_PATTERN = {
1439
- addFreelancerBankDetails: "add.freelancer.bankdetails"
1439
+ addFreelancerBankDetails: "add.freelancer.bankdetails",
1440
+ fetchFreelancerBankDetails: "fetch.freelancer.bank.details",
1441
+ updateFreelancerBankDetails: "update.freelancer.bank.details"
1440
1442
  };
1441
1443
 
1442
1444
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
@@ -1694,7 +1696,7 @@ JobRoles = __decorateClass([
1694
1696
  BANK_PATTERN,
1695
1697
  BankAccountScope,
1696
1698
  BankAccountType,
1697
- BankDetails,
1699
+ BankDetail,
1698
1700
  BaseEntity,
1699
1701
  CLIENT_PROFILE_PATTERN,
1700
1702
  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) => {
@@ -1088,8 +1088,8 @@ __decorateClass([
1088
1088
  OneToMany5(() => Job, (job) => job.user)
1089
1089
  ], User.prototype, "jobs", 2);
1090
1090
  __decorateClass([
1091
- OneToMany5(() => BankDetails, (bankDetails) => bankDetails.user)
1092
- ], User.prototype, "bankDetails", 2);
1091
+ OneToMany5(() => BankDetail, (bankDetail) => bankDetail.user)
1092
+ ], User.prototype, "bankDetail", 2);
1093
1093
  User = __decorateClass([
1094
1094
  Entity9("users")
1095
1095
  ], User);
@@ -1470,7 +1470,9 @@ __decorateClass([
1470
1470
 
1471
1471
  // src/modules/bank/pattern/pattern.ts
1472
1472
  var BANK_PATTERN = {
1473
- addFreelancerBankDetails: "add.freelancer.bankdetails"
1473
+ addFreelancerBankDetails: "add.freelancer.bankdetails",
1474
+ fetchFreelancerBankDetails: "fetch.freelancer.bank.details",
1475
+ updateFreelancerBankDetails: "update.freelancer.bank.details"
1474
1476
  };
1475
1477
 
1476
1478
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
@@ -1731,7 +1733,7 @@ export {
1731
1733
  BANK_PATTERN,
1732
1734
  BankAccountScope,
1733
1735
  BankAccountType,
1734
- BankDetails,
1736
+ BankDetail,
1735
1737
  BaseEntity,
1736
1738
  CLIENT_PROFILE_PATTERN,
1737
1739
  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.96",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",