@experts_hub/shared 1.0.238 → 1.0.239

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
@@ -296,6 +296,7 @@ declare class UpdateCompanyProfileDto {
296
296
  companyName?: string;
297
297
  webSite?: string;
298
298
  companyAddress: string;
299
+ mobileCode: string;
299
300
  phoneNumber?: string;
300
301
  email?: string;
301
302
  aboutCompany?: string;
package/dist/index.d.ts CHANGED
@@ -296,6 +296,7 @@ declare class UpdateCompanyProfileDto {
296
296
  companyName?: string;
297
297
  webSite?: string;
298
298
  companyAddress: string;
299
+ mobileCode: string;
299
300
  phoneNumber?: string;
300
301
  email?: string;
301
302
  aboutCompany?: string;
package/dist/index.js CHANGED
@@ -787,6 +787,10 @@ __decorateClass([
787
787
  (0, import_class_validator25.IsString)({ message: "Company address must be a string" }),
788
788
  (0, import_class_validator25.Length)(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
789
789
  ], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
790
+ __decorateClass([
791
+ (0, import_class_validator25.IsNotEmpty)({ message: "Please enter mobile code." }),
792
+ (0, import_class_validator25.IsString)({ message: "Mobile Code must be a string" })
793
+ ], UpdateCompanyProfileDto.prototype, "mobileCode", 2);
790
794
  __decorateClass([
791
795
  (0, import_class_validator25.IsNotEmpty)({ message: "Please enter phone number." }),
792
796
  (0, import_class_validator25.Matches)(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
package/dist/index.mjs CHANGED
@@ -635,6 +635,10 @@ __decorateClass([
635
635
  IsString10({ message: "Company address must be a string" }),
636
636
  Length2(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
637
637
  ], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
638
+ __decorateClass([
639
+ IsNotEmpty23({ message: "Please enter mobile code." }),
640
+ IsString10({ message: "Mobile Code must be a string" })
641
+ ], UpdateCompanyProfileDto.prototype, "mobileCode", 2);
638
642
  __decorateClass([
639
643
  IsNotEmpty23({ message: "Please enter phone number." }),
640
644
  Matches5(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
@@ -2,6 +2,7 @@ export declare class UpdateCompanyProfileDto {
2
2
  companyName?: string;
3
3
  webSite?: string;
4
4
  companyAddress: string;
5
+ mobileCode: string;
5
6
  phoneNumber?: string;
6
7
  email?: string;
7
8
  aboutCompany?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.238",
3
+ "version": "1.0.239",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",