@experts_hub/shared 1.0.455 → 1.0.457

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.
@@ -34,5 +34,6 @@ export declare class StripeTransaction extends BaseEntity {
34
34
  stripeBalanceTransactionId: string;
35
35
  checkoutSessionCompletedAt: Date;
36
36
  completedAt: Date;
37
- rawSessionData: string;
37
+ rawSessionPayload: Record<string, any> | null;
38
+ rawSessionResponse: Record<string, any> | null;
38
39
  }
package/dist/index.d.mts CHANGED
@@ -1658,7 +1658,8 @@ declare class StripeTransaction extends BaseEntity {
1658
1658
  stripeBalanceTransactionId: string;
1659
1659
  checkoutSessionCompletedAt: Date;
1660
1660
  completedAt: Date;
1661
- rawSessionData: string;
1661
+ rawSessionPayload: Record<string, any> | null;
1662
+ rawSessionResponse: Record<string, any> | null;
1662
1663
  }
1663
1664
 
1664
1665
  declare enum WalletTransactionTypeEnum {
package/dist/index.d.ts CHANGED
@@ -1658,7 +1658,8 @@ declare class StripeTransaction extends BaseEntity {
1658
1658
  stripeBalanceTransactionId: string;
1659
1659
  checkoutSessionCompletedAt: Date;
1660
1660
  completedAt: Date;
1661
- rawSessionData: string;
1661
+ rawSessionPayload: Record<string, any> | null;
1662
+ rawSessionResponse: Record<string, any> | null;
1662
1663
  }
1663
1664
 
1664
1665
  declare enum WalletTransactionTypeEnum {
package/dist/index.js CHANGED
@@ -4863,6 +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
4867
  };
4867
4868
  __decorateClass([
4868
4869
  (0, import_typeorm55.Column)({ name: "user_id", type: "integer", nullable: true }),
@@ -4894,22 +4895,22 @@ __decorateClass([
4894
4895
  (0, import_typeorm55.Column)({ name: "description", type: "text", nullable: true })
4895
4896
  ], StripeTransaction.prototype, "description", 2);
4896
4897
  __decorateClass([
4897
- (0, import_typeorm55.Column)({ name: "deposit_amount_cents", type: "bigint", nullable: true, default: 0 })
4898
+ (0, import_typeorm55.Column)({ name: "deposit_amount_cents", type: "bigint", default: 0 })
4898
4899
  ], StripeTransaction.prototype, "depositAmountCents", 2);
4899
4900
  __decorateClass([
4900
- (0, import_typeorm55.Column)({ name: "platform_fee_cents", type: "bigint", nullable: true, default: 0 })
4901
+ (0, import_typeorm55.Column)({ name: "platform_fee_cents", type: "bigint", default: 0 })
4901
4902
  ], StripeTransaction.prototype, "platformFeeCents", 2);
4902
4903
  __decorateClass([
4903
- (0, import_typeorm55.Column)({ name: "tax_cents", type: "bigint", nullable: true, default: 0 })
4904
+ (0, import_typeorm55.Column)({ name: "tax_cents", type: "bigint", default: 0 })
4904
4905
  ], StripeTransaction.prototype, "taxCents", 2);
4905
4906
  __decorateClass([
4906
- (0, import_typeorm55.Column)({ name: "stripe_fee_cents", type: "bigint", nullable: true, default: 0 })
4907
+ (0, import_typeorm55.Column)({ name: "stripe_fee_cents", type: "bigint", default: 0 })
4907
4908
  ], StripeTransaction.prototype, "stripeFeeCents", 2);
4908
4909
  __decorateClass([
4909
- (0, import_typeorm55.Column)({ name: "total_paid_cents", type: "bigint", nullable: true, default: 0 })
4910
+ (0, import_typeorm55.Column)({ name: "total_paid_cents", type: "bigint", default: 0 })
4910
4911
  ], StripeTransaction.prototype, "totalPaidCents", 2);
4911
4912
  __decorateClass([
4912
- (0, import_typeorm55.Column)({ name: "net_received_cents", type: "bigint", nullable: true, default: 0 })
4913
+ (0, import_typeorm55.Column)({ name: "net_received_cents", type: "bigint", default: 0 })
4913
4914
  ], StripeTransaction.prototype, "netReceivedCents", 2);
4914
4915
  __decorateClass([
4915
4916
  (0, import_typeorm55.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
@@ -4924,8 +4925,11 @@ __decorateClass([
4924
4925
  (0, import_typeorm55.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4925
4926
  ], StripeTransaction.prototype, "completedAt", 2);
4926
4927
  __decorateClass([
4927
- (0, import_typeorm55.Column)({ name: "raw_session_data", type: "jsonb", nullable: true })
4928
- ], StripeTransaction.prototype, "rawSessionData", 2);
4928
+ (0, import_typeorm55.Column)({ name: "raw_session_payload", type: "jsonb", nullable: true })
4929
+ ], StripeTransaction.prototype, "rawSessionPayload", 2);
4930
+ __decorateClass([
4931
+ (0, import_typeorm55.Column)({ name: "raw_session_response", type: "jsonb", nullable: true })
4932
+ ], StripeTransaction.prototype, "rawSessionResponse", 2);
4929
4933
  StripeTransaction = __decorateClass([
4930
4934
  (0, import_typeorm55.Entity)("stripe_transactions")
4931
4935
  ], StripeTransaction);
package/dist/index.mjs CHANGED
@@ -4890,6 +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
4894
  };
4894
4895
  __decorateClass([
4895
4896
  Column55({ name: "user_id", type: "integer", nullable: true }),
@@ -4921,22 +4922,22 @@ __decorateClass([
4921
4922
  Column55({ name: "description", type: "text", nullable: true })
4922
4923
  ], StripeTransaction.prototype, "description", 2);
4923
4924
  __decorateClass([
4924
- Column55({ name: "deposit_amount_cents", type: "bigint", nullable: true, default: 0 })
4925
+ Column55({ name: "deposit_amount_cents", type: "bigint", default: 0 })
4925
4926
  ], StripeTransaction.prototype, "depositAmountCents", 2);
4926
4927
  __decorateClass([
4927
- Column55({ name: "platform_fee_cents", type: "bigint", nullable: true, default: 0 })
4928
+ Column55({ name: "platform_fee_cents", type: "bigint", default: 0 })
4928
4929
  ], StripeTransaction.prototype, "platformFeeCents", 2);
4929
4930
  __decorateClass([
4930
- Column55({ name: "tax_cents", type: "bigint", nullable: true, default: 0 })
4931
+ Column55({ name: "tax_cents", type: "bigint", default: 0 })
4931
4932
  ], StripeTransaction.prototype, "taxCents", 2);
4932
4933
  __decorateClass([
4933
- Column55({ name: "stripe_fee_cents", type: "bigint", nullable: true, default: 0 })
4934
+ Column55({ name: "stripe_fee_cents", type: "bigint", default: 0 })
4934
4935
  ], StripeTransaction.prototype, "stripeFeeCents", 2);
4935
4936
  __decorateClass([
4936
- Column55({ name: "total_paid_cents", type: "bigint", nullable: true, default: 0 })
4937
+ Column55({ name: "total_paid_cents", type: "bigint", default: 0 })
4937
4938
  ], StripeTransaction.prototype, "totalPaidCents", 2);
4938
4939
  __decorateClass([
4939
- Column55({ name: "net_received_cents", type: "bigint", nullable: true, default: 0 })
4940
+ Column55({ name: "net_received_cents", type: "bigint", default: 0 })
4940
4941
  ], StripeTransaction.prototype, "netReceivedCents", 2);
4941
4942
  __decorateClass([
4942
4943
  Column55({ name: "stripe_charge_id", type: "varchar", nullable: true })
@@ -4951,8 +4952,11 @@ __decorateClass([
4951
4952
  Column55({ name: "completed_at", type: "timestamptz", nullable: true })
4952
4953
  ], StripeTransaction.prototype, "completedAt", 2);
4953
4954
  __decorateClass([
4954
- Column55({ name: "raw_session_data", type: "jsonb", nullable: true })
4955
- ], StripeTransaction.prototype, "rawSessionData", 2);
4955
+ Column55({ name: "raw_session_payload", type: "jsonb", nullable: true })
4956
+ ], StripeTransaction.prototype, "rawSessionPayload", 2);
4957
+ __decorateClass([
4958
+ Column55({ name: "raw_session_response", type: "jsonb", nullable: true })
4959
+ ], StripeTransaction.prototype, "rawSessionResponse", 2);
4956
4960
  StripeTransaction = __decorateClass([
4957
4961
  Entity54("stripe_transactions")
4958
4962
  ], StripeTransaction);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.455",
3
+ "version": "1.0.457",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",