@experts_hub/shared 1.0.684 → 1.0.686

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
@@ -988,13 +988,13 @@ import { IsEnum as IsEnum13 } from "class-validator";
988
988
 
989
989
  // src/entities/user.entity.ts
990
990
  import {
991
- Entity as Entity71,
992
- Column as Column72,
993
- OneToMany as OneToMany24,
991
+ Entity as Entity73,
992
+ Column as Column74,
993
+ OneToMany as OneToMany25,
994
994
  OneToOne as OneToOne12,
995
- Index as Index64,
996
- ManyToOne as ManyToOne66,
997
- JoinColumn as JoinColumn67
995
+ Index as Index66,
996
+ ManyToOne as ManyToOne68,
997
+ JoinColumn as JoinColumn69
998
998
  } from "typeorm";
999
999
 
1000
1000
  // src/entities/base.entity.ts
@@ -3926,6 +3926,7 @@ var TaskStatusEnum = /* @__PURE__ */ ((TaskStatusEnum2) => {
3926
3926
  TaskStatusEnum2["DRAFTED"] = "DRAFTED";
3927
3927
  TaskStatusEnum2["SCHEDULED"] = "SCHEDULED";
3928
3928
  TaskStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
3929
+ TaskStatusEnum2["SUBMITTED"] = "SUBMITTED";
3929
3930
  TaskStatusEnum2["COMPLETED"] = "COMPLETED";
3930
3931
  TaskStatusEnum2["CANCELLED"] = "CANCELLED";
3931
3932
  return TaskStatusEnum2;
@@ -6036,6 +6037,164 @@ InAppNotification = __decorateClass([
6036
6037
  Entity70("in_app_notifications")
6037
6038
  ], InAppNotification);
6038
6039
 
6040
+ // src/entities/task-query.entity.ts
6041
+ import { Entity as Entity72, Column as Column73, Index as Index65, JoinColumn as JoinColumn68, ManyToOne as ManyToOne67, OneToMany as OneToMany24 } from "typeorm";
6042
+
6043
+ // src/entities/task-query-message.entity.ts
6044
+ import { Entity as Entity71, Column as Column72, Index as Index64, JoinColumn as JoinColumn67, ManyToOne as ManyToOne66 } from "typeorm";
6045
+ var TaskQueryMessage = class extends BaseEntity {
6046
+ };
6047
+ __decorateClass([
6048
+ Column72({ name: "task_query_id", type: "integer" }),
6049
+ Index64()
6050
+ ], TaskQueryMessage.prototype, "taskQueryId", 2);
6051
+ __decorateClass([
6052
+ ManyToOne66(() => TaskQuery, (taskQuery) => taskQuery.messages),
6053
+ JoinColumn67({ name: "task_query_id" })
6054
+ ], TaskQueryMessage.prototype, "taskQuery", 2);
6055
+ __decorateClass([
6056
+ Column72({ name: "sender_user_id", type: "integer" }),
6057
+ Index64()
6058
+ ], TaskQueryMessage.prototype, "senderUserId", 2);
6059
+ __decorateClass([
6060
+ ManyToOne66(() => User, (user) => user.taskQueryMessages),
6061
+ JoinColumn67({ name: "sender_user_id" })
6062
+ ], TaskQueryMessage.prototype, "senderUser", 2);
6063
+ __decorateClass([
6064
+ Column72({
6065
+ name: "sender_type",
6066
+ type: "enum",
6067
+ enum: TaskQueryUserTypeEnum
6068
+ })
6069
+ ], TaskQueryMessage.prototype, "senderType", 2);
6070
+ __decorateClass([
6071
+ Column72({ name: "message", type: "varchar", nullable: true })
6072
+ ], TaskQueryMessage.prototype, "message", 2);
6073
+ __decorateClass([
6074
+ Column72({ name: "attachment_url", type: "varchar", nullable: true })
6075
+ ], TaskQueryMessage.prototype, "attachmentUrl", 2);
6076
+ __decorateClass([
6077
+ Column72({ name: "attachment_type", type: "varchar", nullable: true })
6078
+ ], TaskQueryMessage.prototype, "attachmentType", 2);
6079
+ __decorateClass([
6080
+ Column72({ name: "meta", type: "jsonb", nullable: true })
6081
+ ], TaskQueryMessage.prototype, "meta", 2);
6082
+ __decorateClass([
6083
+ Column72({ name: "is_read", type: "boolean", default: false })
6084
+ ], TaskQueryMessage.prototype, "isRead", 2);
6085
+ __decorateClass([
6086
+ Column72({
6087
+ name: "read_at",
6088
+ type: "timestamp with time zone",
6089
+ nullable: true
6090
+ })
6091
+ ], TaskQueryMessage.prototype, "readAt", 2);
6092
+ TaskQueryMessage = __decorateClass([
6093
+ Entity71("task_query_messages")
6094
+ ], TaskQueryMessage);
6095
+
6096
+ // src/entities/task-query.entity.ts
6097
+ var TaskQueryUserTypeEnum = /* @__PURE__ */ ((TaskQueryUserTypeEnum2) => {
6098
+ TaskQueryUserTypeEnum2["CLIENT"] = "CLIENT";
6099
+ TaskQueryUserTypeEnum2["FREELANCER"] = "FREELANCER";
6100
+ return TaskQueryUserTypeEnum2;
6101
+ })(TaskQueryUserTypeEnum || {});
6102
+ var TaskQueryCategoryEnum = /* @__PURE__ */ ((TaskQueryCategoryEnum2) => {
6103
+ TaskQueryCategoryEnum2["DEVELOPMENT_ISSUE"] = "DEVELOPMENT_ISSUE";
6104
+ TaskQueryCategoryEnum2["TESTING_ISSUE"] = "TESTING_ISSUE";
6105
+ TaskQueryCategoryEnum2["OTHER"] = "OTHER";
6106
+ return TaskQueryCategoryEnum2;
6107
+ })(TaskQueryCategoryEnum || {});
6108
+ var TaskQueryStatusEnum = /* @__PURE__ */ ((TaskQueryStatusEnum2) => {
6109
+ TaskQueryStatusEnum2["OPEN"] = "OPEN";
6110
+ TaskQueryStatusEnum2["ANSWERED"] = "ANSWERED";
6111
+ TaskQueryStatusEnum2["CLOSED"] = "CLOSED";
6112
+ return TaskQueryStatusEnum2;
6113
+ })(TaskQueryStatusEnum || {});
6114
+ var TaskQuery = class extends BaseEntity {
6115
+ };
6116
+ __decorateClass([
6117
+ Column73({ name: "task_id", type: "integer" }),
6118
+ Index65()
6119
+ ], TaskQuery.prototype, "taskId", 2);
6120
+ __decorateClass([
6121
+ ManyToOne67(() => Task),
6122
+ JoinColumn68({ name: "task_id" })
6123
+ ], TaskQuery.prototype, "task", 2);
6124
+ __decorateClass([
6125
+ Column73({ name: "raised_by_user_id", type: "integer" }),
6126
+ Index65()
6127
+ ], TaskQuery.prototype, "raisedByUserId", 2);
6128
+ __decorateClass([
6129
+ ManyToOne67(() => User, (user) => user.raisedTaskQueries),
6130
+ JoinColumn68({ name: "raised_by_user_id" })
6131
+ ], TaskQuery.prototype, "raisedByUser", 2);
6132
+ __decorateClass([
6133
+ Column73({
6134
+ name: "raised_by_type",
6135
+ type: "enum",
6136
+ enum: TaskQueryUserTypeEnum
6137
+ })
6138
+ ], TaskQuery.prototype, "raisedByType", 2);
6139
+ __decorateClass([
6140
+ Column73({ name: "assigned_to_user_id", type: "integer" }),
6141
+ Index65()
6142
+ ], TaskQuery.prototype, "assignedToUserId", 2);
6143
+ __decorateClass([
6144
+ ManyToOne67(() => User, (user) => user.assignedTaskQueries),
6145
+ JoinColumn68({ name: "assigned_to_user_id" })
6146
+ ], TaskQuery.prototype, "assignedToUser", 2);
6147
+ __decorateClass([
6148
+ Column73({
6149
+ name: "assigned_to_type",
6150
+ type: "enum",
6151
+ enum: TaskQueryUserTypeEnum
6152
+ })
6153
+ ], TaskQuery.prototype, "assignedToType", 2);
6154
+ __decorateClass([
6155
+ Column73({
6156
+ name: "query_category",
6157
+ type: "enum",
6158
+ enum: TaskQueryCategoryEnum
6159
+ })
6160
+ ], TaskQuery.prototype, "queryCategory", 2);
6161
+ __decorateClass([
6162
+ Column73({ name: "subject", type: "varchar", nullable: true })
6163
+ ], TaskQuery.prototype, "subject", 2);
6164
+ __decorateClass([
6165
+ Column73({ name: "description", type: "varchar", nullable: true })
6166
+ ], TaskQuery.prototype, "description", 2);
6167
+ __decorateClass([
6168
+ Column73({
6169
+ name: "status",
6170
+ type: "enum",
6171
+ enum: TaskQueryStatusEnum,
6172
+ default: "OPEN" /* OPEN */
6173
+ })
6174
+ ], TaskQuery.prototype, "status", 2);
6175
+ __decorateClass([
6176
+ Column73({
6177
+ name: "last_message_at",
6178
+ type: "timestamp with time zone",
6179
+ nullable: true
6180
+ })
6181
+ ], TaskQuery.prototype, "lastMessageAt", 2);
6182
+ __decorateClass([
6183
+ Column73({ name: "last_message_preview", type: "varchar", nullable: true })
6184
+ ], TaskQuery.prototype, "lastMessagePreview", 2);
6185
+ __decorateClass([
6186
+ Column73({ name: "unread_count_client", type: "integer", default: 0 })
6187
+ ], TaskQuery.prototype, "unreadCountClient", 2);
6188
+ __decorateClass([
6189
+ Column73({ name: "unread_count_freelancer", type: "integer", default: 0 })
6190
+ ], TaskQuery.prototype, "unreadCountFreelancer", 2);
6191
+ __decorateClass([
6192
+ OneToMany24(() => TaskQueryMessage, (message) => message.taskQuery, { cascade: true })
6193
+ ], TaskQuery.prototype, "messages", 2);
6194
+ TaskQuery = __decorateClass([
6195
+ Entity72("task_queries")
6196
+ ], TaskQuery);
6197
+
6039
6198
  // src/entities/user.entity.ts
6040
6199
  var AccountType2 = /* @__PURE__ */ ((AccountType4) => {
6041
6200
  AccountType4["SUPER_ADMIN"] = "SUPER_ADMIN";
@@ -6062,51 +6221,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
6062
6221
  var User = class extends BaseEntity {
6063
6222
  };
6064
6223
  __decorateClass([
6065
- Column72({ name: "unique_id", type: "varchar", unique: true })
6224
+ Column74({ name: "unique_id", type: "varchar", unique: true })
6066
6225
  ], User.prototype, "uniqueId", 2);
6067
6226
  __decorateClass([
6068
- Column72({ name: "parent_id", type: "integer", nullable: true }),
6069
- Index64()
6227
+ Column74({ name: "parent_id", type: "integer", nullable: true }),
6228
+ Index66()
6070
6229
  ], User.prototype, "parentId", 2);
6071
6230
  __decorateClass([
6072
- ManyToOne66(() => User, (user) => user.children, { nullable: true }),
6073
- JoinColumn67({ name: "parent_id" })
6231
+ ManyToOne68(() => User, (user) => user.children, { nullable: true }),
6232
+ JoinColumn69({ name: "parent_id" })
6074
6233
  ], User.prototype, "parent", 2);
6075
6234
  __decorateClass([
6076
- OneToMany24(() => User, (user) => user.parent)
6235
+ OneToMany25(() => User, (user) => user.parent)
6077
6236
  ], User.prototype, "children", 2);
6078
6237
  __decorateClass([
6079
- Column72({ name: "username", type: "varchar", unique: true, nullable: true })
6238
+ Column74({ name: "username", type: "varchar", unique: true, nullable: true })
6080
6239
  ], User.prototype, "username", 2);
6081
6240
  __decorateClass([
6082
- Column72({ name: "first_name", type: "varchar", length: 100, nullable: true })
6241
+ Column74({ name: "first_name", type: "varchar", length: 100, nullable: true })
6083
6242
  ], User.prototype, "firstName", 2);
6084
6243
  __decorateClass([
6085
- Column72({ name: "last_name", type: "varchar", length: 100, nullable: true })
6244
+ Column74({ name: "last_name", type: "varchar", length: 100, nullable: true })
6086
6245
  ], User.prototype, "lastName", 2);
6087
6246
  __decorateClass([
6088
- Column72({ name: "date_of_birth", type: "date", nullable: true })
6247
+ Column74({ name: "date_of_birth", type: "date", nullable: true })
6089
6248
  ], User.prototype, "dateOfBirth", 2);
6090
6249
  __decorateClass([
6091
- Column72({ name: "gender", type: "varchar", length: 10, nullable: true })
6250
+ Column74({ name: "gender", type: "varchar", length: 10, nullable: true })
6092
6251
  ], User.prototype, "gender", 2);
6093
6252
  __decorateClass([
6094
- Column72({ name: "profile_picture_url", type: "text", nullable: true })
6253
+ Column74({ name: "profile_picture_url", type: "text", nullable: true })
6095
6254
  ], User.prototype, "profilePictureUrl", 2);
6096
6255
  __decorateClass([
6097
- Column72({ name: "email", type: "varchar", unique: true })
6256
+ Column74({ name: "email", type: "varchar", unique: true })
6098
6257
  ], User.prototype, "email", 2);
6099
6258
  __decorateClass([
6100
- Column72({ name: "mobile_code", type: "varchar", nullable: true })
6259
+ Column74({ name: "mobile_code", type: "varchar", nullable: true })
6101
6260
  ], User.prototype, "mobileCode", 2);
6102
6261
  __decorateClass([
6103
- Column72({ name: "mobile", type: "varchar", nullable: true })
6262
+ Column74({ name: "mobile", type: "varchar", nullable: true })
6104
6263
  ], User.prototype, "mobile", 2);
6105
6264
  __decorateClass([
6106
- Column72({ name: "password", type: "varchar", nullable: true })
6265
+ Column74({ name: "password", type: "varchar", nullable: true })
6107
6266
  ], User.prototype, "password", 2);
6108
6267
  __decorateClass([
6109
- Column72({
6268
+ Column74({
6110
6269
  name: "account_type",
6111
6270
  type: "enum",
6112
6271
  enum: AccountType2,
@@ -6114,7 +6273,7 @@ __decorateClass([
6114
6273
  })
6115
6274
  ], User.prototype, "accountType", 2);
6116
6275
  __decorateClass([
6117
- Column72({
6276
+ Column74({
6118
6277
  name: "account_status",
6119
6278
  type: "enum",
6120
6279
  enum: AccountStatus,
@@ -6122,45 +6281,45 @@ __decorateClass([
6122
6281
  })
6123
6282
  ], User.prototype, "accountStatus", 2);
6124
6283
  __decorateClass([
6125
- Column72({ name: "is_email_verified", type: "boolean", default: false })
6284
+ Column74({ name: "is_email_verified", type: "boolean", default: false })
6126
6285
  ], User.prototype, "isEmailVerified", 2);
6127
6286
  __decorateClass([
6128
- Column72({ name: "is_mobile_verified", type: "boolean", default: false })
6287
+ Column74({ name: "is_mobile_verified", type: "boolean", default: false })
6129
6288
  ], User.prototype, "isMobileVerified", 2);
6130
6289
  __decorateClass([
6131
- Column72({ name: "is_social", type: "boolean", default: false })
6290
+ Column74({ name: "is_social", type: "boolean", default: false })
6132
6291
  ], User.prototype, "isSocial", 2);
6133
6292
  __decorateClass([
6134
- Column72({ name: "is_referral_user", type: "boolean", default: false })
6293
+ Column74({ name: "is_referral_user", type: "boolean", default: false })
6135
6294
  ], User.prototype, "isReferralUser", 2);
6136
6295
  __decorateClass([
6137
- Column72({
6296
+ Column74({
6138
6297
  name: "last_login_at",
6139
6298
  type: "timestamp with time zone",
6140
6299
  nullable: true
6141
6300
  })
6142
6301
  ], User.prototype, "lastLoginAt", 2);
6143
6302
  __decorateClass([
6144
- Column72({ name: "last_login_ip", type: "varchar", nullable: true })
6303
+ Column74({ name: "last_login_ip", type: "varchar", nullable: true })
6145
6304
  ], User.prototype, "lastLoginIp", 2);
6146
6305
  __decorateClass([
6147
- Column72({ name: "reset_token", type: "varchar", nullable: true })
6306
+ Column74({ name: "reset_token", type: "varchar", nullable: true })
6148
6307
  ], User.prototype, "resetToken", 2);
6149
6308
  __decorateClass([
6150
- Column72({
6309
+ Column74({
6151
6310
  name: "reset_token_expire_at",
6152
6311
  type: "timestamp with time zone",
6153
6312
  nullable: true
6154
6313
  })
6155
6314
  ], User.prototype, "resetTokenExpireAt", 2);
6156
6315
  __decorateClass([
6157
- Column72({ name: "set_password_token", type: "varchar", nullable: true })
6316
+ Column74({ name: "set_password_token", type: "varchar", nullable: true })
6158
6317
  ], User.prototype, "setPasswordToken", 2);
6159
6318
  __decorateClass([
6160
- OneToMany24(() => RefreshToken, (token) => token.user)
6319
+ OneToMany25(() => RefreshToken, (token) => token.user)
6161
6320
  ], User.prototype, "refreshTokens", 2);
6162
6321
  __decorateClass([
6163
- Column72({
6322
+ Column74({
6164
6323
  name: "provider",
6165
6324
  type: "enum",
6166
6325
  enum: Provider,
@@ -6169,43 +6328,43 @@ __decorateClass([
6169
6328
  })
6170
6329
  ], User.prototype, "provider", 2);
6171
6330
  __decorateClass([
6172
- Column72({ name: "provider_token", type: "varchar", nullable: true })
6331
+ Column74({ name: "provider_token", type: "varchar", nullable: true })
6173
6332
  ], User.prototype, "providerToken", 2);
6174
6333
  __decorateClass([
6175
- Column72({ name: "linkedin_id", type: "varchar", nullable: true })
6334
+ Column74({ name: "linkedin_id", type: "varchar", nullable: true })
6176
6335
  ], User.prototype, "linkedInId", 2);
6177
6336
  __decorateClass([
6178
- Column72({ name: "google_id", type: "varchar", nullable: true })
6337
+ Column74({ name: "google_id", type: "varchar", nullable: true })
6179
6338
  ], User.prototype, "googleId", 2);
6180
6339
  __decorateClass([
6181
- Column72({ name: "gitlabs_id", type: "varchar", nullable: true })
6340
+ Column74({ name: "gitlabs_id", type: "varchar", nullable: true })
6182
6341
  ], User.prototype, "gitLabsId", 2);
6183
6342
  __decorateClass([
6184
- Column72({ name: "onboarded_by", type: "varchar", nullable: true })
6343
+ Column74({ name: "onboarded_by", type: "varchar", nullable: true })
6185
6344
  ], User.prototype, "onBoardedBy", 2);
6186
6345
  __decorateClass([
6187
- OneToMany24(() => Otp, (otp) => otp.user)
6346
+ OneToMany25(() => Otp, (otp) => otp.user)
6188
6347
  ], User.prototype, "otps", 2);
6189
6348
  __decorateClass([
6190
- OneToMany24(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6349
+ OneToMany25(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6191
6350
  ], User.prototype, "senseloafLogs", 2);
6192
6351
  __decorateClass([
6193
6352
  OneToOne12(() => CompanyProfile, (companyProfile) => companyProfile.user)
6194
6353
  ], User.prototype, "companyProfile", 2);
6195
6354
  __decorateClass([
6196
- OneToMany24(() => CompanySkill, (companySkill) => companySkill.user)
6355
+ OneToMany25(() => CompanySkill, (companySkill) => companySkill.user)
6197
6356
  ], User.prototype, "companySkills", 2);
6198
6357
  __decorateClass([
6199
- OneToMany24(
6358
+ OneToMany25(
6200
6359
  () => CompanyMemberRole,
6201
6360
  (companyMemberRole) => companyMemberRole.user
6202
6361
  )
6203
6362
  ], User.prototype, "companyMemberRoles", 2);
6204
6363
  __decorateClass([
6205
- OneToMany24(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6364
+ OneToMany25(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6206
6365
  ], User.prototype, "companyAiInterview", 2);
6207
6366
  __decorateClass([
6208
- OneToMany24(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6367
+ OneToMany25(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6209
6368
  ], User.prototype, "clientF2FInterviews", 2);
6210
6369
  __decorateClass([
6211
6370
  OneToOne12(
@@ -6217,61 +6376,61 @@ __decorateClass([
6217
6376
  OneToOne12(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6218
6377
  ], User.prototype, "freelancerResume", 2);
6219
6378
  __decorateClass([
6220
- OneToMany24(
6379
+ OneToMany25(
6221
6380
  () => FreelancerAssessmentRequest,
6222
6381
  (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
6223
6382
  )
6224
6383
  ], User.prototype, "freelancerAssessmentRequests", 2);
6225
6384
  __decorateClass([
6226
- OneToMany24(
6385
+ OneToMany25(
6227
6386
  () => FreelancerAssessmentRequest,
6228
6387
  (freelancerAssessment) => freelancerAssessment.approvedBy
6229
6388
  )
6230
6389
  ], User.prototype, "assessmentRequests", 2);
6231
6390
  __decorateClass([
6232
- OneToMany24(
6391
+ OneToMany25(
6233
6392
  () => FreelancerAssessment,
6234
6393
  (freelancerAssessment) => freelancerAssessment.user
6235
6394
  )
6236
6395
  ], User.prototype, "assessments", 2);
6237
6396
  __decorateClass([
6238
- OneToMany24(
6397
+ OneToMany25(
6239
6398
  () => AssessmentAnswer,
6240
6399
  (assessmentAnswer) => assessmentAnswer.user
6241
6400
  )
6242
6401
  ], User.prototype, "assessmentAnswers", 2);
6243
6402
  __decorateClass([
6244
- OneToMany24(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6403
+ OneToMany25(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6245
6404
  ], User.prototype, "freelancerSkills", 2);
6246
6405
  __decorateClass([
6247
- OneToMany24(
6406
+ OneToMany25(
6248
6407
  () => FreelancerExperience,
6249
6408
  (freelancerExperience) => freelancerExperience.user
6250
6409
  )
6251
6410
  ], User.prototype, "freelancerExperience", 2);
6252
6411
  __decorateClass([
6253
- OneToMany24(
6412
+ OneToMany25(
6254
6413
  () => FreelancerEducation,
6255
6414
  (freelancerEducation) => freelancerEducation.user
6256
6415
  )
6257
6416
  ], User.prototype, "freelancerEducation", 2);
6258
6417
  __decorateClass([
6259
- OneToMany24(
6418
+ OneToMany25(
6260
6419
  () => FreelancerProject,
6261
6420
  (freelancerProject) => freelancerProject.user
6262
6421
  )
6263
6422
  ], User.prototype, "freelancerProject", 2);
6264
6423
  __decorateClass([
6265
- OneToMany24(
6424
+ OneToMany25(
6266
6425
  () => FreelancerCaseStudy,
6267
6426
  (freelancerCaseStudy) => freelancerCaseStudy.user
6268
6427
  )
6269
6428
  ], User.prototype, "freelancerCaseStudy", 2);
6270
6429
  __decorateClass([
6271
- OneToMany24(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6430
+ OneToMany25(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6272
6431
  ], User.prototype, "freelancerTool", 2);
6273
6432
  __decorateClass([
6274
- OneToMany24(
6433
+ OneToMany25(
6275
6434
  () => FreelancerFramework,
6276
6435
  (freelancerFramework) => freelancerFramework.user
6277
6436
  )
@@ -6283,143 +6442,152 @@ __decorateClass([
6283
6442
  )
6284
6443
  ], User.prototype, "freelancerDeclaration", 2);
6285
6444
  __decorateClass([
6286
- OneToMany24(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6445
+ OneToMany25(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6287
6446
  ], User.prototype, "freelancerMcq", 2);
6288
6447
  __decorateClass([
6289
- OneToMany24(() => AiInterview, (aiInterview) => aiInterview.candidate)
6448
+ OneToMany25(() => AiInterview, (aiInterview) => aiInterview.candidate)
6290
6449
  ], User.prototype, "freelancerAiInterview", 2);
6291
6450
  __decorateClass([
6292
- OneToMany24(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6451
+ OneToMany25(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6293
6452
  ], User.prototype, "freelancerF2FInterviews", 2);
6294
6453
  __decorateClass([
6295
- OneToMany24(
6454
+ OneToMany25(
6296
6455
  () => F2fInterviewRescheduleRequest,
6297
6456
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
6298
6457
  )
6299
6458
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
6300
6459
  __decorateClass([
6301
- OneToMany24(
6460
+ OneToMany25(
6302
6461
  () => AiInterviewRescheduleRequest,
6303
6462
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.candidate
6304
6463
  )
6305
6464
  ], User.prototype, "freelancerAiInterviewRescheduleRequests", 2);
6306
6465
  __decorateClass([
6307
- OneToMany24(
6466
+ OneToMany25(
6308
6467
  () => AiInterviewRescheduleRequest,
6309
6468
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.client
6310
6469
  )
6311
6470
  ], User.prototype, "clientAiInterviewRescheduleRequests", 2);
6312
6471
  __decorateClass([
6313
- OneToMany24(() => Job, (job) => job.user)
6472
+ OneToMany25(() => Job, (job) => job.user)
6314
6473
  ], User.prototype, "jobs", 2);
6315
6474
  __decorateClass([
6316
- OneToMany24(() => Task, (task) => task.client)
6475
+ OneToMany25(() => Task, (task) => task.client)
6317
6476
  ], User.prototype, "clientTasks", 2);
6318
6477
  __decorateClass([
6319
- OneToMany24(() => Task, (task) => task.freelancer)
6478
+ OneToMany25(() => Task, (task) => task.freelancer)
6320
6479
  ], User.prototype, "freelancerTasks", 2);
6321
6480
  __decorateClass([
6322
- OneToMany24(() => JobApplication, (jobApplication) => jobApplication.user)
6481
+ OneToMany25(() => TaskQuery, (taskQuery) => taskQuery.raisedByUser)
6482
+ ], User.prototype, "raisedTaskQueries", 2);
6483
+ __decorateClass([
6484
+ OneToMany25(() => TaskQuery, (taskQuery) => taskQuery.assignedToUser)
6485
+ ], User.prototype, "assignedTaskQueries", 2);
6486
+ __decorateClass([
6487
+ OneToMany25(() => TaskQueryMessage, (message) => message.senderUser)
6488
+ ], User.prototype, "taskQueryMessages", 2);
6489
+ __decorateClass([
6490
+ OneToMany25(() => JobApplication, (jobApplication) => jobApplication.user)
6323
6491
  ], User.prototype, "jobApplications", 2);
6324
6492
  __decorateClass([
6325
- OneToMany24(() => Interview, (interview) => interview.user)
6493
+ OneToMany25(() => Interview, (interview) => interview.user)
6326
6494
  ], User.prototype, "interviews", 2);
6327
6495
  __decorateClass([
6328
- OneToMany24(() => BankDetail, (bankDetail) => bankDetail.user)
6496
+ OneToMany25(() => BankDetail, (bankDetail) => bankDetail.user)
6329
6497
  ], User.prototype, "bankDetail", 2);
6330
6498
  __decorateClass([
6331
- OneToMany24(
6499
+ OneToMany25(
6332
6500
  () => SystemPreference,
6333
6501
  (systemPreference) => systemPreference.user
6334
6502
  )
6335
6503
  ], User.prototype, "systemPreference", 2);
6336
6504
  __decorateClass([
6337
- OneToMany24(() => Rating, (rating) => rating.reviewer)
6505
+ OneToMany25(() => Rating, (rating) => rating.reviewer)
6338
6506
  ], User.prototype, "givenRatings", 2);
6339
6507
  __decorateClass([
6340
- OneToMany24(() => Rating, (rating) => rating.reviewee)
6508
+ OneToMany25(() => Rating, (rating) => rating.reviewee)
6341
6509
  ], User.prototype, "receivedRatings", 2);
6342
6510
  __decorateClass([
6343
- OneToMany24(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6511
+ OneToMany25(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6344
6512
  ], User.prototype, "adminUserRoles", 2);
6345
6513
  __decorateClass([
6346
- OneToMany24(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6514
+ OneToMany25(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6347
6515
  cascade: true
6348
6516
  })
6349
6517
  ], User.prototype, "clientContractSummaries", 2);
6350
6518
  __decorateClass([
6351
- OneToMany24(() => Contract, (contract) => contract.client)
6519
+ OneToMany25(() => Contract, (contract) => contract.client)
6352
6520
  ], User.prototype, "clientContracts", 2);
6353
6521
  __decorateClass([
6354
- OneToMany24(() => Hiring, (hiring) => hiring.client)
6522
+ OneToMany25(() => Hiring, (hiring) => hiring.client)
6355
6523
  ], User.prototype, "clientHirings", 2);
6356
6524
  __decorateClass([
6357
- OneToMany24(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6525
+ OneToMany25(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6358
6526
  ], User.prototype, "clientEscrowWallets", 2);
6359
6527
  __decorateClass([
6360
- OneToMany24(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6528
+ OneToMany25(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6361
6529
  cascade: true
6362
6530
  })
6363
6531
  ], User.prototype, "freelancerContractSummaries", 2);
6364
6532
  __decorateClass([
6365
- OneToMany24(() => Contract, (contract) => contract.freelancer)
6533
+ OneToMany25(() => Contract, (contract) => contract.freelancer)
6366
6534
  ], User.prototype, "freelancerContracts", 2);
6367
6535
  __decorateClass([
6368
- OneToMany24(() => Hiring, (hiring) => hiring.freelancer)
6536
+ OneToMany25(() => Hiring, (hiring) => hiring.freelancer)
6369
6537
  ], User.prototype, "freelancerHirings", 2);
6370
6538
  __decorateClass([
6371
- OneToMany24(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6539
+ OneToMany25(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6372
6540
  ], User.prototype, "freelancerEscrowWallets", 2);
6373
6541
  __decorateClass([
6374
6542
  OneToOne12(() => Signature, (signature) => signature.user)
6375
6543
  ], User.prototype, "signatures", 2);
6376
6544
  __decorateClass([
6377
- OneToMany24(() => Timesheet, (timesheet) => timesheet.client)
6545
+ OneToMany25(() => Timesheet, (timesheet) => timesheet.client)
6378
6546
  ], User.prototype, "clientTimesheets", 2);
6379
6547
  __decorateClass([
6380
- OneToMany24(() => Timesheet, (timesheet) => timesheet.freelancer)
6548
+ OneToMany25(() => Timesheet, (timesheet) => timesheet.freelancer)
6381
6549
  ], User.prototype, "freelancerTimesheets", 2);
6382
6550
  __decorateClass([
6383
- OneToMany24(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6551
+ OneToMany25(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6384
6552
  ], User.prototype, "clientTimesheetLine", 2);
6385
6553
  __decorateClass([
6386
- OneToMany24(() => Invoice, (invoice) => invoice.client)
6554
+ OneToMany25(() => Invoice, (invoice) => invoice.client)
6387
6555
  ], User.prototype, "clientInvoice", 2);
6388
6556
  __decorateClass([
6389
- OneToMany24(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6557
+ OneToMany25(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6390
6558
  ], User.prototype, "freelancerTimesheetLine", 2);
6391
6559
  __decorateClass([
6392
- OneToMany24(() => Invoice, (invoice) => invoice.freelancer)
6560
+ OneToMany25(() => Invoice, (invoice) => invoice.freelancer)
6393
6561
  ], User.prototype, "freelancerInvoice", 2);
6394
6562
  __decorateClass([
6395
- OneToMany24(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6563
+ OneToMany25(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6396
6564
  ], User.prototype, "clientPreferencesGiven", 2);
6397
6565
  __decorateClass([
6398
- OneToMany24(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6566
+ OneToMany25(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6399
6567
  ], User.prototype, "clientPreferencesReceived", 2);
6400
6568
  __decorateClass([
6401
- OneToMany24(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6569
+ OneToMany25(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6402
6570
  ], User.prototype, "initiatedDisputes", 2);
6403
6571
  __decorateClass([
6404
- OneToMany24(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6572
+ OneToMany25(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6405
6573
  ], User.prototype, "respondentDisputes", 2);
6406
6574
  __decorateClass([
6407
6575
  OneToOne12(() => Wallet, (wallet) => wallet.user)
6408
6576
  ], User.prototype, "wallet", 2);
6409
6577
  __decorateClass([
6410
- OneToMany24(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6578
+ OneToMany25(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6411
6579
  ], User.prototype, "stripeTransactions", 2);
6412
6580
  __decorateClass([
6413
- OneToMany24(() => Dispute, (dispute) => dispute.client)
6581
+ OneToMany25(() => Dispute, (dispute) => dispute.client)
6414
6582
  ], User.prototype, "clientDisputes", 2);
6415
6583
  __decorateClass([
6416
- OneToMany24(() => Dispute, (dispute) => dispute.freelancer)
6584
+ OneToMany25(() => Dispute, (dispute) => dispute.freelancer)
6417
6585
  ], User.prototype, "freelancerDisputes", 2);
6418
6586
  __decorateClass([
6419
- OneToMany24(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6587
+ OneToMany25(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6420
6588
  ], User.prototype, "inAppNotifications", 2);
6421
6589
  User = __decorateClass([
6422
- Entity71("users")
6590
+ Entity73("users")
6423
6591
  ], User);
6424
6592
 
6425
6593
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
@@ -12893,6 +13061,289 @@ __decorateClass([
12893
13061
  Type31(() => Number)
12894
13062
  ], ArchiveSubmissionDto.prototype, "submissionId", 2);
12895
13063
 
13064
+ // src/modules/task/pattern/pattern.ts
13065
+ var TASK_PATTERN = {
13066
+ createTask: "create.task",
13067
+ fetchTaskForBusiness: "fetch.task.for.business",
13068
+ fetchTaskForFreelancer: "fetch.task.for.freelancer",
13069
+ fetchTaskDetail: "fetch.task.detail",
13070
+ updateTask: "update.task",
13071
+ deleteTask: "delete.task",
13072
+ addClientRemark: "task.client.remark",
13073
+ markTaskAsCompleted: "task.client.mark.as.completed",
13074
+ updateEstimateTime: "task.freelancer.update.estimate.time"
13075
+ };
13076
+
13077
+ // src/modules/task/dto/create-task.dto.ts
13078
+ import {
13079
+ IsArray as IsArray31,
13080
+ IsDateString as IsDateString12,
13081
+ IsOptional as IsOptional88,
13082
+ IsString as IsString94,
13083
+ ValidateNested as ValidateNested13
13084
+ } from "class-validator";
13085
+ import { Type as Type32 } from "class-transformer";
13086
+ var TaskDeliverableDto = class {
13087
+ };
13088
+ __decorateClass([
13089
+ IsString94()
13090
+ ], TaskDeliverableDto.prototype, "name", 2);
13091
+ __decorateClass([
13092
+ IsOptional88(),
13093
+ IsString94()
13094
+ ], TaskDeliverableDto.prototype, "description", 2);
13095
+ __decorateClass([
13096
+ IsOptional88(),
13097
+ IsString94()
13098
+ ], TaskDeliverableDto.prototype, "type", 2);
13099
+ var TaskResourceDto = class {
13100
+ };
13101
+ __decorateClass([
13102
+ IsString94()
13103
+ ], TaskResourceDto.prototype, "name", 2);
13104
+ __decorateClass([
13105
+ IsOptional88(),
13106
+ IsString94()
13107
+ ], TaskResourceDto.prototype, "description", 2);
13108
+ __decorateClass([
13109
+ IsOptional88(),
13110
+ IsString94()
13111
+ ], TaskResourceDto.prototype, "type", 2);
13112
+ __decorateClass([
13113
+ IsOptional88(),
13114
+ IsString94()
13115
+ ], TaskResourceDto.prototype, "url", 2);
13116
+ var TaskChecklistItemDto = class {
13117
+ };
13118
+ __decorateClass([
13119
+ IsString94()
13120
+ ], TaskChecklistItemDto.prototype, "item", 2);
13121
+ __decorateClass([
13122
+ IsOptional88(),
13123
+ IsString94()
13124
+ ], TaskChecklistItemDto.prototype, "notes", 2);
13125
+ var TaskSubtaskDto = class {
13126
+ };
13127
+ __decorateClass([
13128
+ IsString94()
13129
+ ], TaskSubtaskDto.prototype, "name", 2);
13130
+ __decorateClass([
13131
+ IsOptional88(),
13132
+ IsString94()
13133
+ ], TaskSubtaskDto.prototype, "status", 2);
13134
+ __decorateClass([
13135
+ IsOptional88(),
13136
+ IsString94()
13137
+ ], TaskSubtaskDto.prototype, "description", 2);
13138
+ var CreateTaskDto = class {
13139
+ };
13140
+ __decorateClass([
13141
+ IsString94()
13142
+ ], CreateTaskDto.prototype, "title", 2);
13143
+ __decorateClass([
13144
+ IsDateString12()
13145
+ ], CreateTaskDto.prototype, "dueDate", 2);
13146
+ __decorateClass([
13147
+ IsString94()
13148
+ ], CreateTaskDto.prototype, "jobId", 2);
13149
+ __decorateClass([
13150
+ IsString94()
13151
+ ], CreateTaskDto.prototype, "freelancerId", 2);
13152
+ __decorateClass([
13153
+ IsString94()
13154
+ ], CreateTaskDto.prototype, "status", 2);
13155
+ __decorateClass([
13156
+ IsOptional88(),
13157
+ IsString94()
13158
+ ], CreateTaskDto.prototype, "description", 2);
13159
+ __decorateClass([
13160
+ IsString94()
13161
+ ], CreateTaskDto.prototype, "priority", 2);
13162
+ __decorateClass([
13163
+ IsDateString12()
13164
+ ], CreateTaskDto.prototype, "createdOn", 2);
13165
+ __decorateClass([
13166
+ IsOptional88(),
13167
+ IsArray31(),
13168
+ ValidateNested13({ each: true }),
13169
+ Type32(() => TaskDeliverableDto)
13170
+ ], CreateTaskDto.prototype, "deliverables", 2);
13171
+ __decorateClass([
13172
+ IsOptional88(),
13173
+ IsArray31(),
13174
+ ValidateNested13({ each: true }),
13175
+ Type32(() => TaskResourceDto)
13176
+ ], CreateTaskDto.prototype, "resources", 2);
13177
+ __decorateClass([
13178
+ IsOptional88(),
13179
+ IsArray31(),
13180
+ ValidateNested13({ each: true }),
13181
+ Type32(() => TaskChecklistItemDto)
13182
+ ], CreateTaskDto.prototype, "checklist", 2);
13183
+ __decorateClass([
13184
+ IsOptional88(),
13185
+ IsArray31(),
13186
+ ValidateNested13({ each: true }),
13187
+ Type32(() => TaskSubtaskDto)
13188
+ ], CreateTaskDto.prototype, "subtasks", 2);
13189
+
13190
+ // src/modules/task/dto/update-task.dto.ts
13191
+ import {
13192
+ IsArray as IsArray32,
13193
+ IsDateString as IsDateString13,
13194
+ IsOptional as IsOptional89,
13195
+ IsString as IsString95,
13196
+ ValidateNested as ValidateNested14
13197
+ } from "class-validator";
13198
+ import { Type as Type33 } from "class-transformer";
13199
+ var TaskDeliverableDto2 = class {
13200
+ };
13201
+ __decorateClass([
13202
+ IsString95()
13203
+ ], TaskDeliverableDto2.prototype, "name", 2);
13204
+ __decorateClass([
13205
+ IsOptional89(),
13206
+ IsString95()
13207
+ ], TaskDeliverableDto2.prototype, "description", 2);
13208
+ __decorateClass([
13209
+ IsOptional89(),
13210
+ IsString95()
13211
+ ], TaskDeliverableDto2.prototype, "type", 2);
13212
+ var TaskResourceDto2 = class {
13213
+ };
13214
+ __decorateClass([
13215
+ IsString95()
13216
+ ], TaskResourceDto2.prototype, "name", 2);
13217
+ __decorateClass([
13218
+ IsOptional89(),
13219
+ IsString95()
13220
+ ], TaskResourceDto2.prototype, "description", 2);
13221
+ __decorateClass([
13222
+ IsOptional89(),
13223
+ IsString95()
13224
+ ], TaskResourceDto2.prototype, "type", 2);
13225
+ __decorateClass([
13226
+ IsOptional89(),
13227
+ IsString95()
13228
+ ], TaskResourceDto2.prototype, "url", 2);
13229
+ var TaskChecklistItemDto2 = class {
13230
+ };
13231
+ __decorateClass([
13232
+ IsString95()
13233
+ ], TaskChecklistItemDto2.prototype, "item", 2);
13234
+ __decorateClass([
13235
+ IsOptional89(),
13236
+ IsString95()
13237
+ ], TaskChecklistItemDto2.prototype, "notes", 2);
13238
+ var TaskSubtaskDto2 = class {
13239
+ };
13240
+ __decorateClass([
13241
+ IsString95()
13242
+ ], TaskSubtaskDto2.prototype, "name", 2);
13243
+ __decorateClass([
13244
+ IsOptional89(),
13245
+ IsString95()
13246
+ ], TaskSubtaskDto2.prototype, "status", 2);
13247
+ __decorateClass([
13248
+ IsOptional89(),
13249
+ IsString95()
13250
+ ], TaskSubtaskDto2.prototype, "description", 2);
13251
+ var UpdateTaskDto = class {
13252
+ };
13253
+ __decorateClass([
13254
+ IsOptional89(),
13255
+ IsString95()
13256
+ ], UpdateTaskDto.prototype, "title", 2);
13257
+ __decorateClass([
13258
+ IsOptional89(),
13259
+ IsDateString13()
13260
+ ], UpdateTaskDto.prototype, "dueDate", 2);
13261
+ __decorateClass([
13262
+ IsOptional89(),
13263
+ IsString95()
13264
+ ], UpdateTaskDto.prototype, "jobId", 2);
13265
+ __decorateClass([
13266
+ IsOptional89(),
13267
+ IsString95()
13268
+ ], UpdateTaskDto.prototype, "freelancerId", 2);
13269
+ __decorateClass([
13270
+ IsOptional89(),
13271
+ IsString95()
13272
+ ], UpdateTaskDto.prototype, "status", 2);
13273
+ __decorateClass([
13274
+ IsOptional89(),
13275
+ IsString95()
13276
+ ], UpdateTaskDto.prototype, "description", 2);
13277
+ __decorateClass([
13278
+ IsOptional89(),
13279
+ IsString95()
13280
+ ], UpdateTaskDto.prototype, "priority", 2);
13281
+ __decorateClass([
13282
+ IsOptional89(),
13283
+ IsDateString13()
13284
+ ], UpdateTaskDto.prototype, "createdOn", 2);
13285
+ __decorateClass([
13286
+ IsOptional89(),
13287
+ IsArray32(),
13288
+ ValidateNested14({ each: true }),
13289
+ Type33(() => TaskDeliverableDto2)
13290
+ ], UpdateTaskDto.prototype, "deliverables", 2);
13291
+ __decorateClass([
13292
+ IsOptional89(),
13293
+ IsArray32(),
13294
+ ValidateNested14({ each: true }),
13295
+ Type33(() => TaskResourceDto2)
13296
+ ], UpdateTaskDto.prototype, "resources", 2);
13297
+ __decorateClass([
13298
+ IsOptional89(),
13299
+ IsArray32(),
13300
+ ValidateNested14({ each: true }),
13301
+ Type33(() => TaskChecklistItemDto2)
13302
+ ], UpdateTaskDto.prototype, "checklist", 2);
13303
+ __decorateClass([
13304
+ IsOptional89(),
13305
+ IsArray32(),
13306
+ ValidateNested14({ each: true }),
13307
+ Type33(() => TaskSubtaskDto2)
13308
+ ], UpdateTaskDto.prototype, "subtasks", 2);
13309
+
13310
+ // src/modules/task/dto/task-uuid-param.dto.ts
13311
+ import { IsString as IsString96 } from "class-validator";
13312
+ var TaskUuidParamDto = class {
13313
+ };
13314
+ __decorateClass([
13315
+ IsString96()
13316
+ ], TaskUuidParamDto.prototype, "uuid", 2);
13317
+
13318
+ // src/modules/task/dto/add-client-remark.dto.ts
13319
+ import { IsString as IsString97 } from "class-validator";
13320
+ var AddClientRemarkDto = class {
13321
+ };
13322
+ __decorateClass([
13323
+ IsString97()
13324
+ ], AddClientRemarkDto.prototype, "remark", 2);
13325
+
13326
+ // src/modules/task/dto/mark-task-as-completed.dto.ts
13327
+ import { IsString as IsString98 } from "class-validator";
13328
+ var MarkTaskAsCompletedDto = class {
13329
+ };
13330
+ __decorateClass([
13331
+ IsString98()
13332
+ ], MarkTaskAsCompletedDto.prototype, "status", 2);
13333
+
13334
+ // src/modules/task/dto/update-estimate-time.dto.ts
13335
+ import { Type as Type34 } from "class-transformer";
13336
+ import { IsNumber as IsNumber47, IsString as IsString99 } from "class-validator";
13337
+ var UpdateEstimateTimeDto = class {
13338
+ };
13339
+ __decorateClass([
13340
+ Type34(() => Number),
13341
+ IsNumber47()
13342
+ ], UpdateEstimateTimeDto.prototype, "estimateHours", 2);
13343
+ __decorateClass([
13344
+ IsString99()
13345
+ ], UpdateEstimateTimeDto.prototype, "additionalWorkNote", 2);
13346
+
12896
13347
  // src/adapters/tcp/user.tcp.adapter.ts
12897
13348
  import { config } from "dotenv";
12898
13349
  import { Transport as Transport2 } from "@nestjs/microservices";
@@ -13254,11 +13705,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
13254
13705
  };
13255
13706
 
13256
13707
  // src/entities/sequence-generator.entity.ts
13257
- import { Entity as Entity72, Column as Column73 } from "typeorm";
13708
+ import { Entity as Entity74, Column as Column75 } from "typeorm";
13258
13709
  var SequenceGenerator = class extends BaseEntity {
13259
13710
  };
13260
13711
  __decorateClass([
13261
- Column73({
13712
+ Column75({
13262
13713
  name: "module",
13263
13714
  type: "varchar",
13264
13715
  length: 50,
@@ -13267,7 +13718,7 @@ __decorateClass([
13267
13718
  })
13268
13719
  ], SequenceGenerator.prototype, "module", 2);
13269
13720
  __decorateClass([
13270
- Column73({
13721
+ Column75({
13271
13722
  name: "prefix",
13272
13723
  type: "varchar",
13273
13724
  length: 10,
@@ -13276,7 +13727,7 @@ __decorateClass([
13276
13727
  })
13277
13728
  ], SequenceGenerator.prototype, "prefix", 2);
13278
13729
  __decorateClass([
13279
- Column73({
13730
+ Column75({
13280
13731
  name: "last_sequence",
13281
13732
  type: "int",
13282
13733
  nullable: false,
@@ -13284,7 +13735,7 @@ __decorateClass([
13284
13735
  })
13285
13736
  ], SequenceGenerator.prototype, "lastSequence", 2);
13286
13737
  __decorateClass([
13287
- Column73({
13738
+ Column75({
13288
13739
  name: "year",
13289
13740
  type: "int",
13290
13741
  nullable: true,
@@ -13292,11 +13743,11 @@ __decorateClass([
13292
13743
  })
13293
13744
  ], SequenceGenerator.prototype, "year", 2);
13294
13745
  SequenceGenerator = __decorateClass([
13295
- Entity72("sequence_generators")
13746
+ Entity74("sequence_generators")
13296
13747
  ], SequenceGenerator);
13297
13748
 
13298
13749
  // src/entities/question.entity.ts
13299
- import { Entity as Entity73, Column as Column74 } from "typeorm";
13750
+ import { Entity as Entity75, Column as Column76 } from "typeorm";
13300
13751
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
13301
13752
  QuestionFor2["CLIENT"] = "CLIENT";
13302
13753
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -13305,16 +13756,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
13305
13756
  var Question = class extends BaseEntity {
13306
13757
  };
13307
13758
  __decorateClass([
13308
- Column74({ name: "question", type: "varchar" })
13759
+ Column76({ name: "question", type: "varchar" })
13309
13760
  ], Question.prototype, "question", 2);
13310
13761
  __decorateClass([
13311
- Column74({ name: "hint", type: "varchar", nullable: true })
13762
+ Column76({ name: "hint", type: "varchar", nullable: true })
13312
13763
  ], Question.prototype, "hint", 2);
13313
13764
  __decorateClass([
13314
- Column74({ name: "slug", type: "varchar", nullable: true, unique: true })
13765
+ Column76({ name: "slug", type: "varchar", nullable: true, unique: true })
13315
13766
  ], Question.prototype, "slug", 2);
13316
13767
  __decorateClass([
13317
- Column74({
13768
+ Column76({
13318
13769
  name: "question_for",
13319
13770
  type: "enum",
13320
13771
  enum: QuestionFor,
@@ -13322,49 +13773,49 @@ __decorateClass([
13322
13773
  })
13323
13774
  ], Question.prototype, "questionFor", 2);
13324
13775
  __decorateClass([
13325
- Column74({ name: "type", type: "varchar", nullable: true })
13776
+ Column76({ name: "type", type: "varchar", nullable: true })
13326
13777
  ], Question.prototype, "type", 2);
13327
13778
  __decorateClass([
13328
- Column74({ name: "options", type: "jsonb", nullable: true })
13779
+ Column76({ name: "options", type: "jsonb", nullable: true })
13329
13780
  ], Question.prototype, "options", 2);
13330
13781
  __decorateClass([
13331
- Column74({ name: "is_active", type: "boolean", default: false })
13782
+ Column76({ name: "is_active", type: "boolean", default: false })
13332
13783
  ], Question.prototype, "isActive", 2);
13333
13784
  Question = __decorateClass([
13334
- Entity73("questions")
13785
+ Entity75("questions")
13335
13786
  ], Question);
13336
13787
 
13337
13788
  // src/entities/skill.entity.ts
13338
- import { Entity as Entity74, Column as Column75 } from "typeorm";
13789
+ import { Entity as Entity76, Column as Column77 } from "typeorm";
13339
13790
  var Skill = class extends BaseEntity {
13340
13791
  };
13341
13792
  __decorateClass([
13342
- Column75({ name: "name", type: "varchar", nullable: true })
13793
+ Column77({ name: "name", type: "varchar", nullable: true })
13343
13794
  ], Skill.prototype, "name", 2);
13344
13795
  __decorateClass([
13345
- Column75({ name: "slug", type: "varchar", nullable: true, unique: true })
13796
+ Column77({ name: "slug", type: "varchar", nullable: true, unique: true })
13346
13797
  ], Skill.prototype, "slug", 2);
13347
13798
  __decorateClass([
13348
- Column75({ name: "is_active", type: "boolean", default: false })
13799
+ Column77({ name: "is_active", type: "boolean", default: false })
13349
13800
  ], Skill.prototype, "isActive", 2);
13350
13801
  Skill = __decorateClass([
13351
- Entity74("skills")
13802
+ Entity76("skills")
13352
13803
  ], Skill);
13353
13804
 
13354
13805
  // src/entities/skill-catalog.entity.ts
13355
13806
  import {
13356
- Entity as Entity75,
13357
- Column as Column76,
13358
- Index as Index65
13807
+ Entity as Entity77,
13808
+ Column as Column78,
13809
+ Index as Index67
13359
13810
  } from "typeorm";
13360
13811
  var SkillCatalog = class extends BaseEntity {
13361
13812
  };
13362
13813
  __decorateClass([
13363
- Column76({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
13364
- Index65()
13814
+ Column78({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
13815
+ Index67()
13365
13816
  ], SkillCatalog.prototype, "canonicalName", 2);
13366
13817
  __decorateClass([
13367
- Column76({
13818
+ Column78({
13368
13819
  name: "aliases",
13369
13820
  type: "text",
13370
13821
  array: true,
@@ -13372,20 +13823,20 @@ __decorateClass([
13372
13823
  })
13373
13824
  ], SkillCatalog.prototype, "aliases", 2);
13374
13825
  __decorateClass([
13375
- Column76({
13826
+ Column78({
13376
13827
  name: "variations",
13377
13828
  type: "jsonb",
13378
13829
  default: "{}"
13379
13830
  })
13380
13831
  ], SkillCatalog.prototype, "variations", 2);
13381
13832
  __decorateClass([
13382
- Column76({ name: "category", type: "varchar", length: 50, nullable: true })
13833
+ Column78({ name: "category", type: "varchar", length: 50, nullable: true })
13383
13834
  ], SkillCatalog.prototype, "category", 2);
13384
13835
  __decorateClass([
13385
- Column76({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
13836
+ Column78({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
13386
13837
  ], SkillCatalog.prototype, "parentSkill", 2);
13387
13838
  __decorateClass([
13388
- Column76({
13839
+ Column78({
13389
13840
  name: "related_skills",
13390
13841
  type: "text",
13391
13842
  array: true,
@@ -13393,70 +13844,70 @@ __decorateClass([
13393
13844
  })
13394
13845
  ], SkillCatalog.prototype, "relatedSkills", 2);
13395
13846
  __decorateClass([
13396
- Column76({ name: "usage_count", type: "integer", default: 0 }),
13397
- Index65()
13847
+ Column78({ name: "usage_count", type: "integer", default: 0 }),
13848
+ Index67()
13398
13849
  ], SkillCatalog.prototype, "usageCount", 2);
13399
13850
  __decorateClass([
13400
- Column76({ name: "is_verified", type: "boolean", default: false })
13851
+ Column78({ name: "is_verified", type: "boolean", default: false })
13401
13852
  ], SkillCatalog.prototype, "isVerified", 2);
13402
13853
  __decorateClass([
13403
- Column76({ name: "first_seen_date", type: "date" })
13854
+ Column78({ name: "first_seen_date", type: "date" })
13404
13855
  ], SkillCatalog.prototype, "firstSeenDate", 2);
13405
13856
  __decorateClass([
13406
- Column76({ name: "last_updated_date", type: "date" })
13857
+ Column78({ name: "last_updated_date", type: "date" })
13407
13858
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
13408
13859
  __decorateClass([
13409
- Column76({
13860
+ Column78({
13410
13861
  name: "search_vector",
13411
13862
  type: "tsvector",
13412
13863
  nullable: true
13413
13864
  })
13414
13865
  ], SkillCatalog.prototype, "searchVector", 2);
13415
13866
  SkillCatalog = __decorateClass([
13416
- Entity75("skill_catalogs")
13867
+ Entity77("skill_catalogs")
13417
13868
  ], SkillCatalog);
13418
13869
 
13419
13870
  // src/entities/job-role.entity.ts
13420
- import { Entity as Entity76, Column as Column77 } from "typeorm";
13871
+ import { Entity as Entity78, Column as Column79 } from "typeorm";
13421
13872
  var JobRoles = class extends BaseEntity {
13422
13873
  };
13423
13874
  __decorateClass([
13424
- Column77({ name: "slug", type: "varchar", nullable: true, unique: true })
13875
+ Column79({ name: "slug", type: "varchar", nullable: true, unique: true })
13425
13876
  ], JobRoles.prototype, "slug", 2);
13426
13877
  __decorateClass([
13427
- Column77({ name: "name", type: "varchar", nullable: true })
13878
+ Column79({ name: "name", type: "varchar", nullable: true })
13428
13879
  ], JobRoles.prototype, "name", 2);
13429
13880
  __decorateClass([
13430
- Column77({ name: "is_active", type: "boolean", default: true })
13881
+ Column79({ name: "is_active", type: "boolean", default: true })
13431
13882
  ], JobRoles.prototype, "isActive", 2);
13432
13883
  JobRoles = __decorateClass([
13433
- Entity76("job_roles")
13884
+ Entity78("job_roles")
13434
13885
  ], JobRoles);
13435
13886
 
13436
13887
  // src/entities/cms.entity.ts
13437
- import { Entity as Entity77, Column as Column78 } from "typeorm";
13888
+ import { Entity as Entity79, Column as Column80 } from "typeorm";
13438
13889
  var Cms = class extends BaseEntity {
13439
13890
  };
13440
13891
  __decorateClass([
13441
- Column78({ name: "title", type: "varchar", nullable: true })
13892
+ Column80({ name: "title", type: "varchar", nullable: true })
13442
13893
  ], Cms.prototype, "title", 2);
13443
13894
  __decorateClass([
13444
- Column78({ name: "slug", type: "varchar", nullable: true, unique: true })
13895
+ Column80({ name: "slug", type: "varchar", nullable: true, unique: true })
13445
13896
  ], Cms.prototype, "slug", 2);
13446
13897
  __decorateClass([
13447
- Column78({ name: "content", type: "varchar", nullable: true })
13898
+ Column80({ name: "content", type: "varchar", nullable: true })
13448
13899
  ], Cms.prototype, "content", 2);
13449
13900
  __decorateClass([
13450
- Column78({ name: "is_active", type: "boolean", default: true })
13901
+ Column80({ name: "is_active", type: "boolean", default: true })
13451
13902
  ], Cms.prototype, "isActive", 2);
13452
13903
  Cms = __decorateClass([
13453
- Entity77("cms")
13904
+ Entity79("cms")
13454
13905
  ], Cms);
13455
13906
 
13456
13907
  // src/entities/lead.entity.ts
13457
13908
  import {
13458
- Entity as Entity78,
13459
- Column as Column79
13909
+ Entity as Entity80,
13910
+ Column as Column81
13460
13911
  } from "typeorm";
13461
13912
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
13462
13913
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -13466,22 +13917,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
13466
13917
  var Lead = class extends BaseEntity {
13467
13918
  };
13468
13919
  __decorateClass([
13469
- Column79({ name: "name", type: "varchar", nullable: true })
13920
+ Column81({ name: "name", type: "varchar", nullable: true })
13470
13921
  ], Lead.prototype, "name", 2);
13471
13922
  __decorateClass([
13472
- Column79({ name: "mobile_code", type: "varchar", nullable: true })
13923
+ Column81({ name: "mobile_code", type: "varchar", nullable: true })
13473
13924
  ], Lead.prototype, "mobileCode", 2);
13474
13925
  __decorateClass([
13475
- Column79({ name: "mobile", type: "varchar", nullable: true })
13926
+ Column81({ name: "mobile", type: "varchar", nullable: true })
13476
13927
  ], Lead.prototype, "mobile", 2);
13477
13928
  __decorateClass([
13478
- Column79({ name: "email", type: "varchar", nullable: true })
13929
+ Column81({ name: "email", type: "varchar", nullable: true })
13479
13930
  ], Lead.prototype, "email", 2);
13480
13931
  __decorateClass([
13481
- Column79({ name: "description", type: "varchar", nullable: true })
13932
+ Column81({ name: "description", type: "varchar", nullable: true })
13482
13933
  ], Lead.prototype, "description", 2);
13483
13934
  __decorateClass([
13484
- Column79({
13935
+ Column81({
13485
13936
  name: "category",
13486
13937
  type: "enum",
13487
13938
  enum: CategoryEmum,
@@ -13489,7 +13940,7 @@ __decorateClass([
13489
13940
  })
13490
13941
  ], Lead.prototype, "category", 2);
13491
13942
  Lead = __decorateClass([
13492
- Entity78("leads")
13943
+ Entity80("leads")
13493
13944
  ], Lead);
13494
13945
 
13495
13946
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -13730,7 +14181,7 @@ ClientFreelancerRecommendation = __decorateClass([
13730
14181
  ], ClientFreelancerRecommendation);
13731
14182
 
13732
14183
  // src/entities/commission.entity.ts
13733
- import { Entity as Entity79, Column as Column80 } from "typeorm";
14184
+ import { Entity as Entity81, Column as Column82 } from "typeorm";
13734
14185
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
13735
14186
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
13736
14187
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -13739,7 +14190,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
13739
14190
  var Commission = class extends BaseEntity {
13740
14191
  };
13741
14192
  __decorateClass([
13742
- Column80({
14193
+ Column82({
13743
14194
  name: "freelancer_commission_type",
13744
14195
  type: "enum",
13745
14196
  enum: CommissionTypeEnum,
@@ -13747,10 +14198,10 @@ __decorateClass([
13747
14198
  })
13748
14199
  ], Commission.prototype, "freelancerCommissionType", 2);
13749
14200
  __decorateClass([
13750
- Column80({ name: "freelancer_commission", type: "integer", default: 0 })
14201
+ Column82({ name: "freelancer_commission", type: "integer", default: 0 })
13751
14202
  ], Commission.prototype, "freelancerCommission", 2);
13752
14203
  __decorateClass([
13753
- Column80({
14204
+ Column82({
13754
14205
  name: "client_commission_type",
13755
14206
  type: "enum",
13756
14207
  enum: CommissionTypeEnum,
@@ -13758,58 +14209,58 @@ __decorateClass([
13758
14209
  })
13759
14210
  ], Commission.prototype, "clientCommissionType", 2);
13760
14211
  __decorateClass([
13761
- Column80({ name: "client_commission", type: "integer", default: 0 })
14212
+ Column82({ name: "client_commission", type: "integer", default: 0 })
13762
14213
  ], Commission.prototype, "clientCommission", 2);
13763
14214
  Commission = __decorateClass([
13764
- Entity79("commissions")
14215
+ Entity81("commissions")
13765
14216
  ], Commission);
13766
14217
 
13767
14218
  // src/entities/calendly-meeting-log.entity.ts
13768
14219
  import {
13769
- Entity as Entity80,
13770
- Column as Column81,
13771
- Index as Index66
14220
+ Entity as Entity82,
14221
+ Column as Column83,
14222
+ Index as Index68
13772
14223
  } from "typeorm";
13773
14224
  var CalendlyMeetingLog = class extends BaseEntity {
13774
14225
  };
13775
14226
  __decorateClass([
13776
- Column81({ name: "calendly_event_id", type: "varchar", nullable: true }),
13777
- Index66()
14227
+ Column83({ name: "calendly_event_id", type: "varchar", nullable: true }),
14228
+ Index68()
13778
14229
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
13779
14230
  __decorateClass([
13780
- Column81({ name: "calendly_event_type", type: "varchar", nullable: true })
14231
+ Column83({ name: "calendly_event_type", type: "varchar", nullable: true })
13781
14232
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
13782
14233
  __decorateClass([
13783
- Column81({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14234
+ Column83({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13784
14235
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
13785
14236
  CalendlyMeetingLog = __decorateClass([
13786
- Entity80("calendly_meeting_logs")
14237
+ Entity82("calendly_meeting_logs")
13787
14238
  ], CalendlyMeetingLog);
13788
14239
 
13789
14240
  // src/entities/zoom-meeting-log.entity.ts
13790
14241
  import {
13791
- Entity as Entity81,
13792
- Column as Column82,
13793
- Index as Index67
14242
+ Entity as Entity83,
14243
+ Column as Column84,
14244
+ Index as Index69
13794
14245
  } from "typeorm";
13795
14246
  var ZoomMeetingLog = class extends BaseEntity {
13796
14247
  };
13797
14248
  __decorateClass([
13798
- Column82({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13799
- Index67()
14249
+ Column84({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
14250
+ Index69()
13800
14251
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
13801
14252
  __decorateClass([
13802
- Column82({ name: "zoom_event_type", type: "varchar", nullable: true })
14253
+ Column84({ name: "zoom_event_type", type: "varchar", nullable: true })
13803
14254
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
13804
14255
  __decorateClass([
13805
- Column82({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14256
+ Column84({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13806
14257
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
13807
14258
  ZoomMeetingLog = __decorateClass([
13808
- Entity81("zoom_meeting_logs")
14259
+ Entity83("zoom_meeting_logs")
13809
14260
  ], ZoomMeetingLog);
13810
14261
 
13811
14262
  // src/entities/docuseal.entity.ts
13812
- import { Entity as Entity82, Column as Column83, Index as Index68 } from "typeorm";
14263
+ import { Entity as Entity84, Column as Column85, Index as Index70 } from "typeorm";
13813
14264
  var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
13814
14265
  DocuSealTypeEnum2["FREELANCER_SERVICE_AGGREMENT"] = "FREELANCER_SERVICE_AGGREMENT";
13815
14266
  DocuSealTypeEnum2["CLIENT_SERVICE_AGGREMENT"] = "CLIENT_SERVICE_AGGREMENT";
@@ -13819,160 +14270,160 @@ var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
13819
14270
  var DocuSeal = class extends BaseEntity {
13820
14271
  };
13821
14272
  __decorateClass([
13822
- Column83({ name: "reference_id", type: "integer", nullable: false }),
13823
- Index68()
14273
+ Column85({ name: "reference_id", type: "integer", nullable: false }),
14274
+ Index70()
13824
14275
  ], DocuSeal.prototype, "referenceId", 2);
13825
14276
  __decorateClass([
13826
- Column83({ name: "submitter_id", type: "integer", nullable: true }),
13827
- Index68()
14277
+ Column85({ name: "submitter_id", type: "integer", nullable: true }),
14278
+ Index70()
13828
14279
  ], DocuSeal.prototype, "submitterId", 2);
13829
14280
  __decorateClass([
13830
- Column83({ name: "submitter_response", type: "jsonb", nullable: true })
14281
+ Column85({ name: "submitter_response", type: "jsonb", nullable: true })
13831
14282
  ], DocuSeal.prototype, "submitterResponse", 2);
13832
14283
  __decorateClass([
13833
- Column83({ name: "webhook_response", type: "jsonb", nullable: true })
14284
+ Column85({ name: "webhook_response", type: "jsonb", nullable: true })
13834
14285
  ], DocuSeal.prototype, "webhookResponse", 2);
13835
14286
  __decorateClass([
13836
- Column83({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
14287
+ Column85({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
13837
14288
  ], DocuSeal.prototype, "type", 2);
13838
14289
  DocuSeal = __decorateClass([
13839
- Entity82("docuseal")
14290
+ Entity84("docuseal")
13840
14291
  ], DocuSeal);
13841
14292
 
13842
14293
  // src/entities/stripe-logs.entity.ts
13843
- import { Entity as Entity83, Column as Column84 } from "typeorm";
14294
+ import { Entity as Entity85, Column as Column86 } from "typeorm";
13844
14295
  var StripeLog = class extends BaseEntity {
13845
14296
  };
13846
14297
  __decorateClass([
13847
- Column84({ name: "stripe_event_id", type: "varchar", nullable: true })
14298
+ Column86({ name: "stripe_event_id", type: "varchar", nullable: true })
13848
14299
  ], StripeLog.prototype, "stripeEventId", 2);
13849
14300
  __decorateClass([
13850
- Column84({ name: "event_type", type: "varchar", nullable: true })
14301
+ Column86({ name: "event_type", type: "varchar", nullable: true })
13851
14302
  ], StripeLog.prototype, "eventType", 2);
13852
14303
  __decorateClass([
13853
- Column84({ name: "stripe_account_id", type: "varchar", nullable: true })
14304
+ Column86({ name: "stripe_account_id", type: "varchar", nullable: true })
13854
14305
  ], StripeLog.prototype, "stripeAccountId", 2);
13855
14306
  __decorateClass([
13856
- Column84({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14307
+ Column86({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13857
14308
  ], StripeLog.prototype, "rawWebhookData", 2);
13858
14309
  StripeLog = __decorateClass([
13859
- Entity83("stripe_logs")
14310
+ Entity85("stripe_logs")
13860
14311
  ], StripeLog);
13861
14312
 
13862
14313
  // src/entities/recommendation-weightage-config.entity.ts
13863
14314
  import {
13864
- Entity as Entity84,
13865
- Column as Column85,
13866
- Index as Index69
14315
+ Entity as Entity86,
14316
+ Column as Column87,
14317
+ Index as Index71
13867
14318
  } from "typeorm";
13868
14319
  var RecommendationWeightageConfig = class extends BaseEntity {
13869
14320
  };
13870
14321
  __decorateClass([
13871
- Column85({
14322
+ Column87({
13872
14323
  type: "varchar",
13873
14324
  length: 100,
13874
14325
  unique: true,
13875
14326
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
13876
14327
  }),
13877
- Index69()
14328
+ Index71()
13878
14329
  ], RecommendationWeightageConfig.prototype, "key", 2);
13879
14330
  __decorateClass([
13880
- Column85({
14331
+ Column87({
13881
14332
  type: "jsonb",
13882
14333
  comment: "JSON object containing weight values",
13883
14334
  nullable: true
13884
14335
  })
13885
14336
  ], RecommendationWeightageConfig.prototype, "value", 2);
13886
14337
  __decorateClass([
13887
- Column85({ name: "is_active", type: "boolean", default: true })
14338
+ Column87({ name: "is_active", type: "boolean", default: true })
13888
14339
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
13889
14340
  RecommendationWeightageConfig = __decorateClass([
13890
- Entity84("recommendation_weightage_configs")
14341
+ Entity86("recommendation_weightage_configs")
13891
14342
  ], RecommendationWeightageConfig);
13892
14343
 
13893
14344
  // src/entities/global-setting.entity.ts
13894
14345
  import {
13895
- Entity as Entity85,
13896
- Column as Column86,
13897
- Index as Index70
14346
+ Entity as Entity87,
14347
+ Column as Column88,
14348
+ Index as Index72
13898
14349
  } from "typeorm";
13899
14350
  var GlobalSetting = class extends BaseEntity {
13900
14351
  };
13901
14352
  __decorateClass([
13902
- Column86({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
14353
+ Column88({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
13903
14354
  ], GlobalSetting.prototype, "key", 2);
13904
14355
  __decorateClass([
13905
- Column86({ name: "value", type: "text", nullable: false })
14356
+ Column88({ name: "value", type: "text", nullable: false })
13906
14357
  ], GlobalSetting.prototype, "value", 2);
13907
14358
  GlobalSetting = __decorateClass([
13908
- Entity85("global_settings"),
13909
- Index70(["key"], { unique: true })
14359
+ Entity87("global_settings"),
14360
+ Index72(["key"], { unique: true })
13910
14361
  ], GlobalSetting);
13911
14362
 
13912
14363
  // src/entities/plan.entity.ts
13913
14364
  import {
13914
- Entity as Entity88,
13915
- Column as Column89,
13916
- Index as Index73,
14365
+ Entity as Entity90,
14366
+ Column as Column91,
14367
+ Index as Index75,
13917
14368
  Check as Check4,
13918
14369
  BeforeInsert as BeforeInsert2,
13919
14370
  BeforeUpdate as BeforeUpdate2,
13920
- OneToMany as OneToMany29
14371
+ OneToMany as OneToMany30
13921
14372
  } from "typeorm";
13922
14373
 
13923
14374
  // src/entities/plan-feature.entity.ts
13924
14375
  import {
13925
- Entity as Entity86,
13926
- Column as Column87,
13927
- ManyToOne as ManyToOne68,
13928
- JoinColumn as JoinColumn69,
13929
- Index as Index71,
14376
+ Entity as Entity88,
14377
+ Column as Column89,
14378
+ ManyToOne as ManyToOne70,
14379
+ JoinColumn as JoinColumn71,
14380
+ Index as Index73,
13930
14381
  Check as Check2
13931
14382
  } from "typeorm";
13932
14383
  var PlanFeature = class extends BaseEntity {
13933
14384
  };
13934
14385
  // individual index to find features by plan
13935
14386
  __decorateClass([
13936
- Column87({ name: "plan_id", type: "integer", nullable: false }),
13937
- Index71()
14387
+ Column89({ name: "plan_id", type: "integer", nullable: false }),
14388
+ Index73()
13938
14389
  ], PlanFeature.prototype, "planId", 2);
13939
14390
  __decorateClass([
13940
- ManyToOne68(() => Plan, (plan) => plan.features, {
14391
+ ManyToOne70(() => Plan, (plan) => plan.features, {
13941
14392
  onDelete: "CASCADE",
13942
14393
  nullable: false
13943
14394
  }),
13944
- JoinColumn69({ name: "plan_id" })
14395
+ JoinColumn71({ name: "plan_id" })
13945
14396
  ], PlanFeature.prototype, "plan", 2);
13946
14397
  __decorateClass([
13947
- Column87({ name: "name", type: "varchar", length: 200 })
14398
+ Column89({ name: "name", type: "varchar", length: 200 })
13948
14399
  ], PlanFeature.prototype, "name", 2);
13949
14400
  __decorateClass([
13950
- Column87({ name: "slug", type: "varchar", length: 100 }),
13951
- Index71()
14401
+ Column89({ name: "slug", type: "varchar", length: 100 }),
14402
+ Index73()
13952
14403
  ], PlanFeature.prototype, "slug", 2);
13953
14404
  __decorateClass([
13954
- Column87({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14405
+ Column89({ name: "tooltip", type: "varchar", length: 300, nullable: true })
13955
14406
  ], PlanFeature.prototype, "tooltip", 2);
13956
14407
  __decorateClass([
13957
- Column87({ name: "sort_order", type: "smallint", default: 0 })
14408
+ Column89({ name: "sort_order", type: "smallint", default: 0 })
13958
14409
  ], PlanFeature.prototype, "sortOrder", 2);
13959
14410
  __decorateClass([
13960
- Column87({ name: "is_active", type: "boolean", default: true })
14411
+ Column89({ name: "is_active", type: "boolean", default: true })
13961
14412
  ], PlanFeature.prototype, "isActive", 2);
13962
14413
  PlanFeature = __decorateClass([
13963
- Entity86("plan_features"),
13964
- Index71("idx_plan_features_plan_id", ["planId"]),
13965
- Index71("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
14414
+ Entity88("plan_features"),
14415
+ Index73("idx_plan_features_plan_id", ["planId"]),
14416
+ Index73("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
13966
14417
  Check2("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
13967
14418
  ], PlanFeature);
13968
14419
 
13969
14420
  // src/entities/plan-pricing.entity.ts
13970
14421
  import {
13971
- Entity as Entity87,
13972
- Column as Column88,
13973
- ManyToOne as ManyToOne69,
13974
- JoinColumn as JoinColumn70,
13975
- Index as Index72,
14422
+ Entity as Entity89,
14423
+ Column as Column90,
14424
+ ManyToOne as ManyToOne71,
14425
+ JoinColumn as JoinColumn72,
14426
+ Index as Index74,
13976
14427
  Unique,
13977
14428
  Check as Check3,
13978
14429
  BeforeInsert,
@@ -14032,56 +14483,56 @@ var PlanPricing = class extends BaseEntity {
14032
14483
  };
14033
14484
  // individual index to find pricing by plan
14034
14485
  __decorateClass([
14035
- Column88({ name: "plan_id", type: "integer", nullable: false }),
14036
- Index72()
14486
+ Column90({ name: "plan_id", type: "integer", nullable: false }),
14487
+ Index74()
14037
14488
  ], PlanPricing.prototype, "planId", 2);
14038
14489
  __decorateClass([
14039
- ManyToOne69(() => Plan, (plan) => plan.pricing, {
14490
+ ManyToOne71(() => Plan, (plan) => plan.pricing, {
14040
14491
  onDelete: "CASCADE",
14041
14492
  nullable: false
14042
14493
  }),
14043
- JoinColumn70({ name: "plan_id" })
14494
+ JoinColumn72({ name: "plan_id" })
14044
14495
  ], PlanPricing.prototype, "plan", 2);
14045
14496
  __decorateClass([
14046
- Column88({
14497
+ Column90({
14047
14498
  name: "billing_cycle",
14048
14499
  type: "enum",
14049
14500
  enum: PlanPricingBillingCycleEnum
14050
14501
  })
14051
14502
  ], PlanPricing.prototype, "billingCycle", 2);
14052
14503
  __decorateClass([
14053
- Column88({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
14504
+ Column90({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
14054
14505
  ], PlanPricing.prototype, "price", 2);
14055
14506
  __decorateClass([
14056
- Column88({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
14507
+ Column90({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
14057
14508
  ], PlanPricing.prototype, "originalPrice", 2);
14058
14509
  __decorateClass([
14059
- Column88({ name: "discount_pct", type: "smallint", nullable: true })
14510
+ Column90({ name: "discount_pct", type: "smallint", nullable: true })
14060
14511
  ], PlanPricing.prototype, "discountPct", 2);
14061
14512
  __decorateClass([
14062
- Column88({ name: "currency", type: "varchar", length: 3, default: "USD" })
14513
+ Column90({ name: "currency", type: "varchar", length: 3, default: "USD" })
14063
14514
  ], PlanPricing.prototype, "currency", 2);
14064
14515
  __decorateClass([
14065
- Column88({ name: "is_free", type: "boolean", default: false })
14516
+ Column90({ name: "is_free", type: "boolean", default: false })
14066
14517
  ], PlanPricing.prototype, "isFree", 2);
14067
14518
  __decorateClass([
14068
- Column88({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
14519
+ Column90({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
14069
14520
  ], PlanPricing.prototype, "stripePriceId", 2);
14070
14521
  __decorateClass([
14071
- Column88({ name: "trial_days", type: "smallint", default: 0 })
14522
+ Column90({ name: "trial_days", type: "smallint", default: 0 })
14072
14523
  ], PlanPricing.prototype, "trialDays", 2);
14073
14524
  __decorateClass([
14074
- Column88({ name: "is_active", type: "boolean", default: true })
14525
+ Column90({ name: "is_active", type: "boolean", default: true })
14075
14526
  ], PlanPricing.prototype, "isActive", 2);
14076
14527
  __decorateClass([
14077
14528
  BeforeInsert(),
14078
14529
  BeforeUpdate()
14079
14530
  ], PlanPricing.prototype, "sanitize", 1);
14080
14531
  PlanPricing = __decorateClass([
14081
- Entity87("plan_pricings"),
14532
+ Entity89("plan_pricings"),
14082
14533
  Unique("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
14083
- Index72("idx_plan_pricings_plan_id", ["planId"]),
14084
- Index72("idx_plan_pricings_active", ["isActive", "billingCycle"]),
14534
+ Index74("idx_plan_pricings_plan_id", ["planId"]),
14535
+ Index74("idx_plan_pricings_active", ["isActive", "billingCycle"]),
14085
14536
  Check3("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
14086
14537
  Check3("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
14087
14538
  Check3("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
@@ -14103,22 +14554,22 @@ var Plan = class extends BaseEntity {
14103
14554
  }
14104
14555
  };
14105
14556
  __decorateClass([
14106
- Column89({ name: "name", type: "varchar", length: 100 })
14557
+ Column91({ name: "name", type: "varchar", length: 100 })
14107
14558
  ], Plan.prototype, "name", 2);
14108
14559
  __decorateClass([
14109
- Column89({ name: "slug", type: "varchar", length: 100 })
14560
+ Column91({ name: "slug", type: "varchar", length: 100 })
14110
14561
  ], Plan.prototype, "slug", 2);
14111
14562
  __decorateClass([
14112
- Column89({ name: "badge_label", type: "varchar", length: 60, nullable: true })
14563
+ Column91({ name: "badge_label", type: "varchar", length: 60, nullable: true })
14113
14564
  ], Plan.prototype, "badgeLabel", 2);
14114
14565
  __decorateClass([
14115
- Column89({ name: "sort_order", type: "smallint", default: 0 })
14566
+ Column91({ name: "sort_order", type: "smallint", default: 0 })
14116
14567
  ], Plan.prototype, "sortOrder", 2);
14117
14568
  __decorateClass([
14118
- Column89({ name: "is_active", type: "boolean", default: true })
14569
+ Column91({ name: "is_active", type: "boolean", default: true })
14119
14570
  ], Plan.prototype, "isActive", 2);
14120
14571
  __decorateClass([
14121
- Column89({
14572
+ Column91({
14122
14573
  name: "plan_type",
14123
14574
  type: "enum",
14124
14575
  enum: PlanTypeEnum,
@@ -14126,35 +14577,35 @@ __decorateClass([
14126
14577
  })
14127
14578
  ], Plan.prototype, "planType", 2);
14128
14579
  __decorateClass([
14129
- Column89({ name: "metadata", type: "jsonb", default: {} })
14580
+ Column91({ name: "metadata", type: "jsonb", default: {} })
14130
14581
  ], Plan.prototype, "metadata", 2);
14131
14582
  __decorateClass([
14132
14583
  BeforeInsert2(),
14133
14584
  BeforeUpdate2()
14134
14585
  ], Plan.prototype, "createSlug", 1);
14135
14586
  __decorateClass([
14136
- OneToMany29(() => PlanFeature, (feature) => feature.plan, {
14587
+ OneToMany30(() => PlanFeature, (feature) => feature.plan, {
14137
14588
  cascade: ["insert", "update"]
14138
14589
  })
14139
14590
  ], Plan.prototype, "features", 2);
14140
14591
  __decorateClass([
14141
- OneToMany29(() => PlanPricing, (pricing) => pricing.plan, {
14592
+ OneToMany30(() => PlanPricing, (pricing) => pricing.plan, {
14142
14593
  cascade: ["insert", "update"]
14143
14594
  })
14144
14595
  ], Plan.prototype, "pricing", 2);
14145
14596
  Plan = __decorateClass([
14146
- Entity88("plans"),
14147
- Index73("idx_plans_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14148
- Index73("idx_plans_active_sort", ["isActive", "sortOrder"]),
14597
+ Entity90("plans"),
14598
+ Index75("idx_plans_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14599
+ Index75("idx_plans_active_sort", ["isActive", "sortOrder"]),
14149
14600
  Check4("chk_plans_sort_order_positive", '"sort_order" >= 0')
14150
14601
  ], Plan);
14151
14602
 
14152
14603
  // src/entities/subscription-feature.entity.ts
14153
14604
  import {
14154
- Entity as Entity89,
14155
- Column as Column90,
14605
+ Entity as Entity91,
14606
+ Column as Column92,
14156
14607
  Check as Check5,
14157
- Index as Index74,
14608
+ Index as Index76,
14158
14609
  BeforeInsert as BeforeInsert3,
14159
14610
  BeforeUpdate as BeforeUpdate3
14160
14611
  } from "typeorm";
@@ -14172,28 +14623,28 @@ var SubscriptionFeature = class extends BaseEntity {
14172
14623
  }
14173
14624
  };
14174
14625
  __decorateClass([
14175
- Column90({ name: "name", type: "varchar", length: 200 })
14626
+ Column92({ name: "name", type: "varchar", length: 200 })
14176
14627
  ], SubscriptionFeature.prototype, "name", 2);
14177
14628
  __decorateClass([
14178
- Column90({ name: "slug", type: "varchar", length: 100 })
14629
+ Column92({ name: "slug", type: "varchar", length: 100 })
14179
14630
  ], SubscriptionFeature.prototype, "slug", 2);
14180
14631
  __decorateClass([
14181
- Column90({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14632
+ Column92({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14182
14633
  ], SubscriptionFeature.prototype, "tooltip", 2);
14183
14634
  __decorateClass([
14184
- Column90({ name: "sort_order", type: "smallint", default: 0 })
14635
+ Column92({ name: "sort_order", type: "smallint", default: 0 })
14185
14636
  ], SubscriptionFeature.prototype, "sortOrder", 2);
14186
14637
  __decorateClass([
14187
- Column90({ name: "is_active", type: "boolean", default: true })
14638
+ Column92({ name: "is_active", type: "boolean", default: true })
14188
14639
  ], SubscriptionFeature.prototype, "isActive", 2);
14189
14640
  __decorateClass([
14190
14641
  BeforeInsert3(),
14191
14642
  BeforeUpdate3()
14192
14643
  ], SubscriptionFeature.prototype, "createSlug", 1);
14193
14644
  SubscriptionFeature = __decorateClass([
14194
- Entity89("subscription_features"),
14195
- Index74("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14196
- Index74("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
14645
+ Entity91("subscription_features"),
14646
+ Index76("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14647
+ Index76("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
14197
14648
  Check5("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
14198
14649
  ], SubscriptionFeature);
14199
14650
  export {
@@ -14206,6 +14657,7 @@ export {
14206
14657
  AUTHENTICATION_PATTERN,
14207
14658
  AccountStatus,
14208
14659
  AccountType2 as AccountType,
14660
+ AddClientRemarkDto,
14209
14661
  AddGlobalSettingDto,
14210
14662
  AddTopupEscrowAmountDto,
14211
14663
  AdminCreateJobInformationDto,
@@ -14323,6 +14775,7 @@ export {
14323
14775
  CreateQuestionDto,
14324
14776
  CreateRatingDto,
14325
14777
  CreateSubAdminDto,
14778
+ CreateTaskDto,
14326
14779
  CreateUserSigningDto,
14327
14780
  CustomQuestionItemDto,
14328
14781
  DISPUTE_PATTERN,
@@ -14463,6 +14916,7 @@ export {
14463
14916
  MAINTENANCE_PATTERN,
14464
14917
  MarkCandidateStatusBulkDto,
14465
14918
  MarkCandidateStatusDto,
14919
+ MarkTaskAsCompletedDto,
14466
14920
  McqStatusEnum,
14467
14921
  ModeOfHire,
14468
14922
  ModeOfWork,
@@ -14552,6 +15006,7 @@ export {
14552
15006
  SubscriptionFeature,
14553
15007
  SystemPreference,
14554
15008
  SystemPreferenceDto,
15009
+ TASK_PATTERN,
14555
15010
  TIMESHEET_CLIENT_PATTERN,
14556
15011
  TIMESHEET_FREELANCER_PATTERN,
14557
15012
  Task,
@@ -14559,11 +15014,17 @@ export {
14559
15014
  TaskDeliverable,
14560
15015
  TaskDeliverableTypeEnum,
14561
15016
  TaskPriorityEnum,
15017
+ TaskQuery,
15018
+ TaskQueryCategoryEnum,
15019
+ TaskQueryMessage,
15020
+ TaskQueryStatusEnum,
15021
+ TaskQueryUserTypeEnum,
14562
15022
  TaskResource,
14563
15023
  TaskResourceTypeEnum,
14564
15024
  TaskStatusEnum,
14565
15025
  TaskSubtask,
14566
15026
  TaskSubtaskStatusEnum,
15027
+ TaskUuidParamDto,
14567
15028
  TestNotificationDto,
14568
15029
  Timesheet,
14569
15030
  TimesheetLine,
@@ -14590,6 +15051,7 @@ export {
14590
15051
  UpdateCompanyMemberDto,
14591
15052
  UpdateCompanyProfileDto,
14592
15053
  UpdateCompanyRoleDto,
15054
+ UpdateEstimateTimeDto,
14593
15055
  UpdateFreelancerDto,
14594
15056
  UpdateFreelancerProfileDto,
14595
15057
  UpdateFreelancerTimesheetDto,
@@ -14600,6 +15062,7 @@ export {
14600
15062
  UpdateIsReadDto,
14601
15063
  UpdateSubAdminAccountStatusDto,
14602
15064
  UpdateSubAdminDto,
15065
+ UpdateTaskDto,
14603
15066
  User,
14604
15067
  UserRMQAdapter,
14605
15068
  UserTCPAdapter,