@platform-modules/foreign-ministry 1.3.87 → 1.3.89

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.
@@ -6,5 +6,6 @@ export declare enum ParcelDepartmentCategory {
6
6
  export declare class ParcelDepartments extends BaseModel {
7
7
  category: ParcelDepartmentCategory;
8
8
  department_name: string;
9
- constructor(category: ParcelDepartmentCategory, department_name: string);
9
+ department_id: number | null;
10
+ constructor(category: ParcelDepartmentCategory, department_name: string, department_id?: number | null);
10
11
  }
@@ -18,10 +18,11 @@ var ParcelDepartmentCategory;
18
18
  ParcelDepartmentCategory["MANDC"] = "M&C";
19
19
  })(ParcelDepartmentCategory || (exports.ParcelDepartmentCategory = ParcelDepartmentCategory = {}));
20
20
  let ParcelDepartments = class ParcelDepartments extends BaseModel_1.BaseModel {
21
- constructor(category, department_name) {
21
+ constructor(category, department_name, department_id) {
22
22
  super();
23
23
  this.category = category;
24
24
  this.department_name = department_name;
25
+ this.department_id = department_id || null;
25
26
  }
26
27
  };
27
28
  exports.ParcelDepartments = ParcelDepartments;
@@ -33,7 +34,11 @@ __decorate([
33
34
  (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
34
35
  __metadata("design:type", String)
35
36
  ], ParcelDepartments.prototype, "department_name", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
39
+ __metadata("design:type", Object)
40
+ ], ParcelDepartments.prototype, "department_id", void 0);
36
41
  exports.ParcelDepartments = ParcelDepartments = __decorate([
37
42
  (0, typeorm_1.Entity)({ name: 'parcel_departments' }),
38
- __metadata("design:paramtypes", [String, String])
43
+ __metadata("design:paramtypes", [String, String, Object])
39
44
  ], ParcelDepartments);
@@ -51,6 +51,8 @@ export declare class RegisterCandidateRequests extends BaseModel {
51
51
  interviewer_name: string | null;
52
52
  candidate_status: CandidateStatusType | null;
53
53
  joining_date: Date | null;
54
+ expected_salary: string | null;
55
+ currency_type: string | null;
54
56
  status: RegisterCandidateStatus;
55
57
  workflow_execution_id: string | null;
56
58
  experience_activities: RegisterCandidateExperienceActivity[];
@@ -179,6 +179,14 @@ __decorate([
179
179
  (0, typeorm_1.Column)({ type: 'date', nullable: true }),
180
180
  __metadata("design:type", Object)
181
181
  ], RegisterCandidateRequests.prototype, "joining_date", void 0);
182
+ __decorate([
183
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
184
+ __metadata("design:type", Object)
185
+ ], RegisterCandidateRequests.prototype, "expected_salary", void 0);
186
+ __decorate([
187
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
188
+ __metadata("design:type", Object)
189
+ ], RegisterCandidateRequests.prototype, "currency_type", void 0);
182
190
  __decorate([
183
191
  (0, typeorm_1.Column)({ type: 'enum', enum: RegisterCandidateStatus, default: RegisterCandidateStatus.PENDING, nullable: false }),
184
192
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.3.87",
3
+ "version": "1.3.89",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -15,13 +15,18 @@ export class ParcelDepartments extends BaseModel {
15
15
  @Column({ type: 'varchar', length: 255, nullable: false })
16
16
  department_name: string;
17
17
 
18
+ @Column({ type: 'int', nullable: true })
19
+ department_id: number | null;
20
+
18
21
  constructor(
19
22
  category: ParcelDepartmentCategory,
20
- department_name: string
23
+ department_name: string,
24
+ department_id?: number | null
21
25
  ) {
22
26
  super();
23
27
  this.category = category;
24
28
  this.department_name = department_name;
29
+ this.department_id = department_id || null;
25
30
  }
26
31
  }
27
32
 
@@ -143,6 +143,13 @@ export class RegisterCandidateRequests extends BaseModel {
143
143
  @Column({ type: 'date', nullable: true })
144
144
  joining_date: Date | null;
145
145
 
146
+ // Salary Information
147
+ @Column({ type: 'varchar', length: 255, nullable: true })
148
+ expected_salary: string | null;
149
+
150
+ @Column({ type: 'varchar', length: 255, nullable: true })
151
+ currency_type: string | null;
152
+
146
153
  @Column({ type: 'enum', enum: RegisterCandidateStatus, default: RegisterCandidateStatus.PENDING, nullable: false })
147
154
  status: RegisterCandidateStatus;
148
155