@experts_hub/shared 1.0.205 → 1.0.207

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
@@ -1323,7 +1323,7 @@ __decorateClass([
1323
1323
  Column5({ name: "resume_data", type: "jsonb", nullable: true })
1324
1324
  ], FreelancerProfile.prototype, "resumeData", 2);
1325
1325
  __decorateClass([
1326
- Column5({ name: "resume_data", type: "jsonb", nullable: true })
1326
+ Column5({ name: "processed_resume_data", type: "jsonb", nullable: true })
1327
1327
  ], FreelancerProfile.prototype, "processedResumeData", 2);
1328
1328
  __decorateClass([
1329
1329
  Column5({ name: "resume_eligibility", type: "varchar", nullable: true })
@@ -3287,6 +3287,214 @@ var FREELANCER_ADMIN_PATTERNS = {
3287
3287
  deleteAdminFreelancer: "delete.admin.freelancer"
3288
3288
  };
3289
3289
 
3290
+ // src/modules/freelancer-admin/dto/create-freelancer.dto.ts
3291
+ import {
3292
+ IsString as IsString26,
3293
+ IsEmail as IsEmail11,
3294
+ IsBoolean as IsBoolean12,
3295
+ IsOptional as IsOptional18,
3296
+ IsEnum as IsEnum13,
3297
+ IsNumber as IsNumber3,
3298
+ IsUrl as IsUrl3,
3299
+ Min as Min3,
3300
+ MaxLength as MaxLength14,
3301
+ IsNotEmpty as IsNotEmpty38,
3302
+ MinLength as MinLength12,
3303
+ Matches as Matches8
3304
+ } from "class-validator";
3305
+ import { Type as Type6 } from "class-transformer";
3306
+ var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
3307
+ NatureOfWorkEnum3["FULLTIME"] = "FULLTIME";
3308
+ NatureOfWorkEnum3["PARTTIME"] = "PARTTIME";
3309
+ NatureOfWorkEnum3["BOTH"] = "BOTH";
3310
+ return NatureOfWorkEnum3;
3311
+ })(NatureOfWorkEnum || {});
3312
+ var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
3313
+ ModeOfWorkEnum3["REMOTE"] = "REMOTE";
3314
+ ModeOfWorkEnum3["ONSITE"] = "ONSITE";
3315
+ ModeOfWorkEnum3["BOTH"] = "BOTH";
3316
+ return ModeOfWorkEnum3;
3317
+ })(ModeOfWorkEnum || {});
3318
+ var CreateFreelancerDto = class {
3319
+ };
3320
+ __decorateClass([
3321
+ IsString26({ message: "Full name must be a string" }),
3322
+ MaxLength14(100, { message: "Full name must not exceed 100 characters" })
3323
+ ], CreateFreelancerDto.prototype, "fullName", 2);
3324
+ __decorateClass([
3325
+ IsEmail11({}, { message: "Invalid email address" })
3326
+ ], CreateFreelancerDto.prototype, "email", 2);
3327
+ __decorateClass([
3328
+ IsString26({ message: "Mobile code must be a string (e.g., +1)" })
3329
+ ], CreateFreelancerDto.prototype, "mobileCode", 2);
3330
+ __decorateClass([
3331
+ IsString26({ message: "Mobile must be a string (e.g., 1243253534)" })
3332
+ ], CreateFreelancerDto.prototype, "mobile", 2);
3333
+ __decorateClass([
3334
+ IsNotEmpty38({ message: "Please enter password." }),
3335
+ MinLength12(6),
3336
+ MaxLength14(32),
3337
+ Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
3338
+ message: "Password must include letters, numbers and symbols."
3339
+ })
3340
+ ], CreateFreelancerDto.prototype, "password", 2);
3341
+ __decorateClass([
3342
+ IsNotEmpty38({ message: "Please enter confirm password." }),
3343
+ Match("confirmPassword", { message: "Passwords do not match" })
3344
+ ], CreateFreelancerDto.prototype, "confirmPassword", 2);
3345
+ __decorateClass([
3346
+ IsBoolean12({ message: "Developer flag must be true or false" }),
3347
+ Type6(() => Boolean)
3348
+ ], CreateFreelancerDto.prototype, "developer", 2);
3349
+ __decorateClass([
3350
+ IsEnum13(NatureOfWorkEnum, {
3351
+ message: `Nature of work must be one of: ${Object.values(
3352
+ NatureOfWorkEnum
3353
+ ).join(", ")}`
3354
+ })
3355
+ ], CreateFreelancerDto.prototype, "natureOfWork", 2);
3356
+ __decorateClass([
3357
+ IsNumber3({}, { message: "Expected hourly compensation must be a number" }),
3358
+ Min3(0, { message: "Expected hourly compensation must be 0 or more" }),
3359
+ Type6(() => Number)
3360
+ ], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
3361
+ __decorateClass([
3362
+ IsEnum13(ModeOfWorkEnum, {
3363
+ message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
3364
+ ", "
3365
+ )}`
3366
+ })
3367
+ ], CreateFreelancerDto.prototype, "modeOfWork", 2);
3368
+ __decorateClass([
3369
+ IsNotEmpty38({ message: "Please enter availability to join." })
3370
+ ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
3371
+ __decorateClass([
3372
+ IsBoolean12({ message: "isImmediateJoiner must be true or false" }),
3373
+ Type6(() => Boolean)
3374
+ ], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
3375
+ __decorateClass([
3376
+ IsOptional18(),
3377
+ IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" })
3378
+ ], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
3379
+ __decorateClass([
3380
+ IsOptional18(),
3381
+ IsString26({ message: "Kaggle profile link must be a string" })
3382
+ ], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
3383
+ __decorateClass([
3384
+ IsOptional18(),
3385
+ IsUrl3({}, { message: "GitHub profile link must be a valid URL" })
3386
+ ], CreateFreelancerDto.prototype, "githubProfileLink", 2);
3387
+ __decorateClass([
3388
+ IsOptional18(),
3389
+ IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" })
3390
+ ], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
3391
+ __decorateClass([
3392
+ IsOptional18(),
3393
+ IsUrl3({}, { message: "Portfolio link must be a valid URL" })
3394
+ ], CreateFreelancerDto.prototype, "portfolioLink", 2);
3395
+
3396
+ // src/modules/freelancer-admin/dto/update-freelancer.dto.ts
3397
+ import {
3398
+ IsString as IsString27,
3399
+ IsEmail as IsEmail12,
3400
+ IsBoolean as IsBoolean13,
3401
+ IsOptional as IsOptional19,
3402
+ IsEnum as IsEnum14,
3403
+ IsNumber as IsNumber4,
3404
+ IsUrl as IsUrl4,
3405
+ Min as Min4,
3406
+ MaxLength as MaxLength15,
3407
+ MinLength as MinLength13,
3408
+ Matches as Matches9,
3409
+ IsNotEmpty as IsNotEmpty39
3410
+ } from "class-validator";
3411
+ import { Type as Type7 } from "class-transformer";
3412
+ var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
3413
+ NatureOfWorkEnum3["FULLTIME"] = "FULLTIME";
3414
+ NatureOfWorkEnum3["PARTTIME"] = "PARTTIME";
3415
+ NatureOfWorkEnum3["BOTH"] = "BOTH";
3416
+ return NatureOfWorkEnum3;
3417
+ })(NatureOfWorkEnum2 || {});
3418
+ var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
3419
+ ModeOfWorkEnum3["REMOTE"] = "REMOTE";
3420
+ ModeOfWorkEnum3["ONSITE"] = "ONSITE";
3421
+ ModeOfWorkEnum3["BOTH"] = "BOTH";
3422
+ return ModeOfWorkEnum3;
3423
+ })(ModeOfWorkEnum2 || {});
3424
+ var UpdateFreelancerDto = class {
3425
+ };
3426
+ __decorateClass([
3427
+ IsString27({ message: "Full name must be a string" }),
3428
+ MaxLength15(100, { message: "Full name must not exceed 100 characters" })
3429
+ ], UpdateFreelancerDto.prototype, "fullName", 2);
3430
+ __decorateClass([
3431
+ IsEmail12({}, { message: "Invalid email address" })
3432
+ ], UpdateFreelancerDto.prototype, "email", 2);
3433
+ __decorateClass([
3434
+ IsString27({ message: "Mobile code must be a string (e.g., +1)" })
3435
+ ], UpdateFreelancerDto.prototype, "mobileCode", 2);
3436
+ __decorateClass([
3437
+ IsString27({ message: "Mobile must be a string (e.g., 1243253534)" })
3438
+ ], UpdateFreelancerDto.prototype, "mobile", 2);
3439
+ __decorateClass([
3440
+ IsOptional19(),
3441
+ MinLength13(6, { message: "Password must be at least 6 characters." }),
3442
+ MaxLength15(32, { message: "Password must not exceed 32 characters." }),
3443
+ Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
3444
+ message: "Password must include letters, numbers and symbols."
3445
+ })
3446
+ ], UpdateFreelancerDto.prototype, "password", 2);
3447
+ __decorateClass([
3448
+ IsBoolean13({ message: "Developer flag must be true or false" }),
3449
+ Type7(() => Boolean)
3450
+ ], UpdateFreelancerDto.prototype, "developer", 2);
3451
+ __decorateClass([
3452
+ IsEnum14(NatureOfWorkEnum2, {
3453
+ message: `Nature of work must be one of: ${Object.values(
3454
+ NatureOfWorkEnum2
3455
+ ).join(", ")}`
3456
+ })
3457
+ ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
3458
+ __decorateClass([
3459
+ IsNumber4({}, { message: "Expected hourly compensation must be a number" }),
3460
+ Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
3461
+ Type7(() => Number)
3462
+ ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
3463
+ __decorateClass([
3464
+ IsEnum14(ModeOfWorkEnum2, {
3465
+ message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
3466
+ ", "
3467
+ )}`
3468
+ })
3469
+ ], UpdateFreelancerDto.prototype, "modeOfWork", 2);
3470
+ __decorateClass([
3471
+ IsNotEmpty39({ message: "Please enter availability to join." })
3472
+ ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
3473
+ __decorateClass([
3474
+ IsBoolean13({ message: "isImmediateJoiner must be true or false" }),
3475
+ Type7(() => Boolean)
3476
+ ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
3477
+ __decorateClass([
3478
+ IsOptional19(),
3479
+ IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" })
3480
+ ], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
3481
+ __decorateClass([
3482
+ IsOptional19(),
3483
+ IsString27({ message: "Kaggle profile link must be a string" })
3484
+ ], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
3485
+ __decorateClass([
3486
+ IsOptional19(),
3487
+ IsUrl4({}, { message: "GitHub profile link must be a valid URL" })
3488
+ ], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
3489
+ __decorateClass([
3490
+ IsOptional19(),
3491
+ IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" })
3492
+ ], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
3493
+ __decorateClass([
3494
+ IsOptional19(),
3495
+ IsUrl4({}, { message: "Portfolio link must be a valid URL" })
3496
+ ], UpdateFreelancerDto.prototype, "portfolioLink", 2);
3497
+
3290
3498
  // src/modules/client-admin/pattern/pattern.ts
3291
3499
  var CLIENT_ADMIN_PATTERNS = {
3292
3500
  fetchAdminClients: "fetch.admin.clients",
@@ -3300,15 +3508,15 @@ var CLIENT_ADMIN_PATTERNS = {
3300
3508
 
3301
3509
  // src/modules/client-admin/dto/create-client.dto.ts
3302
3510
  import {
3303
- IsNotEmpty as IsNotEmpty38,
3304
- IsEmail as IsEmail11,
3305
- IsOptional as IsOptional18,
3306
- IsString as IsString26,
3511
+ IsNotEmpty as IsNotEmpty40,
3512
+ IsEmail as IsEmail13,
3513
+ IsOptional as IsOptional20,
3514
+ IsString as IsString28,
3307
3515
  IsArray as IsArray9,
3308
- MinLength as MinLength12,
3309
- MaxLength as MaxLength14,
3310
- IsEnum as IsEnum13,
3311
- Matches as Matches8
3516
+ MinLength as MinLength14,
3517
+ MaxLength as MaxLength16,
3518
+ IsEnum as IsEnum15,
3519
+ Matches as Matches10
3312
3520
  } from "class-validator";
3313
3521
  var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
3314
3522
  CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
@@ -3325,82 +3533,82 @@ var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2)
3325
3533
  var CreateClientDto = class {
3326
3534
  };
3327
3535
  __decorateClass([
3328
- IsNotEmpty38({ message: "Please enter first name." }),
3329
- IsString26()
3536
+ IsNotEmpty40({ message: "Please enter first name." }),
3537
+ IsString28()
3330
3538
  ], CreateClientDto.prototype, "firstName", 2);
3331
3539
  __decorateClass([
3332
- IsNotEmpty38({ message: "Please enter last name." }),
3333
- IsString26()
3540
+ IsNotEmpty40({ message: "Please enter last name." }),
3541
+ IsString28()
3334
3542
  ], CreateClientDto.prototype, "lastName", 2);
3335
3543
  __decorateClass([
3336
- IsNotEmpty38({ message: "Please enter email." }),
3337
- IsEmail11()
3544
+ IsNotEmpty40({ message: "Please enter email." }),
3545
+ IsEmail13()
3338
3546
  ], CreateClientDto.prototype, "email", 2);
3339
3547
  __decorateClass([
3340
- IsNotEmpty38({ message: "Please enter password." }),
3341
- MinLength12(6),
3342
- MaxLength14(32),
3343
- Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
3548
+ IsNotEmpty40({ message: "Please enter password." }),
3549
+ MinLength14(6),
3550
+ MaxLength16(32),
3551
+ Matches10(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
3344
3552
  message: "Password must include letters, numbers and symbols."
3345
3553
  })
3346
3554
  ], CreateClientDto.prototype, "password", 2);
3347
3555
  __decorateClass([
3348
- IsNotEmpty38({ message: "Please enter confirm password." }),
3556
+ IsNotEmpty40({ message: "Please enter confirm password." }),
3349
3557
  Match("confirmPassword", { message: "Passwords do not match" })
3350
3558
  ], CreateClientDto.prototype, "confirmPassword", 2);
3351
3559
  __decorateClass([
3352
- IsNotEmpty38({ message: "Please enter company name." }),
3353
- IsString26()
3560
+ IsNotEmpty40({ message: "Please enter company name." }),
3561
+ IsString28()
3354
3562
  ], CreateClientDto.prototype, "companyName", 2);
3355
3563
  __decorateClass([
3356
3564
  IsArray9({ message: "Skills should be an array." }),
3357
- IsNotEmpty38({ message: "Please enter skills." })
3565
+ IsNotEmpty40({ message: "Please enter skills." })
3358
3566
  ], CreateClientDto.prototype, "skills", 2);
3359
3567
  __decorateClass([
3360
- IsNotEmpty38({ message: "Please specify required freelancer count." }),
3361
- IsString26()
3568
+ IsNotEmpty40({ message: "Please specify required freelancer count." }),
3569
+ IsString28()
3362
3570
  ], CreateClientDto.prototype, "requiredFreelancer", 2);
3363
3571
  __decorateClass([
3364
- IsNotEmpty38({ message: "Please specify the kind of hiring." }),
3365
- IsEnum13(CreateClientHiringTypeEnum)
3572
+ IsNotEmpty40({ message: "Please specify the kind of hiring." }),
3573
+ IsEnum15(CreateClientHiringTypeEnum)
3366
3574
  ], CreateClientDto.prototype, "kindOfHiring", 2);
3367
3575
  __decorateClass([
3368
- IsNotEmpty38({ message: "Please specify the mode of hire." }),
3369
- IsEnum13(CreateClientHiringModeEnum)
3576
+ IsNotEmpty40({ message: "Please specify the mode of hire." }),
3577
+ IsEnum15(CreateClientHiringModeEnum)
3370
3578
  ], CreateClientDto.prototype, "modeOfHire", 2);
3371
3579
  __decorateClass([
3372
- IsNotEmpty38({ message: "Please let us know how you found us." }),
3373
- IsString26()
3580
+ IsNotEmpty40({ message: "Please let us know how you found us." }),
3581
+ IsString28()
3374
3582
  ], CreateClientDto.prototype, "foundUsOn", 2);
3375
3583
  __decorateClass([
3376
- IsOptional18(),
3377
- IsString26()
3584
+ IsOptional20(),
3585
+ IsString28()
3378
3586
  ], CreateClientDto.prototype, "OTHER", 2);
3379
3587
  __decorateClass([
3380
- IsOptional18(),
3381
- IsString26()
3588
+ IsOptional20(),
3589
+ IsString28()
3382
3590
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
3383
3591
 
3384
3592
  // src/modules/client-admin/dto/update-client-status.dto.ts
3385
- import { IsString as IsString27, IsNotEmpty as IsNotEmpty39 } from "class-validator";
3593
+ import { IsString as IsString29, IsNotEmpty as IsNotEmpty41 } from "class-validator";
3386
3594
  var UpdateClientAccountStatusDto = class {
3387
3595
  };
3388
3596
  __decorateClass([
3389
- IsNotEmpty39({ message: "Please enter account status." }),
3390
- IsString27()
3597
+ IsNotEmpty41({ message: "Please enter account status." }),
3598
+ IsString29()
3391
3599
  ], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
3392
3600
 
3393
3601
  // src/modules/client-admin/dto/update-client.dto.ts
3394
3602
  import {
3395
- IsNotEmpty as IsNotEmpty40,
3396
- IsEmail as IsEmail12,
3397
- IsOptional as IsOptional19,
3398
- IsString as IsString28,
3603
+ IsNotEmpty as IsNotEmpty42,
3604
+ IsEmail as IsEmail14,
3605
+ IsOptional as IsOptional21,
3606
+ IsString as IsString30,
3399
3607
  IsArray as IsArray10,
3400
- MinLength as MinLength13,
3401
- MaxLength as MaxLength15,
3402
- IsEnum as IsEnum14,
3403
- Matches as Matches9
3608
+ MinLength as MinLength15,
3609
+ MaxLength as MaxLength17,
3610
+ IsEnum as IsEnum16,
3611
+ Matches as Matches11
3404
3612
  } from "class-validator";
3405
3613
  var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
3406
3614
  UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
@@ -3417,56 +3625,56 @@ var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2)
3417
3625
  var UpdateClientDto = class {
3418
3626
  };
3419
3627
  __decorateClass([
3420
- IsNotEmpty40({ message: "Please enter first name." }),
3421
- IsString28()
3628
+ IsNotEmpty42({ message: "Please enter first name." }),
3629
+ IsString30()
3422
3630
  ], UpdateClientDto.prototype, "firstName", 2);
3423
3631
  __decorateClass([
3424
- IsNotEmpty40({ message: "Please enter last name." }),
3425
- IsString28()
3632
+ IsNotEmpty42({ message: "Please enter last name." }),
3633
+ IsString30()
3426
3634
  ], UpdateClientDto.prototype, "lastName", 2);
3427
3635
  __decorateClass([
3428
- IsNotEmpty40({ message: "Please enter email." }),
3429
- IsEmail12()
3636
+ IsNotEmpty42({ message: "Please enter email." }),
3637
+ IsEmail14()
3430
3638
  ], UpdateClientDto.prototype, "email", 2);
3431
3639
  __decorateClass([
3432
- IsOptional19(),
3433
- MinLength13(6, { message: "Password must be at least 6 characters." }),
3434
- MaxLength15(32, { message: "Password must not exceed 32 characters." }),
3435
- Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
3640
+ IsOptional21(),
3641
+ MinLength15(6, { message: "Password must be at least 6 characters." }),
3642
+ MaxLength17(32, { message: "Password must not exceed 32 characters." }),
3643
+ Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
3436
3644
  message: "Password must include letters, numbers and symbols."
3437
3645
  })
3438
3646
  ], UpdateClientDto.prototype, "password", 2);
3439
3647
  __decorateClass([
3440
- IsNotEmpty40({ message: "Please enter company name." }),
3441
- IsString28()
3648
+ IsNotEmpty42({ message: "Please enter company name." }),
3649
+ IsString30()
3442
3650
  ], UpdateClientDto.prototype, "companyName", 2);
3443
3651
  __decorateClass([
3444
3652
  IsArray10({ message: "Skills should be an array." }),
3445
- IsNotEmpty40({ message: "Please enter skills." })
3653
+ IsNotEmpty42({ message: "Please enter skills." })
3446
3654
  ], UpdateClientDto.prototype, "skills", 2);
3447
3655
  __decorateClass([
3448
- IsNotEmpty40({ message: "Please specify required freelancer count." }),
3449
- IsString28()
3656
+ IsNotEmpty42({ message: "Please specify required freelancer count." }),
3657
+ IsString30()
3450
3658
  ], UpdateClientDto.prototype, "requiredFreelancer", 2);
3451
3659
  __decorateClass([
3452
- IsNotEmpty40({ message: "Please specify the kind of hiring." }),
3453
- IsEnum14(UpdateClientHiringTypeEnum)
3660
+ IsNotEmpty42({ message: "Please specify the kind of hiring." }),
3661
+ IsEnum16(UpdateClientHiringTypeEnum)
3454
3662
  ], UpdateClientDto.prototype, "kindOfHiring", 2);
3455
3663
  __decorateClass([
3456
- IsNotEmpty40({ message: "Please specify the mode of hire." }),
3457
- IsEnum14(UpdateClientHiringModeEnum)
3664
+ IsNotEmpty42({ message: "Please specify the mode of hire." }),
3665
+ IsEnum16(UpdateClientHiringModeEnum)
3458
3666
  ], UpdateClientDto.prototype, "modeOfHire", 2);
3459
3667
  __decorateClass([
3460
- IsNotEmpty40({ message: "Please let us know how you found us." }),
3461
- IsString28()
3668
+ IsNotEmpty42({ message: "Please let us know how you found us." }),
3669
+ IsString30()
3462
3670
  ], UpdateClientDto.prototype, "foundUsOn", 2);
3463
3671
  __decorateClass([
3464
- IsOptional19(),
3465
- IsString28()
3672
+ IsOptional21(),
3673
+ IsString30()
3466
3674
  ], UpdateClientDto.prototype, "OTHER", 2);
3467
3675
  __decorateClass([
3468
- IsOptional19(),
3469
- IsString28()
3676
+ IsOptional21(),
3677
+ IsString30()
3470
3678
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
3471
3679
 
3472
3680
  // src/modules/user/freelancer-declaration/pattern/pattern.ts
@@ -3476,7 +3684,7 @@ var FREELANCER_DECLARATION_PATTERN = {
3476
3684
  };
3477
3685
 
3478
3686
  // src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
3479
- import { IsOptional as IsOptional20, IsEnum as IsEnum15, IsString as IsString29, IsNotEmpty as IsNotEmpty41, IsIn as IsIn3 } from "class-validator";
3687
+ import { IsOptional as IsOptional22, IsEnum as IsEnum17, IsString as IsString31, IsNotEmpty as IsNotEmpty43, IsIn as IsIn3 } from "class-validator";
3480
3688
  var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
3481
3689
  DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
3482
3690
  DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
@@ -3487,15 +3695,15 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
3487
3695
  var FreelancerDeclarationDto = class {
3488
3696
  };
3489
3697
  __decorateClass([
3490
- IsOptional20(),
3491
- IsString29({ message: "UUID must be a string" })
3698
+ IsOptional22(),
3699
+ IsString31({ message: "UUID must be a string" })
3492
3700
  ], FreelancerDeclarationDto.prototype, "uuid", 2);
3493
3701
  __decorateClass([
3494
- IsEnum15(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
3702
+ IsEnum17(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
3495
3703
  ], FreelancerDeclarationDto.prototype, "documentType", 2);
3496
3704
  __decorateClass([
3497
- IsNotEmpty41({ message: "Please accept the declaration " }),
3498
- IsString29(),
3705
+ IsNotEmpty43({ message: "Please accept the declaration " }),
3706
+ IsString31(),
3499
3707
  IsIn3([
3500
3708
  "true"
3501
3709
  ])
@@ -3511,36 +3719,36 @@ var CMS_PATTERNS = {
3511
3719
  };
3512
3720
 
3513
3721
  // src/modules/cms/dto/create-cms.dto.ts
3514
- import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional21 } from "class-validator";
3722
+ import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty44, IsOptional as IsOptional23 } from "class-validator";
3515
3723
  var CreateCmsDto = class {
3516
3724
  };
3517
3725
  __decorateClass([
3518
- IsNotEmpty42({ message: "Please enter name." })
3726
+ IsNotEmpty44({ message: "Please enter name." })
3519
3727
  ], CreateCmsDto.prototype, "title", 2);
3520
3728
  __decorateClass([
3521
- IsOptional21()
3729
+ IsOptional23()
3522
3730
  ], CreateCmsDto.prototype, "content", 2);
3523
3731
  __decorateClass([
3524
- IsOptional21(),
3525
- IsBoolean12({ message: "Is active must be a boolean value" })
3732
+ IsOptional23(),
3733
+ IsBoolean14({ message: "Is active must be a boolean value" })
3526
3734
  ], CreateCmsDto.prototype, "isActive", 2);
3527
3735
 
3528
3736
  // src/modules/cms/dto/update-cms.dto.ts
3529
- import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty43, IsOptional as IsOptional22 } from "class-validator";
3737
+ import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty45, IsOptional as IsOptional24 } from "class-validator";
3530
3738
  var UpdateCmsDto = class {
3531
3739
  };
3532
3740
  __decorateClass([
3533
- IsOptional22()
3741
+ IsOptional24()
3534
3742
  ], UpdateCmsDto.prototype, "uuid", 2);
3535
3743
  __decorateClass([
3536
- IsNotEmpty43({ message: "Please enter name." })
3744
+ IsNotEmpty45({ message: "Please enter name." })
3537
3745
  ], UpdateCmsDto.prototype, "title", 2);
3538
3746
  __decorateClass([
3539
- IsOptional22()
3747
+ IsOptional24()
3540
3748
  ], UpdateCmsDto.prototype, "content", 2);
3541
3749
  __decorateClass([
3542
- IsOptional22(),
3543
- IsBoolean13({ message: "Is active must be a boolean value" })
3750
+ IsOptional24(),
3751
+ IsBoolean15({ message: "Is active must be a boolean value" })
3544
3752
  ], UpdateCmsDto.prototype, "isActive", 2);
3545
3753
 
3546
3754
  // src/modules/geographic/pattern/pattern.ts
@@ -4106,6 +4314,7 @@ export {
4106
4314
  CreateCmsDto,
4107
4315
  CreateCompanyMemberDto,
4108
4316
  CreateCompanyRoleDto,
4317
+ CreateFreelancerDto,
4109
4318
  CreateQuestionDto,
4110
4319
  CreateRatingDto,
4111
4320
  CreateSubAdminDto,
@@ -4227,6 +4436,7 @@ export {
4227
4436
  UpdateCompanyMemberDto,
4228
4437
  UpdateCompanyProfileDto,
4229
4438
  UpdateCompanyRoleDto,
4439
+ UpdateFreelancerDto,
4230
4440
  UpdateFreelancerProfileDto,
4231
4441
  UpdateSubAdminAccountStatusDto,
4232
4442
  UpdateSubAdminDto,
@@ -14,6 +14,7 @@ export declare class CreateFreelancerDto {
14
14
  mobileCode: string;
15
15
  mobile: string;
16
16
  password: string;
17
+ confirmPassword: string;
17
18
  developer: boolean;
18
19
  natureOfWork: NatureOfWorkEnum;
19
20
  expectedHourlyCompensation: number;
@@ -1 +1,3 @@
1
1
  export * from './pattern/pattern';
2
+ export * from './dto';
3
+ export * from './freelancer-admin.interface';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.205",
3
+ "version": "1.0.207",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",