@experts_hub/shared 1.0.662 → 1.0.664

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.
@@ -82,6 +82,7 @@ export declare class User extends BaseEntity {
82
82
  isEmailVerified: boolean;
83
83
  isMobileVerified: boolean;
84
84
  isSocial: boolean;
85
+ isReferralUser: boolean;
85
86
  lastLoginAt: Date;
86
87
  lastLoginIp: string;
87
88
  resetToken: string | null;
package/dist/index.d.mts CHANGED
@@ -227,6 +227,7 @@ declare class FreelancerCreateAccountDto {
227
227
  mobile: string;
228
228
  countryISOCode: string;
229
229
  onBoardedBy: string;
230
+ referralCode?: string;
230
231
  }
231
232
 
232
233
  declare class FreelancerUploadResumeDto {
@@ -292,6 +293,7 @@ declare class ClientCreateAccountDto {
292
293
  email: string;
293
294
  companyName: string;
294
295
  onBoardedBy: string;
296
+ referralCode?: string;
295
297
  }
296
298
 
297
299
  declare class VerifyOnboardingTokenDto {
@@ -1792,6 +1794,7 @@ declare class User extends BaseEntity {
1792
1794
  isEmailVerified: boolean;
1793
1795
  isMobileVerified: boolean;
1794
1796
  isSocial: boolean;
1797
+ isReferralUser: boolean;
1795
1798
  lastLoginAt: Date;
1796
1799
  lastLoginIp: string;
1797
1800
  resetToken: string | null;
@@ -2174,6 +2177,7 @@ declare const JOB_PATTERN: {
2174
2177
  jobDataSetup: string;
2175
2178
  fetchJobsForComparison: string;
2176
2179
  fetchJobSkillDropdownForClient: string;
2180
+ createJobDealBreakers: string;
2177
2181
  };
2178
2182
  declare const JOB_APPLICATION_PATTERN: {
2179
2183
  fetchJobApplicationCountAsPerStatusByJobId: string;
package/dist/index.d.ts CHANGED
@@ -227,6 +227,7 @@ declare class FreelancerCreateAccountDto {
227
227
  mobile: string;
228
228
  countryISOCode: string;
229
229
  onBoardedBy: string;
230
+ referralCode?: string;
230
231
  }
231
232
 
232
233
  declare class FreelancerUploadResumeDto {
@@ -292,6 +293,7 @@ declare class ClientCreateAccountDto {
292
293
  email: string;
293
294
  companyName: string;
294
295
  onBoardedBy: string;
296
+ referralCode?: string;
295
297
  }
296
298
 
297
299
  declare class VerifyOnboardingTokenDto {
@@ -1792,6 +1794,7 @@ declare class User extends BaseEntity {
1792
1794
  isEmailVerified: boolean;
1793
1795
  isMobileVerified: boolean;
1794
1796
  isSocial: boolean;
1797
+ isReferralUser: boolean;
1795
1798
  lastLoginAt: Date;
1796
1799
  lastLoginIp: string;
1797
1800
  resetToken: string | null;
@@ -2174,6 +2177,7 @@ declare const JOB_PATTERN: {
2174
2177
  jobDataSetup: string;
2175
2178
  fetchJobsForComparison: string;
2176
2179
  fetchJobSkillDropdownForClient: string;
2180
+ createJobDealBreakers: string;
2177
2181
  };
2178
2182
  declare const JOB_APPLICATION_PATTERN: {
2179
2183
  fetchJobApplicationCountAsPerStatusByJobId: string;
package/dist/index.js CHANGED
@@ -1064,6 +1064,9 @@ __decorateClass([
1064
1064
  __decorateClass([
1065
1065
  (0, import_class_validator23.IsOptional)()
1066
1066
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
1067
+ __decorateClass([
1068
+ (0, import_class_validator23.IsOptional)()
1069
+ ], FreelancerCreateAccountDto.prototype, "referralCode", 2);
1067
1070
 
1068
1071
  // src/modules/onboarding/dto/freelancer-upload-resume.dto.ts
1069
1072
  var import_class_validator24 = require("class-validator");
@@ -1279,6 +1282,9 @@ __decorateClass([
1279
1282
  __decorateClass([
1280
1283
  (0, import_class_validator34.IsOptional)()
1281
1284
  ], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
1285
+ __decorateClass([
1286
+ (0, import_class_validator34.IsOptional)()
1287
+ ], ClientCreateAccountDto.prototype, "referralCode", 2);
1282
1288
 
1283
1289
  // src/modules/onboarding/dto/verify-onboarding-token.dto.ts
1284
1290
  var import_class_validator35 = require("class-validator");
@@ -6014,6 +6020,9 @@ __decorateClass([
6014
6020
  __decorateClass([
6015
6021
  (0, import_typeorm67.Column)({ name: "is_social", type: "boolean", default: false })
6016
6022
  ], User.prototype, "isSocial", 2);
6023
+ __decorateClass([
6024
+ (0, import_typeorm67.Column)({ name: "is_referral_user", type: "boolean", default: false })
6025
+ ], User.prototype, "isReferralUser", 2);
6017
6026
  __decorateClass([
6018
6027
  (0, import_typeorm67.Column)({
6019
6028
  name: "last_login_at",
@@ -6637,7 +6646,8 @@ var JOB_PATTERN = {
6637
6646
  fetchJobByIdForTimesheet: "fetch.job.by.id.for.timesheet",
6638
6647
  jobDataSetup: "job.data.Setup",
6639
6648
  fetchJobsForComparison: "fetch.jobs.for.comparison",
6640
- fetchJobSkillDropdownForClient: "fetch.job.skill.dropdown.for.client"
6649
+ fetchJobSkillDropdownForClient: "fetch.job.skill.dropdown.for.client",
6650
+ createJobDealBreakers: "create.job.deal.breakers"
6641
6651
  };
6642
6652
  var JOB_APPLICATION_PATTERN = {
6643
6653
  fetchJobApplicationCountAsPerStatusByJobId: "fetch.job.application.count.as.per.status.by.job.id",
package/dist/index.mjs CHANGED
@@ -657,6 +657,9 @@ __decorateClass([
657
657
  __decorateClass([
658
658
  IsOptional7()
659
659
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
660
+ __decorateClass([
661
+ IsOptional7()
662
+ ], FreelancerCreateAccountDto.prototype, "referralCode", 2);
660
663
 
661
664
  // src/modules/onboarding/dto/freelancer-upload-resume.dto.ts
662
665
  import { IsUUID as IsUUID4, IsNotEmpty as IsNotEmpty20 } from "class-validator";
@@ -896,6 +899,9 @@ __decorateClass([
896
899
  __decorateClass([
897
900
  IsOptional12()
898
901
  ], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
902
+ __decorateClass([
903
+ IsOptional12()
904
+ ], ClientCreateAccountDto.prototype, "referralCode", 2);
899
905
 
900
906
  // src/modules/onboarding/dto/verify-onboarding-token.dto.ts
901
907
  import { IsNotEmpty as IsNotEmpty31, IsUUID as IsUUID14 } from "class-validator";
@@ -5861,6 +5867,9 @@ __decorateClass([
5861
5867
  __decorateClass([
5862
5868
  Column67({ name: "is_social", type: "boolean", default: false })
5863
5869
  ], User.prototype, "isSocial", 2);
5870
+ __decorateClass([
5871
+ Column67({ name: "is_referral_user", type: "boolean", default: false })
5872
+ ], User.prototype, "isReferralUser", 2);
5864
5873
  __decorateClass([
5865
5874
  Column67({
5866
5875
  name: "last_login_at",
@@ -6514,7 +6523,8 @@ var JOB_PATTERN = {
6514
6523
  fetchJobByIdForTimesheet: "fetch.job.by.id.for.timesheet",
6515
6524
  jobDataSetup: "job.data.Setup",
6516
6525
  fetchJobsForComparison: "fetch.jobs.for.comparison",
6517
- fetchJobSkillDropdownForClient: "fetch.job.skill.dropdown.for.client"
6526
+ fetchJobSkillDropdownForClient: "fetch.job.skill.dropdown.for.client",
6527
+ createJobDealBreakers: "create.job.deal.breakers"
6518
6528
  };
6519
6529
  var JOB_APPLICATION_PATTERN = {
6520
6530
  fetchJobApplicationCountAsPerStatusByJobId: "fetch.job.application.count.as.per.status.by.job.id",
@@ -43,6 +43,7 @@ export declare const JOB_PATTERN: {
43
43
  jobDataSetup: string;
44
44
  fetchJobsForComparison: string;
45
45
  fetchJobSkillDropdownForClient: string;
46
+ createJobDealBreakers: string;
46
47
  };
47
48
  export declare const JOB_APPLICATION_PATTERN: {
48
49
  fetchJobApplicationCountAsPerStatusByJobId: string;
@@ -3,4 +3,5 @@ export declare class ClientCreateAccountDto {
3
3
  email: string;
4
4
  companyName: string;
5
5
  onBoardedBy: string;
6
+ referralCode?: string;
6
7
  }
@@ -5,4 +5,5 @@ export declare class FreelancerCreateAccountDto {
5
5
  mobile: string;
6
6
  countryISOCode: string;
7
7
  onBoardedBy: string;
8
+ referralCode?: string;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.662",
3
+ "version": "1.0.664",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",