@experts_hub/shared 1.0.450 → 1.0.452
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/bank-details.entity.d.ts +1 -0
- package/dist/entities/stripe-wallet-transaction.entity.d.ts +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +7 -1
- package/dist/index.mjs +7 -1
- package/dist/modules/bank/dto/freelancer-bank-details.dto.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { BaseEntity } from "./base.entity";
|
|
|
2
2
|
import { StripeWallet } from "./stripe-wallet.entity";
|
|
3
3
|
export declare enum StripeWalletTransactionTypeEnum {
|
|
4
4
|
CR = "CR",
|
|
5
|
-
|
|
5
|
+
DR = "DR"
|
|
6
6
|
}
|
|
7
7
|
export declare enum StripeWalletTransactionStatusEnum {
|
|
8
8
|
PENDING = "PENDING",
|
package/dist/index.d.mts
CHANGED
|
@@ -586,6 +586,7 @@ declare enum BankAccountScope {
|
|
|
586
586
|
}
|
|
587
587
|
declare class FreelancerBankDetailsDto {
|
|
588
588
|
name: string;
|
|
589
|
+
mobileCode: string;
|
|
589
590
|
mobile: string;
|
|
590
591
|
email: string;
|
|
591
592
|
address: string;
|
|
@@ -1358,6 +1359,7 @@ declare class BankDetail extends BaseEntity {
|
|
|
1358
1359
|
userId: number;
|
|
1359
1360
|
user: User;
|
|
1360
1361
|
name: string;
|
|
1362
|
+
mobileCode: string;
|
|
1361
1363
|
mobile: string;
|
|
1362
1364
|
email: string;
|
|
1363
1365
|
address: string;
|
|
@@ -1593,7 +1595,7 @@ declare class FreelancerResume extends BaseEntity {
|
|
|
1593
1595
|
|
|
1594
1596
|
declare enum StripeWalletTransactionTypeEnum {
|
|
1595
1597
|
CR = "CR",
|
|
1596
|
-
|
|
1598
|
+
DR = "DR"
|
|
1597
1599
|
}
|
|
1598
1600
|
declare enum StripeWalletTransactionStatusEnum {
|
|
1599
1601
|
PENDING = "PENDING",
|
package/dist/index.d.ts
CHANGED
|
@@ -586,6 +586,7 @@ declare enum BankAccountScope {
|
|
|
586
586
|
}
|
|
587
587
|
declare class FreelancerBankDetailsDto {
|
|
588
588
|
name: string;
|
|
589
|
+
mobileCode: string;
|
|
589
590
|
mobile: string;
|
|
590
591
|
email: string;
|
|
591
592
|
address: string;
|
|
@@ -1358,6 +1359,7 @@ declare class BankDetail extends BaseEntity {
|
|
|
1358
1359
|
userId: number;
|
|
1359
1360
|
user: User;
|
|
1360
1361
|
name: string;
|
|
1362
|
+
mobileCode: string;
|
|
1361
1363
|
mobile: string;
|
|
1362
1364
|
email: string;
|
|
1363
1365
|
address: string;
|
|
@@ -1593,7 +1595,7 @@ declare class FreelancerResume extends BaseEntity {
|
|
|
1593
1595
|
|
|
1594
1596
|
declare enum StripeWalletTransactionTypeEnum {
|
|
1595
1597
|
CR = "CR",
|
|
1596
|
-
|
|
1598
|
+
DR = "DR"
|
|
1597
1599
|
}
|
|
1598
1600
|
declare enum StripeWalletTransactionStatusEnum {
|
|
1599
1601
|
PENDING = "PENDING",
|
package/dist/index.js
CHANGED
|
@@ -1541,6 +1541,9 @@ var FreelancerBankDetailsDto = class {
|
|
|
1541
1541
|
__decorateClass([
|
|
1542
1542
|
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Account Holder Name." })
|
|
1543
1543
|
], FreelancerBankDetailsDto.prototype, "name", 2);
|
|
1544
|
+
__decorateClass([
|
|
1545
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Mobile Code." })
|
|
1546
|
+
], FreelancerBankDetailsDto.prototype, "mobileCode", 2);
|
|
1544
1547
|
__decorateClass([
|
|
1545
1548
|
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Mobile Number." })
|
|
1546
1549
|
], FreelancerBankDetailsDto.prototype, "mobile", 2);
|
|
@@ -3982,6 +3985,9 @@ __decorateClass([
|
|
|
3982
3985
|
__decorateClass([
|
|
3983
3986
|
(0, import_typeorm29.Column)({ name: "name", type: "varchar", nullable: true })
|
|
3984
3987
|
], BankDetail.prototype, "name", 2);
|
|
3988
|
+
__decorateClass([
|
|
3989
|
+
(0, import_typeorm29.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
3990
|
+
], BankDetail.prototype, "mobileCode", 2);
|
|
3985
3991
|
__decorateClass([
|
|
3986
3992
|
(0, import_typeorm29.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
|
|
3987
3993
|
], BankDetail.prototype, "mobile", 2);
|
|
@@ -4759,7 +4765,7 @@ var import_typeorm54 = require("typeorm");
|
|
|
4759
4765
|
var import_typeorm53 = require("typeorm");
|
|
4760
4766
|
var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
|
|
4761
4767
|
StripeWalletTransactionTypeEnum2["CR"] = "CR";
|
|
4762
|
-
StripeWalletTransactionTypeEnum2["
|
|
4768
|
+
StripeWalletTransactionTypeEnum2["DR"] = "DR";
|
|
4763
4769
|
return StripeWalletTransactionTypeEnum2;
|
|
4764
4770
|
})(StripeWalletTransactionTypeEnum || {});
|
|
4765
4771
|
var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactionStatusEnum2) => {
|
package/dist/index.mjs
CHANGED
|
@@ -1350,6 +1350,9 @@ var FreelancerBankDetailsDto = class {
|
|
|
1350
1350
|
__decorateClass([
|
|
1351
1351
|
IsNotEmpty34({ message: "Please enter Account Holder Name." })
|
|
1352
1352
|
], FreelancerBankDetailsDto.prototype, "name", 2);
|
|
1353
|
+
__decorateClass([
|
|
1354
|
+
IsNotEmpty34({ message: "Please enter Mobile Code." })
|
|
1355
|
+
], FreelancerBankDetailsDto.prototype, "mobileCode", 2);
|
|
1353
1356
|
__decorateClass([
|
|
1354
1357
|
IsNotEmpty34({ message: "Please enter Mobile Number." })
|
|
1355
1358
|
], FreelancerBankDetailsDto.prototype, "mobile", 2);
|
|
@@ -3914,6 +3917,9 @@ __decorateClass([
|
|
|
3914
3917
|
__decorateClass([
|
|
3915
3918
|
Column29({ name: "name", type: "varchar", nullable: true })
|
|
3916
3919
|
], BankDetail.prototype, "name", 2);
|
|
3920
|
+
__decorateClass([
|
|
3921
|
+
Column29({ name: "mobile_code", type: "varchar", nullable: true })
|
|
3922
|
+
], BankDetail.prototype, "mobileCode", 2);
|
|
3917
3923
|
__decorateClass([
|
|
3918
3924
|
Column29({ name: "mobile", type: "varchar", unique: true, nullable: true })
|
|
3919
3925
|
], BankDetail.prototype, "mobile", 2);
|
|
@@ -4783,7 +4789,7 @@ import { Entity as Entity53, Column as Column54, Index as Index46, JoinColumn as
|
|
|
4783
4789
|
import { Entity as Entity52, Column as Column53, Index as Index45, ManyToOne as ManyToOne47, JoinColumn as JoinColumn47 } from "typeorm";
|
|
4784
4790
|
var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
|
|
4785
4791
|
StripeWalletTransactionTypeEnum2["CR"] = "CR";
|
|
4786
|
-
StripeWalletTransactionTypeEnum2["
|
|
4792
|
+
StripeWalletTransactionTypeEnum2["DR"] = "DR";
|
|
4787
4793
|
return StripeWalletTransactionTypeEnum2;
|
|
4788
4794
|
})(StripeWalletTransactionTypeEnum || {});
|
|
4789
4795
|
var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactionStatusEnum2) => {
|