@experts_hub/shared 1.0.652 → 1.0.654

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.mjs CHANGED
@@ -982,13 +982,13 @@ import { IsEnum as IsEnum13 } from "class-validator";
982
982
 
983
983
  // src/entities/user.entity.ts
984
984
  import {
985
- Entity as Entity66,
986
- Column as Column67,
985
+ Entity as Entity67,
986
+ Column as Column68,
987
987
  OneToMany as OneToMany24,
988
988
  OneToOne as OneToOne13,
989
- Index as Index59,
990
- ManyToOne as ManyToOne61,
991
- JoinColumn as JoinColumn62
989
+ Index as Index60,
990
+ ManyToOne as ManyToOne62,
991
+ JoinColumn as JoinColumn63
992
992
  } from "typeorm";
993
993
 
994
994
  // src/entities/base.entity.ts
@@ -5753,6 +5753,40 @@ FreelancerAssessmentRequest = __decorateClass([
5753
5753
  Entity65({ name: "freelancer_assessment_requests" })
5754
5754
  ], FreelancerAssessmentRequest);
5755
5755
 
5756
+ // src/entities/in-app-notification.entity.ts
5757
+ import { Entity as Entity66, Column as Column67, Index as Index59, ManyToOne as ManyToOne61, JoinColumn as JoinColumn62 } from "typeorm";
5758
+ var InAppNotification = class extends BaseEntity {
5759
+ };
5760
+ __decorateClass([
5761
+ Column67({ name: "user_id", type: "integer", nullable: true }),
5762
+ Index59()
5763
+ ], InAppNotification.prototype, "userId", 2);
5764
+ __decorateClass([
5765
+ ManyToOne61(() => User, (user) => user.inAppNotifications),
5766
+ JoinColumn62({ name: "user_id" })
5767
+ ], InAppNotification.prototype, "user", 2);
5768
+ __decorateClass([
5769
+ Column67({ name: "event", type: "varchar", nullable: true })
5770
+ ], InAppNotification.prototype, "event", 2);
5771
+ __decorateClass([
5772
+ Column67({ name: "title", type: "varchar", nullable: true })
5773
+ ], InAppNotification.prototype, "title", 2);
5774
+ __decorateClass([
5775
+ Column67({ name: "message", type: "varchar", nullable: true })
5776
+ ], InAppNotification.prototype, "message", 2);
5777
+ __decorateClass([
5778
+ Column67({ name: "redirect_url", type: "varchar", nullable: true })
5779
+ ], InAppNotification.prototype, "redirectUrl", 2);
5780
+ __decorateClass([
5781
+ Column67({ name: "is_read", type: "boolean", default: false })
5782
+ ], InAppNotification.prototype, "isRead", 2);
5783
+ __decorateClass([
5784
+ Column67({ name: "meta_data", type: "jsonb", nullable: true })
5785
+ ], InAppNotification.prototype, "metaData", 2);
5786
+ InAppNotification = __decorateClass([
5787
+ Entity66("in_app_notifications")
5788
+ ], InAppNotification);
5789
+
5756
5790
  // src/entities/user.entity.ts
5757
5791
  var AccountType2 = /* @__PURE__ */ ((AccountType4) => {
5758
5792
  AccountType4["SUPER_ADMIN"] = "SUPER_ADMIN";
@@ -5779,51 +5813,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
5779
5813
  var User = class extends BaseEntity {
5780
5814
  };
5781
5815
  __decorateClass([
5782
- Column67({ name: "unique_id", type: "varchar", unique: true })
5816
+ Column68({ name: "unique_id", type: "varchar", unique: true })
5783
5817
  ], User.prototype, "uniqueId", 2);
5784
5818
  __decorateClass([
5785
- Column67({ name: "parent_id", type: "integer", nullable: true }),
5786
- Index59()
5819
+ Column68({ name: "parent_id", type: "integer", nullable: true }),
5820
+ Index60()
5787
5821
  ], User.prototype, "parentId", 2);
5788
5822
  __decorateClass([
5789
- ManyToOne61(() => User, (user) => user.children, { nullable: true }),
5790
- JoinColumn62({ name: "parent_id" })
5823
+ ManyToOne62(() => User, (user) => user.children, { nullable: true }),
5824
+ JoinColumn63({ name: "parent_id" })
5791
5825
  ], User.prototype, "parent", 2);
5792
5826
  __decorateClass([
5793
5827
  OneToMany24(() => User, (user) => user.parent)
5794
5828
  ], User.prototype, "children", 2);
5795
5829
  __decorateClass([
5796
- Column67({ name: "username", type: "varchar", unique: true, nullable: true })
5830
+ Column68({ name: "username", type: "varchar", unique: true, nullable: true })
5797
5831
  ], User.prototype, "username", 2);
5798
5832
  __decorateClass([
5799
- Column67({ name: "first_name", type: "varchar", length: 100, nullable: true })
5833
+ Column68({ name: "first_name", type: "varchar", length: 100, nullable: true })
5800
5834
  ], User.prototype, "firstName", 2);
5801
5835
  __decorateClass([
5802
- Column67({ name: "last_name", type: "varchar", length: 100, nullable: true })
5836
+ Column68({ name: "last_name", type: "varchar", length: 100, nullable: true })
5803
5837
  ], User.prototype, "lastName", 2);
5804
5838
  __decorateClass([
5805
- Column67({ name: "date_of_birth", type: "date", nullable: true })
5839
+ Column68({ name: "date_of_birth", type: "date", nullable: true })
5806
5840
  ], User.prototype, "dateOfBirth", 2);
5807
5841
  __decorateClass([
5808
- Column67({ name: "gender", type: "varchar", length: 10, nullable: true })
5842
+ Column68({ name: "gender", type: "varchar", length: 10, nullable: true })
5809
5843
  ], User.prototype, "gender", 2);
5810
5844
  __decorateClass([
5811
- Column67({ name: "profile_picture_url", type: "text", nullable: true })
5845
+ Column68({ name: "profile_picture_url", type: "text", nullable: true })
5812
5846
  ], User.prototype, "profilePictureUrl", 2);
5813
5847
  __decorateClass([
5814
- Column67({ name: "email", type: "varchar", unique: true })
5848
+ Column68({ name: "email", type: "varchar", unique: true })
5815
5849
  ], User.prototype, "email", 2);
5816
5850
  __decorateClass([
5817
- Column67({ name: "mobile_code", type: "varchar", nullable: true })
5851
+ Column68({ name: "mobile_code", type: "varchar", nullable: true })
5818
5852
  ], User.prototype, "mobileCode", 2);
5819
5853
  __decorateClass([
5820
- Column67({ name: "mobile", type: "varchar", nullable: true })
5854
+ Column68({ name: "mobile", type: "varchar", nullable: true })
5821
5855
  ], User.prototype, "mobile", 2);
5822
5856
  __decorateClass([
5823
- Column67({ name: "password", type: "varchar", nullable: true })
5857
+ Column68({ name: "password", type: "varchar", nullable: true })
5824
5858
  ], User.prototype, "password", 2);
5825
5859
  __decorateClass([
5826
- Column67({
5860
+ Column68({
5827
5861
  name: "account_type",
5828
5862
  type: "enum",
5829
5863
  enum: AccountType2,
@@ -5831,7 +5865,7 @@ __decorateClass([
5831
5865
  })
5832
5866
  ], User.prototype, "accountType", 2);
5833
5867
  __decorateClass([
5834
- Column67({
5868
+ Column68({
5835
5869
  name: "account_status",
5836
5870
  type: "enum",
5837
5871
  enum: AccountStatus,
@@ -5839,42 +5873,42 @@ __decorateClass([
5839
5873
  })
5840
5874
  ], User.prototype, "accountStatus", 2);
5841
5875
  __decorateClass([
5842
- Column67({ name: "is_email_verified", type: "boolean", default: false })
5876
+ Column68({ name: "is_email_verified", type: "boolean", default: false })
5843
5877
  ], User.prototype, "isEmailVerified", 2);
5844
5878
  __decorateClass([
5845
- Column67({ name: "is_mobile_verified", type: "boolean", default: false })
5879
+ Column68({ name: "is_mobile_verified", type: "boolean", default: false })
5846
5880
  ], User.prototype, "isMobileVerified", 2);
5847
5881
  __decorateClass([
5848
- Column67({ name: "is_social", type: "boolean", default: false })
5882
+ Column68({ name: "is_social", type: "boolean", default: false })
5849
5883
  ], User.prototype, "isSocial", 2);
5850
5884
  __decorateClass([
5851
- Column67({
5885
+ Column68({
5852
5886
  name: "last_login_at",
5853
5887
  type: "timestamp with time zone",
5854
5888
  nullable: true
5855
5889
  })
5856
5890
  ], User.prototype, "lastLoginAt", 2);
5857
5891
  __decorateClass([
5858
- Column67({ name: "last_login_ip", type: "varchar", nullable: true })
5892
+ Column68({ name: "last_login_ip", type: "varchar", nullable: true })
5859
5893
  ], User.prototype, "lastLoginIp", 2);
5860
5894
  __decorateClass([
5861
- Column67({ name: "reset_token", type: "varchar", nullable: true })
5895
+ Column68({ name: "reset_token", type: "varchar", nullable: true })
5862
5896
  ], User.prototype, "resetToken", 2);
5863
5897
  __decorateClass([
5864
- Column67({
5898
+ Column68({
5865
5899
  name: "reset_token_expire_at",
5866
5900
  type: "timestamp with time zone",
5867
5901
  nullable: true
5868
5902
  })
5869
5903
  ], User.prototype, "resetTokenExpireAt", 2);
5870
5904
  __decorateClass([
5871
- Column67({ name: "set_password_token", type: "varchar", nullable: true })
5905
+ Column68({ name: "set_password_token", type: "varchar", nullable: true })
5872
5906
  ], User.prototype, "setPasswordToken", 2);
5873
5907
  __decorateClass([
5874
5908
  OneToMany24(() => RefreshToken, (token) => token.user)
5875
5909
  ], User.prototype, "refreshTokens", 2);
5876
5910
  __decorateClass([
5877
- Column67({
5911
+ Column68({
5878
5912
  name: "provider",
5879
5913
  type: "enum",
5880
5914
  enum: Provider,
@@ -5883,19 +5917,19 @@ __decorateClass([
5883
5917
  })
5884
5918
  ], User.prototype, "provider", 2);
5885
5919
  __decorateClass([
5886
- Column67({ name: "provider_token", type: "varchar", nullable: true })
5920
+ Column68({ name: "provider_token", type: "varchar", nullable: true })
5887
5921
  ], User.prototype, "providerToken", 2);
5888
5922
  __decorateClass([
5889
- Column67({ name: "linkedin_id", type: "varchar", nullable: true })
5923
+ Column68({ name: "linkedin_id", type: "varchar", nullable: true })
5890
5924
  ], User.prototype, "linkedInId", 2);
5891
5925
  __decorateClass([
5892
- Column67({ name: "google_id", type: "varchar", nullable: true })
5926
+ Column68({ name: "google_id", type: "varchar", nullable: true })
5893
5927
  ], User.prototype, "googleId", 2);
5894
5928
  __decorateClass([
5895
- Column67({ name: "gitlabs_id", type: "varchar", nullable: true })
5929
+ Column68({ name: "gitlabs_id", type: "varchar", nullable: true })
5896
5930
  ], User.prototype, "gitLabsId", 2);
5897
5931
  __decorateClass([
5898
- Column67({ name: "onboarded_by", type: "varchar", nullable: true })
5932
+ Column68({ name: "onboarded_by", type: "varchar", nullable: true })
5899
5933
  ], User.prototype, "onBoardedBy", 2);
5900
5934
  __decorateClass([
5901
5935
  OneToMany24(() => Otp, (otp) => otp.user)
@@ -6123,8 +6157,11 @@ __decorateClass([
6123
6157
  __decorateClass([
6124
6158
  OneToMany24(() => Dispute, (dispute) => dispute.freelancer)
6125
6159
  ], User.prototype, "freelancerDisputes", 2);
6160
+ __decorateClass([
6161
+ OneToMany24(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6162
+ ], User.prototype, "inAppNotifications", 2);
6126
6163
  User = __decorateClass([
6127
- Entity66("users")
6164
+ Entity67("users")
6128
6165
  ], User);
6129
6166
 
6130
6167
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
@@ -12253,6 +12290,63 @@ function createDiscordTransport(options) {
12253
12290
  return new DiscordTransport(options);
12254
12291
  }
12255
12292
 
12293
+ // src/modules/in-app-notification/dto/create-in-app-notification.dto.ts
12294
+ import { IsNotEmpty as IsNotEmpty126, IsNumber as IsNumber40, IsOptional as IsOptional85, IsString as IsString87, IsObject as IsObject10 } from "class-validator";
12295
+ var CreateInAppNotificationDto = class {
12296
+ };
12297
+ __decorateClass([
12298
+ IsNotEmpty126(),
12299
+ IsNumber40()
12300
+ ], CreateInAppNotificationDto.prototype, "userId", 2);
12301
+ __decorateClass([
12302
+ IsOptional85(),
12303
+ IsString87()
12304
+ ], CreateInAppNotificationDto.prototype, "event", 2);
12305
+ __decorateClass([
12306
+ IsOptional85(),
12307
+ IsString87()
12308
+ ], CreateInAppNotificationDto.prototype, "title", 2);
12309
+ __decorateClass([
12310
+ IsNotEmpty126(),
12311
+ IsString87()
12312
+ ], CreateInAppNotificationDto.prototype, "message", 2);
12313
+ __decorateClass([
12314
+ IsOptional85(),
12315
+ IsString87()
12316
+ ], CreateInAppNotificationDto.prototype, "redirectUrl", 2);
12317
+ __decorateClass([
12318
+ IsOptional85(),
12319
+ IsObject10()
12320
+ ], CreateInAppNotificationDto.prototype, "metaData", 2);
12321
+
12322
+ // src/modules/in-app-notification/dto/update-is-read.dto.ts
12323
+ import { IsNotEmpty as IsNotEmpty127, IsNumber as IsNumber41, IsBoolean as IsBoolean22, IsOptional as IsOptional86, IsArray as IsArray29 } from "class-validator";
12324
+ import { Type as Type26 } from "class-transformer";
12325
+ var UpdateIsReadDto = class {
12326
+ };
12327
+ __decorateClass([
12328
+ IsOptional86(),
12329
+ IsNumber41(),
12330
+ Type26(() => Number)
12331
+ ], UpdateIsReadDto.prototype, "id", 2);
12332
+ __decorateClass([
12333
+ IsOptional86(),
12334
+ IsArray29(),
12335
+ IsNumber41({}, { each: true }),
12336
+ Type26(() => Number)
12337
+ ], UpdateIsReadDto.prototype, "ids", 2);
12338
+ __decorateClass([
12339
+ IsNotEmpty127(),
12340
+ IsBoolean22()
12341
+ ], UpdateIsReadDto.prototype, "isRead", 2);
12342
+
12343
+ // src/modules/in-app-notification/pattern/pattern.ts
12344
+ var IN_APP_NOTIFICATION_PATTERN = {
12345
+ createInAppNotification: "create.in.app.notification",
12346
+ fetchInAppNotification: "fetch.in.app.notification",
12347
+ updateInAppNotificationAsRead: "update.in.app.notification.as.read"
12348
+ };
12349
+
12256
12350
  // src/adapters/tcp/user.tcp.adapter.ts
12257
12351
  import { config } from "dotenv";
12258
12352
  import { Transport as Transport2 } from "@nestjs/microservices";
@@ -12614,11 +12708,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
12614
12708
  };
12615
12709
 
12616
12710
  // src/entities/sequence-generator.entity.ts
12617
- import { Entity as Entity67, Column as Column68 } from "typeorm";
12711
+ import { Entity as Entity68, Column as Column69 } from "typeorm";
12618
12712
  var SequenceGenerator = class extends BaseEntity {
12619
12713
  };
12620
12714
  __decorateClass([
12621
- Column68({
12715
+ Column69({
12622
12716
  name: "module",
12623
12717
  type: "varchar",
12624
12718
  length: 50,
@@ -12627,7 +12721,7 @@ __decorateClass([
12627
12721
  })
12628
12722
  ], SequenceGenerator.prototype, "module", 2);
12629
12723
  __decorateClass([
12630
- Column68({
12724
+ Column69({
12631
12725
  name: "prefix",
12632
12726
  type: "varchar",
12633
12727
  length: 10,
@@ -12636,7 +12730,7 @@ __decorateClass([
12636
12730
  })
12637
12731
  ], SequenceGenerator.prototype, "prefix", 2);
12638
12732
  __decorateClass([
12639
- Column68({
12733
+ Column69({
12640
12734
  name: "last_sequence",
12641
12735
  type: "int",
12642
12736
  nullable: false,
@@ -12644,7 +12738,7 @@ __decorateClass([
12644
12738
  })
12645
12739
  ], SequenceGenerator.prototype, "lastSequence", 2);
12646
12740
  __decorateClass([
12647
- Column68({
12741
+ Column69({
12648
12742
  name: "year",
12649
12743
  type: "int",
12650
12744
  nullable: true,
@@ -12652,11 +12746,11 @@ __decorateClass([
12652
12746
  })
12653
12747
  ], SequenceGenerator.prototype, "year", 2);
12654
12748
  SequenceGenerator = __decorateClass([
12655
- Entity67("sequence_generators")
12749
+ Entity68("sequence_generators")
12656
12750
  ], SequenceGenerator);
12657
12751
 
12658
12752
  // src/entities/question.entity.ts
12659
- import { Entity as Entity68, Column as Column69 } from "typeorm";
12753
+ import { Entity as Entity69, Column as Column70 } from "typeorm";
12660
12754
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
12661
12755
  QuestionFor2["CLIENT"] = "CLIENT";
12662
12756
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -12665,16 +12759,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
12665
12759
  var Question = class extends BaseEntity {
12666
12760
  };
12667
12761
  __decorateClass([
12668
- Column69({ name: "question", type: "varchar" })
12762
+ Column70({ name: "question", type: "varchar" })
12669
12763
  ], Question.prototype, "question", 2);
12670
12764
  __decorateClass([
12671
- Column69({ name: "hint", type: "varchar", nullable: true })
12765
+ Column70({ name: "hint", type: "varchar", nullable: true })
12672
12766
  ], Question.prototype, "hint", 2);
12673
12767
  __decorateClass([
12674
- Column69({ name: "slug", type: "varchar", nullable: true, unique: true })
12768
+ Column70({ name: "slug", type: "varchar", nullable: true, unique: true })
12675
12769
  ], Question.prototype, "slug", 2);
12676
12770
  __decorateClass([
12677
- Column69({
12771
+ Column70({
12678
12772
  name: "question_for",
12679
12773
  type: "enum",
12680
12774
  enum: QuestionFor,
@@ -12682,49 +12776,49 @@ __decorateClass([
12682
12776
  })
12683
12777
  ], Question.prototype, "questionFor", 2);
12684
12778
  __decorateClass([
12685
- Column69({ name: "type", type: "varchar", nullable: true })
12779
+ Column70({ name: "type", type: "varchar", nullable: true })
12686
12780
  ], Question.prototype, "type", 2);
12687
12781
  __decorateClass([
12688
- Column69({ name: "options", type: "jsonb", nullable: true })
12782
+ Column70({ name: "options", type: "jsonb", nullable: true })
12689
12783
  ], Question.prototype, "options", 2);
12690
12784
  __decorateClass([
12691
- Column69({ name: "is_active", type: "boolean", default: false })
12785
+ Column70({ name: "is_active", type: "boolean", default: false })
12692
12786
  ], Question.prototype, "isActive", 2);
12693
12787
  Question = __decorateClass([
12694
- Entity68("questions")
12788
+ Entity69("questions")
12695
12789
  ], Question);
12696
12790
 
12697
12791
  // src/entities/skill.entity.ts
12698
- import { Entity as Entity69, Column as Column70 } from "typeorm";
12792
+ import { Entity as Entity70, Column as Column71 } from "typeorm";
12699
12793
  var Skill = class extends BaseEntity {
12700
12794
  };
12701
12795
  __decorateClass([
12702
- Column70({ name: "name", type: "varchar", nullable: true })
12796
+ Column71({ name: "name", type: "varchar", nullable: true })
12703
12797
  ], Skill.prototype, "name", 2);
12704
12798
  __decorateClass([
12705
- Column70({ name: "slug", type: "varchar", nullable: true, unique: true })
12799
+ Column71({ name: "slug", type: "varchar", nullable: true, unique: true })
12706
12800
  ], Skill.prototype, "slug", 2);
12707
12801
  __decorateClass([
12708
- Column70({ name: "is_active", type: "boolean", default: false })
12802
+ Column71({ name: "is_active", type: "boolean", default: false })
12709
12803
  ], Skill.prototype, "isActive", 2);
12710
12804
  Skill = __decorateClass([
12711
- Entity69("skills")
12805
+ Entity70("skills")
12712
12806
  ], Skill);
12713
12807
 
12714
12808
  // src/entities/skill-catalog.entity.ts
12715
12809
  import {
12716
- Entity as Entity70,
12717
- Column as Column71,
12718
- Index as Index60
12810
+ Entity as Entity71,
12811
+ Column as Column72,
12812
+ Index as Index61
12719
12813
  } from "typeorm";
12720
12814
  var SkillCatalog = class extends BaseEntity {
12721
12815
  };
12722
12816
  __decorateClass([
12723
- Column71({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
12724
- Index60()
12817
+ Column72({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
12818
+ Index61()
12725
12819
  ], SkillCatalog.prototype, "canonicalName", 2);
12726
12820
  __decorateClass([
12727
- Column71({
12821
+ Column72({
12728
12822
  name: "aliases",
12729
12823
  type: "text",
12730
12824
  array: true,
@@ -12732,20 +12826,20 @@ __decorateClass([
12732
12826
  })
12733
12827
  ], SkillCatalog.prototype, "aliases", 2);
12734
12828
  __decorateClass([
12735
- Column71({
12829
+ Column72({
12736
12830
  name: "variations",
12737
12831
  type: "jsonb",
12738
12832
  default: "{}"
12739
12833
  })
12740
12834
  ], SkillCatalog.prototype, "variations", 2);
12741
12835
  __decorateClass([
12742
- Column71({ name: "category", type: "varchar", length: 50, nullable: true })
12836
+ Column72({ name: "category", type: "varchar", length: 50, nullable: true })
12743
12837
  ], SkillCatalog.prototype, "category", 2);
12744
12838
  __decorateClass([
12745
- Column71({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
12839
+ Column72({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
12746
12840
  ], SkillCatalog.prototype, "parentSkill", 2);
12747
12841
  __decorateClass([
12748
- Column71({
12842
+ Column72({
12749
12843
  name: "related_skills",
12750
12844
  type: "text",
12751
12845
  array: true,
@@ -12753,113 +12847,113 @@ __decorateClass([
12753
12847
  })
12754
12848
  ], SkillCatalog.prototype, "relatedSkills", 2);
12755
12849
  __decorateClass([
12756
- Column71({ name: "usage_count", type: "integer", default: 0 }),
12757
- Index60()
12850
+ Column72({ name: "usage_count", type: "integer", default: 0 }),
12851
+ Index61()
12758
12852
  ], SkillCatalog.prototype, "usageCount", 2);
12759
12853
  __decorateClass([
12760
- Column71({ name: "is_verified", type: "boolean", default: false })
12854
+ Column72({ name: "is_verified", type: "boolean", default: false })
12761
12855
  ], SkillCatalog.prototype, "isVerified", 2);
12762
12856
  __decorateClass([
12763
- Column71({ name: "first_seen_date", type: "date" })
12857
+ Column72({ name: "first_seen_date", type: "date" })
12764
12858
  ], SkillCatalog.prototype, "firstSeenDate", 2);
12765
12859
  __decorateClass([
12766
- Column71({ name: "last_updated_date", type: "date" })
12860
+ Column72({ name: "last_updated_date", type: "date" })
12767
12861
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
12768
12862
  __decorateClass([
12769
- Column71({
12863
+ Column72({
12770
12864
  name: "search_vector",
12771
12865
  type: "tsvector",
12772
12866
  nullable: true
12773
12867
  })
12774
12868
  ], SkillCatalog.prototype, "searchVector", 2);
12775
12869
  SkillCatalog = __decorateClass([
12776
- Entity70("skill_catalogs")
12870
+ Entity71("skill_catalogs")
12777
12871
  ], SkillCatalog);
12778
12872
 
12779
12873
  // src/entities/job-role.entity.ts
12780
- import { Entity as Entity71, Column as Column72 } from "typeorm";
12874
+ import { Entity as Entity72, Column as Column73 } from "typeorm";
12781
12875
  var JobRoles = class extends BaseEntity {
12782
12876
  };
12783
12877
  __decorateClass([
12784
- Column72({ name: "slug", type: "varchar", nullable: true, unique: true })
12878
+ Column73({ name: "slug", type: "varchar", nullable: true, unique: true })
12785
12879
  ], JobRoles.prototype, "slug", 2);
12786
12880
  __decorateClass([
12787
- Column72({ name: "name", type: "varchar", nullable: true })
12881
+ Column73({ name: "name", type: "varchar", nullable: true })
12788
12882
  ], JobRoles.prototype, "name", 2);
12789
12883
  __decorateClass([
12790
- Column72({ name: "is_active", type: "boolean", default: true })
12884
+ Column73({ name: "is_active", type: "boolean", default: true })
12791
12885
  ], JobRoles.prototype, "isActive", 2);
12792
12886
  JobRoles = __decorateClass([
12793
- Entity71("job_roles")
12887
+ Entity72("job_roles")
12794
12888
  ], JobRoles);
12795
12889
 
12796
12890
  // src/entities/plan.entity.ts
12797
- import { Entity as Entity73, Column as Column74, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
12891
+ import { Entity as Entity74, Column as Column75, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
12798
12892
 
12799
12893
  // src/entities/feature.entity.ts
12800
- import { Entity as Entity72, Column as Column73, ManyToMany as ManyToMany2 } from "typeorm";
12894
+ import { Entity as Entity73, Column as Column74, ManyToMany as ManyToMany2 } from "typeorm";
12801
12895
  var Feature = class extends BaseEntity {
12802
12896
  };
12803
12897
  __decorateClass([
12804
- Column73({ name: "name", type: "varchar", unique: true })
12898
+ Column74({ name: "name", type: "varchar", unique: true })
12805
12899
  ], Feature.prototype, "name", 2);
12806
12900
  __decorateClass([
12807
12901
  ManyToMany2(() => Plan, (plan) => plan.features)
12808
12902
  ], Feature.prototype, "plans", 2);
12809
12903
  Feature = __decorateClass([
12810
- Entity72("features")
12904
+ Entity73("features")
12811
12905
  ], Feature);
12812
12906
 
12813
12907
  // src/entities/plan.entity.ts
12814
12908
  var Plan = class extends BaseEntity {
12815
12909
  };
12816
12910
  __decorateClass([
12817
- Column74({ name: "name", type: "varchar", unique: true })
12911
+ Column75({ name: "name", type: "varchar", unique: true })
12818
12912
  ], Plan.prototype, "name", 2);
12819
12913
  __decorateClass([
12820
- Column74({ name: "description", type: "varchar", nullable: true })
12914
+ Column75({ name: "description", type: "varchar", nullable: true })
12821
12915
  ], Plan.prototype, "description", 2);
12822
12916
  __decorateClass([
12823
- Column74({ name: "price", type: "decimal", precision: 10, scale: 2 })
12917
+ Column75({ name: "price", type: "decimal", precision: 10, scale: 2 })
12824
12918
  ], Plan.prototype, "price", 2);
12825
12919
  __decorateClass([
12826
- Column74({ name: "billing_period", type: "varchar" })
12920
+ Column75({ name: "billing_period", type: "varchar" })
12827
12921
  ], Plan.prototype, "billingPeriod", 2);
12828
12922
  __decorateClass([
12829
- Column74({ name: "is_current", type: "boolean", default: false })
12923
+ Column75({ name: "is_current", type: "boolean", default: false })
12830
12924
  ], Plan.prototype, "isCurrent", 2);
12831
12925
  __decorateClass([
12832
12926
  ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
12833
12927
  JoinTable()
12834
12928
  ], Plan.prototype, "features", 2);
12835
12929
  Plan = __decorateClass([
12836
- Entity73("plans")
12930
+ Entity74("plans")
12837
12931
  ], Plan);
12838
12932
 
12839
12933
  // src/entities/cms.entity.ts
12840
- import { Entity as Entity74, Column as Column75 } from "typeorm";
12934
+ import { Entity as Entity75, Column as Column76 } from "typeorm";
12841
12935
  var Cms = class extends BaseEntity {
12842
12936
  };
12843
12937
  __decorateClass([
12844
- Column75({ name: "title", type: "varchar", nullable: true })
12938
+ Column76({ name: "title", type: "varchar", nullable: true })
12845
12939
  ], Cms.prototype, "title", 2);
12846
12940
  __decorateClass([
12847
- Column75({ name: "slug", type: "varchar", nullable: true, unique: true })
12941
+ Column76({ name: "slug", type: "varchar", nullable: true, unique: true })
12848
12942
  ], Cms.prototype, "slug", 2);
12849
12943
  __decorateClass([
12850
- Column75({ name: "content", type: "varchar", nullable: true })
12944
+ Column76({ name: "content", type: "varchar", nullable: true })
12851
12945
  ], Cms.prototype, "content", 2);
12852
12946
  __decorateClass([
12853
- Column75({ name: "is_active", type: "boolean", default: true })
12947
+ Column76({ name: "is_active", type: "boolean", default: true })
12854
12948
  ], Cms.prototype, "isActive", 2);
12855
12949
  Cms = __decorateClass([
12856
- Entity74("cms")
12950
+ Entity75("cms")
12857
12951
  ], Cms);
12858
12952
 
12859
12953
  // src/entities/lead.entity.ts
12860
12954
  import {
12861
- Entity as Entity75,
12862
- Column as Column76
12955
+ Entity as Entity76,
12956
+ Column as Column77
12863
12957
  } from "typeorm";
12864
12958
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
12865
12959
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -12869,22 +12963,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
12869
12963
  var Lead = class extends BaseEntity {
12870
12964
  };
12871
12965
  __decorateClass([
12872
- Column76({ name: "name", type: "varchar", nullable: true })
12966
+ Column77({ name: "name", type: "varchar", nullable: true })
12873
12967
  ], Lead.prototype, "name", 2);
12874
12968
  __decorateClass([
12875
- Column76({ name: "mobile_code", type: "varchar", nullable: true })
12969
+ Column77({ name: "mobile_code", type: "varchar", nullable: true })
12876
12970
  ], Lead.prototype, "mobileCode", 2);
12877
12971
  __decorateClass([
12878
- Column76({ name: "mobile", type: "varchar", nullable: true })
12972
+ Column77({ name: "mobile", type: "varchar", nullable: true })
12879
12973
  ], Lead.prototype, "mobile", 2);
12880
12974
  __decorateClass([
12881
- Column76({ name: "email", type: "varchar", nullable: true })
12975
+ Column77({ name: "email", type: "varchar", nullable: true })
12882
12976
  ], Lead.prototype, "email", 2);
12883
12977
  __decorateClass([
12884
- Column76({ name: "description", type: "varchar", nullable: true })
12978
+ Column77({ name: "description", type: "varchar", nullable: true })
12885
12979
  ], Lead.prototype, "description", 2);
12886
12980
  __decorateClass([
12887
- Column76({
12981
+ Column77({
12888
12982
  name: "category",
12889
12983
  type: "enum",
12890
12984
  enum: CategoryEmum,
@@ -12892,7 +12986,7 @@ __decorateClass([
12892
12986
  })
12893
12987
  ], Lead.prototype, "category", 2);
12894
12988
  Lead = __decorateClass([
12895
- Entity75("leads")
12989
+ Entity76("leads")
12896
12990
  ], Lead);
12897
12991
 
12898
12992
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -13133,7 +13227,7 @@ ClientFreelancerRecommendation = __decorateClass([
13133
13227
  ], ClientFreelancerRecommendation);
13134
13228
 
13135
13229
  // src/entities/commission.entity.ts
13136
- import { Entity as Entity76, Column as Column77 } from "typeorm";
13230
+ import { Entity as Entity77, Column as Column78 } from "typeorm";
13137
13231
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
13138
13232
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
13139
13233
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -13142,7 +13236,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
13142
13236
  var Commission = class extends BaseEntity {
13143
13237
  };
13144
13238
  __decorateClass([
13145
- Column77({
13239
+ Column78({
13146
13240
  name: "freelancer_commission_type",
13147
13241
  type: "enum",
13148
13242
  enum: CommissionTypeEnum,
@@ -13150,10 +13244,10 @@ __decorateClass([
13150
13244
  })
13151
13245
  ], Commission.prototype, "freelancerCommissionType", 2);
13152
13246
  __decorateClass([
13153
- Column77({ name: "freelancer_commission", type: "integer", default: 0 })
13247
+ Column78({ name: "freelancer_commission", type: "integer", default: 0 })
13154
13248
  ], Commission.prototype, "freelancerCommission", 2);
13155
13249
  __decorateClass([
13156
- Column77({
13250
+ Column78({
13157
13251
  name: "client_commission_type",
13158
13252
  type: "enum",
13159
13253
  enum: CommissionTypeEnum,
@@ -13161,124 +13255,124 @@ __decorateClass([
13161
13255
  })
13162
13256
  ], Commission.prototype, "clientCommissionType", 2);
13163
13257
  __decorateClass([
13164
- Column77({ name: "client_commission", type: "integer", default: 0 })
13258
+ Column78({ name: "client_commission", type: "integer", default: 0 })
13165
13259
  ], Commission.prototype, "clientCommission", 2);
13166
13260
  Commission = __decorateClass([
13167
- Entity76("commissions")
13261
+ Entity77("commissions")
13168
13262
  ], Commission);
13169
13263
 
13170
13264
  // src/entities/calendly-meeting-log.entity.ts
13171
13265
  import {
13172
- Entity as Entity77,
13173
- Column as Column78,
13174
- Index as Index61
13266
+ Entity as Entity78,
13267
+ Column as Column79,
13268
+ Index as Index62
13175
13269
  } from "typeorm";
13176
13270
  var CalendlyMeetingLog = class extends BaseEntity {
13177
13271
  };
13178
13272
  __decorateClass([
13179
- Column78({ name: "calendly_event_id", type: "varchar", nullable: true }),
13180
- Index61()
13273
+ Column79({ name: "calendly_event_id", type: "varchar", nullable: true }),
13274
+ Index62()
13181
13275
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
13182
13276
  __decorateClass([
13183
- Column78({ name: "calendly_event_type", type: "varchar", nullable: true })
13277
+ Column79({ name: "calendly_event_type", type: "varchar", nullable: true })
13184
13278
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
13185
13279
  __decorateClass([
13186
- Column78({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13280
+ Column79({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13187
13281
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
13188
13282
  CalendlyMeetingLog = __decorateClass([
13189
- Entity77("calendly_meeting_logs")
13283
+ Entity78("calendly_meeting_logs")
13190
13284
  ], CalendlyMeetingLog);
13191
13285
 
13192
13286
  // src/entities/zoom-meeting-log.entity.ts
13193
13287
  import {
13194
- Entity as Entity78,
13195
- Column as Column79,
13196
- Index as Index62
13288
+ Entity as Entity79,
13289
+ Column as Column80,
13290
+ Index as Index63
13197
13291
  } from "typeorm";
13198
13292
  var ZoomMeetingLog = class extends BaseEntity {
13199
13293
  };
13200
13294
  __decorateClass([
13201
- Column79({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13202
- Index62()
13295
+ Column80({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13296
+ Index63()
13203
13297
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
13204
13298
  __decorateClass([
13205
- Column79({ name: "zoom_event_type", type: "varchar", nullable: true })
13299
+ Column80({ name: "zoom_event_type", type: "varchar", nullable: true })
13206
13300
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
13207
13301
  __decorateClass([
13208
- Column79({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13302
+ Column80({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13209
13303
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
13210
13304
  ZoomMeetingLog = __decorateClass([
13211
- Entity78("zoom_meeting_logs")
13305
+ Entity79("zoom_meeting_logs")
13212
13306
  ], ZoomMeetingLog);
13213
13307
 
13214
13308
  // src/entities/stripe-logs.entity.ts
13215
- import { Entity as Entity79, Column as Column80 } from "typeorm";
13309
+ import { Entity as Entity80, Column as Column81 } from "typeorm";
13216
13310
  var StripeLog = class extends BaseEntity {
13217
13311
  };
13218
13312
  __decorateClass([
13219
- Column80({ name: "stripe_event_id", type: "varchar", nullable: true })
13313
+ Column81({ name: "stripe_event_id", type: "varchar", nullable: true })
13220
13314
  ], StripeLog.prototype, "stripeEventId", 2);
13221
13315
  __decorateClass([
13222
- Column80({ name: "event_type", type: "varchar", nullable: true })
13316
+ Column81({ name: "event_type", type: "varchar", nullable: true })
13223
13317
  ], StripeLog.prototype, "eventType", 2);
13224
13318
  __decorateClass([
13225
- Column80({ name: "stripe_account_id", type: "varchar", nullable: true })
13319
+ Column81({ name: "stripe_account_id", type: "varchar", nullable: true })
13226
13320
  ], StripeLog.prototype, "stripeAccountId", 2);
13227
13321
  __decorateClass([
13228
- Column80({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13322
+ Column81({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13229
13323
  ], StripeLog.prototype, "rawWebhookData", 2);
13230
13324
  StripeLog = __decorateClass([
13231
- Entity79("stripe_logs")
13325
+ Entity80("stripe_logs")
13232
13326
  ], StripeLog);
13233
13327
 
13234
13328
  // src/entities/recommendation-weightage-config.entity.ts
13235
13329
  import {
13236
- Entity as Entity80,
13237
- Column as Column81,
13238
- Index as Index63
13330
+ Entity as Entity81,
13331
+ Column as Column82,
13332
+ Index as Index64
13239
13333
  } from "typeorm";
13240
13334
  var RecommendationWeightageConfig = class extends BaseEntity {
13241
13335
  };
13242
13336
  __decorateClass([
13243
- Column81({
13337
+ Column82({
13244
13338
  type: "varchar",
13245
13339
  length: 100,
13246
13340
  unique: true,
13247
13341
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
13248
13342
  }),
13249
- Index63()
13343
+ Index64()
13250
13344
  ], RecommendationWeightageConfig.prototype, "key", 2);
13251
13345
  __decorateClass([
13252
- Column81({
13346
+ Column82({
13253
13347
  type: "jsonb",
13254
13348
  comment: "JSON object containing weight values",
13255
13349
  nullable: true
13256
13350
  })
13257
13351
  ], RecommendationWeightageConfig.prototype, "value", 2);
13258
13352
  __decorateClass([
13259
- Column81({ name: "is_active", type: "boolean", default: true })
13353
+ Column82({ name: "is_active", type: "boolean", default: true })
13260
13354
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
13261
13355
  RecommendationWeightageConfig = __decorateClass([
13262
- Entity80("recommendation_weightage_configs")
13356
+ Entity81("recommendation_weightage_configs")
13263
13357
  ], RecommendationWeightageConfig);
13264
13358
 
13265
13359
  // src/entities/global-setting.entity.ts
13266
13360
  import {
13267
- Entity as Entity81,
13268
- Column as Column82,
13269
- Index as Index64
13361
+ Entity as Entity82,
13362
+ Column as Column83,
13363
+ Index as Index65
13270
13364
  } from "typeorm";
13271
13365
  var GlobalSetting = class extends BaseEntity {
13272
13366
  };
13273
13367
  __decorateClass([
13274
- Column82({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
13368
+ Column83({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
13275
13369
  ], GlobalSetting.prototype, "key", 2);
13276
13370
  __decorateClass([
13277
- Column82({ name: "value", type: "text", nullable: false })
13371
+ Column83({ name: "value", type: "text", nullable: false })
13278
13372
  ], GlobalSetting.prototype, "value", 2);
13279
13373
  GlobalSetting = __decorateClass([
13280
- Entity81("global_settings"),
13281
- Index64(["key"], { unique: true })
13374
+ Entity82("global_settings"),
13375
+ Index65(["key"], { unique: true })
13282
13376
  ], GlobalSetting);
13283
13377
  export {
13284
13378
  ADMIN_FREELANCER_PATTERN,
@@ -13394,6 +13488,7 @@ export {
13394
13488
  CreateFreelancerDto,
13395
13489
  CreateFreelancerTimesheetDto,
13396
13490
  CreateHiringDto,
13491
+ CreateInAppNotificationDto,
13397
13492
  CreateInterviewBasicInformationDto,
13398
13493
  CreateInterviewQuestionsDto,
13399
13494
  CreateInterviewSkillsDto,
@@ -13484,6 +13579,8 @@ export {
13484
13579
  INTERVIEW_INVITE_PATTERN,
13485
13580
  INTERVIEW_PATTERN,
13486
13581
  INVOICE_PATTERN,
13582
+ IN_APP_NOTIFICATION_PATTERN,
13583
+ InAppNotification,
13487
13584
  InitiatorTypeEnum,
13488
13585
  Interview,
13489
13586
  InterviewInvite,
@@ -13652,6 +13749,7 @@ export {
13652
13749
  UpdateInterviewSettingDto,
13653
13750
  UpdateInterviewTypeInformationDto,
13654
13751
  UpdateInvoiceStatusDto,
13752
+ UpdateIsReadDto,
13655
13753
  UpdateSubAdminAccountStatusDto,
13656
13754
  UpdateSubAdminDto,
13657
13755
  User,