@experts_hub/shared 1.0.524 → 1.0.526

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
@@ -1712,17 +1712,17 @@ import {
1712
1712
  } from "class-validator";
1713
1713
 
1714
1714
  // src/entities/rating.entity.ts
1715
- import { Entity as Entity62, Column as Column63, ManyToOne as ManyToOne57, JoinColumn as JoinColumn58, Index as Index56 } from "typeorm";
1715
+ import { Entity as Entity63, Column as Column64, ManyToOne as ManyToOne58, JoinColumn as JoinColumn59, Index as Index57 } from "typeorm";
1716
1716
 
1717
1717
  // src/entities/user.entity.ts
1718
1718
  import {
1719
- Entity as Entity61,
1720
- Column as Column62,
1719
+ Entity as Entity62,
1720
+ Column as Column63,
1721
1721
  OneToMany as OneToMany21,
1722
1722
  OneToOne as OneToOne12,
1723
- Index as Index55,
1724
- ManyToOne as ManyToOne56,
1725
- JoinColumn as JoinColumn57
1723
+ Index as Index56,
1724
+ ManyToOne as ManyToOne57,
1725
+ JoinColumn as JoinColumn58
1726
1726
  } from "typeorm";
1727
1727
 
1728
1728
  // src/entities/base.entity.ts
@@ -5895,6 +5895,53 @@ Wallet = __decorateClass([
5895
5895
  Entity60("wallets")
5896
5896
  ], Wallet);
5897
5897
 
5898
+ // src/entities/freelancer-assessment-request.entity.ts
5899
+ import {
5900
+ Entity as Entity61,
5901
+ Column as Column62,
5902
+ ManyToOne as ManyToOne56,
5903
+ Index as Index55,
5904
+ JoinColumn as JoinColumn57
5905
+ } from "typeorm";
5906
+ var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2) => {
5907
+ AssessmentRequestStatusEnum2["PENDING"] = "PENDING";
5908
+ AssessmentRequestStatusEnum2["APPROVED"] = "APPROVED";
5909
+ AssessmentRequestStatusEnum2["REJECTED"] = "REJECTED";
5910
+ return AssessmentRequestStatusEnum2;
5911
+ })(AssessmentRequestStatusEnum || {});
5912
+ var FreelancerAssessmentRequest = class extends BaseEntity {
5913
+ };
5914
+ __decorateClass([
5915
+ Column62({ name: "freelancer_id", type: "integer", nullable: true }),
5916
+ Index55()
5917
+ ], FreelancerAssessmentRequest.prototype, "freelancerId", 2);
5918
+ __decorateClass([
5919
+ ManyToOne56(() => User, (user) => user.freelancerAssessmentRequests),
5920
+ JoinColumn57({ name: "freelancer_id" })
5921
+ ], FreelancerAssessmentRequest.prototype, "freelancer", 2);
5922
+ __decorateClass([
5923
+ Column62({ name: "approved_by_id", type: "integer", nullable: true }),
5924
+ Index55()
5925
+ ], FreelancerAssessmentRequest.prototype, "approvedById", 2);
5926
+ __decorateClass([
5927
+ ManyToOne56(() => User, (user) => user.assessmentRequests),
5928
+ JoinColumn57({ name: "approved_by_id" })
5929
+ ], FreelancerAssessmentRequest.prototype, "approvedBy", 2);
5930
+ __decorateClass([
5931
+ Column62({
5932
+ name: "status",
5933
+ type: "enum",
5934
+ enum: AssessmentRequestStatusEnum,
5935
+ default: "PENDING" /* PENDING */
5936
+ })
5937
+ ], FreelancerAssessmentRequest.prototype, "aiAssessmentStatus", 2);
5938
+ __decorateClass([
5939
+ Column62({ name: "assessment_link", type: "text", nullable: true })
5940
+ ], FreelancerAssessmentRequest.prototype, "assessmentLink", 2);
5941
+ FreelancerAssessmentRequest = __decorateClass([
5942
+ Entity61({ name: "freelancer_assessment_requests" })
5943
+ ], FreelancerAssessmentRequest);
5944
+
5898
5945
  // src/entities/user.entity.ts
5899
5946
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
5900
5947
  AccountType2["ADMIN"] = "ADMIN";
@@ -5920,51 +5967,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
5920
5967
  var User = class extends BaseEntity {
5921
5968
  };
5922
5969
  __decorateClass([
5923
- Column62({ name: "unique_id", type: "varchar", unique: true })
5970
+ Column63({ name: "unique_id", type: "varchar", unique: true })
5924
5971
  ], User.prototype, "uniqueId", 2);
5925
5972
  __decorateClass([
5926
- Column62({ name: "parent_id", type: "integer", nullable: true }),
5927
- Index55()
5973
+ Column63({ name: "parent_id", type: "integer", nullable: true }),
5974
+ Index56()
5928
5975
  ], User.prototype, "parentId", 2);
5929
5976
  __decorateClass([
5930
- ManyToOne56(() => User, (user) => user.children, { nullable: true }),
5931
- JoinColumn57({ name: "parent_id" })
5977
+ ManyToOne57(() => User, (user) => user.children, { nullable: true }),
5978
+ JoinColumn58({ name: "parent_id" })
5932
5979
  ], User.prototype, "parent", 2);
5933
5980
  __decorateClass([
5934
5981
  OneToMany21(() => User, (user) => user.parent)
5935
5982
  ], User.prototype, "children", 2);
5936
5983
  __decorateClass([
5937
- Column62({ name: "username", type: "varchar", unique: true, nullable: true })
5984
+ Column63({ name: "username", type: "varchar", unique: true, nullable: true })
5938
5985
  ], User.prototype, "username", 2);
5939
5986
  __decorateClass([
5940
- Column62({ name: "first_name", type: "varchar", length: 100, nullable: true })
5987
+ Column63({ name: "first_name", type: "varchar", length: 100, nullable: true })
5941
5988
  ], User.prototype, "firstName", 2);
5942
5989
  __decorateClass([
5943
- Column62({ name: "last_name", type: "varchar", length: 100, nullable: true })
5990
+ Column63({ name: "last_name", type: "varchar", length: 100, nullable: true })
5944
5991
  ], User.prototype, "lastName", 2);
5945
5992
  __decorateClass([
5946
- Column62({ name: "date_of_birth", type: "date", nullable: true })
5993
+ Column63({ name: "date_of_birth", type: "date", nullable: true })
5947
5994
  ], User.prototype, "dateOfBirth", 2);
5948
5995
  __decorateClass([
5949
- Column62({ name: "gender", type: "varchar", length: 10, nullable: true })
5996
+ Column63({ name: "gender", type: "varchar", length: 10, nullable: true })
5950
5997
  ], User.prototype, "gender", 2);
5951
5998
  __decorateClass([
5952
- Column62({ name: "profile_picture_url", type: "text", nullable: true })
5999
+ Column63({ name: "profile_picture_url", type: "text", nullable: true })
5953
6000
  ], User.prototype, "profilePictureUrl", 2);
5954
6001
  __decorateClass([
5955
- Column62({ name: "email", type: "varchar", unique: true })
6002
+ Column63({ name: "email", type: "varchar", unique: true })
5956
6003
  ], User.prototype, "email", 2);
5957
6004
  __decorateClass([
5958
- Column62({ name: "mobile_code", type: "varchar", nullable: true })
6005
+ Column63({ name: "mobile_code", type: "varchar", nullable: true })
5959
6006
  ], User.prototype, "mobileCode", 2);
5960
6007
  __decorateClass([
5961
- Column62({ name: "mobile", type: "varchar", nullable: true })
6008
+ Column63({ name: "mobile", type: "varchar", nullable: true })
5962
6009
  ], User.prototype, "mobile", 2);
5963
6010
  __decorateClass([
5964
- Column62({ name: "password", type: "varchar", nullable: true })
6011
+ Column63({ name: "password", type: "varchar", nullable: true })
5965
6012
  ], User.prototype, "password", 2);
5966
6013
  __decorateClass([
5967
- Column62({
6014
+ Column63({
5968
6015
  name: "account_type",
5969
6016
  type: "enum",
5970
6017
  enum: AccountType,
@@ -5972,7 +6019,7 @@ __decorateClass([
5972
6019
  })
5973
6020
  ], User.prototype, "accountType", 2);
5974
6021
  __decorateClass([
5975
- Column62({
6022
+ Column63({
5976
6023
  name: "account_status",
5977
6024
  type: "enum",
5978
6025
  enum: AccountStatus,
@@ -5980,42 +6027,42 @@ __decorateClass([
5980
6027
  })
5981
6028
  ], User.prototype, "accountStatus", 2);
5982
6029
  __decorateClass([
5983
- Column62({ name: "is_email_verified", type: "boolean", default: false })
6030
+ Column63({ name: "is_email_verified", type: "boolean", default: false })
5984
6031
  ], User.prototype, "isEmailVerified", 2);
5985
6032
  __decorateClass([
5986
- Column62({ name: "is_mobile_verified", type: "boolean", default: false })
6033
+ Column63({ name: "is_mobile_verified", type: "boolean", default: false })
5987
6034
  ], User.prototype, "isMobileVerified", 2);
5988
6035
  __decorateClass([
5989
- Column62({ name: "is_social", type: "boolean", default: false })
6036
+ Column63({ name: "is_social", type: "boolean", default: false })
5990
6037
  ], User.prototype, "isSocial", 2);
5991
6038
  __decorateClass([
5992
- Column62({
6039
+ Column63({
5993
6040
  name: "last_login_at",
5994
6041
  type: "timestamp with time zone",
5995
6042
  nullable: true
5996
6043
  })
5997
6044
  ], User.prototype, "lastLoginAt", 2);
5998
6045
  __decorateClass([
5999
- Column62({ name: "last_login_ip", type: "varchar", nullable: true })
6046
+ Column63({ name: "last_login_ip", type: "varchar", nullable: true })
6000
6047
  ], User.prototype, "lastLoginIp", 2);
6001
6048
  __decorateClass([
6002
- Column62({ name: "reset_token", type: "varchar", nullable: true })
6049
+ Column63({ name: "reset_token", type: "varchar", nullable: true })
6003
6050
  ], User.prototype, "resetToken", 2);
6004
6051
  __decorateClass([
6005
- Column62({
6052
+ Column63({
6006
6053
  name: "reset_token_expire_at",
6007
6054
  type: "timestamp with time zone",
6008
6055
  nullable: true
6009
6056
  })
6010
6057
  ], User.prototype, "resetTokenExpireAt", 2);
6011
6058
  __decorateClass([
6012
- Column62({ name: "set_password_token", type: "varchar", nullable: true })
6059
+ Column63({ name: "set_password_token", type: "varchar", nullable: true })
6013
6060
  ], User.prototype, "setPasswordToken", 2);
6014
6061
  __decorateClass([
6015
6062
  OneToMany21(() => RefreshToken, (token) => token.user)
6016
6063
  ], User.prototype, "refreshTokens", 2);
6017
6064
  __decorateClass([
6018
- Column62({
6065
+ Column63({
6019
6066
  name: "provider",
6020
6067
  type: "enum",
6021
6068
  enum: Provider,
@@ -6024,19 +6071,19 @@ __decorateClass([
6024
6071
  })
6025
6072
  ], User.prototype, "provider", 2);
6026
6073
  __decorateClass([
6027
- Column62({ name: "provider_token", type: "varchar", nullable: true })
6074
+ Column63({ name: "provider_token", type: "varchar", nullable: true })
6028
6075
  ], User.prototype, "providerToken", 2);
6029
6076
  __decorateClass([
6030
- Column62({ name: "linkedin_id", type: "varchar", nullable: true })
6077
+ Column63({ name: "linkedin_id", type: "varchar", nullable: true })
6031
6078
  ], User.prototype, "linkedInId", 2);
6032
6079
  __decorateClass([
6033
- Column62({ name: "google_id", type: "varchar", nullable: true })
6080
+ Column63({ name: "google_id", type: "varchar", nullable: true })
6034
6081
  ], User.prototype, "googleId", 2);
6035
6082
  __decorateClass([
6036
- Column62({ name: "gitlabs_id", type: "varchar", nullable: true })
6083
+ Column63({ name: "gitlabs_id", type: "varchar", nullable: true })
6037
6084
  ], User.prototype, "gitLabsId", 2);
6038
6085
  __decorateClass([
6039
- Column62({ name: "onboarded_by", type: "varchar", nullable: true })
6086
+ Column63({ name: "onboarded_by", type: "varchar", nullable: true })
6040
6087
  ], User.prototype, "onBoardedBy", 2);
6041
6088
  __decorateClass([
6042
6089
  OneToMany21(() => Otp, (otp) => otp.user)
@@ -6071,6 +6118,18 @@ __decorateClass([
6071
6118
  __decorateClass([
6072
6119
  OneToOne12(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6073
6120
  ], User.prototype, "freelancerResume", 2);
6121
+ __decorateClass([
6122
+ OneToMany21(
6123
+ () => FreelancerAssessmentRequest,
6124
+ (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
6125
+ )
6126
+ ], User.prototype, "freelancerAssessmentRequests", 2);
6127
+ __decorateClass([
6128
+ OneToMany21(
6129
+ () => FreelancerAssessmentRequest,
6130
+ (freelancerAssessment) => freelancerAssessment.approvedBy
6131
+ )
6132
+ ], User.prototype, "assessmentRequests", 2);
6074
6133
  __decorateClass([
6075
6134
  OneToMany21(
6076
6135
  () => FreelancerAssessment,
@@ -6231,7 +6290,7 @@ __decorateClass([
6231
6290
  OneToMany21(() => Dispute, (dispute) => dispute.freelancer)
6232
6291
  ], User.prototype, "freelancerDisputes", 2);
6233
6292
  User = __decorateClass([
6234
- Entity61("users")
6293
+ Entity62("users")
6235
6294
  ], User);
6236
6295
 
6237
6296
  // src/entities/rating.entity.ts
@@ -6243,36 +6302,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
6243
6302
  var Rating = class extends BaseEntity {
6244
6303
  };
6245
6304
  __decorateClass([
6246
- Column63({ name: "reviewer_id", type: "integer" }),
6247
- Index56()
6305
+ Column64({ name: "reviewer_id", type: "integer" }),
6306
+ Index57()
6248
6307
  ], Rating.prototype, "reviewer_id", 2);
6249
6308
  __decorateClass([
6250
- ManyToOne57(() => User, { onDelete: "CASCADE" }),
6251
- JoinColumn58({ name: "reviewer_id" })
6309
+ ManyToOne58(() => User, { onDelete: "CASCADE" }),
6310
+ JoinColumn59({ name: "reviewer_id" })
6252
6311
  ], Rating.prototype, "reviewer", 2);
6253
6312
  __decorateClass([
6254
- Column63({ name: "reviewee_id", type: "integer" }),
6255
- Index56()
6313
+ Column64({ name: "reviewee_id", type: "integer" }),
6314
+ Index57()
6256
6315
  ], Rating.prototype, "reviewee_id", 2);
6257
6316
  __decorateClass([
6258
- ManyToOne57(() => User, { onDelete: "CASCADE" }),
6259
- JoinColumn58({ name: "reviewee_id" })
6317
+ ManyToOne58(() => User, { onDelete: "CASCADE" }),
6318
+ JoinColumn59({ name: "reviewee_id" })
6260
6319
  ], Rating.prototype, "reviewee", 2);
6261
6320
  __decorateClass([
6262
- Column63({
6321
+ Column64({
6263
6322
  type: "enum",
6264
6323
  enum: RatingTypeEnum,
6265
6324
  nullable: true
6266
6325
  })
6267
6326
  ], Rating.prototype, "ratingType", 2);
6268
6327
  __decorateClass([
6269
- Column63({ type: "integer", nullable: true })
6328
+ Column64({ type: "integer", nullable: true })
6270
6329
  ], Rating.prototype, "rating", 2);
6271
6330
  __decorateClass([
6272
- Column63({ type: "text", nullable: true })
6331
+ Column64({ type: "text", nullable: true })
6273
6332
  ], Rating.prototype, "review", 2);
6274
6333
  Rating = __decorateClass([
6275
- Entity62("ratings")
6334
+ Entity63("ratings")
6276
6335
  ], Rating);
6277
6336
 
6278
6337
  // src/modules/rating/dto/add.rating.dto.ts
@@ -6939,6 +6998,14 @@ __decorateClass([
6939
6998
  IsOptional29(),
6940
6999
  IsString30()
6941
7000
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
7001
+ __decorateClass([
7002
+ IsOptional29(),
7003
+ IsString30()
7004
+ ], CreateClientDto.prototype, "hiringCommisionTypeForFte", 2);
7005
+ __decorateClass([
7006
+ IsOptional29(),
7007
+ IsString30()
7008
+ ], CreateClientDto.prototype, "hiringCommissionValueForFte", 2);
6942
7009
 
6943
7010
  // src/modules/client-admin/dto/update-client-status.dto.ts
6944
7011
  import { IsString as IsString31, IsNotEmpty as IsNotEmpty48 } from "class-validator";
@@ -7025,6 +7092,14 @@ __decorateClass([
7025
7092
  IsOptional30(),
7026
7093
  IsString32()
7027
7094
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
7095
+ __decorateClass([
7096
+ IsOptional30(),
7097
+ IsString32()
7098
+ ], UpdateClientDto.prototype, "hiringCommisionTypeForFte", 2);
7099
+ __decorateClass([
7100
+ IsOptional30(),
7101
+ IsString32()
7102
+ ], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
7028
7103
 
7029
7104
  // src/modules/user/freelancer-declaration/pattern/pattern.ts
7030
7105
  var FREELANCER_DECLARATION_PATTERN = {
@@ -8482,11 +8557,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
8482
8557
  };
8483
8558
 
8484
8559
  // src/entities/sequence-generator.entity.ts
8485
- import { Entity as Entity63, Column as Column64 } from "typeorm";
8560
+ import { Entity as Entity64, Column as Column65 } from "typeorm";
8486
8561
  var SequenceGenerator = class extends BaseEntity {
8487
8562
  };
8488
8563
  __decorateClass([
8489
- Column64({
8564
+ Column65({
8490
8565
  name: "module",
8491
8566
  type: "varchar",
8492
8567
  length: 50,
@@ -8495,7 +8570,7 @@ __decorateClass([
8495
8570
  })
8496
8571
  ], SequenceGenerator.prototype, "module", 2);
8497
8572
  __decorateClass([
8498
- Column64({
8573
+ Column65({
8499
8574
  name: "prefix",
8500
8575
  type: "varchar",
8501
8576
  length: 10,
@@ -8504,7 +8579,7 @@ __decorateClass([
8504
8579
  })
8505
8580
  ], SequenceGenerator.prototype, "prefix", 2);
8506
8581
  __decorateClass([
8507
- Column64({
8582
+ Column65({
8508
8583
  name: "last_sequence",
8509
8584
  type: "int",
8510
8585
  nullable: false,
@@ -8512,7 +8587,7 @@ __decorateClass([
8512
8587
  })
8513
8588
  ], SequenceGenerator.prototype, "lastSequence", 2);
8514
8589
  __decorateClass([
8515
- Column64({
8590
+ Column65({
8516
8591
  name: "year",
8517
8592
  type: "int",
8518
8593
  nullable: true,
@@ -8520,11 +8595,11 @@ __decorateClass([
8520
8595
  })
8521
8596
  ], SequenceGenerator.prototype, "year", 2);
8522
8597
  SequenceGenerator = __decorateClass([
8523
- Entity63("sequence_generators")
8598
+ Entity64("sequence_generators")
8524
8599
  ], SequenceGenerator);
8525
8600
 
8526
8601
  // src/entities/question.entity.ts
8527
- import { Entity as Entity64, Column as Column65 } from "typeorm";
8602
+ import { Entity as Entity65, Column as Column66 } from "typeorm";
8528
8603
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
8529
8604
  QuestionFor2["CLIENT"] = "CLIENT";
8530
8605
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -8533,16 +8608,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
8533
8608
  var Question = class extends BaseEntity {
8534
8609
  };
8535
8610
  __decorateClass([
8536
- Column65({ name: "question", type: "varchar" })
8611
+ Column66({ name: "question", type: "varchar" })
8537
8612
  ], Question.prototype, "question", 2);
8538
8613
  __decorateClass([
8539
- Column65({ name: "hint", type: "varchar", nullable: true })
8614
+ Column66({ name: "hint", type: "varchar", nullable: true })
8540
8615
  ], Question.prototype, "hint", 2);
8541
8616
  __decorateClass([
8542
- Column65({ name: "slug", type: "varchar", nullable: true, unique: true })
8617
+ Column66({ name: "slug", type: "varchar", nullable: true, unique: true })
8543
8618
  ], Question.prototype, "slug", 2);
8544
8619
  __decorateClass([
8545
- Column65({
8620
+ Column66({
8546
8621
  name: "question_for",
8547
8622
  type: "enum",
8548
8623
  enum: QuestionFor,
@@ -8550,49 +8625,49 @@ __decorateClass([
8550
8625
  })
8551
8626
  ], Question.prototype, "questionFor", 2);
8552
8627
  __decorateClass([
8553
- Column65({ name: "type", type: "varchar", nullable: true })
8628
+ Column66({ name: "type", type: "varchar", nullable: true })
8554
8629
  ], Question.prototype, "type", 2);
8555
8630
  __decorateClass([
8556
- Column65({ name: "options", type: "jsonb", nullable: true })
8631
+ Column66({ name: "options", type: "jsonb", nullable: true })
8557
8632
  ], Question.prototype, "options", 2);
8558
8633
  __decorateClass([
8559
- Column65({ name: "is_active", type: "boolean", default: false })
8634
+ Column66({ name: "is_active", type: "boolean", default: false })
8560
8635
  ], Question.prototype, "isActive", 2);
8561
8636
  Question = __decorateClass([
8562
- Entity64("questions")
8637
+ Entity65("questions")
8563
8638
  ], Question);
8564
8639
 
8565
8640
  // src/entities/skill.entity.ts
8566
- import { Entity as Entity65, Column as Column66 } from "typeorm";
8641
+ import { Entity as Entity66, Column as Column67 } from "typeorm";
8567
8642
  var Skill = class extends BaseEntity {
8568
8643
  };
8569
8644
  __decorateClass([
8570
- Column66({ name: "name", type: "varchar", nullable: true })
8645
+ Column67({ name: "name", type: "varchar", nullable: true })
8571
8646
  ], Skill.prototype, "name", 2);
8572
8647
  __decorateClass([
8573
- Column66({ name: "slug", type: "varchar", nullable: true, unique: true })
8648
+ Column67({ name: "slug", type: "varchar", nullable: true, unique: true })
8574
8649
  ], Skill.prototype, "slug", 2);
8575
8650
  __decorateClass([
8576
- Column66({ name: "is_active", type: "boolean", default: false })
8651
+ Column67({ name: "is_active", type: "boolean", default: false })
8577
8652
  ], Skill.prototype, "isActive", 2);
8578
8653
  Skill = __decorateClass([
8579
- Entity65("skills")
8654
+ Entity66("skills")
8580
8655
  ], Skill);
8581
8656
 
8582
8657
  // src/entities/skill-catalog.entity.ts
8583
8658
  import {
8584
- Entity as Entity66,
8585
- Column as Column67,
8586
- Index as Index57
8659
+ Entity as Entity67,
8660
+ Column as Column68,
8661
+ Index as Index58
8587
8662
  } from "typeorm";
8588
8663
  var SkillCatalog = class extends BaseEntity {
8589
8664
  };
8590
8665
  __decorateClass([
8591
- Column67({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
8592
- Index57()
8666
+ Column68({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
8667
+ Index58()
8593
8668
  ], SkillCatalog.prototype, "canonicalName", 2);
8594
8669
  __decorateClass([
8595
- Column67({
8670
+ Column68({
8596
8671
  name: "aliases",
8597
8672
  type: "text",
8598
8673
  array: true,
@@ -8600,20 +8675,20 @@ __decorateClass([
8600
8675
  })
8601
8676
  ], SkillCatalog.prototype, "aliases", 2);
8602
8677
  __decorateClass([
8603
- Column67({
8678
+ Column68({
8604
8679
  name: "variations",
8605
8680
  type: "jsonb",
8606
8681
  default: "{}"
8607
8682
  })
8608
8683
  ], SkillCatalog.prototype, "variations", 2);
8609
8684
  __decorateClass([
8610
- Column67({ name: "category", type: "varchar", length: 50, nullable: true })
8685
+ Column68({ name: "category", type: "varchar", length: 50, nullable: true })
8611
8686
  ], SkillCatalog.prototype, "category", 2);
8612
8687
  __decorateClass([
8613
- Column67({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
8688
+ Column68({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
8614
8689
  ], SkillCatalog.prototype, "parentSkill", 2);
8615
8690
  __decorateClass([
8616
- Column67({
8691
+ Column68({
8617
8692
  name: "related_skills",
8618
8693
  type: "text",
8619
8694
  array: true,
@@ -8621,113 +8696,113 @@ __decorateClass([
8621
8696
  })
8622
8697
  ], SkillCatalog.prototype, "relatedSkills", 2);
8623
8698
  __decorateClass([
8624
- Column67({ name: "usage_count", type: "integer", default: 0 }),
8625
- Index57()
8699
+ Column68({ name: "usage_count", type: "integer", default: 0 }),
8700
+ Index58()
8626
8701
  ], SkillCatalog.prototype, "usageCount", 2);
8627
8702
  __decorateClass([
8628
- Column67({ name: "is_verified", type: "boolean", default: false })
8703
+ Column68({ name: "is_verified", type: "boolean", default: false })
8629
8704
  ], SkillCatalog.prototype, "isVerified", 2);
8630
8705
  __decorateClass([
8631
- Column67({ name: "first_seen_date", type: "date" })
8706
+ Column68({ name: "first_seen_date", type: "date" })
8632
8707
  ], SkillCatalog.prototype, "firstSeenDate", 2);
8633
8708
  __decorateClass([
8634
- Column67({ name: "last_updated_date", type: "date" })
8709
+ Column68({ name: "last_updated_date", type: "date" })
8635
8710
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
8636
8711
  __decorateClass([
8637
- Column67({
8712
+ Column68({
8638
8713
  name: "search_vector",
8639
8714
  type: "tsvector",
8640
8715
  nullable: true
8641
8716
  })
8642
8717
  ], SkillCatalog.prototype, "searchVector", 2);
8643
8718
  SkillCatalog = __decorateClass([
8644
- Entity66("skill_catalogs")
8719
+ Entity67("skill_catalogs")
8645
8720
  ], SkillCatalog);
8646
8721
 
8647
8722
  // src/entities/job-role.entity.ts
8648
- import { Entity as Entity67, Column as Column68 } from "typeorm";
8723
+ import { Entity as Entity68, Column as Column69 } from "typeorm";
8649
8724
  var JobRoles = class extends BaseEntity {
8650
8725
  };
8651
8726
  __decorateClass([
8652
- Column68({ name: "slug", type: "varchar", nullable: true, unique: true })
8727
+ Column69({ name: "slug", type: "varchar", nullable: true, unique: true })
8653
8728
  ], JobRoles.prototype, "slug", 2);
8654
8729
  __decorateClass([
8655
- Column68({ name: "name", type: "varchar", nullable: true })
8730
+ Column69({ name: "name", type: "varchar", nullable: true })
8656
8731
  ], JobRoles.prototype, "name", 2);
8657
8732
  __decorateClass([
8658
- Column68({ name: "is_active", type: "boolean", default: true })
8733
+ Column69({ name: "is_active", type: "boolean", default: true })
8659
8734
  ], JobRoles.prototype, "isActive", 2);
8660
8735
  JobRoles = __decorateClass([
8661
- Entity67("job_roles")
8736
+ Entity68("job_roles")
8662
8737
  ], JobRoles);
8663
8738
 
8664
8739
  // src/entities/plan.entity.ts
8665
- import { Entity as Entity69, Column as Column70, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
8740
+ import { Entity as Entity70, Column as Column71, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
8666
8741
 
8667
8742
  // src/entities/feature.entity.ts
8668
- import { Entity as Entity68, Column as Column69, ManyToMany as ManyToMany2 } from "typeorm";
8743
+ import { Entity as Entity69, Column as Column70, ManyToMany as ManyToMany2 } from "typeorm";
8669
8744
  var Feature = class extends BaseEntity {
8670
8745
  };
8671
8746
  __decorateClass([
8672
- Column69({ name: "name", type: "varchar", unique: true })
8747
+ Column70({ name: "name", type: "varchar", unique: true })
8673
8748
  ], Feature.prototype, "name", 2);
8674
8749
  __decorateClass([
8675
8750
  ManyToMany2(() => Plan, (plan) => plan.features)
8676
8751
  ], Feature.prototype, "plans", 2);
8677
8752
  Feature = __decorateClass([
8678
- Entity68("features")
8753
+ Entity69("features")
8679
8754
  ], Feature);
8680
8755
 
8681
8756
  // src/entities/plan.entity.ts
8682
8757
  var Plan = class extends BaseEntity {
8683
8758
  };
8684
8759
  __decorateClass([
8685
- Column70({ name: "name", type: "varchar", unique: true })
8760
+ Column71({ name: "name", type: "varchar", unique: true })
8686
8761
  ], Plan.prototype, "name", 2);
8687
8762
  __decorateClass([
8688
- Column70({ name: "description", type: "varchar", nullable: true })
8763
+ Column71({ name: "description", type: "varchar", nullable: true })
8689
8764
  ], Plan.prototype, "description", 2);
8690
8765
  __decorateClass([
8691
- Column70({ name: "price", type: "decimal", precision: 10, scale: 2 })
8766
+ Column71({ name: "price", type: "decimal", precision: 10, scale: 2 })
8692
8767
  ], Plan.prototype, "price", 2);
8693
8768
  __decorateClass([
8694
- Column70({ name: "billing_period", type: "varchar" })
8769
+ Column71({ name: "billing_period", type: "varchar" })
8695
8770
  ], Plan.prototype, "billingPeriod", 2);
8696
8771
  __decorateClass([
8697
- Column70({ name: "is_current", type: "boolean", default: false })
8772
+ Column71({ name: "is_current", type: "boolean", default: false })
8698
8773
  ], Plan.prototype, "isCurrent", 2);
8699
8774
  __decorateClass([
8700
8775
  ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
8701
8776
  JoinTable()
8702
8777
  ], Plan.prototype, "features", 2);
8703
8778
  Plan = __decorateClass([
8704
- Entity69("plans")
8779
+ Entity70("plans")
8705
8780
  ], Plan);
8706
8781
 
8707
8782
  // src/entities/cms.entity.ts
8708
- import { Entity as Entity70, Column as Column71 } from "typeorm";
8783
+ import { Entity as Entity71, Column as Column72 } from "typeorm";
8709
8784
  var Cms = class extends BaseEntity {
8710
8785
  };
8711
8786
  __decorateClass([
8712
- Column71({ name: "title", type: "varchar", nullable: true })
8787
+ Column72({ name: "title", type: "varchar", nullable: true })
8713
8788
  ], Cms.prototype, "title", 2);
8714
8789
  __decorateClass([
8715
- Column71({ name: "slug", type: "varchar", nullable: true, unique: true })
8790
+ Column72({ name: "slug", type: "varchar", nullable: true, unique: true })
8716
8791
  ], Cms.prototype, "slug", 2);
8717
8792
  __decorateClass([
8718
- Column71({ name: "content", type: "varchar", nullable: true })
8793
+ Column72({ name: "content", type: "varchar", nullable: true })
8719
8794
  ], Cms.prototype, "content", 2);
8720
8795
  __decorateClass([
8721
- Column71({ name: "is_active", type: "boolean", default: true })
8796
+ Column72({ name: "is_active", type: "boolean", default: true })
8722
8797
  ], Cms.prototype, "isActive", 2);
8723
8798
  Cms = __decorateClass([
8724
- Entity70("cms")
8799
+ Entity71("cms")
8725
8800
  ], Cms);
8726
8801
 
8727
8802
  // src/entities/lead.entity.ts
8728
8803
  import {
8729
- Entity as Entity71,
8730
- Column as Column72
8804
+ Entity as Entity72,
8805
+ Column as Column73
8731
8806
  } from "typeorm";
8732
8807
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
8733
8808
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -8737,22 +8812,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
8737
8812
  var Lead = class extends BaseEntity {
8738
8813
  };
8739
8814
  __decorateClass([
8740
- Column72({ name: "name", type: "varchar", nullable: true })
8815
+ Column73({ name: "name", type: "varchar", nullable: true })
8741
8816
  ], Lead.prototype, "name", 2);
8742
8817
  __decorateClass([
8743
- Column72({ name: "mobile_code", type: "varchar", nullable: true })
8818
+ Column73({ name: "mobile_code", type: "varchar", nullable: true })
8744
8819
  ], Lead.prototype, "mobileCode", 2);
8745
8820
  __decorateClass([
8746
- Column72({ name: "mobile", type: "varchar", nullable: true })
8821
+ Column73({ name: "mobile", type: "varchar", nullable: true })
8747
8822
  ], Lead.prototype, "mobile", 2);
8748
8823
  __decorateClass([
8749
- Column72({ name: "email", type: "varchar", nullable: true })
8824
+ Column73({ name: "email", type: "varchar", nullable: true })
8750
8825
  ], Lead.prototype, "email", 2);
8751
8826
  __decorateClass([
8752
- Column72({ name: "description", type: "varchar", nullable: true })
8827
+ Column73({ name: "description", type: "varchar", nullable: true })
8753
8828
  ], Lead.prototype, "description", 2);
8754
8829
  __decorateClass([
8755
- Column72({
8830
+ Column73({
8756
8831
  name: "category",
8757
8832
  type: "enum",
8758
8833
  enum: CategoryEmum,
@@ -8760,7 +8835,7 @@ __decorateClass([
8760
8835
  })
8761
8836
  ], Lead.prototype, "category", 2);
8762
8837
  Lead = __decorateClass([
8763
- Entity71("leads")
8838
+ Entity72("leads")
8764
8839
  ], Lead);
8765
8840
 
8766
8841
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -9001,7 +9076,7 @@ ClientFreelancerRecommendation = __decorateClass([
9001
9076
  ], ClientFreelancerRecommendation);
9002
9077
 
9003
9078
  // src/entities/commission.entity.ts
9004
- import { Entity as Entity72, Column as Column73 } from "typeorm";
9079
+ import { Entity as Entity73, Column as Column74 } from "typeorm";
9005
9080
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
9006
9081
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
9007
9082
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -9010,7 +9085,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
9010
9085
  var Commission = class extends BaseEntity {
9011
9086
  };
9012
9087
  __decorateClass([
9013
- Column73({
9088
+ Column74({
9014
9089
  name: "freelancer_commission_type",
9015
9090
  type: "enum",
9016
9091
  enum: CommissionTypeEnum,
@@ -9018,10 +9093,10 @@ __decorateClass([
9018
9093
  })
9019
9094
  ], Commission.prototype, "freelancerCommissionType", 2);
9020
9095
  __decorateClass([
9021
- Column73({ name: "freelancer_commission", type: "integer", default: 0 })
9096
+ Column74({ name: "freelancer_commission", type: "integer", default: 0 })
9022
9097
  ], Commission.prototype, "freelancerCommission", 2);
9023
9098
  __decorateClass([
9024
- Column73({
9099
+ Column74({
9025
9100
  name: "client_commission_type",
9026
9101
  type: "enum",
9027
9102
  enum: CommissionTypeEnum,
@@ -9029,105 +9104,105 @@ __decorateClass([
9029
9104
  })
9030
9105
  ], Commission.prototype, "clientCommissionType", 2);
9031
9106
  __decorateClass([
9032
- Column73({ name: "client_commission", type: "integer", default: 0 })
9107
+ Column74({ name: "client_commission", type: "integer", default: 0 })
9033
9108
  ], Commission.prototype, "clientCommission", 2);
9034
9109
  Commission = __decorateClass([
9035
- Entity72("commissions")
9110
+ Entity73("commissions")
9036
9111
  ], Commission);
9037
9112
 
9038
9113
  // src/entities/calendly-meeting-log.entity.ts
9039
9114
  import {
9040
- Entity as Entity73,
9041
- Column as Column74,
9042
- Index as Index58
9115
+ Entity as Entity74,
9116
+ Column as Column75,
9117
+ Index as Index59
9043
9118
  } from "typeorm";
9044
9119
  var CalendlyMeetingLog = class extends BaseEntity {
9045
9120
  };
9046
9121
  __decorateClass([
9047
- Column74({ name: "calendly_event_id", type: "varchar", nullable: true }),
9048
- Index58()
9122
+ Column75({ name: "calendly_event_id", type: "varchar", nullable: true }),
9123
+ Index59()
9049
9124
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
9050
9125
  __decorateClass([
9051
- Column74({ name: "calendly_event_type", type: "varchar", nullable: true })
9126
+ Column75({ name: "calendly_event_type", type: "varchar", nullable: true })
9052
9127
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
9053
9128
  __decorateClass([
9054
- Column74({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9129
+ Column75({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9055
9130
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
9056
9131
  CalendlyMeetingLog = __decorateClass([
9057
- Entity73("calendly_meeting_logs")
9132
+ Entity74("calendly_meeting_logs")
9058
9133
  ], CalendlyMeetingLog);
9059
9134
 
9060
9135
  // src/entities/zoom-meeting-log.entity.ts
9061
9136
  import {
9062
- Entity as Entity74,
9063
- Column as Column75,
9064
- Index as Index59
9137
+ Entity as Entity75,
9138
+ Column as Column76,
9139
+ Index as Index60
9065
9140
  } from "typeorm";
9066
9141
  var ZoomMeetingLog = class extends BaseEntity {
9067
9142
  };
9068
9143
  __decorateClass([
9069
- Column75({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
9070
- Index59()
9144
+ Column76({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
9145
+ Index60()
9071
9146
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
9072
9147
  __decorateClass([
9073
- Column75({ name: "zoom_event_type", type: "varchar", nullable: true })
9148
+ Column76({ name: "zoom_event_type", type: "varchar", nullable: true })
9074
9149
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
9075
9150
  __decorateClass([
9076
- Column75({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9151
+ Column76({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9077
9152
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
9078
9153
  ZoomMeetingLog = __decorateClass([
9079
- Entity74("zoom_meeting_logs")
9154
+ Entity75("zoom_meeting_logs")
9080
9155
  ], ZoomMeetingLog);
9081
9156
 
9082
9157
  // src/entities/stripe-logs.entity.ts
9083
- import { Entity as Entity75, Column as Column76 } from "typeorm";
9158
+ import { Entity as Entity76, Column as Column77 } from "typeorm";
9084
9159
  var StripeLog = class extends BaseEntity {
9085
9160
  };
9086
9161
  __decorateClass([
9087
- Column76({ name: "stripe_event_id", type: "varchar", nullable: true })
9162
+ Column77({ name: "stripe_event_id", type: "varchar", nullable: true })
9088
9163
  ], StripeLog.prototype, "stripeEventId", 2);
9089
9164
  __decorateClass([
9090
- Column76({ name: "event_type", type: "varchar", nullable: true })
9165
+ Column77({ name: "event_type", type: "varchar", nullable: true })
9091
9166
  ], StripeLog.prototype, "eventType", 2);
9092
9167
  __decorateClass([
9093
- Column76({ name: "stripe_account_id", type: "varchar", nullable: true })
9168
+ Column77({ name: "stripe_account_id", type: "varchar", nullable: true })
9094
9169
  ], StripeLog.prototype, "stripeAccountId", 2);
9095
9170
  __decorateClass([
9096
- Column76({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9171
+ Column77({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9097
9172
  ], StripeLog.prototype, "rawWebhookData", 2);
9098
9173
  StripeLog = __decorateClass([
9099
- Entity75("stripe_logs")
9174
+ Entity76("stripe_logs")
9100
9175
  ], StripeLog);
9101
9176
 
9102
9177
  // src/entities/recommendation-weightage-config.entity.ts
9103
9178
  import {
9104
- Entity as Entity76,
9105
- Column as Column77,
9106
- Index as Index60
9179
+ Entity as Entity77,
9180
+ Column as Column78,
9181
+ Index as Index61
9107
9182
  } from "typeorm";
9108
9183
  var RecommendationWeightageConfig = class extends BaseEntity {
9109
9184
  };
9110
9185
  __decorateClass([
9111
- Column77({
9186
+ Column78({
9112
9187
  type: "varchar",
9113
9188
  length: 100,
9114
9189
  unique: true,
9115
9190
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
9116
9191
  }),
9117
- Index60()
9192
+ Index61()
9118
9193
  ], RecommendationWeightageConfig.prototype, "key", 2);
9119
9194
  __decorateClass([
9120
- Column77({
9195
+ Column78({
9121
9196
  type: "jsonb",
9122
9197
  comment: "JSON object containing weight values",
9123
9198
  nullable: true
9124
9199
  })
9125
9200
  ], RecommendationWeightageConfig.prototype, "value", 2);
9126
9201
  __decorateClass([
9127
- Column77({ name: "is_active", type: "boolean", default: true })
9202
+ Column78({ name: "is_active", type: "boolean", default: true })
9128
9203
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
9129
9204
  RecommendationWeightageConfig = __decorateClass([
9130
- Entity76("recommendation_weightage_configs")
9205
+ Entity77("recommendation_weightage_configs")
9131
9206
  ], RecommendationWeightageConfig);
9132
9207
  export {
9133
9208
  ADMIN_FREELANCER_PATTERN,
@@ -9152,6 +9227,7 @@ export {
9152
9227
  AnswerTypeEnum,
9153
9228
  ApplicationStatusEnum,
9154
9229
  AssessmentAnswer,
9230
+ AssessmentRequestStatusEnum,
9155
9231
  AssessmentStatusEnum,
9156
9232
  AssessmetQuestion,
9157
9233
  AssessmetQuestionOption,
@@ -9246,6 +9322,7 @@ export {
9246
9322
  Feature,
9247
9323
  ForgotPasswordDto,
9248
9324
  FreelancerAssessment,
9325
+ FreelancerAssessmentRequest,
9249
9326
  FreelancerBankDetailsDto,
9250
9327
  FreelancerCaptureAiAssessmentStatusDto,
9251
9328
  FreelancerCaseStudy,