@experts_hub/shared 1.0.604 → 1.0.605

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.
@@ -18,6 +18,7 @@ import { EscrowWallet } from "./escrow-wallet.entity";
18
18
  import { JobLocation } from "./job-location.entity";
19
19
  import { Hiring } from "./hiring.entity";
20
20
  import { Rating } from "./rating.entity";
21
+ import { ContractSummary } from "./contract-summary.entity";
21
22
  export declare enum JobLocationEnum {
22
23
  ONSITE = "ONSITE",
23
24
  REMOTE = "REMOTE",
@@ -113,6 +114,7 @@ export declare class Job extends BaseEntity {
113
114
  interviews: Interview[];
114
115
  f2fInterviews: F2FInterview[];
115
116
  recommendations: JobRecommendation[];
117
+ contractSummaries: ContractSummary[];
116
118
  contracts: Contract[];
117
119
  hirings: Hiring[];
118
120
  escrowWallets: EscrowWallet[];
@@ -41,6 +41,7 @@ import { AssessmetQuestion } from "./assessment-question.entity";
41
41
  import { Hiring } from "./hiring.entity";
42
42
  import { FreelancerAssessmentRequest } from "./freelancer-assessment-request.entity";
43
43
  import { AiInterviewRescheduleRequest } from "./ai-interview-reschedule-request.entity";
44
+ import { ContractSummary } from "./contract-summary.entity";
44
45
  export declare enum AccountType {
45
46
  SUPER_ADMIN = "SUPER_ADMIN",
46
47
  ADMIN = "ADMIN",
@@ -127,9 +128,11 @@ export declare class User extends BaseEntity {
127
128
  givenRatings: Rating[];
128
129
  receivedRatings: Rating[];
129
130
  adminUserRoles: AdminUserRole[];
131
+ clientContractSummaries: ContractSummary[];
130
132
  clientContracts: Contract[];
131
133
  clientHirings: Hiring[];
132
134
  clientEscrowWallets: EscrowWallet[];
135
+ freelancerContractSummaries: ContractSummary[];
133
136
  freelancerContracts: Contract[];
134
137
  freelancerHirings: Hiring[];
135
138
  freelancerEscrowWallets: EscrowWallet[];
package/dist/index.d.mts CHANGED
@@ -1804,6 +1804,30 @@ declare class JobLocation extends BaseEntity {
1804
1804
  locationWiseOpenings: number;
1805
1805
  }
1806
1806
 
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
+
1807
1831
  declare enum JobLocationEnum {
1808
1832
  ONSITE = "ONSITE",
1809
1833
  REMOTE = "REMOTE",
@@ -1899,6 +1923,7 @@ declare class Job extends BaseEntity {
1899
1923
  interviews: Interview[];
1900
1924
  f2fInterviews: F2FInterview[];
1901
1925
  recommendations: JobRecommendation[];
1926
+ contractSummaries: ContractSummary[];
1902
1927
  contracts: Contract[];
1903
1928
  hirings: Hiring[];
1904
1929
  escrowWallets: EscrowWallet[];
@@ -2397,9 +2422,11 @@ declare class User extends BaseEntity {
2397
2422
  givenRatings: Rating[];
2398
2423
  receivedRatings: Rating[];
2399
2424
  adminUserRoles: AdminUserRole[];
2425
+ clientContractSummaries: ContractSummary[];
2400
2426
  clientContracts: Contract[];
2401
2427
  clientHirings: Hiring[];
2402
2428
  clientEscrowWallets: EscrowWallet[];
2429
+ freelancerContractSummaries: ContractSummary[];
2403
2430
  freelancerContracts: Contract[];
2404
2431
  freelancerHirings: Hiring[];
2405
2432
  freelancerEscrowWallets: EscrowWallet[];
@@ -4126,30 +4153,6 @@ declare class ZoomMeetingLog extends BaseEntity {
4126
4153
  rawWebhookData: any;
4127
4154
  }
4128
4155
 
4129
- declare enum ContractSummaryStatusEnum {
4130
- PENDING = "PENDING",
4131
- ACTIVE = "ACTIVE",
4132
- COMPLETED = "COMPLETED"
4133
- }
4134
- declare class ContractSummary extends BaseEntity {
4135
- jobId: number;
4136
- job: Job;
4137
- clientId: number;
4138
- client: User;
4139
- freelancerId: number;
4140
- freelancer: User;
4141
- startDate: Date;
4142
- endDate: Date;
4143
- duration: number;
4144
- contractValue: number;
4145
- invoicingCycle: string;
4146
- isMsaSigned: boolean;
4147
- isSowSigned: boolean;
4148
- isEscrowDeposited: boolean;
4149
- escrowDepositeAmount: number;
4150
- status: ContractSummaryStatusEnum;
4151
- }
4152
-
4153
4156
  declare class StripeLog extends BaseEntity {
4154
4157
  stripeEventId: string;
4155
4158
  eventType: string;
package/dist/index.d.ts CHANGED
@@ -1804,6 +1804,30 @@ declare class JobLocation extends BaseEntity {
1804
1804
  locationWiseOpenings: number;
1805
1805
  }
1806
1806
 
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
+
1807
1831
  declare enum JobLocationEnum {
1808
1832
  ONSITE = "ONSITE",
1809
1833
  REMOTE = "REMOTE",
@@ -1899,6 +1923,7 @@ declare class Job extends BaseEntity {
1899
1923
  interviews: Interview[];
1900
1924
  f2fInterviews: F2FInterview[];
1901
1925
  recommendations: JobRecommendation[];
1926
+ contractSummaries: ContractSummary[];
1902
1927
  contracts: Contract[];
1903
1928
  hirings: Hiring[];
1904
1929
  escrowWallets: EscrowWallet[];
@@ -2397,9 +2422,11 @@ declare class User extends BaseEntity {
2397
2422
  givenRatings: Rating[];
2398
2423
  receivedRatings: Rating[];
2399
2424
  adminUserRoles: AdminUserRole[];
2425
+ clientContractSummaries: ContractSummary[];
2400
2426
  clientContracts: Contract[];
2401
2427
  clientHirings: Hiring[];
2402
2428
  clientEscrowWallets: EscrowWallet[];
2429
+ freelancerContractSummaries: ContractSummary[];
2403
2430
  freelancerContracts: Contract[];
2404
2431
  freelancerHirings: Hiring[];
2405
2432
  freelancerEscrowWallets: EscrowWallet[];
@@ -4126,30 +4153,6 @@ declare class ZoomMeetingLog extends BaseEntity {
4126
4153
  rawWebhookData: any;
4127
4154
  }
4128
4155
 
4129
- declare enum ContractSummaryStatusEnum {
4130
- PENDING = "PENDING",
4131
- ACTIVE = "ACTIVE",
4132
- COMPLETED = "COMPLETED"
4133
- }
4134
- declare class ContractSummary extends BaseEntity {
4135
- jobId: number;
4136
- job: Job;
4137
- clientId: number;
4138
- client: User;
4139
- freelancerId: number;
4140
- freelancer: User;
4141
- startDate: Date;
4142
- endDate: Date;
4143
- duration: number;
4144
- contractValue: number;
4145
- invoicingCycle: string;
4146
- isMsaSigned: boolean;
4147
- isSowSigned: boolean;
4148
- isEscrowDeposited: boolean;
4149
- escrowDepositeAmount: number;
4150
- status: ContractSummaryStatusEnum;
4151
- }
4152
-
4153
4156
  declare class StripeLog extends BaseEntity {
4154
4157
  stripeEventId: string;
4155
4158
  eventType: string;