@experts_hub/shared 1.0.572 → 1.0.575

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
@@ -3002,11 +3002,11 @@ declare const CLIENT_CANDIDATE_PREFERENCE_PATTERN: {
3002
3002
  };
3003
3003
 
3004
3004
  declare class MarkCandidateStatusDto {
3005
- freelancerId: number;
3005
+ candidateId: number;
3006
3006
  }
3007
3007
 
3008
3008
  declare class MarkCandidateStatusBulkDto {
3009
- freelancerIds: number[];
3009
+ candidateIds: number[];
3010
3010
  }
3011
3011
 
3012
3012
  declare const CMS_PATTERNS: {
@@ -3374,13 +3374,7 @@ declare class CaptureAiInterviewResultPublicDto {
3374
3374
 
3375
3375
  declare class CreateInterviewBasicInformationDto {
3376
3376
  jobId: number;
3377
- interviewType: string;
3378
- title?: string;
3379
- description?: string;
3380
- scheduledAt?: string;
3381
- duration?: number;
3382
- skillIds?: number[];
3383
- location?: string;
3377
+ interviewName: string;
3384
3378
  }
3385
3379
 
3386
3380
  declare class UpdateInterviewBasicInformationDto {
package/dist/index.d.ts CHANGED
@@ -3002,11 +3002,11 @@ declare const CLIENT_CANDIDATE_PREFERENCE_PATTERN: {
3002
3002
  };
3003
3003
 
3004
3004
  declare class MarkCandidateStatusDto {
3005
- freelancerId: number;
3005
+ candidateId: number;
3006
3006
  }
3007
3007
 
3008
3008
  declare class MarkCandidateStatusBulkDto {
3009
- freelancerIds: number[];
3009
+ candidateIds: number[];
3010
3010
  }
3011
3011
 
3012
3012
  declare const CMS_PATTERNS: {
@@ -3374,13 +3374,7 @@ declare class CaptureAiInterviewResultPublicDto {
3374
3374
 
3375
3375
  declare class CreateInterviewBasicInformationDto {
3376
3376
  jobId: number;
3377
- interviewType: string;
3378
- title?: string;
3379
- description?: string;
3380
- scheduledAt?: string;
3381
- duration?: number;
3382
- skillIds?: number[];
3383
- location?: string;
3377
+ interviewName: string;
3384
3378
  }
3385
3379
 
3386
3380
  declare class UpdateInterviewBasicInformationDto {
package/dist/index.js CHANGED
@@ -7822,19 +7822,19 @@ var import_class_validator81 = require("class-validator");
7822
7822
  var MarkCandidateStatusDto = class {
7823
7823
  };
7824
7824
  __decorateClass([
7825
- (0, import_class_validator81.IsNotEmpty)({ message: "Freelancer ID is required" }),
7826
- (0, import_class_validator81.IsNumber)({}, { message: "Freelancer ID must be a number" })
7827
- ], MarkCandidateStatusDto.prototype, "freelancerId", 2);
7825
+ (0, import_class_validator81.IsNotEmpty)({ message: "Candidate ID is required" }),
7826
+ (0, import_class_validator81.IsNumber)({}, { message: "Candidate ID must be a number" })
7827
+ ], MarkCandidateStatusDto.prototype, "candidateId", 2);
7828
7828
 
7829
7829
  // src/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.ts
7830
7830
  var import_class_validator82 = require("class-validator");
7831
7831
  var MarkCandidateStatusBulkDto = class {
7832
7832
  };
7833
7833
  __decorateClass([
7834
- (0, import_class_validator82.IsArray)({ message: "Freelancer IDs must be an array" }),
7835
- (0, import_class_validator82.ArrayNotEmpty)({ message: "At least one freelancer ID is required" }),
7836
- (0, import_class_validator82.IsNumber)({}, { each: true, message: "Each freelancer ID must be a number" })
7837
- ], MarkCandidateStatusBulkDto.prototype, "freelancerIds", 2);
7834
+ (0, import_class_validator82.IsArray)({ message: "Candidate IDs must be an array" }),
7835
+ (0, import_class_validator82.ArrayNotEmpty)({ message: "At least one candidate ID is required" }),
7836
+ (0, import_class_validator82.IsNumber)({}, { each: true, message: "Each candidate ID must be a number" })
7837
+ ], MarkCandidateStatusBulkDto.prototype, "candidateIds", 2);
7838
7838
 
7839
7839
  // src/modules/cms/pattern/pattern.ts
7840
7840
  var CMS_PATTERNS = {
@@ -8654,34 +8654,9 @@ __decorateClass([
8654
8654
  (0, import_class_validator100.IsNumber)({}, { message: "Job ID must be a number" })
8655
8655
  ], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
8656
8656
  __decorateClass([
8657
- (0, import_class_validator100.IsNotEmpty)({ message: "Interview type is required" }),
8658
- (0, import_class_validator100.IsString)({ message: "Interview type must be a string" })
8659
- ], CreateInterviewBasicInformationDto.prototype, "interviewType", 2);
8660
- __decorateClass([
8661
- (0, import_class_validator100.IsOptional)(),
8662
- (0, import_class_validator100.IsString)()
8663
- ], CreateInterviewBasicInformationDto.prototype, "title", 2);
8664
- __decorateClass([
8665
- (0, import_class_validator100.IsOptional)(),
8666
- (0, import_class_validator100.IsString)()
8667
- ], CreateInterviewBasicInformationDto.prototype, "description", 2);
8668
- __decorateClass([
8669
- (0, import_class_validator100.IsOptional)(),
8670
- (0, import_class_validator100.IsDateString)()
8671
- ], CreateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
8672
- __decorateClass([
8673
- (0, import_class_validator100.IsOptional)(),
8674
- (0, import_class_validator100.IsNumber)({}, { message: "Duration must be a number" })
8675
- ], CreateInterviewBasicInformationDto.prototype, "duration", 2);
8676
- __decorateClass([
8677
- (0, import_class_validator100.IsOptional)(),
8678
- (0, import_class_validator100.IsArray)(),
8679
- (0, import_class_validator100.IsNumber)({}, { each: true, message: "Each skill ID must be a number" })
8680
- ], CreateInterviewBasicInformationDto.prototype, "skillIds", 2);
8681
- __decorateClass([
8682
- (0, import_class_validator100.IsOptional)(),
8683
- (0, import_class_validator100.IsString)()
8684
- ], CreateInterviewBasicInformationDto.prototype, "location", 2);
8657
+ (0, import_class_validator100.IsNotEmpty)({ message: "Interview name is required" }),
8658
+ (0, import_class_validator100.IsString)({ message: "Interview name must be a string" })
8659
+ ], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
8685
8660
 
8686
8661
  // src/modules/interview/dto/update-interview-basic-information.dto.ts
8687
8662
  var import_class_validator101 = require("class-validator");
package/dist/index.mjs CHANGED
@@ -7836,19 +7836,19 @@ import { IsNotEmpty as IsNotEmpty67, IsNumber as IsNumber11 } from "class-valida
7836
7836
  var MarkCandidateStatusDto = class {
7837
7837
  };
7838
7838
  __decorateClass([
7839
- IsNotEmpty67({ message: "Freelancer ID is required" }),
7840
- IsNumber11({}, { message: "Freelancer ID must be a number" })
7841
- ], MarkCandidateStatusDto.prototype, "freelancerId", 2);
7839
+ IsNotEmpty67({ message: "Candidate ID is required" }),
7840
+ IsNumber11({}, { message: "Candidate ID must be a number" })
7841
+ ], MarkCandidateStatusDto.prototype, "candidateId", 2);
7842
7842
 
7843
7843
  // src/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.ts
7844
7844
  import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray14, IsNumber as IsNumber12 } from "class-validator";
7845
7845
  var MarkCandidateStatusBulkDto = class {
7846
7846
  };
7847
7847
  __decorateClass([
7848
- IsArray14({ message: "Freelancer IDs must be an array" }),
7849
- ArrayNotEmpty8({ message: "At least one freelancer ID is required" }),
7850
- IsNumber12({}, { each: true, message: "Each freelancer ID must be a number" })
7851
- ], MarkCandidateStatusBulkDto.prototype, "freelancerIds", 2);
7848
+ IsArray14({ message: "Candidate IDs must be an array" }),
7849
+ ArrayNotEmpty8({ message: "At least one candidate ID is required" }),
7850
+ IsNumber12({}, { each: true, message: "Each candidate ID must be a number" })
7851
+ ], MarkCandidateStatusBulkDto.prototype, "candidateIds", 2);
7852
7852
 
7853
7853
  // src/modules/cms/pattern/pattern.ts
7854
7854
  var CMS_PATTERNS = {
@@ -8723,7 +8723,7 @@ __decorateClass([
8723
8723
  ], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
8724
8724
 
8725
8725
  // src/modules/interview/dto/create-interview-basic-information.dto.ts
8726
- import { IsNotEmpty as IsNotEmpty82, IsString as IsString63, IsOptional as IsOptional56, IsNumber as IsNumber18, IsArray as IsArray19, IsDateString as IsDateString7 } from "class-validator";
8726
+ import { IsNotEmpty as IsNotEmpty82, IsString as IsString63, IsNumber as IsNumber18 } from "class-validator";
8727
8727
  var CreateInterviewBasicInformationDto = class {
8728
8728
  };
8729
8729
  __decorateClass([
@@ -8731,34 +8731,9 @@ __decorateClass([
8731
8731
  IsNumber18({}, { message: "Job ID must be a number" })
8732
8732
  ], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
8733
8733
  __decorateClass([
8734
- IsNotEmpty82({ message: "Interview type is required" }),
8735
- IsString63({ message: "Interview type must be a string" })
8736
- ], CreateInterviewBasicInformationDto.prototype, "interviewType", 2);
8737
- __decorateClass([
8738
- IsOptional56(),
8739
- IsString63()
8740
- ], CreateInterviewBasicInformationDto.prototype, "title", 2);
8741
- __decorateClass([
8742
- IsOptional56(),
8743
- IsString63()
8744
- ], CreateInterviewBasicInformationDto.prototype, "description", 2);
8745
- __decorateClass([
8746
- IsOptional56(),
8747
- IsDateString7()
8748
- ], CreateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
8749
- __decorateClass([
8750
- IsOptional56(),
8751
- IsNumber18({}, { message: "Duration must be a number" })
8752
- ], CreateInterviewBasicInformationDto.prototype, "duration", 2);
8753
- __decorateClass([
8754
- IsOptional56(),
8755
- IsArray19(),
8756
- IsNumber18({}, { each: true, message: "Each skill ID must be a number" })
8757
- ], CreateInterviewBasicInformationDto.prototype, "skillIds", 2);
8758
- __decorateClass([
8759
- IsOptional56(),
8760
- IsString63()
8761
- ], CreateInterviewBasicInformationDto.prototype, "location", 2);
8734
+ IsNotEmpty82({ message: "Interview name is required" }),
8735
+ IsString63({ message: "Interview name must be a string" })
8736
+ ], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
8762
8737
 
8763
8738
  // src/modules/interview/dto/update-interview-basic-information.dto.ts
8764
8739
  import { IsOptional as IsOptional57, IsString as IsString64, IsNumber as IsNumber19, IsArray as IsArray20, IsDateString as IsDateString8 } from "class-validator";
@@ -1,10 +1,4 @@
1
1
  export declare class CreateInterviewBasicInformationDto {
2
2
  jobId: number;
3
- interviewType: string;
4
- title?: string;
5
- description?: string;
6
- scheduledAt?: string;
7
- duration?: number;
8
- skillIds?: number[];
9
- location?: string;
3
+ interviewName: string;
10
4
  }
@@ -1,3 +1,3 @@
1
1
  export declare class MarkCandidateStatusBulkDto {
2
- freelancerIds: number[];
2
+ candidateIds: number[];
3
3
  }
@@ -1,3 +1,3 @@
1
1
  export declare class MarkCandidateStatusDto {
2
- freelancerId: number;
2
+ candidateId: number;
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.572",
3
+ "version": "1.0.575",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",