@experts_hub/shared 1.0.638 → 1.0.641
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.
- package/dist/entities/contract-summary.entity.d.ts +2 -1
- package/dist/entities/contract.entity.d.ts +2 -1
- package/dist/entities/hiring.entity.d.ts +1 -0
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +6 -0
- package/dist/index.mjs +6 -0
- package/dist/modules/contract/pattern/pattern.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,7 +6,8 @@ import { Contract } from "./contract.entity";
|
|
|
6
6
|
export declare enum ContractSummaryStatusEnum {
|
|
7
7
|
PENDING = "PENDING",
|
|
8
8
|
ACTIVE = "ACTIVE",
|
|
9
|
-
COMPLETED = "COMPLETED"
|
|
9
|
+
COMPLETED = "COMPLETED",
|
|
10
|
+
CLOSED = "CLOSED"
|
|
10
11
|
}
|
|
11
12
|
export declare enum ContractSummaryPreferredEngagementTypeEnum {
|
|
12
13
|
FREELANCE = "FREELANCE"
|
package/dist/index.d.mts
CHANGED
|
@@ -957,7 +957,8 @@ declare class TimesheetLine extends BaseEntity {
|
|
|
957
957
|
declare enum ContractSummaryStatusEnum {
|
|
958
958
|
PENDING = "PENDING",
|
|
959
959
|
ACTIVE = "ACTIVE",
|
|
960
|
-
COMPLETED = "COMPLETED"
|
|
960
|
+
COMPLETED = "COMPLETED",
|
|
961
|
+
CLOSED = "CLOSED"
|
|
961
962
|
}
|
|
962
963
|
declare enum ContractSummaryPreferredEngagementTypeEnum {
|
|
963
964
|
FREELANCE = "FREELANCE"
|
|
@@ -1003,6 +1004,7 @@ declare class Hiring extends BaseEntity {
|
|
|
1003
1004
|
contractSummary?: ContractSummary;
|
|
1004
1005
|
freelancerNatureOfWork: HiredFreelancerNatureOfWorkEnum;
|
|
1005
1006
|
isInvoiceGenrated: boolean;
|
|
1007
|
+
isClosed?: boolean;
|
|
1006
1008
|
}
|
|
1007
1009
|
|
|
1008
1010
|
declare enum InvoiceTypeEnum {
|
|
@@ -1094,7 +1096,8 @@ declare enum ContractStatusEnum {
|
|
|
1094
1096
|
DISPUTED = "DISPUTED",
|
|
1095
1097
|
REJECTED = "REJECTED",
|
|
1096
1098
|
RENEWED = "RENEWED",
|
|
1097
|
-
EXPIRED = "EXPIRED"
|
|
1099
|
+
EXPIRED = "EXPIRED",
|
|
1100
|
+
CLOSED = "CLOSED"
|
|
1098
1101
|
}
|
|
1099
1102
|
declare enum ContractTypeEnum {
|
|
1100
1103
|
NDA = "NDA",
|
|
@@ -3626,6 +3629,7 @@ declare const CONTRACT_PATTERN: {
|
|
|
3626
3629
|
fetchClientDropdownForFreelancer: string;
|
|
3627
3630
|
escrowFundForContract: string;
|
|
3628
3631
|
markContractAsActive: string;
|
|
3632
|
+
handleContractManualClosure: string;
|
|
3629
3633
|
fetchActiveContractsForFreelancer: string;
|
|
3630
3634
|
fetchHiredFreelancerForGroupCreation: string;
|
|
3631
3635
|
fetchActiveContractFreelancerCount: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -957,7 +957,8 @@ declare class TimesheetLine extends BaseEntity {
|
|
|
957
957
|
declare enum ContractSummaryStatusEnum {
|
|
958
958
|
PENDING = "PENDING",
|
|
959
959
|
ACTIVE = "ACTIVE",
|
|
960
|
-
COMPLETED = "COMPLETED"
|
|
960
|
+
COMPLETED = "COMPLETED",
|
|
961
|
+
CLOSED = "CLOSED"
|
|
961
962
|
}
|
|
962
963
|
declare enum ContractSummaryPreferredEngagementTypeEnum {
|
|
963
964
|
FREELANCE = "FREELANCE"
|
|
@@ -1003,6 +1004,7 @@ declare class Hiring extends BaseEntity {
|
|
|
1003
1004
|
contractSummary?: ContractSummary;
|
|
1004
1005
|
freelancerNatureOfWork: HiredFreelancerNatureOfWorkEnum;
|
|
1005
1006
|
isInvoiceGenrated: boolean;
|
|
1007
|
+
isClosed?: boolean;
|
|
1006
1008
|
}
|
|
1007
1009
|
|
|
1008
1010
|
declare enum InvoiceTypeEnum {
|
|
@@ -1094,7 +1096,8 @@ declare enum ContractStatusEnum {
|
|
|
1094
1096
|
DISPUTED = "DISPUTED",
|
|
1095
1097
|
REJECTED = "REJECTED",
|
|
1096
1098
|
RENEWED = "RENEWED",
|
|
1097
|
-
EXPIRED = "EXPIRED"
|
|
1099
|
+
EXPIRED = "EXPIRED",
|
|
1100
|
+
CLOSED = "CLOSED"
|
|
1098
1101
|
}
|
|
1099
1102
|
declare enum ContractTypeEnum {
|
|
1100
1103
|
NDA = "NDA",
|
|
@@ -3626,6 +3629,7 @@ declare const CONTRACT_PATTERN: {
|
|
|
3626
3629
|
fetchClientDropdownForFreelancer: string;
|
|
3627
3630
|
escrowFundForContract: string;
|
|
3628
3631
|
markContractAsActive: string;
|
|
3632
|
+
handleContractManualClosure: string;
|
|
3629
3633
|
fetchActiveContractsForFreelancer: string;
|
|
3630
3634
|
fetchHiredFreelancerForGroupCreation: string;
|
|
3631
3635
|
fetchActiveContractFreelancerCount: string;
|
package/dist/index.js
CHANGED
|
@@ -3394,6 +3394,7 @@ var ContractSummaryStatusEnum = /* @__PURE__ */ ((ContractSummaryStatusEnum2) =>
|
|
|
3394
3394
|
ContractSummaryStatusEnum2["PENDING"] = "PENDING";
|
|
3395
3395
|
ContractSummaryStatusEnum2["ACTIVE"] = "ACTIVE";
|
|
3396
3396
|
ContractSummaryStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
3397
|
+
ContractSummaryStatusEnum2["CLOSED"] = "CLOSED";
|
|
3397
3398
|
return ContractSummaryStatusEnum2;
|
|
3398
3399
|
})(ContractSummaryStatusEnum || {});
|
|
3399
3400
|
var ContractSummaryPreferredEngagementTypeEnum = /* @__PURE__ */ ((ContractSummaryPreferredEngagementTypeEnum2) => {
|
|
@@ -3577,6 +3578,9 @@ __decorateClass([
|
|
|
3577
3578
|
__decorateClass([
|
|
3578
3579
|
(0, import_typeorm27.Column)({ name: "is_invoice_genrated", type: "boolean", default: false })
|
|
3579
3580
|
], Hiring.prototype, "isInvoiceGenrated", 2);
|
|
3581
|
+
__decorateClass([
|
|
3582
|
+
(0, import_typeorm27.Column)({ name: "is_closed", type: "boolean", nullable: true })
|
|
3583
|
+
], Hiring.prototype, "isClosed", 2);
|
|
3580
3584
|
Hiring = __decorateClass([
|
|
3581
3585
|
(0, import_typeorm27.Entity)("hirings")
|
|
3582
3586
|
], Hiring);
|
|
@@ -3813,6 +3817,7 @@ var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
|
|
|
3813
3817
|
ContractStatusEnum2["REJECTED"] = "REJECTED";
|
|
3814
3818
|
ContractStatusEnum2["RENEWED"] = "RENEWED";
|
|
3815
3819
|
ContractStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
3820
|
+
ContractStatusEnum2["CLOSED"] = "CLOSED";
|
|
3816
3821
|
return ContractStatusEnum2;
|
|
3817
3822
|
})(ContractStatusEnum || {});
|
|
3818
3823
|
var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
|
|
@@ -9871,6 +9876,7 @@ var CONTRACT_PATTERN = {
|
|
|
9871
9876
|
fetchClientDropdownForFreelancer: "fetch.client.dropdown.for.freelancer",
|
|
9872
9877
|
escrowFundForContract: "escrow.fund.for.contract",
|
|
9873
9878
|
markContractAsActive: "mark.contract.as.active",
|
|
9879
|
+
handleContractManualClosure: "handle.contract.manual.closure",
|
|
9874
9880
|
fetchActiveContractsForFreelancer: "fetch.active.contracts.for.freelancer",
|
|
9875
9881
|
fetchHiredFreelancerForGroupCreation: "fetch.hired.freelancer.for.group.creation",
|
|
9876
9882
|
fetchActiveContractFreelancerCount: "fetch.active.contract.freelancer.count",
|
package/dist/index.mjs
CHANGED
|
@@ -3147,6 +3147,7 @@ var ContractSummaryStatusEnum = /* @__PURE__ */ ((ContractSummaryStatusEnum2) =>
|
|
|
3147
3147
|
ContractSummaryStatusEnum2["PENDING"] = "PENDING";
|
|
3148
3148
|
ContractSummaryStatusEnum2["ACTIVE"] = "ACTIVE";
|
|
3149
3149
|
ContractSummaryStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
3150
|
+
ContractSummaryStatusEnum2["CLOSED"] = "CLOSED";
|
|
3150
3151
|
return ContractSummaryStatusEnum2;
|
|
3151
3152
|
})(ContractSummaryStatusEnum || {});
|
|
3152
3153
|
var ContractSummaryPreferredEngagementTypeEnum = /* @__PURE__ */ ((ContractSummaryPreferredEngagementTypeEnum2) => {
|
|
@@ -3330,6 +3331,9 @@ __decorateClass([
|
|
|
3330
3331
|
__decorateClass([
|
|
3331
3332
|
Column27({ name: "is_invoice_genrated", type: "boolean", default: false })
|
|
3332
3333
|
], Hiring.prototype, "isInvoiceGenrated", 2);
|
|
3334
|
+
__decorateClass([
|
|
3335
|
+
Column27({ name: "is_closed", type: "boolean", nullable: true })
|
|
3336
|
+
], Hiring.prototype, "isClosed", 2);
|
|
3333
3337
|
Hiring = __decorateClass([
|
|
3334
3338
|
Entity26("hirings")
|
|
3335
3339
|
], Hiring);
|
|
@@ -3566,6 +3570,7 @@ var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
|
|
|
3566
3570
|
ContractStatusEnum2["REJECTED"] = "REJECTED";
|
|
3567
3571
|
ContractStatusEnum2["RENEWED"] = "RENEWED";
|
|
3568
3572
|
ContractStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
3573
|
+
ContractStatusEnum2["CLOSED"] = "CLOSED";
|
|
3569
3574
|
return ContractStatusEnum2;
|
|
3570
3575
|
})(ContractStatusEnum || {});
|
|
3571
3576
|
var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
|
|
@@ -9968,6 +9973,7 @@ var CONTRACT_PATTERN = {
|
|
|
9968
9973
|
fetchClientDropdownForFreelancer: "fetch.client.dropdown.for.freelancer",
|
|
9969
9974
|
escrowFundForContract: "escrow.fund.for.contract",
|
|
9970
9975
|
markContractAsActive: "mark.contract.as.active",
|
|
9976
|
+
handleContractManualClosure: "handle.contract.manual.closure",
|
|
9971
9977
|
fetchActiveContractsForFreelancer: "fetch.active.contracts.for.freelancer",
|
|
9972
9978
|
fetchHiredFreelancerForGroupCreation: "fetch.hired.freelancer.for.group.creation",
|
|
9973
9979
|
fetchActiveContractFreelancerCount: "fetch.active.contract.freelancer.count",
|
|
@@ -8,6 +8,7 @@ export declare const CONTRACT_PATTERN: {
|
|
|
8
8
|
fetchClientDropdownForFreelancer: string;
|
|
9
9
|
escrowFundForContract: string;
|
|
10
10
|
markContractAsActive: string;
|
|
11
|
+
handleContractManualClosure: string;
|
|
11
12
|
fetchActiveContractsForFreelancer: string;
|
|
12
13
|
fetchHiredFreelancerForGroupCreation: string;
|
|
13
14
|
fetchActiveContractFreelancerCount: string;
|