@experts_hub/shared 1.0.458 → 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
  }
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 {
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 {
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 session response
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);
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 session response
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.458",
3
+ "version": "1.0.459",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",