@experts_hub/shared 1.0.146 → 1.0.148

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
@@ -19,7 +19,8 @@ var AUTHENTICATION_PATTERN = {
19
19
  fetchSessions: "fetch.sessions",
20
20
  revokeSession: "revoke.session",
21
21
  handleForgotPassword: "handle.forgot.password",
22
- handleResetPassword: "handle.reset.password"
22
+ handleResetPassword: "handle.reset.password",
23
+ handleSetPassword: "handle.set.password"
23
24
  };
24
25
 
25
26
  // src/modules/authentication/dto/login.dto.ts
@@ -117,8 +118,30 @@ __decorateClass([
117
118
  })
118
119
  ], ResetPasswordDto.prototype, "scope", 2);
119
120
 
121
+ // src/modules/authentication/dto/set-password.dto.ts
122
+ import {
123
+ IsNotEmpty as IsNotEmpty6,
124
+ Matches as Matches2,
125
+ MaxLength as MaxLength2,
126
+ MinLength as MinLength2
127
+ } from "class-validator";
128
+ var SetPasswordDto = class {
129
+ };
130
+ __decorateClass([
131
+ IsNotEmpty6({ message: "Please enter token." })
132
+ ], SetPasswordDto.prototype, "token", 2);
133
+ __decorateClass([
134
+ IsNotEmpty6({ message: "Please enter password." }),
135
+ MinLength2(6),
136
+ MaxLength2(32),
137
+ Matches2(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
138
+ message: "Password must include letters, numbers and symbols."
139
+ })
140
+ ], SetPasswordDto.prototype, "password", 2);
141
+
120
142
  // src/modules/otp/pattern/pattern.ts
121
143
  var OTP_PATTERN = {
144
+ handleGuestSendOtp: "handle.guest.send.otp",
122
145
  handleSendOtp: "handle.send.otp",
123
146
  handleVerifyOtp: "handle.verify.otp"
124
147
  };
@@ -137,11 +160,11 @@ var ONBOARDING_PATTERN = {
137
160
 
138
161
  // src/modules/onboarding/dto/freelancer-create-account.dto.ts
139
162
  import {
140
- IsNotEmpty as IsNotEmpty6,
163
+ IsNotEmpty as IsNotEmpty7,
141
164
  IsEmail as IsEmail2,
142
- Matches as Matches2,
143
- MinLength as MinLength2,
144
- MaxLength as MaxLength2,
165
+ Matches as Matches3,
166
+ MinLength as MinLength3,
167
+ MaxLength as MaxLength3,
145
168
  IsString
146
169
  } from "class-validator";
147
170
 
@@ -195,55 +218,55 @@ IfscOrOtherFieldsConstraint = __decorateClass([
195
218
  var FreelancerCreateAccountDto = class {
196
219
  };
197
220
  __decorateClass([
198
- IsNotEmpty6({ message: "Please enter full name." }),
221
+ IsNotEmpty7({ message: "Please enter full name." }),
199
222
  IsString({ message: "Please enter valid full name." })
200
223
  ], FreelancerCreateAccountDto.prototype, "fullName", 2);
201
224
  __decorateClass([
202
- IsNotEmpty6({ message: "Please enter email." }),
225
+ IsNotEmpty7({ message: "Please enter email." }),
203
226
  IsEmail2()
204
227
  ], FreelancerCreateAccountDto.prototype, "email", 2);
205
228
  __decorateClass([
206
- IsNotEmpty6({ message: "Please enter mobile code." }),
207
- Matches2(/^\d+$/, { message: "Mobile code must be numeric" })
229
+ IsNotEmpty7({ message: "Please enter mobile code." }),
230
+ Matches3(/^\d+$/, { message: "Mobile code must be numeric" })
208
231
  ], FreelancerCreateAccountDto.prototype, "mobileCode", 2);
209
232
  __decorateClass([
210
- IsNotEmpty6({ message: "Please enter mobile number." }),
211
- Matches2(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
233
+ IsNotEmpty7({ message: "Please enter mobile number." }),
234
+ Matches3(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
212
235
  message: "Please enter a valid US mobile number"
213
236
  })
214
237
  ], FreelancerCreateAccountDto.prototype, "mobile", 2);
215
238
  __decorateClass([
216
- IsNotEmpty6({ message: "Please enter password." }),
217
- MinLength2(6),
218
- MaxLength2(32),
219
- Matches2(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
239
+ IsNotEmpty7({ message: "Please enter password." }),
240
+ MinLength3(6),
241
+ MaxLength3(32),
242
+ Matches3(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
220
243
  message: "Password must include letters, numbers and symbols."
221
244
  })
222
245
  ], FreelancerCreateAccountDto.prototype, "password", 2);
223
246
  __decorateClass([
224
- IsNotEmpty6({ message: "Please enter confirm password." }),
247
+ IsNotEmpty7({ message: "Please enter confirm password." }),
225
248
  Match("password", { message: "Passwords do not match" })
226
249
  ], FreelancerCreateAccountDto.prototype, "confirmPassword", 2);
227
250
 
228
251
  // src/modules/onboarding/dto/freelancer-upload-resume.dto.ts
229
- import { IsUUID, IsNotEmpty as IsNotEmpty7 } from "class-validator";
252
+ import { IsUUID, IsNotEmpty as IsNotEmpty8 } from "class-validator";
230
253
  var FreelancerUploadResumeDto = class {
231
254
  };
232
255
  __decorateClass([
233
- IsNotEmpty7({ message: "Please enter uuid." }),
256
+ IsNotEmpty8({ message: "Please enter uuid." }),
234
257
  IsUUID()
235
258
  ], FreelancerUploadResumeDto.prototype, "uuid", 2);
236
259
 
237
260
  // src/modules/onboarding/dto/freelancer-development-preference.dto.ts
238
- import { IsUUID as IsUUID2, IsNotEmpty as IsNotEmpty8, IsBoolean } from "class-validator";
261
+ import { IsUUID as IsUUID2, IsNotEmpty as IsNotEmpty9, IsBoolean } from "class-validator";
239
262
  var FreelancerDevelopmentPreferenceDto = class {
240
263
  };
241
264
  __decorateClass([
242
- IsNotEmpty8({ message: "Please enter uuid." }),
265
+ IsNotEmpty9({ message: "Please enter uuid." }),
243
266
  IsUUID2()
244
267
  ], FreelancerDevelopmentPreferenceDto.prototype, "uuid", 2);
245
268
  __decorateClass([
246
- IsNotEmpty8({ message: "Please select development flag." }),
269
+ IsNotEmpty9({ message: "Please select development flag." }),
247
270
  IsBoolean()
248
271
  ], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
249
272
 
@@ -251,17 +274,17 @@ __decorateClass([
251
274
  import {
252
275
  IsUUID as IsUUID3,
253
276
  IsString as IsString2,
254
- IsNotEmpty as IsNotEmpty9,
277
+ IsNotEmpty as IsNotEmpty10,
255
278
  IsIn
256
279
  } from "class-validator";
257
280
  var FreelancerProfileQuestionDto = class {
258
281
  };
259
282
  __decorateClass([
260
- IsNotEmpty9({ message: "Please enter uuid." }),
283
+ IsNotEmpty10({ message: "Please enter uuid." }),
261
284
  IsUUID3()
262
285
  ], FreelancerProfileQuestionDto.prototype, "uuid", 2);
263
286
  __decorateClass([
264
- IsNotEmpty9({ message: "Please enter question slug." }),
287
+ IsNotEmpty10({ message: "Please enter question slug." }),
265
288
  IsString2(),
266
289
  IsIn([
267
290
  "natureOfWork",
@@ -272,12 +295,12 @@ __decorateClass([
272
295
  ])
273
296
  ], FreelancerProfileQuestionDto.prototype, "question_slug", 2);
274
297
  __decorateClass([
275
- IsNotEmpty9({ message: "Please enter answer." })
298
+ IsNotEmpty10({ message: "Please enter answer." })
276
299
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
277
300
 
278
301
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
279
302
  import {
280
- IsNotEmpty as IsNotEmpty10,
303
+ IsNotEmpty as IsNotEmpty11,
281
304
  IsOptional,
282
305
  IsUrl,
283
306
  IsString as IsString3,
@@ -286,11 +309,11 @@ import {
286
309
  var FreelancerWorkShowcaseDto = class {
287
310
  };
288
311
  __decorateClass([
289
- IsNotEmpty10({ message: "Please enter uuid." }),
312
+ IsNotEmpty11({ message: "Please enter uuid." }),
290
313
  IsUUID4()
291
314
  ], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
292
315
  __decorateClass([
293
- IsNotEmpty10({ message: "Please enter likedin profile url." }),
316
+ IsNotEmpty11({ message: "Please enter likedin profile url." }),
294
317
  IsString3(),
295
318
  IsUrl({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
296
319
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
@@ -315,17 +338,17 @@ __decorateClass([
315
338
  import {
316
339
  IsUUID as IsUUID5,
317
340
  IsString as IsString4,
318
- IsNotEmpty as IsNotEmpty11,
341
+ IsNotEmpty as IsNotEmpty12,
319
342
  IsIn as IsIn2
320
343
  } from "class-validator";
321
344
  var ClientProfileQuestionDto = class {
322
345
  };
323
346
  __decorateClass([
324
- IsNotEmpty11({ message: "Please enter uuid." }),
347
+ IsNotEmpty12({ message: "Please enter uuid." }),
325
348
  IsUUID5()
326
349
  ], ClientProfileQuestionDto.prototype, "uuid", 2);
327
350
  __decorateClass([
328
- IsNotEmpty11({ message: "Please enter question slug." }),
351
+ IsNotEmpty12({ message: "Please enter question slug." }),
329
352
  IsString4(),
330
353
  IsIn2([
331
354
  "skills",
@@ -336,46 +359,46 @@ __decorateClass([
336
359
  ])
337
360
  ], ClientProfileQuestionDto.prototype, "question_slug", 2);
338
361
  __decorateClass([
339
- IsNotEmpty11({ message: "Please enter answer." })
362
+ IsNotEmpty12({ message: "Please enter answer." })
340
363
  ], ClientProfileQuestionDto.prototype, "answer", 2);
341
364
 
342
365
  // src/modules/onboarding/dto/client-create-account.dto.ts
343
366
  import {
344
- IsNotEmpty as IsNotEmpty12,
367
+ IsNotEmpty as IsNotEmpty13,
345
368
  IsEmail as IsEmail3,
346
- Matches as Matches3,
347
- MinLength as MinLength3,
348
- MaxLength as MaxLength3,
369
+ Matches as Matches4,
370
+ MinLength as MinLength4,
371
+ MaxLength as MaxLength4,
349
372
  IsString as IsString5
350
373
  } from "class-validator";
351
374
  var ClientCreateAccountDto = class {
352
375
  };
353
376
  __decorateClass([
354
- IsNotEmpty12({ message: "Please enter first name." }),
377
+ IsNotEmpty13({ message: "Please enter first name." }),
355
378
  IsString5({ message: "Please enter valid first name." })
356
379
  ], ClientCreateAccountDto.prototype, "firstName", 2);
357
380
  __decorateClass([
358
- IsNotEmpty12({ message: "Please enter last name." }),
381
+ IsNotEmpty13({ message: "Please enter last name." }),
359
382
  IsString5({ message: "Please enter valid last name." })
360
383
  ], ClientCreateAccountDto.prototype, "lastName", 2);
361
384
  __decorateClass([
362
- IsNotEmpty12({ message: "Please enter email." }),
385
+ IsNotEmpty13({ message: "Please enter email." }),
363
386
  IsEmail3()
364
387
  ], ClientCreateAccountDto.prototype, "email", 2);
365
388
  __decorateClass([
366
- IsNotEmpty12({ message: "Please enter company name." }),
389
+ IsNotEmpty13({ message: "Please enter company name." }),
367
390
  IsString5({ message: "Please enter valid company name." })
368
391
  ], ClientCreateAccountDto.prototype, "companyName", 2);
369
392
  __decorateClass([
370
- IsNotEmpty12({ message: "Please enter password." }),
371
- MinLength3(6),
372
- MaxLength3(32),
373
- Matches3(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
393
+ IsNotEmpty13({ message: "Please enter password." }),
394
+ MinLength4(6),
395
+ MaxLength4(32),
396
+ Matches4(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
374
397
  message: "Password must include letters, numbers and symbols."
375
398
  })
376
399
  ], ClientCreateAccountDto.prototype, "password", 2);
377
400
  __decorateClass([
378
- IsNotEmpty12({ message: "Please enter confirm password." }),
401
+ IsNotEmpty13({ message: "Please enter confirm password." }),
379
402
  Match("password", { message: "Passwords do not match" })
380
403
  ], ClientCreateAccountDto.prototype, "confirmPassword", 2);
381
404
 
@@ -398,36 +421,36 @@ var SUBADMIN_PATTERN = {
398
421
 
399
422
  // src/modules/user/subadmin/dto/create-subadmin.dto.ts
400
423
  import {
401
- IsNotEmpty as IsNotEmpty13
424
+ IsNotEmpty as IsNotEmpty14
402
425
  } from "class-validator";
403
426
  var CreateSubAdminDto = class {
404
427
  };
405
428
  __decorateClass([
406
- IsNotEmpty13({ message: "Please enter unique id." })
429
+ IsNotEmpty14({ message: "Please enter unique id." })
407
430
  ], CreateSubAdminDto.prototype, "uniqueId", 2);
408
431
  __decorateClass([
409
- IsNotEmpty13({ message: "Please enter username." })
432
+ IsNotEmpty14({ message: "Please enter username." })
410
433
  ], CreateSubAdminDto.prototype, "userName", 2);
411
434
  __decorateClass([
412
- IsNotEmpty13({ message: "Please enter first name." })
435
+ IsNotEmpty14({ message: "Please enter first name." })
413
436
  ], CreateSubAdminDto.prototype, "firstName", 2);
414
437
  __decorateClass([
415
- IsNotEmpty13({ message: "Please enter last name." })
438
+ IsNotEmpty14({ message: "Please enter last name." })
416
439
  ], CreateSubAdminDto.prototype, "lastName", 2);
417
440
  __decorateClass([
418
- IsNotEmpty13({ message: "Please enter email." })
441
+ IsNotEmpty14({ message: "Please enter email." })
419
442
  ], CreateSubAdminDto.prototype, "email", 2);
420
443
  __decorateClass([
421
- IsNotEmpty13({ message: "Please enter mobile number." })
444
+ IsNotEmpty14({ message: "Please enter mobile number." })
422
445
  ], CreateSubAdminDto.prototype, "mobile", 2);
423
446
  __decorateClass([
424
- IsNotEmpty13({ message: "Please enter the password." })
447
+ IsNotEmpty14({ message: "Please enter the password." })
425
448
  ], CreateSubAdminDto.prototype, "password", 2);
426
449
  __decorateClass([
427
- IsNotEmpty13({ message: "Please enter account type." })
450
+ IsNotEmpty14({ message: "Please enter account type." })
428
451
  ], CreateSubAdminDto.prototype, "accountType", 2);
429
452
  __decorateClass([
430
- IsNotEmpty13({ message: "Please enter account status." })
453
+ IsNotEmpty14({ message: "Please enter account status." })
431
454
  ], CreateSubAdminDto.prototype, "accountStatus", 2);
432
455
 
433
456
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
@@ -439,35 +462,35 @@ __decorateClass([
439
462
  ], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
440
463
 
441
464
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
442
- import { IsNotEmpty as IsNotEmpty14 } from "class-validator";
465
+ import { IsNotEmpty as IsNotEmpty15 } from "class-validator";
443
466
  var UpdateSubAdminDto = class {
444
467
  };
445
468
  __decorateClass([
446
- IsNotEmpty14({ message: "Please enter unique id." })
469
+ IsNotEmpty15({ message: "Please enter unique id." })
447
470
  ], UpdateSubAdminDto.prototype, "uniqueId", 2);
448
471
  __decorateClass([
449
- IsNotEmpty14({ message: "Please enter username." })
472
+ IsNotEmpty15({ message: "Please enter username." })
450
473
  ], UpdateSubAdminDto.prototype, "userName", 2);
451
474
  __decorateClass([
452
- IsNotEmpty14({ message: "Please enter first name." })
475
+ IsNotEmpty15({ message: "Please enter first name." })
453
476
  ], UpdateSubAdminDto.prototype, "firstName", 2);
454
477
  __decorateClass([
455
- IsNotEmpty14({ message: "Please enter last name." })
478
+ IsNotEmpty15({ message: "Please enter last name." })
456
479
  ], UpdateSubAdminDto.prototype, "lastName", 2);
457
480
  __decorateClass([
458
- IsNotEmpty14({ message: "Please enter email." })
481
+ IsNotEmpty15({ message: "Please enter email." })
459
482
  ], UpdateSubAdminDto.prototype, "email", 2);
460
483
  __decorateClass([
461
- IsNotEmpty14({ message: "Please enter mobile number." })
484
+ IsNotEmpty15({ message: "Please enter mobile number." })
462
485
  ], UpdateSubAdminDto.prototype, "mobile", 2);
463
486
  __decorateClass([
464
- IsNotEmpty14({ message: "Please enter the password." })
487
+ IsNotEmpty15({ message: "Please enter the password." })
465
488
  ], UpdateSubAdminDto.prototype, "password", 2);
466
489
  __decorateClass([
467
- IsNotEmpty14({ message: "Please enter account type." })
490
+ IsNotEmpty15({ message: "Please enter account type." })
468
491
  ], UpdateSubAdminDto.prototype, "accountType", 2);
469
492
  __decorateClass([
470
- IsNotEmpty14({ message: "Please enter account status." })
493
+ IsNotEmpty15({ message: "Please enter account status." })
471
494
  ], UpdateSubAdminDto.prototype, "accountStatus", 2);
472
495
 
473
496
  // src/modules/user/client-profile/pattern/pattern.ts
@@ -481,65 +504,65 @@ var CLIENT_PROFILE_PATTERN = {
481
504
  // src/modules/user/client-profile/dto/update-client-profile.dto.ts
482
505
  import {
483
506
  IsString as IsString8,
484
- IsNotEmpty as IsNotEmpty15,
507
+ IsNotEmpty as IsNotEmpty16,
485
508
  IsEmail as IsEmail5,
486
509
  Length,
487
510
  IsUrl as IsUrl2,
488
- Matches as Matches4
511
+ Matches as Matches5
489
512
  } from "class-validator";
490
513
  var UpdateCompanyProfileDto = class {
491
514
  };
492
515
  __decorateClass([
493
- IsNotEmpty15({ message: "Please enter company name." }),
516
+ IsNotEmpty16({ message: "Please enter company name." }),
494
517
  IsString8({ message: "Company name must be a string." }),
495
518
  Length(2, 255, {
496
519
  message: "Company name must be between 2 and 255 characters"
497
520
  })
498
521
  ], UpdateCompanyProfileDto.prototype, "companyName", 2);
499
522
  __decorateClass([
500
- IsNotEmpty15({ message: "Please enter company website url." }),
523
+ IsNotEmpty16({ message: "Please enter company website url." }),
501
524
  IsUrl2({}, { message: "Invalid website URL format" })
502
525
  ], UpdateCompanyProfileDto.prototype, "webSite", 2);
503
526
  __decorateClass([
504
- IsNotEmpty15({ message: "Please enter company address." }),
527
+ IsNotEmpty16({ message: "Please enter company address." }),
505
528
  IsString8({ message: "Company address must be a string" }),
506
529
  Length(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
507
530
  ], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
508
531
  __decorateClass([
509
- IsNotEmpty15({ message: "Please enter phone number." }),
510
- Matches4(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
532
+ IsNotEmpty16({ message: "Please enter phone number." }),
533
+ Matches5(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
511
534
  message: "Please enter a valid US phone number"
512
535
  })
513
536
  ], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
514
537
  __decorateClass([
515
- IsNotEmpty15({ message: "Please enter email." }),
538
+ IsNotEmpty16({ message: "Please enter email." }),
516
539
  IsEmail5()
517
540
  ], UpdateCompanyProfileDto.prototype, "email", 2);
518
541
  __decorateClass([
519
- IsNotEmpty15({ message: "Please enter something about company." }),
542
+ IsNotEmpty16({ message: "Please enter something about company." }),
520
543
  IsString8({ message: "About company must be a string." })
521
544
  ], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
522
545
 
523
546
  // src/modules/user/client-profile/dto/client-change-password.dto.ts
524
547
  import {
525
548
  IsString as IsString9,
526
- IsNotEmpty as IsNotEmpty16,
527
- MaxLength as MaxLength5,
528
- MinLength as MinLength5,
529
- Matches as Matches5
549
+ IsNotEmpty as IsNotEmpty17,
550
+ MaxLength as MaxLength6,
551
+ MinLength as MinLength6,
552
+ Matches as Matches6
530
553
  } from "class-validator";
531
554
  var ClientChangePasswordDto = class {
532
555
  };
533
556
  __decorateClass([
534
- IsNotEmpty16({ message: "Please enter Old Password." }),
557
+ IsNotEmpty17({ message: "Please enter Old Password." }),
535
558
  IsString9()
536
559
  ], ClientChangePasswordDto.prototype, "oldPassword", 2);
537
560
  __decorateClass([
538
- IsNotEmpty16({ message: "Please enter New Password." }),
561
+ IsNotEmpty17({ message: "Please enter New Password." }),
539
562
  IsString9(),
540
- MinLength5(6),
541
- MaxLength5(32),
542
- Matches5(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
563
+ MinLength6(6),
564
+ MaxLength6(32),
565
+ Matches6(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
543
566
  message: "New Password must include letters, numbers and symbols."
544
567
  })
545
568
  ], ClientChangePasswordDto.prototype, "newPassword", 2);
@@ -551,23 +574,23 @@ var QUESTION_PATTERN = {
551
574
 
552
575
  // src/modules/question/dto/create-question.dto.ts
553
576
  import {
554
- IsNotEmpty as IsNotEmpty17,
577
+ IsNotEmpty as IsNotEmpty18,
555
578
  IsOptional as IsOptional4,
556
579
  IsBoolean as IsBoolean4
557
580
  } from "class-validator";
558
581
  var CreateQuestionDto = class {
559
582
  };
560
583
  __decorateClass([
561
- IsNotEmpty17({ message: "Please enter unique id." })
584
+ IsNotEmpty18({ message: "Please enter unique id." })
562
585
  ], CreateQuestionDto.prototype, "questionId", 2);
563
586
  __decorateClass([
564
- IsNotEmpty17({ message: "Please enter question." })
587
+ IsNotEmpty18({ message: "Please enter question." })
565
588
  ], CreateQuestionDto.prototype, "question", 2);
566
589
  __decorateClass([
567
- IsNotEmpty17({ message: "Please enter for whom the question is." })
590
+ IsNotEmpty18({ message: "Please enter for whom the question is." })
568
591
  ], CreateQuestionDto.prototype, "questionFor", 2);
569
592
  __decorateClass([
570
- IsNotEmpty17({ message: "Please enter options." })
593
+ IsNotEmpty18({ message: "Please enter options." })
571
594
  ], CreateQuestionDto.prototype, "options", 2);
572
595
  __decorateClass([
573
596
  IsOptional4(),
@@ -598,12 +621,12 @@ var JOB_PATTERN = {
598
621
  // src/modules/job/dto/job-basic-information.dto.ts
599
622
  import {
600
623
  IsString as IsString10,
601
- IsNotEmpty as IsNotEmpty18,
624
+ IsNotEmpty as IsNotEmpty19,
602
625
  IsArray,
603
626
  ArrayNotEmpty,
604
627
  IsNumber,
605
628
  IsOptional as IsOptional5,
606
- IsEnum as IsEnum4,
629
+ IsEnum as IsEnum5,
607
630
  Min
608
631
  } from "class-validator";
609
632
  import { Type } from "class-transformer";
@@ -622,7 +645,7 @@ var EmploymentType = /* @__PURE__ */ ((EmploymentType2) => {
622
645
  var JobBasicInformationDto = class {
623
646
  };
624
647
  __decorateClass([
625
- IsNotEmpty18({ message: "Please enter job role" }),
648
+ IsNotEmpty19({ message: "Please enter job role" }),
626
649
  IsString10({ message: "Job role must be a string" })
627
650
  ], JobBasicInformationDto.prototype, "jobRole", 2);
628
651
  __decorateClass([
@@ -641,14 +664,14 @@ __decorateClass([
641
664
  Type(() => Number)
642
665
  ], JobBasicInformationDto.prototype, "openings", 2);
643
666
  __decorateClass([
644
- IsEnum4(JobLocation, {
667
+ IsEnum5(JobLocation, {
645
668
  message: `Location must be one of: ${Object.values(JobLocation).join(
646
669
  ", "
647
670
  )}`
648
671
  })
649
672
  ], JobBasicInformationDto.prototype, "location", 2);
650
673
  __decorateClass([
651
- IsEnum4(EmploymentType, {
674
+ IsEnum5(EmploymentType, {
652
675
  message: `Type of employment must be one of: ${Object.values(
653
676
  EmploymentType
654
677
  ).join(", ")}`
@@ -674,27 +697,27 @@ __decorateClass([
674
697
  ], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
675
698
 
676
699
  // src/modules/job/dto/job-additional-comment.dto.ts
677
- import { IsOptional as IsOptional6, IsString as IsString11, MaxLength as MaxLength6 } from "class-validator";
700
+ import { IsOptional as IsOptional6, IsString as IsString11, MaxLength as MaxLength7 } from "class-validator";
678
701
  var JobAdditionalCommentDto = class {
679
702
  };
680
703
  __decorateClass([
681
704
  IsOptional6(),
682
705
  IsString11({ message: "Additional comment must be a string" }),
683
- MaxLength6(500, { message: "Additional comment must not exceed 500 characters" })
706
+ MaxLength7(500, { message: "Additional comment must not exceed 500 characters" })
684
707
  ], JobAdditionalCommentDto.prototype, "additionalComment", 2);
685
708
 
686
709
  // src/modules/job/dto/job-description.dto.ts
687
- import { IsString as IsString12, IsNotEmpty as IsNotEmpty19, MaxLength as MaxLength7 } from "class-validator";
710
+ import { IsString as IsString12, IsNotEmpty as IsNotEmpty20, MaxLength as MaxLength8 } from "class-validator";
688
711
  var JobDescriptionDto = class {
689
712
  };
690
713
  __decorateClass([
691
- IsNotEmpty19({ message: "Please enter job description" }),
714
+ IsNotEmpty20({ message: "Please enter job description" }),
692
715
  IsString12({ message: "Description must be a string" }),
693
- MaxLength7(5e3, { message: "Description must not exceed 5000 characters" })
716
+ MaxLength8(5e3, { message: "Description must not exceed 5000 characters" })
694
717
  ], JobDescriptionDto.prototype, "description", 2);
695
718
 
696
719
  // src/modules/job/dto/job-status.dto.ts
697
- import { IsEnum as IsEnum5, IsNotEmpty as IsNotEmpty20 } from "class-validator";
720
+ import { IsEnum as IsEnum6, IsNotEmpty as IsNotEmpty21 } from "class-validator";
698
721
  var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
699
722
  JobStatus2["ACTIVE"] = "ACTIVE";
700
723
  JobStatus2["OPEN"] = "OPEN";
@@ -706,8 +729,8 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
706
729
  var JobStatusDto = class {
707
730
  };
708
731
  __decorateClass([
709
- IsNotEmpty20({ message: "Please provide a job status" }),
710
- IsEnum5(JobStatus, {
732
+ IsNotEmpty21({ message: "Please provide a job status" }),
733
+ IsEnum6(JobStatus, {
711
734
  message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
712
735
  })
713
736
  ], JobStatusDto.prototype, "status", 2);
@@ -733,29 +756,29 @@ var PROFILE_PATTERN = {
733
756
  // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
734
757
  import {
735
758
  IsString as IsString13,
736
- IsNotEmpty as IsNotEmpty21,
737
- MaxLength as MaxLength8,
738
- MinLength as MinLength6,
739
- Matches as Matches6
759
+ IsNotEmpty as IsNotEmpty22,
760
+ MaxLength as MaxLength9,
761
+ MinLength as MinLength7,
762
+ Matches as Matches7
740
763
  } from "class-validator";
741
764
  var FreelancerChangePasswordDto = class {
742
765
  };
743
766
  __decorateClass([
744
- IsNotEmpty21({ message: "Please enter Old Password." }),
767
+ IsNotEmpty22({ message: "Please enter Old Password." }),
745
768
  IsString13()
746
769
  ], FreelancerChangePasswordDto.prototype, "oldPassword", 2);
747
770
  __decorateClass([
748
- IsNotEmpty21({ message: "Please enter New Password." }),
771
+ IsNotEmpty22({ message: "Please enter New Password." }),
749
772
  IsString13(),
750
- MinLength6(6),
751
- MaxLength8(32),
752
- Matches6(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
773
+ MinLength7(6),
774
+ MaxLength9(32),
775
+ Matches7(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
753
776
  message: "New Password must include letters, numbers and symbols."
754
777
  })
755
778
  ], FreelancerChangePasswordDto.prototype, "newPassword", 2);
756
779
 
757
780
  // src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
758
- import { IsOptional as IsOptional7, IsString as IsString14, IsEmail as IsEmail6, IsNumber as IsNumber2, IsEnum as IsEnum6 } from "class-validator";
781
+ import { IsOptional as IsOptional7, IsString as IsString14, IsEmail as IsEmail6, IsNumber as IsNumber2, IsEnum as IsEnum7 } from "class-validator";
759
782
  var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
760
783
  NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
761
784
  NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
@@ -794,7 +817,7 @@ __decorateClass([
794
817
  ], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
795
818
  __decorateClass([
796
819
  IsOptional7(),
797
- IsEnum6(NatureOfWorkDto, {
820
+ IsEnum7(NatureOfWorkDto, {
798
821
  message: `Engagement Type must be one of: ${Object.values(NatureOfWorkDto).join(", ")}`
799
822
  })
800
823
  ], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
@@ -836,8 +859,8 @@ var BANK_PATTERN = {
836
859
 
837
860
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
838
861
  import {
839
- IsEnum as IsEnum7,
840
- IsNotEmpty as IsNotEmpty22,
862
+ IsEnum as IsEnum8,
863
+ IsNotEmpty as IsNotEmpty23,
841
864
  IsOptional as IsOptional8,
842
865
  ValidateIf
843
866
  } from "class-validator";
@@ -849,47 +872,47 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
849
872
  var FreelancerBankDetailsDto = class {
850
873
  };
851
874
  __decorateClass([
852
- IsNotEmpty22({ message: "Please enter Account Holder Name." })
875
+ IsNotEmpty23({ message: "Please enter Account Holder Name." })
853
876
  ], FreelancerBankDetailsDto.prototype, "name", 2);
854
877
  __decorateClass([
855
- IsNotEmpty22({ message: "Please enter Mobile Number." })
878
+ IsNotEmpty23({ message: "Please enter Mobile Number." })
856
879
  ], FreelancerBankDetailsDto.prototype, "mobile", 2);
857
880
  __decorateClass([
858
- IsNotEmpty22({ message: "Please enter Email." })
881
+ IsNotEmpty23({ message: "Please enter Email." })
859
882
  ], FreelancerBankDetailsDto.prototype, "email", 2);
860
883
  __decorateClass([
861
884
  IsOptional8()
862
885
  ], FreelancerBankDetailsDto.prototype, "address", 2);
863
886
  __decorateClass([
864
- IsNotEmpty22({ message: "Please enter Account Number." })
887
+ IsNotEmpty23({ message: "Please enter Account Number." })
865
888
  ], FreelancerBankDetailsDto.prototype, "accountNumber", 2);
866
889
  __decorateClass([
867
- IsNotEmpty22({ message: "Please enter Bank Name." })
890
+ IsNotEmpty23({ message: "Please enter Bank Name." })
868
891
  ], FreelancerBankDetailsDto.prototype, "bankName", 2);
869
892
  __decorateClass([
870
- IsNotEmpty22({ message: "Please enter Branch Name." })
893
+ IsNotEmpty23({ message: "Please enter Branch Name." })
871
894
  ], FreelancerBankDetailsDto.prototype, "branchName", 2);
872
895
  __decorateClass([
873
896
  ValidateIf((dto) => dto.accountScope === "DOMESTIC"),
874
- IsNotEmpty22({ message: "IFSC Code is required for DOMESTIC accounts." })
897
+ IsNotEmpty23({ message: "IFSC Code is required for DOMESTIC accounts." })
875
898
  ], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
876
899
  __decorateClass([
877
900
  ValidateIf((dto) => dto.accountScope === "INTERNATIONAL"),
878
- IsNotEmpty22({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
901
+ IsNotEmpty23({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
879
902
  ], FreelancerBankDetailsDto.prototype, "routingNo", 2);
880
903
  __decorateClass([
881
904
  ValidateIf((dto) => dto.accountScope === "INTERNATIONAL"),
882
- IsNotEmpty22({ message: "ABA Number is required for INTERNATIONAL accounts." })
905
+ IsNotEmpty23({ message: "ABA Number is required for INTERNATIONAL accounts." })
883
906
  ], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
884
907
  __decorateClass([
885
908
  ValidateIf((dto) => dto.accountScope === "INTERNATIONAL"),
886
- IsNotEmpty22({ message: "IBAN is required for INTERNATIONAL accounts." })
909
+ IsNotEmpty23({ message: "IBAN is required for INTERNATIONAL accounts." })
887
910
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
888
911
  __decorateClass([
889
912
  IsOptional8()
890
913
  ], FreelancerBankDetailsDto.prototype, "accountType", 2);
891
914
  __decorateClass([
892
- IsEnum7(BankAccountScope, {
915
+ IsEnum8(BankAccountScope, {
893
916
  message: `Type of Account Scope must be one of: ${Object.values(
894
917
  BankAccountScope
895
918
  ).join(", ")}`
@@ -911,7 +934,7 @@ var SYSTEM_PREFERENCES_PATTERN = {
911
934
  // src/modules/system-preference/dto/system-preference.dto.ts
912
935
  import {
913
936
  IsBoolean as IsBoolean5,
914
- IsEnum as IsEnum8
937
+ IsEnum as IsEnum9
915
938
  } from "class-validator";
916
939
  var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
917
940
  SystemPreferenceKey2["EMAIL_NOTIFICATION"] = "EMAIL_NOTIFICATION";
@@ -924,7 +947,7 @@ __decorateClass([
924
947
  IsBoolean5()
925
948
  ], SystemPreferenceDto.prototype, "value", 2);
926
949
  __decorateClass([
927
- IsEnum8(SystemPreferenceKey, {
950
+ IsEnum9(SystemPreferenceKey, {
928
951
  message: `key must be one of: ${Object.values(
929
952
  SystemPreferenceKey
930
953
  ).join(", ")}`
@@ -945,9 +968,9 @@ var RATING_PATTERN = {
945
968
 
946
969
  // src/modules/rating/dto/add.rating.dto.ts
947
970
  import {
948
- IsEnum as IsEnum9,
971
+ IsEnum as IsEnum10,
949
972
  IsInt,
950
- IsNotEmpty as IsNotEmpty23,
973
+ IsNotEmpty as IsNotEmpty24,
951
974
  IsOptional as IsOptional9,
952
975
  IsString as IsString15,
953
976
  Max,
@@ -2085,7 +2108,7 @@ __decorateClass([
2085
2108
  ], FreelancerCaseStudy.prototype, "projectName", 2);
2086
2109
  __decorateClass([
2087
2110
  Column19({ name: "case_study_link", type: "varchar", nullable: true })
2088
- ], FreelancerCaseStudy.prototype, "CaseStudyLink", 2);
2111
+ ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
2089
2112
  __decorateClass([
2090
2113
  Column19({ name: "description", type: "varchar", nullable: true })
2091
2114
  ], FreelancerCaseStudy.prototype, "description", 2);
@@ -2335,10 +2358,10 @@ var CreateRatingDto = class {
2335
2358
  };
2336
2359
  __decorateClass([
2337
2360
  IsInt({ message: "Reviewee ID must be a valid integer" }),
2338
- IsNotEmpty23({ message: "Reviewee ID is required" })
2361
+ IsNotEmpty24({ message: "Reviewee ID is required" })
2339
2362
  ], CreateRatingDto.prototype, "revieweeId", 2);
2340
2363
  __decorateClass([
2341
- IsEnum9(RatingTypeEnum, {
2364
+ IsEnum10(RatingTypeEnum, {
2342
2365
  message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
2343
2366
  })
2344
2367
  ], CreateRatingDto.prototype, "ratingType", 2);
@@ -2365,17 +2388,17 @@ var COMPANY_ROLES_PATTERNS = {
2365
2388
  };
2366
2389
 
2367
2390
  // src/modules/company-role/dto/create-company-role.dto.ts
2368
- import { IsBoolean as IsBoolean6, IsNotEmpty as IsNotEmpty24, IsOptional as IsOptional10 } from "class-validator";
2391
+ import { IsBoolean as IsBoolean6, IsNotEmpty as IsNotEmpty25, IsOptional as IsOptional10 } from "class-validator";
2369
2392
  var CreateCompanyRoleDto = class {
2370
2393
  };
2371
2394
  __decorateClass([
2372
- IsNotEmpty24({ message: "Please enter company role name." })
2395
+ IsNotEmpty25({ message: "Please enter company role name." })
2373
2396
  ], CreateCompanyRoleDto.prototype, "name", 2);
2374
2397
  __decorateClass([
2375
- IsNotEmpty24({ message: "Please enter company role slug" })
2398
+ IsNotEmpty25({ message: "Please enter company role slug" })
2376
2399
  ], CreateCompanyRoleDto.prototype, "slug", 2);
2377
2400
  __decorateClass([
2378
- IsNotEmpty24({ message: "Please enter description" })
2401
+ IsNotEmpty25({ message: "Please enter description" })
2379
2402
  ], CreateCompanyRoleDto.prototype, "description", 2);
2380
2403
  __decorateClass([
2381
2404
  IsOptional10(),
@@ -2383,17 +2406,17 @@ __decorateClass([
2383
2406
  ], CreateCompanyRoleDto.prototype, "isActive", 2);
2384
2407
 
2385
2408
  // src/modules/company-role/dto/update-company-role.dto.ts
2386
- import { IsBoolean as IsBoolean7, IsNotEmpty as IsNotEmpty25, IsOptional as IsOptional11 } from "class-validator";
2409
+ import { IsBoolean as IsBoolean7, IsNotEmpty as IsNotEmpty26, IsOptional as IsOptional11 } from "class-validator";
2387
2410
  var UpdateCompanyRoleDto = class {
2388
2411
  };
2389
2412
  __decorateClass([
2390
- IsNotEmpty25({ message: "Please enter company name." })
2413
+ IsNotEmpty26({ message: "Please enter company name." })
2391
2414
  ], UpdateCompanyRoleDto.prototype, "name", 2);
2392
2415
  __decorateClass([
2393
- IsNotEmpty25({ message: "Please enter slug" })
2416
+ IsNotEmpty26({ message: "Please enter slug" })
2394
2417
  ], UpdateCompanyRoleDto.prototype, "slug", 2);
2395
2418
  __decorateClass([
2396
- IsNotEmpty25({ message: "Please enter description" })
2419
+ IsNotEmpty26({ message: "Please enter description" })
2397
2420
  ], UpdateCompanyRoleDto.prototype, "description", 2);
2398
2421
  __decorateClass([
2399
2422
  IsOptional11(),
@@ -2416,21 +2439,21 @@ var FREELANCER_EXPERIENCE_PATTERN = {
2416
2439
  };
2417
2440
 
2418
2441
  // src/modules/user/freelancer-experience/dto/create-freelancer-experience.dto.ts
2419
- import { IsArray as IsArray2, ValidateNested, IsString as IsString18, IsNotEmpty as IsNotEmpty26 } from "class-validator";
2442
+ import { IsArray as IsArray2, ValidateNested, IsString as IsString18, IsNotEmpty as IsNotEmpty27 } from "class-validator";
2420
2443
  import { Type as Type2 } from "class-transformer";
2421
2444
  var CreateExperienceDto = class {
2422
2445
  };
2423
2446
  __decorateClass([
2424
2447
  IsString18(),
2425
- IsNotEmpty26()
2448
+ IsNotEmpty27()
2426
2449
  ], CreateExperienceDto.prototype, "companyName", 2);
2427
2450
  __decorateClass([
2428
2451
  IsString18(),
2429
- IsNotEmpty26()
2452
+ IsNotEmpty27()
2430
2453
  ], CreateExperienceDto.prototype, "designation", 2);
2431
2454
  __decorateClass([
2432
2455
  IsString18(),
2433
- IsNotEmpty26()
2456
+ IsNotEmpty27()
2434
2457
  ], CreateExperienceDto.prototype, "jobDuration", 2);
2435
2458
  __decorateClass([
2436
2459
  IsString18()
@@ -2444,7 +2467,7 @@ __decorateClass([
2444
2467
  ], CreateFreelancerExperienceDto.prototype, "experience", 2);
2445
2468
 
2446
2469
  // src/modules/user/freelancer-experience/dto/update-freelancer-experience.dto.ts
2447
- import { IsArray as IsArray3, ValidateNested as ValidateNested2, IsString as IsString19, IsNotEmpty as IsNotEmpty27, IsOptional as IsOptional12 } from "class-validator";
2470
+ import { IsArray as IsArray3, ValidateNested as ValidateNested2, IsString as IsString19, IsNotEmpty as IsNotEmpty28, IsOptional as IsOptional12 } from "class-validator";
2448
2471
  import { Type as Type3 } from "class-transformer";
2449
2472
  var UpdateExperienceDto = class {
2450
2473
  };
@@ -2452,15 +2475,15 @@ __decorateClass([
2452
2475
  IsOptional12()
2453
2476
  ], UpdateExperienceDto.prototype, "uuid", 2);
2454
2477
  __decorateClass([
2455
- IsNotEmpty27(),
2478
+ IsNotEmpty28(),
2456
2479
  IsString19()
2457
2480
  ], UpdateExperienceDto.prototype, "companyName", 2);
2458
2481
  __decorateClass([
2459
- IsNotEmpty27(),
2482
+ IsNotEmpty28(),
2460
2483
  IsString19()
2461
2484
  ], UpdateExperienceDto.prototype, "designation", 2);
2462
2485
  __decorateClass([
2463
- IsNotEmpty27(),
2486
+ IsNotEmpty28(),
2464
2487
  IsString19()
2465
2488
  ], UpdateExperienceDto.prototype, "jobDuration", 2);
2466
2489
  __decorateClass([
@@ -2487,25 +2510,27 @@ var COMPANY_MEMBERS_PATTERNS = {
2487
2510
  };
2488
2511
 
2489
2512
  // src/modules/company-member/dto/create-company-member.dto.ts
2490
- import { IsNotEmpty as IsNotEmpty28 } from "class-validator";
2513
+ import { IsNotEmpty as IsNotEmpty29 } from "class-validator";
2491
2514
  var CreateCompanyMemberDto = class {
2515
+ // @IsNotEmpty({ message: 'Please enter company role id' })
2516
+ // companyRoleId: number;
2492
2517
  };
2493
2518
  __decorateClass([
2494
- IsNotEmpty28({ message: "Please enter name." })
2519
+ IsNotEmpty29({ message: "Please enter name." })
2495
2520
  ], CreateCompanyMemberDto.prototype, "name", 2);
2496
2521
  __decorateClass([
2497
- IsNotEmpty28({ message: "Please enter email" })
2522
+ IsNotEmpty29({ message: "Please enter email" })
2498
2523
  ], CreateCompanyMemberDto.prototype, "email", 2);
2499
2524
 
2500
2525
  // src/modules/company-member/dto/update-company-member.dto.ts
2501
- import { IsNotEmpty as IsNotEmpty29 } from "class-validator";
2526
+ import { IsNotEmpty as IsNotEmpty30 } from "class-validator";
2502
2527
  var UpdateCompanyMemberDto = class {
2503
2528
  };
2504
2529
  __decorateClass([
2505
- IsNotEmpty29({ message: "Please enter name." })
2530
+ IsNotEmpty30({ message: "Please enter name." })
2506
2531
  ], UpdateCompanyMemberDto.prototype, "name", 2);
2507
2532
  __decorateClass([
2508
- IsNotEmpty29({ message: "Please enter email" })
2533
+ IsNotEmpty30({ message: "Please enter email" })
2509
2534
  ], UpdateCompanyMemberDto.prototype, "email", 2);
2510
2535
 
2511
2536
  // src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
@@ -2524,21 +2549,21 @@ var FREELANCER_EDUCATION_PATTERN = {
2524
2549
  };
2525
2550
 
2526
2551
  // src/modules/user/freelancer-education/dto/create-freelancer-education.dto.ts
2527
- import { IsArray as IsArray4, ValidateNested as ValidateNested3, IsString as IsString22, IsNotEmpty as IsNotEmpty30 } from "class-validator";
2552
+ import { IsArray as IsArray4, ValidateNested as ValidateNested3, IsString as IsString22, IsNotEmpty as IsNotEmpty31 } from "class-validator";
2528
2553
  import { Type as Type4 } from "class-transformer";
2529
2554
  var CreateEducationDto = class {
2530
2555
  };
2531
2556
  __decorateClass([
2532
2557
  IsString22(),
2533
- IsNotEmpty30()
2558
+ IsNotEmpty31()
2534
2559
  ], CreateEducationDto.prototype, "degree", 2);
2535
2560
  __decorateClass([
2536
2561
  IsString22(),
2537
- IsNotEmpty30()
2562
+ IsNotEmpty31()
2538
2563
  ], CreateEducationDto.prototype, "university", 2);
2539
2564
  __decorateClass([
2540
2565
  IsString22(),
2541
- IsNotEmpty30()
2566
+ IsNotEmpty31()
2542
2567
  ], CreateEducationDto.prototype, "yearOfGraduation", 2);
2543
2568
  var CreateFreelancerEducationDto = class {
2544
2569
  };
@@ -2549,7 +2574,7 @@ __decorateClass([
2549
2574
  ], CreateFreelancerEducationDto.prototype, "education", 2);
2550
2575
 
2551
2576
  // src/modules/user/freelancer-education/dto/update-freelancer-education.dto.ts
2552
- import { IsArray as IsArray5, ValidateNested as ValidateNested4, IsString as IsString23, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional15 } from "class-validator";
2577
+ import { IsArray as IsArray5, ValidateNested as ValidateNested4, IsString as IsString23, IsNotEmpty as IsNotEmpty32, IsOptional as IsOptional15 } from "class-validator";
2553
2578
  import { Type as Type5 } from "class-transformer";
2554
2579
  var UpdateEducationDto = class {
2555
2580
  };
@@ -2558,15 +2583,15 @@ __decorateClass([
2558
2583
  ], UpdateEducationDto.prototype, "uuid", 2);
2559
2584
  __decorateClass([
2560
2585
  IsString23(),
2561
- IsNotEmpty31()
2586
+ IsNotEmpty32()
2562
2587
  ], UpdateEducationDto.prototype, "degree", 2);
2563
2588
  __decorateClass([
2564
2589
  IsString23(),
2565
- IsNotEmpty31()
2590
+ IsNotEmpty32()
2566
2591
  ], UpdateEducationDto.prototype, "university", 2);
2567
2592
  __decorateClass([
2568
2593
  IsString23(),
2569
- IsNotEmpty31()
2594
+ IsNotEmpty32()
2570
2595
  ], UpdateEducationDto.prototype, "yearOfGraduation", 2);
2571
2596
  var UpdateFreelancerEducationDto = class {
2572
2597
  };
@@ -2579,80 +2604,70 @@ __decorateClass([
2579
2604
  // src/modules/user/freelancer-project/pattern/pattern.ts
2580
2605
  var FREELANCER_PROJECT_PATTERN = {
2581
2606
  fetchFreelancerProject: "fetch.freelancer.project",
2582
- updateFreelancerProject: "update.freelancer.project"
2583
- };
2584
- var FREELANCER_CASESTUDY_PATTERN = {
2585
- fetchFreelancerCaseStudy: "fetch.freelancer.casestudy",
2586
- updateFreelancerCaseStudy: "update.freelancer.casestudy"
2607
+ createFreelancerProject: "create.freelancer.project"
2587
2608
  };
2588
2609
 
2589
2610
  // src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
2590
- import { IsArray as IsArray6, ValidateNested as ValidateNested5, IsString as IsString24, IsNotEmpty as IsNotEmpty32, IsOptional as IsOptional16 } from "class-validator";
2611
+ import { IsArray as IsArray6, ValidateNested as ValidateNested5, IsString as IsString24, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional16, IsDateString } from "class-validator";
2591
2612
  import { Type as Type6 } from "class-transformer";
2592
- var UpdateProjectDto = class {
2613
+ var CreateProjectDto = class {
2593
2614
  };
2594
2615
  __decorateClass([
2595
2616
  IsOptional16()
2596
- ], UpdateProjectDto.prototype, "uuid", 2);
2617
+ ], CreateProjectDto.prototype, "uuid", 2);
2597
2618
  __decorateClass([
2598
2619
  IsString24(),
2599
- IsNotEmpty32()
2600
- ], UpdateProjectDto.prototype, "projectName", 2);
2620
+ IsNotEmpty33()
2621
+ ], CreateProjectDto.prototype, "projectName", 2);
2601
2622
  __decorateClass([
2602
- IsString24(),
2603
- IsNotEmpty32()
2604
- ], UpdateProjectDto.prototype, "startDate", 2);
2623
+ IsDateString(),
2624
+ IsNotEmpty33()
2625
+ ], CreateProjectDto.prototype, "startDate", 2);
2605
2626
  __decorateClass([
2606
- IsString24(),
2607
- IsNotEmpty32()
2608
- ], UpdateProjectDto.prototype, "endDate", 2);
2627
+ IsDateString(),
2628
+ IsNotEmpty33()
2629
+ ], CreateProjectDto.prototype, "endDate", 2);
2609
2630
  __decorateClass([
2610
2631
  IsOptional16(),
2611
2632
  IsString24()
2612
- ], UpdateProjectDto.prototype, "clientName", 2);
2633
+ ], CreateProjectDto.prototype, "clientName", 2);
2613
2634
  __decorateClass([
2614
2635
  IsOptional16(),
2615
2636
  IsString24()
2616
- ], UpdateProjectDto.prototype, "gitLink", 2);
2637
+ ], CreateProjectDto.prototype, "gitLink", 2);
2617
2638
  __decorateClass([
2618
2639
  IsOptional16(),
2619
2640
  IsString24()
2620
- ], UpdateProjectDto.prototype, "description", 2);
2621
- var UpdateFreelancerProjectDto = class {
2641
+ ], CreateProjectDto.prototype, "description", 2);
2642
+ var CreateCaseStudyDto = class {
2622
2643
  };
2623
2644
  __decorateClass([
2624
- IsArray6(),
2625
- ValidateNested5({ each: true }),
2626
- Type6(() => UpdateProjectDto)
2627
- ], UpdateFreelancerProjectDto.prototype, "project", 2);
2628
-
2629
- // src/modules/user/freelancer-project/dto/update-freelancer-casestudy.dto.ts
2630
- import { IsArray as IsArray7, ValidateNested as ValidateNested6, IsString as IsString25, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional17 } from "class-validator";
2631
- import { Type as Type7 } from "class-transformer";
2632
- var UpdateCaseStudyDto = class {
2633
- };
2634
- __decorateClass([
2635
- IsOptional17()
2636
- ], UpdateCaseStudyDto.prototype, "uuid", 2);
2645
+ IsOptional16()
2646
+ ], CreateCaseStudyDto.prototype, "uuid", 2);
2637
2647
  __decorateClass([
2638
- IsString25(),
2648
+ IsString24(),
2639
2649
  IsNotEmpty33()
2640
- ], UpdateCaseStudyDto.prototype, "projectName", 2);
2650
+ ], CreateCaseStudyDto.prototype, "projectName", 2);
2641
2651
  __decorateClass([
2642
- IsString25(),
2652
+ IsString24(),
2643
2653
  IsNotEmpty33()
2644
- ], UpdateCaseStudyDto.prototype, "CaseStudyLink", 2);
2654
+ ], CreateCaseStudyDto.prototype, "caseStudyLink", 2);
2645
2655
  __decorateClass([
2646
- IsOptional17(),
2647
- IsString25()
2648
- ], UpdateCaseStudyDto.prototype, "description", 2);
2649
- var UpdateFreelancerCaseStudyDto = class {
2656
+ IsOptional16(),
2657
+ IsString24()
2658
+ ], CreateCaseStudyDto.prototype, "description", 2);
2659
+ var CreateFreelancerProjectDto = class {
2650
2660
  };
2651
2661
  __decorateClass([
2652
- IsArray7(),
2653
- ValidateNested6({ each: true }),
2654
- Type7(() => UpdateCaseStudyDto)
2655
- ], UpdateFreelancerCaseStudyDto.prototype, "casestudy", 2);
2662
+ IsArray6(),
2663
+ ValidateNested5({ each: true }),
2664
+ Type6(() => CreateProjectDto)
2665
+ ], CreateFreelancerProjectDto.prototype, "project", 2);
2666
+ __decorateClass([
2667
+ IsArray6(),
2668
+ ValidateNested5({ each: true }),
2669
+ Type6(() => CreateCaseStudyDto)
2670
+ ], CreateFreelancerProjectDto.prototype, "casestudy", 2);
2656
2671
 
2657
2672
  // src/adapters/tcp/user.tcp.adapter.ts
2658
2673
  import { config } from "dotenv";
@@ -2987,18 +3002,20 @@ export {
2987
3002
  ClientProfileQuestionDto,
2988
3003
  CompanyProfile,
2989
3004
  CompanyRole,
3005
+ CreateCaseStudyDto,
2990
3006
  CreateCompanyMemberDto,
2991
3007
  CreateCompanyRoleDto,
2992
3008
  CreateEducationDto,
2993
3009
  CreateExperienceDto,
2994
3010
  CreateFreelancerEducationDto,
2995
3011
  CreateFreelancerExperienceDto,
3012
+ CreateFreelancerProjectDto,
3013
+ CreateProjectDto,
2996
3014
  CreateQuestionDto,
2997
3015
  CreateRatingDto,
2998
3016
  CreateSubAdminDto,
2999
3017
  DurationTypeEnum,
3000
3018
  EmploymentType,
3001
- FREELANCER_CASESTUDY_PATTERN,
3002
3019
  FREELANCER_EDUCATION_PATTERN,
3003
3020
  FREELANCER_EXPERIENCE_PATTERN,
3004
3021
  FREELANCER_PROJECT_PATTERN,
@@ -3069,6 +3086,7 @@ export {
3069
3086
  SYSTEM_PREFERENCES_PATTERN,
3070
3087
  ScopeEnum,
3071
3088
  SenseloafLog,
3089
+ SetPasswordDto,
3072
3090
  Skill,
3073
3091
  Step,
3074
3092
  SystemPreference,
@@ -3077,18 +3095,14 @@ export {
3077
3095
  ToggleCompanyMemberVisibilityDto,
3078
3096
  ToggleCompanyRoleVisibilityDto,
3079
3097
  TypeOfEmploymentEnum,
3080
- UpdateCaseStudyDto,
3081
3098
  UpdateCompanyMemberDto,
3082
3099
  UpdateCompanyProfileDto,
3083
3100
  UpdateCompanyRoleDto,
3084
3101
  UpdateEducationDto,
3085
3102
  UpdateExperienceDto,
3086
- UpdateFreelancerCaseStudyDto,
3087
3103
  UpdateFreelancerEducationDto,
3088
3104
  UpdateFreelancerExperienceDto,
3089
3105
  UpdateFreelancerProfileDto,
3090
- UpdateFreelancerProjectDto,
3091
- UpdateProjectDto,
3092
3106
  UpdateSubAdminAccountStatusDto,
3093
3107
  UpdateSubAdminDto,
3094
3108
  User,