@experts_hub/shared 1.0.448 → 1.0.450
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,11 +1,8 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { StripeWallet } from "./stripe-wallet.entity";
|
|
3
3
|
export declare enum StripeWalletTransactionTypeEnum {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
WITHDRAW = "WITHDRAW",
|
|
7
|
-
INVOICE_PAYMENT = "INVOICE_PAYMENT",
|
|
8
|
-
REFUND = "REFUND"
|
|
4
|
+
CR = "CR",
|
|
5
|
+
BR = "BR"
|
|
9
6
|
}
|
|
10
7
|
export declare enum StripeWalletTransactionStatusEnum {
|
|
11
8
|
PENDING = "PENDING",
|
|
@@ -33,4 +30,6 @@ export declare class StripeWalletTransaction extends BaseEntity {
|
|
|
33
30
|
stripeChargeId: string;
|
|
34
31
|
stripeBalanceTransactionId: string;
|
|
35
32
|
completedAt: Date;
|
|
33
|
+
transactionFor: string;
|
|
34
|
+
metaData: string;
|
|
36
35
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1099,6 +1099,7 @@ declare class Contract extends BaseEntity {
|
|
|
1099
1099
|
status: ContractStatusEnum;
|
|
1100
1100
|
type: ContractTypeEnum;
|
|
1101
1101
|
invoicingCycle: string;
|
|
1102
|
+
escrowDepositeAmount: number;
|
|
1102
1103
|
startDate: Date;
|
|
1103
1104
|
endDate: Date;
|
|
1104
1105
|
originalDocumentUrl: string;
|
|
@@ -1591,11 +1592,8 @@ declare class FreelancerResume extends BaseEntity {
|
|
|
1591
1592
|
}
|
|
1592
1593
|
|
|
1593
1594
|
declare enum StripeWalletTransactionTypeEnum {
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
WITHDRAW = "WITHDRAW",
|
|
1597
|
-
INVOICE_PAYMENT = "INVOICE_PAYMENT",
|
|
1598
|
-
REFUND = "REFUND"
|
|
1595
|
+
CR = "CR",
|
|
1596
|
+
BR = "BR"
|
|
1599
1597
|
}
|
|
1600
1598
|
declare enum StripeWalletTransactionStatusEnum {
|
|
1601
1599
|
PENDING = "PENDING",
|
|
@@ -1623,6 +1621,8 @@ declare class StripeWalletTransaction extends BaseEntity {
|
|
|
1623
1621
|
stripeChargeId: string;
|
|
1624
1622
|
stripeBalanceTransactionId: string;
|
|
1625
1623
|
completedAt: Date;
|
|
1624
|
+
transactionFor: string;
|
|
1625
|
+
metaData: string;
|
|
1626
1626
|
}
|
|
1627
1627
|
|
|
1628
1628
|
declare enum StripeWalletAccountTypeEnum {
|
package/dist/index.d.ts
CHANGED
|
@@ -1099,6 +1099,7 @@ declare class Contract extends BaseEntity {
|
|
|
1099
1099
|
status: ContractStatusEnum;
|
|
1100
1100
|
type: ContractTypeEnum;
|
|
1101
1101
|
invoicingCycle: string;
|
|
1102
|
+
escrowDepositeAmount: number;
|
|
1102
1103
|
startDate: Date;
|
|
1103
1104
|
endDate: Date;
|
|
1104
1105
|
originalDocumentUrl: string;
|
|
@@ -1591,11 +1592,8 @@ declare class FreelancerResume extends BaseEntity {
|
|
|
1591
1592
|
}
|
|
1592
1593
|
|
|
1593
1594
|
declare enum StripeWalletTransactionTypeEnum {
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
WITHDRAW = "WITHDRAW",
|
|
1597
|
-
INVOICE_PAYMENT = "INVOICE_PAYMENT",
|
|
1598
|
-
REFUND = "REFUND"
|
|
1595
|
+
CR = "CR",
|
|
1596
|
+
BR = "BR"
|
|
1599
1597
|
}
|
|
1600
1598
|
declare enum StripeWalletTransactionStatusEnum {
|
|
1601
1599
|
PENDING = "PENDING",
|
|
@@ -1623,6 +1621,8 @@ declare class StripeWalletTransaction extends BaseEntity {
|
|
|
1623
1621
|
stripeChargeId: string;
|
|
1624
1622
|
stripeBalanceTransactionId: string;
|
|
1625
1623
|
completedAt: Date;
|
|
1624
|
+
transactionFor: string;
|
|
1625
|
+
metaData: string;
|
|
1626
1626
|
}
|
|
1627
1627
|
|
|
1628
1628
|
declare enum StripeWalletAccountTypeEnum {
|
package/dist/index.js
CHANGED
|
@@ -3180,6 +3180,15 @@ __decorateClass([
|
|
|
3180
3180
|
__decorateClass([
|
|
3181
3181
|
(0, import_typeorm22.Column)({ name: "invoicing_cycle", type: "varchar", nullable: true })
|
|
3182
3182
|
], Contract.prototype, "invoicingCycle", 2);
|
|
3183
|
+
__decorateClass([
|
|
3184
|
+
(0, import_typeorm22.Column)({
|
|
3185
|
+
name: "escrow_deposite_amount",
|
|
3186
|
+
type: "decimal",
|
|
3187
|
+
precision: 10,
|
|
3188
|
+
scale: 2,
|
|
3189
|
+
nullable: true
|
|
3190
|
+
})
|
|
3191
|
+
], Contract.prototype, "escrowDepositeAmount", 2);
|
|
3183
3192
|
__decorateClass([
|
|
3184
3193
|
(0, import_typeorm22.Column)({
|
|
3185
3194
|
name: "start_date",
|
|
@@ -4749,11 +4758,8 @@ var import_typeorm54 = require("typeorm");
|
|
|
4749
4758
|
// src/entities/stripe-wallet-transaction.entity.ts
|
|
4750
4759
|
var import_typeorm53 = require("typeorm");
|
|
4751
4760
|
var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
|
|
4752
|
-
StripeWalletTransactionTypeEnum2["
|
|
4753
|
-
StripeWalletTransactionTypeEnum2["
|
|
4754
|
-
StripeWalletTransactionTypeEnum2["WITHDRAW"] = "WITHDRAW";
|
|
4755
|
-
StripeWalletTransactionTypeEnum2["INVOICE_PAYMENT"] = "INVOICE_PAYMENT";
|
|
4756
|
-
StripeWalletTransactionTypeEnum2["REFUND"] = "REFUND";
|
|
4761
|
+
StripeWalletTransactionTypeEnum2["CR"] = "CR";
|
|
4762
|
+
StripeWalletTransactionTypeEnum2["BR"] = "BR";
|
|
4757
4763
|
return StripeWalletTransactionTypeEnum2;
|
|
4758
4764
|
})(StripeWalletTransactionTypeEnum || {});
|
|
4759
4765
|
var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactionStatusEnum2) => {
|
|
@@ -4822,6 +4828,12 @@ __decorateClass([
|
|
|
4822
4828
|
__decorateClass([
|
|
4823
4829
|
(0, import_typeorm53.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
|
|
4824
4830
|
], StripeWalletTransaction.prototype, "completedAt", 2);
|
|
4831
|
+
__decorateClass([
|
|
4832
|
+
(0, import_typeorm53.Column)({ name: "transaction_for", type: "varchar", nullable: true })
|
|
4833
|
+
], StripeWalletTransaction.prototype, "transactionFor", 2);
|
|
4834
|
+
__decorateClass([
|
|
4835
|
+
(0, import_typeorm53.Column)({ name: "meta_data", type: "varchar", nullable: true })
|
|
4836
|
+
], StripeWalletTransaction.prototype, "metaData", 2);
|
|
4825
4837
|
StripeWalletTransaction = __decorateClass([
|
|
4826
4838
|
(0, import_typeorm53.Entity)("stripe_wallet_transactions")
|
|
4827
4839
|
], StripeWalletTransaction);
|
package/dist/index.mjs
CHANGED
|
@@ -3106,6 +3106,15 @@ __decorateClass([
|
|
|
3106
3106
|
__decorateClass([
|
|
3107
3107
|
Column22({ name: "invoicing_cycle", type: "varchar", nullable: true })
|
|
3108
3108
|
], Contract.prototype, "invoicingCycle", 2);
|
|
3109
|
+
__decorateClass([
|
|
3110
|
+
Column22({
|
|
3111
|
+
name: "escrow_deposite_amount",
|
|
3112
|
+
type: "decimal",
|
|
3113
|
+
precision: 10,
|
|
3114
|
+
scale: 2,
|
|
3115
|
+
nullable: true
|
|
3116
|
+
})
|
|
3117
|
+
], Contract.prototype, "escrowDepositeAmount", 2);
|
|
3109
3118
|
__decorateClass([
|
|
3110
3119
|
Column22({
|
|
3111
3120
|
name: "start_date",
|
|
@@ -4773,11 +4782,8 @@ import { Entity as Entity53, Column as Column54, Index as Index46, JoinColumn as
|
|
|
4773
4782
|
// src/entities/stripe-wallet-transaction.entity.ts
|
|
4774
4783
|
import { Entity as Entity52, Column as Column53, Index as Index45, ManyToOne as ManyToOne47, JoinColumn as JoinColumn47 } from "typeorm";
|
|
4775
4784
|
var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
|
|
4776
|
-
StripeWalletTransactionTypeEnum2["
|
|
4777
|
-
StripeWalletTransactionTypeEnum2["
|
|
4778
|
-
StripeWalletTransactionTypeEnum2["WITHDRAW"] = "WITHDRAW";
|
|
4779
|
-
StripeWalletTransactionTypeEnum2["INVOICE_PAYMENT"] = "INVOICE_PAYMENT";
|
|
4780
|
-
StripeWalletTransactionTypeEnum2["REFUND"] = "REFUND";
|
|
4785
|
+
StripeWalletTransactionTypeEnum2["CR"] = "CR";
|
|
4786
|
+
StripeWalletTransactionTypeEnum2["BR"] = "BR";
|
|
4781
4787
|
return StripeWalletTransactionTypeEnum2;
|
|
4782
4788
|
})(StripeWalletTransactionTypeEnum || {});
|
|
4783
4789
|
var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactionStatusEnum2) => {
|
|
@@ -4846,6 +4852,12 @@ __decorateClass([
|
|
|
4846
4852
|
__decorateClass([
|
|
4847
4853
|
Column53({ name: "completed_at", type: "timestamptz", nullable: true })
|
|
4848
4854
|
], StripeWalletTransaction.prototype, "completedAt", 2);
|
|
4855
|
+
__decorateClass([
|
|
4856
|
+
Column53({ name: "transaction_for", type: "varchar", nullable: true })
|
|
4857
|
+
], StripeWalletTransaction.prototype, "transactionFor", 2);
|
|
4858
|
+
__decorateClass([
|
|
4859
|
+
Column53({ name: "meta_data", type: "varchar", nullable: true })
|
|
4860
|
+
], StripeWalletTransaction.prototype, "metaData", 2);
|
|
4849
4861
|
StripeWalletTransaction = __decorateClass([
|
|
4850
4862
|
Entity52("stripe_wallet_transactions")
|
|
4851
4863
|
], StripeWalletTransaction);
|