@experts_hub/shared 1.0.570 → 1.0.572

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.
Files changed (67) hide show
  1. package/dist/index.d.mts +244 -1
  2. package/dist/index.d.ts +244 -1
  3. package/dist/index.js +1754 -1002
  4. package/dist/index.mjs +1589 -880
  5. package/dist/modules/authentication/dto/index.d.ts +3 -0
  6. package/dist/modules/authentication/dto/social-auth.dto.d.ts +7 -0
  7. package/dist/modules/authentication/dto/validate-email.dto.d.ts +3 -0
  8. package/dist/modules/authentication/dto/validate-mobile.dto.d.ts +3 -0
  9. package/dist/modules/contract/dto/escrow-fund-contract.dto.d.ts +6 -0
  10. package/dist/modules/contract/dto/esign-contract-client.dto.d.ts +3 -0
  11. package/dist/modules/contract/dto/esign-contract-freelancer.dto.d.ts +3 -0
  12. package/dist/modules/contract/dto/generate-contract.dto.d.ts +5 -0
  13. package/dist/modules/contract/dto/index.d.ts +4 -0
  14. package/dist/modules/freelancer-admin/dto/index.d.ts +2 -0
  15. package/dist/modules/freelancer-admin/dto/send-ai-assessment-link.dto.d.ts +3 -0
  16. package/dist/modules/freelancer-admin/dto/update-assessment-request-status.dto.d.ts +10 -0
  17. package/dist/modules/interview/dto/capture-ai-interview-result-public.dto.d.ts +5 -0
  18. package/dist/modules/interview/dto/create-interview-basic-information.dto.d.ts +10 -0
  19. package/dist/modules/interview/dto/index.d.ts +4 -0
  20. package/dist/modules/interview/dto/reject-f2f-interview-reschedule-request.dto.d.ts +1 -1
  21. package/dist/modules/interview/dto/update-interview-basic-information.dto.d.ts +8 -0
  22. package/dist/modules/job/dto/job-basic-information-v2.dto.d.ts +3 -0
  23. package/dist/modules/notification/dto/index.d.ts +1 -0
  24. package/dist/modules/notification/dto/test-notification.dto.d.ts +7 -0
  25. package/dist/modules/notification/index.d.ts +1 -0
  26. package/dist/modules/onboarding/dto/index.d.ts +1 -0
  27. package/dist/modules/onboarding/dto/verify-onboarding-token.dto.d.ts +3 -0
  28. package/dist/modules/otp/dto/index.d.ts +2 -0
  29. package/dist/modules/otp/dto/send-otp.dto.d.ts +9 -0
  30. package/dist/modules/otp/dto/verify-otp.dto.d.ts +5 -0
  31. package/dist/modules/question/dto/index.d.ts +2 -0
  32. package/dist/modules/question/dto/record-assessment-answer.dto.d.ts +6 -0
  33. package/dist/modules/question/dto/record-assessment-answers.dto.d.ts +5 -0
  34. package/dist/modules/senseloaf/dto/ai-assessment-creation.dto.d.ts +6 -0
  35. package/dist/modules/senseloaf/dto/ai-interview-link-generation.dto.d.ts +6 -0
  36. package/dist/modules/senseloaf/dto/ai-interview-template-generation.dto.d.ts +6 -0
  37. package/dist/modules/senseloaf/dto/check-resume-eligibility.dto.d.ts +5 -0
  38. package/dist/modules/senseloaf/dto/index.d.ts +6 -0
  39. package/dist/modules/senseloaf/dto/resume-data-processing.dto.d.ts +5 -0
  40. package/dist/modules/senseloaf/dto/resume-parsing-by-url.dto.d.ts +4 -0
  41. package/dist/modules/stripe/dto/client-add-fund.dto.d.ts +5 -0
  42. package/dist/modules/stripe/dto/create-payout.dto.d.ts +6 -0
  43. package/dist/modules/stripe/dto/index.d.ts +4 -0
  44. package/dist/modules/stripe/dto/pre-checkout-calculation.dto.d.ts +5 -0
  45. package/dist/modules/stripe/dto/transfer-funds.dto.d.ts +5 -0
  46. package/dist/modules/timesheet/dto/create-default-timesheet-line.dto.d.ts +5 -0
  47. package/dist/modules/timesheet/dto/index.d.ts +1 -0
  48. package/dist/modules/user/client-candidate-preference/dto/index.d.ts +2 -0
  49. package/dist/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.d.ts +3 -0
  50. package/dist/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.d.ts +3 -0
  51. package/dist/modules/user/client-candidate-preference/index.d.ts +1 -0
  52. package/dist/modules/user/client-profile/dto/client-e-signature.dto.d.ts +3 -0
  53. package/dist/modules/user/client-profile/dto/client-service-agreement-upload.dto.d.ts +3 -0
  54. package/dist/modules/user/client-profile/dto/fetch-freelancer-info-for-chat.dto.d.ts +3 -0
  55. package/dist/modules/user/client-profile/dto/index.d.ts +3 -0
  56. package/dist/modules/user/freelancer-profile/dto/capture-ai-assessment-result.dto.d.ts +5 -0
  57. package/dist/modules/user/freelancer-profile/dto/fetch-client-info-for-chat.dto.d.ts +3 -0
  58. package/dist/modules/user/freelancer-profile/dto/freelancer-e-signature.dto.d.ts +3 -0
  59. package/dist/modules/user/freelancer-profile/dto/index.d.ts +3 -0
  60. package/dist/modules/user/signature/dto/index.d.ts +1 -0
  61. package/dist/modules/user/signature/dto/save-signature.dto.d.ts +4 -0
  62. package/dist/modules/user/signature/index.d.ts +1 -0
  63. package/dist/modules/wallet/dto/add-topup-escrow-amount.dto.d.ts +3 -0
  64. package/dist/modules/wallet/dto/debit-commission-fte-hiring.dto.d.ts +4 -0
  65. package/dist/modules/wallet/dto/index.d.ts +2 -0
  66. package/dist/modules/wallet/index.d.ts +1 -0
  67. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -197,6 +197,49 @@ __decorateClass([
197
197
  })
198
198
  ], ResetPasswordTokenValidationDto.prototype, "scope", 2);
199
199
 
200
+ // src/modules/authentication/dto/validate-email.dto.ts
201
+ import { IsNotEmpty as IsNotEmpty9, IsEmail as IsEmail2 } from "class-validator";
202
+ var ValidateEmailDto = class {
203
+ };
204
+ __decorateClass([
205
+ IsNotEmpty9({ message: "Email is required" }),
206
+ IsEmail2({}, { message: "Email must be valid" })
207
+ ], ValidateEmailDto.prototype, "email", 2);
208
+
209
+ // src/modules/authentication/dto/validate-mobile.dto.ts
210
+ import { IsNotEmpty as IsNotEmpty10, IsPhoneNumber } from "class-validator";
211
+ var ValidateMobileDto = class {
212
+ };
213
+ __decorateClass([
214
+ IsNotEmpty10({ message: "Mobile number is required" }),
215
+ IsPhoneNumber()
216
+ ], ValidateMobileDto.prototype, "mobile", 2);
217
+
218
+ // src/modules/authentication/dto/social-auth.dto.ts
219
+ import { IsOptional, IsString, IsObject } from "class-validator";
220
+ var SocialAuthDto = class {
221
+ };
222
+ __decorateClass([
223
+ IsOptional(),
224
+ IsString()
225
+ ], SocialAuthDto.prototype, "accessToken", 2);
226
+ __decorateClass([
227
+ IsOptional(),
228
+ IsString()
229
+ ], SocialAuthDto.prototype, "refreshToken", 2);
230
+ __decorateClass([
231
+ IsOptional(),
232
+ IsObject()
233
+ ], SocialAuthDto.prototype, "profile", 2);
234
+ __decorateClass([
235
+ IsOptional(),
236
+ IsString()
237
+ ], SocialAuthDto.prototype, "provider", 2);
238
+ __decorateClass([
239
+ IsOptional(),
240
+ IsString()
241
+ ], SocialAuthDto.prototype, "providerId", 2);
242
+
200
243
  // src/modules/otp/pattern/pattern.ts
201
244
  var OTP_PATTERN = {
202
245
  handleSendGuestOtp: "handle.send.guest.otp",
@@ -207,7 +250,7 @@ var OTP_PATTERN = {
207
250
  };
208
251
 
209
252
  // src/modules/otp/dto/send-guest-otp.dto.ts
210
- import { IsEnum as IsEnum7, IsNotEmpty as IsNotEmpty9, IsOptional, IsString } from "class-validator";
253
+ import { IsEnum as IsEnum7, IsNotEmpty as IsNotEmpty11, IsOptional as IsOptional2, IsString as IsString2 } from "class-validator";
211
254
  var SendGuestOtpPurposeEnum = /* @__PURE__ */ ((SendGuestOtpPurposeEnum2) => {
212
255
  SendGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
213
256
  return SendGuestOtpPurposeEnum2;
@@ -220,28 +263,28 @@ var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
220
263
  var SendGuestOtpDto = class {
221
264
  };
222
265
  __decorateClass([
223
- IsNotEmpty9({ message: "Please enter full name." }),
224
- IsString({ message: "Please enter valid full name." })
266
+ IsNotEmpty11({ message: "Please enter full name." }),
267
+ IsString2({ message: "Please enter valid full name." })
225
268
  ], SendGuestOtpDto.prototype, "fullName", 2);
226
269
  __decorateClass([
227
- IsNotEmpty9({ message: "Please enter target." }),
228
- IsString({ message: "Please enter valid target." })
270
+ IsNotEmpty11({ message: "Please enter target." }),
271
+ IsString2({ message: "Please enter valid target." })
229
272
  ], SendGuestOtpDto.prototype, "target", 2);
230
273
  __decorateClass([
231
- IsOptional(),
232
- IsString({ message: "Please enter valid fallback target." })
274
+ IsOptional2(),
275
+ IsString2({ message: "Please enter valid fallback target." })
233
276
  ], SendGuestOtpDto.prototype, "fallbackTarget", 2);
234
277
  __decorateClass([
235
- IsNotEmpty9({ message: "Please enter OTP purpose." }),
278
+ IsNotEmpty11({ message: "Please enter OTP purpose." }),
236
279
  IsEnum7(SendGuestOtpPurposeEnum, { message: "Purpose must be a valid OTP purpose" })
237
280
  ], SendGuestOtpDto.prototype, "purpose", 2);
238
281
  __decorateClass([
239
- IsNotEmpty9({ message: "Please enter scope." }),
282
+ IsNotEmpty11({ message: "Please enter scope." }),
240
283
  IsEnum7(SendGuestOtpScopeEnum, { message: "scope must be a valid" })
241
284
  ], SendGuestOtpDto.prototype, "scope", 2);
242
285
 
243
286
  // src/modules/otp/dto/send-login-otp.dto.ts
244
- import { IsEnum as IsEnum8, IsNotEmpty as IsNotEmpty10, IsString as IsString2 } from "class-validator";
287
+ import { IsEnum as IsEnum8, IsNotEmpty as IsNotEmpty12, IsString as IsString3 } from "class-validator";
245
288
  var SendLoginOtpPurposeEnum = /* @__PURE__ */ ((SendLoginOtpPurposeEnum2) => {
246
289
  SendLoginOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
247
290
  return SendLoginOtpPurposeEnum2;
@@ -254,20 +297,20 @@ var SendLoginOtpScopeEnum = /* @__PURE__ */ ((SendLoginOtpScopeEnum2) => {
254
297
  var SendLoginOtpDto = class {
255
298
  };
256
299
  __decorateClass([
257
- IsNotEmpty10({ message: "Please enter target." }),
258
- IsString2({ message: "Please enter valid target." })
300
+ IsNotEmpty12({ message: "Please enter target." }),
301
+ IsString3({ message: "Please enter valid target." })
259
302
  ], SendLoginOtpDto.prototype, "target", 2);
260
303
  __decorateClass([
261
- IsNotEmpty10({ message: "Please enter OTP purpose." }),
304
+ IsNotEmpty12({ message: "Please enter OTP purpose." }),
262
305
  IsEnum8(SendLoginOtpPurposeEnum, { message: "Purpose must be a valid OTP purpose" })
263
306
  ], SendLoginOtpDto.prototype, "purpose", 2);
264
307
  __decorateClass([
265
- IsNotEmpty10({ message: "Please enter scope." }),
308
+ IsNotEmpty12({ message: "Please enter scope." }),
266
309
  IsEnum8(SendLoginOtpScopeEnum, { message: "scope must be a valid" })
267
310
  ], SendLoginOtpDto.prototype, "scope", 2);
268
311
 
269
312
  // src/modules/otp/dto/verify-guest-otp.dto.ts
270
- import { IsEnum as IsEnum9, IsNotEmpty as IsNotEmpty11, IsString as IsString3, Length } from "class-validator";
313
+ import { IsEnum as IsEnum9, IsNotEmpty as IsNotEmpty13, IsString as IsString4, Length } from "class-validator";
271
314
  var VerifyGuestOtpPurposeEnum = /* @__PURE__ */ ((VerifyGuestOtpPurposeEnum2) => {
272
315
  VerifyGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
273
316
  return VerifyGuestOtpPurposeEnum2;
@@ -275,21 +318,60 @@ var VerifyGuestOtpPurposeEnum = /* @__PURE__ */ ((VerifyGuestOtpPurposeEnum2) =>
275
318
  var VerifyGuestOtpDto = class {
276
319
  };
277
320
  __decorateClass([
278
- IsNotEmpty11({ message: "Please enter target." }),
279
- IsString3({ message: "Please enter valid target." })
321
+ IsNotEmpty13({ message: "Please enter target." }),
322
+ IsString4({ message: "Please enter valid target." })
280
323
  ], VerifyGuestOtpDto.prototype, "target", 2);
281
324
  __decorateClass([
282
- IsNotEmpty11({ message: "Please enter otp." }),
283
- IsString3({ message: "Please enter valid otp." }),
325
+ IsNotEmpty13({ message: "Please enter otp." }),
326
+ IsString4({ message: "Please enter valid otp." }),
284
327
  Length(4, 6, { message: "OTP must be between 4 and 6 characters" })
285
328
  ], VerifyGuestOtpDto.prototype, "otp", 2);
286
329
  __decorateClass([
287
- IsNotEmpty11({ message: "Please enter OTP purpose." }),
330
+ IsNotEmpty13({ message: "Please enter OTP purpose." }),
288
331
  IsEnum9(VerifyGuestOtpPurposeEnum, {
289
332
  message: "Purpose must be a valid OTP purpose"
290
333
  })
291
334
  ], VerifyGuestOtpDto.prototype, "purpose", 2);
292
335
 
336
+ // src/modules/otp/dto/send-otp.dto.ts
337
+ import { IsNotEmpty as IsNotEmpty14, IsString as IsString5, IsOptional as IsOptional4, IsEnum as IsEnum10 } from "class-validator";
338
+ var OtpType = /* @__PURE__ */ ((OtpType2) => {
339
+ OtpType2["SMS"] = "SMS";
340
+ OtpType2["EMAIL"] = "EMAIL";
341
+ return OtpType2;
342
+ })(OtpType || {});
343
+ var SendOtpDto = class {
344
+ };
345
+ __decorateClass([
346
+ IsNotEmpty14({ message: "Recipient is required" }),
347
+ IsString5({ message: "Recipient must be a string" })
348
+ ], SendOtpDto.prototype, "recipient", 2);
349
+ __decorateClass([
350
+ IsOptional4(),
351
+ IsEnum10(OtpType, { message: `Type must be one of: ${Object.values(OtpType).join(", ")}` })
352
+ ], SendOtpDto.prototype, "type", 2);
353
+ __decorateClass([
354
+ IsOptional4(),
355
+ IsString5()
356
+ ], SendOtpDto.prototype, "purpose", 2);
357
+
358
+ // src/modules/otp/dto/verify-otp.dto.ts
359
+ import { IsNotEmpty as IsNotEmpty15, IsString as IsString6, IsOptional as IsOptional5 } from "class-validator";
360
+ var VerifyOtpDto = class {
361
+ };
362
+ __decorateClass([
363
+ IsNotEmpty15({ message: "Recipient is required" }),
364
+ IsString6({ message: "Recipient must be a string" })
365
+ ], VerifyOtpDto.prototype, "recipient", 2);
366
+ __decorateClass([
367
+ IsNotEmpty15({ message: "OTP code is required" }),
368
+ IsString6({ message: "OTP code must be a string" })
369
+ ], VerifyOtpDto.prototype, "otp", 2);
370
+ __decorateClass([
371
+ IsOptional5(),
372
+ IsString6()
373
+ ], VerifyOtpDto.prototype, "purpose", 2);
374
+
293
375
  // src/modules/onboarding/pattern/pattern.ts
294
376
  var ONBOARDING_PATTERN = {
295
377
  handleFreelancerAccountCreation: "handle.freelancer.account.creation",
@@ -316,11 +398,11 @@ var ONBOARDING_PATTERN = {
316
398
 
317
399
  // src/modules/onboarding/dto/freelancer-create-account.dto.ts
318
400
  import {
319
- IsNotEmpty as IsNotEmpty12,
320
- IsEmail as IsEmail2,
401
+ IsNotEmpty as IsNotEmpty16,
402
+ IsEmail as IsEmail3,
321
403
  Matches as Matches3,
322
- IsString as IsString4,
323
- IsOptional as IsOptional3
404
+ IsString as IsString7,
405
+ IsOptional as IsOptional6
324
406
  } from "class-validator";
325
407
 
326
408
  // src/decorators/match.decorator.ts
@@ -496,123 +578,123 @@ function IsBusinessEmail(validationOptions) {
496
578
  var FreelancerCreateAccountDto = class {
497
579
  };
498
580
  __decorateClass([
499
- IsNotEmpty12({ message: "Please enter full name." }),
500
- IsString4({ message: "Please enter valid full name." })
581
+ IsNotEmpty16({ message: "Please enter full name." }),
582
+ IsString7({ message: "Please enter valid full name." })
501
583
  ], FreelancerCreateAccountDto.prototype, "fullName", 2);
502
584
  __decorateClass([
503
- IsNotEmpty12({ message: "Please enter email." }),
504
- IsEmail2()
585
+ IsNotEmpty16({ message: "Please enter email." }),
586
+ IsEmail3()
505
587
  ], FreelancerCreateAccountDto.prototype, "email", 2);
506
588
  __decorateClass([
507
- IsNotEmpty12({ message: "Please enter mobile code." }),
589
+ IsNotEmpty16({ message: "Please enter mobile code." }),
508
590
  Matches3(/^\+\d{1,4}$/, {
509
591
  message: "Please enter a valid country mobile code (e.g., +91, +1, +44)."
510
592
  })
511
593
  ], FreelancerCreateAccountDto.prototype, "mobileCode", 2);
512
594
  __decorateClass([
513
- IsNotEmpty12({ message: "Please enter mobile number." }),
595
+ IsNotEmpty16({ message: "Please enter mobile number." }),
514
596
  IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
515
597
  ], FreelancerCreateAccountDto.prototype, "mobile", 2);
516
598
  __decorateClass([
517
- IsNotEmpty12({ message: "Please enter country iso code." })
599
+ IsNotEmpty16({ message: "Please enter country iso code." })
518
600
  ], FreelancerCreateAccountDto.prototype, "countryISOCode", 2);
519
601
  __decorateClass([
520
- IsOptional3()
602
+ IsOptional6()
521
603
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
522
604
 
523
605
  // src/modules/onboarding/dto/freelancer-upload-resume.dto.ts
524
- import { IsUUID, IsNotEmpty as IsNotEmpty13 } from "class-validator";
606
+ import { IsUUID, IsNotEmpty as IsNotEmpty17 } from "class-validator";
525
607
  var FreelancerUploadResumeDto = class {
526
608
  };
527
609
  __decorateClass([
528
- IsNotEmpty13({ message: "Please enter uuid." }),
610
+ IsNotEmpty17({ message: "Please enter uuid." }),
529
611
  IsUUID()
530
612
  ], FreelancerUploadResumeDto.prototype, "uuid", 2);
531
613
 
532
614
  // src/modules/onboarding/dto/freelancer-parse-resume.dto.ts
533
- import { IsUUID as IsUUID2, IsNotEmpty as IsNotEmpty14 } from "class-validator";
615
+ import { IsUUID as IsUUID2, IsNotEmpty as IsNotEmpty18 } from "class-validator";
534
616
  var FreelancerParseResumeDto = class {
535
617
  };
536
618
  __decorateClass([
537
- IsNotEmpty14({ message: "Please enter uuid." }),
619
+ IsNotEmpty18({ message: "Please enter uuid." }),
538
620
  IsUUID2()
539
621
  ], FreelancerParseResumeDto.prototype, "uuid", 2);
540
622
 
541
623
  // src/modules/onboarding/dto/freelancer-initiate-mcq-assessment.dto.ts
542
- import { IsUUID as IsUUID3, IsNotEmpty as IsNotEmpty15 } from "class-validator";
624
+ import { IsUUID as IsUUID3, IsNotEmpty as IsNotEmpty19 } from "class-validator";
543
625
  var FreelancerInitiateMcqAssessmentDto = class {
544
626
  };
545
627
  __decorateClass([
546
- IsNotEmpty15({ message: "Please enter uuid." }),
628
+ IsNotEmpty19({ message: "Please enter uuid." }),
547
629
  IsUUID3()
548
630
  ], FreelancerInitiateMcqAssessmentDto.prototype, "uuid", 2);
549
631
 
550
632
  // src/modules/onboarding/dto/freelancer-skip-ai-assessment.dto.ts
551
- import { IsUUID as IsUUID4, IsNotEmpty as IsNotEmpty16 } from "class-validator";
633
+ import { IsUUID as IsUUID4, IsNotEmpty as IsNotEmpty20 } from "class-validator";
552
634
  var FreelancerSkipAiAssessmentDto = class {
553
635
  };
554
636
  __decorateClass([
555
- IsNotEmpty16({ message: "Please enter uuid." }),
637
+ IsNotEmpty20({ message: "Please enter uuid." }),
556
638
  IsUUID4()
557
639
  ], FreelancerSkipAiAssessmentDto.prototype, "uuid", 2);
558
640
 
559
641
  // src/modules/onboarding/dto/freelancer-initiate-ai-assessment.dto.ts
560
- import { IsUUID as IsUUID5, IsNotEmpty as IsNotEmpty17 } from "class-validator";
642
+ import { IsUUID as IsUUID5, IsNotEmpty as IsNotEmpty21 } from "class-validator";
561
643
  var FreelancerInitiateAiAssessmentDto = class {
562
644
  };
563
645
  __decorateClass([
564
- IsNotEmpty17({ message: "Please enter uuid." }),
646
+ IsNotEmpty21({ message: "Please enter uuid." }),
565
647
  IsUUID5()
566
648
  ], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
567
649
 
568
650
  // src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
569
- import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty18, IsOptional as IsOptional4 } from "class-validator";
651
+ import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty22, IsOptional as IsOptional7 } from "class-validator";
570
652
  var FreelancerCaptureAiAssessmentStatusDto = class {
571
653
  };
572
654
  __decorateClass([
573
- IsNotEmpty18({ message: "Please enter uuid." }),
655
+ IsNotEmpty22({ message: "Please enter uuid." }),
574
656
  IsUUID6()
575
657
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "uuid", 2);
576
658
  __decorateClass([
577
- IsNotEmpty18({ message: "Please enter assessment id." })
659
+ IsNotEmpty22({ message: "Please enter assessment id." })
578
660
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentId", 2);
579
661
  __decorateClass([
580
- IsNotEmpty18({ message: "Please enter assessment status." })
662
+ IsNotEmpty22({ message: "Please enter assessment status." })
581
663
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
582
664
  __decorateClass([
583
- IsOptional4()
665
+ IsOptional7()
584
666
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "iframeEventData", 2);
585
667
 
586
668
  // src/modules/onboarding/dto/freelancer-development-preference.dto.ts
587
- import { IsUUID as IsUUID7, IsNotEmpty as IsNotEmpty19, IsBoolean } from "class-validator";
669
+ import { IsUUID as IsUUID7, IsNotEmpty as IsNotEmpty23, IsBoolean } from "class-validator";
588
670
  var FreelancerDevelopmentPreferenceDto = class {
589
671
  };
590
672
  __decorateClass([
591
- IsNotEmpty19({ message: "Please enter uuid." }),
673
+ IsNotEmpty23({ message: "Please enter uuid." }),
592
674
  IsUUID7()
593
675
  ], FreelancerDevelopmentPreferenceDto.prototype, "uuid", 2);
594
676
  __decorateClass([
595
- IsNotEmpty19({ message: "Please select development flag." }),
677
+ IsNotEmpty23({ message: "Please select development flag." }),
596
678
  IsBoolean()
597
679
  ], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
598
680
 
599
681
  // src/modules/onboarding/dto/freelancer-profile-question.dto.ts
600
682
  import {
601
683
  IsUUID as IsUUID8,
602
- IsString as IsString5,
603
- IsNotEmpty as IsNotEmpty20,
684
+ IsString as IsString8,
685
+ IsNotEmpty as IsNotEmpty24,
604
686
  IsIn,
605
- IsOptional as IsOptional5
687
+ IsOptional as IsOptional8
606
688
  } from "class-validator";
607
689
  var FreelancerProfileQuestionDto = class {
608
690
  };
609
691
  __decorateClass([
610
- IsNotEmpty20({ message: "Please enter uuid." }),
692
+ IsNotEmpty24({ message: "Please enter uuid." }),
611
693
  IsUUID8()
612
694
  ], FreelancerProfileQuestionDto.prototype, "uuid", 2);
613
695
  __decorateClass([
614
- IsNotEmpty20({ message: "Please enter question slug." }),
615
- IsString5(),
696
+ IsNotEmpty24({ message: "Please enter question slug." }),
697
+ IsString8(),
616
698
  IsIn([
617
699
  "natureOfWork",
618
700
  "expectedHourlyCompensation",
@@ -622,35 +704,35 @@ __decorateClass([
622
704
  ])
623
705
  ], FreelancerProfileQuestionDto.prototype, "question_slug", 2);
624
706
  __decorateClass([
625
- IsNotEmpty20({ message: "Please enter answer." })
707
+ IsNotEmpty24({ message: "Please enter answer." })
626
708
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
627
709
  __decorateClass([
628
- IsOptional5()
710
+ IsOptional8()
629
711
  ], FreelancerProfileQuestionDto.prototype, "numberOfHours", 2);
630
712
  __decorateClass([
631
- IsOptional5()
713
+ IsOptional8()
632
714
  ], FreelancerProfileQuestionDto.prototype, "currency", 2);
633
715
  __decorateClass([
634
- IsOptional5()
716
+ IsOptional8()
635
717
  ], FreelancerProfileQuestionDto.prototype, "ctc", 2);
636
718
 
637
719
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
638
720
  import {
639
- IsNotEmpty as IsNotEmpty21,
640
- IsOptional as IsOptional6,
721
+ IsNotEmpty as IsNotEmpty25,
722
+ IsOptional as IsOptional9,
641
723
  IsUrl,
642
- IsString as IsString6,
724
+ IsString as IsString9,
643
725
  IsUUID as IsUUID9
644
726
  } from "class-validator";
645
727
  var FreelancerWorkShowcaseDto = class {
646
728
  };
647
729
  __decorateClass([
648
- IsNotEmpty21({ message: "Please enter uuid." }),
730
+ IsNotEmpty25({ message: "Please enter uuid." }),
649
731
  IsUUID9()
650
732
  ], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
651
733
  __decorateClass([
652
- IsNotEmpty21({ message: "Please enter likedin profile url." }),
653
- IsString6(),
734
+ IsNotEmpty25({ message: "Please enter likedin profile url." }),
735
+ IsString9(),
654
736
  IsUrl(
655
737
  { require_protocol: false },
656
738
  {
@@ -659,7 +741,7 @@ __decorateClass([
659
741
  )
660
742
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
661
743
  __decorateClass([
662
- IsOptional6(),
744
+ IsOptional9(),
663
745
  IsUrl(
664
746
  { require_protocol: false },
665
747
  {
@@ -668,7 +750,7 @@ __decorateClass([
668
750
  )
669
751
  ], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
670
752
  __decorateClass([
671
- IsOptional6(),
753
+ IsOptional9(),
672
754
  IsUrl(
673
755
  { require_protocol: false },
674
756
  {
@@ -677,7 +759,7 @@ __decorateClass([
677
759
  )
678
760
  ], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
679
761
  __decorateClass([
680
- IsOptional6(),
762
+ IsOptional9(),
681
763
  IsUrl(
682
764
  { require_protocol: false },
683
765
  {
@@ -686,7 +768,7 @@ __decorateClass([
686
768
  )
687
769
  ], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
688
770
  __decorateClass([
689
- IsOptional6(),
771
+ IsOptional9(),
690
772
  IsUrl(
691
773
  { require_protocol: false },
692
774
  {
@@ -698,21 +780,21 @@ __decorateClass([
698
780
  // src/modules/onboarding/dto/client-profile-question.dto.ts
699
781
  import {
700
782
  IsUUID as IsUUID10,
701
- IsString as IsString7,
702
- IsNotEmpty as IsNotEmpty22,
783
+ IsString as IsString10,
784
+ IsNotEmpty as IsNotEmpty26,
703
785
  IsIn as IsIn2,
704
786
  ValidateIf,
705
- IsOptional as IsOptional7
787
+ IsOptional as IsOptional10
706
788
  } from "class-validator";
707
789
  var ClientProfileQuestionDto = class {
708
790
  };
709
791
  __decorateClass([
710
- IsNotEmpty22({ message: "Please enter uuid." }),
792
+ IsNotEmpty26({ message: "Please enter uuid." }),
711
793
  IsUUID10()
712
794
  ], ClientProfileQuestionDto.prototype, "uuid", 2);
713
795
  __decorateClass([
714
- IsNotEmpty22({ message: "Please enter question slug." }),
715
- IsString7(),
796
+ IsNotEmpty26({ message: "Please enter question slug." }),
797
+ IsString10(),
716
798
  IsIn2([
717
799
  "skills",
718
800
  "requiredFreelancer",
@@ -722,43 +804,52 @@ __decorateClass([
722
804
  ])
723
805
  ], ClientProfileQuestionDto.prototype, "question_slug", 2);
724
806
  __decorateClass([
725
- IsNotEmpty22({ message: "Please enter answer." })
807
+ IsNotEmpty26({ message: "Please enter answer." })
726
808
  ], ClientProfileQuestionDto.prototype, "answer", 2);
727
809
  __decorateClass([
728
- IsOptional7()
810
+ IsOptional10()
729
811
  ], ClientProfileQuestionDto.prototype, "numberOfHours", 2);
730
812
  __decorateClass([
731
813
  ValidateIf((o) => o.questionSlug === "foundUsOn" && o.answer === "OTHER"),
732
- IsNotEmpty22({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
733
- IsString7()
814
+ IsNotEmpty26({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
815
+ IsString10()
734
816
  ], ClientProfileQuestionDto.prototype, "foundUsOnDetail", 2);
735
817
 
736
818
  // src/modules/onboarding/dto/client-create-account.dto.ts
737
819
  import {
738
- IsNotEmpty as IsNotEmpty23,
739
- IsEmail as IsEmail3,
740
- IsString as IsString8,
741
- IsOptional as IsOptional8
820
+ IsNotEmpty as IsNotEmpty27,
821
+ IsEmail as IsEmail4,
822
+ IsString as IsString11,
823
+ IsOptional as IsOptional11
742
824
  } from "class-validator";
743
825
  var ClientCreateAccountDto = class {
744
826
  };
745
827
  __decorateClass([
746
- IsNotEmpty23({ message: "Please enter full name." }),
747
- IsString8({ message: "Please enter valid full name." })
828
+ IsNotEmpty27({ message: "Please enter full name." }),
829
+ IsString11({ message: "Please enter valid full name." })
748
830
  ], ClientCreateAccountDto.prototype, "fullName", 2);
749
831
  __decorateClass([
750
- IsNotEmpty23({ message: "Please enter email." }),
751
- IsEmail3(),
832
+ IsNotEmpty27({ message: "Please enter email." }),
833
+ IsEmail4(),
752
834
  IsBusinessEmail()
753
835
  ], ClientCreateAccountDto.prototype, "email", 2);
754
836
  __decorateClass([
755
- IsNotEmpty23({ message: "Please enter company name." }),
756
- IsString8({ message: "Please enter valid company name." })
837
+ IsNotEmpty27({ message: "Please enter company name." }),
838
+ IsString11({ message: "Please enter valid company name." })
757
839
  ], ClientCreateAccountDto.prototype, "companyName", 2);
758
840
  __decorateClass([
759
- IsOptional8()
841
+ IsOptional11()
760
842
  ], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
761
843
 
844
+ // src/modules/onboarding/dto/verify-onboarding-token.dto.ts
845
+ import { IsNotEmpty as IsNotEmpty28, IsString as IsString12 } from "class-validator";
846
+ var VerifyOnboardingTokenDto = class {
847
+ };
848
+ __decorateClass([
849
+ IsNotEmpty28({ message: "Token is required" }),
850
+ IsString12({ message: "Token must be a string" })
851
+ ], VerifyOnboardingTokenDto.prototype, "token", 2);
852
+
762
853
  // src/modules/maintenance/pattern/pattern.ts
763
854
  var MAINTENANCE_PATTERN = {
764
855
  truncateData: "truncate.data"
@@ -789,68 +880,68 @@ var SUBADMIN_PATTERN = {
789
880
 
790
881
  // src/modules/user/subadmin/dto/create-subadmin.dto.ts
791
882
  import {
792
- IsNotEmpty as IsNotEmpty24
883
+ IsNotEmpty as IsNotEmpty29
793
884
  } from "class-validator";
794
885
  var CreateSubAdminDto = class {
795
886
  };
796
887
  __decorateClass([
797
- IsNotEmpty24({ message: "Please enter username." })
888
+ IsNotEmpty29({ message: "Please enter username." })
798
889
  ], CreateSubAdminDto.prototype, "userName", 2);
799
890
  __decorateClass([
800
- IsNotEmpty24({ message: "Please enter first name." })
891
+ IsNotEmpty29({ message: "Please enter first name." })
801
892
  ], CreateSubAdminDto.prototype, "firstName", 2);
802
893
  __decorateClass([
803
- IsNotEmpty24({ message: "Please enter last name." })
894
+ IsNotEmpty29({ message: "Please enter last name." })
804
895
  ], CreateSubAdminDto.prototype, "lastName", 2);
805
896
  __decorateClass([
806
- IsNotEmpty24({ message: "Please enter email." })
897
+ IsNotEmpty29({ message: "Please enter email." })
807
898
  ], CreateSubAdminDto.prototype, "email", 2);
808
899
  __decorateClass([
809
- IsNotEmpty24({ message: "Please enter mobile Code." })
900
+ IsNotEmpty29({ message: "Please enter mobile Code." })
810
901
  ], CreateSubAdminDto.prototype, "mobileCode", 2);
811
902
  __decorateClass([
812
- IsNotEmpty24({ message: "Please enter mobile number." })
903
+ IsNotEmpty29({ message: "Please enter mobile number." })
813
904
  ], CreateSubAdminDto.prototype, "mobile", 2);
814
905
  __decorateClass([
815
- IsNotEmpty24({ message: "Please enter the password." })
906
+ IsNotEmpty29({ message: "Please enter the password." })
816
907
  ], CreateSubAdminDto.prototype, "password", 2);
817
908
  __decorateClass([
818
- IsNotEmpty24({ message: "Please Select Roles." })
909
+ IsNotEmpty29({ message: "Please Select Roles." })
819
910
  ], CreateSubAdminDto.prototype, "roleIds", 2);
820
911
 
821
912
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
822
- import { IsString as IsString9 } from "class-validator";
913
+ import { IsString as IsString13 } from "class-validator";
823
914
  var UpdateSubAdminAccountStatusDto = class {
824
915
  };
825
916
  __decorateClass([
826
- IsString9()
917
+ IsString13()
827
918
  ], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
828
919
 
829
920
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
830
921
  import { Transform } from "class-transformer";
831
- import { IsNotEmpty as IsNotEmpty25, IsOptional as IsOptional9, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength5 } from "class-validator";
922
+ import { IsNotEmpty as IsNotEmpty30, IsOptional as IsOptional12, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength5 } from "class-validator";
832
923
  var UpdateSubAdminDto = class {
833
924
  };
834
925
  __decorateClass([
835
- IsNotEmpty25({ message: "Please enter username." })
926
+ IsNotEmpty30({ message: "Please enter username." })
836
927
  ], UpdateSubAdminDto.prototype, "userName", 2);
837
928
  __decorateClass([
838
- IsNotEmpty25({ message: "Please enter first name." })
929
+ IsNotEmpty30({ message: "Please enter first name." })
839
930
  ], UpdateSubAdminDto.prototype, "firstName", 2);
840
931
  __decorateClass([
841
- IsNotEmpty25({ message: "Please enter last name." })
932
+ IsNotEmpty30({ message: "Please enter last name." })
842
933
  ], UpdateSubAdminDto.prototype, "lastName", 2);
843
934
  __decorateClass([
844
- IsNotEmpty25({ message: "Please enter email." })
935
+ IsNotEmpty30({ message: "Please enter email." })
845
936
  ], UpdateSubAdminDto.prototype, "email", 2);
846
937
  __decorateClass([
847
- IsNotEmpty25({ message: "Please enter mobile Code." })
938
+ IsNotEmpty30({ message: "Please enter mobile Code." })
848
939
  ], UpdateSubAdminDto.prototype, "mobileCode", 2);
849
940
  __decorateClass([
850
- IsNotEmpty25({ message: "Please enter mobile number." })
941
+ IsNotEmpty30({ message: "Please enter mobile number." })
851
942
  ], UpdateSubAdminDto.prototype, "mobile", 2);
852
943
  __decorateClass([
853
- IsOptional9(),
944
+ IsOptional12(),
854
945
  Transform(({ value }) => value === null || value === "" ? void 0 : value),
855
946
  MinLength5(6, { message: "Password must be at least 6 characters." }),
856
947
  MaxLength5(32, { message: "Password must not exceed 32 characters." }),
@@ -859,7 +950,7 @@ __decorateClass([
859
950
  })
860
951
  ], UpdateSubAdminDto.prototype, "password", 2);
861
952
  __decorateClass([
862
- IsNotEmpty25({ message: "Please Select Roles." })
953
+ IsNotEmpty30({ message: "Please Select Roles." })
863
954
  ], UpdateSubAdminDto.prototype, "roleIds", 2);
864
955
 
865
956
  // src/modules/user/client-profile/pattern/pattern.ts
@@ -887,95 +978,122 @@ var CLIENT_PROFILE_PATTERN = {
887
978
 
888
979
  // src/modules/user/client-profile/dto/update-client-profile.dto.ts
889
980
  import {
890
- IsString as IsString10,
891
- IsNotEmpty as IsNotEmpty26,
892
- IsEmail as IsEmail4,
981
+ IsString as IsString14,
982
+ IsNotEmpty as IsNotEmpty31,
983
+ IsEmail as IsEmail5,
893
984
  Length as Length2,
894
985
  IsUrl as IsUrl2,
895
- IsOptional as IsOptional10,
986
+ IsOptional as IsOptional13,
896
987
  ValidateIf as ValidateIf2,
897
988
  IsNumber
898
989
  } from "class-validator";
899
990
  var UpdateCompanyProfileDto = class {
900
991
  };
901
992
  __decorateClass([
902
- IsNotEmpty26({ message: "Please enter company name." }),
903
- IsString10({ message: "Company name must be a string." }),
993
+ IsNotEmpty31({ message: "Please enter company name." }),
994
+ IsString14({ message: "Company name must be a string." }),
904
995
  Length2(2, 255, {
905
996
  message: "Company name must be between 2 and 255 characters"
906
997
  })
907
998
  ], UpdateCompanyProfileDto.prototype, "companyName", 2);
908
999
  __decorateClass([
909
- IsOptional10(),
1000
+ IsOptional13(),
910
1001
  ValidateIf2((o) => o.webSite !== ""),
911
1002
  IsUrl2({}, { message: "Invalid website URL format" })
912
1003
  ], UpdateCompanyProfileDto.prototype, "webSite", 2);
913
1004
  __decorateClass([
914
- IsOptional10(),
1005
+ IsOptional13(),
915
1006
  IsNumber()
916
1007
  ], UpdateCompanyProfileDto.prototype, "countryId", 2);
917
1008
  __decorateClass([
918
- IsOptional10(),
1009
+ IsOptional13(),
919
1010
  IsNumber()
920
1011
  ], UpdateCompanyProfileDto.prototype, "stateId", 2);
921
1012
  __decorateClass([
922
- IsOptional10(),
1013
+ IsOptional13(),
923
1014
  IsNumber()
924
1015
  ], UpdateCompanyProfileDto.prototype, "cityId", 2);
925
1016
  __decorateClass([
926
- IsNotEmpty26({ message: "Please enter company address." }),
927
- IsString10({ message: "Company address must be a string" }),
1017
+ IsNotEmpty31({ message: "Please enter company address." }),
1018
+ IsString14({ message: "Company address must be a string" }),
928
1019
  Length2(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
929
1020
  ], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
930
1021
  __decorateClass([
931
- IsOptional10(),
932
- IsString10({ message: "Address line must be a string" })
1022
+ IsOptional13(),
1023
+ IsString14({ message: "Address line must be a string" })
933
1024
  ], UpdateCompanyProfileDto.prototype, "addressLine", 2);
934
1025
  __decorateClass([
935
- IsNotEmpty26({ message: "Please enter postal code." }),
936
- IsString10({ message: "Postal Code must be a string" })
1026
+ IsNotEmpty31({ message: "Please enter postal code." }),
1027
+ IsString14({ message: "Postal Code must be a string" })
937
1028
  ], UpdateCompanyProfileDto.prototype, "postalCode", 2);
938
1029
  __decorateClass([
939
- IsNotEmpty26({ message: "Please enter mobile code." }),
940
- IsString10({ message: "Mobile Code must be a string" })
1030
+ IsNotEmpty31({ message: "Please enter mobile code." }),
1031
+ IsString14({ message: "Mobile Code must be a string" })
941
1032
  ], UpdateCompanyProfileDto.prototype, "mobileCode", 2);
942
1033
  // @Matches(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
943
1034
  // message: "Please enter a valid US phone number",
944
1035
  // })
945
1036
  __decorateClass([
946
- IsNotEmpty26({ message: "Please enter phone number." }),
947
- IsString10({ message: "Please enter valid phone number." })
1037
+ IsNotEmpty31({ message: "Please enter phone number." }),
1038
+ IsString14({ message: "Please enter valid phone number." })
948
1039
  ], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
949
1040
  __decorateClass([
950
- IsNotEmpty26({ message: "Please enter email." }),
951
- IsEmail4()
1041
+ IsNotEmpty31({ message: "Please enter email." }),
1042
+ IsEmail5()
952
1043
  ], UpdateCompanyProfileDto.prototype, "email", 2);
953
1044
  __decorateClass([
954
- IsOptional10(),
955
- IsString10({ message: "About company must be a string." })
1045
+ IsOptional13(),
1046
+ IsString14({ message: "About company must be a string." })
956
1047
  ], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
957
1048
 
958
1049
  // src/modules/user/client-profile/dto/client-change-password.dto.ts
959
1050
  import {
960
- IsString as IsString11,
1051
+ IsString as IsString15,
961
1052
  MinLength as MinLength6,
962
1053
  Matches as Matches7,
963
- IsNotEmpty as IsNotEmpty27
1054
+ IsNotEmpty as IsNotEmpty32
964
1055
  } from "class-validator";
965
1056
  var ClientChangePasswordDto = class {
966
1057
  };
967
1058
  __decorateClass([
968
- IsString11(),
1059
+ IsString15(),
969
1060
  MinLength6(8, { message: "Password must be at least 8 characters long." }),
970
1061
  Matches7(/^(?=.*[A-Z])(?=.*\d).+$/, {
971
1062
  message: "Password must contain at least one uppercase letter and one number."
972
1063
  })
973
1064
  ], ClientChangePasswordDto.prototype, "newPassword", 2);
974
1065
  __decorateClass([
975
- IsNotEmpty27({ message: "Please enter confirm password." }),
1066
+ IsNotEmpty32({ message: "Please enter confirm password." }),
976
1067
  Match("newPassword", { message: "Passwords do not match" })
977
1068
  ], ClientChangePasswordDto.prototype, "confirmPassword", 2);
978
1069
 
1070
+ // src/modules/user/client-profile/dto/client-service-agreement-upload.dto.ts
1071
+ import { IsOptional as IsOptional14, IsString as IsString16 } from "class-validator";
1072
+ var ClientServiceAgreementUploadDto = class {
1073
+ };
1074
+ __decorateClass([
1075
+ IsOptional14(),
1076
+ IsString16()
1077
+ ], ClientServiceAgreementUploadDto.prototype, "agreementType", 2);
1078
+
1079
+ // src/modules/user/client-profile/dto/client-e-signature.dto.ts
1080
+ import { IsNotEmpty as IsNotEmpty33, IsString as IsString17 } from "class-validator";
1081
+ var ClientESignatureDto = class {
1082
+ };
1083
+ __decorateClass([
1084
+ IsNotEmpty33({ message: "Agreement UUID is required" }),
1085
+ IsString17({ message: "Agreement UUID must be a string" })
1086
+ ], ClientESignatureDto.prototype, "agreementUuid", 2);
1087
+
1088
+ // src/modules/user/client-profile/dto/fetch-freelancer-info-for-chat.dto.ts
1089
+ import { IsNotEmpty as IsNotEmpty34, IsNumber as IsNumber2 } from "class-validator";
1090
+ var FetchFreelancerInfoForChatDto = class {
1091
+ };
1092
+ __decorateClass([
1093
+ IsNotEmpty34({ message: "Freelancer ID is required" }),
1094
+ IsNumber2({}, { message: "Freelancer ID must be a number" })
1095
+ ], FetchFreelancerInfoForChatDto.prototype, "freelancerId", 2);
1096
+
979
1097
  // src/modules/question/pattern/pattern.ts
980
1098
  var ONBOARDING_QUESTION_PATTERN = {
981
1099
  fetchOnboardingQuestions: "fetch.onboarding.questions"
@@ -990,29 +1108,68 @@ var ASSESSMENT_QUESTION_PATTERN = {
990
1108
 
991
1109
  // src/modules/question/dto/create-question.dto.ts
992
1110
  import {
993
- IsNotEmpty as IsNotEmpty28,
994
- IsOptional as IsOptional11,
1111
+ IsNotEmpty as IsNotEmpty35,
1112
+ IsOptional as IsOptional15,
995
1113
  IsBoolean as IsBoolean2
996
1114
  } from "class-validator";
997
1115
  var CreateQuestionDto = class {
998
1116
  };
999
1117
  __decorateClass([
1000
- IsNotEmpty28({ message: "Please enter unique id." })
1118
+ IsNotEmpty35({ message: "Please enter unique id." })
1001
1119
  ], CreateQuestionDto.prototype, "questionId", 2);
1002
1120
  __decorateClass([
1003
- IsNotEmpty28({ message: "Please enter question." })
1121
+ IsNotEmpty35({ message: "Please enter question." })
1004
1122
  ], CreateQuestionDto.prototype, "question", 2);
1005
1123
  __decorateClass([
1006
- IsNotEmpty28({ message: "Please enter for whom the question is." })
1124
+ IsNotEmpty35({ message: "Please enter for whom the question is." })
1007
1125
  ], CreateQuestionDto.prototype, "questionFor", 2);
1008
1126
  __decorateClass([
1009
- IsNotEmpty28({ message: "Please enter options." })
1127
+ IsNotEmpty35({ message: "Please enter options." })
1010
1128
  ], CreateQuestionDto.prototype, "options", 2);
1011
1129
  __decorateClass([
1012
- IsOptional11(),
1130
+ IsOptional15(),
1013
1131
  IsBoolean2({ message: "Whether the question status active" })
1014
1132
  ], CreateQuestionDto.prototype, "isActive", 2);
1015
1133
 
1134
+ // src/modules/question/dto/record-assessment-answer.dto.ts
1135
+ import { IsNotEmpty as IsNotEmpty36, IsString as IsString18, IsOptional as IsOptional16, IsObject as IsObject2 } from "class-validator";
1136
+ var RecordAssessmentAnswerDto = class {
1137
+ };
1138
+ __decorateClass([
1139
+ IsNotEmpty36({ message: "Question ID is required" }),
1140
+ IsString18({ message: "Question ID must be a string" })
1141
+ ], RecordAssessmentAnswerDto.prototype, "questionId", 2);
1142
+ __decorateClass([
1143
+ IsNotEmpty36({ message: "Answer is required" }),
1144
+ IsObject2()
1145
+ ], RecordAssessmentAnswerDto.prototype, "answer", 2);
1146
+ __decorateClass([
1147
+ IsOptional16(),
1148
+ IsString18()
1149
+ ], RecordAssessmentAnswerDto.prototype, "assessmentId", 2);
1150
+ __decorateClass([
1151
+ IsOptional16(),
1152
+ IsString18()
1153
+ ], RecordAssessmentAnswerDto.prototype, "userId", 2);
1154
+
1155
+ // src/modules/question/dto/record-assessment-answers.dto.ts
1156
+ import { IsNotEmpty as IsNotEmpty37, IsArray, IsObject as IsObject3, IsOptional as IsOptional17, IsString as IsString19 } from "class-validator";
1157
+ var RecordAssessmentAnswersDto = class {
1158
+ };
1159
+ __decorateClass([
1160
+ IsNotEmpty37({ message: "Answers array is required" }),
1161
+ IsArray({ message: "Answers must be an array" }),
1162
+ IsObject3({ each: true, message: "Each answer must be an object" })
1163
+ ], RecordAssessmentAnswersDto.prototype, "answers", 2);
1164
+ __decorateClass([
1165
+ IsOptional17(),
1166
+ IsString19()
1167
+ ], RecordAssessmentAnswersDto.prototype, "assessmentId", 2);
1168
+ __decorateClass([
1169
+ IsOptional17(),
1170
+ IsString19()
1171
+ ], RecordAssessmentAnswersDto.prototype, "userId", 2);
1172
+
1016
1173
  // src/modules/job/pattern/pattern.ts
1017
1174
  var JOB_ROLE_PATTERN = {
1018
1175
  fetchJobRolesForDropdown: "fetch.job.roles.for.dropdown"
@@ -1070,13 +1227,13 @@ var JOB_APPLICATION_PATTERN = {
1070
1227
 
1071
1228
  // src/modules/job/dto/job-basic-information.dto.ts
1072
1229
  import {
1073
- IsString as IsString12,
1074
- IsNotEmpty as IsNotEmpty29,
1075
- IsArray,
1230
+ IsString as IsString20,
1231
+ IsNotEmpty as IsNotEmpty38,
1232
+ IsArray as IsArray2,
1076
1233
  ArrayNotEmpty,
1077
- IsNumber as IsNumber2,
1078
- IsOptional as IsOptional12,
1079
- IsEnum as IsEnum10,
1234
+ IsNumber as IsNumber3,
1235
+ IsOptional as IsOptional18,
1236
+ IsEnum as IsEnum11,
1080
1237
  Min,
1081
1238
  ValidateIf as ValidateIf3,
1082
1239
  MaxLength as MaxLength6,
@@ -1104,71 +1261,71 @@ var JobBasicInformationDto = class {
1104
1261
  }
1105
1262
  };
1106
1263
  __decorateClass([
1107
- IsOptional12(),
1264
+ IsOptional18(),
1108
1265
  Type(() => Boolean)
1109
1266
  ], JobBasicInformationDto.prototype, "isDraft", 2);
1110
1267
  __decorateClass([
1111
- IsNotEmpty29({ message: "Please enter job role" }),
1112
- IsString12({ message: "Job role must be a string" })
1268
+ IsNotEmpty38({ message: "Please enter job role" }),
1269
+ IsString20({ message: "Job role must be a string" })
1113
1270
  ], JobBasicInformationDto.prototype, "jobRole", 2);
1114
1271
  __decorateClass([
1115
- IsOptional12()
1272
+ IsOptional18()
1116
1273
  ], JobBasicInformationDto.prototype, "jobRoleCanonicalName", 2);
1117
1274
  __decorateClass([
1118
- IsOptional12(),
1119
- IsString12({ message: "Project name must be a string" })
1275
+ IsOptional18(),
1276
+ IsString20({ message: "Project name must be a string" })
1120
1277
  ], JobBasicInformationDto.prototype, "projectName", 2);
1121
1278
  __decorateClass([
1122
- IsOptional12(),
1123
- IsString12({ message: "Note must be a string" })
1279
+ IsOptional18(),
1280
+ IsString20({ message: "Note must be a string" })
1124
1281
  ], JobBasicInformationDto.prototype, "note", 2);
1125
1282
  __decorateClass([
1126
1283
  ValidateIf3((o) => !o.isDraft),
1127
- IsOptional12(),
1128
- IsArray({ message: "Skills must be an array" }),
1284
+ IsOptional18(),
1285
+ IsArray2({ message: "Skills must be an array" }),
1129
1286
  ArrayNotEmpty({ message: "Please select at least one skill" }),
1130
- IsString12({ each: true, message: "Each skill must be a string" }),
1287
+ IsString20({ each: true, message: "Each skill must be a string" }),
1131
1288
  Type(() => String)
1132
1289
  ], JobBasicInformationDto.prototype, "skills", 2);
1133
1290
  __decorateClass([
1134
1291
  ValidateIf3((o) => !o.isDraft),
1135
- IsArray({ message: "Good to have skills must be an array" }),
1136
- IsString12({ each: true, message: "Each skill must be a string" }),
1137
- IsOptional12(),
1292
+ IsArray2({ message: "Good to have skills must be an array" }),
1293
+ IsString20({ each: true, message: "Each skill must be a string" }),
1294
+ IsOptional18(),
1138
1295
  Type(() => String)
1139
1296
  ], JobBasicInformationDto.prototype, "goodToHaveSkills", 2);
1140
1297
  __decorateClass([
1141
1298
  ValidateIf3((o) => !o.isDraft),
1142
- IsNumber2({}, { message: "Openings must be a number" }),
1299
+ IsNumber3({}, { message: "Openings must be a number" }),
1143
1300
  Min(1, { message: "There must be at least 1 opening" }),
1144
1301
  Type(() => Number)
1145
1302
  ], JobBasicInformationDto.prototype, "openings", 2);
1146
1303
  __decorateClass([
1147
1304
  ValidateIf3((o) => !o.isDraft),
1148
- IsEnum10(JobLocationEnum, {
1305
+ IsEnum11(JobLocationEnum, {
1149
1306
  message: `Location must be one of: ${Object.values(JobLocationEnum).join(
1150
1307
  ", "
1151
1308
  )}`
1152
1309
  })
1153
1310
  ], JobBasicInformationDto.prototype, "location", 2);
1154
1311
  __decorateClass([
1155
- IsOptional12(),
1156
- IsNumber2({}, { message: "Country id must be a number" }),
1312
+ IsOptional18(),
1313
+ IsNumber3({}, { message: "Country id must be a number" }),
1157
1314
  Type(() => Number)
1158
1315
  ], JobBasicInformationDto.prototype, "countryId", 2);
1159
1316
  __decorateClass([
1160
- IsOptional12(),
1161
- IsNumber2({}, { message: "State id must be a number" }),
1317
+ IsOptional18(),
1318
+ IsNumber3({}, { message: "State id must be a number" }),
1162
1319
  Type(() => Number)
1163
1320
  ], JobBasicInformationDto.prototype, "stateId", 2);
1164
1321
  __decorateClass([
1165
- IsOptional12(),
1166
- IsNumber2({}, { message: "City id must be a number" }),
1322
+ IsOptional18(),
1323
+ IsNumber3({}, { message: "City id must be a number" }),
1167
1324
  Type(() => Number)
1168
1325
  ], JobBasicInformationDto.prototype, "cityId", 2);
1169
1326
  __decorateClass([
1170
1327
  ValidateIf3((o) => !o.isDraft),
1171
- IsEnum10(EmploymentType, {
1328
+ IsEnum11(EmploymentType, {
1172
1329
  message: `Type of employment must be one of: ${Object.values(
1173
1330
  EmploymentType
1174
1331
  ).join(", ")}`
@@ -1176,82 +1333,82 @@ __decorateClass([
1176
1333
  ], JobBasicInformationDto.prototype, "typeOfEmployment", 2);
1177
1334
  __decorateClass([
1178
1335
  ValidateIf3((o) => !o.isDraft),
1179
- IsString12({ message: "Currency must be a string" })
1336
+ IsString20({ message: "Currency must be a string" })
1180
1337
  ], JobBasicInformationDto.prototype, "currency", 2);
1181
1338
  __decorateClass([
1182
1339
  ValidateIf3((o) => !o.isDraft),
1183
- IsNumber2({}, { message: "Expected salary (from) must be a number" }),
1340
+ IsNumber3({}, { message: "Expected salary (from) must be a number" }),
1184
1341
  Min(0, { message: "Expected salary (from) cannot be negative" }),
1185
1342
  Type(() => Number)
1186
1343
  ], JobBasicInformationDto.prototype, "expectedSalaryFrom", 2);
1187
1344
  __decorateClass([
1188
- IsOptional12()
1345
+ IsOptional18()
1189
1346
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryFrom", 2);
1190
1347
  __decorateClass([
1191
1348
  ValidateIf3((o) => !o.isDraft),
1192
- IsNumber2({}, { message: "Expected salary (to) must be a number" }),
1349
+ IsNumber3({}, { message: "Expected salary (to) must be a number" }),
1193
1350
  Min(0, { message: "Expected salary (to) cannot be negative" }),
1194
1351
  Type(() => Number)
1195
1352
  ], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
1196
1353
  __decorateClass([
1197
- IsOptional12()
1354
+ IsOptional18()
1198
1355
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryTo", 2);
1199
1356
  __decorateClass([
1200
- IsOptional12()
1357
+ IsOptional18()
1201
1358
  ], JobBasicInformationDto.prototype, "years", 2);
1202
1359
  __decorateClass([
1203
- IsOptional12()
1360
+ IsOptional18()
1204
1361
  ], JobBasicInformationDto.prototype, "months", 2);
1205
1362
  __decorateClass([
1206
- IsOptional12()
1363
+ IsOptional18()
1207
1364
  ], JobBasicInformationDto.prototype, "weeks", 2);
1208
1365
  __decorateClass([
1209
- IsOptional12()
1366
+ IsOptional18()
1210
1367
  ], JobBasicInformationDto.prototype, "days", 2);
1211
1368
  __decorateClass([
1212
- IsOptional12(),
1213
- IsNumber2({}, { message: "Number of hours must be a number" }),
1369
+ IsOptional18(),
1370
+ IsNumber3({}, { message: "Number of hours must be a number" }),
1214
1371
  Min(0, { message: "Number of hours cannot be negative" }),
1215
1372
  Max(40, { message: "Number of hours cannot exceed 40" }),
1216
1373
  Type(() => Number)
1217
1374
  ], JobBasicInformationDto.prototype, "numberOfHours", 2);
1218
1375
  __decorateClass([
1219
1376
  ValidateIf3((o) => !o.isDraft),
1220
- IsString12({ message: "Candidate communication skills must be a string" }),
1221
- IsOptional12()
1377
+ IsString20({ message: "Candidate communication skills must be a string" }),
1378
+ IsOptional18()
1222
1379
  ], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
1223
1380
  __decorateClass([
1224
1381
  ValidateIf3((o) => !o.isDraft),
1225
- IsNotEmpty29({ message: "Please enter the academic qualification" }),
1226
- IsString12({ message: "Academic qualification must be a string" })
1382
+ IsNotEmpty38({ message: "Please enter the academic qualification" }),
1383
+ IsString20({ message: "Academic qualification must be a string" })
1227
1384
  ], JobBasicInformationDto.prototype, "academicQualification", 2);
1228
1385
  __decorateClass([
1229
1386
  ValidateIf3((o) => !o.isDraft),
1230
- IsNotEmpty29({ message: "Please enter the years of experience" }),
1231
- IsString12({ message: "Years of experience must be a string" })
1387
+ IsNotEmpty38({ message: "Please enter the years of experience" }),
1388
+ IsString20({ message: "Years of experience must be a string" })
1232
1389
  ], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
1233
1390
  __decorateClass([
1234
- IsOptional12(),
1235
- IsString12({ message: "Business industry must be a string" })
1391
+ IsOptional18(),
1392
+ IsString20({ message: "Business industry must be a string" })
1236
1393
  ], JobBasicInformationDto.prototype, "businessIndustry", 2);
1237
1394
  __decorateClass([
1238
- IsOptional12(),
1239
- IsString12({ message: "Additional comment must be a string" }),
1395
+ IsOptional18(),
1396
+ IsString20({ message: "Additional comment must be a string" }),
1240
1397
  MaxLength6(500, { message: "Additional comment must not exceed 500 characters" })
1241
1398
  ], JobBasicInformationDto.prototype, "additionalComment", 2);
1242
1399
 
1243
1400
  // src/modules/job/dto/job-additional-comment.dto.ts
1244
- import { IsOptional as IsOptional13, IsString as IsString13, MaxLength as MaxLength7 } from "class-validator";
1401
+ import { IsOptional as IsOptional19, IsString as IsString21, MaxLength as MaxLength7 } from "class-validator";
1245
1402
  var JobAdditionalCommentDto = class {
1246
1403
  };
1247
1404
  __decorateClass([
1248
- IsOptional13(),
1249
- IsString13({ message: "Additional comment must be a string" }),
1405
+ IsOptional19(),
1406
+ IsString21({ message: "Additional comment must be a string" }),
1250
1407
  MaxLength7(500, { message: "Additional comment must not exceed 500 characters" })
1251
1408
  ], JobAdditionalCommentDto.prototype, "additionalComment", 2);
1252
1409
 
1253
1410
  // src/modules/job/dto/job-description.dto.ts
1254
- import { IsString as IsString14, IsNotEmpty as IsNotEmpty30, MaxLength as MaxLength8, IsOptional as IsOptional14 } from "class-validator";
1411
+ import { IsString as IsString22, IsNotEmpty as IsNotEmpty39, MaxLength as MaxLength8, IsOptional as IsOptional20 } from "class-validator";
1255
1412
  import { Type as Type2 } from "class-transformer";
1256
1413
  var JobDescriptionDto = class {
1257
1414
  constructor() {
@@ -1259,17 +1416,17 @@ var JobDescriptionDto = class {
1259
1416
  }
1260
1417
  };
1261
1418
  __decorateClass([
1262
- IsOptional14(),
1419
+ IsOptional20(),
1263
1420
  Type2(() => Boolean)
1264
1421
  ], JobDescriptionDto.prototype, "isDraft", 2);
1265
1422
  __decorateClass([
1266
- IsNotEmpty30({ message: "Please enter job description" }),
1267
- IsString14({ message: "Description must be a string" }),
1423
+ IsNotEmpty39({ message: "Please enter job description" }),
1424
+ IsString22({ message: "Description must be a string" }),
1268
1425
  MaxLength8(5e3, { message: "Description must not exceed 5000 characters" })
1269
1426
  ], JobDescriptionDto.prototype, "description", 2);
1270
1427
 
1271
1428
  // src/modules/job/dto/job-status.dto.ts
1272
- import { IsEnum as IsEnum11, IsNotEmpty as IsNotEmpty31 } from "class-validator";
1429
+ import { IsEnum as IsEnum12, IsNotEmpty as IsNotEmpty40 } from "class-validator";
1273
1430
  var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
1274
1431
  JobStatus2["ACTIVE"] = "ACTIVE";
1275
1432
  JobStatus2["OPEN"] = "OPEN";
@@ -1281,8 +1438,8 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
1281
1438
  var JobStatusDto = class {
1282
1439
  };
1283
1440
  __decorateClass([
1284
- IsNotEmpty31({ message: "Please provide a job status" }),
1285
- IsEnum11(JobStatus, {
1441
+ IsNotEmpty40({ message: "Please provide a job status" }),
1442
+ IsEnum12(JobStatus, {
1286
1443
  message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
1287
1444
  })
1288
1445
  ], JobStatusDto.prototype, "status", 2);
@@ -1299,13 +1456,13 @@ __decorateClass([
1299
1456
 
1300
1457
  // src/modules/job/dto/job-basic-information-v2.dto.ts
1301
1458
  import {
1302
- IsString as IsString15,
1303
- IsNotEmpty as IsNotEmpty32,
1304
- IsArray as IsArray2,
1459
+ IsString as IsString23,
1460
+ IsNotEmpty as IsNotEmpty41,
1461
+ IsArray as IsArray3,
1305
1462
  ArrayNotEmpty as ArrayNotEmpty2,
1306
- IsNumber as IsNumber3,
1307
- IsOptional as IsOptional15,
1308
- IsEnum as IsEnum12,
1463
+ IsNumber as IsNumber4,
1464
+ IsOptional as IsOptional21,
1465
+ IsEnum as IsEnum13,
1309
1466
  Min as Min2,
1310
1467
  ValidateIf as ValidateIf4,
1311
1468
  MaxLength as MaxLength9,
@@ -1340,77 +1497,92 @@ var StepCompletedEnumV2 = /* @__PURE__ */ ((StepCompletedEnumV22) => {
1340
1497
  var JobLocationDto = class {
1341
1498
  };
1342
1499
  __decorateClass([
1343
- IsOptional15(),
1500
+ IsOptional21(),
1344
1501
  Type3(() => Number)
1345
1502
  ], JobLocationDto.prototype, "countryId", 2);
1346
1503
  __decorateClass([
1347
- IsOptional15(),
1504
+ IsOptional21(),
1348
1505
  Type3(() => Number)
1349
1506
  ], JobLocationDto.prototype, "stateId", 2);
1350
1507
  __decorateClass([
1351
- IsOptional15(),
1508
+ IsOptional21(),
1352
1509
  Type3(() => Number)
1353
1510
  ], JobLocationDto.prototype, "cityId", 2);
1511
+ __decorateClass([
1512
+ IsOptional21(),
1513
+ IsString23({ message: "Country name must be a string" }),
1514
+ MaxLength9(255, { message: "Country name must not exceed 255 characters" })
1515
+ ], JobLocationDto.prototype, "countryName", 2);
1516
+ __decorateClass([
1517
+ IsOptional21(),
1518
+ IsString23({ message: "State name must be a string" }),
1519
+ MaxLength9(255, { message: "State name must not exceed 255 characters" })
1520
+ ], JobLocationDto.prototype, "stateName", 2);
1521
+ __decorateClass([
1522
+ IsOptional21(),
1523
+ IsString23({ message: "City name must be a string" }),
1524
+ MaxLength9(255, { message: "City name must not exceed 255 characters" })
1525
+ ], JobLocationDto.prototype, "cityName", 2);
1354
1526
  var JobBasicInformationV2Dto = class {
1355
1527
  constructor() {
1356
1528
  this.isDraft = false;
1357
1529
  }
1358
1530
  };
1359
1531
  __decorateClass([
1360
- IsOptional15(),
1532
+ IsOptional21(),
1361
1533
  Type3(() => Boolean)
1362
1534
  ], JobBasicInformationV2Dto.prototype, "isDraft", 2);
1363
1535
  __decorateClass([
1364
- IsNotEmpty32({ message: "Please enter job role" }),
1365
- IsString15({ message: "Job role must be a string" })
1536
+ IsNotEmpty41({ message: "Please enter job role" }),
1537
+ IsString23({ message: "Job role must be a string" })
1366
1538
  ], JobBasicInformationV2Dto.prototype, "jobRole", 2);
1367
1539
  __decorateClass([
1368
- IsOptional15()
1540
+ IsOptional21()
1369
1541
  ], JobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
1370
1542
  __decorateClass([
1371
- IsOptional15(),
1372
- IsString15({ message: "Project name must be a string" })
1543
+ IsOptional21(),
1544
+ IsString23({ message: "Project name must be a string" })
1373
1545
  ], JobBasicInformationV2Dto.prototype, "projectName", 2);
1374
1546
  __decorateClass([
1375
- IsOptional15(),
1376
- IsString15({ message: "Note must be a string" })
1547
+ IsOptional21(),
1548
+ IsString23({ message: "Note must be a string" })
1377
1549
  ], JobBasicInformationV2Dto.prototype, "note", 2);
1378
1550
  __decorateClass([
1379
1551
  ValidateIf4((o) => !o.isDraft),
1380
- IsOptional15(),
1381
- IsArray2({ message: "Skills must be an array" }),
1552
+ IsOptional21(),
1553
+ IsArray3({ message: "Skills must be an array" }),
1382
1554
  ArrayNotEmpty2({ message: "Please select at least one skill" }),
1383
- IsString15({ each: true, message: "Each skill must be a string" }),
1555
+ IsString23({ each: true, message: "Each skill must be a string" }),
1384
1556
  Type3(() => String)
1385
1557
  ], JobBasicInformationV2Dto.prototype, "skills", 2);
1386
1558
  __decorateClass([
1387
1559
  ValidateIf4((o) => !o.isDraft),
1388
- IsArray2({ message: "Good to have skills must be an array" }),
1389
- IsString15({ each: true, message: "Each skill must be a string" }),
1390
- IsOptional15(),
1560
+ IsArray3({ message: "Good to have skills must be an array" }),
1561
+ IsString23({ each: true, message: "Each skill must be a string" }),
1562
+ IsOptional21(),
1391
1563
  Type3(() => String)
1392
1564
  ], JobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
1393
1565
  __decorateClass([
1394
1566
  ValidateIf4((o) => !o.isDraft),
1395
- IsNumber3({}, { message: "Openings must be a number" }),
1567
+ IsNumber4({}, { message: "Openings must be a number" }),
1396
1568
  Min2(1, { message: "There must be at least 1 opening" }),
1397
1569
  Type3(() => Number)
1398
1570
  ], JobBasicInformationV2Dto.prototype, "openings", 2);
1399
1571
  __decorateClass([
1400
1572
  ValidateIf4((o) => !o.isDraft),
1401
- IsEnum12(JobLocationEnumV2, {
1573
+ IsEnum13(JobLocationEnumV2, {
1402
1574
  message: `Location must be one of: ${Object.values(JobLocationEnumV2).join(
1403
1575
  ", "
1404
1576
  )}`
1405
1577
  })
1406
1578
  ], JobBasicInformationV2Dto.prototype, "locationMode", 2);
1407
1579
  __decorateClass([
1408
- IsOptional15(),
1580
+ IsOptional21(),
1409
1581
  Type3(() => JobLocationDto)
1410
1582
  ], JobBasicInformationV2Dto.prototype, "locations", 2);
1411
1583
  __decorateClass([
1412
1584
  ValidateIf4((o) => !o.isDraft),
1413
- IsEnum12(EmploymentTypeV2, {
1585
+ IsEnum13(EmploymentTypeV2, {
1414
1586
  message: `Type of employment must be one of: ${Object.values(
1415
1587
  EmploymentTypeV2
1416
1588
  ).join(", ")}`
@@ -1418,125 +1590,125 @@ __decorateClass([
1418
1590
  ], JobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
1419
1591
  __decorateClass([
1420
1592
  ValidateIf4((o) => !o.isDraft),
1421
- IsString15({ message: "Currency must be a string" })
1593
+ IsString23({ message: "Currency must be a string" })
1422
1594
  ], JobBasicInformationV2Dto.prototype, "currency", 2);
1423
1595
  __decorateClass([
1424
1596
  ValidateIf4((o) => !o.isDraft),
1425
- IsNumber3({}, { message: "Expected salary (from) must be a number" }),
1597
+ IsNumber4({}, { message: "Expected salary (from) must be a number" }),
1426
1598
  Min2(0, { message: "Expected salary (from) cannot be negative" }),
1427
1599
  Type3(() => Number)
1428
1600
  ], JobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
1429
1601
  __decorateClass([
1430
- IsOptional15()
1602
+ IsOptional21()
1431
1603
  ], JobBasicInformationV2Dto.prototype, "hideExpectedSalaryFrom", 2);
1432
1604
  __decorateClass([
1433
1605
  ValidateIf4((o) => !o.isDraft),
1434
- IsNumber3({}, { message: "Expected salary (to) must be a number" }),
1606
+ IsNumber4({}, { message: "Expected salary (to) must be a number" }),
1435
1607
  Min2(0, { message: "Expected salary (to) cannot be negative" }),
1436
1608
  Type3(() => Number)
1437
1609
  ], JobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
1438
1610
  __decorateClass([
1439
- IsOptional15()
1611
+ IsOptional21()
1440
1612
  ], JobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
1441
1613
  __decorateClass([
1442
- IsOptional15(),
1443
- IsNumber3({}, { message: "Expected annual budget (from) must be a number" }),
1614
+ IsOptional21(),
1615
+ IsNumber4({}, { message: "Expected annual budget (from) must be a number" }),
1444
1616
  Min2(0, { message: "Expected annual budget (from) cannot be negative" }),
1445
1617
  Type3(() => Number)
1446
1618
  ], JobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
1447
1619
  __decorateClass([
1448
- IsOptional15()
1620
+ IsOptional21()
1449
1621
  ], JobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
1450
1622
  __decorateClass([
1451
- IsOptional15(),
1452
- IsNumber3({}, { message: "Expected annual budget (to) must be a number" }),
1623
+ IsOptional21(),
1624
+ IsNumber4({}, { message: "Expected annual budget (to) must be a number" }),
1453
1625
  Min2(0, { message: "Expected annual budget (to) cannot be negative" }),
1454
1626
  Type3(() => Number)
1455
1627
  ], JobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
1456
1628
  __decorateClass([
1457
- IsOptional15()
1629
+ IsOptional21()
1458
1630
  ], JobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
1459
1631
  __decorateClass([
1460
- IsOptional15()
1632
+ IsOptional21()
1461
1633
  ], JobBasicInformationV2Dto.prototype, "years", 2);
1462
1634
  __decorateClass([
1463
- IsOptional15()
1635
+ IsOptional21()
1464
1636
  ], JobBasicInformationV2Dto.prototype, "months", 2);
1465
1637
  __decorateClass([
1466
- IsOptional15()
1638
+ IsOptional21()
1467
1639
  ], JobBasicInformationV2Dto.prototype, "weeks", 2);
1468
1640
  __decorateClass([
1469
- IsOptional15()
1641
+ IsOptional21()
1470
1642
  ], JobBasicInformationV2Dto.prototype, "days", 2);
1471
1643
  __decorateClass([
1472
- IsOptional15(),
1473
- IsNumber3({}, { message: "Number of hours must be a number" }),
1644
+ IsOptional21(),
1645
+ IsNumber4({}, { message: "Number of hours must be a number" }),
1474
1646
  Min2(0, { message: "Number of hours cannot be negative" }),
1475
1647
  Max2(40, { message: "Number of hours cannot exceed 40" }),
1476
1648
  Type3(() => Number)
1477
1649
  ], JobBasicInformationV2Dto.prototype, "numberOfHours", 2);
1478
1650
  __decorateClass([
1479
1651
  ValidateIf4((o) => !o.isDraft),
1480
- IsString15({ message: "Candidate communication skills must be a string" }),
1481
- IsOptional15()
1652
+ IsString23({ message: "Candidate communication skills must be a string" }),
1653
+ IsOptional21()
1482
1654
  ], JobBasicInformationV2Dto.prototype, "candidateCommunicationSkills", 2);
1483
1655
  __decorateClass([
1484
1656
  ValidateIf4((o) => !o.isDraft),
1485
- IsNotEmpty32({ message: "Please enter the academic qualification" }),
1486
- IsString15({ message: "Academic qualification must be a string" })
1657
+ IsNotEmpty41({ message: "Please enter the academic qualification" }),
1658
+ IsString23({ message: "Academic qualification must be a string" })
1487
1659
  ], JobBasicInformationV2Dto.prototype, "academicQualification", 2);
1488
1660
  __decorateClass([
1489
1661
  ValidateIf4((o) => !o.isDraft),
1490
- IsNotEmpty32({ message: "Please enter the years of experience" }),
1491
- IsString15({ message: "Years of experience must be a string" })
1662
+ IsNotEmpty41({ message: "Please enter the years of experience" }),
1663
+ IsString23({ message: "Years of experience must be a string" })
1492
1664
  ], JobBasicInformationV2Dto.prototype, "yearsOfExperienceFrom", 2);
1493
1665
  __decorateClass([
1494
1666
  ValidateIf4((o) => !o.isDraft),
1495
- IsNotEmpty32({ message: "Please enter the years of experience upto" }),
1496
- IsString15({ message: "Years of experience must be a string" })
1667
+ IsNotEmpty41({ message: "Please enter the years of experience upto" }),
1668
+ IsString23({ message: "Years of experience must be a string" })
1497
1669
  ], JobBasicInformationV2Dto.prototype, "yearsOfExperienceTo", 2);
1498
1670
  __decorateClass([
1499
- IsOptional15(),
1500
- IsString15({ message: "Business industry must be a string" })
1671
+ IsOptional21(),
1672
+ IsString23({ message: "Business industry must be a string" })
1501
1673
  ], JobBasicInformationV2Dto.prototype, "businessIndustry", 2);
1502
1674
  __decorateClass([
1503
- IsOptional15(),
1504
- IsEnum12(StepCompletedEnumV2, {
1675
+ IsOptional21(),
1676
+ IsEnum13(StepCompletedEnumV2, {
1505
1677
  message: `Type of stepCompleted must be one of: ${Object.values(
1506
1678
  StepCompletedEnumV2
1507
1679
  ).join(", ")}`
1508
1680
  })
1509
1681
  ], JobBasicInformationV2Dto.prototype, "stepCompleted", 2);
1510
1682
  __decorateClass([
1511
- IsOptional15(),
1512
- IsString15({ message: "Additional comment must be a string" }),
1683
+ IsOptional21(),
1684
+ IsString23({ message: "Additional comment must be a string" }),
1513
1685
  MaxLength9(500, { message: "Additional comment must not exceed 500 characters" })
1514
1686
  ], JobBasicInformationV2Dto.prototype, "additionalComment", 2);
1515
1687
 
1516
1688
  // src/modules/job/dto/close-job.dto.ts
1517
- import { IsOptional as IsOptional16, IsString as IsString16 } from "class-validator";
1689
+ import { IsOptional as IsOptional22, IsString as IsString24 } from "class-validator";
1518
1690
  var CloseJobDto = class {
1519
1691
  };
1520
1692
  __decorateClass([
1521
- IsOptional16(),
1522
- IsString16()
1693
+ IsOptional22(),
1694
+ IsString24()
1523
1695
  ], CloseJobDto.prototype, "reason", 2);
1524
1696
 
1525
1697
  // src/modules/job/dto/create-job-application.dto.ts
1526
- import { IsBoolean as IsBoolean3, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional17, IsString as IsString17 } from "class-validator";
1698
+ import { IsBoolean as IsBoolean3, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional23, IsString as IsString25 } from "class-validator";
1527
1699
  var CreateJobApplicationDto = class {
1528
1700
  };
1529
1701
  __decorateClass([
1530
- IsNotEmpty33({ message: "Job ID is required" }),
1531
- IsString17({ message: "Job ID must be a string" })
1702
+ IsNotEmpty42({ message: "Job ID is required" }),
1703
+ IsString25({ message: "Job ID must be a string" })
1532
1704
  ], CreateJobApplicationDto.prototype, "jobId", 2);
1533
1705
  __decorateClass([
1534
- IsOptional17(),
1706
+ IsOptional23(),
1535
1707
  IsBoolean3({ message: "isCta must be a boolean" })
1536
1708
  ], CreateJobApplicationDto.prototype, "isCta", 2);
1537
1709
 
1538
1710
  // src/modules/job/dto/change-job-application-status.dto.ts
1539
- import { IsEnum as IsEnum13, IsNotEmpty as IsNotEmpty34 } from "class-validator";
1711
+ import { IsEnum as IsEnum14, IsNotEmpty as IsNotEmpty43 } from "class-validator";
1540
1712
  var JobApplicationStatus = /* @__PURE__ */ ((JobApplicationStatus2) => {
1541
1713
  JobApplicationStatus2["PENDING"] = "PENDING";
1542
1714
  JobApplicationStatus2["SHORTLISTED"] = "SHORTLISTED";
@@ -1548,24 +1720,24 @@ var JobApplicationStatus = /* @__PURE__ */ ((JobApplicationStatus2) => {
1548
1720
  var ChangeJobApplicationStatusDto = class {
1549
1721
  };
1550
1722
  __decorateClass([
1551
- IsNotEmpty34({ message: "Status is required" }),
1552
- IsEnum13(JobApplicationStatus, {
1723
+ IsNotEmpty43({ message: "Status is required" }),
1724
+ IsEnum14(JobApplicationStatus, {
1553
1725
  message: `Status must be one of: ${Object.values(JobApplicationStatus).join(", ")}`
1554
1726
  })
1555
1727
  ], ChangeJobApplicationStatusDto.prototype, "status", 2);
1556
1728
 
1557
1729
  // src/modules/job/dto/change-job-application-status-bulk.dto.ts
1558
- import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsEnum as IsEnum14, IsNotEmpty as IsNotEmpty35, IsNumber as IsNumber4 } from "class-validator";
1730
+ import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray4, IsEnum as IsEnum15, IsNotEmpty as IsNotEmpty44, IsNumber as IsNumber5 } from "class-validator";
1559
1731
  var ChangeJobApplicationStatusBulkDto = class {
1560
1732
  };
1561
1733
  __decorateClass([
1562
- IsArray3({ message: "Job application IDs must be an array" }),
1734
+ IsArray4({ message: "Job application IDs must be an array" }),
1563
1735
  ArrayNotEmpty3({ message: "At least one job application ID is required" }),
1564
- IsNumber4({}, { each: true, message: "Each job application ID must be a number" })
1736
+ IsNumber5({}, { each: true, message: "Each job application ID must be a number" })
1565
1737
  ], ChangeJobApplicationStatusBulkDto.prototype, "jobApplicationIds", 2);
1566
1738
  __decorateClass([
1567
- IsNotEmpty35({ message: "Status is required" }),
1568
- IsEnum14(JobApplicationStatus, {
1739
+ IsNotEmpty44({ message: "Status is required" }),
1740
+ IsEnum15(JobApplicationStatus, {
1569
1741
  message: `Status must be one of: ${Object.values(JobApplicationStatus).join(", ")}`
1570
1742
  })
1571
1743
  ], ChangeJobApplicationStatusBulkDto.prototype, "status", 2);
@@ -1613,8 +1785,8 @@ var FREELANCER_ASSESSMENT_REQUEST_PATTERN = {
1613
1785
 
1614
1786
  // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
1615
1787
  import {
1616
- IsString as IsString18,
1617
- IsNotEmpty as IsNotEmpty36,
1788
+ IsString as IsString26,
1789
+ IsNotEmpty as IsNotEmpty45,
1618
1790
  MaxLength as MaxLength10,
1619
1791
  MinLength as MinLength7,
1620
1792
  Matches as Matches8
@@ -1622,12 +1794,12 @@ import {
1622
1794
  var FreelancerChangePasswordDto = class {
1623
1795
  };
1624
1796
  __decorateClass([
1625
- IsNotEmpty36({ message: "Please enter Old Password." }),
1626
- IsString18()
1797
+ IsNotEmpty45({ message: "Please enter Old Password." }),
1798
+ IsString26()
1627
1799
  ], FreelancerChangePasswordDto.prototype, "oldPassword", 2);
1628
1800
  __decorateClass([
1629
- IsNotEmpty36({ message: "Please enter New Password." }),
1630
- IsString18(),
1801
+ IsNotEmpty45({ message: "Please enter New Password." }),
1802
+ IsString26(),
1631
1803
  MinLength7(6),
1632
1804
  MaxLength10(32),
1633
1805
  Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -1637,12 +1809,12 @@ __decorateClass([
1637
1809
 
1638
1810
  // src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
1639
1811
  import {
1640
- IsOptional as IsOptional18,
1641
- IsString as IsString19,
1642
- IsEmail as IsEmail5,
1643
- IsNumber as IsNumber5,
1644
- IsEnum as IsEnum15,
1645
- IsNotEmpty as IsNotEmpty37,
1812
+ IsOptional as IsOptional24,
1813
+ IsString as IsString27,
1814
+ IsEmail as IsEmail6,
1815
+ IsNumber as IsNumber6,
1816
+ IsEnum as IsEnum16,
1817
+ IsNotEmpty as IsNotEmpty46,
1646
1818
  ValidateIf as ValidateIf5,
1647
1819
  IsInt
1648
1820
  } from "class-validator";
@@ -1661,116 +1833,151 @@ var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
1661
1833
  var UpdateFreelancerProfileDto = class {
1662
1834
  };
1663
1835
  __decorateClass([
1664
- IsNotEmpty37({ message: "Please enter first name." }),
1665
- IsString19({ message: "Please enter valid first name." })
1836
+ IsNotEmpty46({ message: "Please enter first name." }),
1837
+ IsString27({ message: "Please enter valid first name." })
1666
1838
  ], UpdateFreelancerProfileDto.prototype, "firstName", 2);
1667
1839
  __decorateClass([
1668
- IsOptional18(),
1669
- IsNotEmpty37({ message: "Please enter last name." }),
1670
- IsString19({ message: "Please enter valid last name." })
1840
+ IsOptional24(),
1841
+ IsNotEmpty46({ message: "Please enter last name." }),
1842
+ IsString27({ message: "Please enter valid last name." })
1671
1843
  ], UpdateFreelancerProfileDto.prototype, "lastName", 2);
1672
1844
  __decorateClass([
1673
- IsNotEmpty37({ message: "Please enter designation." }),
1674
- IsString19({ message: "Please enter valid designation." })
1845
+ IsNotEmpty46({ message: "Please enter designation." }),
1846
+ IsString27({ message: "Please enter valid designation." })
1675
1847
  ], UpdateFreelancerProfileDto.prototype, "designation", 2);
1676
1848
  __decorateClass([
1677
- IsNotEmpty37({ message: "Please enter experience." }),
1678
- IsString19({ message: "Please enter valid experience." })
1849
+ IsNotEmpty46({ message: "Please enter experience." }),
1850
+ IsString27({ message: "Please enter valid experience." })
1679
1851
  ], UpdateFreelancerProfileDto.prototype, "experience", 2);
1680
1852
  __decorateClass([
1681
- IsNotEmpty37({ message: "Please enter email id." }),
1682
- IsEmail5()
1853
+ IsNotEmpty46({ message: "Please enter email id." }),
1854
+ IsEmail6()
1683
1855
  ], UpdateFreelancerProfileDto.prototype, "email", 2);
1684
1856
  __decorateClass([
1685
- IsNotEmpty37({ message: "Please enter mobile code." }),
1686
- IsString19({ message: "Please enter valid mobile code." })
1857
+ IsNotEmpty46({ message: "Please enter mobile code." }),
1858
+ IsString27({ message: "Please enter valid mobile code." })
1687
1859
  ], UpdateFreelancerProfileDto.prototype, "mobileCode", 2);
1688
1860
  __decorateClass([
1689
- IsNotEmpty37({ message: "Please enter mobile number." }),
1690
- IsString19({ message: "Please enter valid mobile number." })
1861
+ IsNotEmpty46({ message: "Please enter mobile number." }),
1862
+ IsString27({ message: "Please enter valid mobile number." })
1691
1863
  ], UpdateFreelancerProfileDto.prototype, "mobile", 2);
1692
1864
  __decorateClass([
1693
- IsOptional18(),
1694
- IsNumber5()
1865
+ IsOptional24(),
1866
+ IsNumber6()
1695
1867
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
1696
1868
  __decorateClass([
1697
- IsOptional18(),
1698
- IsNumber5()
1869
+ IsOptional24(),
1870
+ IsNumber6()
1699
1871
  ], UpdateFreelancerProfileDto.prototype, "stateId", 2);
1700
1872
  __decorateClass([
1701
- IsOptional18(),
1702
- IsNumber5()
1873
+ IsOptional24(),
1874
+ IsNumber6()
1703
1875
  ], UpdateFreelancerProfileDto.prototype, "cityId", 2);
1704
1876
  //@IsString({ message: "Please enter valid expected hourly compensation." })
1705
1877
  __decorateClass([
1706
- IsNotEmpty37({ message: "Please enter expected hourly compensation." })
1878
+ IsNotEmpty46({ message: "Please enter expected hourly compensation." })
1707
1879
  ], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
1708
1880
  __decorateClass([
1709
1881
  ValidateIf5((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
1710
- IsNotEmpty37({ message: "Please enter expected annual compensation." })
1882
+ IsNotEmpty46({ message: "Please enter expected annual compensation." })
1711
1883
  ], UpdateFreelancerProfileDto.prototype, "expectedAnnualCompensation", 2);
1712
1884
  __decorateClass([
1713
1885
  ValidateIf5((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
1714
1886
  IsInt({ message: "Please enter valid weekly availability hours (integer)." }),
1715
- IsNotEmpty37({ message: "Please enter weekly availability hours" })
1887
+ IsNotEmpty46({ message: "Please enter weekly availability hours" })
1716
1888
  ], UpdateFreelancerProfileDto.prototype, "numberOfHours", 2);
1717
1889
  __decorateClass([
1718
- IsNotEmpty37({ message: "Please select engagement type." }),
1719
- IsEnum15(NatureOfWorkDto, {
1890
+ IsNotEmpty46({ message: "Please select engagement type." }),
1891
+ IsEnum16(NatureOfWorkDto, {
1720
1892
  message: `Engagement Type must be one of: ${Object.values(
1721
1893
  NatureOfWorkDto
1722
1894
  ).join(", ")}`
1723
1895
  })
1724
1896
  ], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
1725
1897
  __decorateClass([
1726
- IsNotEmpty37({ message: "Please select mode of work." }),
1727
- IsEnum15(ModeOfWorkDto, {
1898
+ IsNotEmpty46({ message: "Please select mode of work." }),
1899
+ IsEnum16(ModeOfWorkDto, {
1728
1900
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkDto).join(
1729
1901
  ", "
1730
1902
  )}`
1731
1903
  })
1732
1904
  ], UpdateFreelancerProfileDto.prototype, "modeOfWork", 2);
1733
1905
  __decorateClass([
1734
- IsOptional18(),
1735
- IsString19()
1906
+ IsOptional24(),
1907
+ IsString27()
1736
1908
  ], UpdateFreelancerProfileDto.prototype, "portfolioLink", 2);
1737
1909
  __decorateClass([
1738
- IsNotEmpty37({ message: "Please enter address." }),
1739
- IsString19()
1910
+ IsNotEmpty46({ message: "Please enter address." }),
1911
+ IsString27()
1740
1912
  ], UpdateFreelancerProfileDto.prototype, "address", 2);
1741
1913
  __decorateClass([
1742
- IsOptional18(),
1743
- IsString19()
1914
+ IsOptional24(),
1915
+ IsString27()
1744
1916
  ], UpdateFreelancerProfileDto.prototype, "addressLine", 2);
1745
1917
  __decorateClass([
1746
- IsNotEmpty37({ message: "Please enter postalCode." }),
1747
- IsString19()
1918
+ IsNotEmpty46({ message: "Please enter postalCode." }),
1919
+ IsString27()
1748
1920
  ], UpdateFreelancerProfileDto.prototype, "postalCode", 2);
1749
1921
  __decorateClass([
1750
- IsOptional18(),
1751
- IsString19()
1922
+ IsOptional24(),
1923
+ IsString27()
1752
1924
  ], UpdateFreelancerProfileDto.prototype, "about", 2);
1753
1925
  __decorateClass([
1754
- IsOptional18(),
1755
- IsString19()
1926
+ IsOptional24(),
1927
+ IsString27()
1756
1928
  ], UpdateFreelancerProfileDto.prototype, "linkedinProfileLink", 2);
1757
1929
  __decorateClass([
1758
- IsOptional18(),
1759
- IsString19()
1930
+ IsOptional24(),
1931
+ IsString27()
1760
1932
  ], UpdateFreelancerProfileDto.prototype, "kaggleProfileLink", 2);
1761
1933
  __decorateClass([
1762
- IsOptional18(),
1763
- IsString19()
1934
+ IsOptional24(),
1935
+ IsString27()
1764
1936
  ], UpdateFreelancerProfileDto.prototype, "githubProfileLink", 2);
1765
1937
  __decorateClass([
1766
- IsOptional18(),
1767
- IsString19()
1938
+ IsOptional24(),
1939
+ IsString27()
1768
1940
  ], UpdateFreelancerProfileDto.prototype, "stackOverflowProfileLink", 2);
1769
1941
  __decorateClass([
1770
- IsOptional18(),
1771
- IsString19()
1942
+ IsOptional24(),
1943
+ IsString27()
1772
1944
  ], UpdateFreelancerProfileDto.prototype, "resumeUrl", 2);
1773
1945
 
1946
+ // src/modules/user/freelancer-profile/dto/freelancer-e-signature.dto.ts
1947
+ import { IsNotEmpty as IsNotEmpty47, IsString as IsString28 } from "class-validator";
1948
+ var FreelancerESignatureDto = class {
1949
+ };
1950
+ __decorateClass([
1951
+ IsNotEmpty47({ message: "Agreement UUID is required" }),
1952
+ IsString28({ message: "Agreement UUID must be a string" })
1953
+ ], FreelancerESignatureDto.prototype, "agreementUuid", 2);
1954
+
1955
+ // src/modules/user/freelancer-profile/dto/fetch-client-info-for-chat.dto.ts
1956
+ import { IsNotEmpty as IsNotEmpty48, IsNumber as IsNumber7 } from "class-validator";
1957
+ var FetchClientInfoForChatDto = class {
1958
+ };
1959
+ __decorateClass([
1960
+ IsNotEmpty48({ message: "Client ID is required" }),
1961
+ IsNumber7({}, { message: "Client ID must be a number" })
1962
+ ], FetchClientInfoForChatDto.prototype, "clientId", 2);
1963
+
1964
+ // src/modules/user/freelancer-profile/dto/capture-ai-assessment-result.dto.ts
1965
+ import { IsNotEmpty as IsNotEmpty49, IsString as IsString29, IsOptional as IsOptional25, IsObject as IsObject4 } from "class-validator";
1966
+ var CaptureAiAssessmentResultDto = class {
1967
+ };
1968
+ __decorateClass([
1969
+ IsNotEmpty49({ message: "AI Assessment UUID is required" }),
1970
+ IsString29({ message: "AI Assessment UUID must be a string" })
1971
+ ], CaptureAiAssessmentResultDto.prototype, "aiAssessmentUuid", 2);
1972
+ __decorateClass([
1973
+ IsOptional25(),
1974
+ IsObject4()
1975
+ ], CaptureAiAssessmentResultDto.prototype, "result", 2);
1976
+ __decorateClass([
1977
+ IsOptional25(),
1978
+ IsString29()
1979
+ ], CaptureAiAssessmentResultDto.prototype, "status", 2);
1980
+
1774
1981
  // src/modules/bank/pattern/pattern.ts
1775
1982
  var BANK_PATTERN = {
1776
1983
  addFreelancerBankDetails: "add.freelancer.bankdetails",
@@ -1783,10 +1990,10 @@ var BANK_PATTERN = {
1783
1990
 
1784
1991
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
1785
1992
  import {
1786
- IsEnum as IsEnum16,
1787
- IsNotEmpty as IsNotEmpty38,
1788
- IsOptional as IsOptional19,
1789
- IsString as IsString20,
1993
+ IsEnum as IsEnum17,
1994
+ IsNotEmpty as IsNotEmpty50,
1995
+ IsOptional as IsOptional26,
1996
+ IsString as IsString30,
1790
1997
  ValidateIf as ValidateIf6
1791
1998
  } from "class-validator";
1792
1999
  var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
@@ -1797,51 +2004,51 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
1797
2004
  var FreelancerBankDetailsDto = class {
1798
2005
  };
1799
2006
  __decorateClass([
1800
- IsNotEmpty38({ message: "Please enter Account Holder Name." })
2007
+ IsNotEmpty50({ message: "Please enter Account Holder Name." })
1801
2008
  ], FreelancerBankDetailsDto.prototype, "name", 2);
1802
2009
  __decorateClass([
1803
- IsNotEmpty38({ message: "Please enter Mobile Code." })
2010
+ IsNotEmpty50({ message: "Please enter Mobile Code." })
1804
2011
  ], FreelancerBankDetailsDto.prototype, "mobileCode", 2);
1805
2012
  __decorateClass([
1806
- IsNotEmpty38({ message: "Please enter Mobile Number." })
2013
+ IsNotEmpty50({ message: "Please enter Mobile Number." })
1807
2014
  ], FreelancerBankDetailsDto.prototype, "mobile", 2);
1808
2015
  __decorateClass([
1809
- IsNotEmpty38({ message: "Please enter Email." })
2016
+ IsNotEmpty50({ message: "Please enter Email." })
1810
2017
  ], FreelancerBankDetailsDto.prototype, "email", 2);
1811
2018
  __decorateClass([
1812
- IsOptional19()
2019
+ IsOptional26()
1813
2020
  ], FreelancerBankDetailsDto.prototype, "address", 2);
1814
2021
  __decorateClass([
1815
- IsNotEmpty38({ message: "Please enter Account Number." })
2022
+ IsNotEmpty50({ message: "Please enter Account Number." })
1816
2023
  ], FreelancerBankDetailsDto.prototype, "accountNumber", 2);
1817
2024
  __decorateClass([
1818
- IsNotEmpty38({ message: "Please enter Bank Name." })
2025
+ IsNotEmpty50({ message: "Please enter Bank Name." })
1819
2026
  ], FreelancerBankDetailsDto.prototype, "bankName", 2);
1820
2027
  __decorateClass([
1821
- IsOptional19(),
1822
- IsString20()
2028
+ IsOptional26(),
2029
+ IsString30()
1823
2030
  ], FreelancerBankDetailsDto.prototype, "branchName", 2);
1824
2031
  __decorateClass([
1825
2032
  ValidateIf6((dto) => dto.accountScope === "DOMESTIC"),
1826
- IsNotEmpty38({ message: "IFSC Code is required for DOMESTIC accounts." })
2033
+ IsNotEmpty50({ message: "IFSC Code is required for DOMESTIC accounts." })
1827
2034
  ], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
1828
2035
  __decorateClass([
1829
2036
  ValidateIf6((dto) => dto.accountScope === "INTERNATIONAL"),
1830
- IsNotEmpty38({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
2037
+ IsNotEmpty50({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
1831
2038
  ], FreelancerBankDetailsDto.prototype, "routingNo", 2);
1832
2039
  __decorateClass([
1833
2040
  ValidateIf6((dto) => dto.accountScope === "INTERNATIONAL"),
1834
- IsNotEmpty38({ message: "ABA Number is required for INTERNATIONAL accounts." })
2041
+ IsNotEmpty50({ message: "ABA Number is required for INTERNATIONAL accounts." })
1835
2042
  ], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
1836
2043
  __decorateClass([
1837
2044
  ValidateIf6((dto) => dto.accountScope === "INTERNATIONAL"),
1838
- IsNotEmpty38({ message: "IBAN is required for INTERNATIONAL accounts." })
2045
+ IsNotEmpty50({ message: "IBAN is required for INTERNATIONAL accounts." })
1839
2046
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
1840
2047
  __decorateClass([
1841
- IsOptional19()
2048
+ IsOptional26()
1842
2049
  ], FreelancerBankDetailsDto.prototype, "accountType", 2);
1843
2050
  __decorateClass([
1844
- IsEnum16(BankAccountScope, {
2051
+ IsEnum17(BankAccountScope, {
1845
2052
  message: `Type of Account Scope must be one of: ${Object.values(
1846
2053
  BankAccountScope
1847
2054
  ).join(", ")}`
@@ -1863,7 +2070,7 @@ var SYSTEM_PREFERENCES_PATTERN = {
1863
2070
  // src/modules/system-preference/dto/system-preference.dto.ts
1864
2071
  import {
1865
2072
  IsBoolean as IsBoolean4,
1866
- IsEnum as IsEnum17
2073
+ IsEnum as IsEnum18
1867
2074
  } from "class-validator";
1868
2075
  var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
1869
2076
  SystemPreferenceKey2["EMAIL_NOTIFICATION"] = "EMAIL_NOTIFICATION";
@@ -1876,7 +2083,7 @@ __decorateClass([
1876
2083
  IsBoolean4()
1877
2084
  ], SystemPreferenceDto.prototype, "value", 2);
1878
2085
  __decorateClass([
1879
- IsEnum17(SystemPreferenceKey, {
2086
+ IsEnum18(SystemPreferenceKey, {
1880
2087
  message: `key must be one of: ${Object.values(
1881
2088
  SystemPreferenceKey
1882
2089
  ).join(", ")}`
@@ -1914,6 +2121,31 @@ var EMAIL_PATTERN = {
1914
2121
  cleanQueue: "email.clean.queue"
1915
2122
  };
1916
2123
 
2124
+ // src/modules/notification/dto/test-notification.dto.ts
2125
+ import { IsOptional as IsOptional27, IsString as IsString31, IsObject as IsObject5, IsEmail as IsEmail7, IsPhoneNumber as IsPhoneNumber2 } from "class-validator";
2126
+ var TestNotificationDto = class {
2127
+ };
2128
+ __decorateClass([
2129
+ IsOptional27(),
2130
+ IsEmail7({}, { message: "Email must be valid" })
2131
+ ], TestNotificationDto.prototype, "email", 2);
2132
+ __decorateClass([
2133
+ IsOptional27(),
2134
+ IsPhoneNumber2()
2135
+ ], TestNotificationDto.prototype, "phone", 2);
2136
+ __decorateClass([
2137
+ IsOptional27(),
2138
+ IsString31()
2139
+ ], TestNotificationDto.prototype, "message", 2);
2140
+ __decorateClass([
2141
+ IsOptional27(),
2142
+ IsObject5()
2143
+ ], TestNotificationDto.prototype, "data", 2);
2144
+ __decorateClass([
2145
+ IsOptional27(),
2146
+ IsString31()
2147
+ ], TestNotificationDto.prototype, "type", 2);
2148
+
1917
2149
  // src/modules/rating/pattern/pattern.ts
1918
2150
  var RATING_PATTERN = {
1919
2151
  addRating: "add.rating",
@@ -1922,11 +2154,11 @@ var RATING_PATTERN = {
1922
2154
 
1923
2155
  // src/modules/rating/dto/add.rating.dto.ts
1924
2156
  import {
1925
- IsEnum as IsEnum18,
2157
+ IsEnum as IsEnum19,
1926
2158
  IsInt as IsInt2,
1927
- IsNotEmpty as IsNotEmpty39,
1928
- IsOptional as IsOptional20,
1929
- IsString as IsString21,
2159
+ IsNotEmpty as IsNotEmpty51,
2160
+ IsOptional as IsOptional28,
2161
+ IsString as IsString32,
1930
2162
  Max as Max3,
1931
2163
  Min as Min3
1932
2164
  } from "class-validator";
@@ -6727,10 +6959,10 @@ var CreateRatingDto = class {
6727
6959
  };
6728
6960
  __decorateClass([
6729
6961
  IsInt2({ message: "Reviewee ID must be a valid integer" }),
6730
- IsNotEmpty39({ message: "Reviewee ID is required" })
6962
+ IsNotEmpty51({ message: "Reviewee ID is required" })
6731
6963
  ], CreateRatingDto.prototype, "revieweeId", 2);
6732
6964
  __decorateClass([
6733
- IsEnum18(RatingTypeEnum, {
6965
+ IsEnum19(RatingTypeEnum, {
6734
6966
  message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
6735
6967
  })
6736
6968
  ], CreateRatingDto.prototype, "ratingType", 2);
@@ -6740,8 +6972,8 @@ __decorateClass([
6740
6972
  Max3(5, { message: "Rating must be at most 5" })
6741
6973
  ], CreateRatingDto.prototype, "rating", 2);
6742
6974
  __decorateClass([
6743
- IsOptional20(),
6744
- IsString21({ message: "Review must be a string" })
6975
+ IsOptional28(),
6976
+ IsString32({ message: "Review must be a string" })
6745
6977
  ], CreateRatingDto.prototype, "review", 2);
6746
6978
 
6747
6979
  // src/modules/company-role/pattern/pattern.ts
@@ -6757,48 +6989,48 @@ var COMPANY_ROLES_PATTERNS = {
6757
6989
  };
6758
6990
 
6759
6991
  // src/modules/company-role/dto/create-company-role.dto.ts
6760
- import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray4, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty40, IsOptional as IsOptional21 } from "class-validator";
6992
+ import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray5, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty52, IsOptional as IsOptional29 } from "class-validator";
6761
6993
  var CreateCompanyRoleDto = class {
6762
6994
  };
6763
6995
  __decorateClass([
6764
- IsNotEmpty40({ message: "Please enter company role name." })
6996
+ IsNotEmpty52({ message: "Please enter company role name." })
6765
6997
  ], CreateCompanyRoleDto.prototype, "name", 2);
6766
6998
  __decorateClass([
6767
- IsNotEmpty40({ message: "Please enter company role slug" })
6999
+ IsNotEmpty52({ message: "Please enter company role slug" })
6768
7000
  ], CreateCompanyRoleDto.prototype, "slug", 2);
6769
7001
  __decorateClass([
6770
- IsNotEmpty40({ message: "Please enter description" })
7002
+ IsNotEmpty52({ message: "Please enter description" })
6771
7003
  ], CreateCompanyRoleDto.prototype, "description", 2);
6772
7004
  __decorateClass([
6773
- IsArray4({ message: "Permission IDs must be an array." }),
7005
+ IsArray5({ message: "Permission IDs must be an array." }),
6774
7006
  ArrayNotEmpty4({ message: "Please select at least one permission." }),
6775
7007
  IsInt3({ each: true, message: "Each permission ID must be an integer." })
6776
7008
  ], CreateCompanyRoleDto.prototype, "permissionIds", 2);
6777
7009
  __decorateClass([
6778
- IsOptional21(),
7010
+ IsOptional29(),
6779
7011
  IsBoolean5({ message: "Is active must be a boolean value" })
6780
7012
  ], CreateCompanyRoleDto.prototype, "isActive", 2);
6781
7013
 
6782
7014
  // src/modules/company-role/dto/update-company-role.dto.ts
6783
- import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray5, IsBoolean as IsBoolean6, IsInt as IsInt4, IsNotEmpty as IsNotEmpty41, IsOptional as IsOptional22 } from "class-validator";
7015
+ import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray6, IsBoolean as IsBoolean6, IsInt as IsInt4, IsNotEmpty as IsNotEmpty53, IsOptional as IsOptional30 } from "class-validator";
6784
7016
  var UpdateCompanyRoleDto = class {
6785
7017
  };
6786
7018
  __decorateClass([
6787
- IsNotEmpty41({ message: "Please enter company name." })
7019
+ IsNotEmpty53({ message: "Please enter company name." })
6788
7020
  ], UpdateCompanyRoleDto.prototype, "name", 2);
6789
7021
  __decorateClass([
6790
- IsNotEmpty41({ message: "Please enter slug" })
7022
+ IsNotEmpty53({ message: "Please enter slug" })
6791
7023
  ], UpdateCompanyRoleDto.prototype, "slug", 2);
6792
7024
  __decorateClass([
6793
- IsNotEmpty41({ message: "Please enter description" })
7025
+ IsNotEmpty53({ message: "Please enter description" })
6794
7026
  ], UpdateCompanyRoleDto.prototype, "description", 2);
6795
7027
  __decorateClass([
6796
- IsArray5({ message: "Permission IDs must be an array." }),
7028
+ IsArray6({ message: "Permission IDs must be an array." }),
6797
7029
  ArrayNotEmpty5({ message: "Please select at least one permission." }),
6798
7030
  IsInt4({ each: true, message: "Each permission ID must be an integer." })
6799
7031
  ], UpdateCompanyRoleDto.prototype, "permissionIds", 2);
6800
7032
  __decorateClass([
6801
- IsOptional22(),
7033
+ IsOptional30(),
6802
7034
  IsBoolean6({ message: "Is active must be a boolean value" })
6803
7035
  ], UpdateCompanyRoleDto.prototype, "isActive", 2);
6804
7036
 
@@ -6819,9 +7051,9 @@ var FREELANCER_EXPERIENCE_PATTERN = {
6819
7051
  // src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
6820
7052
  import {
6821
7053
  ArrayMinSize,
6822
- IsNotEmpty as IsNotEmpty42,
6823
- IsOptional as IsOptional23,
6824
- IsString as IsString24,
7054
+ IsNotEmpty as IsNotEmpty54,
7055
+ IsOptional as IsOptional31,
7056
+ IsString as IsString35,
6825
7057
  MaxLength as MaxLength12,
6826
7058
  ValidateNested as ValidateNested2
6827
7059
  } from "class-validator";
@@ -6829,23 +7061,23 @@ import { Type as Type4 } from "class-transformer";
6829
7061
  var ExperienceDto = class {
6830
7062
  };
6831
7063
  __decorateClass([
6832
- IsOptional23()
7064
+ IsOptional31()
6833
7065
  ], ExperienceDto.prototype, "uuid", 2);
6834
7066
  __decorateClass([
6835
- IsNotEmpty42(),
6836
- IsString24()
7067
+ IsNotEmpty54(),
7068
+ IsString35()
6837
7069
  ], ExperienceDto.prototype, "companyName", 2);
6838
7070
  __decorateClass([
6839
- IsNotEmpty42(),
6840
- IsString24()
7071
+ IsNotEmpty54(),
7072
+ IsString35()
6841
7073
  ], ExperienceDto.prototype, "designation", 2);
6842
7074
  __decorateClass([
6843
- IsNotEmpty42(),
6844
- IsString24()
7075
+ IsNotEmpty54(),
7076
+ IsString35()
6845
7077
  ], ExperienceDto.prototype, "jobDuration", 2);
6846
7078
  __decorateClass([
6847
- IsOptional23(),
6848
- IsString24(),
7079
+ IsOptional31(),
7080
+ IsString35(),
6849
7081
  MaxLength12(5e3, { message: "Description must not exceed 5000 characters" })
6850
7082
  ], ExperienceDto.prototype, "description", 2);
6851
7083
  var FreelancerExperienceDto = class {
@@ -6869,33 +7101,33 @@ var COMPANY_MEMBERS_PATTERNS = {
6869
7101
  };
6870
7102
 
6871
7103
  // src/modules/company-member/dto/create-company-member.dto.ts
6872
- import { ArrayNotEmpty as ArrayNotEmpty6, IsArray as IsArray6, IsInt as IsInt5, IsNotEmpty as IsNotEmpty43 } from "class-validator";
7104
+ import { ArrayNotEmpty as ArrayNotEmpty6, IsArray as IsArray7, IsInt as IsInt5, IsNotEmpty as IsNotEmpty55 } from "class-validator";
6873
7105
  var CreateCompanyMemberDto = class {
6874
7106
  };
6875
7107
  __decorateClass([
6876
- IsNotEmpty43({ message: "Please enter name." })
7108
+ IsNotEmpty55({ message: "Please enter name." })
6877
7109
  ], CreateCompanyMemberDto.prototype, "name", 2);
6878
7110
  __decorateClass([
6879
- IsNotEmpty43({ message: "Please enter email" })
7111
+ IsNotEmpty55({ message: "Please enter email" })
6880
7112
  ], CreateCompanyMemberDto.prototype, "email", 2);
6881
7113
  __decorateClass([
6882
- IsArray6({ message: "Role IDs must be an array." }),
7114
+ IsArray7({ message: "Role IDs must be an array." }),
6883
7115
  ArrayNotEmpty6({ message: "Please select at least one role." }),
6884
7116
  IsInt5({ each: true, message: "Each role ID must be an integer." })
6885
7117
  ], CreateCompanyMemberDto.prototype, "roleIds", 2);
6886
7118
 
6887
7119
  // src/modules/company-member/dto/update-company-member.dto.ts
6888
- import { ArrayNotEmpty as ArrayNotEmpty7, IsArray as IsArray7, IsInt as IsInt6, IsNotEmpty as IsNotEmpty44 } from "class-validator";
7120
+ import { ArrayNotEmpty as ArrayNotEmpty7, IsArray as IsArray8, IsInt as IsInt6, IsNotEmpty as IsNotEmpty56 } from "class-validator";
6889
7121
  var UpdateCompanyMemberDto = class {
6890
7122
  };
6891
7123
  __decorateClass([
6892
- IsNotEmpty44({ message: "Please enter name." })
7124
+ IsNotEmpty56({ message: "Please enter name." })
6893
7125
  ], UpdateCompanyMemberDto.prototype, "name", 2);
6894
7126
  __decorateClass([
6895
- IsNotEmpty44({ message: "Please enter email" })
7127
+ IsNotEmpty56({ message: "Please enter email" })
6896
7128
  ], UpdateCompanyMemberDto.prototype, "email", 2);
6897
7129
  __decorateClass([
6898
- IsArray7({ message: "Role IDs must be an array." }),
7130
+ IsArray8({ message: "Role IDs must be an array." }),
6899
7131
  ArrayNotEmpty7({ message: "Please select at least one role." }),
6900
7132
  IsInt6({ each: true, message: "Each role ID must be an integer." })
6901
7133
  ], UpdateCompanyMemberDto.prototype, "roleIds", 2);
@@ -6915,29 +7147,29 @@ var FREELANCER_EDUCATION_PATTERN = {
6915
7147
  };
6916
7148
 
6917
7149
  // src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
6918
- import { IsArray as IsArray8, ValidateNested as ValidateNested3, IsString as IsString27, IsNotEmpty as IsNotEmpty45, IsOptional as IsOptional26, ArrayMinSize as ArrayMinSize2 } from "class-validator";
7150
+ import { IsArray as IsArray9, ValidateNested as ValidateNested3, IsString as IsString38, IsNotEmpty as IsNotEmpty57, IsOptional as IsOptional34, ArrayMinSize as ArrayMinSize2 } from "class-validator";
6919
7151
  import { Type as Type5 } from "class-transformer";
6920
7152
  var EducationDto = class {
6921
7153
  };
6922
7154
  __decorateClass([
6923
- IsOptional26()
7155
+ IsOptional34()
6924
7156
  ], EducationDto.prototype, "uuid", 2);
6925
7157
  __decorateClass([
6926
- IsString27(),
6927
- IsNotEmpty45({ message: "Please Enter Degree " })
7158
+ IsString38(),
7159
+ IsNotEmpty57({ message: "Please Enter Degree " })
6928
7160
  ], EducationDto.prototype, "degree", 2);
6929
7161
  __decorateClass([
6930
- IsString27(),
6931
- IsNotEmpty45({ message: "Please Enter University " })
7162
+ IsString38(),
7163
+ IsNotEmpty57({ message: "Please Enter University " })
6932
7164
  ], EducationDto.prototype, "university", 2);
6933
7165
  __decorateClass([
6934
- IsString27(),
6935
- IsNotEmpty45({ message: "Please Enter Year of Graduation " })
7166
+ IsString38(),
7167
+ IsNotEmpty57({ message: "Please Enter Year of Graduation " })
6936
7168
  ], EducationDto.prototype, "yearOfGraduation", 2);
6937
7169
  var FreelancerEducationDto = class {
6938
7170
  };
6939
7171
  __decorateClass([
6940
- IsArray8(),
7172
+ IsArray9(),
6941
7173
  ArrayMinSize2(1, { message: "At least one education is required." }),
6942
7174
  ValidateNested3({ each: true }),
6943
7175
  Type5(() => EducationDto)
@@ -6950,66 +7182,66 @@ var FREELANCER_PROJECT_PATTERN = {
6950
7182
  };
6951
7183
 
6952
7184
  // src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
6953
- import { IsArray as IsArray9, ValidateNested as ValidateNested4, IsString as IsString28, IsNotEmpty as IsNotEmpty46, IsOptional as IsOptional27, IsDateString, MaxLength as MaxLength14, ArrayMinSize as ArrayMinSize3 } from "class-validator";
7185
+ import { IsArray as IsArray10, ValidateNested as ValidateNested4, IsString as IsString39, IsNotEmpty as IsNotEmpty58, IsOptional as IsOptional35, IsDateString, MaxLength as MaxLength14, ArrayMinSize as ArrayMinSize3 } from "class-validator";
6954
7186
  import { Type as Type6 } from "class-transformer";
6955
7187
  var ProjectDto = class {
6956
7188
  };
6957
7189
  __decorateClass([
6958
- IsOptional27()
7190
+ IsOptional35()
6959
7191
  ], ProjectDto.prototype, "uuid", 2);
6960
7192
  __decorateClass([
6961
- IsString28(),
6962
- IsNotEmpty46({ message: "Please Enter Project Name " })
7193
+ IsString39(),
7194
+ IsNotEmpty58({ message: "Please Enter Project Name " })
6963
7195
  ], ProjectDto.prototype, "projectName", 2);
6964
7196
  __decorateClass([
6965
7197
  IsDateString(),
6966
- IsNotEmpty46({ message: "Please Enter Start Date " })
7198
+ IsNotEmpty58({ message: "Please Enter Start Date " })
6967
7199
  ], ProjectDto.prototype, "startDate", 2);
6968
7200
  __decorateClass([
6969
7201
  IsDateString(),
6970
- IsNotEmpty46({ message: "Please Enter End Date " })
7202
+ IsNotEmpty58({ message: "Please Enter End Date " })
6971
7203
  ], ProjectDto.prototype, "endDate", 2);
6972
7204
  __decorateClass([
6973
- IsOptional27(),
6974
- IsString28()
7205
+ IsOptional35(),
7206
+ IsString39()
6975
7207
  ], ProjectDto.prototype, "clientName", 2);
6976
7208
  __decorateClass([
6977
- IsOptional27(),
6978
- IsString28()
7209
+ IsOptional35(),
7210
+ IsString39()
6979
7211
  ], ProjectDto.prototype, "gitLink", 2);
6980
7212
  __decorateClass([
6981
- IsOptional27(),
6982
- IsString28(),
7213
+ IsOptional35(),
7214
+ IsString39(),
6983
7215
  MaxLength14(5e3, { message: "Description must not exceed 5000 characters" })
6984
7216
  ], ProjectDto.prototype, "description", 2);
6985
7217
  var CaseStudyDto = class {
6986
7218
  };
6987
7219
  __decorateClass([
6988
- IsOptional27()
7220
+ IsOptional35()
6989
7221
  ], CaseStudyDto.prototype, "uuid", 2);
6990
7222
  __decorateClass([
6991
- IsString28(),
6992
- IsNotEmpty46({ message: "Please Enter Project Name " })
7223
+ IsString39(),
7224
+ IsNotEmpty58({ message: "Please Enter Project Name " })
6993
7225
  ], CaseStudyDto.prototype, "projectName", 2);
6994
7226
  __decorateClass([
6995
- IsOptional27(),
6996
- IsString28()
7227
+ IsOptional35(),
7228
+ IsString39()
6997
7229
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
6998
7230
  __decorateClass([
6999
- IsOptional27(),
7000
- IsString28(),
7231
+ IsOptional35(),
7232
+ IsString39(),
7001
7233
  MaxLength14(5e3, { message: "Description must not exceed 5000 characters" })
7002
7234
  ], CaseStudyDto.prototype, "description", 2);
7003
7235
  var FreelancerProjectDto = class {
7004
7236
  };
7005
7237
  __decorateClass([
7006
- IsArray9(),
7238
+ IsArray10(),
7007
7239
  ArrayMinSize3(1, { message: "At least one project is required." }),
7008
7240
  ValidateNested4({ each: true }),
7009
7241
  Type6(() => ProjectDto)
7010
7242
  ], FreelancerProjectDto.prototype, "projects", 2);
7011
7243
  __decorateClass([
7012
- IsArray9(),
7244
+ IsArray10(),
7013
7245
  ValidateNested4({ each: true }),
7014
7246
  Type6(() => CaseStudyDto)
7015
7247
  ], FreelancerProjectDto.prototype, "casestudies", 2);
@@ -7027,7 +7259,7 @@ var FREELANCER_SKILL_PATTERN = {
7027
7259
  };
7028
7260
 
7029
7261
  // src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
7030
- import { IsArray as IsArray10, IsString as IsString29, IsOptional as IsOptional28 } from "class-validator";
7262
+ import { IsArray as IsArray11, IsString as IsString40, IsOptional as IsOptional36 } from "class-validator";
7031
7263
  import { Type as Type7 } from "class-transformer";
7032
7264
  var FreelancerSkillDto = class {
7033
7265
  constructor() {
@@ -7038,28 +7270,28 @@ var FreelancerSkillDto = class {
7038
7270
  }
7039
7271
  };
7040
7272
  __decorateClass([
7041
- IsOptional28(),
7042
- IsArray10(),
7273
+ IsOptional36(),
7274
+ IsArray11(),
7043
7275
  Type7(() => String),
7044
- IsString29({ each: true })
7276
+ IsString40({ each: true })
7045
7277
  ], FreelancerSkillDto.prototype, "coreSkills", 2);
7046
7278
  __decorateClass([
7047
- IsOptional28(),
7048
- IsArray10(),
7279
+ IsOptional36(),
7280
+ IsArray11(),
7049
7281
  Type7(() => String),
7050
- IsString29({ each: true })
7282
+ IsString40({ each: true })
7051
7283
  ], FreelancerSkillDto.prototype, "secondarySkills", 2);
7052
7284
  __decorateClass([
7053
- IsOptional28(),
7054
- IsArray10(),
7285
+ IsOptional36(),
7286
+ IsArray11(),
7055
7287
  Type7(() => String),
7056
- IsString29({ each: true })
7288
+ IsString40({ each: true })
7057
7289
  ], FreelancerSkillDto.prototype, "tools", 2);
7058
7290
  __decorateClass([
7059
- IsOptional28(),
7060
- IsArray10(),
7291
+ IsOptional36(),
7292
+ IsArray11(),
7061
7293
  Type7(() => String),
7062
- IsString29({ each: true })
7294
+ IsString40({ each: true })
7063
7295
  ], FreelancerSkillDto.prototype, "frameworks", 2);
7064
7296
 
7065
7297
  // src/modules/freelancer-admin/pattern/pattern.ts
@@ -7086,16 +7318,16 @@ var ADMIN_FREELANCER_PATTERN = {
7086
7318
 
7087
7319
  // src/modules/freelancer-admin/dto/create-freelancer.dto.ts
7088
7320
  import {
7089
- IsString as IsString30,
7090
- IsEmail as IsEmail10,
7321
+ IsString as IsString41,
7322
+ IsEmail as IsEmail12,
7091
7323
  IsBoolean as IsBoolean11,
7092
- IsOptional as IsOptional29,
7093
- IsEnum as IsEnum19,
7094
- IsNumber as IsNumber6,
7324
+ IsOptional as IsOptional37,
7325
+ IsEnum as IsEnum20,
7326
+ IsNumber as IsNumber8,
7095
7327
  IsUrl as IsUrl3,
7096
7328
  Min as Min4,
7097
7329
  MaxLength as MaxLength16,
7098
- IsNotEmpty as IsNotEmpty48,
7330
+ IsNotEmpty as IsNotEmpty60,
7099
7331
  MinLength as MinLength12,
7100
7332
  Matches as Matches9,
7101
7333
  ValidateIf as ValidateIf7,
@@ -7123,20 +7355,20 @@ var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
7123
7355
  var CreateFreelancerDto = class {
7124
7356
  };
7125
7357
  __decorateClass([
7126
- IsString30({ message: "Full name must be a string" }),
7358
+ IsString41({ message: "Full name must be a string" }),
7127
7359
  MaxLength16(100, { message: "Full name must not exceed 100 characters" })
7128
7360
  ], CreateFreelancerDto.prototype, "fullName", 2);
7129
7361
  __decorateClass([
7130
- IsEmail10({}, { message: "Invalid email address" })
7362
+ IsEmail12({}, { message: "Invalid email address" })
7131
7363
  ], CreateFreelancerDto.prototype, "email", 2);
7132
7364
  __decorateClass([
7133
- IsString30({ message: "Mobile code must be a string (e.g., +1)" })
7365
+ IsString41({ message: "Mobile code must be a string (e.g., +1)" })
7134
7366
  ], CreateFreelancerDto.prototype, "mobileCode", 2);
7135
7367
  __decorateClass([
7136
- IsString30({ message: "Mobile must be a string (e.g., 1243253534)" })
7368
+ IsString41({ message: "Mobile must be a string (e.g., 1243253534)" })
7137
7369
  ], CreateFreelancerDto.prototype, "mobile", 2);
7138
7370
  __decorateClass([
7139
- IsNotEmpty48({ message: "Please enter password." }),
7371
+ IsNotEmpty60({ message: "Please enter password." }),
7140
7372
  MinLength12(6),
7141
7373
  MaxLength16(32),
7142
7374
  Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -7144,7 +7376,7 @@ __decorateClass([
7144
7376
  })
7145
7377
  ], CreateFreelancerDto.prototype, "password", 2);
7146
7378
  __decorateClass([
7147
- IsNotEmpty48({ message: "Please enter confirm password." }),
7379
+ IsNotEmpty60({ message: "Please enter confirm password." }),
7148
7380
  Match("confirmPassword", { message: "Passwords do not match" })
7149
7381
  ], CreateFreelancerDto.prototype, "confirmPassword", 2);
7150
7382
  __decorateClass([
@@ -7152,28 +7384,28 @@ __decorateClass([
7152
7384
  Type8(() => Boolean)
7153
7385
  ], CreateFreelancerDto.prototype, "developer", 2);
7154
7386
  __decorateClass([
7155
- IsEnum19(NatureOfWorkEnum, {
7387
+ IsEnum20(NatureOfWorkEnum, {
7156
7388
  message: `Nature of work must be one of: ${Object.values(
7157
7389
  NatureOfWorkEnum
7158
7390
  ).join(", ")}`
7159
7391
  })
7160
7392
  ], CreateFreelancerDto.prototype, "natureOfWork", 2);
7161
7393
  __decorateClass([
7162
- IsNumber6({}, { message: "Expected hourly compensation must be a number" }),
7394
+ IsNumber8({}, { message: "Expected hourly compensation must be a number" }),
7163
7395
  Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
7164
7396
  Type8(() => Number)
7165
7397
  ], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
7166
7398
  __decorateClass([
7167
7399
  ValidateIf7((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7168
- IsNotEmpty48({ message: "Please enter expected annual compensation." })
7400
+ IsNotEmpty60({ message: "Please enter expected annual compensation." })
7169
7401
  ], CreateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
7170
7402
  __decorateClass([
7171
7403
  ValidateIf7((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
7172
7404
  IsInt7({ message: "Please enter valid weekly availability hours (integer)." }),
7173
- IsNotEmpty48({ message: "Please enter weekly availability hours" })
7405
+ IsNotEmpty60({ message: "Please enter weekly availability hours" })
7174
7406
  ], CreateFreelancerDto.prototype, "numberOfHours", 2);
7175
7407
  __decorateClass([
7176
- IsEnum19(ModeOfWorkEnum, {
7408
+ IsEnum20(ModeOfWorkEnum, {
7177
7409
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
7178
7410
  ", "
7179
7411
  )}`
@@ -7185,43 +7417,43 @@ __decorateClass([
7185
7417
  ], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
7186
7418
  __decorateClass([
7187
7419
  ValidateIf7((o) => o.isImmediateJoiner === false),
7188
- IsNotEmpty48({ message: "Please enter availability to join." })
7420
+ IsNotEmpty60({ message: "Please enter availability to join." })
7189
7421
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
7190
7422
  __decorateClass([
7191
- IsOptional29(),
7423
+ IsOptional37(),
7192
7424
  IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" })
7193
7425
  ], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
7194
7426
  __decorateClass([
7195
- IsOptional29(),
7196
- IsString30({ message: "Kaggle profile link must be a string" })
7427
+ IsOptional37(),
7428
+ IsString41({ message: "Kaggle profile link must be a string" })
7197
7429
  ], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
7198
7430
  __decorateClass([
7199
- IsOptional29(),
7431
+ IsOptional37(),
7200
7432
  IsUrl3({}, { message: "GitHub profile link must be a valid URL" })
7201
7433
  ], CreateFreelancerDto.prototype, "githubProfileLink", 2);
7202
7434
  __decorateClass([
7203
- IsOptional29(),
7435
+ IsOptional37(),
7204
7436
  IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" })
7205
7437
  ], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
7206
7438
  __decorateClass([
7207
- IsOptional29(),
7439
+ IsOptional37(),
7208
7440
  IsUrl3({}, { message: "Portfolio link must be a valid URL" })
7209
7441
  ], CreateFreelancerDto.prototype, "portfolioLink", 2);
7210
7442
 
7211
7443
  // src/modules/freelancer-admin/dto/update-freelancer.dto.ts
7212
7444
  import {
7213
- IsString as IsString31,
7214
- IsEmail as IsEmail11,
7445
+ IsString as IsString42,
7446
+ IsEmail as IsEmail13,
7215
7447
  IsBoolean as IsBoolean12,
7216
- IsOptional as IsOptional30,
7217
- IsEnum as IsEnum20,
7218
- IsNumber as IsNumber7,
7448
+ IsOptional as IsOptional38,
7449
+ IsEnum as IsEnum21,
7450
+ IsNumber as IsNumber9,
7219
7451
  IsUrl as IsUrl4,
7220
7452
  Min as Min5,
7221
7453
  MaxLength as MaxLength17,
7222
7454
  MinLength as MinLength13,
7223
7455
  Matches as Matches10,
7224
- IsNotEmpty as IsNotEmpty49,
7456
+ IsNotEmpty as IsNotEmpty61,
7225
7457
  ValidateIf as ValidateIf8,
7226
7458
  IsInt as IsInt8
7227
7459
  } from "class-validator";
@@ -7241,24 +7473,24 @@ var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
7241
7473
  var UpdateFreelancerDto = class {
7242
7474
  };
7243
7475
  __decorateClass([
7244
- IsOptional30(),
7245
- IsString31({ message: "Full name must be a string" }),
7476
+ IsOptional38(),
7477
+ IsString42({ message: "Full name must be a string" }),
7246
7478
  MaxLength17(100, { message: "Full name must not exceed 100 characters" })
7247
7479
  ], UpdateFreelancerDto.prototype, "fullName", 2);
7248
7480
  __decorateClass([
7249
- IsOptional30(),
7250
- IsEmail11({}, { message: "Invalid email address" })
7481
+ IsOptional38(),
7482
+ IsEmail13({}, { message: "Invalid email address" })
7251
7483
  ], UpdateFreelancerDto.prototype, "email", 2);
7252
7484
  __decorateClass([
7253
- IsOptional30(),
7254
- IsString31({ message: "Mobile code must be a string (e.g., +1)" })
7485
+ IsOptional38(),
7486
+ IsString42({ message: "Mobile code must be a string (e.g., +1)" })
7255
7487
  ], UpdateFreelancerDto.prototype, "mobileCode", 2);
7256
7488
  __decorateClass([
7257
- IsOptional30(),
7258
- IsString31({ message: "Mobile must be a string (e.g., 1243253534)" })
7489
+ IsOptional38(),
7490
+ IsString42({ message: "Mobile must be a string (e.g., 1243253534)" })
7259
7491
  ], UpdateFreelancerDto.prototype, "mobile", 2);
7260
7492
  __decorateClass([
7261
- IsOptional30(),
7493
+ IsOptional38(),
7262
7494
  Transform2(({ value }) => value === null || value === "" ? void 0 : value),
7263
7495
  MinLength13(6, { message: "Password must be at least 6 characters." }),
7264
7496
  MaxLength17(32, { message: "Password must not exceed 32 characters." }),
@@ -7267,73 +7499,103 @@ __decorateClass([
7267
7499
  })
7268
7500
  ], UpdateFreelancerDto.prototype, "password", 2);
7269
7501
  __decorateClass([
7270
- IsOptional30(),
7502
+ IsOptional38(),
7271
7503
  IsBoolean12({ message: "Developer flag must be true or false" }),
7272
7504
  Type9(() => Boolean)
7273
7505
  ], UpdateFreelancerDto.prototype, "developer", 2);
7274
7506
  __decorateClass([
7275
- IsOptional30(),
7276
- IsEnum20(NatureOfWorkEnum2, {
7507
+ IsOptional38(),
7508
+ IsEnum21(NatureOfWorkEnum2, {
7277
7509
  message: `Nature of work must be one of: ${Object.values(
7278
7510
  NatureOfWorkEnum2
7279
7511
  ).join(", ")}`
7280
7512
  })
7281
7513
  ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
7282
7514
  __decorateClass([
7283
- IsOptional30(),
7284
- IsNumber7({}, { message: "Expected hourly compensation must be a number" }),
7515
+ IsOptional38(),
7516
+ IsNumber9({}, { message: "Expected hourly compensation must be a number" }),
7285
7517
  Min5(0, { message: "Expected hourly compensation must be 0 or more" }),
7286
7518
  Type9(() => Number)
7287
7519
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
7288
7520
  __decorateClass([
7289
- IsOptional30(),
7521
+ IsOptional38(),
7290
7522
  ValidateIf8((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7291
- IsNotEmpty49({ message: "Please enter expected annual compensation." })
7523
+ IsNotEmpty61({ message: "Please enter expected annual compensation." })
7292
7524
  ], UpdateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
7293
7525
  __decorateClass([
7294
- IsOptional30(),
7526
+ IsOptional38(),
7295
7527
  ValidateIf8((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
7296
7528
  IsInt8({ message: "Please enter valid weekly availability hours (integer)." }),
7297
- IsNotEmpty49({ message: "Please enter weekly availability hours" })
7529
+ IsNotEmpty61({ message: "Please enter weekly availability hours" })
7298
7530
  ], UpdateFreelancerDto.prototype, "numberOfHours", 2);
7299
7531
  __decorateClass([
7300
- IsOptional30(),
7301
- IsEnum20(ModeOfWorkEnum2, {
7532
+ IsOptional38(),
7533
+ IsEnum21(ModeOfWorkEnum2, {
7302
7534
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
7303
7535
  ", "
7304
7536
  )}`
7305
7537
  })
7306
7538
  ], UpdateFreelancerDto.prototype, "modeOfWork", 2);
7307
7539
  __decorateClass([
7308
- IsOptional30(),
7540
+ IsOptional38(),
7309
7541
  IsBoolean12({ message: "isImmediateJoiner must be true or false" }),
7310
7542
  Type9(() => Boolean)
7311
7543
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
7312
7544
  __decorateClass([
7313
7545
  ValidateIf8((o) => o.isImmediateJoiner === false),
7314
- IsNotEmpty49({ message: "Please enter availability to join." })
7546
+ IsNotEmpty61({ message: "Please enter availability to join." })
7315
7547
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
7316
7548
  __decorateClass([
7317
- IsOptional30(),
7549
+ IsOptional38(),
7318
7550
  IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" })
7319
7551
  ], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
7320
7552
  __decorateClass([
7321
- IsOptional30(),
7322
- IsString31({ message: "Kaggle profile link must be a string" })
7553
+ IsOptional38(),
7554
+ IsString42({ message: "Kaggle profile link must be a string" })
7323
7555
  ], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
7324
7556
  __decorateClass([
7325
- IsOptional30(),
7557
+ IsOptional38(),
7326
7558
  IsUrl4({}, { message: "GitHub profile link must be a valid URL" })
7327
7559
  ], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
7328
7560
  __decorateClass([
7329
- IsOptional30(),
7561
+ IsOptional38(),
7330
7562
  IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" })
7331
7563
  ], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
7332
7564
  __decorateClass([
7333
- IsOptional30(),
7565
+ IsOptional38(),
7334
7566
  IsUrl4({}, { message: "Portfolio link must be a valid URL" })
7335
7567
  ], UpdateFreelancerDto.prototype, "portfolioLink", 2);
7336
7568
 
7569
+ // src/modules/freelancer-admin/dto/send-ai-assessment-link.dto.ts
7570
+ import { IsNotEmpty as IsNotEmpty62, IsNumber as IsNumber10 } from "class-validator";
7571
+ var SendAiAssessmentLinkDto = class {
7572
+ };
7573
+ __decorateClass([
7574
+ IsNotEmpty62({ message: "User ID is required" }),
7575
+ IsNumber10({}, { message: "User ID must be a number" })
7576
+ ], SendAiAssessmentLinkDto.prototype, "userId", 2);
7577
+
7578
+ // src/modules/freelancer-admin/dto/update-assessment-request-status.dto.ts
7579
+ import { IsEnum as IsEnum22, IsOptional as IsOptional39, IsString as IsString43 } from "class-validator";
7580
+ var AssessmentRequestStatus = /* @__PURE__ */ ((AssessmentRequestStatus2) => {
7581
+ AssessmentRequestStatus2["PENDING"] = "PENDING";
7582
+ AssessmentRequestStatus2["APPROVED"] = "APPROVED";
7583
+ AssessmentRequestStatus2["REJECTED"] = "REJECTED";
7584
+ AssessmentRequestStatus2["EXPIRED"] = "EXPIRED";
7585
+ return AssessmentRequestStatus2;
7586
+ })(AssessmentRequestStatus || {});
7587
+ var UpdateAssessmentRequestStatusDto = class {
7588
+ };
7589
+ __decorateClass([
7590
+ IsEnum22(AssessmentRequestStatus, {
7591
+ message: `Status must be one of: ${Object.values(AssessmentRequestStatus).join(", ")}`
7592
+ })
7593
+ ], UpdateAssessmentRequestStatusDto.prototype, "status", 2);
7594
+ __decorateClass([
7595
+ IsOptional39(),
7596
+ IsString43()
7597
+ ], UpdateAssessmentRequestStatusDto.prototype, "remarks", 2);
7598
+
7337
7599
  // src/modules/client-admin/pattern/pattern.ts
7338
7600
  var CLIENT_ADMIN_PATTERNS = {
7339
7601
  fetchAdminClients: "fetch.admin.clients",
@@ -7349,14 +7611,14 @@ var CLIENT_ADMIN_PATTERNS = {
7349
7611
 
7350
7612
  // src/modules/client-admin/dto/create-client.dto.ts
7351
7613
  import {
7352
- IsNotEmpty as IsNotEmpty50,
7353
- IsEmail as IsEmail12,
7354
- IsOptional as IsOptional31,
7355
- IsString as IsString32,
7356
- IsArray as IsArray11,
7614
+ IsNotEmpty as IsNotEmpty63,
7615
+ IsEmail as IsEmail14,
7616
+ IsOptional as IsOptional40,
7617
+ IsString as IsString44,
7618
+ IsArray as IsArray12,
7357
7619
  MinLength as MinLength14,
7358
7620
  MaxLength as MaxLength18,
7359
- IsEnum as IsEnum21,
7621
+ IsEnum as IsEnum23,
7360
7622
  Matches as Matches11
7361
7623
  } from "class-validator";
7362
7624
  var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
@@ -7374,19 +7636,19 @@ var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2)
7374
7636
  var CreateClientDto = class {
7375
7637
  };
7376
7638
  __decorateClass([
7377
- IsNotEmpty50({ message: "Please enter first name." }),
7378
- IsString32()
7639
+ IsNotEmpty63({ message: "Please enter first name." }),
7640
+ IsString44()
7379
7641
  ], CreateClientDto.prototype, "firstName", 2);
7380
7642
  __decorateClass([
7381
- IsNotEmpty50({ message: "Please enter last name." }),
7382
- IsString32()
7643
+ IsNotEmpty63({ message: "Please enter last name." }),
7644
+ IsString44()
7383
7645
  ], CreateClientDto.prototype, "lastName", 2);
7384
7646
  __decorateClass([
7385
- IsNotEmpty50({ message: "Please enter email." }),
7386
- IsEmail12()
7647
+ IsNotEmpty63({ message: "Please enter email." }),
7648
+ IsEmail14()
7387
7649
  ], CreateClientDto.prototype, "email", 2);
7388
7650
  __decorateClass([
7389
- IsNotEmpty50({ message: "Please enter password." }),
7651
+ IsNotEmpty63({ message: "Please enter password." }),
7390
7652
  MinLength14(6),
7391
7653
  MaxLength18(32),
7392
7654
  Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -7394,66 +7656,66 @@ __decorateClass([
7394
7656
  })
7395
7657
  ], CreateClientDto.prototype, "password", 2);
7396
7658
  __decorateClass([
7397
- IsNotEmpty50({ message: "Please enter confirm password." }),
7659
+ IsNotEmpty63({ message: "Please enter confirm password." }),
7398
7660
  Match("confirmPassword", { message: "Passwords do not match" })
7399
7661
  ], CreateClientDto.prototype, "confirmPassword", 2);
7400
7662
  __decorateClass([
7401
- IsNotEmpty50({ message: "Please enter company name." }),
7402
- IsString32()
7663
+ IsNotEmpty63({ message: "Please enter company name." }),
7664
+ IsString44()
7403
7665
  ], CreateClientDto.prototype, "companyName", 2);
7404
7666
  __decorateClass([
7405
- IsArray11({ message: "Skills should be an array." }),
7406
- IsNotEmpty50({ message: "Please enter skills." })
7667
+ IsArray12({ message: "Skills should be an array." }),
7668
+ IsNotEmpty63({ message: "Please enter skills." })
7407
7669
  ], CreateClientDto.prototype, "skills", 2);
7408
7670
  __decorateClass([
7409
- IsNotEmpty50({ message: "Please specify required freelancer count." }),
7410
- IsString32()
7671
+ IsNotEmpty63({ message: "Please specify required freelancer count." }),
7672
+ IsString44()
7411
7673
  ], CreateClientDto.prototype, "requiredFreelancer", 2);
7412
7674
  __decorateClass([
7413
- IsNotEmpty50({ message: "Please specify the kind of hiring." }),
7414
- IsEnum21(CreateClientHiringTypeEnum)
7675
+ IsNotEmpty63({ message: "Please specify the kind of hiring." }),
7676
+ IsEnum23(CreateClientHiringTypeEnum)
7415
7677
  ], CreateClientDto.prototype, "kindOfHiring", 2);
7416
7678
  __decorateClass([
7417
- IsNotEmpty50({ message: "Please specify the mode of hire." }),
7418
- IsEnum21(CreateClientHiringModeEnum)
7679
+ IsNotEmpty63({ message: "Please specify the mode of hire." }),
7680
+ IsEnum23(CreateClientHiringModeEnum)
7419
7681
  ], CreateClientDto.prototype, "modeOfHire", 2);
7420
7682
  __decorateClass([
7421
- IsNotEmpty50({ message: "Please let us know how you found us." }),
7422
- IsString32()
7683
+ IsNotEmpty63({ message: "Please let us know how you found us." }),
7684
+ IsString44()
7423
7685
  ], CreateClientDto.prototype, "foundUsOn", 2);
7424
7686
  __decorateClass([
7425
- IsOptional31(),
7426
- IsString32()
7687
+ IsOptional40(),
7688
+ IsString44()
7427
7689
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
7428
7690
  __decorateClass([
7429
- IsOptional31(),
7430
- IsString32()
7691
+ IsOptional40(),
7692
+ IsString44()
7431
7693
  ], CreateClientDto.prototype, "hiringCommisionTypeForFte", 2);
7432
7694
  __decorateClass([
7433
- IsOptional31(),
7434
- IsString32()
7695
+ IsOptional40(),
7696
+ IsString44()
7435
7697
  ], CreateClientDto.prototype, "hiringCommissionValueForFte", 2);
7436
7698
 
7437
7699
  // src/modules/client-admin/dto/update-client-status.dto.ts
7438
- import { IsString as IsString33, IsNotEmpty as IsNotEmpty51 } from "class-validator";
7700
+ import { IsString as IsString45, IsNotEmpty as IsNotEmpty64 } from "class-validator";
7439
7701
  var UpdateClientAccountStatusDto = class {
7440
7702
  };
7441
7703
  __decorateClass([
7442
- IsNotEmpty51({ message: "Please enter account status." }),
7443
- IsString33()
7704
+ IsNotEmpty64({ message: "Please enter account status." }),
7705
+ IsString45()
7444
7706
  ], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
7445
7707
 
7446
7708
  // src/modules/client-admin/dto/update-client.dto.ts
7447
7709
  import { Transform as Transform3 } from "class-transformer";
7448
7710
  import {
7449
- IsNotEmpty as IsNotEmpty52,
7450
- IsEmail as IsEmail13,
7451
- IsOptional as IsOptional32,
7452
- IsString as IsString34,
7453
- IsArray as IsArray12,
7711
+ IsNotEmpty as IsNotEmpty65,
7712
+ IsEmail as IsEmail15,
7713
+ IsOptional as IsOptional41,
7714
+ IsString as IsString46,
7715
+ IsArray as IsArray13,
7454
7716
  MinLength as MinLength15,
7455
7717
  MaxLength as MaxLength19,
7456
- IsEnum as IsEnum22,
7718
+ IsEnum as IsEnum24,
7457
7719
  Matches as Matches12
7458
7720
  } from "class-validator";
7459
7721
  var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
@@ -7471,19 +7733,19 @@ var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2)
7471
7733
  var UpdateClientDto = class {
7472
7734
  };
7473
7735
  __decorateClass([
7474
- IsNotEmpty52({ message: "Please enter first name." }),
7475
- IsString34()
7736
+ IsNotEmpty65({ message: "Please enter first name." }),
7737
+ IsString46()
7476
7738
  ], UpdateClientDto.prototype, "firstName", 2);
7477
7739
  __decorateClass([
7478
- IsNotEmpty52({ message: "Please enter last name." }),
7479
- IsString34()
7740
+ IsNotEmpty65({ message: "Please enter last name." }),
7741
+ IsString46()
7480
7742
  ], UpdateClientDto.prototype, "lastName", 2);
7481
7743
  __decorateClass([
7482
- IsNotEmpty52({ message: "Please enter email." }),
7483
- IsEmail13()
7744
+ IsNotEmpty65({ message: "Please enter email." }),
7745
+ IsEmail15()
7484
7746
  ], UpdateClientDto.prototype, "email", 2);
7485
7747
  __decorateClass([
7486
- IsOptional32(),
7748
+ IsOptional41(),
7487
7749
  Transform3(({ value }) => value === null || value === "" ? void 0 : value),
7488
7750
  MinLength15(6, { message: "Password must be at least 6 characters." }),
7489
7751
  MaxLength19(32, { message: "Password must not exceed 32 characters." }),
@@ -7492,40 +7754,40 @@ __decorateClass([
7492
7754
  })
7493
7755
  ], UpdateClientDto.prototype, "password", 2);
7494
7756
  __decorateClass([
7495
- IsNotEmpty52({ message: "Please enter company name." }),
7496
- IsString34()
7757
+ IsNotEmpty65({ message: "Please enter company name." }),
7758
+ IsString46()
7497
7759
  ], UpdateClientDto.prototype, "companyName", 2);
7498
7760
  __decorateClass([
7499
- IsArray12({ message: "Skills should be an array." }),
7500
- IsNotEmpty52({ message: "Please enter skills." })
7761
+ IsArray13({ message: "Skills should be an array." }),
7762
+ IsNotEmpty65({ message: "Please enter skills." })
7501
7763
  ], UpdateClientDto.prototype, "skills", 2);
7502
7764
  __decorateClass([
7503
- IsNotEmpty52({ message: "Please specify required freelancer count." }),
7504
- IsString34()
7765
+ IsNotEmpty65({ message: "Please specify required freelancer count." }),
7766
+ IsString46()
7505
7767
  ], UpdateClientDto.prototype, "requiredFreelancer", 2);
7506
7768
  __decorateClass([
7507
- IsNotEmpty52({ message: "Please specify the kind of hiring." }),
7508
- IsEnum22(UpdateClientHiringTypeEnum)
7769
+ IsNotEmpty65({ message: "Please specify the kind of hiring." }),
7770
+ IsEnum24(UpdateClientHiringTypeEnum)
7509
7771
  ], UpdateClientDto.prototype, "kindOfHiring", 2);
7510
7772
  __decorateClass([
7511
- IsNotEmpty52({ message: "Please specify the mode of hire." }),
7512
- IsEnum22(UpdateClientHiringModeEnum)
7773
+ IsNotEmpty65({ message: "Please specify the mode of hire." }),
7774
+ IsEnum24(UpdateClientHiringModeEnum)
7513
7775
  ], UpdateClientDto.prototype, "modeOfHire", 2);
7514
7776
  __decorateClass([
7515
- IsNotEmpty52({ message: "Please let us know how you found us." }),
7516
- IsString34()
7777
+ IsNotEmpty65({ message: "Please let us know how you found us." }),
7778
+ IsString46()
7517
7779
  ], UpdateClientDto.prototype, "foundUsOn", 2);
7518
7780
  __decorateClass([
7519
- IsOptional32(),
7520
- IsString34()
7781
+ IsOptional41(),
7782
+ IsString46()
7521
7783
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
7522
7784
  __decorateClass([
7523
- IsOptional32(),
7524
- IsString34()
7785
+ IsOptional41(),
7786
+ IsString46()
7525
7787
  ], UpdateClientDto.prototype, "hiringCommisionTypeForFte", 2);
7526
7788
  __decorateClass([
7527
- IsOptional32(),
7528
- IsString34()
7789
+ IsOptional41(),
7790
+ IsString46()
7529
7791
  ], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
7530
7792
 
7531
7793
  // src/modules/user/freelancer-declaration/pattern/pattern.ts
@@ -7535,7 +7797,7 @@ var FREELANCER_DECLARATION_PATTERN = {
7535
7797
  };
7536
7798
 
7537
7799
  // src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
7538
- import { IsOptional as IsOptional33, IsEnum as IsEnum23, IsString as IsString35, IsNotEmpty as IsNotEmpty53, IsIn as IsIn3 } from "class-validator";
7800
+ import { IsOptional as IsOptional42, IsEnum as IsEnum25, IsString as IsString47, IsNotEmpty as IsNotEmpty66, IsIn as IsIn3 } from "class-validator";
7539
7801
  var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
7540
7802
  DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
7541
7803
  DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
@@ -7546,15 +7808,15 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
7546
7808
  var FreelancerDeclarationDto = class {
7547
7809
  };
7548
7810
  __decorateClass([
7549
- IsOptional33(),
7550
- IsString35({ message: "UUID must be a string" })
7811
+ IsOptional42(),
7812
+ IsString47({ message: "UUID must be a string" })
7551
7813
  ], FreelancerDeclarationDto.prototype, "uuid", 2);
7552
7814
  __decorateClass([
7553
- IsEnum23(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
7815
+ IsEnum25(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
7554
7816
  ], FreelancerDeclarationDto.prototype, "documentType", 2);
7555
7817
  __decorateClass([
7556
- IsNotEmpty53({ message: "Please accept the declaration " }),
7557
- IsString35(),
7818
+ IsNotEmpty66({ message: "Please accept the declaration " }),
7819
+ IsString47(),
7558
7820
  IsIn3([
7559
7821
  "true"
7560
7822
  ])
@@ -7569,6 +7831,25 @@ var CLIENT_CANDIDATE_PREFERENCE_PATTERN = {
7569
7831
  markCandidateAsShortlistedInBulk: "mark.candidate.as.shortlisted.in.bulk"
7570
7832
  };
7571
7833
 
7834
+ // src/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.ts
7835
+ import { IsNotEmpty as IsNotEmpty67, IsNumber as IsNumber11 } from "class-validator";
7836
+ var MarkCandidateStatusDto = class {
7837
+ };
7838
+ __decorateClass([
7839
+ IsNotEmpty67({ message: "Freelancer ID is required" }),
7840
+ IsNumber11({}, { message: "Freelancer ID must be a number" })
7841
+ ], MarkCandidateStatusDto.prototype, "freelancerId", 2);
7842
+
7843
+ // src/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.ts
7844
+ import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray14, IsNumber as IsNumber12 } from "class-validator";
7845
+ var MarkCandidateStatusBulkDto = class {
7846
+ };
7847
+ __decorateClass([
7848
+ IsArray14({ message: "Freelancer IDs must be an array" }),
7849
+ ArrayNotEmpty8({ message: "At least one freelancer ID is required" }),
7850
+ IsNumber12({}, { each: true, message: "Each freelancer ID must be a number" })
7851
+ ], MarkCandidateStatusBulkDto.prototype, "freelancerIds", 2);
7852
+
7572
7853
  // src/modules/cms/pattern/pattern.ts
7573
7854
  var CMS_PATTERNS = {
7574
7855
  fetchCms: "cms.fetch",
@@ -7579,35 +7860,35 @@ var CMS_PATTERNS = {
7579
7860
  };
7580
7861
 
7581
7862
  // src/modules/cms/dto/create-cms.dto.ts
7582
- import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty54, IsOptional as IsOptional34 } from "class-validator";
7863
+ import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty68, IsOptional as IsOptional43 } from "class-validator";
7583
7864
  var CreateCmsDto = class {
7584
7865
  };
7585
7866
  __decorateClass([
7586
- IsNotEmpty54({ message: "Please enter name." })
7867
+ IsNotEmpty68({ message: "Please enter name." })
7587
7868
  ], CreateCmsDto.prototype, "title", 2);
7588
7869
  __decorateClass([
7589
- IsOptional34()
7870
+ IsOptional43()
7590
7871
  ], CreateCmsDto.prototype, "content", 2);
7591
7872
  __decorateClass([
7592
- IsOptional34(),
7873
+ IsOptional43(),
7593
7874
  IsBoolean13({ message: "Is active must be a boolean value" })
7594
7875
  ], CreateCmsDto.prototype, "isActive", 2);
7595
7876
 
7596
7877
  // src/modules/cms/dto/update-cms.dto.ts
7597
- import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty55, IsOptional as IsOptional35 } from "class-validator";
7878
+ import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty69, IsOptional as IsOptional44 } from "class-validator";
7598
7879
  var UpdateCmsDto = class {
7599
7880
  };
7600
7881
  __decorateClass([
7601
- IsOptional35()
7882
+ IsOptional44()
7602
7883
  ], UpdateCmsDto.prototype, "uuid", 2);
7603
7884
  __decorateClass([
7604
- IsNotEmpty55({ message: "Please enter name." })
7885
+ IsNotEmpty69({ message: "Please enter name." })
7605
7886
  ], UpdateCmsDto.prototype, "title", 2);
7606
7887
  __decorateClass([
7607
- IsOptional35()
7888
+ IsOptional44()
7608
7889
  ], UpdateCmsDto.prototype, "content", 2);
7609
7890
  __decorateClass([
7610
- IsOptional35(),
7891
+ IsOptional44(),
7611
7892
  IsBoolean14({ message: "Is active must be a boolean value" })
7612
7893
  ], UpdateCmsDto.prototype, "isActive", 2);
7613
7894
 
@@ -7643,16 +7924,16 @@ var ADMIN_JOB_PATTERN = {
7643
7924
  // src/modules/job-admin/dto/admin-create-job-information.dto.ts
7644
7925
  import { Type as Type10 } from "class-transformer";
7645
7926
  import {
7646
- IsString as IsString36,
7647
- IsEnum as IsEnum24,
7927
+ IsString as IsString48,
7928
+ IsEnum as IsEnum26,
7648
7929
  IsInt as IsInt9,
7649
- IsOptional as IsOptional36,
7650
- IsArray as IsArray13,
7930
+ IsOptional as IsOptional45,
7931
+ IsArray as IsArray15,
7651
7932
  IsDateString as IsDateString4,
7652
- IsNotEmpty as IsNotEmpty56,
7653
- ArrayNotEmpty as ArrayNotEmpty8,
7933
+ IsNotEmpty as IsNotEmpty70,
7934
+ ArrayNotEmpty as ArrayNotEmpty9,
7654
7935
  Min as Min6,
7655
- IsNumber as IsNumber8
7936
+ IsNumber as IsNumber13
7656
7937
  } from "class-validator";
7657
7938
  var JobLocationEnumDto = /* @__PURE__ */ ((JobLocationEnumDto2) => {
7658
7939
  JobLocationEnumDto2["ONSITE"] = "ONSITE";
@@ -7669,55 +7950,55 @@ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
7669
7950
  var AdminCreateJobInformationDto = class {
7670
7951
  };
7671
7952
  __decorateClass([
7672
- IsString36({ message: "Job role must be a string." }),
7673
- IsNotEmpty56({ message: "Job role is required." })
7953
+ IsString48({ message: "Job role must be a string." }),
7954
+ IsNotEmpty70({ message: "Job role is required." })
7674
7955
  ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
7675
7956
  __decorateClass([
7676
- IsOptional36(),
7677
- IsString36({ message: "Note must be a string." })
7957
+ IsOptional45(),
7958
+ IsString48({ message: "Note must be a string." })
7678
7959
  ], AdminCreateJobInformationDto.prototype, "note", 2);
7679
7960
  __decorateClass([
7680
- IsArray13({ message: "Skills must be an array of skill names." }),
7681
- ArrayNotEmpty8({ message: "At least one skill must be provided." }),
7682
- IsString36({ each: true, message: "Each skill must be a valid string." })
7961
+ IsArray15({ message: "Skills must be an array of skill names." }),
7962
+ ArrayNotEmpty9({ message: "At least one skill must be provided." }),
7963
+ IsString48({ each: true, message: "Each skill must be a valid string." })
7683
7964
  ], AdminCreateJobInformationDto.prototype, "skills", 2);
7684
7965
  __decorateClass([
7685
7966
  IsInt9({ message: "Openings must be a valid integer." }),
7686
7967
  Min6(1, { message: "There must be at least one opening." })
7687
7968
  ], AdminCreateJobInformationDto.prototype, "openings", 2);
7688
7969
  __decorateClass([
7689
- IsEnum24(JobLocationEnumDto, {
7970
+ IsEnum26(JobLocationEnumDto, {
7690
7971
  message: `Location must be one of: ${Object.values(JobLocationEnumDto).join(
7691
7972
  ", "
7692
7973
  )}.`
7693
7974
  })
7694
7975
  ], AdminCreateJobInformationDto.prototype, "location", 2);
7695
7976
  __decorateClass([
7696
- IsEnum24(TypeOfEmploymentEnumDto, {
7977
+ IsEnum26(TypeOfEmploymentEnumDto, {
7697
7978
  message: `Type of employment must be one of: ${Object.values(
7698
7979
  TypeOfEmploymentEnumDto
7699
7980
  ).join(", ")}.`
7700
7981
  })
7701
7982
  ], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
7702
7983
  __decorateClass([
7703
- IsString36({ message: "Onboarding Days must be a string." }),
7704
- IsNotEmpty56({ message: "Onboarding Days is required." })
7984
+ IsString48({ message: "Onboarding Days must be a string." }),
7985
+ IsNotEmpty70({ message: "Onboarding Days is required." })
7705
7986
  ], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
7706
7987
  __decorateClass([
7707
- IsString36({ message: "Communication skills must be a string." }),
7708
- IsNotEmpty56({ message: "Communication skills are required." })
7988
+ IsString48({ message: "Communication skills must be a string." }),
7989
+ IsNotEmpty70({ message: "Communication skills are required." })
7709
7990
  ], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
7710
7991
  __decorateClass([
7711
- IsString36({ message: "Currency must be a string." }),
7712
- IsNotEmpty56({ message: "Currency is required." })
7992
+ IsString48({ message: "Currency must be a string." }),
7993
+ IsNotEmpty70({ message: "Currency is required." })
7713
7994
  ], AdminCreateJobInformationDto.prototype, "currency", 2);
7714
7995
  __decorateClass([
7715
7996
  Type10(() => Number),
7716
- IsNumber8({}, { message: "Expected salary from must be a number." })
7997
+ IsNumber13({}, { message: "Expected salary from must be a number." })
7717
7998
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
7718
7999
  __decorateClass([
7719
8000
  Type10(() => Number),
7720
- IsNumber8({}, { message: "Expected salary to must be a number." })
8001
+ IsNumber13({}, { message: "Expected salary to must be a number." })
7721
8002
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
7722
8003
  __decorateClass([
7723
8004
  IsDateString4(
@@ -7732,19 +8013,19 @@ __decorateClass([
7732
8013
  )
7733
8014
  ], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
7734
8015
  __decorateClass([
7735
- IsOptional36(),
7736
- IsString36({ message: "Additional comment must be a string." })
8016
+ IsOptional45(),
8017
+ IsString48({ message: "Additional comment must be a string." })
7737
8018
  ], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
7738
8019
  __decorateClass([
7739
- IsOptional36(),
8020
+ IsOptional45(),
7740
8021
  IsInt9({ message: "Country ID must be a valid integer." })
7741
8022
  ], AdminCreateJobInformationDto.prototype, "countryId", 2);
7742
8023
  __decorateClass([
7743
- IsOptional36(),
8024
+ IsOptional45(),
7744
8025
  IsInt9({ message: "State ID must be a valid integer." })
7745
8026
  ], AdminCreateJobInformationDto.prototype, "stateId", 2);
7746
8027
  __decorateClass([
7747
- IsOptional36(),
8028
+ IsOptional45(),
7748
8029
  IsInt9({ message: "City ID must be a valid integer." })
7749
8030
  ], AdminCreateJobInformationDto.prototype, "cityId", 2);
7750
8031
  __decorateClass([
@@ -7754,16 +8035,16 @@ __decorateClass([
7754
8035
  // src/modules/job-admin/dto/admin-update-job-information.dto.ts
7755
8036
  import { Type as Type11 } from "class-transformer";
7756
8037
  import {
7757
- IsString as IsString37,
7758
- IsEnum as IsEnum25,
8038
+ IsString as IsString49,
8039
+ IsEnum as IsEnum27,
7759
8040
  IsInt as IsInt10,
7760
- IsOptional as IsOptional37,
7761
- IsArray as IsArray14,
8041
+ IsOptional as IsOptional46,
8042
+ IsArray as IsArray16,
7762
8043
  IsDateString as IsDateString5,
7763
- IsNotEmpty as IsNotEmpty57,
7764
- ArrayNotEmpty as ArrayNotEmpty9,
8044
+ IsNotEmpty as IsNotEmpty71,
8045
+ ArrayNotEmpty as ArrayNotEmpty10,
7765
8046
  Min as Min7,
7766
- IsNumber as IsNumber9
8047
+ IsNumber as IsNumber14
7767
8048
  } from "class-validator";
7768
8049
  var JobLocationEnums = /* @__PURE__ */ ((JobLocationEnums2) => {
7769
8050
  JobLocationEnums2["ONSITE"] = "ONSITE";
@@ -7780,55 +8061,55 @@ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
7780
8061
  var AdminUpdateJobInformationDto = class {
7781
8062
  };
7782
8063
  __decorateClass([
7783
- IsString37({ message: "Job role must be a string." }),
7784
- IsNotEmpty57({ message: "Job role is required." })
8064
+ IsString49({ message: "Job role must be a string." }),
8065
+ IsNotEmpty71({ message: "Job role is required." })
7785
8066
  ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
7786
8067
  __decorateClass([
7787
- IsOptional37(),
7788
- IsString37({ message: "Note must be a string." })
8068
+ IsOptional46(),
8069
+ IsString49({ message: "Note must be a string." })
7789
8070
  ], AdminUpdateJobInformationDto.prototype, "note", 2);
7790
8071
  __decorateClass([
7791
- IsArray14({ message: "Skills must be an array of skill names." }),
7792
- ArrayNotEmpty9({ message: "At least one skill must be provided." }),
7793
- IsString37({ each: true, message: "Each skill must be a valid string." })
8072
+ IsArray16({ message: "Skills must be an array of skill names." }),
8073
+ ArrayNotEmpty10({ message: "At least one skill must be provided." }),
8074
+ IsString49({ each: true, message: "Each skill must be a valid string." })
7794
8075
  ], AdminUpdateJobInformationDto.prototype, "skills", 2);
7795
8076
  __decorateClass([
7796
8077
  IsInt10({ message: "Openings must be a valid integer." }),
7797
8078
  Min7(1, { message: "There must be at least one opening." })
7798
8079
  ], AdminUpdateJobInformationDto.prototype, "openings", 2);
7799
8080
  __decorateClass([
7800
- IsEnum25(JobLocationEnums, {
8081
+ IsEnum27(JobLocationEnums, {
7801
8082
  message: `Location must be one of: ${Object.values(JobLocationEnums).join(
7802
8083
  ", "
7803
8084
  )}.`
7804
8085
  })
7805
8086
  ], AdminUpdateJobInformationDto.prototype, "location", 2);
7806
8087
  __decorateClass([
7807
- IsEnum25(TypeOfEmploymentEnums, {
8088
+ IsEnum27(TypeOfEmploymentEnums, {
7808
8089
  message: `Type of employment must be one of: ${Object.values(
7809
8090
  TypeOfEmploymentEnums
7810
8091
  ).join(", ")}.`
7811
8092
  })
7812
8093
  ], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
7813
8094
  __decorateClass([
7814
- IsString37({ message: "Onboarding Days must be a string." }),
7815
- IsNotEmpty57({ message: "Onboarding Days is required." })
8095
+ IsString49({ message: "Onboarding Days must be a string." }),
8096
+ IsNotEmpty71({ message: "Onboarding Days is required." })
7816
8097
  ], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
7817
8098
  __decorateClass([
7818
- IsString37({ message: "Communication skills must be a string." }),
7819
- IsNotEmpty57({ message: "Communication skills are required." })
8099
+ IsString49({ message: "Communication skills must be a string." }),
8100
+ IsNotEmpty71({ message: "Communication skills are required." })
7820
8101
  ], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
7821
8102
  __decorateClass([
7822
- IsString37({ message: "Currency must be a string." }),
7823
- IsNotEmpty57({ message: "Currency is required." })
8103
+ IsString49({ message: "Currency must be a string." }),
8104
+ IsNotEmpty71({ message: "Currency is required." })
7824
8105
  ], AdminUpdateJobInformationDto.prototype, "currency", 2);
7825
8106
  __decorateClass([
7826
8107
  Type11(() => Number),
7827
- IsNumber9({}, { message: "Expected salary from must be a number." })
8108
+ IsNumber14({}, { message: "Expected salary from must be a number." })
7828
8109
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
7829
8110
  __decorateClass([
7830
8111
  Type11(() => Number),
7831
- IsNumber9({}, { message: "Expected salary to must be a number." })
8112
+ IsNumber14({}, { message: "Expected salary to must be a number." })
7832
8113
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
7833
8114
  __decorateClass([
7834
8115
  IsDateString5(
@@ -7843,19 +8124,19 @@ __decorateClass([
7843
8124
  )
7844
8125
  ], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
7845
8126
  __decorateClass([
7846
- IsOptional37(),
7847
- IsString37({ message: "Additional comment must be a string." })
8127
+ IsOptional46(),
8128
+ IsString49({ message: "Additional comment must be a string." })
7848
8129
  ], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
7849
8130
  __decorateClass([
7850
- IsOptional37(),
8131
+ IsOptional46(),
7851
8132
  IsInt10({ message: "Country ID must be a valid integer." })
7852
8133
  ], AdminUpdateJobInformationDto.prototype, "countryId", 2);
7853
8134
  __decorateClass([
7854
- IsOptional37(),
8135
+ IsOptional46(),
7855
8136
  IsInt10({ message: "State ID must be a valid integer." })
7856
8137
  ], AdminUpdateJobInformationDto.prototype, "stateId", 2);
7857
8138
  __decorateClass([
7858
- IsOptional37(),
8139
+ IsOptional46(),
7859
8140
  IsInt10({ message: "City ID must be a valid integer." })
7860
8141
  ], AdminUpdateJobInformationDto.prototype, "cityId", 2);
7861
8142
  __decorateClass([
@@ -7864,13 +8145,13 @@ __decorateClass([
7864
8145
 
7865
8146
  // src/modules/job-admin/dto/admin-job-basic-information-v2.dto.ts
7866
8147
  import {
7867
- IsString as IsString38,
7868
- IsNotEmpty as IsNotEmpty58,
7869
- IsArray as IsArray15,
7870
- ArrayNotEmpty as ArrayNotEmpty10,
7871
- IsNumber as IsNumber10,
7872
- IsOptional as IsOptional38,
7873
- IsEnum as IsEnum26,
8148
+ IsString as IsString50,
8149
+ IsNotEmpty as IsNotEmpty72,
8150
+ IsArray as IsArray17,
8151
+ ArrayNotEmpty as ArrayNotEmpty11,
8152
+ IsNumber as IsNumber15,
8153
+ IsOptional as IsOptional47,
8154
+ IsEnum as IsEnum28,
7874
8155
  Min as Min8,
7875
8156
  ValidateIf as ValidateIf9,
7876
8157
  MaxLength as MaxLength20,
@@ -7906,16 +8187,16 @@ var AdminStepCompletedEnumV2 = /* @__PURE__ */ ((AdminStepCompletedEnumV22) => {
7906
8187
  var JobLocationAdminDto = class {
7907
8188
  };
7908
8189
  __decorateClass([
7909
- IsOptional38(),
7910
- IsNumber10()
8190
+ IsOptional47(),
8191
+ IsNumber15()
7911
8192
  ], JobLocationAdminDto.prototype, "countryId", 2);
7912
8193
  __decorateClass([
7913
- IsOptional38(),
7914
- IsNumber10()
8194
+ IsOptional47(),
8195
+ IsNumber15()
7915
8196
  ], JobLocationAdminDto.prototype, "stateId", 2);
7916
8197
  __decorateClass([
7917
- IsOptional38(),
7918
- IsNumber10()
8198
+ IsOptional47(),
8199
+ IsNumber15()
7919
8200
  ], JobLocationAdminDto.prototype, "cityId", 2);
7920
8201
  var AdminJobBasicInformationV2Dto = class {
7921
8202
  constructor() {
@@ -7923,37 +8204,37 @@ var AdminJobBasicInformationV2Dto = class {
7923
8204
  }
7924
8205
  };
7925
8206
  __decorateClass([
7926
- IsOptional38(),
8207
+ IsOptional47(),
7927
8208
  Type12(() => Boolean)
7928
8209
  ], AdminJobBasicInformationV2Dto.prototype, "isDraft", 2);
7929
8210
  __decorateClass([
7930
8211
  IsInt11({ message: "Client ID must be a valid integer." })
7931
8212
  ], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
7932
8213
  __decorateClass([
7933
- IsNotEmpty58({ message: "Please enter job role" }),
7934
- IsString38({ message: "Job role must be a string" })
8214
+ IsNotEmpty72({ message: "Please enter job role" }),
8215
+ IsString50({ message: "Job role must be a string" })
7935
8216
  ], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
7936
8217
  __decorateClass([
7937
- IsOptional38(),
7938
- IsString38({ message: "Note must be a string" })
8218
+ IsOptional47(),
8219
+ IsString50({ message: "Note must be a string" })
7939
8220
  ], AdminJobBasicInformationV2Dto.prototype, "note", 2);
7940
8221
  __decorateClass([
7941
8222
  ValidateIf9((o) => !o.isDraft),
7942
- IsOptional38(),
7943
- IsArray15({ message: "Skills must be an array" }),
7944
- ArrayNotEmpty10({ message: "Please select at least one skill" }),
7945
- IsString38({ each: true, message: "Each skill must be a string" }),
8223
+ IsOptional47(),
8224
+ IsArray17({ message: "Skills must be an array" }),
8225
+ ArrayNotEmpty11({ message: "Please select at least one skill" }),
8226
+ IsString50({ each: true, message: "Each skill must be a string" }),
7946
8227
  Type12(() => String)
7947
8228
  ], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
7948
8229
  __decorateClass([
7949
8230
  ValidateIf9((o) => !o.isDraft),
7950
- IsNumber10({}, { message: "Openings must be a number" }),
8231
+ IsNumber15({}, { message: "Openings must be a number" }),
7951
8232
  Min8(1, { message: "There must be at least 1 opening" }),
7952
8233
  Type12(() => Number)
7953
8234
  ], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
7954
8235
  __decorateClass([
7955
8236
  ValidateIf9((o) => !o.isDraft),
7956
- IsEnum26(JobLocationAdminEnumDto, {
8237
+ IsEnum28(JobLocationAdminEnumDto, {
7957
8238
  message: `Location must be one of: ${Object.values(JobLocationAdminEnumDto).join(
7958
8239
  ", "
7959
8240
  )}`
@@ -7961,36 +8242,36 @@ __decorateClass([
7961
8242
  ], AdminJobBasicInformationV2Dto.prototype, "location", 2);
7962
8243
  __decorateClass([
7963
8244
  ValidateIf9((o) => !o.isDraft),
7964
- IsEnum26(EmploymentTypeAdminEnumDto, {
8245
+ IsEnum28(EmploymentTypeAdminEnumDto, {
7965
8246
  message: `Type of employment must be one of: ${Object.values(
7966
8247
  EmploymentTypeAdminEnumDto
7967
8248
  ).join(", ")}`
7968
8249
  })
7969
8250
  ], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
7970
8251
  __decorateClass([
7971
- IsOptional38(),
7972
- IsNumber10({}, { message: "Expected salary (from) must be a number" }),
8252
+ IsOptional47(),
8253
+ IsNumber15({}, { message: "Expected salary (from) must be a number" }),
7973
8254
  Min8(0, { message: "Expected salary (from) cannot be negative" }),
7974
8255
  Type12(() => Number)
7975
8256
  ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
7976
8257
  __decorateClass([
7977
- IsOptional38(),
7978
- IsNumber10({}, { message: "Expected salary (to) must be a number" }),
8258
+ IsOptional47(),
8259
+ IsNumber15({}, { message: "Expected salary (to) must be a number" }),
7979
8260
  Min8(0, { message: "Expected salary (to) cannot be negative" }),
7980
8261
  Type12(() => Number)
7981
8262
  ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
7982
8263
  __decorateClass([
7983
- IsOptional38(),
8264
+ IsOptional47(),
7984
8265
  Type12(() => JobLocationAdminDto)
7985
8266
  ], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
7986
8267
  __decorateClass([
7987
8268
  ValidateIf9((o) => !o.isDraft),
7988
- IsNotEmpty58({ message: "Please enter the academic qualification" }),
7989
- IsString38({ message: "Academic qualification must be a string" })
8269
+ IsNotEmpty72({ message: "Please enter the academic qualification" }),
8270
+ IsString50({ message: "Academic qualification must be a string" })
7990
8271
  ], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
7991
8272
  __decorateClass([
7992
8273
  ValidateIf9((o) => !o.isDraft),
7993
- IsEnum26(typeOfExperienceAdminEnumDto, {
8274
+ IsEnum28(typeOfExperienceAdminEnumDto, {
7994
8275
  message: `Type of experience must be one of: ${Object.values(
7995
8276
  typeOfExperienceAdminEnumDto
7996
8277
  ).join(", ")}`
@@ -7998,83 +8279,83 @@ __decorateClass([
7998
8279
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceType", 2);
7999
8280
  __decorateClass([
8000
8281
  ValidateIf9((o) => !o.isDraft),
8001
- IsNotEmpty58({ message: "Please enter the years of experience" }),
8002
- IsString38({ message: "Years of experience must be a string" })
8282
+ IsNotEmpty72({ message: "Please enter the years of experience" }),
8283
+ IsString50({ message: "Years of experience must be a string" })
8003
8284
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceFrom", 2);
8004
8285
  __decorateClass([
8005
8286
  ValidateIf9((o) => !o.isDraft),
8006
- IsNotEmpty58({ message: "Please enter the years of experience upto" }),
8007
- IsString38({ message: "Years of experience must be a string" })
8287
+ IsNotEmpty72({ message: "Please enter the years of experience upto" }),
8288
+ IsString50({ message: "Years of experience must be a string" })
8008
8289
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceTo", 2);
8009
8290
  __decorateClass([
8010
- IsOptional38(),
8011
- IsString38({ message: "Business industry must be a string" })
8291
+ IsOptional47(),
8292
+ IsString50({ message: "Business industry must be a string" })
8012
8293
  ], AdminJobBasicInformationV2Dto.prototype, "businessIndustry", 2);
8013
8294
  __decorateClass([
8014
- IsOptional38(),
8015
- IsString38({ message: "Project name must be a string" })
8295
+ IsOptional47(),
8296
+ IsString50({ message: "Project name must be a string" })
8016
8297
  ], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
8017
8298
  __decorateClass([
8018
- IsOptional38()
8299
+ IsOptional47()
8019
8300
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryFrom", 2);
8020
8301
  __decorateClass([
8021
- IsOptional38()
8302
+ IsOptional47()
8022
8303
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
8023
8304
  __decorateClass([
8024
- IsOptional38(),
8025
- IsNumber10({}, { message: "Expected annual budget (from) must be a number" }),
8305
+ IsOptional47(),
8306
+ IsNumber15({}, { message: "Expected annual budget (from) must be a number" }),
8026
8307
  Min8(0, { message: "Expected annual budget (from) cannot be negative" }),
8027
8308
  Type12(() => Number)
8028
8309
  ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
8029
8310
  __decorateClass([
8030
- IsOptional38()
8311
+ IsOptional47()
8031
8312
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
8032
8313
  __decorateClass([
8033
- IsOptional38(),
8034
- IsNumber10({}, { message: "Expected annual budget (to) must be a number" }),
8314
+ IsOptional47(),
8315
+ IsNumber15({}, { message: "Expected annual budget (to) must be a number" }),
8035
8316
  Min8(0, { message: "Expected annual budget (to) cannot be negative" }),
8036
8317
  Type12(() => Number)
8037
8318
  ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
8038
8319
  __decorateClass([
8039
- IsOptional38()
8320
+ IsOptional47()
8040
8321
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
8041
8322
  __decorateClass([
8042
- IsOptional38(),
8043
- IsNumber10({}, { message: "Number of hours must be a number" }),
8323
+ IsOptional47(),
8324
+ IsNumber15({}, { message: "Number of hours must be a number" }),
8044
8325
  Min8(0, { message: "Number of hours cannot be negative" }),
8045
8326
  Max4(40, { message: "Number of hours cannot exceed 40" }),
8046
8327
  Type12(() => Number)
8047
8328
  ], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
8048
8329
  __decorateClass([
8049
- IsOptional38()
8330
+ IsOptional47()
8050
8331
  ], AdminJobBasicInformationV2Dto.prototype, "years", 2);
8051
8332
  __decorateClass([
8052
- IsOptional38()
8333
+ IsOptional47()
8053
8334
  ], AdminJobBasicInformationV2Dto.prototype, "months", 2);
8054
8335
  __decorateClass([
8055
- IsOptional38()
8336
+ IsOptional47()
8056
8337
  ], AdminJobBasicInformationV2Dto.prototype, "weeks", 2);
8057
8338
  __decorateClass([
8058
- IsOptional38()
8339
+ IsOptional47()
8059
8340
  ], AdminJobBasicInformationV2Dto.prototype, "days", 2);
8060
8341
  __decorateClass([
8061
- IsOptional38(),
8062
- IsString38({ message: "Additional comment must be a string" }),
8342
+ IsOptional47(),
8343
+ IsString50({ message: "Additional comment must be a string" }),
8063
8344
  MaxLength20(500, { message: "Additional comment must not exceed 500 characters" })
8064
8345
  ], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
8065
8346
  __decorateClass([
8066
8347
  ValidateIf9((o) => !o.isDraft),
8067
- IsArray15({ message: "Good to have skills must be an array" }),
8068
- IsString38({ each: true, message: "Each skill must be a string" }),
8069
- IsOptional38(),
8348
+ IsArray17({ message: "Good to have skills must be an array" }),
8349
+ IsString50({ each: true, message: "Each skill must be a string" }),
8350
+ IsOptional47(),
8070
8351
  Type12(() => String)
8071
8352
  ], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
8072
8353
  __decorateClass([
8073
- IsOptional38()
8354
+ IsOptional47()
8074
8355
  ], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
8075
8356
  __decorateClass([
8076
- IsOptional38(),
8077
- IsEnum26(AdminStepCompletedEnumV2, {
8357
+ IsOptional47(),
8358
+ IsEnum28(AdminStepCompletedEnumV2, {
8078
8359
  message: `Type of stepCompleted must be one of: ${Object.values(
8079
8360
  AdminStepCompletedEnumV2
8080
8361
  ).join(", ")}`
@@ -8088,7 +8369,7 @@ var LEAD_PATTERN = {
8088
8369
  };
8089
8370
 
8090
8371
  // src/modules/lead/dto/create-lead.dto.ts
8091
- import { IsString as IsString39, IsEmail as IsEmail14, IsOptional as IsOptional39, IsEnum as IsEnum27 } from "class-validator";
8372
+ import { IsString as IsString51, IsEmail as IsEmail16, IsOptional as IsOptional48, IsEnum as IsEnum29 } from "class-validator";
8092
8373
  var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
8093
8374
  CategoryEmumDto2["BUSINESS"] = "BUSINESS";
8094
8375
  CategoryEmumDto2["FREELANCER"] = "FREELANCER";
@@ -8097,23 +8378,23 @@ var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
8097
8378
  var CreateLeadDto = class {
8098
8379
  };
8099
8380
  __decorateClass([
8100
- IsString39({ message: "Name must be a string" })
8381
+ IsString51({ message: "Name must be a string" })
8101
8382
  ], CreateLeadDto.prototype, "name", 2);
8102
8383
  __decorateClass([
8103
- IsEmail14({}, { message: "Invalid email address" })
8384
+ IsEmail16({}, { message: "Invalid email address" })
8104
8385
  ], CreateLeadDto.prototype, "email", 2);
8105
8386
  __decorateClass([
8106
- IsString39({ message: "Mobile code must be a string (e.g., +1)" })
8387
+ IsString51({ message: "Mobile code must be a string (e.g., +1)" })
8107
8388
  ], CreateLeadDto.prototype, "mobileCode", 2);
8108
8389
  __decorateClass([
8109
- IsString39({ message: "Mobile must be a string (e.g., 1243253534)" })
8390
+ IsString51({ message: "Mobile must be a string (e.g., 1243253534)" })
8110
8391
  ], CreateLeadDto.prototype, "mobile", 2);
8111
8392
  __decorateClass([
8112
- IsOptional39(),
8113
- IsString39({ message: "Description must be a string" })
8393
+ IsOptional48(),
8394
+ IsString51({ message: "Description must be a string" })
8114
8395
  ], CreateLeadDto.prototype, "description", 2);
8115
8396
  __decorateClass([
8116
- IsEnum27(CategoryEmumDto, {
8397
+ IsEnum29(CategoryEmumDto, {
8117
8398
  message: `Type of category must be one of: ${Object.values(
8118
8399
  CategoryEmumDto
8119
8400
  ).join(", ")}`
@@ -8134,46 +8415,46 @@ var ADMIN_ROLE_PATTERN = {
8134
8415
  };
8135
8416
 
8136
8417
  // src/modules/admin-role/dto/create-admin-role.dto.ts
8137
- import { IsNotEmpty as IsNotEmpty59, IsOptional as IsOptional40, IsString as IsString40 } from "class-validator";
8418
+ import { IsNotEmpty as IsNotEmpty73, IsOptional as IsOptional49, IsString as IsString52 } from "class-validator";
8138
8419
  var CreateAdminRoleDto = class {
8139
8420
  };
8140
8421
  __decorateClass([
8141
- IsNotEmpty59({ message: "Please enter admin role name." }),
8142
- IsString40({ message: "Role name must be a string." })
8422
+ IsNotEmpty73({ message: "Please enter admin role name." }),
8423
+ IsString52({ message: "Role name must be a string." })
8143
8424
  ], CreateAdminRoleDto.prototype, "roleName", 2);
8144
8425
  __decorateClass([
8145
- IsOptional40(),
8146
- IsString40({ message: "Role description must be a string." })
8426
+ IsOptional49(),
8427
+ IsString52({ message: "Role description must be a string." })
8147
8428
  ], CreateAdminRoleDto.prototype, "roleDescription", 2);
8148
8429
 
8149
8430
  // src/modules/admin-role/dto/update-admin-role.dto.ts
8150
- import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty60, IsOptional as IsOptional41, IsString as IsString41 } from "class-validator";
8431
+ import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty74, IsOptional as IsOptional50, IsString as IsString53 } from "class-validator";
8151
8432
  var UpdateAdminRoleDto = class {
8152
8433
  };
8153
8434
  __decorateClass([
8154
- IsNotEmpty60({ message: "Please enter admin role name." }),
8155
- IsString41({ message: "Role name must be a string." })
8435
+ IsNotEmpty74({ message: "Please enter admin role name." }),
8436
+ IsString53({ message: "Role name must be a string." })
8156
8437
  ], UpdateAdminRoleDto.prototype, "roleName", 2);
8157
8438
  __decorateClass([
8158
- IsOptional41(),
8159
- IsString41({ message: "Role description must be a string." })
8439
+ IsOptional50(),
8440
+ IsString53({ message: "Role description must be a string." })
8160
8441
  ], UpdateAdminRoleDto.prototype, "roleDescription", 2);
8161
8442
  __decorateClass([
8162
- IsOptional41(),
8443
+ IsOptional50(),
8163
8444
  IsBoolean16({ message: "Is active must be a boolean value." })
8164
8445
  ], UpdateAdminRoleDto.prototype, "isActive", 2);
8165
8446
 
8166
8447
  // src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
8167
- import { IsNotEmpty as IsNotEmpty61, IsString as IsString42 } from "class-validator";
8448
+ import { IsNotEmpty as IsNotEmpty75, IsString as IsString54 } from "class-validator";
8168
8449
  var AttachPermissionsToRoleDto = class {
8169
8450
  };
8170
8451
  __decorateClass([
8171
- IsNotEmpty61({ message: "Please enter admin role ID." }),
8172
- IsString42({ message: "Role ID must be a string." })
8452
+ IsNotEmpty75({ message: "Please enter admin role ID." }),
8453
+ IsString54({ message: "Role ID must be a string." })
8173
8454
  ], AttachPermissionsToRoleDto.prototype, "roleId", 2);
8174
8455
  __decorateClass([
8175
- IsNotEmpty61({ message: "Please enter permission IDs." }),
8176
- IsString42({ message: "Permission IDs must be a comma-separated string." })
8456
+ IsNotEmpty75({ message: "Please enter permission IDs." }),
8457
+ IsString54({ message: "Permission IDs must be a comma-separated string." })
8177
8458
  ], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
8178
8459
 
8179
8460
  // src/modules/admin-permission/pattern/pattern.ts
@@ -8254,13 +8535,13 @@ var INTERVIEW_PATTERN = {
8254
8535
 
8255
8536
  // src/modules/interview/dto/interview-invite.dto.ts
8256
8537
  import {
8257
- IsString as IsString43,
8258
- IsNotEmpty as IsNotEmpty62,
8259
- IsArray as IsArray16,
8260
- ArrayNotEmpty as ArrayNotEmpty11,
8261
- IsEmail as IsEmail15,
8538
+ IsString as IsString55,
8539
+ IsNotEmpty as IsNotEmpty76,
8540
+ IsArray as IsArray18,
8541
+ ArrayNotEmpty as ArrayNotEmpty12,
8542
+ IsEmail as IsEmail17,
8262
8543
  IsUUID as IsUUID12,
8263
- IsEnum as IsEnum28,
8544
+ IsEnum as IsEnum30,
8264
8545
  ValidateIf as ValidateIf10,
8265
8546
  ValidateNested as ValidateNested7
8266
8547
  } from "class-validator";
@@ -8278,21 +8559,21 @@ __decorateClass([
8278
8559
  IsUUID12()
8279
8560
  ], ExistingCandidateDto.prototype, "id", 2);
8280
8561
  __decorateClass([
8281
- IsEnum28(CandidateType, {
8562
+ IsEnum30(CandidateType, {
8282
8563
  message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
8283
8564
  })
8284
8565
  ], ExistingCandidateDto.prototype, "type", 2);
8285
8566
  var NewCandidateDto = class {
8286
8567
  };
8287
8568
  __decorateClass([
8288
- IsNotEmpty62({ message: "Please enter the candidate name" }),
8289
- IsString43({ message: "Name must be a string" })
8569
+ IsNotEmpty76({ message: "Please enter the candidate name" }),
8570
+ IsString55({ message: "Name must be a string" })
8290
8571
  ], NewCandidateDto.prototype, "name", 2);
8291
8572
  __decorateClass([
8292
- IsEmail15({}, { message: "Please enter a valid email." })
8573
+ IsEmail17({}, { message: "Please enter a valid email." })
8293
8574
  ], NewCandidateDto.prototype, "email", 2);
8294
8575
  __decorateClass([
8295
- IsEnum28(CandidateType, {
8576
+ IsEnum30(CandidateType, {
8296
8577
  message: "type must be NEW"
8297
8578
  })
8298
8579
  ], NewCandidateDto.prototype, "type", 2);
@@ -8300,15 +8581,15 @@ var CandidatesDto = class {
8300
8581
  };
8301
8582
  __decorateClass([
8302
8583
  ValidateIf10((o) => o.exixtingCandidates?.length > 0),
8303
- IsArray16({ message: "Existing candidates should be an array." }),
8304
- ArrayNotEmpty11({ message: "Please select at least one candidate." }),
8584
+ IsArray18({ message: "Existing candidates should be an array." }),
8585
+ ArrayNotEmpty12({ message: "Please select at least one candidate." }),
8305
8586
  ValidateNested7({ each: true }),
8306
8587
  Type13(() => ExistingCandidateDto)
8307
8588
  ], CandidatesDto.prototype, "exixtingCandidates", 2);
8308
8589
  __decorateClass([
8309
8590
  ValidateIf10((o) => o.newCandidates?.length > 0),
8310
- IsArray16({ message: "New candidates should be an array." }),
8311
- ArrayNotEmpty11({ message: "Please add at least one candidate." }),
8591
+ IsArray18({ message: "New candidates should be an array." }),
8592
+ ArrayNotEmpty12({ message: "Please add at least one candidate." }),
8312
8593
  ValidateNested7({ each: true }),
8313
8594
  Type13(() => NewCandidateDto)
8314
8595
  ], CandidatesDto.prototype, "newCandidates", 2);
@@ -8324,97 +8605,191 @@ __decorateClass([
8324
8605
 
8325
8606
  // src/modules/interview/dto/create-f2f-interview.dto.ts
8326
8607
  import {
8327
- IsString as IsString44,
8328
- IsNotEmpty as IsNotEmpty63,
8329
- IsEmail as IsEmail16,
8330
- IsNumber as IsNumber11
8608
+ IsString as IsString56,
8609
+ IsNotEmpty as IsNotEmpty77,
8610
+ IsEmail as IsEmail18,
8611
+ IsNumber as IsNumber16
8331
8612
  } from "class-validator";
8332
8613
  var CreateF2FInterviewDto = class {
8333
8614
  };
8334
8615
  __decorateClass([
8335
- IsEmail16({}, { message: "Please enter a valid email address." }),
8336
- IsNotEmpty63({ message: "Invitee email is required." })
8616
+ IsEmail18({}, { message: "Please enter a valid email address." }),
8617
+ IsNotEmpty77({ message: "Invitee email is required." })
8337
8618
  ], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
8338
8619
  __decorateClass([
8339
- IsString44({ message: "Invitee name must be a string." }),
8340
- IsNotEmpty63({ message: "Invitee name is required." })
8620
+ IsString56({ message: "Invitee name must be a string." }),
8621
+ IsNotEmpty77({ message: "Invitee name is required." })
8341
8622
  ], CreateF2FInterviewDto.prototype, "inviteeName", 2);
8342
8623
  __decorateClass([
8343
- IsNumber11({}, { message: "Interview ID must be a number." })
8624
+ IsNumber16({}, { message: "Interview ID must be a number." })
8344
8625
  ], CreateF2FInterviewDto.prototype, "interviewId", 2);
8345
8626
  __decorateClass([
8346
- IsNumber11({}, { message: "Candidate ID must be a number." })
8627
+ IsNumber16({}, { message: "Candidate ID must be a number." })
8347
8628
  ], CreateF2FInterviewDto.prototype, "candidateId", 2);
8348
8629
 
8349
8630
  // src/modules/interview/dto/create-f2f-interview-direct.dto.ts
8350
8631
  import {
8351
- IsString as IsString45,
8352
- IsNotEmpty as IsNotEmpty64,
8353
- IsEmail as IsEmail17,
8354
- IsNumber as IsNumber12
8632
+ IsString as IsString57,
8633
+ IsNotEmpty as IsNotEmpty78,
8634
+ IsEmail as IsEmail19,
8635
+ IsNumber as IsNumber17
8355
8636
  } from "class-validator";
8356
8637
  var CreateF2FInterviewDirectDto = class {
8357
8638
  };
8358
8639
  __decorateClass([
8359
- IsEmail17({}, { message: "Please enter a valid email address." }),
8360
- IsNotEmpty64({ message: "Invitee email is required." })
8640
+ IsEmail19({}, { message: "Please enter a valid email address." }),
8641
+ IsNotEmpty78({ message: "Invitee email is required." })
8361
8642
  ], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
8362
8643
  __decorateClass([
8363
- IsString45({ message: "Invitee name must be a string." }),
8364
- IsNotEmpty64({ message: "Invitee name is required." })
8644
+ IsString57({ message: "Invitee name must be a string." }),
8645
+ IsNotEmpty78({ message: "Invitee name is required." })
8365
8646
  ], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
8366
8647
  __decorateClass([
8367
- IsNumber12({}, { message: "Job ID must be a number." })
8648
+ IsNumber17({}, { message: "Job ID must be a number." })
8368
8649
  ], CreateF2FInterviewDirectDto.prototype, "jobId", 2);
8369
8650
  __decorateClass([
8370
- IsNumber12({}, { message: "Candidate ID must be a number." })
8651
+ IsNumber17({}, { message: "Candidate ID must be a number." })
8371
8652
  ], CreateF2FInterviewDirectDto.prototype, "candidateId", 2);
8372
8653
 
8373
8654
  // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
8374
8655
  import {
8375
- IsString as IsString46,
8376
- IsNotEmpty as IsNotEmpty65
8656
+ IsString as IsString58,
8657
+ IsNotEmpty as IsNotEmpty79
8377
8658
  } from "class-validator";
8378
8659
  var CreateF2FInterviewRescheduleRequestDto = class {
8379
8660
  };
8380
8661
  __decorateClass([
8381
- IsNotEmpty65({ message: "F2F Interview ID is required." })
8662
+ IsNotEmpty79({ message: "F2F Interview ID is required." })
8382
8663
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
8383
8664
  __decorateClass([
8384
- IsNotEmpty65({ message: "Rescheduled date is required." })
8665
+ IsNotEmpty79({ message: "Rescheduled date is required." })
8385
8666
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
8386
8667
  __decorateClass([
8387
- IsString46({ message: "Rescheduled slot must be a string." }),
8388
- IsNotEmpty65({ message: "Rescheduled slot is required." })
8668
+ IsString58({ message: "Rescheduled slot must be a string." }),
8669
+ IsNotEmpty79({ message: "Rescheduled slot is required." })
8389
8670
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
8390
8671
  __decorateClass([
8391
- IsString46({ message: "Freelancer reason must be a string." })
8672
+ IsString58({ message: "Freelancer reason must be a string." })
8392
8673
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
8393
8674
 
8394
8675
  // src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
8395
8676
  import {
8396
- IsString as IsString47,
8397
- IsNotEmpty as IsNotEmpty66
8677
+ IsString as IsString59,
8678
+ IsNotEmpty as IsNotEmpty80
8398
8679
  } from "class-validator";
8399
8680
  var CreateAIInterviewRescheduleRequestDto = class {
8400
8681
  };
8401
8682
  __decorateClass([
8402
- IsNotEmpty66({ message: "AI Interview ID is required." })
8683
+ IsNotEmpty80({ message: "AI Interview ID is required." })
8403
8684
  ], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
8404
8685
  __decorateClass([
8405
- IsString47({ message: "Freelancer reason must be a string." })
8686
+ IsString59({ message: "Freelancer reason must be a string." })
8406
8687
  ], CreateAIInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
8407
8688
 
8408
8689
  // src/modules/interview/dto/reject-ai-interview-reschedule-request.dto.ts
8409
8690
  import {
8410
- IsString as IsString48
8691
+ IsString as IsString60
8411
8692
  } from "class-validator";
8412
8693
  var RejectAIInterviewRescheduleRequestDto = class {
8413
8694
  };
8414
8695
  __decorateClass([
8415
- IsString48({ message: "Client reject reason must be a string." })
8696
+ IsString60({ message: "Client reject reason must be a string." })
8416
8697
  ], RejectAIInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
8417
8698
 
8699
+ // src/modules/interview/dto/reject-f2f-interview-reschedule-request.dto.ts
8700
+ import { IsOptional as IsOptional54, IsString as IsString61 } from "class-validator";
8701
+ var RejectF2FInterviewRescheduleRequestDto = class {
8702
+ };
8703
+ __decorateClass([
8704
+ IsOptional54(),
8705
+ IsString61()
8706
+ ], RejectF2FInterviewRescheduleRequestDto.prototype, "reason", 2);
8707
+
8708
+ // src/modules/interview/dto/capture-ai-interview-result-public.dto.ts
8709
+ import { IsNotEmpty as IsNotEmpty81, IsString as IsString62, IsOptional as IsOptional55, IsObject as IsObject6 } from "class-validator";
8710
+ var CaptureAiInterviewResultPublicDto = class {
8711
+ };
8712
+ __decorateClass([
8713
+ IsNotEmpty81({ message: "AI Interview UUID is required" }),
8714
+ IsString62({ message: "AI Interview UUID must be a string" })
8715
+ ], CaptureAiInterviewResultPublicDto.prototype, "aiInterviewUuid", 2);
8716
+ __decorateClass([
8717
+ IsOptional55(),
8718
+ IsObject6()
8719
+ ], CaptureAiInterviewResultPublicDto.prototype, "result", 2);
8720
+ __decorateClass([
8721
+ IsOptional55(),
8722
+ IsString62()
8723
+ ], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
8724
+
8725
+ // src/modules/interview/dto/create-interview-basic-information.dto.ts
8726
+ import { IsNotEmpty as IsNotEmpty82, IsString as IsString63, IsOptional as IsOptional56, IsNumber as IsNumber18, IsArray as IsArray19, IsDateString as IsDateString7 } from "class-validator";
8727
+ var CreateInterviewBasicInformationDto = class {
8728
+ };
8729
+ __decorateClass([
8730
+ IsNotEmpty82({ message: "Job ID is required" }),
8731
+ IsNumber18({}, { message: "Job ID must be a number" })
8732
+ ], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
8733
+ __decorateClass([
8734
+ IsNotEmpty82({ message: "Interview type is required" }),
8735
+ IsString63({ message: "Interview type must be a string" })
8736
+ ], CreateInterviewBasicInformationDto.prototype, "interviewType", 2);
8737
+ __decorateClass([
8738
+ IsOptional56(),
8739
+ IsString63()
8740
+ ], CreateInterviewBasicInformationDto.prototype, "title", 2);
8741
+ __decorateClass([
8742
+ IsOptional56(),
8743
+ IsString63()
8744
+ ], CreateInterviewBasicInformationDto.prototype, "description", 2);
8745
+ __decorateClass([
8746
+ IsOptional56(),
8747
+ IsDateString7()
8748
+ ], CreateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
8749
+ __decorateClass([
8750
+ IsOptional56(),
8751
+ IsNumber18({}, { message: "Duration must be a number" })
8752
+ ], CreateInterviewBasicInformationDto.prototype, "duration", 2);
8753
+ __decorateClass([
8754
+ IsOptional56(),
8755
+ IsArray19(),
8756
+ IsNumber18({}, { each: true, message: "Each skill ID must be a number" })
8757
+ ], CreateInterviewBasicInformationDto.prototype, "skillIds", 2);
8758
+ __decorateClass([
8759
+ IsOptional56(),
8760
+ IsString63()
8761
+ ], CreateInterviewBasicInformationDto.prototype, "location", 2);
8762
+
8763
+ // src/modules/interview/dto/update-interview-basic-information.dto.ts
8764
+ import { IsOptional as IsOptional57, IsString as IsString64, IsNumber as IsNumber19, IsArray as IsArray20, IsDateString as IsDateString8 } from "class-validator";
8765
+ var UpdateInterviewBasicInformationDto = class {
8766
+ };
8767
+ __decorateClass([
8768
+ IsOptional57(),
8769
+ IsString64()
8770
+ ], UpdateInterviewBasicInformationDto.prototype, "title", 2);
8771
+ __decorateClass([
8772
+ IsOptional57(),
8773
+ IsString64()
8774
+ ], UpdateInterviewBasicInformationDto.prototype, "description", 2);
8775
+ __decorateClass([
8776
+ IsOptional57(),
8777
+ IsDateString8()
8778
+ ], UpdateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
8779
+ __decorateClass([
8780
+ IsOptional57(),
8781
+ IsNumber19({}, { message: "Duration must be a number" })
8782
+ ], UpdateInterviewBasicInformationDto.prototype, "duration", 2);
8783
+ __decorateClass([
8784
+ IsOptional57(),
8785
+ IsArray20(),
8786
+ IsNumber19({}, { each: true, message: "Each skill ID must be a number" })
8787
+ ], UpdateInterviewBasicInformationDto.prototype, "skillIds", 2);
8788
+ __decorateClass([
8789
+ IsOptional57(),
8790
+ IsString64()
8791
+ ], UpdateInterviewBasicInformationDto.prototype, "location", 2);
8792
+
8418
8793
  // src/modules/contract/pattern/pattern.ts
8419
8794
  var CONTRACT_PATTERN = {
8420
8795
  generateContract: "generate.contract",
@@ -8450,45 +8825,101 @@ var CONTRACT_PATTERN = {
8450
8825
  };
8451
8826
 
8452
8827
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
8453
- import { IsEnum as IsEnum29, IsNotEmpty as IsNotEmpty67, IsNumber as IsNumber13 } from "class-validator";
8828
+ import { IsEnum as IsEnum31, IsNotEmpty as IsNotEmpty83, IsNumber as IsNumber20 } from "class-validator";
8454
8829
  import { Type as Type14 } from "class-transformer";
8455
8830
  var SignContractForClientDto = class {
8456
8831
  };
8457
8832
  __decorateClass([
8458
- IsNotEmpty67({ message: "Job Id is required." }),
8833
+ IsNotEmpty83({ message: "Job Id is required." }),
8459
8834
  Type14(() => Number),
8460
- IsNumber13({}, { message: "Job ID must be a number." })
8835
+ IsNumber20({}, { message: "Job ID must be a number." })
8461
8836
  ], SignContractForClientDto.prototype, "jobId", 2);
8462
8837
  __decorateClass([
8463
- IsNotEmpty67({ message: "Freelancer ID is required." }),
8838
+ IsNotEmpty83({ message: "Freelancer ID is required." }),
8464
8839
  Type14(() => Number),
8465
- IsNumber13({}, { message: "Freelancer ID must be a number." })
8840
+ IsNumber20({}, { message: "Freelancer ID must be a number." })
8466
8841
  ], SignContractForClientDto.prototype, "freelancerId", 2);
8467
8842
  __decorateClass([
8468
- IsNotEmpty67({ message: "Contract type is required." }),
8469
- IsEnum29(ContractTypeEnum)
8843
+ IsNotEmpty83({ message: "Contract type is required." }),
8844
+ IsEnum31(ContractTypeEnum)
8470
8845
  ], SignContractForClientDto.prototype, "contractType", 2);
8471
8846
 
8472
8847
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
8473
- import { IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty68, IsNumber as IsNumber14 } from "class-validator";
8848
+ import { IsEnum as IsEnum32, IsNotEmpty as IsNotEmpty84, IsNumber as IsNumber21 } from "class-validator";
8474
8849
  import { Type as Type15 } from "class-transformer";
8475
8850
  var SignContractForFreelancerDto = class {
8476
8851
  };
8477
8852
  __decorateClass([
8478
- IsNotEmpty68({ message: "Job Id is required." }),
8853
+ IsNotEmpty84({ message: "Job Id is required." }),
8479
8854
  Type15(() => Number),
8480
- IsNumber14({}, { message: "Job ID must be a number." })
8855
+ IsNumber21({}, { message: "Job ID must be a number." })
8481
8856
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
8482
8857
  __decorateClass([
8483
- IsNotEmpty68({ message: "Client ID is required." }),
8858
+ IsNotEmpty84({ message: "Client ID is required." }),
8484
8859
  Type15(() => Number),
8485
- IsNumber14({}, { message: "Client ID must be a number." })
8860
+ IsNumber21({}, { message: "Client ID must be a number." })
8486
8861
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
8487
8862
  __decorateClass([
8488
- IsNotEmpty68({ message: "Contract type is required." }),
8489
- IsEnum30(ContractTypeEnum)
8863
+ IsNotEmpty84({ message: "Contract type is required." }),
8864
+ IsEnum32(ContractTypeEnum)
8490
8865
  ], SignContractForFreelancerDto.prototype, "contractType", 2);
8491
8866
 
8867
+ // src/modules/contract/dto/generate-contract.dto.ts
8868
+ import { IsNotEmpty as IsNotEmpty85, IsNumber as IsNumber22, IsOptional as IsOptional58, IsString as IsString65 } from "class-validator";
8869
+ var GenerateContractDto = class {
8870
+ };
8871
+ __decorateClass([
8872
+ IsNotEmpty85({ message: "Hiring ID is required" }),
8873
+ IsNumber22({}, { message: "Hiring ID must be a number" })
8874
+ ], GenerateContractDto.prototype, "hiringId", 2);
8875
+ __decorateClass([
8876
+ IsOptional58(),
8877
+ IsString65()
8878
+ ], GenerateContractDto.prototype, "contractType", 2);
8879
+ __decorateClass([
8880
+ IsOptional58(),
8881
+ IsString65()
8882
+ ], GenerateContractDto.prototype, "templateId", 2);
8883
+
8884
+ // src/modules/contract/dto/esign-contract-client.dto.ts
8885
+ import { IsNotEmpty as IsNotEmpty86, IsString as IsString66 } from "class-validator";
8886
+ var EsignContractClientDto = class {
8887
+ };
8888
+ __decorateClass([
8889
+ IsNotEmpty86({ message: "Contract UUID is required" }),
8890
+ IsString66({ message: "Contract UUID must be a string" })
8891
+ ], EsignContractClientDto.prototype, "contractUuid", 2);
8892
+
8893
+ // src/modules/contract/dto/esign-contract-freelancer.dto.ts
8894
+ import { IsNotEmpty as IsNotEmpty87, IsString as IsString67 } from "class-validator";
8895
+ var EsignContractFreelancerDto = class {
8896
+ };
8897
+ __decorateClass([
8898
+ IsNotEmpty87({ message: "Contract UUID is required" }),
8899
+ IsString67({ message: "Contract UUID must be a string" })
8900
+ ], EsignContractFreelancerDto.prototype, "contractUuid", 2);
8901
+
8902
+ // src/modules/contract/dto/escrow-fund-contract.dto.ts
8903
+ import { IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber23, IsOptional as IsOptional59, IsString as IsString68 } from "class-validator";
8904
+ var EscrowFundContractDto = class {
8905
+ };
8906
+ __decorateClass([
8907
+ IsNotEmpty88({ message: "Contract ID is required" }),
8908
+ IsNumber23({}, { message: "Contract ID must be a number" })
8909
+ ], EscrowFundContractDto.prototype, "contractId", 2);
8910
+ __decorateClass([
8911
+ IsNotEmpty88({ message: "Amount is required" }),
8912
+ IsNumber23({}, { message: "Amount must be a number" })
8913
+ ], EscrowFundContractDto.prototype, "amount", 2);
8914
+ __decorateClass([
8915
+ IsOptional59(),
8916
+ IsString68()
8917
+ ], EscrowFundContractDto.prototype, "currency", 2);
8918
+ __decorateClass([
8919
+ IsOptional59(),
8920
+ IsString68()
8921
+ ], EscrowFundContractDto.prototype, "description", 2);
8922
+
8492
8923
  // src/modules/stripe/pattern/pattern.ts
8493
8924
  var STRIPE_PATTERN = {
8494
8925
  handleStripeWebhookEvent: "handle.stripe.webhook.event",
@@ -8511,14 +8942,86 @@ var STRIPE_PATTERN = {
8511
8942
 
8512
8943
  // src/modules/stripe/dto/create-checkout-session.dto.ts
8513
8944
  import {
8514
- IsNotEmpty as IsNotEmpty69
8945
+ IsNotEmpty as IsNotEmpty89
8515
8946
  } from "class-validator";
8516
8947
  var CreateCheckoutSessionDto = class {
8517
8948
  };
8518
8949
  __decorateClass([
8519
- IsNotEmpty69({ message: "Amount is required" })
8950
+ IsNotEmpty89({ message: "Amount is required" })
8520
8951
  ], CreateCheckoutSessionDto.prototype, "amount", 2);
8521
8952
 
8953
+ // src/modules/stripe/dto/pre-checkout-calculation.dto.ts
8954
+ import { IsNotEmpty as IsNotEmpty90, IsNumber as IsNumber24, IsOptional as IsOptional60, IsString as IsString69 } from "class-validator";
8955
+ var PreCheckoutCalculationDto = class {
8956
+ };
8957
+ __decorateClass([
8958
+ IsNotEmpty90({ message: "Amount is required" }),
8959
+ IsNumber24({}, { message: "Amount must be a number" })
8960
+ ], PreCheckoutCalculationDto.prototype, "amount", 2);
8961
+ __decorateClass([
8962
+ IsOptional60(),
8963
+ IsString69()
8964
+ ], PreCheckoutCalculationDto.prototype, "currency", 2);
8965
+ __decorateClass([
8966
+ IsOptional60(),
8967
+ IsString69()
8968
+ ], PreCheckoutCalculationDto.prototype, "description", 2);
8969
+
8970
+ // src/modules/stripe/dto/client-add-fund.dto.ts
8971
+ import { IsNotEmpty as IsNotEmpty91, IsNumber as IsNumber25, IsOptional as IsOptional61, IsString as IsString70 } from "class-validator";
8972
+ var ClientAddFundDto = class {
8973
+ };
8974
+ __decorateClass([
8975
+ IsNotEmpty91({ message: "Amount is required" }),
8976
+ IsNumber25({}, { message: "Amount must be a number" })
8977
+ ], ClientAddFundDto.prototype, "amount", 2);
8978
+ __decorateClass([
8979
+ IsOptional61(),
8980
+ IsString70()
8981
+ ], ClientAddFundDto.prototype, "currency", 2);
8982
+ __decorateClass([
8983
+ IsOptional61(),
8984
+ IsString70()
8985
+ ], ClientAddFundDto.prototype, "description", 2);
8986
+
8987
+ // src/modules/stripe/dto/transfer-funds.dto.ts
8988
+ import { IsNotEmpty as IsNotEmpty92, IsNumber as IsNumber26, IsOptional as IsOptional62, IsString as IsString71 } from "class-validator";
8989
+ var TransferFundsDto = class {
8990
+ };
8991
+ __decorateClass([
8992
+ IsNotEmpty92({ message: "Amount is required" }),
8993
+ IsNumber26({}, { message: "Amount must be a number" })
8994
+ ], TransferFundsDto.prototype, "amount", 2);
8995
+ __decorateClass([
8996
+ IsNotEmpty92({ message: "Connected account ID is required" }),
8997
+ IsString71({ message: "Connected account ID must be a string" })
8998
+ ], TransferFundsDto.prototype, "connectedAccountId", 2);
8999
+ __decorateClass([
9000
+ IsOptional62(),
9001
+ IsString71()
9002
+ ], TransferFundsDto.prototype, "description", 2);
9003
+
9004
+ // src/modules/stripe/dto/create-payout.dto.ts
9005
+ import { IsNotEmpty as IsNotEmpty93, IsNumber as IsNumber27, IsOptional as IsOptional63, IsString as IsString72 } from "class-validator";
9006
+ var CreatePayoutDto = class {
9007
+ };
9008
+ __decorateClass([
9009
+ IsNotEmpty93({ message: "Amount is required" }),
9010
+ IsNumber27({}, { message: "Amount must be a number" })
9011
+ ], CreatePayoutDto.prototype, "amount", 2);
9012
+ __decorateClass([
9013
+ IsNotEmpty93({ message: "Connected account ID is required" }),
9014
+ IsString72({ message: "Connected account ID must be a string" })
9015
+ ], CreatePayoutDto.prototype, "connectedAccountId", 2);
9016
+ __decorateClass([
9017
+ IsOptional63(),
9018
+ IsString72()
9019
+ ], CreatePayoutDto.prototype, "method", 2);
9020
+ __decorateClass([
9021
+ IsOptional63(),
9022
+ IsString72()
9023
+ ], CreatePayoutDto.prototype, "description", 2);
9024
+
8522
9025
  // src/modules/timesheet/pattern/pattern.ts
8523
9026
  var TIMESHEET_FREELANCER_PATTERN = {
8524
9027
  fetchTimesheetsByDateRangeForFreelancer: "fetch.timesheets.by.date.range.for.freelancer",
@@ -8561,158 +9064,175 @@ var TIMESHEET_CLIENT_PATTERN = {
8561
9064
 
8562
9065
  // src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
8563
9066
  import {
8564
- IsDateString as IsDateString7,
9067
+ IsDateString as IsDateString9,
8565
9068
  IsInt as IsInt12,
8566
- IsNotEmpty as IsNotEmpty70,
8567
- IsOptional as IsOptional45,
8568
- IsString as IsString49,
9069
+ IsNotEmpty as IsNotEmpty94,
9070
+ IsOptional as IsOptional64,
9071
+ IsString as IsString73,
8569
9072
  Matches as Matches13,
8570
- IsNumber as IsNumber15
9073
+ IsNumber as IsNumber28
8571
9074
  } from "class-validator";
8572
9075
  var CreateFreelancerTimesheetDto = class {
8573
9076
  };
8574
9077
  __decorateClass([
8575
- IsNotEmpty70({ message: "Job id is required" }),
8576
- IsNumber15({}, { message: "Job id must be a number" })
9078
+ IsNotEmpty94({ message: "Job id is required" }),
9079
+ IsNumber28({}, { message: "Job id must be a number" })
8577
9080
  ], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
8578
9081
  __decorateClass([
8579
- IsNotEmpty70({ message: "start date is required" }),
8580
- IsDateString7()
9082
+ IsNotEmpty94({ message: "start date is required" }),
9083
+ IsDateString9()
8581
9084
  ], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
8582
9085
  __decorateClass([
8583
- IsNotEmpty70({ message: "end date is required" }),
8584
- IsDateString7()
9086
+ IsNotEmpty94({ message: "end date is required" }),
9087
+ IsDateString9()
8585
9088
  ], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
8586
9089
  __decorateClass([
8587
- IsNotEmpty70({ message: "start time is required" }),
9090
+ IsNotEmpty94({ message: "start time is required" }),
8588
9091
  Matches13(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
8589
9092
  message: "startTime must be in HH:mm:ss format"
8590
9093
  })
8591
9094
  ], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
8592
9095
  __decorateClass([
8593
- IsNotEmpty70({ message: "end time is required" }),
9096
+ IsNotEmpty94({ message: "end time is required" }),
8594
9097
  Matches13(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
8595
9098
  message: "endTime must be in HH:mm:ss format"
8596
9099
  })
8597
9100
  ], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
8598
9101
  __decorateClass([
8599
- IsOptional45(),
9102
+ IsOptional64(),
8600
9103
  IsInt12()
8601
9104
  ], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
8602
9105
  __decorateClass([
8603
- IsOptional45(),
8604
- IsString49()
9106
+ IsOptional64(),
9107
+ IsString73()
8605
9108
  ], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
8606
9109
  __decorateClass([
8607
- IsOptional45(),
8608
- IsString49()
9110
+ IsOptional64(),
9111
+ IsString73()
8609
9112
  ], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
8610
9113
  __decorateClass([
8611
- IsOptional45(),
8612
- IsString49()
9114
+ IsOptional64(),
9115
+ IsString73()
8613
9116
  ], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
8614
9117
  __decorateClass([
8615
- IsNotEmpty70({ message: "Description is required" })
9118
+ IsNotEmpty94({ message: "Description is required" })
8616
9119
  ], CreateFreelancerTimesheetDto.prototype, "description", 2);
8617
9120
 
8618
9121
  // src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
8619
9122
  import {
8620
- IsDateString as IsDateString8,
9123
+ IsDateString as IsDateString10,
8621
9124
  IsInt as IsInt13,
8622
- IsNotEmpty as IsNotEmpty71,
8623
- IsOptional as IsOptional46,
8624
- IsString as IsString50,
9125
+ IsNotEmpty as IsNotEmpty95,
9126
+ IsOptional as IsOptional65,
9127
+ IsString as IsString74,
8625
9128
  Matches as Matches14,
8626
- IsNumber as IsNumber16
9129
+ IsNumber as IsNumber29
8627
9130
  } from "class-validator";
8628
9131
  var UpdateFreelancerTimesheetDto = class {
8629
9132
  };
8630
9133
  __decorateClass([
8631
- IsNotEmpty71({ message: "Job id is required" }),
8632
- IsNumber16({}, { message: "Job id must be a number" })
9134
+ IsNotEmpty95({ message: "Job id is required" }),
9135
+ IsNumber29({}, { message: "Job id must be a number" })
8633
9136
  ], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
8634
9137
  __decorateClass([
8635
- IsNotEmpty71({ message: "start date is required" }),
8636
- IsDateString8()
9138
+ IsNotEmpty95({ message: "start date is required" }),
9139
+ IsDateString10()
8637
9140
  ], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
8638
9141
  __decorateClass([
8639
- IsNotEmpty71({ message: "end date is required" }),
8640
- IsDateString8()
9142
+ IsNotEmpty95({ message: "end date is required" }),
9143
+ IsDateString10()
8641
9144
  ], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
8642
9145
  __decorateClass([
8643
- IsNotEmpty71({ message: "start time is required" }),
9146
+ IsNotEmpty95({ message: "start time is required" }),
8644
9147
  Matches14(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
8645
9148
  message: "startTime must be in HH:mm:ss format"
8646
9149
  })
8647
9150
  ], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
8648
9151
  __decorateClass([
8649
- IsNotEmpty71({ message: "end time is required" }),
9152
+ IsNotEmpty95({ message: "end time is required" }),
8650
9153
  Matches14(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
8651
9154
  message: "endTime must be in HH:mm:ss format"
8652
9155
  })
8653
9156
  ], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
8654
9157
  __decorateClass([
8655
- IsOptional46(),
9158
+ IsOptional65(),
8656
9159
  IsInt13()
8657
9160
  ], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
8658
9161
  __decorateClass([
8659
- IsOptional46(),
8660
- IsString50()
9162
+ IsOptional65(),
9163
+ IsString74()
8661
9164
  ], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
8662
9165
  __decorateClass([
8663
- IsOptional46(),
8664
- IsString50()
9166
+ IsOptional65(),
9167
+ IsString74()
8665
9168
  ], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
8666
9169
  __decorateClass([
8667
- IsOptional46(),
8668
- IsString50()
9170
+ IsOptional65(),
9171
+ IsString74()
8669
9172
  ], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
8670
9173
  __decorateClass([
8671
- IsNotEmpty71({ message: "Description is required" })
9174
+ IsNotEmpty95({ message: "Description is required" })
8672
9175
  ], UpdateFreelancerTimesheetDto.prototype, "description", 2);
8673
9176
 
8674
9177
  // src/modules/timesheet/dto/submit-timesheet.dto.ts
8675
- import { IsNotEmpty as IsNotEmpty72, IsNumber as IsNumber17 } from "class-validator";
9178
+ import { IsNotEmpty as IsNotEmpty96, IsNumber as IsNumber30 } from "class-validator";
8676
9179
  var SubmitTimesheetDto = class {
8677
9180
  };
8678
9181
  __decorateClass([
8679
- IsNotEmpty72({ message: "Timesheet line ID is required" }),
8680
- IsNumber17({}, { message: "Timesheet line ID must be a number" })
9182
+ IsNotEmpty96({ message: "Timesheet line ID is required" }),
9183
+ IsNumber30({}, { message: "Timesheet line ID must be a number" })
8681
9184
  ], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
8682
9185
 
8683
9186
  // src/modules/timesheet/dto/resubmit-timesheet.dto.ts
8684
- import { IsNotEmpty as IsNotEmpty73, IsNumber as IsNumber18 } from "class-validator";
9187
+ import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber31 } from "class-validator";
8685
9188
  var ResubmitTimesheetDto = class {
8686
9189
  };
8687
9190
  __decorateClass([
8688
- IsNotEmpty73({ message: "Timesheet line ID is required" }),
8689
- IsNumber18({}, { message: "Timesheet line ID must be a number" })
9191
+ IsNotEmpty97({ message: "Timesheet line ID is required" }),
9192
+ IsNumber31({}, { message: "Timesheet line ID must be a number" })
8690
9193
  ], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
8691
9194
 
8692
9195
  // src/modules/timesheet/dto/approve-timesheets.dto.ts
8693
- import { ArrayNotEmpty as ArrayNotEmpty12, IsArray as IsArray17, IsNumber as IsNumber19 } from "class-validator";
9196
+ import { ArrayNotEmpty as ArrayNotEmpty13, IsArray as IsArray21, IsNumber as IsNumber32 } from "class-validator";
8694
9197
  var ApproveTimesheetsDto = class {
8695
9198
  };
8696
9199
  __decorateClass([
8697
- IsArray17({ message: "Timesheet line IDs must be an array" }),
8698
- ArrayNotEmpty12({ message: "At least one timesheet line ID is required" }),
8699
- IsNumber19({}, { each: true, message: "Each timesheet line ID must be a number" })
9200
+ IsArray21({ message: "Timesheet line IDs must be an array" }),
9201
+ ArrayNotEmpty13({ message: "At least one timesheet line ID is required" }),
9202
+ IsNumber32({}, { each: true, message: "Each timesheet line ID must be a number" })
8700
9203
  ], ApproveTimesheetsDto.prototype, "timesheetLineIds", 2);
8701
9204
 
8702
9205
  // src/modules/timesheet/dto/send-back-timesheets.dto.ts
8703
- import { ArrayNotEmpty as ArrayNotEmpty13, IsArray as IsArray18, IsNumber as IsNumber20, IsOptional as IsOptional47, IsString as IsString51 } from "class-validator";
9206
+ import { ArrayNotEmpty as ArrayNotEmpty14, IsArray as IsArray22, IsNumber as IsNumber33, IsOptional as IsOptional66, IsString as IsString75 } from "class-validator";
8704
9207
  var SendBackTimesheetsDto = class {
8705
9208
  };
8706
9209
  __decorateClass([
8707
- IsArray18({ message: "Timesheet line IDs must be an array" }),
8708
- ArrayNotEmpty13({ message: "At least one timesheet line ID is required" }),
8709
- IsNumber20({}, { each: true, message: "Each timesheet line ID must be a number" })
9210
+ IsArray22({ message: "Timesheet line IDs must be an array" }),
9211
+ ArrayNotEmpty14({ message: "At least one timesheet line ID is required" }),
9212
+ IsNumber33({}, { each: true, message: "Each timesheet line ID must be a number" })
8710
9213
  ], SendBackTimesheetsDto.prototype, "timesheetLineIds", 2);
8711
9214
  __decorateClass([
8712
- IsOptional47(),
8713
- IsString51()
9215
+ IsOptional66(),
9216
+ IsString75()
8714
9217
  ], SendBackTimesheetsDto.prototype, "reason", 2);
8715
9218
 
9219
+ // src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
9220
+ import { IsNotEmpty as IsNotEmpty98, IsNumber as IsNumber34 } from "class-validator";
9221
+ var CreateDefaultTimesheetLineDto = class {
9222
+ };
9223
+ __decorateClass([
9224
+ IsNotEmpty98({ message: "Contract ID is required" }),
9225
+ IsNumber34({}, { message: "Contract ID must be a number" })
9226
+ ], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
9227
+ __decorateClass([
9228
+ IsNotEmpty98({ message: "Freelancer ID is required" }),
9229
+ IsNumber34({}, { message: "Freelancer ID must be a number" })
9230
+ ], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
9231
+ __decorateClass([
9232
+ IsNotEmpty98({ message: "Client ID is required" }),
9233
+ IsNumber34({}, { message: "Client ID must be a number" })
9234
+ ], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
9235
+
8716
9236
  // src/modules/invoice/pattern/pattern.ts
8717
9237
  var INVOICE_PATTERN = {
8718
9238
  createInvoice: "invoice.create",
@@ -8732,23 +9252,23 @@ var INVOICE_PATTERN = {
8732
9252
  };
8733
9253
 
8734
9254
  // src/modules/invoice/dto/update-invoice-status.dto.ts
8735
- import { IsEnum as IsEnum33, IsNotEmpty as IsNotEmpty74 } from "class-validator";
9255
+ import { IsEnum as IsEnum35, IsNotEmpty as IsNotEmpty99 } from "class-validator";
8736
9256
  var UpdateInvoiceStatusDto = class {
8737
9257
  };
8738
9258
  __decorateClass([
8739
- IsNotEmpty74({ message: "Please provide invoice status." }),
8740
- IsEnum33(InvoiceStatusEnum, {
9259
+ IsNotEmpty99({ message: "Please provide invoice status." }),
9260
+ IsEnum35(InvoiceStatusEnum, {
8741
9261
  message: "Status must be one of: APPROVED, REJECTED"
8742
9262
  })
8743
9263
  ], UpdateInvoiceStatusDto.prototype, "status", 2);
8744
9264
 
8745
9265
  // src/modules/invoice/dto/create-invoice.dto.ts
8746
- import { IsNotEmpty as IsNotEmpty75, IsNumber as IsNumber21 } from "class-validator";
9266
+ import { IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber35 } from "class-validator";
8747
9267
  var CreateInvoiceDto = class {
8748
9268
  };
8749
9269
  __decorateClass([
8750
- IsNotEmpty75({ message: "Timesheet line ID is required" }),
8751
- IsNumber21({}, { message: "Timesheet line ID must be a number" })
9270
+ IsNotEmpty100({ message: "Timesheet line ID is required" }),
9271
+ IsNumber35({}, { message: "Timesheet line ID must be a number" })
8752
9272
  ], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
8753
9273
 
8754
9274
  // src/modules/dispute/pattern/pattern.ts
@@ -8760,13 +9280,13 @@ var DISPUTE_PATTERN = {
8760
9280
 
8761
9281
  // src/modules/dispute/dto/create-dispute.dto.ts
8762
9282
  import {
8763
- IsString as IsString52,
8764
- IsNotEmpty as IsNotEmpty76,
9283
+ IsString as IsString76,
9284
+ IsNotEmpty as IsNotEmpty101,
8765
9285
  IsIn as IsIn4,
8766
- IsOptional as IsOptional48,
9286
+ IsOptional as IsOptional67,
8767
9287
  MaxLength as MaxLength21,
8768
- IsObject,
8769
- IsNumber as IsNumber22,
9288
+ IsObject as IsObject7,
9289
+ IsNumber as IsNumber36,
8770
9290
  ValidateIf as ValidateIf11
8771
9291
  } from "class-validator";
8772
9292
  import { Transform as Transform4, Type as Type16 } from "class-transformer";
@@ -8774,36 +9294,36 @@ var CreateDisputeDto = class {
8774
9294
  };
8775
9295
  __decorateClass([
8776
9296
  ValidateIf11((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
8777
- IsNumber22({}, { message: "Client id must be a number" }),
9297
+ IsNumber36({}, { message: "Client id must be a number" }),
8778
9298
  Type16(() => Number)
8779
9299
  ], CreateDisputeDto.prototype, "clientId", 2);
8780
9300
  __decorateClass([
8781
9301
  ValidateIf11((o) => o.initiatorType === "CLIENT" /* CLIENT */),
8782
- IsNumber22({}, { message: "Freelancer id must be a number" }),
9302
+ IsNumber36({}, { message: "Freelancer id must be a number" }),
8783
9303
  Type16(() => Number)
8784
9304
  ], CreateDisputeDto.prototype, "freelancerId", 2);
8785
9305
  __decorateClass([
8786
- IsNotEmpty76({ message: "Please select dispute type." }),
8787
- IsString52(),
9306
+ IsNotEmpty101({ message: "Please select dispute type." }),
9307
+ IsString76(),
8788
9308
  IsIn4(["JOB", "INVOICE"])
8789
9309
  ], CreateDisputeDto.prototype, "disputeType", 2);
8790
9310
  __decorateClass([
8791
- IsNotEmpty76({ message: "Please provide initiator type." }),
8792
- IsString52()
9311
+ IsNotEmpty101({ message: "Please provide initiator type." }),
9312
+ IsString76()
8793
9313
  ], CreateDisputeDto.prototype, "initiatorType", 2);
8794
9314
  __decorateClass([
8795
- IsNotEmpty76({ message: "Please enter description." }),
8796
- IsString52({ message: "Description must be a string" }),
9315
+ IsNotEmpty101({ message: "Please enter description." }),
9316
+ IsString76({ message: "Description must be a string" }),
8797
9317
  MaxLength21(500, { message: "Description must not exceed 500 characters" })
8798
9318
  ], CreateDisputeDto.prototype, "description", 2);
8799
9319
  __decorateClass([
8800
- IsOptional48(),
8801
- IsString52({ message: "Comment must be a string" }),
9320
+ IsOptional67(),
9321
+ IsString76({ message: "Comment must be a string" }),
8802
9322
  MaxLength21(500, { message: "Comment must not exceed 500 characters" })
8803
9323
  ], CreateDisputeDto.prototype, "comment", 2);
8804
9324
  __decorateClass([
8805
- IsOptional48(),
8806
- IsObject({ message: "Dynamic fields must be a valid object" }),
9325
+ IsOptional67(),
9326
+ IsObject7({ message: "Dynamic fields must be a valid object" }),
8807
9327
  Transform4(({ value }) => {
8808
9328
  if (typeof value === "string") {
8809
9329
  try {
@@ -8825,17 +9345,128 @@ var SENSELOAF_PATTERN = {
8825
9345
 
8826
9346
  // src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
8827
9347
  import {
8828
- IsNotEmpty as IsNotEmpty77
9348
+ IsNotEmpty as IsNotEmpty102
8829
9349
  } from "class-validator";
8830
9350
  var AiInterviewQuestionGenerateDto = class {
8831
9351
  };
8832
9352
  __decorateClass([
8833
- IsNotEmpty77({ message: "Please enter job description." })
9353
+ IsNotEmpty102({ message: "Please enter job description." })
8834
9354
  ], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
8835
9355
  __decorateClass([
8836
- IsNotEmpty77({ message: "Please enter number of questions." })
9356
+ IsNotEmpty102({ message: "Please enter number of questions." })
8837
9357
  ], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
8838
9358
 
9359
+ // src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
9360
+ import { IsNotEmpty as IsNotEmpty103, IsString as IsString77, IsOptional as IsOptional68 } from "class-validator";
9361
+ var ResumeParsingByUrlDto = class {
9362
+ };
9363
+ __decorateClass([
9364
+ IsNotEmpty103({ message: "Resume URL is required" }),
9365
+ IsString77({ message: "Resume URL must be a string" })
9366
+ ], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
9367
+ __decorateClass([
9368
+ IsOptional68(),
9369
+ IsString77()
9370
+ ], ResumeParsingByUrlDto.prototype, "fileName", 2);
9371
+
9372
+ // src/modules/senseloaf/dto/resume-data-processing.dto.ts
9373
+ import { IsNotEmpty as IsNotEmpty104, IsString as IsString78, IsOptional as IsOptional69, IsObject as IsObject8 } from "class-validator";
9374
+ var ResumeDataProcessingDto = class {
9375
+ };
9376
+ __decorateClass([
9377
+ IsNotEmpty104({ message: "Resume data is required" }),
9378
+ IsObject8()
9379
+ ], ResumeDataProcessingDto.prototype, "resumeData", 2);
9380
+ __decorateClass([
9381
+ IsOptional69(),
9382
+ IsString78()
9383
+ ], ResumeDataProcessingDto.prototype, "userId", 2);
9384
+ __decorateClass([
9385
+ IsOptional69(),
9386
+ IsString78()
9387
+ ], ResumeDataProcessingDto.prototype, "processingType", 2);
9388
+
9389
+ // src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
9390
+ import { IsNotEmpty as IsNotEmpty105, IsString as IsString79, IsOptional as IsOptional70, IsObject as IsObject9 } from "class-validator";
9391
+ var CheckResumeEligibilityDto = class {
9392
+ };
9393
+ __decorateClass([
9394
+ IsNotEmpty105({ message: "Resume data is required" }),
9395
+ IsObject9()
9396
+ ], CheckResumeEligibilityDto.prototype, "resumeData", 2);
9397
+ __decorateClass([
9398
+ IsOptional70(),
9399
+ IsString79()
9400
+ ], CheckResumeEligibilityDto.prototype, "jobId", 2);
9401
+ __decorateClass([
9402
+ IsOptional70(),
9403
+ IsString79()
9404
+ ], CheckResumeEligibilityDto.prototype, "userId", 2);
9405
+
9406
+ // src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
9407
+ import { IsNotEmpty as IsNotEmpty106, IsString as IsString80, IsOptional as IsOptional71, IsArray as IsArray23, IsNumber as IsNumber37 } from "class-validator";
9408
+ var AiInterviewTemplateGenerationDto = class {
9409
+ };
9410
+ __decorateClass([
9411
+ IsNotEmpty106({ message: "Job ID is required" }),
9412
+ IsString80({ message: "Job ID must be a string" })
9413
+ ], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
9414
+ __decorateClass([
9415
+ IsOptional71(),
9416
+ IsArray23(),
9417
+ IsString80({ each: true, message: "Each skill must be a string" })
9418
+ ], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
9419
+ __decorateClass([
9420
+ IsOptional71(),
9421
+ IsNumber37({}, { message: "Number of questions must be a number" })
9422
+ ], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
9423
+ __decorateClass([
9424
+ IsOptional71(),
9425
+ IsString80()
9426
+ ], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
9427
+
9428
+ // src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
9429
+ import { IsNotEmpty as IsNotEmpty107, IsString as IsString81, IsOptional as IsOptional72, IsNumber as IsNumber38 } from "class-validator";
9430
+ var AiInterviewLinkGenerationDto = class {
9431
+ };
9432
+ __decorateClass([
9433
+ IsNotEmpty107({ message: "Template ID is required" }),
9434
+ IsString81({ message: "Template ID must be a string" })
9435
+ ], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
9436
+ __decorateClass([
9437
+ IsNotEmpty107({ message: "Freelancer ID is required" }),
9438
+ IsString81({ message: "Freelancer ID must be a string" })
9439
+ ], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
9440
+ __decorateClass([
9441
+ IsOptional72(),
9442
+ IsString81()
9443
+ ], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
9444
+ __decorateClass([
9445
+ IsOptional72(),
9446
+ IsNumber38({}, { message: "Expiry hours must be a number" })
9447
+ ], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
9448
+
9449
+ // src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
9450
+ import { IsNotEmpty as IsNotEmpty108, IsString as IsString82, IsOptional as IsOptional73, IsNumber as IsNumber39 } from "class-validator";
9451
+ var AiAssessmentCreationDto = class {
9452
+ };
9453
+ __decorateClass([
9454
+ IsNotEmpty108({ message: "User ID is required" }),
9455
+ IsString82({ message: "User ID must be a string" })
9456
+ ], AiAssessmentCreationDto.prototype, "userId", 2);
9457
+ __decorateClass([
9458
+ IsOptional73(),
9459
+ IsString82()
9460
+ ], AiAssessmentCreationDto.prototype, "assessmentType", 2);
9461
+ __decorateClass([
9462
+ IsOptional73(),
9463
+ IsNumber39({}, { message: "Number of questions must be a number" })
9464
+ ], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
9465
+ __decorateClass([
9466
+ IsOptional73(),
9467
+ IsString82()
9468
+ ], AiAssessmentCreationDto.prototype, "difficulty", 2);
9469
+
8839
9470
  // src/modules/commission/pattern/pattern.ts
8840
9471
  var COMMISSION_PATTERN = {
8841
9472
  fetchCommission: "fetch.commission"
@@ -8849,16 +9480,16 @@ var HIRING_PATTERN = {
8849
9480
  };
8850
9481
 
8851
9482
  // src/modules/hiring/dto/create-hiring.dto.ts
8852
- import { IsNotEmpty as IsNotEmpty78, IsNumber as IsNumber23 } from "class-validator";
9483
+ import { IsNotEmpty as IsNotEmpty109, IsNumber as IsNumber40 } from "class-validator";
8853
9484
  var CreateHiringDto = class {
8854
9485
  };
8855
9486
  __decorateClass([
8856
- IsNotEmpty78({ message: "Freelancer ID is required" }),
8857
- IsNumber23({}, { message: "Freelancer ID must be a number" })
9487
+ IsNotEmpty109({ message: "Freelancer ID is required" }),
9488
+ IsNumber40({}, { message: "Freelancer ID must be a number" })
8858
9489
  ], CreateHiringDto.prototype, "freelancerId", 2);
8859
9490
  __decorateClass([
8860
- IsNotEmpty78({ message: "Job ID is required" }),
8861
- IsNumber23({}, { message: "Job ID must be a number" })
9491
+ IsNotEmpty109({ message: "Job ID is required" }),
9492
+ IsNumber40({}, { message: "Job ID must be a number" })
8862
9493
  ], CreateHiringDto.prototype, "jobId", 2);
8863
9494
 
8864
9495
  // src/modules/llm/pattern/pattern.ts
@@ -8878,6 +9509,19 @@ var SIGNATURE_PATTERN = {
8878
9509
  saveSignature: "save.signature"
8879
9510
  };
8880
9511
 
9512
+ // src/modules/user/signature/dto/save-signature.dto.ts
9513
+ import { IsOptional as IsOptional74, IsString as IsString83 } from "class-validator";
9514
+ var SaveSignatureDto = class {
9515
+ };
9516
+ __decorateClass([
9517
+ IsOptional74(),
9518
+ IsString83()
9519
+ ], SaveSignatureDto.prototype, "signatureType", 2);
9520
+ __decorateClass([
9521
+ IsOptional74(),
9522
+ IsString83()
9523
+ ], SaveSignatureDto.prototype, "description", 2);
9524
+
8881
9525
  // src/modules/wallet/pattern/pattern.ts
8882
9526
  var WALLET_PATTERN = {
8883
9527
  fetchConnectAccountDetails: "fetch.connect.account.details",
@@ -8892,6 +9536,28 @@ var WALLET_ADMIN_PATTERN = {
8892
9536
  fetchAdminWalletTransactions: "fetch.admin.wallet.transactions"
8893
9537
  };
8894
9538
 
9539
+ // src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
9540
+ import { IsNotEmpty as IsNotEmpty110, IsNumber as IsNumber41 } from "class-validator";
9541
+ var AddTopupEscrowAmountDto = class {
9542
+ };
9543
+ __decorateClass([
9544
+ IsNotEmpty110({ message: "Amount is required" }),
9545
+ IsNumber41({}, { message: "Amount must be a number" })
9546
+ ], AddTopupEscrowAmountDto.prototype, "amount", 2);
9547
+
9548
+ // src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
9549
+ import { IsNotEmpty as IsNotEmpty111, IsNumber as IsNumber42 } from "class-validator";
9550
+ var DebitCommissionFteHiringDto = class {
9551
+ };
9552
+ __decorateClass([
9553
+ IsNotEmpty111({ message: "Hiring ID is required" }),
9554
+ IsNumber42({}, { message: "Hiring ID must be a number" })
9555
+ ], DebitCommissionFteHiringDto.prototype, "hiringId", 2);
9556
+ __decorateClass([
9557
+ IsNotEmpty111({ message: "Amount is required" }),
9558
+ IsNumber42({}, { message: "Amount must be a number" })
9559
+ ], DebitCommissionFteHiringDto.prototype, "amount", 2);
9560
+
8895
9561
  // src/adapters/tcp/user.tcp.adapter.ts
8896
9562
  import { config } from "dotenv";
8897
9563
  import { Transport } from "@nestjs/microservices";
@@ -9910,6 +10576,7 @@ export {
9910
10576
  AUTHENTICATION_PATTERN,
9911
10577
  AccountStatus,
9912
10578
  AccountType,
10579
+ AddTopupEscrowAmountDto,
9913
10580
  AdminCreateJobInformationDto,
9914
10581
  AdminJobBasicInformationV2Dto,
9915
10582
  AdminPermission,
@@ -9917,16 +10584,20 @@ export {
9917
10584
  AdminRolePermission,
9918
10585
  AdminUpdateJobInformationDto,
9919
10586
  AdminUserRole,
10587
+ AiAssessmentCreationDto,
9920
10588
  AiAssessmentStatusEnum,
9921
10589
  AiInterview,
10590
+ AiInterviewLinkGenerationDto,
9922
10591
  AiInterviewQuestionGenerateDto,
9923
10592
  AiInterviewRescheduleRequest,
9924
10593
  AiInterviewRescheduleRequestStatusEnum,
9925
10594
  AiInterviewStatusEnum,
10595
+ AiInterviewTemplateGenerationDto,
9926
10596
  AnswerTypeEnum,
9927
10597
  ApplicationStatusEnum,
9928
10598
  ApproveTimesheetsDto,
9929
10599
  AssessmentAnswer,
10600
+ AssessmentRequestStatus,
9930
10601
  AssessmentRequestStatusEnum,
9931
10602
  AssessmentStatusEnum,
9932
10603
  AssessmetQuestion,
@@ -9951,6 +10622,8 @@ export {
9951
10622
  COUNTRY_PATTERN,
9952
10623
  CalendlyMeetingLog,
9953
10624
  CandidateType,
10625
+ CaptureAiAssessmentResultDto,
10626
+ CaptureAiInterviewResultPublicDto,
9954
10627
  CaseStudyDto,
9955
10628
  CategoryEmum,
9956
10629
  CategoryEmumDto,
@@ -9958,13 +10631,17 @@ export {
9958
10631
  ChangeJobApplicationStatusDto,
9959
10632
  ChatRMQAdapter,
9960
10633
  ChatTCPAdapter,
10634
+ CheckResumeEligibilityDto,
9961
10635
  City,
10636
+ ClientAddFundDto,
9962
10637
  ClientCandidatePreference,
9963
10638
  ClientCandidatePreferenceEnum,
9964
10639
  ClientChangePasswordDto,
9965
10640
  ClientCreateAccountDto,
10641
+ ClientESignatureDto,
9966
10642
  ClientFreelancerRecommendation,
9967
10643
  ClientProfileQuestionDto,
10644
+ ClientServiceAgreementUploadDto,
9968
10645
  CloseJobDto,
9969
10646
  Cms,
9970
10647
  Commission,
@@ -9990,6 +10667,7 @@ export {
9990
10667
  CreateCmsDto,
9991
10668
  CreateCompanyMemberDto,
9992
10669
  CreateCompanyRoleDto,
10670
+ CreateDefaultTimesheetLineDto,
9993
10671
  CreateDisputeDto,
9994
10672
  CreateF2FInterviewDirectDto,
9995
10673
  CreateF2FInterviewDto,
@@ -9997,13 +10675,16 @@ export {
9997
10675
  CreateFreelancerDto,
9998
10676
  CreateFreelancerTimesheetDto,
9999
10677
  CreateHiringDto,
10678
+ CreateInterviewBasicInformationDto,
10000
10679
  CreateInvoiceDto,
10001
10680
  CreateJobApplicationDto,
10002
10681
  CreateLeadDto,
10682
+ CreatePayoutDto,
10003
10683
  CreateQuestionDto,
10004
10684
  CreateRatingDto,
10005
10685
  CreateSubAdminDto,
10006
10686
  DISPUTE_PATTERN,
10687
+ DebitCommissionFteHiringDto,
10007
10688
  Dispute,
10008
10689
  DisputeStatusEnum,
10009
10690
  DocumentType,
@@ -10013,10 +10694,13 @@ export {
10013
10694
  EducationDto,
10014
10695
  EmploymentType,
10015
10696
  EmploymentTypeV2,
10697
+ EscrowFundContractDto,
10016
10698
  EscrowWallet,
10017
10699
  EscrowWalletTransaction,
10018
10700
  EscrowWalletTransactionForEnum,
10019
10701
  EscrowWalletTransactionTypeEnum,
10702
+ EsignContractClientDto,
10703
+ EsignContractFreelancerDto,
10020
10704
  ExperienceDto,
10021
10705
  F2FInterview,
10022
10706
  F2FInterviewSchedule,
@@ -10032,6 +10716,8 @@ export {
10032
10716
  FREELANCER_PROJECT_PATTERN,
10033
10717
  FREELANCER_SKILL_PATTERN,
10034
10718
  Feature,
10719
+ FetchClientInfoForChatDto,
10720
+ FetchFreelancerInfoForChatDto,
10035
10721
  ForgotPasswordDto,
10036
10722
  FreelancerAssessment,
10037
10723
  FreelancerAssessmentRequest,
@@ -10043,6 +10729,7 @@ export {
10043
10729
  FreelancerDeclaration,
10044
10730
  FreelancerDeclarationDto,
10045
10731
  FreelancerDevelopmentPreferenceDto,
10732
+ FreelancerESignatureDto,
10046
10733
  FreelancerEducation,
10047
10734
  FreelancerEducationDto,
10048
10735
  FreelancerExperience,
@@ -10064,6 +10751,7 @@ export {
10064
10751
  FreelancerUploadResumeDto,
10065
10752
  FreelancerWorkShowcaseDto,
10066
10753
  FromUsOn,
10754
+ GenerateContractDto,
10067
10755
  HIRING_PATTERN,
10068
10756
  HiredFreelancerNatureOfWorkEnum,
10069
10757
  Hiring,
@@ -10122,6 +10810,8 @@ export {
10122
10810
  LoginViaOtpScopeEnum,
10123
10811
  LogoutDto,
10124
10812
  MAINTENANCE_PATTERN,
10813
+ MarkCandidateStatusBulkDto,
10814
+ MarkCandidateStatusDto,
10125
10815
  McqStatusEnum,
10126
10816
  ModeOfHire,
10127
10817
  ModeOfWork,
@@ -10135,11 +10825,13 @@ export {
10135
10825
  OTP_PATTERN,
10136
10826
  OnboardingStepEnum,
10137
10827
  Otp,
10828
+ OtpType,
10138
10829
  PERMISSION_PATTERN,
10139
10830
  PLAN_PATTERN,
10140
10831
  PROFILE_PATTERN,
10141
10832
  Permission,
10142
10833
  Plan,
10834
+ PreCheckoutCalculationDto,
10143
10835
  ProjectDto,
10144
10836
  Provider,
10145
10837
  Question,
@@ -10150,13 +10842,18 @@ export {
10150
10842
  Rating,
10151
10843
  RatingTypeEnum,
10152
10844
  RecommendationWeightageConfig,
10845
+ RecordAssessmentAnswerDto,
10846
+ RecordAssessmentAnswersDto,
10153
10847
  RefreshDto,
10154
10848
  RefreshToken,
10155
10849
  RejectAIInterviewRescheduleRequestDto,
10850
+ RejectF2FInterviewRescheduleRequestDto,
10156
10851
  ResetPasswordDto,
10157
10852
  ResetPasswordTokenValidationDto,
10158
10853
  ResubmitTimesheetDto,
10159
10854
  ResultStatusEnum,
10855
+ ResumeDataProcessingDto,
10856
+ ResumeParsingByUrlDto,
10160
10857
  SENSELOAF_PATTERN,
10161
10858
  SIGNATURE_PATTERN,
10162
10859
  SKILL_PATTERN,
@@ -10165,8 +10862,10 @@ export {
10165
10862
  STRIPE_PATTERN,
10166
10863
  SUBADMIN_PATTERN,
10167
10864
  SYSTEM_PREFERENCES_PATTERN,
10865
+ SaveSignatureDto,
10168
10866
  ScopeEnum,
10169
10867
  SelectedAnswerTypeEnum,
10868
+ SendAiAssessmentLinkDto,
10170
10869
  SendBackTimesheetsDto,
10171
10870
  SendGuestOtpDto,
10172
10871
  SendGuestOtpPurposeEnum,
@@ -10174,6 +10873,7 @@ export {
10174
10873
  SendLoginOtpDto,
10175
10874
  SendLoginOtpPurposeEnum,
10176
10875
  SendLoginOtpScopeEnum,
10876
+ SendOtpDto,
10177
10877
  SenseloafLog,
10178
10878
  SequenceGenerator,
10179
10879
  SetPasswordDto,
@@ -10182,6 +10882,7 @@ export {
10182
10882
  Signature,
10183
10883
  Skill,
10184
10884
  SkillCatalog,
10885
+ SocialAuthDto,
10185
10886
  State,
10186
10887
  Step,
10187
10888
  StepCompletedEnumV2,
@@ -10195,6 +10896,7 @@ export {
10195
10896
  SystemPreferenceKey,
10196
10897
  TIMESHEET_CLIENT_PATTERN,
10197
10898
  TIMESHEET_FREELANCER_PATTERN,
10899
+ TestNotificationDto,
10198
10900
  Timesheet,
10199
10901
  TimesheetLine,
10200
10902
  TimesheetLineHistory,
@@ -10205,10 +10907,12 @@ export {
10205
10907
  TimesheetSubmissionActionEnum,
10206
10908
  ToggleCompanyMemberVisibilityDto,
10207
10909
  ToggleCompanyRoleVisibilityDto,
10910
+ TransferFundsDto,
10208
10911
  TypeOfEmploymentEnum,
10209
10912
  TypeOfEmploymentEnumDto,
10210
10913
  TypeOfEmploymentEnums,
10211
10914
  UpdateAdminRoleDto,
10915
+ UpdateAssessmentRequestStatusDto,
10212
10916
  UpdateClientAccountStatusDto,
10213
10917
  UpdateClientDto,
10214
10918
  UpdateClientHiringModeEnum,
@@ -10220,14 +10924,19 @@ export {
10220
10924
  UpdateFreelancerDto,
10221
10925
  UpdateFreelancerProfileDto,
10222
10926
  UpdateFreelancerTimesheetDto,
10927
+ UpdateInterviewBasicInformationDto,
10223
10928
  UpdateInvoiceStatusDto,
10224
10929
  UpdateSubAdminAccountStatusDto,
10225
10930
  UpdateSubAdminDto,
10226
10931
  User,
10227
10932
  UserRMQAdapter,
10228
10933
  UserTCPAdapter,
10934
+ ValidateEmailDto,
10935
+ ValidateMobileDto,
10229
10936
  VerifyGuestOtpDto,
10230
10937
  VerifyGuestOtpPurposeEnum,
10938
+ VerifyOnboardingTokenDto,
10939
+ VerifyOtpDto,
10231
10940
  WALLET_ADMIN_PATTERN,
10232
10941
  WALLET_PATTERN,
10233
10942
  Wallet,