@experts_hub/shared 1.0.368 → 1.0.370

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.
@@ -32,4 +32,6 @@ export declare class Contract extends BaseEntity {
32
32
  contractDocumentUrl: string;
33
33
  clientSignedAt: Date;
34
34
  freelancerSignedAt: Date;
35
+ rejectedAt: Date;
36
+ rejectReason: string;
35
37
  }
package/dist/index.d.mts CHANGED
@@ -1062,6 +1062,8 @@ declare class Contract extends BaseEntity {
1062
1062
  contractDocumentUrl: string;
1063
1063
  clientSignedAt: Date;
1064
1064
  freelancerSignedAt: Date;
1065
+ rejectedAt: Date;
1066
+ rejectReason: string;
1065
1067
  }
1066
1068
 
1067
1069
  declare enum JobLocationEnum {
@@ -2267,6 +2269,12 @@ declare const CONTRACT_PATTERN: {
2267
2269
  fetchContractDetailsForClient: string;
2268
2270
  fetchContractDetailsForFreelancer: string;
2269
2271
  rejectContractsForFreelancer: string;
2272
+ fetchFreelancersForClientContractRepository: string;
2273
+ fetchJobsForClientContractRepository: string;
2274
+ fetchContractsForClientContractRepository: string;
2275
+ fetchClientsForFreelancerContractRepository: string;
2276
+ fetchJobsForFreelancerContractRepository: string;
2277
+ fetchContractsForFreelancerContractRepository: string;
2270
2278
  };
2271
2279
 
2272
2280
  declare const UserTCPAdapter: () => MicroserviceOptions;
package/dist/index.d.ts CHANGED
@@ -1062,6 +1062,8 @@ declare class Contract extends BaseEntity {
1062
1062
  contractDocumentUrl: string;
1063
1063
  clientSignedAt: Date;
1064
1064
  freelancerSignedAt: Date;
1065
+ rejectedAt: Date;
1066
+ rejectReason: string;
1065
1067
  }
1066
1068
 
1067
1069
  declare enum JobLocationEnum {
@@ -2267,6 +2269,12 @@ declare const CONTRACT_PATTERN: {
2267
2269
  fetchContractDetailsForClient: string;
2268
2270
  fetchContractDetailsForFreelancer: string;
2269
2271
  rejectContractsForFreelancer: string;
2272
+ fetchFreelancersForClientContractRepository: string;
2273
+ fetchJobsForClientContractRepository: string;
2274
+ fetchContractsForClientContractRepository: string;
2275
+ fetchClientsForFreelancerContractRepository: string;
2276
+ fetchJobsForFreelancerContractRepository: string;
2277
+ fetchContractsForFreelancerContractRepository: string;
2270
2278
  };
2271
2279
 
2272
2280
  declare const UserTCPAdapter: () => MicroserviceOptions;
package/dist/index.js CHANGED
@@ -3039,6 +3039,16 @@ __decorateClass([
3039
3039
  nullable: true
3040
3040
  })
3041
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);
3042
3052
  Contract = __decorateClass([
3043
3053
  (0, import_typeorm21.Entity)("contracts")
3044
3054
  ], Contract);
@@ -5581,7 +5591,13 @@ var CONTRACT_PATTERN = {
5581
5591
  signContractsForFreelancer: "sign.contracts.for.freelancer",
5582
5592
  fetchContractDetailsForClient: "fetch.contract.details.for.client",
5583
5593
  fetchContractDetailsForFreelancer: "fetch.contract.details.for.freelancer",
5584
- rejectContractsForFreelancer: "reject.contracts.for.freelancer"
5594
+ rejectContractsForFreelancer: "reject.contracts.for.freelancer",
5595
+ fetchFreelancersForClientContractRepository: "fetch.freelancers.for.client.contract.repository",
5596
+ fetchJobsForClientContractRepository: "fetch.jobs.for.client.contract.repository",
5597
+ fetchContractsForClientContractRepository: "fetch.contracts.for.client.contract.repository",
5598
+ fetchClientsForFreelancerContractRepository: "fetch.clients.for.feelancer.contract.repository",
5599
+ fetchJobsForFreelancerContractRepository: "fetch.jobs.for.freelancer.contract.repository",
5600
+ fetchContractsForFreelancerContractRepository: "fetch.contracts.for.freelancer.contract.repository"
5585
5601
  };
5586
5602
 
5587
5603
  // src/adapters/tcp/user.tcp.adapter.ts
package/dist/index.mjs CHANGED
@@ -2992,6 +2992,16 @@ __decorateClass([
2992
2992
  nullable: true
2993
2993
  })
2994
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);
2995
3005
  Contract = __decorateClass([
2996
3006
  Entity20("contracts")
2997
3007
  ], Contract);
@@ -5727,7 +5737,13 @@ var CONTRACT_PATTERN = {
5727
5737
  signContractsForFreelancer: "sign.contracts.for.freelancer",
5728
5738
  fetchContractDetailsForClient: "fetch.contract.details.for.client",
5729
5739
  fetchContractDetailsForFreelancer: "fetch.contract.details.for.freelancer",
5730
- rejectContractsForFreelancer: "reject.contracts.for.freelancer"
5740
+ rejectContractsForFreelancer: "reject.contracts.for.freelancer",
5741
+ fetchFreelancersForClientContractRepository: "fetch.freelancers.for.client.contract.repository",
5742
+ fetchJobsForClientContractRepository: "fetch.jobs.for.client.contract.repository",
5743
+ fetchContractsForClientContractRepository: "fetch.contracts.for.client.contract.repository",
5744
+ fetchClientsForFreelancerContractRepository: "fetch.clients.for.feelancer.contract.repository",
5745
+ fetchJobsForFreelancerContractRepository: "fetch.jobs.for.freelancer.contract.repository",
5746
+ fetchContractsForFreelancerContractRepository: "fetch.contracts.for.freelancer.contract.repository"
5731
5747
  };
5732
5748
 
5733
5749
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -8,4 +8,10 @@ export declare const CONTRACT_PATTERN: {
8
8
  fetchContractDetailsForClient: string;
9
9
  fetchContractDetailsForFreelancer: string;
10
10
  rejectContractsForFreelancer: string;
11
+ fetchFreelancersForClientContractRepository: string;
12
+ fetchJobsForClientContractRepository: string;
13
+ fetchContractsForClientContractRepository: string;
14
+ fetchClientsForFreelancerContractRepository: string;
15
+ fetchJobsForFreelancerContractRepository: string;
16
+ fetchContractsForFreelancerContractRepository: string;
11
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.368",
3
+ "version": "1.0.370",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",