@experts_hub/shared 1.0.457 → 1.0.459
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.
|
@@ -31,9 +31,12 @@ export declare class StripeTransaction extends BaseEntity {
|
|
|
31
31
|
totalPaidCents: number;
|
|
32
32
|
netReceivedCents: number;
|
|
33
33
|
stripeChargeId: string;
|
|
34
|
+
stripeReceiptUrl: string;
|
|
34
35
|
stripeBalanceTransactionId: string;
|
|
35
36
|
checkoutSessionCompletedAt: Date;
|
|
36
37
|
completedAt: Date;
|
|
37
38
|
rawSessionPayload: Record<string, any> | null;
|
|
38
39
|
rawSessionResponse: Record<string, any> | null;
|
|
40
|
+
billingDetails: Record<string, any> | null;
|
|
41
|
+
paymentMethodDetails: Record<string, any> | null;
|
|
39
42
|
}
|
|
@@ -2,6 +2,7 @@ import { BaseEntity } from "./base.entity";
|
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
3
|
import { WalletTransaction } from "./wallet-transaction.entity";
|
|
4
4
|
export declare enum WalletAccountTypeEnum {
|
|
5
|
+
ADMIN = "ADMIN",
|
|
5
6
|
BUSINESS = "BUSINESS",
|
|
6
7
|
FREELANCER = "FREELANCER"
|
|
7
8
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1655,11 +1655,14 @@ declare class StripeTransaction extends BaseEntity {
|
|
|
1655
1655
|
totalPaidCents: number;
|
|
1656
1656
|
netReceivedCents: number;
|
|
1657
1657
|
stripeChargeId: string;
|
|
1658
|
+
stripeReceiptUrl: string;
|
|
1658
1659
|
stripeBalanceTransactionId: string;
|
|
1659
1660
|
checkoutSessionCompletedAt: Date;
|
|
1660
1661
|
completedAt: Date;
|
|
1661
1662
|
rawSessionPayload: Record<string, any> | null;
|
|
1662
1663
|
rawSessionResponse: Record<string, any> | null;
|
|
1664
|
+
billingDetails: Record<string, any> | null;
|
|
1665
|
+
paymentMethodDetails: Record<string, any> | null;
|
|
1663
1666
|
}
|
|
1664
1667
|
|
|
1665
1668
|
declare enum WalletTransactionTypeEnum {
|
|
@@ -1687,6 +1690,7 @@ declare class WalletTransaction extends BaseEntity {
|
|
|
1687
1690
|
}
|
|
1688
1691
|
|
|
1689
1692
|
declare enum WalletAccountTypeEnum {
|
|
1693
|
+
ADMIN = "ADMIN",
|
|
1690
1694
|
BUSINESS = "BUSINESS",
|
|
1691
1695
|
FREELANCER = "FREELANCER"
|
|
1692
1696
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1655,11 +1655,14 @@ declare class StripeTransaction extends BaseEntity {
|
|
|
1655
1655
|
totalPaidCents: number;
|
|
1656
1656
|
netReceivedCents: number;
|
|
1657
1657
|
stripeChargeId: string;
|
|
1658
|
+
stripeReceiptUrl: string;
|
|
1658
1659
|
stripeBalanceTransactionId: string;
|
|
1659
1660
|
checkoutSessionCompletedAt: Date;
|
|
1660
1661
|
completedAt: Date;
|
|
1661
1662
|
rawSessionPayload: Record<string, any> | null;
|
|
1662
1663
|
rawSessionResponse: Record<string, any> | null;
|
|
1664
|
+
billingDetails: Record<string, any> | null;
|
|
1665
|
+
paymentMethodDetails: Record<string, any> | null;
|
|
1663
1666
|
}
|
|
1664
1667
|
|
|
1665
1668
|
declare enum WalletTransactionTypeEnum {
|
|
@@ -1687,6 +1690,7 @@ declare class WalletTransaction extends BaseEntity {
|
|
|
1687
1690
|
}
|
|
1688
1691
|
|
|
1689
1692
|
declare enum WalletAccountTypeEnum {
|
|
1693
|
+
ADMIN = "ADMIN",
|
|
1690
1694
|
BUSINESS = "BUSINESS",
|
|
1691
1695
|
FREELANCER = "FREELANCER"
|
|
1692
1696
|
}
|
package/dist/index.js
CHANGED
|
@@ -4863,7 +4863,7 @@ var StripeTransactionStatusEnum = /* @__PURE__ */ ((StripeTransactionStatusEnum2
|
|
|
4863
4863
|
return StripeTransactionStatusEnum2;
|
|
4864
4864
|
})(StripeTransactionStatusEnum || {});
|
|
4865
4865
|
var StripeTransaction = class extends BaseEntity {
|
|
4866
|
-
// Full Stripe
|
|
4866
|
+
// Full Stripe payment method details response
|
|
4867
4867
|
};
|
|
4868
4868
|
__decorateClass([
|
|
4869
4869
|
(0, import_typeorm55.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
@@ -4915,6 +4915,9 @@ __decorateClass([
|
|
|
4915
4915
|
__decorateClass([
|
|
4916
4916
|
(0, import_typeorm55.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
|
|
4917
4917
|
], StripeTransaction.prototype, "stripeChargeId", 2);
|
|
4918
|
+
__decorateClass([
|
|
4919
|
+
(0, import_typeorm55.Column)({ name: "stripe_receipt_url", type: "varchar", nullable: true })
|
|
4920
|
+
], StripeTransaction.prototype, "stripeReceiptUrl", 2);
|
|
4918
4921
|
__decorateClass([
|
|
4919
4922
|
(0, import_typeorm55.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
|
|
4920
4923
|
], StripeTransaction.prototype, "stripeBalanceTransactionId", 2);
|
|
@@ -4930,6 +4933,12 @@ __decorateClass([
|
|
|
4930
4933
|
__decorateClass([
|
|
4931
4934
|
(0, import_typeorm55.Column)({ name: "raw_session_response", type: "jsonb", nullable: true })
|
|
4932
4935
|
], StripeTransaction.prototype, "rawSessionResponse", 2);
|
|
4936
|
+
__decorateClass([
|
|
4937
|
+
(0, import_typeorm55.Column)({ name: "billing_details", type: "jsonb", nullable: true })
|
|
4938
|
+
], StripeTransaction.prototype, "billingDetails", 2);
|
|
4939
|
+
__decorateClass([
|
|
4940
|
+
(0, import_typeorm55.Column)({ name: "payment_method_details", type: "jsonb", nullable: true })
|
|
4941
|
+
], StripeTransaction.prototype, "paymentMethodDetails", 2);
|
|
4933
4942
|
StripeTransaction = __decorateClass([
|
|
4934
4943
|
(0, import_typeorm55.Entity)("stripe_transactions")
|
|
4935
4944
|
], StripeTransaction);
|
|
@@ -4993,6 +5002,7 @@ WalletTransaction = __decorateClass([
|
|
|
4993
5002
|
|
|
4994
5003
|
// src/entities/wallet.entity.ts
|
|
4995
5004
|
var WalletAccountTypeEnum = /* @__PURE__ */ ((WalletAccountTypeEnum2) => {
|
|
5005
|
+
WalletAccountTypeEnum2["ADMIN"] = "ADMIN";
|
|
4996
5006
|
WalletAccountTypeEnum2["BUSINESS"] = "BUSINESS";
|
|
4997
5007
|
WalletAccountTypeEnum2["FREELANCER"] = "FREELANCER";
|
|
4998
5008
|
return WalletAccountTypeEnum2;
|
package/dist/index.mjs
CHANGED
|
@@ -4890,7 +4890,7 @@ var StripeTransactionStatusEnum = /* @__PURE__ */ ((StripeTransactionStatusEnum2
|
|
|
4890
4890
|
return StripeTransactionStatusEnum2;
|
|
4891
4891
|
})(StripeTransactionStatusEnum || {});
|
|
4892
4892
|
var StripeTransaction = class extends BaseEntity {
|
|
4893
|
-
// Full Stripe
|
|
4893
|
+
// Full Stripe payment method details response
|
|
4894
4894
|
};
|
|
4895
4895
|
__decorateClass([
|
|
4896
4896
|
Column55({ name: "user_id", type: "integer", nullable: true }),
|
|
@@ -4942,6 +4942,9 @@ __decorateClass([
|
|
|
4942
4942
|
__decorateClass([
|
|
4943
4943
|
Column55({ name: "stripe_charge_id", type: "varchar", nullable: true })
|
|
4944
4944
|
], StripeTransaction.prototype, "stripeChargeId", 2);
|
|
4945
|
+
__decorateClass([
|
|
4946
|
+
Column55({ name: "stripe_receipt_url", type: "varchar", nullable: true })
|
|
4947
|
+
], StripeTransaction.prototype, "stripeReceiptUrl", 2);
|
|
4945
4948
|
__decorateClass([
|
|
4946
4949
|
Column55({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
|
|
4947
4950
|
], StripeTransaction.prototype, "stripeBalanceTransactionId", 2);
|
|
@@ -4957,6 +4960,12 @@ __decorateClass([
|
|
|
4957
4960
|
__decorateClass([
|
|
4958
4961
|
Column55({ name: "raw_session_response", type: "jsonb", nullable: true })
|
|
4959
4962
|
], StripeTransaction.prototype, "rawSessionResponse", 2);
|
|
4963
|
+
__decorateClass([
|
|
4964
|
+
Column55({ name: "billing_details", type: "jsonb", nullable: true })
|
|
4965
|
+
], StripeTransaction.prototype, "billingDetails", 2);
|
|
4966
|
+
__decorateClass([
|
|
4967
|
+
Column55({ name: "payment_method_details", type: "jsonb", nullable: true })
|
|
4968
|
+
], StripeTransaction.prototype, "paymentMethodDetails", 2);
|
|
4960
4969
|
StripeTransaction = __decorateClass([
|
|
4961
4970
|
Entity54("stripe_transactions")
|
|
4962
4971
|
], StripeTransaction);
|
|
@@ -5020,6 +5029,7 @@ WalletTransaction = __decorateClass([
|
|
|
5020
5029
|
|
|
5021
5030
|
// src/entities/wallet.entity.ts
|
|
5022
5031
|
var WalletAccountTypeEnum = /* @__PURE__ */ ((WalletAccountTypeEnum2) => {
|
|
5032
|
+
WalletAccountTypeEnum2["ADMIN"] = "ADMIN";
|
|
5023
5033
|
WalletAccountTypeEnum2["BUSINESS"] = "BUSINESS";
|
|
5024
5034
|
WalletAccountTypeEnum2["FREELANCER"] = "FREELANCER";
|
|
5025
5035
|
return WalletAccountTypeEnum2;
|