@experts_hub/shared 1.0.382 → 1.0.383

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.
@@ -3,12 +3,12 @@ import { Job } from "./job.entity";
3
3
  import { User } from "./user.entity";
4
4
  export declare enum ContractStatusEnum {
5
5
  GENERATED = "GENERATED",
6
- ACTIVE = "ACTIVE",
6
+ DRAFTED = "DRAFTED",
7
7
  SENT = "SENT",
8
8
  SIGNED = "SIGNED",
9
+ ACTIVE = "ACTIVE",
9
10
  CANCELLED = "CANCELLED",
10
11
  DISPUTED = "DISPUTED",
11
- DRAFTED = "DRAFTED",
12
12
  REJECTED = "REJECTED",
13
13
  RENEWED = "RENEWED",
14
14
  EXPIRED = "EXPIRED"
@@ -33,6 +33,8 @@ export declare class Contract extends BaseEntity {
33
33
  originalDocumentUrl: string;
34
34
  contractDocumentUrl: string;
35
35
  clientSignedAt: Date;
36
+ freelancerViewed: boolean;
37
+ freelancerViewedAt: Date;
36
38
  freelancerSignedAt: Date;
37
39
  rejectedAt: Date;
38
40
  rejectReason: string;
package/dist/index.d.mts CHANGED
@@ -1033,12 +1033,12 @@ declare class JobRecommendation {
1033
1033
 
1034
1034
  declare enum ContractStatusEnum {
1035
1035
  GENERATED = "GENERATED",
1036
- ACTIVE = "ACTIVE",
1036
+ DRAFTED = "DRAFTED",
1037
1037
  SENT = "SENT",
1038
1038
  SIGNED = "SIGNED",
1039
+ ACTIVE = "ACTIVE",
1039
1040
  CANCELLED = "CANCELLED",
1040
1041
  DISPUTED = "DISPUTED",
1041
- DRAFTED = "DRAFTED",
1042
1042
  REJECTED = "REJECTED",
1043
1043
  RENEWED = "RENEWED",
1044
1044
  EXPIRED = "EXPIRED"
@@ -1063,6 +1063,8 @@ declare class Contract extends BaseEntity {
1063
1063
  originalDocumentUrl: string;
1064
1064
  contractDocumentUrl: string;
1065
1065
  clientSignedAt: Date;
1066
+ freelancerViewed: boolean;
1067
+ freelancerViewedAt: Date;
1066
1068
  freelancerSignedAt: Date;
1067
1069
  rejectedAt: Date;
1068
1070
  rejectReason: string;
package/dist/index.d.ts CHANGED
@@ -1033,12 +1033,12 @@ declare class JobRecommendation {
1033
1033
 
1034
1034
  declare enum ContractStatusEnum {
1035
1035
  GENERATED = "GENERATED",
1036
- ACTIVE = "ACTIVE",
1036
+ DRAFTED = "DRAFTED",
1037
1037
  SENT = "SENT",
1038
1038
  SIGNED = "SIGNED",
1039
+ ACTIVE = "ACTIVE",
1039
1040
  CANCELLED = "CANCELLED",
1040
1041
  DISPUTED = "DISPUTED",
1041
- DRAFTED = "DRAFTED",
1042
1042
  REJECTED = "REJECTED",
1043
1043
  RENEWED = "RENEWED",
1044
1044
  EXPIRED = "EXPIRED"
@@ -1063,6 +1063,8 @@ declare class Contract extends BaseEntity {
1063
1063
  originalDocumentUrl: string;
1064
1064
  contractDocumentUrl: string;
1065
1065
  clientSignedAt: Date;
1066
+ freelancerViewed: boolean;
1067
+ freelancerViewedAt: Date;
1066
1068
  freelancerSignedAt: Date;
1067
1069
  rejectedAt: Date;
1068
1070
  rejectReason: string;
package/dist/index.js CHANGED
@@ -2954,12 +2954,12 @@ JobRecommendation = __decorateClass([
2954
2954
  var import_typeorm21 = require("typeorm");
2955
2955
  var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
2956
2956
  ContractStatusEnum2["GENERATED"] = "GENERATED";
2957
- ContractStatusEnum2["ACTIVE"] = "ACTIVE";
2957
+ ContractStatusEnum2["DRAFTED"] = "DRAFTED";
2958
2958
  ContractStatusEnum2["SENT"] = "SENT";
2959
2959
  ContractStatusEnum2["SIGNED"] = "SIGNED";
2960
+ ContractStatusEnum2["ACTIVE"] = "ACTIVE";
2960
2961
  ContractStatusEnum2["CANCELLED"] = "CANCELLED";
2961
2962
  ContractStatusEnum2["DISPUTED"] = "DISPUTED";
2962
- ContractStatusEnum2["DRAFTED"] = "DRAFTED";
2963
2963
  ContractStatusEnum2["REJECTED"] = "REJECTED";
2964
2964
  ContractStatusEnum2["RENEWED"] = "RENEWED";
2965
2965
  ContractStatusEnum2["EXPIRED"] = "EXPIRED";
@@ -3046,6 +3046,16 @@ __decorateClass([
3046
3046
  nullable: true
3047
3047
  })
3048
3048
  ], Contract.prototype, "clientSignedAt", 2);
3049
+ __decorateClass([
3050
+ (0, import_typeorm21.Column)({ name: "freelancer_viewed", type: "boolean", default: false })
3051
+ ], Contract.prototype, "freelancerViewed", 2);
3052
+ __decorateClass([
3053
+ (0, import_typeorm21.Column)({
3054
+ name: "freelancer_viewed_at",
3055
+ type: "timestamp with time zone",
3056
+ nullable: true
3057
+ })
3058
+ ], Contract.prototype, "freelancerViewedAt", 2);
3049
3059
  __decorateClass([
3050
3060
  (0, import_typeorm21.Column)({
3051
3061
  name: "freelancer_signed_at",
package/dist/index.mjs CHANGED
@@ -2898,12 +2898,12 @@ JobRecommendation = __decorateClass([
2898
2898
  import { Entity as Entity20, Column as Column21, Index as Index14, ManyToOne as ManyToOne19, JoinColumn as JoinColumn19 } from "typeorm";
2899
2899
  var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
2900
2900
  ContractStatusEnum2["GENERATED"] = "GENERATED";
2901
- ContractStatusEnum2["ACTIVE"] = "ACTIVE";
2901
+ ContractStatusEnum2["DRAFTED"] = "DRAFTED";
2902
2902
  ContractStatusEnum2["SENT"] = "SENT";
2903
2903
  ContractStatusEnum2["SIGNED"] = "SIGNED";
2904
+ ContractStatusEnum2["ACTIVE"] = "ACTIVE";
2904
2905
  ContractStatusEnum2["CANCELLED"] = "CANCELLED";
2905
2906
  ContractStatusEnum2["DISPUTED"] = "DISPUTED";
2906
- ContractStatusEnum2["DRAFTED"] = "DRAFTED";
2907
2907
  ContractStatusEnum2["REJECTED"] = "REJECTED";
2908
2908
  ContractStatusEnum2["RENEWED"] = "RENEWED";
2909
2909
  ContractStatusEnum2["EXPIRED"] = "EXPIRED";
@@ -2990,6 +2990,16 @@ __decorateClass([
2990
2990
  nullable: true
2991
2991
  })
2992
2992
  ], Contract.prototype, "clientSignedAt", 2);
2993
+ __decorateClass([
2994
+ Column21({ name: "freelancer_viewed", type: "boolean", default: false })
2995
+ ], Contract.prototype, "freelancerViewed", 2);
2996
+ __decorateClass([
2997
+ Column21({
2998
+ name: "freelancer_viewed_at",
2999
+ type: "timestamp with time zone",
3000
+ nullable: true
3001
+ })
3002
+ ], Contract.prototype, "freelancerViewedAt", 2);
2993
3003
  __decorateClass([
2994
3004
  Column21({
2995
3005
  name: "freelancer_signed_at",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.382",
3
+ "version": "1.0.383",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",