@experts_hub/shared 1.0.656 → 1.0.657

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
@@ -3812,6 +3812,7 @@ declare class GenerateContractDto {
3812
3812
  freelancerId: number;
3813
3813
  contractType?: ContractTypeEnumDto;
3814
3814
  contractStartDate?: string;
3815
+ contractEndDate?: string;
3815
3816
  contractInvoicingCycle?: string;
3816
3817
  preferredEngagementType?: PreferredEngagementTypeEnum$1;
3817
3818
  source?: ContractSourceEnum$1;
package/dist/index.d.ts CHANGED
@@ -3812,6 +3812,7 @@ declare class GenerateContractDto {
3812
3812
  freelancerId: number;
3813
3813
  contractType?: ContractTypeEnumDto;
3814
3814
  contractStartDate?: string;
3815
+ contractEndDate?: string;
3815
3816
  contractInvoicingCycle?: string;
3816
3817
  preferredEngagementType?: PreferredEngagementTypeEnum$1;
3817
3818
  source?: ContractSourceEnum$1;
package/dist/index.js CHANGED
@@ -10381,9 +10381,13 @@ __decorateClass([
10381
10381
  })
10382
10382
  ], GenerateContractDto.prototype, "contractType", 2);
10383
10383
  __decorateClass([
10384
- (0, import_class_validator123.IsOptional)(),
10384
+ (0, import_class_validator123.IsNotEmpty)({ message: "Contract start date is required." }),
10385
10385
  (0, import_class_validator123.IsString)({ message: "Contract start date must be a string." })
10386
10386
  ], GenerateContractDto.prototype, "contractStartDate", 2);
10387
+ __decorateClass([
10388
+ (0, import_class_validator123.IsNotEmpty)({ message: "Contract end date is required." }),
10389
+ (0, import_class_validator123.IsString)({ message: "Contract end date must be a string." })
10390
+ ], GenerateContractDto.prototype, "contractEndDate", 2);
10387
10391
  __decorateClass([
10388
10392
  (0, import_class_validator123.IsOptional)(),
10389
10393
  (0, import_class_validator123.IsString)({ message: "Contract invoicing cycle must be a string." })
package/dist/index.mjs CHANGED
@@ -10478,9 +10478,13 @@ __decorateClass([
10478
10478
  })
10479
10479
  ], GenerateContractDto.prototype, "contractType", 2);
10480
10480
  __decorateClass([
10481
- IsOptional69(),
10481
+ IsNotEmpty97({ message: "Contract start date is required." }),
10482
10482
  IsString71({ message: "Contract start date must be a string." })
10483
10483
  ], GenerateContractDto.prototype, "contractStartDate", 2);
10484
+ __decorateClass([
10485
+ IsNotEmpty97({ message: "Contract end date is required." }),
10486
+ IsString71({ message: "Contract end date must be a string." })
10487
+ ], GenerateContractDto.prototype, "contractEndDate", 2);
10484
10488
  __decorateClass([
10485
10489
  IsOptional69(),
10486
10490
  IsString71({ message: "Contract invoicing cycle must be a string." })
@@ -17,6 +17,7 @@ export declare class GenerateContractDto {
17
17
  freelancerId: number;
18
18
  contractType?: ContractTypeEnumDto;
19
19
  contractStartDate?: string;
20
+ contractEndDate?: string;
20
21
  contractInvoicingCycle?: string;
21
22
  preferredEngagementType?: PreferredEngagementTypeEnum;
22
23
  source?: ContractSourceEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.656",
3
+ "version": "1.0.657",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",