@experts_hub/shared 1.0.449 → 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
- ADD_FUNDS = "ADD_FUNDS",
5
- TRANSFER = "TRANSFER",
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
@@ -1592,11 +1592,8 @@ declare class FreelancerResume extends BaseEntity {
1592
1592
  }
1593
1593
 
1594
1594
  declare enum StripeWalletTransactionTypeEnum {
1595
- ADD_FUNDS = "ADD_FUNDS",
1596
- TRANSFER = "TRANSFER",
1597
- WITHDRAW = "WITHDRAW",
1598
- INVOICE_PAYMENT = "INVOICE_PAYMENT",
1599
- REFUND = "REFUND"
1595
+ CR = "CR",
1596
+ BR = "BR"
1600
1597
  }
1601
1598
  declare enum StripeWalletTransactionStatusEnum {
1602
1599
  PENDING = "PENDING",
@@ -1624,6 +1621,8 @@ declare class StripeWalletTransaction extends BaseEntity {
1624
1621
  stripeChargeId: string;
1625
1622
  stripeBalanceTransactionId: string;
1626
1623
  completedAt: Date;
1624
+ transactionFor: string;
1625
+ metaData: string;
1627
1626
  }
1628
1627
 
1629
1628
  declare enum StripeWalletAccountTypeEnum {
package/dist/index.d.ts CHANGED
@@ -1592,11 +1592,8 @@ declare class FreelancerResume extends BaseEntity {
1592
1592
  }
1593
1593
 
1594
1594
  declare enum StripeWalletTransactionTypeEnum {
1595
- ADD_FUNDS = "ADD_FUNDS",
1596
- TRANSFER = "TRANSFER",
1597
- WITHDRAW = "WITHDRAW",
1598
- INVOICE_PAYMENT = "INVOICE_PAYMENT",
1599
- REFUND = "REFUND"
1595
+ CR = "CR",
1596
+ BR = "BR"
1600
1597
  }
1601
1598
  declare enum StripeWalletTransactionStatusEnum {
1602
1599
  PENDING = "PENDING",
@@ -1624,6 +1621,8 @@ declare class StripeWalletTransaction extends BaseEntity {
1624
1621
  stripeChargeId: string;
1625
1622
  stripeBalanceTransactionId: string;
1626
1623
  completedAt: Date;
1624
+ transactionFor: string;
1625
+ metaData: string;
1627
1626
  }
1628
1627
 
1629
1628
  declare enum StripeWalletAccountTypeEnum {
package/dist/index.js CHANGED
@@ -4758,11 +4758,8 @@ var import_typeorm54 = require("typeorm");
4758
4758
  // src/entities/stripe-wallet-transaction.entity.ts
4759
4759
  var import_typeorm53 = require("typeorm");
4760
4760
  var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
4761
- StripeWalletTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
4762
- StripeWalletTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
4763
- StripeWalletTransactionTypeEnum2["WITHDRAW"] = "WITHDRAW";
4764
- StripeWalletTransactionTypeEnum2["INVOICE_PAYMENT"] = "INVOICE_PAYMENT";
4765
- StripeWalletTransactionTypeEnum2["REFUND"] = "REFUND";
4761
+ StripeWalletTransactionTypeEnum2["CR"] = "CR";
4762
+ StripeWalletTransactionTypeEnum2["BR"] = "BR";
4766
4763
  return StripeWalletTransactionTypeEnum2;
4767
4764
  })(StripeWalletTransactionTypeEnum || {});
4768
4765
  var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactionStatusEnum2) => {
@@ -4831,6 +4828,12 @@ __decorateClass([
4831
4828
  __decorateClass([
4832
4829
  (0, import_typeorm53.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4833
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);
4834
4837
  StripeWalletTransaction = __decorateClass([
4835
4838
  (0, import_typeorm53.Entity)("stripe_wallet_transactions")
4836
4839
  ], StripeWalletTransaction);
package/dist/index.mjs CHANGED
@@ -4782,11 +4782,8 @@ import { Entity as Entity53, Column as Column54, Index as Index46, JoinColumn as
4782
4782
  // src/entities/stripe-wallet-transaction.entity.ts
4783
4783
  import { Entity as Entity52, Column as Column53, Index as Index45, ManyToOne as ManyToOne47, JoinColumn as JoinColumn47 } from "typeorm";
4784
4784
  var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
4785
- StripeWalletTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
4786
- StripeWalletTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
4787
- StripeWalletTransactionTypeEnum2["WITHDRAW"] = "WITHDRAW";
4788
- StripeWalletTransactionTypeEnum2["INVOICE_PAYMENT"] = "INVOICE_PAYMENT";
4789
- StripeWalletTransactionTypeEnum2["REFUND"] = "REFUND";
4785
+ StripeWalletTransactionTypeEnum2["CR"] = "CR";
4786
+ StripeWalletTransactionTypeEnum2["BR"] = "BR";
4790
4787
  return StripeWalletTransactionTypeEnum2;
4791
4788
  })(StripeWalletTransactionTypeEnum || {});
4792
4789
  var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactionStatusEnum2) => {
@@ -4855,6 +4852,12 @@ __decorateClass([
4855
4852
  __decorateClass([
4856
4853
  Column53({ name: "completed_at", type: "timestamptz", nullable: true })
4857
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);
4858
4861
  StripeWalletTransaction = __decorateClass([
4859
4862
  Entity52("stripe_wallet_transactions")
4860
4863
  ], StripeWalletTransaction);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.449",
3
+ "version": "1.0.450",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",