@experts_hub/shared 1.0.515 → 1.0.517

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.
@@ -3,6 +3,7 @@ import { User } from "./user.entity";
3
3
  import { Interview } from "./interview.entity";
4
4
  export declare enum AiInterviewStatusEnum {
5
5
  NOT_ATTEMPTED = "NOT_ATTEMPTED",
6
+ ATTEMPTED = "ATTEMPTED",
6
7
  ACTIVE = "ACTIVE",
7
8
  COMPELETED = "COMPELETED",
8
9
  PASSED = "PASSED",
package/dist/index.d.mts CHANGED
@@ -553,9 +553,9 @@ declare enum typeOfExperienceDtoEnumV2 {
553
553
  RANGE = "RANGE"
554
554
  }
555
555
  declare class JobLocationDto {
556
- cityId?: string;
557
- stateId?: string;
558
556
  countryId: number;
557
+ stateId: number;
558
+ cityId: number;
559
559
  }
560
560
  declare class JobBasicInformationV2Dto {
561
561
  isDraft?: boolean;
@@ -1024,6 +1024,7 @@ declare class InterviewInvite extends BaseEntity {
1024
1024
 
1025
1025
  declare enum AiInterviewStatusEnum {
1026
1026
  NOT_ATTEMPTED = "NOT_ATTEMPTED",
1027
+ ATTEMPTED = "ATTEMPTED",
1027
1028
  ACTIVE = "ACTIVE",
1028
1029
  COMPELETED = "COMPELETED",
1029
1030
  PASSED = "PASSED",
package/dist/index.d.ts CHANGED
@@ -553,9 +553,9 @@ declare enum typeOfExperienceDtoEnumV2 {
553
553
  RANGE = "RANGE"
554
554
  }
555
555
  declare class JobLocationDto {
556
- cityId?: string;
557
- stateId?: string;
558
556
  countryId: number;
557
+ stateId: number;
558
+ cityId: number;
559
559
  }
560
560
  declare class JobBasicInformationV2Dto {
561
561
  isDraft?: boolean;
@@ -1024,6 +1024,7 @@ declare class InterviewInvite extends BaseEntity {
1024
1024
 
1025
1025
  declare enum AiInterviewStatusEnum {
1026
1026
  NOT_ATTEMPTED = "NOT_ATTEMPTED",
1027
+ ATTEMPTED = "ATTEMPTED",
1027
1028
  ACTIVE = "ACTIVE",
1028
1029
  COMPELETED = "COMPELETED",
1029
1030
  PASSED = "PASSED",
package/dist/index.js CHANGED
@@ -1472,17 +1472,16 @@ var JobLocationDto = class {
1472
1472
  };
1473
1473
  __decorateClass([
1474
1474
  (0, import_class_validator38.IsOptional)(),
1475
- (0, import_class_validator38.IsString)({ message: "City id must be a string" })
1476
- ], JobLocationDto.prototype, "cityId", 2);
1475
+ (0, import_class_validator38.IsNumber)()
1476
+ ], JobLocationDto.prototype, "countryId", 2);
1477
1477
  __decorateClass([
1478
1478
  (0, import_class_validator38.IsOptional)(),
1479
- (0, import_class_validator38.IsString)({ message: "State id must be a string" })
1479
+ (0, import_class_validator38.IsNumber)()
1480
1480
  ], JobLocationDto.prototype, "stateId", 2);
1481
1481
  __decorateClass([
1482
- (0, import_class_validator38.IsNotEmpty)({ message: "Country id is required" }),
1483
- (0, import_class_validator38.IsNumber)({}, { message: "Country id must be a number" }),
1484
- (0, import_class_transformer4.Type)(() => Number)
1485
- ], JobLocationDto.prototype, "countryId", 2);
1482
+ (0, import_class_validator38.IsOptional)(),
1483
+ (0, import_class_validator38.IsNumber)()
1484
+ ], JobLocationDto.prototype, "cityId", 2);
1486
1485
  var JobBasicInformationV2Dto = class {
1487
1486
  constructor() {
1488
1487
  this.isDraft = false;
@@ -3032,6 +3031,7 @@ InterviewInvite = __decorateClass([
3032
3031
  var import_typeorm15 = require("typeorm");
3033
3032
  var AiInterviewStatusEnum = /* @__PURE__ */ ((AiInterviewStatusEnum2) => {
3034
3033
  AiInterviewStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
3034
+ AiInterviewStatusEnum2["ATTEMPTED"] = "ATTEMPTED";
3035
3035
  AiInterviewStatusEnum2["ACTIVE"] = "ACTIVE";
3036
3036
  AiInterviewStatusEnum2["COMPELETED"] = "COMPELETED";
3037
3037
  AiInterviewStatusEnum2["PASSED"] = "PASSED";
package/dist/index.mjs CHANGED
@@ -1255,17 +1255,16 @@ var JobLocationDto = class {
1255
1255
  };
1256
1256
  __decorateClass([
1257
1257
  IsOptional15(),
1258
- IsString15({ message: "City id must be a string" })
1259
- ], JobLocationDto.prototype, "cityId", 2);
1258
+ IsNumber3()
1259
+ ], JobLocationDto.prototype, "countryId", 2);
1260
1260
  __decorateClass([
1261
1261
  IsOptional15(),
1262
- IsString15({ message: "State id must be a string" })
1262
+ IsNumber3()
1263
1263
  ], JobLocationDto.prototype, "stateId", 2);
1264
1264
  __decorateClass([
1265
- IsNotEmpty32({ message: "Country id is required" }),
1266
- IsNumber3({}, { message: "Country id must be a number" }),
1267
- Type3(() => Number)
1268
- ], JobLocationDto.prototype, "countryId", 2);
1265
+ IsOptional15(),
1266
+ IsNumber3()
1267
+ ], JobLocationDto.prototype, "cityId", 2);
1269
1268
  var JobBasicInformationV2Dto = class {
1270
1269
  constructor() {
1271
1270
  this.isDraft = false;
@@ -2921,6 +2920,7 @@ InterviewInvite = __decorateClass([
2921
2920
  import { Entity as Entity14, Column as Column15, Index as Index10, ManyToOne as ManyToOne13, JoinColumn as JoinColumn13 } from "typeorm";
2922
2921
  var AiInterviewStatusEnum = /* @__PURE__ */ ((AiInterviewStatusEnum2) => {
2923
2922
  AiInterviewStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
2923
+ AiInterviewStatusEnum2["ATTEMPTED"] = "ATTEMPTED";
2924
2924
  AiInterviewStatusEnum2["ACTIVE"] = "ACTIVE";
2925
2925
  AiInterviewStatusEnum2["COMPELETED"] = "COMPELETED";
2926
2926
  AiInterviewStatusEnum2["PASSED"] = "PASSED";
@@ -16,9 +16,9 @@ export declare enum typeOfExperienceDtoEnumV2 {
16
16
  RANGE = "RANGE"
17
17
  }
18
18
  export declare class JobLocationDto {
19
- cityId?: string;
20
- stateId?: string;
21
19
  countryId: number;
20
+ stateId: number;
21
+ cityId: number;
22
22
  }
23
23
  export declare class JobBasicInformationV2Dto {
24
24
  isDraft?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.515",
3
+ "version": "1.0.517",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",