@experts_hub/shared 1.0.411 → 1.0.412

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.
@@ -24,4 +24,13 @@ export declare class StripeWalletTransaction extends BaseEntity {
24
24
  stripeSessionId: string;
25
25
  stripePaymentIntentId: string;
26
26
  description: string;
27
+ depositAmountCents: number;
28
+ platformFeeCents: number;
29
+ taxCents: number;
30
+ stripeFeeCents: number;
31
+ totalPaidCents: number;
32
+ netReceivedCents: number;
33
+ stripeChargeId: string;
34
+ stripeBalanceTransactionId: string;
35
+ completedAt: Date;
27
36
  }
@@ -16,6 +16,7 @@ export declare class StripeWallet extends BaseEntity {
16
16
  stripeAccountId: string;
17
17
  stripeCustomerId: string;
18
18
  walletBalance: number;
19
+ walletBalanceCents: number;
19
20
  onboardingStatus: StripeWalletOnboardingStatusEnum;
20
21
  stripeMetadata: Record<string, any>;
21
22
  transactions: StripeWalletTransaction[];
package/dist/index.d.mts CHANGED
@@ -1537,6 +1537,15 @@ declare class StripeWalletTransaction extends BaseEntity {
1537
1537
  stripeSessionId: string;
1538
1538
  stripePaymentIntentId: string;
1539
1539
  description: string;
1540
+ depositAmountCents: number;
1541
+ platformFeeCents: number;
1542
+ taxCents: number;
1543
+ stripeFeeCents: number;
1544
+ totalPaidCents: number;
1545
+ netReceivedCents: number;
1546
+ stripeChargeId: string;
1547
+ stripeBalanceTransactionId: string;
1548
+ completedAt: Date;
1540
1549
  }
1541
1550
 
1542
1551
  declare enum StripeWalletAccountTypeEnum {
@@ -1554,6 +1563,7 @@ declare class StripeWallet extends BaseEntity {
1554
1563
  stripeAccountId: string;
1555
1564
  stripeCustomerId: string;
1556
1565
  walletBalance: number;
1566
+ walletBalanceCents: number;
1557
1567
  onboardingStatus: StripeWalletOnboardingStatusEnum;
1558
1568
  stripeMetadata: Record<string, any>;
1559
1569
  transactions: StripeWalletTransaction[];
package/dist/index.d.ts CHANGED
@@ -1537,6 +1537,15 @@ declare class StripeWalletTransaction extends BaseEntity {
1537
1537
  stripeSessionId: string;
1538
1538
  stripePaymentIntentId: string;
1539
1539
  description: string;
1540
+ depositAmountCents: number;
1541
+ platformFeeCents: number;
1542
+ taxCents: number;
1543
+ stripeFeeCents: number;
1544
+ totalPaidCents: number;
1545
+ netReceivedCents: number;
1546
+ stripeChargeId: string;
1547
+ stripeBalanceTransactionId: string;
1548
+ completedAt: Date;
1540
1549
  }
1541
1550
 
1542
1551
  declare enum StripeWalletAccountTypeEnum {
@@ -1554,6 +1563,7 @@ declare class StripeWallet extends BaseEntity {
1554
1563
  stripeAccountId: string;
1555
1564
  stripeCustomerId: string;
1556
1565
  walletBalance: number;
1566
+ walletBalanceCents: number;
1557
1567
  onboardingStatus: StripeWalletOnboardingStatusEnum;
1558
1568
  stripeMetadata: Record<string, any>;
1559
1569
  transactions: StripeWalletTransaction[];
package/dist/index.js CHANGED
@@ -4565,6 +4565,33 @@ __decorateClass([
4565
4565
  __decorateClass([
4566
4566
  (0, import_typeorm51.Column)({ name: "description", type: "text", nullable: true })
4567
4567
  ], StripeWalletTransaction.prototype, "description", 2);
4568
+ __decorateClass([
4569
+ (0, import_typeorm51.Column)({ name: "deposit_amount_cents", type: "bigint", nullable: true, default: 0 })
4570
+ ], StripeWalletTransaction.prototype, "depositAmountCents", 2);
4571
+ __decorateClass([
4572
+ (0, import_typeorm51.Column)({ name: "platform_fee_cents", type: "bigint", nullable: true, default: 0 })
4573
+ ], StripeWalletTransaction.prototype, "platformFeeCents", 2);
4574
+ __decorateClass([
4575
+ (0, import_typeorm51.Column)({ name: "tax_cents", type: "bigint", nullable: true, default: 0 })
4576
+ ], StripeWalletTransaction.prototype, "taxCents", 2);
4577
+ __decorateClass([
4578
+ (0, import_typeorm51.Column)({ name: "stripe_fee_cents", type: "bigint", nullable: true, default: 0 })
4579
+ ], StripeWalletTransaction.prototype, "stripeFeeCents", 2);
4580
+ __decorateClass([
4581
+ (0, import_typeorm51.Column)({ name: "total_paid_cents", type: "bigint", nullable: true, default: 0 })
4582
+ ], StripeWalletTransaction.prototype, "totalPaidCents", 2);
4583
+ __decorateClass([
4584
+ (0, import_typeorm51.Column)({ name: "net_received_cents", type: "bigint", nullable: true, default: 0 })
4585
+ ], StripeWalletTransaction.prototype, "netReceivedCents", 2);
4586
+ __decorateClass([
4587
+ (0, import_typeorm51.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
4588
+ ], StripeWalletTransaction.prototype, "stripeChargeId", 2);
4589
+ __decorateClass([
4590
+ (0, import_typeorm51.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
4591
+ ], StripeWalletTransaction.prototype, "stripeBalanceTransactionId", 2);
4592
+ __decorateClass([
4593
+ (0, import_typeorm51.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4594
+ ], StripeWalletTransaction.prototype, "completedAt", 2);
4568
4595
  StripeWalletTransaction = __decorateClass([
4569
4596
  (0, import_typeorm51.Entity)("stripe_wallet_transactions")
4570
4597
  ], StripeWalletTransaction);
@@ -4602,6 +4629,9 @@ __decorateClass([
4602
4629
  __decorateClass([
4603
4630
  (0, import_typeorm52.Column)({ name: "wallet_balance", type: "bigint", default: 0 })
4604
4631
  ], StripeWallet.prototype, "walletBalance", 2);
4632
+ __decorateClass([
4633
+ (0, import_typeorm52.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0 })
4634
+ ], StripeWallet.prototype, "walletBalanceCents", 2);
4605
4635
  __decorateClass([
4606
4636
  (0, import_typeorm52.Column)({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
4607
4637
  ], StripeWallet.prototype, "onboardingStatus", 2);
package/dist/index.mjs CHANGED
@@ -4592,6 +4592,33 @@ __decorateClass([
4592
4592
  __decorateClass([
4593
4593
  Column51({ name: "description", type: "text", nullable: true })
4594
4594
  ], StripeWalletTransaction.prototype, "description", 2);
4595
+ __decorateClass([
4596
+ Column51({ name: "deposit_amount_cents", type: "bigint", nullable: true, default: 0 })
4597
+ ], StripeWalletTransaction.prototype, "depositAmountCents", 2);
4598
+ __decorateClass([
4599
+ Column51({ name: "platform_fee_cents", type: "bigint", nullable: true, default: 0 })
4600
+ ], StripeWalletTransaction.prototype, "platformFeeCents", 2);
4601
+ __decorateClass([
4602
+ Column51({ name: "tax_cents", type: "bigint", nullable: true, default: 0 })
4603
+ ], StripeWalletTransaction.prototype, "taxCents", 2);
4604
+ __decorateClass([
4605
+ Column51({ name: "stripe_fee_cents", type: "bigint", nullable: true, default: 0 })
4606
+ ], StripeWalletTransaction.prototype, "stripeFeeCents", 2);
4607
+ __decorateClass([
4608
+ Column51({ name: "total_paid_cents", type: "bigint", nullable: true, default: 0 })
4609
+ ], StripeWalletTransaction.prototype, "totalPaidCents", 2);
4610
+ __decorateClass([
4611
+ Column51({ name: "net_received_cents", type: "bigint", nullable: true, default: 0 })
4612
+ ], StripeWalletTransaction.prototype, "netReceivedCents", 2);
4613
+ __decorateClass([
4614
+ Column51({ name: "stripe_charge_id", type: "varchar", nullable: true })
4615
+ ], StripeWalletTransaction.prototype, "stripeChargeId", 2);
4616
+ __decorateClass([
4617
+ Column51({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
4618
+ ], StripeWalletTransaction.prototype, "stripeBalanceTransactionId", 2);
4619
+ __decorateClass([
4620
+ Column51({ name: "completed_at", type: "timestamptz", nullable: true })
4621
+ ], StripeWalletTransaction.prototype, "completedAt", 2);
4595
4622
  StripeWalletTransaction = __decorateClass([
4596
4623
  Entity50("stripe_wallet_transactions")
4597
4624
  ], StripeWalletTransaction);
@@ -4629,6 +4656,9 @@ __decorateClass([
4629
4656
  __decorateClass([
4630
4657
  Column52({ name: "wallet_balance", type: "bigint", default: 0 })
4631
4658
  ], StripeWallet.prototype, "walletBalance", 2);
4659
+ __decorateClass([
4660
+ Column52({ name: "wallet_balance_cents", type: "bigint", default: 0 })
4661
+ ], StripeWallet.prototype, "walletBalanceCents", 2);
4632
4662
  __decorateClass([
4633
4663
  Column52({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
4634
4664
  ], StripeWallet.prototype, "onboardingStatus", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.411",
3
+ "version": "1.0.412",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",