@experts_hub/shared 1.0.358 → 1.0.359

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -13,6 +13,7 @@ var __decorateClass = (decorators, target, key, kind) => {
13
13
  var AUTHENTICATION_PATTERN = {
14
14
  handleValidateToken: "handle.validate.token",
15
15
  handleLogin: "handle.login",
16
+ handleLoginViaOtp: "handle.login.via.otp",
16
17
  handleRefreshToken: "handle.refresh.token",
17
18
  handleLogout: "handle.logout",
18
19
  handleLogoutAll: "handle.logout.all",
@@ -47,28 +48,51 @@ __decorateClass([
47
48
  })
48
49
  ], LoginDto.prototype, "scope", 2);
49
50
 
51
+ // src/modules/authentication/dto/login-via-otp.dto.ts
52
+ import { IsEnum as IsEnum2, IsNotEmpty as IsNotEmpty2 } from "class-validator";
53
+ var LoginViaOtpScopeEnum = /* @__PURE__ */ ((LoginViaOtpScopeEnum2) => {
54
+ LoginViaOtpScopeEnum2["ADMIN"] = "ADMIN";
55
+ LoginViaOtpScopeEnum2["SUB_ADMIN"] = "SUB_ADMIN";
56
+ LoginViaOtpScopeEnum2["CLIENT"] = "CLIENT";
57
+ LoginViaOtpScopeEnum2["FREELANCER"] = "FREELANCER";
58
+ return LoginViaOtpScopeEnum2;
59
+ })(LoginViaOtpScopeEnum || {});
60
+ var LoginViaOtpDto = class {
61
+ };
62
+ __decorateClass([
63
+ IsNotEmpty2({ message: "Please enter email." })
64
+ ], LoginViaOtpDto.prototype, "email", 2);
65
+ __decorateClass([
66
+ IsNotEmpty2({ message: "Please enter otp." })
67
+ ], LoginViaOtpDto.prototype, "otp", 2);
68
+ __decorateClass([
69
+ IsEnum2(LoginViaOtpScopeEnum, {
70
+ message: `Scope must be one of: ${Object.values(LoginViaOtpScopeEnum).join(", ")}`
71
+ })
72
+ ], LoginViaOtpDto.prototype, "scope", 2);
73
+
50
74
  // src/modules/authentication/dto/refresh.dto.ts
51
75
  import {
52
- IsNotEmpty as IsNotEmpty2
76
+ IsNotEmpty as IsNotEmpty3
53
77
  } from "class-validator";
54
78
  var RefreshDto = class {
55
79
  };
56
80
  __decorateClass([
57
- IsNotEmpty2({ message: "Please provide refresh token." })
81
+ IsNotEmpty3({ message: "Please provide refresh token." })
58
82
  ], RefreshDto.prototype, "refreshToken", 2);
59
83
 
60
84
  // src/modules/authentication/dto/logout.dto.ts
61
85
  import {
62
- IsNotEmpty as IsNotEmpty3
86
+ IsNotEmpty as IsNotEmpty4
63
87
  } from "class-validator";
64
88
  var LogoutDto = class {
65
89
  };
66
90
  __decorateClass([
67
- IsNotEmpty3({ message: "Please provide refresh token." })
91
+ IsNotEmpty4({ message: "Please provide refresh token." })
68
92
  ], LogoutDto.prototype, "refreshToken", 2);
69
93
 
70
94
  // src/modules/authentication/dto/forgot-password.dto.ts
71
- import { IsEmail, IsEnum as IsEnum2, IsNotEmpty as IsNotEmpty4 } from "class-validator";
95
+ import { IsEmail, IsEnum as IsEnum3, IsNotEmpty as IsNotEmpty5 } from "class-validator";
72
96
  var ScopeEnum2 = /* @__PURE__ */ ((ScopeEnum5) => {
73
97
  ScopeEnum5["ADMIN"] = "ADMIN";
74
98
  ScopeEnum5["CLIENT"] = "CLIENT";
@@ -78,19 +102,19 @@ var ScopeEnum2 = /* @__PURE__ */ ((ScopeEnum5) => {
78
102
  var ForgotPasswordDto = class {
79
103
  };
80
104
  __decorateClass([
81
- IsNotEmpty4({ message: "Please enter email." }),
105
+ IsNotEmpty5({ message: "Please enter email." }),
82
106
  IsEmail({}, { message: "Please enter a valid email." })
83
107
  ], ForgotPasswordDto.prototype, "email", 2);
84
108
  __decorateClass([
85
- IsEnum2(ScopeEnum2, {
109
+ IsEnum3(ScopeEnum2, {
86
110
  message: `Scope must be one of: ${Object.values(ScopeEnum2).join(", ")}`
87
111
  })
88
112
  ], ForgotPasswordDto.prototype, "scope", 2);
89
113
 
90
114
  // src/modules/authentication/dto/reset-password.dto.ts
91
115
  import {
92
- IsEnum as IsEnum3,
93
- IsNotEmpty as IsNotEmpty5,
116
+ IsEnum as IsEnum4,
117
+ IsNotEmpty as IsNotEmpty6,
94
118
  Matches,
95
119
  MaxLength,
96
120
  MinLength
@@ -104,10 +128,10 @@ var ScopeEnum3 = /* @__PURE__ */ ((ScopeEnum5) => {
104
128
  var ResetPasswordDto = class {
105
129
  };
106
130
  __decorateClass([
107
- IsNotEmpty5({ message: "Please enter token." })
131
+ IsNotEmpty6({ message: "Please enter token." })
108
132
  ], ResetPasswordDto.prototype, "token", 2);
109
133
  __decorateClass([
110
- IsNotEmpty5({ message: "Please enter password." }),
134
+ IsNotEmpty6({ message: "Please enter password." }),
111
135
  MinLength(6),
112
136
  MaxLength(32),
113
137
  Matches(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -115,14 +139,14 @@ __decorateClass([
115
139
  })
116
140
  ], ResetPasswordDto.prototype, "password", 2);
117
141
  __decorateClass([
118
- IsEnum3(ScopeEnum3, {
142
+ IsEnum4(ScopeEnum3, {
119
143
  message: `Scope must be one of: ${Object.values(ScopeEnum3).join(", ")}`
120
144
  })
121
145
  ], ResetPasswordDto.prototype, "scope", 2);
122
146
 
123
147
  // src/modules/authentication/dto/set-password.dto.ts
124
148
  import {
125
- IsNotEmpty as IsNotEmpty6,
149
+ IsNotEmpty as IsNotEmpty7,
126
150
  Matches as Matches2,
127
151
  MaxLength as MaxLength2,
128
152
  MinLength as MinLength2
@@ -130,10 +154,10 @@ import {
130
154
  var SetPasswordDto = class {
131
155
  };
132
156
  __decorateClass([
133
- IsNotEmpty6({ message: "Please enter token." })
157
+ IsNotEmpty7({ message: "Please enter token." })
134
158
  ], SetPasswordDto.prototype, "token", 2);
135
159
  __decorateClass([
136
- IsNotEmpty6({ message: "Please enter password." }),
160
+ IsNotEmpty7({ message: "Please enter password." }),
137
161
  MinLength2(6),
138
162
  MaxLength2(32),
139
163
  Matches2(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -143,8 +167,8 @@ __decorateClass([
143
167
 
144
168
  // src/modules/authentication/dto/reset-password-token-validation.dto.ts
145
169
  import {
146
- IsEnum as IsEnum5,
147
- IsNotEmpty as IsNotEmpty7
170
+ IsEnum as IsEnum6,
171
+ IsNotEmpty as IsNotEmpty8
148
172
  } from "class-validator";
149
173
  var ScopeEnum4 = /* @__PURE__ */ ((ScopeEnum5) => {
150
174
  ScopeEnum5["ADMIN"] = "ADMIN";
@@ -155,10 +179,10 @@ var ScopeEnum4 = /* @__PURE__ */ ((ScopeEnum5) => {
155
179
  var ResetPasswordTokenValidationDto = class {
156
180
  };
157
181
  __decorateClass([
158
- IsNotEmpty7({ message: "Please enter token." })
182
+ IsNotEmpty8({ message: "Please enter token." })
159
183
  ], ResetPasswordTokenValidationDto.prototype, "token", 2);
160
184
  __decorateClass([
161
- IsEnum5(ScopeEnum4, {
185
+ IsEnum6(ScopeEnum4, {
162
186
  message: `Scope must be one of: ${Object.values(ScopeEnum4).join(", ")}`
163
187
  })
164
188
  ], ResetPasswordTokenValidationDto.prototype, "scope", 2);
@@ -172,7 +196,7 @@ var OTP_PATTERN = {
172
196
  };
173
197
 
174
198
  // src/modules/otp/dto/send-guest-otp.dto.ts
175
- import { IsEnum as IsEnum6, IsNotEmpty as IsNotEmpty8, IsOptional, IsString } from "class-validator";
199
+ import { IsEnum as IsEnum7, IsNotEmpty as IsNotEmpty9, IsOptional, IsString } from "class-validator";
176
200
  var SendGuestOtpPurposeEnum = /* @__PURE__ */ ((SendGuestOtpPurposeEnum2) => {
177
201
  SendGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
178
202
  return SendGuestOtpPurposeEnum2;
@@ -185,11 +209,11 @@ var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
185
209
  var SendGuestOtpDto = class {
186
210
  };
187
211
  __decorateClass([
188
- IsNotEmpty8({ message: "Please enter full name." }),
212
+ IsNotEmpty9({ message: "Please enter full name." }),
189
213
  IsString({ message: "Please enter valid full name." })
190
214
  ], SendGuestOtpDto.prototype, "fullName", 2);
191
215
  __decorateClass([
192
- IsNotEmpty8({ message: "Please enter target." }),
216
+ IsNotEmpty9({ message: "Please enter target." }),
193
217
  IsString({ message: "Please enter valid target." })
194
218
  ], SendGuestOtpDto.prototype, "target", 2);
195
219
  __decorateClass([
@@ -197,16 +221,16 @@ __decorateClass([
197
221
  IsString({ message: "Please enter valid fallback target." })
198
222
  ], SendGuestOtpDto.prototype, "fallbackTarget", 2);
199
223
  __decorateClass([
200
- IsNotEmpty8({ message: "Please enter OTP purpose." }),
201
- IsEnum6(SendGuestOtpPurposeEnum, { message: "Purpose must be a valid OTP purpose" })
224
+ IsNotEmpty9({ message: "Please enter OTP purpose." }),
225
+ IsEnum7(SendGuestOtpPurposeEnum, { message: "Purpose must be a valid OTP purpose" })
202
226
  ], SendGuestOtpDto.prototype, "purpose", 2);
203
227
  __decorateClass([
204
- IsNotEmpty8({ message: "Please enter scope." }),
205
- IsEnum6(SendGuestOtpScopeEnum, { message: "scope must be a valid" })
228
+ IsNotEmpty9({ message: "Please enter scope." }),
229
+ IsEnum7(SendGuestOtpScopeEnum, { message: "scope must be a valid" })
206
230
  ], SendGuestOtpDto.prototype, "scope", 2);
207
231
 
208
232
  // src/modules/otp/dto/verify-guest-otp.dto.ts
209
- import { IsEnum as IsEnum7, IsNotEmpty as IsNotEmpty9, IsString as IsString2, Length } from "class-validator";
233
+ import { IsEnum as IsEnum8, IsNotEmpty as IsNotEmpty10, IsString as IsString2, Length } from "class-validator";
210
234
  var VerifyGuestOtpPurposeEnum = /* @__PURE__ */ ((VerifyGuestOtpPurposeEnum2) => {
211
235
  VerifyGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
212
236
  return VerifyGuestOtpPurposeEnum2;
@@ -214,17 +238,17 @@ var VerifyGuestOtpPurposeEnum = /* @__PURE__ */ ((VerifyGuestOtpPurposeEnum2) =>
214
238
  var VerifyGuestOtpDto = class {
215
239
  };
216
240
  __decorateClass([
217
- IsNotEmpty9({ message: "Please enter target." }),
241
+ IsNotEmpty10({ message: "Please enter target." }),
218
242
  IsString2({ message: "Please enter valid target." })
219
243
  ], VerifyGuestOtpDto.prototype, "target", 2);
220
244
  __decorateClass([
221
- IsNotEmpty9({ message: "Please enter otp." }),
245
+ IsNotEmpty10({ message: "Please enter otp." }),
222
246
  IsString2({ message: "Please enter valid otp." }),
223
247
  Length(4, 6, { message: "OTP must be between 4 and 6 characters" })
224
248
  ], VerifyGuestOtpDto.prototype, "otp", 2);
225
249
  __decorateClass([
226
- IsNotEmpty9({ message: "Please enter OTP purpose." }),
227
- IsEnum7(VerifyGuestOtpPurposeEnum, {
250
+ IsNotEmpty10({ message: "Please enter OTP purpose." }),
251
+ IsEnum8(VerifyGuestOtpPurposeEnum, {
228
252
  message: "Purpose must be a valid OTP purpose"
229
253
  })
230
254
  ], VerifyGuestOtpDto.prototype, "purpose", 2);
@@ -243,7 +267,7 @@ var ONBOARDING_PATTERN = {
243
267
 
244
268
  // src/modules/onboarding/dto/freelancer-create-account.dto.ts
245
269
  import {
246
- IsNotEmpty as IsNotEmpty10,
270
+ IsNotEmpty as IsNotEmpty11,
247
271
  IsEmail as IsEmail2,
248
272
  Matches as Matches3,
249
273
  IsString as IsString3,
@@ -423,21 +447,21 @@ function IsBusinessEmail(validationOptions) {
423
447
  var FreelancerCreateAccountDto = class {
424
448
  };
425
449
  __decorateClass([
426
- IsNotEmpty10({ message: "Please enter full name." }),
450
+ IsNotEmpty11({ message: "Please enter full name." }),
427
451
  IsString3({ message: "Please enter valid full name." })
428
452
  ], FreelancerCreateAccountDto.prototype, "fullName", 2);
429
453
  __decorateClass([
430
- IsNotEmpty10({ message: "Please enter email." }),
454
+ IsNotEmpty11({ message: "Please enter email." }),
431
455
  IsEmail2()
432
456
  ], FreelancerCreateAccountDto.prototype, "email", 2);
433
457
  __decorateClass([
434
- IsNotEmpty10({ message: "Please enter mobile code." }),
458
+ IsNotEmpty11({ message: "Please enter mobile code." }),
435
459
  Matches3(/^\+\d{1,4}$/, {
436
460
  message: "Please enter a valid country mobile code (e.g., +91, +1, +44)."
437
461
  })
438
462
  ], FreelancerCreateAccountDto.prototype, "mobileCode", 2);
439
463
  __decorateClass([
440
- IsNotEmpty10({ message: "Please enter mobile number." }),
464
+ IsNotEmpty11({ message: "Please enter mobile number." }),
441
465
  IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
442
466
  ], FreelancerCreateAccountDto.prototype, "mobile", 2);
443
467
  __decorateClass([
@@ -445,78 +469,78 @@ __decorateClass([
445
469
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
446
470
 
447
471
  // src/modules/onboarding/dto/freelancer-upload-resume.dto.ts
448
- import { IsUUID, IsNotEmpty as IsNotEmpty11 } from "class-validator";
472
+ import { IsUUID, IsNotEmpty as IsNotEmpty12 } from "class-validator";
449
473
  var FreelancerUploadResumeDto = class {
450
474
  };
451
475
  __decorateClass([
452
- IsNotEmpty11({ message: "Please enter uuid." }),
476
+ IsNotEmpty12({ message: "Please enter uuid." }),
453
477
  IsUUID()
454
478
  ], FreelancerUploadResumeDto.prototype, "uuid", 2);
455
479
 
456
480
  // src/modules/onboarding/dto/freelancer-parse-resume.dto.ts
457
- import { IsUUID as IsUUID2, IsNotEmpty as IsNotEmpty12 } from "class-validator";
481
+ import { IsUUID as IsUUID2, IsNotEmpty as IsNotEmpty13 } from "class-validator";
458
482
  var FreelancerParseResumeDto = class {
459
483
  };
460
484
  __decorateClass([
461
- IsNotEmpty12({ message: "Please enter uuid." }),
485
+ IsNotEmpty13({ message: "Please enter uuid." }),
462
486
  IsUUID2()
463
487
  ], FreelancerParseResumeDto.prototype, "uuid", 2);
464
488
 
465
489
  // src/modules/onboarding/dto/freelancer-initiate-mcq-assessment.dto.ts
466
- import { IsUUID as IsUUID3, IsNotEmpty as IsNotEmpty13 } from "class-validator";
490
+ import { IsUUID as IsUUID3, IsNotEmpty as IsNotEmpty14 } from "class-validator";
467
491
  var FreelancerInitiateMcqAssessmentDto = class {
468
492
  };
469
493
  __decorateClass([
470
- IsNotEmpty13({ message: "Please enter uuid." }),
494
+ IsNotEmpty14({ message: "Please enter uuid." }),
471
495
  IsUUID3()
472
496
  ], FreelancerInitiateMcqAssessmentDto.prototype, "uuid", 2);
473
497
 
474
498
  // src/modules/onboarding/dto/freelancer-skip-ai-assessment.dto.ts
475
- import { IsUUID as IsUUID4, IsNotEmpty as IsNotEmpty14 } from "class-validator";
499
+ import { IsUUID as IsUUID4, IsNotEmpty as IsNotEmpty15 } from "class-validator";
476
500
  var FreelancerSkipAiAssessmentDto = class {
477
501
  };
478
502
  __decorateClass([
479
- IsNotEmpty14({ message: "Please enter uuid." }),
503
+ IsNotEmpty15({ message: "Please enter uuid." }),
480
504
  IsUUID4()
481
505
  ], FreelancerSkipAiAssessmentDto.prototype, "uuid", 2);
482
506
 
483
507
  // src/modules/onboarding/dto/freelancer-initiate-ai-assessment.dto.ts
484
- import { IsUUID as IsUUID5, IsNotEmpty as IsNotEmpty15 } from "class-validator";
508
+ import { IsUUID as IsUUID5, IsNotEmpty as IsNotEmpty16 } from "class-validator";
485
509
  var FreelancerInitiateAiAssessmentDto = class {
486
510
  };
487
511
  __decorateClass([
488
- IsNotEmpty15({ message: "Please enter uuid." }),
512
+ IsNotEmpty16({ message: "Please enter uuid." }),
489
513
  IsUUID5()
490
514
  ], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
491
515
 
492
516
  // src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
493
- import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty16, IsOptional as IsOptional3 } from "class-validator";
517
+ import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty17, IsOptional as IsOptional3 } from "class-validator";
494
518
  var FreelancerCaptureAiAssessmentStatusDto = class {
495
519
  };
496
520
  __decorateClass([
497
- IsNotEmpty16({ message: "Please enter uuid." }),
521
+ IsNotEmpty17({ message: "Please enter uuid." }),
498
522
  IsUUID6()
499
523
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "uuid", 2);
500
524
  __decorateClass([
501
- IsNotEmpty16({ message: "Please enter assessment id." })
525
+ IsNotEmpty17({ message: "Please enter assessment id." })
502
526
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentId", 2);
503
527
  __decorateClass([
504
- IsNotEmpty16({ message: "Please enter assessment status." })
528
+ IsNotEmpty17({ message: "Please enter assessment status." })
505
529
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
506
530
  __decorateClass([
507
531
  IsOptional3()
508
532
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "iframeEventData", 2);
509
533
 
510
534
  // src/modules/onboarding/dto/freelancer-development-preference.dto.ts
511
- import { IsUUID as IsUUID7, IsNotEmpty as IsNotEmpty17, IsBoolean } from "class-validator";
535
+ import { IsUUID as IsUUID7, IsNotEmpty as IsNotEmpty18, IsBoolean } from "class-validator";
512
536
  var FreelancerDevelopmentPreferenceDto = class {
513
537
  };
514
538
  __decorateClass([
515
- IsNotEmpty17({ message: "Please enter uuid." }),
539
+ IsNotEmpty18({ message: "Please enter uuid." }),
516
540
  IsUUID7()
517
541
  ], FreelancerDevelopmentPreferenceDto.prototype, "uuid", 2);
518
542
  __decorateClass([
519
- IsNotEmpty17({ message: "Please select development flag." }),
543
+ IsNotEmpty18({ message: "Please select development flag." }),
520
544
  IsBoolean()
521
545
  ], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
522
546
 
@@ -524,18 +548,18 @@ __decorateClass([
524
548
  import {
525
549
  IsUUID as IsUUID8,
526
550
  IsString as IsString4,
527
- IsNotEmpty as IsNotEmpty18,
551
+ IsNotEmpty as IsNotEmpty19,
528
552
  IsIn,
529
553
  IsOptional as IsOptional4
530
554
  } from "class-validator";
531
555
  var FreelancerProfileQuestionDto = class {
532
556
  };
533
557
  __decorateClass([
534
- IsNotEmpty18({ message: "Please enter uuid." }),
558
+ IsNotEmpty19({ message: "Please enter uuid." }),
535
559
  IsUUID8()
536
560
  ], FreelancerProfileQuestionDto.prototype, "uuid", 2);
537
561
  __decorateClass([
538
- IsNotEmpty18({ message: "Please enter question slug." }),
562
+ IsNotEmpty19({ message: "Please enter question slug." }),
539
563
  IsString4(),
540
564
  IsIn([
541
565
  "natureOfWork",
@@ -546,7 +570,7 @@ __decorateClass([
546
570
  ])
547
571
  ], FreelancerProfileQuestionDto.prototype, "question_slug", 2);
548
572
  __decorateClass([
549
- IsNotEmpty18({ message: "Please enter answer." })
573
+ IsNotEmpty19({ message: "Please enter answer." })
550
574
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
551
575
  __decorateClass([
552
576
  IsOptional4()
@@ -554,7 +578,7 @@ __decorateClass([
554
578
 
555
579
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
556
580
  import {
557
- IsNotEmpty as IsNotEmpty19,
581
+ IsNotEmpty as IsNotEmpty20,
558
582
  IsOptional as IsOptional5,
559
583
  IsUrl,
560
584
  IsString as IsString5,
@@ -563,11 +587,11 @@ import {
563
587
  var FreelancerWorkShowcaseDto = class {
564
588
  };
565
589
  __decorateClass([
566
- IsNotEmpty19({ message: "Please enter uuid." }),
590
+ IsNotEmpty20({ message: "Please enter uuid." }),
567
591
  IsUUID9()
568
592
  ], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
569
593
  __decorateClass([
570
- IsNotEmpty19({ message: "Please enter likedin profile url." }),
594
+ IsNotEmpty20({ message: "Please enter likedin profile url." }),
571
595
  IsString5(),
572
596
  IsUrl(
573
597
  { require_protocol: false },
@@ -617,18 +641,18 @@ __decorateClass([
617
641
  import {
618
642
  IsUUID as IsUUID10,
619
643
  IsString as IsString6,
620
- IsNotEmpty as IsNotEmpty20,
644
+ IsNotEmpty as IsNotEmpty21,
621
645
  IsIn as IsIn2,
622
646
  ValidateIf
623
647
  } from "class-validator";
624
648
  var ClientProfileQuestionDto = class {
625
649
  };
626
650
  __decorateClass([
627
- IsNotEmpty20({ message: "Please enter uuid." }),
651
+ IsNotEmpty21({ message: "Please enter uuid." }),
628
652
  IsUUID10()
629
653
  ], ClientProfileQuestionDto.prototype, "uuid", 2);
630
654
  __decorateClass([
631
- IsNotEmpty20({ message: "Please enter question slug." }),
655
+ IsNotEmpty21({ message: "Please enter question slug." }),
632
656
  IsString6(),
633
657
  IsIn2([
634
658
  "skills",
@@ -639,17 +663,17 @@ __decorateClass([
639
663
  ])
640
664
  ], ClientProfileQuestionDto.prototype, "question_slug", 2);
641
665
  __decorateClass([
642
- IsNotEmpty20({ message: "Please enter answer." })
666
+ IsNotEmpty21({ message: "Please enter answer." })
643
667
  ], ClientProfileQuestionDto.prototype, "answer", 2);
644
668
  __decorateClass([
645
669
  ValidateIf((o) => o.questionSlug === "foundUsOn" && o.answer === "OTHER"),
646
- IsNotEmpty20({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
670
+ IsNotEmpty21({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
647
671
  IsString6()
648
672
  ], ClientProfileQuestionDto.prototype, "foundUsOnDetail", 2);
649
673
 
650
674
  // src/modules/onboarding/dto/client-create-account.dto.ts
651
675
  import {
652
- IsNotEmpty as IsNotEmpty21,
676
+ IsNotEmpty as IsNotEmpty22,
653
677
  IsEmail as IsEmail3,
654
678
  IsString as IsString7,
655
679
  IsOptional as IsOptional6
@@ -657,20 +681,20 @@ import {
657
681
  var ClientCreateAccountDto = class {
658
682
  };
659
683
  __decorateClass([
660
- IsNotEmpty21({ message: "Please enter first name." }),
684
+ IsNotEmpty22({ message: "Please enter first name." }),
661
685
  IsString7({ message: "Please enter valid first name." })
662
686
  ], ClientCreateAccountDto.prototype, "firstName", 2);
663
687
  __decorateClass([
664
- IsNotEmpty21({ message: "Please enter last name." }),
688
+ IsNotEmpty22({ message: "Please enter last name." }),
665
689
  IsString7({ message: "Please enter valid last name." })
666
690
  ], ClientCreateAccountDto.prototype, "lastName", 2);
667
691
  __decorateClass([
668
- IsNotEmpty21({ message: "Please enter email." }),
692
+ IsNotEmpty22({ message: "Please enter email." }),
669
693
  IsEmail3(),
670
694
  IsBusinessEmail()
671
695
  ], ClientCreateAccountDto.prototype, "email", 2);
672
696
  __decorateClass([
673
- IsNotEmpty21({ message: "Please enter company name." }),
697
+ IsNotEmpty22({ message: "Please enter company name." }),
674
698
  IsString7({ message: "Please enter valid company name." })
675
699
  ], ClientCreateAccountDto.prototype, "companyName", 2);
676
700
  __decorateClass([
@@ -696,33 +720,33 @@ var SUBADMIN_PATTERN = {
696
720
 
697
721
  // src/modules/user/subadmin/dto/create-subadmin.dto.ts
698
722
  import {
699
- IsNotEmpty as IsNotEmpty22
723
+ IsNotEmpty as IsNotEmpty23
700
724
  } from "class-validator";
701
725
  var CreateSubAdminDto = class {
702
726
  };
703
727
  __decorateClass([
704
- IsNotEmpty22({ message: "Please enter username." })
728
+ IsNotEmpty23({ message: "Please enter username." })
705
729
  ], CreateSubAdminDto.prototype, "userName", 2);
706
730
  __decorateClass([
707
- IsNotEmpty22({ message: "Please enter first name." })
731
+ IsNotEmpty23({ message: "Please enter first name." })
708
732
  ], CreateSubAdminDto.prototype, "firstName", 2);
709
733
  __decorateClass([
710
- IsNotEmpty22({ message: "Please enter last name." })
734
+ IsNotEmpty23({ message: "Please enter last name." })
711
735
  ], CreateSubAdminDto.prototype, "lastName", 2);
712
736
  __decorateClass([
713
- IsNotEmpty22({ message: "Please enter email." })
737
+ IsNotEmpty23({ message: "Please enter email." })
714
738
  ], CreateSubAdminDto.prototype, "email", 2);
715
739
  __decorateClass([
716
- IsNotEmpty22({ message: "Please enter mobile Code." })
740
+ IsNotEmpty23({ message: "Please enter mobile Code." })
717
741
  ], CreateSubAdminDto.prototype, "mobileCode", 2);
718
742
  __decorateClass([
719
- IsNotEmpty22({ message: "Please enter mobile number." })
743
+ IsNotEmpty23({ message: "Please enter mobile number." })
720
744
  ], CreateSubAdminDto.prototype, "mobile", 2);
721
745
  __decorateClass([
722
- IsNotEmpty22({ message: "Please enter the password." })
746
+ IsNotEmpty23({ message: "Please enter the password." })
723
747
  ], CreateSubAdminDto.prototype, "password", 2);
724
748
  __decorateClass([
725
- IsNotEmpty22({ message: "Please Select Roles." })
749
+ IsNotEmpty23({ message: "Please Select Roles." })
726
750
  ], CreateSubAdminDto.prototype, "roleIds", 2);
727
751
 
728
752
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
@@ -735,26 +759,26 @@ __decorateClass([
735
759
 
736
760
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
737
761
  import { Transform } from "class-transformer";
738
- import { IsNotEmpty as IsNotEmpty23, IsOptional as IsOptional7, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength5 } from "class-validator";
762
+ import { IsNotEmpty as IsNotEmpty24, IsOptional as IsOptional7, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength5 } from "class-validator";
739
763
  var UpdateSubAdminDto = class {
740
764
  };
741
765
  __decorateClass([
742
- IsNotEmpty23({ message: "Please enter username." })
766
+ IsNotEmpty24({ message: "Please enter username." })
743
767
  ], UpdateSubAdminDto.prototype, "userName", 2);
744
768
  __decorateClass([
745
- IsNotEmpty23({ message: "Please enter first name." })
769
+ IsNotEmpty24({ message: "Please enter first name." })
746
770
  ], UpdateSubAdminDto.prototype, "firstName", 2);
747
771
  __decorateClass([
748
- IsNotEmpty23({ message: "Please enter last name." })
772
+ IsNotEmpty24({ message: "Please enter last name." })
749
773
  ], UpdateSubAdminDto.prototype, "lastName", 2);
750
774
  __decorateClass([
751
- IsNotEmpty23({ message: "Please enter email." })
775
+ IsNotEmpty24({ message: "Please enter email." })
752
776
  ], UpdateSubAdminDto.prototype, "email", 2);
753
777
  __decorateClass([
754
- IsNotEmpty23({ message: "Please enter mobile Code." })
778
+ IsNotEmpty24({ message: "Please enter mobile Code." })
755
779
  ], UpdateSubAdminDto.prototype, "mobileCode", 2);
756
780
  __decorateClass([
757
- IsNotEmpty23({ message: "Please enter mobile number." })
781
+ IsNotEmpty24({ message: "Please enter mobile number." })
758
782
  ], UpdateSubAdminDto.prototype, "mobile", 2);
759
783
  __decorateClass([
760
784
  IsOptional7(),
@@ -766,7 +790,7 @@ __decorateClass([
766
790
  })
767
791
  ], UpdateSubAdminDto.prototype, "password", 2);
768
792
  __decorateClass([
769
- IsNotEmpty23({ message: "Please Select Roles." })
793
+ IsNotEmpty24({ message: "Please Select Roles." })
770
794
  ], UpdateSubAdminDto.prototype, "roleIds", 2);
771
795
 
772
796
  // src/modules/user/client-profile/pattern/pattern.ts
@@ -782,7 +806,7 @@ var CLIENT_PROFILE_PATTERN = {
782
806
  // src/modules/user/client-profile/dto/update-client-profile.dto.ts
783
807
  import {
784
808
  IsString as IsString9,
785
- IsNotEmpty as IsNotEmpty24,
809
+ IsNotEmpty as IsNotEmpty25,
786
810
  IsEmail as IsEmail4,
787
811
  Length as Length2,
788
812
  IsUrl as IsUrl2,
@@ -792,7 +816,7 @@ import {
792
816
  var UpdateCompanyProfileDto = class {
793
817
  };
794
818
  __decorateClass([
795
- IsNotEmpty24({ message: "Please enter company name." }),
819
+ IsNotEmpty25({ message: "Please enter company name." }),
796
820
  IsString9({ message: "Company name must be a string." }),
797
821
  Length2(2, 255, {
798
822
  message: "Company name must be between 2 and 255 characters"
@@ -804,23 +828,23 @@ __decorateClass([
804
828
  IsUrl2({}, { message: "Invalid website URL format" })
805
829
  ], UpdateCompanyProfileDto.prototype, "webSite", 2);
806
830
  __decorateClass([
807
- IsNotEmpty24({ message: "Please enter company address." }),
831
+ IsNotEmpty25({ message: "Please enter company address." }),
808
832
  IsString9({ message: "Company address must be a string" }),
809
833
  Length2(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
810
834
  ], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
811
835
  __decorateClass([
812
- IsNotEmpty24({ message: "Please enter mobile code." }),
836
+ IsNotEmpty25({ message: "Please enter mobile code." }),
813
837
  IsString9({ message: "Mobile Code must be a string" })
814
838
  ], UpdateCompanyProfileDto.prototype, "mobileCode", 2);
815
839
  // @Matches(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
816
840
  // message: "Please enter a valid US phone number",
817
841
  // })
818
842
  __decorateClass([
819
- IsNotEmpty24({ message: "Please enter phone number." }),
843
+ IsNotEmpty25({ message: "Please enter phone number." }),
820
844
  IsString9({ message: "Please enter valid phone number." })
821
845
  ], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
822
846
  __decorateClass([
823
- IsNotEmpty24({ message: "Please enter email." }),
847
+ IsNotEmpty25({ message: "Please enter email." }),
824
848
  IsEmail4()
825
849
  ], UpdateCompanyProfileDto.prototype, "email", 2);
826
850
  __decorateClass([
@@ -833,7 +857,7 @@ import {
833
857
  IsString as IsString10,
834
858
  MinLength as MinLength6,
835
859
  Matches as Matches7,
836
- IsNotEmpty as IsNotEmpty25
860
+ IsNotEmpty as IsNotEmpty26
837
861
  } from "class-validator";
838
862
  var ClientChangePasswordDto = class {
839
863
  };
@@ -845,7 +869,7 @@ __decorateClass([
845
869
  })
846
870
  ], ClientChangePasswordDto.prototype, "newPassword", 2);
847
871
  __decorateClass([
848
- IsNotEmpty25({ message: "Please enter confirm password." }),
872
+ IsNotEmpty26({ message: "Please enter confirm password." }),
849
873
  Match("newPassword", { message: "Passwords do not match" })
850
874
  ], ClientChangePasswordDto.prototype, "confirmPassword", 2);
851
875
 
@@ -859,23 +883,23 @@ var ASSESSMENT_QUESTION_PATTERN = {
859
883
 
860
884
  // src/modules/question/dto/create-question.dto.ts
861
885
  import {
862
- IsNotEmpty as IsNotEmpty26,
886
+ IsNotEmpty as IsNotEmpty27,
863
887
  IsOptional as IsOptional9,
864
888
  IsBoolean as IsBoolean2
865
889
  } from "class-validator";
866
890
  var CreateQuestionDto = class {
867
891
  };
868
892
  __decorateClass([
869
- IsNotEmpty26({ message: "Please enter unique id." })
893
+ IsNotEmpty27({ message: "Please enter unique id." })
870
894
  ], CreateQuestionDto.prototype, "questionId", 2);
871
895
  __decorateClass([
872
- IsNotEmpty26({ message: "Please enter question." })
896
+ IsNotEmpty27({ message: "Please enter question." })
873
897
  ], CreateQuestionDto.prototype, "question", 2);
874
898
  __decorateClass([
875
- IsNotEmpty26({ message: "Please enter for whom the question is." })
899
+ IsNotEmpty27({ message: "Please enter for whom the question is." })
876
900
  ], CreateQuestionDto.prototype, "questionFor", 2);
877
901
  __decorateClass([
878
- IsNotEmpty26({ message: "Please enter options." })
902
+ IsNotEmpty27({ message: "Please enter options." })
879
903
  ], CreateQuestionDto.prototype, "options", 2);
880
904
  __decorateClass([
881
905
  IsOptional9(),
@@ -910,12 +934,12 @@ var JOB_PATTERN = {
910
934
  // src/modules/job/dto/job-basic-information.dto.ts
911
935
  import {
912
936
  IsString as IsString11,
913
- IsNotEmpty as IsNotEmpty27,
937
+ IsNotEmpty as IsNotEmpty28,
914
938
  IsArray,
915
939
  ArrayNotEmpty,
916
940
  IsNumber,
917
941
  IsOptional as IsOptional10,
918
- IsEnum as IsEnum8,
942
+ IsEnum as IsEnum9,
919
943
  Min,
920
944
  ValidateIf as ValidateIf3
921
945
  } from "class-validator";
@@ -942,7 +966,7 @@ __decorateClass([
942
966
  Type(() => Boolean)
943
967
  ], JobBasicInformationDto.prototype, "isDraft", 2);
944
968
  __decorateClass([
945
- IsNotEmpty27({ message: "Please enter job role" }),
969
+ IsNotEmpty28({ message: "Please enter job role" }),
946
970
  IsString11({ message: "Job role must be a string" })
947
971
  ], JobBasicInformationDto.prototype, "jobRole", 2);
948
972
  __decorateClass([
@@ -964,7 +988,7 @@ __decorateClass([
964
988
  ], JobBasicInformationDto.prototype, "openings", 2);
965
989
  __decorateClass([
966
990
  ValidateIf3((o) => !o.isDraft),
967
- IsEnum8(JobLocation, {
991
+ IsEnum9(JobLocation, {
968
992
  message: `Location must be one of: ${Object.values(JobLocation).join(
969
993
  ", "
970
994
  )}`
@@ -987,7 +1011,7 @@ __decorateClass([
987
1011
  ], JobBasicInformationDto.prototype, "cityId", 2);
988
1012
  __decorateClass([
989
1013
  ValidateIf3((o) => !o.isDraft),
990
- IsEnum8(EmploymentType, {
1014
+ IsEnum9(EmploymentType, {
991
1015
  message: `Type of employment must be one of: ${Object.values(
992
1016
  EmploymentType
993
1017
  ).join(", ")}`
@@ -1011,12 +1035,12 @@ __decorateClass([
1011
1035
  ], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
1012
1036
  __decorateClass([
1013
1037
  ValidateIf3((o) => !o.isDraft),
1014
- IsNotEmpty27({ message: "Please enter start date" }),
1038
+ IsNotEmpty28({ message: "Please enter start date" }),
1015
1039
  IsString11({ message: "Start date must be valid" })
1016
1040
  ], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
1017
1041
  __decorateClass([
1018
1042
  ValidateIf3((o) => !o.isDraft),
1019
- IsNotEmpty27({ message: "Please enter end date" }),
1043
+ IsNotEmpty28({ message: "Please enter end date" }),
1020
1044
  IsString11({ message: "End date must be valid" })
1021
1045
  ], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
1022
1046
  __decorateClass([
@@ -1031,17 +1055,17 @@ __decorateClass([
1031
1055
  ], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
1032
1056
  __decorateClass([
1033
1057
  ValidateIf3((o) => !o.isDraft),
1034
- IsNotEmpty27({ message: "Please enter the academic qualification" }),
1058
+ IsNotEmpty28({ message: "Please enter the academic qualification" }),
1035
1059
  IsString11({ message: "Academic qualification must be a string" })
1036
1060
  ], JobBasicInformationDto.prototype, "academicQualification", 2);
1037
1061
  __decorateClass([
1038
1062
  ValidateIf3((o) => !o.isDraft),
1039
- IsNotEmpty27({ message: "Please enter the years of experience" }),
1063
+ IsNotEmpty28({ message: "Please enter the years of experience" }),
1040
1064
  IsString11({ message: "Years of experience must be a string" })
1041
1065
  ], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
1042
1066
  __decorateClass([
1043
1067
  ValidateIf3((o) => !o.isDraft),
1044
- IsNotEmpty27({ message: "Please enter the business industry" }),
1068
+ IsNotEmpty28({ message: "Please enter the business industry" }),
1045
1069
  IsString11({ message: "Business industry must be a string" })
1046
1070
  ], JobBasicInformationDto.prototype, "businessIndustry", 2);
1047
1071
 
@@ -1056,17 +1080,17 @@ __decorateClass([
1056
1080
  ], JobAdditionalCommentDto.prototype, "additionalComment", 2);
1057
1081
 
1058
1082
  // src/modules/job/dto/job-description.dto.ts
1059
- import { IsString as IsString13, IsNotEmpty as IsNotEmpty28, MaxLength as MaxLength7 } from "class-validator";
1083
+ import { IsString as IsString13, IsNotEmpty as IsNotEmpty29, MaxLength as MaxLength7 } from "class-validator";
1060
1084
  var JobDescriptionDto = class {
1061
1085
  };
1062
1086
  __decorateClass([
1063
- IsNotEmpty28({ message: "Please enter job description" }),
1087
+ IsNotEmpty29({ message: "Please enter job description" }),
1064
1088
  IsString13({ message: "Description must be a string" }),
1065
1089
  MaxLength7(5e3, { message: "Description must not exceed 5000 characters" })
1066
1090
  ], JobDescriptionDto.prototype, "description", 2);
1067
1091
 
1068
1092
  // src/modules/job/dto/job-status.dto.ts
1069
- import { IsEnum as IsEnum9, IsNotEmpty as IsNotEmpty29 } from "class-validator";
1093
+ import { IsEnum as IsEnum10, IsNotEmpty as IsNotEmpty30 } from "class-validator";
1070
1094
  var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
1071
1095
  JobStatus2["ACTIVE"] = "ACTIVE";
1072
1096
  JobStatus2["OPEN"] = "OPEN";
@@ -1078,8 +1102,8 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
1078
1102
  var JobStatusDto = class {
1079
1103
  };
1080
1104
  __decorateClass([
1081
- IsNotEmpty29({ message: "Please provide a job status" }),
1082
- IsEnum9(JobStatus, {
1105
+ IsNotEmpty30({ message: "Please provide a job status" }),
1106
+ IsEnum10(JobStatus, {
1083
1107
  message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
1084
1108
  })
1085
1109
  ], JobStatusDto.prototype, "status", 2);
@@ -1109,7 +1133,7 @@ var PROFILE_PATTERN = {
1109
1133
  // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
1110
1134
  import {
1111
1135
  IsString as IsString14,
1112
- IsNotEmpty as IsNotEmpty30,
1136
+ IsNotEmpty as IsNotEmpty31,
1113
1137
  MaxLength as MaxLength8,
1114
1138
  MinLength as MinLength7,
1115
1139
  Matches as Matches8
@@ -1117,11 +1141,11 @@ import {
1117
1141
  var FreelancerChangePasswordDto = class {
1118
1142
  };
1119
1143
  __decorateClass([
1120
- IsNotEmpty30({ message: "Please enter Old Password." }),
1144
+ IsNotEmpty31({ message: "Please enter Old Password." }),
1121
1145
  IsString14()
1122
1146
  ], FreelancerChangePasswordDto.prototype, "oldPassword", 2);
1123
1147
  __decorateClass([
1124
- IsNotEmpty30({ message: "Please enter New Password." }),
1148
+ IsNotEmpty31({ message: "Please enter New Password." }),
1125
1149
  IsString14(),
1126
1150
  MinLength7(6),
1127
1151
  MaxLength8(32),
@@ -1136,8 +1160,8 @@ import {
1136
1160
  IsString as IsString15,
1137
1161
  IsEmail as IsEmail5,
1138
1162
  IsNumber as IsNumber2,
1139
- IsEnum as IsEnum10,
1140
- IsNotEmpty as IsNotEmpty31
1163
+ IsEnum as IsEnum11,
1164
+ IsNotEmpty as IsNotEmpty32
1141
1165
  } from "class-validator";
1142
1166
  var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
1143
1167
  NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
@@ -1154,31 +1178,31 @@ var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
1154
1178
  var UpdateFreelancerProfileDto = class {
1155
1179
  };
1156
1180
  __decorateClass([
1157
- IsNotEmpty31({ message: "Please enter first name." }),
1181
+ IsNotEmpty32({ message: "Please enter first name." }),
1158
1182
  IsString15({ message: "Please enter valid first name." })
1159
1183
  ], UpdateFreelancerProfileDto.prototype, "firstName", 2);
1160
1184
  __decorateClass([
1161
- IsNotEmpty31({ message: "Please enter last name." }),
1185
+ IsNotEmpty32({ message: "Please enter last name." }),
1162
1186
  IsString15({ message: "Please enter valid last name." })
1163
1187
  ], UpdateFreelancerProfileDto.prototype, "lastName", 2);
1164
1188
  __decorateClass([
1165
- IsNotEmpty31({ message: "Please enter designation." }),
1189
+ IsNotEmpty32({ message: "Please enter designation." }),
1166
1190
  IsString15({ message: "Please enter valid designation." })
1167
1191
  ], UpdateFreelancerProfileDto.prototype, "designation", 2);
1168
1192
  __decorateClass([
1169
- IsNotEmpty31({ message: "Please enter experience." }),
1193
+ IsNotEmpty32({ message: "Please enter experience." }),
1170
1194
  IsString15({ message: "Please enter valid experience." })
1171
1195
  ], UpdateFreelancerProfileDto.prototype, "experience", 2);
1172
1196
  __decorateClass([
1173
- IsNotEmpty31({ message: "Please enter email id." }),
1197
+ IsNotEmpty32({ message: "Please enter email id." }),
1174
1198
  IsEmail5()
1175
1199
  ], UpdateFreelancerProfileDto.prototype, "email", 2);
1176
1200
  __decorateClass([
1177
- IsNotEmpty31({ message: "Please enter mobile code." }),
1201
+ IsNotEmpty32({ message: "Please enter mobile code." }),
1178
1202
  IsString15({ message: "Please enter valid mobile code." })
1179
1203
  ], UpdateFreelancerProfileDto.prototype, "mobileCode", 2);
1180
1204
  __decorateClass([
1181
- IsNotEmpty31({ message: "Please enter mobile number." }),
1205
+ IsNotEmpty32({ message: "Please enter mobile number." }),
1182
1206
  IsString15({ message: "Please enter valid mobile number." })
1183
1207
  ], UpdateFreelancerProfileDto.prototype, "mobile", 2);
1184
1208
  __decorateClass([
@@ -1186,24 +1210,24 @@ __decorateClass([
1186
1210
  IsNumber2()
1187
1211
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
1188
1212
  __decorateClass([
1189
- IsNotEmpty31({ message: "Please select currency." }),
1213
+ IsNotEmpty32({ message: "Please select currency." }),
1190
1214
  IsString15({ message: "Please enter valid currency." })
1191
1215
  ], UpdateFreelancerProfileDto.prototype, "currency", 2);
1192
1216
  __decorateClass([
1193
- IsNotEmpty31({ message: "Please enter expected hourly compensation." }),
1217
+ IsNotEmpty32({ message: "Please enter expected hourly compensation." }),
1194
1218
  IsString15({ message: "Please enter valid expected hourly compensation." })
1195
1219
  ], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
1196
1220
  __decorateClass([
1197
- IsNotEmpty31({ message: "Please select engagement type." }),
1198
- IsEnum10(NatureOfWorkDto, {
1221
+ IsNotEmpty32({ message: "Please select engagement type." }),
1222
+ IsEnum11(NatureOfWorkDto, {
1199
1223
  message: `Engagement Type must be one of: ${Object.values(
1200
1224
  NatureOfWorkDto
1201
1225
  ).join(", ")}`
1202
1226
  })
1203
1227
  ], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
1204
1228
  __decorateClass([
1205
- IsNotEmpty31({ message: "Please select mode of work." }),
1206
- IsEnum10(ModeOfWorkDto, {
1229
+ IsNotEmpty32({ message: "Please select mode of work." }),
1230
+ IsEnum11(ModeOfWorkDto, {
1207
1231
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkDto).join(
1208
1232
  ", "
1209
1233
  )}`
@@ -1251,8 +1275,8 @@ var BANK_PATTERN = {
1251
1275
 
1252
1276
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
1253
1277
  import {
1254
- IsEnum as IsEnum11,
1255
- IsNotEmpty as IsNotEmpty32,
1278
+ IsEnum as IsEnum12,
1279
+ IsNotEmpty as IsNotEmpty33,
1256
1280
  IsOptional as IsOptional13,
1257
1281
  ValidateIf as ValidateIf4
1258
1282
  } from "class-validator";
@@ -1264,47 +1288,47 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
1264
1288
  var FreelancerBankDetailsDto = class {
1265
1289
  };
1266
1290
  __decorateClass([
1267
- IsNotEmpty32({ message: "Please enter Account Holder Name." })
1291
+ IsNotEmpty33({ message: "Please enter Account Holder Name." })
1268
1292
  ], FreelancerBankDetailsDto.prototype, "name", 2);
1269
1293
  __decorateClass([
1270
- IsNotEmpty32({ message: "Please enter Mobile Number." })
1294
+ IsNotEmpty33({ message: "Please enter Mobile Number." })
1271
1295
  ], FreelancerBankDetailsDto.prototype, "mobile", 2);
1272
1296
  __decorateClass([
1273
- IsNotEmpty32({ message: "Please enter Email." })
1297
+ IsNotEmpty33({ message: "Please enter Email." })
1274
1298
  ], FreelancerBankDetailsDto.prototype, "email", 2);
1275
1299
  __decorateClass([
1276
1300
  IsOptional13()
1277
1301
  ], FreelancerBankDetailsDto.prototype, "address", 2);
1278
1302
  __decorateClass([
1279
- IsNotEmpty32({ message: "Please enter Account Number." })
1303
+ IsNotEmpty33({ message: "Please enter Account Number." })
1280
1304
  ], FreelancerBankDetailsDto.prototype, "accountNumber", 2);
1281
1305
  __decorateClass([
1282
- IsNotEmpty32({ message: "Please enter Bank Name." })
1306
+ IsNotEmpty33({ message: "Please enter Bank Name." })
1283
1307
  ], FreelancerBankDetailsDto.prototype, "bankName", 2);
1284
1308
  __decorateClass([
1285
- IsNotEmpty32({ message: "Please enter Branch Name." })
1309
+ IsNotEmpty33({ message: "Please enter Branch Name." })
1286
1310
  ], FreelancerBankDetailsDto.prototype, "branchName", 2);
1287
1311
  __decorateClass([
1288
1312
  ValidateIf4((dto) => dto.accountScope === "DOMESTIC"),
1289
- IsNotEmpty32({ message: "IFSC Code is required for DOMESTIC accounts." })
1313
+ IsNotEmpty33({ message: "IFSC Code is required for DOMESTIC accounts." })
1290
1314
  ], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
1291
1315
  __decorateClass([
1292
1316
  ValidateIf4((dto) => dto.accountScope === "INTERNATIONAL"),
1293
- IsNotEmpty32({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
1317
+ IsNotEmpty33({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
1294
1318
  ], FreelancerBankDetailsDto.prototype, "routingNo", 2);
1295
1319
  __decorateClass([
1296
1320
  ValidateIf4((dto) => dto.accountScope === "INTERNATIONAL"),
1297
- IsNotEmpty32({ message: "ABA Number is required for INTERNATIONAL accounts." })
1321
+ IsNotEmpty33({ message: "ABA Number is required for INTERNATIONAL accounts." })
1298
1322
  ], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
1299
1323
  __decorateClass([
1300
1324
  ValidateIf4((dto) => dto.accountScope === "INTERNATIONAL"),
1301
- IsNotEmpty32({ message: "IBAN is required for INTERNATIONAL accounts." })
1325
+ IsNotEmpty33({ message: "IBAN is required for INTERNATIONAL accounts." })
1302
1326
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
1303
1327
  __decorateClass([
1304
1328
  IsOptional13()
1305
1329
  ], FreelancerBankDetailsDto.prototype, "accountType", 2);
1306
1330
  __decorateClass([
1307
- IsEnum11(BankAccountScope, {
1331
+ IsEnum12(BankAccountScope, {
1308
1332
  message: `Type of Account Scope must be one of: ${Object.values(
1309
1333
  BankAccountScope
1310
1334
  ).join(", ")}`
@@ -1326,7 +1350,7 @@ var SYSTEM_PREFERENCES_PATTERN = {
1326
1350
  // src/modules/system-preference/dto/system-preference.dto.ts
1327
1351
  import {
1328
1352
  IsBoolean as IsBoolean3,
1329
- IsEnum as IsEnum12
1353
+ IsEnum as IsEnum13
1330
1354
  } from "class-validator";
1331
1355
  var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
1332
1356
  SystemPreferenceKey2["EMAIL_NOTIFICATION"] = "EMAIL_NOTIFICATION";
@@ -1339,7 +1363,7 @@ __decorateClass([
1339
1363
  IsBoolean3()
1340
1364
  ], SystemPreferenceDto.prototype, "value", 2);
1341
1365
  __decorateClass([
1342
- IsEnum12(SystemPreferenceKey, {
1366
+ IsEnum13(SystemPreferenceKey, {
1343
1367
  message: `key must be one of: ${Object.values(
1344
1368
  SystemPreferenceKey
1345
1369
  ).join(", ")}`
@@ -1360,9 +1384,9 @@ var RATING_PATTERN = {
1360
1384
 
1361
1385
  // src/modules/rating/dto/add.rating.dto.ts
1362
1386
  import {
1363
- IsEnum as IsEnum13,
1387
+ IsEnum as IsEnum14,
1364
1388
  IsInt,
1365
- IsNotEmpty as IsNotEmpty33,
1389
+ IsNotEmpty as IsNotEmpty34,
1366
1390
  IsOptional as IsOptional14,
1367
1391
  IsString as IsString16,
1368
1392
  Max,
@@ -4227,10 +4251,10 @@ var CreateRatingDto = class {
4227
4251
  };
4228
4252
  __decorateClass([
4229
4253
  IsInt({ message: "Reviewee ID must be a valid integer" }),
4230
- IsNotEmpty33({ message: "Reviewee ID is required" })
4254
+ IsNotEmpty34({ message: "Reviewee ID is required" })
4231
4255
  ], CreateRatingDto.prototype, "revieweeId", 2);
4232
4256
  __decorateClass([
4233
- IsEnum13(RatingTypeEnum, {
4257
+ IsEnum14(RatingTypeEnum, {
4234
4258
  message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
4235
4259
  })
4236
4260
  ], CreateRatingDto.prototype, "ratingType", 2);
@@ -4257,17 +4281,17 @@ var COMPANY_ROLES_PATTERNS = {
4257
4281
  };
4258
4282
 
4259
4283
  // src/modules/company-role/dto/create-company-role.dto.ts
4260
- import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean4, IsInt as IsInt2, IsNotEmpty as IsNotEmpty34, IsOptional as IsOptional15 } from "class-validator";
4284
+ import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean4, IsInt as IsInt2, IsNotEmpty as IsNotEmpty35, IsOptional as IsOptional15 } from "class-validator";
4261
4285
  var CreateCompanyRoleDto = class {
4262
4286
  };
4263
4287
  __decorateClass([
4264
- IsNotEmpty34({ message: "Please enter company role name." })
4288
+ IsNotEmpty35({ message: "Please enter company role name." })
4265
4289
  ], CreateCompanyRoleDto.prototype, "name", 2);
4266
4290
  __decorateClass([
4267
- IsNotEmpty34({ message: "Please enter company role slug" })
4291
+ IsNotEmpty35({ message: "Please enter company role slug" })
4268
4292
  ], CreateCompanyRoleDto.prototype, "slug", 2);
4269
4293
  __decorateClass([
4270
- IsNotEmpty34({ message: "Please enter description" })
4294
+ IsNotEmpty35({ message: "Please enter description" })
4271
4295
  ], CreateCompanyRoleDto.prototype, "description", 2);
4272
4296
  __decorateClass([
4273
4297
  IsArray2({ message: "Permission IDs must be an array." }),
@@ -4280,17 +4304,17 @@ __decorateClass([
4280
4304
  ], CreateCompanyRoleDto.prototype, "isActive", 2);
4281
4305
 
4282
4306
  // src/modules/company-role/dto/update-company-role.dto.ts
4283
- import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty35, IsOptional as IsOptional16 } from "class-validator";
4307
+ import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty36, IsOptional as IsOptional16 } from "class-validator";
4284
4308
  var UpdateCompanyRoleDto = class {
4285
4309
  };
4286
4310
  __decorateClass([
4287
- IsNotEmpty35({ message: "Please enter company name." })
4311
+ IsNotEmpty36({ message: "Please enter company name." })
4288
4312
  ], UpdateCompanyRoleDto.prototype, "name", 2);
4289
4313
  __decorateClass([
4290
- IsNotEmpty35({ message: "Please enter slug" })
4314
+ IsNotEmpty36({ message: "Please enter slug" })
4291
4315
  ], UpdateCompanyRoleDto.prototype, "slug", 2);
4292
4316
  __decorateClass([
4293
- IsNotEmpty35({ message: "Please enter description" })
4317
+ IsNotEmpty36({ message: "Please enter description" })
4294
4318
  ], UpdateCompanyRoleDto.prototype, "description", 2);
4295
4319
  __decorateClass([
4296
4320
  IsArray3({ message: "Permission IDs must be an array." }),
@@ -4319,7 +4343,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
4319
4343
  // src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
4320
4344
  import {
4321
4345
  ArrayMinSize,
4322
- IsNotEmpty as IsNotEmpty36,
4346
+ IsNotEmpty as IsNotEmpty37,
4323
4347
  IsOptional as IsOptional17,
4324
4348
  IsString as IsString19,
4325
4349
  MaxLength as MaxLength10,
@@ -4332,15 +4356,15 @@ __decorateClass([
4332
4356
  IsOptional17()
4333
4357
  ], ExperienceDto.prototype, "uuid", 2);
4334
4358
  __decorateClass([
4335
- IsNotEmpty36(),
4359
+ IsNotEmpty37(),
4336
4360
  IsString19()
4337
4361
  ], ExperienceDto.prototype, "companyName", 2);
4338
4362
  __decorateClass([
4339
- IsNotEmpty36(),
4363
+ IsNotEmpty37(),
4340
4364
  IsString19()
4341
4365
  ], ExperienceDto.prototype, "designation", 2);
4342
4366
  __decorateClass([
4343
- IsNotEmpty36(),
4367
+ IsNotEmpty37(),
4344
4368
  IsString19()
4345
4369
  ], ExperienceDto.prototype, "jobDuration", 2);
4346
4370
  __decorateClass([
@@ -4369,14 +4393,14 @@ var COMPANY_MEMBERS_PATTERNS = {
4369
4393
  };
4370
4394
 
4371
4395
  // src/modules/company-member/dto/create-company-member.dto.ts
4372
- import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray4, IsInt as IsInt4, IsNotEmpty as IsNotEmpty37 } from "class-validator";
4396
+ import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray4, IsInt as IsInt4, IsNotEmpty as IsNotEmpty38 } from "class-validator";
4373
4397
  var CreateCompanyMemberDto = class {
4374
4398
  };
4375
4399
  __decorateClass([
4376
- IsNotEmpty37({ message: "Please enter name." })
4400
+ IsNotEmpty38({ message: "Please enter name." })
4377
4401
  ], CreateCompanyMemberDto.prototype, "name", 2);
4378
4402
  __decorateClass([
4379
- IsNotEmpty37({ message: "Please enter email" })
4403
+ IsNotEmpty38({ message: "Please enter email" })
4380
4404
  ], CreateCompanyMemberDto.prototype, "email", 2);
4381
4405
  __decorateClass([
4382
4406
  IsArray4({ message: "Role IDs must be an array." }),
@@ -4385,14 +4409,14 @@ __decorateClass([
4385
4409
  ], CreateCompanyMemberDto.prototype, "roleIds", 2);
4386
4410
 
4387
4411
  // src/modules/company-member/dto/update-company-member.dto.ts
4388
- import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray5, IsInt as IsInt5, IsNotEmpty as IsNotEmpty38 } from "class-validator";
4412
+ import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray5, IsInt as IsInt5, IsNotEmpty as IsNotEmpty39 } from "class-validator";
4389
4413
  var UpdateCompanyMemberDto = class {
4390
4414
  };
4391
4415
  __decorateClass([
4392
- IsNotEmpty38({ message: "Please enter name." })
4416
+ IsNotEmpty39({ message: "Please enter name." })
4393
4417
  ], UpdateCompanyMemberDto.prototype, "name", 2);
4394
4418
  __decorateClass([
4395
- IsNotEmpty38({ message: "Please enter email" })
4419
+ IsNotEmpty39({ message: "Please enter email" })
4396
4420
  ], UpdateCompanyMemberDto.prototype, "email", 2);
4397
4421
  __decorateClass([
4398
4422
  IsArray5({ message: "Role IDs must be an array." }),
@@ -4415,7 +4439,7 @@ var FREELANCER_EDUCATION_PATTERN = {
4415
4439
  };
4416
4440
 
4417
4441
  // src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
4418
- import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString22, IsNotEmpty as IsNotEmpty39, IsOptional as IsOptional20, ArrayMinSize as ArrayMinSize2 } from "class-validator";
4442
+ import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString22, IsNotEmpty as IsNotEmpty40, IsOptional as IsOptional20, ArrayMinSize as ArrayMinSize2 } from "class-validator";
4419
4443
  import { Type as Type3 } from "class-transformer";
4420
4444
  var EducationDto = class {
4421
4445
  };
@@ -4424,15 +4448,15 @@ __decorateClass([
4424
4448
  ], EducationDto.prototype, "uuid", 2);
4425
4449
  __decorateClass([
4426
4450
  IsString22(),
4427
- IsNotEmpty39({ message: "Please Enter Degree " })
4451
+ IsNotEmpty40({ message: "Please Enter Degree " })
4428
4452
  ], EducationDto.prototype, "degree", 2);
4429
4453
  __decorateClass([
4430
4454
  IsString22(),
4431
- IsNotEmpty39({ message: "Please Enter University " })
4455
+ IsNotEmpty40({ message: "Please Enter University " })
4432
4456
  ], EducationDto.prototype, "university", 2);
4433
4457
  __decorateClass([
4434
4458
  IsString22(),
4435
- IsNotEmpty39({ message: "Please Enter Year of Graduation " })
4459
+ IsNotEmpty40({ message: "Please Enter Year of Graduation " })
4436
4460
  ], EducationDto.prototype, "yearOfGraduation", 2);
4437
4461
  var FreelancerEducationDto = class {
4438
4462
  };
@@ -4450,7 +4474,7 @@ var FREELANCER_PROJECT_PATTERN = {
4450
4474
  };
4451
4475
 
4452
4476
  // src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
4453
- import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString23, IsNotEmpty as IsNotEmpty40, IsOptional as IsOptional21, IsDateString, MaxLength as MaxLength12, ArrayMinSize as ArrayMinSize3 } from "class-validator";
4477
+ import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString23, IsNotEmpty as IsNotEmpty41, IsOptional as IsOptional21, IsDateString, MaxLength as MaxLength12, ArrayMinSize as ArrayMinSize3 } from "class-validator";
4454
4478
  import { Type as Type4 } from "class-transformer";
4455
4479
  var ProjectDto = class {
4456
4480
  };
@@ -4459,15 +4483,15 @@ __decorateClass([
4459
4483
  ], ProjectDto.prototype, "uuid", 2);
4460
4484
  __decorateClass([
4461
4485
  IsString23(),
4462
- IsNotEmpty40({ message: "Please Enter Project Name " })
4486
+ IsNotEmpty41({ message: "Please Enter Project Name " })
4463
4487
  ], ProjectDto.prototype, "projectName", 2);
4464
4488
  __decorateClass([
4465
4489
  IsDateString(),
4466
- IsNotEmpty40({ message: "Please Enter Start Date " })
4490
+ IsNotEmpty41({ message: "Please Enter Start Date " })
4467
4491
  ], ProjectDto.prototype, "startDate", 2);
4468
4492
  __decorateClass([
4469
4493
  IsDateString(),
4470
- IsNotEmpty40({ message: "Please Enter End Date " })
4494
+ IsNotEmpty41({ message: "Please Enter End Date " })
4471
4495
  ], ProjectDto.prototype, "endDate", 2);
4472
4496
  __decorateClass([
4473
4497
  IsOptional21(),
@@ -4489,7 +4513,7 @@ __decorateClass([
4489
4513
  ], CaseStudyDto.prototype, "uuid", 2);
4490
4514
  __decorateClass([
4491
4515
  IsString23(),
4492
- IsNotEmpty40({ message: "Please Enter Project Name " })
4516
+ IsNotEmpty41({ message: "Please Enter Project Name " })
4493
4517
  ], CaseStudyDto.prototype, "projectName", 2);
4494
4518
  __decorateClass([
4495
4519
  IsOptional21(),
@@ -4572,12 +4596,12 @@ import {
4572
4596
  IsEmail as IsEmail10,
4573
4597
  IsBoolean as IsBoolean10,
4574
4598
  IsOptional as IsOptional23,
4575
- IsEnum as IsEnum14,
4599
+ IsEnum as IsEnum15,
4576
4600
  IsNumber as IsNumber3,
4577
4601
  IsUrl as IsUrl3,
4578
4602
  Min as Min3,
4579
4603
  MaxLength as MaxLength14,
4580
- IsNotEmpty as IsNotEmpty42,
4604
+ IsNotEmpty as IsNotEmpty43,
4581
4605
  MinLength as MinLength12,
4582
4606
  Matches as Matches9,
4583
4607
  ValidateIf as ValidateIf5
@@ -4611,7 +4635,7 @@ __decorateClass([
4611
4635
  IsString25({ message: "Mobile must be a string (e.g., 1243253534)" })
4612
4636
  ], CreateFreelancerDto.prototype, "mobile", 2);
4613
4637
  __decorateClass([
4614
- IsNotEmpty42({ message: "Please enter password." }),
4638
+ IsNotEmpty43({ message: "Please enter password." }),
4615
4639
  MinLength12(6),
4616
4640
  MaxLength14(32),
4617
4641
  Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -4619,7 +4643,7 @@ __decorateClass([
4619
4643
  })
4620
4644
  ], CreateFreelancerDto.prototype, "password", 2);
4621
4645
  __decorateClass([
4622
- IsNotEmpty42({ message: "Please enter confirm password." }),
4646
+ IsNotEmpty43({ message: "Please enter confirm password." }),
4623
4647
  Match("confirmPassword", { message: "Passwords do not match" })
4624
4648
  ], CreateFreelancerDto.prototype, "confirmPassword", 2);
4625
4649
  __decorateClass([
@@ -4627,7 +4651,7 @@ __decorateClass([
4627
4651
  Type6(() => Boolean)
4628
4652
  ], CreateFreelancerDto.prototype, "developer", 2);
4629
4653
  __decorateClass([
4630
- IsEnum14(NatureOfWorkEnum, {
4654
+ IsEnum15(NatureOfWorkEnum, {
4631
4655
  message: `Nature of work must be one of: ${Object.values(
4632
4656
  NatureOfWorkEnum
4633
4657
  ).join(", ")}`
@@ -4639,7 +4663,7 @@ __decorateClass([
4639
4663
  Type6(() => Number)
4640
4664
  ], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
4641
4665
  __decorateClass([
4642
- IsEnum14(ModeOfWorkEnum, {
4666
+ IsEnum15(ModeOfWorkEnum, {
4643
4667
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
4644
4668
  ", "
4645
4669
  )}`
@@ -4651,7 +4675,7 @@ __decorateClass([
4651
4675
  ], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
4652
4676
  __decorateClass([
4653
4677
  ValidateIf5((o) => o.isImmediateJoiner === false),
4654
- IsNotEmpty42({ message: "Please enter availability to join." })
4678
+ IsNotEmpty43({ message: "Please enter availability to join." })
4655
4679
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
4656
4680
  __decorateClass([
4657
4681
  IsOptional23(),
@@ -4680,14 +4704,14 @@ import {
4680
4704
  IsEmail as IsEmail11,
4681
4705
  IsBoolean as IsBoolean11,
4682
4706
  IsOptional as IsOptional24,
4683
- IsEnum as IsEnum15,
4707
+ IsEnum as IsEnum16,
4684
4708
  IsNumber as IsNumber4,
4685
4709
  IsUrl as IsUrl4,
4686
4710
  Min as Min4,
4687
4711
  MaxLength as MaxLength15,
4688
4712
  MinLength as MinLength13,
4689
4713
  Matches as Matches10,
4690
- IsNotEmpty as IsNotEmpty43,
4714
+ IsNotEmpty as IsNotEmpty44,
4691
4715
  ValidateIf as ValidateIf6
4692
4716
  } from "class-validator";
4693
4717
  import { Transform as Transform2, Type as Type7 } from "class-transformer";
@@ -4738,7 +4762,7 @@ __decorateClass([
4738
4762
  ], UpdateFreelancerDto.prototype, "developer", 2);
4739
4763
  __decorateClass([
4740
4764
  IsOptional24(),
4741
- IsEnum15(NatureOfWorkEnum2, {
4765
+ IsEnum16(NatureOfWorkEnum2, {
4742
4766
  message: `Nature of work must be one of: ${Object.values(
4743
4767
  NatureOfWorkEnum2
4744
4768
  ).join(", ")}`
@@ -4752,7 +4776,7 @@ __decorateClass([
4752
4776
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
4753
4777
  __decorateClass([
4754
4778
  IsOptional24(),
4755
- IsEnum15(ModeOfWorkEnum2, {
4779
+ IsEnum16(ModeOfWorkEnum2, {
4756
4780
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
4757
4781
  ", "
4758
4782
  )}`
@@ -4765,7 +4789,7 @@ __decorateClass([
4765
4789
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
4766
4790
  __decorateClass([
4767
4791
  ValidateIf6((o) => o.isImmediateJoiner === false),
4768
- IsNotEmpty43({ message: "Please enter availability to join." })
4792
+ IsNotEmpty44({ message: "Please enter availability to join." })
4769
4793
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
4770
4794
  __decorateClass([
4771
4795
  IsOptional24(),
@@ -4803,14 +4827,14 @@ var CLIENT_ADMIN_PATTERNS = {
4803
4827
 
4804
4828
  // src/modules/client-admin/dto/create-client.dto.ts
4805
4829
  import {
4806
- IsNotEmpty as IsNotEmpty44,
4830
+ IsNotEmpty as IsNotEmpty45,
4807
4831
  IsEmail as IsEmail12,
4808
4832
  IsOptional as IsOptional25,
4809
4833
  IsString as IsString27,
4810
4834
  IsArray as IsArray9,
4811
4835
  MinLength as MinLength14,
4812
4836
  MaxLength as MaxLength16,
4813
- IsEnum as IsEnum16,
4837
+ IsEnum as IsEnum17,
4814
4838
  Matches as Matches11
4815
4839
  } from "class-validator";
4816
4840
  var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
@@ -4828,19 +4852,19 @@ var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2)
4828
4852
  var CreateClientDto = class {
4829
4853
  };
4830
4854
  __decorateClass([
4831
- IsNotEmpty44({ message: "Please enter first name." }),
4855
+ IsNotEmpty45({ message: "Please enter first name." }),
4832
4856
  IsString27()
4833
4857
  ], CreateClientDto.prototype, "firstName", 2);
4834
4858
  __decorateClass([
4835
- IsNotEmpty44({ message: "Please enter last name." }),
4859
+ IsNotEmpty45({ message: "Please enter last name." }),
4836
4860
  IsString27()
4837
4861
  ], CreateClientDto.prototype, "lastName", 2);
4838
4862
  __decorateClass([
4839
- IsNotEmpty44({ message: "Please enter email." }),
4863
+ IsNotEmpty45({ message: "Please enter email." }),
4840
4864
  IsEmail12()
4841
4865
  ], CreateClientDto.prototype, "email", 2);
4842
4866
  __decorateClass([
4843
- IsNotEmpty44({ message: "Please enter password." }),
4867
+ IsNotEmpty45({ message: "Please enter password." }),
4844
4868
  MinLength14(6),
4845
4869
  MaxLength16(32),
4846
4870
  Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -4848,31 +4872,31 @@ __decorateClass([
4848
4872
  })
4849
4873
  ], CreateClientDto.prototype, "password", 2);
4850
4874
  __decorateClass([
4851
- IsNotEmpty44({ message: "Please enter confirm password." }),
4875
+ IsNotEmpty45({ message: "Please enter confirm password." }),
4852
4876
  Match("confirmPassword", { message: "Passwords do not match" })
4853
4877
  ], CreateClientDto.prototype, "confirmPassword", 2);
4854
4878
  __decorateClass([
4855
- IsNotEmpty44({ message: "Please enter company name." }),
4879
+ IsNotEmpty45({ message: "Please enter company name." }),
4856
4880
  IsString27()
4857
4881
  ], CreateClientDto.prototype, "companyName", 2);
4858
4882
  __decorateClass([
4859
4883
  IsArray9({ message: "Skills should be an array." }),
4860
- IsNotEmpty44({ message: "Please enter skills." })
4884
+ IsNotEmpty45({ message: "Please enter skills." })
4861
4885
  ], CreateClientDto.prototype, "skills", 2);
4862
4886
  __decorateClass([
4863
- IsNotEmpty44({ message: "Please specify required freelancer count." }),
4887
+ IsNotEmpty45({ message: "Please specify required freelancer count." }),
4864
4888
  IsString27()
4865
4889
  ], CreateClientDto.prototype, "requiredFreelancer", 2);
4866
4890
  __decorateClass([
4867
- IsNotEmpty44({ message: "Please specify the kind of hiring." }),
4868
- IsEnum16(CreateClientHiringTypeEnum)
4891
+ IsNotEmpty45({ message: "Please specify the kind of hiring." }),
4892
+ IsEnum17(CreateClientHiringTypeEnum)
4869
4893
  ], CreateClientDto.prototype, "kindOfHiring", 2);
4870
4894
  __decorateClass([
4871
- IsNotEmpty44({ message: "Please specify the mode of hire." }),
4872
- IsEnum16(CreateClientHiringModeEnum)
4895
+ IsNotEmpty45({ message: "Please specify the mode of hire." }),
4896
+ IsEnum17(CreateClientHiringModeEnum)
4873
4897
  ], CreateClientDto.prototype, "modeOfHire", 2);
4874
4898
  __decorateClass([
4875
- IsNotEmpty44({ message: "Please let us know how you found us." }),
4899
+ IsNotEmpty45({ message: "Please let us know how you found us." }),
4876
4900
  IsString27()
4877
4901
  ], CreateClientDto.prototype, "foundUsOn", 2);
4878
4902
  __decorateClass([
@@ -4881,25 +4905,25 @@ __decorateClass([
4881
4905
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
4882
4906
 
4883
4907
  // src/modules/client-admin/dto/update-client-status.dto.ts
4884
- import { IsString as IsString28, IsNotEmpty as IsNotEmpty45 } from "class-validator";
4908
+ import { IsString as IsString28, IsNotEmpty as IsNotEmpty46 } from "class-validator";
4885
4909
  var UpdateClientAccountStatusDto = class {
4886
4910
  };
4887
4911
  __decorateClass([
4888
- IsNotEmpty45({ message: "Please enter account status." }),
4912
+ IsNotEmpty46({ message: "Please enter account status." }),
4889
4913
  IsString28()
4890
4914
  ], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
4891
4915
 
4892
4916
  // src/modules/client-admin/dto/update-client.dto.ts
4893
4917
  import { Transform as Transform3 } from "class-transformer";
4894
4918
  import {
4895
- IsNotEmpty as IsNotEmpty46,
4919
+ IsNotEmpty as IsNotEmpty47,
4896
4920
  IsEmail as IsEmail13,
4897
4921
  IsOptional as IsOptional26,
4898
4922
  IsString as IsString29,
4899
4923
  IsArray as IsArray10,
4900
4924
  MinLength as MinLength15,
4901
4925
  MaxLength as MaxLength17,
4902
- IsEnum as IsEnum17,
4926
+ IsEnum as IsEnum18,
4903
4927
  Matches as Matches12
4904
4928
  } from "class-validator";
4905
4929
  var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
@@ -4917,15 +4941,15 @@ var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2)
4917
4941
  var UpdateClientDto = class {
4918
4942
  };
4919
4943
  __decorateClass([
4920
- IsNotEmpty46({ message: "Please enter first name." }),
4944
+ IsNotEmpty47({ message: "Please enter first name." }),
4921
4945
  IsString29()
4922
4946
  ], UpdateClientDto.prototype, "firstName", 2);
4923
4947
  __decorateClass([
4924
- IsNotEmpty46({ message: "Please enter last name." }),
4948
+ IsNotEmpty47({ message: "Please enter last name." }),
4925
4949
  IsString29()
4926
4950
  ], UpdateClientDto.prototype, "lastName", 2);
4927
4951
  __decorateClass([
4928
- IsNotEmpty46({ message: "Please enter email." }),
4952
+ IsNotEmpty47({ message: "Please enter email." }),
4929
4953
  IsEmail13()
4930
4954
  ], UpdateClientDto.prototype, "email", 2);
4931
4955
  __decorateClass([
@@ -4938,27 +4962,27 @@ __decorateClass([
4938
4962
  })
4939
4963
  ], UpdateClientDto.prototype, "password", 2);
4940
4964
  __decorateClass([
4941
- IsNotEmpty46({ message: "Please enter company name." }),
4965
+ IsNotEmpty47({ message: "Please enter company name." }),
4942
4966
  IsString29()
4943
4967
  ], UpdateClientDto.prototype, "companyName", 2);
4944
4968
  __decorateClass([
4945
4969
  IsArray10({ message: "Skills should be an array." }),
4946
- IsNotEmpty46({ message: "Please enter skills." })
4970
+ IsNotEmpty47({ message: "Please enter skills." })
4947
4971
  ], UpdateClientDto.prototype, "skills", 2);
4948
4972
  __decorateClass([
4949
- IsNotEmpty46({ message: "Please specify required freelancer count." }),
4973
+ IsNotEmpty47({ message: "Please specify required freelancer count." }),
4950
4974
  IsString29()
4951
4975
  ], UpdateClientDto.prototype, "requiredFreelancer", 2);
4952
4976
  __decorateClass([
4953
- IsNotEmpty46({ message: "Please specify the kind of hiring." }),
4954
- IsEnum17(UpdateClientHiringTypeEnum)
4977
+ IsNotEmpty47({ message: "Please specify the kind of hiring." }),
4978
+ IsEnum18(UpdateClientHiringTypeEnum)
4955
4979
  ], UpdateClientDto.prototype, "kindOfHiring", 2);
4956
4980
  __decorateClass([
4957
- IsNotEmpty46({ message: "Please specify the mode of hire." }),
4958
- IsEnum17(UpdateClientHiringModeEnum)
4981
+ IsNotEmpty47({ message: "Please specify the mode of hire." }),
4982
+ IsEnum18(UpdateClientHiringModeEnum)
4959
4983
  ], UpdateClientDto.prototype, "modeOfHire", 2);
4960
4984
  __decorateClass([
4961
- IsNotEmpty46({ message: "Please let us know how you found us." }),
4985
+ IsNotEmpty47({ message: "Please let us know how you found us." }),
4962
4986
  IsString29()
4963
4987
  ], UpdateClientDto.prototype, "foundUsOn", 2);
4964
4988
  __decorateClass([
@@ -4973,7 +4997,7 @@ var FREELANCER_DECLARATION_PATTERN = {
4973
4997
  };
4974
4998
 
4975
4999
  // src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
4976
- import { IsOptional as IsOptional27, IsEnum as IsEnum18, IsString as IsString30, IsNotEmpty as IsNotEmpty47, IsIn as IsIn3 } from "class-validator";
5000
+ import { IsOptional as IsOptional27, IsEnum as IsEnum19, IsString as IsString30, IsNotEmpty as IsNotEmpty48, IsIn as IsIn3 } from "class-validator";
4977
5001
  var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
4978
5002
  DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
4979
5003
  DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
@@ -4988,10 +5012,10 @@ __decorateClass([
4988
5012
  IsString30({ message: "UUID must be a string" })
4989
5013
  ], FreelancerDeclarationDto.prototype, "uuid", 2);
4990
5014
  __decorateClass([
4991
- IsEnum18(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
5015
+ IsEnum19(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
4992
5016
  ], FreelancerDeclarationDto.prototype, "documentType", 2);
4993
5017
  __decorateClass([
4994
- IsNotEmpty47({ message: "Please accept the declaration " }),
5018
+ IsNotEmpty48({ message: "Please accept the declaration " }),
4995
5019
  IsString30(),
4996
5020
  IsIn3([
4997
5021
  "true"
@@ -5008,11 +5032,11 @@ var CMS_PATTERNS = {
5008
5032
  };
5009
5033
 
5010
5034
  // src/modules/cms/dto/create-cms.dto.ts
5011
- import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty48, IsOptional as IsOptional28 } from "class-validator";
5035
+ import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty49, IsOptional as IsOptional28 } from "class-validator";
5012
5036
  var CreateCmsDto = class {
5013
5037
  };
5014
5038
  __decorateClass([
5015
- IsNotEmpty48({ message: "Please enter name." })
5039
+ IsNotEmpty49({ message: "Please enter name." })
5016
5040
  ], CreateCmsDto.prototype, "title", 2);
5017
5041
  __decorateClass([
5018
5042
  IsOptional28()
@@ -5023,14 +5047,14 @@ __decorateClass([
5023
5047
  ], CreateCmsDto.prototype, "isActive", 2);
5024
5048
 
5025
5049
  // src/modules/cms/dto/update-cms.dto.ts
5026
- import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty49, IsOptional as IsOptional29 } from "class-validator";
5050
+ import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty50, IsOptional as IsOptional29 } from "class-validator";
5027
5051
  var UpdateCmsDto = class {
5028
5052
  };
5029
5053
  __decorateClass([
5030
5054
  IsOptional29()
5031
5055
  ], UpdateCmsDto.prototype, "uuid", 2);
5032
5056
  __decorateClass([
5033
- IsNotEmpty49({ message: "Please enter name." })
5057
+ IsNotEmpty50({ message: "Please enter name." })
5034
5058
  ], UpdateCmsDto.prototype, "title", 2);
5035
5059
  __decorateClass([
5036
5060
  IsOptional29()
@@ -5067,12 +5091,12 @@ var ADMIN_JOB_PATTERN = {
5067
5091
  import { Type as Type8 } from "class-transformer";
5068
5092
  import {
5069
5093
  IsString as IsString31,
5070
- IsEnum as IsEnum19,
5094
+ IsEnum as IsEnum20,
5071
5095
  IsInt as IsInt6,
5072
5096
  IsOptional as IsOptional30,
5073
5097
  IsArray as IsArray11,
5074
5098
  IsDateString as IsDateString4,
5075
- IsNotEmpty as IsNotEmpty50,
5099
+ IsNotEmpty as IsNotEmpty51,
5076
5100
  ArrayNotEmpty as ArrayNotEmpty6,
5077
5101
  Min as Min5,
5078
5102
  IsNumber as IsNumber5
@@ -5093,7 +5117,7 @@ var AdminCreateJobInformationDto = class {
5093
5117
  };
5094
5118
  __decorateClass([
5095
5119
  IsString31({ message: "Job role must be a string." }),
5096
- IsNotEmpty50({ message: "Job role is required." })
5120
+ IsNotEmpty51({ message: "Job role is required." })
5097
5121
  ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
5098
5122
  __decorateClass([
5099
5123
  IsOptional30(),
@@ -5109,14 +5133,14 @@ __decorateClass([
5109
5133
  Min5(1, { message: "There must be at least one opening." })
5110
5134
  ], AdminCreateJobInformationDto.prototype, "openings", 2);
5111
5135
  __decorateClass([
5112
- IsEnum19(JobLocationEnumDto, {
5136
+ IsEnum20(JobLocationEnumDto, {
5113
5137
  message: `Location must be one of: ${Object.values(JobLocationEnumDto).join(
5114
5138
  ", "
5115
5139
  )}.`
5116
5140
  })
5117
5141
  ], AdminCreateJobInformationDto.prototype, "location", 2);
5118
5142
  __decorateClass([
5119
- IsEnum19(TypeOfEmploymentEnumDto, {
5143
+ IsEnum20(TypeOfEmploymentEnumDto, {
5120
5144
  message: `Type of employment must be one of: ${Object.values(
5121
5145
  TypeOfEmploymentEnumDto
5122
5146
  ).join(", ")}.`
@@ -5124,15 +5148,15 @@ __decorateClass([
5124
5148
  ], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
5125
5149
  __decorateClass([
5126
5150
  IsString31({ message: "Onboarding Days must be a string." }),
5127
- IsNotEmpty50({ message: "Onboarding Days is required." })
5151
+ IsNotEmpty51({ message: "Onboarding Days is required." })
5128
5152
  ], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
5129
5153
  __decorateClass([
5130
5154
  IsString31({ message: "Communication skills must be a string." }),
5131
- IsNotEmpty50({ message: "Communication skills are required." })
5155
+ IsNotEmpty51({ message: "Communication skills are required." })
5132
5156
  ], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
5133
5157
  __decorateClass([
5134
5158
  IsString31({ message: "Currency must be a string." }),
5135
- IsNotEmpty50({ message: "Currency is required." })
5159
+ IsNotEmpty51({ message: "Currency is required." })
5136
5160
  ], AdminCreateJobInformationDto.prototype, "currency", 2);
5137
5161
  __decorateClass([
5138
5162
  Type8(() => Number),
@@ -5175,12 +5199,12 @@ __decorateClass([
5175
5199
  import { Type as Type9 } from "class-transformer";
5176
5200
  import {
5177
5201
  IsString as IsString32,
5178
- IsEnum as IsEnum20,
5202
+ IsEnum as IsEnum21,
5179
5203
  IsInt as IsInt7,
5180
5204
  IsOptional as IsOptional31,
5181
5205
  IsArray as IsArray12,
5182
5206
  IsDateString as IsDateString5,
5183
- IsNotEmpty as IsNotEmpty51,
5207
+ IsNotEmpty as IsNotEmpty52,
5184
5208
  ArrayNotEmpty as ArrayNotEmpty7,
5185
5209
  Min as Min6,
5186
5210
  IsNumber as IsNumber6
@@ -5201,7 +5225,7 @@ var AdminUpdateJobInformationDto = class {
5201
5225
  };
5202
5226
  __decorateClass([
5203
5227
  IsString32({ message: "Job role must be a string." }),
5204
- IsNotEmpty51({ message: "Job role is required." })
5228
+ IsNotEmpty52({ message: "Job role is required." })
5205
5229
  ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
5206
5230
  __decorateClass([
5207
5231
  IsOptional31(),
@@ -5217,14 +5241,14 @@ __decorateClass([
5217
5241
  Min6(1, { message: "There must be at least one opening." })
5218
5242
  ], AdminUpdateJobInformationDto.prototype, "openings", 2);
5219
5243
  __decorateClass([
5220
- IsEnum20(JobLocationEnums, {
5244
+ IsEnum21(JobLocationEnums, {
5221
5245
  message: `Location must be one of: ${Object.values(JobLocationEnums).join(
5222
5246
  ", "
5223
5247
  )}.`
5224
5248
  })
5225
5249
  ], AdminUpdateJobInformationDto.prototype, "location", 2);
5226
5250
  __decorateClass([
5227
- IsEnum20(TypeOfEmploymentEnums, {
5251
+ IsEnum21(TypeOfEmploymentEnums, {
5228
5252
  message: `Type of employment must be one of: ${Object.values(
5229
5253
  TypeOfEmploymentEnums
5230
5254
  ).join(", ")}.`
@@ -5232,15 +5256,15 @@ __decorateClass([
5232
5256
  ], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
5233
5257
  __decorateClass([
5234
5258
  IsString32({ message: "Onboarding Days must be a string." }),
5235
- IsNotEmpty51({ message: "Onboarding Days is required." })
5259
+ IsNotEmpty52({ message: "Onboarding Days is required." })
5236
5260
  ], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
5237
5261
  __decorateClass([
5238
5262
  IsString32({ message: "Communication skills must be a string." }),
5239
- IsNotEmpty51({ message: "Communication skills are required." })
5263
+ IsNotEmpty52({ message: "Communication skills are required." })
5240
5264
  ], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
5241
5265
  __decorateClass([
5242
5266
  IsString32({ message: "Currency must be a string." }),
5243
- IsNotEmpty51({ message: "Currency is required." })
5267
+ IsNotEmpty52({ message: "Currency is required." })
5244
5268
  ], AdminUpdateJobInformationDto.prototype, "currency", 2);
5245
5269
  __decorateClass([
5246
5270
  Type9(() => Number),
@@ -5286,7 +5310,7 @@ var LEAD_PATTERN = {
5286
5310
  };
5287
5311
 
5288
5312
  // src/modules/lead/dto/create-lead.dto.ts
5289
- import { IsString as IsString33, IsEmail as IsEmail14, IsOptional as IsOptional32, IsEnum as IsEnum21 } from "class-validator";
5313
+ import { IsString as IsString33, IsEmail as IsEmail14, IsOptional as IsOptional32, IsEnum as IsEnum22 } from "class-validator";
5290
5314
  var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
5291
5315
  CategoryEmumDto2["BUSINESS"] = "BUSINESS";
5292
5316
  CategoryEmumDto2["FREELANCER"] = "FREELANCER";
@@ -5311,7 +5335,7 @@ __decorateClass([
5311
5335
  IsString33({ message: "Description must be a string" })
5312
5336
  ], CreateLeadDto.prototype, "description", 2);
5313
5337
  __decorateClass([
5314
- IsEnum21(CategoryEmumDto, {
5338
+ IsEnum22(CategoryEmumDto, {
5315
5339
  message: `Type of category must be one of: ${Object.values(
5316
5340
  CategoryEmumDto
5317
5341
  ).join(", ")}`
@@ -5331,11 +5355,11 @@ var ADMIN_ROLE_PATTERN = {
5331
5355
  };
5332
5356
 
5333
5357
  // src/modules/admin-role/dto/create-admin-role.dto.ts
5334
- import { IsNotEmpty as IsNotEmpty52, IsOptional as IsOptional33, IsString as IsString34 } from "class-validator";
5358
+ import { IsNotEmpty as IsNotEmpty53, IsOptional as IsOptional33, IsString as IsString34 } from "class-validator";
5335
5359
  var CreateAdminRoleDto = class {
5336
5360
  };
5337
5361
  __decorateClass([
5338
- IsNotEmpty52({ message: "Please enter admin role name." }),
5362
+ IsNotEmpty53({ message: "Please enter admin role name." }),
5339
5363
  IsString34({ message: "Role name must be a string." })
5340
5364
  ], CreateAdminRoleDto.prototype, "roleName", 2);
5341
5365
  __decorateClass([
@@ -5344,11 +5368,11 @@ __decorateClass([
5344
5368
  ], CreateAdminRoleDto.prototype, "roleDescription", 2);
5345
5369
 
5346
5370
  // src/modules/admin-role/dto/update-admin-role.dto.ts
5347
- import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty53, IsOptional as IsOptional34, IsString as IsString35 } from "class-validator";
5371
+ import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty54, IsOptional as IsOptional34, IsString as IsString35 } from "class-validator";
5348
5372
  var UpdateAdminRoleDto = class {
5349
5373
  };
5350
5374
  __decorateClass([
5351
- IsNotEmpty53({ message: "Please enter admin role name." }),
5375
+ IsNotEmpty54({ message: "Please enter admin role name." }),
5352
5376
  IsString35({ message: "Role name must be a string." })
5353
5377
  ], UpdateAdminRoleDto.prototype, "roleName", 2);
5354
5378
  __decorateClass([
@@ -5361,15 +5385,15 @@ __decorateClass([
5361
5385
  ], UpdateAdminRoleDto.prototype, "isActive", 2);
5362
5386
 
5363
5387
  // src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
5364
- import { IsNotEmpty as IsNotEmpty54, IsString as IsString36 } from "class-validator";
5388
+ import { IsNotEmpty as IsNotEmpty55, IsString as IsString36 } from "class-validator";
5365
5389
  var AttachPermissionsToRoleDto = class {
5366
5390
  };
5367
5391
  __decorateClass([
5368
- IsNotEmpty54({ message: "Please enter admin role ID." }),
5392
+ IsNotEmpty55({ message: "Please enter admin role ID." }),
5369
5393
  IsString36({ message: "Role ID must be a string." })
5370
5394
  ], AttachPermissionsToRoleDto.prototype, "roleId", 2);
5371
5395
  __decorateClass([
5372
- IsNotEmpty54({ message: "Please enter permission IDs." }),
5396
+ IsNotEmpty55({ message: "Please enter permission IDs." }),
5373
5397
  IsString36({ message: "Permission IDs must be a comma-separated string." })
5374
5398
  ], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
5375
5399
 
@@ -5398,12 +5422,12 @@ var CALENDLY_PATTERN = {
5398
5422
  // src/modules/interview/dto/interview-invite.dto.ts
5399
5423
  import {
5400
5424
  IsString as IsString37,
5401
- IsNotEmpty as IsNotEmpty55,
5425
+ IsNotEmpty as IsNotEmpty56,
5402
5426
  IsArray as IsArray13,
5403
5427
  ArrayNotEmpty as ArrayNotEmpty8,
5404
5428
  IsEmail as IsEmail15,
5405
5429
  IsUUID as IsUUID12,
5406
- IsEnum as IsEnum22,
5430
+ IsEnum as IsEnum23,
5407
5431
  ValidateIf as ValidateIf7,
5408
5432
  ValidateNested as ValidateNested5
5409
5433
  } from "class-validator";
@@ -5421,21 +5445,21 @@ __decorateClass([
5421
5445
  IsUUID12()
5422
5446
  ], ExistingCandidateDto.prototype, "id", 2);
5423
5447
  __decorateClass([
5424
- IsEnum22(CandidateType, {
5448
+ IsEnum23(CandidateType, {
5425
5449
  message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
5426
5450
  })
5427
5451
  ], ExistingCandidateDto.prototype, "type", 2);
5428
5452
  var NewCandidateDto = class {
5429
5453
  };
5430
5454
  __decorateClass([
5431
- IsNotEmpty55({ message: "Please enter the candidate name" }),
5455
+ IsNotEmpty56({ message: "Please enter the candidate name" }),
5432
5456
  IsString37({ message: "Name must be a string" })
5433
5457
  ], NewCandidateDto.prototype, "name", 2);
5434
5458
  __decorateClass([
5435
5459
  IsEmail15({}, { message: "Please enter a valid email." })
5436
5460
  ], NewCandidateDto.prototype, "email", 2);
5437
5461
  __decorateClass([
5438
- IsEnum22(CandidateType, {
5462
+ IsEnum23(CandidateType, {
5439
5463
  message: "type must be NEW"
5440
5464
  })
5441
5465
  ], NewCandidateDto.prototype, "type", 2);
@@ -5468,7 +5492,7 @@ __decorateClass([
5468
5492
  // src/modules/interview/dto/create-f2f-interview.dto.ts
5469
5493
  import {
5470
5494
  IsString as IsString38,
5471
- IsNotEmpty as IsNotEmpty56,
5495
+ IsNotEmpty as IsNotEmpty57,
5472
5496
  IsEmail as IsEmail16,
5473
5497
  IsNumber as IsNumber7
5474
5498
  } from "class-validator";
@@ -5476,11 +5500,11 @@ var CreateF2FInterviewDto = class {
5476
5500
  };
5477
5501
  __decorateClass([
5478
5502
  IsEmail16({}, { message: "Please enter a valid email address." }),
5479
- IsNotEmpty56({ message: "Invitee email is required." })
5503
+ IsNotEmpty57({ message: "Invitee email is required." })
5480
5504
  ], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
5481
5505
  __decorateClass([
5482
5506
  IsString38({ message: "Invitee name must be a string." }),
5483
- IsNotEmpty56({ message: "Invitee name is required." })
5507
+ IsNotEmpty57({ message: "Invitee name is required." })
5484
5508
  ], CreateF2FInterviewDto.prototype, "inviteeName", 2);
5485
5509
  __decorateClass([
5486
5510
  IsNumber7({}, { message: "Interview ID must be a number." })
@@ -5492,19 +5516,19 @@ __decorateClass([
5492
5516
  // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
5493
5517
  import {
5494
5518
  IsString as IsString39,
5495
- IsNotEmpty as IsNotEmpty57
5519
+ IsNotEmpty as IsNotEmpty58
5496
5520
  } from "class-validator";
5497
5521
  var CreateF2FInterviewRescheduleRequestDto = class {
5498
5522
  };
5499
5523
  __decorateClass([
5500
- IsNotEmpty57({ message: "F2F Interview ID is required." })
5524
+ IsNotEmpty58({ message: "F2F Interview ID is required." })
5501
5525
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
5502
5526
  __decorateClass([
5503
- IsNotEmpty57({ message: "Rescheduled date is required." })
5527
+ IsNotEmpty58({ message: "Rescheduled date is required." })
5504
5528
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
5505
5529
  __decorateClass([
5506
5530
  IsString39({ message: "Rescheduled slot must be a string." }),
5507
- IsNotEmpty57({ message: "Rescheduled slot is required." })
5531
+ IsNotEmpty58({ message: "Rescheduled slot is required." })
5508
5532
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
5509
5533
  __decorateClass([
5510
5534
  IsString39({ message: "Freelancer reason must be a string." })
@@ -6414,6 +6438,8 @@ export {
6414
6438
  LEAD_PATTERN,
6415
6439
  Lead,
6416
6440
  LoginDto,
6441
+ LoginViaOtpDto,
6442
+ LoginViaOtpScopeEnum,
6417
6443
  LogoutDto,
6418
6444
  McqStatusEnum,
6419
6445
  ModeOfHire,