@experts_hub/shared 1.0.237 → 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;
@@ -396,6 +397,7 @@ declare const JOB_ROLE_PATTERN: {
396
397
  };
397
398
  declare const JOB_PATTERN: {
398
399
  fetchJobs: string;
400
+ fetchRecentJobs: string;
399
401
  fetchJobCountAsPerStatus: string;
400
402
  fetchJobsDropdown: string;
401
403
  fetchJobDetail: 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;
@@ -396,6 +397,7 @@ declare const JOB_ROLE_PATTERN: {
396
397
  };
397
398
  declare const JOB_PATTERN: {
398
399
  fetchJobs: string;
400
+ fetchRecentJobs: string;
399
401
  fetchJobCountAsPerStatus: string;
400
402
  fetchJobsDropdown: string;
401
403
  fetchJobDetail: 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}$/, {
@@ -853,6 +857,7 @@ var JOB_ROLE_PATTERN = {
853
857
  };
854
858
  var JOB_PATTERN = {
855
859
  fetchJobs: "fetch.jobs",
860
+ fetchRecentJobs: "fetch.recent.jobs",
856
861
  fetchJobCountAsPerStatus: "fetch.job.count.as.per.status",
857
862
  fetchJobsDropdown: "fetch.jobs.dropdown",
858
863
  fetchJobDetail: "fetch.job.details",
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}$/, {
@@ -710,6 +714,7 @@ var JOB_ROLE_PATTERN = {
710
714
  };
711
715
  var JOB_PATTERN = {
712
716
  fetchJobs: "fetch.jobs",
717
+ fetchRecentJobs: "fetch.recent.jobs",
713
718
  fetchJobCountAsPerStatus: "fetch.job.count.as.per.status",
714
719
  fetchJobsDropdown: "fetch.jobs.dropdown",
715
720
  fetchJobDetail: "fetch.job.details",
@@ -3,6 +3,7 @@ export declare const JOB_ROLE_PATTERN: {
3
3
  };
4
4
  export declare const JOB_PATTERN: {
5
5
  fetchJobs: string;
6
+ fetchRecentJobs: string;
6
7
  fetchJobCountAsPerStatus: string;
7
8
  fetchJobsDropdown: string;
8
9
  fetchJobDetail: string;
@@ -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.237",
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/",