@experts_hub/shared 1.0.451 → 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.
@@ -12,6 +12,7 @@ export declare class BankDetail extends BaseEntity {
12
12
  userId: number;
13
13
  user: User;
14
14
  name: string;
15
+ mobileCode: string;
15
16
  mobile: string;
16
17
  email: string;
17
18
  address: string;
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;
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;
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);
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);
@@ -4,6 +4,7 @@ export declare enum BankAccountScope {
4
4
  }
5
5
  export declare class FreelancerBankDetailsDto {
6
6
  name: string;
7
+ mobileCode: string;
7
8
  mobile: string;
8
9
  email: string;
9
10
  address: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.451",
3
+ "version": "1.0.452",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",