@experts_hub/shared 1.0.367 → 1.0.369

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.
@@ -9,7 +9,8 @@ export declare enum ContractStatusEnum {
9
9
  DISPUTED = "DISPUTED",
10
10
  DRAFTED = "DRAFTED",
11
11
  REJECTED = "REJECTED",
12
- RENEWED = "RENEWED"
12
+ RENEWED = "RENEWED",
13
+ EXPIRED = "EXPIRED"
13
14
  }
14
15
  export declare enum ContractTypeEnum {
15
16
  NDA = "NDA",
@@ -31,4 +32,6 @@ export declare class Contract extends BaseEntity {
31
32
  contractDocumentUrl: string;
32
33
  clientSignedAt: Date;
33
34
  freelancerSignedAt: Date;
35
+ rejectedAt: Date;
36
+ rejectReason: string;
34
37
  }
package/dist/index.d.mts CHANGED
@@ -1039,7 +1039,8 @@ declare enum ContractStatusEnum {
1039
1039
  DISPUTED = "DISPUTED",
1040
1040
  DRAFTED = "DRAFTED",
1041
1041
  REJECTED = "REJECTED",
1042
- RENEWED = "RENEWED"
1042
+ RENEWED = "RENEWED",
1043
+ EXPIRED = "EXPIRED"
1043
1044
  }
1044
1045
  declare enum ContractTypeEnum {
1045
1046
  NDA = "NDA",
@@ -1061,6 +1062,8 @@ declare class Contract extends BaseEntity {
1061
1062
  contractDocumentUrl: string;
1062
1063
  clientSignedAt: Date;
1063
1064
  freelancerSignedAt: Date;
1065
+ rejectedAt: Date;
1066
+ rejectReason: string;
1064
1067
  }
1065
1068
 
1066
1069
  declare enum JobLocationEnum {
package/dist/index.d.ts CHANGED
@@ -1039,7 +1039,8 @@ declare enum ContractStatusEnum {
1039
1039
  DISPUTED = "DISPUTED",
1040
1040
  DRAFTED = "DRAFTED",
1041
1041
  REJECTED = "REJECTED",
1042
- RENEWED = "RENEWED"
1042
+ RENEWED = "RENEWED",
1043
+ EXPIRED = "EXPIRED"
1043
1044
  }
1044
1045
  declare enum ContractTypeEnum {
1045
1046
  NDA = "NDA",
@@ -1061,6 +1062,8 @@ declare class Contract extends BaseEntity {
1061
1062
  contractDocumentUrl: string;
1062
1063
  clientSignedAt: Date;
1063
1064
  freelancerSignedAt: Date;
1065
+ rejectedAt: Date;
1066
+ rejectReason: string;
1064
1067
  }
1065
1068
 
1066
1069
  declare enum JobLocationEnum {
package/dist/index.js CHANGED
@@ -2952,6 +2952,7 @@ var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
2952
2952
  ContractStatusEnum2["DRAFTED"] = "DRAFTED";
2953
2953
  ContractStatusEnum2["REJECTED"] = "REJECTED";
2954
2954
  ContractStatusEnum2["RENEWED"] = "RENEWED";
2955
+ ContractStatusEnum2["EXPIRED"] = "EXPIRED";
2955
2956
  return ContractStatusEnum2;
2956
2957
  })(ContractStatusEnum || {});
2957
2958
  var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
@@ -3038,6 +3039,16 @@ __decorateClass([
3038
3039
  nullable: true
3039
3040
  })
3040
3041
  ], Contract.prototype, "freelancerSignedAt", 2);
3042
+ __decorateClass([
3043
+ (0, import_typeorm21.Column)({
3044
+ name: "rejectd_at",
3045
+ type: "timestamp with time zone",
3046
+ nullable: true
3047
+ })
3048
+ ], Contract.prototype, "rejectedAt", 2);
3049
+ __decorateClass([
3050
+ (0, import_typeorm21.Column)({ name: "reject_reason", type: "varchar", nullable: true })
3051
+ ], Contract.prototype, "rejectReason", 2);
3041
3052
  Contract = __decorateClass([
3042
3053
  (0, import_typeorm21.Entity)("contracts")
3043
3054
  ], Contract);
package/dist/index.mjs CHANGED
@@ -2905,6 +2905,7 @@ var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
2905
2905
  ContractStatusEnum2["DRAFTED"] = "DRAFTED";
2906
2906
  ContractStatusEnum2["REJECTED"] = "REJECTED";
2907
2907
  ContractStatusEnum2["RENEWED"] = "RENEWED";
2908
+ ContractStatusEnum2["EXPIRED"] = "EXPIRED";
2908
2909
  return ContractStatusEnum2;
2909
2910
  })(ContractStatusEnum || {});
2910
2911
  var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
@@ -2991,6 +2992,16 @@ __decorateClass([
2991
2992
  nullable: true
2992
2993
  })
2993
2994
  ], Contract.prototype, "freelancerSignedAt", 2);
2995
+ __decorateClass([
2996
+ Column21({
2997
+ name: "rejectd_at",
2998
+ type: "timestamp with time zone",
2999
+ nullable: true
3000
+ })
3001
+ ], Contract.prototype, "rejectedAt", 2);
3002
+ __decorateClass([
3003
+ Column21({ name: "reject_reason", type: "varchar", nullable: true })
3004
+ ], Contract.prototype, "rejectReason", 2);
2994
3005
  Contract = __decorateClass([
2995
3006
  Entity20("contracts")
2996
3007
  ], Contract);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.367",
3
+ "version": "1.0.369",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",