@experts_hub/shared 1.0.254 → 1.0.255

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/index.d.mts CHANGED
@@ -186,6 +186,7 @@ declare class CreateSubAdminDto {
186
186
  firstName: string;
187
187
  lastName: string;
188
188
  email: string;
189
+ mobileCode: string;
189
190
  mobile: string;
190
191
  password: string;
191
192
  }
@@ -199,6 +200,7 @@ declare class UpdateSubAdminDto {
199
200
  firstName: string;
200
201
  lastName: string;
201
202
  email: string;
203
+ mobileCode: string;
202
204
  mobile: string;
203
205
  password: string;
204
206
  }
package/dist/index.d.ts CHANGED
@@ -186,6 +186,7 @@ declare class CreateSubAdminDto {
186
186
  firstName: string;
187
187
  lastName: string;
188
188
  email: string;
189
+ mobileCode: string;
189
190
  mobile: string;
190
191
  password: string;
191
192
  }
@@ -199,6 +200,7 @@ declare class UpdateSubAdminDto {
199
200
  firstName: string;
200
201
  lastName: string;
201
202
  email: string;
203
+ mobileCode: string;
202
204
  mobile: string;
203
205
  password: string;
204
206
  }
package/dist/index.js CHANGED
@@ -738,6 +738,9 @@ __decorateClass([
738
738
  __decorateClass([
739
739
  (0, import_class_validator23.IsNotEmpty)({ message: "Please enter email." })
740
740
  ], CreateSubAdminDto.prototype, "email", 2);
741
+ __decorateClass([
742
+ (0, import_class_validator23.IsNotEmpty)({ message: "Please enter mobile Code." })
743
+ ], CreateSubAdminDto.prototype, "mobileCode", 2);
741
744
  __decorateClass([
742
745
  (0, import_class_validator23.IsNotEmpty)({ message: "Please enter mobile number." })
743
746
  ], CreateSubAdminDto.prototype, "mobile", 2);
@@ -769,6 +772,9 @@ __decorateClass([
769
772
  __decorateClass([
770
773
  (0, import_class_validator25.IsNotEmpty)({ message: "Please enter email." })
771
774
  ], UpdateSubAdminDto.prototype, "email", 2);
775
+ __decorateClass([
776
+ (0, import_class_validator25.IsNotEmpty)({ message: "Please enter mobile Code." })
777
+ ], UpdateSubAdminDto.prototype, "mobileCode", 2);
772
778
  __decorateClass([
773
779
  (0, import_class_validator25.IsNotEmpty)({ message: "Please enter mobile number." })
774
780
  ], UpdateSubAdminDto.prototype, "mobile", 2);
package/dist/index.mjs CHANGED
@@ -580,6 +580,9 @@ __decorateClass([
580
580
  __decorateClass([
581
581
  IsNotEmpty21({ message: "Please enter email." })
582
582
  ], CreateSubAdminDto.prototype, "email", 2);
583
+ __decorateClass([
584
+ IsNotEmpty21({ message: "Please enter mobile Code." })
585
+ ], CreateSubAdminDto.prototype, "mobileCode", 2);
583
586
  __decorateClass([
584
587
  IsNotEmpty21({ message: "Please enter mobile number." })
585
588
  ], CreateSubAdminDto.prototype, "mobile", 2);
@@ -611,6 +614,9 @@ __decorateClass([
611
614
  __decorateClass([
612
615
  IsNotEmpty22({ message: "Please enter email." })
613
616
  ], UpdateSubAdminDto.prototype, "email", 2);
617
+ __decorateClass([
618
+ IsNotEmpty22({ message: "Please enter mobile Code." })
619
+ ], UpdateSubAdminDto.prototype, "mobileCode", 2);
614
620
  __decorateClass([
615
621
  IsNotEmpty22({ message: "Please enter mobile number." })
616
622
  ], UpdateSubAdminDto.prototype, "mobile", 2);
@@ -3,6 +3,7 @@ export declare class CreateSubAdminDto {
3
3
  firstName: string;
4
4
  lastName: string;
5
5
  email: string;
6
+ mobileCode: string;
6
7
  mobile: string;
7
8
  password: string;
8
9
  }
@@ -3,6 +3,7 @@ export declare class UpdateSubAdminDto {
3
3
  firstName: string;
4
4
  lastName: string;
5
5
  email: string;
6
+ mobileCode: string;
6
7
  mobile: string;
7
8
  password: string;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.254",
3
+ "version": "1.0.255",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",