@experts_hub/shared 1.0.413 → 1.0.414

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
@@ -541,8 +541,7 @@ declare class FreelancerChangePasswordDto {
541
541
 
542
542
  declare enum NatureOfWorkDto {
543
543
  FULLTIME = "FULLTIME",
544
- PARTTIME = "PARTTIME",
545
- BOTH = "BOTH"
544
+ HOURLY = "HOURLY"
546
545
  }
547
546
  declare enum ModeOfWorkDto {
548
547
  ONSITE = "ONSITE",
@@ -558,7 +557,6 @@ declare class UpdateFreelancerProfileDto {
558
557
  mobileCode: string;
559
558
  mobile: string;
560
559
  countryId: number;
561
- currency: string;
562
560
  expectedHourlyCompensation: string;
563
561
  natureOfWork: NatureOfWorkDto;
564
562
  modeOfWork: ModeOfWorkDto;
package/dist/index.d.ts CHANGED
@@ -541,8 +541,7 @@ declare class FreelancerChangePasswordDto {
541
541
 
542
542
  declare enum NatureOfWorkDto {
543
543
  FULLTIME = "FULLTIME",
544
- PARTTIME = "PARTTIME",
545
- BOTH = "BOTH"
544
+ HOURLY = "HOURLY"
546
545
  }
547
546
  declare enum ModeOfWorkDto {
548
547
  ONSITE = "ONSITE",
@@ -558,7 +557,6 @@ declare class UpdateFreelancerProfileDto {
558
557
  mobileCode: string;
559
558
  mobile: string;
560
559
  countryId: number;
561
- currency: string;
562
560
  expectedHourlyCompensation: string;
563
561
  natureOfWork: NatureOfWorkDto;
564
562
  modeOfWork: ModeOfWorkDto;
package/dist/index.js CHANGED
@@ -1404,8 +1404,7 @@ __decorateClass([
1404
1404
  var import_class_validator39 = require("class-validator");
1405
1405
  var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
1406
1406
  NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
1407
- NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
1408
- NatureOfWorkDto2["BOTH"] = "BOTH";
1407
+ NatureOfWorkDto2["HOURLY"] = "HOURLY";
1409
1408
  return NatureOfWorkDto2;
1410
1409
  })(NatureOfWorkDto || {});
1411
1410
  var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
@@ -1448,10 +1447,6 @@ __decorateClass([
1448
1447
  (0, import_class_validator39.IsOptional)(),
1449
1448
  (0, import_class_validator39.IsNumber)()
1450
1449
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
1451
- __decorateClass([
1452
- (0, import_class_validator39.IsNotEmpty)({ message: "Please select currency." }),
1453
- (0, import_class_validator39.IsString)({ message: "Please enter valid currency." })
1454
- ], UpdateFreelancerProfileDto.prototype, "currency", 2);
1455
1450
  __decorateClass([
1456
1451
  (0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." }),
1457
1452
  (0, import_class_validator39.IsString)({ message: "Please enter valid expected hourly compensation." })
package/dist/index.mjs CHANGED
@@ -1220,8 +1220,7 @@ import {
1220
1220
  } from "class-validator";
1221
1221
  var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
1222
1222
  NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
1223
- NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
1224
- NatureOfWorkDto2["BOTH"] = "BOTH";
1223
+ NatureOfWorkDto2["HOURLY"] = "HOURLY";
1225
1224
  return NatureOfWorkDto2;
1226
1225
  })(NatureOfWorkDto || {});
1227
1226
  var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
@@ -1264,10 +1263,6 @@ __decorateClass([
1264
1263
  IsOptional14(),
1265
1264
  IsNumber2()
1266
1265
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
1267
- __decorateClass([
1268
- IsNotEmpty33({ message: "Please select currency." }),
1269
- IsString16({ message: "Please enter valid currency." })
1270
- ], UpdateFreelancerProfileDto.prototype, "currency", 2);
1271
1266
  __decorateClass([
1272
1267
  IsNotEmpty33({ message: "Please enter expected hourly compensation." }),
1273
1268
  IsString16({ message: "Please enter valid expected hourly compensation." })
@@ -1,7 +1,6 @@
1
1
  export declare enum NatureOfWorkDto {
2
2
  FULLTIME = "FULLTIME",
3
- PARTTIME = "PARTTIME",
4
- BOTH = "BOTH"
3
+ HOURLY = "HOURLY"
5
4
  }
6
5
  export declare enum ModeOfWorkDto {
7
6
  ONSITE = "ONSITE",
@@ -17,7 +16,6 @@ export declare class UpdateFreelancerProfileDto {
17
16
  mobileCode: string;
18
17
  mobile: string;
19
18
  countryId: number;
20
- currency: string;
21
19
  expectedHourlyCompensation: string;
22
20
  natureOfWork: NatureOfWorkDto;
23
21
  modeOfWork: ModeOfWorkDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.413",
3
+ "version": "1.0.414",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",