@experts_hub/shared 1.0.489 → 1.0.490

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
@@ -2766,6 +2766,7 @@ declare class CreateDisputeDto {
2766
2766
  clientId: number;
2767
2767
  freelancerId: number;
2768
2768
  disputeType: string;
2769
+ initiatorType: string;
2769
2770
  description: any;
2770
2771
  comment?: string;
2771
2772
  dynamicFields?: Record<string, any>;
package/dist/index.d.ts CHANGED
@@ -2766,6 +2766,7 @@ declare class CreateDisputeDto {
2766
2766
  clientId: number;
2767
2767
  freelancerId: number;
2768
2768
  disputeType: string;
2769
+ initiatorType: string;
2769
2770
  description: any;
2770
2771
  comment?: string;
2771
2772
  dynamicFields?: Record<string, any>;
package/dist/index.js CHANGED
@@ -7023,6 +7023,10 @@ __decorateClass([
7023
7023
  (0, import_class_validator77.IsString)(),
7024
7024
  (0, import_class_validator77.IsIn)(["JOB", "INVOICE"])
7025
7025
  ], CreateDisputeDto.prototype, "disputeType", 2);
7026
+ __decorateClass([
7027
+ (0, import_class_validator77.IsNotEmpty)({ message: "Please provide initiator type." }),
7028
+ (0, import_class_validator77.IsString)()
7029
+ ], CreateDisputeDto.prototype, "initiatorType", 2);
7026
7030
  __decorateClass([
7027
7031
  (0, import_class_validator77.IsNotEmpty)({ message: "Please enter description." }),
7028
7032
  (0, import_class_validator77.IsString)({ message: "Description must be a string" }),
package/dist/index.mjs CHANGED
@@ -7173,6 +7173,10 @@ __decorateClass([
7173
7173
  IsString45(),
7174
7174
  IsIn4(["JOB", "INVOICE"])
7175
7175
  ], CreateDisputeDto.prototype, "disputeType", 2);
7176
+ __decorateClass([
7177
+ IsNotEmpty67({ message: "Please provide initiator type." }),
7178
+ IsString45()
7179
+ ], CreateDisputeDto.prototype, "initiatorType", 2);
7176
7180
  __decorateClass([
7177
7181
  IsNotEmpty67({ message: "Please enter description." }),
7178
7182
  IsString45({ message: "Description must be a string" }),
@@ -2,6 +2,7 @@ export declare class CreateDisputeDto {
2
2
  clientId: number;
3
3
  freelancerId: number;
4
4
  disputeType: string;
5
+ initiatorType: string;
5
6
  description: any;
6
7
  comment?: string;
7
8
  dynamicFields?: Record<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.489",
3
+ "version": "1.0.490",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",