@experts_hub/shared 1.0.583 → 1.0.585

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.
@@ -16,7 +16,9 @@ export declare enum ContractStatusEnum {
16
16
  }
17
17
  export declare enum ContractTypeEnum {
18
18
  NDA = "NDA",
19
- WORK = "WORK"
19
+ WORK = "WORK",
20
+ SOW = "SOW",
21
+ MSA = "MSA"
20
22
  }
21
23
  export declare class Contract extends BaseEntity {
22
24
  contractUniqueId: string;
@@ -17,6 +17,7 @@ import { InterviewInvite } from "./interview-invite.entity";
17
17
  import { EscrowWallet } from "./escrow-wallet.entity";
18
18
  import { JobLocation } from "./job-location.entity";
19
19
  import { Hiring } from "./hiring.entity";
20
+ import { Rating } from "./rating.entity";
20
21
  export declare enum JobLocationEnum {
21
22
  ONSITE = "ONSITE",
22
23
  REMOTE = "REMOTE",
@@ -45,7 +46,8 @@ export declare enum JobStatusEnum {
45
46
  OPEN = "OPEN",
46
47
  DRAFT = "DRAFT",
47
48
  ONHOLD = "ONHOLD",
48
- CLOSED = "CLOSED"
49
+ CLOSED = "CLOSED",
50
+ COMPLETED = "COMPLETED"
49
51
  }
50
52
  export declare enum DurationTypeEnum {
51
53
  DAY = "DAY",
@@ -119,4 +121,5 @@ export declare class Job extends BaseEntity {
119
121
  invoice: Invoice[];
120
122
  clientCandidatePreferences: ClientCandidatePreference[];
121
123
  jobLocations: JobLocation[];
124
+ ratings: Rating[];
122
125
  }
@@ -1,5 +1,6 @@
1
1
  import { User } from "./user.entity";
2
2
  import { BaseEntity } from "./base.entity";
3
+ import { Job } from "./job.entity";
3
4
  export declare enum RatingTypeEnum {
4
5
  FREELANCER_TO_CLIENT = "FREELANCER_TO_CLIENT",
5
6
  CLIENT_TO_FREELANCER = "CLIENT_TO_FREELANCER"
@@ -9,7 +10,19 @@ export declare class Rating extends BaseEntity {
9
10
  reviewer: User;
10
11
  reviewee_id: number;
11
12
  reviewee: User;
13
+ jobId: number;
14
+ job: Job;
12
15
  ratingType: RatingTypeEnum;
13
- rating: number;
14
- review: string;
16
+ reviewer_comment: string;
17
+ overall_experience: number;
18
+ work_quality: number;
19
+ one_time_delivery: number;
20
+ understaning: number;
21
+ communication: number;
22
+ skill_utilized: number;
23
+ communication_clarity: number;
24
+ requirements_clarity: number;
25
+ responsiveness: number;
26
+ payment_promptness: number;
27
+ responsibilities_and_expectations: number;
15
28
  }
package/dist/index.d.mts CHANGED
@@ -1694,7 +1694,9 @@ declare enum ContractStatusEnum {
1694
1694
  }
1695
1695
  declare enum ContractTypeEnum {
1696
1696
  NDA = "NDA",
1697
- WORK = "WORK"
1697
+ WORK = "WORK",
1698
+ SOW = "SOW",
1699
+ MSA = "MSA"
1698
1700
  }
1699
1701
  declare class Contract extends BaseEntity {
1700
1702
  contractUniqueId: string;
@@ -1802,7 +1804,8 @@ declare enum JobStatusEnum {
1802
1804
  OPEN = "OPEN",
1803
1805
  DRAFT = "DRAFT",
1804
1806
  ONHOLD = "ONHOLD",
1805
- CLOSED = "CLOSED"
1807
+ CLOSED = "CLOSED",
1808
+ COMPLETED = "COMPLETED"
1806
1809
  }
1807
1810
  declare enum DurationTypeEnum {
1808
1811
  DAY = "DAY",
@@ -1876,6 +1879,7 @@ declare class Job extends BaseEntity {
1876
1879
  invoice: Invoice[];
1877
1880
  clientCandidatePreferences: ClientCandidatePreference[];
1878
1881
  jobLocations: JobLocation[];
1882
+ ratings: Rating[];
1879
1883
  }
1880
1884
 
1881
1885
  declare enum BankAccountTypeEnum {
@@ -2395,16 +2399,39 @@ declare class Rating extends BaseEntity {
2395
2399
  reviewer: User;
2396
2400
  reviewee_id: number;
2397
2401
  reviewee: User;
2402
+ jobId: number;
2403
+ job: Job;
2398
2404
  ratingType: RatingTypeEnum;
2399
- rating: number;
2400
- review: string;
2405
+ reviewer_comment: string;
2406
+ overall_experience: number;
2407
+ work_quality: number;
2408
+ one_time_delivery: number;
2409
+ understaning: number;
2410
+ communication: number;
2411
+ skill_utilized: number;
2412
+ communication_clarity: number;
2413
+ requirements_clarity: number;
2414
+ responsiveness: number;
2415
+ payment_promptness: number;
2416
+ responsibilities_and_expectations: number;
2401
2417
  }
2402
2418
 
2403
2419
  declare class CreateRatingDto {
2404
2420
  revieweeId: number;
2421
+ jobId: number;
2405
2422
  ratingType: RatingTypeEnum;
2406
- rating: number;
2407
- review?: string;
2423
+ reviewerComment?: string;
2424
+ overallExperience?: number;
2425
+ workQuality?: number;
2426
+ oneTimeDelivery?: number;
2427
+ understaning?: number;
2428
+ communication?: number;
2429
+ skillUtilized?: number;
2430
+ communicationClarity?: number;
2431
+ requirementsClarity?: number;
2432
+ responsiveness?: number;
2433
+ paymentPromptness?: number;
2434
+ responsibilitiesAndExpectations?: number;
2408
2435
  }
2409
2436
 
2410
2437
  interface IAddRatingPayload {
package/dist/index.d.ts CHANGED
@@ -1694,7 +1694,9 @@ declare enum ContractStatusEnum {
1694
1694
  }
1695
1695
  declare enum ContractTypeEnum {
1696
1696
  NDA = "NDA",
1697
- WORK = "WORK"
1697
+ WORK = "WORK",
1698
+ SOW = "SOW",
1699
+ MSA = "MSA"
1698
1700
  }
1699
1701
  declare class Contract extends BaseEntity {
1700
1702
  contractUniqueId: string;
@@ -1802,7 +1804,8 @@ declare enum JobStatusEnum {
1802
1804
  OPEN = "OPEN",
1803
1805
  DRAFT = "DRAFT",
1804
1806
  ONHOLD = "ONHOLD",
1805
- CLOSED = "CLOSED"
1807
+ CLOSED = "CLOSED",
1808
+ COMPLETED = "COMPLETED"
1806
1809
  }
1807
1810
  declare enum DurationTypeEnum {
1808
1811
  DAY = "DAY",
@@ -1876,6 +1879,7 @@ declare class Job extends BaseEntity {
1876
1879
  invoice: Invoice[];
1877
1880
  clientCandidatePreferences: ClientCandidatePreference[];
1878
1881
  jobLocations: JobLocation[];
1882
+ ratings: Rating[];
1879
1883
  }
1880
1884
 
1881
1885
  declare enum BankAccountTypeEnum {
@@ -2395,16 +2399,39 @@ declare class Rating extends BaseEntity {
2395
2399
  reviewer: User;
2396
2400
  reviewee_id: number;
2397
2401
  reviewee: User;
2402
+ jobId: number;
2403
+ job: Job;
2398
2404
  ratingType: RatingTypeEnum;
2399
- rating: number;
2400
- review: string;
2405
+ reviewer_comment: string;
2406
+ overall_experience: number;
2407
+ work_quality: number;
2408
+ one_time_delivery: number;
2409
+ understaning: number;
2410
+ communication: number;
2411
+ skill_utilized: number;
2412
+ communication_clarity: number;
2413
+ requirements_clarity: number;
2414
+ responsiveness: number;
2415
+ payment_promptness: number;
2416
+ responsibilities_and_expectations: number;
2401
2417
  }
2402
2418
 
2403
2419
  declare class CreateRatingDto {
2404
2420
  revieweeId: number;
2421
+ jobId: number;
2405
2422
  ratingType: RatingTypeEnum;
2406
- rating: number;
2407
- review?: string;
2423
+ reviewerComment?: string;
2424
+ overallExperience?: number;
2425
+ workQuality?: number;
2426
+ oneTimeDelivery?: number;
2427
+ understaning?: number;
2428
+ communication?: number;
2429
+ skillUtilized?: number;
2430
+ communicationClarity?: number;
2431
+ requirementsClarity?: number;
2432
+ responsiveness?: number;
2433
+ paymentPromptness?: number;
2434
+ responsibilitiesAndExpectations?: number;
2408
2435
  }
2409
2436
 
2410
2437
  interface IAddRatingPayload {
package/dist/index.js CHANGED
@@ -4780,6 +4780,8 @@ var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
4780
4780
  var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
4781
4781
  ContractTypeEnum2["NDA"] = "NDA";
4782
4782
  ContractTypeEnum2["WORK"] = "WORK";
4783
+ ContractTypeEnum2["SOW"] = "SOW";
4784
+ ContractTypeEnum2["MSA"] = "MSA";
4783
4785
  return ContractTypeEnum2;
4784
4786
  })(ContractTypeEnum || {});
4785
4787
  var Contract = class extends BaseEntity {
@@ -5095,6 +5097,7 @@ var JobStatusEnum = /* @__PURE__ */ ((JobStatusEnum2) => {
5095
5097
  JobStatusEnum2["DRAFT"] = "DRAFT";
5096
5098
  JobStatusEnum2["ONHOLD"] = "ONHOLD";
5097
5099
  JobStatusEnum2["CLOSED"] = "CLOSED";
5100
+ JobStatusEnum2["COMPLETED"] = "COMPLETED";
5098
5101
  return JobStatusEnum2;
5099
5102
  })(JobStatusEnum || {});
5100
5103
  var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
@@ -5418,6 +5421,11 @@ __decorateClass([
5418
5421
  cascade: true
5419
5422
  })
5420
5423
  ], Job.prototype, "jobLocations", 2);
5424
+ __decorateClass([
5425
+ (0, import_typeorm33.OneToMany)(() => Rating, (rating) => rating.job, {
5426
+ cascade: true
5427
+ })
5428
+ ], Job.prototype, "ratings", 2);
5421
5429
  Job = __decorateClass([
5422
5430
  (0, import_typeorm33.Entity)("jobs")
5423
5431
  ], Job);
@@ -7005,6 +7013,14 @@ __decorateClass([
7005
7013
  (0, import_typeorm65.ManyToOne)(() => User, { onDelete: "CASCADE" }),
7006
7014
  (0, import_typeorm65.JoinColumn)({ name: "reviewee_id" })
7007
7015
  ], Rating.prototype, "reviewee", 2);
7016
+ __decorateClass([
7017
+ (0, import_typeorm65.Column)({ name: "job_id", type: "integer" }),
7018
+ (0, import_typeorm65.Index)()
7019
+ ], Rating.prototype, "jobId", 2);
7020
+ __decorateClass([
7021
+ (0, import_typeorm65.ManyToOne)(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
7022
+ (0, import_typeorm65.JoinColumn)({ name: "job_id" })
7023
+ ], Rating.prototype, "job", 2);
7008
7024
  __decorateClass([
7009
7025
  (0, import_typeorm65.Column)({
7010
7026
  type: "enum",
@@ -7012,12 +7028,60 @@ __decorateClass([
7012
7028
  nullable: true
7013
7029
  })
7014
7030
  ], Rating.prototype, "ratingType", 2);
7015
- __decorateClass([
7016
- (0, import_typeorm65.Column)({ type: "integer", nullable: true })
7017
- ], Rating.prototype, "rating", 2);
7018
7031
  __decorateClass([
7019
7032
  (0, import_typeorm65.Column)({ type: "text", nullable: true })
7020
- ], Rating.prototype, "review", 2);
7033
+ ], Rating.prototype, "reviewer_comment", 2);
7034
+ __decorateClass([
7035
+ (0, import_typeorm65.Column)({
7036
+ type: "float",
7037
+ default: 0
7038
+ })
7039
+ ], Rating.prototype, "overall_experience", 2);
7040
+ __decorateClass([
7041
+ (0, import_typeorm65.Column)({
7042
+ type: "float",
7043
+ default: 0
7044
+ })
7045
+ ], Rating.prototype, "work_quality", 2);
7046
+ __decorateClass([
7047
+ (0, import_typeorm65.Column)({
7048
+ type: "float",
7049
+ default: 0
7050
+ })
7051
+ ], Rating.prototype, "one_time_delivery", 2);
7052
+ __decorateClass([
7053
+ (0, import_typeorm65.Column)({
7054
+ type: "float",
7055
+ default: 0
7056
+ })
7057
+ ], Rating.prototype, "understaning", 2);
7058
+ __decorateClass([
7059
+ (0, import_typeorm65.Column)({
7060
+ type: "float",
7061
+ default: 0
7062
+ })
7063
+ ], Rating.prototype, "communication", 2);
7064
+ __decorateClass([
7065
+ (0, import_typeorm65.Column)({
7066
+ type: "float",
7067
+ default: 0
7068
+ })
7069
+ ], Rating.prototype, "skill_utilized", 2);
7070
+ __decorateClass([
7071
+ (0, import_typeorm65.Column)({ type: "float", default: 0 })
7072
+ ], Rating.prototype, "communication_clarity", 2);
7073
+ __decorateClass([
7074
+ (0, import_typeorm65.Column)({ type: "float", default: 0 })
7075
+ ], Rating.prototype, "requirements_clarity", 2);
7076
+ __decorateClass([
7077
+ (0, import_typeorm65.Column)({ type: "float", default: 0 })
7078
+ ], Rating.prototype, "responsiveness", 2);
7079
+ __decorateClass([
7080
+ (0, import_typeorm65.Column)({ type: "float", default: 0 })
7081
+ ], Rating.prototype, "payment_promptness", 2);
7082
+ __decorateClass([
7083
+ (0, import_typeorm65.Column)({ type: "float", default: 0 })
7084
+ ], Rating.prototype, "responsibilities_and_expectations", 2);
7021
7085
  Rating = __decorateClass([
7022
7086
  (0, import_typeorm65.Entity)("ratings")
7023
7087
  ], Rating);
@@ -7029,20 +7093,85 @@ __decorateClass([
7029
7093
  (0, import_class_validator62.IsInt)({ message: "Reviewee ID must be a valid integer" }),
7030
7094
  (0, import_class_validator62.IsNotEmpty)({ message: "Reviewee ID is required" })
7031
7095
  ], CreateRatingDto.prototype, "revieweeId", 2);
7096
+ __decorateClass([
7097
+ (0, import_class_validator62.IsInt)({ message: "Job ID must be a valid integer" }),
7098
+ (0, import_class_validator62.IsNotEmpty)({ message: "Job ID is required" })
7099
+ ], CreateRatingDto.prototype, "jobId", 2);
7032
7100
  __decorateClass([
7033
7101
  (0, import_class_validator62.IsEnum)(RatingTypeEnum, {
7034
7102
  message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
7035
7103
  })
7036
7104
  ], CreateRatingDto.prototype, "ratingType", 2);
7037
7105
  __decorateClass([
7038
- (0, import_class_validator62.IsInt)({ message: "Rating must be an integer value" }),
7039
- (0, import_class_validator62.Min)(1, { message: "Rating must be at least 1" }),
7040
- (0, import_class_validator62.Max)(5, { message: "Rating must be at most 5" })
7041
- ], CreateRatingDto.prototype, "rating", 2);
7106
+ (0, import_class_validator62.IsOptional)(),
7107
+ (0, import_class_validator62.IsString)({ message: "Reviewer comment must be a string" })
7108
+ ], CreateRatingDto.prototype, "reviewerComment", 2);
7109
+ __decorateClass([
7110
+ (0, import_class_validator62.IsOptional)(),
7111
+ (0, import_class_validator62.IsNumber)(),
7112
+ (0, import_class_validator62.Min)(0),
7113
+ (0, import_class_validator62.Max)(5)
7114
+ ], CreateRatingDto.prototype, "overallExperience", 2);
7115
+ __decorateClass([
7116
+ (0, import_class_validator62.IsOptional)(),
7117
+ (0, import_class_validator62.IsNumber)(),
7118
+ (0, import_class_validator62.Min)(0),
7119
+ (0, import_class_validator62.Max)(5)
7120
+ ], CreateRatingDto.prototype, "workQuality", 2);
7121
+ __decorateClass([
7122
+ (0, import_class_validator62.IsOptional)(),
7123
+ (0, import_class_validator62.IsNumber)(),
7124
+ (0, import_class_validator62.Min)(0),
7125
+ (0, import_class_validator62.Max)(5)
7126
+ ], CreateRatingDto.prototype, "oneTimeDelivery", 2);
7127
+ __decorateClass([
7128
+ (0, import_class_validator62.IsOptional)(),
7129
+ (0, import_class_validator62.IsNumber)(),
7130
+ (0, import_class_validator62.Min)(0),
7131
+ (0, import_class_validator62.Max)(5)
7132
+ ], CreateRatingDto.prototype, "understaning", 2);
7133
+ __decorateClass([
7134
+ (0, import_class_validator62.IsOptional)(),
7135
+ (0, import_class_validator62.IsNumber)(),
7136
+ (0, import_class_validator62.Min)(0),
7137
+ (0, import_class_validator62.Max)(5)
7138
+ ], CreateRatingDto.prototype, "communication", 2);
7139
+ __decorateClass([
7140
+ (0, import_class_validator62.IsOptional)(),
7141
+ (0, import_class_validator62.IsNumber)(),
7142
+ (0, import_class_validator62.Min)(0),
7143
+ (0, import_class_validator62.Max)(5)
7144
+ ], CreateRatingDto.prototype, "skillUtilized", 2);
7145
+ __decorateClass([
7146
+ (0, import_class_validator62.IsOptional)(),
7147
+ (0, import_class_validator62.IsNumber)(),
7148
+ (0, import_class_validator62.Min)(0),
7149
+ (0, import_class_validator62.Max)(5)
7150
+ ], CreateRatingDto.prototype, "communicationClarity", 2);
7151
+ __decorateClass([
7152
+ (0, import_class_validator62.IsOptional)(),
7153
+ (0, import_class_validator62.IsNumber)(),
7154
+ (0, import_class_validator62.Min)(0),
7155
+ (0, import_class_validator62.Max)(5)
7156
+ ], CreateRatingDto.prototype, "requirementsClarity", 2);
7157
+ __decorateClass([
7158
+ (0, import_class_validator62.IsOptional)(),
7159
+ (0, import_class_validator62.IsNumber)(),
7160
+ (0, import_class_validator62.Min)(0),
7161
+ (0, import_class_validator62.Max)(5)
7162
+ ], CreateRatingDto.prototype, "responsiveness", 2);
7163
+ __decorateClass([
7164
+ (0, import_class_validator62.IsOptional)(),
7165
+ (0, import_class_validator62.IsNumber)(),
7166
+ (0, import_class_validator62.Min)(0),
7167
+ (0, import_class_validator62.Max)(5)
7168
+ ], CreateRatingDto.prototype, "paymentPromptness", 2);
7042
7169
  __decorateClass([
7043
7170
  (0, import_class_validator62.IsOptional)(),
7044
- (0, import_class_validator62.IsString)({ message: "Review must be a string" })
7045
- ], CreateRatingDto.prototype, "review", 2);
7171
+ (0, import_class_validator62.IsNumber)(),
7172
+ (0, import_class_validator62.Min)(0),
7173
+ (0, import_class_validator62.Max)(5)
7174
+ ], CreateRatingDto.prototype, "responsibilitiesAndExpectations", 2);
7046
7175
 
7047
7176
  // src/modules/company-role/pattern/pattern.ts
7048
7177
  var COMPANY_ROLES_PATTERNS = {
package/dist/index.mjs CHANGED
@@ -2165,8 +2165,9 @@ import {
2165
2165
  IsNotEmpty as IsNotEmpty51,
2166
2166
  IsOptional as IsOptional28,
2167
2167
  IsString as IsString32,
2168
- Max as Max3,
2169
- Min as Min3
2168
+ IsNumber as IsNumber8,
2169
+ Min as Min3,
2170
+ Max as Max3
2170
2171
  } from "class-validator";
2171
2172
 
2172
2173
  // src/entities/rating.entity.ts
@@ -4620,6 +4621,8 @@ var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
4620
4621
  var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
4621
4622
  ContractTypeEnum2["NDA"] = "NDA";
4622
4623
  ContractTypeEnum2["WORK"] = "WORK";
4624
+ ContractTypeEnum2["SOW"] = "SOW";
4625
+ ContractTypeEnum2["MSA"] = "MSA";
4623
4626
  return ContractTypeEnum2;
4624
4627
  })(ContractTypeEnum || {});
4625
4628
  var Contract = class extends BaseEntity {
@@ -4941,6 +4944,7 @@ var JobStatusEnum = /* @__PURE__ */ ((JobStatusEnum2) => {
4941
4944
  JobStatusEnum2["DRAFT"] = "DRAFT";
4942
4945
  JobStatusEnum2["ONHOLD"] = "ONHOLD";
4943
4946
  JobStatusEnum2["CLOSED"] = "CLOSED";
4947
+ JobStatusEnum2["COMPLETED"] = "COMPLETED";
4944
4948
  return JobStatusEnum2;
4945
4949
  })(JobStatusEnum || {});
4946
4950
  var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
@@ -5264,6 +5268,11 @@ __decorateClass([
5264
5268
  cascade: true
5265
5269
  })
5266
5270
  ], Job.prototype, "jobLocations", 2);
5271
+ __decorateClass([
5272
+ OneToMany13(() => Rating, (rating) => rating.job, {
5273
+ cascade: true
5274
+ })
5275
+ ], Job.prototype, "ratings", 2);
5267
5276
  Job = __decorateClass([
5268
5277
  Entity32("jobs")
5269
5278
  ], Job);
@@ -6961,6 +6970,14 @@ __decorateClass([
6961
6970
  ManyToOne59(() => User, { onDelete: "CASCADE" }),
6962
6971
  JoinColumn60({ name: "reviewee_id" })
6963
6972
  ], Rating.prototype, "reviewee", 2);
6973
+ __decorateClass([
6974
+ Column65({ name: "job_id", type: "integer" }),
6975
+ Index57()
6976
+ ], Rating.prototype, "jobId", 2);
6977
+ __decorateClass([
6978
+ ManyToOne59(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
6979
+ JoinColumn60({ name: "job_id" })
6980
+ ], Rating.prototype, "job", 2);
6964
6981
  __decorateClass([
6965
6982
  Column65({
6966
6983
  type: "enum",
@@ -6968,12 +6985,60 @@ __decorateClass([
6968
6985
  nullable: true
6969
6986
  })
6970
6987
  ], Rating.prototype, "ratingType", 2);
6971
- __decorateClass([
6972
- Column65({ type: "integer", nullable: true })
6973
- ], Rating.prototype, "rating", 2);
6974
6988
  __decorateClass([
6975
6989
  Column65({ type: "text", nullable: true })
6976
- ], Rating.prototype, "review", 2);
6990
+ ], Rating.prototype, "reviewer_comment", 2);
6991
+ __decorateClass([
6992
+ Column65({
6993
+ type: "float",
6994
+ default: 0
6995
+ })
6996
+ ], Rating.prototype, "overall_experience", 2);
6997
+ __decorateClass([
6998
+ Column65({
6999
+ type: "float",
7000
+ default: 0
7001
+ })
7002
+ ], Rating.prototype, "work_quality", 2);
7003
+ __decorateClass([
7004
+ Column65({
7005
+ type: "float",
7006
+ default: 0
7007
+ })
7008
+ ], Rating.prototype, "one_time_delivery", 2);
7009
+ __decorateClass([
7010
+ Column65({
7011
+ type: "float",
7012
+ default: 0
7013
+ })
7014
+ ], Rating.prototype, "understaning", 2);
7015
+ __decorateClass([
7016
+ Column65({
7017
+ type: "float",
7018
+ default: 0
7019
+ })
7020
+ ], Rating.prototype, "communication", 2);
7021
+ __decorateClass([
7022
+ Column65({
7023
+ type: "float",
7024
+ default: 0
7025
+ })
7026
+ ], Rating.prototype, "skill_utilized", 2);
7027
+ __decorateClass([
7028
+ Column65({ type: "float", default: 0 })
7029
+ ], Rating.prototype, "communication_clarity", 2);
7030
+ __decorateClass([
7031
+ Column65({ type: "float", default: 0 })
7032
+ ], Rating.prototype, "requirements_clarity", 2);
7033
+ __decorateClass([
7034
+ Column65({ type: "float", default: 0 })
7035
+ ], Rating.prototype, "responsiveness", 2);
7036
+ __decorateClass([
7037
+ Column65({ type: "float", default: 0 })
7038
+ ], Rating.prototype, "payment_promptness", 2);
7039
+ __decorateClass([
7040
+ Column65({ type: "float", default: 0 })
7041
+ ], Rating.prototype, "responsibilities_and_expectations", 2);
6977
7042
  Rating = __decorateClass([
6978
7043
  Entity64("ratings")
6979
7044
  ], Rating);
@@ -6985,20 +7050,85 @@ __decorateClass([
6985
7050
  IsInt2({ message: "Reviewee ID must be a valid integer" }),
6986
7051
  IsNotEmpty51({ message: "Reviewee ID is required" })
6987
7052
  ], CreateRatingDto.prototype, "revieweeId", 2);
7053
+ __decorateClass([
7054
+ IsInt2({ message: "Job ID must be a valid integer" }),
7055
+ IsNotEmpty51({ message: "Job ID is required" })
7056
+ ], CreateRatingDto.prototype, "jobId", 2);
6988
7057
  __decorateClass([
6989
7058
  IsEnum19(RatingTypeEnum, {
6990
7059
  message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
6991
7060
  })
6992
7061
  ], CreateRatingDto.prototype, "ratingType", 2);
6993
7062
  __decorateClass([
6994
- IsInt2({ message: "Rating must be an integer value" }),
6995
- Min3(1, { message: "Rating must be at least 1" }),
6996
- Max3(5, { message: "Rating must be at most 5" })
6997
- ], CreateRatingDto.prototype, "rating", 2);
7063
+ IsOptional28(),
7064
+ IsString32({ message: "Reviewer comment must be a string" })
7065
+ ], CreateRatingDto.prototype, "reviewerComment", 2);
7066
+ __decorateClass([
7067
+ IsOptional28(),
7068
+ IsNumber8(),
7069
+ Min3(0),
7070
+ Max3(5)
7071
+ ], CreateRatingDto.prototype, "overallExperience", 2);
7072
+ __decorateClass([
7073
+ IsOptional28(),
7074
+ IsNumber8(),
7075
+ Min3(0),
7076
+ Max3(5)
7077
+ ], CreateRatingDto.prototype, "workQuality", 2);
7078
+ __decorateClass([
7079
+ IsOptional28(),
7080
+ IsNumber8(),
7081
+ Min3(0),
7082
+ Max3(5)
7083
+ ], CreateRatingDto.prototype, "oneTimeDelivery", 2);
7084
+ __decorateClass([
7085
+ IsOptional28(),
7086
+ IsNumber8(),
7087
+ Min3(0),
7088
+ Max3(5)
7089
+ ], CreateRatingDto.prototype, "understaning", 2);
7090
+ __decorateClass([
7091
+ IsOptional28(),
7092
+ IsNumber8(),
7093
+ Min3(0),
7094
+ Max3(5)
7095
+ ], CreateRatingDto.prototype, "communication", 2);
7096
+ __decorateClass([
7097
+ IsOptional28(),
7098
+ IsNumber8(),
7099
+ Min3(0),
7100
+ Max3(5)
7101
+ ], CreateRatingDto.prototype, "skillUtilized", 2);
7102
+ __decorateClass([
7103
+ IsOptional28(),
7104
+ IsNumber8(),
7105
+ Min3(0),
7106
+ Max3(5)
7107
+ ], CreateRatingDto.prototype, "communicationClarity", 2);
7108
+ __decorateClass([
7109
+ IsOptional28(),
7110
+ IsNumber8(),
7111
+ Min3(0),
7112
+ Max3(5)
7113
+ ], CreateRatingDto.prototype, "requirementsClarity", 2);
7114
+ __decorateClass([
7115
+ IsOptional28(),
7116
+ IsNumber8(),
7117
+ Min3(0),
7118
+ Max3(5)
7119
+ ], CreateRatingDto.prototype, "responsiveness", 2);
7120
+ __decorateClass([
7121
+ IsOptional28(),
7122
+ IsNumber8(),
7123
+ Min3(0),
7124
+ Max3(5)
7125
+ ], CreateRatingDto.prototype, "paymentPromptness", 2);
6998
7126
  __decorateClass([
6999
7127
  IsOptional28(),
7000
- IsString32({ message: "Review must be a string" })
7001
- ], CreateRatingDto.prototype, "review", 2);
7128
+ IsNumber8(),
7129
+ Min3(0),
7130
+ Max3(5)
7131
+ ], CreateRatingDto.prototype, "responsibilitiesAndExpectations", 2);
7002
7132
 
7003
7133
  // src/modules/company-role/pattern/pattern.ts
7004
7134
  var COMPANY_ROLES_PATTERNS = {
@@ -7348,7 +7478,7 @@ import {
7348
7478
  IsBoolean as IsBoolean11,
7349
7479
  IsOptional as IsOptional37,
7350
7480
  IsEnum as IsEnum20,
7351
- IsNumber as IsNumber8,
7481
+ IsNumber as IsNumber9,
7352
7482
  IsUrl as IsUrl3,
7353
7483
  Min as Min4,
7354
7484
  MaxLength as MaxLength16,
@@ -7416,7 +7546,7 @@ __decorateClass([
7416
7546
  })
7417
7547
  ], CreateFreelancerDto.prototype, "natureOfWork", 2);
7418
7548
  __decorateClass([
7419
- IsNumber8({}, { message: "Expected hourly compensation must be a number" }),
7549
+ IsNumber9({}, { message: "Expected hourly compensation must be a number" }),
7420
7550
  Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
7421
7551
  Type8(() => Number)
7422
7552
  ], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
@@ -7472,7 +7602,7 @@ import {
7472
7602
  IsBoolean as IsBoolean12,
7473
7603
  IsOptional as IsOptional38,
7474
7604
  IsEnum as IsEnum21,
7475
- IsNumber as IsNumber9,
7605
+ IsNumber as IsNumber10,
7476
7606
  IsUrl as IsUrl4,
7477
7607
  Min as Min5,
7478
7608
  MaxLength as MaxLength17,
@@ -7538,7 +7668,7 @@ __decorateClass([
7538
7668
  ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
7539
7669
  __decorateClass([
7540
7670
  IsOptional38(),
7541
- IsNumber9({}, { message: "Expected hourly compensation must be a number" }),
7671
+ IsNumber10({}, { message: "Expected hourly compensation must be a number" }),
7542
7672
  Min5(0, { message: "Expected hourly compensation must be 0 or more" }),
7543
7673
  Type9(() => Number)
7544
7674
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
@@ -7592,12 +7722,12 @@ __decorateClass([
7592
7722
  ], UpdateFreelancerDto.prototype, "portfolioLink", 2);
7593
7723
 
7594
7724
  // src/modules/freelancer-admin/dto/send-ai-assessment-link.dto.ts
7595
- import { IsNotEmpty as IsNotEmpty62, IsNumber as IsNumber10 } from "class-validator";
7725
+ import { IsNotEmpty as IsNotEmpty62, IsNumber as IsNumber11 } from "class-validator";
7596
7726
  var SendAiAssessmentLinkDto = class {
7597
7727
  };
7598
7728
  __decorateClass([
7599
7729
  IsNotEmpty62({ message: "User ID is required" }),
7600
- IsNumber10({}, { message: "User ID must be a number" })
7730
+ IsNumber11({}, { message: "User ID must be a number" })
7601
7731
  ], SendAiAssessmentLinkDto.prototype, "userId", 2);
7602
7732
 
7603
7733
  // src/modules/freelancer-admin/dto/update-assessment-request-status.dto.ts
@@ -7857,22 +7987,22 @@ var CLIENT_CANDIDATE_PREFERENCE_PATTERN = {
7857
7987
  };
7858
7988
 
7859
7989
  // src/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.ts
7860
- import { IsNotEmpty as IsNotEmpty67, IsNumber as IsNumber11 } from "class-validator";
7990
+ import { IsNotEmpty as IsNotEmpty67, IsNumber as IsNumber12 } from "class-validator";
7861
7991
  var MarkCandidateStatusDto = class {
7862
7992
  };
7863
7993
  __decorateClass([
7864
7994
  IsNotEmpty67({ message: "Candidate ID is required" }),
7865
- IsNumber11({}, { message: "Candidate ID must be a number" })
7995
+ IsNumber12({}, { message: "Candidate ID must be a number" })
7866
7996
  ], MarkCandidateStatusDto.prototype, "candidateId", 2);
7867
7997
 
7868
7998
  // src/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.ts
7869
- import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray14, IsNumber as IsNumber12 } from "class-validator";
7999
+ import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray14, IsNumber as IsNumber13 } from "class-validator";
7870
8000
  var MarkCandidateStatusBulkDto = class {
7871
8001
  };
7872
8002
  __decorateClass([
7873
8003
  IsArray14({ message: "Candidate IDs must be an array" }),
7874
8004
  ArrayNotEmpty8({ message: "At least one candidate ID is required" }),
7875
- IsNumber12({}, { each: true, message: "Each candidate ID must be a number" })
8005
+ IsNumber13({}, { each: true, message: "Each candidate ID must be a number" })
7876
8006
  ], MarkCandidateStatusBulkDto.prototype, "candidateIds", 2);
7877
8007
 
7878
8008
  // src/modules/cms/pattern/pattern.ts
@@ -7958,7 +8088,7 @@ import {
7958
8088
  IsNotEmpty as IsNotEmpty70,
7959
8089
  ArrayNotEmpty as ArrayNotEmpty9,
7960
8090
  Min as Min6,
7961
- IsNumber as IsNumber13
8091
+ IsNumber as IsNumber14
7962
8092
  } from "class-validator";
7963
8093
  var JobLocationEnumDto = /* @__PURE__ */ ((JobLocationEnumDto2) => {
7964
8094
  JobLocationEnumDto2["ONSITE"] = "ONSITE";
@@ -8019,11 +8149,11 @@ __decorateClass([
8019
8149
  ], AdminCreateJobInformationDto.prototype, "currency", 2);
8020
8150
  __decorateClass([
8021
8151
  Type10(() => Number),
8022
- IsNumber13({}, { message: "Expected salary from must be a number." })
8152
+ IsNumber14({}, { message: "Expected salary from must be a number." })
8023
8153
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
8024
8154
  __decorateClass([
8025
8155
  Type10(() => Number),
8026
- IsNumber13({}, { message: "Expected salary to must be a number." })
8156
+ IsNumber14({}, { message: "Expected salary to must be a number." })
8027
8157
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
8028
8158
  __decorateClass([
8029
8159
  IsDateString4(
@@ -8069,7 +8199,7 @@ import {
8069
8199
  IsNotEmpty as IsNotEmpty71,
8070
8200
  ArrayNotEmpty as ArrayNotEmpty10,
8071
8201
  Min as Min7,
8072
- IsNumber as IsNumber14
8202
+ IsNumber as IsNumber15
8073
8203
  } from "class-validator";
8074
8204
  var JobLocationEnums = /* @__PURE__ */ ((JobLocationEnums2) => {
8075
8205
  JobLocationEnums2["ONSITE"] = "ONSITE";
@@ -8130,11 +8260,11 @@ __decorateClass([
8130
8260
  ], AdminUpdateJobInformationDto.prototype, "currency", 2);
8131
8261
  __decorateClass([
8132
8262
  Type11(() => Number),
8133
- IsNumber14({}, { message: "Expected salary from must be a number." })
8263
+ IsNumber15({}, { message: "Expected salary from must be a number." })
8134
8264
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
8135
8265
  __decorateClass([
8136
8266
  Type11(() => Number),
8137
- IsNumber14({}, { message: "Expected salary to must be a number." })
8267
+ IsNumber15({}, { message: "Expected salary to must be a number." })
8138
8268
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
8139
8269
  __decorateClass([
8140
8270
  IsDateString5(
@@ -8174,7 +8304,7 @@ import {
8174
8304
  IsNotEmpty as IsNotEmpty72,
8175
8305
  IsArray as IsArray17,
8176
8306
  ArrayNotEmpty as ArrayNotEmpty11,
8177
- IsNumber as IsNumber15,
8307
+ IsNumber as IsNumber16,
8178
8308
  IsOptional as IsOptional47,
8179
8309
  IsEnum as IsEnum28,
8180
8310
  Min as Min8,
@@ -8213,15 +8343,15 @@ var JobLocationAdminDto = class {
8213
8343
  };
8214
8344
  __decorateClass([
8215
8345
  IsOptional47(),
8216
- IsNumber15()
8346
+ IsNumber16()
8217
8347
  ], JobLocationAdminDto.prototype, "countryId", 2);
8218
8348
  __decorateClass([
8219
8349
  IsOptional47(),
8220
- IsNumber15()
8350
+ IsNumber16()
8221
8351
  ], JobLocationAdminDto.prototype, "stateId", 2);
8222
8352
  __decorateClass([
8223
8353
  IsOptional47(),
8224
- IsNumber15()
8354
+ IsNumber16()
8225
8355
  ], JobLocationAdminDto.prototype, "cityId", 2);
8226
8356
  var AdminJobBasicInformationV2Dto = class {
8227
8357
  constructor() {
@@ -8253,7 +8383,7 @@ __decorateClass([
8253
8383
  ], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
8254
8384
  __decorateClass([
8255
8385
  ValidateIf9((o) => !o.isDraft),
8256
- IsNumber15({}, { message: "Openings must be a number" }),
8386
+ IsNumber16({}, { message: "Openings must be a number" }),
8257
8387
  Min8(1, { message: "There must be at least 1 opening" }),
8258
8388
  Type12(() => Number)
8259
8389
  ], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
@@ -8275,13 +8405,13 @@ __decorateClass([
8275
8405
  ], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
8276
8406
  __decorateClass([
8277
8407
  IsOptional47(),
8278
- IsNumber15({}, { message: "Expected salary (from) must be a number" }),
8408
+ IsNumber16({}, { message: "Expected salary (from) must be a number" }),
8279
8409
  Min8(0, { message: "Expected salary (from) cannot be negative" }),
8280
8410
  Type12(() => Number)
8281
8411
  ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
8282
8412
  __decorateClass([
8283
8413
  IsOptional47(),
8284
- IsNumber15({}, { message: "Expected salary (to) must be a number" }),
8414
+ IsNumber16({}, { message: "Expected salary (to) must be a number" }),
8285
8415
  Min8(0, { message: "Expected salary (to) cannot be negative" }),
8286
8416
  Type12(() => Number)
8287
8417
  ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
@@ -8328,7 +8458,7 @@ __decorateClass([
8328
8458
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
8329
8459
  __decorateClass([
8330
8460
  IsOptional47(),
8331
- IsNumber15({}, { message: "Expected annual budget (from) must be a number" }),
8461
+ IsNumber16({}, { message: "Expected annual budget (from) must be a number" }),
8332
8462
  Min8(0, { message: "Expected annual budget (from) cannot be negative" }),
8333
8463
  Type12(() => Number)
8334
8464
  ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
@@ -8337,7 +8467,7 @@ __decorateClass([
8337
8467
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
8338
8468
  __decorateClass([
8339
8469
  IsOptional47(),
8340
- IsNumber15({}, { message: "Expected annual budget (to) must be a number" }),
8470
+ IsNumber16({}, { message: "Expected annual budget (to) must be a number" }),
8341
8471
  Min8(0, { message: "Expected annual budget (to) cannot be negative" }),
8342
8472
  Type12(() => Number)
8343
8473
  ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
@@ -8346,7 +8476,7 @@ __decorateClass([
8346
8476
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
8347
8477
  __decorateClass([
8348
8478
  IsOptional47(),
8349
- IsNumber15({}, { message: "Number of hours must be a number" }),
8479
+ IsNumber16({}, { message: "Number of hours must be a number" }),
8350
8480
  Min8(0, { message: "Number of hours cannot be negative" }),
8351
8481
  Max4(40, { message: "Number of hours cannot exceed 40" }),
8352
8482
  Type12(() => Number)
@@ -8633,7 +8763,7 @@ import {
8633
8763
  IsString as IsString56,
8634
8764
  IsNotEmpty as IsNotEmpty77,
8635
8765
  IsEmail as IsEmail18,
8636
- IsNumber as IsNumber16
8766
+ IsNumber as IsNumber17
8637
8767
  } from "class-validator";
8638
8768
  var CreateF2FInterviewDto = class {
8639
8769
  };
@@ -8646,10 +8776,10 @@ __decorateClass([
8646
8776
  IsNotEmpty77({ message: "Invitee name is required." })
8647
8777
  ], CreateF2FInterviewDto.prototype, "inviteeName", 2);
8648
8778
  __decorateClass([
8649
- IsNumber16({}, { message: "Interview ID must be a number." })
8779
+ IsNumber17({}, { message: "Interview ID must be a number." })
8650
8780
  ], CreateF2FInterviewDto.prototype, "interviewId", 2);
8651
8781
  __decorateClass([
8652
- IsNumber16({}, { message: "Candidate ID must be a number." })
8782
+ IsNumber17({}, { message: "Candidate ID must be a number." })
8653
8783
  ], CreateF2FInterviewDto.prototype, "candidateId", 2);
8654
8784
 
8655
8785
  // src/modules/interview/dto/create-f2f-interview-direct.dto.ts
@@ -8657,7 +8787,7 @@ import {
8657
8787
  IsString as IsString57,
8658
8788
  IsNotEmpty as IsNotEmpty78,
8659
8789
  IsEmail as IsEmail19,
8660
- IsNumber as IsNumber17
8790
+ IsNumber as IsNumber18
8661
8791
  } from "class-validator";
8662
8792
  var CreateF2FInterviewDirectDto = class {
8663
8793
  };
@@ -8670,10 +8800,10 @@ __decorateClass([
8670
8800
  IsNotEmpty78({ message: "Invitee name is required." })
8671
8801
  ], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
8672
8802
  __decorateClass([
8673
- IsNumber17({}, { message: "Job ID must be a number." })
8803
+ IsNumber18({}, { message: "Job ID must be a number." })
8674
8804
  ], CreateF2FInterviewDirectDto.prototype, "jobId", 2);
8675
8805
  __decorateClass([
8676
- IsNumber17({}, { message: "Candidate ID must be a number." })
8806
+ IsNumber18({}, { message: "Candidate ID must be a number." })
8677
8807
  ], CreateF2FInterviewDirectDto.prototype, "candidateId", 2);
8678
8808
 
8679
8809
  // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
@@ -8748,12 +8878,12 @@ __decorateClass([
8748
8878
  ], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
8749
8879
 
8750
8880
  // src/modules/interview/dto/create-interview-basic-information.dto.ts
8751
- import { IsNotEmpty as IsNotEmpty82, IsString as IsString63, IsNumber as IsNumber18 } from "class-validator";
8881
+ import { IsNotEmpty as IsNotEmpty82, IsString as IsString63, IsNumber as IsNumber19 } from "class-validator";
8752
8882
  var CreateInterviewBasicInformationDto = class {
8753
8883
  };
8754
8884
  __decorateClass([
8755
8885
  IsNotEmpty82({ message: "Job ID is required" }),
8756
- IsNumber18({}, { message: "Job ID must be a number" })
8886
+ IsNumber19({}, { message: "Job ID must be a number" })
8757
8887
  ], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
8758
8888
  __decorateClass([
8759
8889
  IsNotEmpty82({ message: "Interview name is required" }),
@@ -8761,7 +8891,7 @@ __decorateClass([
8761
8891
  ], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
8762
8892
 
8763
8893
  // src/modules/interview/dto/update-interview-basic-information.dto.ts
8764
- import { IsOptional as IsOptional57, IsString as IsString64, IsNumber as IsNumber19, IsArray as IsArray20, IsDateString as IsDateString8 } from "class-validator";
8894
+ import { IsOptional as IsOptional57, IsString as IsString64, IsNumber as IsNumber20, IsArray as IsArray20, IsDateString as IsDateString8 } from "class-validator";
8765
8895
  var UpdateInterviewBasicInformationDto = class {
8766
8896
  };
8767
8897
  __decorateClass([
@@ -8778,12 +8908,12 @@ __decorateClass([
8778
8908
  ], UpdateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
8779
8909
  __decorateClass([
8780
8910
  IsOptional57(),
8781
- IsNumber19({}, { message: "Duration must be a number" })
8911
+ IsNumber20({}, { message: "Duration must be a number" })
8782
8912
  ], UpdateInterviewBasicInformationDto.prototype, "duration", 2);
8783
8913
  __decorateClass([
8784
8914
  IsOptional57(),
8785
8915
  IsArray20(),
8786
- IsNumber19({}, { each: true, message: "Each skill ID must be a number" })
8916
+ IsNumber20({}, { each: true, message: "Each skill ID must be a number" })
8787
8917
  ], UpdateInterviewBasicInformationDto.prototype, "skillIds", 2);
8788
8918
  __decorateClass([
8789
8919
  IsOptional57(),
@@ -8825,19 +8955,19 @@ var CONTRACT_PATTERN = {
8825
8955
  };
8826
8956
 
8827
8957
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
8828
- import { IsEnum as IsEnum31, IsNotEmpty as IsNotEmpty83, IsNumber as IsNumber20 } from "class-validator";
8958
+ import { IsEnum as IsEnum31, IsNotEmpty as IsNotEmpty83, IsNumber as IsNumber21 } from "class-validator";
8829
8959
  import { Type as Type14 } from "class-transformer";
8830
8960
  var SignContractForClientDto = class {
8831
8961
  };
8832
8962
  __decorateClass([
8833
8963
  IsNotEmpty83({ message: "Job Id is required." }),
8834
8964
  Type14(() => Number),
8835
- IsNumber20({}, { message: "Job ID must be a number." })
8965
+ IsNumber21({}, { message: "Job ID must be a number." })
8836
8966
  ], SignContractForClientDto.prototype, "jobId", 2);
8837
8967
  __decorateClass([
8838
8968
  IsNotEmpty83({ message: "Freelancer ID is required." }),
8839
8969
  Type14(() => Number),
8840
- IsNumber20({}, { message: "Freelancer ID must be a number." })
8970
+ IsNumber21({}, { message: "Freelancer ID must be a number." })
8841
8971
  ], SignContractForClientDto.prototype, "freelancerId", 2);
8842
8972
  __decorateClass([
8843
8973
  IsNotEmpty83({ message: "Contract type is required." }),
@@ -8845,19 +8975,19 @@ __decorateClass([
8845
8975
  ], SignContractForClientDto.prototype, "contractType", 2);
8846
8976
 
8847
8977
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
8848
- import { IsEnum as IsEnum32, IsNotEmpty as IsNotEmpty84, IsNumber as IsNumber21 } from "class-validator";
8978
+ import { IsEnum as IsEnum32, IsNotEmpty as IsNotEmpty84, IsNumber as IsNumber22 } from "class-validator";
8849
8979
  import { Type as Type15 } from "class-transformer";
8850
8980
  var SignContractForFreelancerDto = class {
8851
8981
  };
8852
8982
  __decorateClass([
8853
8983
  IsNotEmpty84({ message: "Job Id is required." }),
8854
8984
  Type15(() => Number),
8855
- IsNumber21({}, { message: "Job ID must be a number." })
8985
+ IsNumber22({}, { message: "Job ID must be a number." })
8856
8986
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
8857
8987
  __decorateClass([
8858
8988
  IsNotEmpty84({ message: "Client ID is required." }),
8859
8989
  Type15(() => Number),
8860
- IsNumber21({}, { message: "Client ID must be a number." })
8990
+ IsNumber22({}, { message: "Client ID must be a number." })
8861
8991
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
8862
8992
  __decorateClass([
8863
8993
  IsNotEmpty84({ message: "Contract type is required." }),
@@ -8865,12 +8995,12 @@ __decorateClass([
8865
8995
  ], SignContractForFreelancerDto.prototype, "contractType", 2);
8866
8996
 
8867
8997
  // src/modules/contract/dto/generate-contract.dto.ts
8868
- import { IsNotEmpty as IsNotEmpty85, IsNumber as IsNumber22, IsOptional as IsOptional58, IsString as IsString65 } from "class-validator";
8998
+ import { IsNotEmpty as IsNotEmpty85, IsNumber as IsNumber23, IsOptional as IsOptional58, IsString as IsString65 } from "class-validator";
8869
8999
  var GenerateContractDto = class {
8870
9000
  };
8871
9001
  __decorateClass([
8872
9002
  IsNotEmpty85({ message: "Hiring ID is required" }),
8873
- IsNumber22({}, { message: "Hiring ID must be a number" })
9003
+ IsNumber23({}, { message: "Hiring ID must be a number" })
8874
9004
  ], GenerateContractDto.prototype, "hiringId", 2);
8875
9005
  __decorateClass([
8876
9006
  IsOptional58(),
@@ -8900,16 +9030,16 @@ __decorateClass([
8900
9030
  ], EsignContractFreelancerDto.prototype, "contractUuid", 2);
8901
9031
 
8902
9032
  // src/modules/contract/dto/escrow-fund-contract.dto.ts
8903
- import { IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber23, IsOptional as IsOptional59, IsString as IsString68 } from "class-validator";
9033
+ import { IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber24, IsOptional as IsOptional59, IsString as IsString68 } from "class-validator";
8904
9034
  var EscrowFundContractDto = class {
8905
9035
  };
8906
9036
  __decorateClass([
8907
9037
  IsNotEmpty88({ message: "Contract ID is required" }),
8908
- IsNumber23({}, { message: "Contract ID must be a number" })
9038
+ IsNumber24({}, { message: "Contract ID must be a number" })
8909
9039
  ], EscrowFundContractDto.prototype, "contractId", 2);
8910
9040
  __decorateClass([
8911
9041
  IsNotEmpty88({ message: "Amount is required" }),
8912
- IsNumber23({}, { message: "Amount must be a number" })
9042
+ IsNumber24({}, { message: "Amount must be a number" })
8913
9043
  ], EscrowFundContractDto.prototype, "amount", 2);
8914
9044
  __decorateClass([
8915
9045
  IsOptional59(),
@@ -8951,12 +9081,12 @@ __decorateClass([
8951
9081
  ], CreateCheckoutSessionDto.prototype, "amount", 2);
8952
9082
 
8953
9083
  // src/modules/stripe/dto/pre-checkout-calculation.dto.ts
8954
- import { IsNotEmpty as IsNotEmpty90, IsNumber as IsNumber24, IsOptional as IsOptional60, IsString as IsString69 } from "class-validator";
9084
+ import { IsNotEmpty as IsNotEmpty90, IsNumber as IsNumber25, IsOptional as IsOptional60, IsString as IsString69 } from "class-validator";
8955
9085
  var PreCheckoutCalculationDto = class {
8956
9086
  };
8957
9087
  __decorateClass([
8958
9088
  IsNotEmpty90({ message: "Amount is required" }),
8959
- IsNumber24({}, { message: "Amount must be a number" })
9089
+ IsNumber25({}, { message: "Amount must be a number" })
8960
9090
  ], PreCheckoutCalculationDto.prototype, "amount", 2);
8961
9091
  __decorateClass([
8962
9092
  IsOptional60(),
@@ -8968,12 +9098,12 @@ __decorateClass([
8968
9098
  ], PreCheckoutCalculationDto.prototype, "description", 2);
8969
9099
 
8970
9100
  // src/modules/stripe/dto/client-add-fund.dto.ts
8971
- import { IsNotEmpty as IsNotEmpty91, IsNumber as IsNumber25, IsOptional as IsOptional61, IsString as IsString70 } from "class-validator";
9101
+ import { IsNotEmpty as IsNotEmpty91, IsNumber as IsNumber26, IsOptional as IsOptional61, IsString as IsString70 } from "class-validator";
8972
9102
  var ClientAddFundDto = class {
8973
9103
  };
8974
9104
  __decorateClass([
8975
9105
  IsNotEmpty91({ message: "Amount is required" }),
8976
- IsNumber25({}, { message: "Amount must be a number" })
9106
+ IsNumber26({}, { message: "Amount must be a number" })
8977
9107
  ], ClientAddFundDto.prototype, "amount", 2);
8978
9108
  __decorateClass([
8979
9109
  IsOptional61(),
@@ -8985,12 +9115,12 @@ __decorateClass([
8985
9115
  ], ClientAddFundDto.prototype, "description", 2);
8986
9116
 
8987
9117
  // src/modules/stripe/dto/transfer-funds.dto.ts
8988
- import { IsNotEmpty as IsNotEmpty92, IsNumber as IsNumber26, IsOptional as IsOptional62, IsString as IsString71 } from "class-validator";
9118
+ import { IsNotEmpty as IsNotEmpty92, IsNumber as IsNumber27, IsOptional as IsOptional62, IsString as IsString71 } from "class-validator";
8989
9119
  var TransferFundsDto = class {
8990
9120
  };
8991
9121
  __decorateClass([
8992
9122
  IsNotEmpty92({ message: "Amount is required" }),
8993
- IsNumber26({}, { message: "Amount must be a number" })
9123
+ IsNumber27({}, { message: "Amount must be a number" })
8994
9124
  ], TransferFundsDto.prototype, "amount", 2);
8995
9125
  __decorateClass([
8996
9126
  IsNotEmpty92({ message: "Connected account ID is required" }),
@@ -9002,12 +9132,12 @@ __decorateClass([
9002
9132
  ], TransferFundsDto.prototype, "description", 2);
9003
9133
 
9004
9134
  // src/modules/stripe/dto/create-payout.dto.ts
9005
- import { IsNotEmpty as IsNotEmpty93, IsNumber as IsNumber27, IsOptional as IsOptional63, IsString as IsString72 } from "class-validator";
9135
+ import { IsNotEmpty as IsNotEmpty93, IsNumber as IsNumber28, IsOptional as IsOptional63, IsString as IsString72 } from "class-validator";
9006
9136
  var CreatePayoutDto = class {
9007
9137
  };
9008
9138
  __decorateClass([
9009
9139
  IsNotEmpty93({ message: "Amount is required" }),
9010
- IsNumber27({}, { message: "Amount must be a number" })
9140
+ IsNumber28({}, { message: "Amount must be a number" })
9011
9141
  ], CreatePayoutDto.prototype, "amount", 2);
9012
9142
  __decorateClass([
9013
9143
  IsNotEmpty93({ message: "Connected account ID is required" }),
@@ -9070,13 +9200,13 @@ import {
9070
9200
  IsOptional as IsOptional64,
9071
9201
  IsString as IsString73,
9072
9202
  Matches as Matches13,
9073
- IsNumber as IsNumber28
9203
+ IsNumber as IsNumber29
9074
9204
  } from "class-validator";
9075
9205
  var CreateFreelancerTimesheetDto = class {
9076
9206
  };
9077
9207
  __decorateClass([
9078
9208
  IsNotEmpty94({ message: "Job id is required" }),
9079
- IsNumber28({}, { message: "Job id must be a number" })
9209
+ IsNumber29({}, { message: "Job id must be a number" })
9080
9210
  ], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
9081
9211
  __decorateClass([
9082
9212
  IsNotEmpty94({ message: "start date is required" }),
@@ -9126,13 +9256,13 @@ import {
9126
9256
  IsOptional as IsOptional65,
9127
9257
  IsString as IsString74,
9128
9258
  Matches as Matches14,
9129
- IsNumber as IsNumber29
9259
+ IsNumber as IsNumber30
9130
9260
  } from "class-validator";
9131
9261
  var UpdateFreelancerTimesheetDto = class {
9132
9262
  };
9133
9263
  __decorateClass([
9134
9264
  IsNotEmpty95({ message: "Job id is required" }),
9135
- IsNumber29({}, { message: "Job id must be a number" })
9265
+ IsNumber30({}, { message: "Job id must be a number" })
9136
9266
  ], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
9137
9267
  __decorateClass([
9138
9268
  IsNotEmpty95({ message: "start date is required" }),
@@ -9175,41 +9305,41 @@ __decorateClass([
9175
9305
  ], UpdateFreelancerTimesheetDto.prototype, "description", 2);
9176
9306
 
9177
9307
  // src/modules/timesheet/dto/submit-timesheet.dto.ts
9178
- import { IsNotEmpty as IsNotEmpty96, IsNumber as IsNumber30 } from "class-validator";
9308
+ import { IsNotEmpty as IsNotEmpty96, IsNumber as IsNumber31 } from "class-validator";
9179
9309
  var SubmitTimesheetDto = class {
9180
9310
  };
9181
9311
  __decorateClass([
9182
9312
  IsNotEmpty96({ message: "Timesheet line ID is required" }),
9183
- IsNumber30({}, { message: "Timesheet line ID must be a number" })
9313
+ IsNumber31({}, { message: "Timesheet line ID must be a number" })
9184
9314
  ], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
9185
9315
 
9186
9316
  // src/modules/timesheet/dto/resubmit-timesheet.dto.ts
9187
- import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber31 } from "class-validator";
9317
+ import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber32 } from "class-validator";
9188
9318
  var ResubmitTimesheetDto = class {
9189
9319
  };
9190
9320
  __decorateClass([
9191
9321
  IsNotEmpty97({ message: "Timesheet line ID is required" }),
9192
- IsNumber31({}, { message: "Timesheet line ID must be a number" })
9322
+ IsNumber32({}, { message: "Timesheet line ID must be a number" })
9193
9323
  ], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
9194
9324
 
9195
9325
  // src/modules/timesheet/dto/approve-timesheets.dto.ts
9196
- import { ArrayNotEmpty as ArrayNotEmpty13, IsArray as IsArray21, IsNumber as IsNumber32 } from "class-validator";
9326
+ import { ArrayNotEmpty as ArrayNotEmpty13, IsArray as IsArray21, IsNumber as IsNumber33 } from "class-validator";
9197
9327
  var ApproveTimesheetsDto = class {
9198
9328
  };
9199
9329
  __decorateClass([
9200
9330
  IsArray21({ message: "Timesheet line IDs must be an array" }),
9201
9331
  ArrayNotEmpty13({ message: "At least one timesheet line ID is required" }),
9202
- IsNumber32({}, { each: true, message: "Each timesheet line ID must be a number" })
9332
+ IsNumber33({}, { each: true, message: "Each timesheet line ID must be a number" })
9203
9333
  ], ApproveTimesheetsDto.prototype, "timesheetLineIds", 2);
9204
9334
 
9205
9335
  // src/modules/timesheet/dto/send-back-timesheets.dto.ts
9206
- import { ArrayNotEmpty as ArrayNotEmpty14, IsArray as IsArray22, IsNumber as IsNumber33, IsOptional as IsOptional66, IsString as IsString75 } from "class-validator";
9336
+ import { ArrayNotEmpty as ArrayNotEmpty14, IsArray as IsArray22, IsNumber as IsNumber34, IsOptional as IsOptional66, IsString as IsString75 } from "class-validator";
9207
9337
  var SendBackTimesheetsDto = class {
9208
9338
  };
9209
9339
  __decorateClass([
9210
9340
  IsArray22({ message: "Timesheet line IDs must be an array" }),
9211
9341
  ArrayNotEmpty14({ message: "At least one timesheet line ID is required" }),
9212
- IsNumber33({}, { each: true, message: "Each timesheet line ID must be a number" })
9342
+ IsNumber34({}, { each: true, message: "Each timesheet line ID must be a number" })
9213
9343
  ], SendBackTimesheetsDto.prototype, "timesheetLineIds", 2);
9214
9344
  __decorateClass([
9215
9345
  IsOptional66(),
@@ -9217,20 +9347,20 @@ __decorateClass([
9217
9347
  ], SendBackTimesheetsDto.prototype, "reason", 2);
9218
9348
 
9219
9349
  // src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
9220
- import { IsNotEmpty as IsNotEmpty98, IsNumber as IsNumber34 } from "class-validator";
9350
+ import { IsNotEmpty as IsNotEmpty98, IsNumber as IsNumber35 } from "class-validator";
9221
9351
  var CreateDefaultTimesheetLineDto = class {
9222
9352
  };
9223
9353
  __decorateClass([
9224
9354
  IsNotEmpty98({ message: "Contract ID is required" }),
9225
- IsNumber34({}, { message: "Contract ID must be a number" })
9355
+ IsNumber35({}, { message: "Contract ID must be a number" })
9226
9356
  ], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
9227
9357
  __decorateClass([
9228
9358
  IsNotEmpty98({ message: "Freelancer ID is required" }),
9229
- IsNumber34({}, { message: "Freelancer ID must be a number" })
9359
+ IsNumber35({}, { message: "Freelancer ID must be a number" })
9230
9360
  ], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
9231
9361
  __decorateClass([
9232
9362
  IsNotEmpty98({ message: "Client ID is required" }),
9233
- IsNumber34({}, { message: "Client ID must be a number" })
9363
+ IsNumber35({}, { message: "Client ID must be a number" })
9234
9364
  ], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
9235
9365
 
9236
9366
  // src/modules/invoice/pattern/pattern.ts
@@ -9263,12 +9393,12 @@ __decorateClass([
9263
9393
  ], UpdateInvoiceStatusDto.prototype, "status", 2);
9264
9394
 
9265
9395
  // src/modules/invoice/dto/create-invoice.dto.ts
9266
- import { IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber35 } from "class-validator";
9396
+ import { IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber36 } from "class-validator";
9267
9397
  var CreateInvoiceDto = class {
9268
9398
  };
9269
9399
  __decorateClass([
9270
9400
  IsNotEmpty100({ message: "Timesheet line ID is required" }),
9271
- IsNumber35({}, { message: "Timesheet line ID must be a number" })
9401
+ IsNumber36({}, { message: "Timesheet line ID must be a number" })
9272
9402
  ], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
9273
9403
 
9274
9404
  // src/modules/dispute/pattern/pattern.ts
@@ -9286,7 +9416,7 @@ import {
9286
9416
  IsOptional as IsOptional67,
9287
9417
  MaxLength as MaxLength21,
9288
9418
  IsObject as IsObject7,
9289
- IsNumber as IsNumber36,
9419
+ IsNumber as IsNumber37,
9290
9420
  ValidateIf as ValidateIf11
9291
9421
  } from "class-validator";
9292
9422
  import { Transform as Transform4, Type as Type16 } from "class-transformer";
@@ -9294,12 +9424,12 @@ var CreateDisputeDto = class {
9294
9424
  };
9295
9425
  __decorateClass([
9296
9426
  ValidateIf11((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
9297
- IsNumber36({}, { message: "Client id must be a number" }),
9427
+ IsNumber37({}, { message: "Client id must be a number" }),
9298
9428
  Type16(() => Number)
9299
9429
  ], CreateDisputeDto.prototype, "clientId", 2);
9300
9430
  __decorateClass([
9301
9431
  ValidateIf11((o) => o.initiatorType === "CLIENT" /* CLIENT */),
9302
- IsNumber36({}, { message: "Freelancer id must be a number" }),
9432
+ IsNumber37({}, { message: "Freelancer id must be a number" }),
9303
9433
  Type16(() => Number)
9304
9434
  ], CreateDisputeDto.prototype, "freelancerId", 2);
9305
9435
  __decorateClass([
@@ -9404,7 +9534,7 @@ __decorateClass([
9404
9534
  ], CheckResumeEligibilityDto.prototype, "userId", 2);
9405
9535
 
9406
9536
  // src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
9407
- import { IsNotEmpty as IsNotEmpty106, IsString as IsString80, IsOptional as IsOptional71, IsArray as IsArray23, IsNumber as IsNumber37 } from "class-validator";
9537
+ import { IsNotEmpty as IsNotEmpty106, IsString as IsString80, IsOptional as IsOptional71, IsArray as IsArray23, IsNumber as IsNumber38 } from "class-validator";
9408
9538
  var AiInterviewTemplateGenerationDto = class {
9409
9539
  };
9410
9540
  __decorateClass([
@@ -9418,7 +9548,7 @@ __decorateClass([
9418
9548
  ], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
9419
9549
  __decorateClass([
9420
9550
  IsOptional71(),
9421
- IsNumber37({}, { message: "Number of questions must be a number" })
9551
+ IsNumber38({}, { message: "Number of questions must be a number" })
9422
9552
  ], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
9423
9553
  __decorateClass([
9424
9554
  IsOptional71(),
@@ -9426,7 +9556,7 @@ __decorateClass([
9426
9556
  ], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
9427
9557
 
9428
9558
  // src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
9429
- import { IsNotEmpty as IsNotEmpty107, IsString as IsString81, IsOptional as IsOptional72, IsNumber as IsNumber38 } from "class-validator";
9559
+ import { IsNotEmpty as IsNotEmpty107, IsString as IsString81, IsOptional as IsOptional72, IsNumber as IsNumber39 } from "class-validator";
9430
9560
  var AiInterviewLinkGenerationDto = class {
9431
9561
  };
9432
9562
  __decorateClass([
@@ -9443,11 +9573,11 @@ __decorateClass([
9443
9573
  ], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
9444
9574
  __decorateClass([
9445
9575
  IsOptional72(),
9446
- IsNumber38({}, { message: "Expiry hours must be a number" })
9576
+ IsNumber39({}, { message: "Expiry hours must be a number" })
9447
9577
  ], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
9448
9578
 
9449
9579
  // src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
9450
- import { IsNotEmpty as IsNotEmpty108, IsString as IsString82, IsOptional as IsOptional73, IsNumber as IsNumber39 } from "class-validator";
9580
+ import { IsNotEmpty as IsNotEmpty108, IsString as IsString82, IsOptional as IsOptional73, IsNumber as IsNumber40 } from "class-validator";
9451
9581
  var AiAssessmentCreationDto = class {
9452
9582
  };
9453
9583
  __decorateClass([
@@ -9460,7 +9590,7 @@ __decorateClass([
9460
9590
  ], AiAssessmentCreationDto.prototype, "assessmentType", 2);
9461
9591
  __decorateClass([
9462
9592
  IsOptional73(),
9463
- IsNumber39({}, { message: "Number of questions must be a number" })
9593
+ IsNumber40({}, { message: "Number of questions must be a number" })
9464
9594
  ], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
9465
9595
  __decorateClass([
9466
9596
  IsOptional73(),
@@ -9480,16 +9610,16 @@ var HIRING_PATTERN = {
9480
9610
  };
9481
9611
 
9482
9612
  // src/modules/hiring/dto/create-hiring.dto.ts
9483
- import { IsNotEmpty as IsNotEmpty109, IsNumber as IsNumber40 } from "class-validator";
9613
+ import { IsNotEmpty as IsNotEmpty109, IsNumber as IsNumber41 } from "class-validator";
9484
9614
  var CreateHiringDto = class {
9485
9615
  };
9486
9616
  __decorateClass([
9487
9617
  IsNotEmpty109({ message: "Freelancer ID is required" }),
9488
- IsNumber40({}, { message: "Freelancer ID must be a number" })
9618
+ IsNumber41({}, { message: "Freelancer ID must be a number" })
9489
9619
  ], CreateHiringDto.prototype, "freelancerId", 2);
9490
9620
  __decorateClass([
9491
9621
  IsNotEmpty109({ message: "Job ID is required" }),
9492
- IsNumber40({}, { message: "Job ID must be a number" })
9622
+ IsNumber41({}, { message: "Job ID must be a number" })
9493
9623
  ], CreateHiringDto.prototype, "jobId", 2);
9494
9624
 
9495
9625
  // src/modules/llm/pattern/pattern.ts
@@ -9537,25 +9667,25 @@ var WALLET_ADMIN_PATTERN = {
9537
9667
  };
9538
9668
 
9539
9669
  // src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
9540
- import { IsNotEmpty as IsNotEmpty110, IsNumber as IsNumber41 } from "class-validator";
9670
+ import { IsNotEmpty as IsNotEmpty110, IsNumber as IsNumber42 } from "class-validator";
9541
9671
  var AddTopupEscrowAmountDto = class {
9542
9672
  };
9543
9673
  __decorateClass([
9544
9674
  IsNotEmpty110({ message: "Amount is required" }),
9545
- IsNumber41({}, { message: "Amount must be a number" })
9675
+ IsNumber42({}, { message: "Amount must be a number" })
9546
9676
  ], AddTopupEscrowAmountDto.prototype, "amount", 2);
9547
9677
 
9548
9678
  // src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
9549
- import { IsNotEmpty as IsNotEmpty111, IsNumber as IsNumber42 } from "class-validator";
9679
+ import { IsNotEmpty as IsNotEmpty111, IsNumber as IsNumber43 } from "class-validator";
9550
9680
  var DebitCommissionFteHiringDto = class {
9551
9681
  };
9552
9682
  __decorateClass([
9553
9683
  IsNotEmpty111({ message: "Hiring ID is required" }),
9554
- IsNumber42({}, { message: "Hiring ID must be a number" })
9684
+ IsNumber43({}, { message: "Hiring ID must be a number" })
9555
9685
  ], DebitCommissionFteHiringDto.prototype, "hiringId", 2);
9556
9686
  __decorateClass([
9557
9687
  IsNotEmpty111({ message: "Amount is required" }),
9558
- IsNumber42({}, { message: "Amount must be a number" })
9688
+ IsNumber43({}, { message: "Amount must be a number" })
9559
9689
  ], DebitCommissionFteHiringDto.prototype, "amount", 2);
9560
9690
 
9561
9691
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -1,7 +1,18 @@
1
1
  import { RatingTypeEnum } from '../../../entities/rating.entity';
2
2
  export declare class CreateRatingDto {
3
3
  revieweeId: number;
4
+ jobId: number;
4
5
  ratingType: RatingTypeEnum;
5
- rating: number;
6
- review?: string;
6
+ reviewerComment?: string;
7
+ overallExperience?: number;
8
+ workQuality?: number;
9
+ oneTimeDelivery?: number;
10
+ understaning?: number;
11
+ communication?: number;
12
+ skillUtilized?: number;
13
+ communicationClarity?: number;
14
+ requirementsClarity?: number;
15
+ responsiveness?: number;
16
+ paymentPromptness?: number;
17
+ responsibilitiesAndExpectations?: number;
7
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.583",
3
+ "version": "1.0.585",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",