@experts_hub/shared 1.0.605 → 1.0.607

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.
@@ -1,6 +1,7 @@
1
1
  import { BaseEntity } from "./base.entity";
2
2
  import { Job } from "./job.entity";
3
3
  import { User } from "./user.entity";
4
+ import { Contract } from "./contract.entity";
4
5
  export declare enum ContractSummaryStatusEnum {
5
6
  PENDING = "PENDING",
6
7
  ACTIVE = "ACTIVE",
@@ -23,4 +24,5 @@ export declare class ContractSummary extends BaseEntity {
23
24
  isEscrowDeposited: boolean;
24
25
  escrowDepositeAmount: number;
25
26
  status: ContractSummaryStatusEnum;
27
+ contracts: Contract[];
26
28
  }
@@ -2,6 +2,7 @@ import { BaseEntity } from "./base.entity";
2
2
  import { Job } from "./job.entity";
3
3
  import { User } from "./user.entity";
4
4
  import { EscrowWallet } from "./escrow-wallet.entity";
5
+ import { ContractSummary } from "./contract-summary.entity";
5
6
  export declare enum ContractStatusEnum {
6
7
  GENERATED = "GENERATED",
7
8
  DRAFTED = "DRAFTED",
@@ -22,6 +23,8 @@ export declare enum ContractTypeEnum {
22
23
  }
23
24
  export declare class Contract extends BaseEntity {
24
25
  contractUniqueId: string;
26
+ contractSummaryId: number;
27
+ contractSummary: ContractSummary;
25
28
  jobId: number;
26
29
  job: Job;
27
30
  clientId: number;
package/dist/index.d.mts CHANGED
@@ -1707,6 +1707,31 @@ declare class EscrowWallet extends BaseEntity {
1707
1707
  escrowWalletTransactions: EscrowWalletTransaction[];
1708
1708
  }
1709
1709
 
1710
+ declare enum ContractSummaryStatusEnum {
1711
+ PENDING = "PENDING",
1712
+ ACTIVE = "ACTIVE",
1713
+ COMPLETED = "COMPLETED"
1714
+ }
1715
+ declare class ContractSummary extends BaseEntity {
1716
+ jobId: number;
1717
+ job: Job;
1718
+ clientId: number;
1719
+ client: User;
1720
+ freelancerId: number;
1721
+ freelancer: User;
1722
+ startDate: Date;
1723
+ endDate: Date;
1724
+ duration: number;
1725
+ contractValue: number;
1726
+ invoicingCycle: string;
1727
+ isMsaSigned: boolean;
1728
+ isSowSigned: boolean;
1729
+ isEscrowDeposited: boolean;
1730
+ escrowDepositeAmount: number;
1731
+ status: ContractSummaryStatusEnum;
1732
+ contracts: Contract[];
1733
+ }
1734
+
1710
1735
  declare enum ContractStatusEnum {
1711
1736
  GENERATED = "GENERATED",
1712
1737
  DRAFTED = "DRAFTED",
@@ -1727,6 +1752,8 @@ declare enum ContractTypeEnum {
1727
1752
  }
1728
1753
  declare class Contract extends BaseEntity {
1729
1754
  contractUniqueId: string;
1755
+ contractSummaryId: number;
1756
+ contractSummary: ContractSummary;
1730
1757
  jobId: number;
1731
1758
  job: Job;
1732
1759
  clientId: number;
@@ -1804,30 +1831,6 @@ declare class JobLocation extends BaseEntity {
1804
1831
  locationWiseOpenings: number;
1805
1832
  }
1806
1833
 
1807
- declare enum ContractSummaryStatusEnum {
1808
- PENDING = "PENDING",
1809
- ACTIVE = "ACTIVE",
1810
- COMPLETED = "COMPLETED"
1811
- }
1812
- declare class ContractSummary extends BaseEntity {
1813
- jobId: number;
1814
- job: Job;
1815
- clientId: number;
1816
- client: User;
1817
- freelancerId: number;
1818
- freelancer: User;
1819
- startDate: Date;
1820
- endDate: Date;
1821
- duration: number;
1822
- contractValue: number;
1823
- invoicingCycle: string;
1824
- isMsaSigned: boolean;
1825
- isSowSigned: boolean;
1826
- isEscrowDeposited: boolean;
1827
- escrowDepositeAmount: number;
1828
- status: ContractSummaryStatusEnum;
1829
- }
1830
-
1831
1834
  declare enum JobLocationEnum {
1832
1835
  ONSITE = "ONSITE",
1833
1836
  REMOTE = "REMOTE",
@@ -3944,6 +3947,7 @@ declare const WALLET_ADMIN_PATTERN: {
3944
3947
 
3945
3948
  declare class AddTopupEscrowAmountDto {
3946
3949
  amount: number;
3950
+ escrowWalletUuid: string;
3947
3951
  }
3948
3952
 
3949
3953
  declare class DebitCommissionFteHiringDto {
package/dist/index.d.ts CHANGED
@@ -1707,6 +1707,31 @@ declare class EscrowWallet extends BaseEntity {
1707
1707
  escrowWalletTransactions: EscrowWalletTransaction[];
1708
1708
  }
1709
1709
 
1710
+ declare enum ContractSummaryStatusEnum {
1711
+ PENDING = "PENDING",
1712
+ ACTIVE = "ACTIVE",
1713
+ COMPLETED = "COMPLETED"
1714
+ }
1715
+ declare class ContractSummary extends BaseEntity {
1716
+ jobId: number;
1717
+ job: Job;
1718
+ clientId: number;
1719
+ client: User;
1720
+ freelancerId: number;
1721
+ freelancer: User;
1722
+ startDate: Date;
1723
+ endDate: Date;
1724
+ duration: number;
1725
+ contractValue: number;
1726
+ invoicingCycle: string;
1727
+ isMsaSigned: boolean;
1728
+ isSowSigned: boolean;
1729
+ isEscrowDeposited: boolean;
1730
+ escrowDepositeAmount: number;
1731
+ status: ContractSummaryStatusEnum;
1732
+ contracts: Contract[];
1733
+ }
1734
+
1710
1735
  declare enum ContractStatusEnum {
1711
1736
  GENERATED = "GENERATED",
1712
1737
  DRAFTED = "DRAFTED",
@@ -1727,6 +1752,8 @@ declare enum ContractTypeEnum {
1727
1752
  }
1728
1753
  declare class Contract extends BaseEntity {
1729
1754
  contractUniqueId: string;
1755
+ contractSummaryId: number;
1756
+ contractSummary: ContractSummary;
1730
1757
  jobId: number;
1731
1758
  job: Job;
1732
1759
  clientId: number;
@@ -1804,30 +1831,6 @@ declare class JobLocation extends BaseEntity {
1804
1831
  locationWiseOpenings: number;
1805
1832
  }
1806
1833
 
1807
- declare enum ContractSummaryStatusEnum {
1808
- PENDING = "PENDING",
1809
- ACTIVE = "ACTIVE",
1810
- COMPLETED = "COMPLETED"
1811
- }
1812
- declare class ContractSummary extends BaseEntity {
1813
- jobId: number;
1814
- job: Job;
1815
- clientId: number;
1816
- client: User;
1817
- freelancerId: number;
1818
- freelancer: User;
1819
- startDate: Date;
1820
- endDate: Date;
1821
- duration: number;
1822
- contractValue: number;
1823
- invoicingCycle: string;
1824
- isMsaSigned: boolean;
1825
- isSowSigned: boolean;
1826
- isEscrowDeposited: boolean;
1827
- escrowDepositeAmount: number;
1828
- status: ContractSummaryStatusEnum;
1829
- }
1830
-
1831
1834
  declare enum JobLocationEnum {
1832
1835
  ONSITE = "ONSITE",
1833
1836
  REMOTE = "REMOTE",
@@ -3944,6 +3947,7 @@ declare const WALLET_ADMIN_PATTERN: {
3944
3947
 
3945
3948
  declare class AddTopupEscrowAmountDto {
3946
3949
  amount: number;
3950
+ escrowWalletUuid: string;
3947
3951
  }
3948
3952
 
3949
3953
  declare class DebitCommissionFteHiringDto {