@experts_hub/shared 1.0.464 → 1.0.466
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.
- package/dist/entities/job.entity.d.ts +1 -0
- package/dist/entities/wallet.entity.d.ts +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ export declare class Wallet extends BaseEntity {
|
|
|
16
16
|
accountType: WalletAccountTypeEnum;
|
|
17
17
|
stripeAccountId: string;
|
|
18
18
|
stripeCustomerId: string;
|
|
19
|
-
walletBalance:
|
|
19
|
+
walletBalance: string;
|
|
20
20
|
walletBalanceCents: number;
|
|
21
21
|
onboardingStatus: WalletOnboardingStatusEnum;
|
|
22
22
|
stripeMetadata: Record<string, any>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1274,6 +1274,7 @@ declare enum TypeOfEmploymentEnum {
|
|
|
1274
1274
|
PARTTIME = "PARTTIME",
|
|
1275
1275
|
BOTH = "BOTH",
|
|
1276
1276
|
HOURLY = "HOURLY",
|
|
1277
|
+
FREELANCE = "FREELANCE",
|
|
1277
1278
|
FTE = "FTE"
|
|
1278
1279
|
}
|
|
1279
1280
|
declare enum Step {
|
|
@@ -1713,7 +1714,7 @@ declare class Wallet extends BaseEntity {
|
|
|
1713
1714
|
accountType: WalletAccountTypeEnum;
|
|
1714
1715
|
stripeAccountId: string;
|
|
1715
1716
|
stripeCustomerId: string;
|
|
1716
|
-
walletBalance:
|
|
1717
|
+
walletBalance: string;
|
|
1717
1718
|
walletBalanceCents: number;
|
|
1718
1719
|
onboardingStatus: WalletOnboardingStatusEnum;
|
|
1719
1720
|
stripeMetadata: Record<string, any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1274,6 +1274,7 @@ declare enum TypeOfEmploymentEnum {
|
|
|
1274
1274
|
PARTTIME = "PARTTIME",
|
|
1275
1275
|
BOTH = "BOTH",
|
|
1276
1276
|
HOURLY = "HOURLY",
|
|
1277
|
+
FREELANCE = "FREELANCE",
|
|
1277
1278
|
FTE = "FTE"
|
|
1278
1279
|
}
|
|
1279
1280
|
declare enum Step {
|
|
@@ -1713,7 +1714,7 @@ declare class Wallet extends BaseEntity {
|
|
|
1713
1714
|
accountType: WalletAccountTypeEnum;
|
|
1714
1715
|
stripeAccountId: string;
|
|
1715
1716
|
stripeCustomerId: string;
|
|
1716
|
-
walletBalance:
|
|
1717
|
+
walletBalance: string;
|
|
1717
1718
|
walletBalanceCents: number;
|
|
1718
1719
|
onboardingStatus: WalletOnboardingStatusEnum;
|
|
1719
1720
|
stripeMetadata: Record<string, any>;
|
package/dist/index.js
CHANGED
|
@@ -3703,6 +3703,7 @@ var TypeOfEmploymentEnum = /* @__PURE__ */ ((TypeOfEmploymentEnum2) => {
|
|
|
3703
3703
|
TypeOfEmploymentEnum2["PARTTIME"] = "PARTTIME";
|
|
3704
3704
|
TypeOfEmploymentEnum2["BOTH"] = "BOTH";
|
|
3705
3705
|
TypeOfEmploymentEnum2["HOURLY"] = "HOURLY";
|
|
3706
|
+
TypeOfEmploymentEnum2["FREELANCE"] = "FREELANCE";
|
|
3706
3707
|
TypeOfEmploymentEnum2["FTE"] = "FTE";
|
|
3707
3708
|
return TypeOfEmploymentEnum2;
|
|
3708
3709
|
})(TypeOfEmploymentEnum || {});
|
|
@@ -4939,7 +4940,7 @@ __decorateClass([
|
|
|
4939
4940
|
(0, import_typeorm55.Column)({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
|
|
4940
4941
|
], StripeTransaction.prototype, "actualTotalPaidCents", 2);
|
|
4941
4942
|
__decorateClass([
|
|
4942
|
-
(0, import_typeorm55.Column)({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What
|
|
4943
|
+
(0, import_typeorm55.Column)({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
|
|
4943
4944
|
], StripeTransaction.prototype, "netReceivedCents", 2);
|
|
4944
4945
|
__decorateClass([
|
|
4945
4946
|
(0, import_typeorm55.Column)({ name: "description", type: "text", nullable: true })
|
|
@@ -5064,10 +5065,10 @@ __decorateClass([
|
|
|
5064
5065
|
(0, import_typeorm57.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
|
|
5065
5066
|
], Wallet.prototype, "stripeCustomerId", 2);
|
|
5066
5067
|
__decorateClass([
|
|
5067
|
-
(0, import_typeorm57.Column)({ name: "wallet_balance", type: "
|
|
5068
|
+
(0, import_typeorm57.Column)({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
|
|
5068
5069
|
], Wallet.prototype, "walletBalance", 2);
|
|
5069
5070
|
__decorateClass([
|
|
5070
|
-
(0, import_typeorm57.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0 })
|
|
5071
|
+
(0, import_typeorm57.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
|
|
5071
5072
|
], Wallet.prototype, "walletBalanceCents", 2);
|
|
5072
5073
|
__decorateClass([
|
|
5073
5074
|
(0, import_typeorm57.Column)({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
|
package/dist/index.mjs
CHANGED
|
@@ -3626,6 +3626,7 @@ var TypeOfEmploymentEnum = /* @__PURE__ */ ((TypeOfEmploymentEnum2) => {
|
|
|
3626
3626
|
TypeOfEmploymentEnum2["PARTTIME"] = "PARTTIME";
|
|
3627
3627
|
TypeOfEmploymentEnum2["BOTH"] = "BOTH";
|
|
3628
3628
|
TypeOfEmploymentEnum2["HOURLY"] = "HOURLY";
|
|
3629
|
+
TypeOfEmploymentEnum2["FREELANCE"] = "FREELANCE";
|
|
3629
3630
|
TypeOfEmploymentEnum2["FTE"] = "FTE";
|
|
3630
3631
|
return TypeOfEmploymentEnum2;
|
|
3631
3632
|
})(TypeOfEmploymentEnum || {});
|
|
@@ -4966,7 +4967,7 @@ __decorateClass([
|
|
|
4966
4967
|
Column55({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
|
|
4967
4968
|
], StripeTransaction.prototype, "actualTotalPaidCents", 2);
|
|
4968
4969
|
__decorateClass([
|
|
4969
|
-
Column55({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What
|
|
4970
|
+
Column55({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
|
|
4970
4971
|
], StripeTransaction.prototype, "netReceivedCents", 2);
|
|
4971
4972
|
__decorateClass([
|
|
4972
4973
|
Column55({ name: "description", type: "text", nullable: true })
|
|
@@ -5091,10 +5092,10 @@ __decorateClass([
|
|
|
5091
5092
|
Column57({ name: "stripe_customer_id", type: "varchar", nullable: true })
|
|
5092
5093
|
], Wallet.prototype, "stripeCustomerId", 2);
|
|
5093
5094
|
__decorateClass([
|
|
5094
|
-
Column57({ name: "wallet_balance", type: "
|
|
5095
|
+
Column57({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
|
|
5095
5096
|
], Wallet.prototype, "walletBalance", 2);
|
|
5096
5097
|
__decorateClass([
|
|
5097
|
-
Column57({ name: "wallet_balance_cents", type: "bigint", default: 0 })
|
|
5098
|
+
Column57({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
|
|
5098
5099
|
], Wallet.prototype, "walletBalanceCents", 2);
|
|
5099
5100
|
__decorateClass([
|
|
5100
5101
|
Column57({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
|