@experts_hub/shared 1.0.626 → 1.0.627

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.d.mts CHANGED
@@ -2987,14 +2987,8 @@ declare class CreateClientDto {
2987
2987
  password: string;
2988
2988
  confirmPassword: string;
2989
2989
  companyName: string;
2990
- skills: string[];
2991
- requiredFreelancer: string;
2992
- kindOfHiring: string;
2993
- modeOfHire: string;
2994
2990
  foundUsOn: string;
2995
2991
  foundUsOnDetail?: string;
2996
- hiringCommisionTypeForFte?: string;
2997
- hiringCommissionValueForFte?: string;
2998
2992
  about?: string;
2999
2993
  webSite?: string;
3000
2994
  companyAddress?: string;
@@ -3017,14 +3011,8 @@ declare class UpdateClientDto {
3017
3011
  phoneNumber?: string;
3018
3012
  password?: string;
3019
3013
  companyName: string;
3020
- skills: string[];
3021
- requiredFreelancer: string;
3022
- kindOfHiring: string;
3023
- modeOfHire: string;
3024
3014
  foundUsOn: string;
3025
3015
  foundUsOnDetail?: string;
3026
- hiringCommisionTypeForFte?: string;
3027
- hiringCommissionValueForFte?: string;
3028
3016
  about?: string;
3029
3017
  webSite?: string;
3030
3018
  companyAddress?: string;
package/dist/index.d.ts CHANGED
@@ -2987,14 +2987,8 @@ declare class CreateClientDto {
2987
2987
  password: string;
2988
2988
  confirmPassword: string;
2989
2989
  companyName: string;
2990
- skills: string[];
2991
- requiredFreelancer: string;
2992
- kindOfHiring: string;
2993
- modeOfHire: string;
2994
2990
  foundUsOn: string;
2995
2991
  foundUsOnDetail?: string;
2996
- hiringCommisionTypeForFte?: string;
2997
- hiringCommissionValueForFte?: string;
2998
2992
  about?: string;
2999
2993
  webSite?: string;
3000
2994
  companyAddress?: string;
@@ -3017,14 +3011,8 @@ declare class UpdateClientDto {
3017
3011
  phoneNumber?: string;
3018
3012
  password?: string;
3019
3013
  companyName: string;
3020
- skills: string[];
3021
- requiredFreelancer: string;
3022
- kindOfHiring: string;
3023
- modeOfHire: string;
3024
3014
  foundUsOn: string;
3025
3015
  foundUsOnDetail?: string;
3026
- hiringCommisionTypeForFte?: string;
3027
- hiringCommissionValueForFte?: string;
3028
3016
  about?: string;
3029
3017
  webSite?: string;
3030
3018
  companyAddress?: string;
package/dist/index.js CHANGED
@@ -8421,18 +8421,6 @@ var CLIENT_ADMIN_PATTERNS = {
8421
8421
  // src/modules/client-admin/dto/create-client.dto.ts
8422
8422
  var import_class_validator78 = require("class-validator");
8423
8423
  var import_class_transformer11 = require("class-transformer");
8424
- var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
8425
- CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
8426
- CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
8427
- CreateClientHiringModeEnum2["HYBRID"] = "HYBRID";
8428
- return CreateClientHiringModeEnum2;
8429
- })(CreateClientHiringModeEnum || {});
8430
- var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2) => {
8431
- CreateClientHiringTypeEnum2["FTE"] = "FTE";
8432
- CreateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
8433
- CreateClientHiringTypeEnum2["BOTH"] = "BOTH";
8434
- return CreateClientHiringTypeEnum2;
8435
- })(CreateClientHiringTypeEnum || {});
8436
8424
  var CreateClientDto = class {
8437
8425
  };
8438
8426
  __decorateClass([
@@ -8472,37 +8460,13 @@ __decorateClass([
8472
8460
  (0, import_class_validator78.IsString)()
8473
8461
  ], CreateClientDto.prototype, "companyName", 2);
8474
8462
  __decorateClass([
8475
- (0, import_class_validator78.IsArray)({ message: "Skills should be an array." }),
8476
- (0, import_class_validator78.IsNotEmpty)({ message: "Please enter skills." })
8477
- ], CreateClientDto.prototype, "skills", 2);
8478
- __decorateClass([
8479
- (0, import_class_validator78.IsNotEmpty)({ message: "Please specify required freelancer count." }),
8480
- (0, import_class_validator78.IsString)()
8481
- ], CreateClientDto.prototype, "requiredFreelancer", 2);
8482
- __decorateClass([
8483
- (0, import_class_validator78.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
8484
- (0, import_class_validator78.IsEnum)(CreateClientHiringTypeEnum)
8485
- ], CreateClientDto.prototype, "kindOfHiring", 2);
8486
- __decorateClass([
8487
- (0, import_class_validator78.IsNotEmpty)({ message: "Please specify the mode of hire." }),
8488
- (0, import_class_validator78.IsEnum)(CreateClientHiringModeEnum)
8489
- ], CreateClientDto.prototype, "modeOfHire", 2);
8490
- __decorateClass([
8491
- (0, import_class_validator78.IsNotEmpty)({ message: "Please let us know how you found us." }),
8463
+ (0, import_class_validator78.IsOptional)(),
8492
8464
  (0, import_class_validator78.IsString)()
8493
8465
  ], CreateClientDto.prototype, "foundUsOn", 2);
8494
8466
  __decorateClass([
8495
8467
  (0, import_class_validator78.IsOptional)(),
8496
8468
  (0, import_class_validator78.IsString)()
8497
8469
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
8498
- __decorateClass([
8499
- (0, import_class_validator78.IsOptional)(),
8500
- (0, import_class_validator78.IsString)()
8501
- ], CreateClientDto.prototype, "hiringCommisionTypeForFte", 2);
8502
- __decorateClass([
8503
- (0, import_class_validator78.IsOptional)(),
8504
- (0, import_class_validator78.IsString)()
8505
- ], CreateClientDto.prototype, "hiringCommissionValueForFte", 2);
8506
8470
  __decorateClass([
8507
8471
  (0, import_class_validator78.IsOptional)(),
8508
8472
  (0, import_class_validator78.IsString)({ message: "About company must be a string." })
@@ -8551,18 +8515,6 @@ __decorateClass([
8551
8515
  // src/modules/client-admin/dto/update-client.dto.ts
8552
8516
  var import_class_transformer12 = require("class-transformer");
8553
8517
  var import_class_validator80 = require("class-validator");
8554
- var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
8555
- UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
8556
- UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
8557
- UpdateClientHiringModeEnum2["HYBRID"] = "HYBRID";
8558
- return UpdateClientHiringModeEnum2;
8559
- })(UpdateClientHiringModeEnum || {});
8560
- var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2) => {
8561
- UpdateClientHiringTypeEnum2["FTE"] = "FTE";
8562
- UpdateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
8563
- UpdateClientHiringTypeEnum2["BOTH"] = "BOTH";
8564
- return UpdateClientHiringTypeEnum2;
8565
- })(UpdateClientHiringTypeEnum || {});
8566
8518
  var UpdateClientDto = class {
8567
8519
  };
8568
8520
  __decorateClass([
@@ -8599,37 +8551,13 @@ __decorateClass([
8599
8551
  (0, import_class_validator80.IsString)()
8600
8552
  ], UpdateClientDto.prototype, "companyName", 2);
8601
8553
  __decorateClass([
8602
- (0, import_class_validator80.IsArray)({ message: "Skills should be an array." }),
8603
- (0, import_class_validator80.IsNotEmpty)({ message: "Please enter skills." })
8604
- ], UpdateClientDto.prototype, "skills", 2);
8605
- __decorateClass([
8606
- (0, import_class_validator80.IsNotEmpty)({ message: "Please specify required freelancer count." }),
8607
- (0, import_class_validator80.IsString)()
8608
- ], UpdateClientDto.prototype, "requiredFreelancer", 2);
8609
- __decorateClass([
8610
- (0, import_class_validator80.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
8611
- (0, import_class_validator80.IsEnum)(UpdateClientHiringTypeEnum)
8612
- ], UpdateClientDto.prototype, "kindOfHiring", 2);
8613
- __decorateClass([
8614
- (0, import_class_validator80.IsNotEmpty)({ message: "Please specify the mode of hire." }),
8615
- (0, import_class_validator80.IsEnum)(UpdateClientHiringModeEnum)
8616
- ], UpdateClientDto.prototype, "modeOfHire", 2);
8617
- __decorateClass([
8618
- (0, import_class_validator80.IsNotEmpty)({ message: "Please let us know how you found us." }),
8554
+ (0, import_class_validator80.IsOptional)(),
8619
8555
  (0, import_class_validator80.IsString)()
8620
8556
  ], UpdateClientDto.prototype, "foundUsOn", 2);
8621
8557
  __decorateClass([
8622
8558
  (0, import_class_validator80.IsOptional)(),
8623
8559
  (0, import_class_validator80.IsString)()
8624
8560
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
8625
- __decorateClass([
8626
- (0, import_class_validator80.IsOptional)(),
8627
- (0, import_class_validator80.IsString)()
8628
- ], UpdateClientDto.prototype, "hiringCommisionTypeForFte", 2);
8629
- __decorateClass([
8630
- (0, import_class_validator80.IsOptional)(),
8631
- (0, import_class_validator80.IsString)()
8632
- ], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
8633
8561
  __decorateClass([
8634
8562
  (0, import_class_validator80.IsOptional)(),
8635
8563
  (0, import_class_validator80.IsString)({ message: "About company must be a string." })
package/dist/index.mjs CHANGED
@@ -8412,27 +8412,13 @@ import {
8412
8412
  IsEmail as IsEmail15,
8413
8413
  IsOptional as IsOptional41,
8414
8414
  IsString as IsString42,
8415
- IsArray as IsArray12,
8416
8415
  MinLength as MinLength14,
8417
8416
  MaxLength as MaxLength18,
8418
- IsEnum as IsEnum26,
8419
8417
  Matches as Matches11,
8420
8418
  IsInt as IsInt9,
8421
8419
  IsUrl as IsUrl5
8422
8420
  } from "class-validator";
8423
8421
  import { Type as Type8 } from "class-transformer";
8424
- var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
8425
- CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
8426
- CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
8427
- CreateClientHiringModeEnum2["HYBRID"] = "HYBRID";
8428
- return CreateClientHiringModeEnum2;
8429
- })(CreateClientHiringModeEnum || {});
8430
- var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2) => {
8431
- CreateClientHiringTypeEnum2["FTE"] = "FTE";
8432
- CreateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
8433
- CreateClientHiringTypeEnum2["BOTH"] = "BOTH";
8434
- return CreateClientHiringTypeEnum2;
8435
- })(CreateClientHiringTypeEnum || {});
8436
8422
  var CreateClientDto = class {
8437
8423
  };
8438
8424
  __decorateClass([
@@ -8472,37 +8458,13 @@ __decorateClass([
8472
8458
  IsString42()
8473
8459
  ], CreateClientDto.prototype, "companyName", 2);
8474
8460
  __decorateClass([
8475
- IsArray12({ message: "Skills should be an array." }),
8476
- IsNotEmpty64({ message: "Please enter skills." })
8477
- ], CreateClientDto.prototype, "skills", 2);
8478
- __decorateClass([
8479
- IsNotEmpty64({ message: "Please specify required freelancer count." }),
8480
- IsString42()
8481
- ], CreateClientDto.prototype, "requiredFreelancer", 2);
8482
- __decorateClass([
8483
- IsNotEmpty64({ message: "Please specify the kind of hiring." }),
8484
- IsEnum26(CreateClientHiringTypeEnum)
8485
- ], CreateClientDto.prototype, "kindOfHiring", 2);
8486
- __decorateClass([
8487
- IsNotEmpty64({ message: "Please specify the mode of hire." }),
8488
- IsEnum26(CreateClientHiringModeEnum)
8489
- ], CreateClientDto.prototype, "modeOfHire", 2);
8490
- __decorateClass([
8491
- IsNotEmpty64({ message: "Please let us know how you found us." }),
8461
+ IsOptional41(),
8492
8462
  IsString42()
8493
8463
  ], CreateClientDto.prototype, "foundUsOn", 2);
8494
8464
  __decorateClass([
8495
8465
  IsOptional41(),
8496
8466
  IsString42()
8497
8467
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
8498
- __decorateClass([
8499
- IsOptional41(),
8500
- IsString42()
8501
- ], CreateClientDto.prototype, "hiringCommisionTypeForFte", 2);
8502
- __decorateClass([
8503
- IsOptional41(),
8504
- IsString42()
8505
- ], CreateClientDto.prototype, "hiringCommissionValueForFte", 2);
8506
8468
  __decorateClass([
8507
8469
  IsOptional41(),
8508
8470
  IsString42({ message: "About company must be a string." })
@@ -8555,24 +8517,10 @@ import {
8555
8517
  IsEmail as IsEmail16,
8556
8518
  IsOptional as IsOptional42,
8557
8519
  IsString as IsString44,
8558
- IsArray as IsArray13,
8559
8520
  MinLength as MinLength15,
8560
8521
  MaxLength as MaxLength19,
8561
- IsEnum as IsEnum27,
8562
8522
  Matches as Matches12
8563
8523
  } from "class-validator";
8564
- var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
8565
- UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
8566
- UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
8567
- UpdateClientHiringModeEnum2["HYBRID"] = "HYBRID";
8568
- return UpdateClientHiringModeEnum2;
8569
- })(UpdateClientHiringModeEnum || {});
8570
- var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2) => {
8571
- UpdateClientHiringTypeEnum2["FTE"] = "FTE";
8572
- UpdateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
8573
- UpdateClientHiringTypeEnum2["BOTH"] = "BOTH";
8574
- return UpdateClientHiringTypeEnum2;
8575
- })(UpdateClientHiringTypeEnum || {});
8576
8524
  var UpdateClientDto = class {
8577
8525
  };
8578
8526
  __decorateClass([
@@ -8609,37 +8557,13 @@ __decorateClass([
8609
8557
  IsString44()
8610
8558
  ], UpdateClientDto.prototype, "companyName", 2);
8611
8559
  __decorateClass([
8612
- IsArray13({ message: "Skills should be an array." }),
8613
- IsNotEmpty66({ message: "Please enter skills." })
8614
- ], UpdateClientDto.prototype, "skills", 2);
8615
- __decorateClass([
8616
- IsNotEmpty66({ message: "Please specify required freelancer count." }),
8617
- IsString44()
8618
- ], UpdateClientDto.prototype, "requiredFreelancer", 2);
8619
- __decorateClass([
8620
- IsNotEmpty66({ message: "Please specify the kind of hiring." }),
8621
- IsEnum27(UpdateClientHiringTypeEnum)
8622
- ], UpdateClientDto.prototype, "kindOfHiring", 2);
8623
- __decorateClass([
8624
- IsNotEmpty66({ message: "Please specify the mode of hire." }),
8625
- IsEnum27(UpdateClientHiringModeEnum)
8626
- ], UpdateClientDto.prototype, "modeOfHire", 2);
8627
- __decorateClass([
8628
- IsNotEmpty66({ message: "Please let us know how you found us." }),
8560
+ IsOptional42(),
8629
8561
  IsString44()
8630
8562
  ], UpdateClientDto.prototype, "foundUsOn", 2);
8631
8563
  __decorateClass([
8632
8564
  IsOptional42(),
8633
8565
  IsString44()
8634
8566
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
8635
- __decorateClass([
8636
- IsOptional42(),
8637
- IsString44()
8638
- ], UpdateClientDto.prototype, "hiringCommisionTypeForFte", 2);
8639
- __decorateClass([
8640
- IsOptional42(),
8641
- IsString44()
8642
- ], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
8643
8567
  __decorateClass([
8644
8568
  IsOptional42(),
8645
8569
  IsString44({ message: "About company must be a string." })
@@ -7,14 +7,8 @@ export declare class CreateClientDto {
7
7
  password: string;
8
8
  confirmPassword: string;
9
9
  companyName: string;
10
- skills: string[];
11
- requiredFreelancer: string;
12
- kindOfHiring: string;
13
- modeOfHire: string;
14
10
  foundUsOn: string;
15
11
  foundUsOnDetail?: string;
16
- hiringCommisionTypeForFte?: string;
17
- hiringCommissionValueForFte?: string;
18
12
  about?: string;
19
13
  webSite?: string;
20
14
  companyAddress?: string;
@@ -6,14 +6,8 @@ export declare class UpdateClientDto {
6
6
  phoneNumber?: string;
7
7
  password?: string;
8
8
  companyName: string;
9
- skills: string[];
10
- requiredFreelancer: string;
11
- kindOfHiring: string;
12
- modeOfHire: string;
13
9
  foundUsOn: string;
14
10
  foundUsOnDetail?: string;
15
- hiringCommisionTypeForFte?: string;
16
- hiringCommissionValueForFte?: string;
17
11
  about?: string;
18
12
  webSite?: string;
19
13
  companyAddress?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.626",
3
+ "version": "1.0.627",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",